diff --git a/7473.e15c45d5.async.js b/7473.49678fb1.async.js similarity index 99% rename from 7473.e15c45d5.async.js rename to 7473.49678fb1.async.js index a34e0ed119..c0db422c93 100644 --- a/7473.e15c45d5.async.js +++ b/7473.49678fb1.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[7473],{87169:function(ct,ot,be){"use strict";be.d(ot,{Z:function(){return oe}});var Se=be(92413),je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,he=be(7657),ce=function(ie,ae){return je.createElement(he.Z,(0,Se.Z)({},ie,{ref:ae,icon:pe}))},se=je.forwardRef(ce),oe=se},88010: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"}},61293: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"}},88175: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"}},38476:function(){"use strict"},39775:function(ct,ot,be){"use strict";var Se=be(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,ie,ae)=>ie in ue?je(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[ie]=ae,se=(ue,ie)=>{for(var ae in ie||(ie={}))pe.call(ie,ae)&&ce(ue,ae,ie[ae]);if(E)for(var ae of E(ie))he.call(ie,ae)&&ce(ue,ae,ie[ae]);return ue};const oe=ue=>React.createElement("svg",se({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="},93450:function(ct,ot,be){"use strict";var Se=be(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,ie,ae)=>ie in ue?je(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[ie]=ae,se=(ue,ie)=>{for(var ae in ie||(ie={}))pe.call(ie,ae)&&ce(ue,ae,ie[ae]);if(E)for(var ae of E(ie))he.call(ie,ae)&&ce(ue,ae,ie[ae]);return ue};const oe=ue=>React.createElement("svg",se({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=="},74413: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 be(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function Se(){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,ye=NaN;if(ge===0)if(fe===0)te===y&&(me=te,ye=a);else{var ve=(ee-le)/fe,Ee=ee-ve*b;me=te,ye=ve*me+Ee}else if(fe===0){var Pe=(a-x)/ge,Ce=a-Pe*te;me=b,ye=Pe*me+Ce}else{var Pe=(a-x)/ge,ve=(ee-le)/fe,Ce=a-Pe*te,Ee=ee-ve*b;me=(Ee-Ce)/(Pe-ve),ye=Pe*me+Ce}return de.x=me,de.y=ye,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,ye,ve){var Ee=1-de,Pe=de,Ce=te*Ee+y*Pe,Ae=a*Ee+x*Pe,_e=y*Ee+b*Pe,we=x*Ee+ee*Pe,Oe=b*Ee+z*Pe,De=ee*Ee+le*Pe,Fe=Ce*Ee+_e*Pe,Le=Ae*Ee+we*Pe,Ke=_e*Ee+Oe*Pe,Ve=we*Ee+De*Pe,Ge=Fe*Ee+Ke*Pe,Xe=Le*Ee+Ve*Pe;ge.x=Ce,ge.y=Ae,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Xe,ye.x=Ke,ye.y=Ve,ve.x=Oe,ve.y=De}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),se=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*se,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,se*a,0,a,(1-se)*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,se*y,(1-se)*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,se*y,se*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-se)*a,0,0,(1-se)*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=se/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,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*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*se;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*se,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*se,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=se*.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=se*.4;var ge=Se(),fe=Se(),me=Se(),ye=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,ye,ye);var ve=Se(),Ee=Se(),Pe=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,ye,ye,Pe,ve,Ee);var Ce=Se(),Ae=Se(),_e=Se();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ce,Ae,_e,ye,ye);var we=Se(),Oe=Se(),De=Se();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,ye,ye,De,we,Oe),de.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,Oe.x*a,Oe.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,De.x*a,De.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,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Ee.x*a,Ee.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,Ce.x*a,Ce.y*y,Ae.x*a,Ae.y*y).close()),je(ge),je(fe),je(me),je(ye),je(ve),je(Ee),je(Pe),je(Ce),je(Ae),je(_e),je(we),je(Oe),je(De),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=se*.4,ee=.4,z=.5,le=.5,de=Se(),ge=Se(),fe=Se(),me=Se(),ye=new go.PathFigure((z-ee)*a,le*y,!1);x.add(ye),ye.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),ye.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=be(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 Ee=be(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ye.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=se*.35;var Pe=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Pe),Pe.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.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.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.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 Ce=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ce),je(de),je(ge),je(fe),je(me),je(ve),je(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*se,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*se;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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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=se*.5,ee=se*.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=se*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,se*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-se*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-se*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-se*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-se*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=se*.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,se*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,se*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-se*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-se*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-se*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-se*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=se*.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-se*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,se*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+se*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+se*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=se*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,se*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-se*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-se*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=se*b,le=se*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,ye=se*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+ye)*a,(ge-me)*y,(de+me)*a,(ge-ye)*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,ye=se*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-ye)*y,(de-ye)*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=se*.5,ee=se*.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=se*.5,ee=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.5,ee=se*.4,z=se*.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=se*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=se*.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=se*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=se*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=se*.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=se*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=se*.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=se*.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=se*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,ye=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ye),ye.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)),ye.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)),ye.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)),ye.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=se*.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=se*.2,le=.2,de=.5,ge=.5;var Ee=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Ee),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)*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)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=se*.4,le=.4,de=.8,ge=.5;var Pe=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Pe),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-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Pe.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=se*.8,le=.8,de=1,ge=.5;var Ce=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ce),Ce.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)),Ce.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)),Ce.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)),Ce.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=se*.4,ee=.4,z=.5,le=.5,de=Se(),ge=Se(),fe=Se(),me=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var ye=be(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=se*.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(ye),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*se,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,ye=.5,ve=0,Ee=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Ee.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)),Ee.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)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Ee.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,ye=z,ve=z,Ee=fe*ye,Pe=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,de*y,(le-(Ee+ye)/2)*a,(de+(ve+Pe)/2)*y,(le-ye)*a,(de+Pe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-ye)*a,(de-Pe)*y,(le-Ee)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ye)*a,de*y,(le+Ee)*a,(de-ve)*y,(le+ye)*a,(de-Pe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+ye)*a,(de+Pe)*y,(le+(Ee+ye)/2)*a,(de+(ve+Pe)/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 Ce=new go.PathFigure(.2*a,y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ae=new go.PathFigure(.8*a,y,!1);return x.add(Ae),Ae.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=se*.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=se*.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=se*.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=se*.1,fe=.1,me=.9,ye=new go.PathFigure((fe-de)*a,me*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ye.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=se*.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=se*.05,ye=.175,ve=.95,le=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.375,ve=.95,de=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.825,ve=.95,Ee=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.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=se*.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=se*.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=se*.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=se*.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=se*.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*se,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*se,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*se,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",be={},Se=null,je=!1,E=!1,pe=null,he=!1,ce=null,se=null,oe=0;oe4?parseFloat(He):5};ct.setHTML5Codebase=function(He,ke){se=He,Ve(He,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(He,ke){var Ne=parseFloat(He);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=He,Ke(He,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return be},ct.setFontsCSSURL=function(He){z=He},ct.setGiacJSURL=function(He){},ct.setJNLPFile=function(He){ie=He},ct.setJNLPBaseDir=function(He){},ct.inject=function(){function He(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=be.id,Qe,qe=!1,rt=0;rt=5)return!0;var He=ct.getAppletObject();return He&&typeof He.recalculateEnvironments=="function"?(He.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var He=ct.getAppletObject();return He&&typeof He.startAnimation=="function"?(He.startAnimation(),!0):!1},ct.stopAnimation=function(){var He=ct.getAppletObject();return He&&typeof He.stopAnimation=="function"?(He.stopAnimation(),!0):!1},ct.getAppletObject=function(){var He=be.id!==void 0?be.id:"ggbApplet";return window[He]},ct.resize=function(){};var Ee=function(He,ke,Ne){var Qe=document.createElement("param");Qe.setAttribute("name",ke),Qe.setAttribute("value",Ne),He.appendChild(Qe)},Pe=function(He){return He&&He!=="false"},Ce=function(He,ke,Ne){de(te)<=4.2&&(Ne=!0);var Qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Pe(ke.showToolBar)&&(ke.height-=7),Pe(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Pe(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Pe(ke.showToolBar)||Pe(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Pe(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=He.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||He.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),He.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 Me($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(Qe){scriptLoadStarted=!0;for(var xe=0;xe0?(Ie.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ce(Ie,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Qe,Ce(He,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeHe/4*3&&(Ie=He/4*3),Ze=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",Ze);var Te=(He-Ie)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Ye),qe},Fe=function(He){return He=He.toLowerCase(),He==="html5"||He==="screenshot"?He:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ke=function(He,ke){if(te=He,ke){Ve(te,!0);return}var Ne=!je;if(Ne){var Qe=de(te);!isNaN(Qe)&&Qe<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===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]+"/"){Ve(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!Pe(be.showToolBar)&&!Pe(be.showMenuBar)&&!Pe(be.showAlgebraInput)&&!Pe(be.enableRightClick)&&(!be.appName||be.appName=="classic")?rt+="webSimple/":rt+="web3d/",Ve(rt,!1)},Ve=function(He,ke){if(He.requirejs){ae=He;return}He.slice(-1)!=="/"&&(He+="/"),ae=He,ke===null&&(ke=He.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=He.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 Qe=parseFloat(te);Qe!==NaN&&Qe<5&&He.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead."),Ke("5.0",ke))},Ge=function(He,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(He)};be.material_id!==void 0?me(Xe):Xe();function Xe(){var He=ot;ce!==null?He=ce:parseFloat(He)<5&&(He="5.0"),Ke(He,!1),se!==null&&Ve(se,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 be(he,ce,se,oe,ue,ie){var ae=null;if(ie!=null&&ie!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ie+" ")>-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(oe?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&&((se===void 0||!se)&&ce>0&&ce+y1&&(ie=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=Se(he,ce,ie,se,he.scaleContainerClass);else return oe;return ie&&(!he.hasOwnProperty("scale")||oe===1)?ue:Math.min(oe,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=he.getBoundingClientRect(),ue=(ce-oe.width)/2,ie=(se-oe.height)/2;ie<0&&(ie=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=ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ie<40?he.style.top="40px":he.style.top=ie+"px",he.style.left=ue+"px")}function pe(he,ce){var se=he.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var oe=je(ce,he);ct()&&se.setAttribute("data-param-scale",oe);for(var ue=null,ie=0;ie=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 se=he.indexOf(sb);se==-1&&(se=he.length);var oe=he.lastIndexOf(tb,Math.min(se,ce));return oe>=O?he.substring(O,oe+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 be(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function Se(){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=be();return pe==W&&(pe=Se()),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,be=[],Se=[];function je(he){var ce=Se[he](),se=be[he];if(ce in se)return ce;var oe=[];for(var ue in se)oe[se[ue]]=ue;throw r&&r(he,oe,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in be[he]},webModule.__getPropMap=function(){var he={};for(var ce in be)be.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})()},77903:function(ct,ot,be){"use strict";be.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return se},SI:function(){return E},f1:function(){return je}});var Se=be(3294);function je(oe){let ue=!0;if(oe.length>0){for(let ie=0;ieee 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={}))ie.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)=>se(b,oe(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=ye=>{try{me(z.next(ye))}catch(ve){de(ve)}},fe=ye=>{try{me(z.throw(ye))}catch(ve){de(ve)}},me=ye=>ye.done?le(ye.value):Promise.resolve(ye.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:be(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:be(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:be(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:ye,setLoading:ve,getData:Ee,clearStatus:Pe,typing:Ce,setImageGenerator:Ae,renderChatItems:_e,setSceneAwareness:we}=me;let Oe=ge;return de||(Oe=ge.filter(De=>De.show)),Se.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((De,Fe)=>Se.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ce){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}we(!1),Ae(!1),ve(!0),Pe();const Le=_e(De.query);Le[0].show=!1,Le[1].imageGenerator=!1,ye(Le),Ee("",ne({type:De.type,description:De.description,query:De.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},le))}),key:Fe,className:E.item},Se.createElement(he.Z,{align:"middle"},Se.createElement("img",{className:"mr10",src:De.img}),Se.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},De.name)),Se.createElement("div",{className:"mt10",style:{color:"#434D6C"}},De.des))))};return Se.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:Se.createElement(Se.Fragment,null,Se.createElement("div",{className:"c-grey-333 font22"},Se.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"),Se.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"),Se.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,be){"use strict";be.d(ot,{Z:function(){return Vt}});var Se=be(59301),je=be(8591),E=be(54580),pe=be(43418),he=be(6848),ce=be(92832),se=be(3113),oe=be(71418),ue=be(64165),ie=be(14478),ae=be(43428),re=be(38854),ne=be(92310),te=be.n(ne),a=be(46739),y=be(77596),x=be(93772),b=be(14179),ee=be(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},le=be(11611),de=be(35328),ge=be(30084),fe=be(50304),me=be(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ce=(_t,Et,Ct)=>Et in _t?ye(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,Ae=(_t,Et)=>{for(var Ct in Et||(Et={}))Ee.call(Et,Ct)&&Ce(_t,Ct,Et[Ct]);if(ve)for(var Ct of ve(Et))Pe.call(Et,Ct)&&Ce(_t,Ct,Et[Ct]);return _t},_e=(_t,Et)=>{var Ct={};for(var an in _t)Ee.call(_t,an)&&Et.indexOf(an)<0&&(Ct[an]=_t[an]);if(_t!=null&&ve)for(var an of ve(_t))Et.indexOf(an)<0&&Pe.call(_t,an)&&(Ct[an]=_t[an]);return Ct},Oe=({onFinish:_t,value:Et,streamingStatus:Ct,cancelIndex:an,loadImage:cn})=>{const[wn,xn]=(0,Se.useState)(""),[Tt,on]=(0,Se.useState)(0),[Dn,Ht]=(0,Se.useState)(!1),Yt=Pn=>Pn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Rt=()=>{Ht(!0),_t==null||_t()};return(0,Se.useEffect)(()=>{const Pn=cn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[7473],{87169:function(ct,ot,be){"use strict";be.d(ot,{Z:function(){return oe}});var Se=be(92413),je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,he=be(7657),ce=function(ie,ae){return je.createElement(he.Z,(0,Se.Z)({},ie,{ref:ae,icon:pe}))},se=je.forwardRef(ce),oe=se},88010: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"}},61293: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"}},88175: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"}},38476:function(){"use strict"},39775:function(ct,ot,be){"use strict";var Se=be(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,ie,ae)=>ie in ue?je(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[ie]=ae,se=(ue,ie)=>{for(var ae in ie||(ie={}))pe.call(ie,ae)&&ce(ue,ae,ie[ae]);if(E)for(var ae of E(ie))he.call(ie,ae)&&ce(ue,ae,ie[ae]);return ue};const oe=ue=>React.createElement("svg",se({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="},93450:function(ct,ot,be){"use strict";var Se=be(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,ie,ae)=>ie in ue?je(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[ie]=ae,se=(ue,ie)=>{for(var ae in ie||(ie={}))pe.call(ie,ae)&&ce(ue,ae,ie[ae]);if(E)for(var ae of E(ie))he.call(ie,ae)&&ce(ue,ae,ie[ae]);return ue};const oe=ue=>React.createElement("svg",se({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=="},74413: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 be(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function Se(){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,ye=NaN;if(ge===0)if(fe===0)te===y&&(me=te,ye=a);else{var ve=(ee-le)/fe,Ee=ee-ve*b;me=te,ye=ve*me+Ee}else if(fe===0){var Pe=(a-x)/ge,Ce=a-Pe*te;me=b,ye=Pe*me+Ce}else{var Pe=(a-x)/ge,ve=(ee-le)/fe,Ce=a-Pe*te,Ee=ee-ve*b;me=(Ee-Ce)/(Pe-ve),ye=Pe*me+Ce}return de.x=me,de.y=ye,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,ye,ve){var Ee=1-de,Pe=de,Ce=te*Ee+y*Pe,Ae=a*Ee+x*Pe,_e=y*Ee+b*Pe,we=x*Ee+ee*Pe,Oe=b*Ee+z*Pe,De=ee*Ee+le*Pe,Fe=Ce*Ee+_e*Pe,Le=Ae*Ee+we*Pe,Ke=_e*Ee+Oe*Pe,Ve=we*Ee+De*Pe,Ge=Fe*Ee+Ke*Pe,Xe=Le*Ee+Ve*Pe;ge.x=Ce,ge.y=Ae,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Xe,ye.x=Ke,ye.y=Ve,ve.x=Oe,ve.y=De}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),se=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*se,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,se*a,0,a,(1-se)*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,se*y,(1-se)*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,se*y,se*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-se)*a,0,0,(1-se)*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=se/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,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*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*se;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*se,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*se,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=se*.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=se*.4;var ge=Se(),fe=Se(),me=Se(),ye=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,ye,ye);var ve=Se(),Ee=Se(),Pe=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,ye,ye,Pe,ve,Ee);var Ce=Se(),Ae=Se(),_e=Se();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ce,Ae,_e,ye,ye);var we=Se(),Oe=Se(),De=Se();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,ye,ye,De,we,Oe),de.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,Oe.x*a,Oe.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,De.x*a,De.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,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Ee.x*a,Ee.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,Ce.x*a,Ce.y*y,Ae.x*a,Ae.y*y).close()),je(ge),je(fe),je(me),je(ye),je(ve),je(Ee),je(Pe),je(Ce),je(Ae),je(_e),je(we),je(Oe),je(De),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=se*.4,ee=.4,z=.5,le=.5,de=Se(),ge=Se(),fe=Se(),me=Se(),ye=new go.PathFigure((z-ee)*a,le*y,!1);x.add(ye),ye.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),ye.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=be(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 Ee=be(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ye.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=se*.35;var Pe=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Pe),Pe.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.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.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.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 Ce=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ce),je(de),je(ge),je(fe),je(me),je(ve),je(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*se,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*se;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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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,Se());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=se*.5,ee=se*.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=se*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,se*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-se*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-se*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-se*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-se*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=se*.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,se*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,se*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-se*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-se*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-se*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-se*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=se*.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-se*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,se*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+se*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+se*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=se*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,se*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-se*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-se*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=se*b,le=se*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,ye=se*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+ye)*a,(ge-me)*y,(de+me)*a,(ge-ye)*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,ye=se*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-ye)*y,(de+ye)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-ye)*a,(ge-me)*y,(de-me)*a,(ge-ye)*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,ye=se*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-ye)*y,(de-ye)*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=se*.5,ee=se*.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=se*.5,ee=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.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=se*.5,ee=se*.4,z=se*.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=se*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=se*.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=se*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=se*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=se*.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=se*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=se*.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=se*.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=se*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,ye=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ye),ye.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)),ye.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)),ye.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)),ye.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=se*.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=se*.2,le=.2,de=.5,ge=.5;var Ee=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Ee),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)*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)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=se*.4,le=.4,de=.8,ge=.5;var Pe=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Pe),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-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Pe.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=se*.8,le=.8,de=1,ge=.5;var Ce=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ce),Ce.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)),Ce.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)),Ce.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)),Ce.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=se*.4,ee=.4,z=.5,le=.5,de=Se(),ge=Se(),fe=Se(),me=Se();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var ye=be(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=se*.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(ye),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*se,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,ye=.5,ve=0,Ee=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Ee.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)),Ee.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)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Ee.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,ye=z,ve=z,Ee=fe*ye,Pe=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-ye)*a,de*y,(le-(Ee+ye)/2)*a,(de+(ve+Pe)/2)*y,(le-ye)*a,(de+Pe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-ye)*a,(de-Pe)*y,(le-Ee)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ye)*a,de*y,(le+Ee)*a,(de-ve)*y,(le+ye)*a,(de-Pe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+ye)*a,(de+Pe)*y,(le+(Ee+ye)/2)*a,(de+(ve+Pe)/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 Ce=new go.PathFigure(.2*a,y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ae=new go.PathFigure(.8*a,y,!1);return x.add(Ae),Ae.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=se*.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=se*.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=se*.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=se*.1,fe=.1,me=.9,ye=new go.PathFigure((fe-de)*a,me*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ye.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=se*.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=se*.05,ye=.175,ve=.95,le=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.375,ve=.95,de=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y));var fe=.05,me=se*.05,ye=.825,ve=.95,Ee=new go.PathFigure((ye-fe)*a,ve*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-fe)*y,(ye-fe)*a,(ve-me)*y,(ye-me)*a,(ve-fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,ve*y,(ye+me)*a,(ve-fe)*y,(ye+fe)*a,(ve-me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+fe)*y,(ye+fe)*a,(ve+me)*y,(ye+me)*a,(ve+fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,ve*y,(ye-me)*a,(ve+fe)*y,(ye-fe)*a,(ve+me)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.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=se*.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=se*.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=se*.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=se*.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=se*.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*se,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*se,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*se,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",be={},Se=null,je=!1,E=!1,pe=null,he=!1,ce=null,se=null,oe=0;oe4?parseFloat(He):5};ct.setHTML5Codebase=function(He,ke){se=He,Ve(He,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(He,ke){var Ne=parseFloat(He);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=He,Ke(He,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return be},ct.setFontsCSSURL=function(He){z=He},ct.setGiacJSURL=function(He){},ct.setJNLPFile=function(He){ie=He},ct.setJNLPBaseDir=function(He){},ct.inject=function(){function He(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=be.id,Qe,qe=!1,rt=0;rt=5)return!0;var He=ct.getAppletObject();return He&&typeof He.recalculateEnvironments=="function"?(He.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var He=ct.getAppletObject();return He&&typeof He.startAnimation=="function"?(He.startAnimation(),!0):!1},ct.stopAnimation=function(){var He=ct.getAppletObject();return He&&typeof He.stopAnimation=="function"?(He.stopAnimation(),!0):!1},ct.getAppletObject=function(){var He=be.id!==void 0?be.id:"ggbApplet";return window[He]},ct.resize=function(){};var Ee=function(He,ke,Ne){var Qe=document.createElement("param");Qe.setAttribute("name",ke),Qe.setAttribute("value",Ne),He.appendChild(Qe)},Pe=function(He){return He&&He!=="false"},Ce=function(He,ke,Ne){de(te)<=4.2&&(Ne=!0);var Qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Pe(ke.showToolBar)&&(ke.height-=7),Pe(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Pe(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Pe(ke.showToolBar)||Pe(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Pe(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=He.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||He.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),He.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 Me($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(Qe){scriptLoadStarted=!0;for(var xe=0;xe0?(Ie.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ce(Ie,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Qe,Ce(He,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeHe/4*3&&(Ie=He/4*3),Ze=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",Ze);var Te=(He-Ie)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Ye),qe},Fe=function(He){return He=He.toLowerCase(),He==="html5"||He==="screenshot"?He:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ke=function(He,ke){if(te=He,ke){Ve(te,!0);return}var Ne=!je;if(Ne){var Qe=de(te);!isNaN(Qe)&&Qe<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===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]+"/"){Ve(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!Pe(be.showToolBar)&&!Pe(be.showMenuBar)&&!Pe(be.showAlgebraInput)&&!Pe(be.enableRightClick)&&(!be.appName||be.appName=="classic")?rt+="webSimple/":rt+="web3d/",Ve(rt,!1)},Ve=function(He,ke){if(He.requirejs){ae=He;return}He.slice(-1)!=="/"&&(He+="/"),ae=He,ke===null&&(ke=He.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=He.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 Qe=parseFloat(te);Qe!==NaN&&Qe<5&&He.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead."),Ke("5.0",ke))},Ge=function(He,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(He)};be.material_id!==void 0?me(Xe):Xe();function Xe(){var He=ot;ce!==null?He=ce:parseFloat(He)<5&&(He="5.0"),Ke(He,!1),se!==null&&Ve(se,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 be(he,ce,se,oe,ue,ie){var ae=null;if(ie!=null&&ie!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ie+" ")>-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(oe?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&&((se===void 0||!se)&&ce>0&&ce+y1&&(ie=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=Se(he,ce,ie,se,he.scaleContainerClass);else return oe;return ie&&(!he.hasOwnProperty("scale")||oe===1)?ue:Math.min(oe,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=he.getBoundingClientRect(),ue=(ce-oe.width)/2,ie=(se-oe.height)/2;ie<0&&(ie=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=ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ie<40?he.style.top="40px":he.style.top=ie+"px",he.style.left=ue+"px")}function pe(he,ce){var se=he.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var oe=je(ce,he);ct()&&se.setAttribute("data-param-scale",oe);for(var ue=null,ie=0;ie=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 se=he.indexOf(sb);se==-1&&(se=he.length);var oe=he.lastIndexOf(tb,Math.min(se,ce));return oe>=O?he.substring(O,oe+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 be(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function Se(){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=be();return pe==W&&(pe=Se()),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,be=[],Se=[];function je(he){var ce=Se[he](),se=be[he];if(ce in se)return ce;var oe=[];for(var ue in se)oe[se[ue]]=ue;throw r&&r(he,oe,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in be[he]},webModule.__getPropMap=function(){var he={};for(var ce in be)be.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})()},77903:function(ct,ot,be){"use strict";be.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return se},SI:function(){return E},f1:function(){return je}});var Se=be(3294);function je(oe){let ue=!0;if(oe.length>0){for(let ie=0;ieee 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={}))ie.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)=>se(b,oe(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=ye=>{try{me(z.next(ye))}catch(ve){de(ve)}},fe=ye=>{try{me(z.throw(ye))}catch(ve){de(ve)}},me=ye=>ye.done?le(ye.value):Promise.resolve(ye.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:be(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:be(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:be(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:ye,setLoading:ve,getData:Ee,clearStatus:Pe,typing:Ce,setImageGenerator:Ae,renderChatItems:_e,setSceneAwareness:we}=me;let Oe=ge;return de||(Oe=ge.filter(De=>De.show)),Se.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((De,Fe)=>Se.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ce){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}we(!1),Ae(!1),ve(!0),Pe();const Le=_e(De.query);Le[0].show=!1,Le[1].imageGenerator=!1,ye(Le),Ee("",ne({type:De.type,description:De.description,query:De.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},le))}),key:Fe,className:E.item},Se.createElement(he.Z,{align:"middle"},Se.createElement("img",{className:"mr10",src:De.img}),Se.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},De.name)),Se.createElement("div",{className:"mt10",style:{color:"#434D6C"}},De.des))))};return Se.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:Se.createElement(Se.Fragment,null,Se.createElement("div",{className:"c-grey-333 font22"},Se.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"),Se.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"),Se.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,be){"use strict";be.d(ot,{Z:function(){return Vt}});var Se=be(59301),je=be(8591),E=be(54580),pe=be(43418),he=be(6848),ce=be(92832),se=be(3113),oe=be(71418),ue=be(64165),ie=be(14478),ae=be(43428),re=be(38854),ne=be(92310),te=be.n(ne),a=be(93628),y=be(77596),x=be(93772),b=be(14179),ee=be(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},le=be(11611),de=be(35328),ge=be(30084),fe=be(50304),me=be(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ce=(_t,Et,Ct)=>Et in _t?ye(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,Ae=(_t,Et)=>{for(var Ct in Et||(Et={}))Ee.call(Et,Ct)&&Ce(_t,Ct,Et[Ct]);if(ve)for(var Ct of ve(Et))Pe.call(Et,Ct)&&Ce(_t,Ct,Et[Ct]);return _t},_e=(_t,Et)=>{var Ct={};for(var an in _t)Ee.call(_t,an)&&Et.indexOf(an)<0&&(Ct[an]=_t[an]);if(_t!=null&&ve)for(var an of ve(_t))Et.indexOf(an)<0&&Pe.call(_t,an)&&(Ct[an]=_t[an]);return Ct},Oe=({onFinish:_t,value:Et,streamingStatus:Ct,cancelIndex:an,loadImage:cn})=>{const[wn,xn]=(0,Se.useState)(""),[Tt,on]=(0,Se.useState)(0),[Dn,Ht]=(0,Se.useState)(!1),Yt=Pn=>Pn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Rt=()=>{Ht(!0),_t==null||_t()};return(0,Se.useEffect)(()=>{const Pn=cn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${Et}`:Et,On=Yt(Pn);if(!Dn)if(cn||!Ct||an>0){xn(On),on(On.length),(!Ct||an>0)&&!cn&&Rt();return}else if(Tt{xn(On.slice(0,Tt+2)),on(Ln=>Ln+2)},Vn>10?Math.max(500/(Vn/2),20):50);return()=>clearInterval(Rn)}else Ct||Rt()},[Et,Ct,an,cn,Tt]),(0,Se.useMemo)(()=>me.createElement("div",{className:`${z.answer} fadeIn animated`},me.createElement(a.UG,{remarkPlugins:[ge.Z],rehypePlugins:[de.Z,x.Z],components:{code(Pn){var On=Pn,{node:Vn,inline:Rn,className:Ln,children:Wn}=On,Gn=_e(On,["node","inline","className","children"]);const ar=/language-(\w+)/.exec(Ln||"");return Rn||!ar?me.createElement("code",Ae({className:Ln},Gn),Wn):me.createElement("div",{className:z.codeCopy},me.createElement(ee.CopyToClipboard,{text:String(Wn).trim(),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},me.createElement("button",null,"\u590D\u5236")),me.createElement(y.Z,Ae({style:b.Z,language:ar[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Gn),String(Wn).trim()))},img({node:Pn}){var On;return me.createElement(le.Z,{src:(On=Pn.properties)==null?void 0:On.src,width:320,onLoad:()=>cn&&setTimeout(()=>Rt(),500)})}}},Ct&&Ttnew Promise((an,cn)=>{var wn=on=>{try{Tt(Ct.next(on))}catch(Dn){cn(Dn)}},xn=on=>{try{Tt(Ct.throw(on))}catch(Dn){cn(Dn)}},Tt=on=>on.done?an(on.value):Promise.resolve(on.value).then(wn,xn);Tt((Ct=Ct.apply(_t,Et)).next())}),Ve=({value:_t="",streamingStatus:Et,onFinish:Ct,cancelIndex:an,time:cn,loading:wn,loadAll:xn})=>{const[Tt,on]=(0,Se.useState)(""),[Dn,Ht]=(0,Se.useState)(!0),Yt=(0,Se.useRef)(_t),Rt=(0,Se.useRef)(Et),En=(0,Se.useRef)(0),Pn=(0,Se.useRef)(null),[On,Vn]=(0,Se.useState)(!1),Rn=70;(0,Se.useEffect)(()=>{Rt.current=Et},[Et]),(0,Se.useEffect)(()=>{Yt.current=_t},[_t]),(0,Se.useEffect)(()=>{if(!Et){on(Yt.current);return}return Vn(!0),Pn.current=setInterval(Ln,Rn),()=>{clearInterval(Pn.current)}},[]),(0,Se.useEffect)(()=>{On&&(on(Yt.current),clearInterval(Pn.current),Vn(!1),Ct())},[an]);const Ln=()=>Le(void 0,null,function*(){const Wn=Yt.current[En.current];Wn!==void 0?(on(Gn=>Gn+Wn),En.current++,clearInterval(Pn.current),Pn.current=setInterval(Ln,280/(Yt.current.length-En.current))):Rt.current===!1&&(on(Yt.current),clearInterval(Pn.current),Vn(!1),Ct())});return Fe.createElement("div",{className:`${De.reasoning} fadeIn animated`},Fe.createElement("div",{className:De.btn,onClick:()=>Ht(!Dn)},Fe.createElement("i",{className:"iconfont icon-shendusikao"}),cn?Fe.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",cn," \u79D2\uFF09"):Fe.createElement("span",null,"\u601D\u8003\u4E2D..."),Dn?Fe.createElement("b",{className:"iconfont icon-shouqi6"}):Fe.createElement("b",{className:"iconfont icon-zhankai6"})),wn&&Fe.createElement(oe.Z,{spinning:!0,className:"mt20"}),Dn&&!wn&&Fe.createElement("div",{className:De.content},Tt,On?Fe.createElement("span",{className:"aiBlink"},"__"):""))},Ge={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Xe=be(81327),He=Object.defineProperty,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,qe=(_t,Et,Ct)=>Et in _t?He(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,rt=(_t,Et)=>{for(var Ct in Et||(Et={}))Ne.call(Et,Ct)&&qe(_t,Ct,Et[Ct]);if(ke)for(var Ct of ke(Et))Qe.call(Et,Ct)&&qe(_t,Ct,Et[Ct]);return _t};const Ye=_t=>React.createElement("svg",rt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},_t),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 Ue="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggM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MUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ie=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,at=(_t,Et,Ct)=>Et in _t?Ie(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,et=(_t,Et)=>{for(var Ct in Et||(Et={}))Te.call(Et,Ct)&&at(_t,Ct,Et[Ct]);if(Ze)for(var Ct of Ze(Et))We.call(Et,Ct)&&at(_t,Ct,Et[Ct]);return _t};const Je=_t=>React.createElement("svg",et({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},_t),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.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MTYuNzc4IDAgMCAxLTE3LjI1IDE2LjU0MSAxNy4zMyAxNy4zMyAwIDAgMS0xMi4xMzEtNC44ODMgMTUuOTExIDE1LjkxMSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",xe=be(59301),Re=({value:_t,onChange:Et})=>{const[Ct,an]=(0,Se.useState)(!1),cn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ue},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Me}],wn=cn.find(xn=>xn.key===_t);return xe.createElement("div",{className:Ge.select},xe.createElement(Xe.Z,{size:10},xe.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),xe.createElement("div",{className:Ge.box,onMouseLeave:()=>an(!1)},xe.createElement("div",{className:Ge.text,onClick:()=>an(!0)},xe.createElement("img",{src:wn.img,width:20}),xe.createElement("span",null,wn.name),xe.createElement("b",{className:"iconfont icon-zhankai6"})),Ct&&xe.createElement("div",{className:Ge.itemWrap},xe.createElement("aside",null,cn.map(xn=>xe.createElement("div",{key:xn.key,className:`${Ge.item} ${xn.key===_t?Ge.active:""}`,onClick:Tt=>{Tt.stopPropagation(),Et(xn.key),an(!1)}},xe.createElement("img",{src:xn.img,width:20}),xe.createElement("span",null,xn.name))))))))},ze={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},nt=be(99064),$e=be(955),tt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},it=({src:_t,onClick:Et,topPercentage:Ct=.62,draggableExtraNode:an})=>{const cn=(0,Se.useRef)(null),wn=(0,Se.useRef)(!1),xn=(0,Se.useRef)(!1),[Tt,on]=(0,Se.useState)(window.innerHeight*Ct),[Dn,Ht]=(0,Se.useState)(!1),Yt=10;return(0,Se.useEffect)(()=>{if(cn.current){let Rt=function(Rn){var Ln;wn.current=!0,Vn=Rn.pageY,On=Rn.pageY-(((Ln=cn.current)==null?void 0:Ln.getBoundingClientRect().top)||0),(0,$e.kk)("none"),document.onselectstart=function(){return!1}},En=function(){wn.current&&!xn.current&&Et&&Et(),wn.current=!1,xn.current=!1,(0,$e.kk)("auto"),document.onselectstart=null},Pn=function(Rn){var Ln;if(wn.current){const Gn=Rn.pageY-On,ar=window.innerHeight-(((Ln=cn.current)==null?void 0:Ln.offsetHeight)||0)-50,It=50;if(!xn.current&&Math.abs(Vn-Rn.pageY)>Yt&&(xn.current=!0),xn.current){let ir=Math.max(It,Math.min(Gn,ar));on(ir)}}},On=0,Vn=0;return cn.current.addEventListener("mousedown",Rt),document.addEventListener("mousemove",Pn),document.addEventListener("mouseup",En),()=>{var Rn,Ln;(Ln=(Rn=cn==null?void 0:cn.current)==null?void 0:Rn.removeEventListener)==null||Ln.call(Rn,"mousedown",Rt),document.removeEventListener("mousemove",Pn),document.removeEventListener("mouseup",En)}}},[Et]),(0,Se.useEffect)(()=>{const Rt=()=>{on(window.innerHeight*Ct)};return window.addEventListener("resize",Rt),()=>{window.removeEventListener("resize",Rt)}},[Ct]),Se.createElement("div",{className:tt.draggableImage,style:{top:`${Tt}px`,display:Dn?"none":"block",cursor:wn.current?"grabbing":"grab"},ref:cn},an,Se.createElement("img",{className:tt.img,src:_t,width:60,draggable:"false"}),Se.createElement("i",{className:`iconfont icon-tupianguanbi ${tt.close}`,onMouseUp:Rt=>{Rt.stopPropagation(),Ht(!0)}}))},lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR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aHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",pt=be(3294),gt=be(86204),St=be(85149),At=Object.defineProperty,xt=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,zt=(_t,Et,Ct)=>Et in _t?At(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,Kt=(_t,Et)=>{for(var Ct in Et||(Et={}))wt.call(Et,Ct)&&zt(_t,Ct,Et[Ct]);if(bt)for(var Ct of bt(Et))Jt.call(Et,Ct)&&zt(_t,Ct,Et[Ct]);return _t},Nt=(_t,Et)=>xt(_t,ht(Et)),Wt=(_t,Et,Ct)=>zt(_t,typeof Et!="symbol"?Et+"":Et,Ct),Ft=(_t,Et,Ct)=>new Promise((an,cn)=>{var wn=on=>{try{Tt(Ct.next(on))}catch(Dn){cn(Dn)}},xn=on=>{try{Tt(Ct.throw(on))}catch(Dn){cn(Dn)}},Tt=on=>on.done?an(on.value):Promise.resolve(on.value).then(wn,xn);Tt((Ct=Ct.apply(_t,Et)).next())});class $t extends gt.EventEmitter{constructor(Et,Ct){super(),Wt(this,"url"),Wt(this,"body"),Wt(this,"fullContent",""),Wt(this,"controller",null),this.url=Et,this.body=Ct}startStream(){return Ft(this,null,function*(){this.controller=new AbortController;const{signal:Et}=this.controller;try{const Ct=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Et});if(!Ct.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ct.status}`);const an=Ct.headers.get("content-type");if(!an||!an.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const cn=Ct.body.getReader(),wn=new TextDecoder("utf-8");for(;;){const{done:xn,value:Tt}=yield cn.read();if(xn)break;const Dn=wn.decode(Tt,{stream:!0}).split(` `);for(const Ht of Dn)if(Ht.startsWith("data:")){let Yt=(0,St.z)(Ht.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Yt==="[DONE]")break;try{const Rt=JSON.parse(Yt);Rt.data&&this.handleData(Nt(Kt({},Rt.data),{content:Rt.data.content.replace(/\\\\/g,"\\")}))}catch(Rt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Rt)}}}this.emit("done",this.fullContent)}catch(Ct){Ct.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ct.message)}})}handleData(Et){Et.content&&(this.fullContent+=Et.content,this.emit("data",{chunk:Et,full:this.fullContent}))}cancelRequest(){var Et;(Et=this.controller)==null||Et.abort()}}var Cn=$t,dn=be(58617),mn=be(32050),un=Object.defineProperty,rn=Object.defineProperties,Qt=Object.getOwnPropertyDescriptors,vn=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Sn=(_t,Et,Ct)=>Et in _t?un(_t,Et,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):_t[Et]=Ct,zn=(_t,Et)=>{for(var Ct in Et||(Et={}))sn.call(Et,Ct)&&Sn(_t,Ct,Et[Ct]);if(vn)for(var Ct of vn(Et))hn.call(Et,Ct)&&Sn(_t,Ct,Et[Ct]);return _t},dt=(_t,Et)=>rn(_t,Qt(Et)),yt=(_t,Et,Ct)=>new Promise((an,cn)=>{var wn=on=>{try{Tt(Ct.next(on))}catch(Dn){cn(Dn)}},xn=on=>{try{Tt(Ct.throw(on))}catch(Dn){cn(Dn)}},Tt=on=>on.done?an(on.value):Promise.resolve(on.value).then(wn,xn);Tt((Ct=Ct.apply(_t,Et)).next())}),Vt=({title:_t="\u5934\u6B4CAI",placeholder:Et,hideUpload:Ct,hideInputBox:an,aiIcon:cn=lt,userIcon:wn=ut,dragIcon:xn=mt,children:Tt,fetchUrl:on,fetchData:Dn={},extraAnswerAction:Ht,showDefaultTips:Yt=!0,onOpen:Rt,onClose:En,loadingOption:Pn,showPreference:On=!1,initMessage:Vn,customRequest:Rn,visible:Ln,width:Wn=1200,isCheckRestrictNumber:Gn=!1,headNode:ar,headFunctionNode:It,showRedraw:ir,showEdit:br,promptPropName:In="prompt",topPercentage:_n,showSwitchingModel:Mt=!1,showImageGenerator:nn=!1,showLookHistory:yn=!1,fetchListObject:qt,customPreference:Yn,customDataNode:$n,showAddSession:sr,historyId:hr,draggableExtraNode:wr,drawerExtraNode:Jr,menuExtraFunctionNode:Xt,showSceneAwareness:qr=!1})=>{var Qr;const[Or,Mr]=(0,Se.useState)(!1),[Ar,Gr]=(0,Se.useState)("qwen-max"),[yr,kn]=(0,Se.useState)([]),[Kn,Lr]=(0,Se.useState)(!1),[lr,Cr]=(0,Se.useState)(!1),[ea,Tr]=(0,Se.useState)(!1),[Xn,gr]=(0,Se.useState)([]),[Br,ta]=(0,Se.useState)(""),[na,la]=(0,Se.useState)(0),[ft,Lt]=(0,Se.useState)(!1),[jt,kt]=(0,Se.useState)(null),[Ot,Bt]=(0,Se.useState)(""),Dt=(0,Se.useRef)(),Gt=(0,Se.useRef)(null),Ut=(0,Se.useRef)(null),[tn,Zt]=(0,Se.useState)(!1),[bn,ln]=(0,Se.useState)(!1),[Mn,pn]=(0,Se.useState)(!1),[Zn,er]=(0,Se.useState)(!1),[mr,Sr]=(0,Se.useState)(0),Nn=(0,Se.useRef)(null),fr=(0,Se.useRef)(!1),Hn=(0,Se.useRef)(null),[Tn,tr]=(0,Se.useState)(void 0),[or,Qn]=(0,Se.useState)(!0),[ur,nr]=(0,Se.useState)(Wn-28),[cr,_r]=(0,Se.useState)(!1),[rr,Hr]=(0,Se.useState)(!0),[Nr,Ir]=(0,Se.useState)([]),jr=(0,Se.useRef)([]),dr=(0,Se.useRef)(!1),fn=ur-22,Bn=Br==null?void 0:Br.split(` diff --git a/7935.e0011e01.async.js b/9381.642ff118.async.js similarity index 61% rename from 7935.e0011e01.async.js rename to 9381.642ff118.async.js index 3d69313131..20d9ebfc11 100644 --- a/7935.e0011e01.async.js +++ b/9381.642ff118.async.js @@ -1,196 +1,196 @@ -!(function(){var fx=Object.defineProperty,px=Object.defineProperties;var mx=Object.getOwnPropertyDescriptors;var ug=Object.getOwnPropertySymbols;var Ab=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable;var ny=Math.pow,Nb=(Q,C,h)=>C in Q?fx(Q,C,{enumerable:!0,configurable:!0,writable:!0,value:h}):Q[C]=h,Uo=(Q,C)=>{for(var h in C||(C={}))Ab.call(C,h)&&Nb(Q,h,C[h]);if(ug)for(var h of ug(C))kb.call(C,h)&&Nb(Q,h,C[h]);return Q},cd=(Q,C)=>px(Q,mx(C));var Ib=(Q,C)=>{var h={};for(var v in Q)Ab.call(Q,v)&&C.indexOf(v)<0&&(h[v]=Q[v]);if(Q!=null&&ug)for(var v of ug(Q))C.indexOf(v)<0&&kb.call(Q,v)&&(h[v]=Q[v]);return h};var iy=(Q,C,h)=>new Promise((v,I)=>{var O=P=>{try{G(h.next(P))}catch(M){I(M)}},F=P=>{try{G(h.throw(P))}catch(M){I(M)}},G=P=>P.done?v(P.value):Promise.resolve(P.value).then(O,F);G((h=h.apply(Q,C)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[7935],{89489:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},59477:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},40001:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},26227:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},49198:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},41464:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},73331:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},15277:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},52671:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},8657:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},56082:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},33853:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},15075:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},43531:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},61485:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},38819:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},47472:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},32050:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},F=O,G=h(7657),P=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:F}))},M=I.forwardRef(P),de=M},37036:function(){"use strict"},95625:function(){"use strict"},50371:function(Q,C){"use strict";function h(){const v=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let I=1;I{const G=O[F];G!==void 0&&(v[F]=G)})}return v}C.Z=h},77578:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});const v=I=>I?typeof I=="function"?I():I:null},13845:function(Q,C,h){"use strict";h.d(C,{F:function(){return v},Z:function(){return I}});function v(O){return O!=null&&O===O.window}function I(O,F){var G,P;if(typeof window=="undefined")return 0;const M=F?"scrollTop":"scrollLeft";let de=0;return v(O)?de=O[F?"pageYOffset":"pageXOffset"]:O instanceof Document?de=O.documentElement[M]:(O instanceof HTMLElement||O)&&(de=O[M]),O&&!v(O)&&typeof de!="number"&&(de=(P=((G=O.ownerDocument)!==null&&G!==void 0?G:O).documentElement)===null||P===void 0?void 0:P[M]),de}},56762:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(59301);function I(){const[,O]=v.useReducer(F=>F+1,0);return O}},68031:function(Q,C,h){"use strict";h.d(C,{Z:function(){return F}});var v=h(16089);function I(G,P,M,de){const ce=M-P;return G/=de/2,G<1?ce/2*G*G*G+P:ce/2*((G-=2)*G*G+2)+P}var O=h(13845);function F(G){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:M=()=>window,callback:de,duration:ce=450}=P,te=M(),Me=(0,O.Z)(te,!0),we=Date.now(),Qe=()=>{const Te=Date.now()-we,Ae=I(Te>ce?ce:Te,Me,G,ce);(0,O.F)(te)?te.scrollTo(window.pageXOffset,Ae):te instanceof Document||te.constructor.name==="HTMLDocument"?te.documentElement.scrollTop=Ae:te.scrollTop=Ae,Te{var Xe;const{prefixCls:Ye,className:ie,rootClassName:lt,children:We,indeterminate:Pt=!1,style:xt,onMouseEnter:kt,onMouseLeave:wt,skipGroup:En=!1,disabled:Je}=Ie,se=Qe(Ie,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ue,direction:Ht,checkbox:Vt}=F.useContext(G.E_),St=F.useContext(ce),{isFormItemInput:an}=F.useContext(M.aM),Ft=F.useContext(P.Z),ai=(Xe=(St==null?void 0:St.disabled)||Je)!==null&&Xe!==void 0?Xe:Ft,Ln=F.useRef(se.value);F.useEffect(()=>{St==null||St.registerValue(se.value)},[]),F.useEffect(()=>{if(!En)return se.value!==Ln.current&&(St==null||St.cancelValue(Ln.current),St==null||St.registerValue(se.value),Ln.current=se.value),()=>St==null?void 0:St.cancelValue(se.value)},[se.value]);const ni=ue("checkbox",Ye),[Jn,In]=(0,te.ZP)(ni),Mn=Object.assign({},se);St&&!En&&(Mn.onChange=function(){se.onChange&&se.onChange.apply(se,arguments),St.toggleOption&&St.toggleOption({label:We,value:se.value})},Mn.name=St.name,Mn.checked=St.value.includes(se.value));const re=I()(`${ni}-wrapper`,{[`${ni}-rtl`]:Ht==="rtl",[`${ni}-wrapper-checked`]:Mn.checked,[`${ni}-wrapper-disabled`]:ai,[`${ni}-wrapper-in-form-item`]:an},Vt==null?void 0:Vt.className,ie,lt,In),z=I()({[`${ni}-indeterminate`]:Pt},we.A,In),k=Pt?"mixed":void 0;return Jn(F.createElement(Me.Z,{component:"Checkbox",disabled:ai},F.createElement("label",{className:re,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),xt),onMouseEnter:kt,onMouseLeave:wt},F.createElement(O.Z,Object.assign({"aria-checked":k},Mn,{prefixCls:ni,className:z,disabled:ai,ref:Fe})),We!==void 0&&F.createElement("span",null,We))))};var Ae=F.forwardRef(Oe),Re=h(26407),fe=h(2738),me=function(Ie,Fe){var Xe={};for(var Ye in Ie)Object.prototype.hasOwnProperty.call(Ie,Ye)&&Fe.indexOf(Ye)<0&&(Xe[Ye]=Ie[Ye]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Ye=Object.getOwnPropertySymbols(Ie);ie{const{defaultValue:Xe,children:Ye,options:ie=[],prefixCls:lt,className:We,rootClassName:Pt,style:xt,onChange:kt}=Ie,wt=me(Ie,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:En,direction:Je}=F.useContext(G.E_),[se,ue]=F.useState(wt.value||Xe||[]),[Ht,Vt]=F.useState([]);F.useEffect(()=>{"value"in wt&&ue(wt.value||[])},[wt.value]);const St=F.useMemo(()=>ie.map(j=>typeof j=="string"||typeof j=="number"?{label:j,value:j}:j),[ie]),an=j=>{Vt(X=>X.filter(N=>N!==j))},Ft=j=>{Vt(X=>[].concat((0,Re.Z)(X),[j]))},ai=j=>{const X=se.indexOf(j.value),N=(0,Re.Z)(se);X===-1?N.push(j.value):N.splice(X,1),"value"in wt||ue(N),kt==null||kt(N.filter(_e=>Ht.includes(_e)).sort((_e,Nt)=>{const He=St.findIndex(gt=>gt.value===_e),De=St.findIndex(gt=>gt.value===Nt);return He-De}))},Ln=En("checkbox",lt),ni=`${Ln}-group`,[Jn,In]=(0,te.ZP)(Ln),Mn=(0,fe.Z)(wt,["value","disabled"]),re=ie.length?St.map(j=>F.createElement(Ae,{prefixCls:Ln,key:j.value.toString(),disabled:"disabled"in j?j.disabled:wt.disabled,value:j.value,checked:se.includes(j.value),onChange:j.onChange,className:`${ni}-item`,style:j.style,title:j.title},j.label)):Ye,z={toggleOption:ai,value:se,disabled:wt.disabled,name:wt.name,registerValue:Ft,cancelValue:an},k=I()(ni,{[`${ni}-rtl`]:Je==="rtl"},We,Pt,In);return Jn(F.createElement("div",Object.assign({className:k,style:xt},Mn,{ref:Fe}),F.createElement(ce.Provider,{value:z},re)))},ge=F.forwardRef(xe);var ke=F.memo(ge);const ee=Ae;ee.Group=ke,ee.__ANT_CHECKBOX=!0;var Ne=ee},98447:function(Q,C,h){"use strict";h.d(C,{C2:function(){return G}});var v=h(17313),I=h(37613),O=h(83116);const F=P=>{const{checkboxCls:M}=P,de=`${M}-wrapper`;return[{[`${M}-group`]:Object.assign(Object.assign({},(0,v.Wf)(P)),{display:"inline-flex",flexWrap:"wrap",columnGap:P.marginXS,[`> ${P.antCls}-row`]:{flex:1}}),[de]:Object.assign(Object.assign({},(0,v.Wf)(P)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${de}`]:{marginInlineStart:0},[`&${de}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[M]:Object.assign(Object.assign({},(0,v.Wf)(P)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:P.borderRadiusSM,alignSelf:"center",[`${M}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${M}-inner`]:Object.assign({},(0,v.oN)(P))},[`${M}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:P.checkboxSize,height:P.checkboxSize,direction:"ltr",backgroundColor:P.colorBgContainer,border:`${P.lineWidth}px ${P.lineType} ${P.colorBorder}`,borderRadius:P.borderRadiusSM,borderCollapse:"separate",transition:`all ${P.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:P.checkboxSize/14*5,height:P.checkboxSize/14*8,border:`${P.lineWidthBold}px solid ${P.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${P.motionDurationFast} ${P.motionEaseInBack}, opacity ${P.motionDurationFast}`}},"& + span":{paddingInlineStart:P.paddingXS,paddingInlineEnd:P.paddingXS}})},{[` +!(function(){var fx=Object.defineProperty,px=Object.defineProperties;var mx=Object.getOwnPropertyDescriptors;var ug=Object.getOwnPropertySymbols;var Ab=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable;var ny=Math.pow,Nb=(Q,C,h)=>C in Q?fx(Q,C,{enumerable:!0,configurable:!0,writable:!0,value:h}):Q[C]=h,Po=(Q,C)=>{for(var h in C||(C={}))Ab.call(C,h)&&Nb(Q,h,C[h]);if(ug)for(var h of ug(C))kb.call(C,h)&&Nb(Q,h,C[h]);return Q},cd=(Q,C)=>px(Q,mx(C));var Ib=(Q,C)=>{var h={};for(var v in Q)Ab.call(Q,v)&&C.indexOf(v)<0&&(h[v]=Q[v]);if(Q!=null&&ug)for(var v of ug(Q))C.indexOf(v)<0&&kb.call(Q,v)&&(h[v]=Q[v]);return h};var iy=(Q,C,h)=>new Promise((v,I)=>{var O=F=>{try{G(h.next(F))}catch(M){I(M)}},B=F=>{try{G(h.throw(F))}catch(M){I(M)}},G=F=>F.done?v(F.value):Promise.resolve(F.value).then(O,B);G((h=h.apply(Q,C)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[9381],{89489:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},59477:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},40001:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},26227:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},49198:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},41464:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},73331:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},15277:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},52671:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},8657:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},56082:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},33853:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},15075:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},43531:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},61485:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},38819:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},47472:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},32050:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},B=O,G=h(7657),F=function(te,Me){return I.createElement(G.Z,(0,v.Z)({},te,{ref:Me,icon:B}))},M=I.forwardRef(F),de=M},37036:function(){"use strict"},95625:function(){"use strict"},50371:function(Q,C){"use strict";function h(){const v=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let I=1;I{const G=O[B];G!==void 0&&(v[B]=G)})}return v}C.Z=h},77578:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});const v=I=>I?typeof I=="function"?I():I:null},13845:function(Q,C,h){"use strict";h.d(C,{F:function(){return v},Z:function(){return I}});function v(O){return O!=null&&O===O.window}function I(O,B){var G,F;if(typeof window=="undefined")return 0;const M=B?"scrollTop":"scrollLeft";let de=0;return v(O)?de=O[B?"pageYOffset":"pageXOffset"]:O instanceof Document?de=O.documentElement[M]:(O instanceof HTMLElement||O)&&(de=O[M]),O&&!v(O)&&typeof de!="number"&&(de=(F=((G=O.ownerDocument)!==null&&G!==void 0?G:O).documentElement)===null||F===void 0?void 0:F[M]),de}},56762:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(59301);function I(){const[,O]=v.useReducer(B=>B+1,0);return O}},68031:function(Q,C,h){"use strict";h.d(C,{Z:function(){return B}});var v=h(16089);function I(G,F,M,de){const ae=M-F;return G/=de/2,G<1?ae/2*G*G*G+F:ae/2*((G-=2)*G*G+2)+F}var O=h(13845);function B(G){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:M=()=>window,callback:de,duration:ae=450}=F,te=M(),Me=(0,O.Z)(te,!0),we=Date.now(),Xe=()=>{const Ce=Date.now()-we,Ae=I(Ce>ae?ae:Ce,Me,G,ae);(0,O.F)(te)?te.scrollTo(window.pageXOffset,Ae):te instanceof Document||te.constructor.name==="HTMLDocument"?te.documentElement.scrollTop=Ae:te.scrollTop=Ae,Ce{var Je;const{prefixCls:Ye,className:re,rootClassName:lt,children:We,indeterminate:Pt=!1,style:xt,onMouseEnter:kt,onMouseLeave:Ct,skipGroup:Cn=!1,disabled:Qe}=Ie,le=Xe(Ie,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ce,direction:Ht,checkbox:Vt}=B.useContext(G.E_),St=B.useContext(ae),{isFormItemInput:sn}=B.useContext(M.aM),Ft=B.useContext(F.Z),oi=(Je=(St==null?void 0:St.disabled)||Qe)!==null&&Je!==void 0?Je:Ft,On=B.useRef(le.value);B.useEffect(()=>{St==null||St.registerValue(le.value)},[]),B.useEffect(()=>{if(!Cn)return le.value!==On.current&&(St==null||St.cancelValue(On.current),St==null||St.registerValue(le.value),On.current=le.value),()=>St==null?void 0:St.cancelValue(le.value)},[le.value]);const ni=ce("checkbox",Ye),[Jn,Mn]=(0,te.ZP)(ni),In=Object.assign({},le);St&&!Cn&&(In.onChange=function(){le.onChange&&le.onChange.apply(le,arguments),St.toggleOption&&St.toggleOption({label:We,value:le.value})},In.name=St.name,In.checked=St.value.includes(le.value));const ie=I()(`${ni}-wrapper`,{[`${ni}-rtl`]:Ht==="rtl",[`${ni}-wrapper-checked`]:In.checked,[`${ni}-wrapper-disabled`]:oi,[`${ni}-wrapper-in-form-item`]:sn},Vt==null?void 0:Vt.className,re,lt,Mn),z=I()({[`${ni}-indeterminate`]:Pt},we.A,Mn),k=Pt?"mixed":void 0;return Jn(B.createElement(Me.Z,{component:"Checkbox",disabled:oi},B.createElement("label",{className:ie,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),xt),onMouseEnter:kt,onMouseLeave:Ct},B.createElement(O.Z,Object.assign({"aria-checked":k},In,{prefixCls:ni,className:z,disabled:oi,ref:Le})),We!==void 0&&B.createElement("span",null,We))))};var Ae=B.forwardRef(Oe),Pe=h(26407),fe=h(2738),pe=function(Ie,Le){var Je={};for(var Ye in Ie)Object.prototype.hasOwnProperty.call(Ie,Ye)&&Le.indexOf(Ye)<0&&(Je[Ye]=Ie[Ye]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var re=0,Ye=Object.getOwnPropertySymbols(Ie);re{const{defaultValue:Je,children:Ye,options:re=[],prefixCls:lt,className:We,rootClassName:Pt,style:xt,onChange:kt}=Ie,Ct=pe(Ie,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Cn,direction:Qe}=B.useContext(G.E_),[le,ce]=B.useState(Ct.value||Je||[]),[Ht,Vt]=B.useState([]);B.useEffect(()=>{"value"in Ct&&ce(Ct.value||[])},[Ct.value]);const St=B.useMemo(()=>re.map(j=>typeof j=="string"||typeof j=="number"?{label:j,value:j}:j),[re]),sn=j=>{Vt(X=>X.filter(T=>T!==j))},Ft=j=>{Vt(X=>[].concat((0,Pe.Z)(X),[j]))},oi=j=>{const X=le.indexOf(j.value),T=(0,Pe.Z)(le);X===-1?T.push(j.value):T.splice(X,1),"value"in Ct||ce(T),kt==null||kt(T.filter(_e=>Ht.includes(_e)).sort((_e,It)=>{const $e=St.findIndex(gt=>gt.value===_e),De=St.findIndex(gt=>gt.value===It);return $e-De}))},On=Cn("checkbox",lt),ni=`${On}-group`,[Jn,Mn]=(0,te.ZP)(On),In=(0,fe.Z)(Ct,["value","disabled"]),ie=re.length?St.map(j=>B.createElement(Ae,{prefixCls:On,key:j.value.toString(),disabled:"disabled"in j?j.disabled:Ct.disabled,value:j.value,checked:le.includes(j.value),onChange:j.onChange,className:`${ni}-item`,style:j.style,title:j.title},j.label)):Ye,z={toggleOption:oi,value:le,disabled:Ct.disabled,name:Ct.name,registerValue:Ft,cancelValue:sn},k=I()(ni,{[`${ni}-rtl`]:Qe==="rtl"},We,Pt,Mn);return Jn(B.createElement("div",Object.assign({className:k,style:xt},In,{ref:Le}),B.createElement(ae.Provider,{value:z},ie)))},me=B.forwardRef(xe);var ke=B.memo(me);const ee=Ae;ee.Group=ke,ee.__ANT_CHECKBOX=!0;var Ne=ee},98447:function(Q,C,h){"use strict";h.d(C,{C2:function(){return G}});var v=h(17313),I=h(37613),O=h(83116);const B=F=>{const{checkboxCls:M}=F,de=`${M}-wrapper`;return[{[`${M}-group`]:Object.assign(Object.assign({},(0,v.Wf)(F)),{display:"inline-flex",flexWrap:"wrap",columnGap:F.marginXS,[`> ${F.antCls}-row`]:{flex:1}}),[de]:Object.assign(Object.assign({},(0,v.Wf)(F)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${de}`]:{marginInlineStart:0},[`&${de}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[M]:Object.assign(Object.assign({},(0,v.Wf)(F)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:F.borderRadiusSM,alignSelf:"center",[`${M}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${M}-inner`]:Object.assign({},(0,v.oN)(F))},[`${M}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:F.checkboxSize,height:F.checkboxSize,direction:"ltr",backgroundColor:F.colorBgContainer,border:`${F.lineWidth}px ${F.lineType} ${F.colorBorder}`,borderRadius:F.borderRadiusSM,borderCollapse:"separate",transition:`all ${F.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:F.checkboxSize/14*5,height:F.checkboxSize/14*8,border:`${F.lineWidthBold}px solid ${F.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${F.motionDurationFast} ${F.motionEaseInBack}, opacity ${F.motionDurationFast}`}},"& + span":{paddingInlineStart:F.paddingXS,paddingInlineEnd:F.paddingXS}})},{[` ${de}:not(${de}-disabled), ${M}:not(${M}-disabled) - `]:{[`&:hover ${M}-inner`]:{borderColor:P.colorPrimary}},[`${de}:not(${de}-disabled)`]:{[`&:hover ${M}-checked:not(${M}-disabled) ${M}-inner`]:{backgroundColor:P.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${M}-checked:not(${M}-disabled):after`]:{borderColor:P.colorPrimaryHover}}},{[`${M}-checked`]:{[`${M}-inner`]:{backgroundColor:P.colorPrimary,borderColor:P.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${P.motionDurationMid} ${P.motionEaseOutBack} ${P.motionDurationFast}`}}},[` + `]:{[`&:hover ${M}-inner`]:{borderColor:F.colorPrimary}},[`${de}:not(${de}-disabled)`]:{[`&:hover ${M}-checked:not(${M}-disabled) ${M}-inner`]:{backgroundColor:F.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${M}-checked:not(${M}-disabled):after`]:{borderColor:F.colorPrimaryHover}}},{[`${M}-checked`]:{[`${M}-inner`]:{backgroundColor:F.colorPrimary,borderColor:F.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${F.motionDurationMid} ${F.motionEaseOutBack} ${F.motionDurationFast}`}}},[` ${de}-checked:not(${de}-disabled), ${M}-checked:not(${M}-disabled) - `]:{[`&:hover ${M}-inner`]:{backgroundColor:P.colorPrimaryHover,borderColor:"transparent"}}},{[M]:{"&-indeterminate":{[`${M}-inner`]:{backgroundColor:P.colorBgContainer,borderColor:P.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:P.fontSizeLG/2,height:P.fontSizeLG/2,backgroundColor:P.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${de}-disabled`]:{cursor:"not-allowed"},[`${M}-disabled`]:{[`&, ${M}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${M}-inner`]:{background:P.colorBgContainerDisabled,borderColor:P.colorBorder,"&:after":{borderColor:P.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:P.colorTextDisabled},[`&${M}-indeterminate ${M}-inner::after`]:{background:P.colorTextDisabled}}}]};function G(P,M){const de=(0,I.TS)(M,{checkboxCls:`.${P}`,checkboxSize:M.controlInteractiveSize});return[F(de)]}C.ZP=(0,O.Z)("Checkbox",(P,M)=>{let{prefixCls:de}=M;return[G(de,P)]})},93891:function(Q,C,h){"use strict";var v=h(59301),I=h(36355),O=h(64165);const F=G=>{const{componentName:P}=G,{getPrefixCls:M}=(0,v.useContext)(I.E_),de=M("empty");switch(P){case"Table":case"List":return v.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return v.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE,className:`${de}-small`});default:return v.createElement(O.Z,null)}};C.Z=F},43428:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Jn}});var v=h(92310),I=h.n(v),O=h(33708),F=h(33606),G=h(43403),P=h(34280),M=h(59301),de=M.createContext(null),ce=M.createContext({}),te=de,Me=h(400),we=h(92413),Qe=h(77900),Oe=h(10228),Te=h(26112),Ae=h(70425),Re=function(Mn){var re=Mn.prefixCls,z=Mn.className,k=Mn.style,j=Mn.children,X=Mn.containerRef,N=Mn.id,_e=Mn.onMouseEnter,Nt=Mn.onMouseOver,He=Mn.onMouseLeave,De=Mn.onClick,gt=Mn.onKeyDown,ut=Mn.onKeyUp,nt={onMouseEnter:_e,onMouseOver:Nt,onMouseLeave:He,onClick:De,onKeyDown:gt,onKeyUp:ut},Tt=M.useContext(ce),fn=Tt.panel,qt=(0,Ae.useComposeRef)(fn,X);return M.createElement(M.Fragment,null,M.createElement("div",(0,we.Z)({id:N,className:I()("".concat(re,"-content"),z),style:(0,O.Z)({},k),"aria-modal":"true",role:"dialog",ref:qt},nt),j))},fe=Re,me=h(48736);function xe(In){return typeof In=="string"&&String(Number(In))===In?((0,me.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(In)):In}function ge(In){warning(!("wrapperClassName"in In),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!In.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ke={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ee(In,Mn){var re,z,k,j,X=In.prefixCls,N=In.open,_e=In.placement,Nt=In.inline,He=In.push,De=In.forceRender,gt=In.autoFocus,ut=In.keyboard,nt=In.rootClassName,Tt=In.rootStyle,fn=In.zIndex,qt=In.className,jt=In.id,cn=In.style,nn=In.motion,et=In.width,zt=In.height,hn=In.children,tn=In.contentWrapperStyle,ze=In.mask,Un=In.maskClosable,On=In.maskMotion,Yn=In.maskClassName,wi=In.maskStyle,vi=In.afterOpenChange,dn=In.onClose,ln=In.onMouseEnter,gr=In.onMouseOver,er=In.onMouseLeave,ti=In.onClick,Nr=In.onKeyDown,pr=In.onKeyUp,U=M.useRef(),yr=M.useRef(),Er=M.useRef();M.useImperativeHandle(Mn,function(){return U.current});var wr=function(Ct){var Ve=Ct.keyCode,Ut=Ct.shiftKey;switch(Ve){case Oe.Z.TAB:{if(Ve===Oe.Z.TAB){if(!Ut&&document.activeElement===Er.current){var Ot;(Ot=yr.current)===null||Ot===void 0||Ot.focus({preventScroll:!0})}else if(Ut&&document.activeElement===yr.current){var Gn;(Gn=Er.current)===null||Gn===void 0||Gn.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{dn&&ut&&(Ct.stopPropagation(),dn(Ct));break}}};M.useEffect(function(){if(N&>){var on;(on=U.current)===null||on===void 0||on.focus({preventScroll:!0})}},[N]);var eo=M.useState(!1),yo=(0,F.Z)(eo,2),Ir=yo[0],no=yo[1],ur=M.useContext(te),zi;He===!1?zi={distance:0}:He===!0?zi={}:zi=He||{};var xi=(re=(z=(k=zi)===null||k===void 0?void 0:k.distance)!==null&&z!==void 0?z:ur==null?void 0:ur.pushDistance)!==null&&re!==void 0?re:180,dt=M.useMemo(function(){return{pushDistance:xi,push:function(){no(!0)},pull:function(){no(!1)}}},[xi]);M.useEffect(function(){if(N){var on;ur==null||(on=ur.push)===null||on===void 0||on.call(ur)}else{var Ct;ur==null||(Ct=ur.pull)===null||Ct===void 0||Ct.call(ur)}},[N]),M.useEffect(function(){return function(){var on;ur==null||(on=ur.pull)===null||on===void 0||on.call(ur)}},[]);var _n=ze&&M.createElement(Qe.default,(0,we.Z)({key:"mask"},On,{visible:N}),function(on,Ct){var Ve=on.className,Ut=on.style;return M.createElement("div",{className:I()("".concat(X,"-mask"),Ve,Yn),style:(0,O.Z)((0,O.Z)({},Ut),wi),onClick:Un&&N?dn:void 0,ref:Ct})}),Wn=typeof nn=="function"?nn(_e):nn,yt={};if(Ir&&xi)switch(_e){case"top":yt.transform="translateY(".concat(xi,"px)");break;case"bottom":yt.transform="translateY(".concat(-xi,"px)");break;case"left":yt.transform="translateX(".concat(xi,"px)");break;default:yt.transform="translateX(".concat(-xi,"px)");break}_e==="left"||_e==="right"?yt.width=xe(et):yt.height=xe(zt);var Ke={onMouseEnter:ln,onMouseOver:gr,onMouseLeave:er,onClick:ti,onKeyDown:Nr,onKeyUp:pr},gn=M.createElement(Qe.default,(0,we.Z)({key:"panel"},Wn,{visible:N,forceRender:De,onVisibleChanged:function(Ct){vi==null||vi(Ct)},removeOnLeave:!1,leavedClassName:"".concat(X,"-content-wrapper-hidden")}),function(on,Ct){var Ve=on.className,Ut=on.style;return M.createElement("div",(0,we.Z)({className:I()("".concat(X,"-content-wrapper"),Ve),style:(0,O.Z)((0,O.Z)((0,O.Z)({},yt),Ut),tn)},(0,Te.Z)(In,{data:!0})),M.createElement(fe,(0,we.Z)({id:jt,containerRef:Ct,prefixCls:X,className:qt,style:cn},Ke),hn))}),kn=(0,O.Z)({},Tt);return fn&&(kn.zIndex=fn),M.createElement(te.Provider,{value:dt},M.createElement("div",{className:I()(X,"".concat(X,"-").concat(_e),nt,(j={},(0,Me.Z)(j,"".concat(X,"-open"),N),(0,Me.Z)(j,"".concat(X,"-inline"),Nt),j)),style:kn,tabIndex:-1,ref:U,onKeyDown:wr},_n,M.createElement("div",{tabIndex:0,ref:yr,style:ke,"aria-hidden":"true","data-sentinel":"start"}),gn,M.createElement("div",{tabIndex:0,ref:Er,style:ke,"aria-hidden":"true","data-sentinel":"end"})))}var Ne=M.forwardRef(ee),Ie=Ne,Fe=function(Mn){var re=Mn.open,z=re===void 0?!1:re,k=Mn.prefixCls,j=k===void 0?"rc-drawer":k,X=Mn.placement,N=X===void 0?"right":X,_e=Mn.autoFocus,Nt=_e===void 0?!0:_e,He=Mn.keyboard,De=He===void 0?!0:He,gt=Mn.width,ut=gt===void 0?378:gt,nt=Mn.mask,Tt=nt===void 0?!0:nt,fn=Mn.maskClosable,qt=fn===void 0?!0:fn,jt=Mn.getContainer,cn=Mn.forceRender,nn=Mn.afterOpenChange,et=Mn.destroyOnClose,zt=Mn.onMouseEnter,hn=Mn.onMouseOver,tn=Mn.onMouseLeave,ze=Mn.onClick,Un=Mn.onKeyDown,On=Mn.onKeyUp,Yn=Mn.panelRef,wi=M.useState(!1),vi=(0,F.Z)(wi,2),dn=vi[0],ln=vi[1],gr=M.useState(!1),er=(0,F.Z)(gr,2),ti=er[0],Nr=er[1];(0,P.Z)(function(){Nr(!0)},[]);var pr=ti?z:!1,U=M.useRef(),yr=M.useRef();(0,P.Z)(function(){pr&&(yr.current=document.activeElement)},[pr]);var Er=function(no){var ur;if(ln(no),nn==null||nn(no),!no&&yr.current&&!((ur=U.current)!==null&&ur!==void 0&&ur.contains(yr.current))){var zi;(zi=yr.current)===null||zi===void 0||zi.focus({preventScroll:!0})}},wr=M.useMemo(function(){return{panel:Yn}},[Yn]);if(!cn&&!dn&&!pr&&et)return null;var eo={onMouseEnter:zt,onMouseOver:hn,onMouseLeave:tn,onClick:ze,onKeyDown:Un,onKeyUp:On},yo=(0,O.Z)((0,O.Z)({},Mn),{},{open:pr,prefixCls:j,placement:N,autoFocus:Nt,keyboard:De,width:ut,mask:Tt,maskClosable:qt,inline:jt===!1,afterOpenChange:Er,ref:U},eo);return M.createElement(ce.Provider,{value:wr},M.createElement(G.Z,{open:pr||cn||dn,autoDestroy:!1,getContainer:jt,autoLock:Tt&&(pr||dn)},M.createElement(Ie,yo)))},Xe=Fe,Ye=Xe,ie=h(62892),lt=h(36355),We=h(32441),Pt=h(47729),kt=In=>{const{prefixCls:Mn,title:re,footer:z,extra:k,closeIcon:j,closable:X,onClose:N,headerStyle:_e,drawerStyle:Nt,bodyStyle:He,footerStyle:De,children:gt}=In,ut=M.useCallback(jt=>M.createElement("button",{type:"button",onClick:N,"aria-label":"Close",className:`${Mn}-close`},jt),[N]),[nt,Tt]=(0,Pt.Z)(X,j,ut,void 0,!0),fn=M.useMemo(()=>!re&&!nt?null:M.createElement("div",{style:_e,className:I()(`${Mn}-header`,{[`${Mn}-header-close-only`]:nt&&!re&&!k})},M.createElement("div",{className:`${Mn}-header-title`},Tt,re&&M.createElement("div",{className:`${Mn}-title`},re)),k&&M.createElement("div",{className:`${Mn}-extra`},k)),[nt,Tt,k,_e,Mn,re]),qt=M.useMemo(()=>{if(!z)return null;const jt=`${Mn}-footer`;return M.createElement("div",{className:jt,style:De},z)},[z,De,Mn]);return M.createElement("div",{className:`${Mn}-wrapper-body`,style:Nt},fn,M.createElement("div",{className:`${Mn}-body`,style:He},gt),qt)},wt=h(33234),En=h(83116),Je=h(37613),ue=In=>{const{componentCls:Mn,motionDurationSlow:re}=In,z={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${re}`}}};return{[Mn]:{[`${Mn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${re}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Mn}-panel-motion`]:{"&-left":[z,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[z,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[z,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[z,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ht=In=>{const{componentCls:Mn,zIndexPopup:re,colorBgMask:z,colorBgElevated:k,motionDurationSlow:j,motionDurationMid:X,padding:N,paddingLG:_e,fontSizeLG:Nt,lineHeightLG:He,lineWidth:De,lineType:gt,colorSplit:ut,marginSM:nt,colorIcon:Tt,colorIconHover:fn,colorText:qt,fontWeightStrong:jt,footerPaddingBlock:cn,footerPaddingInline:nn}=In,et=`${Mn}-content-wrapper`;return{[Mn]:{position:"fixed",inset:0,zIndex:re,pointerEvents:"none","&-pure":{position:"relative",background:k,[`&${Mn}-left`]:{boxShadow:In.boxShadowDrawerLeft},[`&${Mn}-right`]:{boxShadow:In.boxShadowDrawerRight},[`&${Mn}-top`]:{boxShadow:In.boxShadowDrawerUp},[`&${Mn}-bottom`]:{boxShadow:In.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Mn}-mask`]:{position:"absolute",inset:0,zIndex:re,background:z,pointerEvents:"auto"},[et]:{position:"absolute",zIndex:re,maxWidth:"100vw",transition:`all ${j}`,"&-hidden":{display:"none"}},[`&-left > ${et}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:In.boxShadowDrawerLeft},[`&-right > ${et}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:In.boxShadowDrawerRight},[`&-top > ${et}`]:{top:0,insetInline:0,boxShadow:In.boxShadowDrawerUp},[`&-bottom > ${et}`]:{bottom:0,insetInline:0,boxShadow:In.boxShadowDrawerDown},[`${Mn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:k,pointerEvents:"auto"},[`${Mn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Mn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${N}px ${_e}px`,fontSize:Nt,lineHeight:He,borderBottom:`${De}px ${gt} ${ut}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Mn}-extra`]:{flex:"none"},[`${Mn}-close`]:{display:"inline-block",marginInlineEnd:nt,color:Tt,fontWeight:jt,fontSize:Nt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${X}`,textRendering:"auto","&:focus, &:hover":{color:fn,textDecoration:"none"}},[`${Mn}-title`]:{flex:1,margin:0,color:qt,fontWeight:In.fontWeightStrong,fontSize:Nt,lineHeight:He},[`${Mn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:_e,overflow:"auto"},[`${Mn}-footer`]:{flexShrink:0,padding:`${cn}px ${nn}px`,borderTop:`${De}px ${gt} ${ut}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,En.Z)("Drawer",In=>{const Mn=(0,Je.TS)(In,{});return[Ht(Mn),ue(Mn)]},In=>({zIndexPopup:In.zIndexPopupBase,footerPaddingBlock:In.paddingXS,footerPaddingInline:In.padding})),St=h(11575),an=function(In,Mn){var re={};for(var z in In)Object.prototype.hasOwnProperty.call(In,z)&&Mn.indexOf(z)<0&&(re[z]=In[z]);if(In!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,z=Object.getOwnPropertySymbols(In);k{var Mn;const{rootClassName:re,width:z,height:k,size:j="default",mask:X=!0,push:N=ai,open:_e,afterOpenChange:Nt,onClose:He,prefixCls:De,getContainer:gt,style:ut,className:nt,visible:Tt,afterVisibleChange:fn}=In,qt=an(In,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:jt,getPrefixCls:cn,direction:nn,drawer:et}=M.useContext(lt.E_),zt=cn("drawer",De),[hn,tn]=Vt(zt),ze=gt===void 0&&jt?()=>jt(document.body):gt,Un=I()({"no-mask":!X,[`${zt}-rtl`]:nn==="rtl"},re,tn),On=M.useMemo(()=>z!=null?z:j==="large"?736:378,[z,j]),Yn=M.useMemo(()=>k!=null?k:j==="large"?736:378,[k,j]),wi={motionName:(0,ie.m)(zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},vi=ln=>({motionName:(0,ie.m)(zt,`panel-motion-${ln}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),dn=(0,St.H)();return hn(M.createElement(wt.BR,null,M.createElement(We.Ux,{status:!0,override:!0},M.createElement(Ye,Object.assign({prefixCls:zt,onClose:He,maskMotion:wi,motion:vi},qt,{open:_e!=null?_e:Tt,mask:X,push:N,width:On,height:Yn,style:Object.assign(Object.assign({},et==null?void 0:et.style),ut),className:I()(et==null?void 0:et.className,nt),rootClassName:Un,getContainer:ze,afterOpenChange:Nt!=null?Nt:fn,panelRef:dn}),M.createElement(kt,Object.assign({prefixCls:zt},qt,{onClose:He}))))))},ni=In=>{const{prefixCls:Mn,style:re,className:z,placement:k="right"}=In,j=an(In,["prefixCls","style","className","placement"]),{getPrefixCls:X}=M.useContext(lt.E_),N=X("drawer",Mn),[_e,Nt]=Vt(N),He=I()(N,`${N}-pure`,`${N}-${k}`,Nt,z);return _e(M.createElement("div",{className:He,style:re},M.createElement(kt,Object.assign({prefixCls:N},j))))};Ln._InternalPanelDoNotUseOrYouWillBeFired=ni;var Jn=Ln},91857:function(Q,C,h){"use strict";var v=h(59301),I=h(38819),O=h(92310),F=h.n(O),G=h(31561),P=h(70425),M=h(18929),de=h(2738),ce=h(79676),te=h(53487),Me=h(92343),we=h(36355),Qe=h(20834),Oe=h(40875),Te=h(88088),Ae=h(47211);const Re=null,fe=ke=>{const{menu:ee,arrow:Ne,prefixCls:Ie,children:Fe,trigger:Xe,disabled:Ye,dropdownRender:ie,getPopupContainer:lt,overlayClassName:We,rootClassName:Pt,open:xt,onOpenChange:kt,visible:wt,onVisibleChange:En,mouseEnterDelay:Je=.15,mouseLeaveDelay:se=.1,autoAdjustOverflow:ue=!0,placement:Ht="",overlay:Vt,transitionName:St}=ke,{getPopupContainer:an,getPrefixCls:Ft,direction:ai}=v.useContext(we.E_),Ln=v.useMemo(()=>{const nt=Ft();return St!==void 0?St:Ht.includes("top")?`${nt}-slide-down`:`${nt}-slide-up`},[Ft,Ht,St]),ni=v.useMemo(()=>Ht?Ht.includes("Center")?Ht.slice(0,Ht.indexOf("Center")):Ht:ai==="rtl"?"bottomRight":"bottomLeft",[Ht,ai]),Jn=Ft("dropdown",Ie),[In,Mn]=(0,Ae.Z)(Jn),[,re]=(0,Te.Z)(),z=v.Children.only(Fe),k=(0,Me.Tm)(z,{className:F()(`${Jn}-trigger`,{[`${Jn}-rtl`]:ai==="rtl"},z.props.className),disabled:Ye}),j=Ye?[]:Xe;let X;j&&j.includes("contextMenu")&&(X=!0);const[N,_e]=(0,M.Z)(!1,{value:xt!=null?xt:wt}),Nt=(0,P.useEvent)(nt=>{kt==null||kt(nt),En==null||En(nt),_e(nt)}),He=F()(We,Pt,Mn,{[`${Jn}-rtl`]:ai==="rtl"}),De=(0,ce.Z)({arrowPointAtCenter:typeof Ne=="object"&&Ne.pointAtCenter,autoAdjustOverflow:ue,offset:re.marginXXS,arrowWidth:Ne?re.sizePopupArrow:0,borderRadius:re.borderRadius}),gt=v.useCallback(()=>{_e(!1)},[]),ut=()=>{let nt;return ee!=null&&ee.items?nt=v.createElement(Qe.default,Object.assign({},ee)):typeof Vt=="function"?nt=Vt():nt=Vt,ie&&(nt=ie(nt)),nt=v.Children.only(typeof nt=="string"?v.createElement("span",null,nt):nt),v.createElement(Oe.J,{prefixCls:`${Jn}-menu`,expandIcon:v.createElement("span",{className:`${Jn}-menu-submenu-arrow`},v.createElement(I.Z,{className:`${Jn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:gt,validator:Tt=>{let{mode:fn}=Tt}},nt)};return In(v.createElement(G.Z,Object.assign({alignPoint:X},(0,de.Z)(ke,["rootClassName"]),{mouseEnterDelay:Je,mouseLeaveDelay:se,visible:N,builtinPlacements:De,arrow:!!Ne,overlayClassName:He,prefixCls:Jn,getPopupContainer:lt||an,transitionName:Ln,trigger:j,overlay:ut,placement:ni,onVisibleChange:Nt}),k))};function me(ke){return Object.assign(Object.assign({},ke),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const xe=(0,te.Z)(fe,"dropdown",ke=>ke,me),ge=ke=>v.createElement(xe,Object.assign({},ke),v.createElement("span",null));fe._InternalPanelDoNotUseOrYouWillBeFired=ge,C.Z=fe},38854:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Te}});var v=h(91857),I=h(92310),O=h.n(I),F=h(59301),G=h(18785),P=h(3113),M=h(36355),de=h(81327),ce=h(33234),te=h(47211),Me=function(Ae,Re){var fe={};for(var me in Ae)Object.prototype.hasOwnProperty.call(Ae,me)&&Re.indexOf(me)<0&&(fe[me]=Ae[me]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,me=Object.getOwnPropertySymbols(Ae);xe{const{getPopupContainer:Re,getPrefixCls:fe,direction:me}=F.useContext(M.E_),{prefixCls:xe,type:ge="default",danger:ke,disabled:ee,loading:Ne,onClick:Ie,htmlType:Fe,children:Xe,className:Ye,menu:ie,arrow:lt,autoFocus:We,overlay:Pt,trigger:xt,align:kt,open:wt,onOpenChange:En,placement:Je,getPopupContainer:se,href:ue,icon:Ht=F.createElement(G.Z,null),title:Vt,buttonsRender:St=ut=>ut,mouseEnterDelay:an,mouseLeaveDelay:Ft,overlayClassName:ai,overlayStyle:Ln,destroyPopupOnHide:ni,dropdownRender:Jn}=Ae,In=Me(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Mn=fe("dropdown",xe),re=`${Mn}-button`,[z,k]=(0,te.Z)(Mn),j={menu:ie,arrow:lt,autoFocus:We,align:kt,disabled:ee,trigger:ee?[]:xt,onOpenChange:En,getPopupContainer:se||Re,mouseEnterDelay:an,mouseLeaveDelay:Ft,overlayClassName:ai,overlayStyle:Ln,destroyPopupOnHide:ni,dropdownRender:Jn},{compactSize:X,compactItemClassnames:N}=(0,ce.ri)(Mn,me),_e=O()(re,N,Ye,k);"overlay"in Ae&&(j.overlay=Pt),"open"in Ae&&(j.open=wt),"placement"in Ae?j.placement=Je:j.placement=me==="rtl"?"bottomLeft":"bottomRight";const Nt=F.createElement(P.ZP,{type:ge,danger:ke,disabled:ee,loading:Ne,onClick:Ie,htmlType:Fe,href:ue,title:Vt},Xe),He=F.createElement(P.ZP,{type:ge,danger:ke,icon:Ht}),[De,gt]=St([Nt,He]);return z(F.createElement(de.Z.Compact,Object.assign({className:_e,size:X,block:!0},In),De,F.createElement(v.Z,Object.assign({},j),gt)))};we.__ANT_BUTTON=!0;var Qe=we;const Oe=v.Z;Oe.Button=Qe;var Te=Oe},47211:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Me}});var v=h(17313),I=h(13826),O=h(92899),F=h(29878),G=h(19447),P=h(83116),M=h(37613),ce=we=>{const{componentCls:Qe,menuCls:Oe,colorError:Te,colorTextLightSolid:Ae}=we,Re=`${Oe}-item`;return{[`${Qe}, ${Qe}-menu-submenu`]:{[`${Oe} ${Re}`]:{[`&${Re}-danger:not(${Re}-disabled)`]:{color:Te,"&:hover":{color:Ae,backgroundColor:Te}}}}}};const te=we=>{const{componentCls:Qe,menuCls:Oe,zIndexPopup:Te,dropdownArrowDistance:Ae,sizePopupArrow:Re,antCls:fe,iconCls:me,motionDurationMid:xe,dropdownPaddingVertical:ge,fontSize:ke,dropdownEdgeChildPadding:ee,colorTextDisabled:Ne,fontSizeIcon:Ie,controlPaddingHorizontal:Fe,colorBgElevated:Xe}=we;return[{[Qe]:Object.assign(Object.assign({},(0,v.Wf)(we)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Te,display:"block","&::before":{position:"absolute",insetBlock:-Ae+Re/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${fe}-btn`]:{[`& > ${me}-down, & > ${fe}-btn-icon > ${me}-down`]:{fontSize:Ie}},[`${Qe}-wrap`]:{position:"relative",[`${fe}-btn > ${me}-down`]:{fontSize:Ie},[`${me}-down::before`]:{transition:`transform ${xe}`}},[`${Qe}-wrap-open`]:{[`${me}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${fe}-slide-down-enter${fe}-slide-down-enter-active${Qe}-placement-bottomLeft, - &${fe}-slide-down-appear${fe}-slide-down-appear-active${Qe}-placement-bottomLeft, - &${fe}-slide-down-enter${fe}-slide-down-enter-active${Qe}-placement-bottom, - &${fe}-slide-down-appear${fe}-slide-down-appear-active${Qe}-placement-bottom, - &${fe}-slide-down-enter${fe}-slide-down-enter-active${Qe}-placement-bottomRight, - &${fe}-slide-down-appear${fe}-slide-down-appear-active${Qe}-placement-bottomRight`]:{animationName:I.fJ},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${Qe}-placement-topLeft, - &${fe}-slide-up-appear${fe}-slide-up-appear-active${Qe}-placement-topLeft, - &${fe}-slide-up-enter${fe}-slide-up-enter-active${Qe}-placement-top, - &${fe}-slide-up-appear${fe}-slide-up-appear-active${Qe}-placement-top, - &${fe}-slide-up-enter${fe}-slide-up-enter-active${Qe}-placement-topRight, - &${fe}-slide-up-appear${fe}-slide-up-appear-active${Qe}-placement-topRight`]:{animationName:I.Qt},[`&${fe}-slide-down-leave${fe}-slide-down-leave-active${Qe}-placement-bottomLeft, - &${fe}-slide-down-leave${fe}-slide-down-leave-active${Qe}-placement-bottom, - &${fe}-slide-down-leave${fe}-slide-down-leave-active${Qe}-placement-bottomRight`]:{animationName:I.Uw},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${Qe}-placement-topLeft, - &${fe}-slide-up-leave${fe}-slide-up-leave-active${Qe}-placement-top, - &${fe}-slide-up-leave${fe}-slide-up-leave-active${Qe}-placement-topRight`]:{animationName:I.ly}})},(0,G.ZP)(we,{colorBg:Xe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Qe} ${Oe}`]:{position:"relative",margin:0},[`${Oe}-submenu-popup`]:{position:"absolute",zIndex:Te,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Qe}, ${Qe}-menu-submenu`]:{[Oe]:Object.assign(Object.assign({padding:ee,listStyleType:"none",backgroundColor:Xe,backgroundClip:"padding-box",borderRadius:we.borderRadiusLG,outline:"none",boxShadow:we.boxShadowSecondary},(0,v.Qy)(we)),{[`${Oe}-item-group-title`]:{padding:`${ge}px ${Fe}px`,color:we.colorTextDescription,transition:`all ${xe}`},[`${Oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Oe}-item-icon`]:{minWidth:ke,marginInlineEnd:we.marginXS,fontSize:we.fontSizeSM},[`${Oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${xe}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Oe}-item, ${Oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ge}px ${Fe}px`,color:we.colorText,fontWeight:"normal",fontSize:ke,lineHeight:we.lineHeight,cursor:"pointer",transition:`all ${xe}`,borderRadius:we.borderRadiusSM,"&:hover, &-active":{backgroundColor:we.controlItemBgHover}},(0,v.Qy)(we)),{"&-selected":{color:we.colorPrimary,backgroundColor:we.controlItemBgActive,"&:hover, &-active":{backgroundColor:we.controlItemBgActiveHover}},"&-disabled":{color:Ne,cursor:"not-allowed","&:hover":{color:Ne,backgroundColor:Xe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${we.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:we.colorSplit},[`${Qe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:we.paddingXS,[`${Qe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:we.colorTextDescription,fontSize:Ie,fontStyle:"normal"}}}),[`${Oe}-item-group-list`]:{margin:`0 ${we.marginXS}px`,padding:0,listStyle:"none"},[`${Oe}-submenu-title`]:{paddingInlineEnd:Fe+we.fontSizeSM},[`${Oe}-submenu-vertical`]:{position:"relative"},[`${Oe}-submenu${Oe}-submenu-disabled ${Qe}-menu-submenu-title`]:{[`&, ${Qe}-menu-submenu-arrow-icon`]:{color:Ne,backgroundColor:Xe,cursor:"not-allowed"}},[`${Oe}-submenu-selected ${Qe}-menu-submenu-title`]:{color:we.colorPrimary}})}},[(0,I.oN)(we,"slide-up"),(0,I.oN)(we,"slide-down"),(0,O.Fm)(we,"move-up"),(0,O.Fm)(we,"move-down"),(0,F._y)(we,"zoom-big")]]};var Me=(0,P.Z)("Dropdown",(we,Qe)=>{let{rootPrefixCls:Oe}=Qe;const{marginXXS:Te,sizePopupArrow:Ae,controlHeight:Re,fontSize:fe,lineHeight:me,paddingXXS:xe,componentCls:ge,borderRadiusLG:ke}=we,ee=(Re-fe*me)/2,{dropdownArrowOffset:Ne}=(0,G.fS)({contentRadius:ke}),Ie=(0,M.TS)(we,{menuCls:`${ge}-menu`,rootPrefixCls:Oe,dropdownArrowDistance:Ae/2+Te,dropdownArrowOffset:Ne,dropdownPaddingVertical:ee,dropdownEdgeChildPadding:xe});return[te(Ie),ce(Ie)]},we=>({zIndexPopup:we.zIndexPopupBase+50}))},64165:function(Q,C,h){"use strict";h.d(C,{Z:function(){return xe}});var v=h(92310),I=h.n(v),O=h(59301),F=h(36355),G=h(9763),P=h(64993),M=h(88088),ce=()=>{const[,ge]=(0,M.Z)(),ee=new P.C(ge.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return O.createElement("svg",{style:ee,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},O.createElement("g",{fill:"none",fillRule:"evenodd"},O.createElement("g",{transform:"translate(24 31.67)"},O.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),O.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),O.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),O.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),O.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),O.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),O.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},O.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),O.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Me=()=>{const[,ge]=(0,M.Z)(),{colorFill:ke,colorFillTertiary:ee,colorFillQuaternary:Ne,colorBgContainer:Ie}=ge,{borderColor:Fe,shadowColor:Xe,contentColor:Ye}=(0,O.useMemo)(()=>({borderColor:new P.C(ke).onBackground(Ie).toHexShortString(),shadowColor:new P.C(ee).onBackground(Ie).toHexShortString(),contentColor:new P.C(Ne).onBackground(Ie).toHexShortString()}),[ke,ee,Ne,Ie]);return O.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},O.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},O.createElement("ellipse",{fill:Xe,cx:"32",cy:"33",rx:"32",ry:"7"}),O.createElement("g",{fillRule:"nonzero",stroke:Fe},O.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),O.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ye}))))},we=h(83116),Qe=h(37613);const Oe=ge=>{const{componentCls:ke,margin:ee,marginXS:Ne,marginXL:Ie,fontSize:Fe,lineHeight:Xe}=ge;return{[ke]:{marginInline:Ne,fontSize:Fe,lineHeight:Xe,textAlign:"center",[`${ke}-image`]:{height:ge.emptyImgHeight,marginBottom:Ne,opacity:ge.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ke}-description`]:{color:ge.colorText},[`${ke}-footer`]:{marginTop:ee},"&-normal":{marginBlock:Ie,color:ge.colorTextDisabled,[`${ke}-description`]:{color:ge.colorTextDisabled},[`${ke}-image`]:{height:ge.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:ge.colorTextDisabled,[`${ke}-image`]:{height:ge.emptyImgHeightSM}}}}};var Te=(0,we.Z)("Empty",ge=>{const{componentCls:ke,controlHeightLG:ee}=ge,Ne=(0,Qe.TS)(ge,{emptyImgCls:`${ke}-img`,emptyImgHeight:ee*2.5,emptyImgHeightMD:ee,emptyImgHeightSM:ee*.875});return[Oe(Ne)]}),Ae=function(ge,ke){var ee={};for(var Ne in ge)Object.prototype.hasOwnProperty.call(ge,Ne)&&ke.indexOf(Ne)<0&&(ee[Ne]=ge[Ne]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ne=Object.getOwnPropertySymbols(ge);Ie{var{className:ke,rootClassName:ee,prefixCls:Ne,image:Ie=Re,description:Fe,children:Xe,imageStyle:Ye,style:ie}=ge,lt=Ae(ge,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:We,direction:Pt,empty:xt}=O.useContext(F.E_),kt=We("empty",Ne),[wt,En]=Te(kt),[Je]=(0,G.Z)("Empty"),se=typeof Fe!="undefined"?Fe:Je==null?void 0:Je.description,ue=typeof se=="string"?se:"empty";let Ht=null;return typeof Ie=="string"?Ht=O.createElement("img",{alt:ue,src:Ie}):Ht=Ie,wt(O.createElement("div",Object.assign({className:I()(En,kt,xt==null?void 0:xt.className,{[`${kt}-normal`]:Ie===fe,[`${kt}-rtl`]:Pt==="rtl"},ke,ee),style:Object.assign(Object.assign({},xt==null?void 0:xt.style),ie)},lt),O.createElement("div",{className:`${kt}-image`,style:Ye},Ht),se&&O.createElement("div",{className:`${kt}-description`},se),Xe&&O.createElement("div",{className:`${kt}-footer`},Xe)))};me.PRESENTED_IMAGE_DEFAULT=Re,me.PRESENTED_IMAGE_SIMPLE=fe;var xe=me},78241:function(Q,C,h){"use strict";h.d(C,{default:function(){return xi}});var v=h(26407),I=h(92310),O=h.n(I),F=h(77900),G=h(59301),P=h(62892),M=h(32441);function de(dt){const[_n,Wn]=G.useState(dt);return G.useEffect(()=>{const yt=setTimeout(()=>{Wn(dt)},dt.length?0:10);return()=>{clearTimeout(yt)}},[dt]),_n}var ce=h(17313),te=h(29878),Me=h(8378),we=h(37613),Qe=h(83116),Te=dt=>{const{componentCls:_n}=dt,Wn=`${_n}-show-help`,yt=`${_n}-show-help-item`;return{[Wn]:{transition:`opacity ${dt.motionDurationSlow} ${dt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[yt]:{overflow:"hidden",transition:`height ${dt.motionDurationSlow} ${dt.motionEaseInOut}, - opacity ${dt.motionDurationSlow} ${dt.motionEaseInOut}, - transform ${dt.motionDurationSlow} ${dt.motionEaseInOut} !important`,[`&${yt}-appear, &${yt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${yt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ae=dt=>({legend:{display:"block",width:"100%",marginBottom:dt.marginLG,padding:0,color:dt.colorTextDescription,fontSize:dt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${dt.lineWidth}px ${dt.lineType} ${dt.colorBorder}`},label:{fontSize:dt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${dt.controlOutlineWidth}px ${dt.controlOutline}`},output:{display:"block",paddingTop:15,color:dt.colorText,fontSize:dt.fontSize,lineHeight:dt.lineHeight}}),Re=(dt,_n)=>{const{formItemCls:Wn}=dt;return{[Wn]:{[`${Wn}-label > label`]:{height:_n},[`${Wn}-control-input`]:{minHeight:_n}}}},fe=dt=>{const{componentCls:_n}=dt;return{[dt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(dt)),Ae(dt)),{[`${_n}-text`]:{display:"inline-block",paddingInlineEnd:dt.paddingSM},"&-small":Object.assign({},Re(dt,dt.controlHeightSM)),"&-large":Object.assign({},Re(dt,dt.controlHeightLG))})}},me=dt=>{const{formItemCls:_n,iconCls:Wn,componentCls:yt,rootPrefixCls:Ke,labelRequiredMarkColor:gn,labelColor:kn,labelFontSize:on,labelHeight:Ct,labelColonMarginInlineStart:Ve,labelColonMarginInlineEnd:Ut,itemMarginBottom:Ot}=dt;return{[_n]:Object.assign(Object.assign({},(0,ce.Wf)(dt)),{marginBottom:Ot,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${Ke}-row`]:{display:"none"},"&-has-warning":{[`${_n}-split`]:{color:dt.colorError}},"&-has-error":{[`${_n}-split`]:{color:dt.colorWarning}},[`${_n}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${dt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ct,color:kn,fontSize:on,[`> ${Wn}`]:{fontSize:dt.fontSize,verticalAlign:"top"},[`&${_n}-required:not(${_n}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:dt.marginXXS,color:gn,fontSize:dt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${yt}-hide-required-mark &`]:{display:"none"}},[`${_n}-optional`]:{display:"inline-block",marginInlineStart:dt.marginXXS,color:dt.colorTextDescription,[`${yt}-hide-required-mark &`]:{display:"none"}},[`${_n}-tooltip`]:{color:dt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:dt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ve,marginInlineEnd:Ut},[`&${_n}-no-colon::after`]:{content:'"\\a0"'}}},[`${_n}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ke}-col-'"]):not([class*="' ${Ke}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:dt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[_n]:{"&-explain, &-extra":{clear:"both",color:dt.colorTextDescription,fontSize:dt.fontSize,lineHeight:dt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:dt.controlHeightSM,transition:`color ${dt.motionDurationMid} ${dt.motionEaseOut}`},"&-explain":{"&-error":{color:dt.colorError},"&-warning":{color:dt.colorWarning}}},[`&-with-help ${_n}-explain`]:{height:"auto",opacity:1},[`${_n}-feedback-icon`]:{fontSize:dt.fontSize,textAlign:"center",visibility:"visible",animationName:te.kr,animationDuration:dt.motionDurationMid,animationTimingFunction:dt.motionEaseOutBack,pointerEvents:"none","&-success":{color:dt.colorSuccess},"&-error":{color:dt.colorError},"&-warning":{color:dt.colorWarning},"&-validating":{color:dt.colorPrimary}}})}},xe=dt=>{const{componentCls:_n,formItemCls:Wn}=dt;return{[`${_n}-horizontal`]:{[`${Wn}-label`]:{flexGrow:0},[`${Wn}-control`]:{flex:"1 1 0",minWidth:0},[`${Wn}-label[class$='-24'], ${Wn}-label[class*='-24 ']`]:{[`& + ${Wn}-control`]:{minWidth:"unset"}}}}},ge=dt=>{const{componentCls:_n,formItemCls:Wn}=dt;return{[`${_n}-inline`]:{display:"flex",flexWrap:"wrap",[Wn]:{flex:"none",marginInlineEnd:dt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Wn}-label, - > ${Wn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Wn}-label`]:{flex:"none"},[`${_n}-text`]:{display:"inline-block"},[`${Wn}-has-feedback`]:{display:"inline-block"}}}}},ke=dt=>({padding:dt.verticalLabelPadding,margin:dt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ee=dt=>{const{componentCls:_n,formItemCls:Wn,rootPrefixCls:yt}=dt;return{[`${Wn} ${Wn}-label`]:ke(dt),[_n]:{[Wn]:{flexWrap:"wrap",[`${Wn}-label, ${Wn}-control`]:{[`&:not([class*=" ${yt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ne=dt=>{const{componentCls:_n,formItemCls:Wn,rootPrefixCls:yt}=dt;return{[`${_n}-vertical`]:{[Wn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${_n}-item-control`]:{width:"100%"}}},[`${_n}-vertical ${Wn}-label, - .${yt}-col-24${Wn}-label, - .${yt}-col-xl-24${Wn}-label`]:ke(dt),[`@media (max-width: ${dt.screenXSMax}px)`]:[ee(dt),{[_n]:{[`.${yt}-col-xs-24${Wn}-label`]:ke(dt)}}],[`@media (max-width: ${dt.screenSMMax}px)`]:{[_n]:{[`.${yt}-col-sm-24${Wn}-label`]:ke(dt)}},[`@media (max-width: ${dt.screenMDMax}px)`]:{[_n]:{[`.${yt}-col-md-24${Wn}-label`]:ke(dt)}},[`@media (max-width: ${dt.screenLGMax}px)`]:{[_n]:{[`.${yt}-col-lg-24${Wn}-label`]:ke(dt)}}}},Ie=(dt,_n)=>(0,we.TS)(dt,{formItemCls:`${dt.componentCls}-item`,rootPrefixCls:_n});var Fe=(0,Qe.Z)("Form",(dt,_n)=>{let{rootPrefixCls:Wn}=_n;const yt=Ie(dt,Wn);return[fe(yt),me(yt),Te(yt),xe(yt),ge(yt),Ne(yt),(0,Me.Z)(yt),te.kr]},dt=>({labelRequiredMarkColor:dt.colorError,labelColor:dt.colorTextHeading,labelFontSize:dt.fontSize,labelHeight:dt.controlHeight,labelColonMarginInlineStart:dt.marginXXS/2,labelColonMarginInlineEnd:dt.marginXS,itemMarginBottom:dt.marginLG,verticalLabelPadding:`0 0 ${dt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Xe=[];function Ye(dt,_n,Wn){let yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof dt=="string"?dt:`${_n}-${yt}`,error:dt,errorStatus:Wn}}var lt=dt=>{let{help:_n,helpStatus:Wn,errors:yt=Xe,warnings:Ke=Xe,className:gn,fieldId:kn,onVisibleChanged:on}=dt;const{prefixCls:Ct}=G.useContext(M.Rk),Ve=`${Ct}-item-explain`,[,Ut]=Fe(Ct),Ot=(0,G.useMemo)(()=>(0,P.Z)(Ct),[Ct]),Gn=de(yt),ot=de(Ke),un=G.useMemo(()=>_n!=null?[Ye(_n,"help",Wn)]:[].concat((0,v.Z)(Gn.map((je,L)=>Ye(je,"error","error",L))),(0,v.Z)(ot.map((je,L)=>Ye(je,"warning","warning",L)))),[_n,Wn,Gn,ot]),vt={};return kn&&(vt.id=`${kn}_help`),G.createElement(F.default,{motionDeadline:Ot.motionDeadline,motionName:`${Ct}-show-help`,visible:!!un.length,onVisibleChanged:on},je=>{const{className:L,style:Lt}=je;return G.createElement("div",Object.assign({},vt,{className:O()(Ve,L,gn,Ut),style:Lt,role:"alert"}),G.createElement(F.CSSMotionList,Object.assign({keys:un},(0,P.Z)(Ct),{motionName:`${Ct}-show-help-item`,component:!1}),Qt=>{const{key:mt,error:vn,errorStatus:Cn,className:ui,style:Nn}=Qt;return G.createElement("div",{key:mt,className:O()(ui,{[`${Ve}-${Cn}`]:Cn}),style:Nn},vn)}))})},We=h(95013),Pt=h(36355),xt=h(1684),kt=h(52946),wt=h(19716),En=h(16722);const Je=["parentNode"],se="form_item";function ue(dt){return dt===void 0||dt===!1?[]:Array.isArray(dt)?dt:[dt]}function Ht(dt,_n){if(!dt.length)return;const Wn=dt.join("_");return _n?`${_n}_${Wn}`:Je.includes(Wn)?`${se}_${Wn}`:Wn}function Vt(dt,_n,Wn,yt,Ke,gn){let kn=yt;return gn!==void 0?kn=gn:Wn.validating?kn="validating":dt.length?kn="error":_n.length?kn="warning":(Wn.touched||Ke&&Wn.validated)&&(kn="success"),kn}function St(dt){return ue(dt).join("_")}function an(dt){const[_n]=(0,We.useForm)(),Wn=G.useRef({}),yt=G.useMemo(()=>dt!=null?dt:Object.assign(Object.assign({},_n),{__INTERNAL__:{itemRef:Ke=>gn=>{const kn=St(Ke);gn?Wn.current[kn]=gn:delete Wn.current[kn]}},scrollToField:function(Ke){let gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const kn=ue(Ke),on=Ht(kn,yt.__INTERNAL__.name),Ct=on?document.getElementById(on):null;Ct&&(0,En.Z)(Ct,Object.assign({scrollMode:"if-needed",block:"nearest"},gn))},getFieldInstance:Ke=>{const gn=St(Ke);return Wn.current[gn]}}),[dt,_n]);return[yt]}var Ft=h(28726),ai=function(dt,_n){var Wn={};for(var yt in dt)Object.prototype.hasOwnProperty.call(dt,yt)&&_n.indexOf(yt)<0&&(Wn[yt]=dt[yt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,yt=Object.getOwnPropertySymbols(dt);Ke{const Wn=G.useContext(xt.Z),{getPrefixCls:yt,direction:Ke,form:gn}=G.useContext(Pt.E_),{prefixCls:kn,className:on,rootClassName:Ct,size:Ve,disabled:Ut=Wn,form:Ot,colon:Gn,labelAlign:ot,labelWrap:un,labelCol:vt,wrapperCol:je,hideRequiredMark:L,layout:Lt="horizontal",scrollToFirstError:Qt,requiredMark:mt,onFinishFailed:vn,name:Cn,style:ui,feedbackIcons:Nn}=dt,st=ai(dt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Li=(0,wt.Z)(Ve),Qi=G.useContext(Ft.Z),Kt=(0,G.useMemo)(()=>mt!==void 0?mt:gn&&gn.requiredMark!==void 0?gn.requiredMark:!L,[L,mt,gn]),Ui=Gn!=null?Gn:gn==null?void 0:gn.colon,J=yt("form",kn),[oe,Hn]=Fe(J),Be=O()(J,`${J}-${Lt}`,{[`${J}-hide-required-mark`]:Kt===!1,[`${J}-rtl`]:Ke==="rtl",[`${J}-${Li}`]:Li},Hn,gn==null?void 0:gn.className,on,Ct),[Et]=an(Ot),{__INTERNAL__:pi}=Et;pi.name=Cn;const Rn=(0,G.useMemo)(()=>({name:Cn,labelAlign:ot,labelCol:vt,labelWrap:un,wrapperCol:je,vertical:Lt==="vertical",colon:Ui,requiredMark:Kt,itemRef:pi.itemRef,form:Et,feedbackIcons:Nn}),[Cn,ot,vt,je,Lt,Ui,Kt,Et,Nn]);G.useImperativeHandle(_n,()=>Et);const _i=(Ei,Zt)=>{if(Ei){let Pi={block:"nearest"};typeof Ei=="object"&&(Pi=Ei),Et.scrollToField(Zt,Pi)}},Xt=Ei=>{if(vn==null||vn(Ei),Ei.errorFields.length){const Zt=Ei.errorFields[0].name;if(Qt!==void 0){_i(Qt,Zt);return}gn&&gn.scrollToFirstError!==void 0&&_i(gn.scrollToFirstError,Zt)}};return oe(G.createElement(xt.n,{disabled:Ut},G.createElement(kt.q,{size:Li},G.createElement(M.RV,Object.assign({},{validateMessages:Qi}),G.createElement(M.q3.Provider,{value:Rn},G.createElement(We.default,Object.assign({id:Cn},st,{name:Cn,onFinishFailed:Xt,form:Et,style:Object.assign(Object.assign({},gn==null?void 0:gn.style),ui),className:Be})))))))};var Jn=G.forwardRef(Ln),In=h(41799),Mn=h(8654),re=h(92343),z=h(11592);function k(dt){if(typeof dt=="function")return dt;const _n=(0,z.Z)(dt);return _n.length<=1?_n[0]:_n}const j=()=>{const{status:dt,errors:_n=[],warnings:Wn=[]}=(0,G.useContext)(M.aM);return{status:dt,errors:_n,warnings:Wn}};j.Context=M.aM;var X=j,N=h(16089);function _e(dt){const[_n,Wn]=G.useState(dt),yt=(0,G.useRef)(null),Ke=(0,G.useRef)([]),gn=(0,G.useRef)(!1);G.useEffect(()=>(gn.current=!1,()=>{gn.current=!0,N.Z.cancel(yt.current),yt.current=null}),[]);function kn(on){gn.current||(yt.current===null&&(Ke.current=[],yt.current=(0,N.Z)(()=>{yt.current=null,Wn(Ct=>{let Ve=Ct;return Ke.current.forEach(Ut=>{Ve=Ut(Ve)}),Ve})})),Ke.current.push(on))}return[_n,kn]}function Nt(){const{itemRef:dt}=G.useContext(M.q3),_n=G.useRef({});function Wn(yt,Ke){const gn=Ke&&typeof Ke=="object"&&Ke.ref,kn=yt.join("_");return(_n.current.name!==kn||_n.current.originRef!==gn)&&(_n.current.name=kn,_n.current.originRef=gn,_n.current.ref=(0,Mn.sQ)(dt(yt),gn)),_n.current.ref}return Wn}var He=h(29194),De=h(34280),gt=h(2738),ut=h(27382),nt=h(37028);const Tt=dt=>{const{formItemCls:_n}=dt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${_n}-control`]:{display:"flex"}}}};var fn=(0,Qe.b)(["Form","item-item"],(dt,_n)=>{let{rootPrefixCls:Wn}=_n;const yt=Ie(dt,Wn);return[Tt(yt)]}),jt=dt=>{const{prefixCls:_n,status:Wn,wrapperCol:yt,children:Ke,errors:gn,warnings:kn,_internalItemRender:on,extra:Ct,help:Ve,fieldId:Ut,marginBottom:Ot,onErrorVisibleChanged:Gn}=dt,ot=`${_n}-item`,un=G.useContext(M.q3),vt=yt||un.wrapperCol||{},je=O()(`${ot}-control`,vt.className),L=G.useMemo(()=>Object.assign({},un),[un]);delete L.labelCol,delete L.wrapperCol;const Lt=G.createElement("div",{className:`${ot}-control-input`},G.createElement("div",{className:`${ot}-control-input-content`},Ke)),Qt=G.useMemo(()=>({prefixCls:_n,status:Wn}),[_n,Wn]),mt=Ot!==null||gn.length||kn.length?G.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},G.createElement(M.Rk.Provider,{value:Qt},G.createElement(lt,{fieldId:Ut,errors:gn,warnings:kn,help:Ve,helpStatus:Wn,className:`${ot}-explain-connected`,onVisibleChanged:Gn})),!!Ot&&G.createElement("div",{style:{width:0,height:Ot}})):null,vn={};Ut&&(vn.id=`${Ut}_extra`);const Cn=Ct?G.createElement("div",Object.assign({},vn,{className:`${ot}-extra`}),Ct):null,ui=on&&on.mark==="pro_table_render"&&on.render?on.render(dt,{input:Lt,errorList:mt,extra:Cn}):G.createElement(G.Fragment,null,Lt,mt,Cn);return G.createElement(M.q3.Provider,{value:L},G.createElement(nt.Z,Object.assign({},vt,{className:je}),ui),G.createElement(fn,{prefixCls:_n}))},cn=h(61485),nn=h(31724),et=h(9763),zt=h(6848),hn=function(dt,_n){var Wn={};for(var yt in dt)Object.prototype.hasOwnProperty.call(dt,yt)&&_n.indexOf(yt)<0&&(Wn[yt]=dt[yt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,yt=Object.getOwnPropertySymbols(dt);Ke{let{prefixCls:_n,label:Wn,htmlFor:yt,labelCol:Ke,labelAlign:gn,colon:kn,required:on,requiredMark:Ct,tooltip:Ve}=dt;var Ut;const[Ot]=(0,et.Z)("Form"),{vertical:Gn,labelAlign:ot,labelCol:un,labelWrap:vt,colon:je}=G.useContext(M.q3);if(!Wn)return null;const L=Ke||un||{},Lt=gn||ot,Qt=`${_n}-item-label`,mt=O()(Qt,Lt==="left"&&`${Qt}-left`,L.className,{[`${Qt}-wrap`]:!!vt});let vn=Wn;const Cn=kn===!0||je!==!1&&kn!==!1;Cn&&!Gn&&typeof Wn=="string"&&Wn.trim()!==""&&(vn=Wn.replace(/[:|:]\s*$/,""));const Nn=tn(Ve);if(Nn){const{icon:Kt=G.createElement(cn.Z,null)}=Nn,Ui=hn(Nn,["icon"]),J=G.createElement(zt.Z,Object.assign({},Ui),G.cloneElement(Kt,{className:`${_n}-item-tooltip`,title:""}));vn=G.createElement(G.Fragment,null,vn,J)}const st=Ct==="optional",Li=typeof Ct=="function";Li?vn=Ct(vn,{required:!!on}):st&&!on&&(vn=G.createElement(G.Fragment,null,vn,G.createElement("span",{className:`${_n}-item-optional`,title:""},(Ot==null?void 0:Ot.optional)||((Ut=nn.Z.Form)===null||Ut===void 0?void 0:Ut.optional))));const Qi=O()({[`${_n}-item-required`]:on,[`${_n}-item-required-mark-optional`]:st||Li,[`${_n}-item-no-colon`]:!Cn});return G.createElement(nt.Z,Object.assign({},L,{className:mt}),G.createElement("label",{htmlFor:yt,className:Qi,title:typeof Wn=="string"?Wn:""},vn))},On=h(29679),Yn=h(19248),wi=h(96512),vi=h(58617);const dn={success:On.Z,warning:wi.Z,error:Yn.Z,validating:vi.Z};function ln(dt){let{children:_n,errors:Wn,warnings:yt,hasFeedback:Ke,validateStatus:gn,prefixCls:kn,meta:on,noStyle:Ct}=dt;const Ve=`${kn}-item`,{feedbackIcons:Ut}=G.useContext(M.q3),Ot=Vt(Wn,yt,on,null,!!Ke,gn),{isFormItemInput:Gn,status:ot}=G.useContext(M.aM),un=G.useMemo(()=>{var vt;let je;if(Ke){const Qt=Ke!==!0&&Ke.icons||Ut,mt=Ot&&((vt=Qt==null?void 0:Qt({status:Ot,errors:Wn,warnings:yt}))===null||vt===void 0?void 0:vt[Ot]),vn=Ot&&dn[Ot];je=mt!==!1&&vn?G.createElement("span",{className:O()(`${Ve}-feedback-icon`,`${Ve}-feedback-icon-${Ot}`)},mt||G.createElement(vn,null)):null}let L=!0,Lt=Ot||"";return Ct&&(L=Gn,Lt=(Ot!=null?Ot:ot)||""),{status:Lt,errors:Wn,warnings:yt,hasFeedback:!!Ke,feedbackIcon:je,isFormItemInput:L}},[Ot,Ke,Ct,Gn,ot]);return G.createElement(M.aM.Provider,{value:un},_n)}var gr=function(dt,_n){var Wn={};for(var yt in dt)Object.prototype.hasOwnProperty.call(dt,yt)&&_n.indexOf(yt)<0&&(Wn[yt]=dt[yt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,yt=Object.getOwnPropertySymbols(dt);Ke{if(Nn&&mt.current){const Hn=getComputedStyle(mt.current);Qi(parseInt(Hn.marginBottom,10))}},[Nn,st]);const Kt=Hn=>{Hn||Qi(null)},J=function(){let Hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Be=Hn?vn:Ve.errors,Et=Hn?Cn:Ve.warnings;return Vt(Be,Et,Ve,"",!!Ut,Ct)}(),oe=O()(Lt,Wn,yt,{[`${Lt}-with-help`]:ui||vn.length||Cn.length,[`${Lt}-has-feedback`]:J&&Ut,[`${Lt}-has-success`]:J==="success",[`${Lt}-has-warning`]:J==="warning",[`${Lt}-has-error`]:J==="error",[`${Lt}-is-validating`]:J==="validating",[`${Lt}-hidden`]:Ot});return G.createElement("div",{className:oe,style:Ke,ref:mt},G.createElement(ut.Z,Object.assign({className:`${Lt}-row`},(0,gt.Z)(L,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),G.createElement(Un,Object.assign({htmlFor:ot},dt,{requiredMark:Qt,required:un!=null?un:vt,prefixCls:_n})),G.createElement(jt,Object.assign({},dt,Ve,{errors:vn,warnings:Cn,prefixCls:_n,status:J,help:gn,marginBottom:Li,onErrorVisibleChanged:Kt}),G.createElement(M.qI.Provider,{value:je},G.createElement(ln,{prefixCls:_n,meta:Ve,errors:Ve.errors,warnings:Ve.warnings,hasFeedback:Ut,validateStatus:J},Gn)))),!!Li&&G.createElement("div",{className:`${Lt}-margin-offset`,style:{marginBottom:-Li}}))}const ti="__SPLIT__",Nr=null,pr=G.memo(dt=>{let{children:_n}=dt;return _n},(dt,_n)=>dt.value===_n.value&&dt.update===_n.update&&dt.childProps.length===_n.childProps.length&&dt.childProps.every((Wn,yt)=>Wn===_n.childProps[yt]));function U(dt){return dt!=null}function yr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Er(dt){const{name:_n,noStyle:Wn,className:yt,dependencies:Ke,prefixCls:gn,shouldUpdate:kn,rules:on,children:Ct,required:Ve,label:Ut,messageVariables:Ot,trigger:Gn="onChange",validateTrigger:ot,hidden:un,help:vt}=dt,{getPrefixCls:je}=G.useContext(Pt.E_),{name:L}=G.useContext(M.q3),Lt=k(Ct),Qt=typeof Lt=="function",mt=G.useContext(M.qI),{validateTrigger:vn}=G.useContext(We.FieldContext),Cn=ot!==void 0?ot:vn,ui=U(_n),Nn=je("form",gn),[st,Li]=Fe(Nn),Qi=G.useContext(We.ListContext),Kt=G.useRef(),[Ui,J]=_e({}),[oe,Hn]=(0,In.Z)(()=>yr()),Be=Zt=>{const Pi=Qi==null?void 0:Qi.getKey(Zt.name);if(Hn(Zt.destroy?yr():Zt,!0),Wn&&vt!==!1&&mt){let Yr=Zt.name;if(Zt.destroy)Yr=Kt.current||Yr;else if(Pi!==void 0){const[It,Jr]=Pi;Yr=[It].concat((0,v.Z)(Jr)),Kt.current=Yr}mt(Zt,Yr)}},Et=(Zt,Pi)=>{J(Yr=>{const It=Object.assign({},Yr),Jt=[].concat((0,v.Z)(Zt.name.slice(0,-1)),(0,v.Z)(Pi)).join(ti);return Zt.destroy?delete It[Jt]:It[Jt]=Zt,It})},[pi,Rn]=G.useMemo(()=>{const Zt=(0,v.Z)(oe.errors),Pi=(0,v.Z)(oe.warnings);return Object.values(Ui).forEach(Yr=>{Zt.push.apply(Zt,(0,v.Z)(Yr.errors||[])),Pi.push.apply(Pi,(0,v.Z)(Yr.warnings||[]))}),[Zt,Pi]},[Ui,oe.errors,oe.warnings]),_i=Nt();function Xt(Zt,Pi,Yr){return Wn&&!un?G.createElement(ln,{prefixCls:Nn,hasFeedback:dt.hasFeedback,validateStatus:dt.validateStatus,meta:oe,errors:pi,warnings:Rn,noStyle:!0},Zt):G.createElement(er,Object.assign({key:"row"},dt,{className:O()(yt,Li),prefixCls:Nn,fieldId:Pi,isRequired:Yr,errors:pi,warnings:Rn,meta:oe,onSubItemMetaChange:Et}),Zt)}if(!ui&&!Qt&&!Ke)return st(Xt(Lt));let Ei={};return typeof Ut=="string"?Ei.label=Ut:_n&&(Ei.label=String(_n)),Ot&&(Ei=Object.assign(Object.assign({},Ei),Ot)),st(G.createElement(We.Field,Object.assign({},dt,{messageVariables:Ei,trigger:Gn,validateTrigger:Cn,onMetaChange:Be}),(Zt,Pi,Yr)=>{const It=ue(_n).length&&Pi?Pi.name:[],Jr=Ht(It,L),Jt=Ve!==void 0?Ve:!!(on&&on.some(mr=>{if(mr&&typeof mr=="object"&&mr.required&&!mr.warningOnly)return!0;if(typeof mr=="function"){const ar=mr(Yr);return ar&&ar.required&&!ar.warningOnly}return!1})),Ri=Object.assign({},Zt);let Ci=null;if(Array.isArray(Lt)&&ui)Ci=Lt;else if(!(Qt&&(!(kn||Ke)||ui))){if(!(Ke&&!Qt&&!ui))if((0,re.l$)(Lt)){const mr=Object.assign(Object.assign({},Lt.props),Ri);if(mr.id||(mr.id=Jr),vt||pi.length>0||Rn.length>0||dt.extra){const he=[];(vt||pi.length>0)&&he.push(`${Jr}_help`),dt.extra&&he.push(`${Jr}_extra`),mr["aria-describedby"]=he.join(" ")}pi.length>0&&(mr["aria-invalid"]="true"),Jt&&(mr["aria-required"]="true"),(0,Mn.Yr)(Lt)&&(mr.ref=_i(It,Lt)),new Set([].concat((0,v.Z)(ue(Gn)),(0,v.Z)(ue(Cn)))).forEach(he=>{mr[he]=function(){for(var vr,Cr,dr,Br,Ji,Fi=arguments.length,Mi=new Array(Fi),cr=0;cr{var{prefixCls:_n,children:Wn}=dt,yt=yo(dt,["prefixCls","children"]);const{getPrefixCls:Ke}=G.useContext(Pt.E_),gn=Ke("form",_n),kn=G.useMemo(()=>({prefixCls:gn,status:"error"}),[gn]);return G.createElement(We.List,Object.assign({},yt),(on,Ct,Ve)=>G.createElement(M.Rk.Provider,{value:kn},Wn(on.map(Ut=>Object.assign(Object.assign({},Ut),{fieldKey:Ut.key})),Ct,{errors:Ve.errors,warnings:Ve.warnings})))};function ur(){const{form:dt}=(0,G.useContext)(M.q3);return dt}const zi=Jn;zi.Item=eo,zi.List=no,zi.ErrorList=lt,zi.useForm=an,zi.useFormInstance=ur,zi.useWatch=We.useWatch,zi.Provider=M.RV,zi.create=()=>{};var xi=zi},8628:function(Q,C,h){"use strict";var v=h(59301),I=h(34280),O=h(56762),F=h(69507);function G(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const M=(0,v.useRef)({}),de=(0,O.Z)(),ce=(0,F.ZP)();return(0,I.Z)(()=>{const te=ce.subscribe(Me=>{M.current=Me,P&&de()});return()=>ce.unsubscribe(te)},[]),M.current}C.Z=G},11611:function(Q,C,h){"use strict";h.d(C,{Z:function(){return kn}});var v=h(59301),I=h(15277),O=h(92310),F=h.n(O),G=h(92413),P=h(33708),M=h(400),de=h(33606),ce=h(39559),te=h(37061),Me=h(55468),we=h(18929),Qe=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],Oe=v.createContext(null),Te=0;function Ae(on,Ct){var Ve=v.useState(function(){return Te+=1,String(Te)}),Ut=(0,de.Z)(Ve,1),Ot=Ut[0],Gn=v.useContext(Oe),ot={data:Ct,canPreview:on};return v.useEffect(function(){if(Gn)return Gn.register(Ot,ot)},[]),v.useEffect(function(){Gn&&Gn.register(Ot,ot)},[on,Ct]),Ot}function Re(on){return new Promise(function(Ct){var Ve=document.createElement("img");Ve.onerror=function(){return Ct(!1)},Ve.onload=function(){return Ct(!0)},Ve.src=on})}function fe(on){var Ct=on.src,Ve=on.isCustomPlaceholder,Ut=on.fallback,Ot=(0,v.useState)(Ve?"loading":"normal"),Gn=(0,de.Z)(Ot,2),ot=Gn[0],un=Gn[1],vt=(0,v.useRef)(!1),je=ot==="error";(0,v.useEffect)(function(){Re(Ct).then(function(mt){mt||un("error")})},[Ct]),(0,v.useEffect)(function(){Ve&&!vt.current?un("loading"):je&&un("normal")},[Ct]);var L=function(){un("normal")},Lt=function(vn){vt.current=!1,ot==="loading"&&vn!=null&&vn.complete&&(vn.naturalWidth||vn.naturalHeight)&&(vt.current=!0,L())},Qt=je&&Ut?{src:Ut}:{onLoad:L,src:Ct};return[Lt,Qt,ot]}var me=h(86923),xe=h(8224),ge=h(10228),ke=h(48736);function ee(on,Ct,Ve,Ut){var Ot=Ct+Ve,Gn=(Ve-Ut)/2;if(Ve>Ut){if(Ct>0)return(0,M.Z)({},on,Gn);if(Ct<0&&OtUt)return(0,M.Z)({},on,Ct<0?Gn:-Gn);return{}}function Ne(on,Ct,Ve,Ut){var Ot=(0,Me.g1)(),Gn=Ot.width,ot=Ot.height,un=null;return on<=Gn&&Ct<=ot?un={x:0,y:0}:(on>Gn||Ct>ot)&&(un=(0,P.Z)((0,P.Z)({},ee("x",Ve,on,Gn)),ee("y",Ut,Ct,ot))),un}var Ie=h(13697),Fe=h(16089),Xe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ye(on,Ct,Ve,Ut){var Ot=(0,v.useRef)(null),Gn=(0,v.useRef)([]),ot=(0,v.useState)(Xe),un=(0,de.Z)(ot,2),vt=un[0],je=un[1],L=function(vn){je(Xe),Ut&&!(0,Ie.Z)(Xe,vt)&&Ut({transform:Xe,action:vn})},Lt=function(vn,Cn){Ot.current===null&&(Gn.current=[],Ot.current=(0,Fe.Z)(function(){je(function(ui){var Nn=ui;return Gn.current.forEach(function(st){Nn=(0,P.Z)((0,P.Z)({},Nn),st)}),Ot.current=null,Ut==null||Ut({transform:Nn,action:Cn}),Nn})})),Gn.current.push((0,P.Z)((0,P.Z)({},vt),vn))},Qt=function(vn,Cn,ui,Nn){var st=on.current,Li=st.width,Qi=st.height,Kt=st.offsetWidth,Ui=st.offsetHeight,J=st.offsetLeft,oe=st.offsetTop,Hn=vn,Be=vt.scale*vn;Be>Ve?(Hn=Ve/vt.scale,Be=Ve):Be1,he=ar&&st>=1,vr=Ye(It,J,Hn,Zt),Cr=vr.transform,dr=vr.resetTransform,Br=vr.updateTransform,Ji=vr.dispatchZoomChange,Fi=(0,v.useState)(!0),Mi=(0,de.Z)(Fi,2),cr=Mi[0],Ki=Mi[1],Rr=Cr.rotate,Gr=Cr.scale,to=Cr.x,Fo=Cr.y,fi=F()((0,M.Z)({},"".concat(Ve,"-moving"),Ci));(0,v.useEffect)(function(){cr||Ki(!0)},[cr]);var ma=function(){dr("close")},jo=function(){Ji(xt+Kt,"zoomIn")},da=function(){Ji(xt/(xt+Kt),"zoomOut")},Ta=function(){Br({rotate:Rr+90},"rotateRight")},Ya=function(){Br({rotate:Rr-90},"rotateLeft")},ns=function(){Br({flipX:!Cr.flipX},"flipX")},Na=function(){Br({flipY:!Cr.flipY},"flipY")},cs=function(Mt){Mt==null||Mt.preventDefault(),Mt==null||Mt.stopPropagation(),ui>0&&(Ki(!1),dr("prev"),Pi==null||Pi(ui-1,ui))},Za=function(Mt){Mt==null||Mt.preventDefault(),Mt==null||Mt.stopPropagation(),ui0&&(Ea=xt/Ea),Ji(Ea,"wheel",Mt.clientX,Mt.clientY)}},ol=function(Mt){!je||!Kn||(Mt.keyCode===ge.Z.LEFT?cs():Mt.keyCode===ge.Z.RIGHT&&Za())},fo=function(Mt){je&&(Gr!==1?Br({x:0,y:0,scale:1},"doubleClick"):Ji(xt+Kt,"doubleClick",Mt.clientX,Mt.clientY))};(0,v.useEffect)(function(){var vo,Mt,Pr,po;if(un){Pr=(0,xe.Z)(window,"mouseup",Go,!1),po=(0,xe.Z)(window,"mousemove",Ba,!1);try{window.top!==window.self&&(vo=(0,xe.Z)(window.top,"mouseup",Go,!1),Mt=(0,xe.Z)(window.top,"mousemove",Ba,!1))}catch(Ea){(0,ke.Kp)(!1,"[rc-image] ".concat(Ea))}}return function(){var Ea,xr,Sn,hr;(Ea=Pr)===null||Ea===void 0||Ea.remove(),(xr=po)===null||xr===void 0||xr.remove(),(Sn=vo)===null||Sn===void 0||Sn.remove(),(hr=Mt)===null||hr===void 0||hr.remove()}},[je,Ci,to,Fo,Rr,un]),(0,v.useEffect)(function(){var vo=(0,xe.Z)(window,"keydown",ol,!1);return function(){vo.remove()}},[je,Kn,ui]);var Ao=v.createElement(Je,(0,G.Z)({},Xt,{width:Ct.width,height:Ct.height,imgRef:It,className:"".concat(Ve,"-img"),alt:Ot,style:{transform:"translate3d(".concat(Cr.x,"px, ").concat(Cr.y,"px, 0) scale3d(").concat(Cr.flipX?"-":"").concat(Gr,", ").concat(Cr.flipY?"-":"").concat(Gr,", 1) rotate(").concat(Rr,"deg)"),transitionDuration:!cr&&"0s"},fallback:Gn,src:Ut,onWheel:eu,onMouseDown:Wt,onDoubleClick:fo}));return v.createElement(v.Fragment,null,v.createElement(me.Z,(0,G.Z)({transitionName:Et,maskTransitionName:Rn,closable:!1,keyboard:!0,prefixCls:Ve,onClose:vt,visible:je,wrapClassName:fi,rootClassName:Qt,getContainer:vn},Yr,{afterClose:ma}),v.createElement("div",{className:"".concat(Ve,"-img-wrapper")},_i?_i(Ao,(0,P.Z)({transform:Cr},ar?{current:ui}:{})):Ao)),v.createElement(Pt,{visible:je,transform:Cr,maskTransitionName:Rn,closeIcon:mt,getContainer:vn,prefixCls:Ve,rootClassName:Qt,icons:Lt,countRender:Li,showSwitch:Kn,showProgress:he,current:ui,count:st,scale:Gr,minScale:J,maxScale:Hn,toolbarRender:Ei,onSwitchLeft:cs,onSwitchRight:Za,onZoomIn:jo,onZoomOut:da,onRotateRight:Ta,onRotateLeft:Ya,onFlipX:ns,onFlipY:Na,onClose:vt}))},ue=se,Ht=h(26407);function Vt(on){var Ct=v.useState({}),Ve=(0,de.Z)(Ct,2),Ut=Ve[0],Ot=Ve[1],Gn=v.useCallback(function(un,vt){return Ot(function(je){return(0,P.Z)((0,P.Z)({},je),{},(0,M.Z)({},un,vt))}),function(){Ot(function(je){var L=(0,P.Z)({},je);return delete L[un],L})}},[]),ot=v.useMemo(function(){return on?on.map(function(un){if(typeof un=="string")return{data:{src:un}};var vt={};return Object.keys(un).forEach(function(je){["src"].concat((0,Ht.Z)(Qe)).includes(je)&&(vt[je]=un[je])}),{data:vt}}):Object.keys(Ut).reduce(function(un,vt){var je=Ut[vt],L=je.canPreview,Lt=je.data;return L&&un.push({data:Lt,id:vt}),un},[])},[on,Ut]);return[ot,Gn]}var St=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],an=["src"],Ft=function(Ct){var Ve,Ut=Ct.previewPrefixCls,Ot=Ut===void 0?"rc-image-preview":Ut,Gn=Ct.children,ot=Ct.icons,un=ot===void 0?{}:ot,vt=Ct.items,je=Ct.preview,L=Ct.fallback,Lt=(0,ce.Z)(je)==="object"?je:{},Qt=Lt.visible,mt=Lt.onVisibleChange,vn=Lt.getContainer,Cn=Lt.current,ui=Lt.movable,Nn=Lt.minScale,st=Lt.maxScale,Li=Lt.countRender,Qi=Lt.closeIcon,Kt=Lt.onChange,Ui=Lt.onTransform,J=Lt.toolbarRender,oe=Lt.imageRender,Hn=(0,te.Z)(Lt,St),Be=Vt(vt),Et=(0,de.Z)(Be,2),pi=Et[0],Rn=Et[1],_i=(0,we.Z)(0,{value:Cn}),Xt=(0,de.Z)(_i,2),Ei=Xt[0],Zt=Xt[1],Pi=(0,v.useState)(!1),Yr=(0,de.Z)(Pi,2),It=Yr[0],Jr=Yr[1],Jt=((Ve=pi[Ei])===null||Ve===void 0?void 0:Ve.data)||{},Ri=Jt.src,Ci=(0,te.Z)(Jt,an),mr=(0,we.Z)(!!Qt,{value:Qt,onChange:function(Rr,Gr){mt==null||mt(Rr,Gr,Ei)}}),ar=(0,de.Z)(mr,2),Kn=ar[0],he=ar[1],vr=(0,v.useState)(null),Cr=(0,de.Z)(vr,2),dr=Cr[0],Br=Cr[1],Ji=v.useCallback(function(Ki,Rr,Gr){var to=pi.findIndex(function(Fo){return Fo.id===Ki});he(!0),Br({x:Rr,y:Gr}),Zt(to<0?0:to),Jr(!0)},[pi]);v.useEffect(function(){Kn?It||Zt(0):Jr(!1)},[Kn]);var Fi=function(Rr,Gr){Zt(Rr),Kt==null||Kt(Rr,Gr)},Mi=function(){he(!1),Br(null)},cr=v.useMemo(function(){return{register:Rn,onPreview:Ji}},[Rn,Ji]);return v.createElement(Oe.Provider,{value:cr},Gn,v.createElement(ue,(0,G.Z)({"aria-hidden":!Kn,movable:ui,visible:Kn,prefixCls:Ot,closeIcon:Qi,onClose:Mi,mousePosition:dr,imgCommonProps:Ci,src:Ri,fallback:L,icons:un,minScale:Nn,maxScale:st,getContainer:vn,current:Ei,count:pi.length,countRender:Li,onTransform:Ui,toolbarRender:J,imageRender:oe,onChange:Fi},Hn)))},ai=Ft,Ln=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ni=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Jn=function(Ct){var Ve=Ct.src,Ut=Ct.alt,Ot=Ct.onPreviewClose,Gn=Ct.prefixCls,ot=Gn===void 0?"rc-image":Gn,un=Ct.previewPrefixCls,vt=un===void 0?"".concat(ot,"-preview"):un,je=Ct.placeholder,L=Ct.fallback,Lt=Ct.width,Qt=Ct.height,mt=Ct.style,vn=Ct.preview,Cn=vn===void 0?!0:vn,ui=Ct.className,Nn=Ct.onClick,st=Ct.onError,Li=Ct.wrapperClassName,Qi=Ct.wrapperStyle,Kt=Ct.rootClassName,Ui=(0,te.Z)(Ct,Ln),J=je&&je!==!0,oe=(0,ce.Z)(Cn)==="object"?Cn:{},Hn=oe.src,Be=oe.visible,Et=Be===void 0?void 0:Be,pi=oe.onVisibleChange,Rn=pi===void 0?Ot:pi,_i=oe.getContainer,Xt=_i===void 0?void 0:_i,Ei=oe.mask,Zt=oe.maskClassName,Pi=oe.movable,Yr=oe.icons,It=oe.scaleStep,Jr=oe.minScale,Jt=oe.maxScale,Ri=oe.imageRender,Ci=oe.toolbarRender,mr=(0,te.Z)(oe,ni),ar=Hn!=null?Hn:Ve,Kn=(0,we.Z)(!!Et,{value:Et,onChange:Rn}),he=(0,de.Z)(Kn,2),vr=he[0],Cr=he[1],dr=fe({src:Ve,isCustomPlaceholder:J,fallback:L}),Br=(0,de.Z)(dr,3),Ji=Br[0],Fi=Br[1],Mi=Br[2],cr=(0,v.useState)(null),Ki=(0,de.Z)(cr,2),Rr=Ki[0],Gr=Ki[1],to=(0,v.useContext)(Oe),Fo=!!Cn,fi=function(){Cr(!1),Gr(null)},ma=F()(ot,Li,Kt,(0,M.Z)({},"".concat(ot,"-error"),Mi==="error")),jo=(0,v.useMemo)(function(){var ns={};return Qe.forEach(function(Na){Ct[Na]!==void 0&&(ns[Na]=Ct[Na])}),ns},Qe.map(function(ns){return Ct[ns]})),da=(0,v.useMemo)(function(){return(0,P.Z)((0,P.Z)({},jo),{},{src:ar})},[ar,jo]),Ta=Ae(Fo,da),Ya=function(Na){var cs=(0,Me.os)(Na.target),Za=cs.left,Go=cs.top;to?to.onPreview(Ta,Za,Go):(Gr({x:Za,y:Go}),Cr(!0)),Nn==null||Nn(Na)};return v.createElement(v.Fragment,null,v.createElement("div",(0,G.Z)({},Ui,{className:ma,onClick:Fo?Ya:Nn,style:(0,P.Z)({width:Lt,height:Qt},Qi)}),v.createElement("img",(0,G.Z)({},jo,{className:F()("".concat(ot,"-img"),(0,M.Z)({},"".concat(ot,"-img-placeholder"),je===!0),ui),style:(0,P.Z)({height:Qt},mt),ref:Ji},Fi,{width:Lt,height:Qt,onError:st})),Mi==="loading"&&v.createElement("div",{"aria-hidden":"true",className:"".concat(ot,"-placeholder")},je),Ei&&Fo&&v.createElement("div",{className:F()("".concat(ot,"-mask"),Zt),style:{display:(mt==null?void 0:mt.display)==="none"?"none":void 0}},Ei)),!to&&Fo&&v.createElement(ue,(0,G.Z)({"aria-hidden":!vr,visible:vr,prefixCls:vt,onClose:fi,mousePosition:Rr,src:ar,alt:Ut,fallback:L,getContainer:Xt,icons:Yr,movable:Pi,scaleStep:It,minScale:Jr,maxScale:Jt,rootClassName:Kt,imageRender:Ri,imgCommonProps:jo,toolbarRender:Ci},mr)))};Jn.PreviewGroup=ai,Jn.displayName="Image";var In=Jn,Mn=In,re=h(62892),z=h(36355),k=h(31724),j=h(99267),X=h(33853),N=h(38819),_e={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"},Nt=_e,He=h(7657),De=function(Ct,Ve){return v.createElement(He.Z,(0,G.Z)({},Ct,{ref:Ve,icon:Nt}))},gt=v.forwardRef(De),ut=gt,nt={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"},Tt=nt,fn=function(Ct,Ve){return v.createElement(He.Z,(0,G.Z)({},Ct,{ref:Ve,icon:Tt}))},qt=v.forwardRef(fn),jt=qt,cn={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"},nn=cn,et=function(Ct,Ve){return v.createElement(He.Z,(0,G.Z)({},Ct,{ref:Ve,icon:nn}))},zt=v.forwardRef(et),hn=zt,tn={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"},ze=tn,Un=function(Ct,Ve){return v.createElement(He.Z,(0,G.Z)({},Ct,{ref:Ve,icon:ze}))},On=v.forwardRef(Un),Yn=On,wi={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"},vi=wi,dn=function(Ct,Ve){return v.createElement(He.Z,(0,G.Z)({},Ct,{ref:Ve,icon:vi}))},ln=v.forwardRef(dn),gr=ln,er=h(64993),ti=h(73819),Nr=h(17313),pr=h(29878),U=h(1950),yr=h(83116),Er=h(37613);const wr=on=>({position:on||"absolute",inset:0}),eo=on=>{const{iconCls:Ct,motionDurationSlow:Ve,paddingXXS:Ut,marginXXS:Ot,prefixCls:Gn,colorTextLightSolid:ot}=on;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ot,background:new er.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ve}`,[`.${Gn}-mask-info`]:Object.assign(Object.assign({},Nr.vS),{padding:`0 ${Ut}px`,[Ct]:{marginInlineEnd:Ot,svg:{verticalAlign:"baseline"}}})}},yo=on=>{const{previewCls:Ct,modalMaskBg:Ve,paddingSM:Ut,marginXL:Ot,margin:Gn,paddingLG:ot,previewOperationColorDisabled:un,previewOperationHoverColor:vt,motionDurationSlow:je,iconCls:L,colorTextLightSolid:Lt}=on,Qt=new er.C(Ve).setAlpha(.1),mt=Qt.clone().setAlpha(.2);return{[`${Ct}-footer`]:{position:"fixed",bottom:Ot,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:on.previewOperationColor},[`${Ct}-progress`]:{marginBottom:Gn},[`${Ct}-close`]:{position:"fixed",top:Ot,right:{_skip_check_:!0,value:Ot},display:"flex",color:Lt,backgroundColor:Qt.toRgbString(),borderRadius:"50%",padding:Ut,outline:0,border:0,cursor:"pointer",transition:`all ${je}`,"&:hover":{backgroundColor:mt.toRgbString()},[`& > ${L}`]:{fontSize:on.previewOperationSize}},[`${Ct}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ot}px`,backgroundColor:Qt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ut,padding:Ut,cursor:"pointer",transition:`all ${je}`,userSelect:"none",[`&:not(${Ct}-operations-operation-disabled):hover > ${L}`]:{color:vt},"&-disabled":{color:un,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${L}`]:{fontSize:on.previewOperationSize}}}}},Ir=on=>{const{modalMaskBg:Ct,iconCls:Ve,previewOperationColorDisabled:Ut,previewCls:Ot,zIndexPopup:Gn,motionDurationSlow:ot}=on,un=new er.C(Ct).setAlpha(.1),vt=un.clone().setAlpha(.2);return{[`${Ot}-switch-left, ${Ot}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Gn+1,display:"flex",alignItems:"center",justifyContent:"center",width:on.imagePreviewSwitchSize,height:on.imagePreviewSwitchSize,marginTop:-on.imagePreviewSwitchSize/2,color:on.previewOperationColor,background:un.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ot}`,userSelect:"none","&:hover":{background:vt.toRgbString()},"&-disabled":{"&, &:hover":{color:Ut,background:"transparent",cursor:"not-allowed",[`> ${Ve}`]:{cursor:"not-allowed"}}},[`> ${Ve}`]:{fontSize:on.previewOperationSize}},[`${Ot}-switch-left`]:{insetInlineStart:on.marginSM},[`${Ot}-switch-right`]:{insetInlineEnd:on.marginSM}}},no=on=>{const{motionEaseOut:Ct,previewCls:Ve,motionDurationSlow:Ut,componentCls:Ot}=on;return[{[`${Ot}-preview-root`]:{[Ve]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ve}-body`]:Object.assign(Object.assign({},wr()),{overflow:"hidden"}),[`${Ve}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ut} ${Ct} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},wr()),{transition:`transform ${Ut} ${Ct} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ve}-moving`]:{[`${Ve}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ot}-preview-root`]:{[`${Ve}-wrap`]:{zIndex:on.zIndexPopup}}},{[`${Ot}-preview-operations-wrapper`]:{position:"fixed",zIndex:on.zIndexPopup+1},"&":[yo(on),Ir(on)]}]},ur=on=>{const{componentCls:Ct}=on;return{[Ct]:{position:"relative",display:"inline-block",[`${Ct}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Ct}-img-placeholder`]:{backgroundColor:on.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Ct}-mask`]:Object.assign({},eo(on)),[`${Ct}-mask:hover`]:{opacity:1},[`${Ct}-placeholder`]:Object.assign({},wr())}}},zi=on=>{const{previewCls:Ct}=on;return{[`${Ct}-root`]:(0,pr._y)(on,"zoom"),"&":(0,U.J$)(on,!0)}};var xi=(0,yr.Z)("Image",on=>{const Ct=`${on.componentCls}-preview`,Ve=(0,Er.TS)(on,{previewCls:Ct,modalMaskBg:new er.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:on.controlHeightLG});return[ur(Ve),no(Ve),(0,ti.QA)((0,Er.TS)(Ve,{componentCls:Ct})),zi(Ve)]},on=>({zIndexPopup:on.zIndexPopupBase+80,previewOperationColor:new er.C(on.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new er.C(on.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new er.C(on.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:on.fontSizeIcon*1.5})),dt=function(on,Ct){var Ve={};for(var Ut in on)Object.prototype.hasOwnProperty.call(on,Ut)&&Ct.indexOf(Ut)<0&&(Ve[Ut]=on[Ut]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ut=Object.getOwnPropertySymbols(on);Ot{var{previewPrefixCls:Ct,preview:Ve}=on,Ut=dt(on,["previewPrefixCls","preview"]);const{getPrefixCls:Ot}=v.useContext(z.E_),Gn=Ot("image",Ct),ot=`${Gn}-preview`,un=Ot(),[vt,je]=xi(Gn),L=v.useMemo(()=>{var Lt;if(Ve===!1)return Ve;const Qt=typeof Ve=="object"?Ve:{},mt=F()(je,(Lt=Qt.rootClassName)!==null&&Lt!==void 0?Lt:"");return Object.assign(Object.assign({},Qt),{transitionName:(0,re.m)(un,"zoom",Qt.transitionName),maskTransitionName:(0,re.m)(un,"fade",Qt.maskTransitionName),rootClassName:mt})},[Ve]);return vt(v.createElement(Mn.PreviewGroup,Object.assign({preview:L,previewPrefixCls:ot,icons:_n},Ut)))},Ke=function(on,Ct){var Ve={};for(var Ut in on)Object.prototype.hasOwnProperty.call(on,Ut)&&Ct.indexOf(Ut)<0&&(Ve[Ut]=on[Ut]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ut=Object.getOwnPropertySymbols(on);Ot{const{prefixCls:Ct,preview:Ve,className:Ut,rootClassName:Ot,style:Gn}=on,ot=Ke(on,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:un,locale:vt=k.Z,getPopupContainer:je,image:L}=v.useContext(z.E_),Lt=un("image",Ct),Qt=un(),mt=vt.Image||k.Z.Image,[vn,Cn]=xi(Lt),ui=F()(Ot,Cn),Nn=F()(Ut,Cn,L==null?void 0:L.className),st=v.useMemo(()=>{if(Ve===!1)return Ve;const Qi=typeof Ve=="object"?Ve:{},{getContainer:Kt}=Qi,Ui=Ke(Qi,["getContainer"]);return Object.assign(Object.assign({mask:v.createElement("div",{className:`${Lt}-mask-info`},v.createElement(I.Z,null),mt==null?void 0:mt.preview),icons:_n},Ui),{getContainer:Kt||je,transitionName:(0,re.m)(Qt,"zoom",Qi.transitionName),maskTransitionName:(0,re.m)(Qt,"fade",Qi.maskTransitionName)})},[Ve,mt]),Li=Object.assign(Object.assign({},L==null?void 0:L.style),Gn);return vn(v.createElement(Mn,Object.assign({prefixCls:Lt,preview:st,rootClassName:ui,className:Nn,style:Li},ot)))};gn.PreviewGroup=yt;var kn=gn},9432:function(Q,C,h){"use strict";h.d(C,{Z:function(){return me},n:function(){return Re}});var v=h(19248),I=h(92310),O=h.n(I),F=h(93681),G=h(8654),P=h(59301),M=h(19080),de=h(36355),ce=h(1684),te=h(19716),Me=h(32441),we=h(33234),Qe=h(59412),Oe=h(9937);function Te(xe){return!!(xe.prefix||xe.suffix||xe.allowClear)}var Ae=function(xe,ge){var ke={};for(var ee in xe)Object.prototype.hasOwnProperty.call(xe,ee)&&ge.indexOf(ee)<0&&(ke[ee]=xe[ee]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ee=Object.getOwnPropertySymbols(xe);Ne{var ke;const{prefixCls:ee,bordered:Ne=!0,status:Ie,size:Fe,disabled:Xe,onBlur:Ye,onFocus:ie,suffix:lt,allowClear:We,addonAfter:Pt,addonBefore:xt,className:kt,style:wt,styles:En,rootClassName:Je,onChange:se,classNames:ue}=xe,Ht=Ae(xe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:St,input:an}=P.useContext(de.E_),Ft=Vt("input",ee),ai=(0,P.useRef)(null),[Ln,ni]=(0,Oe.ZP)(Ft),{compactSize:Jn,compactItemClassnames:In}=(0,we.ri)(Ft,St),Mn=(0,te.Z)(fn=>{var qt;return(qt=Fe!=null?Fe:Jn)!==null&&qt!==void 0?qt:fn}),re=P.useContext(ce.Z),z=Xe!=null?Xe:re,{status:k,hasFeedback:j,feedbackIcon:X}=(0,P.useContext)(Me.aM),N=(0,M.F)(k,Ie),_e=Te(xe)||!!j,Nt=(0,P.useRef)(_e);(0,P.useEffect)(()=>{var fn;_e&&Nt.current,Nt.current=_e},[_e]);const He=(0,Qe.Z)(ai,!0),De=fn=>{He(),Ye==null||Ye(fn)},gt=fn=>{He(),ie==null||ie(fn)},ut=fn=>{He(),se==null||se(fn)},nt=(j||lt)&&P.createElement(P.Fragment,null,lt,j&&X);let Tt;return typeof We=="object"&&(We!=null&&We.clearIcon)?Tt=We:We&&(Tt={clearIcon:P.createElement(v.Z,null)}),Ln(P.createElement(F.default,Object.assign({ref:(0,G.sQ)(ge,ai),prefixCls:Ft,autoComplete:an==null?void 0:an.autoComplete},Ht,{disabled:z,onBlur:De,onFocus:gt,style:Object.assign(Object.assign({},an==null?void 0:an.style),wt),styles:Object.assign(Object.assign({},an==null?void 0:an.styles),En),suffix:nt,allowClear:Tt,className:O()(kt,Je,In,an==null?void 0:an.className),onChange:ut,addonAfter:Pt&&P.createElement(we.BR,null,P.createElement(Me.Ux,{override:!0,status:!0},Pt)),addonBefore:xt&&P.createElement(we.BR,null,P.createElement(Me.Ux,{override:!0,status:!0},xt)),classNames:Object.assign(Object.assign(Object.assign({},ue),an==null?void 0:an.classNames),{input:O()({[`${Ft}-sm`]:Mn==="small",[`${Ft}-lg`]:Mn==="large",[`${Ft}-rtl`]:St==="rtl",[`${Ft}-borderless`]:!Ne},!_e&&(0,M.Z)(Ft,N),ue==null?void 0:ue.input,(ke=an==null?void 0:an.classNames)===null||ke===void 0?void 0:ke.input,ni)}),classes:{affixWrapper:O()({[`${Ft}-affix-wrapper-sm`]:Mn==="small",[`${Ft}-affix-wrapper-lg`]:Mn==="large",[`${Ft}-affix-wrapper-rtl`]:St==="rtl",[`${Ft}-affix-wrapper-borderless`]:!Ne},(0,M.Z)(`${Ft}-affix-wrapper`,N,j),ni),wrapper:O()({[`${Ft}-group-rtl`]:St==="rtl"},ni),group:O()({[`${Ft}-group-wrapper-sm`]:Mn==="small",[`${Ft}-group-wrapper-lg`]:Mn==="large",[`${Ft}-group-wrapper-rtl`]:St==="rtl",[`${Ft}-group-wrapper-disabled`]:z},(0,M.Z)(`${Ft}-group-wrapper`,N,j),ni)}})))})},1643:function(Q,C,h){"use strict";var v=h(19248),I=h(92310),O=h.n(I),F=h(9296),G=h(59301),P=h(19080),M=h(36355),de=h(1684),ce=h(19716),te=h(32441),Me=h(9432),we=h(9937),Qe=function(Te,Ae){var Re={};for(var fe in Te)Object.prototype.hasOwnProperty.call(Te,fe)&&Ae.indexOf(fe)<0&&(Re[fe]=Te[fe]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,fe=Object.getOwnPropertySymbols(Te);me{const{prefixCls:Re,bordered:fe=!0,size:me,disabled:xe,status:ge,allowClear:ke,showCount:ee,classNames:Ne,rootClassName:Ie,className:Fe}=Te,Xe=Qe(Te,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ye,direction:ie}=G.useContext(M.E_),lt=(0,ce.Z)(me),We=G.useContext(de.Z),Pt=xe!=null?xe:We,{status:xt,hasFeedback:kt,feedbackIcon:wt}=G.useContext(te.aM),En=(0,P.F)(xt,ge),Je=G.useRef(null);G.useImperativeHandle(Ae,()=>{var St;return{resizableTextArea:(St=Je.current)===null||St===void 0?void 0:St.resizableTextArea,focus:an=>{var Ft,ai;(0,Me.n)((ai=(Ft=Je.current)===null||Ft===void 0?void 0:Ft.resizableTextArea)===null||ai===void 0?void 0:ai.textArea,an)},blur:()=>{var an;return(an=Je.current)===null||an===void 0?void 0:an.blur()}}});const se=Ye("input",Re);let ue;typeof ke=="object"&&(ke!=null&&ke.clearIcon)?ue=ke:ke&&(ue={clearIcon:G.createElement(v.Z,null)});const[Ht,Vt]=(0,we.ZP)(se);return Ht(G.createElement(F.default,Object.assign({},Xe,{disabled:Pt,allowClear:ue,className:O()(Fe,Ie),classes:{affixWrapper:O()(`${se}-textarea-affix-wrapper`,{[`${se}-affix-wrapper-rtl`]:ie==="rtl",[`${se}-affix-wrapper-borderless`]:!fe,[`${se}-affix-wrapper-sm`]:lt==="small",[`${se}-affix-wrapper-lg`]:lt==="large",[`${se}-textarea-show-count`]:ee},(0,P.Z)(`${se}-affix-wrapper`,En),Vt)},classNames:Object.assign(Object.assign({},Ne),{textarea:O()({[`${se}-borderless`]:!fe,[`${se}-sm`]:lt==="small",[`${se}-lg`]:lt==="large"},(0,P.Z)(se,En),Vt,Ne==null?void 0:Ne.textarea)}),prefixCls:se,suffix:kt&&G.createElement("span",{className:`${se}-textarea-suffix`},wt),showCount:ee,ref:Je})))});C.Z=Oe},59412:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(59301);function I(O,F){const G=(0,v.useRef)([]),P=()=>{G.current.push(setTimeout(()=>{var M,de,ce,te;!((M=O.current)===null||M===void 0)&&M.input&&((de=O.current)===null||de===void 0?void 0:de.input.getAttribute("type"))==="password"&&(!((ce=O.current)===null||ce===void 0)&&ce.input.hasAttribute("value"))&&((te=O.current)===null||te===void 0||te.input.removeAttribute("value"))}))};return(0,v.useEffect)(()=>(F&&P(),()=>G.current.forEach(M=>{M&&clearTimeout(M)})),[]),P}},92832:function(Q,C,h){"use strict";h.d(C,{default:function(){return lt}});var v=h(92310),I=h.n(v),O=h(59301),F=h(36355),G=h(32441),P=h(9937),de=We=>{const{getPrefixCls:Pt,direction:xt}=(0,O.useContext)(F.E_),{prefixCls:kt,className:wt}=We,En=Pt("input-group",kt),Je=Pt("input"),[se,ue]=(0,P.ZP)(Je),Ht=I()(En,{[`${En}-lg`]:We.size==="large",[`${En}-sm`]:We.size==="small",[`${En}-compact`]:We.compact,[`${En}-rtl`]:xt==="rtl"},ue,wt),Vt=(0,O.useContext)(G.aM),St=(0,O.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return se(O.createElement("span",{className:Ht,style:We.style,onMouseEnter:We.onMouseEnter,onMouseLeave:We.onMouseLeave,onFocus:We.onFocus,onBlur:We.onBlur},O.createElement(G.aM.Provider,{value:St},We.children)))},ce=h(9432),te=h(73331),Me=h(15277),we=h(2738),Qe=h(8654),Oe=h(59412),Te=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,kt=Object.getOwnPropertySymbols(We);wtWe?O.createElement(Me.Z,null):O.createElement(te.Z,null),Re={click:"onClick",hover:"onMouseOver"};var me=O.forwardRef((We,Pt)=>{const{visibilityToggle:xt=!0}=We,kt=typeof xt=="object"&&xt.visible!==void 0,[wt,En]=(0,O.useState)(()=>kt?xt.visible:!1),Je=(0,O.useRef)(null);O.useEffect(()=>{kt&&En(xt.visible)},[kt,xt]);const se=(0,Oe.Z)(Je),ue=()=>{const{disabled:z}=We;z||(wt&&se(),En(k=>{var j;const X=!k;return typeof xt=="object"&&((j=xt.onVisibleChange)===null||j===void 0||j.call(xt,X)),X}))},Ht=z=>{const{action:k="click",iconRender:j=Ae}=We,X=Re[k]||"",N=j(wt),_e={[X]:ue,className:`${z}-icon`,key:"passwordIcon",onMouseDown:Nt=>{Nt.preventDefault()},onMouseUp:Nt=>{Nt.preventDefault()}};return O.cloneElement(O.isValidElement(N)?N:O.createElement("span",null,N),_e)},{className:Vt,prefixCls:St,inputPrefixCls:an,size:Ft}=We,ai=Te(We,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ln}=O.useContext(F.E_),ni=Ln("input",an),Jn=Ln("input-password",St),In=xt&&Ht(Jn),Mn=I()(Jn,Vt,{[`${Jn}-${Ft}`]:!!Ft}),re=Object.assign(Object.assign({},(0,we.Z)(ai,["suffix","iconRender","visibilityToggle"])),{type:wt?"text":"password",className:Mn,prefixCls:ni,suffix:In});return Ft&&(re.size=Ft),O.createElement(ce.Z,Object.assign({ref:(0,Qe.sQ)(Pt,Je)},re))}),xe=h(47472),ge=h(92343),ke=h(3113),ee=h(19716),Ne=h(33234),Ie=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,kt=Object.getOwnPropertySymbols(We);wt{const{prefixCls:xt,inputPrefixCls:kt,className:wt,size:En,suffix:Je,enterButton:se=!1,addonAfter:ue,loading:Ht,disabled:Vt,onSearch:St,onChange:an,onCompositionStart:Ft,onCompositionEnd:ai}=We,Ln=Ie(We,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ni,direction:Jn}=O.useContext(F.E_),In=O.useRef(!1),Mn=ni("input-search",xt),re=ni("input",kt),{compactSize:z}=(0,Ne.ri)(Mn,Jn),k=(0,ee.Z)(jt=>{var cn;return(cn=En!=null?En:z)!==null&&cn!==void 0?cn:jt}),j=O.useRef(null),X=jt=>{jt&&jt.target&&jt.type==="click"&&St&&St(jt.target.value,jt,{source:"clear"}),an&&an(jt)},N=jt=>{var cn;document.activeElement===((cn=j.current)===null||cn===void 0?void 0:cn.input)&&jt.preventDefault()},_e=jt=>{var cn,nn;St&&St((nn=(cn=j.current)===null||cn===void 0?void 0:cn.input)===null||nn===void 0?void 0:nn.value,jt,{source:"input"})},Nt=jt=>{In.current||Ht||_e(jt)},He=typeof se=="boolean"?O.createElement(xe.Z,null):null,De=`${Mn}-button`;let gt;const ut=se||{},nt=ut.type&&ut.type.__ANT_BUTTON===!0;nt||ut.type==="button"?gt=(0,ge.Tm)(ut,Object.assign({onMouseDown:N,onClick:jt=>{var cn,nn;(nn=(cn=ut==null?void 0:ut.props)===null||cn===void 0?void 0:cn.onClick)===null||nn===void 0||nn.call(cn,jt),_e(jt)},key:"enterButton"},nt?{className:De,size:k}:{})):gt=O.createElement(ke.ZP,{className:De,type:se?"primary":void 0,size:k,disabled:Vt,key:"enterButton",onMouseDown:N,onClick:_e,loading:Ht,icon:He},se),ue&&(gt=[gt,(0,ge.Tm)(ue,{key:"addonAfter"})]);const Tt=I()(Mn,{[`${Mn}-rtl`]:Jn==="rtl",[`${Mn}-${k}`]:!!k,[`${Mn}-with-button`]:!!se},wt),fn=jt=>{In.current=!0,Ft==null||Ft(jt)},qt=jt=>{In.current=!1,ai==null||ai(jt)};return O.createElement(ce.Z,Object.assign({ref:(0,Qe.sQ)(j,Pt),onPressEnter:Nt},Ln,{size:k,onCompositionStart:fn,onCompositionEnd:qt,prefixCls:re,addonAfter:gt,suffix:Je,onChange:X,className:Tt,disabled:Vt}))}),Ye=h(1643);const ie=ce.Z;ie.Group=de,ie.Search=Xe,ie.TextArea=Ye.Z,ie.Password=me;var lt=ie},45818:function(Q,C,h){"use strict";h.d(C,{D:function(){return xe},Z:function(){return ee}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},F=O,G=h(7657),P=function(Ie,Fe){return I.createElement(G.Z,(0,v.Z)({},Ie,{ref:Fe,icon:F}))},M=I.forwardRef(P),de=M,ce=h(33853),te=h(38819),Me=h(92310),we=h.n(Me),Qe=h(2738),Te=Ne=>!isNaN(parseFloat(Ne))&&isFinite(Ne),Ae=h(36355),Re=h(84966),fe=function(Ne,Ie){var Fe={};for(var Xe in Ne)Object.prototype.hasOwnProperty.call(Ne,Xe)&&Ie.indexOf(Xe)<0&&(Fe[Xe]=Ne[Xe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Xe=Object.getOwnPropertySymbols(Ne);Ye{let Ne=0;return function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ne+=1,`${Ie}${Ne}`}})();var ee=I.forwardRef((Ne,Ie)=>{const{prefixCls:Fe,className:Xe,trigger:Ye,children:ie,defaultCollapsed:lt=!1,theme:We="dark",style:Pt={},collapsible:xt=!1,reverseArrow:kt=!1,width:wt=200,collapsedWidth:En=80,zeroWidthTriggerStyle:Je,breakpoint:se,onCollapse:ue,onBreakpoint:Ht}=Ne,Vt=fe(Ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:St}=(0,I.useContext)(Re.Gs),[an,Ft]=(0,I.useState)("collapsed"in Ne?Ne.collapsed:lt),[ai,Ln]=(0,I.useState)(!1);(0,I.useEffect)(()=>{"collapsed"in Ne&&Ft(Ne.collapsed)},[Ne.collapsed]);const ni=(k,j)=>{"collapsed"in Ne||Ft(k),ue==null||ue(k,j)},Jn=(0,I.useRef)();Jn.current=k=>{Ln(k.matches),Ht==null||Ht(k.matches),an!==k.matches&&ni(k.matches,"responsive")},(0,I.useEffect)(()=>{function k(X){return Jn.current(X)}let j;if(typeof window!="undefined"){const{matchMedia:X}=window;if(X&&se&&se in me){j=X(`(max-width: ${me[se]})`);try{j.addEventListener("change",k)}catch(N){j.addListener(k)}k(j)}}return()=>{try{j==null||j.removeEventListener("change",k)}catch(X){j==null||j.removeListener(k)}}},[se]),(0,I.useEffect)(()=>{const k=ge("ant-sider-");return St.addSider(k),()=>St.removeSider(k)},[]);const In=()=>{ni(!an,"clickTrigger")},{getPrefixCls:Mn}=(0,I.useContext)(Ae.E_),re=()=>{const k=Mn("layout-sider",Fe),j=(0,Qe.Z)(Vt,["collapsed"]),X=an?En:wt,N=Te(X)?`${X}px`:String(X),_e=parseFloat(String(En||0))===0?I.createElement("span",{onClick:In,className:we()(`${k}-zero-width-trigger`,`${k}-zero-width-trigger-${kt?"right":"left"}`),style:Je},Ye||I.createElement(de,null)):null,De={expanded:kt?I.createElement(te.Z,null):I.createElement(ce.Z,null),collapsed:kt?I.createElement(ce.Z,null):I.createElement(te.Z,null)}[an?"collapsed":"expanded"],gt=Ye!==null?_e||I.createElement("div",{className:`${k}-trigger`,onClick:In,style:{width:N}},Ye||De):null,ut=Object.assign(Object.assign({},Pt),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),nt=we()(k,`${k}-${We}`,{[`${k}-collapsed`]:!!an,[`${k}-has-trigger`]:xt&&Ye!==null&&!_e,[`${k}-below`]:!!ai,[`${k}-zero-width`]:parseFloat(N)===0},Xe);return I.createElement("aside",Object.assign({className:nt},j,{style:ut,ref:Ie}),I.createElement("div",{className:`${k}-children`},ie),xt||ai&&_e?gt:null)},z=I.useMemo(()=>({siderCollapsed:an}),[an]);return I.createElement(xe.Provider,{value:z},re())})},84966:function(Q,C,h){"use strict";h.d(C,{VY:function(){return xe},$_:function(){return me},h4:function(){return fe},Gs:function(){return Qe},ZP:function(){return ge}});var v=h(26407),I=h(92310),O=h.n(I),F=h(2738),G=h(59301),P=h(36355),M=h(83116),ce=ke=>{const{componentCls:ee,bodyBg:Ne,lightSiderBg:Ie,lightTriggerBg:Fe,lightTriggerColor:Xe}=ke;return{[`${ee}-sider-light`]:{background:Ie,[`${ee}-sider-trigger`]:{color:Xe,background:Fe},[`${ee}-sider-zero-width-trigger`]:{color:Xe,background:Fe,border:`1px solid ${Ne}`,borderInlineStart:0}}}};const te=ke=>{const{antCls:ee,componentCls:Ne,colorText:Ie,triggerColor:Fe,footerBg:Xe,triggerBg:Ye,headerHeight:ie,headerPadding:lt,headerColor:We,footerPadding:Pt,triggerHeight:xt,zeroTriggerHeight:kt,zeroTriggerWidth:wt,motionDurationMid:En,motionDurationSlow:Je,fontSize:se,borderRadius:ue,bodyBg:Ht,headerBg:Vt,siderBg:St}=ke;return{[Ne]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ht,"&, *":{boxSizing:"border-box"},[`&${Ne}-has-sider`]:{flexDirection:"row",[`> ${Ne}, > ${Ne}-content`]:{width:0}},[`${Ne}-header, &${Ne}-footer`]:{flex:"0 0 auto"},[`${Ne}-sider`]:{position:"relative",minWidth:0,background:St,transition:`all ${En}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ee}-menu${ee}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:xt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:xt,color:Fe,lineHeight:`${xt}px`,textAlign:"center",background:Ye,cursor:"pointer",transition:`all ${En}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ie,insetInlineEnd:-wt,zIndex:1,width:wt,height:kt,color:Fe,fontSize:ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:St,borderStartStartRadius:0,borderStartEndRadius:ue,borderEndEndRadius:ue,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Je} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Je}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-wt,borderStartStartRadius:ue,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ue}}}}},ce(ke)),{"&-rtl":{direction:"rtl"}}),[`${Ne}-header`]:{height:ie,padding:lt,color:We,lineHeight:`${ie}px`,background:Vt,[`${ee}-menu`]:{lineHeight:"inherit"}},[`${Ne}-footer`]:{padding:Pt,color:Ie,fontSize:se,background:Xe},[`${Ne}-content`]:{flex:"auto",minHeight:0}}};var Me=(0,M.Z)("Layout",ke=>[te(ke)],ke=>{const{colorBgLayout:ee,controlHeight:Ne,controlHeightLG:Ie,colorText:Fe,controlHeightSM:Xe,marginXXS:Ye,colorTextLightSolid:ie,colorBgContainer:lt}=ke,We=Ie*1.25;return{colorBgHeader:"#001529",colorBgBody:ee,colorBgTrigger:"#002140",bodyBg:ee,headerBg:"#001529",headerHeight:Ne*2,headerPadding:`0 ${We}px`,headerColor:Fe,footerPadding:`${Xe}px ${We}px`,footerBg:ee,siderBg:"#001529",triggerHeight:Ie+Ye*2,triggerBg:"#002140",triggerColor:ie,zeroTriggerWidth:Ie,zeroTriggerHeight:Ie,lightSiderBg:lt,lightTriggerBg:lt,lightTriggerColor:Fe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),we=function(ke,ee){var Ne={};for(var Ie in ke)Object.prototype.hasOwnProperty.call(ke,Ie)&&ee.indexOf(Ie)<0&&(Ne[Ie]=ke[Ie]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Ie=Object.getOwnPropertySymbols(ke);Fenull,removeSider:()=>null}});function Oe(ke){let{suffixCls:ee,tagName:Ne,displayName:Ie}=ke;return Fe=>G.forwardRef((Ye,ie)=>G.createElement(Fe,Object.assign({ref:ie,suffixCls:ee,tagName:Ne},Ye)))}const Te=G.forwardRef((ke,ee)=>{const{prefixCls:Ne,suffixCls:Ie,className:Fe,tagName:Xe}=ke,Ye=we(ke,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ie}=G.useContext(P.E_),lt=ie("layout",Ne),[We,Pt]=Me(lt),xt=Ie?`${lt}-${Ie}`:lt;return We(G.createElement(Xe,Object.assign({className:O()(Ne||xt,Fe,Pt),ref:ee},Ye)))}),Ae=G.forwardRef((ke,ee)=>{const{direction:Ne}=G.useContext(P.E_),[Ie,Fe]=G.useState([]),{prefixCls:Xe,className:Ye,rootClassName:ie,children:lt,hasSider:We,tagName:Pt,style:xt}=ke,kt=we(ke,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),wt=(0,F.Z)(kt,["suffixCls"]),{getPrefixCls:En,layout:Je}=G.useContext(P.E_),se=En("layout",Xe),[ue,Ht]=Me(se),Vt=O()(se,{[`${se}-has-sider`]:typeof We=="boolean"?We:Ie.length>0,[`${se}-rtl`]:Ne==="rtl"},Je==null?void 0:Je.className,Ye,ie,Ht),St=G.useMemo(()=>({siderHook:{addSider:an=>{Fe(Ft=>[].concat((0,v.Z)(Ft),[an]))},removeSider:an=>{Fe(Ft=>Ft.filter(ai=>ai!==an))}}}),[]);return ue(G.createElement(Qe.Provider,{value:St},G.createElement(Pt,Object.assign({ref:ee,className:Vt,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),xt)},wt),lt)))}),Re=Oe({tagName:"div",displayName:"Layout"})(Ae),fe=Oe({suffixCls:"header",tagName:"header",displayName:"Header"})(Te),me=Oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Te),xe=Oe({suffixCls:"content",tagName:"main",displayName:"Content"})(Te);var ge=Re},40875:function(Q,C,h){"use strict";h.d(C,{J:function(){return P}});var v=h(59301),I=h(33234),O=h(70425),F=function(M,de){var ce={};for(var te in M)Object.prototype.hasOwnProperty.call(M,te)&&de.indexOf(te)<0&&(ce[te]=M[te]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,te=Object.getOwnPropertySymbols(M);Me{const{children:ce}=M,te=F(M,["children"]),Me=v.useContext(G),we=v.useMemo(()=>Object.assign(Object.assign({},Me),te),[Me,te.prefixCls,te.mode,te.selectable]);return v.createElement(G.Provider,{value:we},v.createElement(I.BR,null,(0,O.supportNodeRef)(ce)?v.cloneElement(ce,{ref:de}):ce))});C.Z=G},20834:function(Q,C,h){"use strict";h.d(C,{default:function(){return z}});var v=h(15285),I=h(59301),O=h(45818),F=h(92310),G=h.n(F),P=h(36355),M=function(k,j){var X={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&j.indexOf(N)<0&&(X[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,N=Object.getOwnPropertySymbols(k);_e{const{prefixCls:j,className:X,dashed:N}=k,_e=M(k,["prefixCls","className","dashed"]),{getPrefixCls:Nt}=I.useContext(P.E_),He=Nt("menu",j),De=G()({[`${He}-item-divider-dashed`]:!!N},X);return I.createElement(v.iz,Object.assign({className:De},_e))},te=h(11592),Me=h(2738),we=h(6848),Qe=h(92343),Te=(0,I.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Re=k=>{var j;const{className:X,children:N,icon:_e,title:Nt,danger:He}=k,{prefixCls:De,firstLevel:gt,direction:ut,disableMenuItemTitleTooltip:nt,inlineCollapsed:Tt}=I.useContext(Te),fn=zt=>{const hn=I.createElement("span",{className:`${De}-title-content`},N);return(!_e||(0,Qe.l$)(N)&&N.type==="span")&&N&&zt&>&&typeof N=="string"?I.createElement("div",{className:`${De}-inline-collapsed-noicon`},N.charAt(0)):hn},{siderCollapsed:qt}=I.useContext(O.D);let jt=Nt;typeof Nt=="undefined"?jt=gt?N:"":Nt===!1&&(jt="");const cn={title:jt};!qt&&!Tt&&(cn.title=null,cn.open=!1);const nn=(0,te.Z)(N).length;let et=I.createElement(v.ck,Object.assign({},(0,Me.Z)(k,["title","icon","danger"]),{className:G()({[`${De}-item-danger`]:He,[`${De}-item-only-child`]:(_e?nn+1:nn)===1},X),title:typeof Nt=="string"?Nt:void 0}),(0,Qe.Tm)(_e,{className:G()((0,Qe.l$)(_e)?(j=_e.props)===null||j===void 0?void 0:j.className:"",`${De}-item-icon`)}),fn(Tt));return nt||(et=I.createElement(we.Z,Object.assign({},cn,{placement:ut==="rtl"?"left":"right",overlayClassName:`${De}-inline-collapsed-tooltip`}),et)),et},me=k=>{var j;const{popupClassName:X,icon:N,title:_e,theme:Nt}=k,He=I.useContext(Te),{prefixCls:De,inlineCollapsed:gt,theme:ut}=He,nt=(0,v.Xl)();let Tt;if(!N)Tt=gt&&!nt.length&&_e&&typeof _e=="string"?I.createElement("div",{className:`${De}-inline-collapsed-noicon`},_e.charAt(0)):I.createElement("span",{className:`${De}-title-content`},_e);else{const qt=(0,Qe.l$)(_e)&&_e.type==="span";Tt=I.createElement(I.Fragment,null,(0,Qe.Tm)(N,{className:G()((0,Qe.l$)(N)?(j=N.props)===null||j===void 0?void 0:j.className:"",`${De}-item-icon`)}),qt?_e:I.createElement("span",{className:`${De}-title-content`},_e))}const fn=I.useMemo(()=>Object.assign(Object.assign({},He),{firstLevel:!1}),[He]);return I.createElement(Te.Provider,{value:fn},I.createElement(v.Wd,Object.assign({},(0,Me.Z)(k,["icon"]),{title:Tt,popupClassName:G()(De,X,`${De}-${Nt||ut}`)})))},xe=h(18785),ge=h(70425),ke=h(62892),ee=h(40875),Ne=function(k,j){var X={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&j.indexOf(N)<0&&(X[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,N=Object.getOwnPropertySymbols(k);_e{if(j&&typeof j=="object"){const N=j,{label:_e,children:Nt,key:He,type:De}=N,gt=Ne(N,["label","children","key","type"]),ut=He!=null?He:`tmp-${X}`;return Nt||De==="group"?De==="group"?I.createElement(v.BW,Object.assign({key:ut},gt,{title:_e}),Ie(Nt)):I.createElement(me,Object.assign({key:ut},gt,{title:_e}),Ie(Nt)):De==="divider"?I.createElement(ce,Object.assign({key:ut},gt)):I.createElement(Re,Object.assign({key:ut},gt),_e)}return null}).filter(j=>j)}function Fe(k){return I.useMemo(()=>k&&Ie(k),[k])}var Xe=h(64993),Ye=h(17313),ie=h(8378),lt=h(13826),We=h(29878),Pt=h(83116),xt=h(37613),wt=k=>{const{componentCls:j,motionDurationSlow:X,horizontalLineHeight:N,colorSplit:_e,lineWidth:Nt,lineType:He,itemPaddingInline:De}=k;return{[`${j}-horizontal`]:{lineHeight:N,border:0,borderBottom:`${Nt}px ${He} ${_e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${j}-item, ${j}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:De},[`> ${j}-item:hover, + `]:{[`&:hover ${M}-inner`]:{backgroundColor:F.colorPrimaryHover,borderColor:"transparent"}}},{[M]:{"&-indeterminate":{[`${M}-inner`]:{backgroundColor:F.colorBgContainer,borderColor:F.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:F.fontSizeLG/2,height:F.fontSizeLG/2,backgroundColor:F.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${de}-disabled`]:{cursor:"not-allowed"},[`${M}-disabled`]:{[`&, ${M}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${M}-inner`]:{background:F.colorBgContainerDisabled,borderColor:F.colorBorder,"&:after":{borderColor:F.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:F.colorTextDisabled},[`&${M}-indeterminate ${M}-inner::after`]:{background:F.colorTextDisabled}}}]};function G(F,M){const de=(0,I.TS)(M,{checkboxCls:`.${F}`,checkboxSize:M.controlInteractiveSize});return[B(de)]}C.ZP=(0,O.Z)("Checkbox",(F,M)=>{let{prefixCls:de}=M;return[G(de,F)]})},93891:function(Q,C,h){"use strict";var v=h(59301),I=h(36355),O=h(64165);const B=G=>{const{componentName:F}=G,{getPrefixCls:M}=(0,v.useContext)(I.E_),de=M("empty");switch(F){case"Table":case"List":return v.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return v.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE,className:`${de}-small`});default:return v.createElement(O.Z,null)}};C.Z=B},43428:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Jn}});var v=h(92310),I=h.n(v),O=h(33708),B=h(33606),G=h(43403),F=h(34280),M=h(59301),de=M.createContext(null),ae=M.createContext({}),te=de,Me=h(400),we=h(92413),Xe=h(77900),Oe=h(10228),Ce=h(26112),Ae=h(70425),Pe=function(In){var ie=In.prefixCls,z=In.className,k=In.style,j=In.children,X=In.containerRef,T=In.id,_e=In.onMouseEnter,It=In.onMouseOver,$e=In.onMouseLeave,De=In.onClick,gt=In.onKeyDown,ut=In.onKeyUp,tt={onMouseEnter:_e,onMouseOver:It,onMouseLeave:$e,onClick:De,onKeyDown:gt,onKeyUp:ut},Et=M.useContext(ae),pn=Et.panel,nn=(0,Ae.useComposeRef)(pn,X);return M.createElement(M.Fragment,null,M.createElement("div",(0,we.Z)({id:T,className:I()("".concat(ie,"-content"),z),style:(0,O.Z)({},k),"aria-modal":"true",role:"dialog",ref:nn},tt),j))},fe=Pe,pe=h(48736);function xe(Mn){return typeof Mn=="string"&&String(Number(Mn))===Mn?((0,pe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Mn)):Mn}function me(Mn){warning(!("wrapperClassName"in Mn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Mn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ke={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ee(Mn,In){var ie,z,k,j,X=Mn.prefixCls,T=Mn.open,_e=Mn.placement,It=Mn.inline,$e=Mn.push,De=Mn.forceRender,gt=Mn.autoFocus,ut=Mn.keyboard,tt=Mn.rootClassName,Et=Mn.rootStyle,pn=Mn.zIndex,nn=Mn.className,Kt=Mn.id,hn=Mn.style,an=Mn.motion,et=Mn.width,zt=Mn.height,dn=Mn.children,rn=Mn.contentWrapperStyle,ze=Mn.mask,Un=Mn.maskClosable,yn=Mn.maskMotion,Bt=Mn.maskClassName,Si=Mn.maskStyle,_i=Mn.afterOpenChange,Ii=Mn.onClose,cn=Mn.onMouseEnter,fr=Mn.onMouseOver,Xi=Mn.onMouseLeave,ei=Mn.onClick,Tr=Mn.onKeyDown,ur=Mn.onKeyUp,U=M.useRef(),mr=M.useRef(),Er=M.useRef();M.useImperativeHandle(In,function(){return U.current});var wr=function(Nt){var Ve=Nt.keyCode,Ut=Nt.shiftKey;switch(Ve){case Oe.Z.TAB:{if(Ve===Oe.Z.TAB){if(!Ut&&document.activeElement===Er.current){var Lt;(Lt=mr.current)===null||Lt===void 0||Lt.focus({preventScroll:!0})}else if(Ut&&document.activeElement===mr.current){var Wn;(Wn=Er.current)===null||Wn===void 0||Wn.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{Ii&&ut&&(Nt.stopPropagation(),Ii(Nt));break}}};M.useEffect(function(){if(T&>){var on;(on=U.current)===null||on===void 0||on.focus({preventScroll:!0})}},[T]);var qr=M.useState(!1),xo=(0,B.Z)(qr,2),kr=xo[0],no=xo[1],rr=M.useContext(te),Bi;$e===!1?Bi={distance:0}:$e===!0?Bi={}:Bi=$e||{};var yi=(ie=(z=(k=Bi)===null||k===void 0?void 0:k.distance)!==null&&z!==void 0?z:rr==null?void 0:rr.pushDistance)!==null&&ie!==void 0?ie:180,ht=M.useMemo(function(){return{pushDistance:yi,push:function(){no(!0)},pull:function(){no(!1)}}},[yi]);M.useEffect(function(){if(T){var on;rr==null||(on=rr.push)===null||on===void 0||on.call(rr)}else{var Nt;rr==null||(Nt=rr.pull)===null||Nt===void 0||Nt.call(rr)}},[T]),M.useEffect(function(){return function(){var on;rr==null||(on=rr.pull)===null||on===void 0||on.call(rr)}},[]);var _n=ze&&M.createElement(Xe.default,(0,we.Z)({key:"mask"},yn,{visible:T}),function(on,Nt){var Ve=on.className,Ut=on.style;return M.createElement("div",{className:I()("".concat(X,"-mask"),Ve,Bt),style:(0,O.Z)((0,O.Z)({},Ut),Si),onClick:Un&&T?Ii:void 0,ref:Nt})}),Vn=typeof an=="function"?an(_e):an,pt={};if(kr&&yi)switch(_e){case"top":pt.transform="translateY(".concat(yi,"px)");break;case"bottom":pt.transform="translateY(".concat(-yi,"px)");break;case"left":pt.transform="translateX(".concat(yi,"px)");break;default:pt.transform="translateX(".concat(-yi,"px)");break}_e==="left"||_e==="right"?pt.width=xe(et):pt.height=xe(zt);var Ke={onMouseEnter:cn,onMouseOver:fr,onMouseLeave:Xi,onClick:ei,onKeyDown:Tr,onKeyUp:ur},vn=M.createElement(Xe.default,(0,we.Z)({key:"panel"},Vn,{visible:T,forceRender:De,onVisibleChanged:function(Nt){_i==null||_i(Nt)},removeOnLeave:!1,leavedClassName:"".concat(X,"-content-wrapper-hidden")}),function(on,Nt){var Ve=on.className,Ut=on.style;return M.createElement("div",(0,we.Z)({className:I()("".concat(X,"-content-wrapper"),Ve),style:(0,O.Z)((0,O.Z)((0,O.Z)({},pt),Ut),rn)},(0,Ce.Z)(Mn,{data:!0})),M.createElement(fe,(0,we.Z)({id:Kt,containerRef:Nt,prefixCls:X,className:nn,style:hn},Ke),dn))}),Fn=(0,O.Z)({},Et);return pn&&(Fn.zIndex=pn),M.createElement(te.Provider,{value:ht},M.createElement("div",{className:I()(X,"".concat(X,"-").concat(_e),tt,(j={},(0,Me.Z)(j,"".concat(X,"-open"),T),(0,Me.Z)(j,"".concat(X,"-inline"),It),j)),style:Fn,tabIndex:-1,ref:U,onKeyDown:wr},_n,M.createElement("div",{tabIndex:0,ref:mr,style:ke,"aria-hidden":"true","data-sentinel":"start"}),vn,M.createElement("div",{tabIndex:0,ref:Er,style:ke,"aria-hidden":"true","data-sentinel":"end"})))}var Ne=M.forwardRef(ee),Ie=Ne,Le=function(In){var ie=In.open,z=ie===void 0?!1:ie,k=In.prefixCls,j=k===void 0?"rc-drawer":k,X=In.placement,T=X===void 0?"right":X,_e=In.autoFocus,It=_e===void 0?!0:_e,$e=In.keyboard,De=$e===void 0?!0:$e,gt=In.width,ut=gt===void 0?378:gt,tt=In.mask,Et=tt===void 0?!0:tt,pn=In.maskClosable,nn=pn===void 0?!0:pn,Kt=In.getContainer,hn=In.forceRender,an=In.afterOpenChange,et=In.destroyOnClose,zt=In.onMouseEnter,dn=In.onMouseOver,rn=In.onMouseLeave,ze=In.onClick,Un=In.onKeyDown,yn=In.onKeyUp,Bt=In.panelRef,Si=M.useState(!1),_i=(0,B.Z)(Si,2),Ii=_i[0],cn=_i[1],fr=M.useState(!1),Xi=(0,B.Z)(fr,2),ei=Xi[0],Tr=Xi[1];(0,F.Z)(function(){Tr(!0)},[]);var ur=ei?z:!1,U=M.useRef(),mr=M.useRef();(0,F.Z)(function(){ur&&(mr.current=document.activeElement)},[ur]);var Er=function(no){var rr;if(cn(no),an==null||an(no),!no&&mr.current&&!((rr=U.current)!==null&&rr!==void 0&&rr.contains(mr.current))){var Bi;(Bi=mr.current)===null||Bi===void 0||Bi.focus({preventScroll:!0})}},wr=M.useMemo(function(){return{panel:Bt}},[Bt]);if(!hn&&!Ii&&!ur&&et)return null;var qr={onMouseEnter:zt,onMouseOver:dn,onMouseLeave:rn,onClick:ze,onKeyDown:Un,onKeyUp:yn},xo=(0,O.Z)((0,O.Z)({},In),{},{open:ur,prefixCls:j,placement:T,autoFocus:It,keyboard:De,width:ut,mask:Et,maskClosable:nn,inline:Kt===!1,afterOpenChange:Er,ref:U},qr);return M.createElement(ae.Provider,{value:wr},M.createElement(G.Z,{open:ur||hn||Ii,autoDestroy:!1,getContainer:Kt,autoLock:Et&&(ur||Ii)},M.createElement(Ie,xo)))},Je=Le,Ye=Je,re=h(62892),lt=h(36355),We=h(32441),Pt=h(47729),kt=Mn=>{const{prefixCls:In,title:ie,footer:z,extra:k,closeIcon:j,closable:X,onClose:T,headerStyle:_e,drawerStyle:It,bodyStyle:$e,footerStyle:De,children:gt}=Mn,ut=M.useCallback(Kt=>M.createElement("button",{type:"button",onClick:T,"aria-label":"Close",className:`${In}-close`},Kt),[T]),[tt,Et]=(0,Pt.Z)(X,j,ut,void 0,!0),pn=M.useMemo(()=>!ie&&!tt?null:M.createElement("div",{style:_e,className:I()(`${In}-header`,{[`${In}-header-close-only`]:tt&&!ie&&!k})},M.createElement("div",{className:`${In}-header-title`},Et,ie&&M.createElement("div",{className:`${In}-title`},ie)),k&&M.createElement("div",{className:`${In}-extra`},k)),[tt,Et,k,_e,In,ie]),nn=M.useMemo(()=>{if(!z)return null;const Kt=`${In}-footer`;return M.createElement("div",{className:Kt,style:De},z)},[z,De,In]);return M.createElement("div",{className:`${In}-wrapper-body`,style:It},pn,M.createElement("div",{className:`${In}-body`,style:$e},gt),nn)},Ct=h(33234),Cn=h(83116),Qe=h(37613),ce=Mn=>{const{componentCls:In,motionDurationSlow:ie}=Mn,z={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${ie}`}}};return{[In]:{[`${In}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${ie}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${In}-panel-motion`]:{"&-left":[z,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[z,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[z,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[z,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ht=Mn=>{const{componentCls:In,zIndexPopup:ie,colorBgMask:z,colorBgElevated:k,motionDurationSlow:j,motionDurationMid:X,padding:T,paddingLG:_e,fontSizeLG:It,lineHeightLG:$e,lineWidth:De,lineType:gt,colorSplit:ut,marginSM:tt,colorIcon:Et,colorIconHover:pn,colorText:nn,fontWeightStrong:Kt,footerPaddingBlock:hn,footerPaddingInline:an}=Mn,et=`${In}-content-wrapper`;return{[In]:{position:"fixed",inset:0,zIndex:ie,pointerEvents:"none","&-pure":{position:"relative",background:k,[`&${In}-left`]:{boxShadow:Mn.boxShadowDrawerLeft},[`&${In}-right`]:{boxShadow:Mn.boxShadowDrawerRight},[`&${In}-top`]:{boxShadow:Mn.boxShadowDrawerUp},[`&${In}-bottom`]:{boxShadow:Mn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${In}-mask`]:{position:"absolute",inset:0,zIndex:ie,background:z,pointerEvents:"auto"},[et]:{position:"absolute",zIndex:ie,maxWidth:"100vw",transition:`all ${j}`,"&-hidden":{display:"none"}},[`&-left > ${et}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Mn.boxShadowDrawerLeft},[`&-right > ${et}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Mn.boxShadowDrawerRight},[`&-top > ${et}`]:{top:0,insetInline:0,boxShadow:Mn.boxShadowDrawerUp},[`&-bottom > ${et}`]:{bottom:0,insetInline:0,boxShadow:Mn.boxShadowDrawerDown},[`${In}-content`]:{width:"100%",height:"100%",overflow:"auto",background:k,pointerEvents:"auto"},[`${In}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${In}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${T}px ${_e}px`,fontSize:It,lineHeight:$e,borderBottom:`${De}px ${gt} ${ut}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${In}-extra`]:{flex:"none"},[`${In}-close`]:{display:"inline-block",marginInlineEnd:tt,color:Et,fontWeight:Kt,fontSize:It,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${X}`,textRendering:"auto","&:focus, &:hover":{color:pn,textDecoration:"none"}},[`${In}-title`]:{flex:1,margin:0,color:nn,fontWeight:Mn.fontWeightStrong,fontSize:It,lineHeight:$e},[`${In}-body`]:{flex:1,minWidth:0,minHeight:0,padding:_e,overflow:"auto"},[`${In}-footer`]:{flexShrink:0,padding:`${hn}px ${an}px`,borderTop:`${De}px ${gt} ${ut}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,Cn.Z)("Drawer",Mn=>{const In=(0,Qe.TS)(Mn,{});return[Ht(In),ce(In)]},Mn=>({zIndexPopup:Mn.zIndexPopupBase,footerPaddingBlock:Mn.paddingXS,footerPaddingInline:Mn.padding})),St=h(11575),sn=function(Mn,In){var ie={};for(var z in Mn)Object.prototype.hasOwnProperty.call(Mn,z)&&In.indexOf(z)<0&&(ie[z]=Mn[z]);if(Mn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,z=Object.getOwnPropertySymbols(Mn);k{var In;const{rootClassName:ie,width:z,height:k,size:j="default",mask:X=!0,push:T=oi,open:_e,afterOpenChange:It,onClose:$e,prefixCls:De,getContainer:gt,style:ut,className:tt,visible:Et,afterVisibleChange:pn}=Mn,nn=sn(Mn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Kt,getPrefixCls:hn,direction:an,drawer:et}=M.useContext(lt.E_),zt=hn("drawer",De),[dn,rn]=Vt(zt),ze=gt===void 0&&Kt?()=>Kt(document.body):gt,Un=I()({"no-mask":!X,[`${zt}-rtl`]:an==="rtl"},ie,rn),yn=M.useMemo(()=>z!=null?z:j==="large"?736:378,[z,j]),Bt=M.useMemo(()=>k!=null?k:j==="large"?736:378,[k,j]),Si={motionName:(0,re.m)(zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},_i=cn=>({motionName:(0,re.m)(zt,`panel-motion-${cn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ii=(0,St.H)();return dn(M.createElement(Ct.BR,null,M.createElement(We.Ux,{status:!0,override:!0},M.createElement(Ye,Object.assign({prefixCls:zt,onClose:$e,maskMotion:Si,motion:_i},nn,{open:_e!=null?_e:Et,mask:X,push:T,width:yn,height:Bt,style:Object.assign(Object.assign({},et==null?void 0:et.style),ut),className:I()(et==null?void 0:et.className,tt),rootClassName:Un,getContainer:ze,afterOpenChange:It!=null?It:pn,panelRef:Ii}),M.createElement(kt,Object.assign({prefixCls:zt},nn,{onClose:$e}))))))},ni=Mn=>{const{prefixCls:In,style:ie,className:z,placement:k="right"}=Mn,j=sn(Mn,["prefixCls","style","className","placement"]),{getPrefixCls:X}=M.useContext(lt.E_),T=X("drawer",In),[_e,It]=Vt(T),$e=I()(T,`${T}-pure`,`${T}-${k}`,It,z);return _e(M.createElement("div",{className:$e,style:ie},M.createElement(kt,Object.assign({prefixCls:T},j))))};On._InternalPanelDoNotUseOrYouWillBeFired=ni;var Jn=On},91857:function(Q,C,h){"use strict";var v=h(59301),I=h(38819),O=h(92310),B=h.n(O),G=h(31561),F=h(70425),M=h(18929),de=h(2738),ae=h(79676),te=h(53487),Me=h(92343),we=h(36355),Xe=h(20834),Oe=h(40875),Ce=h(88088),Ae=h(47211);const Pe=null,fe=ke=>{const{menu:ee,arrow:Ne,prefixCls:Ie,children:Le,trigger:Je,disabled:Ye,dropdownRender:re,getPopupContainer:lt,overlayClassName:We,rootClassName:Pt,open:xt,onOpenChange:kt,visible:Ct,onVisibleChange:Cn,mouseEnterDelay:Qe=.15,mouseLeaveDelay:le=.1,autoAdjustOverflow:ce=!0,placement:Ht="",overlay:Vt,transitionName:St}=ke,{getPopupContainer:sn,getPrefixCls:Ft,direction:oi}=v.useContext(we.E_),On=v.useMemo(()=>{const tt=Ft();return St!==void 0?St:Ht.includes("top")?`${tt}-slide-down`:`${tt}-slide-up`},[Ft,Ht,St]),ni=v.useMemo(()=>Ht?Ht.includes("Center")?Ht.slice(0,Ht.indexOf("Center")):Ht:oi==="rtl"?"bottomRight":"bottomLeft",[Ht,oi]),Jn=Ft("dropdown",Ie),[Mn,In]=(0,Ae.Z)(Jn),[,ie]=(0,Ce.Z)(),z=v.Children.only(Le),k=(0,Me.Tm)(z,{className:B()(`${Jn}-trigger`,{[`${Jn}-rtl`]:oi==="rtl"},z.props.className),disabled:Ye}),j=Ye?[]:Je;let X;j&&j.includes("contextMenu")&&(X=!0);const[T,_e]=(0,M.Z)(!1,{value:xt!=null?xt:Ct}),It=(0,F.useEvent)(tt=>{kt==null||kt(tt),Cn==null||Cn(tt),_e(tt)}),$e=B()(We,Pt,In,{[`${Jn}-rtl`]:oi==="rtl"}),De=(0,ae.Z)({arrowPointAtCenter:typeof Ne=="object"&&Ne.pointAtCenter,autoAdjustOverflow:ce,offset:ie.marginXXS,arrowWidth:Ne?ie.sizePopupArrow:0,borderRadius:ie.borderRadius}),gt=v.useCallback(()=>{_e(!1)},[]),ut=()=>{let tt;return ee!=null&&ee.items?tt=v.createElement(Xe.default,Object.assign({},ee)):typeof Vt=="function"?tt=Vt():tt=Vt,re&&(tt=re(tt)),tt=v.Children.only(typeof tt=="string"?v.createElement("span",null,tt):tt),v.createElement(Oe.J,{prefixCls:`${Jn}-menu`,expandIcon:v.createElement("span",{className:`${Jn}-menu-submenu-arrow`},v.createElement(I.Z,{className:`${Jn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:gt,validator:Et=>{let{mode:pn}=Et}},tt)};return Mn(v.createElement(G.Z,Object.assign({alignPoint:X},(0,de.Z)(ke,["rootClassName"]),{mouseEnterDelay:Qe,mouseLeaveDelay:le,visible:T,builtinPlacements:De,arrow:!!Ne,overlayClassName:$e,prefixCls:Jn,getPopupContainer:lt||sn,transitionName:On,trigger:j,overlay:ut,placement:ni,onVisibleChange:It}),k))};function pe(ke){return Object.assign(Object.assign({},ke),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const xe=(0,te.Z)(fe,"dropdown",ke=>ke,pe),me=ke=>v.createElement(xe,Object.assign({},ke),v.createElement("span",null));fe._InternalPanelDoNotUseOrYouWillBeFired=me,C.Z=fe},38854:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ce}});var v=h(91857),I=h(92310),O=h.n(I),B=h(59301),G=h(18785),F=h(3113),M=h(36355),de=h(81327),ae=h(33234),te=h(47211),Me=function(Ae,Pe){var fe={};for(var pe in Ae)Object.prototype.hasOwnProperty.call(Ae,pe)&&Pe.indexOf(pe)<0&&(fe[pe]=Ae[pe]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,pe=Object.getOwnPropertySymbols(Ae);xe{const{getPopupContainer:Pe,getPrefixCls:fe,direction:pe}=B.useContext(M.E_),{prefixCls:xe,type:me="default",danger:ke,disabled:ee,loading:Ne,onClick:Ie,htmlType:Le,children:Je,className:Ye,menu:re,arrow:lt,autoFocus:We,overlay:Pt,trigger:xt,align:kt,open:Ct,onOpenChange:Cn,placement:Qe,getPopupContainer:le,href:ce,icon:Ht=B.createElement(G.Z,null),title:Vt,buttonsRender:St=ut=>ut,mouseEnterDelay:sn,mouseLeaveDelay:Ft,overlayClassName:oi,overlayStyle:On,destroyPopupOnHide:ni,dropdownRender:Jn}=Ae,Mn=Me(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),In=fe("dropdown",xe),ie=`${In}-button`,[z,k]=(0,te.Z)(In),j={menu:re,arrow:lt,autoFocus:We,align:kt,disabled:ee,trigger:ee?[]:xt,onOpenChange:Cn,getPopupContainer:le||Pe,mouseEnterDelay:sn,mouseLeaveDelay:Ft,overlayClassName:oi,overlayStyle:On,destroyPopupOnHide:ni,dropdownRender:Jn},{compactSize:X,compactItemClassnames:T}=(0,ae.ri)(In,pe),_e=O()(ie,T,Ye,k);"overlay"in Ae&&(j.overlay=Pt),"open"in Ae&&(j.open=Ct),"placement"in Ae?j.placement=Qe:j.placement=pe==="rtl"?"bottomLeft":"bottomRight";const It=B.createElement(F.ZP,{type:me,danger:ke,disabled:ee,loading:Ne,onClick:Ie,htmlType:Le,href:ce,title:Vt},Je),$e=B.createElement(F.ZP,{type:me,danger:ke,icon:Ht}),[De,gt]=St([It,$e]);return z(B.createElement(de.Z.Compact,Object.assign({className:_e,size:X,block:!0},Mn),De,B.createElement(v.Z,Object.assign({},j),gt)))};we.__ANT_BUTTON=!0;var Xe=we;const Oe=v.Z;Oe.Button=Xe;var Ce=Oe},47211:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Me}});var v=h(17313),I=h(13826),O=h(92899),B=h(29878),G=h(19447),F=h(83116),M=h(37613),ae=we=>{const{componentCls:Xe,menuCls:Oe,colorError:Ce,colorTextLightSolid:Ae}=we,Pe=`${Oe}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${Oe} ${Pe}`]:{[`&${Pe}-danger:not(${Pe}-disabled)`]:{color:Ce,"&:hover":{color:Ae,backgroundColor:Ce}}}}}};const te=we=>{const{componentCls:Xe,menuCls:Oe,zIndexPopup:Ce,dropdownArrowDistance:Ae,sizePopupArrow:Pe,antCls:fe,iconCls:pe,motionDurationMid:xe,dropdownPaddingVertical:me,fontSize:ke,dropdownEdgeChildPadding:ee,colorTextDisabled:Ne,fontSizeIcon:Ie,controlPaddingHorizontal:Le,colorBgElevated:Je}=we;return[{[Xe]:Object.assign(Object.assign({},(0,v.Wf)(we)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ce,display:"block","&::before":{position:"absolute",insetBlock:-Ae+Pe/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${fe}-btn`]:{[`& > ${pe}-down, & > ${fe}-btn-icon > ${pe}-down`]:{fontSize:Ie}},[`${Xe}-wrap`]:{position:"relative",[`${fe}-btn > ${pe}-down`]:{fontSize:Ie},[`${pe}-down::before`]:{transition:`transform ${xe}`}},[`${Xe}-wrap-open`]:{[`${pe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${fe}-slide-down-enter${fe}-slide-down-enter-active${Xe}-placement-bottomLeft, + &${fe}-slide-down-appear${fe}-slide-down-appear-active${Xe}-placement-bottomLeft, + &${fe}-slide-down-enter${fe}-slide-down-enter-active${Xe}-placement-bottom, + &${fe}-slide-down-appear${fe}-slide-down-appear-active${Xe}-placement-bottom, + &${fe}-slide-down-enter${fe}-slide-down-enter-active${Xe}-placement-bottomRight, + &${fe}-slide-down-appear${fe}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:I.fJ},[`&${fe}-slide-up-enter${fe}-slide-up-enter-active${Xe}-placement-topLeft, + &${fe}-slide-up-appear${fe}-slide-up-appear-active${Xe}-placement-topLeft, + &${fe}-slide-up-enter${fe}-slide-up-enter-active${Xe}-placement-top, + &${fe}-slide-up-appear${fe}-slide-up-appear-active${Xe}-placement-top, + &${fe}-slide-up-enter${fe}-slide-up-enter-active${Xe}-placement-topRight, + &${fe}-slide-up-appear${fe}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:I.Qt},[`&${fe}-slide-down-leave${fe}-slide-down-leave-active${Xe}-placement-bottomLeft, + &${fe}-slide-down-leave${fe}-slide-down-leave-active${Xe}-placement-bottom, + &${fe}-slide-down-leave${fe}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:I.Uw},[`&${fe}-slide-up-leave${fe}-slide-up-leave-active${Xe}-placement-topLeft, + &${fe}-slide-up-leave${fe}-slide-up-leave-active${Xe}-placement-top, + &${fe}-slide-up-leave${fe}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:I.ly}})},(0,G.ZP)(we,{colorBg:Je,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${Oe}`]:{position:"relative",margin:0},[`${Oe}-submenu-popup`]:{position:"absolute",zIndex:Ce,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[Oe]:Object.assign(Object.assign({padding:ee,listStyleType:"none",backgroundColor:Je,backgroundClip:"padding-box",borderRadius:we.borderRadiusLG,outline:"none",boxShadow:we.boxShadowSecondary},(0,v.Qy)(we)),{[`${Oe}-item-group-title`]:{padding:`${me}px ${Le}px`,color:we.colorTextDescription,transition:`all ${xe}`},[`${Oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Oe}-item-icon`]:{minWidth:ke,marginInlineEnd:we.marginXS,fontSize:we.fontSizeSM},[`${Oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${xe}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Oe}-item, ${Oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${me}px ${Le}px`,color:we.colorText,fontWeight:"normal",fontSize:ke,lineHeight:we.lineHeight,cursor:"pointer",transition:`all ${xe}`,borderRadius:we.borderRadiusSM,"&:hover, &-active":{backgroundColor:we.controlItemBgHover}},(0,v.Qy)(we)),{"&-selected":{color:we.colorPrimary,backgroundColor:we.controlItemBgActive,"&:hover, &-active":{backgroundColor:we.controlItemBgActiveHover}},"&-disabled":{color:Ne,cursor:"not-allowed","&:hover":{color:Ne,backgroundColor:Je,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${we.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:we.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:we.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:we.colorTextDescription,fontSize:Ie,fontStyle:"normal"}}}),[`${Oe}-item-group-list`]:{margin:`0 ${we.marginXS}px`,padding:0,listStyle:"none"},[`${Oe}-submenu-title`]:{paddingInlineEnd:Le+we.fontSizeSM},[`${Oe}-submenu-vertical`]:{position:"relative"},[`${Oe}-submenu${Oe}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:Ne,backgroundColor:Je,cursor:"not-allowed"}},[`${Oe}-submenu-selected ${Xe}-menu-submenu-title`]:{color:we.colorPrimary}})}},[(0,I.oN)(we,"slide-up"),(0,I.oN)(we,"slide-down"),(0,O.Fm)(we,"move-up"),(0,O.Fm)(we,"move-down"),(0,B._y)(we,"zoom-big")]]};var Me=(0,F.Z)("Dropdown",(we,Xe)=>{let{rootPrefixCls:Oe}=Xe;const{marginXXS:Ce,sizePopupArrow:Ae,controlHeight:Pe,fontSize:fe,lineHeight:pe,paddingXXS:xe,componentCls:me,borderRadiusLG:ke}=we,ee=(Pe-fe*pe)/2,{dropdownArrowOffset:Ne}=(0,G.fS)({contentRadius:ke}),Ie=(0,M.TS)(we,{menuCls:`${me}-menu`,rootPrefixCls:Oe,dropdownArrowDistance:Ae/2+Ce,dropdownArrowOffset:Ne,dropdownPaddingVertical:ee,dropdownEdgeChildPadding:xe});return[te(Ie),ae(Ie)]},we=>({zIndexPopup:we.zIndexPopupBase+50}))},64165:function(Q,C,h){"use strict";h.d(C,{Z:function(){return xe}});var v=h(92310),I=h.n(v),O=h(59301),B=h(36355),G=h(9763),F=h(64993),M=h(88088),ae=()=>{const[,me]=(0,M.Z)(),ee=new F.C(me.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return O.createElement("svg",{style:ee,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},O.createElement("g",{fill:"none",fillRule:"evenodd"},O.createElement("g",{transform:"translate(24 31.67)"},O.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),O.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),O.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),O.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),O.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),O.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),O.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},O.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),O.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Me=()=>{const[,me]=(0,M.Z)(),{colorFill:ke,colorFillTertiary:ee,colorFillQuaternary:Ne,colorBgContainer:Ie}=me,{borderColor:Le,shadowColor:Je,contentColor:Ye}=(0,O.useMemo)(()=>({borderColor:new F.C(ke).onBackground(Ie).toHexShortString(),shadowColor:new F.C(ee).onBackground(Ie).toHexShortString(),contentColor:new F.C(Ne).onBackground(Ie).toHexShortString()}),[ke,ee,Ne,Ie]);return O.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},O.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},O.createElement("ellipse",{fill:Je,cx:"32",cy:"33",rx:"32",ry:"7"}),O.createElement("g",{fillRule:"nonzero",stroke:Le},O.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),O.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ye}))))},we=h(83116),Xe=h(37613);const Oe=me=>{const{componentCls:ke,margin:ee,marginXS:Ne,marginXL:Ie,fontSize:Le,lineHeight:Je}=me;return{[ke]:{marginInline:Ne,fontSize:Le,lineHeight:Je,textAlign:"center",[`${ke}-image`]:{height:me.emptyImgHeight,marginBottom:Ne,opacity:me.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ke}-description`]:{color:me.colorText},[`${ke}-footer`]:{marginTop:ee},"&-normal":{marginBlock:Ie,color:me.colorTextDisabled,[`${ke}-description`]:{color:me.colorTextDisabled},[`${ke}-image`]:{height:me.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:me.colorTextDisabled,[`${ke}-image`]:{height:me.emptyImgHeightSM}}}}};var Ce=(0,we.Z)("Empty",me=>{const{componentCls:ke,controlHeightLG:ee}=me,Ne=(0,Xe.TS)(me,{emptyImgCls:`${ke}-img`,emptyImgHeight:ee*2.5,emptyImgHeightMD:ee,emptyImgHeightSM:ee*.875});return[Oe(Ne)]}),Ae=function(me,ke){var ee={};for(var Ne in me)Object.prototype.hasOwnProperty.call(me,Ne)&&ke.indexOf(Ne)<0&&(ee[Ne]=me[Ne]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ne=Object.getOwnPropertySymbols(me);Ie{var{className:ke,rootClassName:ee,prefixCls:Ne,image:Ie=Pe,description:Le,children:Je,imageStyle:Ye,style:re}=me,lt=Ae(me,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:We,direction:Pt,empty:xt}=O.useContext(B.E_),kt=We("empty",Ne),[Ct,Cn]=Ce(kt),[Qe]=(0,G.Z)("Empty"),le=typeof Le!="undefined"?Le:Qe==null?void 0:Qe.description,ce=typeof le=="string"?le:"empty";let Ht=null;return typeof Ie=="string"?Ht=O.createElement("img",{alt:ce,src:Ie}):Ht=Ie,Ct(O.createElement("div",Object.assign({className:I()(Cn,kt,xt==null?void 0:xt.className,{[`${kt}-normal`]:Ie===fe,[`${kt}-rtl`]:Pt==="rtl"},ke,ee),style:Object.assign(Object.assign({},xt==null?void 0:xt.style),re)},lt),O.createElement("div",{className:`${kt}-image`,style:Ye},Ht),le&&O.createElement("div",{className:`${kt}-description`},le),Je&&O.createElement("div",{className:`${kt}-footer`},Je)))};pe.PRESENTED_IMAGE_DEFAULT=Pe,pe.PRESENTED_IMAGE_SIMPLE=fe;var xe=pe},78241:function(Q,C,h){"use strict";h.d(C,{default:function(){return yi}});var v=h(26407),I=h(92310),O=h.n(I),B=h(77900),G=h(59301),F=h(62892),M=h(32441);function de(ht){const[_n,Vn]=G.useState(ht);return G.useEffect(()=>{const pt=setTimeout(()=>{Vn(ht)},ht.length?0:10);return()=>{clearTimeout(pt)}},[ht]),_n}var ae=h(17313),te=h(29878),Me=h(8378),we=h(37613),Xe=h(83116),Ce=ht=>{const{componentCls:_n}=ht,Vn=`${_n}-show-help`,pt=`${_n}-show-help-item`;return{[Vn]:{transition:`opacity ${ht.motionDurationSlow} ${ht.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[pt]:{overflow:"hidden",transition:`height ${ht.motionDurationSlow} ${ht.motionEaseInOut}, + opacity ${ht.motionDurationSlow} ${ht.motionEaseInOut}, + transform ${ht.motionDurationSlow} ${ht.motionEaseInOut} !important`,[`&${pt}-appear, &${pt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${pt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ae=ht=>({legend:{display:"block",width:"100%",marginBottom:ht.marginLG,padding:0,color:ht.colorTextDescription,fontSize:ht.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${ht.lineWidth}px ${ht.lineType} ${ht.colorBorder}`},label:{fontSize:ht.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${ht.controlOutlineWidth}px ${ht.controlOutline}`},output:{display:"block",paddingTop:15,color:ht.colorText,fontSize:ht.fontSize,lineHeight:ht.lineHeight}}),Pe=(ht,_n)=>{const{formItemCls:Vn}=ht;return{[Vn]:{[`${Vn}-label > label`]:{height:_n},[`${Vn}-control-input`]:{minHeight:_n}}}},fe=ht=>{const{componentCls:_n}=ht;return{[ht.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(ht)),Ae(ht)),{[`${_n}-text`]:{display:"inline-block",paddingInlineEnd:ht.paddingSM},"&-small":Object.assign({},Pe(ht,ht.controlHeightSM)),"&-large":Object.assign({},Pe(ht,ht.controlHeightLG))})}},pe=ht=>{const{formItemCls:_n,iconCls:Vn,componentCls:pt,rootPrefixCls:Ke,labelRequiredMarkColor:vn,labelColor:Fn,labelFontSize:on,labelHeight:Nt,labelColonMarginInlineStart:Ve,labelColonMarginInlineEnd:Ut,itemMarginBottom:Lt}=ht;return{[_n]:Object.assign(Object.assign({},(0,ae.Wf)(ht)),{marginBottom:Lt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${Ke}-row`]:{display:"none"},"&-has-warning":{[`${_n}-split`]:{color:ht.colorError}},"&-has-error":{[`${_n}-split`]:{color:ht.colorWarning}},[`${_n}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${ht.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Nt,color:Fn,fontSize:on,[`> ${Vn}`]:{fontSize:ht.fontSize,verticalAlign:"top"},[`&${_n}-required:not(${_n}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:ht.marginXXS,color:vn,fontSize:ht.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${pt}-hide-required-mark &`]:{display:"none"}},[`${_n}-optional`]:{display:"inline-block",marginInlineStart:ht.marginXXS,color:ht.colorTextDescription,[`${pt}-hide-required-mark &`]:{display:"none"}},[`${_n}-tooltip`]:{color:ht.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ht.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ve,marginInlineEnd:Ut},[`&${_n}-no-colon::after`]:{content:'"\\a0"'}}},[`${_n}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ke}-col-'"]):not([class*="' ${Ke}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ht.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[_n]:{"&-explain, &-extra":{clear:"both",color:ht.colorTextDescription,fontSize:ht.fontSize,lineHeight:ht.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ht.controlHeightSM,transition:`color ${ht.motionDurationMid} ${ht.motionEaseOut}`},"&-explain":{"&-error":{color:ht.colorError},"&-warning":{color:ht.colorWarning}}},[`&-with-help ${_n}-explain`]:{height:"auto",opacity:1},[`${_n}-feedback-icon`]:{fontSize:ht.fontSize,textAlign:"center",visibility:"visible",animationName:te.kr,animationDuration:ht.motionDurationMid,animationTimingFunction:ht.motionEaseOutBack,pointerEvents:"none","&-success":{color:ht.colorSuccess},"&-error":{color:ht.colorError},"&-warning":{color:ht.colorWarning},"&-validating":{color:ht.colorPrimary}}})}},xe=ht=>{const{componentCls:_n,formItemCls:Vn}=ht;return{[`${_n}-horizontal`]:{[`${Vn}-label`]:{flexGrow:0},[`${Vn}-control`]:{flex:"1 1 0",minWidth:0},[`${Vn}-label[class$='-24'], ${Vn}-label[class*='-24 ']`]:{[`& + ${Vn}-control`]:{minWidth:"unset"}}}}},me=ht=>{const{componentCls:_n,formItemCls:Vn}=ht;return{[`${_n}-inline`]:{display:"flex",flexWrap:"wrap",[Vn]:{flex:"none",marginInlineEnd:ht.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Vn}-label, + > ${Vn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Vn}-label`]:{flex:"none"},[`${_n}-text`]:{display:"inline-block"},[`${Vn}-has-feedback`]:{display:"inline-block"}}}}},ke=ht=>({padding:ht.verticalLabelPadding,margin:ht.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ee=ht=>{const{componentCls:_n,formItemCls:Vn,rootPrefixCls:pt}=ht;return{[`${Vn} ${Vn}-label`]:ke(ht),[_n]:{[Vn]:{flexWrap:"wrap",[`${Vn}-label, ${Vn}-control`]:{[`&:not([class*=" ${pt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ne=ht=>{const{componentCls:_n,formItemCls:Vn,rootPrefixCls:pt}=ht;return{[`${_n}-vertical`]:{[Vn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${_n}-item-control`]:{width:"100%"}}},[`${_n}-vertical ${Vn}-label, + .${pt}-col-24${Vn}-label, + .${pt}-col-xl-24${Vn}-label`]:ke(ht),[`@media (max-width: ${ht.screenXSMax}px)`]:[ee(ht),{[_n]:{[`.${pt}-col-xs-24${Vn}-label`]:ke(ht)}}],[`@media (max-width: ${ht.screenSMMax}px)`]:{[_n]:{[`.${pt}-col-sm-24${Vn}-label`]:ke(ht)}},[`@media (max-width: ${ht.screenMDMax}px)`]:{[_n]:{[`.${pt}-col-md-24${Vn}-label`]:ke(ht)}},[`@media (max-width: ${ht.screenLGMax}px)`]:{[_n]:{[`.${pt}-col-lg-24${Vn}-label`]:ke(ht)}}}},Ie=(ht,_n)=>(0,we.TS)(ht,{formItemCls:`${ht.componentCls}-item`,rootPrefixCls:_n});var Le=(0,Xe.Z)("Form",(ht,_n)=>{let{rootPrefixCls:Vn}=_n;const pt=Ie(ht,Vn);return[fe(pt),pe(pt),Ce(pt),xe(pt),me(pt),Ne(pt),(0,Me.Z)(pt),te.kr]},ht=>({labelRequiredMarkColor:ht.colorError,labelColor:ht.colorTextHeading,labelFontSize:ht.fontSize,labelHeight:ht.controlHeight,labelColonMarginInlineStart:ht.marginXXS/2,labelColonMarginInlineEnd:ht.marginXS,itemMarginBottom:ht.marginLG,verticalLabelPadding:`0 0 ${ht.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Je=[];function Ye(ht,_n,Vn){let pt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ht=="string"?ht:`${_n}-${pt}`,error:ht,errorStatus:Vn}}var lt=ht=>{let{help:_n,helpStatus:Vn,errors:pt=Je,warnings:Ke=Je,className:vn,fieldId:Fn,onVisibleChanged:on}=ht;const{prefixCls:Nt}=G.useContext(M.Rk),Ve=`${Nt}-item-explain`,[,Ut]=Le(Nt),Lt=(0,G.useMemo)(()=>(0,F.Z)(Nt),[Nt]),Wn=de(pt),ot=de(Ke),fn=G.useMemo(()=>_n!=null?[Ye(_n,"help",Vn)]:[].concat((0,v.Z)(Wn.map((je,L)=>Ye(je,"error","error",L))),(0,v.Z)(ot.map((je,L)=>Ye(je,"warning","warning",L)))),[_n,Vn,Wn,ot]),vt={};return Fn&&(vt.id=`${Fn}_help`),G.createElement(B.default,{motionDeadline:Lt.motionDeadline,motionName:`${Nt}-show-help`,visible:!!fn.length,onVisibleChanged:on},je=>{const{className:L,style:Rt}=je;return G.createElement("div",Object.assign({},vt,{className:O()(Ve,L,vn,Ut),style:Rt,role:"alert"}),G.createElement(B.CSSMotionList,Object.assign({keys:fn},(0,F.Z)(Nt),{motionName:`${Nt}-show-help-item`,component:!1}),Jt=>{const{key:mt,error:xn,errorStatus:An,className:li,style:Nn}=Jt;return G.createElement("div",{key:mt,className:O()(li,{[`${Ve}-${An}`]:An}),style:Nn},xn)}))})},We=h(95013),Pt=h(36355),xt=h(1684),kt=h(52946),Ct=h(19716),Cn=h(16722);const Qe=["parentNode"],le="form_item";function ce(ht){return ht===void 0||ht===!1?[]:Array.isArray(ht)?ht:[ht]}function Ht(ht,_n){if(!ht.length)return;const Vn=ht.join("_");return _n?`${_n}_${Vn}`:Qe.includes(Vn)?`${le}_${Vn}`:Vn}function Vt(ht,_n,Vn,pt,Ke,vn){let Fn=pt;return vn!==void 0?Fn=vn:Vn.validating?Fn="validating":ht.length?Fn="error":_n.length?Fn="warning":(Vn.touched||Ke&&Vn.validated)&&(Fn="success"),Fn}function St(ht){return ce(ht).join("_")}function sn(ht){const[_n]=(0,We.useForm)(),Vn=G.useRef({}),pt=G.useMemo(()=>ht!=null?ht:Object.assign(Object.assign({},_n),{__INTERNAL__:{itemRef:Ke=>vn=>{const Fn=St(Ke);vn?Vn.current[Fn]=vn:delete Vn.current[Fn]}},scrollToField:function(Ke){let vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Fn=ce(Ke),on=Ht(Fn,pt.__INTERNAL__.name),Nt=on?document.getElementById(on):null;Nt&&(0,Cn.Z)(Nt,Object.assign({scrollMode:"if-needed",block:"nearest"},vn))},getFieldInstance:Ke=>{const vn=St(Ke);return Vn.current[vn]}}),[ht,_n]);return[pt]}var Ft=h(28726),oi=function(ht,_n){var Vn={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&_n.indexOf(pt)<0&&(Vn[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,pt=Object.getOwnPropertySymbols(ht);Ke{const Vn=G.useContext(xt.Z),{getPrefixCls:pt,direction:Ke,form:vn}=G.useContext(Pt.E_),{prefixCls:Fn,className:on,rootClassName:Nt,size:Ve,disabled:Ut=Vn,form:Lt,colon:Wn,labelAlign:ot,labelWrap:fn,labelCol:vt,wrapperCol:je,hideRequiredMark:L,layout:Rt="horizontal",scrollToFirstError:Jt,requiredMark:mt,onFinishFailed:xn,name:An,style:li,feedbackIcons:Nn}=ht,st=oi(ht,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Mi=(0,Ct.Z)(Ve),Yi=G.useContext(Ft.Z),Yt=(0,G.useMemo)(()=>mt!==void 0?mt:vn&&vn.requiredMark!==void 0?vn.requiredMark:!L,[L,mt,vn]),zi=Wn!=null?Wn:vn==null?void 0:vn.colon,q=pt("form",Fn),[oe,Hn]=Le(q),Be=O()(q,`${q}-${Rt}`,{[`${q}-hide-required-mark`]:Yt===!1,[`${q}-rtl`]:Ke==="rtl",[`${q}-${Mi}`]:Mi},Hn,vn==null?void 0:vn.className,on,Nt),[Tt]=sn(Lt),{__INTERNAL__:fi}=Tt;fi.name=An;const Ln=(0,G.useMemo)(()=>({name:An,labelAlign:ot,labelCol:vt,labelWrap:fn,wrapperCol:je,vertical:Rt==="vertical",colon:zi,requiredMark:Yt,itemRef:fi.itemRef,form:Tt,feedbackIcons:Nn}),[An,ot,vt,je,Rt,zi,Yt,Tt,Nn]);G.useImperativeHandle(_n,()=>Tt);const Fi=(xi,Xt)=>{if(xi){let Li={block:"nearest"};typeof xi=="object"&&(Li=xi),Tt.scrollToField(Xt,Li)}},qt=xi=>{if(xn==null||xn(xi),xi.errorFields.length){const Xt=xi.errorFields[0].name;if(Jt!==void 0){Fi(Jt,Xt);return}vn&&vn.scrollToFirstError!==void 0&&Fi(vn.scrollToFirstError,Xt)}};return oe(G.createElement(xt.n,{disabled:Ut},G.createElement(kt.q,{size:Mi},G.createElement(M.RV,Object.assign({},{validateMessages:Yi}),G.createElement(M.q3.Provider,{value:Ln},G.createElement(We.default,Object.assign({id:An},st,{name:An,onFinishFailed:qt,form:Tt,style:Object.assign(Object.assign({},vn==null?void 0:vn.style),li),className:Be})))))))};var Jn=G.forwardRef(On),Mn=h(41799),In=h(8654),ie=h(92343),z=h(11592);function k(ht){if(typeof ht=="function")return ht;const _n=(0,z.Z)(ht);return _n.length<=1?_n[0]:_n}const j=()=>{const{status:ht,errors:_n=[],warnings:Vn=[]}=(0,G.useContext)(M.aM);return{status:ht,errors:_n,warnings:Vn}};j.Context=M.aM;var X=j,T=h(16089);function _e(ht){const[_n,Vn]=G.useState(ht),pt=(0,G.useRef)(null),Ke=(0,G.useRef)([]),vn=(0,G.useRef)(!1);G.useEffect(()=>(vn.current=!1,()=>{vn.current=!0,T.Z.cancel(pt.current),pt.current=null}),[]);function Fn(on){vn.current||(pt.current===null&&(Ke.current=[],pt.current=(0,T.Z)(()=>{pt.current=null,Vn(Nt=>{let Ve=Nt;return Ke.current.forEach(Ut=>{Ve=Ut(Ve)}),Ve})})),Ke.current.push(on))}return[_n,Fn]}function It(){const{itemRef:ht}=G.useContext(M.q3),_n=G.useRef({});function Vn(pt,Ke){const vn=Ke&&typeof Ke=="object"&&Ke.ref,Fn=pt.join("_");return(_n.current.name!==Fn||_n.current.originRef!==vn)&&(_n.current.name=Fn,_n.current.originRef=vn,_n.current.ref=(0,In.sQ)(ht(pt),vn)),_n.current.ref}return Vn}var $e=h(29194),De=h(34280),gt=h(2738),ut=h(27382),tt=h(37028);const Et=ht=>{const{formItemCls:_n}=ht;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${_n}-control`]:{display:"flex"}}}};var pn=(0,Xe.b)(["Form","item-item"],(ht,_n)=>{let{rootPrefixCls:Vn}=_n;const pt=Ie(ht,Vn);return[Et(pt)]}),Kt=ht=>{const{prefixCls:_n,status:Vn,wrapperCol:pt,children:Ke,errors:vn,warnings:Fn,_internalItemRender:on,extra:Nt,help:Ve,fieldId:Ut,marginBottom:Lt,onErrorVisibleChanged:Wn}=ht,ot=`${_n}-item`,fn=G.useContext(M.q3),vt=pt||fn.wrapperCol||{},je=O()(`${ot}-control`,vt.className),L=G.useMemo(()=>Object.assign({},fn),[fn]);delete L.labelCol,delete L.wrapperCol;const Rt=G.createElement("div",{className:`${ot}-control-input`},G.createElement("div",{className:`${ot}-control-input-content`},Ke)),Jt=G.useMemo(()=>({prefixCls:_n,status:Vn}),[_n,Vn]),mt=Lt!==null||vn.length||Fn.length?G.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},G.createElement(M.Rk.Provider,{value:Jt},G.createElement(lt,{fieldId:Ut,errors:vn,warnings:Fn,help:Ve,helpStatus:Vn,className:`${ot}-explain-connected`,onVisibleChanged:Wn})),!!Lt&&G.createElement("div",{style:{width:0,height:Lt}})):null,xn={};Ut&&(xn.id=`${Ut}_extra`);const An=Nt?G.createElement("div",Object.assign({},xn,{className:`${ot}-extra`}),Nt):null,li=on&&on.mark==="pro_table_render"&&on.render?on.render(ht,{input:Rt,errorList:mt,extra:An}):G.createElement(G.Fragment,null,Rt,mt,An);return G.createElement(M.q3.Provider,{value:L},G.createElement(tt.Z,Object.assign({},vt,{className:je}),li),G.createElement(pn,{prefixCls:_n}))},hn=h(61485),an=h(31724),et=h(9763),zt=h(6848),dn=function(ht,_n){var Vn={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&_n.indexOf(pt)<0&&(Vn[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,pt=Object.getOwnPropertySymbols(ht);Ke{let{prefixCls:_n,label:Vn,htmlFor:pt,labelCol:Ke,labelAlign:vn,colon:Fn,required:on,requiredMark:Nt,tooltip:Ve}=ht;var Ut;const[Lt]=(0,et.Z)("Form"),{vertical:Wn,labelAlign:ot,labelCol:fn,labelWrap:vt,colon:je}=G.useContext(M.q3);if(!Vn)return null;const L=Ke||fn||{},Rt=vn||ot,Jt=`${_n}-item-label`,mt=O()(Jt,Rt==="left"&&`${Jt}-left`,L.className,{[`${Jt}-wrap`]:!!vt});let xn=Vn;const An=Fn===!0||je!==!1&&Fn!==!1;An&&!Wn&&typeof Vn=="string"&&Vn.trim()!==""&&(xn=Vn.replace(/[:|:]\s*$/,""));const Nn=rn(Ve);if(Nn){const{icon:Yt=G.createElement(hn.Z,null)}=Nn,zi=dn(Nn,["icon"]),q=G.createElement(zt.Z,Object.assign({},zi),G.cloneElement(Yt,{className:`${_n}-item-tooltip`,title:""}));xn=G.createElement(G.Fragment,null,xn,q)}const st=Nt==="optional",Mi=typeof Nt=="function";Mi?xn=Nt(xn,{required:!!on}):st&&!on&&(xn=G.createElement(G.Fragment,null,xn,G.createElement("span",{className:`${_n}-item-optional`,title:""},(Lt==null?void 0:Lt.optional)||((Ut=an.Z.Form)===null||Ut===void 0?void 0:Ut.optional))));const Yi=O()({[`${_n}-item-required`]:on,[`${_n}-item-required-mark-optional`]:st||Mi,[`${_n}-item-no-colon`]:!An});return G.createElement(tt.Z,Object.assign({},L,{className:mt}),G.createElement("label",{htmlFor:pt,className:Yi,title:typeof Vn=="string"?Vn:""},xn))},yn=h(29679),Bt=h(19248),Si=h(96512),_i=h(58617);const Ii={success:yn.Z,warning:Si.Z,error:Bt.Z,validating:_i.Z};function cn(ht){let{children:_n,errors:Vn,warnings:pt,hasFeedback:Ke,validateStatus:vn,prefixCls:Fn,meta:on,noStyle:Nt}=ht;const Ve=`${Fn}-item`,{feedbackIcons:Ut}=G.useContext(M.q3),Lt=Vt(Vn,pt,on,null,!!Ke,vn),{isFormItemInput:Wn,status:ot}=G.useContext(M.aM),fn=G.useMemo(()=>{var vt;let je;if(Ke){const Jt=Ke!==!0&&Ke.icons||Ut,mt=Lt&&((vt=Jt==null?void 0:Jt({status:Lt,errors:Vn,warnings:pt}))===null||vt===void 0?void 0:vt[Lt]),xn=Lt&&Ii[Lt];je=mt!==!1&&xn?G.createElement("span",{className:O()(`${Ve}-feedback-icon`,`${Ve}-feedback-icon-${Lt}`)},mt||G.createElement(xn,null)):null}let L=!0,Rt=Lt||"";return Nt&&(L=Wn,Rt=(Lt!=null?Lt:ot)||""),{status:Rt,errors:Vn,warnings:pt,hasFeedback:!!Ke,feedbackIcon:je,isFormItemInput:L}},[Lt,Ke,Nt,Wn,ot]);return G.createElement(M.aM.Provider,{value:fn},_n)}var fr=function(ht,_n){var Vn={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&_n.indexOf(pt)<0&&(Vn[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,pt=Object.getOwnPropertySymbols(ht);Ke{if(Nn&&mt.current){const Hn=getComputedStyle(mt.current);Yi(parseInt(Hn.marginBottom,10))}},[Nn,st]);const Yt=Hn=>{Hn||Yi(null)},q=function(){let Hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Be=Hn?xn:Ve.errors,Tt=Hn?An:Ve.warnings;return Vt(Be,Tt,Ve,"",!!Ut,Nt)}(),oe=O()(Rt,Vn,pt,{[`${Rt}-with-help`]:li||xn.length||An.length,[`${Rt}-has-feedback`]:q&&Ut,[`${Rt}-has-success`]:q==="success",[`${Rt}-has-warning`]:q==="warning",[`${Rt}-has-error`]:q==="error",[`${Rt}-is-validating`]:q==="validating",[`${Rt}-hidden`]:Lt});return G.createElement("div",{className:oe,style:Ke,ref:mt},G.createElement(ut.Z,Object.assign({className:`${Rt}-row`},(0,gt.Z)(L,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),G.createElement(Un,Object.assign({htmlFor:ot},ht,{requiredMark:Jt,required:fn!=null?fn:vt,prefixCls:_n})),G.createElement(Kt,Object.assign({},ht,Ve,{errors:xn,warnings:An,prefixCls:_n,status:q,help:vn,marginBottom:Mi,onErrorVisibleChanged:Yt}),G.createElement(M.qI.Provider,{value:je},G.createElement(cn,{prefixCls:_n,meta:Ve,errors:Ve.errors,warnings:Ve.warnings,hasFeedback:Ut,validateStatus:q},Wn)))),!!Mi&&G.createElement("div",{className:`${Rt}-margin-offset`,style:{marginBottom:-Mi}}))}const ei="__SPLIT__",Tr=null,ur=G.memo(ht=>{let{children:_n}=ht;return _n},(ht,_n)=>ht.value===_n.value&&ht.update===_n.update&&ht.childProps.length===_n.childProps.length&&ht.childProps.every((Vn,pt)=>Vn===_n.childProps[pt]));function U(ht){return ht!=null}function mr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Er(ht){const{name:_n,noStyle:Vn,className:pt,dependencies:Ke,prefixCls:vn,shouldUpdate:Fn,rules:on,children:Nt,required:Ve,label:Ut,messageVariables:Lt,trigger:Wn="onChange",validateTrigger:ot,hidden:fn,help:vt}=ht,{getPrefixCls:je}=G.useContext(Pt.E_),{name:L}=G.useContext(M.q3),Rt=k(Nt),Jt=typeof Rt=="function",mt=G.useContext(M.qI),{validateTrigger:xn}=G.useContext(We.FieldContext),An=ot!==void 0?ot:xn,li=U(_n),Nn=je("form",vn),[st,Mi]=Le(Nn),Yi=G.useContext(We.ListContext),Yt=G.useRef(),[zi,q]=_e({}),[oe,Hn]=(0,Mn.Z)(()=>mr()),Be=Xt=>{const Li=Yi==null?void 0:Yi.getKey(Xt.name);if(Hn(Xt.destroy?mr():Xt,!0),Vn&&vt!==!1&&mt){let Yr=Xt.name;if(Xt.destroy)Yr=Yt.current||Yr;else if(Li!==void 0){const[Mt,Qr]=Li;Yr=[Mt].concat((0,v.Z)(Qr)),Yt.current=Yr}mt(Xt,Yr)}},Tt=(Xt,Li)=>{q(Yr=>{const Mt=Object.assign({},Yr),tn=[].concat((0,v.Z)(Xt.name.slice(0,-1)),(0,v.Z)(Li)).join(ei);return Xt.destroy?delete Mt[tn]:Mt[tn]=Xt,Mt})},[fi,Ln]=G.useMemo(()=>{const Xt=(0,v.Z)(oe.errors),Li=(0,v.Z)(oe.warnings);return Object.values(zi).forEach(Yr=>{Xt.push.apply(Xt,(0,v.Z)(Yr.errors||[])),Li.push.apply(Li,(0,v.Z)(Yr.warnings||[]))}),[Xt,Li]},[zi,oe.errors,oe.warnings]),Fi=It();function qt(Xt,Li,Yr){return Vn&&!fn?G.createElement(cn,{prefixCls:Nn,hasFeedback:ht.hasFeedback,validateStatus:ht.validateStatus,meta:oe,errors:fi,warnings:Ln,noStyle:!0},Xt):G.createElement(Xi,Object.assign({key:"row"},ht,{className:O()(pt,Mi),prefixCls:Nn,fieldId:Li,isRequired:Yr,errors:fi,warnings:Ln,meta:oe,onSubItemMetaChange:Tt}),Xt)}if(!li&&!Jt&&!Ke)return st(qt(Rt));let xi={};return typeof Ut=="string"?xi.label=Ut:_n&&(xi.label=String(_n)),Lt&&(xi=Object.assign(Object.assign({},xi),Lt)),st(G.createElement(We.Field,Object.assign({},ht,{messageVariables:xi,trigger:Wn,validateTrigger:An,onMetaChange:Be}),(Xt,Li,Yr)=>{const Mt=ce(_n).length&&Li?Li.name:[],Qr=Ht(Mt,L),tn=Ve!==void 0?Ve:!!(on&&on.some(or=>{if(or&&typeof or=="object"&&or.required&&!or.warningOnly)return!0;if(typeof or=="function"){const tr=or(Yr);return tr&&tr.required&&!tr.warningOnly}return!1})),Oi=Object.assign({},Xt);let Ei=null;if(Array.isArray(Rt)&&li)Ei=Rt;else if(!(Jt&&(!(Fn||Ke)||li))){if(!(Ke&&!Jt&&!li))if((0,ie.l$)(Rt)){const or=Object.assign(Object.assign({},Rt.props),Oi);if(or.id||(or.id=Qr),vt||fi.length>0||Ln.length>0||ht.extra){const he=[];(vt||fi.length>0)&&he.push(`${Qr}_help`),ht.extra&&he.push(`${Qr}_extra`),or["aria-describedby"]=he.join(" ")}fi.length>0&&(or["aria-invalid"]="true"),tn&&(or["aria-required"]="true"),(0,In.Yr)(Rt)&&(or.ref=Fi(Mt,Rt)),new Set([].concat((0,v.Z)(ce(Wn)),(0,v.Z)(ce(An)))).forEach(he=>{or[he]=function(){for(var gr,br,cr,Br,Zi,Ri=arguments.length,Ai=new Array(Ri),hr=0;hr{var{prefixCls:_n,children:Vn}=ht,pt=xo(ht,["prefixCls","children"]);const{getPrefixCls:Ke}=G.useContext(Pt.E_),vn=Ke("form",_n),Fn=G.useMemo(()=>({prefixCls:vn,status:"error"}),[vn]);return G.createElement(We.List,Object.assign({},pt),(on,Nt,Ve)=>G.createElement(M.Rk.Provider,{value:Fn},Vn(on.map(Ut=>Object.assign(Object.assign({},Ut),{fieldKey:Ut.key})),Nt,{errors:Ve.errors,warnings:Ve.warnings})))};function rr(){const{form:ht}=(0,G.useContext)(M.q3);return ht}const Bi=Jn;Bi.Item=qr,Bi.List=no,Bi.ErrorList=lt,Bi.useForm=sn,Bi.useFormInstance=rr,Bi.useWatch=We.useWatch,Bi.Provider=M.RV,Bi.create=()=>{};var yi=Bi},8628:function(Q,C,h){"use strict";var v=h(59301),I=h(34280),O=h(56762),B=h(69507);function G(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const M=(0,v.useRef)({}),de=(0,O.Z)(),ae=(0,B.ZP)();return(0,I.Z)(()=>{const te=ae.subscribe(Me=>{M.current=Me,F&&de()});return()=>ae.unsubscribe(te)},[]),M.current}C.Z=G},11611:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Fn}});var v=h(59301),I=h(15277),O=h(92310),B=h.n(O),G=h(92413),F=h(33708),M=h(400),de=h(33606),ae=h(39559),te=h(37061),Me=h(55468),we=h(18929),Xe=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],Oe=v.createContext(null),Ce=0;function Ae(on,Nt){var Ve=v.useState(function(){return Ce+=1,String(Ce)}),Ut=(0,de.Z)(Ve,1),Lt=Ut[0],Wn=v.useContext(Oe),ot={data:Nt,canPreview:on};return v.useEffect(function(){if(Wn)return Wn.register(Lt,ot)},[]),v.useEffect(function(){Wn&&Wn.register(Lt,ot)},[on,Nt]),Lt}function Pe(on){return new Promise(function(Nt){var Ve=document.createElement("img");Ve.onerror=function(){return Nt(!1)},Ve.onload=function(){return Nt(!0)},Ve.src=on})}function fe(on){var Nt=on.src,Ve=on.isCustomPlaceholder,Ut=on.fallback,Lt=(0,v.useState)(Ve?"loading":"normal"),Wn=(0,de.Z)(Lt,2),ot=Wn[0],fn=Wn[1],vt=(0,v.useRef)(!1),je=ot==="error";(0,v.useEffect)(function(){Pe(Nt).then(function(mt){mt||fn("error")})},[Nt]),(0,v.useEffect)(function(){Ve&&!vt.current?fn("loading"):je&&fn("normal")},[Nt]);var L=function(){fn("normal")},Rt=function(xn){vt.current=!1,ot==="loading"&&xn!=null&&xn.complete&&(xn.naturalWidth||xn.naturalHeight)&&(vt.current=!0,L())},Jt=je&&Ut?{src:Ut}:{onLoad:L,src:Nt};return[Rt,Jt,ot]}var pe=h(86923),xe=h(8224),me=h(10228),ke=h(48736);function ee(on,Nt,Ve,Ut){var Lt=Nt+Ve,Wn=(Ve-Ut)/2;if(Ve>Ut){if(Nt>0)return(0,M.Z)({},on,Wn);if(Nt<0&&LtUt)return(0,M.Z)({},on,Nt<0?Wn:-Wn);return{}}function Ne(on,Nt,Ve,Ut){var Lt=(0,Me.g1)(),Wn=Lt.width,ot=Lt.height,fn=null;return on<=Wn&&Nt<=ot?fn={x:0,y:0}:(on>Wn||Nt>ot)&&(fn=(0,F.Z)((0,F.Z)({},ee("x",Ve,on,Wn)),ee("y",Ut,Nt,ot))),fn}var Ie=h(13697),Le=h(16089),Je={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ye(on,Nt,Ve,Ut){var Lt=(0,v.useRef)(null),Wn=(0,v.useRef)([]),ot=(0,v.useState)(Je),fn=(0,de.Z)(ot,2),vt=fn[0],je=fn[1],L=function(xn){je(Je),Ut&&!(0,Ie.Z)(Je,vt)&&Ut({transform:Je,action:xn})},Rt=function(xn,An){Lt.current===null&&(Wn.current=[],Lt.current=(0,Le.Z)(function(){je(function(li){var Nn=li;return Wn.current.forEach(function(st){Nn=(0,F.Z)((0,F.Z)({},Nn),st)}),Lt.current=null,Ut==null||Ut({transform:Nn,action:An}),Nn})})),Wn.current.push((0,F.Z)((0,F.Z)({},vt),xn))},Jt=function(xn,An,li,Nn){var st=on.current,Mi=st.width,Yi=st.height,Yt=st.offsetWidth,zi=st.offsetHeight,q=st.offsetLeft,oe=st.offsetTop,Hn=xn,Be=vt.scale*xn;Be>Ve?(Hn=Ve/vt.scale,Be=Ve):Be1,he=tr&&st>=1,gr=Ye(Mt,q,Hn,Xt),br=gr.transform,cr=gr.resetTransform,Br=gr.updateTransform,Zi=gr.dispatchZoomChange,Ri=(0,v.useState)(!0),Ai=(0,de.Z)(Ri,2),hr=Ai[0],Ki=Ai[1],Lr=br.rotate,Wr=br.scale,eo=br.x,Lo=br.y,pi=B()((0,M.Z)({},"".concat(Ve,"-moving"),Ei));(0,v.useEffect)(function(){hr||Ki(!0)},[hr]);var pa=function(){cr("close")},Uo=function(){Zi(xt+Yt,"zoomIn")},oa=function(){Zi(xt/(xt+Yt),"zoomOut")},ma=function(){Br({rotate:Lr+90},"rotateRight")},$a=function(){Br({rotate:Lr-90},"rotateLeft")},is=function(){Br({flipX:!br.flipX},"flipX")},ka=function(){Br({flipY:!br.flipY},"flipY")},ss=function(Ot){Ot==null||Ot.preventDefault(),Ot==null||Ot.stopPropagation(),li>0&&(Ki(!1),cr("prev"),Li==null||Li(li-1,li))},Ua=function(Ot){Ot==null||Ot.preventDefault(),Ot==null||Ot.stopPropagation(),li0&&(xa=xt/xa),Zi(xa,"wheel",Ot.clientX,Ot.clientY)}},nl=function(Ot){!je||!Zn||(Ot.keyCode===me.Z.LEFT?ss():Ot.keyCode===me.Z.RIGHT&&Ua())},uo=function(Ot){je&&(Wr!==1?Br({x:0,y:0,scale:1},"doubleClick"):Zi(xt+Yt,"doubleClick",Ot.clientX,Ot.clientY))};(0,v.useEffect)(function(){var go,Ot,Pr,co;if(fn){Pr=(0,xe.Z)(window,"mouseup",Go,!1),co=(0,xe.Z)(window,"mousemove",Pa,!1);try{window.top!==window.self&&(go=(0,xe.Z)(window.top,"mouseup",Go,!1),Ot=(0,xe.Z)(window.top,"mousemove",Pa,!1))}catch(xa){(0,ke.Kp)(!1,"[rc-image] ".concat(xa))}}return function(){var xa,xr,wn,ar;(xa=Pr)===null||xa===void 0||xa.remove(),(xr=co)===null||xr===void 0||xr.remove(),(wn=go)===null||wn===void 0||wn.remove(),(ar=Ot)===null||ar===void 0||ar.remove()}},[je,Ei,eo,Lo,Lr,fn]),(0,v.useEffect)(function(){var go=(0,xe.Z)(window,"keydown",nl,!1);return function(){go.remove()}},[je,Zn,li]);var No=v.createElement(Qe,(0,G.Z)({},qt,{width:Nt.width,height:Nt.height,imgRef:Mt,className:"".concat(Ve,"-img"),alt:Lt,style:{transform:"translate3d(".concat(br.x,"px, ").concat(br.y,"px, 0) scale3d(").concat(br.flipX?"-":"").concat(Wr,", ").concat(br.flipY?"-":"").concat(Wr,", 1) rotate(").concat(Lr,"deg)"),transitionDuration:!hr&&"0s"},fallback:Wn,src:Ut,onWheel:ql,onMouseDown:Zt,onDoubleClick:uo}));return v.createElement(v.Fragment,null,v.createElement(pe.Z,(0,G.Z)({transitionName:Tt,maskTransitionName:Ln,closable:!1,keyboard:!0,prefixCls:Ve,onClose:vt,visible:je,wrapClassName:pi,rootClassName:Jt,getContainer:xn},Yr,{afterClose:pa}),v.createElement("div",{className:"".concat(Ve,"-img-wrapper")},Fi?Fi(No,(0,F.Z)({transform:br},tr?{current:li}:{})):No)),v.createElement(Pt,{visible:je,transform:br,maskTransitionName:Ln,closeIcon:mt,getContainer:xn,prefixCls:Ve,rootClassName:Jt,icons:Rt,countRender:Mi,showSwitch:Zn,showProgress:he,current:li,count:st,scale:Wr,minScale:q,maxScale:Hn,toolbarRender:xi,onSwitchLeft:ss,onSwitchRight:Ua,onZoomIn:Uo,onZoomOut:oa,onRotateRight:ma,onRotateLeft:$a,onFlipX:is,onFlipY:ka,onClose:vt}))},ce=le,Ht=h(26407);function Vt(on){var Nt=v.useState({}),Ve=(0,de.Z)(Nt,2),Ut=Ve[0],Lt=Ve[1],Wn=v.useCallback(function(fn,vt){return Lt(function(je){return(0,F.Z)((0,F.Z)({},je),{},(0,M.Z)({},fn,vt))}),function(){Lt(function(je){var L=(0,F.Z)({},je);return delete L[fn],L})}},[]),ot=v.useMemo(function(){return on?on.map(function(fn){if(typeof fn=="string")return{data:{src:fn}};var vt={};return Object.keys(fn).forEach(function(je){["src"].concat((0,Ht.Z)(Xe)).includes(je)&&(vt[je]=fn[je])}),{data:vt}}):Object.keys(Ut).reduce(function(fn,vt){var je=Ut[vt],L=je.canPreview,Rt=je.data;return L&&fn.push({data:Rt,id:vt}),fn},[])},[on,Ut]);return[ot,Wn]}var St=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],sn=["src"],Ft=function(Nt){var Ve,Ut=Nt.previewPrefixCls,Lt=Ut===void 0?"rc-image-preview":Ut,Wn=Nt.children,ot=Nt.icons,fn=ot===void 0?{}:ot,vt=Nt.items,je=Nt.preview,L=Nt.fallback,Rt=(0,ae.Z)(je)==="object"?je:{},Jt=Rt.visible,mt=Rt.onVisibleChange,xn=Rt.getContainer,An=Rt.current,li=Rt.movable,Nn=Rt.minScale,st=Rt.maxScale,Mi=Rt.countRender,Yi=Rt.closeIcon,Yt=Rt.onChange,zi=Rt.onTransform,q=Rt.toolbarRender,oe=Rt.imageRender,Hn=(0,te.Z)(Rt,St),Be=Vt(vt),Tt=(0,de.Z)(Be,2),fi=Tt[0],Ln=Tt[1],Fi=(0,we.Z)(0,{value:An}),qt=(0,de.Z)(Fi,2),xi=qt[0],Xt=qt[1],Li=(0,v.useState)(!1),Yr=(0,de.Z)(Li,2),Mt=Yr[0],Qr=Yr[1],tn=((Ve=fi[xi])===null||Ve===void 0?void 0:Ve.data)||{},Oi=tn.src,Ei=(0,te.Z)(tn,sn),or=(0,we.Z)(!!Jt,{value:Jt,onChange:function(Lr,Wr){mt==null||mt(Lr,Wr,xi)}}),tr=(0,de.Z)(or,2),Zn=tr[0],he=tr[1],gr=(0,v.useState)(null),br=(0,de.Z)(gr,2),cr=br[0],Br=br[1],Zi=v.useCallback(function(Ki,Lr,Wr){var eo=fi.findIndex(function(Lo){return Lo.id===Ki});he(!0),Br({x:Lr,y:Wr}),Xt(eo<0?0:eo),Qr(!0)},[fi]);v.useEffect(function(){Zn?Mt||Xt(0):Qr(!1)},[Zn]);var Ri=function(Lr,Wr){Xt(Lr),Yt==null||Yt(Lr,Wr)},Ai=function(){he(!1),Br(null)},hr=v.useMemo(function(){return{register:Ln,onPreview:Zi}},[Ln,Zi]);return v.createElement(Oe.Provider,{value:hr},Wn,v.createElement(ce,(0,G.Z)({"aria-hidden":!Zn,movable:li,visible:Zn,prefixCls:Lt,closeIcon:Yi,onClose:Ai,mousePosition:cr,imgCommonProps:Ei,src:Oi,fallback:L,icons:fn,minScale:Nn,maxScale:st,getContainer:xn,current:xi,count:fi.length,countRender:Mi,onTransform:zi,toolbarRender:q,imageRender:oe,onChange:Ri},Hn)))},oi=Ft,On=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ni=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Jn=function(Nt){var Ve=Nt.src,Ut=Nt.alt,Lt=Nt.onPreviewClose,Wn=Nt.prefixCls,ot=Wn===void 0?"rc-image":Wn,fn=Nt.previewPrefixCls,vt=fn===void 0?"".concat(ot,"-preview"):fn,je=Nt.placeholder,L=Nt.fallback,Rt=Nt.width,Jt=Nt.height,mt=Nt.style,xn=Nt.preview,An=xn===void 0?!0:xn,li=Nt.className,Nn=Nt.onClick,st=Nt.onError,Mi=Nt.wrapperClassName,Yi=Nt.wrapperStyle,Yt=Nt.rootClassName,zi=(0,te.Z)(Nt,On),q=je&&je!==!0,oe=(0,ae.Z)(An)==="object"?An:{},Hn=oe.src,Be=oe.visible,Tt=Be===void 0?void 0:Be,fi=oe.onVisibleChange,Ln=fi===void 0?Lt:fi,Fi=oe.getContainer,qt=Fi===void 0?void 0:Fi,xi=oe.mask,Xt=oe.maskClassName,Li=oe.movable,Yr=oe.icons,Mt=oe.scaleStep,Qr=oe.minScale,tn=oe.maxScale,Oi=oe.imageRender,Ei=oe.toolbarRender,or=(0,te.Z)(oe,ni),tr=Hn!=null?Hn:Ve,Zn=(0,we.Z)(!!Tt,{value:Tt,onChange:Ln}),he=(0,de.Z)(Zn,2),gr=he[0],br=he[1],cr=fe({src:Ve,isCustomPlaceholder:q,fallback:L}),Br=(0,de.Z)(cr,3),Zi=Br[0],Ri=Br[1],Ai=Br[2],hr=(0,v.useState)(null),Ki=(0,de.Z)(hr,2),Lr=Ki[0],Wr=Ki[1],eo=(0,v.useContext)(Oe),Lo=!!An,pi=function(){br(!1),Wr(null)},pa=B()(ot,Mi,Yt,(0,M.Z)({},"".concat(ot,"-error"),Ai==="error")),Uo=(0,v.useMemo)(function(){var is={};return Xe.forEach(function(ka){Nt[ka]!==void 0&&(is[ka]=Nt[ka])}),is},Xe.map(function(is){return Nt[is]})),oa=(0,v.useMemo)(function(){return(0,F.Z)((0,F.Z)({},Uo),{},{src:tr})},[tr,Uo]),ma=Ae(Lo,oa),$a=function(ka){var ss=(0,Me.os)(ka.target),Ua=ss.left,Go=ss.top;eo?eo.onPreview(ma,Ua,Go):(Wr({x:Ua,y:Go}),br(!0)),Nn==null||Nn(ka)};return v.createElement(v.Fragment,null,v.createElement("div",(0,G.Z)({},zi,{className:pa,onClick:Lo?$a:Nn,style:(0,F.Z)({width:Rt,height:Jt},Yi)}),v.createElement("img",(0,G.Z)({},Uo,{className:B()("".concat(ot,"-img"),(0,M.Z)({},"".concat(ot,"-img-placeholder"),je===!0),li),style:(0,F.Z)({height:Jt},mt),ref:Zi},Ri,{width:Rt,height:Jt,onError:st})),Ai==="loading"&&v.createElement("div",{"aria-hidden":"true",className:"".concat(ot,"-placeholder")},je),xi&&Lo&&v.createElement("div",{className:B()("".concat(ot,"-mask"),Xt),style:{display:(mt==null?void 0:mt.display)==="none"?"none":void 0}},xi)),!eo&&Lo&&v.createElement(ce,(0,G.Z)({"aria-hidden":!gr,visible:gr,prefixCls:vt,onClose:pi,mousePosition:Lr,src:tr,alt:Ut,fallback:L,getContainer:qt,icons:Yr,movable:Li,scaleStep:Mt,minScale:Qr,maxScale:tn,rootClassName:Yt,imageRender:Oi,imgCommonProps:Uo,toolbarRender:Ei},or)))};Jn.PreviewGroup=oi,Jn.displayName="Image";var Mn=Jn,In=Mn,ie=h(62892),z=h(36355),k=h(31724),j=h(99267),X=h(33853),T=h(38819),_e={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"},It=_e,$e=h(7657),De=function(Nt,Ve){return v.createElement($e.Z,(0,G.Z)({},Nt,{ref:Ve,icon:It}))},gt=v.forwardRef(De),ut=gt,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"},Et=tt,pn=function(Nt,Ve){return v.createElement($e.Z,(0,G.Z)({},Nt,{ref:Ve,icon:Et}))},nn=v.forwardRef(pn),Kt=nn,hn={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"},an=hn,et=function(Nt,Ve){return v.createElement($e.Z,(0,G.Z)({},Nt,{ref:Ve,icon:an}))},zt=v.forwardRef(et),dn=zt,rn={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"},ze=rn,Un=function(Nt,Ve){return v.createElement($e.Z,(0,G.Z)({},Nt,{ref:Ve,icon:ze}))},yn=v.forwardRef(Un),Bt=yn,Si={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"},_i=Si,Ii=function(Nt,Ve){return v.createElement($e.Z,(0,G.Z)({},Nt,{ref:Ve,icon:_i}))},cn=v.forwardRef(Ii),fr=cn,Xi=h(64993),ei=h(73819),Tr=h(17313),ur=h(29878),U=h(1950),mr=h(83116),Er=h(37613);const wr=on=>({position:on||"absolute",inset:0}),qr=on=>{const{iconCls:Nt,motionDurationSlow:Ve,paddingXXS:Ut,marginXXS:Lt,prefixCls:Wn,colorTextLightSolid:ot}=on;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ot,background:new Xi.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ve}`,[`.${Wn}-mask-info`]:Object.assign(Object.assign({},Tr.vS),{padding:`0 ${Ut}px`,[Nt]:{marginInlineEnd:Lt,svg:{verticalAlign:"baseline"}}})}},xo=on=>{const{previewCls:Nt,modalMaskBg:Ve,paddingSM:Ut,marginXL:Lt,margin:Wn,paddingLG:ot,previewOperationColorDisabled:fn,previewOperationHoverColor:vt,motionDurationSlow:je,iconCls:L,colorTextLightSolid:Rt}=on,Jt=new Xi.C(Ve).setAlpha(.1),mt=Jt.clone().setAlpha(.2);return{[`${Nt}-footer`]:{position:"fixed",bottom:Lt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:on.previewOperationColor},[`${Nt}-progress`]:{marginBottom:Wn},[`${Nt}-close`]:{position:"fixed",top:Lt,right:{_skip_check_:!0,value:Lt},display:"flex",color:Rt,backgroundColor:Jt.toRgbString(),borderRadius:"50%",padding:Ut,outline:0,border:0,cursor:"pointer",transition:`all ${je}`,"&:hover":{backgroundColor:mt.toRgbString()},[`& > ${L}`]:{fontSize:on.previewOperationSize}},[`${Nt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ot}px`,backgroundColor:Jt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ut,padding:Ut,cursor:"pointer",transition:`all ${je}`,userSelect:"none",[`&:not(${Nt}-operations-operation-disabled):hover > ${L}`]:{color:vt},"&-disabled":{color:fn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${L}`]:{fontSize:on.previewOperationSize}}}}},kr=on=>{const{modalMaskBg:Nt,iconCls:Ve,previewOperationColorDisabled:Ut,previewCls:Lt,zIndexPopup:Wn,motionDurationSlow:ot}=on,fn=new Xi.C(Nt).setAlpha(.1),vt=fn.clone().setAlpha(.2);return{[`${Lt}-switch-left, ${Lt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Wn+1,display:"flex",alignItems:"center",justifyContent:"center",width:on.imagePreviewSwitchSize,height:on.imagePreviewSwitchSize,marginTop:-on.imagePreviewSwitchSize/2,color:on.previewOperationColor,background:fn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ot}`,userSelect:"none","&:hover":{background:vt.toRgbString()},"&-disabled":{"&, &:hover":{color:Ut,background:"transparent",cursor:"not-allowed",[`> ${Ve}`]:{cursor:"not-allowed"}}},[`> ${Ve}`]:{fontSize:on.previewOperationSize}},[`${Lt}-switch-left`]:{insetInlineStart:on.marginSM},[`${Lt}-switch-right`]:{insetInlineEnd:on.marginSM}}},no=on=>{const{motionEaseOut:Nt,previewCls:Ve,motionDurationSlow:Ut,componentCls:Lt}=on;return[{[`${Lt}-preview-root`]:{[Ve]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ve}-body`]:Object.assign(Object.assign({},wr()),{overflow:"hidden"}),[`${Ve}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ut} ${Nt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},wr()),{transition:`transform ${Ut} ${Nt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ve}-moving`]:{[`${Ve}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Lt}-preview-root`]:{[`${Ve}-wrap`]:{zIndex:on.zIndexPopup}}},{[`${Lt}-preview-operations-wrapper`]:{position:"fixed",zIndex:on.zIndexPopup+1},"&":[xo(on),kr(on)]}]},rr=on=>{const{componentCls:Nt}=on;return{[Nt]:{position:"relative",display:"inline-block",[`${Nt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Nt}-img-placeholder`]:{backgroundColor:on.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Nt}-mask`]:Object.assign({},qr(on)),[`${Nt}-mask:hover`]:{opacity:1},[`${Nt}-placeholder`]:Object.assign({},wr())}}},Bi=on=>{const{previewCls:Nt}=on;return{[`${Nt}-root`]:(0,ur._y)(on,"zoom"),"&":(0,U.J$)(on,!0)}};var yi=(0,mr.Z)("Image",on=>{const Nt=`${on.componentCls}-preview`,Ve=(0,Er.TS)(on,{previewCls:Nt,modalMaskBg:new Xi.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:on.controlHeightLG});return[rr(Ve),no(Ve),(0,ei.QA)((0,Er.TS)(Ve,{componentCls:Nt})),Bi(Ve)]},on=>({zIndexPopup:on.zIndexPopupBase+80,previewOperationColor:new Xi.C(on.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Xi.C(on.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Xi.C(on.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:on.fontSizeIcon*1.5})),ht=function(on,Nt){var Ve={};for(var Ut in on)Object.prototype.hasOwnProperty.call(on,Ut)&&Nt.indexOf(Ut)<0&&(Ve[Ut]=on[Ut]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Ut=Object.getOwnPropertySymbols(on);Lt{var{previewPrefixCls:Nt,preview:Ve}=on,Ut=ht(on,["previewPrefixCls","preview"]);const{getPrefixCls:Lt}=v.useContext(z.E_),Wn=Lt("image",Nt),ot=`${Wn}-preview`,fn=Lt(),[vt,je]=yi(Wn),L=v.useMemo(()=>{var Rt;if(Ve===!1)return Ve;const Jt=typeof Ve=="object"?Ve:{},mt=B()(je,(Rt=Jt.rootClassName)!==null&&Rt!==void 0?Rt:"");return Object.assign(Object.assign({},Jt),{transitionName:(0,ie.m)(fn,"zoom",Jt.transitionName),maskTransitionName:(0,ie.m)(fn,"fade",Jt.maskTransitionName),rootClassName:mt})},[Ve]);return vt(v.createElement(In.PreviewGroup,Object.assign({preview:L,previewPrefixCls:ot,icons:_n},Ut)))},Ke=function(on,Nt){var Ve={};for(var Ut in on)Object.prototype.hasOwnProperty.call(on,Ut)&&Nt.indexOf(Ut)<0&&(Ve[Ut]=on[Ut]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Ut=Object.getOwnPropertySymbols(on);Lt{const{prefixCls:Nt,preview:Ve,className:Ut,rootClassName:Lt,style:Wn}=on,ot=Ke(on,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:fn,locale:vt=k.Z,getPopupContainer:je,image:L}=v.useContext(z.E_),Rt=fn("image",Nt),Jt=fn(),mt=vt.Image||k.Z.Image,[xn,An]=yi(Rt),li=B()(Lt,An),Nn=B()(Ut,An,L==null?void 0:L.className),st=v.useMemo(()=>{if(Ve===!1)return Ve;const Yi=typeof Ve=="object"?Ve:{},{getContainer:Yt}=Yi,zi=Ke(Yi,["getContainer"]);return Object.assign(Object.assign({mask:v.createElement("div",{className:`${Rt}-mask-info`},v.createElement(I.Z,null),mt==null?void 0:mt.preview),icons:_n},zi),{getContainer:Yt||je,transitionName:(0,ie.m)(Jt,"zoom",Yi.transitionName),maskTransitionName:(0,ie.m)(Jt,"fade",Yi.maskTransitionName)})},[Ve,mt]),Mi=Object.assign(Object.assign({},L==null?void 0:L.style),Wn);return xn(v.createElement(In,Object.assign({prefixCls:Rt,preview:st,rootClassName:li,className:Nn,style:Mi},ot)))};vn.PreviewGroup=pt;var Fn=vn},9432:function(Q,C,h){"use strict";h.d(C,{Z:function(){return pe},n:function(){return Pe}});var v=h(19248),I=h(92310),O=h.n(I),B=h(93681),G=h(8654),F=h(59301),M=h(19080),de=h(36355),ae=h(1684),te=h(19716),Me=h(32441),we=h(33234),Xe=h(59412),Oe=h(9937);function Ce(xe){return!!(xe.prefix||xe.suffix||xe.allowClear)}var Ae=function(xe,me){var ke={};for(var ee in xe)Object.prototype.hasOwnProperty.call(xe,ee)&&me.indexOf(ee)<0&&(ke[ee]=xe[ee]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ee=Object.getOwnPropertySymbols(xe);Ne{var ke;const{prefixCls:ee,bordered:Ne=!0,status:Ie,size:Le,disabled:Je,onBlur:Ye,onFocus:re,suffix:lt,allowClear:We,addonAfter:Pt,addonBefore:xt,className:kt,style:Ct,styles:Cn,rootClassName:Qe,onChange:le,classNames:ce}=xe,Ht=Ae(xe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:St,input:sn}=F.useContext(de.E_),Ft=Vt("input",ee),oi=(0,F.useRef)(null),[On,ni]=(0,Oe.ZP)(Ft),{compactSize:Jn,compactItemClassnames:Mn}=(0,we.ri)(Ft,St),In=(0,te.Z)(pn=>{var nn;return(nn=Le!=null?Le:Jn)!==null&&nn!==void 0?nn:pn}),ie=F.useContext(ae.Z),z=Je!=null?Je:ie,{status:k,hasFeedback:j,feedbackIcon:X}=(0,F.useContext)(Me.aM),T=(0,M.F)(k,Ie),_e=Ce(xe)||!!j,It=(0,F.useRef)(_e);(0,F.useEffect)(()=>{var pn;_e&&It.current,It.current=_e},[_e]);const $e=(0,Xe.Z)(oi,!0),De=pn=>{$e(),Ye==null||Ye(pn)},gt=pn=>{$e(),re==null||re(pn)},ut=pn=>{$e(),le==null||le(pn)},tt=(j||lt)&&F.createElement(F.Fragment,null,lt,j&&X);let Et;return typeof We=="object"&&(We!=null&&We.clearIcon)?Et=We:We&&(Et={clearIcon:F.createElement(v.Z,null)}),On(F.createElement(B.default,Object.assign({ref:(0,G.sQ)(me,oi),prefixCls:Ft,autoComplete:sn==null?void 0:sn.autoComplete},Ht,{disabled:z,onBlur:De,onFocus:gt,style:Object.assign(Object.assign({},sn==null?void 0:sn.style),Ct),styles:Object.assign(Object.assign({},sn==null?void 0:sn.styles),Cn),suffix:tt,allowClear:Et,className:O()(kt,Qe,Mn,sn==null?void 0:sn.className),onChange:ut,addonAfter:Pt&&F.createElement(we.BR,null,F.createElement(Me.Ux,{override:!0,status:!0},Pt)),addonBefore:xt&&F.createElement(we.BR,null,F.createElement(Me.Ux,{override:!0,status:!0},xt)),classNames:Object.assign(Object.assign(Object.assign({},ce),sn==null?void 0:sn.classNames),{input:O()({[`${Ft}-sm`]:In==="small",[`${Ft}-lg`]:In==="large",[`${Ft}-rtl`]:St==="rtl",[`${Ft}-borderless`]:!Ne},!_e&&(0,M.Z)(Ft,T),ce==null?void 0:ce.input,(ke=sn==null?void 0:sn.classNames)===null||ke===void 0?void 0:ke.input,ni)}),classes:{affixWrapper:O()({[`${Ft}-affix-wrapper-sm`]:In==="small",[`${Ft}-affix-wrapper-lg`]:In==="large",[`${Ft}-affix-wrapper-rtl`]:St==="rtl",[`${Ft}-affix-wrapper-borderless`]:!Ne},(0,M.Z)(`${Ft}-affix-wrapper`,T,j),ni),wrapper:O()({[`${Ft}-group-rtl`]:St==="rtl"},ni),group:O()({[`${Ft}-group-wrapper-sm`]:In==="small",[`${Ft}-group-wrapper-lg`]:In==="large",[`${Ft}-group-wrapper-rtl`]:St==="rtl",[`${Ft}-group-wrapper-disabled`]:z},(0,M.Z)(`${Ft}-group-wrapper`,T,j),ni)}})))})},1643:function(Q,C,h){"use strict";var v=h(19248),I=h(92310),O=h.n(I),B=h(9296),G=h(59301),F=h(19080),M=h(36355),de=h(1684),ae=h(19716),te=h(32441),Me=h(9432),we=h(9937),Xe=function(Ce,Ae){var Pe={};for(var fe in Ce)Object.prototype.hasOwnProperty.call(Ce,fe)&&Ae.indexOf(fe)<0&&(Pe[fe]=Ce[fe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,fe=Object.getOwnPropertySymbols(Ce);pe{const{prefixCls:Pe,bordered:fe=!0,size:pe,disabled:xe,status:me,allowClear:ke,showCount:ee,classNames:Ne,rootClassName:Ie,className:Le}=Ce,Je=Xe(Ce,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ye,direction:re}=G.useContext(M.E_),lt=(0,ae.Z)(pe),We=G.useContext(de.Z),Pt=xe!=null?xe:We,{status:xt,hasFeedback:kt,feedbackIcon:Ct}=G.useContext(te.aM),Cn=(0,F.F)(xt,me),Qe=G.useRef(null);G.useImperativeHandle(Ae,()=>{var St;return{resizableTextArea:(St=Qe.current)===null||St===void 0?void 0:St.resizableTextArea,focus:sn=>{var Ft,oi;(0,Me.n)((oi=(Ft=Qe.current)===null||Ft===void 0?void 0:Ft.resizableTextArea)===null||oi===void 0?void 0:oi.textArea,sn)},blur:()=>{var sn;return(sn=Qe.current)===null||sn===void 0?void 0:sn.blur()}}});const le=Ye("input",Pe);let ce;typeof ke=="object"&&(ke!=null&&ke.clearIcon)?ce=ke:ke&&(ce={clearIcon:G.createElement(v.Z,null)});const[Ht,Vt]=(0,we.ZP)(le);return Ht(G.createElement(B.default,Object.assign({},Je,{disabled:Pt,allowClear:ce,className:O()(Le,Ie),classes:{affixWrapper:O()(`${le}-textarea-affix-wrapper`,{[`${le}-affix-wrapper-rtl`]:re==="rtl",[`${le}-affix-wrapper-borderless`]:!fe,[`${le}-affix-wrapper-sm`]:lt==="small",[`${le}-affix-wrapper-lg`]:lt==="large",[`${le}-textarea-show-count`]:ee},(0,F.Z)(`${le}-affix-wrapper`,Cn),Vt)},classNames:Object.assign(Object.assign({},Ne),{textarea:O()({[`${le}-borderless`]:!fe,[`${le}-sm`]:lt==="small",[`${le}-lg`]:lt==="large"},(0,F.Z)(le,Cn),Vt,Ne==null?void 0:Ne.textarea)}),prefixCls:le,suffix:kt&&G.createElement("span",{className:`${le}-textarea-suffix`},Ct),showCount:ee,ref:Qe})))});C.Z=Oe},59412:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(59301);function I(O,B){const G=(0,v.useRef)([]),F=()=>{G.current.push(setTimeout(()=>{var M,de,ae,te;!((M=O.current)===null||M===void 0)&&M.input&&((de=O.current)===null||de===void 0?void 0:de.input.getAttribute("type"))==="password"&&(!((ae=O.current)===null||ae===void 0)&&ae.input.hasAttribute("value"))&&((te=O.current)===null||te===void 0||te.input.removeAttribute("value"))}))};return(0,v.useEffect)(()=>(B&&F(),()=>G.current.forEach(M=>{M&&clearTimeout(M)})),[]),F}},92832:function(Q,C,h){"use strict";h.d(C,{default:function(){return lt}});var v=h(92310),I=h.n(v),O=h(59301),B=h(36355),G=h(32441),F=h(9937),de=We=>{const{getPrefixCls:Pt,direction:xt}=(0,O.useContext)(B.E_),{prefixCls:kt,className:Ct}=We,Cn=Pt("input-group",kt),Qe=Pt("input"),[le,ce]=(0,F.ZP)(Qe),Ht=I()(Cn,{[`${Cn}-lg`]:We.size==="large",[`${Cn}-sm`]:We.size==="small",[`${Cn}-compact`]:We.compact,[`${Cn}-rtl`]:xt==="rtl"},ce,Ct),Vt=(0,O.useContext)(G.aM),St=(0,O.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return le(O.createElement("span",{className:Ht,style:We.style,onMouseEnter:We.onMouseEnter,onMouseLeave:We.onMouseLeave,onFocus:We.onFocus,onBlur:We.onBlur},O.createElement(G.aM.Provider,{value:St},We.children)))},ae=h(9432),te=h(73331),Me=h(15277),we=h(2738),Xe=h(8654),Oe=h(59412),Ce=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,kt=Object.getOwnPropertySymbols(We);CtWe?O.createElement(Me.Z,null):O.createElement(te.Z,null),Pe={click:"onClick",hover:"onMouseOver"};var pe=O.forwardRef((We,Pt)=>{const{visibilityToggle:xt=!0}=We,kt=typeof xt=="object"&&xt.visible!==void 0,[Ct,Cn]=(0,O.useState)(()=>kt?xt.visible:!1),Qe=(0,O.useRef)(null);O.useEffect(()=>{kt&&Cn(xt.visible)},[kt,xt]);const le=(0,Oe.Z)(Qe),ce=()=>{const{disabled:z}=We;z||(Ct&&le(),Cn(k=>{var j;const X=!k;return typeof xt=="object"&&((j=xt.onVisibleChange)===null||j===void 0||j.call(xt,X)),X}))},Ht=z=>{const{action:k="click",iconRender:j=Ae}=We,X=Pe[k]||"",T=j(Ct),_e={[X]:ce,className:`${z}-icon`,key:"passwordIcon",onMouseDown:It=>{It.preventDefault()},onMouseUp:It=>{It.preventDefault()}};return O.cloneElement(O.isValidElement(T)?T:O.createElement("span",null,T),_e)},{className:Vt,prefixCls:St,inputPrefixCls:sn,size:Ft}=We,oi=Ce(We,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:On}=O.useContext(B.E_),ni=On("input",sn),Jn=On("input-password",St),Mn=xt&&Ht(Jn),In=I()(Jn,Vt,{[`${Jn}-${Ft}`]:!!Ft}),ie=Object.assign(Object.assign({},(0,we.Z)(oi,["suffix","iconRender","visibilityToggle"])),{type:Ct?"text":"password",className:In,prefixCls:ni,suffix:Mn});return Ft&&(ie.size=Ft),O.createElement(ae.Z,Object.assign({ref:(0,Xe.sQ)(Pt,Qe)},ie))}),xe=h(47472),me=h(92343),ke=h(3113),ee=h(19716),Ne=h(33234),Ie=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,kt=Object.getOwnPropertySymbols(We);Ct{const{prefixCls:xt,inputPrefixCls:kt,className:Ct,size:Cn,suffix:Qe,enterButton:le=!1,addonAfter:ce,loading:Ht,disabled:Vt,onSearch:St,onChange:sn,onCompositionStart:Ft,onCompositionEnd:oi}=We,On=Ie(We,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ni,direction:Jn}=O.useContext(B.E_),Mn=O.useRef(!1),In=ni("input-search",xt),ie=ni("input",kt),{compactSize:z}=(0,Ne.ri)(In,Jn),k=(0,ee.Z)(Kt=>{var hn;return(hn=Cn!=null?Cn:z)!==null&&hn!==void 0?hn:Kt}),j=O.useRef(null),X=Kt=>{Kt&&Kt.target&&Kt.type==="click"&&St&&St(Kt.target.value,Kt,{source:"clear"}),sn&&sn(Kt)},T=Kt=>{var hn;document.activeElement===((hn=j.current)===null||hn===void 0?void 0:hn.input)&&Kt.preventDefault()},_e=Kt=>{var hn,an;St&&St((an=(hn=j.current)===null||hn===void 0?void 0:hn.input)===null||an===void 0?void 0:an.value,Kt,{source:"input"})},It=Kt=>{Mn.current||Ht||_e(Kt)},$e=typeof le=="boolean"?O.createElement(xe.Z,null):null,De=`${In}-button`;let gt;const ut=le||{},tt=ut.type&&ut.type.__ANT_BUTTON===!0;tt||ut.type==="button"?gt=(0,me.Tm)(ut,Object.assign({onMouseDown:T,onClick:Kt=>{var hn,an;(an=(hn=ut==null?void 0:ut.props)===null||hn===void 0?void 0:hn.onClick)===null||an===void 0||an.call(hn,Kt),_e(Kt)},key:"enterButton"},tt?{className:De,size:k}:{})):gt=O.createElement(ke.ZP,{className:De,type:le?"primary":void 0,size:k,disabled:Vt,key:"enterButton",onMouseDown:T,onClick:_e,loading:Ht,icon:$e},le),ce&&(gt=[gt,(0,me.Tm)(ce,{key:"addonAfter"})]);const Et=I()(In,{[`${In}-rtl`]:Jn==="rtl",[`${In}-${k}`]:!!k,[`${In}-with-button`]:!!le},Ct),pn=Kt=>{Mn.current=!0,Ft==null||Ft(Kt)},nn=Kt=>{Mn.current=!1,oi==null||oi(Kt)};return O.createElement(ae.Z,Object.assign({ref:(0,Xe.sQ)(j,Pt),onPressEnter:It},On,{size:k,onCompositionStart:pn,onCompositionEnd:nn,prefixCls:ie,addonAfter:gt,suffix:Qe,onChange:X,className:Et,disabled:Vt}))}),Ye=h(1643);const re=ae.Z;re.Group=de,re.Search=Je,re.TextArea=Ye.Z,re.Password=pe;var lt=re},45818:function(Q,C,h){"use strict";h.d(C,{D:function(){return xe},Z:function(){return ee}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},B=O,G=h(7657),F=function(Ie,Le){return I.createElement(G.Z,(0,v.Z)({},Ie,{ref:Le,icon:B}))},M=I.forwardRef(F),de=M,ae=h(33853),te=h(38819),Me=h(92310),we=h.n(Me),Xe=h(2738),Ce=Ne=>!isNaN(parseFloat(Ne))&&isFinite(Ne),Ae=h(36355),Pe=h(84966),fe=function(Ne,Ie){var Le={};for(var Je in Ne)Object.prototype.hasOwnProperty.call(Ne,Je)&&Ie.indexOf(Je)<0&&(Le[Je]=Ne[Je]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Je=Object.getOwnPropertySymbols(Ne);Ye{let Ne=0;return function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ne+=1,`${Ie}${Ne}`}})();var ee=I.forwardRef((Ne,Ie)=>{const{prefixCls:Le,className:Je,trigger:Ye,children:re,defaultCollapsed:lt=!1,theme:We="dark",style:Pt={},collapsible:xt=!1,reverseArrow:kt=!1,width:Ct=200,collapsedWidth:Cn=80,zeroWidthTriggerStyle:Qe,breakpoint:le,onCollapse:ce,onBreakpoint:Ht}=Ne,Vt=fe(Ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:St}=(0,I.useContext)(Pe.Gs),[sn,Ft]=(0,I.useState)("collapsed"in Ne?Ne.collapsed:lt),[oi,On]=(0,I.useState)(!1);(0,I.useEffect)(()=>{"collapsed"in Ne&&Ft(Ne.collapsed)},[Ne.collapsed]);const ni=(k,j)=>{"collapsed"in Ne||Ft(k),ce==null||ce(k,j)},Jn=(0,I.useRef)();Jn.current=k=>{On(k.matches),Ht==null||Ht(k.matches),sn!==k.matches&&ni(k.matches,"responsive")},(0,I.useEffect)(()=>{function k(X){return Jn.current(X)}let j;if(typeof window!="undefined"){const{matchMedia:X}=window;if(X&&le&&le in pe){j=X(`(max-width: ${pe[le]})`);try{j.addEventListener("change",k)}catch(T){j.addListener(k)}k(j)}}return()=>{try{j==null||j.removeEventListener("change",k)}catch(X){j==null||j.removeListener(k)}}},[le]),(0,I.useEffect)(()=>{const k=me("ant-sider-");return St.addSider(k),()=>St.removeSider(k)},[]);const Mn=()=>{ni(!sn,"clickTrigger")},{getPrefixCls:In}=(0,I.useContext)(Ae.E_),ie=()=>{const k=In("layout-sider",Le),j=(0,Xe.Z)(Vt,["collapsed"]),X=sn?Cn:Ct,T=Ce(X)?`${X}px`:String(X),_e=parseFloat(String(Cn||0))===0?I.createElement("span",{onClick:Mn,className:we()(`${k}-zero-width-trigger`,`${k}-zero-width-trigger-${kt?"right":"left"}`),style:Qe},Ye||I.createElement(de,null)):null,De={expanded:kt?I.createElement(te.Z,null):I.createElement(ae.Z,null),collapsed:kt?I.createElement(ae.Z,null):I.createElement(te.Z,null)}[sn?"collapsed":"expanded"],gt=Ye!==null?_e||I.createElement("div",{className:`${k}-trigger`,onClick:Mn,style:{width:T}},Ye||De):null,ut=Object.assign(Object.assign({},Pt),{flex:`0 0 ${T}`,maxWidth:T,minWidth:T,width:T}),tt=we()(k,`${k}-${We}`,{[`${k}-collapsed`]:!!sn,[`${k}-has-trigger`]:xt&&Ye!==null&&!_e,[`${k}-below`]:!!oi,[`${k}-zero-width`]:parseFloat(T)===0},Je);return I.createElement("aside",Object.assign({className:tt},j,{style:ut,ref:Ie}),I.createElement("div",{className:`${k}-children`},re),xt||oi&&_e?gt:null)},z=I.useMemo(()=>({siderCollapsed:sn}),[sn]);return I.createElement(xe.Provider,{value:z},ie())})},84966:function(Q,C,h){"use strict";h.d(C,{VY:function(){return xe},$_:function(){return pe},h4:function(){return fe},Gs:function(){return Xe},ZP:function(){return me}});var v=h(26407),I=h(92310),O=h.n(I),B=h(2738),G=h(59301),F=h(36355),M=h(83116),ae=ke=>{const{componentCls:ee,bodyBg:Ne,lightSiderBg:Ie,lightTriggerBg:Le,lightTriggerColor:Je}=ke;return{[`${ee}-sider-light`]:{background:Ie,[`${ee}-sider-trigger`]:{color:Je,background:Le},[`${ee}-sider-zero-width-trigger`]:{color:Je,background:Le,border:`1px solid ${Ne}`,borderInlineStart:0}}}};const te=ke=>{const{antCls:ee,componentCls:Ne,colorText:Ie,triggerColor:Le,footerBg:Je,triggerBg:Ye,headerHeight:re,headerPadding:lt,headerColor:We,footerPadding:Pt,triggerHeight:xt,zeroTriggerHeight:kt,zeroTriggerWidth:Ct,motionDurationMid:Cn,motionDurationSlow:Qe,fontSize:le,borderRadius:ce,bodyBg:Ht,headerBg:Vt,siderBg:St}=ke;return{[Ne]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ht,"&, *":{boxSizing:"border-box"},[`&${Ne}-has-sider`]:{flexDirection:"row",[`> ${Ne}, > ${Ne}-content`]:{width:0}},[`${Ne}-header, &${Ne}-footer`]:{flex:"0 0 auto"},[`${Ne}-sider`]:{position:"relative",minWidth:0,background:St,transition:`all ${Cn}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ee}-menu${ee}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:xt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:xt,color:Le,lineHeight:`${xt}px`,textAlign:"center",background:Ye,cursor:"pointer",transition:`all ${Cn}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:re,insetInlineEnd:-Ct,zIndex:1,width:Ct,height:kt,color:Le,fontSize:ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:St,borderStartStartRadius:0,borderStartEndRadius:ce,borderEndEndRadius:ce,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ct,borderStartStartRadius:ce,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ce}}}}},ae(ke)),{"&-rtl":{direction:"rtl"}}),[`${Ne}-header`]:{height:re,padding:lt,color:We,lineHeight:`${re}px`,background:Vt,[`${ee}-menu`]:{lineHeight:"inherit"}},[`${Ne}-footer`]:{padding:Pt,color:Ie,fontSize:le,background:Je},[`${Ne}-content`]:{flex:"auto",minHeight:0}}};var Me=(0,M.Z)("Layout",ke=>[te(ke)],ke=>{const{colorBgLayout:ee,controlHeight:Ne,controlHeightLG:Ie,colorText:Le,controlHeightSM:Je,marginXXS:Ye,colorTextLightSolid:re,colorBgContainer:lt}=ke,We=Ie*1.25;return{colorBgHeader:"#001529",colorBgBody:ee,colorBgTrigger:"#002140",bodyBg:ee,headerBg:"#001529",headerHeight:Ne*2,headerPadding:`0 ${We}px`,headerColor:Le,footerPadding:`${Je}px ${We}px`,footerBg:ee,siderBg:"#001529",triggerHeight:Ie+Ye*2,triggerBg:"#002140",triggerColor:re,zeroTriggerWidth:Ie,zeroTriggerHeight:Ie,lightSiderBg:lt,lightTriggerBg:lt,lightTriggerColor:Le}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),we=function(ke,ee){var Ne={};for(var Ie in ke)Object.prototype.hasOwnProperty.call(ke,Ie)&&ee.indexOf(Ie)<0&&(Ne[Ie]=ke[Ie]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ie=Object.getOwnPropertySymbols(ke);Lenull,removeSider:()=>null}});function Oe(ke){let{suffixCls:ee,tagName:Ne,displayName:Ie}=ke;return Le=>G.forwardRef((Ye,re)=>G.createElement(Le,Object.assign({ref:re,suffixCls:ee,tagName:Ne},Ye)))}const Ce=G.forwardRef((ke,ee)=>{const{prefixCls:Ne,suffixCls:Ie,className:Le,tagName:Je}=ke,Ye=we(ke,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:re}=G.useContext(F.E_),lt=re("layout",Ne),[We,Pt]=Me(lt),xt=Ie?`${lt}-${Ie}`:lt;return We(G.createElement(Je,Object.assign({className:O()(Ne||xt,Le,Pt),ref:ee},Ye)))}),Ae=G.forwardRef((ke,ee)=>{const{direction:Ne}=G.useContext(F.E_),[Ie,Le]=G.useState([]),{prefixCls:Je,className:Ye,rootClassName:re,children:lt,hasSider:We,tagName:Pt,style:xt}=ke,kt=we(ke,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ct=(0,B.Z)(kt,["suffixCls"]),{getPrefixCls:Cn,layout:Qe}=G.useContext(F.E_),le=Cn("layout",Je),[ce,Ht]=Me(le),Vt=O()(le,{[`${le}-has-sider`]:typeof We=="boolean"?We:Ie.length>0,[`${le}-rtl`]:Ne==="rtl"},Qe==null?void 0:Qe.className,Ye,re,Ht),St=G.useMemo(()=>({siderHook:{addSider:sn=>{Le(Ft=>[].concat((0,v.Z)(Ft),[sn]))},removeSider:sn=>{Le(Ft=>Ft.filter(oi=>oi!==sn))}}}),[]);return ce(G.createElement(Xe.Provider,{value:St},G.createElement(Pt,Object.assign({ref:ee,className:Vt,style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),xt)},Ct),lt)))}),Pe=Oe({tagName:"div",displayName:"Layout"})(Ae),fe=Oe({suffixCls:"header",tagName:"header",displayName:"Header"})(Ce),pe=Oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Ce),xe=Oe({suffixCls:"content",tagName:"main",displayName:"Content"})(Ce);var me=Pe},40875:function(Q,C,h){"use strict";h.d(C,{J:function(){return F}});var v=h(59301),I=h(33234),O=h(70425),B=function(M,de){var ae={};for(var te in M)Object.prototype.hasOwnProperty.call(M,te)&&de.indexOf(te)<0&&(ae[te]=M[te]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,te=Object.getOwnPropertySymbols(M);Me{const{children:ae}=M,te=B(M,["children"]),Me=v.useContext(G),we=v.useMemo(()=>Object.assign(Object.assign({},Me),te),[Me,te.prefixCls,te.mode,te.selectable]);return v.createElement(G.Provider,{value:we},v.createElement(I.BR,null,(0,O.supportNodeRef)(ae)?v.cloneElement(ae,{ref:de}):ae))});C.Z=G},20834:function(Q,C,h){"use strict";h.d(C,{default:function(){return z}});var v=h(15285),I=h(59301),O=h(45818),B=h(92310),G=h.n(B),F=h(36355),M=function(k,j){var X={};for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&j.indexOf(T)<0&&(X[T]=k[T]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,T=Object.getOwnPropertySymbols(k);_e{const{prefixCls:j,className:X,dashed:T}=k,_e=M(k,["prefixCls","className","dashed"]),{getPrefixCls:It}=I.useContext(F.E_),$e=It("menu",j),De=G()({[`${$e}-item-divider-dashed`]:!!T},X);return I.createElement(v.iz,Object.assign({className:De},_e))},te=h(11592),Me=h(2738),we=h(6848),Xe=h(92343),Ce=(0,I.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Pe=k=>{var j;const{className:X,children:T,icon:_e,title:It,danger:$e}=k,{prefixCls:De,firstLevel:gt,direction:ut,disableMenuItemTitleTooltip:tt,inlineCollapsed:Et}=I.useContext(Ce),pn=zt=>{const dn=I.createElement("span",{className:`${De}-title-content`},T);return(!_e||(0,Xe.l$)(T)&&T.type==="span")&&T&&zt&>&&typeof T=="string"?I.createElement("div",{className:`${De}-inline-collapsed-noicon`},T.charAt(0)):dn},{siderCollapsed:nn}=I.useContext(O.D);let Kt=It;typeof It=="undefined"?Kt=gt?T:"":It===!1&&(Kt="");const hn={title:Kt};!nn&&!Et&&(hn.title=null,hn.open=!1);const an=(0,te.Z)(T).length;let et=I.createElement(v.ck,Object.assign({},(0,Me.Z)(k,["title","icon","danger"]),{className:G()({[`${De}-item-danger`]:$e,[`${De}-item-only-child`]:(_e?an+1:an)===1},X),title:typeof It=="string"?It:void 0}),(0,Xe.Tm)(_e,{className:G()((0,Xe.l$)(_e)?(j=_e.props)===null||j===void 0?void 0:j.className:"",`${De}-item-icon`)}),pn(Et));return tt||(et=I.createElement(we.Z,Object.assign({},hn,{placement:ut==="rtl"?"left":"right",overlayClassName:`${De}-inline-collapsed-tooltip`}),et)),et},pe=k=>{var j;const{popupClassName:X,icon:T,title:_e,theme:It}=k,$e=I.useContext(Ce),{prefixCls:De,inlineCollapsed:gt,theme:ut}=$e,tt=(0,v.Xl)();let Et;if(!T)Et=gt&&!tt.length&&_e&&typeof _e=="string"?I.createElement("div",{className:`${De}-inline-collapsed-noicon`},_e.charAt(0)):I.createElement("span",{className:`${De}-title-content`},_e);else{const nn=(0,Xe.l$)(_e)&&_e.type==="span";Et=I.createElement(I.Fragment,null,(0,Xe.Tm)(T,{className:G()((0,Xe.l$)(T)?(j=T.props)===null||j===void 0?void 0:j.className:"",`${De}-item-icon`)}),nn?_e:I.createElement("span",{className:`${De}-title-content`},_e))}const pn=I.useMemo(()=>Object.assign(Object.assign({},$e),{firstLevel:!1}),[$e]);return I.createElement(Ce.Provider,{value:pn},I.createElement(v.Wd,Object.assign({},(0,Me.Z)(k,["icon"]),{title:Et,popupClassName:G()(De,X,`${De}-${It||ut}`)})))},xe=h(18785),me=h(70425),ke=h(62892),ee=h(40875),Ne=function(k,j){var X={};for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&j.indexOf(T)<0&&(X[T]=k[T]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,T=Object.getOwnPropertySymbols(k);_e{if(j&&typeof j=="object"){const T=j,{label:_e,children:It,key:$e,type:De}=T,gt=Ne(T,["label","children","key","type"]),ut=$e!=null?$e:`tmp-${X}`;return It||De==="group"?De==="group"?I.createElement(v.BW,Object.assign({key:ut},gt,{title:_e}),Ie(It)):I.createElement(pe,Object.assign({key:ut},gt,{title:_e}),Ie(It)):De==="divider"?I.createElement(ae,Object.assign({key:ut},gt)):I.createElement(Pe,Object.assign({key:ut},gt),_e)}return null}).filter(j=>j)}function Le(k){return I.useMemo(()=>k&&Ie(k),[k])}var Je=h(64993),Ye=h(17313),re=h(8378),lt=h(13826),We=h(29878),Pt=h(83116),xt=h(37613),Ct=k=>{const{componentCls:j,motionDurationSlow:X,horizontalLineHeight:T,colorSplit:_e,lineWidth:It,lineType:$e,itemPaddingInline:De}=k;return{[`${j}-horizontal`]:{lineHeight:T,border:0,borderBottom:`${It}px ${$e} ${_e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${j}-item, ${j}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:De},[`> ${j}-item:hover, > ${j}-item-active, - > ${j}-submenu ${j}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${j}-item, ${j}-submenu-title`]:{transition:[`border-color ${X}`,`background ${X}`].join(",")},[`${j}-submenu-arrow`]:{display:"none"}}}},Je=k=>{let{componentCls:j,menuArrowOffset:X}=k;return{[`${j}-rtl`]:{direction:"rtl"},[`${j}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${j}-rtl${j}-vertical, - ${j}-submenu-rtl ${j}-vertical`]:{[`${j}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${X})`},"&::after":{transform:`rotate(45deg) translateY(${X})`}}}}};const se=k=>Object.assign({},(0,Ye.oN)(k));var Ht=(k,j)=>{const{componentCls:X,itemColor:N,itemSelectedColor:_e,groupTitleColor:Nt,itemBg:He,subMenuItemBg:De,itemSelectedBg:gt,activeBarHeight:ut,activeBarWidth:nt,activeBarBorderWidth:Tt,motionDurationSlow:fn,motionEaseInOut:qt,motionEaseOut:jt,itemPaddingInline:cn,motionDurationMid:nn,itemHoverColor:et,lineType:zt,colorSplit:hn,itemDisabledColor:tn,dangerItemColor:ze,dangerItemHoverColor:Un,dangerItemSelectedColor:On,dangerItemActiveBg:Yn,dangerItemSelectedBg:wi,itemHoverBg:vi,itemActiveBg:dn,menuSubMenuBg:ln,horizontalItemSelectedColor:gr,horizontalItemSelectedBg:er,horizontalItemBorderRadius:ti,horizontalItemHoverBg:Nr,popupBg:pr}=k;return{[`${X}-${j}, ${X}-${j} > ${X}`]:{color:N,background:He,[`&${X}-root:focus-visible`]:Object.assign({},se(k)),[`${X}-item-group-title`]:{color:Nt},[`${X}-submenu-selected`]:{[`> ${X}-submenu-title`]:{color:_e}},[`${X}-item-disabled, ${X}-submenu-disabled`]:{color:`${tn} !important`},[`${X}-item:not(${X}-item-selected):not(${X}-submenu-selected)`]:{[`&:hover, > ${X}-submenu-title:hover`]:{color:et}},[`&:not(${X}-horizontal)`]:{[`${X}-item:not(${X}-item-selected)`]:{"&:hover":{backgroundColor:vi},"&:active":{backgroundColor:dn}},[`${X}-submenu-title`]:{"&:hover":{backgroundColor:vi},"&:active":{backgroundColor:dn}}},[`${X}-item-danger`]:{color:ze,[`&${X}-item:hover`]:{[`&:not(${X}-item-selected):not(${X}-submenu-selected)`]:{color:Un}},[`&${X}-item:active`]:{background:Yn}},[`${X}-item a`]:{"&, &:hover":{color:"inherit"}},[`${X}-item-selected`]:{color:_e,[`&${X}-item-danger`]:{color:On},"a, a:hover":{color:"inherit"}},[`& ${X}-item-selected`]:{backgroundColor:gt,[`&${X}-item-danger`]:{backgroundColor:wi}},[`${X}-item, ${X}-submenu-title`]:{[`&:not(${X}-item-disabled):focus-visible`]:Object.assign({},se(k))},[`&${X}-submenu > ${X}`]:{backgroundColor:ln},[`&${X}-popup > ${X}`]:{backgroundColor:pr},[`&${X}-horizontal`]:Object.assign(Object.assign({},j==="dark"?{borderBottom:0}:{}),{[`> ${X}-item, > ${X}-submenu`]:{top:Tt,marginTop:-Tt,marginBottom:0,borderRadius:ti,"&::after":{position:"absolute",insetInline:cn,bottom:0,borderBottom:`${ut}px solid transparent`,transition:`border-color ${fn} ${qt}`,content:'""'},"&:hover, &-active, &-open":{background:Nr,"&::after":{borderBottomWidth:ut,borderBottomColor:gr}},"&-selected":{color:gr,backgroundColor:er,"&:hover":{backgroundColor:er},"&::after":{borderBottomWidth:ut,borderBottomColor:gr}}}}),[`&${X}-root`]:{[`&${X}-inline, &${X}-vertical`]:{borderInlineEnd:`${Tt}px ${zt} ${hn}`}},[`&${X}-inline`]:{[`${X}-sub${X}-inline`]:{background:De},[`${X}-item, ${X}-submenu-title`]:Tt&&nt?{width:`calc(100% + ${Tt}px)`}:{},[`${X}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${nt}px solid ${_e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${nn} ${jt}`,`opacity ${nn} ${jt}`].join(","),content:'""'},[`&${X}-item-danger`]:{"&::after":{borderInlineEndColor:On}}},[`${X}-selected, ${X}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${nn} ${qt}`,`opacity ${nn} ${qt}`].join(",")}}}}}};const Vt=k=>{const{componentCls:j,itemHeight:X,itemMarginInline:N,padding:_e,menuArrowSize:Nt,marginXS:He,itemMarginBlock:De}=k,gt=_e+Nt+He;return{[`${j}-item`]:{position:"relative",overflow:"hidden"},[`${j}-item, ${j}-submenu-title`]:{height:X,lineHeight:`${X}px`,paddingInline:_e,overflow:"hidden",textOverflow:"ellipsis",marginInline:N,marginBlock:De,width:`calc(100% - ${N*2}px)`},[`> ${j}-item, + > ${j}-submenu ${j}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${j}-item, ${j}-submenu-title`]:{transition:[`border-color ${X}`,`background ${X}`].join(",")},[`${j}-submenu-arrow`]:{display:"none"}}}},Qe=k=>{let{componentCls:j,menuArrowOffset:X}=k;return{[`${j}-rtl`]:{direction:"rtl"},[`${j}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${j}-rtl${j}-vertical, + ${j}-submenu-rtl ${j}-vertical`]:{[`${j}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${X})`},"&::after":{transform:`rotate(45deg) translateY(${X})`}}}}};const le=k=>Object.assign({},(0,Ye.oN)(k));var Ht=(k,j)=>{const{componentCls:X,itemColor:T,itemSelectedColor:_e,groupTitleColor:It,itemBg:$e,subMenuItemBg:De,itemSelectedBg:gt,activeBarHeight:ut,activeBarWidth:tt,activeBarBorderWidth:Et,motionDurationSlow:pn,motionEaseInOut:nn,motionEaseOut:Kt,itemPaddingInline:hn,motionDurationMid:an,itemHoverColor:et,lineType:zt,colorSplit:dn,itemDisabledColor:rn,dangerItemColor:ze,dangerItemHoverColor:Un,dangerItemSelectedColor:yn,dangerItemActiveBg:Bt,dangerItemSelectedBg:Si,itemHoverBg:_i,itemActiveBg:Ii,menuSubMenuBg:cn,horizontalItemSelectedColor:fr,horizontalItemSelectedBg:Xi,horizontalItemBorderRadius:ei,horizontalItemHoverBg:Tr,popupBg:ur}=k;return{[`${X}-${j}, ${X}-${j} > ${X}`]:{color:T,background:$e,[`&${X}-root:focus-visible`]:Object.assign({},le(k)),[`${X}-item-group-title`]:{color:It},[`${X}-submenu-selected`]:{[`> ${X}-submenu-title`]:{color:_e}},[`${X}-item-disabled, ${X}-submenu-disabled`]:{color:`${rn} !important`},[`${X}-item:not(${X}-item-selected):not(${X}-submenu-selected)`]:{[`&:hover, > ${X}-submenu-title:hover`]:{color:et}},[`&:not(${X}-horizontal)`]:{[`${X}-item:not(${X}-item-selected)`]:{"&:hover":{backgroundColor:_i},"&:active":{backgroundColor:Ii}},[`${X}-submenu-title`]:{"&:hover":{backgroundColor:_i},"&:active":{backgroundColor:Ii}}},[`${X}-item-danger`]:{color:ze,[`&${X}-item:hover`]:{[`&:not(${X}-item-selected):not(${X}-submenu-selected)`]:{color:Un}},[`&${X}-item:active`]:{background:Bt}},[`${X}-item a`]:{"&, &:hover":{color:"inherit"}},[`${X}-item-selected`]:{color:_e,[`&${X}-item-danger`]:{color:yn},"a, a:hover":{color:"inherit"}},[`& ${X}-item-selected`]:{backgroundColor:gt,[`&${X}-item-danger`]:{backgroundColor:Si}},[`${X}-item, ${X}-submenu-title`]:{[`&:not(${X}-item-disabled):focus-visible`]:Object.assign({},le(k))},[`&${X}-submenu > ${X}`]:{backgroundColor:cn},[`&${X}-popup > ${X}`]:{backgroundColor:ur},[`&${X}-horizontal`]:Object.assign(Object.assign({},j==="dark"?{borderBottom:0}:{}),{[`> ${X}-item, > ${X}-submenu`]:{top:Et,marginTop:-Et,marginBottom:0,borderRadius:ei,"&::after":{position:"absolute",insetInline:hn,bottom:0,borderBottom:`${ut}px solid transparent`,transition:`border-color ${pn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:Tr,"&::after":{borderBottomWidth:ut,borderBottomColor:fr}},"&-selected":{color:fr,backgroundColor:Xi,"&:hover":{backgroundColor:Xi},"&::after":{borderBottomWidth:ut,borderBottomColor:fr}}}}),[`&${X}-root`]:{[`&${X}-inline, &${X}-vertical`]:{borderInlineEnd:`${Et}px ${zt} ${dn}`}},[`&${X}-inline`]:{[`${X}-sub${X}-inline`]:{background:De},[`${X}-item, ${X}-submenu-title`]:Et&&tt?{width:`calc(100% + ${Et}px)`}:{},[`${X}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${tt}px solid ${_e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${an} ${Kt}`,`opacity ${an} ${Kt}`].join(","),content:'""'},[`&${X}-item-danger`]:{"&::after":{borderInlineEndColor:yn}}},[`${X}-selected, ${X}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${an} ${nn}`,`opacity ${an} ${nn}`].join(",")}}}}}};const Vt=k=>{const{componentCls:j,itemHeight:X,itemMarginInline:T,padding:_e,menuArrowSize:It,marginXS:$e,itemMarginBlock:De}=k,gt=_e+It+$e;return{[`${j}-item`]:{position:"relative",overflow:"hidden"},[`${j}-item, ${j}-submenu-title`]:{height:X,lineHeight:`${X}px`,paddingInline:_e,overflow:"hidden",textOverflow:"ellipsis",marginInline:T,marginBlock:De,width:`calc(100% - ${T*2}px)`},[`> ${j}-item, > ${j}-submenu > ${j}-submenu-title`]:{height:X,lineHeight:`${X}px`},[`${j}-item-group-list ${j}-submenu-title, - ${j}-submenu-title`]:{paddingInlineEnd:gt}}};var an=k=>{const{componentCls:j,iconCls:X,itemHeight:N,colorTextLightSolid:_e,dropdownWidth:Nt,controlHeightLG:He,motionDurationMid:De,motionEaseOut:gt,paddingXL:ut,itemMarginInline:nt,fontSizeLG:Tt,motionDurationSlow:fn,paddingXS:qt,boxShadowSecondary:jt,collapsedWidth:cn,collapsedIconSize:nn}=k,et={height:N,lineHeight:`${N}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[j]:{"&-inline, &-vertical":Object.assign({[`&${j}-root`]:{boxShadow:"none"}},Vt(k))},[`${j}-submenu-popup`]:{[`${j}-vertical`]:Object.assign(Object.assign({},Vt(k)),{boxShadow:jt})}},{[`${j}-submenu-popup ${j}-vertical${j}-sub`]:{minWidth:Nt,maxHeight:`calc(100vh - ${He*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${j}-inline`]:{width:"100%",[`&${j}-root`]:{[`${j}-item, ${j}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${fn}`,`background ${fn}`,`padding ${De} ${gt}`].join(","),[`> ${j}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${j}-sub${j}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${j}-submenu > ${j}-submenu-title`]:et,[`& ${j}-item-group-title`]:{paddingInlineStart:ut}},[`${j}-item`]:et}},{[`${j}-inline-collapsed`]:{width:cn,[`&${j}-root`]:{[`${j}-item, ${j}-submenu ${j}-submenu-title`]:{[`> ${j}-inline-collapsed-noicon`]:{fontSize:Tt,textAlign:"center"}}},[`> ${j}-item, + ${j}-submenu-title`]:{paddingInlineEnd:gt}}};var sn=k=>{const{componentCls:j,iconCls:X,itemHeight:T,colorTextLightSolid:_e,dropdownWidth:It,controlHeightLG:$e,motionDurationMid:De,motionEaseOut:gt,paddingXL:ut,itemMarginInline:tt,fontSizeLG:Et,motionDurationSlow:pn,paddingXS:nn,boxShadowSecondary:Kt,collapsedWidth:hn,collapsedIconSize:an}=k,et={height:T,lineHeight:`${T}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[j]:{"&-inline, &-vertical":Object.assign({[`&${j}-root`]:{boxShadow:"none"}},Vt(k))},[`${j}-submenu-popup`]:{[`${j}-vertical`]:Object.assign(Object.assign({},Vt(k)),{boxShadow:Kt})}},{[`${j}-submenu-popup ${j}-vertical${j}-sub`]:{minWidth:It,maxHeight:`calc(100vh - ${$e*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${j}-inline`]:{width:"100%",[`&${j}-root`]:{[`${j}-item, ${j}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${pn}`,`background ${pn}`,`padding ${De} ${gt}`].join(","),[`> ${j}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${j}-sub${j}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${j}-submenu > ${j}-submenu-title`]:et,[`& ${j}-item-group-title`]:{paddingInlineStart:ut}},[`${j}-item`]:et}},{[`${j}-inline-collapsed`]:{width:hn,[`&${j}-root`]:{[`${j}-item, ${j}-submenu ${j}-submenu-title`]:{[`> ${j}-inline-collapsed-noicon`]:{fontSize:Et,textAlign:"center"}}},[`> ${j}-item, > ${j}-item-group > ${j}-item-group-list > ${j}-item, > ${j}-item-group > ${j}-item-group-list > ${j}-submenu > ${j}-submenu-title, - > ${j}-submenu > ${j}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Tt/2}px - ${nt}px)`,textOverflow:"clip",[` + > ${j}-submenu > ${j}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Et/2}px - ${tt}px)`,textOverflow:"clip",[` ${j}-submenu-arrow, ${j}-submenu-expand-icon - `]:{opacity:0},[`${j}-item-icon, ${X}`]:{margin:0,fontSize:nn,lineHeight:`${N}px`,"+ span":{display:"inline-block",opacity:0}}},[`${j}-item-icon, ${X}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${j}-item-icon, ${X}`]:{display:"none"},"a, a:hover":{color:_e}},[`${j}-item-group-title`]:Object.assign(Object.assign({},Ye.vS),{paddingInline:qt})}}]};const Ft=k=>{const{componentCls:j,motionDurationSlow:X,motionDurationMid:N,motionEaseInOut:_e,motionEaseOut:Nt,iconCls:He,iconSize:De,iconMarginInlineEnd:gt}=k;return{[`${j}-item, ${j}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${X}`,`background ${X}`,`padding ${X} ${_e}`].join(","),[`${j}-item-icon, ${He}`]:{minWidth:De,fontSize:De,transition:[`font-size ${N} ${Nt}`,`margin ${X} ${_e}`,`color ${X}`].join(","),"+ span":{marginInlineStart:gt,opacity:1,transition:[`opacity ${X} ${_e}`,`margin ${X}`,`color ${X}`].join(",")}},[`${j}-item-icon`]:Object.assign({},(0,Ye.Ro)()),[`&${j}-item-only-child`]:{[`> ${He}, > ${j}-item-icon`]:{marginInlineEnd:0}}},[`${j}-item-disabled, ${j}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${j}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ai=k=>{const{componentCls:j,motionDurationSlow:X,motionEaseInOut:N,borderRadius:_e,menuArrowSize:Nt,menuArrowOffset:He}=k;return{[`${j}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:k.margin,width:Nt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${X} ${N}, opacity ${X}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Nt*.6,height:Nt*.15,backgroundColor:"currentcolor",borderRadius:_e,transition:[`background ${X} ${N}`,`transform ${X} ${N}`,`top ${X} ${N}`,`color ${X} ${N}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${He})`},"&::after":{transform:`rotate(-45deg) translateY(${He})`}}}}},Ln=k=>{const{antCls:j,componentCls:X,fontSize:N,motionDurationSlow:_e,motionDurationMid:Nt,motionEaseInOut:He,paddingXS:De,padding:gt,colorSplit:ut,lineWidth:nt,zIndexPopup:Tt,borderRadiusLG:fn,subMenuItemBorderRadius:qt,menuArrowSize:jt,menuArrowOffset:cn,lineType:nn,menuPanelMaskInset:et,groupTitleLineHeight:zt,groupTitleFontSize:hn}=k;return[{"":{[`${X}`]:Object.assign(Object.assign({},(0,Ye.dF)()),{"&-hidden":{display:"none"}})},[`${X}-submenu-hidden`]:{display:"none"}},{[X]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(k)),(0,Ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:N,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${X}-item`]:{flex:"none"}},[`${X}-item, ${X}-submenu, ${X}-submenu-title`]:{borderRadius:k.itemBorderRadius},[`${X}-item-group-title`]:{padding:`${De}px ${gt}px`,fontSize:hn,lineHeight:zt,transition:`all ${_e}`},[`&-horizontal ${X}-submenu`]:{transition:[`border-color ${_e} ${He}`,`background ${_e} ${He}`].join(",")},[`${X}-submenu, ${X}-submenu-inline`]:{transition:[`border-color ${_e} ${He}`,`background ${_e} ${He}`,`padding ${Nt} ${He}`].join(",")},[`${X}-submenu ${X}-sub`]:{cursor:"initial",transition:[`background ${_e} ${He}`,`padding ${_e} ${He}`].join(",")},[`${X}-title-content`]:{transition:`color ${_e}`},[`${X}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${X}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ut,borderStyle:nn,borderWidth:0,borderTopWidth:nt,marginBlock:nt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ft(k)),{[`${X}-item-group`]:{[`${X}-item-group-list`]:{margin:0,padding:0,[`${X}-item, ${X}-submenu-title`]:{paddingInline:`${N*2}px ${gt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Tt,borderRadius:fn,boxShadow:"none",transformOrigin:"0 0",[`&${X}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${et}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:et},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:k.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:k.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:k.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:k.paddingXS},[`> ${X}`]:Object.assign(Object.assign(Object.assign({borderRadius:fn},Ft(k)),ai(k)),{[`${X}-item, ${X}-submenu > ${X}-submenu-title`]:{borderRadius:qt},[`${X}-submenu-title::after`]:{transition:`transform ${_e} ${He}`}})}}),ai(k)),{[`&-inline-collapsed ${X}-submenu-arrow, - &-inline ${X}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${cn})`},"&::after":{transform:`rotate(45deg) translateX(-${cn})`}},[`${X}-submenu-open${X}-submenu-inline > ${X}-submenu-title > ${X}-submenu-arrow`]:{transform:`translateY(-${jt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${cn})`},"&::before":{transform:`rotate(45deg) translateX(${cn})`}}})},{[`${j}-layout-header`]:{[X]:{lineHeight:"inherit"}}}]};var ni=(k,j)=>(0,Pt.Z)("Menu",N=>{if(j===!1)return[];const{colorBgElevated:_e,colorPrimary:Nt,colorTextLightSolid:He,controlHeightLG:De,fontSize:gt,darkItemColor:ut,darkDangerItemColor:nt,darkItemBg:Tt,darkSubMenuItemBg:fn,darkItemSelectedColor:qt,darkItemSelectedBg:jt,darkDangerItemSelectedBg:cn,darkItemHoverBg:nn,darkGroupTitleColor:et,darkItemHoverColor:zt,darkItemDisabledColor:hn,darkDangerItemHoverColor:tn,darkDangerItemSelectedColor:ze,darkDangerItemActiveBg:Un}=N,On=gt/7*5,Yn=(0,xt.TS)(N,{menuArrowSize:On,menuHorizontalHeight:De*1.15,menuArrowOffset:`${On*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:_e}),wi=(0,xt.TS)(Yn,{itemColor:ut,itemHoverColor:zt,groupTitleColor:et,itemSelectedColor:qt,itemBg:Tt,popupBg:Tt,subMenuItemBg:fn,itemActiveBg:"transparent",itemSelectedBg:jt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nn,itemDisabledColor:hn,dangerItemColor:nt,dangerItemHoverColor:tn,dangerItemSelectedColor:ze,dangerItemActiveBg:Un,dangerItemSelectedBg:cn,menuSubMenuBg:fn,horizontalItemSelectedColor:He,horizontalItemSelectedBg:Nt});return[Ln(Yn),wt(Yn),an(Yn),Ht(Yn,"light"),Ht(wi,"dark"),Je(Yn),(0,ie.Z)(Yn),(0,lt.oN)(Yn,"slide-up"),(0,lt.oN)(Yn,"slide-down"),(0,We._y)(Yn,"zoom-big")]},N=>{const{colorPrimary:_e,colorError:Nt,colorTextDisabled:He,colorErrorBg:De,colorText:gt,colorTextDescription:ut,colorBgContainer:nt,colorFillAlter:Tt,colorFillContent:fn,lineWidth:qt,lineWidthBold:jt,controlItemBgActive:cn,colorBgTextHover:nn,controlHeightLG:et,lineHeight:zt,colorBgElevated:hn,marginXXS:tn,padding:ze,fontSize:Un,controlHeightSM:On,fontSizeLG:Yn,colorTextLightSolid:wi,colorErrorHover:vi}=N,dn=new Xe.C(wi).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:N.zIndexPopupBase+50,radiusItem:N.borderRadiusLG,itemBorderRadius:N.borderRadiusLG,radiusSubMenuItem:N.borderRadiusSM,subMenuItemBorderRadius:N.borderRadiusSM,colorItemText:gt,itemColor:gt,colorItemTextHover:gt,itemHoverColor:gt,colorItemTextHoverHorizontal:_e,horizontalItemHoverColor:_e,colorGroupTitle:ut,groupTitleColor:ut,colorItemTextSelected:_e,itemSelectedColor:_e,colorItemTextSelectedHorizontal:_e,horizontalItemSelectedColor:_e,colorItemBg:nt,itemBg:nt,colorItemBgHover:nn,itemHoverBg:nn,colorItemBgActive:fn,itemActiveBg:cn,colorSubItemBg:Tt,subMenuItemBg:Tt,colorItemBgSelected:cn,itemSelectedBg:cn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:jt,activeBarHeight:jt,colorActiveBarBorderSize:qt,activeBarBorderWidth:qt,colorItemTextDisabled:He,itemDisabledColor:He,colorDangerItemText:Nt,dangerItemColor:Nt,colorDangerItemTextHover:Nt,dangerItemHoverColor:Nt,colorDangerItemTextSelected:Nt,dangerItemSelectedColor:Nt,colorDangerItemBgActive:De,dangerItemActiveBg:De,colorDangerItemBgSelected:De,dangerItemSelectedBg:De,itemMarginInline:N.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:zt,collapsedWidth:et*2,popupBg:hn,itemMarginBlock:tn,itemPaddingInline:ze,horizontalLineHeight:`${et*1.15}px`,iconSize:Un,iconMarginInlineEnd:On-Un,collapsedIconSize:Yn,groupTitleFontSize:Un,darkItemDisabledColor:new Xe.C(wi).setAlpha(.25).toRgbString(),darkItemColor:dn,darkDangerItemColor:Nt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:wi,darkItemSelectedBg:_e,darkDangerItemSelectedBg:Nt,darkItemHoverBg:"transparent",darkGroupTitleColor:dn,darkItemHoverColor:wi,darkDangerItemHoverColor:vi,darkDangerItemSelectedColor:wi,darkDangerItemActiveBg:Nt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(k),Jn=function(k,j){var X={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&j.indexOf(N)<0&&(X[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,N=Object.getOwnPropertySymbols(k);_e{var X,N;const _e=I.useContext(ee.Z),Nt=_e||{},{getPrefixCls:He,getPopupContainer:De,direction:gt,menu:ut}=I.useContext(P.E_),nt=He(),{prefixCls:Tt,className:fn,style:qt,theme:jt="light",expandIcon:cn,_internalDisableMenuItemTitleTooltip:nn,inlineCollapsed:et,siderCollapsed:zt,items:hn,children:tn,rootClassName:ze,mode:Un,selectable:On,onClick:Yn,overflowedIndicatorPopupClassName:wi}=k,vi=Jn(k,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dn=(0,Me.Z)(vi,["collapsedWidth"]),ln=Fe(hn)||tn;(X=Nt.validator)===null||X===void 0||X.call(Nt,{mode:Un});const gr=(0,ge.useEvent)(function(){var Ir;Yn==null||Yn.apply(void 0,arguments),(Ir=Nt.onClick)===null||Ir===void 0||Ir.call(Nt)}),er=Nt.mode||Un,ti=On!=null?On:Nt.selectable,Nr=I.useMemo(()=>zt!==void 0?zt:et,[et,zt]),pr={horizontal:{motionName:`${nt}-slide-up`},inline:(0,ke.Z)(nt),other:{motionName:`${nt}-zoom-big`}},U=He("menu",Tt||Nt.prefixCls),[yr,Er]=ni(U,!_e),wr=G()(`${U}-${jt}`,ut==null?void 0:ut.className,fn);let eo;if(typeof cn=="function")eo=cn;else if(cn===null||cn===!1)eo=null;else if(Nt.expandIcon===null||Nt.expandIcon===!1)eo=null;else{const Ir=cn!=null?cn:Nt.expandIcon;eo=(0,Qe.Tm)(Ir,{className:G()(`${U}-submenu-expand-icon`,(0,Qe.l$)(Ir)?(N=Ir.props)===null||N===void 0?void 0:N.className:"")})}const yo=I.useMemo(()=>({prefixCls:U,inlineCollapsed:Nr||!1,direction:gt,firstLevel:!0,theme:jt,mode:er,disableMenuItemTitleTooltip:nn}),[U,Nr,gt,nn,jt]);return yr(I.createElement(ee.Z.Provider,{value:null},I.createElement(Te.Provider,{value:yo},I.createElement(v.ZP,Object.assign({getPopupContainer:De,overflowedIndicator:I.createElement(xe.Z,null),overflowedIndicatorPopupClassName:G()(U,`${U}-${jt}`,wi),mode:er,selectable:ti,onClick:gr},dn,{inlineCollapsed:Nr,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),qt),className:wr,prefixCls:U,direction:gt,defaultMotions:pr,expandIcon:eo,ref:j,rootClassName:G()(ze,Er)}),ln))))});const re=(0,I.forwardRef)((k,j)=>{const X=(0,I.useRef)(null),N=I.useContext(O.D);return(0,I.useImperativeHandle)(j,()=>({menu:X.current,focus:_e=>{var Nt;(Nt=X.current)===null||Nt===void 0||Nt.focus(_e)}})),I.createElement(Mn,Object.assign({ref:X},k,N))});re.Item=Re,re.SubMenu=me,re.Divider=ce,re.ItemGroup=v.BW;var z=re},58421:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Nt}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},F=O,G=h(7657),P=function(De,gt){return I.createElement(G.Z,(0,v.Z)({},De,{ref:gt,icon:F}))},M=I.forwardRef(P),de=M,ce=h(49198),te=h(33853),Me=h(38819),we=h(92310),Qe=h.n(we),Oe=h(400),Te=h(33708),Ae=h(6909),Re=h(4771),fe=h(9427),me=h(25440),xe=h(26112),ge={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ke=ge,ee=h(91735),Ne=function(He){(0,fe.Z)(gt,He);var De=(0,me.Z)(gt);function gt(){var ut;(0,Ae.Z)(this,gt);for(var nt=arguments.length,Tt=new Array(nt),fn=0;fn=0||qt.relatedTarget.className.indexOf("".concat(et,"-item"))>=0))&&nn(ut.getValidValue()))},ut.go=function(qt){var jt=ut.state.goInputText;jt!==""&&(qt.keyCode===ke.ENTER||qt.type==="click")&&(ut.setState({goInputText:""}),ut.props.quickGo(ut.getValidValue()))},ut}return(0,Re.Z)(gt,[{key:"getPageSizeOptions",value:function(){var nt=this.props,Tt=nt.pageSize,fn=nt.pageSizeOptions;return fn.some(function(qt){return qt.toString()===Tt.toString()})?fn:fn.concat([Tt.toString()]).sort(function(qt,jt){var cn=Number.isNaN(Number(qt))?0:Number(qt),nn=Number.isNaN(Number(jt))?0:Number(jt);return cn-nn})}},{key:"render",value:function(){var nt=this,Tt=this.props,fn=Tt.pageSize,qt=Tt.locale,jt=Tt.rootPrefixCls,cn=Tt.changeSize,nn=Tt.quickGo,et=Tt.goButton,zt=Tt.selectComponentClass,hn=Tt.buildOptionText,tn=Tt.selectPrefixCls,ze=Tt.disabled,Un=this.state.goInputText,On="".concat(jt,"-options"),Yn=zt,wi=null,vi=null,dn=null;if(!cn&&!nn)return null;var ln=this.getPageSizeOptions();if(cn&&Yn){var gr=ln.map(function(er,ti){return I.createElement(Yn.Option,{key:ti,value:er.toString()},(hn||nt.buildOptionText)(er))});wi=I.createElement(Yn,{disabled:ze,prefixCls:tn,showSearch:!1,className:"".concat(On,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(fn||ln[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ti){return ti.parentNode},"aria-label":qt.page_size,defaultOpen:!1},gr)}return nn&&(et&&(dn=typeof et=="boolean"?I.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ze,className:"".concat(On,"-quick-jumper-button")},qt.jump_to_confirm):I.createElement("span",{onClick:this.go,onKeyUp:this.go},et)),vi=I.createElement("div",{className:"".concat(On,"-quick-jumper")},qt.jump_to,I.createElement("input",{disabled:ze,type:"text",value:Un,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":qt.page}),qt.page,dn)),I.createElement("li",{className:"".concat(On)},wi,vi)}}]),gt}(I.Component);Ne.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ie=Ne,Fe=function(De){var gt,ut=De.rootPrefixCls,nt=De.page,Tt=De.active,fn=De.className,qt=De.showTitle,jt=De.onClick,cn=De.onKeyPress,nn=De.itemRender,et="".concat(ut,"-item"),zt=Qe()(et,"".concat(et,"-").concat(nt),(gt={},(0,Oe.Z)(gt,"".concat(et,"-active"),Tt),(0,Oe.Z)(gt,"".concat(et,"-disabled"),!nt),(0,Oe.Z)(gt,De.className,fn),gt)),hn=function(){jt(nt)},tn=function(On){cn(On,jt,nt)},ze=nn(nt,"page",I.createElement("a",{rel:"nofollow"},nt));return ze?I.createElement("li",{title:qt?nt.toString():null,className:zt,onClick:hn,onKeyPress:tn,tabIndex:0},ze):null},Xe=Fe;function Ye(){}function ie(He){var De=Number(He);return typeof De=="number"&&!Number.isNaN(De)&&isFinite(De)&&Math.floor(De)===De}var lt=function(De,gt,ut){return ut};function We(He,De,gt){var ut=typeof He=="undefined"?De.pageSize:He;return Math.floor((gt.total-1)/ut)+1}var Pt=function(He){(0,fe.Z)(gt,He);var De=(0,me.Z)(gt);function gt(ut){var nt;(0,Ae.Z)(this,gt),nt=De.call(this,ut),nt.paginationNode=I.createRef(),nt.getJumpPrevPage=function(){return Math.max(1,nt.state.current-(nt.props.showLessItems?3:5))},nt.getJumpNextPage=function(){return Math.min(We(void 0,nt.state,nt.props),nt.state.current+(nt.props.showLessItems?3:5))},nt.getItemIcon=function(cn,nn){var et=nt.props.prefixCls,zt=cn||I.createElement("button",{type:"button","aria-label":nn,className:"".concat(et,"-item-link")});return typeof cn=="function"&&(zt=I.createElement(cn,(0,Te.Z)({},nt.props))),zt},nt.isValid=function(cn){var nn=nt.props.total;return ie(cn)&&cn!==nt.state.current&&ie(nn)&&nn>0},nt.shouldDisplayQuickJumper=function(){var cn=nt.props,nn=cn.showQuickJumper,et=cn.total,zt=nt.state.pageSize;return et<=zt?!1:nn},nt.handleKeyDown=function(cn){(cn.keyCode===ke.ARROW_UP||cn.keyCode===ke.ARROW_DOWN)&&cn.preventDefault()},nt.handleKeyUp=function(cn){var nn=nt.getValidValue(cn),et=nt.state.currentInputValue;nn!==et&&nt.setState({currentInputValue:nn}),cn.keyCode===ke.ENTER?nt.handleChange(nn):cn.keyCode===ke.ARROW_UP?nt.handleChange(nn-1):cn.keyCode===ke.ARROW_DOWN&&nt.handleChange(nn+1)},nt.handleBlur=function(cn){var nn=nt.getValidValue(cn);nt.handleChange(nn)},nt.changePageSize=function(cn){var nn=nt.state.current,et=We(cn,nt.state,nt.props);nn=nn>et?et:nn,et===0&&(nn=nt.state.current),typeof cn=="number"&&("pageSize"in nt.props||nt.setState({pageSize:cn}),"current"in nt.props||nt.setState({current:nn,currentInputValue:nn})),nt.props.onShowSizeChange(nn,cn),"onChange"in nt.props&&nt.props.onChange&&nt.props.onChange(nn,cn)},nt.handleChange=function(cn){var nn=nt.props,et=nn.disabled,zt=nn.onChange,hn=nt.state,tn=hn.pageSize,ze=hn.current,Un=hn.currentInputValue;if(nt.isValid(cn)&&!et){var On=We(void 0,nt.state,nt.props),Yn=cn;return cn>On?Yn=On:cn<1&&(Yn=1),"current"in nt.props||nt.setState({current:Yn}),Yn!==Un&&nt.setState({currentInputValue:Yn}),zt(Yn,tn),Yn}return ze},nt.prev=function(){nt.hasPrev()&&nt.handleChange(nt.state.current-1)},nt.next=function(){nt.hasNext()&&nt.handleChange(nt.state.current+1)},nt.jumpPrev=function(){nt.handleChange(nt.getJumpPrevPage())},nt.jumpNext=function(){nt.handleChange(nt.getJumpNextPage())},nt.hasPrev=function(){return nt.state.current>1},nt.hasNext=function(){return nt.state.current2?et-2:0),hn=2;hn=fn?jt=fn:jt=Number(Tt),jt}},{key:"getShowSizeChanger",value:function(){var nt=this.props,Tt=nt.showSizeChanger,fn=nt.total,qt=nt.totalBoundaryShowSizeChanger;return typeof Tt!="undefined"?Tt:fn>qt}},{key:"render",value:function(){var nt=this.props,Tt=nt.prefixCls,fn=nt.className,qt=nt.style,jt=nt.disabled,cn=nt.hideOnSinglePage,nn=nt.total,et=nt.locale,zt=nt.showQuickJumper,hn=nt.showLessItems,tn=nt.showTitle,ze=nt.showTotal,Un=nt.simple,On=nt.itemRender,Yn=nt.showPrevNextJumpers,wi=nt.jumpPrevIcon,vi=nt.jumpNextIcon,dn=nt.selectComponentClass,ln=nt.selectPrefixCls,gr=nt.pageSizeOptions,er=this.state,ti=er.current,Nr=er.pageSize,pr=er.currentInputValue;if(cn===!0&&nn<=Nr)return null;var U=We(void 0,this.state,this.props),yr=[],Er=null,wr=null,eo=null,yo=null,Ir=null,no=zt&&zt.goButton,ur=hn?1:2,zi=ti-1>0?ti-1:0,xi=ti+1nn?nn:ti*Nr]));if(Un){no&&(typeof no=="boolean"?Ir=I.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},et.jump_to_confirm):Ir=I.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},no),Ir=I.createElement("li",{title:tn?"".concat(et.jump_to).concat(ti,"/").concat(U):null,className:"".concat(Tt,"-simple-pager")},Ir));var Wn=this.renderPrev(zi);return I.createElement("ul",(0,v.Z)({className:Qe()(Tt,"".concat(Tt,"-simple"),(0,Oe.Z)({},"".concat(Tt,"-disabled"),jt),fn),style:qt,ref:this.paginationNode},dt),_n,Wn?I.createElement("li",{title:tn?et.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Qe()("".concat(Tt,"-prev"),(0,Oe.Z)({},"".concat(Tt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wn):null,I.createElement("li",{title:tn?"".concat(ti,"/").concat(U):null,className:"".concat(Tt,"-simple-pager")},I.createElement("input",{type:"text",value:pr,disabled:jt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),I.createElement("span",{className:"".concat(Tt,"-slash")},"/"),U),I.createElement("li",{title:tn?et.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Qe()("".concat(Tt,"-next"),(0,Oe.Z)({},"".concat(Tt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(xi)),Ir)}if(U<=3+ur*2){var yt={locale:et,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:tn,itemRender:On};U||yr.push(I.createElement(Xe,(0,v.Z)({},yt,{key:"noPager",page:1,className:"".concat(Tt,"-item-disabled")})));for(var Ke=1;Ke<=U;Ke+=1){var gn=ti===Ke;yr.push(I.createElement(Xe,(0,v.Z)({},yt,{key:Ke,page:Ke,active:gn})))}}else{var kn=hn?et.prev_3:et.prev_5,on=hn?et.next_3:et.next_5,Ct=On(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(wi,"prev page")),Ve=On(this.getJumpNextPage(),"jump-next",this.getItemIcon(vi,"next page"));Yn&&(Er=Ct?I.createElement("li",{title:tn?kn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Qe()("".concat(Tt,"-jump-prev"),(0,Oe.Z)({},"".concat(Tt,"-jump-prev-custom-icon"),!!wi))},Ct):null,wr=Ve?I.createElement("li",{title:tn?on:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Qe()("".concat(Tt,"-jump-next"),(0,Oe.Z)({},"".concat(Tt,"-jump-next-custom-icon"),!!vi))},Ve):null),yo=I.createElement(Xe,{locale:et,last:!0,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:U,page:U,active:!1,showTitle:tn,itemRender:On}),eo=I.createElement(Xe,{locale:et,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:tn,itemRender:On});var Ut=Math.max(1,ti-ur),Ot=Math.min(ti+ur,U);ti-1<=ur&&(Ot=1+ur*2),U-ti<=ur&&(Ut=U-ur*2);for(var Gn=Ut;Gn<=Ot;Gn+=1){var ot=ti===Gn;yr.push(I.createElement(Xe,{locale:et,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Gn,page:Gn,active:ot,showTitle:tn,itemRender:On}))}ti-1>=ur*2&&ti!==3&&(yr[0]=(0,I.cloneElement)(yr[0],{className:"".concat(Tt,"-item-after-jump-prev")}),yr.unshift(Er)),U-ti>=ur*2&&ti!==U-2&&(yr[yr.length-1]=(0,I.cloneElement)(yr[yr.length-1],{className:"".concat(Tt,"-item-before-jump-next")}),yr.push(wr)),Ut!==1&&yr.unshift(eo),Ot!==U&&yr.push(yo)}var un=!this.hasPrev()||!U,vt=!this.hasNext()||!U,je=this.renderPrev(zi),L=this.renderNext(xi);return I.createElement("ul",(0,v.Z)({className:Qe()(Tt,fn,(0,Oe.Z)({},"".concat(Tt,"-disabled"),jt)),style:qt,ref:this.paginationNode},dt),_n,je?I.createElement("li",{title:tn?et.prev_page:null,onClick:this.prev,tabIndex:un?null:0,onKeyPress:this.runIfEnterPrev,className:Qe()("".concat(Tt,"-prev"),(0,Oe.Z)({},"".concat(Tt,"-disabled"),un)),"aria-disabled":un},je):null,yr,L?I.createElement("li",{title:tn?et.next_page:null,onClick:this.next,tabIndex:vt?null:0,onKeyPress:this.runIfEnterNext,className:Qe()("".concat(Tt,"-next"),(0,Oe.Z)({},"".concat(Tt,"-disabled"),vt)),"aria-disabled":vt},L):null,I.createElement(Ie,{disabled:jt,locale:et,rootPrefixCls:Tt,selectComponentClass:dn,selectPrefixCls:ln,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ti,pageSize:Nr,pageSizeOptions:gr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:no}))}}],[{key:"getDerivedStateFromProps",value:function(nt,Tt){var fn={};if("current"in nt&&(fn.current=nt.current,nt.current!==Tt.current&&(fn.currentInputValue=fn.current)),"pageSize"in nt&&nt.pageSize!==Tt.pageSize){var qt=Tt.current,jt=We(nt.pageSize,Tt,nt);qt=qt>jt?jt:qt,"current"in nt||(fn.current=qt,fn.currentInputValue=qt),fn.pageSize=nt.pageSize}return fn}}]),gt}(I.Component);Pt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ye,locale:ee.Z,style:{},itemRender:lt,totalBoundaryShowSizeChanger:50};var xt=Pt,kt=h(22075),wt=h(36355),En=h(19716),Je=h(8628),se=h(9763),ue=h(57809);const Ht=He=>I.createElement(ue.default,Object.assign({},He,{showSearch:!0,size:"small"})),Vt=He=>I.createElement(ue.default,Object.assign({},He,{showSearch:!0,size:"middle"}));Ht.Option=ue.default.Option,Vt.Option=ue.default.Option;var St=h(9937),an=h(17313),Ft=h(83116),ai=h(37613);const Ln=He=>{const{componentCls:De}=He;return{[`${De}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${De}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${De}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}}},[`&${De}-disabled`]:{cursor:"not-allowed",[`${De}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:He.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:He.colorBorder,backgroundColor:He.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:He.itemActiveBgDisabled},a:{color:He.itemActiveColorDisabled}}},[`${De}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${De}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${De}-simple-pager`]:{color:He.colorTextDisabled},[`${De}-jump-prev, ${De}-jump-next`]:{[`${De}-item-link-icon`]:{opacity:0},[`${De}-item-ellipsis`]:{opacity:1}}},[`&${De}-simple`]:{[`${De}-prev, ${De}-next`]:{[`&${De}-disabled ${De}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ni=He=>{const{componentCls:De}=He;return{[`&${De}-mini ${De}-total-text, &${De}-mini ${De}-simple-pager`]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`},[`&${De}-mini ${De}-item`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM-2}px`},[`&${De}-mini:not(${De}-disabled) ${De}-item:not(${De}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},[`&${De}-mini ${De}-prev, &${De}-mini ${De}-next`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM}px`},[`&${De}-mini:not(${De}-disabled)`]:{[`${De}-prev, ${De}-next`]:{[`&:hover ${De}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${De}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${De}-disabled:hover ${De}-item-link`]:{backgroundColor:"transparent"}}},[` + `]:{opacity:0},[`${j}-item-icon, ${X}`]:{margin:0,fontSize:an,lineHeight:`${T}px`,"+ span":{display:"inline-block",opacity:0}}},[`${j}-item-icon, ${X}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${j}-item-icon, ${X}`]:{display:"none"},"a, a:hover":{color:_e}},[`${j}-item-group-title`]:Object.assign(Object.assign({},Ye.vS),{paddingInline:nn})}}]};const Ft=k=>{const{componentCls:j,motionDurationSlow:X,motionDurationMid:T,motionEaseInOut:_e,motionEaseOut:It,iconCls:$e,iconSize:De,iconMarginInlineEnd:gt}=k;return{[`${j}-item, ${j}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${X}`,`background ${X}`,`padding ${X} ${_e}`].join(","),[`${j}-item-icon, ${$e}`]:{minWidth:De,fontSize:De,transition:[`font-size ${T} ${It}`,`margin ${X} ${_e}`,`color ${X}`].join(","),"+ span":{marginInlineStart:gt,opacity:1,transition:[`opacity ${X} ${_e}`,`margin ${X}`,`color ${X}`].join(",")}},[`${j}-item-icon`]:Object.assign({},(0,Ye.Ro)()),[`&${j}-item-only-child`]:{[`> ${$e}, > ${j}-item-icon`]:{marginInlineEnd:0}}},[`${j}-item-disabled, ${j}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${j}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},oi=k=>{const{componentCls:j,motionDurationSlow:X,motionEaseInOut:T,borderRadius:_e,menuArrowSize:It,menuArrowOffset:$e}=k;return{[`${j}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:k.margin,width:It,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${X} ${T}, opacity ${X}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:It*.6,height:It*.15,backgroundColor:"currentcolor",borderRadius:_e,transition:[`background ${X} ${T}`,`transform ${X} ${T}`,`top ${X} ${T}`,`color ${X} ${T}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${$e})`},"&::after":{transform:`rotate(-45deg) translateY(${$e})`}}}}},On=k=>{const{antCls:j,componentCls:X,fontSize:T,motionDurationSlow:_e,motionDurationMid:It,motionEaseInOut:$e,paddingXS:De,padding:gt,colorSplit:ut,lineWidth:tt,zIndexPopup:Et,borderRadiusLG:pn,subMenuItemBorderRadius:nn,menuArrowSize:Kt,menuArrowOffset:hn,lineType:an,menuPanelMaskInset:et,groupTitleLineHeight:zt,groupTitleFontSize:dn}=k;return[{"":{[`${X}`]:Object.assign(Object.assign({},(0,Ye.dF)()),{"&-hidden":{display:"none"}})},[`${X}-submenu-hidden`]:{display:"none"}},{[X]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(k)),(0,Ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:T,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${X}-item`]:{flex:"none"}},[`${X}-item, ${X}-submenu, ${X}-submenu-title`]:{borderRadius:k.itemBorderRadius},[`${X}-item-group-title`]:{padding:`${De}px ${gt}px`,fontSize:dn,lineHeight:zt,transition:`all ${_e}`},[`&-horizontal ${X}-submenu`]:{transition:[`border-color ${_e} ${$e}`,`background ${_e} ${$e}`].join(",")},[`${X}-submenu, ${X}-submenu-inline`]:{transition:[`border-color ${_e} ${$e}`,`background ${_e} ${$e}`,`padding ${It} ${$e}`].join(",")},[`${X}-submenu ${X}-sub`]:{cursor:"initial",transition:[`background ${_e} ${$e}`,`padding ${_e} ${$e}`].join(",")},[`${X}-title-content`]:{transition:`color ${_e}`},[`${X}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${X}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ut,borderStyle:an,borderWidth:0,borderTopWidth:tt,marginBlock:tt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ft(k)),{[`${X}-item-group`]:{[`${X}-item-group-list`]:{margin:0,padding:0,[`${X}-item, ${X}-submenu-title`]:{paddingInline:`${T*2}px ${gt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Et,borderRadius:pn,boxShadow:"none",transformOrigin:"0 0",[`&${X}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${et}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:et},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:k.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:k.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:k.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:k.paddingXS},[`> ${X}`]:Object.assign(Object.assign(Object.assign({borderRadius:pn},Ft(k)),oi(k)),{[`${X}-item, ${X}-submenu > ${X}-submenu-title`]:{borderRadius:nn},[`${X}-submenu-title::after`]:{transition:`transform ${_e} ${$e}`}})}}),oi(k)),{[`&-inline-collapsed ${X}-submenu-arrow, + &-inline ${X}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${hn})`},"&::after":{transform:`rotate(45deg) translateX(-${hn})`}},[`${X}-submenu-open${X}-submenu-inline > ${X}-submenu-title > ${X}-submenu-arrow`]:{transform:`translateY(-${Kt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${hn})`},"&::before":{transform:`rotate(45deg) translateX(${hn})`}}})},{[`${j}-layout-header`]:{[X]:{lineHeight:"inherit"}}}]};var ni=(k,j)=>(0,Pt.Z)("Menu",T=>{if(j===!1)return[];const{colorBgElevated:_e,colorPrimary:It,colorTextLightSolid:$e,controlHeightLG:De,fontSize:gt,darkItemColor:ut,darkDangerItemColor:tt,darkItemBg:Et,darkSubMenuItemBg:pn,darkItemSelectedColor:nn,darkItemSelectedBg:Kt,darkDangerItemSelectedBg:hn,darkItemHoverBg:an,darkGroupTitleColor:et,darkItemHoverColor:zt,darkItemDisabledColor:dn,darkDangerItemHoverColor:rn,darkDangerItemSelectedColor:ze,darkDangerItemActiveBg:Un}=T,yn=gt/7*5,Bt=(0,xt.TS)(T,{menuArrowSize:yn,menuHorizontalHeight:De*1.15,menuArrowOffset:`${yn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:_e}),Si=(0,xt.TS)(Bt,{itemColor:ut,itemHoverColor:zt,groupTitleColor:et,itemSelectedColor:nn,itemBg:Et,popupBg:Et,subMenuItemBg:pn,itemActiveBg:"transparent",itemSelectedBg:Kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:an,itemDisabledColor:dn,dangerItemColor:tt,dangerItemHoverColor:rn,dangerItemSelectedColor:ze,dangerItemActiveBg:Un,dangerItemSelectedBg:hn,menuSubMenuBg:pn,horizontalItemSelectedColor:$e,horizontalItemSelectedBg:It});return[On(Bt),Ct(Bt),sn(Bt),Ht(Bt,"light"),Ht(Si,"dark"),Qe(Bt),(0,re.Z)(Bt),(0,lt.oN)(Bt,"slide-up"),(0,lt.oN)(Bt,"slide-down"),(0,We._y)(Bt,"zoom-big")]},T=>{const{colorPrimary:_e,colorError:It,colorTextDisabled:$e,colorErrorBg:De,colorText:gt,colorTextDescription:ut,colorBgContainer:tt,colorFillAlter:Et,colorFillContent:pn,lineWidth:nn,lineWidthBold:Kt,controlItemBgActive:hn,colorBgTextHover:an,controlHeightLG:et,lineHeight:zt,colorBgElevated:dn,marginXXS:rn,padding:ze,fontSize:Un,controlHeightSM:yn,fontSizeLG:Bt,colorTextLightSolid:Si,colorErrorHover:_i}=T,Ii=new Je.C(Si).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:T.zIndexPopupBase+50,radiusItem:T.borderRadiusLG,itemBorderRadius:T.borderRadiusLG,radiusSubMenuItem:T.borderRadiusSM,subMenuItemBorderRadius:T.borderRadiusSM,colorItemText:gt,itemColor:gt,colorItemTextHover:gt,itemHoverColor:gt,colorItemTextHoverHorizontal:_e,horizontalItemHoverColor:_e,colorGroupTitle:ut,groupTitleColor:ut,colorItemTextSelected:_e,itemSelectedColor:_e,colorItemTextSelectedHorizontal:_e,horizontalItemSelectedColor:_e,colorItemBg:tt,itemBg:tt,colorItemBgHover:an,itemHoverBg:an,colorItemBgActive:pn,itemActiveBg:hn,colorSubItemBg:Et,subMenuItemBg:Et,colorItemBgSelected:hn,itemSelectedBg:hn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Kt,activeBarHeight:Kt,colorActiveBarBorderSize:nn,activeBarBorderWidth:nn,colorItemTextDisabled:$e,itemDisabledColor:$e,colorDangerItemText:It,dangerItemColor:It,colorDangerItemTextHover:It,dangerItemHoverColor:It,colorDangerItemTextSelected:It,dangerItemSelectedColor:It,colorDangerItemBgActive:De,dangerItemActiveBg:De,colorDangerItemBgSelected:De,dangerItemSelectedBg:De,itemMarginInline:T.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:zt,collapsedWidth:et*2,popupBg:dn,itemMarginBlock:rn,itemPaddingInline:ze,horizontalLineHeight:`${et*1.15}px`,iconSize:Un,iconMarginInlineEnd:yn-Un,collapsedIconSize:Bt,groupTitleFontSize:Un,darkItemDisabledColor:new Je.C(Si).setAlpha(.25).toRgbString(),darkItemColor:Ii,darkDangerItemColor:It,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Si,darkItemSelectedBg:_e,darkDangerItemSelectedBg:It,darkItemHoverBg:"transparent",darkGroupTitleColor:Ii,darkItemHoverColor:Si,darkDangerItemHoverColor:_i,darkDangerItemSelectedColor:Si,darkDangerItemActiveBg:It}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(k),Jn=function(k,j){var X={};for(var T in k)Object.prototype.hasOwnProperty.call(k,T)&&j.indexOf(T)<0&&(X[T]=k[T]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,T=Object.getOwnPropertySymbols(k);_e{var X,T;const _e=I.useContext(ee.Z),It=_e||{},{getPrefixCls:$e,getPopupContainer:De,direction:gt,menu:ut}=I.useContext(F.E_),tt=$e(),{prefixCls:Et,className:pn,style:nn,theme:Kt="light",expandIcon:hn,_internalDisableMenuItemTitleTooltip:an,inlineCollapsed:et,siderCollapsed:zt,items:dn,children:rn,rootClassName:ze,mode:Un,selectable:yn,onClick:Bt,overflowedIndicatorPopupClassName:Si}=k,_i=Jn(k,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ii=(0,Me.Z)(_i,["collapsedWidth"]),cn=Le(dn)||rn;(X=It.validator)===null||X===void 0||X.call(It,{mode:Un});const fr=(0,me.useEvent)(function(){var kr;Bt==null||Bt.apply(void 0,arguments),(kr=It.onClick)===null||kr===void 0||kr.call(It)}),Xi=It.mode||Un,ei=yn!=null?yn:It.selectable,Tr=I.useMemo(()=>zt!==void 0?zt:et,[et,zt]),ur={horizontal:{motionName:`${tt}-slide-up`},inline:(0,ke.Z)(tt),other:{motionName:`${tt}-zoom-big`}},U=$e("menu",Et||It.prefixCls),[mr,Er]=ni(U,!_e),wr=G()(`${U}-${Kt}`,ut==null?void 0:ut.className,pn);let qr;if(typeof hn=="function")qr=hn;else if(hn===null||hn===!1)qr=null;else if(It.expandIcon===null||It.expandIcon===!1)qr=null;else{const kr=hn!=null?hn:It.expandIcon;qr=(0,Xe.Tm)(kr,{className:G()(`${U}-submenu-expand-icon`,(0,Xe.l$)(kr)?(T=kr.props)===null||T===void 0?void 0:T.className:"")})}const xo=I.useMemo(()=>({prefixCls:U,inlineCollapsed:Tr||!1,direction:gt,firstLevel:!0,theme:Kt,mode:Xi,disableMenuItemTitleTooltip:an}),[U,Tr,gt,an,Kt]);return mr(I.createElement(ee.Z.Provider,{value:null},I.createElement(Ce.Provider,{value:xo},I.createElement(v.ZP,Object.assign({getPopupContainer:De,overflowedIndicator:I.createElement(xe.Z,null),overflowedIndicatorPopupClassName:G()(U,`${U}-${Kt}`,Si),mode:Xi,selectable:ei,onClick:fr},Ii,{inlineCollapsed:Tr,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),nn),className:wr,prefixCls:U,direction:gt,defaultMotions:ur,expandIcon:qr,ref:j,rootClassName:G()(ze,Er)}),cn))))});const ie=(0,I.forwardRef)((k,j)=>{const X=(0,I.useRef)(null),T=I.useContext(O.D);return(0,I.useImperativeHandle)(j,()=>({menu:X.current,focus:_e=>{var It;(It=X.current)===null||It===void 0||It.focus(_e)}})),I.createElement(In,Object.assign({ref:X},k,T))});ie.Item=Pe,ie.SubMenu=pe,ie.Divider=ae,ie.ItemGroup=v.BW;var z=ie},58421:function(Q,C,h){"use strict";h.d(C,{Z:function(){return It}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},B=O,G=h(7657),F=function(De,gt){return I.createElement(G.Z,(0,v.Z)({},De,{ref:gt,icon:B}))},M=I.forwardRef(F),de=M,ae=h(49198),te=h(33853),Me=h(38819),we=h(92310),Xe=h.n(we),Oe=h(400),Ce=h(33708),Ae=h(6909),Pe=h(4771),fe=h(9427),pe=h(25440),xe=h(26112),me={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ke=me,ee=h(91735),Ne=function($e){(0,fe.Z)(gt,$e);var De=(0,pe.Z)(gt);function gt(){var ut;(0,Ae.Z)(this,gt);for(var tt=arguments.length,Et=new Array(tt),pn=0;pn=0||nn.relatedTarget.className.indexOf("".concat(et,"-item"))>=0))&&an(ut.getValidValue()))},ut.go=function(nn){var Kt=ut.state.goInputText;Kt!==""&&(nn.keyCode===ke.ENTER||nn.type==="click")&&(ut.setState({goInputText:""}),ut.props.quickGo(ut.getValidValue()))},ut}return(0,Pe.Z)(gt,[{key:"getPageSizeOptions",value:function(){var tt=this.props,Et=tt.pageSize,pn=tt.pageSizeOptions;return pn.some(function(nn){return nn.toString()===Et.toString()})?pn:pn.concat([Et.toString()]).sort(function(nn,Kt){var hn=Number.isNaN(Number(nn))?0:Number(nn),an=Number.isNaN(Number(Kt))?0:Number(Kt);return hn-an})}},{key:"render",value:function(){var tt=this,Et=this.props,pn=Et.pageSize,nn=Et.locale,Kt=Et.rootPrefixCls,hn=Et.changeSize,an=Et.quickGo,et=Et.goButton,zt=Et.selectComponentClass,dn=Et.buildOptionText,rn=Et.selectPrefixCls,ze=Et.disabled,Un=this.state.goInputText,yn="".concat(Kt,"-options"),Bt=zt,Si=null,_i=null,Ii=null;if(!hn&&!an)return null;var cn=this.getPageSizeOptions();if(hn&&Bt){var fr=cn.map(function(Xi,ei){return I.createElement(Bt.Option,{key:ei,value:Xi.toString()},(dn||tt.buildOptionText)(Xi))});Si=I.createElement(Bt,{disabled:ze,prefixCls:rn,showSearch:!1,className:"".concat(yn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(pn||cn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ei){return ei.parentNode},"aria-label":nn.page_size,defaultOpen:!1},fr)}return an&&(et&&(Ii=typeof et=="boolean"?I.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ze,className:"".concat(yn,"-quick-jumper-button")},nn.jump_to_confirm):I.createElement("span",{onClick:this.go,onKeyUp:this.go},et)),_i=I.createElement("div",{className:"".concat(yn,"-quick-jumper")},nn.jump_to,I.createElement("input",{disabled:ze,type:"text",value:Un,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Ii)),I.createElement("li",{className:"".concat(yn)},Si,_i)}}]),gt}(I.Component);Ne.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ie=Ne,Le=function(De){var gt,ut=De.rootPrefixCls,tt=De.page,Et=De.active,pn=De.className,nn=De.showTitle,Kt=De.onClick,hn=De.onKeyPress,an=De.itemRender,et="".concat(ut,"-item"),zt=Xe()(et,"".concat(et,"-").concat(tt),(gt={},(0,Oe.Z)(gt,"".concat(et,"-active"),Et),(0,Oe.Z)(gt,"".concat(et,"-disabled"),!tt),(0,Oe.Z)(gt,De.className,pn),gt)),dn=function(){Kt(tt)},rn=function(yn){hn(yn,Kt,tt)},ze=an(tt,"page",I.createElement("a",{rel:"nofollow"},tt));return ze?I.createElement("li",{title:nn?tt.toString():null,className:zt,onClick:dn,onKeyPress:rn,tabIndex:0},ze):null},Je=Le;function Ye(){}function re($e){var De=Number($e);return typeof De=="number"&&!Number.isNaN(De)&&isFinite(De)&&Math.floor(De)===De}var lt=function(De,gt,ut){return ut};function We($e,De,gt){var ut=typeof $e=="undefined"?De.pageSize:$e;return Math.floor((gt.total-1)/ut)+1}var Pt=function($e){(0,fe.Z)(gt,$e);var De=(0,pe.Z)(gt);function gt(ut){var tt;(0,Ae.Z)(this,gt),tt=De.call(this,ut),tt.paginationNode=I.createRef(),tt.getJumpPrevPage=function(){return Math.max(1,tt.state.current-(tt.props.showLessItems?3:5))},tt.getJumpNextPage=function(){return Math.min(We(void 0,tt.state,tt.props),tt.state.current+(tt.props.showLessItems?3:5))},tt.getItemIcon=function(hn,an){var et=tt.props.prefixCls,zt=hn||I.createElement("button",{type:"button","aria-label":an,className:"".concat(et,"-item-link")});return typeof hn=="function"&&(zt=I.createElement(hn,(0,Ce.Z)({},tt.props))),zt},tt.isValid=function(hn){var an=tt.props.total;return re(hn)&&hn!==tt.state.current&&re(an)&&an>0},tt.shouldDisplayQuickJumper=function(){var hn=tt.props,an=hn.showQuickJumper,et=hn.total,zt=tt.state.pageSize;return et<=zt?!1:an},tt.handleKeyDown=function(hn){(hn.keyCode===ke.ARROW_UP||hn.keyCode===ke.ARROW_DOWN)&&hn.preventDefault()},tt.handleKeyUp=function(hn){var an=tt.getValidValue(hn),et=tt.state.currentInputValue;an!==et&&tt.setState({currentInputValue:an}),hn.keyCode===ke.ENTER?tt.handleChange(an):hn.keyCode===ke.ARROW_UP?tt.handleChange(an-1):hn.keyCode===ke.ARROW_DOWN&&tt.handleChange(an+1)},tt.handleBlur=function(hn){var an=tt.getValidValue(hn);tt.handleChange(an)},tt.changePageSize=function(hn){var an=tt.state.current,et=We(hn,tt.state,tt.props);an=an>et?et:an,et===0&&(an=tt.state.current),typeof hn=="number"&&("pageSize"in tt.props||tt.setState({pageSize:hn}),"current"in tt.props||tt.setState({current:an,currentInputValue:an})),tt.props.onShowSizeChange(an,hn),"onChange"in tt.props&&tt.props.onChange&&tt.props.onChange(an,hn)},tt.handleChange=function(hn){var an=tt.props,et=an.disabled,zt=an.onChange,dn=tt.state,rn=dn.pageSize,ze=dn.current,Un=dn.currentInputValue;if(tt.isValid(hn)&&!et){var yn=We(void 0,tt.state,tt.props),Bt=hn;return hn>yn?Bt=yn:hn<1&&(Bt=1),"current"in tt.props||tt.setState({current:Bt}),Bt!==Un&&tt.setState({currentInputValue:Bt}),zt(Bt,rn),Bt}return ze},tt.prev=function(){tt.hasPrev()&&tt.handleChange(tt.state.current-1)},tt.next=function(){tt.hasNext()&&tt.handleChange(tt.state.current+1)},tt.jumpPrev=function(){tt.handleChange(tt.getJumpPrevPage())},tt.jumpNext=function(){tt.handleChange(tt.getJumpNextPage())},tt.hasPrev=function(){return tt.state.current>1},tt.hasNext=function(){return tt.state.current2?et-2:0),dn=2;dn=pn?Kt=pn:Kt=Number(Et),Kt}},{key:"getShowSizeChanger",value:function(){var tt=this.props,Et=tt.showSizeChanger,pn=tt.total,nn=tt.totalBoundaryShowSizeChanger;return typeof Et!="undefined"?Et:pn>nn}},{key:"render",value:function(){var tt=this.props,Et=tt.prefixCls,pn=tt.className,nn=tt.style,Kt=tt.disabled,hn=tt.hideOnSinglePage,an=tt.total,et=tt.locale,zt=tt.showQuickJumper,dn=tt.showLessItems,rn=tt.showTitle,ze=tt.showTotal,Un=tt.simple,yn=tt.itemRender,Bt=tt.showPrevNextJumpers,Si=tt.jumpPrevIcon,_i=tt.jumpNextIcon,Ii=tt.selectComponentClass,cn=tt.selectPrefixCls,fr=tt.pageSizeOptions,Xi=this.state,ei=Xi.current,Tr=Xi.pageSize,ur=Xi.currentInputValue;if(hn===!0&&an<=Tr)return null;var U=We(void 0,this.state,this.props),mr=[],Er=null,wr=null,qr=null,xo=null,kr=null,no=zt&&zt.goButton,rr=dn?1:2,Bi=ei-1>0?ei-1:0,yi=ei+1an?an:ei*Tr]));if(Un){no&&(typeof no=="boolean"?kr=I.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},et.jump_to_confirm):kr=I.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},no),kr=I.createElement("li",{title:rn?"".concat(et.jump_to).concat(ei,"/").concat(U):null,className:"".concat(Et,"-simple-pager")},kr));var Vn=this.renderPrev(Bi);return I.createElement("ul",(0,v.Z)({className:Xe()(Et,"".concat(Et,"-simple"),(0,Oe.Z)({},"".concat(Et,"-disabled"),Kt),pn),style:nn,ref:this.paginationNode},ht),_n,Vn?I.createElement("li",{title:rn?et.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(Et,"-prev"),(0,Oe.Z)({},"".concat(Et,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Vn):null,I.createElement("li",{title:rn?"".concat(ei,"/").concat(U):null,className:"".concat(Et,"-simple-pager")},I.createElement("input",{type:"text",value:ur,disabled:Kt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),I.createElement("span",{className:"".concat(Et,"-slash")},"/"),U),I.createElement("li",{title:rn?et.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(Et,"-next"),(0,Oe.Z)({},"".concat(Et,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(yi)),kr)}if(U<=3+rr*2){var pt={locale:et,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:rn,itemRender:yn};U||mr.push(I.createElement(Je,(0,v.Z)({},pt,{key:"noPager",page:1,className:"".concat(Et,"-item-disabled")})));for(var Ke=1;Ke<=U;Ke+=1){var vn=ei===Ke;mr.push(I.createElement(Je,(0,v.Z)({},pt,{key:Ke,page:Ke,active:vn})))}}else{var Fn=dn?et.prev_3:et.prev_5,on=dn?et.next_3:et.next_5,Nt=yn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Si,"prev page")),Ve=yn(this.getJumpNextPage(),"jump-next",this.getItemIcon(_i,"next page"));Bt&&(Er=Nt?I.createElement("li",{title:rn?Fn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Xe()("".concat(Et,"-jump-prev"),(0,Oe.Z)({},"".concat(Et,"-jump-prev-custom-icon"),!!Si))},Nt):null,wr=Ve?I.createElement("li",{title:rn?on:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Xe()("".concat(Et,"-jump-next"),(0,Oe.Z)({},"".concat(Et,"-jump-next-custom-icon"),!!_i))},Ve):null),xo=I.createElement(Je,{locale:et,last:!0,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:U,page:U,active:!1,showTitle:rn,itemRender:yn}),qr=I.createElement(Je,{locale:et,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:rn,itemRender:yn});var Ut=Math.max(1,ei-rr),Lt=Math.min(ei+rr,U);ei-1<=rr&&(Lt=1+rr*2),U-ei<=rr&&(Ut=U-rr*2);for(var Wn=Ut;Wn<=Lt;Wn+=1){var ot=ei===Wn;mr.push(I.createElement(Je,{locale:et,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wn,page:Wn,active:ot,showTitle:rn,itemRender:yn}))}ei-1>=rr*2&&ei!==3&&(mr[0]=(0,I.cloneElement)(mr[0],{className:"".concat(Et,"-item-after-jump-prev")}),mr.unshift(Er)),U-ei>=rr*2&&ei!==U-2&&(mr[mr.length-1]=(0,I.cloneElement)(mr[mr.length-1],{className:"".concat(Et,"-item-before-jump-next")}),mr.push(wr)),Ut!==1&&mr.unshift(qr),Lt!==U&&mr.push(xo)}var fn=!this.hasPrev()||!U,vt=!this.hasNext()||!U,je=this.renderPrev(Bi),L=this.renderNext(yi);return I.createElement("ul",(0,v.Z)({className:Xe()(Et,pn,(0,Oe.Z)({},"".concat(Et,"-disabled"),Kt)),style:nn,ref:this.paginationNode},ht),_n,je?I.createElement("li",{title:rn?et.prev_page:null,onClick:this.prev,tabIndex:fn?null:0,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(Et,"-prev"),(0,Oe.Z)({},"".concat(Et,"-disabled"),fn)),"aria-disabled":fn},je):null,mr,L?I.createElement("li",{title:rn?et.next_page:null,onClick:this.next,tabIndex:vt?null:0,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(Et,"-next"),(0,Oe.Z)({},"".concat(Et,"-disabled"),vt)),"aria-disabled":vt},L):null,I.createElement(Ie,{disabled:Kt,locale:et,rootPrefixCls:Et,selectComponentClass:Ii,selectPrefixCls:cn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ei,pageSize:Tr,pageSizeOptions:fr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:no}))}}],[{key:"getDerivedStateFromProps",value:function(tt,Et){var pn={};if("current"in tt&&(pn.current=tt.current,tt.current!==Et.current&&(pn.currentInputValue=pn.current)),"pageSize"in tt&&tt.pageSize!==Et.pageSize){var nn=Et.current,Kt=We(tt.pageSize,Et,tt);nn=nn>Kt?Kt:nn,"current"in tt||(pn.current=nn,pn.currentInputValue=nn),pn.pageSize=tt.pageSize}return pn}}]),gt}(I.Component);Pt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ye,locale:ee.Z,style:{},itemRender:lt,totalBoundaryShowSizeChanger:50};var xt=Pt,kt=h(22075),Ct=h(36355),Cn=h(19716),Qe=h(8628),le=h(9763),ce=h(57809);const Ht=$e=>I.createElement(ce.default,Object.assign({},$e,{showSearch:!0,size:"small"})),Vt=$e=>I.createElement(ce.default,Object.assign({},$e,{showSearch:!0,size:"middle"}));Ht.Option=ce.default.Option,Vt.Option=ce.default.Option;var St=h(9937),sn=h(17313),Ft=h(83116),oi=h(37613);const On=$e=>{const{componentCls:De}=$e;return{[`${De}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${De}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${De}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}}},[`&${De}-disabled`]:{cursor:"not-allowed",[`${De}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:$e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:$e.colorBorder,backgroundColor:$e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:$e.itemActiveBgDisabled},a:{color:$e.itemActiveColorDisabled}}},[`${De}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${De}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${De}-simple-pager`]:{color:$e.colorTextDisabled},[`${De}-jump-prev, ${De}-jump-next`]:{[`${De}-item-link-icon`]:{opacity:0},[`${De}-item-ellipsis`]:{opacity:1}}},[`&${De}-simple`]:{[`${De}-prev, ${De}-next`]:{[`&${De}-disabled ${De}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ni=$e=>{const{componentCls:De}=$e;return{[`&${De}-mini ${De}-total-text, &${De}-mini ${De}-simple-pager`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`},[`&${De}-mini ${De}-item`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM-2}px`},[`&${De}-mini:not(${De}-disabled) ${De}-item:not(${De}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},[`&${De}-mini ${De}-prev, &${De}-mini ${De}-next`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM}px`},[`&${De}-mini:not(${De}-disabled)`]:{[`${De}-prev, ${De}-next`]:{[`&:hover ${De}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${De}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${De}-disabled:hover ${De}-item-link`]:{backgroundColor:"transparent"}}},[` &${De}-mini ${De}-prev ${De}-item-link, &${De}-mini ${De}-next ${De}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}},[`&${De}-mini ${De}-jump-prev, &${De}-mini ${De}-jump-next`]:{height:He.itemSizeSM,marginInlineEnd:0,lineHeight:`${He.itemSizeSM}px`},[`&${De}-mini ${De}-options`]:{marginInlineStart:He.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:He.miniOptionsSizeChangerTop},"&-quick-jumper":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,St.x0)(He)),{width:He.paginationMiniQuickJumperInputWidth,height:He.controlHeightSM})}}}},Jn=He=>{const{componentCls:De}=He;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}},[`&${De}-mini ${De}-jump-prev, &${De}-mini ${De}-jump-next`]:{height:$e.itemSizeSM,marginInlineEnd:0,lineHeight:`${$e.itemSizeSM}px`},[`&${De}-mini ${De}-options`]:{marginInlineStart:$e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:$e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,St.x0)($e)),{width:$e.paginationMiniQuickJumperInputWidth,height:$e.controlHeightSM})}}}},Jn=$e=>{const{componentCls:De}=$e;return{[` &${De}-simple ${De}-prev, &${De}-simple ${De}-next - `]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,verticalAlign:"top",[`${De}-item-link`]:{height:He.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive},"&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}}},[`&${De}-simple ${De}-simple-pager`]:{display:"inline-block",height:He.itemSizeSM,marginInlineEnd:He.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:He.marginXS,padding:`0 ${He.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:He.itemInputBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadius,outline:"none",transition:`border-color ${He.motionDurationMid}`,color:"inherit","&:hover":{borderColor:He.colorPrimary},"&:focus":{borderColor:He.colorPrimaryHover,boxShadow:`${He.inputOutlineOffset}px 0 ${He.controlOutlineWidth}px ${He.controlOutline}`},"&[disabled]":{color:He.colorTextDisabled,backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,cursor:"not-allowed"}}}}},In=He=>{const{componentCls:De}=He;return{[`${De}-jump-prev, ${De}-jump-next`]:{outline:0,[`${De}-item-container`]:{position:"relative",[`${De}-item-link-icon`]:{color:He.colorPrimary,fontSize:He.fontSizeSM,opacity:0,transition:`all ${He.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${De}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:He.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:He.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:He.paginationEllipsisTextIndent,opacity:1,transition:`all ${He.motionDurationMid}`}},"&:hover":{[`${De}-item-link-icon`]:{opacity:1},[`${De}-item-ellipsis`]:{opacity:0}}},[` + `]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,verticalAlign:"top",[`${De}-item-link`]:{height:$e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive},"&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}}},[`&${De}-simple ${De}-simple-pager`]:{display:"inline-block",height:$e.itemSizeSM,marginInlineEnd:$e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:$e.marginXS,padding:`0 ${$e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:$e.itemInputBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,outline:"none",transition:`border-color ${$e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:$e.colorPrimary},"&:focus":{borderColor:$e.colorPrimaryHover,boxShadow:`${$e.inputOutlineOffset}px 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},"&[disabled]":{color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,cursor:"not-allowed"}}}}},Mn=$e=>{const{componentCls:De}=$e;return{[`${De}-jump-prev, ${De}-jump-next`]:{outline:0,[`${De}-item-container`]:{position:"relative",[`${De}-item-link-icon`]:{color:$e.colorPrimary,fontSize:$e.fontSizeSM,opacity:0,transition:`all ${$e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${De}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:$e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:$e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:$e.paginationEllipsisTextIndent,opacity:1,transition:`all ${$e.motionDurationMid}`}},"&:hover":{[`${De}-item-link-icon`]:{opacity:1},[`${De}-item-ellipsis`]:{opacity:0}}},[` ${De}-prev, ${De}-jump-prev, ${De}-jump-next - `]:{marginInlineEnd:He.marginXS},[` + `]:{marginInlineEnd:$e.marginXS},[` ${De}-prev, ${De}-next, ${De}-jump-prev, ${De}-jump-next - `]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,color:He.colorText,fontFamily:He.fontFamily,lineHeight:`${He.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}`},[`${De}-prev, ${De}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:He.colorText,cursor:"pointer",userSelect:"none"},[`${De}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:He.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:"none",transition:`all ${He.motionDurationMid}`},[`&:hover ${De}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${De}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${De}-disabled:hover`]:{[`${De}-item-link`]:{backgroundColor:"transparent"}}},[`${De}-slash`]:{marginInlineEnd:He.paginationSlashMarginInlineEnd,marginInlineStart:He.paginationSlashMarginInlineStart},[`${De}-options`]:{display:"inline-block",marginInlineStart:He.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:He.controlHeight,marginInlineStart:He.marginXS,lineHeight:`${He.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,St.ik)(He)),{width:He.controlHeightLG*1.25,height:He.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:He.marginXS,marginInlineEnd:He.marginXS})}}}},Mn=He=>{const{componentCls:De}=He;return{[`${De}-item`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,marginInlineEnd:He.marginXS,fontFamily:He.fontFamily,lineHeight:`${He.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${He.paginationItemPaddingInline}px`,color:He.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${De}-item-active)`]:{"&:hover":{transition:`all ${He.motionDurationMid}`,backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},"&-active":{fontWeight:He.fontWeightStrong,backgroundColor:He.itemActiveBg,borderColor:He.colorPrimary,a:{color:He.colorPrimary},"&:hover":{borderColor:He.colorPrimaryHover},"&:hover a":{color:He.colorPrimaryHover}}}}},re=He=>{const{componentCls:De}=He;return{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,an.Wf)(He)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${De}-total-text`]:{display:"inline-block",height:He.itemSize,marginInlineEnd:He.marginXS,lineHeight:`${He.itemSize-2}px`,verticalAlign:"middle"}}),Mn(He)),In(He)),Jn(He)),ni(He)),Ln(He)),{[`@media only screen and (max-width: ${He.screenLG}px)`]:{[`${De}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${He.screenSM}px)`]:{[`${De}-options`]:{display:"none"}}}),[`&${He.componentCls}-rtl`]:{direction:"rtl"}}},z=He=>{const{componentCls:De}=He;return{[`${De}${De}-disabled:not(${De}-mini)`]:{"&, &:hover":{[`${De}-item-link`]:{borderColor:He.colorBorder}},"&:focus-visible":{[`${De}-item-link`]:{borderColor:He.colorBorder}},[`${De}-item, ${De}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,[`&:hover:not(${De}-item-active)`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,a:{color:He.colorTextDisabled}},[`&${De}-item-active`]:{backgroundColor:He.itemActiveBgDisabled}},[`${De}-prev, ${De}-next`]:{"&:hover button":{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,color:He.colorTextDisabled},[`${De}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder}}},[`${De}:not(${De}-mini)`]:{[`${De}-prev, ${De}-next`]:{"&:hover button":{borderColor:He.colorPrimaryHover,backgroundColor:He.itemBg},[`${De}-item-link`]:{backgroundColor:He.itemLinkBg,borderColor:He.colorBorder},[`&:hover ${De}-item-link`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,color:He.colorPrimary},[`&${De}-disabled`]:{[`${De}-item-link`]:{borderColor:He.colorBorder,color:He.colorTextDisabled}}},[`${De}-item`]:{backgroundColor:He.itemBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,[`&:hover:not(${De}-item-active)`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,a:{color:He.colorPrimary}},"&-active":{borderColor:He.colorPrimary}}}}},k=He=>{const{componentCls:De}=He;return{[`${De}:not(${De}-disabled)`]:{[`${De}-item`]:Object.assign({},(0,an.Qy)(He)),[`${De}-jump-prev, ${De}-jump-next`]:{"&:focus-visible":Object.assign({[`${De}-item-link-icon`]:{opacity:1},[`${De}-item-ellipsis`]:{opacity:0}},(0,an.oN)(He))},[`${De}-prev, ${De}-next`]:{[`&:focus-visible ${De}-item-link`]:Object.assign({},(0,an.oN)(He))}}}};var j=(0,Ft.Z)("Pagination",He=>{const De=(0,ai.TS)(He,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:He.marginXXS/2,paginationMiniQuickJumperInputWidth:He.controlHeightLG*1.1,paginationItemPaddingInline:He.marginXXS*1.5,paginationEllipsisLetterSpacing:He.marginXXS/2,paginationSlashMarginInlineStart:He.marginXXS,paginationSlashMarginInlineEnd:He.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,St.e5)(He),(0,St.TM)(He));return[re(De),k(De),He.wireframe&&z(De)]},He=>({itemBg:He.colorBgContainer,itemSize:He.controlHeight,itemSizeSM:He.controlHeightSM,itemActiveBg:He.colorBgContainer,itemLinkBg:He.colorBgContainer,itemActiveColorDisabled:He.colorTextDisabled,itemActiveBgDisabled:He.controlItemBgActiveDisabled,itemInputBg:He.colorBgContainer,miniOptionsSizeChangerTop:0})),X=function(He,De){var gt={};for(var ut in He)Object.prototype.hasOwnProperty.call(He,ut)&&De.indexOf(ut)<0&&(gt[ut]=He[ut]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,ut=Object.getOwnPropertySymbols(He);nt{const{prefixCls:De,selectPrefixCls:gt,className:ut,rootClassName:nt,style:Tt,size:fn,locale:qt,selectComponentClass:jt,responsive:cn,showSizeChanger:nn}=He,et=X(He,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:zt}=(0,Je.Z)(cn),{getPrefixCls:hn,direction:tn,pagination:ze={}}=I.useContext(wt.E_),Un=hn("pagination",De),[On,Yn]=j(Un),wi=nn!=null?nn:ze.showSizeChanger,vi=I.useMemo(()=>{const U=I.createElement("span",{className:`${Un}-item-ellipsis`},"\u2022\u2022\u2022"),yr=I.createElement("button",{className:`${Un}-item-link`,type:"button",tabIndex:-1},tn==="rtl"?I.createElement(Me.Z,null):I.createElement(te.Z,null)),Er=I.createElement("button",{className:`${Un}-item-link`,type:"button",tabIndex:-1},tn==="rtl"?I.createElement(te.Z,null):I.createElement(Me.Z,null)),wr=I.createElement("a",{className:`${Un}-item-link`},I.createElement("div",{className:`${Un}-item-container`},tn==="rtl"?I.createElement(ce.Z,{className:`${Un}-item-link-icon`}):I.createElement(de,{className:`${Un}-item-link-icon`}),U)),eo=I.createElement("a",{className:`${Un}-item-link`},I.createElement("div",{className:`${Un}-item-container`},tn==="rtl"?I.createElement(de,{className:`${Un}-item-link-icon`}):I.createElement(ce.Z,{className:`${Un}-item-link-icon`}),U));return{prevIcon:yr,nextIcon:Er,jumpPrevIcon:wr,jumpNextIcon:eo}},[tn,Un]),[dn]=(0,se.Z)("Pagination",kt.Z),ln=Object.assign(Object.assign({},dn),qt),gr=(0,En.Z)(fn),er=gr==="small"||!!(zt&&!gr&&cn),ti=hn("select",gt),Nr=Qe()({[`${Un}-mini`]:er,[`${Un}-rtl`]:tn==="rtl"},ze==null?void 0:ze.className,ut,nt,Yn),pr=Object.assign(Object.assign({},ze==null?void 0:ze.style),Tt);return On(I.createElement(xt,Object.assign({},vi,et,{style:pr,prefixCls:Un,selectPrefixCls:ti,className:Nr,selectComponentClass:jt||(er?Ht:Vt),locale:ln,showSizeChanger:wi})))},Nt=_e},14478:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Xe}});var v=h(96512),I=h(92310),O=h.n(I),F=h(10228),G=h(18929),P=h(2738),M=h(59301),de=h(92343),ce=h(36355),te=h(60324),Me=h(92806),we=h(77578),Qe=h(3113),Oe=h(67797),Te=h(9763),Ae=h(31724),Re=h(39722),fe=h(83116);const me=Ye=>{const{componentCls:ie,iconCls:lt,antCls:We,zIndexPopup:Pt,colorText:xt,colorWarning:kt,marginXXS:wt,marginXS:En,fontSize:Je,fontWeightStrong:se,colorTextHeading:ue}=Ye;return{[ie]:{zIndex:Pt,[`&${We}-popover`]:{fontSize:Je},[`${ie}-message`]:{marginBottom:En,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${ie}-message-icon ${lt}`]:{color:kt,fontSize:Je,lineHeight:1,marginInlineEnd:En},[`${ie}-title`]:{fontWeight:se,color:ue,"&:only-child":{fontWeight:"normal"}},[`${ie}-description`]:{marginTop:wt,color:xt}},[`${ie}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:En}}}}};var xe=(0,fe.Z)("Popconfirm",Ye=>me(Ye),Ye=>{const{zIndexPopupBase:ie}=Ye;return{zIndexPopup:ie+60}},{resetStyle:!1}),ge=function(Ye,ie){var lt={};for(var We in Ye)Object.prototype.hasOwnProperty.call(Ye,We)&&ie.indexOf(We)<0&&(lt[We]=Ye[We]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,We=Object.getOwnPropertySymbols(Ye);Pt{const{prefixCls:ie,okButtonProps:lt,cancelButtonProps:We,title:Pt,description:xt,cancelText:kt,okText:wt,okType:En="primary",icon:Je=M.createElement(v.Z,null),showCancel:se=!0,close:ue,onConfirm:Ht,onCancel:Vt,onPopupClick:St}=Ye,{getPrefixCls:an}=M.useContext(ce.E_),[Ft]=(0,Te.Z)("Popconfirm",Ae.Z.Popconfirm),ai=(0,we.Z)(Pt),Ln=(0,we.Z)(xt);return M.createElement("div",{className:`${ie}-inner-content`,onClick:St},M.createElement("div",{className:`${ie}-message`},Je&&M.createElement("span",{className:`${ie}-message-icon`},Je),M.createElement("div",{className:`${ie}-message-text`},ai&&M.createElement("div",{className:O()(`${ie}-title`)},ai),Ln&&M.createElement("div",{className:`${ie}-description`},Ln))),M.createElement("div",{className:`${ie}-buttons`},se&&M.createElement(Qe.ZP,Object.assign({onClick:Vt,size:"small"},We),kt!=null?kt:Ft==null?void 0:Ft.cancelText),M.createElement(Me.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,Oe.n)(En)),lt),actionFn:Ht,close:ue,prefixCls:an("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},wt!=null?wt:Ft==null?void 0:Ft.okText)))};var Ne=Ye=>{const{prefixCls:ie,placement:lt,className:We,style:Pt}=Ye,xt=ge(Ye,["prefixCls","placement","className","style"]),{getPrefixCls:kt}=M.useContext(ce.E_),wt=kt("popconfirm",ie),[En]=xe(wt);return En(M.createElement(Re.ZP,{placement:lt,className:O()(wt,We),style:Pt,content:M.createElement(ke,Object.assign({prefixCls:wt},xt))}))},Ie=function(Ye,ie){var lt={};for(var We in Ye)Object.prototype.hasOwnProperty.call(Ye,We)&&ie.indexOf(We)<0&&(lt[We]=Ye[We]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,We=Object.getOwnPropertySymbols(Ye);Pt{const{prefixCls:lt,placement:We="top",trigger:Pt="click",okType:xt="primary",icon:kt=M.createElement(v.Z,null),children:wt,overlayClassName:En,onOpenChange:Je,onVisibleChange:se}=Ye,ue=Ie(Ye,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:Ht}=M.useContext(ce.E_),[Vt,St]=(0,G.Z)(!1,{value:Ye.open,defaultValue:Ye.defaultOpen}),an=(z,k)=>{St(z,!0),se==null||se(z),Je==null||Je(z,k)},Ft=z=>{an(!1,z)},ai=z=>{var k;return(k=Ye.onConfirm)===null||k===void 0?void 0:k.call(void 0,z)},Ln=z=>{var k;an(!1,z),(k=Ye.onCancel)===null||k===void 0||k.call(void 0,z)},ni=z=>{z.keyCode===F.Z.ESC&&Vt&&an(!1,z)},Jn=z=>{const{disabled:k=!1}=Ye;k||an(z)},In=Ht("popconfirm",lt),Mn=O()(In,En),[re]=xe(In);return re(M.createElement(te.Z,Object.assign({},(0,P.Z)(ue,["title"]),{trigger:Pt,placement:We,onOpenChange:Jn,open:Vt,ref:ie,overlayClassName:Mn,content:M.createElement(ke,Object.assign({okType:xt,icon:kt},Ye,{prefixCls:In,close:Ft,onConfirm:ai,onCancel:Ln})),"data-popover-inject":!0}),(0,de.Tm)(wt,{onKeyDown:z=>{var k,j;M.isValidElement(wt)&&((j=wt==null?void 0:(k=wt.props).onKeyDown)===null||j===void 0||j.call(k,z)),ni(z)}})))});Fe._InternalPanelDoNotUseOrYouWillBeFired=Ne;var Xe=Fe},39722:function(Q,C,h){"use strict";h.d(C,{t5:function(){return te}});var v=h(92310),I=h.n(v),O=h(55477),F=h(59301),G=h(36355),P=h(77578),M=h(17356),de=function(we,Qe){var Oe={};for(var Te in we)Object.prototype.hasOwnProperty.call(we,Te)&&Qe.indexOf(Te)<0&&(Oe[Te]=we[Te]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Te=Object.getOwnPropertySymbols(we);Ae{if(!(!Qe&&!Oe))return F.createElement(F.Fragment,null,Qe&&F.createElement("div",{className:`${we}-title`},(0,P.Z)(Qe)),F.createElement("div",{className:`${we}-inner-content`},(0,P.Z)(Oe)))},te=we=>{const{hashId:Qe,prefixCls:Oe,className:Te,style:Ae,placement:Re="top",title:fe,content:me,children:xe}=we;return F.createElement("div",{className:I()(Qe,Oe,`${Oe}-pure`,`${Oe}-placement-${Re}`,Te),style:Ae},F.createElement("div",{className:`${Oe}-arrow`}),F.createElement(O.G,Object.assign({},we,{className:Qe,prefixCls:Oe}),xe||ce(Oe,fe,me)))},Me=we=>{const{prefixCls:Qe}=we,Oe=de(we,["prefixCls"]),{getPrefixCls:Te}=F.useContext(G.E_),Ae=Te("popover",Qe),[Re,fe]=(0,M.Z)(Ae);return Re(F.createElement(te,Object.assign({},Oe,{prefixCls:Ae,hashId:fe})))};C.ZP=Me},60324:function(Q,C,h){"use strict";var v=h(92310),I=h.n(v),O=h(59301),F=h(77578),G=h(62892),P=h(36355),M=h(6848),de=h(39722),ce=h(17356),te=function(Qe,Oe){var Te={};for(var Ae in Qe)Object.prototype.hasOwnProperty.call(Qe,Ae)&&Oe.indexOf(Ae)<0&&(Te[Ae]=Qe[Ae]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ae=Object.getOwnPropertySymbols(Qe);Re{let{title:Oe,content:Te,prefixCls:Ae}=Qe;return O.createElement(O.Fragment,null,Oe&&O.createElement("div",{className:`${Ae}-title`},(0,F.Z)(Oe)),O.createElement("div",{className:`${Ae}-inner-content`},(0,F.Z)(Te)))},we=O.forwardRef((Qe,Oe)=>{const{prefixCls:Te,title:Ae,content:Re,overlayClassName:fe,placement:me="top",trigger:xe="hover",mouseEnterDelay:ge=.1,mouseLeaveDelay:ke=.1,overlayStyle:ee={}}=Qe,Ne=te(Qe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ie}=O.useContext(P.E_),Fe=Ie("popover",Te),[Xe,Ye]=(0,ce.Z)(Fe),ie=Ie(),lt=I()(fe,Ye);return Xe(O.createElement(M.Z,Object.assign({placement:me,trigger:xe,mouseEnterDelay:ge,mouseLeaveDelay:ke,overlayStyle:ee},Ne,{prefixCls:Fe,overlayClassName:lt,ref:Oe,overlay:Ae||Re?O.createElement(Me,{prefixCls:Fe,title:Ae,content:Re}):null,transitionName:(0,G.m)(ie,"zoom-big",Ne.transitionName),"data-popover-inject":!0})))});we._InternalPanelDoNotUseOrYouWillBeFired=de.ZP,C.Z=we},17356:function(Q,C,h){"use strict";var v=h(17313),I=h(29878),O=h(19447),F=h(33166),G=h(83116),P=h(37613);const M=te=>{const{componentCls:Me,popoverColor:we,minWidth:Qe,fontWeightStrong:Oe,popoverPadding:Te,boxShadowSecondary:Ae,colorTextHeading:Re,borderRadiusLG:fe,zIndexPopup:me,marginXS:xe,colorBgElevated:ge,popoverBg:ke}=te;return[{[Me]:Object.assign(Object.assign({},(0,v.Wf)(te)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:me,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ge,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Me}-content`]:{position:"relative"},[`${Me}-inner`]:{backgroundColor:ke,backgroundClip:"padding-box",borderRadius:fe,boxShadow:Ae,padding:Te},[`${Me}-title`]:{minWidth:Qe,marginBottom:xe,color:Re,fontWeight:Oe},[`${Me}-inner-content`]:{color:we}})},(0,O.ZP)(te,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Me}-pure`]:{position:"relative",maxWidth:"none",margin:te.sizePopupArrow,display:"inline-block",[`${Me}-content`]:{display:"inline-block"}}}]},de=te=>{const{componentCls:Me}=te;return{[Me]:F.i.map(we=>{const Qe=te[`${we}6`];return{[`&${Me}-${we}`]:{"--antd-arrow-background-color":Qe,[`${Me}-inner`]:{backgroundColor:Qe},[`${Me}-arrow`]:{background:"transparent"}}}})}},ce=te=>{const{componentCls:Me,lineWidth:we,lineType:Qe,colorSplit:Oe,paddingSM:Te,controlHeight:Ae,fontSize:Re,lineHeight:fe,padding:me}=te,xe=Ae-Math.round(Re*fe),ge=xe/2,ke=xe/2-we,ee=me;return{[Me]:{[`${Me}-inner`]:{padding:0},[`${Me}-title`]:{margin:0,padding:`${ge}px ${ee}px ${ke}px`,borderBottom:`${we}px ${Qe} ${Oe}`},[`${Me}-inner-content`]:{padding:`${Te}px ${ee}px`}}}};C.Z=(0,G.Z)("Popover",te=>{const{colorBgElevated:Me,colorText:we,wireframe:Qe}=te,Oe=(0,P.TS)(te,{popoverPadding:12,popoverBg:Me,popoverColor:we});return[M(Oe),de(Oe),Qe&&ce(Oe),(0,I._y)(Oe,"zoom-big")]},te=>({width:177,minWidth:177,zIndexPopup:te.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Q,C,h){"use strict";h.d(C,{Z:function(){return nn}});var v=h(59301),I=h(29679),O=h(40001),F=h(19248),G=h(99267),P=h(92310),M=h.n(P),de=h(2738),ce=h(36355),te=h(92413),Me=h(33708),we=h(37061),Qe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var zt=(0,v.useRef)([]),hn=(0,v.useRef)(null);return(0,v.useEffect)(function(){var tn=Date.now(),ze=!1;zt.current.forEach(function(Un){if(Un){ze=!0;var On=Un.style;On.transitionDuration=".3s, .3s, .3s, .06s",hn.current&&tn-hn.current<100&&(On.transitionDuration="0s, 0s")}}),ze&&(hn.current=Date.now())}),zt.current},Te=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ae=function(zt){var hn=(0,Me.Z)((0,Me.Z)({},Qe),zt),tn=hn.className,ze=hn.percent,Un=hn.prefixCls,On=hn.strokeColor,Yn=hn.strokeLinecap,wi=hn.strokeWidth,vi=hn.style,dn=hn.trailColor,ln=hn.trailWidth,gr=hn.transition,er=(0,we.Z)(hn,Te);delete er.gapPosition;var ti=Array.isArray(ze)?ze:[ze],Nr=Array.isArray(On)?On:[On],pr=Oe(),U=wi/2,yr=100-wi/2,Er="M ".concat(Yn==="round"?U:0,",").concat(U,` - L `).concat(Yn==="round"?yr:100,",").concat(U),wr="0 0 100 ".concat(wi),eo=0;return v.createElement("svg",(0,te.Z)({className:M()("".concat(Un,"-line"),tn),viewBox:wr,preserveAspectRatio:"none",style:vi},er),v.createElement("path",{className:"".concat(Un,"-line-trail"),d:Er,strokeLinecap:Yn,stroke:dn,strokeWidth:ln||wi,fillOpacity:"0"}),ti.map(function(yo,Ir){var no=1;switch(Yn){case"round":no=1-wi/100;break;case"square":no=1-wi/2/100;break;default:no=1;break}var ur={strokeDasharray:"".concat(yo*no,"px, 100px"),strokeDashoffset:"-".concat(eo,"px"),transition:gr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},zi=Nr[Ir]||Nr[Nr.length-1];return eo+=yo,v.createElement("path",{key:Ir,className:"".concat(Un,"-line-path"),d:Er,strokeLinecap:Yn,stroke:zi,strokeWidth:wi,fillOpacity:"0",ref:function(dt){pr[Ir]=dt},style:ur})}))},Re=Ae,fe=h(39559),me=h(33606),xe=h(47273),ge=0,ke=(0,xe.Z)();function ee(){var et;return ke?(et=ge,ge+=1):et="TEST_OR_SSR",et}var Ne=function(et){var zt=v.useState(),hn=(0,me.Z)(zt,2),tn=hn[0],ze=hn[1];return v.useEffect(function(){ze("rc_progress_".concat(ee()))},[]),et||tn},Ie=function(zt){var hn=zt.bg,tn=zt.children;return v.createElement("div",{style:{width:"100%",height:"100%",background:hn}},tn)};function Fe(et,zt){return Object.keys(et).map(function(hn){var tn=parseFloat(hn),ze="".concat(Math.floor(tn*zt),"%");return"".concat(et[hn]," ").concat(ze)})}var Xe=v.forwardRef(function(et,zt){var hn=et.prefixCls,tn=et.color,ze=et.gradientId,Un=et.radius,On=et.style,Yn=et.ptg,wi=et.strokeLinecap,vi=et.strokeWidth,dn=et.size,ln=et.gapDegree,gr=tn&&(0,fe.Z)(tn)==="object",er=gr?"#FFF":void 0,ti=dn/2,Nr=v.createElement("circle",{className:"".concat(hn,"-circle-path"),r:Un,cx:ti,cy:ti,stroke:er,strokeLinecap:wi,strokeWidth:vi,opacity:Yn===0?0:1,style:On,ref:zt});if(!gr)return Nr;var pr="".concat(ze,"-conic"),U=ln?"".concat(180+ln/2,"deg"):"0deg",yr=Fe(tn,(360-ln)/360),Er=Fe(tn,1),wr="conic-gradient(from ".concat(U,", ").concat(yr.join(", "),")"),eo="linear-gradient(to ".concat(ln?"bottom":"top",", ").concat(Er.join(", "),")");return v.createElement(v.Fragment,null,v.createElement("mask",{id:pr},Nr),v.createElement("foreignObject",{x:0,y:0,width:dn,height:dn,mask:"url(#".concat(pr,")")},v.createElement(Ie,{bg:eo},v.createElement(Ie,{bg:wr}))))}),Ye=Xe,ie=100,lt=function(zt,hn,tn,ze,Un,On,Yn,wi,vi,dn){var ln=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,gr=tn/100*360*((360-On)/360),er=On===0?0:{bottom:0,top:180,left:90,right:-90}[Yn],ti=(100-ze)/100*hn;vi==="round"&&ze!==100&&(ti+=dn/2,ti>=hn&&(ti=hn-.01));var Nr=ie/2;return{stroke:typeof wi=="string"?wi:void 0,strokeDasharray:"".concat(hn,"px ").concat(zt),strokeDashoffset:ti+ln,transform:"rotate(".concat(Un+gr+er,"deg)"),transformOrigin:"".concat(Nr,"px ").concat(Nr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Pt(et){var zt=et!=null?et:[];return Array.isArray(zt)?zt:[zt]}var xt=function(zt){var hn=(0,Me.Z)((0,Me.Z)({},Qe),zt),tn=hn.id,ze=hn.prefixCls,Un=hn.steps,On=hn.strokeWidth,Yn=hn.trailWidth,wi=hn.gapDegree,vi=wi===void 0?0:wi,dn=hn.gapPosition,ln=hn.trailColor,gr=hn.strokeLinecap,er=hn.style,ti=hn.className,Nr=hn.strokeColor,pr=hn.percent,U=(0,we.Z)(hn,We),yr=ie/2,Er=Ne(tn),wr="".concat(Er,"-gradient"),eo=yr-On/2,yo=Math.PI*2*eo,Ir=vi>0?90+vi/2:-90,no=yo*((360-vi)/360),ur=(0,fe.Z)(Un)==="object"?Un:{count:Un,space:2},zi=ur.count,xi=ur.space,dt=Pt(pr),_n=Pt(Nr),Wn=_n.find(function(Ve){return Ve&&(0,fe.Z)(Ve)==="object"}),yt=Wn&&(0,fe.Z)(Wn)==="object",Ke=yt?"butt":gr,gn=lt(yo,no,0,100,Ir,vi,dn,ln,Ke,On),kn=Oe(),on=function(){var Ut=0;return dt.map(function(Ot,Gn){var ot=_n[Gn]||_n[_n.length-1],un=lt(yo,no,Ut,Ot,Ir,vi,dn,ot,Ke,On);return Ut+=Ot,v.createElement(Ye,{key:Gn,color:ot,ptg:Ot,radius:eo,prefixCls:ze,gradientId:wr,style:un,strokeLinecap:Ke,strokeWidth:On,gapDegree:vi,ref:function(je){kn[Gn]=je},size:ie})}).reverse()},Ct=function(){var Ut=Math.round(zi*(dt[0]/100)),Ot=100/zi,Gn=0;return new Array(zi).fill(null).map(function(ot,un){var vt=un<=Ut-1?_n[0]:ln,je=vt&&(0,fe.Z)(vt)==="object"?"url(#".concat(wr,")"):void 0,L=lt(yo,no,Gn,Ot,Ir,vi,dn,vt,"butt",On,xi);return Gn+=(no-L.strokeDashoffset+xi)*100/no,v.createElement("circle",{key:un,className:"".concat(ze,"-circle-path"),r:eo,cx:yr,cy:yr,stroke:je,strokeWidth:On,opacity:1,style:L,ref:function(Qt){kn[un]=Qt}})})};return v.createElement("svg",(0,te.Z)({className:M()("".concat(ze,"-circle"),ti),viewBox:"0 0 ".concat(ie," ").concat(ie),style:er,id:tn,role:"presentation"},U),!zi&&v.createElement("circle",{className:"".concat(ze,"-circle-trail"),r:eo,cx:yr,cy:yr,stroke:ln,strokeLinecap:Ke,strokeWidth:Yn||On,style:gn}),zi?Ct():on())},kt=xt,wt={Line:Re,Circle:kt},En=h(6848),Je=h(93398);function se(et){return!et||et<0?0:et>100?100:et}function ue(et){let{success:zt,successPercent:hn}=et,tn=hn;return zt&&"progress"in zt&&(tn=zt.progress),zt&&"percent"in zt&&(tn=zt.percent),tn}const Ht=et=>{let{percent:zt,success:hn,successPercent:tn}=et;const ze=se(ue({success:hn,successPercent:tn}));return[ze,se(se(zt)-ze)]},Vt=et=>{let{success:zt={},strokeColor:hn}=et;const{strokeColor:tn}=zt;return[tn||Je.presetPrimaryColors.green,hn||null]},St=(et,zt,hn)=>{var tn,ze,Un,On;let Yn=-1,wi=-1;if(zt==="step"){const vi=hn.steps,dn=hn.strokeWidth;typeof et=="string"||typeof et=="undefined"?(Yn=et==="small"?2:14,wi=dn!=null?dn:8):typeof et=="number"?[Yn,wi]=[et,et]:[Yn=14,wi=8]=et,Yn*=vi}else if(zt==="line"){const vi=hn==null?void 0:hn.strokeWidth;typeof et=="string"||typeof et=="undefined"?wi=vi||(et==="small"?6:8):typeof et=="number"?[Yn,wi]=[et,et]:[Yn=-1,wi=8]=et}else(zt==="circle"||zt==="dashboard")&&(typeof et=="string"||typeof et=="undefined"?[Yn,wi]=et==="small"?[60,60]:[120,120]:typeof et=="number"?[Yn,wi]=[et,et]:(Yn=(ze=(tn=et[0])!==null&&tn!==void 0?tn:et[1])!==null&&ze!==void 0?ze:120,wi=(On=(Un=et[0])!==null&&Un!==void 0?Un:et[1])!==null&&On!==void 0?On:120));return[Yn,wi]},an=3,Ft=et=>an/et*100;var Ln=et=>{const{prefixCls:zt,trailColor:hn=null,strokeLinecap:tn="round",gapPosition:ze,gapDegree:Un,width:On=120,type:Yn,children:wi,success:vi,size:dn=On}=et,[ln,gr]=St(dn,"circle");let{strokeWidth:er}=et;er===void 0&&(er=Math.max(Ft(ln),6));const ti={width:ln,height:gr,fontSize:ln*.15+6},Nr=v.useMemo(()=>{if(Un||Un===0)return Un;if(Yn==="dashboard")return 75},[Un,Yn]),pr=ze||Yn==="dashboard"&&"bottom"||void 0,U=Object.prototype.toString.call(et.strokeColor)==="[object Object]",yr=Vt({success:vi,strokeColor:et.strokeColor}),Er=M()(`${zt}-inner`,{[`${zt}-circle-gradient`]:U}),wr=v.createElement(kt,{percent:Ht(et),strokeWidth:er,trailWidth:er,strokeColor:yr,strokeLinecap:tn,trailColor:hn,prefixCls:zt,gapDegree:Nr,gapPosition:pr});return v.createElement("div",{className:Er,style:ti},ln<=20?v.createElement(En.Z,{title:wi},v.createElement("span",null,wr)):v.createElement(v.Fragment,null,wr,wi))},ni=function(et,zt){var hn={};for(var tn in et)Object.prototype.hasOwnProperty.call(et,tn)&&zt.indexOf(tn)<0&&(hn[tn]=et[tn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,tn=Object.getOwnPropertySymbols(et);ze{let zt=[];return Object.keys(et).forEach(hn=>{const tn=parseFloat(hn.replace(/%/g,""));isNaN(tn)||zt.push({key:tn,value:et[hn]})}),zt=zt.sort((hn,tn)=>hn.key-tn.key),zt.map(hn=>{let{key:tn,value:ze}=hn;return`${ze} ${tn}%`}).join(", ")},In=(et,zt)=>{const{from:hn=Je.presetPrimaryColors.blue,to:tn=Je.presetPrimaryColors.blue,direction:ze=zt==="rtl"?"to left":"to right"}=et,Un=ni(et,["from","to","direction"]);if(Object.keys(Un).length!==0){const On=Jn(Un);return{backgroundImage:`linear-gradient(${ze}, ${On})`}}return{backgroundImage:`linear-gradient(${ze}, ${hn}, ${tn})`}};var re=et=>{const{prefixCls:zt,direction:hn,percent:tn,size:ze,strokeWidth:Un,strokeColor:On,strokeLinecap:Yn="round",children:wi,trailColor:vi=null,success:dn}=et,ln=On&&typeof On!="string"?In(On,hn):{backgroundColor:On},gr=Yn==="square"||Yn==="butt"?0:void 0,er={backgroundColor:vi||void 0,borderRadius:gr},ti=ze!=null?ze:[-1,Un||(ze==="small"?6:8)],[Nr,pr]=St(ti,"line",{strokeWidth:Un}),U=Object.assign({width:`${se(tn)}%`,height:pr,borderRadius:gr},ln),yr=ue(et),Er={width:`${se(yr)}%`,height:pr,borderRadius:gr,backgroundColor:dn==null?void 0:dn.strokeColor},wr={width:Nr<0?"100%":Nr,height:pr};return v.createElement(v.Fragment,null,v.createElement("div",{className:`${zt}-outer`,style:wr},v.createElement("div",{className:`${zt}-inner`,style:er},v.createElement("div",{className:`${zt}-bg`,style:U}),yr!==void 0?v.createElement("div",{className:`${zt}-success-bg`,style:Er}):null)),wi)},k=et=>{const{size:zt,steps:hn,percent:tn=0,strokeWidth:ze=8,strokeColor:Un,trailColor:On=null,prefixCls:Yn,children:wi}=et,vi=Math.round(hn*(tn/100)),dn=zt==="small"?2:14,ln=zt!=null?zt:[dn,ze],[gr,er]=St(ln,"step",{steps:hn,strokeWidth:ze}),ti=gr/hn,Nr=new Array(hn);for(let pr=0;pr{const zt=et?"100%":"-100%";return new j.Keyframes(`antProgress${et?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},He=et=>{const{componentCls:zt,iconCls:hn}=et;return{[zt]:Object.assign(Object.assign({},(0,X.Wf)(et)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:et.fontSize,marginInlineEnd:et.marginXS,marginBottom:et.marginXS},[`${zt}-outer`]:{display:"inline-block",width:"100%"},[`&${zt}-show-info`]:{[`${zt}-outer`]:{marginInlineEnd:`calc(-2em - ${et.marginXS}px)`,paddingInlineEnd:`calc(2em + ${et.paddingXS}px)`}},[`${zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:et.remainingColor,borderRadius:et.lineBorderRadius},[`${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.defaultColor}},[`${zt}-success-bg, ${zt}-bg`]:{position:"relative",backgroundColor:et.defaultColor,borderRadius:et.lineBorderRadius,transition:`all ${et.motionDurationSlow} ${et.motionEaseInOutCirc}`},[`${zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:et.colorSuccess},[`${zt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:et.marginXS,color:et.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[hn]:{fontSize:et.fontSize}},[`&${zt}-status-active`]:{[`${zt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:et.colorBgContainer,borderRadius:et.lineBorderRadius,opacity:0,animationName:Nt(),animationDuration:et.progressActiveMotionDuration,animationTimingFunction:et.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${zt}-rtl${zt}-status-active`]:{[`${zt}-bg::before`]:{animationName:Nt(!0)}},[`&${zt}-status-exception`]:{[`${zt}-bg`]:{backgroundColor:et.colorError},[`${zt}-text`]:{color:et.colorError}},[`&${zt}-status-exception ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.colorError}},[`&${zt}-status-success`]:{[`${zt}-bg`]:{backgroundColor:et.colorSuccess},[`${zt}-text`]:{color:et.colorSuccess}},[`&${zt}-status-success ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.colorSuccess}}})}},De=et=>{const{componentCls:zt,iconCls:hn}=et;return{[zt]:{[`${zt}-circle-trail`]:{stroke:et.remainingColor},[`&${zt}-circle ${zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${zt}-circle ${zt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:et.circleTextColor,fontSize:et.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[hn]:{fontSize:`${et.fontSize/et.fontSizeSM}em`}},[`${zt}-circle&-status-exception`]:{[`${zt}-text`]:{color:et.colorError}},[`${zt}-circle&-status-success`]:{[`${zt}-text`]:{color:et.colorSuccess}}},[`${zt}-inline-circle`]:{lineHeight:1,[`${zt}-inner`]:{verticalAlign:"bottom"}}}},gt=et=>{const{componentCls:zt}=et;return{[zt]:{[`${zt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:et.progressStepMinWidth,marginInlineEnd:et.progressStepMarginInlineEnd,backgroundColor:et.remainingColor,transition:`all ${et.motionDurationSlow}`,"&-active":{backgroundColor:et.defaultColor}}}}}},ut=et=>{const{componentCls:zt,iconCls:hn}=et;return{[zt]:{[`${zt}-small&-line, ${zt}-small&-line ${zt}-text ${hn}`]:{fontSize:et.fontSizeSM}}}};var nt=(0,N.Z)("Progress",et=>{const zt=et.marginXXS/2,hn=(0,_e.TS)(et,{progressStepMarginInlineEnd:zt,progressStepMinWidth:zt,progressActiveMotionDuration:"2.4s"});return[He(hn),De(hn),gt(hn),ut(hn)]},et=>({circleTextColor:et.colorText,defaultColor:et.colorInfo,remainingColor:et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Tt=function(et,zt){var hn={};for(var tn in et)Object.prototype.hasOwnProperty.call(et,tn)&&zt.indexOf(tn)<0&&(hn[tn]=et[tn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,tn=Object.getOwnPropertySymbols(et);ze{const{prefixCls:hn,className:tn,rootClassName:ze,steps:Un,strokeColor:On,percent:Yn=0,size:wi="default",showInfo:vi=!0,type:dn="line",status:ln,format:gr,style:er}=et,ti=Tt(et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Nr=v.useMemo(()=>{var dt,_n;const Wn=ue(et);return parseInt(Wn!==void 0?(dt=Wn!=null?Wn:0)===null||dt===void 0?void 0:dt.toString():(_n=Yn!=null?Yn:0)===null||_n===void 0?void 0:_n.toString(),10)},[Yn,et.success,et.successPercent]),pr=v.useMemo(()=>!qt.includes(ln)&&Nr>=100?"success":ln||"normal",[ln,Nr]),{getPrefixCls:U,direction:yr,progress:Er}=v.useContext(ce.E_),wr=U("progress",hn),[eo,yo]=nt(wr),Ir=v.useMemo(()=>{if(!vi)return null;const dt=ue(et);let _n;const Wn=gr||(Ke=>`${Ke}%`),yt=dn==="line";return gr||pr!=="exception"&&pr!=="success"?_n=Wn(se(Yn),se(dt)):pr==="exception"?_n=yt?v.createElement(F.Z,null):v.createElement(G.Z,null):pr==="success"&&(_n=yt?v.createElement(I.Z,null):v.createElement(O.Z,null)),v.createElement("span",{className:`${wr}-text`,title:typeof _n=="string"?_n:void 0},_n)},[vi,Yn,Nr,pr,dn,wr,gr]),no=Array.isArray(On)?On[0]:On,ur=typeof On=="string"||Array.isArray(On)?On:void 0;let zi;dn==="line"?zi=Un?v.createElement(k,Object.assign({},et,{strokeColor:ur,prefixCls:wr,steps:Un}),Ir):v.createElement(re,Object.assign({},et,{strokeColor:no,prefixCls:wr,direction:yr}),Ir):(dn==="circle"||dn==="dashboard")&&(zi=v.createElement(Ln,Object.assign({},et,{strokeColor:no,prefixCls:wr,progressStatus:pr}),Ir));const xi=M()(wr,`${wr}-status-${pr}`,`${wr}-${dn==="dashboard"&&"circle"||Un&&"steps"||dn}`,{[`${wr}-inline-circle`]:dn==="circle"&&St(wi,"circle")[0]<=20,[`${wr}-show-info`]:vi,[`${wr}-${wi}`]:typeof wi=="string",[`${wr}-rtl`]:yr==="rtl"},Er==null?void 0:Er.className,tn,ze,yo);return eo(v.createElement("div",Object.assign({ref:zt,style:Object.assign(Object.assign({},Er==null?void 0:Er.style),er),className:xi,role:"progressbar","aria-valuenow":Nr},(0,de.Z)(ti,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),zi))}),nn=cn},57809:function(Q,C,h){"use strict";var v=h(92310),I=h.n(v),O=h(77861),F=h(2738),G=h(59301),P=h(53487),M=h(62892),de=h(19080),ce=h(36355),te=h(1684),Me=h(93891),we=h(19716),Qe=h(32441),Oe=h(33234),Te=h(14154),Ae=h(58582),Re=h(84443),fe=h(66339),me=function(Ne,Ie){var Fe={};for(var Xe in Ne)Object.prototype.hasOwnProperty.call(Ne,Xe)&&Ie.indexOf(Xe)<0&&(Fe[Xe]=Ne[Xe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Xe=Object.getOwnPropertySymbols(Ne);Ye{var Fe,{prefixCls:Xe,bordered:Ye=!0,className:ie,rootClassName:lt,getPopupContainer:We,popupClassName:Pt,dropdownClassName:xt,listHeight:kt=256,placement:wt,listItemHeight:En=24,size:Je,disabled:se,notFoundContent:ue,status:Ht,builtinPlacements:Vt,dropdownMatchSelectWidth:St,popupMatchSelectWidth:an,direction:Ft,style:ai,allowClear:Ln}=Ne,ni=me(Ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Jn,getPrefixCls:In,renderEmpty:Mn,direction:re,virtual:z,popupMatchSelectWidth:k,popupOverflow:j,select:X}=G.useContext(ce.E_),N=In("select",Xe),_e=In(),Nt=Ft!=null?Ft:re,{compactSize:He,compactItemClassnames:De}=(0,Oe.ri)(N,Nt),[gt,ut]=(0,Te.Z)(N),nt=G.useMemo(()=>{const{mode:pr}=ni;if(pr!=="combobox")return pr===xe?"combobox":pr},[ni.mode]),Tt=nt==="multiple"||nt==="tags",fn=(0,Re.Z)(ni.suffixIcon,ni.showArrow),qt=(Fe=an!=null?an:St)!==null&&Fe!==void 0?Fe:k,{status:jt,hasFeedback:cn,isFormItemInput:nn,feedbackIcon:et}=G.useContext(Qe.aM),zt=(0,de.F)(jt,Ht);let hn;ue!==void 0?hn=ue:nt==="combobox"?hn=null:hn=(Mn==null?void 0:Mn("Select"))||G.createElement(Me.Z,{componentName:"Select"});const{suffixIcon:tn,itemIcon:ze,removeIcon:Un,clearIcon:On}=(0,fe.Z)(Object.assign(Object.assign({},ni),{multiple:Tt,hasFeedback:cn,feedbackIcon:et,showSuffixIcon:fn,prefixCls:N,showArrow:ni.showArrow,componentName:"Select"})),Yn=Ln===!0?{clearIcon:On}:Ln,wi=(0,F.Z)(ni,["suffixIcon","itemIcon"]),vi=I()(Pt||xt,{[`${N}-dropdown-${Nt}`]:Nt==="rtl"},lt,ut),dn=(0,we.Z)(pr=>{var U;return(U=Je!=null?Je:He)!==null&&U!==void 0?U:pr}),ln=G.useContext(te.Z),gr=se!=null?se:ln,er=I()({[`${N}-lg`]:dn==="large",[`${N}-sm`]:dn==="small",[`${N}-rtl`]:Nt==="rtl",[`${N}-borderless`]:!Ye,[`${N}-in-form-item`]:nn},(0,de.Z)(N,zt,cn),De,X==null?void 0:X.className,ie,lt,ut),ti=G.useMemo(()=>wt!==void 0?wt:Nt==="rtl"?"bottomRight":"bottomLeft",[wt,Nt]),Nr=(0,Ae.Z)(Vt,j);return gt(G.createElement(O.ZP,Object.assign({ref:Ie,virtual:z,showSearch:X==null?void 0:X.showSearch},wi,{style:Object.assign(Object.assign({},X==null?void 0:X.style),ai),dropdownMatchSelectWidth:qt,builtinPlacements:Nr,transitionName:(0,M.m)(_e,"slide-up",ni.transitionName),listHeight:kt,listItemHeight:En,mode:nt,prefixCls:N,placement:ti,direction:Nt,suffixIcon:tn,menuItemSelectedIcon:ze,removeIcon:Un,allowClear:Yn,notFoundContent:hn,className:er,getPopupContainer:We||Jn,dropdownClassName:vi,disabled:gr})))},ke=G.forwardRef(ge),ee=(0,P.Z)(ke);ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=xe,ke.Option=O.Wx,ke.OptGroup=O.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=ee,C.default=ke},14154:function(Q,C,h){"use strict";h.d(C,{Z:function(){return ke}});var v=h(17313),I=h(74207),O=h(37613),F=h(83116),G=h(13826),P=h(92899);const M=ee=>{const{optionHeight:Ne,optionFontSize:Ie,optionLineHeight:Fe,optionPadding:Xe}=ee;return{position:"relative",display:"block",minHeight:Ne,padding:Xe,color:ee.colorText,fontWeight:"normal",fontSize:Ie,lineHeight:Fe,boxSizing:"border-box"}};var ce=ee=>{const{antCls:Ne,componentCls:Ie}=ee,Fe=`${Ie}-item`,Xe=`&${Ne}-slide-up-enter${Ne}-slide-up-enter-active`,Ye=`&${Ne}-slide-up-appear${Ne}-slide-up-appear-active`,ie=`&${Ne}-slide-up-leave${Ne}-slide-up-leave-active`,lt=`${Ie}-dropdown-placement-`;return[{[`${Ie}-dropdown`]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{position:"absolute",top:-9999,zIndex:ee.zIndexPopup,boxSizing:"border-box",padding:ee.paddingXXS,overflow:"hidden",fontSize:ee.fontSize,fontVariant:"initial",backgroundColor:ee.colorBgElevated,borderRadius:ee.borderRadiusLG,outline:"none",boxShadow:ee.boxShadowSecondary,[` - ${Xe}${lt}bottomLeft, + `]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,color:$e.colorText,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:$e.borderRadius,cursor:"pointer",transition:`all ${$e.motionDurationMid}`},[`${De}-prev, ${De}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:$e.colorText,cursor:"pointer",userSelect:"none"},[`${De}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:$e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:"none",transition:`all ${$e.motionDurationMid}`},[`&:hover ${De}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${De}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${De}-disabled:hover`]:{[`${De}-item-link`]:{backgroundColor:"transparent"}}},[`${De}-slash`]:{marginInlineEnd:$e.paginationSlashMarginInlineEnd,marginInlineStart:$e.paginationSlashMarginInlineStart},[`${De}-options`]:{display:"inline-block",marginInlineStart:$e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:$e.controlHeight,marginInlineStart:$e.marginXS,lineHeight:`${$e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,St.ik)($e)),{width:$e.controlHeightLG*1.25,height:$e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:$e.marginXS,marginInlineEnd:$e.marginXS})}}}},In=$e=>{const{componentCls:De}=$e;return{[`${De}-item`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,marginInlineEnd:$e.marginXS,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${$e.paginationItemPaddingInline}px`,color:$e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${De}-item-active)`]:{"&:hover":{transition:`all ${$e.motionDurationMid}`,backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},"&-active":{fontWeight:$e.fontWeightStrong,backgroundColor:$e.itemActiveBg,borderColor:$e.colorPrimary,a:{color:$e.colorPrimary},"&:hover":{borderColor:$e.colorPrimaryHover},"&:hover a":{color:$e.colorPrimaryHover}}}}},ie=$e=>{const{componentCls:De}=$e;return{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,sn.Wf)($e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${De}-total-text`]:{display:"inline-block",height:$e.itemSize,marginInlineEnd:$e.marginXS,lineHeight:`${$e.itemSize-2}px`,verticalAlign:"middle"}}),In($e)),Mn($e)),Jn($e)),ni($e)),On($e)),{[`@media only screen and (max-width: ${$e.screenLG}px)`]:{[`${De}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${$e.screenSM}px)`]:{[`${De}-options`]:{display:"none"}}}),[`&${$e.componentCls}-rtl`]:{direction:"rtl"}}},z=$e=>{const{componentCls:De}=$e;return{[`${De}${De}-disabled:not(${De}-mini)`]:{"&, &:hover":{[`${De}-item-link`]:{borderColor:$e.colorBorder}},"&:focus-visible":{[`${De}-item-link`]:{borderColor:$e.colorBorder}},[`${De}-item, ${De}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,[`&:hover:not(${De}-item-active)`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,a:{color:$e.colorTextDisabled}},[`&${De}-item-active`]:{backgroundColor:$e.itemActiveBgDisabled}},[`${De}-prev, ${De}-next`]:{"&:hover button":{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,color:$e.colorTextDisabled},[`${De}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder}}},[`${De}:not(${De}-mini)`]:{[`${De}-prev, ${De}-next`]:{"&:hover button":{borderColor:$e.colorPrimaryHover,backgroundColor:$e.itemBg},[`${De}-item-link`]:{backgroundColor:$e.itemLinkBg,borderColor:$e.colorBorder},[`&:hover ${De}-item-link`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,color:$e.colorPrimary},[`&${De}-disabled`]:{[`${De}-item-link`]:{borderColor:$e.colorBorder,color:$e.colorTextDisabled}}},[`${De}-item`]:{backgroundColor:$e.itemBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,[`&:hover:not(${De}-item-active)`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,a:{color:$e.colorPrimary}},"&-active":{borderColor:$e.colorPrimary}}}}},k=$e=>{const{componentCls:De}=$e;return{[`${De}:not(${De}-disabled)`]:{[`${De}-item`]:Object.assign({},(0,sn.Qy)($e)),[`${De}-jump-prev, ${De}-jump-next`]:{"&:focus-visible":Object.assign({[`${De}-item-link-icon`]:{opacity:1},[`${De}-item-ellipsis`]:{opacity:0}},(0,sn.oN)($e))},[`${De}-prev, ${De}-next`]:{[`&:focus-visible ${De}-item-link`]:Object.assign({},(0,sn.oN)($e))}}}};var j=(0,Ft.Z)("Pagination",$e=>{const De=(0,oi.TS)($e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:$e.marginXXS/2,paginationMiniQuickJumperInputWidth:$e.controlHeightLG*1.1,paginationItemPaddingInline:$e.marginXXS*1.5,paginationEllipsisLetterSpacing:$e.marginXXS/2,paginationSlashMarginInlineStart:$e.marginXXS,paginationSlashMarginInlineEnd:$e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,St.e5)($e),(0,St.TM)($e));return[ie(De),k(De),$e.wireframe&&z(De)]},$e=>({itemBg:$e.colorBgContainer,itemSize:$e.controlHeight,itemSizeSM:$e.controlHeightSM,itemActiveBg:$e.colorBgContainer,itemLinkBg:$e.colorBgContainer,itemActiveColorDisabled:$e.colorTextDisabled,itemActiveBgDisabled:$e.controlItemBgActiveDisabled,itemInputBg:$e.colorBgContainer,miniOptionsSizeChangerTop:0})),X=function($e,De){var gt={};for(var ut in $e)Object.prototype.hasOwnProperty.call($e,ut)&&De.indexOf(ut)<0&&(gt[ut]=$e[ut]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,ut=Object.getOwnPropertySymbols($e);tt{const{prefixCls:De,selectPrefixCls:gt,className:ut,rootClassName:tt,style:Et,size:pn,locale:nn,selectComponentClass:Kt,responsive:hn,showSizeChanger:an}=$e,et=X($e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:zt}=(0,Qe.Z)(hn),{getPrefixCls:dn,direction:rn,pagination:ze={}}=I.useContext(Ct.E_),Un=dn("pagination",De),[yn,Bt]=j(Un),Si=an!=null?an:ze.showSizeChanger,_i=I.useMemo(()=>{const U=I.createElement("span",{className:`${Un}-item-ellipsis`},"\u2022\u2022\u2022"),mr=I.createElement("button",{className:`${Un}-item-link`,type:"button",tabIndex:-1},rn==="rtl"?I.createElement(Me.Z,null):I.createElement(te.Z,null)),Er=I.createElement("button",{className:`${Un}-item-link`,type:"button",tabIndex:-1},rn==="rtl"?I.createElement(te.Z,null):I.createElement(Me.Z,null)),wr=I.createElement("a",{className:`${Un}-item-link`},I.createElement("div",{className:`${Un}-item-container`},rn==="rtl"?I.createElement(ae.Z,{className:`${Un}-item-link-icon`}):I.createElement(de,{className:`${Un}-item-link-icon`}),U)),qr=I.createElement("a",{className:`${Un}-item-link`},I.createElement("div",{className:`${Un}-item-container`},rn==="rtl"?I.createElement(de,{className:`${Un}-item-link-icon`}):I.createElement(ae.Z,{className:`${Un}-item-link-icon`}),U));return{prevIcon:mr,nextIcon:Er,jumpPrevIcon:wr,jumpNextIcon:qr}},[rn,Un]),[Ii]=(0,le.Z)("Pagination",kt.Z),cn=Object.assign(Object.assign({},Ii),nn),fr=(0,Cn.Z)(pn),Xi=fr==="small"||!!(zt&&!fr&&hn),ei=dn("select",gt),Tr=Xe()({[`${Un}-mini`]:Xi,[`${Un}-rtl`]:rn==="rtl"},ze==null?void 0:ze.className,ut,tt,Bt),ur=Object.assign(Object.assign({},ze==null?void 0:ze.style),Et);return yn(I.createElement(xt,Object.assign({},_i,et,{style:ur,prefixCls:Un,selectPrefixCls:ei,className:Tr,selectComponentClass:Kt||(Xi?Ht:Vt),locale:cn,showSizeChanger:Si})))},It=_e},14478:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Je}});var v=h(96512),I=h(92310),O=h.n(I),B=h(10228),G=h(18929),F=h(2738),M=h(59301),de=h(92343),ae=h(36355),te=h(60324),Me=h(92806),we=h(77578),Xe=h(3113),Oe=h(67797),Ce=h(9763),Ae=h(31724),Pe=h(39722),fe=h(83116);const pe=Ye=>{const{componentCls:re,iconCls:lt,antCls:We,zIndexPopup:Pt,colorText:xt,colorWarning:kt,marginXXS:Ct,marginXS:Cn,fontSize:Qe,fontWeightStrong:le,colorTextHeading:ce}=Ye;return{[re]:{zIndex:Pt,[`&${We}-popover`]:{fontSize:Qe},[`${re}-message`]:{marginBottom:Cn,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${re}-message-icon ${lt}`]:{color:kt,fontSize:Qe,lineHeight:1,marginInlineEnd:Cn},[`${re}-title`]:{fontWeight:le,color:ce,"&:only-child":{fontWeight:"normal"}},[`${re}-description`]:{marginTop:Ct,color:xt}},[`${re}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:Cn}}}}};var xe=(0,fe.Z)("Popconfirm",Ye=>pe(Ye),Ye=>{const{zIndexPopupBase:re}=Ye;return{zIndexPopup:re+60}},{resetStyle:!1}),me=function(Ye,re){var lt={};for(var We in Ye)Object.prototype.hasOwnProperty.call(Ye,We)&&re.indexOf(We)<0&&(lt[We]=Ye[We]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,We=Object.getOwnPropertySymbols(Ye);Pt{const{prefixCls:re,okButtonProps:lt,cancelButtonProps:We,title:Pt,description:xt,cancelText:kt,okText:Ct,okType:Cn="primary",icon:Qe=M.createElement(v.Z,null),showCancel:le=!0,close:ce,onConfirm:Ht,onCancel:Vt,onPopupClick:St}=Ye,{getPrefixCls:sn}=M.useContext(ae.E_),[Ft]=(0,Ce.Z)("Popconfirm",Ae.Z.Popconfirm),oi=(0,we.Z)(Pt),On=(0,we.Z)(xt);return M.createElement("div",{className:`${re}-inner-content`,onClick:St},M.createElement("div",{className:`${re}-message`},Qe&&M.createElement("span",{className:`${re}-message-icon`},Qe),M.createElement("div",{className:`${re}-message-text`},oi&&M.createElement("div",{className:O()(`${re}-title`)},oi),On&&M.createElement("div",{className:`${re}-description`},On))),M.createElement("div",{className:`${re}-buttons`},le&&M.createElement(Xe.ZP,Object.assign({onClick:Vt,size:"small"},We),kt!=null?kt:Ft==null?void 0:Ft.cancelText),M.createElement(Me.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,Oe.n)(Cn)),lt),actionFn:Ht,close:ce,prefixCls:sn("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},Ct!=null?Ct:Ft==null?void 0:Ft.okText)))};var Ne=Ye=>{const{prefixCls:re,placement:lt,className:We,style:Pt}=Ye,xt=me(Ye,["prefixCls","placement","className","style"]),{getPrefixCls:kt}=M.useContext(ae.E_),Ct=kt("popconfirm",re),[Cn]=xe(Ct);return Cn(M.createElement(Pe.ZP,{placement:lt,className:O()(Ct,We),style:Pt,content:M.createElement(ke,Object.assign({prefixCls:Ct},xt))}))},Ie=function(Ye,re){var lt={};for(var We in Ye)Object.prototype.hasOwnProperty.call(Ye,We)&&re.indexOf(We)<0&&(lt[We]=Ye[We]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,We=Object.getOwnPropertySymbols(Ye);Pt{const{prefixCls:lt,placement:We="top",trigger:Pt="click",okType:xt="primary",icon:kt=M.createElement(v.Z,null),children:Ct,overlayClassName:Cn,onOpenChange:Qe,onVisibleChange:le}=Ye,ce=Ie(Ye,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:Ht}=M.useContext(ae.E_),[Vt,St]=(0,G.Z)(!1,{value:Ye.open,defaultValue:Ye.defaultOpen}),sn=(z,k)=>{St(z,!0),le==null||le(z),Qe==null||Qe(z,k)},Ft=z=>{sn(!1,z)},oi=z=>{var k;return(k=Ye.onConfirm)===null||k===void 0?void 0:k.call(void 0,z)},On=z=>{var k;sn(!1,z),(k=Ye.onCancel)===null||k===void 0||k.call(void 0,z)},ni=z=>{z.keyCode===B.Z.ESC&&Vt&&sn(!1,z)},Jn=z=>{const{disabled:k=!1}=Ye;k||sn(z)},Mn=Ht("popconfirm",lt),In=O()(Mn,Cn),[ie]=xe(Mn);return ie(M.createElement(te.Z,Object.assign({},(0,F.Z)(ce,["title"]),{trigger:Pt,placement:We,onOpenChange:Jn,open:Vt,ref:re,overlayClassName:In,content:M.createElement(ke,Object.assign({okType:xt,icon:kt},Ye,{prefixCls:Mn,close:Ft,onConfirm:oi,onCancel:On})),"data-popover-inject":!0}),(0,de.Tm)(Ct,{onKeyDown:z=>{var k,j;M.isValidElement(Ct)&&((j=Ct==null?void 0:(k=Ct.props).onKeyDown)===null||j===void 0||j.call(k,z)),ni(z)}})))});Le._InternalPanelDoNotUseOrYouWillBeFired=Ne;var Je=Le},39722:function(Q,C,h){"use strict";h.d(C,{t5:function(){return te}});var v=h(92310),I=h.n(v),O=h(55477),B=h(59301),G=h(36355),F=h(77578),M=h(17356),de=function(we,Xe){var Oe={};for(var Ce in we)Object.prototype.hasOwnProperty.call(we,Ce)&&Xe.indexOf(Ce)<0&&(Oe[Ce]=we[Ce]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ce=Object.getOwnPropertySymbols(we);Ae{if(!(!Xe&&!Oe))return B.createElement(B.Fragment,null,Xe&&B.createElement("div",{className:`${we}-title`},(0,F.Z)(Xe)),B.createElement("div",{className:`${we}-inner-content`},(0,F.Z)(Oe)))},te=we=>{const{hashId:Xe,prefixCls:Oe,className:Ce,style:Ae,placement:Pe="top",title:fe,content:pe,children:xe}=we;return B.createElement("div",{className:I()(Xe,Oe,`${Oe}-pure`,`${Oe}-placement-${Pe}`,Ce),style:Ae},B.createElement("div",{className:`${Oe}-arrow`}),B.createElement(O.G,Object.assign({},we,{className:Xe,prefixCls:Oe}),xe||ae(Oe,fe,pe)))},Me=we=>{const{prefixCls:Xe}=we,Oe=de(we,["prefixCls"]),{getPrefixCls:Ce}=B.useContext(G.E_),Ae=Ce("popover",Xe),[Pe,fe]=(0,M.Z)(Ae);return Pe(B.createElement(te,Object.assign({},Oe,{prefixCls:Ae,hashId:fe})))};C.ZP=Me},60324:function(Q,C,h){"use strict";var v=h(92310),I=h.n(v),O=h(59301),B=h(77578),G=h(62892),F=h(36355),M=h(6848),de=h(39722),ae=h(17356),te=function(Xe,Oe){var Ce={};for(var Ae in Xe)Object.prototype.hasOwnProperty.call(Xe,Ae)&&Oe.indexOf(Ae)<0&&(Ce[Ae]=Xe[Ae]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ae=Object.getOwnPropertySymbols(Xe);Pe{let{title:Oe,content:Ce,prefixCls:Ae}=Xe;return O.createElement(O.Fragment,null,Oe&&O.createElement("div",{className:`${Ae}-title`},(0,B.Z)(Oe)),O.createElement("div",{className:`${Ae}-inner-content`},(0,B.Z)(Ce)))},we=O.forwardRef((Xe,Oe)=>{const{prefixCls:Ce,title:Ae,content:Pe,overlayClassName:fe,placement:pe="top",trigger:xe="hover",mouseEnterDelay:me=.1,mouseLeaveDelay:ke=.1,overlayStyle:ee={}}=Xe,Ne=te(Xe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ie}=O.useContext(F.E_),Le=Ie("popover",Ce),[Je,Ye]=(0,ae.Z)(Le),re=Ie(),lt=I()(fe,Ye);return Je(O.createElement(M.Z,Object.assign({placement:pe,trigger:xe,mouseEnterDelay:me,mouseLeaveDelay:ke,overlayStyle:ee},Ne,{prefixCls:Le,overlayClassName:lt,ref:Oe,overlay:Ae||Pe?O.createElement(Me,{prefixCls:Le,title:Ae,content:Pe}):null,transitionName:(0,G.m)(re,"zoom-big",Ne.transitionName),"data-popover-inject":!0})))});we._InternalPanelDoNotUseOrYouWillBeFired=de.ZP,C.Z=we},17356:function(Q,C,h){"use strict";var v=h(17313),I=h(29878),O=h(19447),B=h(33166),G=h(83116),F=h(37613);const M=te=>{const{componentCls:Me,popoverColor:we,minWidth:Xe,fontWeightStrong:Oe,popoverPadding:Ce,boxShadowSecondary:Ae,colorTextHeading:Pe,borderRadiusLG:fe,zIndexPopup:pe,marginXS:xe,colorBgElevated:me,popoverBg:ke}=te;return[{[Me]:Object.assign(Object.assign({},(0,v.Wf)(te)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:pe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":me,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Me}-content`]:{position:"relative"},[`${Me}-inner`]:{backgroundColor:ke,backgroundClip:"padding-box",borderRadius:fe,boxShadow:Ae,padding:Ce},[`${Me}-title`]:{minWidth:Xe,marginBottom:xe,color:Pe,fontWeight:Oe},[`${Me}-inner-content`]:{color:we}})},(0,O.ZP)(te,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Me}-pure`]:{position:"relative",maxWidth:"none",margin:te.sizePopupArrow,display:"inline-block",[`${Me}-content`]:{display:"inline-block"}}}]},de=te=>{const{componentCls:Me}=te;return{[Me]:B.i.map(we=>{const Xe=te[`${we}6`];return{[`&${Me}-${we}`]:{"--antd-arrow-background-color":Xe,[`${Me}-inner`]:{backgroundColor:Xe},[`${Me}-arrow`]:{background:"transparent"}}}})}},ae=te=>{const{componentCls:Me,lineWidth:we,lineType:Xe,colorSplit:Oe,paddingSM:Ce,controlHeight:Ae,fontSize:Pe,lineHeight:fe,padding:pe}=te,xe=Ae-Math.round(Pe*fe),me=xe/2,ke=xe/2-we,ee=pe;return{[Me]:{[`${Me}-inner`]:{padding:0},[`${Me}-title`]:{margin:0,padding:`${me}px ${ee}px ${ke}px`,borderBottom:`${we}px ${Xe} ${Oe}`},[`${Me}-inner-content`]:{padding:`${Ce}px ${ee}px`}}}};C.Z=(0,G.Z)("Popover",te=>{const{colorBgElevated:Me,colorText:we,wireframe:Xe}=te,Oe=(0,F.TS)(te,{popoverPadding:12,popoverBg:Me,popoverColor:we});return[M(Oe),de(Oe),Xe&&ae(Oe),(0,I._y)(Oe,"zoom-big")]},te=>({width:177,minWidth:177,zIndexPopup:te.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Q,C,h){"use strict";h.d(C,{Z:function(){return an}});var v=h(59301),I=h(29679),O=h(40001),B=h(19248),G=h(99267),F=h(92310),M=h.n(F),de=h(2738),ae=h(36355),te=h(92413),Me=h(33708),we=h(37061),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var zt=(0,v.useRef)([]),dn=(0,v.useRef)(null);return(0,v.useEffect)(function(){var rn=Date.now(),ze=!1;zt.current.forEach(function(Un){if(Un){ze=!0;var yn=Un.style;yn.transitionDuration=".3s, .3s, .3s, .06s",dn.current&&rn-dn.current<100&&(yn.transitionDuration="0s, 0s")}}),ze&&(dn.current=Date.now())}),zt.current},Ce=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ae=function(zt){var dn=(0,Me.Z)((0,Me.Z)({},Xe),zt),rn=dn.className,ze=dn.percent,Un=dn.prefixCls,yn=dn.strokeColor,Bt=dn.strokeLinecap,Si=dn.strokeWidth,_i=dn.style,Ii=dn.trailColor,cn=dn.trailWidth,fr=dn.transition,Xi=(0,we.Z)(dn,Ce);delete Xi.gapPosition;var ei=Array.isArray(ze)?ze:[ze],Tr=Array.isArray(yn)?yn:[yn],ur=Oe(),U=Si/2,mr=100-Si/2,Er="M ".concat(Bt==="round"?U:0,",").concat(U,` + L `).concat(Bt==="round"?mr:100,",").concat(U),wr="0 0 100 ".concat(Si),qr=0;return v.createElement("svg",(0,te.Z)({className:M()("".concat(Un,"-line"),rn),viewBox:wr,preserveAspectRatio:"none",style:_i},Xi),v.createElement("path",{className:"".concat(Un,"-line-trail"),d:Er,strokeLinecap:Bt,stroke:Ii,strokeWidth:cn||Si,fillOpacity:"0"}),ei.map(function(xo,kr){var no=1;switch(Bt){case"round":no=1-Si/100;break;case"square":no=1-Si/2/100;break;default:no=1;break}var rr={strokeDasharray:"".concat(xo*no,"px, 100px"),strokeDashoffset:"-".concat(qr,"px"),transition:fr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Bi=Tr[kr]||Tr[Tr.length-1];return qr+=xo,v.createElement("path",{key:kr,className:"".concat(Un,"-line-path"),d:Er,strokeLinecap:Bt,stroke:Bi,strokeWidth:Si,fillOpacity:"0",ref:function(ht){ur[kr]=ht},style:rr})}))},Pe=Ae,fe=h(39559),pe=h(33606),xe=h(47273),me=0,ke=(0,xe.Z)();function ee(){var et;return ke?(et=me,me+=1):et="TEST_OR_SSR",et}var Ne=function(et){var zt=v.useState(),dn=(0,pe.Z)(zt,2),rn=dn[0],ze=dn[1];return v.useEffect(function(){ze("rc_progress_".concat(ee()))},[]),et||rn},Ie=function(zt){var dn=zt.bg,rn=zt.children;return v.createElement("div",{style:{width:"100%",height:"100%",background:dn}},rn)};function Le(et,zt){return Object.keys(et).map(function(dn){var rn=parseFloat(dn),ze="".concat(Math.floor(rn*zt),"%");return"".concat(et[dn]," ").concat(ze)})}var Je=v.forwardRef(function(et,zt){var dn=et.prefixCls,rn=et.color,ze=et.gradientId,Un=et.radius,yn=et.style,Bt=et.ptg,Si=et.strokeLinecap,_i=et.strokeWidth,Ii=et.size,cn=et.gapDegree,fr=rn&&(0,fe.Z)(rn)==="object",Xi=fr?"#FFF":void 0,ei=Ii/2,Tr=v.createElement("circle",{className:"".concat(dn,"-circle-path"),r:Un,cx:ei,cy:ei,stroke:Xi,strokeLinecap:Si,strokeWidth:_i,opacity:Bt===0?0:1,style:yn,ref:zt});if(!fr)return Tr;var ur="".concat(ze,"-conic"),U=cn?"".concat(180+cn/2,"deg"):"0deg",mr=Le(rn,(360-cn)/360),Er=Le(rn,1),wr="conic-gradient(from ".concat(U,", ").concat(mr.join(", "),")"),qr="linear-gradient(to ".concat(cn?"bottom":"top",", ").concat(Er.join(", "),")");return v.createElement(v.Fragment,null,v.createElement("mask",{id:ur},Tr),v.createElement("foreignObject",{x:0,y:0,width:Ii,height:Ii,mask:"url(#".concat(ur,")")},v.createElement(Ie,{bg:qr},v.createElement(Ie,{bg:wr}))))}),Ye=Je,re=100,lt=function(zt,dn,rn,ze,Un,yn,Bt,Si,_i,Ii){var cn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,fr=rn/100*360*((360-yn)/360),Xi=yn===0?0:{bottom:0,top:180,left:90,right:-90}[Bt],ei=(100-ze)/100*dn;_i==="round"&&ze!==100&&(ei+=Ii/2,ei>=dn&&(ei=dn-.01));var Tr=re/2;return{stroke:typeof Si=="string"?Si:void 0,strokeDasharray:"".concat(dn,"px ").concat(zt),strokeDashoffset:ei+cn,transform:"rotate(".concat(Un+fr+Xi,"deg)"),transformOrigin:"".concat(Tr,"px ").concat(Tr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Pt(et){var zt=et!=null?et:[];return Array.isArray(zt)?zt:[zt]}var xt=function(zt){var dn=(0,Me.Z)((0,Me.Z)({},Xe),zt),rn=dn.id,ze=dn.prefixCls,Un=dn.steps,yn=dn.strokeWidth,Bt=dn.trailWidth,Si=dn.gapDegree,_i=Si===void 0?0:Si,Ii=dn.gapPosition,cn=dn.trailColor,fr=dn.strokeLinecap,Xi=dn.style,ei=dn.className,Tr=dn.strokeColor,ur=dn.percent,U=(0,we.Z)(dn,We),mr=re/2,Er=Ne(rn),wr="".concat(Er,"-gradient"),qr=mr-yn/2,xo=Math.PI*2*qr,kr=_i>0?90+_i/2:-90,no=xo*((360-_i)/360),rr=(0,fe.Z)(Un)==="object"?Un:{count:Un,space:2},Bi=rr.count,yi=rr.space,ht=Pt(ur),_n=Pt(Tr),Vn=_n.find(function(Ve){return Ve&&(0,fe.Z)(Ve)==="object"}),pt=Vn&&(0,fe.Z)(Vn)==="object",Ke=pt?"butt":fr,vn=lt(xo,no,0,100,kr,_i,Ii,cn,Ke,yn),Fn=Oe(),on=function(){var Ut=0;return ht.map(function(Lt,Wn){var ot=_n[Wn]||_n[_n.length-1],fn=lt(xo,no,Ut,Lt,kr,_i,Ii,ot,Ke,yn);return Ut+=Lt,v.createElement(Ye,{key:Wn,color:ot,ptg:Lt,radius:qr,prefixCls:ze,gradientId:wr,style:fn,strokeLinecap:Ke,strokeWidth:yn,gapDegree:_i,ref:function(je){Fn[Wn]=je},size:re})}).reverse()},Nt=function(){var Ut=Math.round(Bi*(ht[0]/100)),Lt=100/Bi,Wn=0;return new Array(Bi).fill(null).map(function(ot,fn){var vt=fn<=Ut-1?_n[0]:cn,je=vt&&(0,fe.Z)(vt)==="object"?"url(#".concat(wr,")"):void 0,L=lt(xo,no,Wn,Lt,kr,_i,Ii,vt,"butt",yn,yi);return Wn+=(no-L.strokeDashoffset+yi)*100/no,v.createElement("circle",{key:fn,className:"".concat(ze,"-circle-path"),r:qr,cx:mr,cy:mr,stroke:je,strokeWidth:yn,opacity:1,style:L,ref:function(Jt){Fn[fn]=Jt}})})};return v.createElement("svg",(0,te.Z)({className:M()("".concat(ze,"-circle"),ei),viewBox:"0 0 ".concat(re," ").concat(re),style:Xi,id:rn,role:"presentation"},U),!Bi&&v.createElement("circle",{className:"".concat(ze,"-circle-trail"),r:qr,cx:mr,cy:mr,stroke:cn,strokeLinecap:Ke,strokeWidth:Bt||yn,style:vn}),Bi?Nt():on())},kt=xt,Ct={Line:Pe,Circle:kt},Cn=h(6848),Qe=h(93398);function le(et){return!et||et<0?0:et>100?100:et}function ce(et){let{success:zt,successPercent:dn}=et,rn=dn;return zt&&"progress"in zt&&(rn=zt.progress),zt&&"percent"in zt&&(rn=zt.percent),rn}const Ht=et=>{let{percent:zt,success:dn,successPercent:rn}=et;const ze=le(ce({success:dn,successPercent:rn}));return[ze,le(le(zt)-ze)]},Vt=et=>{let{success:zt={},strokeColor:dn}=et;const{strokeColor:rn}=zt;return[rn||Qe.presetPrimaryColors.green,dn||null]},St=(et,zt,dn)=>{var rn,ze,Un,yn;let Bt=-1,Si=-1;if(zt==="step"){const _i=dn.steps,Ii=dn.strokeWidth;typeof et=="string"||typeof et=="undefined"?(Bt=et==="small"?2:14,Si=Ii!=null?Ii:8):typeof et=="number"?[Bt,Si]=[et,et]:[Bt=14,Si=8]=et,Bt*=_i}else if(zt==="line"){const _i=dn==null?void 0:dn.strokeWidth;typeof et=="string"||typeof et=="undefined"?Si=_i||(et==="small"?6:8):typeof et=="number"?[Bt,Si]=[et,et]:[Bt=-1,Si=8]=et}else(zt==="circle"||zt==="dashboard")&&(typeof et=="string"||typeof et=="undefined"?[Bt,Si]=et==="small"?[60,60]:[120,120]:typeof et=="number"?[Bt,Si]=[et,et]:(Bt=(ze=(rn=et[0])!==null&&rn!==void 0?rn:et[1])!==null&&ze!==void 0?ze:120,Si=(yn=(Un=et[0])!==null&&Un!==void 0?Un:et[1])!==null&&yn!==void 0?yn:120));return[Bt,Si]},sn=3,Ft=et=>sn/et*100;var On=et=>{const{prefixCls:zt,trailColor:dn=null,strokeLinecap:rn="round",gapPosition:ze,gapDegree:Un,width:yn=120,type:Bt,children:Si,success:_i,size:Ii=yn}=et,[cn,fr]=St(Ii,"circle");let{strokeWidth:Xi}=et;Xi===void 0&&(Xi=Math.max(Ft(cn),6));const ei={width:cn,height:fr,fontSize:cn*.15+6},Tr=v.useMemo(()=>{if(Un||Un===0)return Un;if(Bt==="dashboard")return 75},[Un,Bt]),ur=ze||Bt==="dashboard"&&"bottom"||void 0,U=Object.prototype.toString.call(et.strokeColor)==="[object Object]",mr=Vt({success:_i,strokeColor:et.strokeColor}),Er=M()(`${zt}-inner`,{[`${zt}-circle-gradient`]:U}),wr=v.createElement(kt,{percent:Ht(et),strokeWidth:Xi,trailWidth:Xi,strokeColor:mr,strokeLinecap:rn,trailColor:dn,prefixCls:zt,gapDegree:Tr,gapPosition:ur});return v.createElement("div",{className:Er,style:ei},cn<=20?v.createElement(Cn.Z,{title:Si},v.createElement("span",null,wr)):v.createElement(v.Fragment,null,wr,Si))},ni=function(et,zt){var dn={};for(var rn in et)Object.prototype.hasOwnProperty.call(et,rn)&&zt.indexOf(rn)<0&&(dn[rn]=et[rn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,rn=Object.getOwnPropertySymbols(et);ze{let zt=[];return Object.keys(et).forEach(dn=>{const rn=parseFloat(dn.replace(/%/g,""));isNaN(rn)||zt.push({key:rn,value:et[dn]})}),zt=zt.sort((dn,rn)=>dn.key-rn.key),zt.map(dn=>{let{key:rn,value:ze}=dn;return`${ze} ${rn}%`}).join(", ")},Mn=(et,zt)=>{const{from:dn=Qe.presetPrimaryColors.blue,to:rn=Qe.presetPrimaryColors.blue,direction:ze=zt==="rtl"?"to left":"to right"}=et,Un=ni(et,["from","to","direction"]);if(Object.keys(Un).length!==0){const yn=Jn(Un);return{backgroundImage:`linear-gradient(${ze}, ${yn})`}}return{backgroundImage:`linear-gradient(${ze}, ${dn}, ${rn})`}};var ie=et=>{const{prefixCls:zt,direction:dn,percent:rn,size:ze,strokeWidth:Un,strokeColor:yn,strokeLinecap:Bt="round",children:Si,trailColor:_i=null,success:Ii}=et,cn=yn&&typeof yn!="string"?Mn(yn,dn):{backgroundColor:yn},fr=Bt==="square"||Bt==="butt"?0:void 0,Xi={backgroundColor:_i||void 0,borderRadius:fr},ei=ze!=null?ze:[-1,Un||(ze==="small"?6:8)],[Tr,ur]=St(ei,"line",{strokeWidth:Un}),U=Object.assign({width:`${le(rn)}%`,height:ur,borderRadius:fr},cn),mr=ce(et),Er={width:`${le(mr)}%`,height:ur,borderRadius:fr,backgroundColor:Ii==null?void 0:Ii.strokeColor},wr={width:Tr<0?"100%":Tr,height:ur};return v.createElement(v.Fragment,null,v.createElement("div",{className:`${zt}-outer`,style:wr},v.createElement("div",{className:`${zt}-inner`,style:Xi},v.createElement("div",{className:`${zt}-bg`,style:U}),mr!==void 0?v.createElement("div",{className:`${zt}-success-bg`,style:Er}):null)),Si)},k=et=>{const{size:zt,steps:dn,percent:rn=0,strokeWidth:ze=8,strokeColor:Un,trailColor:yn=null,prefixCls:Bt,children:Si}=et,_i=Math.round(dn*(rn/100)),Ii=zt==="small"?2:14,cn=zt!=null?zt:[Ii,ze],[fr,Xi]=St(cn,"step",{steps:dn,strokeWidth:ze}),ei=fr/dn,Tr=new Array(dn);for(let ur=0;ur{const zt=et?"100%":"-100%";return new j.Keyframes(`antProgress${et?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},$e=et=>{const{componentCls:zt,iconCls:dn}=et;return{[zt]:Object.assign(Object.assign({},(0,X.Wf)(et)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:et.fontSize,marginInlineEnd:et.marginXS,marginBottom:et.marginXS},[`${zt}-outer`]:{display:"inline-block",width:"100%"},[`&${zt}-show-info`]:{[`${zt}-outer`]:{marginInlineEnd:`calc(-2em - ${et.marginXS}px)`,paddingInlineEnd:`calc(2em + ${et.paddingXS}px)`}},[`${zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:et.remainingColor,borderRadius:et.lineBorderRadius},[`${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.defaultColor}},[`${zt}-success-bg, ${zt}-bg`]:{position:"relative",backgroundColor:et.defaultColor,borderRadius:et.lineBorderRadius,transition:`all ${et.motionDurationSlow} ${et.motionEaseInOutCirc}`},[`${zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:et.colorSuccess},[`${zt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:et.marginXS,color:et.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[dn]:{fontSize:et.fontSize}},[`&${zt}-status-active`]:{[`${zt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:et.colorBgContainer,borderRadius:et.lineBorderRadius,opacity:0,animationName:It(),animationDuration:et.progressActiveMotionDuration,animationTimingFunction:et.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${zt}-rtl${zt}-status-active`]:{[`${zt}-bg::before`]:{animationName:It(!0)}},[`&${zt}-status-exception`]:{[`${zt}-bg`]:{backgroundColor:et.colorError},[`${zt}-text`]:{color:et.colorError}},[`&${zt}-status-exception ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.colorError}},[`&${zt}-status-success`]:{[`${zt}-bg`]:{backgroundColor:et.colorSuccess},[`${zt}-text`]:{color:et.colorSuccess}},[`&${zt}-status-success ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:et.colorSuccess}}})}},De=et=>{const{componentCls:zt,iconCls:dn}=et;return{[zt]:{[`${zt}-circle-trail`]:{stroke:et.remainingColor},[`&${zt}-circle ${zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${zt}-circle ${zt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:et.circleTextColor,fontSize:et.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[dn]:{fontSize:`${et.fontSize/et.fontSizeSM}em`}},[`${zt}-circle&-status-exception`]:{[`${zt}-text`]:{color:et.colorError}},[`${zt}-circle&-status-success`]:{[`${zt}-text`]:{color:et.colorSuccess}}},[`${zt}-inline-circle`]:{lineHeight:1,[`${zt}-inner`]:{verticalAlign:"bottom"}}}},gt=et=>{const{componentCls:zt}=et;return{[zt]:{[`${zt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:et.progressStepMinWidth,marginInlineEnd:et.progressStepMarginInlineEnd,backgroundColor:et.remainingColor,transition:`all ${et.motionDurationSlow}`,"&-active":{backgroundColor:et.defaultColor}}}}}},ut=et=>{const{componentCls:zt,iconCls:dn}=et;return{[zt]:{[`${zt}-small&-line, ${zt}-small&-line ${zt}-text ${dn}`]:{fontSize:et.fontSizeSM}}}};var tt=(0,T.Z)("Progress",et=>{const zt=et.marginXXS/2,dn=(0,_e.TS)(et,{progressStepMarginInlineEnd:zt,progressStepMinWidth:zt,progressActiveMotionDuration:"2.4s"});return[$e(dn),De(dn),gt(dn),ut(dn)]},et=>({circleTextColor:et.colorText,defaultColor:et.colorInfo,remainingColor:et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Et=function(et,zt){var dn={};for(var rn in et)Object.prototype.hasOwnProperty.call(et,rn)&&zt.indexOf(rn)<0&&(dn[rn]=et[rn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,rn=Object.getOwnPropertySymbols(et);ze{const{prefixCls:dn,className:rn,rootClassName:ze,steps:Un,strokeColor:yn,percent:Bt=0,size:Si="default",showInfo:_i=!0,type:Ii="line",status:cn,format:fr,style:Xi}=et,ei=Et(et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Tr=v.useMemo(()=>{var ht,_n;const Vn=ce(et);return parseInt(Vn!==void 0?(ht=Vn!=null?Vn:0)===null||ht===void 0?void 0:ht.toString():(_n=Bt!=null?Bt:0)===null||_n===void 0?void 0:_n.toString(),10)},[Bt,et.success,et.successPercent]),ur=v.useMemo(()=>!nn.includes(cn)&&Tr>=100?"success":cn||"normal",[cn,Tr]),{getPrefixCls:U,direction:mr,progress:Er}=v.useContext(ae.E_),wr=U("progress",dn),[qr,xo]=tt(wr),kr=v.useMemo(()=>{if(!_i)return null;const ht=ce(et);let _n;const Vn=fr||(Ke=>`${Ke}%`),pt=Ii==="line";return fr||ur!=="exception"&&ur!=="success"?_n=Vn(le(Bt),le(ht)):ur==="exception"?_n=pt?v.createElement(B.Z,null):v.createElement(G.Z,null):ur==="success"&&(_n=pt?v.createElement(I.Z,null):v.createElement(O.Z,null)),v.createElement("span",{className:`${wr}-text`,title:typeof _n=="string"?_n:void 0},_n)},[_i,Bt,Tr,ur,Ii,wr,fr]),no=Array.isArray(yn)?yn[0]:yn,rr=typeof yn=="string"||Array.isArray(yn)?yn:void 0;let Bi;Ii==="line"?Bi=Un?v.createElement(k,Object.assign({},et,{strokeColor:rr,prefixCls:wr,steps:Un}),kr):v.createElement(ie,Object.assign({},et,{strokeColor:no,prefixCls:wr,direction:mr}),kr):(Ii==="circle"||Ii==="dashboard")&&(Bi=v.createElement(On,Object.assign({},et,{strokeColor:no,prefixCls:wr,progressStatus:ur}),kr));const yi=M()(wr,`${wr}-status-${ur}`,`${wr}-${Ii==="dashboard"&&"circle"||Un&&"steps"||Ii}`,{[`${wr}-inline-circle`]:Ii==="circle"&&St(Si,"circle")[0]<=20,[`${wr}-show-info`]:_i,[`${wr}-${Si}`]:typeof Si=="string",[`${wr}-rtl`]:mr==="rtl"},Er==null?void 0:Er.className,rn,ze,xo);return qr(v.createElement("div",Object.assign({ref:zt,style:Object.assign(Object.assign({},Er==null?void 0:Er.style),Xi),className:yi,role:"progressbar","aria-valuenow":Tr},(0,de.Z)(ei,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Bi))}),an=hn},57809:function(Q,C,h){"use strict";var v=h(92310),I=h.n(v),O=h(77861),B=h(2738),G=h(59301),F=h(53487),M=h(62892),de=h(19080),ae=h(36355),te=h(1684),Me=h(93891),we=h(19716),Xe=h(32441),Oe=h(33234),Ce=h(14154),Ae=h(58582),Pe=h(84443),fe=h(66339),pe=function(Ne,Ie){var Le={};for(var Je in Ne)Object.prototype.hasOwnProperty.call(Ne,Je)&&Ie.indexOf(Je)<0&&(Le[Je]=Ne[Je]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Je=Object.getOwnPropertySymbols(Ne);Ye{var Le,{prefixCls:Je,bordered:Ye=!0,className:re,rootClassName:lt,getPopupContainer:We,popupClassName:Pt,dropdownClassName:xt,listHeight:kt=256,placement:Ct,listItemHeight:Cn=24,size:Qe,disabled:le,notFoundContent:ce,status:Ht,builtinPlacements:Vt,dropdownMatchSelectWidth:St,popupMatchSelectWidth:sn,direction:Ft,style:oi,allowClear:On}=Ne,ni=pe(Ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Jn,getPrefixCls:Mn,renderEmpty:In,direction:ie,virtual:z,popupMatchSelectWidth:k,popupOverflow:j,select:X}=G.useContext(ae.E_),T=Mn("select",Je),_e=Mn(),It=Ft!=null?Ft:ie,{compactSize:$e,compactItemClassnames:De}=(0,Oe.ri)(T,It),[gt,ut]=(0,Ce.Z)(T),tt=G.useMemo(()=>{const{mode:ur}=ni;if(ur!=="combobox")return ur===xe?"combobox":ur},[ni.mode]),Et=tt==="multiple"||tt==="tags",pn=(0,Pe.Z)(ni.suffixIcon,ni.showArrow),nn=(Le=sn!=null?sn:St)!==null&&Le!==void 0?Le:k,{status:Kt,hasFeedback:hn,isFormItemInput:an,feedbackIcon:et}=G.useContext(Xe.aM),zt=(0,de.F)(Kt,Ht);let dn;ce!==void 0?dn=ce:tt==="combobox"?dn=null:dn=(In==null?void 0:In("Select"))||G.createElement(Me.Z,{componentName:"Select"});const{suffixIcon:rn,itemIcon:ze,removeIcon:Un,clearIcon:yn}=(0,fe.Z)(Object.assign(Object.assign({},ni),{multiple:Et,hasFeedback:hn,feedbackIcon:et,showSuffixIcon:pn,prefixCls:T,showArrow:ni.showArrow,componentName:"Select"})),Bt=On===!0?{clearIcon:yn}:On,Si=(0,B.Z)(ni,["suffixIcon","itemIcon"]),_i=I()(Pt||xt,{[`${T}-dropdown-${It}`]:It==="rtl"},lt,ut),Ii=(0,we.Z)(ur=>{var U;return(U=Qe!=null?Qe:$e)!==null&&U!==void 0?U:ur}),cn=G.useContext(te.Z),fr=le!=null?le:cn,Xi=I()({[`${T}-lg`]:Ii==="large",[`${T}-sm`]:Ii==="small",[`${T}-rtl`]:It==="rtl",[`${T}-borderless`]:!Ye,[`${T}-in-form-item`]:an},(0,de.Z)(T,zt,hn),De,X==null?void 0:X.className,re,lt,ut),ei=G.useMemo(()=>Ct!==void 0?Ct:It==="rtl"?"bottomRight":"bottomLeft",[Ct,It]),Tr=(0,Ae.Z)(Vt,j);return gt(G.createElement(O.ZP,Object.assign({ref:Ie,virtual:z,showSearch:X==null?void 0:X.showSearch},Si,{style:Object.assign(Object.assign({},X==null?void 0:X.style),oi),dropdownMatchSelectWidth:nn,builtinPlacements:Tr,transitionName:(0,M.m)(_e,"slide-up",ni.transitionName),listHeight:kt,listItemHeight:Cn,mode:tt,prefixCls:T,placement:ei,direction:It,suffixIcon:rn,menuItemSelectedIcon:ze,removeIcon:Un,allowClear:Bt,notFoundContent:dn,className:Xi,getPopupContainer:We||Jn,dropdownClassName:_i,disabled:fr})))},ke=G.forwardRef(me),ee=(0,F.Z)(ke);ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=xe,ke.Option=O.Wx,ke.OptGroup=O.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=ee,C.default=ke},14154:function(Q,C,h){"use strict";h.d(C,{Z:function(){return ke}});var v=h(17313),I=h(74207),O=h(37613),B=h(83116),G=h(13826),F=h(92899);const M=ee=>{const{optionHeight:Ne,optionFontSize:Ie,optionLineHeight:Le,optionPadding:Je}=ee;return{position:"relative",display:"block",minHeight:Ne,padding:Je,color:ee.colorText,fontWeight:"normal",fontSize:Ie,lineHeight:Le,boxSizing:"border-box"}};var ae=ee=>{const{antCls:Ne,componentCls:Ie}=ee,Le=`${Ie}-item`,Je=`&${Ne}-slide-up-enter${Ne}-slide-up-enter-active`,Ye=`&${Ne}-slide-up-appear${Ne}-slide-up-appear-active`,re=`&${Ne}-slide-up-leave${Ne}-slide-up-leave-active`,lt=`${Ie}-dropdown-placement-`;return[{[`${Ie}-dropdown`]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{position:"absolute",top:-9999,zIndex:ee.zIndexPopup,boxSizing:"border-box",padding:ee.paddingXXS,overflow:"hidden",fontSize:ee.fontSize,fontVariant:"initial",backgroundColor:ee.colorBgElevated,borderRadius:ee.borderRadiusLG,outline:"none",boxShadow:ee.boxShadowSecondary,[` + ${Je}${lt}bottomLeft, ${Ye}${lt}bottomLeft `]:{animationName:G.fJ},[` - ${Xe}${lt}topLeft, + ${Je}${lt}topLeft, ${Ye}${lt}topLeft, - ${Xe}${lt}topRight, + ${Je}${lt}topRight, ${Ye}${lt}topRight - `]:{animationName:G.Qt},[`${ie}${lt}bottomLeft`]:{animationName:G.Uw},[` - ${ie}${lt}topLeft, - ${ie}${lt}topRight - `]:{animationName:G.ly},"&-hidden":{display:"none"},[`${Fe}`]:Object.assign(Object.assign({},M(ee)),{cursor:"pointer",transition:`background ${ee.motionDurationSlow} ease`,borderRadius:ee.borderRadiusSM,"&-group":{color:ee.colorTextDescription,fontSize:ee.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},v.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Fe}-option-disabled)`]:{backgroundColor:ee.optionActiveBg},[`&-selected:not(${Fe}-option-disabled)`]:{color:ee.optionSelectedColor,fontWeight:ee.optionSelectedFontWeight,backgroundColor:ee.optionSelectedBg,[`${Fe}-option-state`]:{color:ee.colorPrimary}},"&-disabled":{[`&${Fe}-option-selected`]:{backgroundColor:ee.colorBgContainerDisabled},color:ee.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ee.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,G.oN)(ee,"slide-up"),(0,G.oN)(ee,"slide-down"),(0,P.Fm)(ee,"move-up"),(0,P.Fm)(ee,"move-down")]};const te=2,Me=ee=>{let{controlHeightSM:Ne,controlHeight:Ie,lineWidth:Fe}=ee;const Xe=(Ie-Ne)/2-Fe,Ye=Math.ceil(Xe/2);return[Xe,Ye]};function we(ee,Ne){const{componentCls:Ie,iconCls:Fe}=ee,Xe=`${Ie}-selection-overflow`,Ye=ee.multipleSelectItemHeight,[ie]=Me(ee),lt=Ne?`${Ie}-${Ne}`:"";return{[`${Ie}-multiple${lt}`]:{fontSize:ee.fontSize,[Xe]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Ie}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${ie-te}px ${te*2}px`,borderRadius:ee.borderRadius,[`${Ie}-show-search&`]:{cursor:"text"},[`${Ie}-disabled&`]:{background:ee.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${te}px 0`,lineHeight:`${Ye}px`,visibility:"hidden",content:'"\\a0"'}},[` + `]:{animationName:G.Qt},[`${re}${lt}bottomLeft`]:{animationName:G.Uw},[` + ${re}${lt}topLeft, + ${re}${lt}topRight + `]:{animationName:G.ly},"&-hidden":{display:"none"},[`${Le}`]:Object.assign(Object.assign({},M(ee)),{cursor:"pointer",transition:`background ${ee.motionDurationSlow} ease`,borderRadius:ee.borderRadiusSM,"&-group":{color:ee.colorTextDescription,fontSize:ee.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},v.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Le}-option-disabled)`]:{backgroundColor:ee.optionActiveBg},[`&-selected:not(${Le}-option-disabled)`]:{color:ee.optionSelectedColor,fontWeight:ee.optionSelectedFontWeight,backgroundColor:ee.optionSelectedBg,[`${Le}-option-state`]:{color:ee.colorPrimary}},"&-disabled":{[`&${Le}-option-selected`]:{backgroundColor:ee.colorBgContainerDisabled},color:ee.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ee.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,G.oN)(ee,"slide-up"),(0,G.oN)(ee,"slide-down"),(0,F.Fm)(ee,"move-up"),(0,F.Fm)(ee,"move-down")]};const te=2,Me=ee=>{let{controlHeightSM:Ne,controlHeight:Ie,lineWidth:Le}=ee;const Je=(Ie-Ne)/2-Le,Ye=Math.ceil(Je/2);return[Je,Ye]};function we(ee,Ne){const{componentCls:Ie,iconCls:Le}=ee,Je=`${Ie}-selection-overflow`,Ye=ee.multipleSelectItemHeight,[re]=Me(ee),lt=Ne?`${Ie}-${Ne}`:"";return{[`${Ie}-multiple${lt}`]:{fontSize:ee.fontSize,[Je]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Ie}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${re-te}px ${te*2}px`,borderRadius:ee.borderRadius,[`${Ie}-show-search&`]:{cursor:"text"},[`${Ie}-disabled&`]:{background:ee.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${te}px 0`,lineHeight:`${Ye}px`,visibility:"hidden",content:'"\\a0"'}},[` &${Ie}-show-arrow ${Ie}-selector, &${Ie}-allow-clear ${Ie}-selector - `]:{paddingInlineEnd:ee.fontSizeIcon+ee.controlPaddingHorizontal},[`${Ie}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ye,marginTop:te,marginBottom:te,lineHeight:`${Ye-ee.lineWidth*2}px`,background:ee.multipleItemBg,border:`${ee.lineWidth}px ${ee.lineType} ${ee.multipleItemBorderColor}`,borderRadius:ee.borderRadiusSM,cursor:"default",transition:`font-size ${ee.motionDurationSlow}, line-height ${ee.motionDurationSlow}, height ${ee.motionDurationSlow}`,userSelect:"none",marginInlineEnd:te*2,paddingInlineStart:ee.paddingXS,paddingInlineEnd:ee.paddingXS/2,[`${Ie}-disabled&`]:{color:ee.multipleItemColorDisabled,borderColor:ee.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ee.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,v.Ro)()),{display:"inline-flex",alignItems:"center",color:ee.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Fe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ee.colorIconHover}})},[`${Xe}-item + ${Xe}-item`]:{[`${Ie}-selection-search`]:{marginInlineStart:0}},[`${Ie}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ee.inputPaddingHorizontalBase-ie,"\n &-input,\n &-mirror\n ":{height:Ye,fontFamily:ee.fontFamily,lineHeight:`${Ye}px`,transition:`all ${ee.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ie}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:ee.inputPaddingHorizontalBase,insetInlineEnd:ee.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ee.motionDurationSlow}`}}}}var Oe=ee=>{const{componentCls:Ne}=ee,Ie=(0,O.TS)(ee,{controlHeight:ee.controlHeightSM,multipleSelectItemHeight:ee.controlHeightXS,borderRadius:ee.borderRadiusSM,borderRadiusSM:ee.borderRadiusXS}),Fe=(0,O.TS)(ee,{fontSize:ee.fontSizeLG,controlHeight:ee.controlHeightLG,multipleSelectItemHeight:ee.multipleItemHeightLG,borderRadius:ee.borderRadiusLG,borderRadiusSM:ee.borderRadius}),[,Xe]=Me(ee);return[we(ee),we(Ie,"sm"),{[`${Ne}-multiple${Ne}-sm`]:{[`${Ne}-selection-placeholder`]:{insetInline:ee.controlPaddingHorizontalSM-ee.lineWidth},[`${Ne}-selection-search`]:{marginInlineStart:Xe}}},we(Fe,"lg")]};function Te(ee,Ne){const{componentCls:Ie,inputPaddingHorizontalBase:Fe,borderRadius:Xe}=ee,Ye=ee.controlHeight-ee.lineWidth*2,ie=Math.ceil(ee.fontSize*1.25),lt=Ne?`${Ie}-${Ne}`:"";return{[`${Ie}-single${lt}`]:{fontSize:ee.fontSize,[`${Ie}-selector`]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{display:"flex",borderRadius:Xe,[`${Ie}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Fe,insetInlineEnd:Fe,bottom:0,"&-input":{width:"100%"}},[` + `]:{paddingInlineEnd:ee.fontSizeIcon+ee.controlPaddingHorizontal},[`${Ie}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ye,marginTop:te,marginBottom:te,lineHeight:`${Ye-ee.lineWidth*2}px`,background:ee.multipleItemBg,border:`${ee.lineWidth}px ${ee.lineType} ${ee.multipleItemBorderColor}`,borderRadius:ee.borderRadiusSM,cursor:"default",transition:`font-size ${ee.motionDurationSlow}, line-height ${ee.motionDurationSlow}, height ${ee.motionDurationSlow}`,userSelect:"none",marginInlineEnd:te*2,paddingInlineStart:ee.paddingXS,paddingInlineEnd:ee.paddingXS/2,[`${Ie}-disabled&`]:{color:ee.multipleItemColorDisabled,borderColor:ee.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ee.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,v.Ro)()),{display:"inline-flex",alignItems:"center",color:ee.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Le}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ee.colorIconHover}})},[`${Je}-item + ${Je}-item`]:{[`${Ie}-selection-search`]:{marginInlineStart:0}},[`${Ie}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ee.inputPaddingHorizontalBase-re,"\n &-input,\n &-mirror\n ":{height:Ye,fontFamily:ee.fontFamily,lineHeight:`${Ye}px`,transition:`all ${ee.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ie}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:ee.inputPaddingHorizontalBase,insetInlineEnd:ee.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ee.motionDurationSlow}`}}}}var Oe=ee=>{const{componentCls:Ne}=ee,Ie=(0,O.TS)(ee,{controlHeight:ee.controlHeightSM,multipleSelectItemHeight:ee.controlHeightXS,borderRadius:ee.borderRadiusSM,borderRadiusSM:ee.borderRadiusXS}),Le=(0,O.TS)(ee,{fontSize:ee.fontSizeLG,controlHeight:ee.controlHeightLG,multipleSelectItemHeight:ee.multipleItemHeightLG,borderRadius:ee.borderRadiusLG,borderRadiusSM:ee.borderRadius}),[,Je]=Me(ee);return[we(ee),we(Ie,"sm"),{[`${Ne}-multiple${Ne}-sm`]:{[`${Ne}-selection-placeholder`]:{insetInline:ee.controlPaddingHorizontalSM-ee.lineWidth},[`${Ne}-selection-search`]:{marginInlineStart:Je}}},we(Le,"lg")]};function Ce(ee,Ne){const{componentCls:Ie,inputPaddingHorizontalBase:Le,borderRadius:Je}=ee,Ye=ee.controlHeight-ee.lineWidth*2,re=Math.ceil(ee.fontSize*1.25),lt=Ne?`${Ie}-${Ne}`:"";return{[`${Ie}-single${lt}`]:{fontSize:ee.fontSize,[`${Ie}-selector`]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{display:"flex",borderRadius:Je,[`${Ie}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Le,insetInlineEnd:Le,bottom:0,"&-input":{width:"100%"}},[` ${Ie}-selection-item, ${Ie}-selection-placeholder `]:{padding:0,lineHeight:`${Ye}px`,transition:`all ${ee.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ye}px`}},[`${Ie}-selection-item`]:{position:"relative",userSelect:"none"},[`${Ie}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ie}-selection-item:after`,`${Ie}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${Ie}-show-arrow ${Ie}-selection-item, &${Ie}-show-arrow ${Ie}-selection-placeholder - `]:{paddingInlineEnd:ie},[`&${Ie}-open ${Ie}-selection-item`]:{color:ee.colorTextPlaceholder},[`&:not(${Ie}-customize-input)`]:{[`${Ie}-selector`]:{width:"100%",height:ee.controlHeight,padding:`0 ${Fe}px`,[`${Ie}-selection-search-input`]:{height:Ye},"&:after":{lineHeight:`${Ye}px`}}},[`&${Ie}-customize-input`]:{[`${Ie}-selector`]:{"&:after":{display:"none"},[`${Ie}-selection-search`]:{position:"static",width:"100%"},[`${Ie}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Fe}px`,"&:after":{display:"none"}}}}}}}function Ae(ee){const{componentCls:Ne}=ee,Ie=ee.controlPaddingHorizontalSM-ee.lineWidth;return[Te(ee),Te((0,O.TS)(ee,{controlHeight:ee.controlHeightSM,borderRadius:ee.borderRadiusSM}),"sm"),{[`${Ne}-single${Ne}-sm`]:{[`&:not(${Ne}-customize-input)`]:{[`${Ne}-selection-search`]:{insetInlineStart:Ie,insetInlineEnd:Ie},[`${Ne}-selector`]:{padding:`0 ${Ie}px`},[`&${Ne}-show-arrow ${Ne}-selection-search`]:{insetInlineEnd:Ie+ee.fontSize*1.5},[` + `]:{paddingInlineEnd:re},[`&${Ie}-open ${Ie}-selection-item`]:{color:ee.colorTextPlaceholder},[`&:not(${Ie}-customize-input)`]:{[`${Ie}-selector`]:{width:"100%",height:ee.controlHeight,padding:`0 ${Le}px`,[`${Ie}-selection-search-input`]:{height:Ye},"&:after":{lineHeight:`${Ye}px`}}},[`&${Ie}-customize-input`]:{[`${Ie}-selector`]:{"&:after":{display:"none"},[`${Ie}-selection-search`]:{position:"static",width:"100%"},[`${Ie}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Le}px`,"&:after":{display:"none"}}}}}}}function Ae(ee){const{componentCls:Ne}=ee,Ie=ee.controlPaddingHorizontalSM-ee.lineWidth;return[Ce(ee),Ce((0,O.TS)(ee,{controlHeight:ee.controlHeightSM,borderRadius:ee.borderRadiusSM}),"sm"),{[`${Ne}-single${Ne}-sm`]:{[`&:not(${Ne}-customize-input)`]:{[`${Ne}-selection-search`]:{insetInlineStart:Ie,insetInlineEnd:Ie},[`${Ne}-selector`]:{padding:`0 ${Ie}px`},[`&${Ne}-show-arrow ${Ne}-selection-search`]:{insetInlineEnd:Ie+ee.fontSize*1.5},[` &${Ne}-show-arrow ${Ne}-selection-item, &${Ne}-show-arrow ${Ne}-selection-placeholder - `]:{paddingInlineEnd:ee.fontSize*1.5}}}},Te((0,O.TS)(ee,{controlHeight:ee.singleItemHeightLG,fontSize:ee.fontSizeLG,borderRadius:ee.borderRadiusLG}),"lg")]}const Re=ee=>{const{componentCls:Ne,selectorBg:Ie}=ee;return{position:"relative",backgroundColor:Ie,border:`${ee.lineWidth}px ${ee.lineType} ${ee.colorBorder}`,transition:`all ${ee.motionDurationMid} ${ee.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ne}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Ne}-disabled&`]:{color:ee.colorTextDisabled,background:ee.colorBgContainerDisabled,cursor:"not-allowed",[`${Ne}-multiple&`]:{background:ee.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},fe=function(ee,Ne){let Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Fe,borderHoverColor:Xe,outlineColor:Ye,antCls:ie}=Ne,lt=Ie?{[`${Fe}-selector`]:{borderColor:Xe}}:{};return{[ee]:{[`&:not(${Fe}-disabled):not(${Fe}-customize-input):not(${ie}-pagination-size-changer)`]:Object.assign(Object.assign({},lt),{[`${Fe}-focused& ${Fe}-selector`]:{borderColor:Xe,boxShadow:`0 0 0 ${Ne.controlOutlineWidth}px ${Ye}`,outline:0},[`&:hover ${Fe}-selector`]:{borderColor:Xe}})}}},me=ee=>{const{componentCls:Ne}=ee;return{[`${Ne}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},xe=ee=>{const{componentCls:Ne,inputPaddingHorizontalBase:Ie,iconCls:Fe}=ee;return{[Ne]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Ne}-customize-input) ${Ne}-selector`]:Object.assign(Object.assign({},Re(ee)),me(ee)),[`${Ne}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},v.vS),[`${Ne}-selection-placeholder`]:Object.assign(Object.assign({},v.vS),{flex:1,color:ee.colorTextPlaceholder,pointerEvents:"none"}),[`${Ne}-arrow`]:Object.assign(Object.assign({},(0,v.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ie,height:ee.fontSizeIcon,marginTop:-ee.fontSizeIcon/2,color:ee.colorTextQuaternary,fontSize:ee.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Fe]:{verticalAlign:"top",transition:`transform ${ee.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ne}-suffix)`]:{pointerEvents:"auto"}},[`${Ne}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ne}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ie,zIndex:1,display:"inline-block",width:ee.fontSizeIcon,height:ee.fontSizeIcon,marginTop:-ee.fontSizeIcon/2,color:ee.colorTextQuaternary,fontSize:ee.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:ee.clearBg,cursor:"pointer",opacity:0,transition:`color ${ee.motionDurationMid} ease, opacity ${ee.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ee.colorTextTertiary}},"&:hover":{[`${Ne}-clear`]:{opacity:1}}}),[`${Ne}-has-feedback`]:{[`${Ne}-clear`]:{insetInlineEnd:Ie+ee.fontSize+ee.paddingXS}}}},ge=ee=>{const{componentCls:Ne}=ee;return[{[Ne]:{[`&-borderless ${Ne}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Ne}-in-form-item`]:{width:"100%"}}},xe(ee),Ae(ee),Oe(ee),ce(ee),{[`${Ne}-rtl`]:{direction:"rtl"}},fe(Ne,(0,O.TS)(ee,{borderHoverColor:ee.colorPrimaryHover,outlineColor:ee.controlOutline})),fe(`${Ne}-status-error`,(0,O.TS)(ee,{borderHoverColor:ee.colorErrorHover,outlineColor:ee.colorErrorOutline}),!0),fe(`${Ne}-status-warning`,(0,O.TS)(ee,{borderHoverColor:ee.colorWarningHover,outlineColor:ee.colorWarningOutline}),!0),(0,I.c)(ee,{borderElCls:`${Ne}-selector`,focusElCls:`${Ne}-focused`})]};var ke=(0,F.Z)("Select",(ee,Ne)=>{let{rootPrefixCls:Ie}=Ne;const Fe=(0,O.TS)(ee,{rootPrefixCls:Ie,inputPaddingHorizontalBase:ee.paddingSM-1,multipleSelectItemHeight:ee.multipleItemHeight});return[ge(Fe)]},ee=>{const{fontSize:Ne,lineHeight:Ie,controlHeight:Fe,controlPaddingHorizontal:Xe,zIndexPopupBase:Ye,colorText:ie,fontWeightStrong:lt,controlItemBgActive:We,controlItemBgHover:Pt,colorBgContainer:xt,colorFillSecondary:kt,controlHeightLG:wt,controlHeightSM:En,colorBgContainerDisabled:Je,colorTextDisabled:se}=ee;return{zIndexPopup:Ye+50,optionSelectedColor:ie,optionSelectedFontWeight:lt,optionSelectedBg:We,optionActiveBg:Pt,optionPadding:`${(Fe-Ne*Ie)/2}px ${Xe}px`,optionFontSize:Ne,optionLineHeight:Ie,optionHeight:Fe,selectorBg:xt,clearBg:xt,singleItemHeightLG:wt,multipleItemBg:kt,multipleItemBorderColor:"transparent",multipleItemHeight:En,multipleItemHeightLG:Fe,multipleSelectorBgDisabled:Je,multipleItemColorDisabled:se,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});const v=O=>{const G={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:O==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},G),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},G),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},G),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},G),{points:["br","tr"],offset:[0,-4]})}};function I(O,F){return O||v(F)}},84443:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});function v(I,O){return O!==void 0?O:I!==null}},66339:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(40001),I=h(19248),O=h(99267),F=h(84105),G=h(58617),P=h(47472),M=h(59301);function de(ce){let{suffixIcon:te,clearIcon:Me,menuItemSelectedIcon:we,removeIcon:Qe,loading:Oe,multiple:Te,hasFeedback:Ae,prefixCls:Re,showSuffixIcon:fe,feedbackIcon:me,showArrow:xe,componentName:ge}=ce;const ke=Me!=null?Me:M.createElement(I.Z,null),ee=Xe=>te===null&&!Ae&&!xe?null:M.createElement(M.Fragment,null,fe!==!1&&Xe,Ae&&me);let Ne=null;if(te!==void 0)Ne=ee(te);else if(Oe)Ne=ee(M.createElement(G.Z,{spin:!0}));else{const Xe=`${Re}-suffix`;Ne=Ye=>{let{open:ie,showSearch:lt}=Ye;return ee(ie&<?M.createElement(P.Z,{className:Xe}):M.createElement(F.Z,{className:Xe}))}}let Ie=null;we!==void 0?Ie=we:Te?Ie=M.createElement(v.Z,null):Ie=null;let Fe=null;return Qe!==void 0?Fe=Qe:Fe=M.createElement(O.Z,null),{clearIcon:ke,suffixIcon:Ne,itemIcon:Ie,removeIcon:Fe}}},81327:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Re}});var v=h(59301),I=h(92310),O=h.n(I),F=h(11592),G=h(36355),P=h(33234);const M=v.createContext({latestIndex:0}),de=M.Provider;var te=fe=>{let{className:me,index:xe,children:ge,split:ke,style:ee}=fe;const{latestIndex:Ne}=v.useContext(M);return ge==null?null:v.createElement(v.Fragment,null,v.createElement("div",{className:me,style:ee},ge),xe{var xe,ge;const{getPrefixCls:ke,space:ee,direction:Ne}=v.useContext(G.E_),{size:Ie=(ee==null?void 0:ee.size)||"small",align:Fe,className:Xe,rootClassName:Ye,children:ie,direction:lt="horizontal",prefixCls:We,split:Pt,style:xt,wrap:kt=!1,classNames:wt,styles:En}=fe,Je=Oe(fe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[se,ue]=Array.isArray(Ie)?Ie:[Ie,Ie],Ht=we(ue),Vt=we(se),St=Qe(ue),an=Qe(se),Ft=(0,F.Z)(ie,{keepEmpty:!0}),ai=Fe===void 0&<==="horizontal"?"center":Fe,Ln=ke("space",We),[ni,Jn]=(0,Me.Z)(Ln),In=O()(Ln,ee==null?void 0:ee.className,Jn,`${Ln}-${lt}`,{[`${Ln}-rtl`]:Ne==="rtl",[`${Ln}-align-${ai}`]:ai,[`${Ln}-gap-row-${ue}`]:Ht,[`${Ln}-gap-col-${se}`]:Vt},Xe,Ye),Mn=O()(`${Ln}-item`,(xe=wt==null?void 0:wt.item)!==null&&xe!==void 0?xe:(ge=ee==null?void 0:ee.classNames)===null||ge===void 0?void 0:ge.item);let re=0;const z=Ft.map((X,N)=>{var _e,Nt;X!=null&&(re=N);const He=X&&X.key||`${Mn}-${N}`;return v.createElement(te,{className:Mn,key:He,index:N,split:Pt,style:(_e=En==null?void 0:En.item)!==null&&_e!==void 0?_e:(Nt=ee==null?void 0:ee.styles)===null||Nt===void 0?void 0:Nt.item},X)}),k=v.useMemo(()=>({latestIndex:re}),[re]);if(Ft.length===0)return null;const j={};return kt&&(j.flexWrap="wrap"),!Vt&&an&&(j.columnGap=se),!Ht&&St&&(j.rowGap=ue),ni(v.createElement("div",Object.assign({ref:me,className:In,style:Object.assign(Object.assign(Object.assign({},j),ee==null?void 0:ee.style),xt)},Je),v.createElement(de,{value:k},z)))});Ae.Compact=P.ZP;var Re=Ae},15969:function(Q,C,h){"use strict";h.d(C,{N:function(){return v}});const v=I=>({color:I.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${I.motionDurationSlow}`,"&:focus, &:hover":{color:I.colorLinkHover},"&:active":{color:I.colorLinkActive}})},78673:function(Q,C,h){"use strict";h.d(C,{Z:function(){return lt}});var v=h(58617),I=h(92310),O=h.n(I),F=h(92413),G=h(400),P=h(33606),M=h(37061),de=h(59301),ce=h(18929),te=h(10228),Me=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],we=de.forwardRef(function(We,Pt){var xt,kt=We.prefixCls,wt=kt===void 0?"rc-switch":kt,En=We.className,Je=We.checked,se=We.defaultChecked,ue=We.disabled,Ht=We.loadingIcon,Vt=We.checkedChildren,St=We.unCheckedChildren,an=We.onClick,Ft=We.onChange,ai=We.onKeyDown,Ln=(0,M.Z)(We,Me),ni=(0,ce.Z)(!1,{value:Je,defaultValue:se}),Jn=(0,P.Z)(ni,2),In=Jn[0],Mn=Jn[1];function re(X,N){var _e=In;return ue||(_e=X,Mn(_e),Ft==null||Ft(_e,N)),_e}function z(X){X.which===te.Z.LEFT?re(!1,X):X.which===te.Z.RIGHT&&re(!0,X),ai==null||ai(X)}function k(X){var N=re(!In,X);an==null||an(N,X)}var j=O()(wt,En,(xt={},(0,G.Z)(xt,"".concat(wt,"-checked"),In),(0,G.Z)(xt,"".concat(wt,"-disabled"),ue),xt));return de.createElement("button",(0,F.Z)({},Ln,{type:"button",role:"switch","aria-checked":In,disabled:ue,className:j,ref:Pt,onKeyDown:z,onClick:k}),Ht,de.createElement("span",{className:"".concat(wt,"-inner")},de.createElement("span",{className:"".concat(wt,"-inner-checked")},Vt),de.createElement("span",{className:"".concat(wt,"-inner-unchecked")},St)))});we.displayName="Switch";var Qe=we,Oe=h(14088),Te=h(36355),Ae=h(1684),Re=h(19716),fe=h(64993),me=h(17313),xe=h(83116),ge=h(37613);const ke=We=>{const{componentCls:Pt,trackHeightSM:xt,trackPadding:kt,trackMinWidthSM:wt,innerMinMarginSM:En,innerMaxMarginSM:Je,handleSizeSM:se}=We,ue=`${Pt}-inner`;return{[Pt]:{[`&${Pt}-small`]:{minWidth:wt,height:xt,lineHeight:`${xt}px`,[`${Pt}-inner`]:{paddingInlineStart:Je,paddingInlineEnd:En,[`${ue}-checked`]:{marginInlineStart:`calc(-100% + ${se+kt*2}px - ${Je*2}px)`,marginInlineEnd:`calc(100% - ${se+kt*2}px + ${Je*2}px)`},[`${ue}-unchecked`]:{marginTop:-xt,marginInlineStart:0,marginInlineEnd:0}},[`${Pt}-handle`]:{width:se,height:se},[`${Pt}-loading-icon`]:{top:(se-We.switchLoadingIconSize)/2,fontSize:We.switchLoadingIconSize},[`&${Pt}-checked`]:{[`${Pt}-inner`]:{paddingInlineStart:En,paddingInlineEnd:Je,[`${ue}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ue}-unchecked`]:{marginInlineStart:`calc(100% - ${se+kt*2}px + ${Je*2}px)`,marginInlineEnd:`calc(-100% + ${se+kt*2}px - ${Je*2}px)`}},[`${Pt}-handle`]:{insetInlineStart:`calc(100% - ${se+kt}px)`}},[`&:not(${Pt}-disabled):active`]:{[`&:not(${Pt}-checked) ${ue}`]:{[`${ue}-unchecked`]:{marginInlineStart:We.marginXXS/2,marginInlineEnd:-We.marginXXS/2}},[`&${Pt}-checked ${ue}`]:{[`${ue}-checked`]:{marginInlineStart:-We.marginXXS/2,marginInlineEnd:We.marginXXS/2}}}}}}},ee=We=>{const{componentCls:Pt,handleSize:xt}=We;return{[Pt]:{[`${Pt}-loading-icon${We.iconCls}`]:{position:"relative",top:(xt-We.fontSize)/2,color:We.switchLoadingIconColor,verticalAlign:"top"},[`&${Pt}-checked ${Pt}-loading-icon`]:{color:We.switchColor}}}},Ne=We=>{const{componentCls:Pt,motion:xt,trackPadding:kt,handleBg:wt,handleShadow:En,handleSize:Je}=We,se=`${Pt}-handle`;return{[Pt]:{[se]:{position:"absolute",top:kt,insetInlineStart:kt,width:Je,height:Je,transition:`all ${We.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:wt,borderRadius:Je/2,boxShadow:En,transition:`all ${We.switchDuration} ease-in-out`,content:'""'}},[`&${Pt}-checked ${se}`]:{insetInlineStart:`calc(100% - ${Je+kt}px)`},[`&:not(${Pt}-disabled):active`]:xt?{[`${se}::before`]:{insetInlineEnd:We.switchHandleActiveInset,insetInlineStart:0},[`&${Pt}-checked ${se}::before`]:{insetInlineEnd:0,insetInlineStart:We.switchHandleActiveInset}}:{}}}},Ie=We=>{const{componentCls:Pt,trackHeight:xt,trackPadding:kt,innerMinMargin:wt,innerMaxMargin:En,handleSize:Je}=We,se=`${Pt}-inner`;return{[Pt]:{[se]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:En,paddingInlineEnd:wt,transition:`padding-inline-start ${We.switchDuration} ease-in-out, padding-inline-end ${We.switchDuration} ease-in-out`,[`${se}-checked, ${se}-unchecked`]:{display:"block",color:We.colorTextLightSolid,fontSize:We.fontSizeSM,transition:`margin-inline-start ${We.switchDuration} ease-in-out, margin-inline-end ${We.switchDuration} ease-in-out`,pointerEvents:"none"},[`${se}-checked`]:{marginInlineStart:`calc(-100% + ${Je+kt*2}px - ${En*2}px)`,marginInlineEnd:`calc(100% - ${Je+kt*2}px + ${En*2}px)`},[`${se}-unchecked`]:{marginTop:-xt,marginInlineStart:0,marginInlineEnd:0}},[`&${Pt}-checked ${se}`]:{paddingInlineStart:wt,paddingInlineEnd:En,[`${se}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${se}-unchecked`]:{marginInlineStart:`calc(100% - ${Je+kt*2}px + ${En*2}px)`,marginInlineEnd:`calc(-100% + ${Je+kt*2}px - ${En*2}px)`}},[`&:not(${Pt}-disabled):active`]:{[`&:not(${Pt}-checked) ${se}`]:{[`${se}-unchecked`]:{marginInlineStart:kt*2,marginInlineEnd:-kt*2}},[`&${Pt}-checked ${se}`]:{[`${se}-checked`]:{marginInlineStart:-kt*2,marginInlineEnd:kt*2}}}}}},Fe=We=>{const{componentCls:Pt,trackHeight:xt,trackMinWidth:kt}=We;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(We)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:kt,height:xt,lineHeight:`${xt}px`,verticalAlign:"middle",background:We.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${We.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Pt}-disabled)`]:{background:We.colorTextTertiary}}),(0,me.Qy)(We)),{[`&${Pt}-checked`]:{background:We.switchColor,[`&:hover:not(${Pt}-disabled)`]:{background:We.colorPrimaryHover}},[`&${Pt}-loading, &${Pt}-disabled`]:{cursor:"not-allowed",opacity:We.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Pt}-rtl`]:{direction:"rtl"}})}};var Xe=(0,xe.Z)("Switch",We=>{const Pt=(0,ge.TS)(We,{switchDuration:We.motionDurationMid,switchColor:We.colorPrimary,switchDisabledOpacity:We.opacityLoading,switchLoadingIconSize:We.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${We.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Fe(Pt),Ie(Pt),Ne(Pt),ee(Pt),ke(Pt)]},We=>{const{fontSize:Pt,lineHeight:xt,controlHeight:kt,colorWhite:wt}=We,En=Pt*xt,Je=kt/2,se=2,ue=En-se*2,Ht=Je-se*2;return{trackHeight:En,trackHeightSM:Je,trackMinWidth:ue*2+se*4,trackMinWidthSM:Ht*2+se*2,trackPadding:se,handleBg:wt,handleSize:ue,handleSizeSM:Ht,handleShadow:`0 2px 4px 0 ${new fe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:ue/2,innerMaxMargin:ue+se+se*2,innerMinMarginSM:Ht/2,innerMaxMarginSM:Ht+se+se*2}}),Ye=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,kt=Object.getOwnPropertySymbols(We);wt{const{prefixCls:xt,size:kt,disabled:wt,loading:En,className:Je,rootClassName:se,style:ue}=We,Ht=Ye(We,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:St,switch:an}=de.useContext(Te.E_),Ft=de.useContext(Ae.Z),ai=(wt!=null?wt:Ft)||En,Ln=Vt("switch",xt),ni=de.createElement("div",{className:`${Ln}-handle`},En&&de.createElement(v.Z,{className:`${Ln}-loading-icon`})),[Jn,In]=Xe(Ln),Mn=(0,Re.Z)(kt),re=O()(an==null?void 0:an.className,{[`${Ln}-small`]:Mn==="small",[`${Ln}-loading`]:En,[`${Ln}-rtl`]:St==="rtl"},Je,se,In),z=Object.assign(Object.assign({},an==null?void 0:an.style),ue);return Jn(de.createElement(Oe.Z,{component:"Switch"},de.createElement(Qe,Object.assign({},Ht,{prefixCls:Ln,className:re,style:z,disabled:ai,ref:Pt,loadingIcon:ni}))))});ie.__ANT_SWITCH=!0;var lt=ie},1710:function(Q,C,h){"use strict";h.d(C,{default:function(){return zu}});var v={},I="rc-table-internal-hook",O=h(33606),F=h(6089),G=h(34280),P=h(13697),M=h(59301),de=h(4676);function ce(Ee){var Le=M.createContext(void 0),ht=function(Bt){var Rt=Bt.value,ve=Bt.children,yn=M.useRef(Rt);yn.current=Rt;var sn=M.useState(function(){return{getValue:function(){return yn.current},listeners:new Set}}),zn=(0,O.Z)(sn,1),$n=zn[0];return(0,G.Z)(function(){(0,de.unstable_batchedUpdates)(function(){$n.listeners.forEach(function(jn){jn(Rt)})})},[Rt]),M.createElement(Le.Provider,{value:$n},ve)};return{Context:Le,Provider:ht,defaultValue:Ee}}function te(Ee,Le){var ht=(0,F.Z)(typeof Le=="function"?Le:function(jn){if(Le===void 0)return jn;if(!Array.isArray(Le))return jn[Le];var gi={};return Le.forEach(function(yi){gi[yi]=jn[yi]}),gi}),bt=M.useContext(Ee==null?void 0:Ee.Context),Bt=bt||{},Rt=Bt.listeners,ve=Bt.getValue,yn=M.useRef();yn.current=ht(bt?ve():Ee==null?void 0:Ee.defaultValue);var sn=M.useState({}),zn=(0,O.Z)(sn,2),$n=zn[1];return(0,G.Z)(function(){if(!bt)return;function jn(gi){var yi=ht(gi);(0,P.Z)(yn.current,yi,!0)||$n({})}return Rt.add(jn),function(){Rt.delete(jn)}},[bt]),yn.current}var Me=h(92413),we=h(8654);function Qe(){var Ee=M.createContext(null);function Le(){return M.useContext(Ee)}function ht(Bt,Rt){var ve=(0,we.Yr)(Bt),yn=function(zn,$n){var jn=ve?{ref:$n}:{},gi=M.useRef(0),yi=M.useRef(zn),ei=Le();return ei!==null?M.createElement(Bt,(0,Me.Z)({},zn,jn)):((!Rt||Rt(yi.current,zn))&&(gi.current+=1),yi.current=zn,M.createElement(Ee.Provider,{value:gi.current},M.createElement(Bt,(0,Me.Z)({},zn,jn))))};return ve?M.forwardRef(yn):yn}function bt(Bt,Rt){var ve=(0,we.Yr)(Bt),yn=function(zn,$n){var jn=ve?{ref:$n}:{};return Le(),M.createElement(Bt,(0,Me.Z)({},zn,jn))};return ve?M.memo(M.forwardRef(yn),Rt):M.memo(yn,Rt)}return{makeImmutable:ht,responseImmutable:bt,useImmutableMark:Le}}var Oe=Qe(),Te=Oe.makeImmutable,Ae=Oe.responseImmutable,Re=Oe.useImmutableMark,fe=Qe(),me=fe.makeImmutable,xe=fe.responseImmutable,ge=fe.useImmutableMark,ke=ce(),ee=ke;function Ne(Ee,Le){var ht=M.useRef(0);ht.current+=1;var bt=M.useRef(Ee),Bt=[];Object.keys(Ee||{}).map(function(ve){var yn;(Ee==null?void 0:Ee[ve])!==((yn=bt.current)===null||yn===void 0?void 0:yn[ve])&&Bt.push(ve)}),bt.current=Ee;var Rt=M.useRef([]);return Bt.length&&(Rt.current=Bt),M.useDebugValue(ht.current),M.useDebugValue(Rt.current.join(", ")),Le&&console.log("".concat(Le,":"),ht.current,Rt.current),ht.current}var Ie=null,Fe=M.memo(function(){var Ee=Ne();return M.createElement("h1",null,"Render Times: ",Ee)});Fe.displayName="RenderBlock";var Xe=h(39559),Ye=h(33708),ie=h(400),lt=h(92310),We=h.n(lt),Pt=h(80547),xt=h(97938),kt=h(48736),wt=M.createContext({renderWithProps:!1}),En=wt,Je="RC_TABLE_KEY";function se(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function ue(Ee){var Le=[],ht={};return Ee.forEach(function(bt){for(var Bt=bt||{},Rt=Bt.key,ve=Bt.dataIndex,yn=Rt||se(ve).join("-")||Je;ht[yn];)yn="".concat(yn,"_next");ht[yn]=!0,Le.push(yn)}),Le}function Ht(Ee){return Ee!=null}function Vt(Ee){return Ee&&(0,Xe.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!M.isValidElement(Ee)}function St(Ee,Le,ht,bt,Bt,Rt){var ve=M.useContext(En),yn=ge(),sn=(0,Pt.Z)(function(){if(Ht(bt))return[bt];var zn=Le==null||Le===""?[]:Array.isArray(Le)?Le:[Le],$n=(0,xt.Z)(Ee,zn),jn=$n,gi=void 0;if(Bt){var yi=Bt($n,Ee,ht);Vt(yi)?(jn=yi.children,gi=yi.props,ve.renderWithProps=!0):jn=yi}return[jn,gi]},[yn,Ee,bt,Le,Bt,ht],function(zn,$n){if(Rt){var jn=(0,O.Z)(zn,2),gi=jn[1],yi=(0,O.Z)($n,2),ei=yi[1];return Rt(ei,gi)}return ve.renderWithProps?!0:!(0,P.Z)(zn,$n,!0)});return sn}function an(Ee,Le,ht,bt){var Bt=Ee+Le-1;return Ee<=bt&&Bt>=ht}function Ft(Ee,Le){return te(ee,function(ht){var bt=an(Ee,Le||1,ht.hoverStartRow,ht.hoverEndRow);return[bt,ht.onHover]})}var ai=function(Le){var ht=Le.ellipsis,bt=Le.rowType,Bt=Le.children,Rt,ve=ht===!0?{showTitle:!0}:ht;return ve&&(ve.showTitle||bt==="header")&&(typeof Bt=="string"||typeof Bt=="number"?Rt=Bt.toString():M.isValidElement(Bt)&&typeof Bt.props.children=="string"&&(Rt=Bt.props.children)),Rt};function Ln(Ee){var Le,ht,bt,Bt,Rt,ve,yn,sn,zn=Ee.component,$n=Ee.children,jn=Ee.ellipsis,gi=Ee.scope,yi=Ee.prefixCls,ei=Ee.className,ji=Ee.align,ci=Ee.record,Gi=Ee.render,E=Ee.dataIndex,B=Ee.renderIndex,W=Ee.shouldCellUpdate,q=Ee.index,pe=Ee.rowType,Ce=Ee.colSpan,$e=Ee.rowSpan,it=Ee.fixLeft,$t=Ee.fixRight,Dt=Ee.firstFixLeft,ft=Ee.lastFixLeft,Yt=Ee.firstFixRight,en=Ee.lastFixRight,_t=Ee.appendNode,Si=Ee.additionalProps,li=Si===void 0?{}:Si,lr=Ee.isSticky,Ni="".concat(yi,"-cell"),Or=te(ee,["supportSticky","allColumnsFixedLeft"]),Zi=Or.supportSticky,oo=Or.allColumnsFixedLeft,lo=St(ci,E,B,$n,Gi,W),ii=(0,O.Z)(lo,2),qi=ii[0],Xr=ii[1],qr={},io=typeof it=="number"&&Zi,Io=typeof $t=="number"&&Zi;io&&(qr.position="sticky",qr.left=it),Io&&(qr.position="sticky",qr.right=$t);var ir=(Le=(ht=(bt=Xr==null?void 0:Xr.colSpan)!==null&&bt!==void 0?bt:li.colSpan)!==null&&ht!==void 0?ht:Ce)!==null&&Le!==void 0?Le:1,Oi=(Bt=(Rt=(ve=Xr==null?void 0:Xr.rowSpan)!==null&&ve!==void 0?ve:li.rowSpan)!==null&&Rt!==void 0?Rt:$e)!==null&&Bt!==void 0?Bt:1,Yi=Ft(q,Oi),Di=(0,O.Z)(Yi,2),Vr=Di[0],Xi=Di[1],_r=function(la){var za;ci&&Xi(q,q+Oi-1),li==null||(za=li.onMouseEnter)===null||za===void 0||za.call(li,la)},uo=function(la){var za;ci&&Xi(-1,-1),li==null||(za=li.onMouseLeave)===null||za===void 0||za.call(li,la)};if(ir===0||Oi===0)return null;var rn=(yn=li.title)!==null&&yn!==void 0?yn:ai({rowType:pe,ellipsis:jn,children:qi}),ya=We()(Ni,ei,(sn={},(0,ie.Z)(sn,"".concat(Ni,"-fix-left"),io&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-left-first"),Dt&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-left-last"),ft&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-left-all"),ft&&oo&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-right"),Io&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-right-first"),Yt&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-fix-right-last"),en&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-ellipsis"),jn),(0,ie.Z)(sn,"".concat(Ni,"-with-append"),_t),(0,ie.Z)(sn,"".concat(Ni,"-fix-sticky"),(io||Io)&&lr&&Zi),(0,ie.Z)(sn,"".concat(Ni,"-row-hover"),!Xr&&Vr),sn),li.className,Xr==null?void 0:Xr.className),ba={};ji&&(ba.textAlign=ji);var wn=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},qr),li.style),ba),Xr==null?void 0:Xr.style),mo=qi;return(0,Xe.Z)(mo)==="object"&&!Array.isArray(mo)&&!M.isValidElement(mo)&&(mo=null),jn&&(ft||Yt)&&(mo=M.createElement("span",{className:"".concat(Ni,"-content")},mo)),M.createElement(zn,(0,Me.Z)({},Xr,li,{className:ya,style:wn,title:rn,scope:gi,onMouseEnter:_r,onMouseLeave:uo,colSpan:ir!==1?ir:null,rowSpan:Oi!==1?Oi:null}),_t,mo)}var ni=M.memo(Ln);function Jn(Ee,Le,ht,bt,Bt,Rt){var ve=ht[Ee]||{},yn=ht[Le]||{},sn,zn;ve.fixed==="left"?sn=bt.left[Bt==="rtl"?Le:Ee]:yn.fixed==="right"&&(zn=bt.right[Bt==="rtl"?Ee:Le]);var $n=!1,jn=!1,gi=!1,yi=!1,ei=ht[Le+1],ji=ht[Ee-1],ci=!(Rt!=null&&Rt.children);if(Bt==="rtl"){if(sn!==void 0){var Gi=ji&&ji.fixed==="left";yi=!Gi&&ci}else if(zn!==void 0){var E=ei&&ei.fixed==="right";gi=!E&&ci}}else if(sn!==void 0){var B=ei&&ei.fixed==="left";$n=!B&&ci}else if(zn!==void 0){var W=ji&&ji.fixed==="right";jn=!W&&ci}return{fixLeft:sn,fixRight:zn,lastFixLeft:$n,firstFixRight:jn,lastFixRight:gi,firstFixLeft:yi,isSticky:bt.isSticky}}var In=M.createContext({}),Mn=In;function re(Ee){var Le=Ee.className,ht=Ee.index,bt=Ee.children,Bt=Ee.colSpan,Rt=Bt===void 0?1:Bt,ve=Ee.rowSpan,yn=Ee.align,sn=te(ee,["prefixCls","direction"]),zn=sn.prefixCls,$n=sn.direction,jn=M.useContext(Mn),gi=jn.scrollColumnIndex,yi=jn.stickyOffsets,ei=jn.flattenColumns,ji=jn.columns,ci=ht+Rt-1,Gi=ci+1===gi?Rt+1:Rt,E=Jn(ht,ht+Gi-1,ei,yi,$n,ji==null?void 0:ji[ht]);return M.createElement(ni,(0,Me.Z)({className:Le,index:ht,component:"td",prefixCls:zn,record:null,dataIndex:null,align:yn,colSpan:Gi,rowSpan:ve,render:function(){return bt}},E))}var z=h(37061),k=["children"];function j(Ee){var Le=Ee.children,ht=(0,z.Z)(Ee,k);return M.createElement("tr",ht,Le)}function X(Ee){var Le=Ee.children;return Le}X.Row=j,X.Cell=re;var N=X;function _e(Ee){var Le=Ee.children,ht=Ee.stickyOffsets,bt=Ee.flattenColumns,Bt=Ee.columns,Rt=te(ee,"prefixCls"),ve=bt.length-1,yn=bt[ve],sn=M.useMemo(function(){return{stickyOffsets:ht,flattenColumns:bt,scrollColumnIndex:yn!=null&&yn.scrollbar?ve:null,columns:Bt}},[yn,bt,ve,ht,Bt]);return M.createElement(Mn.Provider,{value:sn},M.createElement("tfoot",{className:"".concat(Rt,"-summary")},Le))}var Nt=xe(_e),He=N,De=h(70425),gt=h(29301),ut=h(29194),nt=h(24514),Tt=h(75152),fn=h(26112);function qt(Ee,Le,ht,bt,Bt,Rt,ve){Ee.push({record:Le,indent:ht,index:ve});var yn=Rt(Le),sn=Bt==null?void 0:Bt.has(yn);if(Le&&Array.isArray(Le[bt])&&sn)for(var zn=0;zn1?Dt-1:0),Yt=1;Yt=0;yn-=1){var sn=Le[yn],zn=ht&&ht[yn],$n=zn&&zn[vi];if(sn||$n||ve){var jn=$n||{},gi=jn.columnType,yi=(0,z.Z)(jn,ln);Bt.unshift(M.createElement("col",(0,Me.Z)({key:yn,style:{width:sn}},yi))),ve=!0}}return M.createElement("colgroup",null,Bt)}var er=gr,ti=h(26407),Nr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pr(Ee,Le){return(0,M.useMemo)(function(){for(var ht=[],bt=0;bt1?"colgroup":"col":null,ellipsis:ci.ellipsis,align:ci.align,component:ci.title?Rt:ve,prefixCls:$n,key:yi[ji]},Gi,{additionalProps:E,rowType:"header"}))}))}Er.displayName="HeaderRow";var wr=Er;function eo(Ee){var Le=[];function ht(ve,yn){var sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Le[sn]=Le[sn]||[];var zn=yn,$n=ve.filter(Boolean).map(function(jn){var gi={key:jn.key,className:jn.className||"",children:jn.title,column:jn,colStart:zn},yi=1,ei=jn.children;return ei&&ei.length>0&&(yi=ht(ei,zn,sn+1).reduce(function(ji,ci){return ji+ci},0),gi.hasSubColumns=!0),"colSpan"in jn&&(yi=jn.colSpan),"rowSpan"in jn&&(gi.rowSpan=jn.rowSpan),gi.colSpan=yi,gi.colEnd=gi.colStart+yi-1,Le[sn].push(gi),zn+=yi,yi});return $n}ht(Ee,0);for(var bt=Le.length,Bt=function(yn){Le[yn].forEach(function(sn){!("rowSpan"in sn)&&!sn.hasSubColumns&&(sn.rowSpan=bt-yn)})},Rt=0;Rt1&&arguments[1]!==void 0?arguments[1]:"";return typeof Le=="number"?Le:Le.endsWith("%")?Ee*parseFloat(Le)/100:null}function zi(Ee,Le){return M.useMemo(function(){if(Le&&Le>0){var ht=0,bt=0;Ee.forEach(function(zn){var $n=ur(Le,zn.width);$n?ht+=$n:bt+=1});var Bt=Le-ht,Rt=bt,ve=Bt/bt,yn=0,sn=Ee.map(function(zn){var $n=(0,Ye.Z)({},zn),jn=ur(Le,$n.width);if(jn)$n.width=jn;else{var gi=Math.floor(ve);$n.width=Rt===1?Bt:gi,Bt-=gi,Rt-=1}return yn+=$n.width,$n});return[sn,yn]}return[Ee,Le]},[Ee,Le])}var xi=["children"],dt=["fixed"];function _n(Ee){return(0,no.Z)(Ee).filter(function(Le){return M.isValidElement(Le)}).map(function(Le){var ht=Le.key,bt=Le.props,Bt=bt.children,Rt=(0,z.Z)(bt,xi),ve=(0,Ye.Z)({key:ht},Rt);return Bt&&(ve.children=_n(Bt)),ve})}function Wn(Ee){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(ht){return ht&&(0,Xe.Z)(ht)==="object"}).reduce(function(ht,bt,Bt){var Rt=bt.fixed,ve=Rt===!0?"left":Rt,yn="".concat(Le,"-").concat(Bt),sn=bt.children;return sn&&sn.length>0?[].concat((0,ti.Z)(ht),(0,ti.Z)(Wn(sn,yn).map(function(zn){return(0,Ye.Z)({fixed:ve},zn)}))):[].concat((0,ti.Z)(ht),[(0,Ye.Z)((0,Ye.Z)({key:yn},bt),{},{fixed:ve})])},[])}function yt(Ee){for(var Le=!0,ht=0;ht=0;Rt-=1){var ve=Ee[Rt];if(Bt&&ve.fixed!=="right")Bt=!1;else if(!Bt&&ve.fixed==="right"){warning(!1,"Index ".concat(Rt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ke(Ee){return Ee.map(function(Le){var ht=Le.fixed,bt=(0,z.Z)(Le,dt),Bt=ht;return ht==="left"?Bt="right":ht==="right"&&(Bt="left"),(0,Ye.Z)({fixed:Bt},bt)})}function gn(Ee,Le){var ht=Ee.prefixCls,bt=Ee.columns,Bt=Ee.children,Rt=Ee.expandable,ve=Ee.expandedKeys,yn=Ee.columnTitle,sn=Ee.getRowKey,zn=Ee.onTriggerExpand,$n=Ee.expandIcon,jn=Ee.rowExpandable,gi=Ee.expandIconColumnIndex,yi=Ee.direction,ei=Ee.expandRowByClick,ji=Ee.columnWidth,ci=Ee.fixed,Gi=Ee.scrollWidth,E=M.useMemo(function(){return bt||_n(Bt)},[bt,Bt]),B=M.useMemo(function(){if(Rt){var $t,Dt=E.slice();if(!Dt.includes(v)){var ft=gi||0;ft>=0&&Dt.splice(ft,0,v)}var Yt=Dt.indexOf(v);Dt=Dt.filter(function(li,lr){return li!==v||lr===Yt});var en=E[Yt],_t;(ci==="left"||ci)&&!gi?_t="left":(ci==="right"||ci)&&gi===E.length?_t="right":_t=en?en.fixed:null;var Si=($t={},(0,ie.Z)($t,vi,{className:"".concat(ht,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ie.Z)($t,"title",yn),(0,ie.Z)($t,"fixed",_t),(0,ie.Z)($t,"className","".concat(ht,"-row-expand-icon-cell")),(0,ie.Z)($t,"width",ji),(0,ie.Z)($t,"render",function(lr,Ni,Or){var Zi=sn(Ni,Or),oo=ve.has(Zi),lo=jn?jn(Ni):!0,ii=$n({prefixCls:ht,expanded:oo,expandable:lo,record:Ni,onExpand:zn});return ei?M.createElement("span",{onClick:function(Xr){return Xr.stopPropagation()}},ii):ii}),$t);return Dt.map(function(li){return li===v?Si:li})}return E.filter(function(li){return li!==v})},[Rt,E,sn,ve,$n,yi]),W=M.useMemo(function(){var $t=B;return Le&&($t=Le($t)),$t.length||($t=[{render:function(){return null}}]),$t},[Le,B,yi]),q=M.useMemo(function(){return yi==="rtl"?Ke(Wn(W)):Wn(W)},[W,yi,Gi]),pe=zi(q,Gi),Ce=(0,O.Z)(pe,2),$e=Ce[0],it=Ce[1];return[W,$e,it]}var kn=gn;function on(Ee){var Le,ht=Ee.prefixCls,bt=Ee.record,Bt=Ee.onExpand,Rt=Ee.expanded,ve=Ee.expandable,yn="".concat(ht,"-row-expand-icon");if(!ve)return M.createElement("span",{className:We()(yn,"".concat(ht,"-row-spaced"))});var sn=function($n){Bt(bt,$n),$n.stopPropagation()};return M.createElement("span",{className:We()(yn,(Le={},(0,ie.Z)(Le,"".concat(ht,"-row-expanded"),Rt),(0,ie.Z)(Le,"".concat(ht,"-row-collapsed"),!Rt),Le)),onClick:sn})}function Ct(Ee,Le,ht){var bt=[];function Bt(Rt){(Rt||[]).forEach(function(ve,yn){bt.push(Le(ve,yn)),Bt(ve[ht])})}return Bt(Ee),bt}function Ve(Ee,Le,ht){var bt=dn(Ee),Bt=bt.expandIcon,Rt=bt.expandedRowKeys,ve=bt.defaultExpandedRowKeys,yn=bt.defaultExpandAllRows,sn=bt.expandedRowRender,zn=bt.onExpand,$n=bt.onExpandedRowsChange,jn=bt.childrenColumnName,gi=Bt||on,yi=jn||"children",ei=M.useMemo(function(){return sn?"row":Ee.expandable&&Ee.internalHooks===I&&Ee.expandable.__PARENT_RENDER_ICON__||Le.some(function(q){return q&&(0,Xe.Z)(q)==="object"&&q[yi]})?"nest":!1},[!!sn,Le]),ji=M.useState(function(){return ve||(yn?Ct(Le,ht,yi):[])}),ci=(0,O.Z)(ji,2),Gi=ci[0],E=ci[1],B=M.useMemo(function(){return new Set(Rt||Gi||[])},[Rt,Gi]),W=M.useCallback(function(q){var pe=ht(q,Le.indexOf(q)),Ce,$e=B.has(pe);$e?(B.delete(pe),Ce=(0,ti.Z)(B)):Ce=[].concat((0,ti.Z)(B),[pe]),E(Ce),zn&&zn(!$e,q),$n&&$n(Ce)},[ht,B,Le,zn,$n]);return[bt,ei,B,gi,yi,W]}function Ut(Ee,Le,ht,bt){var Bt=Ee.map(function(Rt,ve){return Jn(ve,ve,Ee,Le,ht,bt==null?void 0:bt[ve])});return(0,Pt.Z)(function(){return Bt},[Bt],function(Rt,ve){return!(0,P.Z)(Rt,ve)})}function Ot(Ee){var Le=(0,M.useRef)(Ee),ht=(0,M.useState)({}),bt=(0,O.Z)(ht,2),Bt=bt[1],Rt=(0,M.useRef)(null),ve=(0,M.useRef)([]);function yn(sn){ve.current.push(sn);var zn=Promise.resolve();Rt.current=zn,zn.then(function(){if(Rt.current===zn){var $n=ve.current,jn=Le.current;ve.current=[],$n.forEach(function(gi){Le.current=gi(Le.current)}),Rt.current=null,jn!==Le.current&&Bt({})}})}return(0,M.useEffect)(function(){return function(){Rt.current=null}},[]),[Le.current,yn]}function Gn(Ee){var Le=(0,M.useRef)(Ee||null),ht=(0,M.useRef)();function bt(){window.clearTimeout(ht.current)}function Bt(ve){Le.current=ve,bt(),ht.current=window.setTimeout(function(){Le.current=null,ht.current=void 0},100)}function Rt(){return Le.current}return(0,M.useEffect)(function(){return bt},[]),[Bt,Rt]}function ot(){var Ee=M.useState(-1),Le=(0,O.Z)(Ee,2),ht=Le[0],bt=Le[1],Bt=M.useState(-1),Rt=(0,O.Z)(Bt,2),ve=Rt[0],yn=Rt[1],sn=M.useCallback(function(zn,$n){bt(zn),yn($n)},[]);return[ht,ve,sn]}var un=h(47273),vt=(0,un.Z)()?window:null;function je(Ee,Le){var ht=(0,Xe.Z)(Ee)==="object"?Ee:{},bt=ht.offsetHeader,Bt=bt===void 0?0:bt,Rt=ht.offsetSummary,ve=Rt===void 0?0:Rt,yn=ht.offsetScroll,sn=yn===void 0?0:yn,zn=ht.getContainer,$n=zn===void 0?function(){return vt}:zn,jn=$n()||vt;return M.useMemo(function(){var gi=!!Ee;return{isSticky:gi,stickyClassName:gi?"".concat(Le,"-sticky-holder"):"",offsetHeader:Bt,offsetSummary:ve,offsetScroll:sn,container:jn}},[sn,Bt,ve,Le,jn])}function L(Ee,Le,ht){var bt=(0,M.useMemo)(function(){for(var Bt=[],Rt=[],ve=0,yn=0,sn=0;sn=jn&&(li=jn-gi),ve({scrollLeft:li/jn*($n+2)}),E.current.x=Yt.pageX},$t=function(){if(Rt.current){var Yt=(0,Cn.os)(Rt.current).top,en=Yt+Rt.current.offsetHeight,_t=sn===window?document.documentElement.scrollTop+window.innerHeight:(0,Cn.os)(sn).top+sn.clientHeight;en-(0,Tt.Z)()<=_t||Yt>=_t-yn?Gi(function(Si){return(0,Ye.Z)((0,Ye.Z)({},Si),{},{isHiddenScrollBar:!0})}):Gi(function(Si){return(0,Ye.Z)((0,Ye.Z)({},Si),{},{isHiddenScrollBar:!1})})}},Dt=function(Yt){Gi(function(en){return(0,Ye.Z)((0,Ye.Z)({},en),{},{scrollLeft:Yt/$n*jn||0})})};return M.useImperativeHandle(ht,function(){return{setScrollLeft:Dt}}),M.useEffect(function(){var ft=(0,vn.Z)(document.body,"mouseup",Ce,!1),Yt=(0,vn.Z)(document.body,"mousemove",it,!1);return $t(),function(){ft.remove(),Yt.remove()}},[gi,q]),M.useEffect(function(){var ft=(0,vn.Z)(sn,"scroll",$t,!1),Yt=(0,vn.Z)(window,"resize",$t,!1);return function(){ft.remove(),Yt.remove()}},[sn]),M.useEffect(function(){ci.isHiddenScrollBar||Gi(function(ft){var Yt=Rt.current;return Yt?(0,Ye.Z)((0,Ye.Z)({},ft),{},{scrollLeft:Yt.scrollLeft/Yt.scrollWidth*Yt.clientWidth}):ft})},[ci.isHiddenScrollBar]),$n<=jn||!gi||ci.isHiddenScrollBar?null:M.createElement("div",{style:{height:(0,Tt.Z)(),width:jn,bottom:yn},className:"".concat(zn,"-sticky-scroll")},M.createElement("div",{onMouseDown:$e,ref:yi,className:We()("".concat(zn,"-sticky-scroll-bar"),(0,ie.Z)({},"".concat(zn,"-sticky-scroll-bar-active"),q)),style:{width:"".concat(gi,"px"),transform:"translate3d(".concat(ci.scrollLeft,"px, 0, 0)")}}))},Nn=M.forwardRef(ui);function st(Ee){return null}var Li=st;function Qi(Ee){return null}var Kt=Qi,Ui="rc-table",J=[],oe={};function Hn(){return"No Data"}function Be(Ee){var Le,ht=(0,Ye.Z)({rowKey:"key",prefixCls:Ui,emptyText:Hn},Ee),bt=ht.prefixCls,Bt=ht.className,Rt=ht.rowClassName,ve=ht.style,yn=ht.data,sn=ht.rowKey,zn=ht.scroll,$n=ht.tableLayout,jn=ht.direction,gi=ht.title,yi=ht.footer,ei=ht.summary,ji=ht.caption,ci=ht.id,Gi=ht.showHeader,E=ht.components,B=ht.emptyText,W=ht.onRow,q=ht.onHeaderRow,pe=ht.internalHooks,Ce=ht.transformColumns,$e=ht.internalRefs,it=ht.tailor,$t=ht.sticky,Dt=yn||J,ft=!!Dt.length,Yt=pe===I,en=M.useCallback(function(qo,Sa){return(0,xt.Z)(E,qo)||Sa},[E]),_t=M.useMemo(function(){return typeof sn=="function"?sn:function(qo){var Sa=qo&&qo[sn];return Sa}},[sn]),Si=en(["body"]),li=ot(),lr=(0,O.Z)(li,3),Ni=lr[0],Or=lr[1],Zi=lr[2],oo=Ve(ht,Dt,_t),lo=(0,O.Z)(oo,6),ii=lo[0],qi=lo[1],Xr=lo[2],qr=lo[3],io=lo[4],Io=lo[5],ir=zn==null?void 0:zn.x,Oi=M.useState(0),Yi=(0,O.Z)(Oi,2),Di=Yi[0],Vr=Yi[1],Xi=kn((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},ht),ii),{},{expandable:!!ii.expandedRowRender,columnTitle:ii.columnTitle,expandedKeys:Xr,getRowKey:_t,onTriggerExpand:Io,expandIcon:qr,expandIconColumnIndex:ii.expandIconColumnIndex,direction:jn,scrollWidth:Yt&&it&&typeof ir=="number"?ir:null}),Yt?Ce:null),_r=(0,O.Z)(Xi,3),uo=_r[0],rn=_r[1],ya=_r[2],ba=ya!=null?ya:ir,wn=M.useMemo(function(){return{columns:uo,flattenColumns:rn}},[uo,rn]),mo=M.useRef(),_a=M.useRef(),la=M.useRef(),za=M.useRef(),$a=M.useRef(),Ro=M.useState(!1),To=(0,O.Z)(Ro,2),Mo=To[0],ia=To[1],ja=M.useState(!1),d=(0,O.Z)(ja,2),g=d[0],K=d[1],tt=Ot(new Map),mn=(0,O.Z)(tt,2),Zn=mn[0],Ti=mn[1],Tr=ue(rn),Ur=Tr.map(function(qo){return Zn.get(qo)}),Kr=M.useMemo(function(){return Ur},[Ur.join("_")]),Ra=Lt(Kr,rn.length,jn),xa=zn&&Ht(zn.y),ri=zn&&Ht(ba)||!!ii.fixed,rr=ri&&rn.some(function(qo){var Sa=qo.fixed;return Sa}),bo=M.useRef(),Oo=je($t,bt),ra=Oo.isSticky,ws=Oo.offsetHeader,ys=Oo.offsetSummary,Eo=Oo.offsetScroll,ua=Oo.stickyClassName,Ga=Oo.container,T=M.useMemo(function(){return ei==null?void 0:ei(Dt)},[ei,Dt]),m=(xa||ra)&&M.isValidElement(T)&&T.type===N&&T.props.fixed,S,D,Z;xa&&(D={overflowY:"scroll",maxHeight:zn.y}),ri&&(S={overflowX:"auto"},xa||(D={overflowY:"hidden"}),Z={width:ba===!0?"auto":ba,minWidth:"100%"});var ae=M.useCallback(function(qo,Sa){(0,ut.Z)(mo.current)&&Ti(function(Hs){if(Hs.get(qo)!==Sa){var qs=new Map(Hs);return qs.set(qo,Sa),qs}return Hs})},[]),Y=Gn(null),ct=(0,O.Z)(Y,2),pt=ct[0],bn=ct[1];function Bn(qo,Sa){Sa&&(typeof Sa=="function"?Sa(qo):Sa.scrollLeft!==qo&&(Sa.scrollLeft=qo,Sa.scrollLeft!==qo&&setTimeout(function(){Sa.scrollLeft=qo},0)))}var Qn=(0,F.Z)(function(qo){var Sa=qo.currentTarget,Hs=qo.scrollLeft,qs=jn==="rtl",el=typeof Hs=="number"?Hs:Sa.scrollLeft,Cc=Sa||oe;if(!bn()||bn()===Cc){var ku;pt(Cc),Bn(el,_a.current),Bn(el,la.current),Bn(el,$a.current),Bn(el,(ku=bo.current)===null||ku===void 0?void 0:ku.setScrollLeft)}var Xc=Sa||_a.current;if(Xc){var mu=Xc.scrollWidth,tc=Xc.clientWidth;if(mu===tc){ia(!1),K(!1);return}qs?(ia(-el0)):(ia(el>0),K(el1?ji-Yt:0,_t=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},Ce),sn),{},{flex:"0 0 ".concat(Yt,"px"),width:"".concat(Yt,"px"),marginRight:en,pointerEvents:"auto"}),Si=M.useMemo(function(){return $n?Dt<=1:it===0||Dt===0||Dt>1},[Dt,it,$n]);Si?_t.visibility="hidden":$n&&(_t.height=jn==null?void 0:jn(Dt));var li=Si?function(){return null}:gi,lr={};return(Dt===0||it===0)&&(lr.rowSpan=1,lr.colSpan=1),M.createElement(ni,(0,Me.Z)({className:We()(ei,zn),ellipsis:ht.ellipsis,align:ht.align,scope:ht.rowScope,component:"div",prefixCls:Le.prefixCls,key:B,record:yn,index:Rt,renderIndex:ve,dataIndex:yi,render:li,shouldCellUpdate:ht.shouldCellUpdate},W,{appendNode:q,additionalProps:(0,Ye.Z)((0,Ye.Z)({},pe),{},{style:_t},lr)}))}var Yr=Pi,It=["data","index","className","rowKey","style","extra","getHeight"],Jr=M.forwardRef(function(Ee,Le){var ht=Ee.data,bt=Ee.index,Bt=Ee.className,Rt=Ee.rowKey,ve=Ee.style,yn=Ee.extra,sn=Ee.getHeight,zn=(0,z.Z)(Ee,It),$n=ht.record,jn=ht.indent,gi=ht.index,yi=te(ee,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ei=yi.scrollX,ji=yi.flattenColumns,ci=yi.prefixCls,Gi=yi.fixColumn,E=yi.componentWidth,B=et($n,Rt,bt,jn),W=B.rowSupportExpand,q=B.expanded,pe=B.rowProps,Ce=B.expandedRowRender,$e=B.expandedRowClassName,it;if(W&&q){var $t=Ce($n,bt,jn+1,q),Dt=$e==null?void 0:$e($n,bt,jn),ft={};Gi&&(ft={style:(0,ie.Z)({},"--virtual-width","".concat(E,"px"))});var Yt="".concat(ci,"-expanded-row-cell");it=M.createElement("div",{className:We()("".concat(ci,"-expanded-row"),"".concat(ci,"-expanded-row-level-").concat(jn+1),Dt)},M.createElement(ni,{component:"div",prefixCls:ci,className:We()(Yt,(0,ie.Z)({},"".concat(Yt,"-fixed"),Gi)),additionalProps:ft},$t))}var en=(0,Ye.Z)((0,Ye.Z)({},ve),{},{width:ei});yn&&(en.position="absolute",en.pointerEvents="none");var _t=M.createElement("div",(0,Me.Z)({},pe,zn,{ref:W?null:Le,className:We()(Bt,"".concat(ci,"-row"),pe==null?void 0:pe.className,(0,ie.Z)({},"".concat(ci,"-row-extra"),yn)),style:(0,Ye.Z)((0,Ye.Z)({},en),pe==null?void 0:pe.style)}),ji.map(function(Si,li){return M.createElement(Yr,{key:li,rowInfo:B,column:Si,colIndex:li,indent:jn,index:bt,renderIndex:gi,record:$n,inverse:yn,getHeight:sn})}));return W?M.createElement("div",{ref:Le},_t,it):_t}),Jt=xe(Jr),Ri=Jt,Ci=M.forwardRef(function(Ee,Le){var ht=Ee.data,bt=Ee.onScroll,Bt=te(ee,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Rt=Bt.flattenColumns,ve=Bt.onColumnResize,yn=Bt.getRowKey,sn=Bt.expandedKeys,zn=Bt.prefixCls,$n=Bt.childrenColumnName,jn=Bt.emptyNode,gi=Bt.scrollX,yi=te(Xt),ei=yi.scrollY,ji=yi.listItemHeight,ci=M.useRef(),Gi=jt(ht,$n,sn,yn),E=M.useMemo(function(){var it=0;return Rt.map(function($t){var Dt=$t.width,ft=$t.key;return it+=Dt,[ft,Dt,it]})},[Rt]),B=M.useMemo(function(){return E.map(function(it){return it[2]})},[E]);M.useEffect(function(){E.forEach(function(it){var $t=(0,O.Z)(it,2),Dt=$t[0],ft=$t[1];ve(Dt,ft)})},[E]),M.useImperativeHandle(Le,function(){var it={};return Object.defineProperty(it,"scrollLeft",{get:function(){var Dt;return((Dt=ci.current)===null||Dt===void 0?void 0:Dt.getScrollInfo().x)||0},set:function(Dt){var ft;(ft=ci.current)===null||ft===void 0||ft.scrollTo({left:Dt})}}),it});var W=function($t,Dt){var ft,Yt=(ft=Gi[Dt])===null||ft===void 0?void 0:ft.record,en=$t.onCell;if(en){var _t,Si=en(Yt,Dt);return(_t=Si==null?void 0:Si.rowSpan)!==null&&_t!==void 0?_t:1}return 1},q=function($t){var Dt=$t.start,ft=$t.end,Yt=$t.getSize,en=$t.offsetY;if(ft<0)return null;for(var _t=Rt.filter(function(ir){return W(ir,Dt)===0}),Si=Dt,li=function(Oi){if(_t=_t.filter(function(Yi){return W(Yi,Oi)===0}),!_t.length)return Si=Oi,"break"},lr=Dt;lr>=0;lr-=1){var Ni=li(lr);if(Ni==="break")break}for(var Or=Rt.filter(function(ir){return W(ir,ft)!==1}),Zi=ft,oo=function(Oi){if(Or=Or.filter(function(Yi){return W(Yi,Oi)!==1}),!Or.length)return Zi=Math.max(Oi-1,ft),"break"},lo=ft;lo1})&&qi.push(Oi)},qr=Si;qr<=Zi;qr+=1)var io=Xr(qr);var Io=qi.map(function(ir){var Oi=Gi[ir],Yi=yn(Oi.record,ir),Di=function(_r){var uo=ir+_r-1,rn=yn(Gi[uo].record,uo),ya=Yt(Yi,rn);return ya.bottom-ya.top},Vr=Yt(Yi);return M.createElement(Ri,{key:ir,data:Oi,rowKey:Yi,index:ir,style:{top:-en+Vr.top},extra:!0,getHeight:Di})});return Io},pe=M.useMemo(function(){return{columnsOffset:B}},[B]),Ce="".concat(zn,"-tbody"),$e;return Gi.length?$e=M.createElement(_i.Z,{fullHeight:!1,ref:ci,className:We()(Ce,"".concat(Ce,"-virtual")),height:ei,itemHeight:ji||24,data:Gi,itemKey:function($t){return yn($t.record)},scrollWidth:gi,onVirtualScroll:function($t){var Dt=$t.x;bt({scrollLeft:Dt})},extraRender:q},function(it,$t,Dt){var ft=yn(it.record,$t);return M.createElement(Ri,(0,Me.Z)({data:it,rowKey:ft,index:$t},Dt))}):$e=M.createElement("div",{className:We()("".concat(zn,"-placeholder"))},M.createElement(ni,{component:"div",prefixCls:zn},jn)),M.createElement(Ei.Provider,{value:pe},$e)}),mr=xe(Ci),ar=mr,Kn=function(Le,ht){var bt=ht.ref,Bt=ht.onScroll;return M.createElement(ar,{ref:bt,data:Le,onScroll:Bt})},he=100;function vr(Ee){var Le=Ee.columns,ht=Ee.scroll,bt=Ee.prefixCls,Bt=bt===void 0?Ui:bt,Rt=Ee.className,ve=Ee.listItemHeight,yn=ht||{},sn=yn.x,zn=yn.y;typeof sn!="number"&&(sn=((Le||[]).length+1)*he),typeof zn!="number"&&(zn=500);var $n=M.useMemo(function(){return{scrollY:zn,listItemHeight:ve}},[zn,ve]);return M.createElement(Xt.Provider,{value:$n},M.createElement(Rn,(0,Me.Z)({},Ee,{className:We()(Rt,"".concat(Bt,"-virtual")),scroll:(0,Ye.Z)((0,Ye.Z)({},ht),{},{x:sn}),components:{body:Kn},columns:Le,internalHooks:I,tailor:!0})))}function Cr(Ee){return me(vr,Ee)}var dr=Cr(),Br=null;function Ji(Ee){return null}var Fi=Ji;function Mi(Ee){return null}var cr=Mi,Ki=h(2738),Rr=h(68031),Gr=h(36355),to=h(93891),Fo=h(19716),fi=h(8628),ma=h(31724),jo=h(58421),da=h(71418),Ta=h(88088);function Ya(Ee){return function(ht){let{prefixCls:bt,onExpand:Bt,record:Rt,expanded:ve,expandable:yn}=ht;const sn=`${bt}-row-expand-icon`;return M.createElement("button",{type:"button",onClick:zn=>{Bt(Rt,zn),zn.stopPropagation()},className:We()(sn,{[`${sn}-spaced`]:!yn,[`${sn}-expanded`]:yn&&ve,[`${sn}-collapsed`]:yn&&!ve}),"aria-label":ve?Ee.collapse:Ee.expand,"aria-expanded":ve})}}var ns=Ya;function Na(Ee,Le){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Le}function cs(Ee,Le){return Le?`${Le}-${Ee}`:`${Ee}`}function Za(Ee,Le){return typeof Ee=="function"?Ee(Le):Ee}function Go(Ee,Le){const ht=Za(Ee,Le);return Object.prototype.toString.call(ht)==="[object Object]"?"":ht}var Wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Ba=Wt,eu=h(7657),ol=function(Le,ht){return M.createElement(eu.Z,(0,Me.Z)({},Le,{ref:ht,icon:Ba}))},fo=M.forwardRef(ol),Ao=fo,vo=h(56762);function Mt(Ee){const Le=M.useRef(Ee),ht=(0,vo.Z)();return[()=>Le.current,bt=>{Le.current=bt,ht()}]}var Pr=h(3113),po=h(24905),Ea=h(38854),xr=h(64165),Sn=h(20834),hr=h(40875),mi=h(5112),Vo=h(17574),ga=h(47472),is=h(92832);function Rs(Ee){let{value:Le,onChange:ht,filterSearch:bt,tablePrefixCls:Bt,locale:Rt}=Ee;return bt?M.createElement("div",{className:`${Bt}-filter-dropdown-search`},M.createElement(is.default,{prefix:M.createElement(ga.Z,null),placeholder:Rt.filterSearchPlaceholder,onChange:ht,value:Le,htmlSize:1,className:`${Bt}-filter-dropdown-search-input`})):null}var Ns=Rs,si=h(10228);const Hi=Ee=>{const{keyCode:Le}=Ee;Le===si.Z.ENTER&&Ee.stopPropagation()};var As=M.forwardRef((Ee,Le)=>M.createElement("div",{className:Ee.className,onClick:ht=>ht.stopPropagation(),onKeyDown:Hi,ref:Le},Ee.children));function Yo(Ee){let Le=[];return(Ee||[]).forEach(ht=>{let{value:bt,children:Bt}=ht;Le.push(bt),Bt&&(Le=[].concat((0,ti.Z)(Le),(0,ti.Z)(Yo(Bt))))}),Le}function rs(Ee){return Ee.some(Le=>{let{children:ht}=Le;return ht})}function Dr(Ee,Le){return typeof Le=="string"||typeof Le=="number"?Le==null?void 0:Le.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function al(Ee){let{filters:Le,prefixCls:ht,filteredKeys:bt,filterMultiple:Bt,searchValue:Rt,filterSearch:ve}=Ee;return Le.map((yn,sn)=>{const zn=String(yn.value);if(yn.children)return{key:zn||sn,label:yn.text,popupClassName:`${ht}-dropdown-submenu`,children:al({filters:yn.children,prefixCls:ht,filteredKeys:bt,filterMultiple:Bt,searchValue:Rt,filterSearch:ve})};const $n=Bt?po.default:mi.ZP,jn={key:yn.value!==void 0?zn:sn,label:M.createElement(M.Fragment,null,M.createElement($n,{checked:bt.includes(zn)}),M.createElement("span",null,yn.text))};return Rt.trim()?typeof ve=="function"?ve(Rt,yn)?jn:null:Dr(Rt,yn.text)?jn:null:jn})}function Ds(Ee){var Le,ht;const{tablePrefixCls:bt,prefixCls:Bt,column:Rt,dropdownPrefixCls:ve,columnKey:yn,filterMultiple:sn,filterMode:zn="menu",filterSearch:$n=!1,filterState:jn,triggerFilter:gi,locale:yi,children:ei,getPopupContainer:ji}=Ee,{filterDropdownOpen:ci,onFilterDropdownOpenChange:Gi,filterResetToDefaultFilteredValue:E,defaultFilteredValue:B,filterDropdownVisible:W,onFilterDropdownVisibleChange:q}=Rt,[pe,Ce]=M.useState(!1),$e=!!(jn&&(!((Le=jn.filteredKeys)===null||Le===void 0)&&Le.length||jn.forceFiltered)),it=Xi=>{Ce(Xi),Gi==null||Gi(Xi),q==null||q(Xi)},$t=(ht=ci!=null?ci:W)!==null&&ht!==void 0?ht:pe,Dt=jn==null?void 0:jn.filteredKeys,[ft,Yt]=Mt(Dt||[]),en=Xi=>{let{selectedKeys:_r}=Xi;Yt(_r)},_t=(Xi,_r)=>{let{node:uo,checked:rn}=_r;en(sn?{selectedKeys:Xi}:{selectedKeys:rn&&uo.key?[uo.key]:[]})};M.useEffect(()=>{pe&&en({selectedKeys:Dt||[]})},[Dt]);const[Si,li]=M.useState([]),lr=Xi=>{li(Xi)},[Ni,Or]=M.useState(""),Zi=Xi=>{const{value:_r}=Xi.target;Or(_r)};M.useEffect(()=>{pe||Or("")},[pe]);const oo=Xi=>{const _r=Xi&&Xi.length?Xi:null;if(_r===null&&(!jn||!jn.filteredKeys)||(0,P.Z)(_r,jn==null?void 0:jn.filteredKeys,!0))return null;gi({column:Rt,key:yn,filteredKeys:_r})},lo=()=>{it(!1),oo(ft())},ii=function(){let{confirm:Xi,closeDropdown:_r}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Xi&&oo([]),_r&&it(!1),Or(""),Yt(E?(B||[]).map(uo=>String(uo)):[])},qi=function(){let{closeDropdown:Xi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Xi&&it(!1),oo(ft())},Xr=Xi=>{Xi&&Dt!==void 0&&Yt(Dt||[]),it(Xi),!Xi&&!Rt.filterDropdown&&lo()},qr=We()({[`${ve}-menu-without-submenu`]:!rs(Rt.filters||[])}),io=Xi=>{if(Xi.target.checked){const _r=Yo(Rt==null?void 0:Rt.filters).map(uo=>String(uo));Yt(_r)}else Yt([])},Io=Xi=>{let{filters:_r}=Xi;return(_r||[]).map((uo,rn)=>{const ya=String(uo.value),ba={title:uo.text,key:uo.value!==void 0?ya:rn};return uo.children&&(ba.children=Io({filters:uo.children})),ba})},ir=Xi=>{var _r;return Object.assign(Object.assign({},Xi),{text:Xi.title,value:Xi.key,children:((_r=Xi.children)===null||_r===void 0?void 0:_r.map(uo=>ir(uo)))||[]})};let Oi;if(typeof Rt.filterDropdown=="function")Oi=Rt.filterDropdown({prefixCls:`${ve}-custom`,setSelectedKeys:Xi=>en({selectedKeys:Xi}),selectedKeys:ft(),confirm:qi,clearFilters:ii,filters:Rt.filters,visible:$t,close:()=>{it(!1)}});else if(Rt.filterDropdown)Oi=Rt.filterDropdown;else{const Xi=ft()||[],_r=()=>(Rt.filters||[]).length===0?M.createElement(xr.Z,{image:xr.Z.PRESENTED_IMAGE_SIMPLE,description:yi.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zn==="tree"?M.createElement(M.Fragment,null,M.createElement(Ns,{filterSearch:$n,value:Ni,onChange:Zi,tablePrefixCls:bt,locale:yi}),M.createElement("div",{className:`${bt}-filter-dropdown-tree`},sn?M.createElement(po.default,{checked:Xi.length===Yo(Rt.filters).length,indeterminate:Xi.length>0&&Xi.lengthtypeof $n=="function"?$n(Ni,ir(rn)):Dr(Ni,rn.title):void 0}))):M.createElement(M.Fragment,null,M.createElement(Ns,{filterSearch:$n,value:Ni,onChange:Zi,tablePrefixCls:bt,locale:yi}),M.createElement(Sn.default,{selectable:!0,multiple:sn,prefixCls:`${ve}-menu`,className:qr,onSelect:en,onDeselect:en,selectedKeys:Xi,getPopupContainer:ji,openKeys:Si,onOpenChange:lr,items:al({filters:Rt.filters||[],filterSearch:$n,prefixCls:Bt,filteredKeys:ft(),filterMultiple:sn,searchValue:Ni})})),uo=()=>E?(0,P.Z)((B||[]).map(rn=>String(rn)),Xi,!0):Xi.length===0;Oi=M.createElement(M.Fragment,null,_r(),M.createElement("div",{className:`${Bt}-dropdown-btns`},M.createElement(Pr.ZP,{type:"link",size:"small",disabled:uo(),onClick:()=>ii()},yi.filterReset),M.createElement(Pr.ZP,{type:"primary",size:"small",onClick:lo},yi.filterConfirm)))}Rt.filterDropdown&&(Oi=M.createElement(hr.J,{selectable:void 0},Oi));const Yi=()=>M.createElement(As,{className:`${Bt}-dropdown`},Oi);let Di;typeof Rt.filterIcon=="function"?Di=Rt.filterIcon($e):Rt.filterIcon?Di=Rt.filterIcon:Di=M.createElement(Ao,null);const{direction:Vr}=M.useContext(Gr.E_);return M.createElement("div",{className:`${Bt}-column`},M.createElement("span",{className:`${bt}-column-title`},ei),M.createElement(Ea.Z,{dropdownRender:Yi,trigger:["click"],open:$t,onOpenChange:Xr,getPopupContainer:ji,placement:Vr==="rtl"?"bottomLeft":"bottomRight"},M.createElement("span",{role:"button",tabIndex:-1,className:We()(`${Bt}-trigger`,{active:$e}),onClick:Xi=>{Xi.stopPropagation()}},Di)))}var Ps=Ds;function Ho(Ee,Le,ht){let bt=[];return(Ee||[]).forEach((Bt,Rt)=>{var ve;const yn=cs(Rt,ht);if(Bt.filters||"filterDropdown"in Bt||"onFilter"in Bt)if("filteredValue"in Bt){let sn=Bt.filteredValue;"filterDropdown"in Bt||(sn=(ve=sn==null?void 0:sn.map(String))!==null&&ve!==void 0?ve:sn),bt.push({column:Bt,key:Na(Bt,yn),filteredKeys:sn,forceFiltered:Bt.filtered})}else bt.push({column:Bt,key:Na(Bt,yn),filteredKeys:Le&&Bt.defaultFilteredValue?Bt.defaultFilteredValue:void 0,forceFiltered:Bt.filtered});"children"in Bt&&(bt=[].concat((0,ti.Z)(bt),(0,ti.Z)(Ho(Bt.children,Le,yn))))}),bt}function os(Ee,Le,ht,bt,Bt,Rt,ve,yn){return ht.map((sn,zn)=>{const $n=cs(zn,yn),{filterMultiple:jn=!0,filterMode:gi,filterSearch:yi}=sn;let ei=sn;if(ei.filters||ei.filterDropdown){const ji=Na(ei,$n),ci=bt.find(Gi=>{let{key:E}=Gi;return ji===E});ei=Object.assign(Object.assign({},ei),{title:Gi=>M.createElement(Ps,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Le,column:ei,columnKey:ji,filterState:ci,filterMultiple:jn,filterMode:gi,filterSearch:yi,triggerFilter:Rt,locale:Bt,getPopupContainer:ve},Za(sn.title,Gi))})}return"children"in ei&&(ei=Object.assign(Object.assign({},ei),{children:os(Ee,Le,ei.children,bt,Bt,Rt,ve,$n)})),ei})}function Ol(Ee){const Le={};return Ee.forEach(ht=>{let{key:bt,filteredKeys:Bt,column:Rt}=ht;const{filters:ve,filterDropdown:yn}=Rt;if(yn)Le[bt]=Bt||null;else if(Array.isArray(Bt)){const sn=Yo(ve);Le[bt]=sn.filter(zn=>Bt.includes(String(zn)))}else Le[bt]=null}),Le}function Xa(Ee,Le){return Le.reduce((ht,bt)=>{const{column:{onFilter:Bt,filters:Rt},filteredKeys:ve}=bt;return Bt&&ve&&ve.length?ht.filter(yn=>ve.some(sn=>{const zn=Yo(Rt),$n=zn.findIndex(gi=>String(gi)===String(sn)),jn=$n!==-1?zn[$n]:sn;return Bt(jn,yn)})):ht},Ee)}const Oa=Ee=>Ee.flatMap(Le=>"children"in Le?[Le].concat((0,ti.Z)(Oa(Le.children||[]))):[Le]);function ml(Ee){let{prefixCls:Le,dropdownPrefixCls:ht,mergedColumns:bt,onFilterChange:Bt,getPopupContainer:Rt,locale:ve}=Ee;const yn=M.useMemo(()=>Oa(bt||[]),[bt]),[sn,zn]=M.useState(()=>Ho(yn,!0)),$n=M.useMemo(()=>{const ei=Ho(yn,!1);if(ei.length===0)return ei;let ji=!0,ci=!0;if(ei.forEach(Gi=>{let{filteredKeys:E}=Gi;E!==void 0?ji=!1:ci=!1}),ji){const Gi=(yn||[]).map((E,B)=>Na(E,cs(B)));return sn.filter(E=>{let{key:B}=E;return Gi.includes(B)}).map(E=>{const B=yn[Gi.findIndex(W=>W===E.key)];return Object.assign(Object.assign({},E),{column:Object.assign(Object.assign({},E.column),B),forceFiltered:B.filtered})})}return ei},[yn,sn]),jn=M.useMemo(()=>Ol($n),[$n]),gi=ei=>{const ji=$n.filter(ci=>{let{key:Gi}=ci;return Gi!==ei.key});ji.push(ei),zn(ji),Bt(Ol(ji),ji)};return[ei=>os(Le,ht,ei,$n,ve,gi,Rt),$n,jn]}var Xo=ml;function js(Ee,Le,ht){const bt=M.useRef({});function Bt(Rt){if(!bt.current||bt.current.data!==Ee||bt.current.childrenColumnName!==Le||bt.current.getRowKey!==ht){let yn=function(sn){sn.forEach((zn,$n)=>{const jn=ht(zn,$n);ve.set(jn,zn),zn&&typeof zn=="object"&&Le in zn&&yn(zn[Le]||[])})};const ve=new Map;yn(Ee),bt.current={data:Ee,childrenColumnName:Le,kvMap:ve,getRowKey:ht}}return bt.current.kvMap.get(Rt)}return[Bt]}var wu=h(50371),Ll=function(Ee,Le){var ht={};for(var bt in Ee)Object.prototype.hasOwnProperty.call(Ee,bt)&&Le.indexOf(bt)<0&&(ht[bt]=Ee[bt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,bt=Object.getOwnPropertySymbols(Ee);Bt{const Rt=Ee[Bt];typeof Rt!="function"&&(ht[Bt]=Rt)}),ht}function Gs(Ee,Le,ht){const bt=ht&&typeof ht=="object"?ht:{},{total:Bt=0}=bt,Rt=Ll(bt,["total"]),[ve,yn]=(0,M.useState)(()=>({current:"defaultCurrent"in Rt?Rt.defaultCurrent:1,pageSize:"defaultPageSize"in Rt?Rt.defaultPageSize:as})),sn=(0,wu.Z)(ve,Rt,{total:Bt>0?Bt:Ee}),zn=Math.ceil((Bt||Ee)/sn.pageSize);sn.current>zn&&(sn.current=zn||1);const $n=(gi,yi)=>{yn({current:gi!=null?gi:1,pageSize:yi||sn.pageSize})},jn=(gi,yi)=>{var ei;ht&&((ei=ht.onChange)===null||ei===void 0||ei.call(ht,gi,yi)),$n(gi,yi),Le(gi,yi||(sn==null?void 0:sn.pageSize))};return ht===!1?[{},()=>{}]:[Object.assign(Object.assign({},sn),{onChange:jn}),$n]}var Vi=Gs,ks=h(84105),Rl=h(35654),Wr=h(90782),wo=h(71430),fa=h(18929);const oa={},ro="SELECT_ALL",aa="SELECT_INVERT",va="SELECT_NONE",La=[],Aa=(Ee,Le)=>{let ht=[];return(Le||[]).forEach(bt=>{ht.push(bt),bt&&typeof bt=="object"&&Ee in bt&&(ht=[].concat((0,ti.Z)(ht),(0,ti.Z)(Aa(Ee,bt[Ee]))))}),ht};var Ys=(Ee,Le)=>{const{preserveSelectedRowKeys:ht,selectedRowKeys:bt,defaultSelectedRowKeys:Bt,getCheckboxProps:Rt,onChange:ve,onSelect:yn,onSelectAll:sn,onSelectInvert:zn,onSelectNone:$n,onSelectMultiple:jn,columnWidth:gi,type:yi,selections:ei,fixed:ji,renderCell:ci,hideSelectAll:Gi,checkStrictly:E=!0}=Le||{},{prefixCls:B,data:W,pageData:q,getRecordByKey:pe,getRowKey:Ce,expandType:$e,childrenColumnName:it,locale:$t,getPopupContainer:Dt}=Ee,[ft,Yt]=(0,fa.Z)(bt||Bt||La,{value:bt}),en=M.useRef(new Map),_t=(0,M.useCallback)(ir=>{if(ht){const Oi=new Map;ir.forEach(Yi=>{let Di=pe(Yi);!Di&&en.current.has(Yi)&&(Di=en.current.get(Yi)),Oi.set(Yi,Di)}),en.current=Oi}},[pe,ht]);M.useEffect(()=>{_t(ft)},[ft]);const{keyEntities:Si}=(0,M.useMemo)(()=>{if(E)return{keyEntities:null};let ir=W;if(ht){const Oi=new Set(W.map((Di,Vr)=>Ce(Di,Vr))),Yi=Array.from(en.current).reduce((Di,Vr)=>{let[Xi,_r]=Vr;return Oi.has(Xi)?Di:Di.concat(_r)},[]);ir=[].concat((0,ti.Z)(ir),(0,ti.Z)(Yi))}return(0,wo.I8)(ir,{externalGetKey:Ce,childrenPropName:it})},[W,Ce,E,it,ht]),li=(0,M.useMemo)(()=>Aa(it,q),[it,q]),lr=(0,M.useMemo)(()=>{const ir=new Map;return li.forEach((Oi,Yi)=>{const Di=Ce(Oi,Yi),Vr=(Rt?Rt(Oi):null)||{};ir.set(Di,Vr)}),ir},[li,Ce,Rt]),Ni=(0,M.useCallback)(ir=>{var Oi;return!!(!((Oi=lr.get(Ce(ir)))===null||Oi===void 0)&&Oi.disabled)},[lr,Ce]),[Or,Zi]=(0,M.useMemo)(()=>{if(E)return[ft||[],[]];const{checkedKeys:ir,halfCheckedKeys:Oi}=(0,Wr.S)(ft,!0,Si,Ni);return[ir||[],Oi]},[ft,E,Si,Ni]),oo=(0,M.useMemo)(()=>{const ir=yi==="radio"?Or.slice(0,1):Or;return new Set(ir)},[Or,yi]),lo=(0,M.useMemo)(()=>yi==="radio"?new Set:new Set(Zi),[Zi,yi]),[ii,qi]=(0,M.useState)(null);M.useEffect(()=>{Le||Yt(La)},[!!Le]);const Xr=(0,M.useCallback)((ir,Oi)=>{let Yi,Di;_t(ir),ht?(Yi=ir,Di=ir.map(Vr=>en.current.get(Vr))):(Yi=[],Di=[],ir.forEach(Vr=>{const Xi=pe(Vr);Xi!==void 0&&(Yi.push(Vr),Di.push(Xi))})),Yt(Yi),ve==null||ve(Yi,Di,{type:Oi})},[Yt,pe,ve,ht]),qr=(0,M.useCallback)((ir,Oi,Yi,Di)=>{if(yn){const Vr=Yi.map(Xi=>pe(Xi));yn(pe(ir),Oi,Vr,Di)}Xr(Yi,"single")},[yn,pe,Xr]),io=(0,M.useMemo)(()=>!ei||Gi?null:(ei===!0?[ro,aa,va]:ei).map(Oi=>Oi===ro?{key:"all",text:$t.selectionAll,onSelect(){Xr(W.map((Yi,Di)=>Ce(Yi,Di)).filter(Yi=>{const Di=lr.get(Yi);return!(Di!=null&&Di.disabled)||oo.has(Yi)}),"all")}}:Oi===aa?{key:"invert",text:$t.selectInvert,onSelect(){const Yi=new Set(oo);q.forEach((Vr,Xi)=>{const _r=Ce(Vr,Xi),uo=lr.get(_r);uo!=null&&uo.disabled||(Yi.has(_r)?Yi.delete(_r):Yi.add(_r))});const Di=Array.from(Yi);zn&&zn(Di),Xr(Di,"invert")}}:Oi===va?{key:"none",text:$t.selectNone,onSelect(){$n==null||$n(),Xr(Array.from(oo).filter(Yi=>{const Di=lr.get(Yi);return Di==null?void 0:Di.disabled}),"none")}}:Oi).map(Oi=>Object.assign(Object.assign({},Oi),{onSelect:function(){for(var Yi,Di,Vr=arguments.length,Xi=new Array(Vr),_r=0;_r{var Oi;if(!Le)return ir.filter(Ro=>Ro!==oa);let Yi=(0,ti.Z)(ir);const Di=new Set(oo),Vr=li.map(Ce).filter(Ro=>!lr.get(Ro).disabled),Xi=Vr.every(Ro=>Di.has(Ro)),_r=Vr.some(Ro=>Di.has(Ro)),uo=()=>{const Ro=[];Xi?Vr.forEach(Mo=>{Di.delete(Mo),Ro.push(Mo)}):Vr.forEach(Mo=>{Di.has(Mo)||(Di.add(Mo),Ro.push(Mo))});const To=Array.from(Di);sn==null||sn(!Xi,To.map(Mo=>pe(Mo)),Ro.map(Mo=>pe(Mo))),Xr(To,"all"),qi(null)};let rn;if(yi!=="radio"){let Ro;if(io){const d={getPopupContainer:Dt,items:io.map((g,K)=>{const{key:tt,text:mn,onSelect:Zn}=g;return{key:tt!=null?tt:K,onClick:()=>{Zn==null||Zn(Vr)},label:mn}})};Ro=M.createElement("div",{className:`${B}-selection-extra`},M.createElement(Ea.Z,{menu:d,getPopupContainer:Dt},M.createElement("span",null,M.createElement(ks.Z,null))))}const To=li.map((d,g)=>{const K=Ce(d,g),tt=lr.get(K)||{};return Object.assign({checked:Di.has(K)},tt)}).filter(d=>{let{disabled:g}=d;return g}),Mo=!!To.length&&To.length===li.length,ia=Mo&&To.every(d=>{let{checked:g}=d;return g}),ja=Mo&&To.some(d=>{let{checked:g}=d;return g});rn=!Gi&&M.createElement("div",{className:`${B}-selection`},M.createElement(po.default,{checked:Mo?ia:!!li.length&&Xi,indeterminate:Mo?!ia&&ja:!Xi&&_r,onChange:uo,disabled:li.length===0||Mo,"aria-label":Ro?"Custom selection":"Select all",skipGroup:!0}),Ro)}let ya;yi==="radio"?ya=(Ro,To,Mo)=>{const ia=Ce(To,Mo),ja=Di.has(ia);return{node:M.createElement(mi.ZP,Object.assign({},lr.get(ia),{checked:ja,onClick:d=>d.stopPropagation(),onChange:d=>{Di.has(ia)||qr(ia,!0,[ia],d.nativeEvent)}})),checked:ja}}:ya=(Ro,To,Mo)=>{var ia;const ja=Ce(To,Mo),d=Di.has(ja),g=lo.has(ja),K=lr.get(ja);let tt;return $e==="nest"?tt=g:tt=(ia=K==null?void 0:K.indeterminate)!==null&&ia!==void 0?ia:g,{node:M.createElement(po.default,Object.assign({},K,{indeterminate:tt,checked:d,skipGroup:!0,onClick:mn=>mn.stopPropagation(),onChange:mn=>{let{nativeEvent:Zn}=mn;const{shiftKey:Ti}=Zn;let Tr=-1,Ur=-1;if(Ti&&E){const Kr=new Set([ii,ja]);Vr.some((Ra,xa)=>{if(Kr.has(Ra))if(Tr===-1)Tr=xa;else return Ur=xa,!0;return!1})}if(Ur!==-1&&Tr!==Ur&&E){const Kr=Vr.slice(Tr,Ur+1),Ra=[];d?Kr.forEach(ri=>{Di.has(ri)&&(Ra.push(ri),Di.delete(ri))}):Kr.forEach(ri=>{Di.has(ri)||(Ra.push(ri),Di.add(ri))});const xa=Array.from(Di);jn==null||jn(!d,xa.map(ri=>pe(ri)),Ra.map(ri=>pe(ri))),Xr(xa,"multiple")}else{const Kr=Or;if(E){const Ra=d?(0,Rl._5)(Kr,ja):(0,Rl.L0)(Kr,ja);qr(ja,!d,Ra,Zn)}else{const Ra=(0,Wr.S)([].concat((0,ti.Z)(Kr),[ja]),!0,Si,Ni),{checkedKeys:xa,halfCheckedKeys:ri}=Ra;let rr=xa;if(d){const bo=new Set(xa);bo.delete(ja),rr=(0,Wr.S)(Array.from(bo),{checked:!1,halfCheckedKeys:ri},Si,Ni).checkedKeys}qr(ja,!d,rr,Zn)}}qi(d?null:ja)}})),checked:d}};const ba=(Ro,To,Mo)=>{const{node:ia,checked:ja}=ya(Ro,To,Mo);return ci?ci(ja,To,Mo,ia):ia};if(!Yi.includes(oa))if(Yi.findIndex(Ro=>{var To;return((To=Ro[vi])===null||To===void 0?void 0:To.columnType)==="EXPAND_COLUMN"})===0){const[Ro,...To]=Yi;Yi=[Ro,oa].concat((0,ti.Z)(To))}else Yi=[oa].concat((0,ti.Z)(Yi));const wn=Yi.indexOf(oa);Yi=Yi.filter((Ro,To)=>Ro!==oa||To===wn);const mo=Yi[wn-1],_a=Yi[wn+1];let la=ji;la===void 0&&((_a==null?void 0:_a.fixed)!==void 0?la=_a.fixed:(mo==null?void 0:mo.fixed)!==void 0&&(la=mo.fixed)),la&&mo&&((Oi=mo[vi])===null||Oi===void 0?void 0:Oi.columnType)==="EXPAND_COLUMN"&&mo.fixed===void 0&&(mo.fixed=la);const za=We()(`${B}-selection-col`,{[`${B}-selection-col-with-dropdown`]:ei&&yi==="checkbox"}),$a={fixed:la,width:gi,className:`${B}-selection-column`,title:Le.columnTitle||rn,render:ba,onCell:Le.onCell,[vi]:{className:za}};return Yi.map(Ro=>Ro===oa?$a:Ro)},[Ce,li,Le,Or,oo,lo,gi,io,$e,ii,lr,jn,qr,Ni]),oo]},ka=h(89489),hc=h(59477),Zu=h(6848);const uu="ascend",sr="descend";function Ws(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function qe(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function Pn(Ee,Le){return Le?Ee[Ee.indexOf(Le)+1]:Ee[0]}function Cu(Ee,Le,ht){let bt=[];function Bt(Rt,ve){bt.push({column:Rt,key:Na(Rt,ve),multiplePriority:Ws(Rt),sortOrder:Rt.sortOrder})}return(Ee||[]).forEach((Rt,ve)=>{const yn=cs(ve,ht);Rt.children?("sortOrder"in Rt&&Bt(Rt,yn),bt=[].concat((0,ti.Z)(bt),(0,ti.Z)(Cu(Rt.children,Le,yn)))):Rt.sorter&&("sortOrder"in Rt?Bt(Rt,yn):Le&&Rt.defaultSortOrder&&bt.push({column:Rt,key:Na(Rt,yn),multiplePriority:Ws(Rt),sortOrder:Rt.defaultSortOrder}))}),bt}function Yu(Ee,Le,ht,bt,Bt,Rt,ve,yn){return(Le||[]).map((sn,zn)=>{const $n=cs(zn,yn);let jn=sn;if(jn.sorter){const gi=jn.sortDirections||Bt,yi=jn.showSorterTooltip===void 0?ve:jn.showSorterTooltip,ei=Na(jn,$n),ji=ht.find($e=>{let{key:it}=$e;return it===ei}),ci=ji?ji.sortOrder:null,Gi=Pn(gi,ci);let E;if(sn.sortIcon)E=sn.sortIcon({sortOrder:ci});else{const $e=gi.includes(uu)&&M.createElement(hc.Z,{className:We()(`${Ee}-column-sorter-up`,{active:ci===uu})}),it=gi.includes(sr)&&M.createElement(ka.Z,{className:We()(`${Ee}-column-sorter-down`,{active:ci===sr})});E=M.createElement("span",{className:We()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!($e&&it)})},M.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},$e,it))}const{cancelSort:B,triggerAsc:W,triggerDesc:q}=Rt||{};let pe=B;Gi===sr?pe=q:Gi===uu&&(pe=W);const Ce=typeof yi=="object"?yi:{title:pe};jn=Object.assign(Object.assign({},jn),{className:We()(jn.className,{[`${Ee}-column-sort`]:ci}),title:$e=>{const it=M.createElement("div",{className:`${Ee}-column-sorters`},M.createElement("span",{className:`${Ee}-column-title`},Za(sn.title,$e)),E);return yi?M.createElement(Zu.Z,Object.assign({},Ce),it):it},onHeaderCell:$e=>{const it=sn.onHeaderCell&&sn.onHeaderCell($e)||{},$t=it.onClick,Dt=it.onKeyDown;it.onClick=en=>{bt({column:sn,key:ei,sortOrder:Gi,multiplePriority:Ws(sn)}),$t==null||$t(en)},it.onKeyDown=en=>{en.keyCode===si.Z.ENTER&&(bt({column:sn,key:ei,sortOrder:Gi,multiplePriority:Ws(sn)}),Dt==null||Dt(en))};const ft=Go(sn.title,{}),Yt=ft==null?void 0:ft.toString();return ci?it["aria-sort"]=ci==="ascend"?"ascending":"descending":it["aria-label"]=Yt||"",it.className=We()(it.className,`${Ee}-column-has-sorters`),it.tabIndex=0,sn.ellipsis&&(it.title=(ft!=null?ft:"").toString()),it}})}return"children"in jn&&(jn=Object.assign(Object.assign({},jn),{children:Yu(Ee,jn.children,ht,bt,Bt,Rt,ve,$n)})),jn})}function Dl(Ee){const{column:Le,sortOrder:ht}=Ee;return{column:Le,order:ht,field:Le.dataIndex,columnKey:Le.key}}function Pl(Ee){const Le=Ee.filter(ht=>{let{sortOrder:bt}=ht;return bt}).map(Dl);return Le.length===0&&Ee.length?Object.assign(Object.assign({},Dl(Ee[Ee.length-1])),{column:void 0}):Le.length<=1?Le[0]||{}:Le}function gl(Ee,Le,ht){const bt=Le.slice().sort((ve,yn)=>yn.multiplePriority-ve.multiplePriority),Bt=Ee.slice(),Rt=bt.filter(ve=>{let{column:{sorter:yn},sortOrder:sn}=ve;return qe(yn)&&sn});return Rt.length?Bt.sort((ve,yn)=>{for(let sn=0;sn{const yn=ve[ht];return yn?Object.assign(Object.assign({},ve),{[ht]:gl(yn,Le,ht)}):ve}):Bt}function Xu(Ee){let{prefixCls:Le,mergedColumns:ht,onSorterChange:bt,sortDirections:Bt,tableLocale:Rt,showSorterTooltip:ve}=Ee;const[yn,sn]=M.useState(Cu(ht,!0)),zn=M.useMemo(()=>{let ei=!0;const ji=Cu(ht,!1);if(!ji.length)return yn;const ci=[];function Gi(B){ei?ci.push(B):ci.push(Object.assign(Object.assign({},B),{sortOrder:null}))}let E=null;return ji.forEach(B=>{E===null?(Gi(B),B.sortOrder&&(B.multiplePriority===!1?ei=!1:E=!0)):(E&&B.multiplePriority!==!1||(ei=!1),Gi(B))}),ci},[ht,yn]),$n=M.useMemo(()=>{const ei=zn.map(ji=>{let{column:ci,sortOrder:Gi}=ji;return{column:ci,order:Gi}});return{sortColumns:ei,sortColumn:ei[0]&&ei[0].column,sortOrder:ei[0]&&ei[0].order}},[zn]);function jn(ei){let ji;ei.multiplePriority===!1||!zn.length||zn[0].multiplePriority===!1?ji=[ei]:ji=[].concat((0,ti.Z)(zn.filter(ci=>{let{key:Gi}=ci;return Gi!==ei.key})),[ei]),sn(ji),bt(Pl(ji),ji)}return[ei=>Yu(Le,ei,zn,jn,Bt,Rt,ve),zn,$n,()=>Pl(zn)]}function cu(Ee,Le){return Ee.map(ht=>{const bt=Object.assign({},ht);return bt.title=Za(ht.title,Le),"children"in bt&&(bt.children=cu(bt.children,Le)),bt})}function Ia(Ee){return[M.useCallback(ht=>cu(ht,Ee),[Ee])]}var Lr=Et((Ee,Le)=>{const{_renderTimes:ht}=Ee,{_renderTimes:bt}=Le;return ht!==bt}),Fs=Cr((Ee,Le)=>{const{_renderTimes:ht}=Ee,{_renderTimes:bt}=Le;return ht!==bt}),gs=h(64993),xo=h(17313),so=h(83116),Ha=h(37613),sa=Ee=>{const{componentCls:Le}=Ee,ht=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,bt=(Bt,Rt,ve)=>({[`&${Le}-${Bt}`]:{[`> ${Le}-container`]:{[`> ${Le}-content, > ${Le}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Le}-expanded-row-fixed`]:{margin:`-${Rt}px -${ve+Ee.lineWidth}px`}}}}}});return{[`${Le}-wrapper`]:{[`${Le}${Le}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Le}-title`]:{border:ht,borderBottom:0},[`> ${Le}-container`]:{borderInlineStart:ht,borderTop:ht,[` - > ${Le}-content, - > ${Le}-header, - > ${Le}-body, - > ${Le}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ht},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ht},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Le}-cell-fix-right-first::after`]:{borderInlineEnd:ht}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Le}-expanded-row-fixed`]:{margin:`-${Ee.tablePaddingVertical}px -${Ee.tablePaddingHorizontal+Ee.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ee.lineWidth,bottom:0,borderInlineEnd:ht,content:'""'}}}}}},[`&${Le}-scroll-horizontal`]:{[`> ${Le}-container > ${Le}-body`]:{"> table > tbody":{[` - > tr${Le}-expanded-row, - > tr${Le}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},bt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),bt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Le}-footer`]:{border:ht,borderTop:0}}),[`${Le}-cell`]:{[`${Le}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ee.lineWidth}px 0 ${Ee.lineWidth}px ${Ee.tableHeaderBg}`}},[`${Le}-bordered ${Le}-cell-scrollbar`]:{borderInlineEnd:ht}}}},ss=Ee=>{const{componentCls:Le}=Ee;return{[`${Le}-wrapper`]:{[`${Le}-cell-ellipsis`]:Object.assign(Object.assign({},xo.vS),{wordBreak:"keep-all",[` - &${Le}-cell-fix-left-last, - &${Le}-cell-fix-right-first - `]:{overflow:"visible",[`${Le}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Le}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Bo=Ee=>{const{componentCls:Le}=Ee;return{[`${Le}-wrapper`]:{[`${Le}-tbody > tr${Le}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},Es=h(15969),Jo=Ee=>{const{componentCls:Le,antCls:ht,controlInteractiveSize:bt,motionDurationSlow:Bt,lineWidth:Rt,paddingXS:ve,lineType:yn,tableBorderColor:sn,tableExpandIconBg:zn,tableExpandColumnWidth:$n,borderRadius:jn,fontSize:gi,fontSizeSM:yi,lineHeight:ei,tablePaddingVertical:ji,tablePaddingHorizontal:ci,tableExpandedRowBg:Gi,paddingXXS:E}=Ee,B=bt/2-Rt,W=B*2+Rt*3,q=`${Rt}px ${yn} ${sn}`,pe=E-Rt;return{[`${Le}-wrapper`]:{[`${Le}-expand-icon-col`]:{width:$n},[`${Le}-row-expand-icon-cell`]:{textAlign:"center",[`${Le}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Le}-row-indent`]:{height:1,float:"left"},[`${Le}-row-expand-icon`]:Object.assign(Object.assign({},(0,Es.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:W,height:W,padding:0,color:"inherit",lineHeight:`${W}px`,background:zn,border:q,borderRadius:jn,transform:`scale(${bt/W})`,transition:`all ${Bt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Bt} ease-out`,content:'""'},"&::before":{top:B,insetInlineEnd:pe,insetInlineStart:pe,height:Rt},"&::after":{top:pe,bottom:pe,insetInlineStart:B,width:Rt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Le}-row-indent + ${Le}-row-expand-icon`]:{marginTop:(gi*ei-Rt*3)/2-Math.ceil((yi*1.4-Rt*3)/2),marginInlineEnd:ve},[`tr${Le}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Gi}},[`${ht}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Le}-expanded-row-fixed`]:{position:"relative",margin:`-${ji}px -${ci}px`,padding:`${ji}px ${ci}px`}}}},wa=Ee=>{const{componentCls:Le,antCls:ht,iconCls:bt,tableFilterDropdownWidth:Bt,tableFilterDropdownSearchWidth:Rt,paddingXXS:ve,paddingXS:yn,colorText:sn,lineWidth:zn,lineType:$n,tableBorderColor:jn,tableHeaderIconColor:gi,fontSizeSM:yi,tablePaddingHorizontal:ei,borderRadius:ji,motionDurationSlow:ci,colorTextDescription:Gi,colorPrimary:E,tableHeaderFilterActiveBg:B,colorTextDisabled:W,tableFilterDropdownBg:q,tableFilterDropdownHeight:pe,controlItemBgHover:Ce,controlItemBgActive:$e,boxShadowSecondary:it,filterDropdownMenuBg:$t}=Ee,Dt=`${ht}-dropdown`,ft=`${Le}-filter-dropdown`,Yt=`${ht}-tree`,en=`${zn}px ${$n} ${jn}`;return[{[`${Le}-wrapper`]:{[`${Le}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Le}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ve,marginInline:`${ve}px ${-ei/2}px`,padding:`0 ${ve}px`,color:gi,fontSize:yi,borderRadius:ji,cursor:"pointer",transition:`all ${ci}`,"&:hover":{color:Gi,background:B},"&.active":{color:E}}}},{[`${ht}-dropdown`]:{[ft]:Object.assign(Object.assign({},(0,xo.Wf)(Ee)),{minWidth:Bt,backgroundColor:q,borderRadius:ji,boxShadow:it,overflow:"hidden",[`${Dt}-menu`]:{maxHeight:pe,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:$t,"&:empty::after":{display:"block",padding:`${yn}px 0`,color:W,fontSize:yi,textAlign:"center",content:'"Not Found"'}},[`${ft}-tree`]:{paddingBlock:`${yn}px 0`,paddingInline:yn,[Yt]:{padding:0},[`${Yt}-treenode ${Yt}-node-content-wrapper:hover`]:{backgroundColor:Ce},[`${Yt}-treenode-checkbox-checked ${Yt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:$e}}},[`${ft}-search`]:{padding:yn,borderBottom:en,"&-input":{input:{minWidth:Rt},[bt]:{color:W}}},[`${ft}-checkall`]:{width:"100%",marginBottom:ve,marginInlineStart:ve},[`${ft}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${yn-zn}px ${yn}px`,overflow:"hidden",borderTop:en}})}},{[`${ht}-dropdown ${ft}, ${ft}-submenu`]:{[`${ht}-checkbox-wrapper + span`]:{paddingInlineStart:yn,color:sn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},du=Ee=>{const{componentCls:Le,lineWidth:ht,colorSplit:bt,motionDurationSlow:Bt,zIndexTableFixed:Rt,tableBg:ve,zIndexTableSticky:yn}=Ee,sn=bt;return{[`${Le}-wrapper`]:{[` - ${Le}-cell-fix-left, - ${Le}-cell-fix-right - `]:{position:"sticky !important",zIndex:Rt,background:ve},[` - ${Le}-cell-fix-left-first::after, - ${Le}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ht,width:30,transform:"translateX(100%)",transition:`box-shadow ${Bt}`,content:'""',pointerEvents:"none"},[`${Le}-cell-fix-left-all::after`]:{display:"none"},[` - ${Le}-cell-fix-right-first::after, - ${Le}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-ht,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Bt}`,content:'""',pointerEvents:"none"},[`${Le}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:yn+1,width:30,transition:`box-shadow ${Bt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Le}-ping-left`]:{[`&:not(${Le}-has-fix-left) ${Le}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${sn}`}},[` - ${Le}-cell-fix-left-first::after, - ${Le}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${sn}`},[`${Le}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Le}-ping-right`]:{[`&:not(${Le}-has-fix-right) ${Le}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${sn}`}},[` - ${Le}-cell-fix-right-first::after, - ${Le}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${sn}`}}}}},sl=Ee=>{const{componentCls:Le,antCls:ht}=Ee;return{[`${Le}-wrapper`]:{[`${Le}-pagination${ht}-pagination`]:{margin:`${Ee.margin}px 0`},[`${Le}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ee.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Qu=Ee=>{const{componentCls:Le,tableRadius:ht}=Ee;return{[`${Le}-wrapper`]:{[Le]:{[`${Le}-title, ${Le}-header`]:{borderRadius:`${ht}px ${ht}px 0 0`},[`${Le}-title + ${Le}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Le}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ht,borderStartEndRadius:ht,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ht},"> *:last-child":{borderStartEndRadius:ht}}},"&-footer":{borderRadius:`0 0 ${ht}px ${ht}px`}}}}},qu=Ee=>{const{componentCls:Le}=Ee;return{[`${Le}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Le}-pagination-left`]:{justifyContent:"flex-end"},[`${Le}-pagination-right`]:{justifyContent:"flex-start"},[`${Le}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Le}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Le}-row-indent`]:{float:"right"}}}}},_u=Ee=>{const{componentCls:Le,antCls:ht,iconCls:bt,fontSizeIcon:Bt,padding:Rt,paddingXS:ve,tableHeaderIconColor:yn,tableHeaderIconColorHover:sn,tableSelectionColumnWidth:zn}=Ee;return{[`${Le}-wrapper`]:{[`${Le}-selection-col`]:{width:zn,[`&${Le}-selection-col-with-dropdown`]:{width:zn+Bt+Rt/4}},[`${Le}-bordered ${Le}-selection-col`]:{width:zn+ve*2,[`&${Le}-selection-col-with-dropdown`]:{width:zn+Bt+Rt/4+ve*2}},[` - table tr th${Le}-selection-column, - table tr td${Le}-selection-column - `]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${ht}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Le}-selection-column${Le}-cell-fix-left`]:{zIndex:Ee.zIndexTableFixed+1},[`table tr th${Le}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Le}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Le}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ee.tablePaddingHorizontal/4}px`,[bt]:{color:yn,fontSize:Bt,verticalAlign:"baseline","&:hover":{color:sn}}}}}},Qs=Ee=>{const{componentCls:Le}=Ee,ht=(bt,Bt,Rt,ve)=>({[`${Le}${Le}-${bt}`]:{fontSize:ve,[` - ${Le}-title, - ${Le}-footer, - ${Le}-cell, - ${Le}-thead > tr > th, - ${Le}-tbody > tr > th, - ${Le}-tbody > tr > td, + `]:{paddingInlineEnd:ee.fontSize*1.5}}}},Ce((0,O.TS)(ee,{controlHeight:ee.singleItemHeightLG,fontSize:ee.fontSizeLG,borderRadius:ee.borderRadiusLG}),"lg")]}const Pe=ee=>{const{componentCls:Ne,selectorBg:Ie}=ee;return{position:"relative",backgroundColor:Ie,border:`${ee.lineWidth}px ${ee.lineType} ${ee.colorBorder}`,transition:`all ${ee.motionDurationMid} ${ee.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ne}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Ne}-disabled&`]:{color:ee.colorTextDisabled,background:ee.colorBgContainerDisabled,cursor:"not-allowed",[`${Ne}-multiple&`]:{background:ee.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},fe=function(ee,Ne){let Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Le,borderHoverColor:Je,outlineColor:Ye,antCls:re}=Ne,lt=Ie?{[`${Le}-selector`]:{borderColor:Je}}:{};return{[ee]:{[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${re}-pagination-size-changer)`]:Object.assign(Object.assign({},lt),{[`${Le}-focused& ${Le}-selector`]:{borderColor:Je,boxShadow:`0 0 0 ${Ne.controlOutlineWidth}px ${Ye}`,outline:0},[`&:hover ${Le}-selector`]:{borderColor:Je}})}}},pe=ee=>{const{componentCls:Ne}=ee;return{[`${Ne}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},xe=ee=>{const{componentCls:Ne,inputPaddingHorizontalBase:Ie,iconCls:Le}=ee;return{[Ne]:Object.assign(Object.assign({},(0,v.Wf)(ee)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Ne}-customize-input) ${Ne}-selector`]:Object.assign(Object.assign({},Pe(ee)),pe(ee)),[`${Ne}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},v.vS),[`${Ne}-selection-placeholder`]:Object.assign(Object.assign({},v.vS),{flex:1,color:ee.colorTextPlaceholder,pointerEvents:"none"}),[`${Ne}-arrow`]:Object.assign(Object.assign({},(0,v.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ie,height:ee.fontSizeIcon,marginTop:-ee.fontSizeIcon/2,color:ee.colorTextQuaternary,fontSize:ee.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Le]:{verticalAlign:"top",transition:`transform ${ee.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ne}-suffix)`]:{pointerEvents:"auto"}},[`${Ne}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ne}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ie,zIndex:1,display:"inline-block",width:ee.fontSizeIcon,height:ee.fontSizeIcon,marginTop:-ee.fontSizeIcon/2,color:ee.colorTextQuaternary,fontSize:ee.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:ee.clearBg,cursor:"pointer",opacity:0,transition:`color ${ee.motionDurationMid} ease, opacity ${ee.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ee.colorTextTertiary}},"&:hover":{[`${Ne}-clear`]:{opacity:1}}}),[`${Ne}-has-feedback`]:{[`${Ne}-clear`]:{insetInlineEnd:Ie+ee.fontSize+ee.paddingXS}}}},me=ee=>{const{componentCls:Ne}=ee;return[{[Ne]:{[`&-borderless ${Ne}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Ne}-in-form-item`]:{width:"100%"}}},xe(ee),Ae(ee),Oe(ee),ae(ee),{[`${Ne}-rtl`]:{direction:"rtl"}},fe(Ne,(0,O.TS)(ee,{borderHoverColor:ee.colorPrimaryHover,outlineColor:ee.controlOutline})),fe(`${Ne}-status-error`,(0,O.TS)(ee,{borderHoverColor:ee.colorErrorHover,outlineColor:ee.colorErrorOutline}),!0),fe(`${Ne}-status-warning`,(0,O.TS)(ee,{borderHoverColor:ee.colorWarningHover,outlineColor:ee.colorWarningOutline}),!0),(0,I.c)(ee,{borderElCls:`${Ne}-selector`,focusElCls:`${Ne}-focused`})]};var ke=(0,B.Z)("Select",(ee,Ne)=>{let{rootPrefixCls:Ie}=Ne;const Le=(0,O.TS)(ee,{rootPrefixCls:Ie,inputPaddingHorizontalBase:ee.paddingSM-1,multipleSelectItemHeight:ee.multipleItemHeight});return[me(Le)]},ee=>{const{fontSize:Ne,lineHeight:Ie,controlHeight:Le,controlPaddingHorizontal:Je,zIndexPopupBase:Ye,colorText:re,fontWeightStrong:lt,controlItemBgActive:We,controlItemBgHover:Pt,colorBgContainer:xt,colorFillSecondary:kt,controlHeightLG:Ct,controlHeightSM:Cn,colorBgContainerDisabled:Qe,colorTextDisabled:le}=ee;return{zIndexPopup:Ye+50,optionSelectedColor:re,optionSelectedFontWeight:lt,optionSelectedBg:We,optionActiveBg:Pt,optionPadding:`${(Le-Ne*Ie)/2}px ${Je}px`,optionFontSize:Ne,optionLineHeight:Ie,optionHeight:Le,selectorBg:xt,clearBg:xt,singleItemHeightLG:Ct,multipleItemBg:kt,multipleItemBorderColor:"transparent",multipleItemHeight:Cn,multipleItemHeightLG:Le,multipleSelectorBgDisabled:Qe,multipleItemColorDisabled:le,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});const v=O=>{const G={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:O==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},G),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},G),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},G),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},G),{points:["br","tr"],offset:[0,-4]})}};function I(O,B){return O||v(B)}},84443:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});function v(I,O){return O!==void 0?O:I!==null}},66339:function(Q,C,h){"use strict";h.d(C,{Z:function(){return de}});var v=h(40001),I=h(19248),O=h(99267),B=h(84105),G=h(58617),F=h(47472),M=h(59301);function de(ae){let{suffixIcon:te,clearIcon:Me,menuItemSelectedIcon:we,removeIcon:Xe,loading:Oe,multiple:Ce,hasFeedback:Ae,prefixCls:Pe,showSuffixIcon:fe,feedbackIcon:pe,showArrow:xe,componentName:me}=ae;const ke=Me!=null?Me:M.createElement(I.Z,null),ee=Je=>te===null&&!Ae&&!xe?null:M.createElement(M.Fragment,null,fe!==!1&&Je,Ae&&pe);let Ne=null;if(te!==void 0)Ne=ee(te);else if(Oe)Ne=ee(M.createElement(G.Z,{spin:!0}));else{const Je=`${Pe}-suffix`;Ne=Ye=>{let{open:re,showSearch:lt}=Ye;return ee(re&<?M.createElement(F.Z,{className:Je}):M.createElement(B.Z,{className:Je}))}}let Ie=null;we!==void 0?Ie=we:Ce?Ie=M.createElement(v.Z,null):Ie=null;let Le=null;return Xe!==void 0?Le=Xe:Le=M.createElement(O.Z,null),{clearIcon:ke,suffixIcon:Ne,itemIcon:Ie,removeIcon:Le}}},81327:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Pe}});var v=h(59301),I=h(92310),O=h.n(I),B=h(11592),G=h(36355),F=h(33234);const M=v.createContext({latestIndex:0}),de=M.Provider;var te=fe=>{let{className:pe,index:xe,children:me,split:ke,style:ee}=fe;const{latestIndex:Ne}=v.useContext(M);return me==null?null:v.createElement(v.Fragment,null,v.createElement("div",{className:pe,style:ee},me),xe{var xe,me;const{getPrefixCls:ke,space:ee,direction:Ne}=v.useContext(G.E_),{size:Ie=(ee==null?void 0:ee.size)||"small",align:Le,className:Je,rootClassName:Ye,children:re,direction:lt="horizontal",prefixCls:We,split:Pt,style:xt,wrap:kt=!1,classNames:Ct,styles:Cn}=fe,Qe=Oe(fe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[le,ce]=Array.isArray(Ie)?Ie:[Ie,Ie],Ht=we(ce),Vt=we(le),St=Xe(ce),sn=Xe(le),Ft=(0,B.Z)(re,{keepEmpty:!0}),oi=Le===void 0&<==="horizontal"?"center":Le,On=ke("space",We),[ni,Jn]=(0,Me.Z)(On),Mn=O()(On,ee==null?void 0:ee.className,Jn,`${On}-${lt}`,{[`${On}-rtl`]:Ne==="rtl",[`${On}-align-${oi}`]:oi,[`${On}-gap-row-${ce}`]:Ht,[`${On}-gap-col-${le}`]:Vt},Je,Ye),In=O()(`${On}-item`,(xe=Ct==null?void 0:Ct.item)!==null&&xe!==void 0?xe:(me=ee==null?void 0:ee.classNames)===null||me===void 0?void 0:me.item);let ie=0;const z=Ft.map((X,T)=>{var _e,It;X!=null&&(ie=T);const $e=X&&X.key||`${In}-${T}`;return v.createElement(te,{className:In,key:$e,index:T,split:Pt,style:(_e=Cn==null?void 0:Cn.item)!==null&&_e!==void 0?_e:(It=ee==null?void 0:ee.styles)===null||It===void 0?void 0:It.item},X)}),k=v.useMemo(()=>({latestIndex:ie}),[ie]);if(Ft.length===0)return null;const j={};return kt&&(j.flexWrap="wrap"),!Vt&&sn&&(j.columnGap=le),!Ht&&St&&(j.rowGap=ce),ni(v.createElement("div",Object.assign({ref:pe,className:Mn,style:Object.assign(Object.assign(Object.assign({},j),ee==null?void 0:ee.style),xt)},Qe),v.createElement(de,{value:k},z)))});Ae.Compact=F.ZP;var Pe=Ae},15969:function(Q,C,h){"use strict";h.d(C,{N:function(){return v}});const v=I=>({color:I.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${I.motionDurationSlow}`,"&:focus, &:hover":{color:I.colorLinkHover},"&:active":{color:I.colorLinkActive}})},78673:function(Q,C,h){"use strict";h.d(C,{Z:function(){return lt}});var v=h(58617),I=h(92310),O=h.n(I),B=h(92413),G=h(400),F=h(33606),M=h(37061),de=h(59301),ae=h(18929),te=h(10228),Me=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],we=de.forwardRef(function(We,Pt){var xt,kt=We.prefixCls,Ct=kt===void 0?"rc-switch":kt,Cn=We.className,Qe=We.checked,le=We.defaultChecked,ce=We.disabled,Ht=We.loadingIcon,Vt=We.checkedChildren,St=We.unCheckedChildren,sn=We.onClick,Ft=We.onChange,oi=We.onKeyDown,On=(0,M.Z)(We,Me),ni=(0,ae.Z)(!1,{value:Qe,defaultValue:le}),Jn=(0,F.Z)(ni,2),Mn=Jn[0],In=Jn[1];function ie(X,T){var _e=Mn;return ce||(_e=X,In(_e),Ft==null||Ft(_e,T)),_e}function z(X){X.which===te.Z.LEFT?ie(!1,X):X.which===te.Z.RIGHT&&ie(!0,X),oi==null||oi(X)}function k(X){var T=ie(!Mn,X);sn==null||sn(T,X)}var j=O()(Ct,Cn,(xt={},(0,G.Z)(xt,"".concat(Ct,"-checked"),Mn),(0,G.Z)(xt,"".concat(Ct,"-disabled"),ce),xt));return de.createElement("button",(0,B.Z)({},On,{type:"button",role:"switch","aria-checked":Mn,disabled:ce,className:j,ref:Pt,onKeyDown:z,onClick:k}),Ht,de.createElement("span",{className:"".concat(Ct,"-inner")},de.createElement("span",{className:"".concat(Ct,"-inner-checked")},Vt),de.createElement("span",{className:"".concat(Ct,"-inner-unchecked")},St)))});we.displayName="Switch";var Xe=we,Oe=h(14088),Ce=h(36355),Ae=h(1684),Pe=h(19716),fe=h(64993),pe=h(17313),xe=h(83116),me=h(37613);const ke=We=>{const{componentCls:Pt,trackHeightSM:xt,trackPadding:kt,trackMinWidthSM:Ct,innerMinMarginSM:Cn,innerMaxMarginSM:Qe,handleSizeSM:le}=We,ce=`${Pt}-inner`;return{[Pt]:{[`&${Pt}-small`]:{minWidth:Ct,height:xt,lineHeight:`${xt}px`,[`${Pt}-inner`]:{paddingInlineStart:Qe,paddingInlineEnd:Cn,[`${ce}-checked`]:{marginInlineStart:`calc(-100% + ${le+kt*2}px - ${Qe*2}px)`,marginInlineEnd:`calc(100% - ${le+kt*2}px + ${Qe*2}px)`},[`${ce}-unchecked`]:{marginTop:-xt,marginInlineStart:0,marginInlineEnd:0}},[`${Pt}-handle`]:{width:le,height:le},[`${Pt}-loading-icon`]:{top:(le-We.switchLoadingIconSize)/2,fontSize:We.switchLoadingIconSize},[`&${Pt}-checked`]:{[`${Pt}-inner`]:{paddingInlineStart:Cn,paddingInlineEnd:Qe,[`${ce}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ce}-unchecked`]:{marginInlineStart:`calc(100% - ${le+kt*2}px + ${Qe*2}px)`,marginInlineEnd:`calc(-100% + ${le+kt*2}px - ${Qe*2}px)`}},[`${Pt}-handle`]:{insetInlineStart:`calc(100% - ${le+kt}px)`}},[`&:not(${Pt}-disabled):active`]:{[`&:not(${Pt}-checked) ${ce}`]:{[`${ce}-unchecked`]:{marginInlineStart:We.marginXXS/2,marginInlineEnd:-We.marginXXS/2}},[`&${Pt}-checked ${ce}`]:{[`${ce}-checked`]:{marginInlineStart:-We.marginXXS/2,marginInlineEnd:We.marginXXS/2}}}}}}},ee=We=>{const{componentCls:Pt,handleSize:xt}=We;return{[Pt]:{[`${Pt}-loading-icon${We.iconCls}`]:{position:"relative",top:(xt-We.fontSize)/2,color:We.switchLoadingIconColor,verticalAlign:"top"},[`&${Pt}-checked ${Pt}-loading-icon`]:{color:We.switchColor}}}},Ne=We=>{const{componentCls:Pt,motion:xt,trackPadding:kt,handleBg:Ct,handleShadow:Cn,handleSize:Qe}=We,le=`${Pt}-handle`;return{[Pt]:{[le]:{position:"absolute",top:kt,insetInlineStart:kt,width:Qe,height:Qe,transition:`all ${We.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ct,borderRadius:Qe/2,boxShadow:Cn,transition:`all ${We.switchDuration} ease-in-out`,content:'""'}},[`&${Pt}-checked ${le}`]:{insetInlineStart:`calc(100% - ${Qe+kt}px)`},[`&:not(${Pt}-disabled):active`]:xt?{[`${le}::before`]:{insetInlineEnd:We.switchHandleActiveInset,insetInlineStart:0},[`&${Pt}-checked ${le}::before`]:{insetInlineEnd:0,insetInlineStart:We.switchHandleActiveInset}}:{}}}},Ie=We=>{const{componentCls:Pt,trackHeight:xt,trackPadding:kt,innerMinMargin:Ct,innerMaxMargin:Cn,handleSize:Qe}=We,le=`${Pt}-inner`;return{[Pt]:{[le]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Cn,paddingInlineEnd:Ct,transition:`padding-inline-start ${We.switchDuration} ease-in-out, padding-inline-end ${We.switchDuration} ease-in-out`,[`${le}-checked, ${le}-unchecked`]:{display:"block",color:We.colorTextLightSolid,fontSize:We.fontSizeSM,transition:`margin-inline-start ${We.switchDuration} ease-in-out, margin-inline-end ${We.switchDuration} ease-in-out`,pointerEvents:"none"},[`${le}-checked`]:{marginInlineStart:`calc(-100% + ${Qe+kt*2}px - ${Cn*2}px)`,marginInlineEnd:`calc(100% - ${Qe+kt*2}px + ${Cn*2}px)`},[`${le}-unchecked`]:{marginTop:-xt,marginInlineStart:0,marginInlineEnd:0}},[`&${Pt}-checked ${le}`]:{paddingInlineStart:Ct,paddingInlineEnd:Cn,[`${le}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${le}-unchecked`]:{marginInlineStart:`calc(100% - ${Qe+kt*2}px + ${Cn*2}px)`,marginInlineEnd:`calc(-100% + ${Qe+kt*2}px - ${Cn*2}px)`}},[`&:not(${Pt}-disabled):active`]:{[`&:not(${Pt}-checked) ${le}`]:{[`${le}-unchecked`]:{marginInlineStart:kt*2,marginInlineEnd:-kt*2}},[`&${Pt}-checked ${le}`]:{[`${le}-checked`]:{marginInlineStart:-kt*2,marginInlineEnd:kt*2}}}}}},Le=We=>{const{componentCls:Pt,trackHeight:xt,trackMinWidth:kt}=We;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(We)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:kt,height:xt,lineHeight:`${xt}px`,verticalAlign:"middle",background:We.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${We.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Pt}-disabled)`]:{background:We.colorTextTertiary}}),(0,pe.Qy)(We)),{[`&${Pt}-checked`]:{background:We.switchColor,[`&:hover:not(${Pt}-disabled)`]:{background:We.colorPrimaryHover}},[`&${Pt}-loading, &${Pt}-disabled`]:{cursor:"not-allowed",opacity:We.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Pt}-rtl`]:{direction:"rtl"}})}};var Je=(0,xe.Z)("Switch",We=>{const Pt=(0,me.TS)(We,{switchDuration:We.motionDurationMid,switchColor:We.colorPrimary,switchDisabledOpacity:We.opacityLoading,switchLoadingIconSize:We.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${We.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Le(Pt),Ie(Pt),Ne(Pt),ee(Pt),ke(Pt)]},We=>{const{fontSize:Pt,lineHeight:xt,controlHeight:kt,colorWhite:Ct}=We,Cn=Pt*xt,Qe=kt/2,le=2,ce=Cn-le*2,Ht=Qe-le*2;return{trackHeight:Cn,trackHeightSM:Qe,trackMinWidth:ce*2+le*4,trackMinWidthSM:Ht*2+le*2,trackPadding:le,handleBg:Ct,handleSize:ce,handleSizeSM:Ht,handleShadow:`0 2px 4px 0 ${new fe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:ce/2,innerMaxMargin:ce+le+le*2,innerMinMarginSM:Ht/2,innerMaxMarginSM:Ht+le+le*2}}),Ye=function(We,Pt){var xt={};for(var kt in We)Object.prototype.hasOwnProperty.call(We,kt)&&Pt.indexOf(kt)<0&&(xt[kt]=We[kt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,kt=Object.getOwnPropertySymbols(We);Ct{const{prefixCls:xt,size:kt,disabled:Ct,loading:Cn,className:Qe,rootClassName:le,style:ce}=We,Ht=Ye(We,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:St,switch:sn}=de.useContext(Ce.E_),Ft=de.useContext(Ae.Z),oi=(Ct!=null?Ct:Ft)||Cn,On=Vt("switch",xt),ni=de.createElement("div",{className:`${On}-handle`},Cn&&de.createElement(v.Z,{className:`${On}-loading-icon`})),[Jn,Mn]=Je(On),In=(0,Pe.Z)(kt),ie=O()(sn==null?void 0:sn.className,{[`${On}-small`]:In==="small",[`${On}-loading`]:Cn,[`${On}-rtl`]:St==="rtl"},Qe,le,Mn),z=Object.assign(Object.assign({},sn==null?void 0:sn.style),ce);return Jn(de.createElement(Oe.Z,{component:"Switch"},de.createElement(Xe,Object.assign({},Ht,{prefixCls:On,className:ie,style:z,disabled:oi,ref:Pt,loadingIcon:ni}))))});re.__ANT_SWITCH=!0;var lt=re},1710:function(Q,C,h){"use strict";h.d(C,{default:function(){return Au}});var v={},I="rc-table-internal-hook",O=h(33606),B=h(6089),G=h(34280),F=h(13697),M=h(59301),de=h(4676);function ae(Ee){var Re=M.createContext(void 0),dt=function(_t){var Dt=_t.value,ve=_t.children,bn=M.useRef(Dt);bn.current=Dt;var ln=M.useState(function(){return{getValue:function(){return bn.current},listeners:new Set}}),zn=(0,O.Z)(ln,1),jn=zn[0];return(0,G.Z)(function(){(0,de.unstable_batchedUpdates)(function(){jn.listeners.forEach(function($n){$n(Dt)})})},[Dt]),M.createElement(Re.Provider,{value:jn},ve)};return{Context:Re,Provider:dt,defaultValue:Ee}}function te(Ee,Re){var dt=(0,B.Z)(typeof Re=="function"?Re:function($n){if(Re===void 0)return $n;if(!Array.isArray(Re))return $n[Re];var hi={};return Re.forEach(function(gi){hi[gi]=$n[gi]}),hi}),bt=M.useContext(Ee==null?void 0:Ee.Context),_t=bt||{},Dt=_t.listeners,ve=_t.getValue,bn=M.useRef();bn.current=dt(bt?ve():Ee==null?void 0:Ee.defaultValue);var ln=M.useState({}),zn=(0,O.Z)(ln,2),jn=zn[1];return(0,G.Z)(function(){if(!bt)return;function $n(hi){var gi=dt(hi);(0,F.Z)(bn.current,gi,!0)||jn({})}return Dt.add($n),function(){Dt.delete($n)}},[bt]),bn.current}var Me=h(92413),we=h(8654);function Xe(){var Ee=M.createContext(null);function Re(){return M.useContext(Ee)}function dt(_t,Dt){var ve=(0,we.Yr)(_t),bn=function(zn,jn){var $n=ve?{ref:jn}:{},hi=M.useRef(0),gi=M.useRef(zn),ti=Re();return ti!==null?M.createElement(_t,(0,Me.Z)({},zn,$n)):((!Dt||Dt(gi.current,zn))&&(hi.current+=1),gi.current=zn,M.createElement(Ee.Provider,{value:hi.current},M.createElement(_t,(0,Me.Z)({},zn,$n))))};return ve?M.forwardRef(bn):bn}function bt(_t,Dt){var ve=(0,we.Yr)(_t),bn=function(zn,jn){var $n=ve?{ref:jn}:{};return Re(),M.createElement(_t,(0,Me.Z)({},zn,$n))};return ve?M.memo(M.forwardRef(bn),Dt):M.memo(bn,Dt)}return{makeImmutable:dt,responseImmutable:bt,useImmutableMark:Re}}var Oe=Xe(),Ce=Oe.makeImmutable,Ae=Oe.responseImmutable,Pe=Oe.useImmutableMark,fe=Xe(),pe=fe.makeImmutable,xe=fe.responseImmutable,me=fe.useImmutableMark,ke=ae(),ee=ke;function Ne(Ee,Re){var dt=M.useRef(0);dt.current+=1;var bt=M.useRef(Ee),_t=[];Object.keys(Ee||{}).map(function(ve){var bn;(Ee==null?void 0:Ee[ve])!==((bn=bt.current)===null||bn===void 0?void 0:bn[ve])&&_t.push(ve)}),bt.current=Ee;var Dt=M.useRef([]);return _t.length&&(Dt.current=_t),M.useDebugValue(dt.current),M.useDebugValue(Dt.current.join(", ")),Re&&console.log("".concat(Re,":"),dt.current,Dt.current),dt.current}var Ie=null,Le=M.memo(function(){var Ee=Ne();return M.createElement("h1",null,"Render Times: ",Ee)});Le.displayName="RenderBlock";var Je=h(39559),Ye=h(33708),re=h(400),lt=h(92310),We=h.n(lt),Pt=h(80547),xt=h(97938),kt=h(48736),Ct=M.createContext({renderWithProps:!1}),Cn=Ct,Qe="RC_TABLE_KEY";function le(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function ce(Ee){var Re=[],dt={};return Ee.forEach(function(bt){for(var _t=bt||{},Dt=_t.key,ve=_t.dataIndex,bn=Dt||le(ve).join("-")||Qe;dt[bn];)bn="".concat(bn,"_next");dt[bn]=!0,Re.push(bn)}),Re}function Ht(Ee){return Ee!=null}function Vt(Ee){return Ee&&(0,Je.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!M.isValidElement(Ee)}function St(Ee,Re,dt,bt,_t,Dt){var ve=M.useContext(Cn),bn=me(),ln=(0,Pt.Z)(function(){if(Ht(bt))return[bt];var zn=Re==null||Re===""?[]:Array.isArray(Re)?Re:[Re],jn=(0,xt.Z)(Ee,zn),$n=jn,hi=void 0;if(_t){var gi=_t(jn,Ee,dt);Vt(gi)?($n=gi.children,hi=gi.props,ve.renderWithProps=!0):$n=gi}return[$n,hi]},[bn,Ee,bt,Re,_t,dt],function(zn,jn){if(Dt){var $n=(0,O.Z)(zn,2),hi=$n[1],gi=(0,O.Z)(jn,2),ti=gi[1];return Dt(ti,hi)}return ve.renderWithProps?!0:!(0,F.Z)(zn,jn,!0)});return ln}function sn(Ee,Re,dt,bt){var _t=Ee+Re-1;return Ee<=bt&&_t>=dt}function Ft(Ee,Re){return te(ee,function(dt){var bt=sn(Ee,Re||1,dt.hoverStartRow,dt.hoverEndRow);return[bt,dt.onHover]})}var oi=function(Re){var dt=Re.ellipsis,bt=Re.rowType,_t=Re.children,Dt,ve=dt===!0?{showTitle:!0}:dt;return ve&&(ve.showTitle||bt==="header")&&(typeof _t=="string"||typeof _t=="number"?Dt=_t.toString():M.isValidElement(_t)&&typeof _t.props.children=="string"&&(Dt=_t.props.children)),Dt};function On(Ee){var Re,dt,bt,_t,Dt,ve,bn,ln,zn=Ee.component,jn=Ee.children,$n=Ee.ellipsis,hi=Ee.scope,gi=Ee.prefixCls,ti=Ee.className,E=Ee.align,P=Ee.record,W=Ee.render,J=Ee.dataIndex,ge=Ee.renderIndex,Te=Ee.shouldCellUpdate,He=Ee.index,it=Ee.rowType,jt=Ee.colSpan,Qt=Ee.rowSpan,yt=Ee.fixLeft,en=Ee.fixRight,Gt=Ee.firstFixLeft,wt=Ee.lastFixLeft,ii=Ee.firstFixRight,ki=Ee.lastFixRight,ji=Ee.appendNode,si=Ee.additionalProps,vi=si===void 0?{}:si,Pi=Ee.isSticky,Mr="".concat(gi,"-cell"),Xr=te(ee,["supportSticky","allColumnsFixedLeft"]),ui=Xr.supportSticky,io=Xr.allColumnsFixedLeft,bo=St(P,J,ge,jn,W,Te),dr=(0,O.Z)(bo,2),Qi=dr[0],oo=dr[1],to={},pr=typeof yt=="number"&&ui,_r=typeof en=="number"&&ui;pr&&(to.position="sticky",to.left=yt),_r&&(to.position="sticky",to.right=en);var Gi=(Re=(dt=(bt=oo==null?void 0:oo.colSpan)!==null&&bt!==void 0?bt:vi.colSpan)!==null&&dt!==void 0?dt:jt)!==null&&Re!==void 0?Re:1,ir=(_t=(Dt=(ve=oo==null?void 0:oo.rowSpan)!==null&&ve!==void 0?ve:vi.rowSpan)!==null&&Dt!==void 0?Dt:Qt)!==null&&_t!==void 0?_t:1,vr=Ft(He,ir),sr=(0,O.Z)(vr,2),ho=sr[0],$t=sr[1],zr=function(ta){var ya;P&&$t(He,He+ir-1),vi==null||(ya=vi.onMouseEnter)===null||ya===void 0||ya.call(vi,ta)},fo=function(ta){var ya;P&&$t(-1,-1),vi==null||(ya=vi.onMouseLeave)===null||ya===void 0||ya.call(vi,ta)};if(Gi===0||ir===0)return null;var un=(bn=vi.title)!==null&&bn!==void 0?bn:oi({rowType:it,ellipsis:$n,children:Qi}),da=We()(Mr,ti,(ln={},(0,re.Z)(ln,"".concat(Mr,"-fix-left"),pr&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-left-first"),Gt&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-left-last"),wt&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-left-all"),wt&&io&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-right"),_r&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-right-first"),ii&&ui),(0,re.Z)(ln,"".concat(Mr,"-fix-right-last"),ki&&ui),(0,re.Z)(ln,"".concat(Mr,"-ellipsis"),$n),(0,re.Z)(ln,"".concat(Mr,"-with-append"),ji),(0,re.Z)(ln,"".concat(Mr,"-fix-sticky"),(pr||_r)&&Pi&&ui),(0,re.Z)(ln,"".concat(Mr,"-row-hover"),!oo&&ho),ln),vi.className,oo==null?void 0:oo.className),Ta={};E&&(Ta.textAlign=E);var es=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},to),vi.style),Ta),oo==null?void 0:oo.style),Fo=Qi;return(0,Je.Z)(Fo)==="object"&&!Array.isArray(Fo)&&!M.isValidElement(Fo)&&(Fo=null),$n&&(wt||ii)&&(Fo=M.createElement("span",{className:"".concat(Mr,"-content")},Fo)),M.createElement(zn,(0,Me.Z)({},oo,vi,{className:da,style:es,title:un,scope:hi,onMouseEnter:zr,onMouseLeave:fo,colSpan:Gi!==1?Gi:null,rowSpan:ir!==1?ir:null}),ji,Fo)}var ni=M.memo(On);function Jn(Ee,Re,dt,bt,_t,Dt){var ve=dt[Ee]||{},bn=dt[Re]||{},ln,zn;ve.fixed==="left"?ln=bt.left[_t==="rtl"?Re:Ee]:bn.fixed==="right"&&(zn=bt.right[_t==="rtl"?Ee:Re]);var jn=!1,$n=!1,hi=!1,gi=!1,ti=dt[Re+1],E=dt[Ee-1],P=!(Dt!=null&&Dt.children);if(_t==="rtl"){if(ln!==void 0){var W=E&&E.fixed==="left";gi=!W&&P}else if(zn!==void 0){var J=ti&&ti.fixed==="right";hi=!J&&P}}else if(ln!==void 0){var ge=ti&&ti.fixed==="left";jn=!ge&&P}else if(zn!==void 0){var Te=E&&E.fixed==="right";$n=!Te&&P}return{fixLeft:ln,fixRight:zn,lastFixLeft:jn,firstFixRight:$n,lastFixRight:hi,firstFixLeft:gi,isSticky:bt.isSticky}}var Mn=M.createContext({}),In=Mn;function ie(Ee){var Re=Ee.className,dt=Ee.index,bt=Ee.children,_t=Ee.colSpan,Dt=_t===void 0?1:_t,ve=Ee.rowSpan,bn=Ee.align,ln=te(ee,["prefixCls","direction"]),zn=ln.prefixCls,jn=ln.direction,$n=M.useContext(In),hi=$n.scrollColumnIndex,gi=$n.stickyOffsets,ti=$n.flattenColumns,E=$n.columns,P=dt+Dt-1,W=P+1===hi?Dt+1:Dt,J=Jn(dt,dt+W-1,ti,gi,jn,E==null?void 0:E[dt]);return M.createElement(ni,(0,Me.Z)({className:Re,index:dt,component:"td",prefixCls:zn,record:null,dataIndex:null,align:bn,colSpan:W,rowSpan:ve,render:function(){return bt}},J))}var z=h(37061),k=["children"];function j(Ee){var Re=Ee.children,dt=(0,z.Z)(Ee,k);return M.createElement("tr",dt,Re)}function X(Ee){var Re=Ee.children;return Re}X.Row=j,X.Cell=ie;var T=X;function _e(Ee){var Re=Ee.children,dt=Ee.stickyOffsets,bt=Ee.flattenColumns,_t=Ee.columns,Dt=te(ee,"prefixCls"),ve=bt.length-1,bn=bt[ve],ln=M.useMemo(function(){return{stickyOffsets:dt,flattenColumns:bt,scrollColumnIndex:bn!=null&&bn.scrollbar?ve:null,columns:_t}},[bn,bt,ve,dt,_t]);return M.createElement(In.Provider,{value:ln},M.createElement("tfoot",{className:"".concat(Dt,"-summary")},Re))}var It=xe(_e),$e=T,De=h(70425),gt=h(29301),ut=h(29194),tt=h(24514),Et=h(75152),pn=h(26112);function nn(Ee,Re,dt,bt,_t,Dt,ve){Ee.push({record:Re,indent:dt,index:ve});var bn=Dt(Re),ln=_t==null?void 0:_t.has(bn);if(Re&&Array.isArray(Re[bt])&&ln)for(var zn=0;zn1?Gt-1:0),ii=1;ii=0;bn-=1){var ln=Re[bn],zn=dt&&dt[bn],jn=zn&&zn[_i];if(ln||jn||ve){var $n=jn||{},hi=$n.columnType,gi=(0,z.Z)($n,cn);_t.unshift(M.createElement("col",(0,Me.Z)({key:bn,style:{width:ln}},gi))),ve=!0}}return M.createElement("colgroup",null,_t)}var Xi=fr,ei=h(26407),Tr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ur(Ee,Re){return(0,M.useMemo)(function(){for(var dt=[],bt=0;bt1?"colgroup":"col":null,ellipsis:P.ellipsis,align:P.align,component:P.title?Dt:ve,prefixCls:jn,key:gi[E]},W,{additionalProps:J,rowType:"header"}))}))}Er.displayName="HeaderRow";var wr=Er;function qr(Ee){var Re=[];function dt(ve,bn){var ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Re[ln]=Re[ln]||[];var zn=bn,jn=ve.filter(Boolean).map(function($n){var hi={key:$n.key,className:$n.className||"",children:$n.title,column:$n,colStart:zn},gi=1,ti=$n.children;return ti&&ti.length>0&&(gi=dt(ti,zn,ln+1).reduce(function(E,P){return E+P},0),hi.hasSubColumns=!0),"colSpan"in $n&&(gi=$n.colSpan),"rowSpan"in $n&&(hi.rowSpan=$n.rowSpan),hi.colSpan=gi,hi.colEnd=hi.colStart+gi-1,Re[ln].push(hi),zn+=gi,gi});return jn}dt(Ee,0);for(var bt=Re.length,_t=function(bn){Re[bn].forEach(function(ln){!("rowSpan"in ln)&&!ln.hasSubColumns&&(ln.rowSpan=bt-bn)})},Dt=0;Dt1&&arguments[1]!==void 0?arguments[1]:"";return typeof Re=="number"?Re:Re.endsWith("%")?Ee*parseFloat(Re)/100:null}function Bi(Ee,Re){return M.useMemo(function(){if(Re&&Re>0){var dt=0,bt=0;Ee.forEach(function(zn){var jn=rr(Re,zn.width);jn?dt+=jn:bt+=1});var _t=Re-dt,Dt=bt,ve=_t/bt,bn=0,ln=Ee.map(function(zn){var jn=(0,Ye.Z)({},zn),$n=rr(Re,jn.width);if($n)jn.width=$n;else{var hi=Math.floor(ve);jn.width=Dt===1?_t:hi,_t-=hi,Dt-=1}return bn+=jn.width,jn});return[ln,bn]}return[Ee,Re]},[Ee,Re])}var yi=["children"],ht=["fixed"];function _n(Ee){return(0,no.Z)(Ee).filter(function(Re){return M.isValidElement(Re)}).map(function(Re){var dt=Re.key,bt=Re.props,_t=bt.children,Dt=(0,z.Z)(bt,yi),ve=(0,Ye.Z)({key:dt},Dt);return _t&&(ve.children=_n(_t)),ve})}function Vn(Ee){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(dt){return dt&&(0,Je.Z)(dt)==="object"}).reduce(function(dt,bt,_t){var Dt=bt.fixed,ve=Dt===!0?"left":Dt,bn="".concat(Re,"-").concat(_t),ln=bt.children;return ln&&ln.length>0?[].concat((0,ei.Z)(dt),(0,ei.Z)(Vn(ln,bn).map(function(zn){return(0,Ye.Z)({fixed:ve},zn)}))):[].concat((0,ei.Z)(dt),[(0,Ye.Z)((0,Ye.Z)({key:bn},bt),{},{fixed:ve})])},[])}function pt(Ee){for(var Re=!0,dt=0;dt=0;Dt-=1){var ve=Ee[Dt];if(_t&&ve.fixed!=="right")_t=!1;else if(!_t&&ve.fixed==="right"){warning(!1,"Index ".concat(Dt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ke(Ee){return Ee.map(function(Re){var dt=Re.fixed,bt=(0,z.Z)(Re,ht),_t=dt;return dt==="left"?_t="right":dt==="right"&&(_t="left"),(0,Ye.Z)({fixed:_t},bt)})}function vn(Ee,Re){var dt=Ee.prefixCls,bt=Ee.columns,_t=Ee.children,Dt=Ee.expandable,ve=Ee.expandedKeys,bn=Ee.columnTitle,ln=Ee.getRowKey,zn=Ee.onTriggerExpand,jn=Ee.expandIcon,$n=Ee.rowExpandable,hi=Ee.expandIconColumnIndex,gi=Ee.direction,ti=Ee.expandRowByClick,E=Ee.columnWidth,P=Ee.fixed,W=Ee.scrollWidth,J=M.useMemo(function(){return bt||_n(_t)},[bt,_t]),ge=M.useMemo(function(){if(Dt){var en,Gt=J.slice();if(!Gt.includes(v)){var wt=hi||0;wt>=0&&Gt.splice(wt,0,v)}var ii=Gt.indexOf(v);Gt=Gt.filter(function(vi,Pi){return vi!==v||Pi===ii});var ki=J[ii],ji;(P==="left"||P)&&!hi?ji="left":(P==="right"||P)&&hi===J.length?ji="right":ji=ki?ki.fixed:null;var si=(en={},(0,re.Z)(en,_i,{className:"".concat(dt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,re.Z)(en,"title",bn),(0,re.Z)(en,"fixed",ji),(0,re.Z)(en,"className","".concat(dt,"-row-expand-icon-cell")),(0,re.Z)(en,"width",E),(0,re.Z)(en,"render",function(Pi,Mr,Xr){var ui=ln(Mr,Xr),io=ve.has(ui),bo=$n?$n(Mr):!0,dr=jn({prefixCls:dt,expanded:io,expandable:bo,record:Mr,onExpand:zn});return ti?M.createElement("span",{onClick:function(oo){return oo.stopPropagation()}},dr):dr}),en);return Gt.map(function(vi){return vi===v?si:vi})}return J.filter(function(vi){return vi!==v})},[Dt,J,ln,ve,jn,gi]),Te=M.useMemo(function(){var en=ge;return Re&&(en=Re(en)),en.length||(en=[{render:function(){return null}}]),en},[Re,ge,gi]),He=M.useMemo(function(){return gi==="rtl"?Ke(Vn(Te)):Vn(Te)},[Te,gi,W]),it=Bi(He,W),jt=(0,O.Z)(it,2),Qt=jt[0],yt=jt[1];return[Te,Qt,yt]}var Fn=vn;function on(Ee){var Re,dt=Ee.prefixCls,bt=Ee.record,_t=Ee.onExpand,Dt=Ee.expanded,ve=Ee.expandable,bn="".concat(dt,"-row-expand-icon");if(!ve)return M.createElement("span",{className:We()(bn,"".concat(dt,"-row-spaced"))});var ln=function(jn){_t(bt,jn),jn.stopPropagation()};return M.createElement("span",{className:We()(bn,(Re={},(0,re.Z)(Re,"".concat(dt,"-row-expanded"),Dt),(0,re.Z)(Re,"".concat(dt,"-row-collapsed"),!Dt),Re)),onClick:ln})}function Nt(Ee,Re,dt){var bt=[];function _t(Dt){(Dt||[]).forEach(function(ve,bn){bt.push(Re(ve,bn)),_t(ve[dt])})}return _t(Ee),bt}function Ve(Ee,Re,dt){var bt=Ii(Ee),_t=bt.expandIcon,Dt=bt.expandedRowKeys,ve=bt.defaultExpandedRowKeys,bn=bt.defaultExpandAllRows,ln=bt.expandedRowRender,zn=bt.onExpand,jn=bt.onExpandedRowsChange,$n=bt.childrenColumnName,hi=_t||on,gi=$n||"children",ti=M.useMemo(function(){return ln?"row":Ee.expandable&&Ee.internalHooks===I&&Ee.expandable.__PARENT_RENDER_ICON__||Re.some(function(He){return He&&(0,Je.Z)(He)==="object"&&He[gi]})?"nest":!1},[!!ln,Re]),E=M.useState(function(){return ve||(bn?Nt(Re,dt,gi):[])}),P=(0,O.Z)(E,2),W=P[0],J=P[1],ge=M.useMemo(function(){return new Set(Dt||W||[])},[Dt,W]),Te=M.useCallback(function(He){var it=dt(He,Re.indexOf(He)),jt,Qt=ge.has(it);Qt?(ge.delete(it),jt=(0,ei.Z)(ge)):jt=[].concat((0,ei.Z)(ge),[it]),J(jt),zn&&zn(!Qt,He),jn&&jn(jt)},[dt,ge,Re,zn,jn]);return[bt,ti,ge,hi,gi,Te]}function Ut(Ee,Re,dt,bt){var _t=Ee.map(function(Dt,ve){return Jn(ve,ve,Ee,Re,dt,bt==null?void 0:bt[ve])});return(0,Pt.Z)(function(){return _t},[_t],function(Dt,ve){return!(0,F.Z)(Dt,ve)})}function Lt(Ee){var Re=(0,M.useRef)(Ee),dt=(0,M.useState)({}),bt=(0,O.Z)(dt,2),_t=bt[1],Dt=(0,M.useRef)(null),ve=(0,M.useRef)([]);function bn(ln){ve.current.push(ln);var zn=Promise.resolve();Dt.current=zn,zn.then(function(){if(Dt.current===zn){var jn=ve.current,$n=Re.current;ve.current=[],jn.forEach(function(hi){Re.current=hi(Re.current)}),Dt.current=null,$n!==Re.current&&_t({})}})}return(0,M.useEffect)(function(){return function(){Dt.current=null}},[]),[Re.current,bn]}function Wn(Ee){var Re=(0,M.useRef)(Ee||null),dt=(0,M.useRef)();function bt(){window.clearTimeout(dt.current)}function _t(ve){Re.current=ve,bt(),dt.current=window.setTimeout(function(){Re.current=null,dt.current=void 0},100)}function Dt(){return Re.current}return(0,M.useEffect)(function(){return bt},[]),[_t,Dt]}function ot(){var Ee=M.useState(-1),Re=(0,O.Z)(Ee,2),dt=Re[0],bt=Re[1],_t=M.useState(-1),Dt=(0,O.Z)(_t,2),ve=Dt[0],bn=Dt[1],ln=M.useCallback(function(zn,jn){bt(zn),bn(jn)},[]);return[dt,ve,ln]}var fn=h(47273),vt=(0,fn.Z)()?window:null;function je(Ee,Re){var dt=(0,Je.Z)(Ee)==="object"?Ee:{},bt=dt.offsetHeader,_t=bt===void 0?0:bt,Dt=dt.offsetSummary,ve=Dt===void 0?0:Dt,bn=dt.offsetScroll,ln=bn===void 0?0:bn,zn=dt.getContainer,jn=zn===void 0?function(){return vt}:zn,$n=jn()||vt;return M.useMemo(function(){var hi=!!Ee;return{isSticky:hi,stickyClassName:hi?"".concat(Re,"-sticky-holder"):"",offsetHeader:_t,offsetSummary:ve,offsetScroll:ln,container:$n}},[ln,_t,ve,Re,$n])}function L(Ee,Re,dt){var bt=(0,M.useMemo)(function(){for(var _t=[],Dt=[],ve=0,bn=0,ln=0;ln=$n&&(vi=$n-hi),ve({scrollLeft:vi/$n*(jn+2)}),J.current.x=ii.pageX},en=function(){if(Dt.current){var ii=(0,An.os)(Dt.current).top,ki=ii+Dt.current.offsetHeight,ji=ln===window?document.documentElement.scrollTop+window.innerHeight:(0,An.os)(ln).top+ln.clientHeight;ki-(0,Et.Z)()<=ji||ii>=ji-bn?W(function(si){return(0,Ye.Z)((0,Ye.Z)({},si),{},{isHiddenScrollBar:!0})}):W(function(si){return(0,Ye.Z)((0,Ye.Z)({},si),{},{isHiddenScrollBar:!1})})}},Gt=function(ii){W(function(ki){return(0,Ye.Z)((0,Ye.Z)({},ki),{},{scrollLeft:ii/jn*$n||0})})};return M.useImperativeHandle(dt,function(){return{setScrollLeft:Gt}}),M.useEffect(function(){var wt=(0,xn.Z)(document.body,"mouseup",jt,!1),ii=(0,xn.Z)(document.body,"mousemove",yt,!1);return en(),function(){wt.remove(),ii.remove()}},[hi,He]),M.useEffect(function(){var wt=(0,xn.Z)(ln,"scroll",en,!1),ii=(0,xn.Z)(window,"resize",en,!1);return function(){wt.remove(),ii.remove()}},[ln]),M.useEffect(function(){P.isHiddenScrollBar||W(function(wt){var ii=Dt.current;return ii?(0,Ye.Z)((0,Ye.Z)({},wt),{},{scrollLeft:ii.scrollLeft/ii.scrollWidth*ii.clientWidth}):wt})},[P.isHiddenScrollBar]),jn<=$n||!hi||P.isHiddenScrollBar?null:M.createElement("div",{style:{height:(0,Et.Z)(),width:$n,bottom:bn},className:"".concat(zn,"-sticky-scroll")},M.createElement("div",{onMouseDown:Qt,ref:gi,className:We()("".concat(zn,"-sticky-scroll-bar"),(0,re.Z)({},"".concat(zn,"-sticky-scroll-bar-active"),He)),style:{width:"".concat(hi,"px"),transform:"translate3d(".concat(P.scrollLeft,"px, 0, 0)")}}))},Nn=M.forwardRef(li);function st(Ee){return null}var Mi=st;function Yi(Ee){return null}var Yt=Yi,zi="rc-table",q=[],oe={};function Hn(){return"No Data"}function Be(Ee){var Re,dt=(0,Ye.Z)({rowKey:"key",prefixCls:zi,emptyText:Hn},Ee),bt=dt.prefixCls,_t=dt.className,Dt=dt.rowClassName,ve=dt.style,bn=dt.data,ln=dt.rowKey,zn=dt.scroll,jn=dt.tableLayout,$n=dt.direction,hi=dt.title,gi=dt.footer,ti=dt.summary,E=dt.caption,P=dt.id,W=dt.showHeader,J=dt.components,ge=dt.emptyText,Te=dt.onRow,He=dt.onHeaderRow,it=dt.internalHooks,jt=dt.transformColumns,Qt=dt.internalRefs,yt=dt.tailor,en=dt.sticky,Gt=bn||q,wt=!!Gt.length,ii=it===I,ki=M.useCallback(function(ea,ba){return(0,xt.Z)(J,ea)||ba},[J]),ji=M.useMemo(function(){return typeof ln=="function"?ln:function(ea){var ba=ea&&ea[ln];return ba}},[ln]),si=ki(["body"]),vi=ot(),Pi=(0,O.Z)(vi,3),Mr=Pi[0],Xr=Pi[1],ui=Pi[2],io=Ve(dt,Gt,ji),bo=(0,O.Z)(io,6),dr=bo[0],Qi=bo[1],oo=bo[2],to=bo[3],pr=bo[4],_r=bo[5],Gi=zn==null?void 0:zn.x,ir=M.useState(0),vr=(0,O.Z)(ir,2),sr=vr[0],ho=vr[1],$t=Fn((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},dt),dr),{},{expandable:!!dr.expandedRowRender,columnTitle:dr.columnTitle,expandedKeys:oo,getRowKey:ji,onTriggerExpand:_r,expandIcon:to,expandIconColumnIndex:dr.expandIconColumnIndex,direction:$n,scrollWidth:ii&&yt&&typeof Gi=="number"?Gi:null}),ii?jt:null),zr=(0,O.Z)($t,3),fo=zr[0],un=zr[1],da=zr[2],Ta=da!=null?da:Gi,es=M.useMemo(function(){return{columns:fo,flattenColumns:un}},[fo,un]),Fo=M.useRef(),qo=M.useRef(),ta=M.useRef(),ya=M.useRef(),zs=M.useRef(),ko=M.useState(!1),Ho=(0,O.Z)(ko,2),Zo=Ho[0],Sa=Ho[1],Ha=M.useState(!1),d=(0,O.Z)(Ha,2),g=d[0],K=d[1],nt=Lt(new Map),gn=(0,O.Z)(nt,2),Yn=gn[0],wi=gn[1],Cr=ce(un),Hr=Cr.map(function(ea){return Yn.get(ea)}),Gn=M.useMemo(function(){return Hr},[Hr.join("_")]),Hi=Rt(Gn,un.length,$n),Or=zn&&Ht(zn.y),Vr=zn&&Ht(Ta)||!!dr.fixed,$o=Vr&&un.some(function(ea){var ba=ea.fixed;return ba}),Rs=M.useRef(),Ds=je(en,bt),Ps=Ds.isSticky,ol=Ds.offsetHeader,Ts=Ds.offsetSummary,po=Ds.offsetScroll,ra=Ds.stickyClassName,Na=Ds.container,A=M.useMemo(function(){return ti==null?void 0:ti(Gt)},[ti,Gt]),m=(Or||Ps)&&M.isValidElement(A)&&A.type===T&&A.props.fixed,S,D,Z;Or&&(D={overflowY:"scroll",maxHeight:zn.y}),Vr&&(S={overflowX:"auto"},Or||(D={overflowY:"hidden"}),Z={width:Ta===!0?"auto":Ta,minWidth:"100%"});var se=M.useCallback(function(ea,ba){(0,ut.Z)(Fo.current)&&wi(function(Hs){if(Hs.get(ea)!==ba){var Xs=new Map(Hs);return Xs.set(ea,ba),Xs}return Hs})},[]),Y=Wn(null),ct=(0,O.Z)(Y,2),ft=ct[0],Sn=ct[1];function Bn(ea,ba){ba&&(typeof ba=="function"?ba(ea):ba.scrollLeft!==ea&&(ba.scrollLeft=ea,ba.scrollLeft!==ea&&setTimeout(function(){ba.scrollLeft=ea},0)))}var Qn=(0,B.Z)(function(ea){var ba=ea.currentTarget,Hs=ea.scrollLeft,Xs=$n==="rtl",Qs=typeof Hs=="number"?Hs:ba.scrollLeft,Cc=ba||oe;if(!Sn()||Sn()===Cc){var Iu;ft(Cc),Bn(Qs,qo.current),Bn(Qs,ta.current),Bn(Qs,zs.current),Bn(Qs,(Iu=Rs.current)===null||Iu===void 0?void 0:Iu.setScrollLeft)}var Xc=ba||qo.current;if(Xc){var gu=Xc.scrollWidth,tc=Xc.clientWidth;if(gu===tc){Sa(!1),K(!1);return}Xs?(Sa(-Qs0)):(Sa(Qs>0),K(Qs1?E-ii:0,ji=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},jt),ln),{},{flex:"0 0 ".concat(ii,"px"),width:"".concat(ii,"px"),marginRight:ki,pointerEvents:"auto"}),si=M.useMemo(function(){return jn?Gt<=1:yt===0||Gt===0||Gt>1},[Gt,yt,jn]);si?ji.visibility="hidden":jn&&(ji.height=$n==null?void 0:$n(Gt));var vi=si?function(){return null}:hi,Pi={};return(Gt===0||yt===0)&&(Pi.rowSpan=1,Pi.colSpan=1),M.createElement(ni,(0,Me.Z)({className:We()(ti,zn),ellipsis:dt.ellipsis,align:dt.align,scope:dt.rowScope,component:"div",prefixCls:Re.prefixCls,key:ge,record:bn,index:Dt,renderIndex:ve,dataIndex:gi,render:vi,shouldCellUpdate:dt.shouldCellUpdate},Te,{appendNode:He,additionalProps:(0,Ye.Z)((0,Ye.Z)({},it),{},{style:ji},Pi)}))}var Yr=Li,Mt=["data","index","className","rowKey","style","extra","getHeight"],Qr=M.forwardRef(function(Ee,Re){var dt=Ee.data,bt=Ee.index,_t=Ee.className,Dt=Ee.rowKey,ve=Ee.style,bn=Ee.extra,ln=Ee.getHeight,zn=(0,z.Z)(Ee,Mt),jn=dt.record,$n=dt.indent,hi=dt.index,gi=te(ee,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ti=gi.scrollX,E=gi.flattenColumns,P=gi.prefixCls,W=gi.fixColumn,J=gi.componentWidth,ge=et(jn,Dt,bt,$n),Te=ge.rowSupportExpand,He=ge.expanded,it=ge.rowProps,jt=ge.expandedRowRender,Qt=ge.expandedRowClassName,yt;if(Te&&He){var en=jt(jn,bt,$n+1,He),Gt=Qt==null?void 0:Qt(jn,bt,$n),wt={};W&&(wt={style:(0,re.Z)({},"--virtual-width","".concat(J,"px"))});var ii="".concat(P,"-expanded-row-cell");yt=M.createElement("div",{className:We()("".concat(P,"-expanded-row"),"".concat(P,"-expanded-row-level-").concat($n+1),Gt)},M.createElement(ni,{component:"div",prefixCls:P,className:We()(ii,(0,re.Z)({},"".concat(ii,"-fixed"),W)),additionalProps:wt},en))}var ki=(0,Ye.Z)((0,Ye.Z)({},ve),{},{width:ti});bn&&(ki.position="absolute",ki.pointerEvents="none");var ji=M.createElement("div",(0,Me.Z)({},it,zn,{ref:Te?null:Re,className:We()(_t,"".concat(P,"-row"),it==null?void 0:it.className,(0,re.Z)({},"".concat(P,"-row-extra"),bn)),style:(0,Ye.Z)((0,Ye.Z)({},ki),it==null?void 0:it.style)}),E.map(function(si,vi){return M.createElement(Yr,{key:vi,rowInfo:ge,column:si,colIndex:vi,indent:$n,index:bt,renderIndex:hi,record:jn,inverse:bn,getHeight:ln})}));return Te?M.createElement("div",{ref:Re},ji,yt):ji}),tn=xe(Qr),Oi=tn,Ei=M.forwardRef(function(Ee,Re){var dt=Ee.data,bt=Ee.onScroll,_t=te(ee,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Dt=_t.flattenColumns,ve=_t.onColumnResize,bn=_t.getRowKey,ln=_t.expandedKeys,zn=_t.prefixCls,jn=_t.childrenColumnName,$n=_t.emptyNode,hi=_t.scrollX,gi=te(qt),ti=gi.scrollY,E=gi.listItemHeight,P=M.useRef(),W=Kt(dt,jn,ln,bn),J=M.useMemo(function(){var yt=0;return Dt.map(function(en){var Gt=en.width,wt=en.key;return yt+=Gt,[wt,Gt,yt]})},[Dt]),ge=M.useMemo(function(){return J.map(function(yt){return yt[2]})},[J]);M.useEffect(function(){J.forEach(function(yt){var en=(0,O.Z)(yt,2),Gt=en[0],wt=en[1];ve(Gt,wt)})},[J]),M.useImperativeHandle(Re,function(){var yt={};return Object.defineProperty(yt,"scrollLeft",{get:function(){var Gt;return((Gt=P.current)===null||Gt===void 0?void 0:Gt.getScrollInfo().x)||0},set:function(Gt){var wt;(wt=P.current)===null||wt===void 0||wt.scrollTo({left:Gt})}}),yt});var Te=function(en,Gt){var wt,ii=(wt=W[Gt])===null||wt===void 0?void 0:wt.record,ki=en.onCell;if(ki){var ji,si=ki(ii,Gt);return(ji=si==null?void 0:si.rowSpan)!==null&&ji!==void 0?ji:1}return 1},He=function(en){var Gt=en.start,wt=en.end,ii=en.getSize,ki=en.offsetY;if(wt<0)return null;for(var ji=Dt.filter(function(Gi){return Te(Gi,Gt)===0}),si=Gt,vi=function(ir){if(ji=ji.filter(function(vr){return Te(vr,ir)===0}),!ji.length)return si=ir,"break"},Pi=Gt;Pi>=0;Pi-=1){var Mr=vi(Pi);if(Mr==="break")break}for(var Xr=Dt.filter(function(Gi){return Te(Gi,wt)!==1}),ui=wt,io=function(ir){if(Xr=Xr.filter(function(vr){return Te(vr,ir)!==1}),!Xr.length)return ui=Math.max(ir-1,wt),"break"},bo=wt;bo1})&&Qi.push(ir)},to=si;to<=ui;to+=1)var pr=oo(to);var _r=Qi.map(function(Gi){var ir=W[Gi],vr=bn(ir.record,Gi),sr=function(zr){var fo=Gi+zr-1,un=bn(W[fo].record,fo),da=ii(vr,un);return da.bottom-da.top},ho=ii(vr);return M.createElement(Oi,{key:Gi,data:ir,rowKey:vr,index:Gi,style:{top:-ki+ho.top},extra:!0,getHeight:sr})});return _r},it=M.useMemo(function(){return{columnsOffset:ge}},[ge]),jt="".concat(zn,"-tbody"),Qt;return W.length?Qt=M.createElement(Fi.Z,{fullHeight:!1,ref:P,className:We()(jt,"".concat(jt,"-virtual")),height:ti,itemHeight:E||24,data:W,itemKey:function(en){return bn(en.record)},scrollWidth:hi,onVirtualScroll:function(en){var Gt=en.x;bt({scrollLeft:Gt})},extraRender:He},function(yt,en,Gt){var wt=bn(yt.record,en);return M.createElement(Oi,(0,Me.Z)({data:yt,rowKey:wt,index:en},Gt))}):Qt=M.createElement("div",{className:We()("".concat(zn,"-placeholder"))},M.createElement(ni,{component:"div",prefixCls:zn},$n)),M.createElement(xi.Provider,{value:it},Qt)}),or=xe(Ei),tr=or,Zn=function(Re,dt){var bt=dt.ref,_t=dt.onScroll;return M.createElement(tr,{ref:bt,data:Re,onScroll:_t})},he=100;function gr(Ee){var Re=Ee.columns,dt=Ee.scroll,bt=Ee.prefixCls,_t=bt===void 0?zi:bt,Dt=Ee.className,ve=Ee.listItemHeight,bn=dt||{},ln=bn.x,zn=bn.y;typeof ln!="number"&&(ln=((Re||[]).length+1)*he),typeof zn!="number"&&(zn=500);var jn=M.useMemo(function(){return{scrollY:zn,listItemHeight:ve}},[zn,ve]);return M.createElement(qt.Provider,{value:jn},M.createElement(Ln,(0,Me.Z)({},Ee,{className:We()(Dt,"".concat(_t,"-virtual")),scroll:(0,Ye.Z)((0,Ye.Z)({},dt),{},{x:ln}),components:{body:Zn},columns:Re,internalHooks:I,tailor:!0})))}function br(Ee){return pe(gr,Ee)}var cr=br(),Br=null;function Zi(Ee){return null}var Ri=Zi;function Ai(Ee){return null}var hr=Ai,Ki=h(2738),Lr=h(68031),Wr=h(36355),eo=h(93891),Lo=h(19716),pi=h(8628),pa=h(31724),Uo=h(58421),oa=h(71418),ma=h(88088);function $a(Ee){return function(dt){let{prefixCls:bt,onExpand:_t,record:Dt,expanded:ve,expandable:bn}=dt;const ln=`${bt}-row-expand-icon`;return M.createElement("button",{type:"button",onClick:zn=>{_t(Dt,zn),zn.stopPropagation()},className:We()(ln,{[`${ln}-spaced`]:!bn,[`${ln}-expanded`]:bn&&ve,[`${ln}-collapsed`]:bn&&!ve}),"aria-label":ve?Ee.collapse:Ee.expand,"aria-expanded":ve})}}var is=$a;function ka(Ee,Re){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Re}function ss(Ee,Re){return Re?`${Re}-${Ee}`:`${Ee}`}function Ua(Ee,Re){return typeof Ee=="function"?Ee(Re):Ee}function Go(Ee,Re){const dt=Ua(Ee,Re);return Object.prototype.toString.call(dt)==="[object Object]"?"":dt}var Zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Pa=Zt,ql=h(7657),nl=function(Re,dt){return M.createElement(ql.Z,(0,Me.Z)({},Re,{ref:dt,icon:Pa}))},uo=M.forwardRef(nl),No=uo,go=h(56762);function Ot(Ee){const Re=M.useRef(Ee),dt=(0,go.Z)();return[()=>Re.current,bt=>{Re.current=bt,dt()}]}var Pr=h(3113),co=h(24905),xa=h(38854),xr=h(64165),wn=h(20834),ar=h(40875),mi=h(5112),Wo=h(17574),ga=h(47472),Ja=h(92832);function Ms(Ee){let{value:Re,onChange:dt,filterSearch:bt,tablePrefixCls:_t,locale:Dt}=Ee;return bt?M.createElement("div",{className:`${_t}-filter-dropdown-search`},M.createElement(Ja.default,{prefix:M.createElement(ga.Z,null),placeholder:Dt.filterSearchPlaceholder,onChange:dt,value:Re,htmlSize:1,className:`${_t}-filter-dropdown-search-input`})):null}var Ss=Ms,ai=h(10228);const Ui=Ee=>{const{keyCode:Re}=Ee;Re===ai.Z.ENTER&&Ee.stopPropagation()};var Es=M.forwardRef((Ee,Re)=>M.createElement("div",{className:Ee.className,onClick:dt=>dt.stopPropagation(),onKeyDown:Ui,ref:Re},Ee.children));function Vo(Ee){let Re=[];return(Ee||[]).forEach(dt=>{let{value:bt,children:_t}=dt;Re.push(bt),_t&&(Re=[].concat((0,ei.Z)(Re),(0,ei.Z)(Vo(_t))))}),Re}function rs(Ee){return Ee.some(Re=>{let{children:dt}=Re;return dt})}function Rr(Ee,Re){return typeof Re=="string"||typeof Re=="number"?Re==null?void 0:Re.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function dl(Ee){let{filters:Re,prefixCls:dt,filteredKeys:bt,filterMultiple:_t,searchValue:Dt,filterSearch:ve}=Ee;return Re.map((bn,ln)=>{const zn=String(bn.value);if(bn.children)return{key:zn||ln,label:bn.text,popupClassName:`${dt}-dropdown-submenu`,children:dl({filters:bn.children,prefixCls:dt,filteredKeys:bt,filterMultiple:_t,searchValue:Dt,filterSearch:ve})};const jn=_t?co.default:mi.ZP,$n={key:bn.value!==void 0?zn:ln,label:M.createElement(M.Fragment,null,M.createElement(jn,{checked:bt.includes(zn)}),M.createElement("span",null,bn.text))};return Dt.trim()?typeof ve=="function"?ve(Dt,bn)?$n:null:Rr(Dt,bn.text)?$n:null:$n})}function ws(Ee){var Re,dt;const{tablePrefixCls:bt,prefixCls:_t,column:Dt,dropdownPrefixCls:ve,columnKey:bn,filterMultiple:ln,filterMode:zn="menu",filterSearch:jn=!1,filterState:$n,triggerFilter:hi,locale:gi,children:ti,getPopupContainer:E}=Ee,{filterDropdownOpen:P,onFilterDropdownOpenChange:W,filterResetToDefaultFilteredValue:J,defaultFilteredValue:ge,filterDropdownVisible:Te,onFilterDropdownVisibleChange:He}=Dt,[it,jt]=M.useState(!1),Qt=!!($n&&(!((Re=$n.filteredKeys)===null||Re===void 0)&&Re.length||$n.forceFiltered)),yt=$t=>{jt($t),W==null||W($t),He==null||He($t)},en=(dt=P!=null?P:Te)!==null&&dt!==void 0?dt:it,Gt=$n==null?void 0:$n.filteredKeys,[wt,ii]=Ot(Gt||[]),ki=$t=>{let{selectedKeys:zr}=$t;ii(zr)},ji=($t,zr)=>{let{node:fo,checked:un}=zr;ki(ln?{selectedKeys:$t}:{selectedKeys:un&&fo.key?[fo.key]:[]})};M.useEffect(()=>{it&&ki({selectedKeys:Gt||[]})},[Gt]);const[si,vi]=M.useState([]),Pi=$t=>{vi($t)},[Mr,Xr]=M.useState(""),ui=$t=>{const{value:zr}=$t.target;Xr(zr)};M.useEffect(()=>{it||Xr("")},[it]);const io=$t=>{const zr=$t&&$t.length?$t:null;if(zr===null&&(!$n||!$n.filteredKeys)||(0,F.Z)(zr,$n==null?void 0:$n.filteredKeys,!0))return null;hi({column:Dt,key:bn,filteredKeys:zr})},bo=()=>{yt(!1),io(wt())},dr=function(){let{confirm:$t,closeDropdown:zr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};$t&&io([]),zr&&yt(!1),Xr(""),ii(J?(ge||[]).map(fo=>String(fo)):[])},Qi=function(){let{closeDropdown:$t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};$t&&yt(!1),io(wt())},oo=$t=>{$t&&Gt!==void 0&&ii(Gt||[]),yt($t),!$t&&!Dt.filterDropdown&&bo()},to=We()({[`${ve}-menu-without-submenu`]:!rs(Dt.filters||[])}),pr=$t=>{if($t.target.checked){const zr=Vo(Dt==null?void 0:Dt.filters).map(fo=>String(fo));ii(zr)}else ii([])},_r=$t=>{let{filters:zr}=$t;return(zr||[]).map((fo,un)=>{const da=String(fo.value),Ta={title:fo.text,key:fo.value!==void 0?da:un};return fo.children&&(Ta.children=_r({filters:fo.children})),Ta})},Gi=$t=>{var zr;return Object.assign(Object.assign({},$t),{text:$t.title,value:$t.key,children:((zr=$t.children)===null||zr===void 0?void 0:zr.map(fo=>Gi(fo)))||[]})};let ir;if(typeof Dt.filterDropdown=="function")ir=Dt.filterDropdown({prefixCls:`${ve}-custom`,setSelectedKeys:$t=>ki({selectedKeys:$t}),selectedKeys:wt(),confirm:Qi,clearFilters:dr,filters:Dt.filters,visible:en,close:()=>{yt(!1)}});else if(Dt.filterDropdown)ir=Dt.filterDropdown;else{const $t=wt()||[],zr=()=>(Dt.filters||[]).length===0?M.createElement(xr.Z,{image:xr.Z.PRESENTED_IMAGE_SIMPLE,description:gi.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zn==="tree"?M.createElement(M.Fragment,null,M.createElement(Ss,{filterSearch:jn,value:Mr,onChange:ui,tablePrefixCls:bt,locale:gi}),M.createElement("div",{className:`${bt}-filter-dropdown-tree`},ln?M.createElement(co.default,{checked:$t.length===Vo(Dt.filters).length,indeterminate:$t.length>0&&$t.lengthtypeof jn=="function"?jn(Mr,Gi(un)):Rr(Mr,un.title):void 0}))):M.createElement(M.Fragment,null,M.createElement(Ss,{filterSearch:jn,value:Mr,onChange:ui,tablePrefixCls:bt,locale:gi}),M.createElement(wn.default,{selectable:!0,multiple:ln,prefixCls:`${ve}-menu`,className:to,onSelect:ki,onDeselect:ki,selectedKeys:$t,getPopupContainer:E,openKeys:si,onOpenChange:Pi,items:dl({filters:Dt.filters||[],filterSearch:jn,prefixCls:_t,filteredKeys:wt(),filterMultiple:ln,searchValue:Mr})})),fo=()=>J?(0,F.Z)((ge||[]).map(un=>String(un)),$t,!0):$t.length===0;ir=M.createElement(M.Fragment,null,zr(),M.createElement("div",{className:`${_t}-dropdown-btns`},M.createElement(Pr.ZP,{type:"link",size:"small",disabled:fo(),onClick:()=>dr()},gi.filterReset),M.createElement(Pr.ZP,{type:"primary",size:"small",onClick:bo},gi.filterConfirm)))}Dt.filterDropdown&&(ir=M.createElement(ar.J,{selectable:void 0},ir));const vr=()=>M.createElement(Es,{className:`${_t}-dropdown`},ir);let sr;typeof Dt.filterIcon=="function"?sr=Dt.filterIcon(Qt):Dt.filterIcon?sr=Dt.filterIcon:sr=M.createElement(No,null);const{direction:ho}=M.useContext(Wr.E_);return M.createElement("div",{className:`${_t}-column`},M.createElement("span",{className:`${bt}-column-title`},ti),M.createElement(xa.Z,{dropdownRender:vr,trigger:["click"],open:en,onOpenChange:oo,getPopupContainer:E,placement:ho==="rtl"?"bottomLeft":"bottomRight"},M.createElement("span",{role:"button",tabIndex:-1,className:We()(`${_t}-trigger`,{active:Qt}),onClick:$t=>{$t.stopPropagation()}},sr)))}var Os=ws;function Bo(Ee,Re,dt){let bt=[];return(Ee||[]).forEach((_t,Dt)=>{var ve;const bn=ss(Dt,dt);if(_t.filters||"filterDropdown"in _t||"onFilter"in _t)if("filteredValue"in _t){let ln=_t.filteredValue;"filterDropdown"in _t||(ln=(ve=ln==null?void 0:ln.map(String))!==null&&ve!==void 0?ve:ln),bt.push({column:_t,key:ka(_t,bn),filteredKeys:ln,forceFiltered:_t.filtered})}else bt.push({column:_t,key:ka(_t,bn),filteredKeys:Re&&_t.defaultFilteredValue?_t.defaultFilteredValue:void 0,forceFiltered:_t.filtered});"children"in _t&&(bt=[].concat((0,ei.Z)(bt),(0,ei.Z)(Bo(_t.children,Re,bn))))}),bt}function Ia(Ee,Re,dt,bt,_t,Dt,ve,bn){return dt.map((ln,zn)=>{const jn=ss(zn,bn),{filterMultiple:$n=!0,filterMode:hi,filterSearch:gi}=ln;let ti=ln;if(ti.filters||ti.filterDropdown){const E=ka(ti,jn),P=bt.find(W=>{let{key:J}=W;return E===J});ti=Object.assign(Object.assign({},ti),{title:W=>M.createElement(Os,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Re,column:ti,columnKey:E,filterState:P,filterMultiple:$n,filterMode:hi,filterSearch:gi,triggerFilter:Dt,locale:_t,getPopupContainer:ve},Ua(ln.title,W))})}return"children"in ti&&(ti=Object.assign(Object.assign({},ti),{children:Ia(Ee,Re,ti.children,bt,_t,Dt,ve,jn)})),ti})}function fl(Ee){const Re={};return Ee.forEach(dt=>{let{key:bt,filteredKeys:_t,column:Dt}=dt;const{filters:ve,filterDropdown:bn}=Dt;if(bn)Re[bt]=_t||null;else if(Array.isArray(_t)){const ln=Vo(ve);Re[bt]=ln.filter(zn=>_t.includes(String(zn)))}else Re[bt]=null}),Re}function ja(Ee,Re){return Re.reduce((dt,bt)=>{const{column:{onFilter:_t,filters:Dt},filteredKeys:ve}=bt;return _t&&ve&&ve.length?dt.filter(bn=>ve.some(ln=>{const zn=Vo(Dt),jn=zn.findIndex(hi=>String(hi)===String(ln)),$n=jn!==-1?zn[jn]:ln;return _t($n,bn)})):dt},Ee)}const qa=Ee=>Ee.flatMap(Re=>"children"in Re?[Re].concat((0,ei.Z)(qa(Re.children||[]))):[Re]);function Rl(Ee){let{prefixCls:Re,dropdownPrefixCls:dt,mergedColumns:bt,onFilterChange:_t,getPopupContainer:Dt,locale:ve}=Ee;const bn=M.useMemo(()=>qa(bt||[]),[bt]),[ln,zn]=M.useState(()=>Bo(bn,!0)),jn=M.useMemo(()=>{const ti=Bo(bn,!1);if(ti.length===0)return ti;let E=!0,P=!0;if(ti.forEach(W=>{let{filteredKeys:J}=W;J!==void 0?E=!1:P=!1}),E){const W=(bn||[]).map((J,ge)=>ka(J,ss(ge)));return ln.filter(J=>{let{key:ge}=J;return W.includes(ge)}).map(J=>{const ge=bn[W.findIndex(Te=>Te===J.key)];return Object.assign(Object.assign({},J),{column:Object.assign(Object.assign({},J.column),ge),forceFiltered:ge.filtered})})}return ti},[bn,ln]),$n=M.useMemo(()=>fl(jn),[jn]),hi=ti=>{const E=jn.filter(P=>{let{key:W}=P;return W!==ti.key});E.push(ti),zn(E),_t(fl(E),E)};return[ti=>Ia(Re,dt,ti,jn,ve,hi,Dt),jn,$n]}var _o=Rl;function il(Ee,Re,dt){const bt=M.useRef({});function _t(Dt){if(!bt.current||bt.current.data!==Ee||bt.current.childrenColumnName!==Re||bt.current.getRowKey!==dt){let bn=function(ln){ln.forEach((zn,jn)=>{const $n=dt(zn,jn);ve.set($n,zn),zn&&typeof zn=="object"&&Re in zn&&bn(zn[Re]||[])})};const ve=new Map;bn(Ee),bt.current={data:Ee,childrenColumnName:Re,kvMap:ve,getRowKey:dt}}return bt.current.kvMap.get(Dt)}return[_t]}var rl=h(50371),hu=function(Ee,Re){var dt={};for(var bt in Ee)Object.prototype.hasOwnProperty.call(Ee,bt)&&Re.indexOf(bt)<0&&(dt[bt]=Ee[bt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,bt=Object.getOwnPropertySymbols(Ee);_t{const Dt=Ee[_t];typeof Dt!="function"&&(dt[_t]=Dt)}),dt}function _s(Ee,Re,dt){const bt=dt&&typeof dt=="object"?dt:{},{total:_t=0}=bt,Dt=hu(bt,["total"]),[ve,bn]=(0,M.useState)(()=>({current:"defaultCurrent"in Dt?Dt.defaultCurrent:1,pageSize:"defaultPageSize"in Dt?Dt.defaultPageSize:Ga})),ln=(0,rl.Z)(ve,Dt,{total:_t>0?_t:Ee}),zn=Math.ceil((_t||Ee)/ln.pageSize);ln.current>zn&&(ln.current=zn||1);const jn=(hi,gi)=>{bn({current:hi!=null?hi:1,pageSize:gi||ln.pageSize})},$n=(hi,gi)=>{var ti;dt&&((ti=dt.onChange)===null||ti===void 0||ti.call(dt,hi,gi)),jn(hi,gi),Re(hi,gi||(ln==null?void 0:ln.pageSize))};return dt===!1?[{},()=>{}]:[Object.assign(Object.assign({},ln),{onChange:$n}),jn]}var Vi=_s,Cs=h(84105),jl=h(35654),Kr=h(90782),wo=h(71430),ha=h(18929);const aa={},ro="SELECT_ALL",ia="SELECT_INVERT",va="SELECT_NONE",Ma=[],Oa=(Ee,Re)=>{let dt=[];return(Re||[]).forEach(bt=>{dt.push(bt),bt&&typeof bt=="object"&&Ee in bt&&(dt=[].concat((0,ei.Z)(dt),(0,ei.Z)(Oa(Ee,bt[Ee]))))}),dt};var Vs=(Ee,Re)=>{const{preserveSelectedRowKeys:dt,selectedRowKeys:bt,defaultSelectedRowKeys:_t,getCheckboxProps:Dt,onChange:ve,onSelect:bn,onSelectAll:ln,onSelectInvert:zn,onSelectNone:jn,onSelectMultiple:$n,columnWidth:hi,type:gi,selections:ti,fixed:E,renderCell:P,hideSelectAll:W,checkStrictly:J=!0}=Re||{},{prefixCls:ge,data:Te,pageData:He,getRecordByKey:it,getRowKey:jt,expandType:Qt,childrenColumnName:yt,locale:en,getPopupContainer:Gt}=Ee,[wt,ii]=(0,ha.Z)(bt||_t||Ma,{value:bt}),ki=M.useRef(new Map),ji=(0,M.useCallback)(Gi=>{if(dt){const ir=new Map;Gi.forEach(vr=>{let sr=it(vr);!sr&&ki.current.has(vr)&&(sr=ki.current.get(vr)),ir.set(vr,sr)}),ki.current=ir}},[it,dt]);M.useEffect(()=>{ji(wt)},[wt]);const{keyEntities:si}=(0,M.useMemo)(()=>{if(J)return{keyEntities:null};let Gi=Te;if(dt){const ir=new Set(Te.map((sr,ho)=>jt(sr,ho))),vr=Array.from(ki.current).reduce((sr,ho)=>{let[$t,zr]=ho;return ir.has($t)?sr:sr.concat(zr)},[]);Gi=[].concat((0,ei.Z)(Gi),(0,ei.Z)(vr))}return(0,wo.I8)(Gi,{externalGetKey:jt,childrenPropName:yt})},[Te,jt,J,yt,dt]),vi=(0,M.useMemo)(()=>Oa(yt,He),[yt,He]),Pi=(0,M.useMemo)(()=>{const Gi=new Map;return vi.forEach((ir,vr)=>{const sr=jt(ir,vr),ho=(Dt?Dt(ir):null)||{};Gi.set(sr,ho)}),Gi},[vi,jt,Dt]),Mr=(0,M.useCallback)(Gi=>{var ir;return!!(!((ir=Pi.get(jt(Gi)))===null||ir===void 0)&&ir.disabled)},[Pi,jt]),[Xr,ui]=(0,M.useMemo)(()=>{if(J)return[wt||[],[]];const{checkedKeys:Gi,halfCheckedKeys:ir}=(0,Kr.S)(wt,!0,si,Mr);return[Gi||[],ir]},[wt,J,si,Mr]),io=(0,M.useMemo)(()=>{const Gi=gi==="radio"?Xr.slice(0,1):Xr;return new Set(Gi)},[Xr,gi]),bo=(0,M.useMemo)(()=>gi==="radio"?new Set:new Set(ui),[ui,gi]),[dr,Qi]=(0,M.useState)(null);M.useEffect(()=>{Re||ii(Ma)},[!!Re]);const oo=(0,M.useCallback)((Gi,ir)=>{let vr,sr;ji(Gi),dt?(vr=Gi,sr=Gi.map(ho=>ki.current.get(ho))):(vr=[],sr=[],Gi.forEach(ho=>{const $t=it(ho);$t!==void 0&&(vr.push(ho),sr.push($t))})),ii(vr),ve==null||ve(vr,sr,{type:ir})},[ii,it,ve,dt]),to=(0,M.useCallback)((Gi,ir,vr,sr)=>{if(bn){const ho=vr.map($t=>it($t));bn(it(Gi),ir,ho,sr)}oo(vr,"single")},[bn,it,oo]),pr=(0,M.useMemo)(()=>!ti||W?null:(ti===!0?[ro,ia,va]:ti).map(ir=>ir===ro?{key:"all",text:en.selectionAll,onSelect(){oo(Te.map((vr,sr)=>jt(vr,sr)).filter(vr=>{const sr=Pi.get(vr);return!(sr!=null&&sr.disabled)||io.has(vr)}),"all")}}:ir===ia?{key:"invert",text:en.selectInvert,onSelect(){const vr=new Set(io);He.forEach((ho,$t)=>{const zr=jt(ho,$t),fo=Pi.get(zr);fo!=null&&fo.disabled||(vr.has(zr)?vr.delete(zr):vr.add(zr))});const sr=Array.from(vr);zn&&zn(sr),oo(sr,"invert")}}:ir===va?{key:"none",text:en.selectNone,onSelect(){jn==null||jn(),oo(Array.from(io).filter(vr=>{const sr=Pi.get(vr);return sr==null?void 0:sr.disabled}),"none")}}:ir).map(ir=>Object.assign(Object.assign({},ir),{onSelect:function(){for(var vr,sr,ho=arguments.length,$t=new Array(ho),zr=0;zr{var ir;if(!Re)return Gi.filter(ko=>ko!==aa);let vr=(0,ei.Z)(Gi);const sr=new Set(io),ho=vi.map(jt).filter(ko=>!Pi.get(ko).disabled),$t=ho.every(ko=>sr.has(ko)),zr=ho.some(ko=>sr.has(ko)),fo=()=>{const ko=[];$t?ho.forEach(Zo=>{sr.delete(Zo),ko.push(Zo)}):ho.forEach(Zo=>{sr.has(Zo)||(sr.add(Zo),ko.push(Zo))});const Ho=Array.from(sr);ln==null||ln(!$t,Ho.map(Zo=>it(Zo)),ko.map(Zo=>it(Zo))),oo(Ho,"all"),Qi(null)};let un;if(gi!=="radio"){let ko;if(pr){const d={getPopupContainer:Gt,items:pr.map((g,K)=>{const{key:nt,text:gn,onSelect:Yn}=g;return{key:nt!=null?nt:K,onClick:()=>{Yn==null||Yn(ho)},label:gn}})};ko=M.createElement("div",{className:`${ge}-selection-extra`},M.createElement(xa.Z,{menu:d,getPopupContainer:Gt},M.createElement("span",null,M.createElement(Cs.Z,null))))}const Ho=vi.map((d,g)=>{const K=jt(d,g),nt=Pi.get(K)||{};return Object.assign({checked:sr.has(K)},nt)}).filter(d=>{let{disabled:g}=d;return g}),Zo=!!Ho.length&&Ho.length===vi.length,Sa=Zo&&Ho.every(d=>{let{checked:g}=d;return g}),Ha=Zo&&Ho.some(d=>{let{checked:g}=d;return g});un=!W&&M.createElement("div",{className:`${ge}-selection`},M.createElement(co.default,{checked:Zo?Sa:!!vi.length&&$t,indeterminate:Zo?!Sa&&Ha:!$t&&zr,onChange:fo,disabled:vi.length===0||Zo,"aria-label":ko?"Custom selection":"Select all",skipGroup:!0}),ko)}let da;gi==="radio"?da=(ko,Ho,Zo)=>{const Sa=jt(Ho,Zo),Ha=sr.has(Sa);return{node:M.createElement(mi.ZP,Object.assign({},Pi.get(Sa),{checked:Ha,onClick:d=>d.stopPropagation(),onChange:d=>{sr.has(Sa)||to(Sa,!0,[Sa],d.nativeEvent)}})),checked:Ha}}:da=(ko,Ho,Zo)=>{var Sa;const Ha=jt(Ho,Zo),d=sr.has(Ha),g=bo.has(Ha),K=Pi.get(Ha);let nt;return Qt==="nest"?nt=g:nt=(Sa=K==null?void 0:K.indeterminate)!==null&&Sa!==void 0?Sa:g,{node:M.createElement(co.default,Object.assign({},K,{indeterminate:nt,checked:d,skipGroup:!0,onClick:gn=>gn.stopPropagation(),onChange:gn=>{let{nativeEvent:Yn}=gn;const{shiftKey:wi}=Yn;let Cr=-1,Hr=-1;if(wi&&J){const Gn=new Set([dr,Ha]);ho.some((Hi,Or)=>{if(Gn.has(Hi))if(Cr===-1)Cr=Or;else return Hr=Or,!0;return!1})}if(Hr!==-1&&Cr!==Hr&&J){const Gn=ho.slice(Cr,Hr+1),Hi=[];d?Gn.forEach(Vr=>{sr.has(Vr)&&(Hi.push(Vr),sr.delete(Vr))}):Gn.forEach(Vr=>{sr.has(Vr)||(Hi.push(Vr),sr.add(Vr))});const Or=Array.from(sr);$n==null||$n(!d,Or.map(Vr=>it(Vr)),Hi.map(Vr=>it(Vr))),oo(Or,"multiple")}else{const Gn=Xr;if(J){const Hi=d?(0,jl._5)(Gn,Ha):(0,jl.L0)(Gn,Ha);to(Ha,!d,Hi,Yn)}else{const Hi=(0,Kr.S)([].concat((0,ei.Z)(Gn),[Ha]),!0,si,Mr),{checkedKeys:Or,halfCheckedKeys:Vr}=Hi;let $o=Or;if(d){const Rs=new Set(Or);Rs.delete(Ha),$o=(0,Kr.S)(Array.from(Rs),{checked:!1,halfCheckedKeys:Vr},si,Mr).checkedKeys}to(Ha,!d,$o,Yn)}}Qi(d?null:Ha)}})),checked:d}};const Ta=(ko,Ho,Zo)=>{const{node:Sa,checked:Ha}=da(ko,Ho,Zo);return P?P(Ha,Ho,Zo,Sa):Sa};if(!vr.includes(aa))if(vr.findIndex(ko=>{var Ho;return((Ho=ko[_i])===null||Ho===void 0?void 0:Ho.columnType)==="EXPAND_COLUMN"})===0){const[ko,...Ho]=vr;vr=[ko,aa].concat((0,ei.Z)(Ho))}else vr=[aa].concat((0,ei.Z)(vr));const es=vr.indexOf(aa);vr=vr.filter((ko,Ho)=>ko!==aa||Ho===es);const Fo=vr[es-1],qo=vr[es+1];let ta=E;ta===void 0&&((qo==null?void 0:qo.fixed)!==void 0?ta=qo.fixed:(Fo==null?void 0:Fo.fixed)!==void 0&&(ta=Fo.fixed)),ta&&Fo&&((ir=Fo[_i])===null||ir===void 0?void 0:ir.columnType)==="EXPAND_COLUMN"&&Fo.fixed===void 0&&(Fo.fixed=ta);const ya=We()(`${ge}-selection-col`,{[`${ge}-selection-col-with-dropdown`]:ti&&gi==="checkbox"}),zs={fixed:ta,width:hi,className:`${ge}-selection-column`,title:Re.columnTitle||un,render:Ta,onCell:Re.onCell,[_i]:{className:ya}};return vr.map(ko=>ko===aa?zs:ko)},[jt,vi,Re,Xr,io,bo,hi,pr,Qt,dr,Pi,$n,to,Mr]),io]},wa=h(89489),hc=h(59477),zu=h(6848);const du="ascend",nr="descend";function Ks(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function qe(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function Dn(Ee,Re){return Re?Ee[Ee.indexOf(Re)+1]:Ee[0]}function Cu(Ee,Re,dt){let bt=[];function _t(Dt,ve){bt.push({column:Dt,key:ka(Dt,ve),multiplePriority:Ks(Dt),sortOrder:Dt.sortOrder})}return(Ee||[]).forEach((Dt,ve)=>{const bn=ss(ve,dt);Dt.children?("sortOrder"in Dt&&_t(Dt,bn),bt=[].concat((0,ei.Z)(bt),(0,ei.Z)(Cu(Dt.children,Re,bn)))):Dt.sorter&&("sortOrder"in Dt?_t(Dt,bn):Re&&Dt.defaultSortOrder&&bt.push({column:Dt,key:ka(Dt,bn),multiplePriority:Ks(Dt),sortOrder:Dt.defaultSortOrder}))}),bt}function Yu(Ee,Re,dt,bt,_t,Dt,ve,bn){return(Re||[]).map((ln,zn)=>{const jn=ss(zn,bn);let $n=ln;if($n.sorter){const hi=$n.sortDirections||_t,gi=$n.showSorterTooltip===void 0?ve:$n.showSorterTooltip,ti=ka($n,jn),E=dt.find(Qt=>{let{key:yt}=Qt;return yt===ti}),P=E?E.sortOrder:null,W=Dn(hi,P);let J;if(ln.sortIcon)J=ln.sortIcon({sortOrder:P});else{const Qt=hi.includes(du)&&M.createElement(hc.Z,{className:We()(`${Ee}-column-sorter-up`,{active:P===du})}),yt=hi.includes(nr)&&M.createElement(wa.Z,{className:We()(`${Ee}-column-sorter-down`,{active:P===nr})});J=M.createElement("span",{className:We()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(Qt&&yt)})},M.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},Qt,yt))}const{cancelSort:ge,triggerAsc:Te,triggerDesc:He}=Dt||{};let it=ge;W===nr?it=He:W===du&&(it=Te);const jt=typeof gi=="object"?gi:{title:it};$n=Object.assign(Object.assign({},$n),{className:We()($n.className,{[`${Ee}-column-sort`]:P}),title:Qt=>{const yt=M.createElement("div",{className:`${Ee}-column-sorters`},M.createElement("span",{className:`${Ee}-column-title`},Ua(ln.title,Qt)),J);return gi?M.createElement(zu.Z,Object.assign({},jt),yt):yt},onHeaderCell:Qt=>{const yt=ln.onHeaderCell&&ln.onHeaderCell(Qt)||{},en=yt.onClick,Gt=yt.onKeyDown;yt.onClick=ki=>{bt({column:ln,key:ti,sortOrder:W,multiplePriority:Ks(ln)}),en==null||en(ki)},yt.onKeyDown=ki=>{ki.keyCode===ai.Z.ENTER&&(bt({column:ln,key:ti,sortOrder:W,multiplePriority:Ks(ln)}),Gt==null||Gt(ki))};const wt=Go(ln.title,{}),ii=wt==null?void 0:wt.toString();return P?yt["aria-sort"]=P==="ascend"?"ascending":"descending":yt["aria-label"]=ii||"",yt.className=We()(yt.className,`${Ee}-column-has-sorters`),yt.tabIndex=0,ln.ellipsis&&(yt.title=(wt!=null?wt:"").toString()),yt}})}return"children"in $n&&($n=Object.assign(Object.assign({},$n),{children:Yu(Ee,$n.children,dt,bt,_t,Dt,ve,jn)})),$n})}function pl(Ee){const{column:Re,sortOrder:dt}=Ee;return{column:Re,order:dt,field:Re.dataIndex,columnKey:Re.key}}function ml(Ee){const Re=Ee.filter(dt=>{let{sortOrder:bt}=dt;return bt}).map(pl);return Re.length===0&&Ee.length?Object.assign(Object.assign({},pl(Ee[Ee.length-1])),{column:void 0}):Re.length<=1?Re[0]||{}:Re}function gl(Ee,Re,dt){const bt=Re.slice().sort((ve,bn)=>bn.multiplePriority-ve.multiplePriority),_t=Ee.slice(),Dt=bt.filter(ve=>{let{column:{sorter:bn},sortOrder:ln}=ve;return qe(bn)&&ln});return Dt.length?_t.sort((ve,bn)=>{for(let ln=0;ln{const bn=ve[dt];return bn?Object.assign(Object.assign({},ve),{[dt]:gl(bn,Re,dt)}):ve}):_t}function Xu(Ee){let{prefixCls:Re,mergedColumns:dt,onSorterChange:bt,sortDirections:_t,tableLocale:Dt,showSorterTooltip:ve}=Ee;const[bn,ln]=M.useState(Cu(dt,!0)),zn=M.useMemo(()=>{let ti=!0;const E=Cu(dt,!1);if(!E.length)return bn;const P=[];function W(ge){ti?P.push(ge):P.push(Object.assign(Object.assign({},ge),{sortOrder:null}))}let J=null;return E.forEach(ge=>{J===null?(W(ge),ge.sortOrder&&(ge.multiplePriority===!1?ti=!1:J=!0)):(J&&ge.multiplePriority!==!1||(ti=!1),W(ge))}),P},[dt,bn]),jn=M.useMemo(()=>{const ti=zn.map(E=>{let{column:P,sortOrder:W}=E;return{column:P,order:W}});return{sortColumns:ti,sortColumn:ti[0]&&ti[0].column,sortOrder:ti[0]&&ti[0].order}},[zn]);function $n(ti){let E;ti.multiplePriority===!1||!zn.length||zn[0].multiplePriority===!1?E=[ti]:E=[].concat((0,ei.Z)(zn.filter(P=>{let{key:W}=P;return W!==ti.key})),[ti]),ln(E),bt(ml(E),E)}return[ti=>Yu(Re,ti,zn,$n,_t,Dt,ve),zn,jn,()=>ml(zn)]}function Tu(Ee,Re){return Ee.map(dt=>{const bt=Object.assign({},dt);return bt.title=Ua(dt.title,Re),"children"in bt&&(bt.children=Tu(bt.children,Re)),bt})}function Ca(Ee){return[M.useCallback(dt=>Tu(dt,Ee),[Ee])]}var Dr=Tt((Ee,Re)=>{const{_renderTimes:dt}=Ee,{_renderTimes:bt}=Re;return dt!==bt}),fs=br((Ee,Re)=>{const{_renderTimes:dt}=Ee,{_renderTimes:bt}=Re;return dt!==bt}),as=h(64993),Eo=h(17313),vo=h(83116),Wa=h(37613),sa=Ee=>{const{componentCls:Re}=Ee,dt=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,bt=(_t,Dt,ve)=>({[`&${Re}-${_t}`]:{[`> ${Re}-container`]:{[`> ${Re}-content, > ${Re}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Re}-expanded-row-fixed`]:{margin:`-${Dt}px -${ve+Ee.lineWidth}px`}}}}}});return{[`${Re}-wrapper`]:{[`${Re}${Re}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Re}-title`]:{border:dt,borderBottom:0},[`> ${Re}-container`]:{borderInlineStart:dt,borderTop:dt,[` + > ${Re}-content, + > ${Re}-header, + > ${Re}-body, + > ${Re}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:dt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:dt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Re}-cell-fix-right-first::after`]:{borderInlineEnd:dt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Re}-expanded-row-fixed`]:{margin:`-${Ee.tablePaddingVertical}px -${Ee.tablePaddingHorizontal+Ee.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ee.lineWidth,bottom:0,borderInlineEnd:dt,content:'""'}}}}}},[`&${Re}-scroll-horizontal`]:{[`> ${Re}-container > ${Re}-body`]:{"> table > tbody":{[` + > tr${Re}-expanded-row, + > tr${Re}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},bt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),bt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Re}-footer`]:{border:dt,borderTop:0}}),[`${Re}-cell`]:{[`${Re}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ee.lineWidth}px 0 ${Ee.lineWidth}px ${Ee.tableHeaderBg}`}},[`${Re}-bordered ${Re}-cell-scrollbar`]:{borderInlineEnd:dt}}}},Va=Ee=>{const{componentCls:Re}=Ee;return{[`${Re}-wrapper`]:{[`${Re}-cell-ellipsis`]:Object.assign(Object.assign({},Eo.vS),{wordBreak:"keep-all",[` + &${Re}-cell-fix-left-last, + &${Re}-cell-fix-right-first + `]:{overflow:"visible",[`${Re}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Re}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ro=Ee=>{const{componentCls:Re}=Ee;return{[`${Re}-wrapper`]:{[`${Re}-tbody > tr${Re}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},vs=h(15969),Ko=Ee=>{const{componentCls:Re,antCls:dt,controlInteractiveSize:bt,motionDurationSlow:_t,lineWidth:Dt,paddingXS:ve,lineType:bn,tableBorderColor:ln,tableExpandIconBg:zn,tableExpandColumnWidth:jn,borderRadius:$n,fontSize:hi,fontSizeSM:gi,lineHeight:ti,tablePaddingVertical:E,tablePaddingHorizontal:P,tableExpandedRowBg:W,paddingXXS:J}=Ee,ge=bt/2-Dt,Te=ge*2+Dt*3,He=`${Dt}px ${bn} ${ln}`,it=J-Dt;return{[`${Re}-wrapper`]:{[`${Re}-expand-icon-col`]:{width:jn},[`${Re}-row-expand-icon-cell`]:{textAlign:"center",[`${Re}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Re}-row-indent`]:{height:1,float:"left"},[`${Re}-row-expand-icon`]:Object.assign(Object.assign({},(0,vs.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Te,height:Te,padding:0,color:"inherit",lineHeight:`${Te}px`,background:zn,border:He,borderRadius:$n,transform:`scale(${bt/Te})`,transition:`all ${_t}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${_t} ease-out`,content:'""'},"&::before":{top:ge,insetInlineEnd:it,insetInlineStart:it,height:Dt},"&::after":{top:it,bottom:it,insetInlineStart:ge,width:Dt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Re}-row-indent + ${Re}-row-expand-icon`]:{marginTop:(hi*ti-Dt*3)/2-Math.ceil((gi*1.4-Dt*3)/2),marginInlineEnd:ve},[`tr${Re}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:W}},[`${dt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Re}-expanded-row-fixed`]:{position:"relative",margin:`-${E}px -${P}px`,padding:`${E}px ${P}px`}}}},La=Ee=>{const{componentCls:Re,antCls:dt,iconCls:bt,tableFilterDropdownWidth:_t,tableFilterDropdownSearchWidth:Dt,paddingXXS:ve,paddingXS:bn,colorText:ln,lineWidth:zn,lineType:jn,tableBorderColor:$n,tableHeaderIconColor:hi,fontSizeSM:gi,tablePaddingHorizontal:ti,borderRadius:E,motionDurationSlow:P,colorTextDescription:W,colorPrimary:J,tableHeaderFilterActiveBg:ge,colorTextDisabled:Te,tableFilterDropdownBg:He,tableFilterDropdownHeight:it,controlItemBgHover:jt,controlItemBgActive:Qt,boxShadowSecondary:yt,filterDropdownMenuBg:en}=Ee,Gt=`${dt}-dropdown`,wt=`${Re}-filter-dropdown`,ii=`${dt}-tree`,ki=`${zn}px ${jn} ${$n}`;return[{[`${Re}-wrapper`]:{[`${Re}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Re}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ve,marginInline:`${ve}px ${-ti/2}px`,padding:`0 ${ve}px`,color:hi,fontSize:gi,borderRadius:E,cursor:"pointer",transition:`all ${P}`,"&:hover":{color:W,background:ge},"&.active":{color:J}}}},{[`${dt}-dropdown`]:{[wt]:Object.assign(Object.assign({},(0,Eo.Wf)(Ee)),{minWidth:_t,backgroundColor:He,borderRadius:E,boxShadow:yt,overflow:"hidden",[`${Gt}-menu`]:{maxHeight:it,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:en,"&:empty::after":{display:"block",padding:`${bn}px 0`,color:Te,fontSize:gi,textAlign:"center",content:'"Not Found"'}},[`${wt}-tree`]:{paddingBlock:`${bn}px 0`,paddingInline:bn,[ii]:{padding:0},[`${ii}-treenode ${ii}-node-content-wrapper:hover`]:{backgroundColor:jt},[`${ii}-treenode-checkbox-checked ${ii}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Qt}}},[`${wt}-search`]:{padding:bn,borderBottom:ki,"&-input":{input:{minWidth:Dt},[bt]:{color:Te}}},[`${wt}-checkall`]:{width:"100%",marginBottom:ve,marginInlineStart:ve},[`${wt}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${bn-zn}px ${bn}px`,overflow:"hidden",borderTop:ki}})}},{[`${dt}-dropdown ${wt}, ${wt}-submenu`]:{[`${dt}-checkbox-wrapper + span`]:{paddingInlineStart:bn,color:ln},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fu=Ee=>{const{componentCls:Re,lineWidth:dt,colorSplit:bt,motionDurationSlow:_t,zIndexTableFixed:Dt,tableBg:ve,zIndexTableSticky:bn}=Ee,ln=bt;return{[`${Re}-wrapper`]:{[` + ${Re}-cell-fix-left, + ${Re}-cell-fix-right + `]:{position:"sticky !important",zIndex:Dt,background:ve},[` + ${Re}-cell-fix-left-first::after, + ${Re}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-dt,width:30,transform:"translateX(100%)",transition:`box-shadow ${_t}`,content:'""',pointerEvents:"none"},[`${Re}-cell-fix-left-all::after`]:{display:"none"},[` + ${Re}-cell-fix-right-first::after, + ${Re}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-dt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${_t}`,content:'""',pointerEvents:"none"},[`${Re}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:bn+1,width:30,transition:`box-shadow ${_t}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Re}-ping-left`]:{[`&:not(${Re}-has-fix-left) ${Re}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${ln}`}},[` + ${Re}-cell-fix-left-first::after, + ${Re}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${ln}`},[`${Re}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Re}-ping-right`]:{[`&:not(${Re}-has-fix-right) ${Re}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${ln}`}},[` + ${Re}-cell-fix-right-first::after, + ${Re}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${ln}`}}}}},dc=Ee=>{const{componentCls:Re,antCls:dt}=Ee;return{[`${Re}-wrapper`]:{[`${Re}-pagination${dt}-pagination`]:{margin:`${Ee.margin}px 0`},[`${Re}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ee.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Qu=Ee=>{const{componentCls:Re,tableRadius:dt}=Ee;return{[`${Re}-wrapper`]:{[Re]:{[`${Re}-title, ${Re}-header`]:{borderRadius:`${dt}px ${dt}px 0 0`},[`${Re}-title + ${Re}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Re}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:dt,borderStartEndRadius:dt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:dt},"> *:last-child":{borderStartEndRadius:dt}}},"&-footer":{borderRadius:`0 0 ${dt}px ${dt}px`}}}}},tu=Ee=>{const{componentCls:Re}=Ee;return{[`${Re}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Re}-pagination-left`]:{justifyContent:"flex-end"},[`${Re}-pagination-right`]:{justifyContent:"flex-start"},[`${Re}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Re}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Re}-row-indent`]:{float:"right"}}}}},Uu=Ee=>{const{componentCls:Re,antCls:dt,iconCls:bt,fontSizeIcon:_t,padding:Dt,paddingXS:ve,tableHeaderIconColor:bn,tableHeaderIconColorHover:ln,tableSelectionColumnWidth:zn}=Ee;return{[`${Re}-wrapper`]:{[`${Re}-selection-col`]:{width:zn,[`&${Re}-selection-col-with-dropdown`]:{width:zn+_t+Dt/4}},[`${Re}-bordered ${Re}-selection-col`]:{width:zn+ve*2,[`&${Re}-selection-col-with-dropdown`]:{width:zn+_t+Dt/4+ve*2}},[` + table tr th${Re}-selection-column, + table tr td${Re}-selection-column + `]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${dt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Re}-selection-column${Re}-cell-fix-left`]:{zIndex:Ee.zIndexTableFixed+1},[`table tr th${Re}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Re}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Re}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ee.tablePaddingHorizontal/4}px`,[bt]:{color:bn,fontSize:_t,verticalAlign:"baseline","&:hover":{color:ln}}}}}},Zs=Ee=>{const{componentCls:Re}=Ee,dt=(bt,_t,Dt,ve)=>({[`${Re}${Re}-${bt}`]:{fontSize:ve,[` + ${Re}-title, + ${Re}-footer, + ${Re}-cell, + ${Re}-thead > tr > th, + ${Re}-tbody > tr > th, + ${Re}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${Bt}px ${Rt}px`},[`${Le}-filter-trigger`]:{marginInlineEnd:`-${Rt/2}px`},[`${Le}-expanded-row-fixed`]:{margin:`-${Bt}px -${Rt}px`},[`${Le}-tbody`]:{[`${Le}-wrapper:only-child ${Le}`]:{marginBlock:`-${Bt}px`,marginInline:`${Ee.tableExpandColumnWidth-Rt}px -${Rt}px`}},[`${Le}-selection-column`]:{paddingInlineStart:`${Rt/4}px`}}});return{[`${Le}-wrapper`]:Object.assign(Object.assign({},ht("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),ht("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Bs=Ee=>{const{componentCls:Le,marginXXS:ht,fontSizeIcon:bt,tableHeaderIconColor:Bt,tableHeaderIconColorHover:Rt}=Ee;return{[`${Le}-wrapper`]:{[`${Le}-thead th${Le}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,"&:hover":{background:Ee.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ee.colorPrimary},[` - &${Le}-cell-fix-left:hover, - &${Le}-cell-fix-right:hover - `]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Le}-thead th${Le}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Le}-column-sort`]:{background:Ee.tableBodySortBg},[`${Le}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Le}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Le}-column-sorter`]:{marginInlineStart:ht,color:Bt,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:bt,"&.active":{color:Ee.colorPrimary}},[`${Le}-column-sorter-up + ${Le}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Le}-column-sorters:hover ${Le}-column-sorter`]:{color:Rt}}}},tu=Ee=>{const{componentCls:Le,opacityLoading:ht,tableScrollThumbBg:bt,tableScrollThumbBgHover:Bt,tableScrollThumbSize:Rt,tableScrollBg:ve,zIndexTableSticky:yn,stickyScrollBarBorderRadius:sn}=Ee,zn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Le}-wrapper`]:{[`${Le}-sticky`]:{"&-holder":{position:"sticky",zIndex:yn,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Rt}px !important`,zIndex:yn,display:"flex",alignItems:"center",background:ve,borderTop:zn,opacity:ht,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Rt,backgroundColor:bt,borderRadius:sn,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Bt}}}}}}},yl=Ee=>{const{componentCls:Le,lineWidth:ht,tableBorderColor:bt}=Ee,Bt=`${ht}px ${Ee.lineType} ${bt}`;return{[`${Le}-wrapper`]:{[`${Le}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:Bt}}},[`div${Le}-summary`]:{boxShadow:`0 -${ht}px 0 ${bt}`}}}},Wl=Ee=>{const{componentCls:Le}=Ee,ht=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,bt=`${Le}-expanded-row-cell`;return{[`${Le}-wrapper`]:{[`${Le}-tbody-virtual`]:{[`${Le}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Le}-cell`]:{borderBottom:ht},[`${Le}-expanded-row`]:{[`${bt}${bt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Le}-bordered`]:{[`${Le}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ht,position:"absolute"},[`${Le}-cell`]:{borderInlineEnd:ht,[`&${Le}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:ht}}}}}}};const Zs=Ee=>{const{componentCls:Le,fontWeightStrong:ht,tablePaddingVertical:bt,tablePaddingHorizontal:Bt,lineWidth:Rt,lineType:ve,tableBorderColor:yn,tableFontSize:sn,tableBg:zn,tableRadius:$n,tableHeaderTextColor:jn,motionDurationMid:gi,tableHeaderBg:yi,tableHeaderCellSplitColor:ei,tableRowHoverBg:ji,tableSelectedRowBg:ci,tableSelectedRowHoverBg:Gi,tableFooterTextColor:E,tableFooterBg:B,paddingContentVerticalLG:W}=Ee,q=`${Rt}px ${ve} ${yn}`;return{[`${Le}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,xo.dF)()),{[Le]:Object.assign(Object.assign({},(0,xo.Wf)(Ee)),{fontSize:sn,background:zn,borderRadius:`${$n}px ${$n}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${$n}px ${$n}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${Le}-cell, - ${Le}-thead > tr > th, - ${Le}-tbody > tr > th, - ${Le}-tbody > tr > td, + `]:{padding:`${_t}px ${Dt}px`},[`${Re}-filter-trigger`]:{marginInlineEnd:`-${Dt/2}px`},[`${Re}-expanded-row-fixed`]:{margin:`-${_t}px -${Dt}px`},[`${Re}-tbody`]:{[`${Re}-wrapper:only-child ${Re}`]:{marginBlock:`-${_t}px`,marginInline:`${Ee.tableExpandColumnWidth-Dt}px -${Dt}px`}},[`${Re}-selection-column`]:{paddingInlineStart:`${Dt/4}px`}}});return{[`${Re}-wrapper`]:Object.assign(Object.assign({},dt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),dt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Ls=Ee=>{const{componentCls:Re,marginXXS:dt,fontSizeIcon:bt,tableHeaderIconColor:_t,tableHeaderIconColorHover:Dt}=Ee;return{[`${Re}-wrapper`]:{[`${Re}-thead th${Re}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,"&:hover":{background:Ee.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ee.colorPrimary},[` + &${Re}-cell-fix-left:hover, + &${Re}-cell-fix-right:hover + `]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Re}-thead th${Re}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Re}-column-sort`]:{background:Ee.tableBodySortBg},[`${Re}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Re}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Re}-column-sorter`]:{marginInlineStart:dt,color:_t,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:bt,"&.active":{color:Ee.colorPrimary}},[`${Re}-column-sorter-up + ${Re}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Re}-column-sorters:hover ${Re}-column-sorter`]:{color:Dt}}}},Dl=Ee=>{const{componentCls:Re,opacityLoading:dt,tableScrollThumbBg:bt,tableScrollThumbBgHover:_t,tableScrollThumbSize:Dt,tableScrollBg:ve,zIndexTableSticky:bn,stickyScrollBarBorderRadius:ln}=Ee,zn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Re}-wrapper`]:{[`${Re}-sticky`]:{"&-holder":{position:"sticky",zIndex:bn,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Dt}px !important`,zIndex:bn,display:"flex",alignItems:"center",background:ve,borderTop:zn,opacity:dt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Dt,backgroundColor:bt,borderRadius:ln,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:_t}}}}}}},bl=Ee=>{const{componentCls:Re,lineWidth:dt,tableBorderColor:bt}=Ee,_t=`${dt}px ${Ee.lineType} ${bt}`;return{[`${Re}-wrapper`]:{[`${Re}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:_t}}},[`div${Re}-summary`]:{boxShadow:`0 -${dt}px 0 ${bt}`}}}},pu=Ee=>{const{componentCls:Re}=Ee,dt=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,bt=`${Re}-expanded-row-cell`;return{[`${Re}-wrapper`]:{[`${Re}-tbody-virtual`]:{[`${Re}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Re}-cell`]:{borderBottom:dt},[`${Re}-expanded-row`]:{[`${bt}${bt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Re}-bordered`]:{[`${Re}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:dt,position:"absolute"},[`${Re}-cell`]:{borderInlineEnd:dt,[`&${Re}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:dt}}}}}}};const Ys=Ee=>{const{componentCls:Re,fontWeightStrong:dt,tablePaddingVertical:bt,tablePaddingHorizontal:_t,lineWidth:Dt,lineType:ve,tableBorderColor:bn,tableFontSize:ln,tableBg:zn,tableRadius:jn,tableHeaderTextColor:$n,motionDurationMid:hi,tableHeaderBg:gi,tableHeaderCellSplitColor:ti,tableRowHoverBg:E,tableSelectedRowBg:P,tableSelectedRowHoverBg:W,tableFooterTextColor:J,tableFooterBg:ge,paddingContentVerticalLG:Te}=Ee,He=`${Dt}px ${ve} ${bn}`;return{[`${Re}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Eo.dF)()),{[Re]:Object.assign(Object.assign({},(0,Eo.Wf)(Ee)),{fontSize:ln,background:zn,borderRadius:`${jn}px ${jn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${jn}px ${jn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${Re}-cell, + ${Re}-thead > tr > th, + ${Re}-tbody > tr > th, + ${Re}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${W}px ${Bt}px`,overflowWrap:"break-word"},[`${Le}-title`]:{padding:`${bt}px ${Bt}px`},[`${Le}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:jn,fontWeight:ht,textAlign:"start",background:yi,borderBottom:q,transition:`background ${gi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Le}-selection-column):not(${Le}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ei,transform:"translateY(-50%)",transition:`background-color ${gi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Le}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${gi}, border-color ${gi}`,borderBottom:q,[` - > ${Le}-wrapper:only-child, - > ${Le}-expanded-row-fixed > ${Le}-wrapper:only-child - `]:{[Le]:{marginBlock:`-${bt}px`,marginInline:`${Ee.tableExpandColumnWidth-Bt}px -${Bt}px`,[`${Le}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:jn,fontWeight:ht,textAlign:"start",background:yi,borderBottom:q,transition:`background ${gi} ease`},[` - &${Le}-row:hover > th, - &${Le}-row:hover > td, - > th${Le}-cell-row-hover, - > td${Le}-cell-row-hover - `]:{background:ji},[`&${Le}-row-selected`]:{"> th, > td":{background:ci},"&:hover > th, &:hover > td":{background:Gi}}}},[`${Le}-footer`]:{padding:`${bt}px ${Bt}px`,color:E,background:B}})}};var fu=(0,so.Z)("Table",Ee=>{const{colorTextHeading:Le,colorSplit:ht,colorIcon:bt,colorIconHover:Bt,opacityLoading:Rt,colorBgContainer:ve,controlInteractiveSize:yn,headerBg:sn,headerColor:zn,headerSortActiveBg:$n,headerSortHoverBg:jn,bodySortBg:gi,rowHoverBg:yi,rowSelectedBg:ei,rowSelectedHoverBg:ji,rowExpandedBg:ci,cellPaddingBlock:Gi,cellPaddingInline:E,cellPaddingBlockMD:B,cellPaddingInlineMD:W,cellPaddingBlockSM:q,cellPaddingInlineSM:pe,borderColor:Ce,footerBg:$e,footerColor:it,headerBorderRadius:$t,cellFontSize:Dt,cellFontSizeMD:ft,cellFontSizeSM:Yt,headerSplitColor:en,fixedHeaderSortActiveBg:_t,headerFilterHoverBg:Si,filterDropdownBg:li,expandIconBg:lr,selectionColumnWidth:Ni,stickyScrollBarBg:Or}=Ee,Zi=new gs.C(bt),oo=new gs.C(Bt),lo=2,ii=(0,Ha.TS)(Ee,{tableFontSize:Dt,tableBg:ve,tableRadius:$t,tablePaddingVertical:Gi,tablePaddingHorizontal:E,tablePaddingVerticalMiddle:B,tablePaddingHorizontalMiddle:W,tablePaddingVerticalSmall:q,tablePaddingHorizontalSmall:pe,tableBorderColor:Ce,tableHeaderTextColor:zn,tableHeaderBg:sn,tableFooterTextColor:it,tableFooterBg:$e,tableHeaderCellSplitColor:en,tableHeaderSortBg:$n,tableHeaderSortHoverBg:jn,tableHeaderIconColor:Zi.clone().setAlpha(Zi.getAlpha()*Rt).toRgbString(),tableHeaderIconColorHover:oo.clone().setAlpha(oo.getAlpha()*Rt).toRgbString(),tableBodySortBg:gi,tableFixedHeaderSortActiveBg:_t,tableHeaderFilterActiveBg:Si,tableFilterDropdownBg:li,tableRowHoverBg:yi,tableSelectedRowBg:ei,tableSelectedRowHoverBg:ji,zIndexTableFixed:lo,zIndexTableSticky:lo+1,tableFontSizeMiddle:ft,tableFontSizeSmall:Yt,tableSelectionColumnWidth:Ni,tableExpandIconBg:lr,tableExpandColumnWidth:yn+2*Ee.padding,tableExpandedRowBg:ci,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Or,tableScrollThumbBgHover:Le,tableScrollBg:ht});return[Zs(ii),sl(ii),yl(ii),Bs(ii),wa(ii),sa(ii),Qu(ii),Jo(ii),yl(ii),Bo(ii),_u(ii),du(ii),tu(ii),ss(ii),Qs(ii),qu(ii),Wl(ii)]},Ee=>{const{colorFillAlter:Le,colorBgContainer:ht,colorTextHeading:bt,colorFillSecondary:Bt,colorFillContent:Rt,controlItemBgActive:ve,controlItemBgActiveHover:yn,padding:sn,paddingSM:zn,paddingXS:$n,colorBorderSecondary:jn,borderRadiusLG:gi,fontSize:yi,controlHeight:ei,colorTextPlaceholder:ji}=Ee,ci=new gs.C(Bt).onBackground(ht).toHexShortString(),Gi=new gs.C(Rt).onBackground(ht).toHexShortString(),E=new gs.C(Le).onBackground(ht).toHexShortString();return{headerBg:E,headerColor:bt,headerSortActiveBg:ci,headerSortHoverBg:Gi,bodySortBg:E,rowHoverBg:E,rowSelectedBg:ve,rowSelectedHoverBg:yn,rowExpandedBg:Le,cellPaddingBlock:sn,cellPaddingInline:sn,cellPaddingBlockMD:zn,cellPaddingInlineMD:$n,cellPaddingBlockSM:$n,cellPaddingInlineSM:$n,borderColor:jn,headerBorderRadius:gi,footerBg:E,footerColor:bt,cellFontSize:yi,cellFontSizeMD:yi,cellFontSizeSM:yi,headerSplitColor:jn,fixedHeaderSortActiveBg:ci,headerFilterHoverBg:Rt,filterDropdownMenuBg:ht,filterDropdownBg:ht,expandIconBg:ht,selectionColumnWidth:ei,stickyScrollBarBg:ji,stickyScrollBarBorderRadius:100}});const pu=[],Tu=(Ee,Le)=>{const{prefixCls:ht,className:bt,rootClassName:Bt,style:Rt,size:ve,bordered:yn,dropdownPrefixCls:sn,dataSource:zn,pagination:$n,rowSelection:jn,rowKey:gi="key",rowClassName:yi,columns:ei,children:ji,childrenColumnName:ci,onChange:Gi,getPopupContainer:E,loading:B,expandIcon:W,expandable:q,expandedRowRender:pe,expandIconColumnIndex:Ce,indentSize:$e,scroll:it,sortDirections:$t,locale:Dt,showSorterTooltip:ft=!0,virtual:Yt}=Ee,en=M.useMemo(()=>ei||_n(ji),[ei,ji]),_t=M.useMemo(()=>en.some(Eo=>Eo.responsive),[en]),Si=(0,fi.Z)(_t),li=M.useMemo(()=>{const Eo=new Set(Object.keys(Si).filter(ua=>Si[ua]));return en.filter(ua=>!ua.responsive||ua.responsive.some(Ga=>Eo.has(Ga)))},[en,Si]),lr=(0,Ki.Z)(Ee,["className","style","columns"]),{locale:Ni=ma.Z,direction:Or,table:Zi,renderEmpty:oo,getPrefixCls:lo,getPopupContainer:ii}=M.useContext(Gr.E_),qi=(0,Fo.Z)(ve),Xr=Object.assign(Object.assign({},Ni.Table),Dt),qr=zn||pu,io=lo("table",ht),Io=lo("dropdown",sn),ir=Object.assign({childrenColumnName:ci,expandIconColumnIndex:Ce},q),{childrenColumnName:Oi="children"}=ir,Yi=M.useMemo(()=>qr.some(Eo=>Eo==null?void 0:Eo[Oi])?"nest":pe||q&&q.expandedRowRender?"row":null,[qr]),Di={body:M.useRef()},Vr=M.useMemo(()=>typeof gi=="function"?gi:Eo=>Eo==null?void 0:Eo[gi],[gi]),[Xi]=js(qr,Oi,Vr),_r={},uo=function(Eo,ua){let Ga=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var T,m,S;const D=Object.assign(Object.assign({},_r),Eo);Ga&&((T=_r.resetPagination)===null||T===void 0||T.call(_r),!((m=D.pagination)===null||m===void 0)&&m.current&&(D.pagination.current=1),$n&&$n.onChange&&$n.onChange(1,(S=D.pagination)===null||S===void 0?void 0:S.pageSize)),it&&it.scrollToFirstRowOnChange!==!1&&Di.body.current&&(0,Rr.Z)(0,{getContainer:()=>Di.body.current}),Gi==null||Gi(D.pagination,D.filters,D.sorter,{currentDataSource:Xa(gl(qr,D.sorterStates,Oi),D.filterStates),action:ua})},rn=(Eo,ua)=>{uo({sorter:Eo,sorterStates:ua},"sort",!1)},[ya,ba,wn,mo]=Xu({prefixCls:io,mergedColumns:li,onSorterChange:rn,sortDirections:$t||["ascend","descend"],tableLocale:Xr,showSorterTooltip:ft}),_a=M.useMemo(()=>gl(qr,ba,Oi),[qr,ba]);_r.sorter=mo(),_r.sorterStates=ba;const la=(Eo,ua)=>{uo({filters:Eo,filterStates:ua},"filter",!0)},[za,$a,Ro]=Xo({prefixCls:io,locale:Xr,dropdownPrefixCls:Io,mergedColumns:li,onFilterChange:la,getPopupContainer:E||ii}),To=Xa(_a,$a);_r.filters=Ro,_r.filterStates=$a;const Mo=M.useMemo(()=>{const Eo={};return Object.keys(Ro).forEach(ua=>{Ro[ua]!==null&&(Eo[ua]=Ro[ua])}),Object.assign(Object.assign({},wn),{filters:Eo})},[wn,Ro]),[ia]=Ia(Mo),ja=(Eo,ua)=>{uo({pagination:Object.assign(Object.assign({},_r.pagination),{current:Eo,pageSize:ua})},"paginate")},[d,g]=Vi(To.length,ja,$n);_r.pagination=$n===!1?{}:Fa(d,$n),_r.resetPagination=g;const K=M.useMemo(()=>{if($n===!1||!d.pageSize)return To;const{current:Eo=1,total:ua,pageSize:Ga=as}=d;return To.lengthGa?To.slice((Eo-1)*Ga,Eo*Ga):To:To.slice((Eo-1)*Ga,Eo*Ga)},[!!$n,To,d&&d.current,d&&d.pageSize,d&&d.total]),[tt,mn]=Ys({prefixCls:io,data:To,pageData:K,getRowKey:Vr,getRecordByKey:Xi,expandType:Yi,childrenColumnName:Oi,locale:Xr,getPopupContainer:E||ii},jn),Zn=(Eo,ua,Ga)=>{let T;return typeof yi=="function"?T=We()(yi(Eo,ua,Ga)):T=We()(yi),We()({[`${io}-row-selected`]:mn.has(Vr(Eo,ua))},T)};ir.__PARENT_RENDER_ICON__=ir.expandIcon,ir.expandIcon=ir.expandIcon||W||ns(Xr),Yi==="nest"&&ir.expandIconColumnIndex===void 0?ir.expandIconColumnIndex=jn?1:0:ir.expandIconColumnIndex>0&&jn&&(ir.expandIconColumnIndex-=1),typeof ir.indentSize!="number"&&(ir.indentSize=typeof $e=="number"?$e:15);const Ti=M.useCallback(Eo=>ia(tt(za(ya(Eo)))),[ya,za,tt]);let Tr,Ur;if($n!==!1&&(d!=null&&d.total)){let Eo;d.size?Eo=d.size:Eo=qi==="small"||qi==="middle"?"small":void 0;const ua=m=>M.createElement(jo.Z,Object.assign({},d,{className:We()(`${io}-pagination ${io}-pagination-${m}`,d.className),size:Eo})),Ga=Or==="rtl"?"left":"right",{position:T}=d;if(T!==null&&Array.isArray(T)){const m=T.find(Z=>Z.includes("top")),S=T.find(Z=>Z.includes("bottom")),D=T.every(Z=>`${Z}`=="none");!m&&!S&&!D&&(Ur=ua(Ga)),m&&(Tr=ua(m.toLowerCase().replace("top",""))),S&&(Ur=ua(S.toLowerCase().replace("bottom","")))}else Ur=ua(Ga)}let Kr;typeof B=="boolean"?Kr={spinning:B}:typeof B=="object"&&(Kr=Object.assign({spinning:!0},B));const[Ra,xa]=fu(io),[,ri]=(0,Ta.Z)(),rr=We()(`${io}-wrapper`,Zi==null?void 0:Zi.className,{[`${io}-wrapper-rtl`]:Or==="rtl"},bt,Bt,xa),bo=Object.assign(Object.assign({},Zi==null?void 0:Zi.style),Rt),Oo=Dt&&Dt.emptyText||(oo==null?void 0:oo("Table"))||M.createElement(to.Z,{componentName:"Table"}),ra=Yt?Fs:Lr,ws={},ys=M.useMemo(()=>{const{fontSize:Eo,lineHeight:ua,padding:Ga,paddingXS:T,paddingSM:m}=ri,S=Math.floor(Eo*ua);switch(qi){case"large":return Ga*2+S;case"small":return T*2+S;default:return m*2+S}},[ri,qi]);return Yt&&(ws.listItemHeight=ys),Ra(M.createElement("div",{ref:Le,className:rr,style:bo},M.createElement(da.Z,Object.assign({spinning:!1},Kr),Tr,M.createElement(ra,Object.assign({},ws,lr,{columns:li,direction:Or,expandable:ir,prefixCls:io,className:We()({[`${io}-middle`]:qi==="middle",[`${io}-small`]:qi==="small",[`${io}-bordered`]:yn,[`${io}-empty`]:qr.length===0}),data:K,rowKey:Vr,rowClassName:Zn,emptyText:Oo,internalHooks:I,internalRefs:Di,transformColumns:Ti})),Ur)))};var Nu=M.forwardRef(Tu);const ll=(Ee,Le)=>{const ht=M.useRef(0);return ht.current+=1,M.createElement(Nu,Object.assign({},Ee,{ref:Le,_renderTimes:ht.current}))},vs=M.forwardRef(ll);vs.SELECTION_COLUMN=oa,vs.EXPAND_COLUMN=v,vs.SELECTION_ALL=ro,vs.SELECTION_INVERT=aa,vs.SELECTION_NONE=va,vs.Column=Fi,vs.ColumnGroup=cr,vs.Summary=He;var Vl=vs,zu=Vl},17574:function(Q,C,h){"use strict";h.d(C,{default:function(){return Je}});var v=h(23130),I=h(26407),O=h(52671),F=h(8657),G=h(92413),P=h(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},de=M,ce=h(7657),te=function(ue,Ht){return P.createElement(ce.Z,(0,G.Z)({},ue,{ref:Ht,icon:de}))},Me=P.forwardRef(te),we=Me,Qe=h(92310),Oe=h.n(Qe),Te=h(35654),Ae=h(71430),Re=h(36355),fe=h(56082),me=h(62892),xe=h(20648);const ge=4;function ke(se){const{dropPosition:ue,dropLevelOffset:Ht,prefixCls:Vt,indent:St,direction:an="ltr"}=se,Ft=an==="ltr"?"left":"right",ai=an==="ltr"?"right":"left",Ln={[Ft]:-Ht*St+ge,[ai]:0};switch(ue){case-1:Ln.top=-3;break;case 1:Ln.bottom=-3;break;default:Ln.bottom=-3,Ln[Ft]=St+ge;break}return P.createElement("div",{style:Ln,className:`${Vt}-drop-indicator`})}var ee=h(71997),Ie=P.forwardRef((se,ue)=>{const{getPrefixCls:Ht,direction:Vt,virtual:St,tree:an}=P.useContext(Re.E_),{prefixCls:Ft,className:ai,showIcon:Ln=!1,showLine:ni,switcherIcon:Jn,blockNode:In=!1,children:Mn,checkable:re=!1,selectable:z=!0,draggable:k,motion:j,style:X}=se,N=Ht("tree",Ft),_e=Ht(),Nt=j!=null?j:Object.assign(Object.assign({},(0,me.Z)(_e)),{motionAppear:!1}),He=Object.assign(Object.assign({},se),{checkable:re,selectable:z,showIcon:Ln,motion:Nt,blockNode:In,showLine:!!ni,dropIndicatorRender:ke}),[De,gt]=(0,xe.ZP)(N),ut=P.useMemo(()=>{if(!k)return!1;let Tt={};switch(typeof k){case"function":Tt.nodeDraggable=k;break;case"object":Tt=Object.assign({},k);break;default:break}return Tt.icon!==!1&&(Tt.icon=Tt.icon||P.createElement(fe.Z,null)),Tt},[k]),nt=Tt=>P.createElement(ee.Z,{prefixCls:N,switcherIcon:Jn,treeNodeProps:Tt,showLine:ni});return De(P.createElement(v.Z,Object.assign({itemHeight:20,ref:ue,virtual:St},He,{style:Object.assign(Object.assign({},an==null?void 0:an.style),X),prefixCls:N,className:Oe()({[`${N}-icon-hide`]:!Ln,[`${N}-block-node`]:In,[`${N}-unselectable`]:!z,[`${N}-rtl`]:Vt==="rtl"},an==null?void 0:an.className,ai,gt),direction:Vt,checkable:re&&P.createElement("span",{className:`${N}-checkbox-inner`}),selectable:z,switcherIcon:nt,draggable:ut}),Mn))}),Fe;(function(se){se[se.None=0]="None",se[se.Start=1]="Start",se[se.End=2]="End"})(Fe||(Fe={}));function Xe(se,ue){function Ht(Vt){const{key:St,children:an}=Vt;ue(St,Vt)!==!1&&Xe(an||[],ue)}se.forEach(Ht)}function Ye(se){let{treeData:ue,expandedKeys:Ht,startKey:Vt,endKey:St}=se;const an=[];let Ft=Fe.None;if(Vt&&Vt===St)return[Vt];if(!Vt||!St)return[];function ai(Ln){return Ln===Vt||Ln===St}return Xe(ue,Ln=>{if(Ft===Fe.End)return!1;if(ai(Ln)){if(an.push(Ln),Ft===Fe.None)Ft=Fe.Start;else if(Ft===Fe.Start)return Ft=Fe.End,!1}else Ft===Fe.Start&&an.push(Ln);return Ht.includes(Ln)}),an}function ie(se,ue){const Ht=(0,I.Z)(ue),Vt=[];return Xe(se,(St,an)=>{const Ft=Ht.indexOf(St);return Ft!==-1&&(Vt.push(an),Ht.splice(Ft,1)),!!Ht.length}),Vt}var lt=function(se,ue){var Ht={};for(var Vt in se)Object.prototype.hasOwnProperty.call(se,Vt)&&ue.indexOf(Vt)<0&&(Ht[Vt]=se[Vt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(se);St{var{defaultExpandAll:Ht,defaultExpandParent:Vt,defaultExpandedKeys:St}=se,an=lt(se,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ft=P.useRef(),ai=P.useRef(),Ln=()=>{const{keyEntities:ut}=(0,Ae.I8)(Pt(an));let nt;return Ht?nt=Object.keys(ut):Vt?nt=(0,Te.r7)(an.expandedKeys||St||[],ut):nt=an.expandedKeys||St,nt},[ni,Jn]=P.useState(an.selectedKeys||an.defaultSelectedKeys||[]),[In,Mn]=P.useState(()=>Ln());P.useEffect(()=>{"selectedKeys"in an&&Jn(an.selectedKeys)},[an.selectedKeys]),P.useEffect(()=>{"expandedKeys"in an&&Mn(an.expandedKeys)},[an.expandedKeys]);const re=(ut,nt)=>{var Tt;return"expandedKeys"in an||Mn(ut),(Tt=an.onExpand)===null||Tt===void 0?void 0:Tt.call(an,ut,nt)},z=(ut,nt)=>{var Tt;const{multiple:fn}=an,{node:qt,nativeEvent:jt}=nt,{key:cn=""}=qt,nn=Pt(an),et=Object.assign(Object.assign({},nt),{selected:!0}),zt=(jt==null?void 0:jt.ctrlKey)||(jt==null?void 0:jt.metaKey),hn=jt==null?void 0:jt.shiftKey;let tn;fn&&zt?(tn=ut,Ft.current=cn,ai.current=tn,et.selectedNodes=ie(nn,tn)):fn&&hn?(tn=Array.from(new Set([].concat((0,I.Z)(ai.current||[]),(0,I.Z)(Ye({treeData:nn,expandedKeys:In,startKey:cn,endKey:Ft.current}))))),et.selectedNodes=ie(nn,tn)):(tn=[cn],Ft.current=cn,ai.current=tn,et.selectedNodes=ie(nn,tn)),(Tt=an.onSelect)===null||Tt===void 0||Tt.call(an,tn,et),"selectedKeys"in an||Jn(tn)},{getPrefixCls:k,direction:j}=P.useContext(Re.E_),{prefixCls:X,className:N,showIcon:_e=!0,expandAction:Nt="click"}=an,He=lt(an,["prefixCls","className","showIcon","expandAction"]),De=k("tree",X),gt=Oe()(`${De}-directory`,{[`${De}-directory-rtl`]:j==="rtl"},N);return P.createElement(Ie,Object.assign({icon:We,ref:ue,blockNode:!0},He,{showIcon:_e,expandAction:Nt,prefixCls:De,className:gt,expandedKeys:In,selectedKeys:ni,onSelect:z,onExpand:re}))};var wt=P.forwardRef(xt);const En=Ie;En.DirectoryTree=wt,En.TreeNode=v.O;var Je=En},20648:function(Q,C,h){"use strict";h.d(C,{TM:function(){return Qe},Yk:function(){return we}});var v=h(93083),I=h(98447),O=h(17313),F=h(8378),G=h(37613),P=h(83116);const M=new v.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),de=(Oe,Te)=>({[`.${Oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Te.motionDurationSlow}`}}}),ce=(Oe,Te)=>({[`.${Oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Te.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Te.lineWidthBold}px solid ${Te.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(Oe,Te)=>{const{treeCls:Ae,treeNodeCls:Re,treeNodePadding:fe,titleHeight:me,nodeSelectedBg:xe,nodeHoverBg:ge}=Te,ke=Te.paddingXS;return{[Ae]:Object.assign(Object.assign({},(0,O.Wf)(Te)),{background:Te.colorBgContainer,borderRadius:Te.borderRadius,transition:`background-color ${Te.motionDurationSlow}`,[`&${Ae}-rtl`]:{[`${Ae}-switcher`]:{"&_close":{[`${Ae}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${Ae}-active-focused)`]:Object.assign({},(0,O.oN)(Te)),[`${Ae}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ae}-block-node`]:{[`${Ae}-list-holder-inner`]:{alignItems:"stretch",[`${Ae}-node-content-wrapper`]:{flex:"auto"},[`${Re}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:fe,insetInlineStart:0,border:`1px solid ${Te.colorPrimary}`,opacity:0,animationName:M,animationDuration:Te.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Re}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${fe}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${Ae}-node-content-wrapper`]:{color:Te.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${Ae}-node-content-wrapper`]:Object.assign({},(0,O.oN)(Te)),[`&:not(${Re}-disabled).filter-node ${Ae}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${Ae}-draggable-icon`]:{flexShrink:0,width:me,lineHeight:`${me}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Te.motionDurationSlow}`,[`${Re}:hover &`]:{opacity:.45}},[`&${Re}-disabled`]:{[`${Ae}-draggable-icon`]:{visibility:"hidden"}}}},[`${Ae}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:me}},[`${Ae}-draggable-icon`]:{visibility:"hidden"},[`${Ae}-switcher`]:Object.assign(Object.assign({},de(Oe,Te)),{position:"relative",flex:"none",alignSelf:"stretch",width:me,margin:0,lineHeight:`${me}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${Ae}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Te.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-fe,marginInlineStart:-1,borderInlineEnd:`1px solid ${Te.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:me/2*.8,height:me/2,borderBottom:`1px solid ${Te.colorBorder}`,content:'""'}}}),[`${Ae}-checkbox`]:{top:"initial",marginInlineEnd:ke},[`${Ae}-node-content-wrapper, ${Ae}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:me,margin:0,padding:`0 ${Te.paddingXS/2}px`,color:"inherit",lineHeight:`${me}px`,background:"transparent",borderRadius:Te.borderRadius,cursor:"pointer",transition:`all ${Te.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ge},[`&${Ae}-node-selected`]:{backgroundColor:xe},[`${Ae}-iconEle`]:{display:"inline-block",width:me,height:me,lineHeight:`${me}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${Ae}-unselectable ${Ae}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ae}-node-content-wrapper`]:Object.assign({lineHeight:`${me}px`,userSelect:"none"},ce(Oe,Te)),[`${Re}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Te.colorPrimary}`}},"&-show-line":{[`${Ae}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-fe,borderInlineEnd:`1px solid ${Te.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${Ae}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Re}-leaf-last`]:{[`${Ae}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${me/2}px !important`}}}}})}},Me=Oe=>{const{treeCls:Te,treeNodeCls:Ae,treeNodePadding:Re,directoryNodeSelectedBg:fe,directoryNodeSelectedColor:me}=Oe;return{[`${Te}${Te}-directory`]:{[Ae]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Re,insetInlineStart:0,transition:`background-color ${Oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Oe.controlItemBgHover}},"> *":{zIndex:1},[`${Te}-switcher`]:{transition:`color ${Oe.motionDurationMid}`},[`${Te}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Te}-node-selected`]:{color:me,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:fe},[`${Te}-switcher`]:{color:me},[`${Te}-node-content-wrapper`]:{color:me,background:"transparent"}}}}}},we=(Oe,Te)=>{const Ae=`.${Oe}`,Re=`${Ae}-treenode`,fe=Te.paddingXS/2,me=(0,G.TS)(Te,{treeCls:Ae,treeNodeCls:Re,treeNodePadding:fe});return[te(Oe,me),Me(me)]},Qe=Oe=>{const{controlHeightSM:Te}=Oe;return{titleHeight:Te,nodeHoverBg:Oe.controlItemBgHover,nodeSelectedBg:Oe.controlItemBgActive}};C.ZP=(0,P.Z)("Tree",(Oe,Te)=>{let{prefixCls:Ae}=Te;return[{[Oe.componentCls]:(0,I.C2)(`${Ae}-checkbox`,Oe)},we(Ae,Oe),(0,F.Z)(Oe)]},Oe=>{const{colorTextLightSolid:Te,colorPrimary:Ae}=Oe;return Object.assign(Object.assign({},Qe(Oe)),{directoryNodeSelectedColor:Te,directoryNodeSelectedBg:Ae})})},71997:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Re}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},F=O,G=h(7657),P=function(me,xe){return I.createElement(G.Z,(0,v.Z)({},me,{ref:xe,icon:F}))},M=I.forwardRef(P),de=M,ce=h(52671),te=h(58617),Me=h(15075),we=h(43531),Qe=h(92310),Oe=h.n(Qe),Te=h(92343),Re=fe=>{const{prefixCls:me,switcherIcon:xe,treeNodeProps:ge,showLine:ke}=fe,{isLeaf:ee,expanded:Ne,loading:Ie}=ge;if(Ie)return I.createElement(te.Z,{className:`${me}-switcher-loading-icon`});let Fe;if(ke&&typeof ke=="object"&&(Fe=ke.showLeafIcon),ee){if(!ke)return null;if(typeof Fe!="boolean"&&Fe){const ie=typeof Fe=="function"?Fe(ge):Fe,lt=`${me}-switcher-line-custom-icon`;return(0,Te.l$)(ie)?(0,Te.Tm)(ie,{className:Oe()(ie.props.className||"",lt)}):ie}return Fe?I.createElement(ce.Z,{className:`${me}-switcher-line-icon`}):I.createElement("span",{className:`${me}-switcher-leaf-line`})}const Xe=`${me}-switcher-icon`,Ye=typeof xe=="function"?xe(ge):xe;return(0,Te.l$)(Ye)?(0,Te.Tm)(Ye,{className:Oe()(Ye.props.className||"",Xe)}):Ye!==void 0?Ye:ke?Ne?I.createElement(Me.Z,{className:`${me}-switcher-line-icon`}):I.createElement(we.Z,{className:`${me}-switcher-line-icon`}):I.createElement(de,{className:Xe})}},54580:function(Q,C,h){"use strict";h.d(C,{default:function(){return un}});var v=h(59301),I=h(26407),O=h(92310),F=h.n(O),G=h(92413),P=h(6909),M=h(4771),de=h(9427),ce=h(25440),te=h(400),Me=h(37061),we=h(85195),Qe=h(39559),Oe=h(20569),Te=h(26112);function Ae(vt,je){var L="cannot ".concat(vt.method," ").concat(vt.action," ").concat(je.status,"'"),Lt=new Error(L);return Lt.status=je.status,Lt.method=vt.method,Lt.url=vt.action,Lt}function Re(vt){var je=vt.responseText||vt.response;if(!je)return je;try{return JSON.parse(je)}catch(L){return je}}function fe(vt){var je=new XMLHttpRequest;vt.onProgress&&je.upload&&(je.upload.onprogress=function(mt){mt.total>0&&(mt.percent=mt.loaded/mt.total*100),vt.onProgress(mt)});var L=new FormData;vt.data&&Object.keys(vt.data).forEach(function(Qt){var mt=vt.data[Qt];if(Array.isArray(mt)){mt.forEach(function(vn){L.append("".concat(Qt,"[]"),vn)});return}L.append(Qt,mt)}),vt.file instanceof Blob?L.append(vt.filename,vt.file,vt.file.name):L.append(vt.filename,vt.file),je.onerror=function(mt){vt.onError(mt)},je.onload=function(){return je.status<200||je.status>=300?vt.onError(Ae(vt,je),Re(je)):vt.onSuccess(Re(je),je)},je.open(vt.method,vt.action,!0),vt.withCredentials&&"withCredentials"in je&&(je.withCredentials=!0);var Lt=vt.headers||{};return Lt["X-Requested-With"]!==null&&je.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Lt).forEach(function(Qt){Lt[Qt]!==null&&je.setRequestHeader(Qt,Lt[Qt])}),je.send(L),{abort:function(){je.abort()}}}var me=+new Date,xe=0;function ge(){return"rc-upload-".concat(me,"-").concat(++xe)}var ke=h(48736),ee=function(vt,je){if(vt&&je){var L=Array.isArray(je)?je:je.split(","),Lt=vt.name||"",Qt=vt.type||"",mt=Qt.replace(/\/.*$/,"");return L.some(function(vn){var Cn=vn.trim();if(/^\*(\/\*)?$/.test(vn))return!0;if(Cn.charAt(0)==="."){var ui=Lt.toLowerCase(),Nn=Cn.toLowerCase(),st=[Nn];return(Nn===".jpg"||Nn===".jpeg")&&(st=[".jpg",".jpeg"]),st.some(function(Li){return ui.endsWith(Li)})}return/\/\*$/.test(Cn)?mt===Cn.replace(/\/.*$/,""):Qt===Cn?!0:/^\w+$/.test(Cn)?((0,ke.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Cn,"'.Skip for check.")),!0):!1})}return!0};function Ne(vt,je){var L=vt.createReader(),Lt=[];function Qt(){L.readEntries(function(mt){var vn=Array.prototype.slice.apply(mt);Lt=Lt.concat(vn);var Cn=!vn.length;Cn?je(Lt):Qt()})}Qt()}var Ie=function(je,L,Lt){var Qt=function mt(vn,Cn){vn&&(vn.path=Cn||"",vn.isFile?vn.file(function(ui){Lt(ui)&&(vn.fullPath&&!ui.webkitRelativePath&&(Object.defineProperties(ui,{webkitRelativePath:{writable:!0}}),ui.webkitRelativePath=vn.fullPath.replace(/^\//,""),Object.defineProperties(ui,{webkitRelativePath:{writable:!1}})),L([ui]))}):vn.isDirectory&&Ne(vn,function(ui){ui.forEach(function(Nn){mt(Nn,"".concat(Cn).concat(vn.name,"/"))})}))};je.forEach(function(mt){Qt(mt.webkitGetAsEntry())})},Fe=Ie,Xe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ye=function(vt){(0,de.Z)(L,vt);var je=(0,ce.Z)(L);function L(){var Lt;(0,P.Z)(this,L);for(var Qt=arguments.length,mt=new Array(Qt),vn=0;vn{let{uid:mt}=Qt;return mt===vt.uid});return Lt===-1?L.push(vt):L[Lt]=vt,L}function Tt(vt,je){const L=vt.uid!==void 0?"uid":"name";return je.filter(Lt=>Lt[L]===vt[L])[0]}function fn(vt,je){const L=vt.uid!==void 0?"uid":"name",Lt=je.filter(Qt=>Qt[L]!==vt[L]);return Lt.length===je.length?null:Lt}const qt=function(){const je=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Lt=je[je.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Lt)||[""])[0]},jt=vt=>vt.indexOf("image/")===0,cn=vt=>{if(vt.type&&!vt.thumbUrl)return jt(vt.type);const je=vt.thumbUrl||vt.url||"",L=qt(je);return/^data:image\//.test(je)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(L)?!0:!(/^data:/.test(je)||L)},nn=200;function et(vt){return new Promise(je=>{if(!vt.type||!jt(vt.type)){je("");return}const L=document.createElement("canvas");L.width=nn,L.height=nn,L.style.cssText=`position: fixed; left: 0; top: 0; width: ${nn}px; height: ${nn}px; z-index: 9999; display: none;`,document.body.appendChild(L);const Lt=L.getContext("2d"),Qt=new Image;if(Qt.onload=()=>{const{width:mt,height:vn}=Qt;let Cn=nn,ui=nn,Nn=0,st=0;mt>vn?(ui=vn*(nn/mt),st=-(ui-Cn)/2):(Cn=mt*(nn/vn),Nn=-(Cn-ui)/2),Lt.drawImage(Qt,Nn,st,Cn,ui);const Li=L.toDataURL();document.body.removeChild(L),window.URL.revokeObjectURL(Qt.src),je(Li)},Qt.crossOrigin="anonymous",vt.type.startsWith("image/svg+xml")){const mt=new FileReader;mt.onload=()=>{mt.result&&(Qt.src=mt.result)},mt.readAsDataURL(vt)}else if(vt.type.startsWith("image/gif")){const mt=new FileReader;mt.onload=()=>{mt.result&&je(mt.result)},mt.readAsDataURL(vt)}else Qt.src=window.URL.createObjectURL(vt)})}var zt=h(26227),hn=h(41464),tn=h(15277),ze=h(93948),Un=h(6848),Yn=v.forwardRef((vt,je)=>{let{prefixCls:L,className:Lt,style:Qt,locale:mt,listType:vn,file:Cn,items:ui,progress:Nn,iconRender:st,actionIconRender:Li,itemRender:Qi,isImgUrl:Kt,showPreviewIcon:Ui,showRemoveIcon:J,showDownloadIcon:oe,previewIcon:Hn,removeIcon:Be,downloadIcon:Et,onPreview:pi,onDownload:Rn,onClose:_i}=vt;var Xt,Ei;const{status:Zt}=Cn,[Pi,Yr]=v.useState(Zt);v.useEffect(()=>{Zt!=="removed"&&Yr(Zt)},[Zt]);const[It,Jr]=v.useState(!1);v.useEffect(()=>{const Gr=setTimeout(()=>{Jr(!0)},300);return()=>{clearTimeout(Gr)}},[]);const Jt=st(Cn);let Ri=v.createElement("div",{className:`${L}-icon`},Jt);if(vn==="picture"||vn==="picture-card"||vn==="picture-circle")if(Pi==="uploading"||!Cn.thumbUrl&&!Cn.url){const Gr=F()(`${L}-list-item-thumbnail`,{[`${L}-list-item-file`]:Pi!=="uploading"});Ri=v.createElement("div",{className:Gr},Jt)}else{const Gr=Kt!=null&&Kt(Cn)?v.createElement("img",{src:Cn.thumbUrl||Cn.url,alt:Cn.name,className:`${L}-list-item-image`,crossOrigin:Cn.crossOrigin}):Jt,to=F()(`${L}-list-item-thumbnail`,{[`${L}-list-item-file`]:Kt&&!Kt(Cn)});Ri=v.createElement("a",{className:to,onClick:Fo=>pi(Cn,Fo),href:Cn.url||Cn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Gr)}const Ci=F()(`${L}-list-item`,`${L}-list-item-${Pi}`),mr=typeof Cn.linkProps=="string"?JSON.parse(Cn.linkProps):Cn.linkProps,ar=J?Li((typeof Be=="function"?Be(Cn):Be)||v.createElement(zt.Z,null),()=>_i(Cn),L,mt.removeFile):null,Kn=oe&&Pi==="done"?Li((typeof Et=="function"?Et(Cn):Et)||v.createElement(hn.Z,null),()=>Rn(Cn),L,mt.downloadFile):null,he=vn!=="picture-card"&&vn!=="picture-circle"&&v.createElement("span",{key:"download-delete",className:F()(`${L}-list-item-actions`,{picture:vn==="picture"})},Kn,ar),vr=F()(`${L}-list-item-name`),Cr=Cn.url?[v.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:vr,title:Cn.name},mr,{href:Cn.url,onClick:Gr=>pi(Cn,Gr)}),Cn.name),he]:[v.createElement("span",{key:"view",className:vr,onClick:Gr=>pi(Cn,Gr),title:Cn.name},Cn.name),he],dr={pointerEvents:"none",opacity:.5},Br=Ui?v.createElement("a",{href:Cn.url||Cn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Cn.url||Cn.thumbUrl?void 0:dr,onClick:Gr=>pi(Cn,Gr),title:mt.previewFile},typeof Hn=="function"?Hn(Cn):Hn||v.createElement(tn.Z,null)):null,Ji=(vn==="picture-card"||vn==="picture-circle")&&Pi!=="uploading"&&v.createElement("span",{className:`${L}-list-item-actions`},Br,Pi==="done"&&Kn,ar),{getPrefixCls:Fi}=v.useContext(En.E_),Mi=Fi(),cr=v.createElement("div",{className:Ci},Ri,Cr,Ji,It&&v.createElement(_e.default,{motionName:`${Mi}-fade`,visible:Pi==="uploading",motionDeadline:2e3},Gr=>{let{className:to}=Gr;const Fo="percent"in Cn?v.createElement(ze.Z,Object.assign({},Nn,{type:"line",percent:Cn.percent,"aria-label":Cn["aria-label"],"aria-labelledby":Cn["aria-labelledby"]})):null;return v.createElement("div",{className:F()(`${L}-list-item-progress`,to)},Fo)})),Ki=Cn.response&&typeof Cn.response=="string"?Cn.response:((Xt=Cn.error)===null||Xt===void 0?void 0:Xt.statusText)||((Ei=Cn.error)===null||Ei===void 0?void 0:Ei.message)||mt.uploadError,Rr=Pi==="error"?v.createElement(Un.Z,{title:Ki,getPopupContainer:Gr=>Gr.parentNode},cr):cr;return v.createElement("div",{className:F()(`${L}-list-item-container`,Lt),style:Qt,ref:je},Qi?Qi(Rr,Cn,ui,{download:Rn.bind(null,Cn),preview:pi.bind(null,Cn),remove:_i.bind(null,Cn)}):Rr)});const wi=(vt,je)=>{const{listType:L="text",previewFile:Lt=et,onPreview:Qt,onDownload:mt,onRemove:vn,locale:Cn,iconRender:ui,isImageUrl:Nn=cn,prefixCls:st,items:Li=[],showPreviewIcon:Qi=!0,showRemoveIcon:Kt=!0,showDownloadIcon:Ui=!1,removeIcon:J,previewIcon:oe,downloadIcon:Hn,progress:Be={size:[-1,2],showInfo:!1},appendAction:Et,appendActionVisible:pi=!0,itemRender:Rn,disabled:_i}=vt,Xt=(0,Nt.Z)(),[Ei,Zt]=v.useState(!1);v.useEffect(()=>{L!=="picture"&&L!=="picture-card"&&L!=="picture-circle"||(Li||[]).forEach(dr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(dr.originFileObj instanceof File||dr.originFileObj instanceof Blob)||dr.thumbUrl!==void 0||(dr.thumbUrl="",Lt&&Lt(dr.originFileObj).then(Br=>{dr.thumbUrl=Br||"",Xt()}))})},[L,Li,Lt]),v.useEffect(()=>{Zt(!0)},[]);const Pi=(dr,Br)=>{if(Qt)return Br==null||Br.preventDefault(),Qt(dr)},Yr=dr=>{typeof mt=="function"?mt(dr):dr.url&&window.open(dr.url)},It=dr=>{vn==null||vn(dr)},Jr=dr=>{if(ui)return ui(dr,L);const Br=dr.status==="uploading",Ji=Nn&&Nn(dr)?v.createElement(N,null):v.createElement(ai,null);let Fi=Br?v.createElement(Ln.Z,null):v.createElement(re,null);return L==="picture"?Fi=Br?v.createElement(Ln.Z,null):Ji:(L==="picture-card"||L==="picture-circle")&&(Fi=Br?Cn.uploading:Ji),Fi},Jt=(dr,Br,Ji,Fi)=>{const Mi={type:"text",size:"small",title:Fi,onClick:cr=>{Br(),(0,De.l$)(dr)&&dr.props.onClick&&dr.props.onClick(cr)},className:`${Ji}-list-item-action`,disabled:_i};if((0,De.l$)(dr)){const cr=(0,De.Tm)(dr,Object.assign(Object.assign({},dr.props),{onClick:()=>{}}));return v.createElement(gt.ZP,Object.assign({},Mi,{icon:cr}))}return v.createElement(gt.ZP,Object.assign({},Mi),v.createElement("span",null,dr))};v.useImperativeHandle(je,()=>({handlePreview:Pi,handleDownload:Yr}));const{getPrefixCls:Ri}=v.useContext(En.E_),Ci=Ri("upload",st),mr=Ri(),ar=F()(`${Ci}-list`,`${Ci}-list-${L}`),Kn=(0,I.Z)(Li.map(dr=>({key:dr.uid,file:dr})));let vr={motionDeadline:2e3,motionName:`${Ci}-${L==="picture-card"||L==="picture-circle"?"animate-inline":"animate"}`,keys:Kn,motionAppear:Ei};const Cr=v.useMemo(()=>{const dr=Object.assign({},(0,He.Z)(mr));return delete dr.onAppearEnd,delete dr.onEnterEnd,delete dr.onLeaveEnd,dr},[mr]);return L!=="picture-card"&&L!=="picture-circle"&&(vr=Object.assign(Object.assign({},Cr),vr)),v.createElement("div",{className:ar},v.createElement(_e.CSSMotionList,Object.assign({},vr,{component:!1}),dr=>{let{key:Br,file:Ji,className:Fi,style:Mi}=dr;return v.createElement(Yn,{key:Br,locale:Cn,prefixCls:Ci,className:Fi,style:Mi,file:Ji,items:Li,progress:Be,listType:L,isImgUrl:Nn,showPreviewIcon:Qi,showRemoveIcon:Kt,showDownloadIcon:Ui,removeIcon:J,previewIcon:oe,downloadIcon:Hn,iconRender:Jr,actionIconRender:Jt,itemRender:Rn,onPreview:Pi,onDownload:Yr,onClose:It})}),Et&&v.createElement(_e.default,Object.assign({},vr,{visible:pi,forceRender:!0}),dr=>{let{className:Br,style:Ji}=dr;return(0,De.Tm)(Et,Fi=>({className:F()(Fi.className,Br),style:Object.assign(Object.assign(Object.assign({},Ji),{pointerEvents:Br?"none":void 0}),Fi.style)}))}))};var dn=v.forwardRef(wi),ln=h(17313),gr=h(8378),er=h(83116),ti=h(37613),pr=vt=>{const{componentCls:je,iconCls:L}=vt;return{[`${je}-wrapper`]:{[`${je}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[je]:{padding:`${vt.padding}px 0`},[`${je}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${je}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${je}-disabled):hover`]:{borderColor:vt.colorPrimaryHover},[`p${je}-drag-icon`]:{marginBottom:vt.margin,[L]:{color:vt.colorPrimary,fontSize:vt.uploadThumbnailSize}},[`p${je}-text`]:{margin:`0 0 ${vt.marginXXS}px`,color:vt.colorTextHeading,fontSize:vt.fontSizeLG},[`p${je}-hint`]:{color:vt.colorTextDescription,fontSize:vt.fontSize},[`&${je}-disabled`]:{cursor:"not-allowed",[`p${je}-drag-icon ${L}, + `]:{position:"relative",padding:`${Te}px ${_t}px`,overflowWrap:"break-word"},[`${Re}-title`]:{padding:`${bt}px ${_t}px`},[`${Re}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:$n,fontWeight:dt,textAlign:"start",background:gi,borderBottom:He,transition:`background ${hi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Re}-selection-column):not(${Re}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ti,transform:"translateY(-50%)",transition:`background-color ${hi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Re}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${hi}, border-color ${hi}`,borderBottom:He,[` + > ${Re}-wrapper:only-child, + > ${Re}-expanded-row-fixed > ${Re}-wrapper:only-child + `]:{[Re]:{marginBlock:`-${bt}px`,marginInline:`${Ee.tableExpandColumnWidth-_t}px -${_t}px`,[`${Re}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:$n,fontWeight:dt,textAlign:"start",background:gi,borderBottom:He,transition:`background ${hi} ease`},[` + &${Re}-row:hover > th, + &${Re}-row:hover > td, + > th${Re}-cell-row-hover, + > td${Re}-cell-row-hover + `]:{background:E},[`&${Re}-row-selected`]:{"> th, > td":{background:P},"&:hover > th, &:hover > td":{background:W}}}},[`${Re}-footer`]:{padding:`${bt}px ${_t}px`,color:J,background:ge}})}};var Wl=(0,vo.Z)("Table",Ee=>{const{colorTextHeading:Re,colorSplit:dt,colorIcon:bt,colorIconHover:_t,opacityLoading:Dt,colorBgContainer:ve,controlInteractiveSize:bn,headerBg:ln,headerColor:zn,headerSortActiveBg:jn,headerSortHoverBg:$n,bodySortBg:hi,rowHoverBg:gi,rowSelectedBg:ti,rowSelectedHoverBg:E,rowExpandedBg:P,cellPaddingBlock:W,cellPaddingInline:J,cellPaddingBlockMD:ge,cellPaddingInlineMD:Te,cellPaddingBlockSM:He,cellPaddingInlineSM:it,borderColor:jt,footerBg:Qt,footerColor:yt,headerBorderRadius:en,cellFontSize:Gt,cellFontSizeMD:wt,cellFontSizeSM:ii,headerSplitColor:ki,fixedHeaderSortActiveBg:ji,headerFilterHoverBg:si,filterDropdownBg:vi,expandIconBg:Pi,selectionColumnWidth:Mr,stickyScrollBarBg:Xr}=Ee,ui=new as.C(bt),io=new as.C(_t),bo=2,dr=(0,Wa.TS)(Ee,{tableFontSize:Gt,tableBg:ve,tableRadius:en,tablePaddingVertical:W,tablePaddingHorizontal:J,tablePaddingVerticalMiddle:ge,tablePaddingHorizontalMiddle:Te,tablePaddingVerticalSmall:He,tablePaddingHorizontalSmall:it,tableBorderColor:jt,tableHeaderTextColor:zn,tableHeaderBg:ln,tableFooterTextColor:yt,tableFooterBg:Qt,tableHeaderCellSplitColor:ki,tableHeaderSortBg:jn,tableHeaderSortHoverBg:$n,tableHeaderIconColor:ui.clone().setAlpha(ui.getAlpha()*Dt).toRgbString(),tableHeaderIconColorHover:io.clone().setAlpha(io.getAlpha()*Dt).toRgbString(),tableBodySortBg:hi,tableFixedHeaderSortActiveBg:ji,tableHeaderFilterActiveBg:si,tableFilterDropdownBg:vi,tableRowHoverBg:gi,tableSelectedRowBg:ti,tableSelectedRowHoverBg:E,zIndexTableFixed:bo,zIndexTableSticky:bo+1,tableFontSizeMiddle:wt,tableFontSizeSmall:ii,tableSelectionColumnWidth:Mr,tableExpandIconBg:Pi,tableExpandColumnWidth:bn+2*Ee.padding,tableExpandedRowBg:P,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Xr,tableScrollThumbBgHover:Re,tableScrollBg:dt});return[Ys(dr),dc(dr),bl(dr),Ls(dr),La(dr),sa(dr),Qu(dr),Ko(dr),bl(dr),Ro(dr),Uu(dr),fu(dr),Dl(dr),Va(dr),Zs(dr),tu(dr),pu(dr)]},Ee=>{const{colorFillAlter:Re,colorBgContainer:dt,colorTextHeading:bt,colorFillSecondary:_t,colorFillContent:Dt,controlItemBgActive:ve,controlItemBgActiveHover:bn,padding:ln,paddingSM:zn,paddingXS:jn,colorBorderSecondary:$n,borderRadiusLG:hi,fontSize:gi,controlHeight:ti,colorTextPlaceholder:E}=Ee,P=new as.C(_t).onBackground(dt).toHexShortString(),W=new as.C(Dt).onBackground(dt).toHexShortString(),J=new as.C(Re).onBackground(dt).toHexShortString();return{headerBg:J,headerColor:bt,headerSortActiveBg:P,headerSortHoverBg:W,bodySortBg:J,rowHoverBg:J,rowSelectedBg:ve,rowSelectedHoverBg:bn,rowExpandedBg:Re,cellPaddingBlock:ln,cellPaddingInline:ln,cellPaddingBlockMD:zn,cellPaddingInlineMD:jn,cellPaddingBlockSM:jn,cellPaddingInlineSM:jn,borderColor:$n,headerBorderRadius:hi,footerBg:J,footerColor:bt,cellFontSize:gi,cellFontSizeMD:gi,cellFontSizeSM:gi,headerSplitColor:$n,fixedHeaderSortActiveBg:P,headerFilterHoverBg:Dt,filterDropdownMenuBg:dt,filterDropdownBg:dt,expandIconBg:dt,selectionColumnWidth:ti,stickyScrollBarBg:E,stickyScrollBarBorderRadius:100}});const mu=[],nu=(Ee,Re)=>{const{prefixCls:dt,className:bt,rootClassName:_t,style:Dt,size:ve,bordered:bn,dropdownPrefixCls:ln,dataSource:zn,pagination:jn,rowSelection:$n,rowKey:hi="key",rowClassName:gi,columns:ti,children:E,childrenColumnName:P,onChange:W,getPopupContainer:J,loading:ge,expandIcon:Te,expandable:He,expandedRowRender:it,expandIconColumnIndex:jt,indentSize:Qt,scroll:yt,sortDirections:en,locale:Gt,showSorterTooltip:wt=!0,virtual:ii}=Ee,ki=M.useMemo(()=>ti||_n(E),[ti,E]),ji=M.useMemo(()=>ki.some(po=>po.responsive),[ki]),si=(0,pi.Z)(ji),vi=M.useMemo(()=>{const po=new Set(Object.keys(si).filter(ra=>si[ra]));return ki.filter(ra=>!ra.responsive||ra.responsive.some(Na=>po.has(Na)))},[ki,si]),Pi=(0,Ki.Z)(Ee,["className","style","columns"]),{locale:Mr=pa.Z,direction:Xr,table:ui,renderEmpty:io,getPrefixCls:bo,getPopupContainer:dr}=M.useContext(Wr.E_),Qi=(0,Lo.Z)(ve),oo=Object.assign(Object.assign({},Mr.Table),Gt),to=zn||mu,pr=bo("table",dt),_r=bo("dropdown",ln),Gi=Object.assign({childrenColumnName:P,expandIconColumnIndex:jt},He),{childrenColumnName:ir="children"}=Gi,vr=M.useMemo(()=>to.some(po=>po==null?void 0:po[ir])?"nest":it||He&&He.expandedRowRender?"row":null,[to]),sr={body:M.useRef()},ho=M.useMemo(()=>typeof hi=="function"?hi:po=>po==null?void 0:po[hi],[hi]),[$t]=il(to,ir,ho),zr={},fo=function(po,ra){let Na=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var A,m,S;const D=Object.assign(Object.assign({},zr),po);Na&&((A=zr.resetPagination)===null||A===void 0||A.call(zr),!((m=D.pagination)===null||m===void 0)&&m.current&&(D.pagination.current=1),jn&&jn.onChange&&jn.onChange(1,(S=D.pagination)===null||S===void 0?void 0:S.pageSize)),yt&&yt.scrollToFirstRowOnChange!==!1&&sr.body.current&&(0,Lr.Z)(0,{getContainer:()=>sr.body.current}),W==null||W(D.pagination,D.filters,D.sorter,{currentDataSource:ja(gl(to,D.sorterStates,ir),D.filterStates),action:ra})},un=(po,ra)=>{fo({sorter:po,sorterStates:ra},"sort",!1)},[da,Ta,es,Fo]=Xu({prefixCls:pr,mergedColumns:vi,onSorterChange:un,sortDirections:en||["ascend","descend"],tableLocale:oo,showSorterTooltip:wt}),qo=M.useMemo(()=>gl(to,Ta,ir),[to,Ta]);zr.sorter=Fo(),zr.sorterStates=Ta;const ta=(po,ra)=>{fo({filters:po,filterStates:ra},"filter",!0)},[ya,zs,ko]=_o({prefixCls:pr,locale:oo,dropdownPrefixCls:_r,mergedColumns:vi,onFilterChange:ta,getPopupContainer:J||dr}),Ho=ja(qo,zs);zr.filters=ko,zr.filterStates=zs;const Zo=M.useMemo(()=>{const po={};return Object.keys(ko).forEach(ra=>{ko[ra]!==null&&(po[ra]=ko[ra])}),Object.assign(Object.assign({},es),{filters:po})},[es,ko]),[Sa]=Ca(Zo),Ha=(po,ra)=>{fo({pagination:Object.assign(Object.assign({},zr.pagination),{current:po,pageSize:ra})},"paginate")},[d,g]=Vi(Ho.length,Ha,jn);zr.pagination=jn===!1?{}:os(d,jn),zr.resetPagination=g;const K=M.useMemo(()=>{if(jn===!1||!d.pageSize)return Ho;const{current:po=1,total:ra,pageSize:Na=Ga}=d;return Ho.lengthNa?Ho.slice((po-1)*Na,po*Na):Ho:Ho.slice((po-1)*Na,po*Na)},[!!jn,Ho,d&&d.current,d&&d.pageSize,d&&d.total]),[nt,gn]=Vs({prefixCls:pr,data:Ho,pageData:K,getRowKey:ho,getRecordByKey:$t,expandType:vr,childrenColumnName:ir,locale:oo,getPopupContainer:J||dr},$n),Yn=(po,ra,Na)=>{let A;return typeof gi=="function"?A=We()(gi(po,ra,Na)):A=We()(gi),We()({[`${pr}-row-selected`]:gn.has(ho(po,ra))},A)};Gi.__PARENT_RENDER_ICON__=Gi.expandIcon,Gi.expandIcon=Gi.expandIcon||Te||is(oo),vr==="nest"&&Gi.expandIconColumnIndex===void 0?Gi.expandIconColumnIndex=$n?1:0:Gi.expandIconColumnIndex>0&&$n&&(Gi.expandIconColumnIndex-=1),typeof Gi.indentSize!="number"&&(Gi.indentSize=typeof Qt=="number"?Qt:15);const wi=M.useCallback(po=>Sa(nt(ya(da(po)))),[da,ya,nt]);let Cr,Hr;if(jn!==!1&&(d!=null&&d.total)){let po;d.size?po=d.size:po=Qi==="small"||Qi==="middle"?"small":void 0;const ra=m=>M.createElement(Uo.Z,Object.assign({},d,{className:We()(`${pr}-pagination ${pr}-pagination-${m}`,d.className),size:po})),Na=Xr==="rtl"?"left":"right",{position:A}=d;if(A!==null&&Array.isArray(A)){const m=A.find(Z=>Z.includes("top")),S=A.find(Z=>Z.includes("bottom")),D=A.every(Z=>`${Z}`=="none");!m&&!S&&!D&&(Hr=ra(Na)),m&&(Cr=ra(m.toLowerCase().replace("top",""))),S&&(Hr=ra(S.toLowerCase().replace("bottom","")))}else Hr=ra(Na)}let Gn;typeof ge=="boolean"?Gn={spinning:ge}:typeof ge=="object"&&(Gn=Object.assign({spinning:!0},ge));const[Hi,Or]=Wl(pr),[,Vr]=(0,ma.Z)(),$o=We()(`${pr}-wrapper`,ui==null?void 0:ui.className,{[`${pr}-wrapper-rtl`]:Xr==="rtl"},bt,_t,Or),Rs=Object.assign(Object.assign({},ui==null?void 0:ui.style),Dt),Ds=Gt&&Gt.emptyText||(io==null?void 0:io("Table"))||M.createElement(eo.Z,{componentName:"Table"}),Ps=ii?fs:Dr,ol={},Ts=M.useMemo(()=>{const{fontSize:po,lineHeight:ra,padding:Na,paddingXS:A,paddingSM:m}=Vr,S=Math.floor(po*ra);switch(Qi){case"large":return Na*2+S;case"small":return A*2+S;default:return m*2+S}},[Vr,Qi]);return ii&&(ol.listItemHeight=Ts),Hi(M.createElement("div",{ref:Re,className:$o,style:Rs},M.createElement(oa.Z,Object.assign({spinning:!1},Gn),Cr,M.createElement(Ps,Object.assign({},ol,Pi,{columns:vi,direction:Xr,expandable:Gi,prefixCls:pr,className:We()({[`${pr}-middle`]:Qi==="middle",[`${pr}-small`]:Qi==="small",[`${pr}-bordered`]:bn,[`${pr}-empty`]:to.length===0}),data:K,rowKey:ho,rowClassName:Yn,emptyText:Ds,internalHooks:I,internalRefs:sr,transformColumns:wi})),Hr)))};var Nu=M.forwardRef(nu);const Ws=(Ee,Re)=>{const dt=M.useRef(0);return dt.current+=1,M.createElement(Nu,Object.assign({},Ee,{ref:Re,_renderTimes:dt.current}))},ys=M.forwardRef(Ws);ys.SELECTION_COLUMN=aa,ys.EXPAND_COLUMN=v,ys.SELECTION_ALL=ro,ys.SELECTION_INVERT=ia,ys.SELECTION_NONE=va,ys.Column=Ri,ys.ColumnGroup=hr,ys.Summary=$e;var iu=ys,Au=iu},17574:function(Q,C,h){"use strict";h.d(C,{default:function(){return Qe}});var v=h(23130),I=h(26407),O=h(52671),B=h(8657),G=h(92413),F=h(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},de=M,ae=h(7657),te=function(ce,Ht){return F.createElement(ae.Z,(0,G.Z)({},ce,{ref:Ht,icon:de}))},Me=F.forwardRef(te),we=Me,Xe=h(92310),Oe=h.n(Xe),Ce=h(35654),Ae=h(71430),Pe=h(36355),fe=h(56082),pe=h(62892),xe=h(20648);const me=4;function ke(le){const{dropPosition:ce,dropLevelOffset:Ht,prefixCls:Vt,indent:St,direction:sn="ltr"}=le,Ft=sn==="ltr"?"left":"right",oi=sn==="ltr"?"right":"left",On={[Ft]:-Ht*St+me,[oi]:0};switch(ce){case-1:On.top=-3;break;case 1:On.bottom=-3;break;default:On.bottom=-3,On[Ft]=St+me;break}return F.createElement("div",{style:On,className:`${Vt}-drop-indicator`})}var ee=h(71997),Ie=F.forwardRef((le,ce)=>{const{getPrefixCls:Ht,direction:Vt,virtual:St,tree:sn}=F.useContext(Pe.E_),{prefixCls:Ft,className:oi,showIcon:On=!1,showLine:ni,switcherIcon:Jn,blockNode:Mn=!1,children:In,checkable:ie=!1,selectable:z=!0,draggable:k,motion:j,style:X}=le,T=Ht("tree",Ft),_e=Ht(),It=j!=null?j:Object.assign(Object.assign({},(0,pe.Z)(_e)),{motionAppear:!1}),$e=Object.assign(Object.assign({},le),{checkable:ie,selectable:z,showIcon:On,motion:It,blockNode:Mn,showLine:!!ni,dropIndicatorRender:ke}),[De,gt]=(0,xe.ZP)(T),ut=F.useMemo(()=>{if(!k)return!1;let Et={};switch(typeof k){case"function":Et.nodeDraggable=k;break;case"object":Et=Object.assign({},k);break;default:break}return Et.icon!==!1&&(Et.icon=Et.icon||F.createElement(fe.Z,null)),Et},[k]),tt=Et=>F.createElement(ee.Z,{prefixCls:T,switcherIcon:Jn,treeNodeProps:Et,showLine:ni});return De(F.createElement(v.Z,Object.assign({itemHeight:20,ref:ce,virtual:St},$e,{style:Object.assign(Object.assign({},sn==null?void 0:sn.style),X),prefixCls:T,className:Oe()({[`${T}-icon-hide`]:!On,[`${T}-block-node`]:Mn,[`${T}-unselectable`]:!z,[`${T}-rtl`]:Vt==="rtl"},sn==null?void 0:sn.className,oi,gt),direction:Vt,checkable:ie&&F.createElement("span",{className:`${T}-checkbox-inner`}),selectable:z,switcherIcon:tt,draggable:ut}),In))}),Le;(function(le){le[le.None=0]="None",le[le.Start=1]="Start",le[le.End=2]="End"})(Le||(Le={}));function Je(le,ce){function Ht(Vt){const{key:St,children:sn}=Vt;ce(St,Vt)!==!1&&Je(sn||[],ce)}le.forEach(Ht)}function Ye(le){let{treeData:ce,expandedKeys:Ht,startKey:Vt,endKey:St}=le;const sn=[];let Ft=Le.None;if(Vt&&Vt===St)return[Vt];if(!Vt||!St)return[];function oi(On){return On===Vt||On===St}return Je(ce,On=>{if(Ft===Le.End)return!1;if(oi(On)){if(sn.push(On),Ft===Le.None)Ft=Le.Start;else if(Ft===Le.Start)return Ft=Le.End,!1}else Ft===Le.Start&&sn.push(On);return Ht.includes(On)}),sn}function re(le,ce){const Ht=(0,I.Z)(ce),Vt=[];return Je(le,(St,sn)=>{const Ft=Ht.indexOf(St);return Ft!==-1&&(Vt.push(sn),Ht.splice(Ft,1)),!!Ht.length}),Vt}var lt=function(le,ce){var Ht={};for(var Vt in le)Object.prototype.hasOwnProperty.call(le,Vt)&&ce.indexOf(Vt)<0&&(Ht[Vt]=le[Vt]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(le);St{var{defaultExpandAll:Ht,defaultExpandParent:Vt,defaultExpandedKeys:St}=le,sn=lt(le,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ft=F.useRef(),oi=F.useRef(),On=()=>{const{keyEntities:ut}=(0,Ae.I8)(Pt(sn));let tt;return Ht?tt=Object.keys(ut):Vt?tt=(0,Ce.r7)(sn.expandedKeys||St||[],ut):tt=sn.expandedKeys||St,tt},[ni,Jn]=F.useState(sn.selectedKeys||sn.defaultSelectedKeys||[]),[Mn,In]=F.useState(()=>On());F.useEffect(()=>{"selectedKeys"in sn&&Jn(sn.selectedKeys)},[sn.selectedKeys]),F.useEffect(()=>{"expandedKeys"in sn&&In(sn.expandedKeys)},[sn.expandedKeys]);const ie=(ut,tt)=>{var Et;return"expandedKeys"in sn||In(ut),(Et=sn.onExpand)===null||Et===void 0?void 0:Et.call(sn,ut,tt)},z=(ut,tt)=>{var Et;const{multiple:pn}=sn,{node:nn,nativeEvent:Kt}=tt,{key:hn=""}=nn,an=Pt(sn),et=Object.assign(Object.assign({},tt),{selected:!0}),zt=(Kt==null?void 0:Kt.ctrlKey)||(Kt==null?void 0:Kt.metaKey),dn=Kt==null?void 0:Kt.shiftKey;let rn;pn&&zt?(rn=ut,Ft.current=hn,oi.current=rn,et.selectedNodes=re(an,rn)):pn&&dn?(rn=Array.from(new Set([].concat((0,I.Z)(oi.current||[]),(0,I.Z)(Ye({treeData:an,expandedKeys:Mn,startKey:hn,endKey:Ft.current}))))),et.selectedNodes=re(an,rn)):(rn=[hn],Ft.current=hn,oi.current=rn,et.selectedNodes=re(an,rn)),(Et=sn.onSelect)===null||Et===void 0||Et.call(sn,rn,et),"selectedKeys"in sn||Jn(rn)},{getPrefixCls:k,direction:j}=F.useContext(Pe.E_),{prefixCls:X,className:T,showIcon:_e=!0,expandAction:It="click"}=sn,$e=lt(sn,["prefixCls","className","showIcon","expandAction"]),De=k("tree",X),gt=Oe()(`${De}-directory`,{[`${De}-directory-rtl`]:j==="rtl"},T);return F.createElement(Ie,Object.assign({icon:We,ref:ce,blockNode:!0},$e,{showIcon:_e,expandAction:It,prefixCls:De,className:gt,expandedKeys:Mn,selectedKeys:ni,onSelect:z,onExpand:ie}))};var Ct=F.forwardRef(xt);const Cn=Ie;Cn.DirectoryTree=Ct,Cn.TreeNode=v.O;var Qe=Cn},20648:function(Q,C,h){"use strict";h.d(C,{TM:function(){return Xe},Yk:function(){return we}});var v=h(93083),I=h(98447),O=h(17313),B=h(8378),G=h(37613),F=h(83116);const M=new v.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),de=(Oe,Ce)=>({[`.${Oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ce.motionDurationSlow}`}}}),ae=(Oe,Ce)=>({[`.${Oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ce.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Ce.lineWidthBold}px solid ${Ce.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(Oe,Ce)=>{const{treeCls:Ae,treeNodeCls:Pe,treeNodePadding:fe,titleHeight:pe,nodeSelectedBg:xe,nodeHoverBg:me}=Ce,ke=Ce.paddingXS;return{[Ae]:Object.assign(Object.assign({},(0,O.Wf)(Ce)),{background:Ce.colorBgContainer,borderRadius:Ce.borderRadius,transition:`background-color ${Ce.motionDurationSlow}`,[`&${Ae}-rtl`]:{[`${Ae}-switcher`]:{"&_close":{[`${Ae}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${Ae}-active-focused)`]:Object.assign({},(0,O.oN)(Ce)),[`${Ae}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ae}-block-node`]:{[`${Ae}-list-holder-inner`]:{alignItems:"stretch",[`${Ae}-node-content-wrapper`]:{flex:"auto"},[`${Pe}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:fe,insetInlineStart:0,border:`1px solid ${Ce.colorPrimary}`,opacity:0,animationName:M,animationDuration:Ce.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Pe}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${fe}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${Ae}-node-content-wrapper`]:{color:Ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${Ae}-node-content-wrapper`]:Object.assign({},(0,O.oN)(Ce)),[`&:not(${Pe}-disabled).filter-node ${Ae}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${Ae}-draggable-icon`]:{flexShrink:0,width:pe,lineHeight:`${pe}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Ce.motionDurationSlow}`,[`${Pe}:hover &`]:{opacity:.45}},[`&${Pe}-disabled`]:{[`${Ae}-draggable-icon`]:{visibility:"hidden"}}}},[`${Ae}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:pe}},[`${Ae}-draggable-icon`]:{visibility:"hidden"},[`${Ae}-switcher`]:Object.assign(Object.assign({},de(Oe,Ce)),{position:"relative",flex:"none",alignSelf:"stretch",width:pe,margin:0,lineHeight:`${pe}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${Ae}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Ce.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:pe/2,bottom:-fe,marginInlineStart:-1,borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:pe/2*.8,height:pe/2,borderBottom:`1px solid ${Ce.colorBorder}`,content:'""'}}}),[`${Ae}-checkbox`]:{top:"initial",marginInlineEnd:ke},[`${Ae}-node-content-wrapper, ${Ae}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:pe,margin:0,padding:`0 ${Ce.paddingXS/2}px`,color:"inherit",lineHeight:`${pe}px`,background:"transparent",borderRadius:Ce.borderRadius,cursor:"pointer",transition:`all ${Ce.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:me},[`&${Ae}-node-selected`]:{backgroundColor:xe},[`${Ae}-iconEle`]:{display:"inline-block",width:pe,height:pe,lineHeight:`${pe}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${Ae}-unselectable ${Ae}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ae}-node-content-wrapper`]:Object.assign({lineHeight:`${pe}px`,userSelect:"none"},ae(Oe,Ce)),[`${Pe}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Ce.colorPrimary}`}},"&-show-line":{[`${Ae}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:pe/2,bottom:-fe,borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${Ae}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Pe}-leaf-last`]:{[`${Ae}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${pe/2}px !important`}}}}})}},Me=Oe=>{const{treeCls:Ce,treeNodeCls:Ae,treeNodePadding:Pe,directoryNodeSelectedBg:fe,directoryNodeSelectedColor:pe}=Oe;return{[`${Ce}${Ce}-directory`]:{[Ae]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pe,insetInlineStart:0,transition:`background-color ${Oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Oe.controlItemBgHover}},"> *":{zIndex:1},[`${Ce}-switcher`]:{transition:`color ${Oe.motionDurationMid}`},[`${Ce}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Ce}-node-selected`]:{color:pe,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:fe},[`${Ce}-switcher`]:{color:pe},[`${Ce}-node-content-wrapper`]:{color:pe,background:"transparent"}}}}}},we=(Oe,Ce)=>{const Ae=`.${Oe}`,Pe=`${Ae}-treenode`,fe=Ce.paddingXS/2,pe=(0,G.TS)(Ce,{treeCls:Ae,treeNodeCls:Pe,treeNodePadding:fe});return[te(Oe,pe),Me(pe)]},Xe=Oe=>{const{controlHeightSM:Ce}=Oe;return{titleHeight:Ce,nodeHoverBg:Oe.controlItemBgHover,nodeSelectedBg:Oe.controlItemBgActive}};C.ZP=(0,F.Z)("Tree",(Oe,Ce)=>{let{prefixCls:Ae}=Ce;return[{[Oe.componentCls]:(0,I.C2)(`${Ae}-checkbox`,Oe)},we(Ae,Oe),(0,B.Z)(Oe)]},Oe=>{const{colorTextLightSolid:Ce,colorPrimary:Ae}=Oe;return Object.assign(Object.assign({},Xe(Oe)),{directoryNodeSelectedColor:Ce,directoryNodeSelectedBg:Ae})})},71997:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Pe}});var v=h(92413),I=h(59301),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},B=O,G=h(7657),F=function(pe,xe){return I.createElement(G.Z,(0,v.Z)({},pe,{ref:xe,icon:B}))},M=I.forwardRef(F),de=M,ae=h(52671),te=h(58617),Me=h(15075),we=h(43531),Xe=h(92310),Oe=h.n(Xe),Ce=h(92343),Pe=fe=>{const{prefixCls:pe,switcherIcon:xe,treeNodeProps:me,showLine:ke}=fe,{isLeaf:ee,expanded:Ne,loading:Ie}=me;if(Ie)return I.createElement(te.Z,{className:`${pe}-switcher-loading-icon`});let Le;if(ke&&typeof ke=="object"&&(Le=ke.showLeafIcon),ee){if(!ke)return null;if(typeof Le!="boolean"&&Le){const re=typeof Le=="function"?Le(me):Le,lt=`${pe}-switcher-line-custom-icon`;return(0,Ce.l$)(re)?(0,Ce.Tm)(re,{className:Oe()(re.props.className||"",lt)}):re}return Le?I.createElement(ae.Z,{className:`${pe}-switcher-line-icon`}):I.createElement("span",{className:`${pe}-switcher-leaf-line`})}const Je=`${pe}-switcher-icon`,Ye=typeof xe=="function"?xe(me):xe;return(0,Ce.l$)(Ye)?(0,Ce.Tm)(Ye,{className:Oe()(Ye.props.className||"",Je)}):Ye!==void 0?Ye:ke?Ne?I.createElement(Me.Z,{className:`${pe}-switcher-line-icon`}):I.createElement(we.Z,{className:`${pe}-switcher-line-icon`}):I.createElement(de,{className:Je})}},54580:function(Q,C,h){"use strict";h.d(C,{default:function(){return fn}});var v=h(59301),I=h(26407),O=h(92310),B=h.n(O),G=h(92413),F=h(6909),M=h(4771),de=h(9427),ae=h(25440),te=h(400),Me=h(37061),we=h(85195),Xe=h(39559),Oe=h(20569),Ce=h(26112);function Ae(vt,je){var L="cannot ".concat(vt.method," ").concat(vt.action," ").concat(je.status,"'"),Rt=new Error(L);return Rt.status=je.status,Rt.method=vt.method,Rt.url=vt.action,Rt}function Pe(vt){var je=vt.responseText||vt.response;if(!je)return je;try{return JSON.parse(je)}catch(L){return je}}function fe(vt){var je=new XMLHttpRequest;vt.onProgress&&je.upload&&(je.upload.onprogress=function(mt){mt.total>0&&(mt.percent=mt.loaded/mt.total*100),vt.onProgress(mt)});var L=new FormData;vt.data&&Object.keys(vt.data).forEach(function(Jt){var mt=vt.data[Jt];if(Array.isArray(mt)){mt.forEach(function(xn){L.append("".concat(Jt,"[]"),xn)});return}L.append(Jt,mt)}),vt.file instanceof Blob?L.append(vt.filename,vt.file,vt.file.name):L.append(vt.filename,vt.file),je.onerror=function(mt){vt.onError(mt)},je.onload=function(){return je.status<200||je.status>=300?vt.onError(Ae(vt,je),Pe(je)):vt.onSuccess(Pe(je),je)},je.open(vt.method,vt.action,!0),vt.withCredentials&&"withCredentials"in je&&(je.withCredentials=!0);var Rt=vt.headers||{};return Rt["X-Requested-With"]!==null&&je.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Rt).forEach(function(Jt){Rt[Jt]!==null&&je.setRequestHeader(Jt,Rt[Jt])}),je.send(L),{abort:function(){je.abort()}}}var pe=+new Date,xe=0;function me(){return"rc-upload-".concat(pe,"-").concat(++xe)}var ke=h(48736),ee=function(vt,je){if(vt&&je){var L=Array.isArray(je)?je:je.split(","),Rt=vt.name||"",Jt=vt.type||"",mt=Jt.replace(/\/.*$/,"");return L.some(function(xn){var An=xn.trim();if(/^\*(\/\*)?$/.test(xn))return!0;if(An.charAt(0)==="."){var li=Rt.toLowerCase(),Nn=An.toLowerCase(),st=[Nn];return(Nn===".jpg"||Nn===".jpeg")&&(st=[".jpg",".jpeg"]),st.some(function(Mi){return li.endsWith(Mi)})}return/\/\*$/.test(An)?mt===An.replace(/\/.*$/,""):Jt===An?!0:/^\w+$/.test(An)?((0,ke.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(An,"'.Skip for check.")),!0):!1})}return!0};function Ne(vt,je){var L=vt.createReader(),Rt=[];function Jt(){L.readEntries(function(mt){var xn=Array.prototype.slice.apply(mt);Rt=Rt.concat(xn);var An=!xn.length;An?je(Rt):Jt()})}Jt()}var Ie=function(je,L,Rt){var Jt=function mt(xn,An){xn&&(xn.path=An||"",xn.isFile?xn.file(function(li){Rt(li)&&(xn.fullPath&&!li.webkitRelativePath&&(Object.defineProperties(li,{webkitRelativePath:{writable:!0}}),li.webkitRelativePath=xn.fullPath.replace(/^\//,""),Object.defineProperties(li,{webkitRelativePath:{writable:!1}})),L([li]))}):xn.isDirectory&&Ne(xn,function(li){li.forEach(function(Nn){mt(Nn,"".concat(An).concat(xn.name,"/"))})}))};je.forEach(function(mt){Jt(mt.webkitGetAsEntry())})},Le=Ie,Je=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ye=function(vt){(0,de.Z)(L,vt);var je=(0,ae.Z)(L);function L(){var Rt;(0,F.Z)(this,L);for(var Jt=arguments.length,mt=new Array(Jt),xn=0;xn{let{uid:mt}=Jt;return mt===vt.uid});return Rt===-1?L.push(vt):L[Rt]=vt,L}function Et(vt,je){const L=vt.uid!==void 0?"uid":"name";return je.filter(Rt=>Rt[L]===vt[L])[0]}function pn(vt,je){const L=vt.uid!==void 0?"uid":"name",Rt=je.filter(Jt=>Jt[L]!==vt[L]);return Rt.length===je.length?null:Rt}const nn=function(){const je=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Rt=je[je.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Rt)||[""])[0]},Kt=vt=>vt.indexOf("image/")===0,hn=vt=>{if(vt.type&&!vt.thumbUrl)return Kt(vt.type);const je=vt.thumbUrl||vt.url||"",L=nn(je);return/^data:image\//.test(je)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(L)?!0:!(/^data:/.test(je)||L)},an=200;function et(vt){return new Promise(je=>{if(!vt.type||!Kt(vt.type)){je("");return}const L=document.createElement("canvas");L.width=an,L.height=an,L.style.cssText=`position: fixed; left: 0; top: 0; width: ${an}px; height: ${an}px; z-index: 9999; display: none;`,document.body.appendChild(L);const Rt=L.getContext("2d"),Jt=new Image;if(Jt.onload=()=>{const{width:mt,height:xn}=Jt;let An=an,li=an,Nn=0,st=0;mt>xn?(li=xn*(an/mt),st=-(li-An)/2):(An=mt*(an/xn),Nn=-(An-li)/2),Rt.drawImage(Jt,Nn,st,An,li);const Mi=L.toDataURL();document.body.removeChild(L),window.URL.revokeObjectURL(Jt.src),je(Mi)},Jt.crossOrigin="anonymous",vt.type.startsWith("image/svg+xml")){const mt=new FileReader;mt.onload=()=>{mt.result&&(Jt.src=mt.result)},mt.readAsDataURL(vt)}else if(vt.type.startsWith("image/gif")){const mt=new FileReader;mt.onload=()=>{mt.result&&je(mt.result)},mt.readAsDataURL(vt)}else Jt.src=window.URL.createObjectURL(vt)})}var zt=h(26227),dn=h(41464),rn=h(15277),ze=h(93948),Un=h(6848),Bt=v.forwardRef((vt,je)=>{let{prefixCls:L,className:Rt,style:Jt,locale:mt,listType:xn,file:An,items:li,progress:Nn,iconRender:st,actionIconRender:Mi,itemRender:Yi,isImgUrl:Yt,showPreviewIcon:zi,showRemoveIcon:q,showDownloadIcon:oe,previewIcon:Hn,removeIcon:Be,downloadIcon:Tt,onPreview:fi,onDownload:Ln,onClose:Fi}=vt;var qt,xi;const{status:Xt}=An,[Li,Yr]=v.useState(Xt);v.useEffect(()=>{Xt!=="removed"&&Yr(Xt)},[Xt]);const[Mt,Qr]=v.useState(!1);v.useEffect(()=>{const Wr=setTimeout(()=>{Qr(!0)},300);return()=>{clearTimeout(Wr)}},[]);const tn=st(An);let Oi=v.createElement("div",{className:`${L}-icon`},tn);if(xn==="picture"||xn==="picture-card"||xn==="picture-circle")if(Li==="uploading"||!An.thumbUrl&&!An.url){const Wr=B()(`${L}-list-item-thumbnail`,{[`${L}-list-item-file`]:Li!=="uploading"});Oi=v.createElement("div",{className:Wr},tn)}else{const Wr=Yt!=null&&Yt(An)?v.createElement("img",{src:An.thumbUrl||An.url,alt:An.name,className:`${L}-list-item-image`,crossOrigin:An.crossOrigin}):tn,eo=B()(`${L}-list-item-thumbnail`,{[`${L}-list-item-file`]:Yt&&!Yt(An)});Oi=v.createElement("a",{className:eo,onClick:Lo=>fi(An,Lo),href:An.url||An.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Wr)}const Ei=B()(`${L}-list-item`,`${L}-list-item-${Li}`),or=typeof An.linkProps=="string"?JSON.parse(An.linkProps):An.linkProps,tr=q?Mi((typeof Be=="function"?Be(An):Be)||v.createElement(zt.Z,null),()=>Fi(An),L,mt.removeFile):null,Zn=oe&&Li==="done"?Mi((typeof Tt=="function"?Tt(An):Tt)||v.createElement(dn.Z,null),()=>Ln(An),L,mt.downloadFile):null,he=xn!=="picture-card"&&xn!=="picture-circle"&&v.createElement("span",{key:"download-delete",className:B()(`${L}-list-item-actions`,{picture:xn==="picture"})},Zn,tr),gr=B()(`${L}-list-item-name`),br=An.url?[v.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:gr,title:An.name},or,{href:An.url,onClick:Wr=>fi(An,Wr)}),An.name),he]:[v.createElement("span",{key:"view",className:gr,onClick:Wr=>fi(An,Wr),title:An.name},An.name),he],cr={pointerEvents:"none",opacity:.5},Br=zi?v.createElement("a",{href:An.url||An.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:An.url||An.thumbUrl?void 0:cr,onClick:Wr=>fi(An,Wr),title:mt.previewFile},typeof Hn=="function"?Hn(An):Hn||v.createElement(rn.Z,null)):null,Zi=(xn==="picture-card"||xn==="picture-circle")&&Li!=="uploading"&&v.createElement("span",{className:`${L}-list-item-actions`},Br,Li==="done"&&Zn,tr),{getPrefixCls:Ri}=v.useContext(Cn.E_),Ai=Ri(),hr=v.createElement("div",{className:Ei},Oi,br,Zi,Mt&&v.createElement(_e.default,{motionName:`${Ai}-fade`,visible:Li==="uploading",motionDeadline:2e3},Wr=>{let{className:eo}=Wr;const Lo="percent"in An?v.createElement(ze.Z,Object.assign({},Nn,{type:"line",percent:An.percent,"aria-label":An["aria-label"],"aria-labelledby":An["aria-labelledby"]})):null;return v.createElement("div",{className:B()(`${L}-list-item-progress`,eo)},Lo)})),Ki=An.response&&typeof An.response=="string"?An.response:((qt=An.error)===null||qt===void 0?void 0:qt.statusText)||((xi=An.error)===null||xi===void 0?void 0:xi.message)||mt.uploadError,Lr=Li==="error"?v.createElement(Un.Z,{title:Ki,getPopupContainer:Wr=>Wr.parentNode},hr):hr;return v.createElement("div",{className:B()(`${L}-list-item-container`,Rt),style:Jt,ref:je},Yi?Yi(Lr,An,li,{download:Ln.bind(null,An),preview:fi.bind(null,An),remove:Fi.bind(null,An)}):Lr)});const Si=(vt,je)=>{const{listType:L="text",previewFile:Rt=et,onPreview:Jt,onDownload:mt,onRemove:xn,locale:An,iconRender:li,isImageUrl:Nn=hn,prefixCls:st,items:Mi=[],showPreviewIcon:Yi=!0,showRemoveIcon:Yt=!0,showDownloadIcon:zi=!1,removeIcon:q,previewIcon:oe,downloadIcon:Hn,progress:Be={size:[-1,2],showInfo:!1},appendAction:Tt,appendActionVisible:fi=!0,itemRender:Ln,disabled:Fi}=vt,qt=(0,It.Z)(),[xi,Xt]=v.useState(!1);v.useEffect(()=>{L!=="picture"&&L!=="picture-card"&&L!=="picture-circle"||(Mi||[]).forEach(cr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(cr.originFileObj instanceof File||cr.originFileObj instanceof Blob)||cr.thumbUrl!==void 0||(cr.thumbUrl="",Rt&&Rt(cr.originFileObj).then(Br=>{cr.thumbUrl=Br||"",qt()}))})},[L,Mi,Rt]),v.useEffect(()=>{Xt(!0)},[]);const Li=(cr,Br)=>{if(Jt)return Br==null||Br.preventDefault(),Jt(cr)},Yr=cr=>{typeof mt=="function"?mt(cr):cr.url&&window.open(cr.url)},Mt=cr=>{xn==null||xn(cr)},Qr=cr=>{if(li)return li(cr,L);const Br=cr.status==="uploading",Zi=Nn&&Nn(cr)?v.createElement(T,null):v.createElement(oi,null);let Ri=Br?v.createElement(On.Z,null):v.createElement(ie,null);return L==="picture"?Ri=Br?v.createElement(On.Z,null):Zi:(L==="picture-card"||L==="picture-circle")&&(Ri=Br?An.uploading:Zi),Ri},tn=(cr,Br,Zi,Ri)=>{const Ai={type:"text",size:"small",title:Ri,onClick:hr=>{Br(),(0,De.l$)(cr)&&cr.props.onClick&&cr.props.onClick(hr)},className:`${Zi}-list-item-action`,disabled:Fi};if((0,De.l$)(cr)){const hr=(0,De.Tm)(cr,Object.assign(Object.assign({},cr.props),{onClick:()=>{}}));return v.createElement(gt.ZP,Object.assign({},Ai,{icon:hr}))}return v.createElement(gt.ZP,Object.assign({},Ai),v.createElement("span",null,cr))};v.useImperativeHandle(je,()=>({handlePreview:Li,handleDownload:Yr}));const{getPrefixCls:Oi}=v.useContext(Cn.E_),Ei=Oi("upload",st),or=Oi(),tr=B()(`${Ei}-list`,`${Ei}-list-${L}`),Zn=(0,I.Z)(Mi.map(cr=>({key:cr.uid,file:cr})));let gr={motionDeadline:2e3,motionName:`${Ei}-${L==="picture-card"||L==="picture-circle"?"animate-inline":"animate"}`,keys:Zn,motionAppear:xi};const br=v.useMemo(()=>{const cr=Object.assign({},(0,$e.Z)(or));return delete cr.onAppearEnd,delete cr.onEnterEnd,delete cr.onLeaveEnd,cr},[or]);return L!=="picture-card"&&L!=="picture-circle"&&(gr=Object.assign(Object.assign({},br),gr)),v.createElement("div",{className:tr},v.createElement(_e.CSSMotionList,Object.assign({},gr,{component:!1}),cr=>{let{key:Br,file:Zi,className:Ri,style:Ai}=cr;return v.createElement(Bt,{key:Br,locale:An,prefixCls:Ei,className:Ri,style:Ai,file:Zi,items:Mi,progress:Be,listType:L,isImgUrl:Nn,showPreviewIcon:Yi,showRemoveIcon:Yt,showDownloadIcon:zi,removeIcon:q,previewIcon:oe,downloadIcon:Hn,iconRender:Qr,actionIconRender:tn,itemRender:Ln,onPreview:Li,onDownload:Yr,onClose:Mt})}),Tt&&v.createElement(_e.default,Object.assign({},gr,{visible:fi,forceRender:!0}),cr=>{let{className:Br,style:Zi}=cr;return(0,De.Tm)(Tt,Ri=>({className:B()(Ri.className,Br),style:Object.assign(Object.assign(Object.assign({},Zi),{pointerEvents:Br?"none":void 0}),Ri.style)}))}))};var Ii=v.forwardRef(Si),cn=h(17313),fr=h(8378),Xi=h(83116),ei=h(37613),ur=vt=>{const{componentCls:je,iconCls:L}=vt;return{[`${je}-wrapper`]:{[`${je}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[je]:{padding:`${vt.padding}px 0`},[`${je}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${je}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${je}-disabled):hover`]:{borderColor:vt.colorPrimaryHover},[`p${je}-drag-icon`]:{marginBottom:vt.margin,[L]:{color:vt.colorPrimary,fontSize:vt.uploadThumbnailSize}},[`p${je}-text`]:{margin:`0 0 ${vt.marginXXS}px`,color:vt.colorTextHeading,fontSize:vt.fontSizeLG},[`p${je}-hint`]:{color:vt.colorTextDescription,fontSize:vt.fontSize},[`&${je}-disabled`]:{cursor:"not-allowed",[`p${je}-drag-icon ${L}, p${je}-text, p${je}-hint - `]:{color:vt.colorTextDisabled}}}}}},yr=vt=>{const{componentCls:je,antCls:L,iconCls:Lt,fontSize:Qt,lineHeight:mt}=vt,vn=`${je}-list-item`,Cn=`${vn}-actions`,ui=`${vn}-action`,Nn=Math.round(Qt*mt);return{[`${je}-wrapper`]:{[`${je}-list`]:Object.assign(Object.assign({},(0,ln.dF)()),{lineHeight:vt.lineHeight,[vn]:{position:"relative",height:vt.lineHeight*Qt,marginTop:vt.marginXS,fontSize:Qt,display:"flex",alignItems:"center",transition:`background-color ${vt.motionDurationSlow}`,"&:hover":{backgroundColor:vt.controlItemBgHover},[`${vn}-name`]:Object.assign(Object.assign({},ln.vS),{padding:`0 ${vt.paddingXS}px`,lineHeight:mt,flex:"auto",transition:`all ${vt.motionDurationSlow}`}),[Cn]:{[ui]:{opacity:0},[`${ui}${L}-btn-sm`]:{height:Nn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${ui}:focus-visible, - &.picture ${ui} - `]:{opacity:1},[Lt]:{color:vt.actionsColor,transition:`all ${vt.motionDurationSlow}`},[`&:hover ${Lt}`]:{color:vt.colorText}},[`${je}-icon ${Lt}`]:{color:vt.colorTextDescription,fontSize:Qt},[`${vn}-progress`]:{position:"absolute",bottom:-vt.uploadProgressOffset,width:"100%",paddingInlineStart:Qt+vt.paddingXS,fontSize:Qt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${vn}:hover ${ui}`]:{opacity:1,color:vt.colorText},[`${vn}-error`]:{color:vt.colorError,[`${vn}-name, ${je}-icon ${Lt}`]:{color:vt.colorError},[Cn]:{[`${Lt}, ${Lt}:hover`]:{color:vt.colorError},[ui]:{opacity:1}}},[`${je}-list-item-container`]:{transition:`opacity ${vt.motionDurationSlow}, height ${vt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Er=h(93083),wr=h(1950);const eo=new Er.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),yo=new Er.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var no=vt=>{const{componentCls:je}=vt,L=`${je}-animate-inline`;return[{[`${je}-wrapper`]:{[`${L}-appear, ${L}-enter, ${L}-leave`]:{animationDuration:vt.motionDurationSlow,animationTimingFunction:vt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${L}-appear, ${L}-enter`]:{animationName:eo},[`${L}-leave`]:{animationName:yo}}},{[`${je}-wrapper`]:(0,wr.J$)(vt)},eo,yo]},ur=h(93398),zi=h(64993);const xi=vt=>{const{componentCls:je,iconCls:L,uploadThumbnailSize:Lt,uploadProgressOffset:Qt}=vt,mt=`${je}-list`,vn=`${mt}-item`;return{[`${je}-wrapper`]:{[` + `]:{color:vt.colorTextDisabled}}}}}},mr=vt=>{const{componentCls:je,antCls:L,iconCls:Rt,fontSize:Jt,lineHeight:mt}=vt,xn=`${je}-list-item`,An=`${xn}-actions`,li=`${xn}-action`,Nn=Math.round(Jt*mt);return{[`${je}-wrapper`]:{[`${je}-list`]:Object.assign(Object.assign({},(0,cn.dF)()),{lineHeight:vt.lineHeight,[xn]:{position:"relative",height:vt.lineHeight*Jt,marginTop:vt.marginXS,fontSize:Jt,display:"flex",alignItems:"center",transition:`background-color ${vt.motionDurationSlow}`,"&:hover":{backgroundColor:vt.controlItemBgHover},[`${xn}-name`]:Object.assign(Object.assign({},cn.vS),{padding:`0 ${vt.paddingXS}px`,lineHeight:mt,flex:"auto",transition:`all ${vt.motionDurationSlow}`}),[An]:{[li]:{opacity:0},[`${li}${L}-btn-sm`]:{height:Nn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${li}:focus-visible, + &.picture ${li} + `]:{opacity:1},[Rt]:{color:vt.actionsColor,transition:`all ${vt.motionDurationSlow}`},[`&:hover ${Rt}`]:{color:vt.colorText}},[`${je}-icon ${Rt}`]:{color:vt.colorTextDescription,fontSize:Jt},[`${xn}-progress`]:{position:"absolute",bottom:-vt.uploadProgressOffset,width:"100%",paddingInlineStart:Jt+vt.paddingXS,fontSize:Jt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${xn}:hover ${li}`]:{opacity:1,color:vt.colorText},[`${xn}-error`]:{color:vt.colorError,[`${xn}-name, ${je}-icon ${Rt}`]:{color:vt.colorError},[An]:{[`${Rt}, ${Rt}:hover`]:{color:vt.colorError},[li]:{opacity:1}}},[`${je}-list-item-container`]:{transition:`opacity ${vt.motionDurationSlow}, height ${vt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Er=h(93083),wr=h(1950);const qr=new Er.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),xo=new Er.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var no=vt=>{const{componentCls:je}=vt,L=`${je}-animate-inline`;return[{[`${je}-wrapper`]:{[`${L}-appear, ${L}-enter, ${L}-leave`]:{animationDuration:vt.motionDurationSlow,animationTimingFunction:vt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${L}-appear, ${L}-enter`]:{animationName:qr},[`${L}-leave`]:{animationName:xo}}},{[`${je}-wrapper`]:(0,wr.J$)(vt)},qr,xo]},rr=h(93398),Bi=h(64993);const yi=vt=>{const{componentCls:je,iconCls:L,uploadThumbnailSize:Rt,uploadProgressOffset:Jt}=vt,mt=`${je}-list`,xn=`${mt}-item`;return{[`${je}-wrapper`]:{[` ${mt}${mt}-picture, ${mt}${mt}-picture-card, ${mt}${mt}-picture-circle - `]:{[vn]:{position:"relative",height:Lt+vt.lineWidth*2+vt.paddingXS*2,padding:vt.paddingXS,border:`${vt.lineWidth}px ${vt.lineType} ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,"&:hover":{background:"transparent"},[`${vn}-thumbnail`]:Object.assign(Object.assign({},ln.vS),{width:Lt,height:Lt,lineHeight:`${Lt+vt.paddingSM}px`,textAlign:"center",flex:"none",[L]:{fontSize:vt.fontSizeHeading2,color:vt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${vn}-progress`]:{bottom:Qt,width:`calc(100% - ${vt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Lt+vt.paddingXS}},[`${vn}-error`]:{borderColor:vt.colorError,[`${vn}-thumbnail ${L}`]:{[`svg path[fill='${ur.blue[0]}']`]:{fill:vt.colorErrorBg},[`svg path[fill='${ur.blue.primary}']`]:{fill:vt.colorError}}},[`${vn}-uploading`]:{borderStyle:"dashed",[`${vn}-name`]:{marginBottom:Qt}}},[`${mt}${mt}-picture-circle ${vn}`]:{[`&, &::before, ${vn}-thumbnail`]:{borderRadius:"50%"}}}}},dt=vt=>{const{componentCls:je,iconCls:L,fontSizeLG:Lt,colorTextLightSolid:Qt}=vt,mt=`${je}-list`,vn=`${mt}-item`,Cn=vt.uploadPicCardSize;return{[` + `]:{[xn]:{position:"relative",height:Rt+vt.lineWidth*2+vt.paddingXS*2,padding:vt.paddingXS,border:`${vt.lineWidth}px ${vt.lineType} ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,"&:hover":{background:"transparent"},[`${xn}-thumbnail`]:Object.assign(Object.assign({},cn.vS),{width:Rt,height:Rt,lineHeight:`${Rt+vt.paddingSM}px`,textAlign:"center",flex:"none",[L]:{fontSize:vt.fontSizeHeading2,color:vt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${xn}-progress`]:{bottom:Jt,width:`calc(100% - ${vt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Rt+vt.paddingXS}},[`${xn}-error`]:{borderColor:vt.colorError,[`${xn}-thumbnail ${L}`]:{[`svg path[fill='${rr.blue[0]}']`]:{fill:vt.colorErrorBg},[`svg path[fill='${rr.blue.primary}']`]:{fill:vt.colorError}}},[`${xn}-uploading`]:{borderStyle:"dashed",[`${xn}-name`]:{marginBottom:Jt}}},[`${mt}${mt}-picture-circle ${xn}`]:{[`&, &::before, ${xn}-thumbnail`]:{borderRadius:"50%"}}}}},ht=vt=>{const{componentCls:je,iconCls:L,fontSizeLG:Rt,colorTextLightSolid:Jt}=vt,mt=`${je}-list`,xn=`${mt}-item`,An=vt.uploadPicCardSize;return{[` ${je}-wrapper${je}-picture-card-wrapper, ${je}-wrapper${je}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,ln.dF)()),{display:"inline-block",width:"100%",[`${je}${je}-select`]:{width:Cn,height:Cn,marginInlineEnd:vt.marginXS,marginBottom:vt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[`> ${je}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${je}-disabled):hover`]:{borderColor:vt.colorPrimary}},[`${mt}${mt}-picture-card, ${mt}${mt}-picture-circle`]:{[`${mt}-item-container`]:{display:"inline-block",width:Cn,height:Cn,marginBlock:`0 ${vt.marginXS}px`,marginInline:`0 ${vt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[vn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${vt.paddingXS*2}px)`,height:`calc(100% - ${vt.paddingXS*2}px)`,backgroundColor:vt.colorBgMask,opacity:0,transition:`all ${vt.motionDurationSlow}`,content:'" "'}},[`${vn}:hover`]:{[`&::before, ${vn}-actions`]:{opacity:1}},[`${vn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${vt.motionDurationSlow}`,[`${L}-eye, ${L}-download, ${L}-delete`]:{zIndex:10,width:Lt,margin:`0 ${vt.marginXXS}px`,fontSize:Lt,cursor:"pointer",transition:`all ${vt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${vn}-actions, ${vn}-actions:hover`]:{[`${L}-eye, ${L}-download, ${L}-delete`]:{color:new zi.C(Qt).setAlpha(.65).toRgbString(),"&:hover":{color:Qt}}},[`${vn}-thumbnail, ${vn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${vn}-name`]:{display:"none",textAlign:"center"},[`${vn}-file + ${vn}-name`]:{position:"absolute",bottom:vt.margin,display:"block",width:`calc(100% - ${vt.paddingXS*2}px)`},[`${vn}-uploading`]:{[`&${vn}`]:{backgroundColor:vt.colorFillAlter},[`&::before, ${L}-eye, ${L}-download, ${L}-delete`]:{display:"none"}},[`${vn}-progress`]:{bottom:vt.marginXL,width:`calc(100% - ${vt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${je}-wrapper${je}-picture-circle-wrapper`]:{[`${je}${je}-select`]:{borderRadius:"50%"}}}};var Wn=vt=>{const{componentCls:je}=vt;return{[`${je}-rtl`]:{direction:"rtl"}}};const yt=vt=>{const{componentCls:je,colorTextDisabled:L}=vt;return{[`${je}-wrapper`]:Object.assign(Object.assign({},(0,ln.Wf)(vt)),{[je]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${je}-select`]:{display:"inline-block"},[`${je}-disabled`]:{color:L,cursor:"not-allowed"}})}};var Ke=(0,er.Z)("Upload",vt=>{const{fontSizeHeading3:je,fontSize:L,lineHeight:Lt,lineWidth:Qt,controlHeightLG:mt}=vt,vn=Math.round(L*Lt),Cn=(0,ti.TS)(vt,{uploadThumbnailSize:je*2,uploadProgressOffset:vn/2+Qt,uploadPicCardSize:mt*2.55});return[yt(Cn),pr(Cn),xi(Cn),dt(Cn),yr(Cn),no(Cn),Wn(Cn),(0,gr.Z)(Cn)]},vt=>({actionsColor:vt.colorTextDescription})),gn=function(vt,je,L,Lt){function Qt(mt){return mt instanceof L?mt:new L(function(vn){vn(mt)})}return new(L||(L=Promise))(function(mt,vn){function Cn(st){try{Nn(Lt.next(st))}catch(Li){vn(Li)}}function ui(st){try{Nn(Lt.throw(st))}catch(Li){vn(Li)}}function Nn(st){st.done?mt(st.value):Qt(st.value).then(Cn,ui)}Nn((Lt=Lt.apply(vt,je||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,on=(vt,je)=>{const{fileList:L,defaultFileList:Lt,onRemove:Qt,showUploadList:mt=!0,listType:vn="text",onPreview:Cn,onDownload:ui,onChange:Nn,onDrop:st,previewFile:Li,disabled:Qi,locale:Kt,iconRender:Ui,isImageUrl:J,progress:oe,prefixCls:Hn,className:Be,type:Et="select",children:pi,style:Rn,itemRender:_i,maxCount:Xt,data:Ei={},multiple:Zt=!1,action:Pi="",accept:Yr="",supportServerRender:It=!0,rootClassName:Jr}=vt,Jt=v.useContext(Je.Z),Ri=Qi!=null?Qi:Jt,[Ci,mr]=(0,kt.Z)(Lt||[],{value:L,postState:fo=>fo!=null?fo:[]}),[ar,Kn]=v.useState("drop"),he=v.useRef(null);v.useMemo(()=>{const fo=Date.now();(L||[]).forEach((Ao,vo)=>{!Ao.uid&&!Object.isFrozen(Ao)&&(Ao.uid=`__AUTO__${fo}_${vo}__`)})},[L]);const vr=(fo,Ao,vo)=>{let Mt=(0,I.Z)(Ao),Pr=!1;Xt===1?Mt=Mt.slice(-1):Xt&&(Pr=Mt.length>Xt,Mt=Mt.slice(0,Xt)),(0,wt.flushSync)(()=>{mr(Mt)});const po={file:fo,fileList:Mt};vo&&(po.event=vo),(!Pr||Mt.some(Ea=>Ea.uid===fo.uid))&&(0,wt.flushSync)(()=>{Nn==null||Nn(po)})},Cr=(fo,Ao)=>gn(void 0,void 0,void 0,function*(){const{beforeUpload:vo,transformFile:Mt}=vt;let Pr=fo;if(vo){const po=yield vo(fo,Ao);if(po===!1)return!1;if(delete fo[kn],po===kn)return Object.defineProperty(fo,kn,{value:!0,configurable:!0}),!1;typeof po=="object"&&po&&(Pr=po)}return Mt&&(Pr=yield Mt(Pr)),Pr}),dr=fo=>{const Ao=fo.filter(Pr=>!Pr.file[kn]);if(!Ao.length)return;const vo=Ao.map(Pr=>ut(Pr.file));let Mt=(0,I.Z)(Ci);vo.forEach(Pr=>{Mt=nt(Pr,Mt)}),vo.forEach((Pr,po)=>{let Ea=Pr;if(Ao[po].parsedFile)Pr.status="uploading";else{const{originFileObj:xr}=Pr;let Sn;try{Sn=new File([xr],xr.name,{type:xr.type})}catch(hr){Sn=new Blob([xr],{type:xr.type}),Sn.name=xr.name,Sn.lastModifiedDate=new Date,Sn.lastModified=new Date().getTime()}Sn.uid=Pr.uid,Ea=Sn}vr(Ea,Mt)})},Br=(fo,Ao,vo)=>{try{typeof fo=="string"&&(fo=JSON.parse(fo))}catch(po){}if(!Tt(Ao,Ci))return;const Mt=ut(Ao);Mt.status="done",Mt.percent=100,Mt.response=fo,Mt.xhr=vo;const Pr=nt(Mt,Ci);vr(Mt,Pr)},Ji=(fo,Ao)=>{if(!Tt(Ao,Ci))return;const vo=ut(Ao);vo.status="uploading",vo.percent=fo.percent;const Mt=nt(vo,Ci);vr(vo,Mt,fo)},Fi=(fo,Ao,vo)=>{if(!Tt(vo,Ci))return;const Mt=ut(vo);Mt.error=fo,Mt.response=Ao,Mt.status="error";const Pr=nt(Mt,Ci);vr(Mt,Pr)},Mi=fo=>{let Ao;Promise.resolve(typeof Qt=="function"?Qt(fo):Qt).then(vo=>{var Mt;if(vo===!1)return;const Pr=fn(fo,Ci);Pr&&(Ao=Object.assign(Object.assign({},fo),{status:"removed"}),Ci==null||Ci.forEach(po=>{const Ea=Ao.uid!==void 0?"uid":"name";po[Ea]===Ao[Ea]&&!Object.isFrozen(po)&&(po.status="removed")}),(Mt=he.current)===null||Mt===void 0||Mt.abort(Ao),vr(Ao,Pr))})},cr=fo=>{Kn(fo.type),fo.type==="drop"&&(st==null||st(fo))};v.useImperativeHandle(je,()=>({onBatchStart:dr,onSuccess:Br,onProgress:Ji,onError:Fi,fileList:Ci,upload:he.current}));const{getPrefixCls:Ki,direction:Rr,upload:Gr}=v.useContext(En.E_),to=Ki("upload",Hn),Fo=Object.assign(Object.assign({onBatchStart:dr,onError:Fi,onProgress:Ji,onSuccess:Br},vt),{data:Ei,multiple:Zt,action:Pi,accept:Yr,supportServerRender:It,prefixCls:to,disabled:Ri,beforeUpload:Cr,onChange:void 0});delete Fo.className,delete Fo.style,(!pi||Ri)&&delete Fo.id;const[fi,ma]=Ke(to),[jo]=(0,se.Z)("Upload",ue.Z.Upload),{showRemoveIcon:da,showPreviewIcon:Ta,showDownloadIcon:Ya,removeIcon:ns,previewIcon:Na,downloadIcon:cs}=typeof mt=="boolean"?{}:mt,Za=(fo,Ao)=>mt?v.createElement(dn,{prefixCls:to,listType:vn,items:Ci,previewFile:Li,onPreview:Cn,onDownload:ui,onRemove:Mi,showRemoveIcon:!Ri&&da,showPreviewIcon:Ta,showDownloadIcon:Ya,removeIcon:ns,previewIcon:Na,downloadIcon:cs,iconRender:Ui,locale:Object.assign(Object.assign({},jo),Kt),isImageUrl:J,progress:oe,appendAction:fo,appendActionVisible:Ao,itemRender:_i,disabled:Ri}):fo,Go=F()(`${to}-wrapper`,Be,Jr,ma,Gr==null?void 0:Gr.className,{[`${to}-rtl`]:Rr==="rtl",[`${to}-picture-card-wrapper`]:vn==="picture-card",[`${to}-picture-circle-wrapper`]:vn==="picture-circle"}),Wt=Object.assign(Object.assign({},Gr==null?void 0:Gr.style),Rn);if(Et==="drag"){const fo=F()(ma,to,`${to}-drag`,{[`${to}-drag-uploading`]:Ci.some(Ao=>Ao.status==="uploading"),[`${to}-drag-hover`]:ar==="dragover",[`${to}-disabled`]:Ri,[`${to}-rtl`]:Rr==="rtl"});return fi(v.createElement("span",{className:Go},v.createElement("div",{className:fo,style:Wt,onDrop:cr,onDragOver:cr,onDragLeave:cr},v.createElement(xt,Object.assign({},Fo,{ref:he,className:`${to}-btn`}),v.createElement("div",{className:`${to}-drag-container`},pi))),Za()))}const Ba=F()(to,`${to}-select`,{[`${to}-disabled`]:Ri}),ol=(fo=>v.createElement("div",{className:Ba,style:fo},v.createElement(xt,Object.assign({},Fo,{ref:he}))))(pi?void 0:{display:"none"});return fi(vn==="picture-card"||vn==="picture-circle"?v.createElement("span",{className:Go},Za(ol,!!pi)):v.createElement("span",{className:Go},ol,Za()))};var Ve=v.forwardRef(on),Ut=function(vt,je){var L={};for(var Lt in vt)Object.prototype.hasOwnProperty.call(vt,Lt)&&je.indexOf(Lt)<0&&(L[Lt]=vt[Lt]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Lt=Object.getOwnPropertySymbols(vt);Qt{var{style:L,height:Lt}=vt,Qt=Ut(vt,["style","height"]);return v.createElement(Ve,Object.assign({ref:je},Qt,{type:"drag",style:Object.assign(Object.assign({},L),{height:Lt})}))});const ot=Ve;ot.Dragger=Gn,ot.LIST_IGNORE=kn;var un=ot},99498:function(Q,C,h){(function(v){v(h(89780))})(function(v){v.defineOption("placeholder","",function(de,ce,te){var Me=te&&te!=v.Init;if(ce&&!Me)de.on("blur",G),de.on("change",P),de.on("swapDoc",P),v.on(de.getInputField(),"compositionupdate",de.state.placeholderCompose=function(){F(de)}),P(de);else if(!ce&&Me){de.off("blur",G),de.off("change",P),de.off("swapDoc",P),v.off(de.getInputField(),"compositionupdate",de.state.placeholderCompose),I(de);var we=de.getWrapperElement();we.className=we.className.replace(" CodeMirror-empty","")}ce&&!de.hasFocus()&&G(de)});function I(de){de.state.placeholder&&(de.state.placeholder.parentNode.removeChild(de.state.placeholder),de.state.placeholder=null)}function O(de){I(de);var ce=de.state.placeholder=document.createElement("pre");ce.style.cssText="height: 0; overflow: visible",ce.style.direction=de.getOption("direction"),ce.className="CodeMirror-placeholder CodeMirror-line-like";var te=de.getOption("placeholder");typeof te=="string"&&(te=document.createTextNode(te)),ce.appendChild(te),de.display.lineSpace.insertBefore(ce,de.display.lineSpace.firstChild)}function F(de){setTimeout(function(){var ce=!1,te=de.getInputField();te.nodeName=="TEXTAREA"?ce=!te.value:de.lineCount()==1&&(ce=!/[^\u200b]/.test(te.querySelector(".CodeMirror-line").textContent)),ce?O(de):I(de)},20)}function G(de){M(de)&&O(de)}function P(de){var ce=de.getWrapperElement(),te=M(de);ce.className=ce.className.replace(" CodeMirror-empty","")+(te?" CodeMirror-empty":""),te?O(de):I(de)}function M(de){return de.lineCount()===1&&de.getLine(0)===""}})},25717:function(Q,C,h){(function(v){v(h(89780))})(function(v){var I={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},O=v.Pos;v.defineOption("autoCloseBrackets",!1,function(Te,Ae,Re){Re&&Re!=v.Init&&(Te.removeKeyMap(G),Te.state.closeBrackets=null),Ae&&(P(F(Ae,"pairs")),Te.state.closeBrackets=Ae,Te.addKeyMap(G))});function F(Te,Ae){return Ae=="pairs"&&typeof Te=="string"?Te:typeof Te=="object"&&Te[Ae]!=null?Te[Ae]:I[Ae]}var G={Backspace:ce,Enter:te};function P(Te){for(var Ae=0;Ae=0;me--){var ge=fe[me].head;Te.replaceRange("",O(ge.line,ge.ch-1),O(ge.line,ge.ch+1),"+delete")}}function te(Te){var Ae=de(Te),Re=Ae&&F(Ae,"explode");if(!Re||Te.getOption("disableInput"))return v.Pass;for(var fe=Te.listSelections(),me=0;me0;return{anchor:new O(Te.anchor.line,Te.anchor.ch+(Ae?-1:1)),head:new O(Te.head.line,Te.head.ch+(Ae?1:-1))}}function we(Te,Ae){var Re=de(Te);if(!Re||Te.getOption("disableInput"))return v.Pass;var fe=F(Re,"pairs"),me=fe.indexOf(Ae);if(me==-1)return v.Pass;for(var xe=F(Re,"closeBefore"),ge=F(Re,"triples"),ke=fe.charAt(me+1)==Ae,ee=Te.listSelections(),Ne=me%2==0,Ie,Fe=0;Fe=0&&Te.getRange(Ye,O(Ye.line,Ye.ch+3))==Ae+Ae+Ae?ie="skipThree":ie="skip";else if(ke&&Ye.ch>1&&ge.indexOf(Ae)>=0&&Te.getRange(O(Ye.line,Ye.ch-2),Ye)==Ae+Ae){if(Ye.ch>2&&/\bstring/.test(Te.getTokenTypeAt(O(Ye.line,Ye.ch-2))))return v.Pass;ie="addFour"}else if(ke){var We=Ye.ch==0?" ":Te.getRange(O(Ye.line,Ye.ch-1),Ye);if(!v.isWordChar(lt)&&We!=Ae&&!v.isWordChar(We))ie="both";else return v.Pass}else if(Ne&&(lt.length===0||/\s/.test(lt)||xe.indexOf(lt)>-1))ie="both";else return v.Pass;if(!Ie)Ie=ie;else if(Ie!=ie)return v.Pass}var Pt=me%2?fe.charAt(me-1):Ae,xt=me%2?Ae:fe.charAt(me+1);Te.operation(function(){if(Ie=="skip")Te.execCommand("goCharRight");else if(Ie=="skipThree")for(var kt=0;kt<3;kt++)Te.execCommand("goCharRight");else if(Ie=="surround"){for(var wt=Te.getSelections(),kt=0;kt'"]=function(Qe){return F(Qe)}),ce.addKeyMap(we)}});var I=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],O=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function F(ce){if(ce.getOption("disableInput"))return v.Pass;for(var te=ce.listSelections(),Me=[],we=ce.getOption("autoCloseTags"),Qe=0;QeOe.ch&&(me=me.slice(0,me.length-Te.end+Oe.ch));var ee=me.toLowerCase();if(!me||Te.type=="string"&&(Te.end!=Oe.ch||!/[\"\']/.test(Te.string.charAt(Te.string.length-1))||Te.string.length==1)||Te.type=="tag"&&fe.close||Te.string.indexOf("/")==Oe.ch-Te.start-1||ge&&M(ge,ee)>-1||de(ce,Ae.mode.xmlCurrentContext&&Ae.mode.xmlCurrentContext(Re)||[],me,Oe,!0))return v.Pass;var Ne=typeof we=="object"&&we.emptyTags;if(Ne&&M(Ne,me)>-1){Me[Qe]={text:"/>",newPos:v.Pos(Oe.line,Oe.ch+2)};continue}var Ie=ke&&M(ke,ee)>-1;Me[Qe]={indent:Ie,text:">"+(Ie?` + `]:Object.assign(Object.assign({},(0,cn.dF)()),{display:"inline-block",width:"100%",[`${je}${je}-select`]:{width:An,height:An,marginInlineEnd:vt.marginXS,marginBottom:vt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:vt.colorFillAlter,border:`${vt.lineWidth}px dashed ${vt.colorBorder}`,borderRadius:vt.borderRadiusLG,cursor:"pointer",transition:`border-color ${vt.motionDurationSlow}`,[`> ${je}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${je}-disabled):hover`]:{borderColor:vt.colorPrimary}},[`${mt}${mt}-picture-card, ${mt}${mt}-picture-circle`]:{[`${mt}-item-container`]:{display:"inline-block",width:An,height:An,marginBlock:`0 ${vt.marginXS}px`,marginInline:`0 ${vt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[xn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${vt.paddingXS*2}px)`,height:`calc(100% - ${vt.paddingXS*2}px)`,backgroundColor:vt.colorBgMask,opacity:0,transition:`all ${vt.motionDurationSlow}`,content:'" "'}},[`${xn}:hover`]:{[`&::before, ${xn}-actions`]:{opacity:1}},[`${xn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${vt.motionDurationSlow}`,[`${L}-eye, ${L}-download, ${L}-delete`]:{zIndex:10,width:Rt,margin:`0 ${vt.marginXXS}px`,fontSize:Rt,cursor:"pointer",transition:`all ${vt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${xn}-actions, ${xn}-actions:hover`]:{[`${L}-eye, ${L}-download, ${L}-delete`]:{color:new Bi.C(Jt).setAlpha(.65).toRgbString(),"&:hover":{color:Jt}}},[`${xn}-thumbnail, ${xn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${xn}-name`]:{display:"none",textAlign:"center"},[`${xn}-file + ${xn}-name`]:{position:"absolute",bottom:vt.margin,display:"block",width:`calc(100% - ${vt.paddingXS*2}px)`},[`${xn}-uploading`]:{[`&${xn}`]:{backgroundColor:vt.colorFillAlter},[`&::before, ${L}-eye, ${L}-download, ${L}-delete`]:{display:"none"}},[`${xn}-progress`]:{bottom:vt.marginXL,width:`calc(100% - ${vt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${je}-wrapper${je}-picture-circle-wrapper`]:{[`${je}${je}-select`]:{borderRadius:"50%"}}}};var Vn=vt=>{const{componentCls:je}=vt;return{[`${je}-rtl`]:{direction:"rtl"}}};const pt=vt=>{const{componentCls:je,colorTextDisabled:L}=vt;return{[`${je}-wrapper`]:Object.assign(Object.assign({},(0,cn.Wf)(vt)),{[je]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${je}-select`]:{display:"inline-block"},[`${je}-disabled`]:{color:L,cursor:"not-allowed"}})}};var Ke=(0,Xi.Z)("Upload",vt=>{const{fontSizeHeading3:je,fontSize:L,lineHeight:Rt,lineWidth:Jt,controlHeightLG:mt}=vt,xn=Math.round(L*Rt),An=(0,ei.TS)(vt,{uploadThumbnailSize:je*2,uploadProgressOffset:xn/2+Jt,uploadPicCardSize:mt*2.55});return[pt(An),ur(An),yi(An),ht(An),mr(An),no(An),Vn(An),(0,fr.Z)(An)]},vt=>({actionsColor:vt.colorTextDescription})),vn=function(vt,je,L,Rt){function Jt(mt){return mt instanceof L?mt:new L(function(xn){xn(mt)})}return new(L||(L=Promise))(function(mt,xn){function An(st){try{Nn(Rt.next(st))}catch(Mi){xn(Mi)}}function li(st){try{Nn(Rt.throw(st))}catch(Mi){xn(Mi)}}function Nn(st){st.done?mt(st.value):Jt(st.value).then(An,li)}Nn((Rt=Rt.apply(vt,je||[])).next())})};const Fn=`__LIST_IGNORE_${Date.now()}__`,on=(vt,je)=>{const{fileList:L,defaultFileList:Rt,onRemove:Jt,showUploadList:mt=!0,listType:xn="text",onPreview:An,onDownload:li,onChange:Nn,onDrop:st,previewFile:Mi,disabled:Yi,locale:Yt,iconRender:zi,isImageUrl:q,progress:oe,prefixCls:Hn,className:Be,type:Tt="select",children:fi,style:Ln,itemRender:Fi,maxCount:qt,data:xi={},multiple:Xt=!1,action:Li="",accept:Yr="",supportServerRender:Mt=!0,rootClassName:Qr}=vt,tn=v.useContext(Qe.Z),Oi=Yi!=null?Yi:tn,[Ei,or]=(0,kt.Z)(Rt||[],{value:L,postState:uo=>uo!=null?uo:[]}),[tr,Zn]=v.useState("drop"),he=v.useRef(null);v.useMemo(()=>{const uo=Date.now();(L||[]).forEach((No,go)=>{!No.uid&&!Object.isFrozen(No)&&(No.uid=`__AUTO__${uo}_${go}__`)})},[L]);const gr=(uo,No,go)=>{let Ot=(0,I.Z)(No),Pr=!1;qt===1?Ot=Ot.slice(-1):qt&&(Pr=Ot.length>qt,Ot=Ot.slice(0,qt)),(0,Ct.flushSync)(()=>{or(Ot)});const co={file:uo,fileList:Ot};go&&(co.event=go),(!Pr||Ot.some(xa=>xa.uid===uo.uid))&&(0,Ct.flushSync)(()=>{Nn==null||Nn(co)})},br=(uo,No)=>vn(void 0,void 0,void 0,function*(){const{beforeUpload:go,transformFile:Ot}=vt;let Pr=uo;if(go){const co=yield go(uo,No);if(co===!1)return!1;if(delete uo[Fn],co===Fn)return Object.defineProperty(uo,Fn,{value:!0,configurable:!0}),!1;typeof co=="object"&&co&&(Pr=co)}return Ot&&(Pr=yield Ot(Pr)),Pr}),cr=uo=>{const No=uo.filter(Pr=>!Pr.file[Fn]);if(!No.length)return;const go=No.map(Pr=>ut(Pr.file));let Ot=(0,I.Z)(Ei);go.forEach(Pr=>{Ot=tt(Pr,Ot)}),go.forEach((Pr,co)=>{let xa=Pr;if(No[co].parsedFile)Pr.status="uploading";else{const{originFileObj:xr}=Pr;let wn;try{wn=new File([xr],xr.name,{type:xr.type})}catch(ar){wn=new Blob([xr],{type:xr.type}),wn.name=xr.name,wn.lastModifiedDate=new Date,wn.lastModified=new Date().getTime()}wn.uid=Pr.uid,xa=wn}gr(xa,Ot)})},Br=(uo,No,go)=>{try{typeof uo=="string"&&(uo=JSON.parse(uo))}catch(co){}if(!Et(No,Ei))return;const Ot=ut(No);Ot.status="done",Ot.percent=100,Ot.response=uo,Ot.xhr=go;const Pr=tt(Ot,Ei);gr(Ot,Pr)},Zi=(uo,No)=>{if(!Et(No,Ei))return;const go=ut(No);go.status="uploading",go.percent=uo.percent;const Ot=tt(go,Ei);gr(go,Ot,uo)},Ri=(uo,No,go)=>{if(!Et(go,Ei))return;const Ot=ut(go);Ot.error=uo,Ot.response=No,Ot.status="error";const Pr=tt(Ot,Ei);gr(Ot,Pr)},Ai=uo=>{let No;Promise.resolve(typeof Jt=="function"?Jt(uo):Jt).then(go=>{var Ot;if(go===!1)return;const Pr=pn(uo,Ei);Pr&&(No=Object.assign(Object.assign({},uo),{status:"removed"}),Ei==null||Ei.forEach(co=>{const xa=No.uid!==void 0?"uid":"name";co[xa]===No[xa]&&!Object.isFrozen(co)&&(co.status="removed")}),(Ot=he.current)===null||Ot===void 0||Ot.abort(No),gr(No,Pr))})},hr=uo=>{Zn(uo.type),uo.type==="drop"&&(st==null||st(uo))};v.useImperativeHandle(je,()=>({onBatchStart:cr,onSuccess:Br,onProgress:Zi,onError:Ri,fileList:Ei,upload:he.current}));const{getPrefixCls:Ki,direction:Lr,upload:Wr}=v.useContext(Cn.E_),eo=Ki("upload",Hn),Lo=Object.assign(Object.assign({onBatchStart:cr,onError:Ri,onProgress:Zi,onSuccess:Br},vt),{data:xi,multiple:Xt,action:Li,accept:Yr,supportServerRender:Mt,prefixCls:eo,disabled:Oi,beforeUpload:br,onChange:void 0});delete Lo.className,delete Lo.style,(!fi||Oi)&&delete Lo.id;const[pi,pa]=Ke(eo),[Uo]=(0,le.Z)("Upload",ce.Z.Upload),{showRemoveIcon:oa,showPreviewIcon:ma,showDownloadIcon:$a,removeIcon:is,previewIcon:ka,downloadIcon:ss}=typeof mt=="boolean"?{}:mt,Ua=(uo,No)=>mt?v.createElement(Ii,{prefixCls:eo,listType:xn,items:Ei,previewFile:Mi,onPreview:An,onDownload:li,onRemove:Ai,showRemoveIcon:!Oi&&oa,showPreviewIcon:ma,showDownloadIcon:$a,removeIcon:is,previewIcon:ka,downloadIcon:ss,iconRender:zi,locale:Object.assign(Object.assign({},Uo),Yt),isImageUrl:q,progress:oe,appendAction:uo,appendActionVisible:No,itemRender:Fi,disabled:Oi}):uo,Go=B()(`${eo}-wrapper`,Be,Qr,pa,Wr==null?void 0:Wr.className,{[`${eo}-rtl`]:Lr==="rtl",[`${eo}-picture-card-wrapper`]:xn==="picture-card",[`${eo}-picture-circle-wrapper`]:xn==="picture-circle"}),Zt=Object.assign(Object.assign({},Wr==null?void 0:Wr.style),Ln);if(Tt==="drag"){const uo=B()(pa,eo,`${eo}-drag`,{[`${eo}-drag-uploading`]:Ei.some(No=>No.status==="uploading"),[`${eo}-drag-hover`]:tr==="dragover",[`${eo}-disabled`]:Oi,[`${eo}-rtl`]:Lr==="rtl"});return pi(v.createElement("span",{className:Go},v.createElement("div",{className:uo,style:Zt,onDrop:hr,onDragOver:hr,onDragLeave:hr},v.createElement(xt,Object.assign({},Lo,{ref:he,className:`${eo}-btn`}),v.createElement("div",{className:`${eo}-drag-container`},fi))),Ua()))}const Pa=B()(eo,`${eo}-select`,{[`${eo}-disabled`]:Oi}),nl=(uo=>v.createElement("div",{className:Pa,style:uo},v.createElement(xt,Object.assign({},Lo,{ref:he}))))(fi?void 0:{display:"none"});return pi(xn==="picture-card"||xn==="picture-circle"?v.createElement("span",{className:Go},Ua(nl,!!fi)):v.createElement("span",{className:Go},nl,Ua()))};var Ve=v.forwardRef(on),Ut=function(vt,je){var L={};for(var Rt in vt)Object.prototype.hasOwnProperty.call(vt,Rt)&&je.indexOf(Rt)<0&&(L[Rt]=vt[Rt]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,Rt=Object.getOwnPropertySymbols(vt);Jt{var{style:L,height:Rt}=vt,Jt=Ut(vt,["style","height"]);return v.createElement(Ve,Object.assign({ref:je},Jt,{type:"drag",style:Object.assign(Object.assign({},L),{height:Rt})}))});const ot=Ve;ot.Dragger=Wn,ot.LIST_IGNORE=Fn;var fn=ot},99498:function(Q,C,h){(function(v){v(h(89780))})(function(v){v.defineOption("placeholder","",function(de,ae,te){var Me=te&&te!=v.Init;if(ae&&!Me)de.on("blur",G),de.on("change",F),de.on("swapDoc",F),v.on(de.getInputField(),"compositionupdate",de.state.placeholderCompose=function(){B(de)}),F(de);else if(!ae&&Me){de.off("blur",G),de.off("change",F),de.off("swapDoc",F),v.off(de.getInputField(),"compositionupdate",de.state.placeholderCompose),I(de);var we=de.getWrapperElement();we.className=we.className.replace(" CodeMirror-empty","")}ae&&!de.hasFocus()&&G(de)});function I(de){de.state.placeholder&&(de.state.placeholder.parentNode.removeChild(de.state.placeholder),de.state.placeholder=null)}function O(de){I(de);var ae=de.state.placeholder=document.createElement("pre");ae.style.cssText="height: 0; overflow: visible",ae.style.direction=de.getOption("direction"),ae.className="CodeMirror-placeholder CodeMirror-line-like";var te=de.getOption("placeholder");typeof te=="string"&&(te=document.createTextNode(te)),ae.appendChild(te),de.display.lineSpace.insertBefore(ae,de.display.lineSpace.firstChild)}function B(de){setTimeout(function(){var ae=!1,te=de.getInputField();te.nodeName=="TEXTAREA"?ae=!te.value:de.lineCount()==1&&(ae=!/[^\u200b]/.test(te.querySelector(".CodeMirror-line").textContent)),ae?O(de):I(de)},20)}function G(de){M(de)&&O(de)}function F(de){var ae=de.getWrapperElement(),te=M(de);ae.className=ae.className.replace(" CodeMirror-empty","")+(te?" CodeMirror-empty":""),te?O(de):I(de)}function M(de){return de.lineCount()===1&&de.getLine(0)===""}})},25717:function(Q,C,h){(function(v){v(h(89780))})(function(v){var I={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},O=v.Pos;v.defineOption("autoCloseBrackets",!1,function(Ce,Ae,Pe){Pe&&Pe!=v.Init&&(Ce.removeKeyMap(G),Ce.state.closeBrackets=null),Ae&&(F(B(Ae,"pairs")),Ce.state.closeBrackets=Ae,Ce.addKeyMap(G))});function B(Ce,Ae){return Ae=="pairs"&&typeof Ce=="string"?Ce:typeof Ce=="object"&&Ce[Ae]!=null?Ce[Ae]:I[Ae]}var G={Backspace:ae,Enter:te};function F(Ce){for(var Ae=0;Ae=0;pe--){var me=fe[pe].head;Ce.replaceRange("",O(me.line,me.ch-1),O(me.line,me.ch+1),"+delete")}}function te(Ce){var Ae=de(Ce),Pe=Ae&&B(Ae,"explode");if(!Pe||Ce.getOption("disableInput"))return v.Pass;for(var fe=Ce.listSelections(),pe=0;pe0;return{anchor:new O(Ce.anchor.line,Ce.anchor.ch+(Ae?-1:1)),head:new O(Ce.head.line,Ce.head.ch+(Ae?1:-1))}}function we(Ce,Ae){var Pe=de(Ce);if(!Pe||Ce.getOption("disableInput"))return v.Pass;var fe=B(Pe,"pairs"),pe=fe.indexOf(Ae);if(pe==-1)return v.Pass;for(var xe=B(Pe,"closeBefore"),me=B(Pe,"triples"),ke=fe.charAt(pe+1)==Ae,ee=Ce.listSelections(),Ne=pe%2==0,Ie,Le=0;Le=0&&Ce.getRange(Ye,O(Ye.line,Ye.ch+3))==Ae+Ae+Ae?re="skipThree":re="skip";else if(ke&&Ye.ch>1&&me.indexOf(Ae)>=0&&Ce.getRange(O(Ye.line,Ye.ch-2),Ye)==Ae+Ae){if(Ye.ch>2&&/\bstring/.test(Ce.getTokenTypeAt(O(Ye.line,Ye.ch-2))))return v.Pass;re="addFour"}else if(ke){var We=Ye.ch==0?" ":Ce.getRange(O(Ye.line,Ye.ch-1),Ye);if(!v.isWordChar(lt)&&We!=Ae&&!v.isWordChar(We))re="both";else return v.Pass}else if(Ne&&(lt.length===0||/\s/.test(lt)||xe.indexOf(lt)>-1))re="both";else return v.Pass;if(!Ie)Ie=re;else if(Ie!=re)return v.Pass}var Pt=pe%2?fe.charAt(pe-1):Ae,xt=pe%2?Ae:fe.charAt(pe+1);Ce.operation(function(){if(Ie=="skip")Ce.execCommand("goCharRight");else if(Ie=="skipThree")for(var kt=0;kt<3;kt++)Ce.execCommand("goCharRight");else if(Ie=="surround"){for(var Ct=Ce.getSelections(),kt=0;kt'"]=function(Xe){return B(Xe)}),ae.addKeyMap(we)}});var I=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],O=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function B(ae){if(ae.getOption("disableInput"))return v.Pass;for(var te=ae.listSelections(),Me=[],we=ae.getOption("autoCloseTags"),Xe=0;XeOe.ch&&(pe=pe.slice(0,pe.length-Ce.end+Oe.ch));var ee=pe.toLowerCase();if(!pe||Ce.type=="string"&&(Ce.end!=Oe.ch||!/[\"\']/.test(Ce.string.charAt(Ce.string.length-1))||Ce.string.length==1)||Ce.type=="tag"&&fe.close||Ce.string.indexOf("/")==Oe.ch-Ce.start-1||me&&M(me,ee)>-1||de(ae,Ae.mode.xmlCurrentContext&&Ae.mode.xmlCurrentContext(Pe)||[],pe,Oe,!0))return v.Pass;var Ne=typeof we=="object"&&we.emptyTags;if(Ne&&M(Ne,pe)>-1){Me[Xe]={text:"/>",newPos:v.Pos(Oe.line,Oe.ch+2)};continue}var Ie=ke&&M(ke,ee)>-1;Me[Xe]={indent:Ie,text:">"+(Ie?` -`:"")+"",newPos:Ie?v.Pos(Oe.line+1,0):v.Pos(Oe.line,Oe.ch+1)}}for(var Fe=typeof we=="object"&&we.dontIndentOnAutoClose,Qe=te.length-1;Qe>=0;Qe--){var Xe=Me[Qe];ce.replaceRange(Xe.text,te[Qe].head,te[Qe].anchor,"+insert");var Ye=ce.listSelections().slice(0);Ye[Qe]={head:Xe.newPos,anchor:Xe.newPos},ce.setSelections(Ye),!Fe&&Xe.indent&&(ce.indentLine(Xe.newPos.line,null,!0),ce.indentLine(Xe.newPos.line+1,null,!0))}}function G(ce,te){for(var Me=ce.listSelections(),we=[],Qe=te?"/":""&&(ge+=">"),we[Ae]=ge}if(ce.replaceSelections(we),Me=ce.listSelections(),!Te)for(var Ae=0;Ae=0&&te[Re]==Me;Re--)++Ae;we=Te.to;for(var Re=1;Re=Re.max))return Re.ch=0,Re.text=Re.cm.getLine(++Re.line),!0}function te(Re){if(!(Re.line<=Re.min))return Re.text=Re.cm.getLine(--Re.line),Re.ch=Re.text.length,!0}function Me(Re){for(;;){var fe=Re.text.indexOf(">",Re.ch);if(fe==-1){if(ce(Re))continue;return}if(!de(Re,fe+1)){Re.ch=fe+1;continue}var me=Re.text.lastIndexOf("/",fe),xe=me>-1&&!/\S/.test(Re.text.slice(me+1,fe));return Re.ch=fe+1,xe?"selfClose":"regular"}}function we(Re){for(;;){var fe=Re.ch?Re.text.lastIndexOf("<",Re.ch-1):-1;if(fe==-1){if(te(Re))continue;return}if(!de(Re,fe+1)){Re.ch=fe;continue}P.lastIndex=fe,Re.ch=fe;var me=P.exec(Re.text);if(me&&me.index==fe)return me}}function Qe(Re){for(;;){P.lastIndex=Re.ch;var fe=P.exec(Re.text);if(!fe){if(ce(Re))continue;return}if(!de(Re,fe.index+1)){Re.ch=fe.index+1;continue}return Re.ch=fe.index+fe[0].length,fe}}function Oe(Re){for(;;){var fe=Re.ch?Re.text.lastIndexOf(">",Re.ch-1):-1;if(fe==-1){if(te(Re))continue;return}if(!de(Re,fe+1)){Re.ch=fe;continue}var me=Re.text.lastIndexOf("/",fe),xe=me>-1&&!/\S/.test(Re.text.slice(me+1,fe));return Re.ch=fe+1,xe?"selfClose":"regular"}}function Te(Re,fe){for(var me=[];;){var xe=Qe(Re),ge,ke=Re.line,ee=Re.ch-(xe?xe[0].length:0);if(!xe||!(ge=Me(Re)))return;if(ge!="selfClose")if(xe[1]){for(var Ne=me.length-1;Ne>=0;--Ne)if(me[Ne]==xe[2]){me.length=Ne;break}if(Ne<0&&(!fe||fe==xe[2]))return{tag:xe[2],from:I(ke,ee),to:I(Re.line,Re.ch)}}else me.push(xe[2])}}function Ae(Re,fe){for(var me=[];;){var xe=Oe(Re);if(!xe)return;if(xe=="selfClose"){we(Re);continue}var ge=Re.line,ke=Re.ch,ee=we(Re);if(!ee)return;if(ee[1])me.push(ee[2]);else{for(var Ne=me.length-1;Ne>=0;--Ne)if(me[Ne]==ee[2]){me.length=Ne;break}if(Ne<0&&(!fe||fe==ee[2]))return{tag:ee[2],from:I(Re.line,Re.ch),to:I(ge,ke)}}}}v.registerHelper("fold","xml",function(Re,fe){for(var me=new M(Re,fe.line,0);;){var xe=Qe(me);if(!xe||me.line!=fe.line)return;var ge=Me(me);if(!ge)return;if(!xe[1]&&ge!="selfClose"){var ke=I(me.line,me.ch),ee=Te(me,xe[2]);return ee&&O(ee.from,ke)>0?{from:ke,to:ee.from}:null}}}),v.findMatchingTag=function(Re,fe,me){var xe=new M(Re,fe.line,fe.ch,me);if(!(xe.text.indexOf(">")==-1&&xe.text.indexOf("<")==-1)){var ge=Me(xe),ke=ge&&I(xe.line,xe.ch),ee=ge&&we(xe);if(!(!ge||!ee||O(xe,fe)>0)){var Ne={from:I(xe.line,xe.ch),to:ke,tag:ee[2]};return ge=="selfClose"?{open:Ne,close:null,at:"open"}:ee[1]?{open:Ae(xe,ee[2]),close:Ne,at:"close"}:(xe=new M(Re,ke.line,ke.ch,me),{open:Ne,close:Te(xe,ee[2]),at:"open"})}}},v.findEnclosingTag=function(Re,fe,me,xe){for(var ge=new M(Re,fe.line,fe.ch,me);;){var ke=Ae(ge,xe);if(!ke)break;var ee=new M(Re,fe.line,fe.ch,me),Ne=Te(ee,ke.tag);if(Ne)return{open:ke,close:Ne}}},v.scanForClosingTag=function(Re,fe,me,xe){var ge=new M(Re,fe.line,fe.ch,xe?{from:0,to:xe}:null);return Te(ge,me)}})},89780:function(Q){(function(C,h){Q.exports=h()})(this,function(){"use strict";var C=navigator.userAgent,h=navigator.platform,v=/gecko\/\d/i.test(C),I=/MSIE \d/.test(C),O=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(C),F=/Edge\/(\d+)/.exec(C),G=I||O||F,P=G&&(I?document.documentMode||6:+(F||O)[1]),M=!F&&/WebKit\//.test(C),de=M&&/Qt\/\d+\.\d+/.test(C),ce=!F&&/Chrome\//.test(C),te=/Opera\//.test(C),Me=/Apple Computer/.test(navigator.vendor),we=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(C),Qe=/PhantomJS/.test(C),Oe=!F&&/AppleWebKit/.test(C)&&/Mobile\/\w+/.test(C),Te=/Android/.test(C),Ae=Oe||Te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(C),Re=Oe||/Mac/.test(h),fe=/\bCrOS\b/.test(C),me=/win/i.test(h),xe=te&&C.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(te=!1,M=!0);var ge=Re&&(de||te&&(xe==null||xe<12.11)),ke=v||G&&P>=9;function ee(s){return new RegExp("(^|\\s)"+s+"(?:$|\\s)\\s*")}var Ne=function(s,c){var b=s.className,y=ee(c).exec(b);if(y){var w=b.slice(y.index+y[0].length);s.className=b.slice(0,y.index)+(w?y[1]+w:"")}};function Ie(s){for(var c=s.childNodes.length;c>0;--c)s.removeChild(s.firstChild);return s}function Fe(s,c){return Ie(s).appendChild(c)}function Xe(s,c,b,y){var w=document.createElement(s);if(b&&(w.className=b),y&&(w.style.cssText=y),typeof c=="string")w.appendChild(document.createTextNode(c));else if(c)for(var H=0;H=c)return ne+(c-H);ne+=Se-H,ne+=b-ne%b,H=Se+1}}var se=function(){this.id=null,this.f=null,this.time=0,this.handler=wt(this.onTimeout,this)};se.prototype.onTimeout=function(s){s.id=0,s.time<=+new Date?s.f():setTimeout(s.handler,s.time-+new Date)},se.prototype.set=function(s,c){this.f=c;var b=+new Date+s;(!this.id||b=c)return y+Math.min(ne,c-w);if(w+=H-y,w+=b-w%b,y=H+1,w>=c)return y}}var Ln=[""];function ni(s){for(;Ln.length<=s;)Ln.push(Jn(Ln)+" ");return Ln[s]}function Jn(s){return s[s.length-1]}function In(s,c){for(var b=[],y=0;y"\x80"&&(s.toUpperCase()!=s.toLowerCase()||k.test(s))}function X(s,c){return c?c.source.indexOf("\\w")>-1&&j(s)?!0:c.test(s):j(s)}function N(s){for(var c in s)if(s.hasOwnProperty(c)&&s[c])return!1;return!0}var _e=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Nt(s){return s.charCodeAt(0)>=768&&_e.test(s)}function He(s,c,b){for(;(b<0?c>0:cb?-1:1;;){if(c==b)return c;var w=(c+b)/2,H=y<0?Math.ceil(w):Math.floor(w);if(H==c)return s(H)?c:b;s(H)?b=H:c=H+y}}function gt(s,c,b,y){if(!s)return y(c,b,"ltr",0);for(var w=!1,H=0;Hc||c==b&&ne.to==c)&&(y(Math.max(ne.from,c),Math.min(ne.to,b),ne.level==1?"rtl":"ltr",H),w=!0)}w||y(c,b,"ltr")}var ut=null;function nt(s,c,b){var y;ut=null;for(var w=0;wc)return w;H.to==c&&(H.from!=H.to&&b=="before"?y=w:ut=w),H.from==c&&(H.from!=H.to&&b!="before"?y=w:ut=w)}return y!=null?y:ut}var Tt=function(){var s="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",c="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function b(Ze){return Ze<=247?s.charAt(Ze):1424<=Ze&&Ze<=1524?"R":1536<=Ze&&Ze<=1785?c.charAt(Ze-1536):1774<=Ze&&Ze<=2220?"r":8192<=Ze&&Ze<=8203?"w":Ze==8204?"b":"L"}var y=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,w=/[stwN]/,H=/[LRr]/,ne=/[Lb1n]/,Se=/[1n]/;function ye(Ze,Gt,at){this.level=Ze,this.from=Gt,this.to=at}return function(Ze,Gt){var at=Gt=="ltr"?"L":"R";if(Ze.length==0||Gt=="ltr"&&!y.test(Ze))return!1;for(var Tn=Ze.length,xn=[],hi=0;hi-1&&(y[c]=w.slice(0,H).concat(w.slice(H+1)))}}}function et(s,c){var b=cn(s,c);if(b.length)for(var y=Array.prototype.slice.call(arguments,2),w=0;w0}function ze(s){s.prototype.on=function(c,b){jt(this,c,b)},s.prototype.off=function(c,b){nn(this,c,b)}}function Un(s){s.preventDefault?s.preventDefault():s.returnValue=!1}function On(s){s.stopPropagation?s.stopPropagation():s.cancelBubble=!0}function Yn(s){return s.defaultPrevented!=null?s.defaultPrevented:s.returnValue==!1}function wi(s){Un(s),On(s)}function vi(s){return s.target||s.srcElement}function dn(s){var c=s.which;return c==null&&(s.button&1?c=1:s.button&2?c=3:s.button&4&&(c=2)),Re&&s.ctrlKey&&c==1&&(c=3),c}var ln=function(){if(G&&P<9)return!1;var s=Xe("div");return"draggable"in s||"dragDrop"in s}(),gr;function er(s){if(gr==null){var c=Xe("span","\u200B");Fe(s,Xe("span",[c,document.createTextNode("x")])),s.firstChild.offsetHeight!=0&&(gr=c.offsetWidth<=1&&c.offsetHeight>2&&!(G&&P<8))}var b=gr?Xe("span","\u200B"):Xe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return b.setAttribute("cm-text",""),b}var ti;function Nr(s){if(ti!=null)return ti;var c=Fe(s,document.createTextNode("A\u062EA")),b=ie(c,0,1).getBoundingClientRect(),y=ie(c,1,2).getBoundingClientRect();return Ie(s),!b||b.left==b.right?!1:ti=y.right-b.right<3}var pr=` +`:"")+"",newPos:Ie?v.Pos(Oe.line+1,0):v.Pos(Oe.line,Oe.ch+1)}}for(var Le=typeof we=="object"&&we.dontIndentOnAutoClose,Xe=te.length-1;Xe>=0;Xe--){var Je=Me[Xe];ae.replaceRange(Je.text,te[Xe].head,te[Xe].anchor,"+insert");var Ye=ae.listSelections().slice(0);Ye[Xe]={head:Je.newPos,anchor:Je.newPos},ae.setSelections(Ye),!Le&&Je.indent&&(ae.indentLine(Je.newPos.line,null,!0),ae.indentLine(Je.newPos.line+1,null,!0))}}function G(ae,te){for(var Me=ae.listSelections(),we=[],Xe=te?"/":""&&(me+=">"),we[Ae]=me}if(ae.replaceSelections(we),Me=ae.listSelections(),!Ce)for(var Ae=0;Ae=0&&te[Pe]==Me;Pe--)++Ae;we=Ce.to;for(var Pe=1;Pe=Pe.max))return Pe.ch=0,Pe.text=Pe.cm.getLine(++Pe.line),!0}function te(Pe){if(!(Pe.line<=Pe.min))return Pe.text=Pe.cm.getLine(--Pe.line),Pe.ch=Pe.text.length,!0}function Me(Pe){for(;;){var fe=Pe.text.indexOf(">",Pe.ch);if(fe==-1){if(ae(Pe))continue;return}if(!de(Pe,fe+1)){Pe.ch=fe+1;continue}var pe=Pe.text.lastIndexOf("/",fe),xe=pe>-1&&!/\S/.test(Pe.text.slice(pe+1,fe));return Pe.ch=fe+1,xe?"selfClose":"regular"}}function we(Pe){for(;;){var fe=Pe.ch?Pe.text.lastIndexOf("<",Pe.ch-1):-1;if(fe==-1){if(te(Pe))continue;return}if(!de(Pe,fe+1)){Pe.ch=fe;continue}F.lastIndex=fe,Pe.ch=fe;var pe=F.exec(Pe.text);if(pe&&pe.index==fe)return pe}}function Xe(Pe){for(;;){F.lastIndex=Pe.ch;var fe=F.exec(Pe.text);if(!fe){if(ae(Pe))continue;return}if(!de(Pe,fe.index+1)){Pe.ch=fe.index+1;continue}return Pe.ch=fe.index+fe[0].length,fe}}function Oe(Pe){for(;;){var fe=Pe.ch?Pe.text.lastIndexOf(">",Pe.ch-1):-1;if(fe==-1){if(te(Pe))continue;return}if(!de(Pe,fe+1)){Pe.ch=fe;continue}var pe=Pe.text.lastIndexOf("/",fe),xe=pe>-1&&!/\S/.test(Pe.text.slice(pe+1,fe));return Pe.ch=fe+1,xe?"selfClose":"regular"}}function Ce(Pe,fe){for(var pe=[];;){var xe=Xe(Pe),me,ke=Pe.line,ee=Pe.ch-(xe?xe[0].length:0);if(!xe||!(me=Me(Pe)))return;if(me!="selfClose")if(xe[1]){for(var Ne=pe.length-1;Ne>=0;--Ne)if(pe[Ne]==xe[2]){pe.length=Ne;break}if(Ne<0&&(!fe||fe==xe[2]))return{tag:xe[2],from:I(ke,ee),to:I(Pe.line,Pe.ch)}}else pe.push(xe[2])}}function Ae(Pe,fe){for(var pe=[];;){var xe=Oe(Pe);if(!xe)return;if(xe=="selfClose"){we(Pe);continue}var me=Pe.line,ke=Pe.ch,ee=we(Pe);if(!ee)return;if(ee[1])pe.push(ee[2]);else{for(var Ne=pe.length-1;Ne>=0;--Ne)if(pe[Ne]==ee[2]){pe.length=Ne;break}if(Ne<0&&(!fe||fe==ee[2]))return{tag:ee[2],from:I(Pe.line,Pe.ch),to:I(me,ke)}}}}v.registerHelper("fold","xml",function(Pe,fe){for(var pe=new M(Pe,fe.line,0);;){var xe=Xe(pe);if(!xe||pe.line!=fe.line)return;var me=Me(pe);if(!me)return;if(!xe[1]&&me!="selfClose"){var ke=I(pe.line,pe.ch),ee=Ce(pe,xe[2]);return ee&&O(ee.from,ke)>0?{from:ke,to:ee.from}:null}}}),v.findMatchingTag=function(Pe,fe,pe){var xe=new M(Pe,fe.line,fe.ch,pe);if(!(xe.text.indexOf(">")==-1&&xe.text.indexOf("<")==-1)){var me=Me(xe),ke=me&&I(xe.line,xe.ch),ee=me&&we(xe);if(!(!me||!ee||O(xe,fe)>0)){var Ne={from:I(xe.line,xe.ch),to:ke,tag:ee[2]};return me=="selfClose"?{open:Ne,close:null,at:"open"}:ee[1]?{open:Ae(xe,ee[2]),close:Ne,at:"close"}:(xe=new M(Pe,ke.line,ke.ch,pe),{open:Ne,close:Ce(xe,ee[2]),at:"open"})}}},v.findEnclosingTag=function(Pe,fe,pe,xe){for(var me=new M(Pe,fe.line,fe.ch,pe);;){var ke=Ae(me,xe);if(!ke)break;var ee=new M(Pe,fe.line,fe.ch,pe),Ne=Ce(ee,ke.tag);if(Ne)return{open:ke,close:Ne}}},v.scanForClosingTag=function(Pe,fe,pe,xe){var me=new M(Pe,fe.line,fe.ch,xe?{from:0,to:xe}:null);return Ce(me,pe)}})},89780:function(Q){(function(C,h){Q.exports=h()})(this,function(){"use strict";var C=navigator.userAgent,h=navigator.platform,v=/gecko\/\d/i.test(C),I=/MSIE \d/.test(C),O=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(C),B=/Edge\/(\d+)/.exec(C),G=I||O||B,F=G&&(I?document.documentMode||6:+(B||O)[1]),M=!B&&/WebKit\//.test(C),de=M&&/Qt\/\d+\.\d+/.test(C),ae=!B&&/Chrome\//.test(C),te=/Opera\//.test(C),Me=/Apple Computer/.test(navigator.vendor),we=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(C),Xe=/PhantomJS/.test(C),Oe=!B&&/AppleWebKit/.test(C)&&/Mobile\/\w+/.test(C),Ce=/Android/.test(C),Ae=Oe||Ce||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(C),Pe=Oe||/Mac/.test(h),fe=/\bCrOS\b/.test(C),pe=/win/i.test(h),xe=te&&C.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(te=!1,M=!0);var me=Pe&&(de||te&&(xe==null||xe<12.11)),ke=v||G&&F>=9;function ee(s){return new RegExp("(^|\\s)"+s+"(?:$|\\s)\\s*")}var Ne=function(s,c){var b=s.className,y=ee(c).exec(b);if(y){var w=b.slice(y.index+y[0].length);s.className=b.slice(0,y.index)+(w?y[1]+w:"")}};function Ie(s){for(var c=s.childNodes.length;c>0;--c)s.removeChild(s.firstChild);return s}function Le(s,c){return Ie(s).appendChild(c)}function Je(s,c,b,y){var w=document.createElement(s);if(b&&(w.className=b),y&&(w.style.cssText=y),typeof c=="string")w.appendChild(document.createTextNode(c));else if(c)for(var H=0;H=c)return ne+(c-H);ne+=Se-H,ne+=b-ne%b,H=Se+1}}var le=function(){this.id=null,this.f=null,this.time=0,this.handler=Ct(this.onTimeout,this)};le.prototype.onTimeout=function(s){s.id=0,s.time<=+new Date?s.f():setTimeout(s.handler,s.time-+new Date)},le.prototype.set=function(s,c){this.f=c;var b=+new Date+s;(!this.id||b=c)return y+Math.min(ne,c-w);if(w+=H-y,w+=b-w%b,y=H+1,w>=c)return y}}var On=[""];function ni(s){for(;On.length<=s;)On.push(Jn(On)+" ");return On[s]}function Jn(s){return s[s.length-1]}function Mn(s,c){for(var b=[],y=0;y"\x80"&&(s.toUpperCase()!=s.toLowerCase()||k.test(s))}function X(s,c){return c?c.source.indexOf("\\w")>-1&&j(s)?!0:c.test(s):j(s)}function T(s){for(var c in s)if(s.hasOwnProperty(c)&&s[c])return!1;return!0}var _e=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function It(s){return s.charCodeAt(0)>=768&&_e.test(s)}function $e(s,c,b){for(;(b<0?c>0:cb?-1:1;;){if(c==b)return c;var w=(c+b)/2,H=y<0?Math.ceil(w):Math.floor(w);if(H==c)return s(H)?c:b;s(H)?b=H:c=H+y}}function gt(s,c,b,y){if(!s)return y(c,b,"ltr",0);for(var w=!1,H=0;Hc||c==b&&ne.to==c)&&(y(Math.max(ne.from,c),Math.min(ne.to,b),ne.level==1?"rtl":"ltr",H),w=!0)}w||y(c,b,"ltr")}var ut=null;function tt(s,c,b){var y;ut=null;for(var w=0;wc)return w;H.to==c&&(H.from!=H.to&&b=="before"?y=w:ut=w),H.from==c&&(H.from!=H.to&&b!="before"?y=w:ut=w)}return y!=null?y:ut}var Et=function(){var s="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",c="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function b(Ze){return Ze<=247?s.charAt(Ze):1424<=Ze&&Ze<=1524?"R":1536<=Ze&&Ze<=1785?c.charAt(Ze-1536):1774<=Ze&&Ze<=2220?"r":8192<=Ze&&Ze<=8203?"w":Ze==8204?"b":"L"}var y=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,w=/[stwN]/,H=/[LRr]/,ne=/[Lb1n]/,Se=/[1n]/;function ye(Ze,Wt,at){this.level=Ze,this.from=Wt,this.to=at}return function(Ze,Wt){var at=Wt=="ltr"?"L":"R";if(Ze.length==0||Wt=="ltr"&&!y.test(Ze))return!1;for(var Tn=Ze.length,En=[],ci=0;ci-1&&(y[c]=w.slice(0,H).concat(w.slice(H+1)))}}}function et(s,c){var b=hn(s,c);if(b.length)for(var y=Array.prototype.slice.call(arguments,2),w=0;w0}function ze(s){s.prototype.on=function(c,b){Kt(this,c,b)},s.prototype.off=function(c,b){an(this,c,b)}}function Un(s){s.preventDefault?s.preventDefault():s.returnValue=!1}function yn(s){s.stopPropagation?s.stopPropagation():s.cancelBubble=!0}function Bt(s){return s.defaultPrevented!=null?s.defaultPrevented:s.returnValue==!1}function Si(s){Un(s),yn(s)}function _i(s){return s.target||s.srcElement}function Ii(s){var c=s.which;return c==null&&(s.button&1?c=1:s.button&2?c=3:s.button&4&&(c=2)),Pe&&s.ctrlKey&&c==1&&(c=3),c}var cn=function(){if(G&&F<9)return!1;var s=Je("div");return"draggable"in s||"dragDrop"in s}(),fr;function Xi(s){if(fr==null){var c=Je("span","\u200B");Le(s,Je("span",[c,document.createTextNode("x")])),s.firstChild.offsetHeight!=0&&(fr=c.offsetWidth<=1&&c.offsetHeight>2&&!(G&&F<8))}var b=fr?Je("span","\u200B"):Je("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return b.setAttribute("cm-text",""),b}var ei;function Tr(s){if(ei!=null)return ei;var c=Le(s,document.createTextNode("A\u062EA")),b=re(c,0,1).getBoundingClientRect(),y=re(c,1,2).getBoundingClientRect();return Ie(s),!b||b.left==b.right?!1:ei=y.right-b.right<3}var ur=` b`.split(/\n/).length!=3?function(s){for(var c=0,b=[],y=s.length;c<=y;){var w=s.indexOf(` -`,c);w==-1&&(w=s.length);var H=s.slice(c,s.charAt(w-1)=="\r"?w-1:w),ne=H.indexOf("\r");ne!=-1?(b.push(H.slice(0,ne)),c+=ne+1):(b.push(H),c=w+1)}return b}:function(s){return s.split(/\r\n?|\n/)},U=window.getSelection?function(s){try{return s.selectionStart!=s.selectionEnd}catch(c){return!1}}:function(s){var c;try{c=s.ownerDocument.selection.createRange()}catch(b){}return!c||c.parentElement()!=s?!1:c.compareEndPoints("StartToEnd",c)!=0},yr=function(){var s=Xe("div");return"oncopy"in s?!0:(s.setAttribute("oncopy","return;"),typeof s.oncopy=="function")}(),Er=null;function wr(s){if(Er!=null)return Er;var c=Fe(s,Xe("span","x")),b=c.getBoundingClientRect(),y=ie(c,0,1).getBoundingClientRect();return Er=Math.abs(b.left-y.left)>1}var eo={},yo={};function Ir(s,c){arguments.length>2&&(c.dependencies=Array.prototype.slice.call(arguments,2)),eo[s]=c}function no(s,c){yo[s]=c}function ur(s){if(typeof s=="string"&&yo.hasOwnProperty(s))s=yo[s];else if(s&&typeof s.name=="string"&&yo.hasOwnProperty(s.name)){var c=yo[s.name];typeof c=="string"&&(c={name:c}),s=z(c,s),s.name=c.name}else{if(typeof s=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(s))return ur("application/xml");if(typeof s=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(s))return ur("application/json")}return typeof s=="string"?{name:s}:s||{name:"null"}}function zi(s,c){c=ur(c);var b=eo[c.name];if(!b)return zi(s,"text/plain");var y=b(s,c);if(xi.hasOwnProperty(c.name)){var w=xi[c.name];for(var H in w)w.hasOwnProperty(H)&&(y.hasOwnProperty(H)&&(y["_"+H]=y[H]),y[H]=w[H])}if(y.name=c.name,c.helperType&&(y.helperType=c.helperType),c.modeProps)for(var ne in c.modeProps)y[ne]=c.modeProps[ne];return y}var xi={};function dt(s,c){var b=xi.hasOwnProperty(s)?xi[s]:xi[s]={};En(c,b)}function _n(s,c){if(c===!0)return c;if(s.copyState)return s.copyState(c);var b={};for(var y in c){var w=c[y];w instanceof Array&&(w=w.concat([])),b[y]=w}return b}function Wn(s,c){for(var b;s.innerMode&&(b=s.innerMode(c),!(!b||b.mode==s));)c=b.state,s=b.mode;return b||{mode:s,state:c}}function yt(s,c,b){return s.startState?s.startState(c,b):!0}var Ke=function(s,c,b){this.pos=this.start=0,this.string=s,this.tabSize=c||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=b};Ke.prototype.eol=function(){return this.pos>=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.posc},Ke.prototype.eatSpace=function(){for(var s=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>s},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(s){var c=this.string.indexOf(s,this.pos);if(c>-1)return this.pos=c,!0},Ke.prototype.backUp=function(s){this.pos-=s},Ke.prototype.column=function(){return this.lastColumnPos0?null:(H&&c!==!1&&(this.pos+=H[0].length),H)}},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(s,c){this.lineStart+=s;try{return c()}finally{this.lineStart-=s}},Ke.prototype.lookAhead=function(s){var c=this.lineOracle;return c&&c.lookAhead(s)},Ke.prototype.baseToken=function(){var s=this.lineOracle;return s&&s.baseToken(this.pos)};function gn(s,c){if(c-=s.first,c<0||c>=s.size)throw new Error("There is no line "+(c+s.first)+" in the document.");for(var b=s;!b.lines;)for(var y=0;;++y){var w=b.children[y],H=w.chunkSize();if(c=s.first&&cb?ot(b,gn(s,b).text.length):vn(c,gn(s,c.line).text.length)}function vn(s,c){var b=s.ch;return b==null||b>c?ot(s.line,c):b<0?ot(s.line,0):s}function Cn(s,c){for(var b=[],y=0;ythis.maxLookAhead&&(this.maxLookAhead=s),c},Nn.prototype.baseToken=function(s){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=s;)this.baseTokenPos+=2;var c=this.baseTokens[this.baseTokenPos+1];return{type:c&&c.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-s}},Nn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nn.fromSaved=function(s,c,b){return c instanceof ui?new Nn(s,_n(s.mode,c.state),b,c.lookAhead):new Nn(s,_n(s.mode,c),b)},Nn.prototype.save=function(s){var c=s!==!1?_n(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ui(c,this.maxLookAhead):c};function st(s,c,b,y){var w=[s.state.modeGen],H={};Et(s,c.text,s.doc.mode,b,function(Ze,Gt){return w.push(Ze,Gt)},H,y);for(var ne=b.state,Se=function(Ze){b.baseTokens=w;var Gt=s.state.overlays[Ze],at=1,Tn=0;b.state=!0,Et(s,c.text,Gt.mode,b,function(xn,hi){for(var bi=at;Tnxn&&w.splice(at,1,xn,w[at+1],Bi),at+=2,Tn=Math.min(xn,Bi)}if(hi)if(Gt.opaque)w.splice(bi,at-bi,xn,"overlay "+hi),at=bi+2;else for(;bis.options.maxHighlightLength&&_n(s.doc.mode,y.state),H=st(s,c,y);w&&(y.state=w),c.stateAfter=y.save(!w),c.styles=H.styles,H.classes?c.styleClasses=H.classes:c.styleClasses&&(c.styleClasses=null),b===s.doc.highlightFrontier&&(s.doc.modeFrontier=Math.max(s.doc.modeFrontier,++s.doc.highlightFrontier))}return c.styles}function Qi(s,c,b){var y=s.doc,w=s.display;if(!y.mode.startState)return new Nn(y,!0,c);var H=pi(s,c,b),ne=H>y.first&&gn(y,H-1).stateAfter,Se=ne?Nn.fromSaved(y,ne,H):new Nn(y,yt(y.mode),H);return y.iter(H,c,function(ye){Kt(s,ye.text,Se);var Ze=Se.line;ye.stateAfter=Ze==c-1||Ze%5==0||Ze>=w.viewFrom&&Zec.start)return H}throw new Error("Mode "+s.name+" failed to advance stream.")}var oe=function(s,c,b){this.start=s.start,this.end=s.pos,this.string=s.current(),this.type=c||null,this.state=b};function Hn(s,c,b,y){var w=s.doc,H=w.mode,ne;c=mt(w,c);var Se=gn(w,c.line),ye=Qi(s,c.line,b),Ze=new Ke(Se.text,s.options.tabSize,ye),Gt;for(y&&(Gt=[]);(y||Ze.poss.options.maxHighlightLength?(Se=!1,ne&&Kt(s,c,y,Gt.pos),Gt.pos=c.length,at=null):at=Be(J(b,Gt,y.state,Tn),H),Tn){var xn=Tn[0].name;xn&&(at="m-"+(at?xn+" "+at:xn))}if(!Se||Ze!=at){for(;yene;--Se){if(Se<=H.first)return H.first;var ye=gn(H,Se-1),Ze=ye.stateAfter;if(Ze&&(!b||Se+(Ze instanceof ui?Ze.lookAhead:0)<=H.modeFrontier))return Se;var Gt=Je(ye.text,null,s.options.tabSize);(w==null||y>Gt)&&(w=Se-1,y=Gt)}return w}function Rn(s,c){if(s.modeFrontier=Math.min(s.modeFrontier,c),!(s.highlightFrontierb;y--){var w=gn(s,y).stateAfter;if(w&&(!(w instanceof ui)||y+w.lookAhead=c:H.to>c);(y||(y=[])).push(new Pi(ne,H.from,ye?null:H.to))}}return y}function Ri(s,c,b){var y;if(s)for(var w=0;w=c:H.to>c);if(Se||H.from==c&&ne.type=="bookmark"&&(!b||H.marker.insertLeft)){var ye=H.from==null||(ne.inclusiveLeft?H.from<=c:H.from0&&Se)for(var jr=0;jr0)){var Gt=[ye,1],at=un(Ze.from,Se.from),Tn=un(Ze.to,Se.to);(at<0||!ne.inclusiveLeft&&!at)&&Gt.push({from:Ze.from,to:Se.from}),(Tn>0||!ne.inclusiveRight&&!Tn)&&Gt.push({from:Se.to,to:Ze.to}),w.splice.apply(w,Gt),ye+=Gt.length-3}}return w}function Kn(s){var c=s.markedSpans;if(c){for(var b=0;bc)&&(!y||dr(y,H.marker)<0)&&(y=H.marker)}return y}function cr(s,c,b,y,w){var H=gn(s,c),ne=Xt&&H.markedSpans;if(ne)for(var Se=0;Se=0&&at<=0||Gt<=0&&at>=0)&&(Gt<=0&&(ye.marker.inclusiveRight&&w.inclusiveLeft?un(Ze.to,b)>=0:un(Ze.to,b)>0)||Gt>=0&&(ye.marker.inclusiveRight&&w.inclusiveLeft?un(Ze.from,y)<=0:un(Ze.from,y)<0)))return!0}}}function Ki(s){for(var c;c=Ji(s);)s=c.find(-1,!0).line;return s}function Rr(s){for(var c;c=Fi(s);)s=c.find(1,!0).line;return s}function Gr(s){for(var c,b;c=Fi(s);)s=c.find(1,!0).line,(b||(b=[])).push(s);return b}function to(s,c){var b=gn(s,c),y=Ki(b);return b==y?c:Ve(y)}function Fo(s,c){if(c>s.lastLine())return c;var b=gn(s,c),y;if(!fi(s,b))return c;for(;y=Fi(b);)b=y.find(1,!0).line;return Ve(b)+1}function fi(s,c){var b=Xt&&c.markedSpans;if(b){for(var y=void 0,w=0;wc.maxLineLength&&(c.maxLineLength=w,c.maxLine=y)})}var Ya=function(s,c,b){this.text=s,he(this,c),this.height=b?b(this):1};Ya.prototype.lineNo=function(){return Ve(this)},ze(Ya);function ns(s,c,b,y){s.text=c,s.stateAfter&&(s.stateAfter=null),s.styles&&(s.styles=null),s.order!=null&&(s.order=null),Kn(s),he(s,b);var w=y?y(s):1;w!=s.height&&Ct(s,w)}function Na(s){s.parent=null,Kn(s)}var cs={},Za={};function Go(s,c){if(!s||/^\s*$/.test(s))return null;var b=c.addModeClass?Za:cs;return b[s]||(b[s]=s.replace(/\S+/g,"cm-$&"))}function Wt(s,c){var b=Ye("span",null,null,M?"padding-right: .1px":null),y={pre:Ye("pre",[b],"CodeMirror-line"),content:b,col:0,pos:0,cm:s,trailingSpace:!1,splitSpaces:s.getOption("lineWrapping")};c.measure={};for(var w=0;w<=(c.rest?c.rest.length:0);w++){var H=w?c.rest[w-1]:c.line,ne=void 0;y.pos=0,y.addToken=eu,Nr(s.display.measure)&&(ne=fn(H,s.doc.direction))&&(y.addToken=fo(y.addToken,ne)),y.map=[];var Se=c!=s.display.externalMeasured&&Ve(H);vo(H,y,Li(s,H,Se)),H.styleClasses&&(H.styleClasses.bgClass&&(y.bgClass=xt(H.styleClasses.bgClass,y.bgClass||"")),H.styleClasses.textClass&&(y.textClass=xt(H.styleClasses.textClass,y.textClass||""))),y.map.length==0&&y.map.push(0,0,y.content.appendChild(er(s.display.measure))),w==0?(c.measure.map=y.map,c.measure.cache={}):((c.measure.maps||(c.measure.maps=[])).push(y.map),(c.measure.caches||(c.measure.caches=[])).push({}))}if(M){var ye=y.content.lastChild;(/\bcm-tab\b/.test(ye.className)||ye.querySelector&&ye.querySelector(".cm-tab"))&&(y.content.className="cm-tab-wrap-hack")}return et(s,"renderLine",s,c.line,y.pre),y.pre.className&&(y.textClass=xt(y.pre.className,y.textClass||"")),y}function Ba(s){var c=Xe("span","\u2022","cm-invalidchar");return c.title="\\u"+s.charCodeAt(0).toString(16),c.setAttribute("aria-label",c.title),c}function eu(s,c,b,y,w,H,ne){if(c){var Se=s.splitSpaces?ol(c,s.trailingSpace):c,ye=s.cm.state.specialChars,Ze=!1,Gt;if(!ye.test(c))s.col+=c.length,Gt=document.createTextNode(Se),s.map.push(s.pos,s.pos+c.length,Gt),G&&P<9&&(Ze=!0),s.pos+=c.length;else{Gt=document.createDocumentFragment();for(var at=0;;){ye.lastIndex=at;var Tn=ye.exec(c),xn=Tn?Tn.index-at:c.length-at;if(xn){var hi=document.createTextNode(Se.slice(at,at+xn));G&&P<9?Gt.appendChild(Xe("span",[hi])):Gt.appendChild(hi),s.map.push(s.pos,s.pos+xn,hi),s.col+=xn,s.pos+=xn}if(!Tn)break;at+=xn+1;var bi=void 0;if(Tn[0]==" "){var Bi=s.cm.options.tabSize,or=Bi-s.col%Bi;bi=Gt.appendChild(Xe("span",ni(or),"cm-tab")),bi.setAttribute("role","presentation"),bi.setAttribute("cm-text"," "),s.col+=or}else Tn[0]=="\r"||Tn[0]==` -`?(bi=Gt.appendChild(Xe("span",Tn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),bi.setAttribute("cm-text",Tn[0]),s.col+=1):(bi=s.cm.options.specialCharPlaceholder(Tn[0]),bi.setAttribute("cm-text",Tn[0]),G&&P<9?Gt.appendChild(Xe("span",[bi])):Gt.appendChild(bi),s.col+=1);s.map.push(s.pos,s.pos+1,bi),s.pos++}}if(s.trailingSpace=Se.charCodeAt(c.length-1)==32,b||y||w||Ze||H||ne){var Fr=b||"";y&&(Fr+=y),w&&(Fr+=w);var Sr=Xe("span",[Gt],Fr,H);if(ne)for(var jr in ne)ne.hasOwnProperty(jr)&&jr!="style"&&jr!="class"&&Sr.setAttribute(jr,ne[jr]);return s.content.appendChild(Sr)}s.content.appendChild(Gt)}}function ol(s,c){if(s.length>1&&!/ /.test(s))return s;for(var b=c,y="",w=0;wZe&&at.from<=Ze));Tn++);if(at.to>=Gt)return s(b,y,w,H,ne,Se,ye);s(b,y.slice(0,at.to-Ze),w,H,null,Se,ye),H=null,y=y.slice(at.to-Ze),Ze=at.to}}}function Ao(s,c,b,y){var w=!y&&b.widgetNode;w&&s.map.push(s.pos,s.pos+c,w),!y&&s.cm.display.input.needsContentAttribute&&(w||(w=s.content.appendChild(document.createElement("span"))),w.setAttribute("cm-marker",b.id)),w&&(s.cm.display.input.setUneditable(w),s.content.appendChild(w)),s.pos+=c,s.trailingSpace=!1}function vo(s,c,b){var y=s.markedSpans,w=s.text,H=0;if(!y){for(var ne=1;neye||$o.collapsed&&br.to==ye&&br.from==ye)){if(br.to!=null&&br.to!=ye&&xn>br.to&&(xn=br.to,bi=""),$o.className&&(hi+=" "+$o.className),$o.css&&(Tn=(Tn?Tn+";":"")+$o.css),$o.startStyle&&br.from==ye&&(Bi+=" "+$o.startStyle),$o.endStyle&&br.to==xn&&(jr||(jr=[])).push($o.endStyle,br.to),$o.title&&((Fr||(Fr={})).title=$o.title),$o.attributes)for(var fs in $o.attributes)(Fr||(Fr={}))[fs]=$o.attributes[fs];$o.collapsed&&(!or||dr(or.marker,$o)<0)&&(or=br)}else br.from>ye&&xn>br.from&&(xn=br.from)}if(jr)for(var hl=0;hl=Se)break;for(var vu=Math.min(Se,xn);;){if(Gt){var Zl=ye+Gt.length;if(!or){var nl=Zl>vu?Gt.slice(0,vu-ye):Gt;c.addToken(c,nl,at?at+hi:hi,Bi,ye+nl.length==xn?bi:"",Tn,Fr)}if(Zl>=vu){Gt=Gt.slice(vu-ye),ye=vu;break}ye=Zl,Bi=""}Gt=w.slice(H,H=b[Ze++]),at=Go(b[Ze++],c.cm.options)}}}function Mt(s,c,b){this.line=c,this.rest=Gr(c),this.size=this.rest?Ve(Jn(this.rest))-b+1:1,this.node=this.text=null,this.hidden=fi(s,c)}function Pr(s,c,b){for(var y=[],w,H=c;H2&&H.push((ye.bottom+Ze.top)/2-b.top)}}H.push(b.bottom-b.top)}}function js(s,c,b){if(s.line==c)return{map:s.measure.map,cache:s.measure.cache};for(var y=0;yb)return{map:s.measure.maps[w],cache:s.measure.caches[w],before:!0}}function wu(s,c){c=Ki(c);var b=Ve(c),y=s.display.externalMeasured=new Mt(s.doc,c,b);y.lineN=b;var w=y.built=Wt(s,y);return y.text=w.pre,Fe(s.display.lineMeasure,w.pre),y}function Ll(s,c,b,y){return Gs(s,Fa(s,c),b,y)}function as(s,c){if(c>=s.display.viewFrom&&c=b.lineN&&cc)&&(H=ye-Se,w=H-1,c>=ye&&(ne="right")),w!=null){if(y=s[Ze+2],Se==ye&&b==(y.insertLeft?"left":"right")&&(ne=b),b=="left"&&w==0)for(;Ze&&s[Ze-2]==s[Ze-3]&&s[Ze-1].insertLeft;)y=s[(Ze-=3)+2],ne="left";if(b=="right"&&w==ye-Se)for(;Ze=0&&(b=s[w]).left==b.right;w--);return b}function Wr(s,c,b,y){var w=ks(c.map,b,y),H=w.node,ne=w.start,Se=w.end,ye=w.collapse,Ze;if(H.nodeType==3){for(var Gt=0;Gt<4;Gt++){for(;ne&&Nt(c.line.text.charAt(w.coverStart+ne));)--ne;for(;w.coverStart+Se0&&(ye=y="right");var at;s.options.lineWrapping&&(at=H.getClientRects()).length>1?Ze=at[y=="right"?at.length-1:0]:Ze=H.getBoundingClientRect()}if(G&&P<9&&!ne&&(!Ze||!Ze.left&&!Ze.right)){var Tn=H.parentNode.getClientRects()[0];Tn?Ze={left:Tn.left,right:Tn.left+gl(s.display),top:Tn.top,bottom:Tn.bottom}:Ze=Vi}for(var xn=Ze.top-c.rect.top,hi=Ze.bottom-c.rect.top,bi=(xn+hi)/2,Bi=c.view.measure.heights,or=0;or=y.text.length?(ye=y.text.length,Ze="before"):ye<=0&&(ye=0,Ze="after"),!Se)return ne(Ze=="before"?ye-1:ye,Ze=="before");function Gt(hi,bi,Bi){var or=Se[bi],Fr=or.level==1;return ne(Bi?hi-1:hi,Fr!=Bi)}var at=nt(Se,ye,Ze),Tn=ut,xn=Gt(ye,at,Ze=="before");return Tn!=null&&(xn.other=Gt(ye,Tn,Ze!="before")),xn}function hc(s,c){var b=0;c=mt(s.doc,c),s.options.lineWrapping||(b=gl(s.display)*c.ch);var y=gn(s.doc,c.line),w=jo(y)+Ho(s.display);return{left:b,right:b,top:w,bottom:w+y.height}}function Zu(s,c,b,y,w){var H=ot(s,c,b);return H.xRel=w,y&&(H.outside=y),H}function uu(s,c,b){var y=s.doc;if(b+=s.display.viewOffset,b<0)return Zu(y.first,0,null,-1,-1);var w=Ut(y,b),H=y.first+y.size-1;if(w>H)return Zu(y.first+y.size-1,gn(y,H).text.length,null,1,1);c<0&&(c=0);for(var ne=gn(y,w);;){var Se=Pn(s,ne,w,c,b),ye=Mi(ne,Se.ch+(Se.xRel>0||Se.outside>0?1:0));if(!ye)return Se;var Ze=ye.find(1);if(Ze.line==w)return Ze;ne=gn(y,w=Ze.line)}}function sr(s,c,b,y){y-=La(c);var w=c.text.length,H=De(function(ne){return Gs(s,b,ne-1).bottom<=y},w,0);return w=De(function(ne){return Gs(s,b,ne).top>y},H,w),{begin:H,end:w}}function Ws(s,c,b,y){b||(b=Fa(s,c));var w=Aa(s,c,Gs(s,b,y),"line").top;return sr(s,c,b,w)}function qe(s,c,b,y){return s.bottom<=b?!1:s.top>b?!0:(y?s.left:s.right)>c}function Pn(s,c,b,y,w){w-=jo(c);var H=Fa(s,c),ne=La(c),Se=0,ye=c.text.length,Ze=!0,Gt=fn(c,s.doc.direction);if(Gt){var at=(s.options.lineWrapping?Yu:Cu)(s,c,b,H,Gt,y,w);Ze=at.level!=1,Se=Ze?at.from:at.to-1,ye=Ze?at.to:at.from-1}var Tn=null,xn=null,hi=De(function(go){var br=Gs(s,H,go);return br.top+=ne,br.bottom+=ne,qe(br,y,w,!1)?(br.top<=w&&br.left<=y&&(Tn=go,xn=br),!0):!1},Se,ye),bi,Bi,or=!1;if(xn){var Fr=y-xn.left=jr.bottom?1:0}return hi=He(c.text,hi,1),Zu(b,hi,Bi,or,y-bi)}function Cu(s,c,b,y,w,H,ne){var Se=De(function(at){var Tn=w[at],xn=Tn.level!=1;return qe(ka(s,ot(b,xn?Tn.to:Tn.from,xn?"before":"after"),"line",c,y),H,ne,!0)},0,w.length-1),ye=w[Se];if(Se>0){var Ze=ye.level!=1,Gt=ka(s,ot(b,Ze?ye.from:ye.to,Ze?"after":"before"),"line",c,y);qe(Gt,H,ne,!0)&&Gt.top>ne&&(ye=w[Se-1])}return ye}function Yu(s,c,b,y,w,H,ne){var Se=sr(s,c,y,ne),ye=Se.begin,Ze=Se.end;/\s/.test(c.text.charAt(Ze-1))&&Ze--;for(var Gt=null,at=null,Tn=0;Tn=Ze||xn.to<=ye)){var hi=xn.level!=1,bi=Gs(s,y,hi?Math.min(Ze,xn.to)-1:Math.max(ye,xn.from)).right,Bi=biBi)&&(Gt=xn,at=Bi)}}return Gt||(Gt=w[w.length-1]),Gt.fromZe&&(Gt={from:Gt.from,to:Ze,level:Gt.level}),Gt}var Dl;function Pl(s){if(s.cachedTextHeight!=null)return s.cachedTextHeight;if(Dl==null){Dl=Xe("pre",null,"CodeMirror-line-like");for(var c=0;c<49;++c)Dl.appendChild(document.createTextNode("x")),Dl.appendChild(Xe("br"));Dl.appendChild(document.createTextNode("x"))}Fe(s.measure,Dl);var b=Dl.offsetHeight/50;return b>3&&(s.cachedTextHeight=b),Ie(s.measure),b||1}function gl(s){if(s.cachedCharWidth!=null)return s.cachedCharWidth;var c=Xe("span","xxxxxxxxxx"),b=Xe("pre",[c],"CodeMirror-line-like");Fe(s.measure,b);var y=c.getBoundingClientRect(),w=(y.right-y.left)/10;return w>2&&(s.cachedCharWidth=w),w||10}function Xu(s){for(var c=s.display,b={},y={},w=c.gutters.clientLeft,H=c.gutters.firstChild,ne=0;H;H=H.nextSibling,++ne){var Se=s.display.gutterSpecs[ne].className;b[Se]=H.offsetLeft+H.clientLeft+w,y[Se]=H.clientWidth}return{fixedPos:cu(c),gutterTotalWidth:c.gutters.offsetWidth,gutterLeft:b,gutterWidth:y,wrapperWidth:c.wrapper.clientWidth}}function cu(s){return s.scroller.getBoundingClientRect().left-s.sizer.getBoundingClientRect().left}function Ia(s){var c=Pl(s.display),b=s.options.lineWrapping,y=b&&Math.max(5,s.display.scroller.clientWidth/gl(s.display)-3);return function(w){if(fi(s.doc,w))return 0;var H=0;if(w.widgets)for(var ne=0;ne0&&(Ze=gn(s.doc,ye.line).text).length==ye.ch){var Gt=Je(Ze,Ze.length,s.options.tabSize)-Ze.length;ye=ot(ye.line,Math.max(0,Math.round((H-Ol(s.display).left)/gl(s.display))-Gt))}return ye}function gs(s,c){if(c>=s.display.viewTo||(c-=s.display.viewFrom,c<0))return null;for(var b=s.display.view,y=0;yc)&&(w.updateLineNumbers=c),s.curOp.viewChanged=!0,c>=w.viewTo)Xt&&to(s.doc,c)w.viewFrom?Ha(s):(w.viewFrom+=y,w.viewTo+=y);else if(c<=w.viewFrom&&b>=w.viewTo)Ha(s);else if(c<=w.viewFrom){var H=Vs(s,b,b+y,1);H?(w.view=w.view.slice(H.index),w.viewFrom=H.lineN,w.viewTo+=y):Ha(s)}else if(b>=w.viewTo){var ne=Vs(s,c,c,-1);ne?(w.view=w.view.slice(0,ne.index),w.viewTo=ne.lineN):Ha(s)}else{var Se=Vs(s,c,c,-1),ye=Vs(s,b,b+y,1);Se&&ye?(w.view=w.view.slice(0,Se.index).concat(Pr(s,Se.lineN,ye.lineN)).concat(w.view.slice(ye.index)),w.viewTo+=y):Ha(s)}var Ze=w.externalMeasured;Ze&&(b=w.lineN&&c=y.viewTo)){var H=y.view[gs(s,c)];if(H.node!=null){var ne=H.changes||(H.changes=[]);ue(ne,b)==-1&&ne.push(b)}}}function Ha(s){s.display.viewFrom=s.display.viewTo=s.doc.first,s.display.view=[],s.display.viewOffset=0}function Vs(s,c,b,y){var w=gs(s,c),H,ne=s.display.view;if(!Xt||b==s.doc.first+s.doc.size)return{index:w,lineN:b};for(var Se=s.display.viewFrom,ye=0;ye0){if(w==ne.length-1)return null;H=Se+ne[w].size-c,w++}else H=Se-c;c+=H,b+=H}for(;to(s.doc,b)!=b;){if(w==(y<0?0:ne.length-1))return null;b+=y*ne[w-(y<0?1:0)].size,w+=y}return{index:w,lineN:b}}function sa(s,c,b){var y=s.display,w=y.view;w.length==0||c>=y.viewTo||b<=y.viewFrom?(y.view=Pr(s,c,b),y.viewFrom=c):(y.viewFrom>c?y.view=Pr(s,c,y.viewFrom).concat(y.view):y.viewFromb&&(y.view=y.view.slice(0,gs(s,b)))),y.viewTo=b}function Ks(s){for(var c=s.display.view,b=0,y=0;y=s.display.viewTo||Se.to().line0?c.blinker=setInterval(function(){s.hasFocus()||du(s),c.cursorDiv.style.visibility=(b=!b)?"":"hidden"},s.options.cursorBlinkRate):s.options.cursorBlinkRate<0&&(c.cursorDiv.style.visibility="hidden")}}function na(s){s.state.focused||(s.display.input.focus(),_o(s))}function wa(s){s.state.delayingBlurEvent=!0,setTimeout(function(){s.state.delayingBlurEvent&&(s.state.delayingBlurEvent=!1,du(s))},100)}function _o(s,c){s.state.delayingBlurEvent&&(s.state.delayingBlurEvent=!1),s.options.readOnly!="nocursor"&&(s.state.focused||(et(s,"focus",s,c),s.state.focused=!0,Pt(s.display.wrapper,"CodeMirror-focused"),!s.curOp&&s.display.selForContextMenu!=s.doc.sel&&(s.display.input.reset(),M&&setTimeout(function(){return s.display.input.reset(!0)},20)),s.display.input.receivedFocus()),Jo(s))}function du(s,c){s.state.delayingBlurEvent||(s.state.focused&&(et(s,"blur",s,c),s.state.focused=!1,Ne(s.display.wrapper,"CodeMirror-focused")),clearInterval(s.display.blinker),setTimeout(function(){s.state.focused||(s.display.shift=!1)},150))}function Mr(s){for(var c=s.display,b=c.lineDiv.offsetTop,y=0;y.005||Gt<-.005)&&(Ct(w.line,ne),sl(w.line),w.rest))for(var at=0;ats.display.sizerWidth){var Tn=Math.ceil(Se/gl(s.display));Tn>s.display.maxLineLength&&(s.display.maxLineLength=Tn,s.display.maxLine=w.line,s.display.maxLineChanged=!0)}}}}function sl(s){if(s.widgets)for(var c=0;c=ne&&(H=Ut(c,jo(gn(c,ye))-s.wrapper.clientHeight),ne=ye)}return{from:H,to:Math.max(ne,H+1)}}function Qu(s,c){if(!zt(s,"scrollCursorIntoView")){var b=s.display,y=b.sizer.getBoundingClientRect(),w=null;if(c.top+y.top<0?w=!0:c.bottom+y.top>(window.innerHeight||document.documentElement.clientHeight)&&(w=!1),w!=null&&!Qe){var H=Xe("div","\u200B",null,`position: absolute; - top: `+(c.top-b.viewOffset-Ho(s.display))+`px; - height: `+(c.bottom-c.top+Xa(s)+b.barHeight)+`px; - left: `+c.left+"px; width: "+Math.max(2,c.right-c.left)+"px;");s.display.lineSpace.appendChild(H),H.scrollIntoView(w),s.display.lineSpace.removeChild(H)}}}function Ju(s,c,b,y){y==null&&(y=0);var w;!s.options.lineWrapping&&c==b&&(c=c.ch?ot(c.line,c.sticky=="before"?c.ch-1:c.ch,"after"):c,b=c.sticky=="before"?ot(c.line,c.ch+1,"before"):c);for(var H=0;H<5;H++){var ne=!1,Se=ka(s,c),ye=!b||b==c?Se:ka(s,b);w={left:Math.min(Se.left,ye.left),top:Math.min(Se.top,ye.top)-y,right:Math.max(Se.left,ye.left),bottom:Math.max(Se.bottom,ye.bottom)+y};var Ze=wc(s,w),Gt=s.doc.scrollTop,at=s.doc.scrollLeft;if(Ze.scrollTop!=null&&(tu(s,Ze.scrollTop),Math.abs(s.doc.scrollTop-Gt)>1&&(ne=!0)),Ze.scrollLeft!=null&&(yl(s,Ze.scrollLeft),Math.abs(s.doc.scrollLeft-at)>1&&(ne=!0)),!ne)break}return w}function qu(s,c){var b=wc(s,c);b.scrollTop!=null&&tu(s,b.scrollTop),b.scrollLeft!=null&&yl(s,b.scrollLeft)}function wc(s,c){var b=s.display,y=Pl(s.display);c.top<0&&(c.top=0);var w=s.curOp&&s.curOp.scrollTop!=null?s.curOp.scrollTop:b.scroller.scrollTop,H=ml(s),ne={};c.bottom-c.top>H&&(c.bottom=c.top+H);var Se=s.doc.height+os(b),ye=c.topSe-y;if(c.topw+H){var Gt=Math.min(c.top,(Ze?Se:c.bottom)-H);Gt!=w&&(ne.scrollTop=Gt)}var at=s.options.fixedGutter?0:b.gutters.offsetWidth,Tn=s.curOp&&s.curOp.scrollLeft!=null?s.curOp.scrollLeft:b.scroller.scrollLeft-at,xn=Oa(s)-b.gutters.offsetWidth,hi=c.right-c.left>xn;return hi&&(c.right=c.left+xn),c.left<10?ne.scrollLeft=0:c.leftxn+Tn-3&&(ne.scrollLeft=c.right+(hi?0:10)-xn),ne}function _u(s,c){c!=null&&(Bs(s),s.curOp.scrollTop=(s.curOp.scrollTop==null?s.doc.scrollTop:s.curOp.scrollTop)+c)}function Xs(s){Bs(s);var c=s.getCursor();s.curOp.scrollToPos={from:c,to:c,margin:s.options.cursorScrollMargin}}function Qs(s,c,b){(c!=null||b!=null)&&Bs(s),c!=null&&(s.curOp.scrollLeft=c),b!=null&&(s.curOp.scrollTop=b)}function ko(s,c){Bs(s),s.curOp.scrollToPos=c}function Bs(s){var c=s.curOp.scrollToPos;if(c){s.curOp.scrollToPos=null;var b=hc(s,c.from),y=hc(s,c.to);dc(s,b,y,c.margin)}}function dc(s,c,b,y){var w=wc(s,{left:Math.min(c.left,b.left),top:Math.min(c.top,b.top)-y,right:Math.max(c.right,b.right),bottom:Math.max(c.bottom,b.bottom)+y});Qs(s,w.scrollLeft,w.scrollTop)}function tu(s,c){Math.abs(s.doc.scrollTop-c)<2||(v||Gi(s,{top:c}),vl(s,c,!0),v&&Gi(s),zn(s,100))}function vl(s,c,b){c=Math.max(0,Math.min(s.display.scroller.scrollHeight-s.display.scroller.clientHeight,c)),!(s.display.scroller.scrollTop==c&&!b)&&(s.doc.scrollTop=c,s.display.scrollbars.setScrollTop(c),s.display.scroller.scrollTop!=c&&(s.display.scroller.scrollTop=c))}function yl(s,c,b,y){c=Math.max(0,Math.min(c,s.display.scroller.scrollWidth-s.display.scroller.clientWidth)),!((b?c==s.doc.scrollLeft:Math.abs(s.doc.scrollLeft-c)<2)&&!y)&&(s.doc.scrollLeft=c,q(s),s.display.scroller.scrollLeft!=c&&(s.display.scroller.scrollLeft=c),s.display.scrollbars.setScrollLeft(c))}function Js(s){var c=s.display,b=c.gutters.offsetWidth,y=Math.round(s.doc.height+os(s.display));return{clientHeight:c.scroller.clientHeight,viewHeight:c.wrapper.clientHeight,scrollWidth:c.scroller.scrollWidth,clientWidth:c.scroller.clientWidth,viewWidth:c.wrapper.clientWidth,barLeft:s.options.fixedGutter?b:0,docHeight:y,scrollHeight:y+Xa(s)+c.barHeight,nativeBarWidth:c.nativeBarWidth,gutterWidth:b}}var Wl=function(s,c,b){this.cm=b;var y=this.vert=Xe("div",[Xe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),w=this.horiz=Xe("div",[Xe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");y.tabIndex=w.tabIndex=-1,s(y),s(w),jt(y,"scroll",function(){y.clientHeight&&c(y.scrollTop,"vertical")}),jt(w,"scroll",function(){w.clientWidth&&c(w.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,G&&P<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Wl.prototype.update=function(s){var c=s.scrollWidth>s.clientWidth+1,b=s.scrollHeight>s.clientHeight+1,y=s.nativeBarWidth;if(b){this.vert.style.display="block",this.vert.style.bottom=c?y+"px":"0";var w=s.viewHeight-(c?y:0);this.vert.firstChild.style.height=Math.max(0,s.scrollHeight-s.clientHeight+w)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(c){this.horiz.style.display="block",this.horiz.style.right=b?y+"px":"0",this.horiz.style.left=s.barLeft+"px";var H=s.viewWidth-s.barLeft-(b?y:0);this.horiz.firstChild.style.width=Math.max(0,s.scrollWidth-s.clientWidth+H)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&s.clientHeight>0&&(y==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:b?y:0,bottom:c?y:0}},Wl.prototype.setScrollLeft=function(s){this.horiz.scrollLeft!=s&&(this.horiz.scrollLeft=s),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Wl.prototype.setScrollTop=function(s){this.vert.scrollTop!=s&&(this.vert.scrollTop=s),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Wl.prototype.zeroWidthHack=function(){var s=Re&&!we?"12px":"18px";this.horiz.style.height=this.vert.style.width=s,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new se,this.disableVert=new se},Wl.prototype.enableZeroWidthBar=function(s,c,b){s.style.pointerEvents="auto";function y(){var w=s.getBoundingClientRect(),H=b=="vert"?document.elementFromPoint(w.right-1,(w.top+w.bottom)/2):document.elementFromPoint((w.right+w.left)/2,w.bottom-1);H!=s?s.style.pointerEvents="none":c.set(1e3,y)}c.set(1e3,y)},Wl.prototype.clear=function(){var s=this.horiz.parentNode;s.removeChild(this.horiz),s.removeChild(this.vert)};var Zs=function(){};Zs.prototype.update=function(){return{bottom:0,right:0}},Zs.prototype.setScrollLeft=function(){},Zs.prototype.setScrollTop=function(){},Zs.prototype.clear=function(){};function fu(s,c){c||(c=Js(s));var b=s.display.barWidth,y=s.display.barHeight;pu(s,c);for(var w=0;w<4&&b!=s.display.barWidth||y!=s.display.barHeight;w++)b!=s.display.barWidth&&s.options.lineWrapping&&Mr(s),pu(s,Js(s)),b=s.display.barWidth,y=s.display.barHeight}function pu(s,c){var b=s.display,y=b.scrollbars.update(c);b.sizer.style.paddingRight=(b.barWidth=y.right)+"px",b.sizer.style.paddingBottom=(b.barHeight=y.bottom)+"px",b.heightForcer.style.borderBottom=y.bottom+"px solid transparent",y.right&&y.bottom?(b.scrollbarFiller.style.display="block",b.scrollbarFiller.style.height=y.bottom+"px",b.scrollbarFiller.style.width=y.right+"px"):b.scrollbarFiller.style.display="",y.bottom&&s.options.coverGutterNextToScrollbar&&s.options.fixedGutter?(b.gutterFiller.style.display="block",b.gutterFiller.style.height=y.bottom+"px",b.gutterFiller.style.width=c.gutterWidth+"px"):b.gutterFiller.style.display=""}var Tu={native:Wl,null:Zs};function Nu(s){s.display.scrollbars&&(s.display.scrollbars.clear(),s.display.scrollbars.addClass&&Ne(s.display.wrapper,s.display.scrollbars.addClass)),s.display.scrollbars=new Tu[s.options.scrollbarStyle](function(c){s.display.wrapper.insertBefore(c,s.display.scrollbarFiller),jt(c,"mousedown",function(){s.state.focused&&setTimeout(function(){return s.display.input.focus()},0)}),c.setAttribute("cm-not-content","true")},function(c,b){b=="horizontal"?yl(s,c):tu(s,c)},s),s.display.scrollbars.addClass&&Pt(s.display.wrapper,s.display.scrollbars.addClass)}var ll=0;function vs(s){s.curOp={cm:s,viewChanged:!1,startHeight:s.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ll},Ea(s.curOp)}function Vl(s){var c=s.curOp;c&&Sn(c,function(b){for(var y=0;y=b.viewTo)||b.maxLineChanged&&c.options.lineWrapping,s.update=s.mustUpdate&&new jn(c,s.mustUpdate&&{top:s.scrollTop,ensure:s.scrollToPos},s.forceUpdate)}function Le(s){s.updatedDisplay=s.mustUpdate&&ji(s.cm,s.update)}function ht(s){var c=s.cm,b=c.display;s.updatedDisplay&&Mr(c),s.barMeasure=Js(c),b.maxLineChanged&&!c.options.lineWrapping&&(s.adjustWidthTo=Ll(c,b.maxLine,b.maxLine.text.length).left+3,c.display.sizerWidth=s.adjustWidthTo,s.barMeasure.scrollWidth=Math.max(b.scroller.clientWidth,b.sizer.offsetLeft+s.adjustWidthTo+Xa(c)+c.display.barWidth),s.maxScrollLeft=Math.max(0,b.sizer.offsetLeft+s.adjustWidthTo-Oa(c))),(s.updatedDisplay||s.selectionChanged)&&(s.preparedSelection=b.input.prepareSelection())}function bt(s){var c=s.cm;s.adjustWidthTo!=null&&(c.display.sizer.style.minWidth=s.adjustWidthTo+"px",s.maxScrollLeft=s.display.viewTo)){var b=+new Date+s.options.workTime,y=Qi(s,c.highlightFrontier),w=[];c.iter(y.line,Math.min(c.first+c.size,s.display.viewTo+500),function(H){if(y.line>=s.display.viewFrom){var ne=H.styles,Se=H.text.length>s.options.maxHighlightLength?_n(c.mode,y.state):null,ye=st(s,H,y,!0);Se&&(y.state=Se),H.styles=ye.styles;var Ze=H.styleClasses,Gt=ye.classes;Gt?H.styleClasses=Gt:Ze&&(H.styleClasses=null);for(var at=!ne||ne.length!=H.styles.length||Ze!=Gt&&(!Ze||!Gt||Ze.bgClass!=Gt.bgClass||Ze.textClass!=Gt.textClass),Tn=0;!at&&Tnb)return zn(s,s.options.workDelay),!0}),c.highlightFrontier=y.line,c.modeFrontier=Math.max(c.modeFrontier,y.line),w.length&&Rt(s,function(){for(var H=0;H=b.viewFrom&&c.visible.to<=b.viewTo&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo)&&b.renderedView==b.view&&Ks(s)==0)return!1;pe(s)&&(Ha(s),c.dims=Xu(s));var w=y.first+y.size,H=Math.max(c.visible.from-s.options.viewportMargin,y.first),ne=Math.min(w,c.visible.to+s.options.viewportMargin);b.viewFromne&&b.viewTo-ne<20&&(ne=Math.min(w,b.viewTo)),Xt&&(H=to(s.doc,H),ne=Fo(s.doc,ne));var Se=H!=b.viewFrom||ne!=b.viewTo||b.lastWrapHeight!=c.wrapperHeight||b.lastWrapWidth!=c.wrapperWidth;sa(s,H,ne),b.viewOffset=jo(gn(s.doc,b.viewFrom)),s.display.mover.style.top=b.viewOffset+"px";var ye=Ks(s);if(!Se&&ye==0&&!c.force&&b.renderedView==b.view&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo))return!1;var Ze=yi(s);return ye>4&&(b.lineDiv.style.display="none"),E(s,b.updateLineNumbers,c.dims),ye>4&&(b.lineDiv.style.display=""),b.renderedView=b.view,ei(Ze),Ie(b.cursorDiv),Ie(b.selectionDiv),b.gutters.style.height=b.sizer.style.minHeight=0,Se&&(b.lastWrapHeight=c.wrapperHeight,b.lastWrapWidth=c.wrapperWidth,zn(s,400)),b.updateLineNumbers=null,!0}function ci(s,c){for(var b=c.viewport,y=!0;;y=!1){if(!y||!s.options.lineWrapping||c.oldDisplayWidth==Oa(s)){if(b&&b.top!=null&&(b={top:Math.min(s.doc.height+os(s.display)-ml(s),b.top)}),c.visible=Co(s.display,s.doc,b),c.visible.from>=s.display.viewFrom&&c.visible.to<=s.display.viewTo)break}else y&&(c.visible=Co(s.display,s.doc,b));if(!ji(s,c))break;Mr(s);var w=Js(s);ss(s),fu(s,w),W(s,w),c.force=!1}c.signal(s,"update",s),(s.display.viewFrom!=s.display.reportedViewFrom||s.display.viewTo!=s.display.reportedViewTo)&&(c.signal(s,"viewportChange",s,s.display.viewFrom,s.display.viewTo),s.display.reportedViewFrom=s.display.viewFrom,s.display.reportedViewTo=s.display.viewTo)}function Gi(s,c){var b=new jn(s,c);if(ji(s,b)){Mr(s),ci(s,b);var y=Js(s);ss(s),fu(s,y),W(s,y),b.finish()}}function E(s,c,b){var y=s.display,w=s.options.lineNumbers,H=y.lineDiv,ne=H.firstChild;function Se(hi){var bi=hi.nextSibling;return M&&Re&&s.display.currentWheelTarget==hi?hi.style.display="none":hi.parentNode.removeChild(hi),bi}for(var ye=y.view,Ze=y.viewFrom,Gt=0;Gt-1&&(xn=!1),ga(s,at,Ze,b)),xn&&(Ie(at.lineNumber),at.lineNumber.appendChild(document.createTextNode(Gn(s.options,Ze)))),ne=at.node.nextSibling}Ze+=at.size}for(;ne;)ne=Se(ne)}function B(s){var c=s.gutters.offsetWidth;s.sizer.style.marginLeft=c+"px"}function W(s,c){s.display.sizer.style.minHeight=c.docHeight+"px",s.display.heightForcer.style.top=c.docHeight+"px",s.display.gutters.style.height=c.docHeight+s.display.barHeight+Xa(s)+"px"}function q(s){var c=s.display,b=c.view;if(!(!c.alignWidgets&&(!c.gutters.firstChild||!s.options.fixedGutter))){for(var y=cu(c)-c.scroller.scrollLeft+s.doc.scrollLeft,w=c.gutters.offsetWidth,H=y+"px",ne=0;nene.clientWidth,ye=ne.scrollHeight>ne.clientHeight;if(y&&Se||w&&ye){if(w&&Re&&M){e:for(var Ze=c.target,Gt=H.view;Ze!=ne;Ze=Ze.parentNode)for(var at=0;at=0&&un(s,y.to())<=0)return b}return-1};var li=function(s,c){this.anchor=s,this.head=c};li.prototype.from=function(){return Lt(this.anchor,this.head)},li.prototype.to=function(){return L(this.anchor,this.head)},li.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function lr(s,c,b){var y=s&&s.options.selectionsMayTouch,w=c[b];c.sort(function(Tn,xn){return un(Tn.from(),xn.from())}),b=ue(c,w);for(var H=1;H0:ye>=0){var Ze=Lt(Se.from(),ne.from()),Gt=L(Se.to(),ne.to()),at=Se.empty()?ne.from()==ne.head:Se.from()==Se.head;H<=b&&--b,c.splice(--H,2,new li(at?Gt:Ze,at?Ze:Gt))}}return new Si(c,b)}function Ni(s,c){return new Si([new li(s,c||s)],0)}function Or(s){return s.text?ot(s.from.line+s.text.length-1,Jn(s.text).length+(s.text.length==1?s.from.ch:0)):s.to}function Zi(s,c){if(un(s,c.from)<0)return s;if(un(s,c.to)<=0)return Or(c);var b=s.line+c.text.length-(c.to.line-c.from.line)-1,y=s.ch;return s.line==c.to.line&&(y+=Or(c).ch-c.to.ch),ot(b,y)}function oo(s,c){for(var b=[],y=0;y1&&s.remove(Se.line+1,hi-1),s.insert(Se.line+1,or)}mi(s,"change",s,c)}function Io(s,c,b){function y(w,H,ne){if(w.linked)for(var Se=0;Se1&&!s.done[s.done.length-2].ranges)return s.done.pop(),Jn(s.done)}function uo(s,c,b,y){var w=s.history;w.undone.length=0;var H=+new Date,ne,Se;if((w.lastOp==y||w.lastOrigin==c.origin&&c.origin&&(c.origin.charAt(0)=="+"&&w.lastModTime>H-(s.cm?s.cm.options.historyEventDelay:500)||c.origin.charAt(0)=="*"))&&(ne=_r(w,w.lastOp==y)))Se=Jn(ne.changes),un(c.from,c.to)==0&&un(c.from,Se.to)==0?Se.to=Or(c):ne.changes.push(Vr(s,c));else{var ye=Jn(w.done);for((!ye||!ye.ranges)&&ba(s.sel,w.done),ne={changes:[Vr(s,c)],generation:w.generation},w.done.push(ne);w.done.length>w.undoDepth;)w.done.shift(),w.done[0].ranges||w.done.shift()}w.done.push(b),w.generation=++w.maxGeneration,w.lastModTime=w.lastSelTime=H,w.lastOp=w.lastSelOp=y,w.lastOrigin=w.lastSelOrigin=c.origin,Se||et(s,"historyAdded")}function rn(s,c,b,y){var w=c.charAt(0);return w=="*"||w=="+"&&b.ranges.length==y.ranges.length&&b.somethingSelected()==y.somethingSelected()&&new Date-s.history.lastSelTime<=(s.cm?s.cm.options.historyEventDelay:500)}function ya(s,c,b,y){var w=s.history,H=y&&y.origin;b==w.lastSelOp||H&&w.lastSelOrigin==H&&(w.lastModTime==w.lastSelTime&&w.lastOrigin==H||rn(s,H,Jn(w.done),c))?w.done[w.done.length-1]=c:ba(c,w.done),w.lastSelTime=+new Date,w.lastSelOrigin=H,w.lastSelOp=b,y&&y.clearRedo!==!1&&Xi(w.undone)}function ba(s,c){var b=Jn(c);b&&b.ranges&&b.equals(s)||c.push(s)}function wn(s,c,b,y){var w=c["spans_"+s.id],H=0;s.iter(Math.max(s.first,b),Math.min(s.first+s.size,y),function(ne){ne.markedSpans&&((w||(w=c["spans_"+s.id]={}))[H]=ne.markedSpans),++H})}function mo(s){if(!s)return null;for(var c,b=0;b-1&&(Jn(Se)[at]=Ze[at],delete Ze[at])}}return y}function $a(s,c,b,y){if(y){var w=s.anchor;if(b){var H=un(c,w)<0;H!=un(b,w)<0?(w=c,c=b):H!=un(c,b)<0&&(c=b)}return new li(w,c)}else return new li(b||c,c)}function Ro(s,c,b,y,w){w==null&&(w=s.cm&&(s.cm.display.shift||s.extend)),g(s,new Si([$a(s.sel.primary(),c,b,w)],0),y)}function To(s,c,b){for(var y=[],w=s.cm&&(s.cm.display.shift||s.extend),H=0;H=c.ch:Se.to>c.ch))){if(w&&(et(ye,"beforeCursorEnter"),ye.explicitlyCleared))if(H.markedSpans){--ne;continue}else break;if(!ye.atomic)continue;if(b){var at=ye.find(y<0?1:-1),Tn=void 0;if((y<0?Gt:Ze)&&(at=Ur(s,at,-y,at&&at.line==c.line?H:null)),at&&at.line==c.line&&(Tn=un(at,b))&&(y<0?Tn<0:Tn>0))return Ti(s,at,c,y,w)}var xn=ye.find(y<0?-1:1);return(y<0?Ze:Gt)&&(xn=Ur(s,xn,y,xn.line==c.line?H:null)),xn?Ti(s,xn,c,y,w):null}}return c}function Tr(s,c,b,y,w){var H=y||1,ne=Ti(s,c,b,H,w)||!w&&Ti(s,c,b,H,!0)||Ti(s,c,b,-H,w)||!w&&Ti(s,c,b,-H,!0);return ne||(s.cantEdit=!0,ot(s.first,0))}function Ur(s,c,b,y){return b<0&&c.ch==0?c.line>s.first?mt(s,ot(c.line-1)):null:b>0&&c.ch==(y||gn(s,c.line)).text.length?c.line=0;--w)ri(s,{from:y[w].from,to:y[w].to,text:w?[""]:c.text,origin:c.origin});else ri(s,c)}}function ri(s,c){if(!(c.text.length==1&&c.text[0]==""&&un(c.from,c.to)==0)){var b=oo(s,c);uo(s,c,b,s.cm?s.cm.curOp.id:NaN),Oo(s,c,b,Ci(s,c));var y=[];Io(s,function(w,H){!H&&ue(y,w.history)==-1&&(ua(w.history,c),y.push(w.history)),Oo(w,c,null,Ci(w,c))})}}function rr(s,c,b){var y=s.cm&&s.cm.state.suppressEdits;if(!(y&&!b)){for(var w=s.history,H,ne=s.sel,Se=c=="undo"?w.done:w.undone,ye=c=="undo"?w.undone:w.done,Ze=0;Ze=0;--xn){var hi=Tn(xn);if(hi)return hi.v}}}}function bo(s,c){if(c!=0&&(s.first+=c,s.sel=new Si(In(s.sel.ranges,function(w){return new li(ot(w.anchor.line+c,w.anchor.ch),ot(w.head.line+c,w.head.ch))}),s.sel.primIndex),s.cm)){xo(s.cm,s.first,s.first-c,c);for(var b=s.cm.display,y=b.viewFrom;ys.lastLine())){if(c.from.lineH&&(c={from:c.from,to:ot(H,gn(s,H).text.length),text:[c.text[0]],origin:c.origin}),c.removed=kn(s,c.from,c.to),b||(b=oo(s,c)),s.cm?ra(s.cm,c,y):io(s,c,y),K(s,b,St),s.cantEdit&&Tr(s,ot(s.firstLine(),0))&&(s.cantEdit=!1)}}function ra(s,c,b){var y=s.doc,w=s.display,H=c.from,ne=c.to,Se=!1,ye=H.line;s.options.lineWrapping||(ye=Ve(Ki(gn(y,H.line))),y.iter(ye,ne.line+1,function(xn){if(xn==w.maxLine)return Se=!0,!0})),y.sel.contains(c.from,c.to)>-1&&hn(s),io(y,c,b,Ia(s)),s.options.lineWrapping||(y.iter(ye,H.line+c.text.length,function(xn){var hi=da(xn);hi>w.maxLineLength&&(w.maxLine=xn,w.maxLineLength=hi,w.maxLineChanged=!0,Se=!1)}),Se&&(s.curOp.updateMaxLine=!0)),Rn(y,H.line),zn(s,400);var Ze=c.text.length-(ne.line-H.line)-1;c.full?xo(s):H.line==ne.line&&c.text.length==1&&!qr(s.doc,c)?so(s,H.line,"text"):xo(s,H.line,ne.line+1,Ze);var Gt=tn(s,"changes"),at=tn(s,"change");if(at||Gt){var Tn={from:H,to:ne,text:c.text,removed:c.removed,origin:c.origin};at&&mi(s,"change",s,Tn),Gt&&(s.curOp.changeObjs||(s.curOp.changeObjs=[])).push(Tn)}s.display.selForContextMenu=null}function ws(s,c,b,y,w){var H;y||(y=b),un(y,b)<0&&(H=[y,b],b=H[0],y=H[1]),typeof c=="string"&&(c=s.splitLines(c)),xa(s,{from:b,to:y,text:c,origin:w})}function ys(s,c,b,y){b1||!(this.children[0]instanceof T))){var Se=[];this.collapse(Se),this.children=[new T(Se)],this.children[0].parent=this}},collapse:function(s){for(var c=0;c50){for(var ne=w.lines.length%25+25,Se=ne;Se10);s.parent.maybeSpill()}},iterN:function(s,c,b){for(var y=0;ys.display.maxLineLength&&(s.display.maxLine=Ze,s.display.maxLineLength=Gt,s.display.maxLineChanged=!0)}y!=null&&s&&this.collapsed&&xo(s,y,w+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,s&&mn(s.doc)),s&&mi(s,"markerCleared",s,this,y,w),c&&Vl(s),this.parent&&this.parent.clear()}},Y.prototype.find=function(s,c){s==null&&this.type=="bookmark"&&(s=1);for(var b,y,w=0;w0||ne==0&&H.clearWhenEmpty!==!1)return H;if(H.replacedWith&&(H.collapsed=!0,H.widgetNode=Ye("span",[H.replacedWith],"CodeMirror-widget"),y.handleMouseEvents||H.widgetNode.setAttribute("cm-ignore-events","true"),y.insertLeft&&(H.widgetNode.insertLeft=!0)),H.collapsed){if(cr(s,c.line,c,b,H)||c.line!=b.line&&cr(s,b.line,c,b,H))throw new Error("Inserting collapsed marker partially overlapping an existing one");Zt()}H.addToHistory&&uo(s,{from:c,to:b,origin:"markText"},s.sel,NaN);var Se=c.line,ye=s.cm,Ze;if(s.iter(Se,b.line+1,function(at){ye&&H.collapsed&&!ye.options.lineWrapping&&Ki(at)==ye.display.maxLine&&(Ze=!0),H.collapsed&&Se!=c.line&&Ct(at,0),Jr(at,new Pi(H,Se==c.line?c.ch:null,Se==b.line?b.ch:null)),++Se}),H.collapsed&&s.iter(c.line,b.line+1,function(at){fi(s,at)&&Ct(at,0)}),H.clearOnEnter&&jt(H,"beforeCursorEnter",function(){return H.clear()}),H.readOnly&&(Ei(),(s.history.done.length||s.history.undone.length)&&s.clearHistory()),H.collapsed&&(H.id=++ae,H.atomic=!0),ye){if(Ze&&(ye.curOp.updateMaxLine=!0),H.collapsed)xo(ye,c.line,b.line+1);else if(H.className||H.startStyle||H.endStyle||H.css||H.attributes||H.title)for(var Gt=c.line;Gt<=b.line;Gt++)so(ye,Gt,"text");H.atomic&&mn(ye.doc),mi(ye,"markerAdded",ye,H)}return H}var pt=function(s,c){this.markers=s,this.primary=c;for(var b=0;b=0;ye--)xa(this,y[ye]);Se?d(this,Se):this.cm&&Xs(this.cm)}),undo:sn(function(){rr(this,"undo")}),redo:sn(function(){rr(this,"redo")}),undoSelection:sn(function(){rr(this,"undo",!0)}),redoSelection:sn(function(){rr(this,"redo",!0)}),setExtending:function(s){this.extend=s},getExtending:function(){return this.extend},historySize:function(){for(var s=this.history,c=0,b=0,y=0;y=s.ch)&&c.push(w.marker.parent||w.marker)}return c},findMarks:function(s,c,b){s=mt(this,s),c=mt(this,c);var y=[],w=s.line;return this.iter(s.line,c.line+1,function(H){var ne=H.markedSpans;if(ne)for(var Se=0;Se=ye.to||ye.from==null&&w!=s.line||ye.from!=null&&w==c.line&&ye.from>=c.ch)&&(!b||b(ye.marker))&&y.push(ye.marker.parent||ye.marker)}++w}),y},getAllMarks:function(){var s=[];return this.iter(function(c){var b=c.markedSpans;if(b)for(var y=0;ys)return c=s,!0;s-=H,++b}),mt(this,ot(b,c))},indexFromPos:function(s){s=mt(this,s);var c=s.ch;if(s.linec&&(c=s.from),s.to!=null&&s.to-1){c.state.draggingText(s),setTimeout(function(){return c.display.input.focus()},20);return}try{var Gt=s.dataTransfer.getData("Text");if(Gt){var at;if(c.state.draggingText&&!c.state.draggingText.copy&&(at=c.listSelections()),K(c.doc,Ni(b,b)),at)for(var Tn=0;Tn=0;Se--)ws(s.doc,"",y[Se].from,y[Se].to,"+delete");Xs(s)})}function Bl(s,c,b){var y=He(s.text,c+b,b);return y<0||y>s.text.length?null:y}function Qa(s,c,b){var y=Bl(s,c.ch,b);return y==null?null:new ot(c.line,y,b<0?"after":"before")}function qo(s,c,b,y,w){if(s){c.doc.direction=="rtl"&&(w=-w);var H=fn(b,c.doc.direction);if(H){var ne=w<0?Jn(H):H[0],Se=w<0==(ne.level==1),ye=Se?"after":"before",Ze;if(ne.level>0||c.doc.direction=="rtl"){var Gt=Fa(c,b);Ze=w<0?b.text.length-1:0;var at=Gs(c,Gt,Ze).top;Ze=De(function(Tn){return Gs(c,Gt,Tn).top==at},w<0==(ne.level==1)?ne.from:ne.to-1,Ze),ye=="before"&&(Ze=Bl(b,Ze,1))}else Ze=w<0?ne.to:ne.from;return new ot(y,Ze,ye)}}return new ot(y,w<0?b.text.length:0,w<0?"before":"after")}function Sa(s,c,b,y){var w=fn(c,s.doc.direction);if(!w)return Qa(c,b,y);b.ch>=c.text.length?(b.ch=c.text.length,b.sticky="before"):b.ch<=0&&(b.ch=0,b.sticky="after");var H=nt(w,b.ch,b.sticky),ne=w[H];if(s.doc.direction=="ltr"&&ne.level%2==0&&(y>0?ne.to>b.ch:ne.from=ne.from&&Tn>=Gt.begin)){var xn=at?"before":"after";return new ot(b.line,Tn,xn)}}var hi=function(or,Fr,Sr){for(var jr=function(fs,hl){return hl?new ot(b.line,Se(fs,1),"before"):new ot(b.line,fs,"after")};or>=0&&or0==(go.level!=1),$o=br?Sr.begin:Se(Sr.end,-1);if(go.from<=$o&&$o0?Gt.end:Se(Gt.begin,-1);return Bi!=null&&!(y>0&&Bi==c.text.length)&&(bi=hi(y>0?0:w.length-1,y,Ze(Bi)),bi)?bi:null}var Hs={selectAll:Kr,singleSelection:function(s){return s.setSelection(s.getCursor("anchor"),s.getCursor("head"),St)},killLine:function(s){return bs(s,function(c){if(c.empty()){var b=gn(s.doc,c.head.line).text.length;return c.head.ch==b&&c.head.line0)w=new ot(w.line,w.ch+1),s.replaceRange(H.charAt(w.ch-1)+H.charAt(w.ch-2),ot(w.line,w.ch-2),w,"+transpose");else if(w.line>s.doc.first){var ne=gn(s.doc,w.line-1).text;ne&&(w=new ot(w.line,1),s.replaceRange(H.charAt(0)+s.doc.lineSeparator()+ne.charAt(ne.length-1),ot(w.line-1,ne.length-1),w,"+transpose"))}}b.push(new li(w,w))}s.setSelections(b)})},newlineAndIndent:function(s){return Rt(s,function(){for(var c=s.listSelections(),b=c.length-1;b>=0;b--)s.replaceRange(s.doc.lineSeparator(),c[b].anchor,c[b].head,"+input");c=s.listSelections();for(var y=0;ys&&un(c,this.pos)==0&&b==this.button};var hd,zh;function rp(s,c){var b=+new Date;return zh&&zh.compare(b,s,c)?(hd=zh=null,"triple"):hd&&hd.compare(b,s,c)?(zh=new ip(b,s,c),hd=null,"double"):(hd=new ip(b,s,c),zh=null,"single")}function Ac(s){var c=this,b=c.display;if(!(zt(c,s)||b.activeTouch&&b.input.supportsTouch())){if(b.input.ensurePolled(),b.shift=s.shiftKey,Ps(b,s)){M||(b.scroller.draggable=!1,setTimeout(function(){return b.scroller.draggable=!0},100));return}if(!hf(c,s)){var y=Fs(c,s),w=dn(s),H=y?rp(y,w):"single";window.focus(),w==1&&c.state.selectingText&&c.state.selectingText(s),!(y&&op(c,w,y,H,s))&&(w==1?y?f0(c,y,H,s):vi(s)==b.scroller&&Un(s):w==2?(y&&Ro(c.doc,y),setTimeout(function(){return b.input.focus()},20)):w==3&&(ke?c.display.input.onContextMenu(s):wa(c)))}}}function op(s,c,b,y,w){var H="Click";return y=="double"?H="Double"+H:y=="triple"&&(H="Triple"+H),H=(c==1?"Left":c==2?"Middle":"Right")+H,tc(s,ec(H,w),w,function(ne){if(typeof ne=="string"&&(ne=Hs[ne]),!ne)return!1;var Se=!1;try{s.isReadOnly()&&(s.state.suppressEdits=!0),Se=ne(s,b)!=Vt}finally{s.state.suppressEdits=!1}return Se})}function uf(s,c,b){var y=s.getOption("configureMouse"),w=y?y(s,c,b):{};if(w.unit==null){var H=fe?b.shiftKey&&b.metaKey:b.altKey;w.unit=H?"rectangle":c=="single"?"char":c=="double"?"word":"line"}return(w.extend==null||s.doc.extend)&&(w.extend=s.doc.extend||b.shiftKey),w.addNew==null&&(w.addNew=Re?b.metaKey:b.ctrlKey),w.moveOnDrag==null&&(w.moveOnDrag=!(Re?b.altKey:b.ctrlKey)),w}function f0(s,c,b,y){G?setTimeout(wt(na,s),0):s.curOp.focus=We();var w=uf(s,b,y),H=s.doc.sel,ne;s.options.dragDrop&&ln&&!s.isReadOnly()&&b=="single"&&(ne=H.contains(c))>-1&&(un((ne=H.ranges[ne]).from(),c)<0||c.xRel>0)&&(un(ne.to(),c)>0||c.xRel<0)?ap(s,y,c,w):cg(s,y,c,w)}function ap(s,c,b,y){var w=s.display,H=!1,ne=ve(s,function(Ze){M&&(w.scroller.draggable=!1),s.state.draggingText=!1,nn(w.wrapper.ownerDocument,"mouseup",ne),nn(w.wrapper.ownerDocument,"mousemove",Se),nn(w.scroller,"dragstart",ye),nn(w.scroller,"drop",ne),H||(Un(Ze),y.addNew||Ro(s.doc,b,null,null,y.extend),M&&!Me||G&&P==9?setTimeout(function(){w.wrapper.ownerDocument.body.focus({preventScroll:!0}),w.input.focus()},20):w.input.focus())}),Se=function(Ze){H=H||Math.abs(c.clientX-Ze.clientX)+Math.abs(c.clientY-Ze.clientY)>=10},ye=function(){return H=!0};M&&(w.scroller.draggable=!0),s.state.draggingText=ne,ne.copy=!y.moveOnDrag,w.scroller.dragDrop&&w.scroller.dragDrop(),jt(w.wrapper.ownerDocument,"mouseup",ne),jt(w.wrapper.ownerDocument,"mousemove",Se),jt(w.scroller,"dragstart",ye),jt(w.scroller,"drop",ne),wa(s),setTimeout(function(){return w.input.focus()},20)}function sp(s,c,b){if(b=="char")return new li(c,c);if(b=="word")return s.findWordAt(c);if(b=="line")return new li(ot(c.line,0),mt(s.doc,ot(c.line+1,0)));var y=b(s,c);return new li(y.from,y.to)}function cg(s,c,b,y){var w=s.display,H=s.doc;Un(c);var ne,Se,ye=H.sel,Ze=ye.ranges;if(y.addNew&&!y.extend?(Se=H.sel.contains(b),Se>-1?ne=Ze[Se]:ne=new li(b,b)):(ne=H.sel.primary(),Se=H.sel.primIndex),y.unit=="rectangle")y.addNew||(ne=new li(b,b)),b=Fs(s,c,!0,!0),Se=-1;else{var Gt=sp(s,b,y.unit);y.extend?ne=$a(ne,Gt.anchor,Gt.head,y.extend):ne=Gt}y.addNew?Se==-1?(Se=Ze.length,g(H,lr(s,Ze.concat([ne]),Se),{scroll:!1,origin:"*mouse"})):Ze.length>1&&Ze[Se].empty()&&y.unit=="char"&&!y.extend?(g(H,lr(s,Ze.slice(0,Se).concat(Ze.slice(Se+1)),0),{scroll:!1,origin:"*mouse"}),ye=H.sel):Mo(H,Se,ne,an):(Se=0,g(H,new Si([ne],0),an),ye=H.sel);var at=b;function Tn(Sr){if(un(at,Sr)!=0)if(at=Sr,y.unit=="rectangle"){for(var jr=[],go=s.options.tabSize,br=Je(gn(H,b.line).text,b.ch,go),$o=Je(gn(H,Sr.line).text,Sr.ch,go),fs=Math.min(br,$o),hl=Math.max(br,$o),Cs=Math.min(b.line,Sr.line),vu=Math.min(s.lastLine(),Math.max(b.line,Sr.line));Cs<=vu;Cs++){var Zl=gn(H,Cs).text,nl=ai(Zl,fs,go);fs==hl?jr.push(new li(ot(Cs,nl),ot(Cs,nl))):Zl.length>nl&&jr.push(new li(ot(Cs,nl),ot(Cs,ai(Zl,hl,go))))}jr.length||jr.push(new li(b,b)),g(H,lr(s,ye.ranges.slice(0,Se).concat(jr),Se),{origin:"*mouse",scroll:!1}),s.scrollIntoView(Sr)}else{var Iu=ne,_l=sp(s,Sr,y.unit),il=Iu.anchor,Ma;un(_l.anchor,il)>0?(Ma=_l.head,il=Lt(Iu.from(),_l.anchor)):(Ma=_l.anchor,il=L(Iu.to(),_l.head));var Ms=ye.ranges.slice(0);Ms[Se]=p0(s,new li(mt(H,il),Ma)),g(H,lr(s,Ms,Se),an)}}var xn=w.wrapper.getBoundingClientRect(),hi=0;function bi(Sr){var jr=++hi,go=Fs(s,Sr,!0,y.unit=="rectangle");if(go)if(un(go,at)!=0){s.curOp.focus=We(),Tn(go);var br=Co(w,H);(go.line>=br.to||go.linexn.bottom?20:0;$o&&setTimeout(ve(s,function(){hi==jr&&(w.scroller.scrollTop+=$o,bi(Sr))}),50)}}function Bi(Sr){s.state.selectingText=!1,hi=1/0,Sr&&(Un(Sr),w.input.focus()),nn(w.wrapper.ownerDocument,"mousemove",or),nn(w.wrapper.ownerDocument,"mouseup",Fr),H.history.lastSelOrigin=null}var or=ve(s,function(Sr){Sr.buttons===0||!dn(Sr)?Bi(Sr):bi(Sr)}),Fr=ve(s,Bi);s.state.selectingText=Fr,jt(w.wrapper.ownerDocument,"mousemove",or),jt(w.wrapper.ownerDocument,"mouseup",Fr)}function p0(s,c){var b=c.anchor,y=c.head,w=gn(s.doc,b.line);if(un(b,y)==0&&b.sticky==y.sticky)return c;var H=fn(w);if(!H)return c;var ne=nt(H,b.ch,b.sticky),Se=H[ne];if(Se.from!=b.ch&&Se.to!=b.ch)return c;var ye=ne+(Se.from==b.ch==(Se.level!=1)?0:1);if(ye==0||ye==H.length)return c;var Ze;if(y.line!=b.line)Ze=(y.line-b.line)*(s.doc.direction=="ltr"?1:-1)>0;else{var Gt=nt(H,y.ch,y.sticky),at=Gt-ne||(y.ch-b.ch)*(Se.level==1?-1:1);Gt==ye-1||Gt==ye?Ze=at<0:Ze=at>0}var Tn=H[ye+(Ze?-1:0)],xn=Ze==(Tn.level==1),hi=xn?Tn.from:Tn.to,bi=xn?"after":"before";return b.ch==hi&&b.sticky==bi?c:new li(new ot(b.line,hi,bi),y)}function cf(s,c,b,y){var w,H;if(c.touches)w=c.touches[0].clientX,H=c.touches[0].clientY;else try{w=c.clientX,H=c.clientY}catch(Tn){return!1}if(w>=Math.floor(s.display.gutters.getBoundingClientRect().right))return!1;y&&Un(c);var ne=s.display,Se=ne.lineDiv.getBoundingClientRect();if(H>Se.bottom||!tn(s,b))return Yn(c);H-=Se.top-ne.viewOffset;for(var ye=0;ye=w){var Gt=Ut(s.doc,H),at=s.display.gutterSpecs[ye];return et(s,b,s,Gt,at.className,c),Yn(c)}}}function hf(s,c){return cf(s,c,"gutterClick",!0)}function df(s,c){Ps(s.display,c)||m0(s,c)||zt(s,c,"contextmenu")||ke||s.display.input.onContextMenu(c)}function m0(s,c){return tn(s,"gutterContextMenu")?cf(s,c,"gutterContextMenu",!1):!1}function ff(s){s.display.wrapper.className=s.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+s.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ro(s)}var fh={toString:function(){return"CodeMirror.Init"}},lp={},Dd={};function g0(s){var c=s.optionHandlers;function b(y,w,H,ne){s.defaults[y]=w,H&&(c[y]=ne?function(Se,ye,Ze){Ze!=fh&&H(Se,ye,Ze)}:H)}s.defineOption=b,s.Init=fh,b("value","",function(y,w){return y.setValue(w)},!0),b("mode",null,function(y,w){y.doc.modeOption=w,qi(y)},!0),b("indentUnit",2,qi,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(y){Xr(y),ro(y),xo(y)},!0),b("lineSeparator",null,function(y,w){if(y.doc.lineSep=w,!!w){var H=[],ne=y.doc.first;y.doc.iter(function(ye){for(var Ze=0;;){var Gt=ye.text.indexOf(w,Ze);if(Gt==-1)break;Ze=Gt+w.length,H.push(ot(ne,Gt))}ne++});for(var Se=H.length-1;Se>=0;Se--)ws(y.doc,w,H[Se],ot(H[Se].line,H[Se].ch+w.length))}}),b("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(y,w,H){y.state.specialChars=new RegExp(w.source+(w.test(" ")?"":"| "),"g"),H!=fh&&y.refresh()}),b("specialCharPlaceholder",Ba,function(y){return y.refresh()},!0),b("electricChars",!0),b("inputStyle",Ae?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(y,w){return y.getInputField().spellcheck=w},!0),b("autocorrect",!1,function(y,w){return y.getInputField().autocorrect=w},!0),b("autocapitalize",!1,function(y,w){return y.getInputField().autocapitalize=w},!0),b("rtlMoveVisually",!me),b("wholeLineUpdateBefore",!0),b("theme","default",function(y){ff(y),it(y)},!0),b("keyMap","default",function(y,w,H){var ne=Fl(w),Se=H!=fh&&Fl(H);Se&&Se.detach&&Se.detach(y,ne),ne.attach&&ne.attach(y,Se||null)}),b("extraKeys",null),b("configureMouse",null),b("lineWrapping",!1,v0,!0),b("gutters",[],function(y,w){y.display.gutterSpecs=Ce(w,y.options.lineNumbers),it(y)},!0),b("fixedGutter",!0,function(y,w){y.display.gutters.style.left=w?cu(y.display)+"px":"0",y.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(y){return fu(y)},!0),b("scrollbarStyle","native",function(y){Nu(y),fu(y),y.display.scrollbars.setScrollTop(y.doc.scrollTop),y.display.scrollbars.setScrollLeft(y.doc.scrollLeft)},!0),b("lineNumbers",!1,function(y,w){y.display.gutterSpecs=Ce(y.options.gutters,w),it(y)},!0),b("firstLineNumber",1,it,!0),b("lineNumberFormatter",function(y){return y},it,!0),b("showCursorWhenSelecting",!1,ss,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("pasteLinesPerSelection",!0),b("selectionsMayTouch",!1),b("readOnly",!1,function(y,w){w=="nocursor"&&(du(y),y.display.input.blur()),y.display.input.readOnlyChanged(w)}),b("screenReaderLabel",null,function(y,w){w=w===""?null:w,y.display.input.screenReaderLabelChanged(w)}),b("disableInput",!1,function(y,w){w||y.display.input.reset()},!0),b("dragDrop",!0,pf),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,ss,!0),b("singleCursorHeightPerLine",!0,ss,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,Xr,!0),b("addModeClass",!1,Xr,!0),b("pollInterval",100),b("undoDepth",200,function(y,w){return y.doc.history.undoDepth=w}),b("historyEventDelay",1250),b("viewportMargin",10,function(y){return y.refresh()},!0),b("maxHighlightLength",1e4,Xr,!0),b("moveInputWithCursor",!0,function(y,w){w||y.display.input.resetPosition()}),b("tabindex",null,function(y,w){return y.display.input.getField().tabIndex=w||""}),b("autofocus",null),b("direction","ltr",function(y,w){return y.doc.setDirection(w)},!0),b("phrases",null)}function pf(s,c,b){var y=b&&b!=fh;if(!c!=!y){var w=s.display.dragFunctions,H=c?jt:nn;H(s.display.scroller,"dragstart",w.start),H(s.display.scroller,"dragenter",w.enter),H(s.display.scroller,"dragover",w.over),H(s.display.scroller,"dragleave",w.leave),H(s.display.scroller,"drop",w.drop)}}function v0(s){s.options.lineWrapping?(Pt(s.display.wrapper,"CodeMirror-wrap"),s.display.sizer.style.minWidth="",s.display.sizerWidth=null):(Ne(s.display.wrapper,"CodeMirror-wrap"),Ta(s)),Lr(s),xo(s),ro(s),setTimeout(function(){return fu(s)},100)}function Ca(s,c){var b=this;if(!(this instanceof Ca))return new Ca(s,c);this.options=c=c?En(c):{},En(lp,c,!1);var y=c.value;typeof y=="string"?y=new $i(y,c.mode,null,c.lineSeparator,c.direction):c.mode&&(y.modeOption=c.mode),this.doc=y;var w=new Ca.inputStyles[c.inputStyle](this),H=this.display=new $t(s,y,w,c);H.wrapper.CodeMirror=this,ff(this),c.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Nu(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new se,keySeq:null,specialChars:null},c.autofocus&&!Ae&&H.input.focus(),G&&P<11&&setTimeout(function(){return b.display.input.reset(!0)},20),dd(this),Ko(),vs(this),this.curOp.forceUpdate=!0,ir(this,y),c.autofocus&&!Ae||this.hasFocus()?setTimeout(function(){b.hasFocus()&&!b.state.focused&&_o(b)},20):du(this);for(var ne in Dd)Dd.hasOwnProperty(ne)&&Dd[ne](this,c[ne],fh);pe(this),c.finishInit&&c.finishInit(this);for(var Se=0;Se20*20}jt(c.scroller,"touchstart",function(ye){if(!zt(s,ye)&&!H(ye)&&!hf(s,ye)){c.input.ensurePolled(),clearTimeout(b);var Ze=+new Date;c.activeTouch={start:Ze,moved:!1,prev:Ze-y.end<=300?y:null},ye.touches.length==1&&(c.activeTouch.left=ye.touches[0].pageX,c.activeTouch.top=ye.touches[0].pageY)}}),jt(c.scroller,"touchmove",function(){c.activeTouch&&(c.activeTouch.moved=!0)}),jt(c.scroller,"touchend",function(ye){var Ze=c.activeTouch;if(Ze&&!Ps(c,ye)&&Ze.left!=null&&!Ze.moved&&new Date-Ze.start<300){var Gt=s.coordsChar(c.activeTouch,"page"),at;!Ze.prev||ne(Ze,Ze.prev)?at=new li(Gt,Gt):!Ze.prev.prev||ne(Ze,Ze.prev.prev)?at=s.findWordAt(Gt):at=new li(ot(Gt.line,0),mt(s.doc,ot(Gt.line+1,0))),s.setSelection(at.anchor,at.head),s.focus(),Un(ye)}w()}),jt(c.scroller,"touchcancel",w),jt(c.scroller,"scroll",function(){c.scroller.clientHeight&&(tu(s,c.scroller.scrollTop),yl(s,c.scroller.scrollLeft,!0),et(s,"scroll",s))}),jt(c.scroller,"mousewheel",function(ye){return _t(s,ye)}),jt(c.scroller,"DOMMouseScroll",function(ye){return _t(s,ye)}),jt(c.wrapper,"scroll",function(){return c.wrapper.scrollTop=c.wrapper.scrollLeft=0}),c.dragFunctions={enter:function(ye){zt(s,ye)||wi(ye)},over:function(ye){zt(s,ye)||(No(s,ye),wi(ye))},start:function(ye){return $r(s,ye)},drop:ve(s,Hr),leave:function(ye){zt(s,ye)||Wo(s)}};var Se=c.input.getField();jt(Se,"keyup",function(ye){return np.call(s,ye)}),jt(Se,"keydown",ve(s,hh)),jt(Se,"keypress",ve(s,Nc)),jt(Se,"focus",function(ye){return _o(s,ye)}),jt(Se,"blur",function(ye){return du(s,ye)})}var Uh=[];Ca.defineInitHook=function(s){return Uh.push(s)};function cl(s,c,b,y){var w=s.doc,H;b==null&&(b="add"),b=="smart"&&(w.mode.indent?H=Qi(s,c).state:b="prev");var ne=s.options.tabSize,Se=gn(w,c),ye=Je(Se.text,null,ne);Se.stateAfter&&(Se.stateAfter=null);var Ze=Se.text.match(/^\s*/)[0],Gt;if(!y&&!/\S/.test(Se.text))Gt=0,b="not";else if(b=="smart"&&(Gt=w.mode.indent(H,Se.text.slice(Ze.length),Se.text),Gt==Vt||Gt>150)){if(!y)return;b="prev"}b=="prev"?c>w.first?Gt=Je(gn(w,c-1).text,null,ne):Gt=0:b=="add"?Gt=ye+s.options.indentUnit:b=="subtract"?Gt=ye-s.options.indentUnit:typeof b=="number"&&(Gt=ye+b),Gt=Math.max(0,Gt);var at="",Tn=0;if(s.options.indentWithTabs)for(var xn=Math.floor(Gt/ne);xn;--xn)Tn+=ne,at+=" ";if(Tnne,ye=pr(c),Ze=null;if(Se&&y.ranges.length>1)if(gu&&gu.text.join(` -`)==c){if(y.ranges.length%gu.text.length==0){Ze=[];for(var Gt=0;Gt=0;Tn--){var xn=y.ranges[Tn],hi=xn.from(),bi=xn.to();xn.empty()&&(b&&b>0?hi=ot(hi.line,hi.ch-b):s.state.overwrite&&!Se?bi=ot(bi.line,Math.min(gn(H,bi.line).text.length,bi.ch+Jn(ye).length)):Se&&gu&&gu.lineWise&&gu.text.join(` +`,c);w==-1&&(w=s.length);var H=s.slice(c,s.charAt(w-1)=="\r"?w-1:w),ne=H.indexOf("\r");ne!=-1?(b.push(H.slice(0,ne)),c+=ne+1):(b.push(H),c=w+1)}return b}:function(s){return s.split(/\r\n?|\n/)},U=window.getSelection?function(s){try{return s.selectionStart!=s.selectionEnd}catch(c){return!1}}:function(s){var c;try{c=s.ownerDocument.selection.createRange()}catch(b){}return!c||c.parentElement()!=s?!1:c.compareEndPoints("StartToEnd",c)!=0},mr=function(){var s=Je("div");return"oncopy"in s?!0:(s.setAttribute("oncopy","return;"),typeof s.oncopy=="function")}(),Er=null;function wr(s){if(Er!=null)return Er;var c=Le(s,Je("span","x")),b=c.getBoundingClientRect(),y=re(c,0,1).getBoundingClientRect();return Er=Math.abs(b.left-y.left)>1}var qr={},xo={};function kr(s,c){arguments.length>2&&(c.dependencies=Array.prototype.slice.call(arguments,2)),qr[s]=c}function no(s,c){xo[s]=c}function rr(s){if(typeof s=="string"&&xo.hasOwnProperty(s))s=xo[s];else if(s&&typeof s.name=="string"&&xo.hasOwnProperty(s.name)){var c=xo[s.name];typeof c=="string"&&(c={name:c}),s=z(c,s),s.name=c.name}else{if(typeof s=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(s))return rr("application/xml");if(typeof s=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(s))return rr("application/json")}return typeof s=="string"?{name:s}:s||{name:"null"}}function Bi(s,c){c=rr(c);var b=qr[c.name];if(!b)return Bi(s,"text/plain");var y=b(s,c);if(yi.hasOwnProperty(c.name)){var w=yi[c.name];for(var H in w)w.hasOwnProperty(H)&&(y.hasOwnProperty(H)&&(y["_"+H]=y[H]),y[H]=w[H])}if(y.name=c.name,c.helperType&&(y.helperType=c.helperType),c.modeProps)for(var ne in c.modeProps)y[ne]=c.modeProps[ne];return y}var yi={};function ht(s,c){var b=yi.hasOwnProperty(s)?yi[s]:yi[s]={};Cn(c,b)}function _n(s,c){if(c===!0)return c;if(s.copyState)return s.copyState(c);var b={};for(var y in c){var w=c[y];w instanceof Array&&(w=w.concat([])),b[y]=w}return b}function Vn(s,c){for(var b;s.innerMode&&(b=s.innerMode(c),!(!b||b.mode==s));)c=b.state,s=b.mode;return b||{mode:s,state:c}}function pt(s,c,b){return s.startState?s.startState(c,b):!0}var Ke=function(s,c,b){this.pos=this.start=0,this.string=s,this.tabSize=c||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=b};Ke.prototype.eol=function(){return this.pos>=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.posc},Ke.prototype.eatSpace=function(){for(var s=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>s},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(s){var c=this.string.indexOf(s,this.pos);if(c>-1)return this.pos=c,!0},Ke.prototype.backUp=function(s){this.pos-=s},Ke.prototype.column=function(){return this.lastColumnPos0?null:(H&&c!==!1&&(this.pos+=H[0].length),H)}},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(s,c){this.lineStart+=s;try{return c()}finally{this.lineStart-=s}},Ke.prototype.lookAhead=function(s){var c=this.lineOracle;return c&&c.lookAhead(s)},Ke.prototype.baseToken=function(){var s=this.lineOracle;return s&&s.baseToken(this.pos)};function vn(s,c){if(c-=s.first,c<0||c>=s.size)throw new Error("There is no line "+(c+s.first)+" in the document.");for(var b=s;!b.lines;)for(var y=0;;++y){var w=b.children[y],H=w.chunkSize();if(c=s.first&&cb?ot(b,vn(s,b).text.length):xn(c,vn(s,c.line).text.length)}function xn(s,c){var b=s.ch;return b==null||b>c?ot(s.line,c):b<0?ot(s.line,0):s}function An(s,c){for(var b=[],y=0;ythis.maxLookAhead&&(this.maxLookAhead=s),c},Nn.prototype.baseToken=function(s){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=s;)this.baseTokenPos+=2;var c=this.baseTokens[this.baseTokenPos+1];return{type:c&&c.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-s}},Nn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nn.fromSaved=function(s,c,b){return c instanceof li?new Nn(s,_n(s.mode,c.state),b,c.lookAhead):new Nn(s,_n(s.mode,c),b)},Nn.prototype.save=function(s){var c=s!==!1?_n(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new li(c,this.maxLookAhead):c};function st(s,c,b,y){var w=[s.state.modeGen],H={};Tt(s,c.text,s.doc.mode,b,function(Ze,Wt){return w.push(Ze,Wt)},H,y);for(var ne=b.state,Se=function(Ze){b.baseTokens=w;var Wt=s.state.overlays[Ze],at=1,Tn=0;b.state=!0,Tt(s,c.text,Wt.mode,b,function(En,ci){for(var bi=at;TnEn&&w.splice(at,1,En,w[at+1],Di),at+=2,Tn=Math.min(En,Di)}if(ci)if(Wt.opaque)w.splice(bi,at-bi,En,"overlay "+ci),at=bi+2;else for(;bis.options.maxHighlightLength&&_n(s.doc.mode,y.state),H=st(s,c,y);w&&(y.state=w),c.stateAfter=y.save(!w),c.styles=H.styles,H.classes?c.styleClasses=H.classes:c.styleClasses&&(c.styleClasses=null),b===s.doc.highlightFrontier&&(s.doc.modeFrontier=Math.max(s.doc.modeFrontier,++s.doc.highlightFrontier))}return c.styles}function Yi(s,c,b){var y=s.doc,w=s.display;if(!y.mode.startState)return new Nn(y,!0,c);var H=fi(s,c,b),ne=H>y.first&&vn(y,H-1).stateAfter,Se=ne?Nn.fromSaved(y,ne,H):new Nn(y,pt(y.mode),H);return y.iter(H,c,function(ye){Yt(s,ye.text,Se);var Ze=Se.line;ye.stateAfter=Ze==c-1||Ze%5==0||Ze>=w.viewFrom&&Zec.start)return H}throw new Error("Mode "+s.name+" failed to advance stream.")}var oe=function(s,c,b){this.start=s.start,this.end=s.pos,this.string=s.current(),this.type=c||null,this.state=b};function Hn(s,c,b,y){var w=s.doc,H=w.mode,ne;c=mt(w,c);var Se=vn(w,c.line),ye=Yi(s,c.line,b),Ze=new Ke(Se.text,s.options.tabSize,ye),Wt;for(y&&(Wt=[]);(y||Ze.poss.options.maxHighlightLength?(Se=!1,ne&&Yt(s,c,y,Wt.pos),Wt.pos=c.length,at=null):at=Be(q(b,Wt,y.state,Tn),H),Tn){var En=Tn[0].name;En&&(at="m-"+(at?En+" "+at:En))}if(!Se||Ze!=at){for(;yene;--Se){if(Se<=H.first)return H.first;var ye=vn(H,Se-1),Ze=ye.stateAfter;if(Ze&&(!b||Se+(Ze instanceof li?Ze.lookAhead:0)<=H.modeFrontier))return Se;var Wt=Qe(ye.text,null,s.options.tabSize);(w==null||y>Wt)&&(w=Se-1,y=Wt)}return w}function Ln(s,c){if(s.modeFrontier=Math.min(s.modeFrontier,c),!(s.highlightFrontierb;y--){var w=vn(s,y).stateAfter;if(w&&(!(w instanceof li)||y+w.lookAhead=c:H.to>c);(y||(y=[])).push(new Li(ne,H.from,ye?null:H.to))}}return y}function Oi(s,c,b){var y;if(s)for(var w=0;w=c:H.to>c);if(Se||H.from==c&&ne.type=="bookmark"&&(!b||H.marker.insertLeft)){var ye=H.from==null||(ne.inclusiveLeft?H.from<=c:H.from0&&Se)for(var Gr=0;Gr0)){var Wt=[ye,1],at=fn(Ze.from,Se.from),Tn=fn(Ze.to,Se.to);(at<0||!ne.inclusiveLeft&&!at)&&Wt.push({from:Ze.from,to:Se.from}),(Tn>0||!ne.inclusiveRight&&!Tn)&&Wt.push({from:Se.to,to:Ze.to}),w.splice.apply(w,Wt),ye+=Wt.length-3}}return w}function Zn(s){var c=s.markedSpans;if(c){for(var b=0;bc)&&(!y||cr(y,H.marker)<0)&&(y=H.marker)}return y}function hr(s,c,b,y,w){var H=vn(s,c),ne=qt&&H.markedSpans;if(ne)for(var Se=0;Se=0&&at<=0||Wt<=0&&at>=0)&&(Wt<=0&&(ye.marker.inclusiveRight&&w.inclusiveLeft?fn(Ze.to,b)>=0:fn(Ze.to,b)>0)||Wt>=0&&(ye.marker.inclusiveRight&&w.inclusiveLeft?fn(Ze.from,y)<=0:fn(Ze.from,y)<0)))return!0}}}function Ki(s){for(var c;c=Zi(s);)s=c.find(-1,!0).line;return s}function Lr(s){for(var c;c=Ri(s);)s=c.find(1,!0).line;return s}function Wr(s){for(var c,b;c=Ri(s);)s=c.find(1,!0).line,(b||(b=[])).push(s);return b}function eo(s,c){var b=vn(s,c),y=Ki(b);return b==y?c:Ve(y)}function Lo(s,c){if(c>s.lastLine())return c;var b=vn(s,c),y;if(!pi(s,b))return c;for(;y=Ri(b);)b=y.find(1,!0).line;return Ve(b)+1}function pi(s,c){var b=qt&&c.markedSpans;if(b){for(var y=void 0,w=0;wc.maxLineLength&&(c.maxLineLength=w,c.maxLine=y)})}var $a=function(s,c,b){this.text=s,he(this,c),this.height=b?b(this):1};$a.prototype.lineNo=function(){return Ve(this)},ze($a);function is(s,c,b,y){s.text=c,s.stateAfter&&(s.stateAfter=null),s.styles&&(s.styles=null),s.order!=null&&(s.order=null),Zn(s),he(s,b);var w=y?y(s):1;w!=s.height&&Nt(s,w)}function ka(s){s.parent=null,Zn(s)}var ss={},Ua={};function Go(s,c){if(!s||/^\s*$/.test(s))return null;var b=c.addModeClass?Ua:ss;return b[s]||(b[s]=s.replace(/\S+/g,"cm-$&"))}function Zt(s,c){var b=Ye("span",null,null,M?"padding-right: .1px":null),y={pre:Ye("pre",[b],"CodeMirror-line"),content:b,col:0,pos:0,cm:s,trailingSpace:!1,splitSpaces:s.getOption("lineWrapping")};c.measure={};for(var w=0;w<=(c.rest?c.rest.length:0);w++){var H=w?c.rest[w-1]:c.line,ne=void 0;y.pos=0,y.addToken=ql,Tr(s.display.measure)&&(ne=pn(H,s.doc.direction))&&(y.addToken=uo(y.addToken,ne)),y.map=[];var Se=c!=s.display.externalMeasured&&Ve(H);go(H,y,Mi(s,H,Se)),H.styleClasses&&(H.styleClasses.bgClass&&(y.bgClass=xt(H.styleClasses.bgClass,y.bgClass||"")),H.styleClasses.textClass&&(y.textClass=xt(H.styleClasses.textClass,y.textClass||""))),y.map.length==0&&y.map.push(0,0,y.content.appendChild(Xi(s.display.measure))),w==0?(c.measure.map=y.map,c.measure.cache={}):((c.measure.maps||(c.measure.maps=[])).push(y.map),(c.measure.caches||(c.measure.caches=[])).push({}))}if(M){var ye=y.content.lastChild;(/\bcm-tab\b/.test(ye.className)||ye.querySelector&&ye.querySelector(".cm-tab"))&&(y.content.className="cm-tab-wrap-hack")}return et(s,"renderLine",s,c.line,y.pre),y.pre.className&&(y.textClass=xt(y.pre.className,y.textClass||"")),y}function Pa(s){var c=Je("span","\u2022","cm-invalidchar");return c.title="\\u"+s.charCodeAt(0).toString(16),c.setAttribute("aria-label",c.title),c}function ql(s,c,b,y,w,H,ne){if(c){var Se=s.splitSpaces?nl(c,s.trailingSpace):c,ye=s.cm.state.specialChars,Ze=!1,Wt;if(!ye.test(c))s.col+=c.length,Wt=document.createTextNode(Se),s.map.push(s.pos,s.pos+c.length,Wt),G&&F<9&&(Ze=!0),s.pos+=c.length;else{Wt=document.createDocumentFragment();for(var at=0;;){ye.lastIndex=at;var Tn=ye.exec(c),En=Tn?Tn.index-at:c.length-at;if(En){var ci=document.createTextNode(Se.slice(at,at+En));G&&F<9?Wt.appendChild(Je("span",[ci])):Wt.appendChild(ci),s.map.push(s.pos,s.pos+En,ci),s.col+=En,s.pos+=En}if(!Tn)break;at+=En+1;var bi=void 0;if(Tn[0]==" "){var Di=s.cm.options.tabSize,er=Di-s.col%Di;bi=Wt.appendChild(Je("span",ni(er),"cm-tab")),bi.setAttribute("role","presentation"),bi.setAttribute("cm-text"," "),s.col+=er}else Tn[0]=="\r"||Tn[0]==` +`?(bi=Wt.appendChild(Je("span",Tn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),bi.setAttribute("cm-text",Tn[0]),s.col+=1):(bi=s.cm.options.specialCharPlaceholder(Tn[0]),bi.setAttribute("cm-text",Tn[0]),G&&F<9?Wt.appendChild(Je("span",[bi])):Wt.appendChild(bi),s.col+=1);s.map.push(s.pos,s.pos+1,bi),s.pos++}}if(s.trailingSpace=Se.charCodeAt(c.length-1)==32,b||y||w||Ze||H||ne){var Fr=b||"";y&&(Fr+=y),w&&(Fr+=w);var Sr=Je("span",[Wt],Fr,H);if(ne)for(var Gr in ne)ne.hasOwnProperty(Gr)&&Gr!="style"&&Gr!="class"&&Sr.setAttribute(Gr,ne[Gr]);return s.content.appendChild(Sr)}s.content.appendChild(Wt)}}function nl(s,c){if(s.length>1&&!/ /.test(s))return s;for(var b=c,y="",w=0;wZe&&at.from<=Ze));Tn++);if(at.to>=Wt)return s(b,y,w,H,ne,Se,ye);s(b,y.slice(0,at.to-Ze),w,H,null,Se,ye),H=null,y=y.slice(at.to-Ze),Ze=at.to}}}function No(s,c,b,y){var w=!y&&b.widgetNode;w&&s.map.push(s.pos,s.pos+c,w),!y&&s.cm.display.input.needsContentAttribute&&(w||(w=s.content.appendChild(document.createElement("span"))),w.setAttribute("cm-marker",b.id)),w&&(s.cm.display.input.setUneditable(w),s.content.appendChild(w)),s.pos+=c,s.trailingSpace=!1}function go(s,c,b){var y=s.markedSpans,w=s.text,H=0;if(!y){for(var ne=1;neye||zo.collapsed&&yr.to==ye&&yr.from==ye)){if(yr.to!=null&&yr.to!=ye&&En>yr.to&&(En=yr.to,bi=""),zo.className&&(ci+=" "+zo.className),zo.css&&(Tn=(Tn?Tn+";":"")+zo.css),zo.startStyle&&yr.from==ye&&(Di+=" "+zo.startStyle),zo.endStyle&&yr.to==En&&(Gr||(Gr=[])).push(zo.endStyle,yr.to),zo.title&&((Fr||(Fr={})).title=zo.title),zo.attributes)for(var cs in zo.attributes)(Fr||(Fr={}))[cs]=zo.attributes[cs];zo.collapsed&&(!er||cr(er.marker,zo)<0)&&(er=yr)}else yr.from>ye&&En>yr.from&&(En=yr.from)}if(Gr)for(var ll=0;ll=Se)break;for(var yu=Math.min(Se,En);;){if(Wt){var Kl=ye+Wt.length;if(!er){var qs=Kl>yu?Wt.slice(0,yu-ye):Wt;c.addToken(c,qs,at?at+ci:ci,Di,ye+qs.length==En?bi:"",Tn,Fr)}if(Kl>=yu){Wt=Wt.slice(yu-ye),ye=yu;break}ye=Kl,Di=""}Wt=w.slice(H,H=b[Ze++]),at=Go(b[Ze++],c.cm.options)}}}function Ot(s,c,b){this.line=c,this.rest=Wr(c),this.size=this.rest?Ve(Jn(this.rest))-b+1:1,this.node=this.text=null,this.hidden=pi(s,c)}function Pr(s,c,b){for(var y=[],w,H=c;H2&&H.push((ye.bottom+Ze.top)/2-b.top)}}H.push(b.bottom-b.top)}}function il(s,c,b){if(s.line==c)return{map:s.measure.map,cache:s.measure.cache};for(var y=0;yb)return{map:s.measure.maps[w],cache:s.measure.caches[w],before:!0}}function rl(s,c){c=Ki(c);var b=Ve(c),y=s.display.externalMeasured=new Ot(s.doc,c,b);y.lineN=b;var w=y.built=Zt(s,y);return y.text=w.pre,Le(s.display.lineMeasure,w.pre),y}function hu(s,c,b,y){return _s(s,os(s,c),b,y)}function Ga(s,c){if(c>=s.display.viewFrom&&c=b.lineN&&cc)&&(H=ye-Se,w=H-1,c>=ye&&(ne="right")),w!=null){if(y=s[Ze+2],Se==ye&&b==(y.insertLeft?"left":"right")&&(ne=b),b=="left"&&w==0)for(;Ze&&s[Ze-2]==s[Ze-3]&&s[Ze-1].insertLeft;)y=s[(Ze-=3)+2],ne="left";if(b=="right"&&w==ye-Se)for(;Ze=0&&(b=s[w]).left==b.right;w--);return b}function Kr(s,c,b,y){var w=Cs(c.map,b,y),H=w.node,ne=w.start,Se=w.end,ye=w.collapse,Ze;if(H.nodeType==3){for(var Wt=0;Wt<4;Wt++){for(;ne&&It(c.line.text.charAt(w.coverStart+ne));)--ne;for(;w.coverStart+Se0&&(ye=y="right");var at;s.options.lineWrapping&&(at=H.getClientRects()).length>1?Ze=at[y=="right"?at.length-1:0]:Ze=H.getBoundingClientRect()}if(G&&F<9&&!ne&&(!Ze||!Ze.left&&!Ze.right)){var Tn=H.parentNode.getClientRects()[0];Tn?Ze={left:Tn.left,right:Tn.left+gl(s.display),top:Tn.top,bottom:Tn.bottom}:Ze=Vi}for(var En=Ze.top-c.rect.top,ci=Ze.bottom-c.rect.top,bi=(En+ci)/2,Di=c.view.measure.heights,er=0;er=y.text.length?(ye=y.text.length,Ze="before"):ye<=0&&(ye=0,Ze="after"),!Se)return ne(Ze=="before"?ye-1:ye,Ze=="before");function Wt(ci,bi,Di){var er=Se[bi],Fr=er.level==1;return ne(Di?ci-1:ci,Fr!=Di)}var at=tt(Se,ye,Ze),Tn=ut,En=Wt(ye,at,Ze=="before");return Tn!=null&&(En.other=Wt(ye,Tn,Ze!="before")),En}function hc(s,c){var b=0;c=mt(s.doc,c),s.options.lineWrapping||(b=gl(s.display)*c.ch);var y=vn(s.doc,c.line),w=Uo(y)+Bo(s.display);return{left:b,right:b,top:w,bottom:w+y.height}}function zu(s,c,b,y,w){var H=ot(s,c,b);return H.xRel=w,y&&(H.outside=y),H}function du(s,c,b){var y=s.doc;if(b+=s.display.viewOffset,b<0)return zu(y.first,0,null,-1,-1);var w=Ut(y,b),H=y.first+y.size-1;if(w>H)return zu(y.first+y.size-1,vn(y,H).text.length,null,1,1);c<0&&(c=0);for(var ne=vn(y,w);;){var Se=Dn(s,ne,w,c,b),ye=Ai(ne,Se.ch+(Se.xRel>0||Se.outside>0?1:0));if(!ye)return Se;var Ze=ye.find(1);if(Ze.line==w)return Ze;ne=vn(y,w=Ze.line)}}function nr(s,c,b,y){y-=Ma(c);var w=c.text.length,H=De(function(ne){return _s(s,b,ne-1).bottom<=y},w,0);return w=De(function(ne){return _s(s,b,ne).top>y},H,w),{begin:H,end:w}}function Ks(s,c,b,y){b||(b=os(s,c));var w=Oa(s,c,_s(s,b,y),"line").top;return nr(s,c,b,w)}function qe(s,c,b,y){return s.bottom<=b?!1:s.top>b?!0:(y?s.left:s.right)>c}function Dn(s,c,b,y,w){w-=Uo(c);var H=os(s,c),ne=Ma(c),Se=0,ye=c.text.length,Ze=!0,Wt=pn(c,s.doc.direction);if(Wt){var at=(s.options.lineWrapping?Yu:Cu)(s,c,b,H,Wt,y,w);Ze=at.level!=1,Se=Ze?at.from:at.to-1,ye=Ze?at.to:at.from-1}var Tn=null,En=null,ci=De(function(mo){var yr=_s(s,H,mo);return yr.top+=ne,yr.bottom+=ne,qe(yr,y,w,!1)?(yr.top<=w&&yr.left<=y&&(Tn=mo,En=yr),!0):!1},Se,ye),bi,Di,er=!1;if(En){var Fr=y-En.left=Gr.bottom?1:0}return ci=$e(c.text,ci,1),zu(b,ci,Di,er,y-bi)}function Cu(s,c,b,y,w,H,ne){var Se=De(function(at){var Tn=w[at],En=Tn.level!=1;return qe(wa(s,ot(b,En?Tn.to:Tn.from,En?"before":"after"),"line",c,y),H,ne,!0)},0,w.length-1),ye=w[Se];if(Se>0){var Ze=ye.level!=1,Wt=wa(s,ot(b,Ze?ye.from:ye.to,Ze?"after":"before"),"line",c,y);qe(Wt,H,ne,!0)&&Wt.top>ne&&(ye=w[Se-1])}return ye}function Yu(s,c,b,y,w,H,ne){var Se=nr(s,c,y,ne),ye=Se.begin,Ze=Se.end;/\s/.test(c.text.charAt(Ze-1))&&Ze--;for(var Wt=null,at=null,Tn=0;Tn=Ze||En.to<=ye)){var ci=En.level!=1,bi=_s(s,y,ci?Math.min(Ze,En.to)-1:Math.max(ye,En.from)).right,Di=biDi)&&(Wt=En,at=Di)}}return Wt||(Wt=w[w.length-1]),Wt.fromZe&&(Wt={from:Wt.from,to:Ze,level:Wt.level}),Wt}var pl;function ml(s){if(s.cachedTextHeight!=null)return s.cachedTextHeight;if(pl==null){pl=Je("pre",null,"CodeMirror-line-like");for(var c=0;c<49;++c)pl.appendChild(document.createTextNode("x")),pl.appendChild(Je("br"));pl.appendChild(document.createTextNode("x"))}Le(s.measure,pl);var b=pl.offsetHeight/50;return b>3&&(s.cachedTextHeight=b),Ie(s.measure),b||1}function gl(s){if(s.cachedCharWidth!=null)return s.cachedCharWidth;var c=Je("span","xxxxxxxxxx"),b=Je("pre",[c],"CodeMirror-line-like");Le(s.measure,b);var y=c.getBoundingClientRect(),w=(y.right-y.left)/10;return w>2&&(s.cachedCharWidth=w),w||10}function Xu(s){for(var c=s.display,b={},y={},w=c.gutters.clientLeft,H=c.gutters.firstChild,ne=0;H;H=H.nextSibling,++ne){var Se=s.display.gutterSpecs[ne].className;b[Se]=H.offsetLeft+H.clientLeft+w,y[Se]=H.clientWidth}return{fixedPos:Tu(c),gutterTotalWidth:c.gutters.offsetWidth,gutterLeft:b,gutterWidth:y,wrapperWidth:c.wrapper.clientWidth}}function Tu(s){return s.scroller.getBoundingClientRect().left-s.sizer.getBoundingClientRect().left}function Ca(s){var c=ml(s.display),b=s.options.lineWrapping,y=b&&Math.max(5,s.display.scroller.clientWidth/gl(s.display)-3);return function(w){if(pi(s.doc,w))return 0;var H=0;if(w.widgets)for(var ne=0;ne0&&(Ze=vn(s.doc,ye.line).text).length==ye.ch){var Wt=Qe(Ze,Ze.length,s.options.tabSize)-Ze.length;ye=ot(ye.line,Math.max(0,Math.round((H-fl(s.display).left)/gl(s.display))-Wt))}return ye}function as(s,c){if(c>=s.display.viewTo||(c-=s.display.viewFrom,c<0))return null;for(var b=s.display.view,y=0;yc)&&(w.updateLineNumbers=c),s.curOp.viewChanged=!0,c>=w.viewTo)qt&&eo(s.doc,c)w.viewFrom?Wa(s):(w.viewFrom+=y,w.viewTo+=y);else if(c<=w.viewFrom&&b>=w.viewTo)Wa(s);else if(c<=w.viewFrom){var H=js(s,b,b+y,1);H?(w.view=w.view.slice(H.index),w.viewFrom=H.lineN,w.viewTo+=y):Wa(s)}else if(b>=w.viewTo){var ne=js(s,c,c,-1);ne?(w.view=w.view.slice(0,ne.index),w.viewTo=ne.lineN):Wa(s)}else{var Se=js(s,c,c,-1),ye=js(s,b,b+y,1);Se&&ye?(w.view=w.view.slice(0,Se.index).concat(Pr(s,Se.lineN,ye.lineN)).concat(w.view.slice(ye.index)),w.viewTo+=y):Wa(s)}var Ze=w.externalMeasured;Ze&&(b=w.lineN&&c=y.viewTo)){var H=y.view[as(s,c)];if(H.node!=null){var ne=H.changes||(H.changes=[]);ce(ne,b)==-1&&ne.push(b)}}}function Wa(s){s.display.viewFrom=s.display.viewTo=s.doc.first,s.display.view=[],s.display.viewOffset=0}function js(s,c,b,y){var w=as(s,c),H,ne=s.display.view;if(!qt||b==s.doc.first+s.doc.size)return{index:w,lineN:b};for(var Se=s.display.viewFrom,ye=0;ye0){if(w==ne.length-1)return null;H=Se+ne[w].size-c,w++}else H=Se-c;c+=H,b+=H}for(;eo(s.doc,b)!=b;){if(w==(y<0?0:ne.length-1))return null;b+=y*ne[w-(y<0?1:0)].size,w+=y}return{index:w,lineN:b}}function sa(s,c,b){var y=s.display,w=y.view;w.length==0||c>=y.viewTo||b<=y.viewFrom?(y.view=Pr(s,c,b),y.viewFrom=c):(y.viewFrom>c?y.view=Pr(s,c,y.viewFrom).concat(y.view):y.viewFromb&&(y.view=y.view.slice(0,as(s,b)))),y.viewTo=b}function Gs(s){for(var c=s.display.view,b=0,y=0;y=s.display.viewTo||Se.to().line0?c.blinker=setInterval(function(){s.hasFocus()||fu(s),c.cursorDiv.style.visibility=(b=!b)?"":"hidden"},s.options.cursorBlinkRate):s.options.cursorBlinkRate<0&&(c.cursorDiv.style.visibility="hidden")}}function la(s){s.state.focused||(s.display.input.focus(),yo(s))}function La(s){s.state.delayingBlurEvent=!0,setTimeout(function(){s.state.delayingBlurEvent&&(s.state.delayingBlurEvent=!1,fu(s))},100)}function yo(s,c){s.state.delayingBlurEvent&&(s.state.delayingBlurEvent=!1),s.options.readOnly!="nocursor"&&(s.state.focused||(et(s,"focus",s,c),s.state.focused=!0,Pt(s.display.wrapper,"CodeMirror-focused"),!s.curOp&&s.display.selForContextMenu!=s.doc.sel&&(s.display.input.reset(),M&&setTimeout(function(){return s.display.input.reset(!0)},20)),s.display.input.receivedFocus()),Ko(s))}function fu(s,c){s.state.delayingBlurEvent||(s.state.focused&&(et(s,"blur",s,c),s.state.focused=!1,Ne(s.display.wrapper,"CodeMirror-focused")),clearInterval(s.display.blinker),setTimeout(function(){s.state.focused||(s.display.shift=!1)},150))}function Ir(s){for(var c=s.display,b=c.lineDiv.offsetTop,y=0;y.005||Wt<-.005)&&(Nt(w.line,ne),dc(w.line),w.rest))for(var at=0;ats.display.sizerWidth){var Tn=Math.ceil(Se/gl(s.display));Tn>s.display.maxLineLength&&(s.display.maxLineLength=Tn,s.display.maxLine=w.line,s.display.maxLineChanged=!0)}}}}function dc(s){if(s.widgets)for(var c=0;c=ne&&(H=Ut(c,Uo(vn(c,ye))-s.wrapper.clientHeight),ne=ye)}return{from:H,to:Math.max(ne,H+1)}}function Qu(s,c){if(!zt(s,"scrollCursorIntoView")){var b=s.display,y=b.sizer.getBoundingClientRect(),w=null;if(c.top+y.top<0?w=!0:c.bottom+y.top>(window.innerHeight||document.documentElement.clientHeight)&&(w=!1),w!=null&&!Xe){var H=Je("div","\u200B",null,`position: absolute; + top: `+(c.top-b.viewOffset-Bo(s.display))+`px; + height: `+(c.bottom-c.top+ja(s)+b.barHeight)+`px; + left: `+c.left+"px; width: "+Math.max(2,c.right-c.left)+"px;");s.display.lineSpace.appendChild(H),H.scrollIntoView(w),s.display.lineSpace.removeChild(H)}}}function Ju(s,c,b,y){y==null&&(y=0);var w;!s.options.lineWrapping&&c==b&&(c=c.ch?ot(c.line,c.sticky=="before"?c.ch-1:c.ch,"after"):c,b=c.sticky=="before"?ot(c.line,c.ch+1,"before"):c);for(var H=0;H<5;H++){var ne=!1,Se=wa(s,c),ye=!b||b==c?Se:wa(s,b);w={left:Math.min(Se.left,ye.left),top:Math.min(Se.top,ye.top)-y,right:Math.max(Se.left,ye.left),bottom:Math.max(Se.bottom,ye.bottom)+y};var Ze=wc(s,w),Wt=s.doc.scrollTop,at=s.doc.scrollLeft;if(Ze.scrollTop!=null&&(Dl(s,Ze.scrollTop),Math.abs(s.doc.scrollTop-Wt)>1&&(ne=!0)),Ze.scrollLeft!=null&&(bl(s,Ze.scrollLeft),Math.abs(s.doc.scrollLeft-at)>1&&(ne=!0)),!ne)break}return w}function tu(s,c){var b=wc(s,c);b.scrollTop!=null&&Dl(s,b.scrollTop),b.scrollLeft!=null&&bl(s,b.scrollLeft)}function wc(s,c){var b=s.display,y=ml(s.display);c.top<0&&(c.top=0);var w=s.curOp&&s.curOp.scrollTop!=null?s.curOp.scrollTop:b.scroller.scrollTop,H=Rl(s),ne={};c.bottom-c.top>H&&(c.bottom=c.top+H);var Se=s.doc.height+Ia(b),ye=c.topSe-y;if(c.topw+H){var Wt=Math.min(c.top,(Ze?Se:c.bottom)-H);Wt!=w&&(ne.scrollTop=Wt)}var at=s.options.fixedGutter?0:b.gutters.offsetWidth,Tn=s.curOp&&s.curOp.scrollLeft!=null?s.curOp.scrollLeft:b.scroller.scrollLeft-at,En=qa(s)-b.gutters.offsetWidth,ci=c.right-c.left>En;return ci&&(c.right=c.left+En),c.left<10?ne.scrollLeft=0:c.leftEn+Tn-3&&(ne.scrollLeft=c.right+(ci?0:10)-En),ne}function Uu(s,c){c!=null&&(Ls(s),s.curOp.scrollTop=(s.curOp.scrollTop==null?s.doc.scrollTop:s.curOp.scrollTop)+c)}function vl(s){Ls(s);var c=s.getCursor();s.curOp.scrollToPos={from:c,to:c,margin:s.options.cursorScrollMargin}}function Zs(s,c,b){(c!=null||b!=null)&&Ls(s),c!=null&&(s.curOp.scrollLeft=c),b!=null&&(s.curOp.scrollTop=b)}function Ao(s,c){Ls(s),s.curOp.scrollToPos=c}function Ls(s){var c=s.curOp.scrollToPos;if(c){s.curOp.scrollToPos=null;var b=hc(s,c.from),y=hc(s,c.to);qu(s,b,y,c.margin)}}function qu(s,c,b,y){var w=wc(s,{left:Math.min(c.left,b.left),top:Math.min(c.top,b.top)-y,right:Math.max(c.right,b.right),bottom:Math.max(c.bottom,b.bottom)+y});Zs(s,w.scrollLeft,w.scrollTop)}function Dl(s,c){Math.abs(s.doc.scrollTop-c)<2||(v||W(s,{top:c}),yl(s,c,!0),v&&W(s),zn(s,100))}function yl(s,c,b){c=Math.max(0,Math.min(s.display.scroller.scrollHeight-s.display.scroller.clientHeight,c)),!(s.display.scroller.scrollTop==c&&!b)&&(s.doc.scrollTop=c,s.display.scrollbars.setScrollTop(c),s.display.scroller.scrollTop!=c&&(s.display.scroller.scrollTop=c))}function bl(s,c,b,y){c=Math.max(0,Math.min(c,s.display.scroller.scrollWidth-s.display.scroller.clientWidth)),!((b?c==s.doc.scrollLeft:Math.abs(s.doc.scrollLeft-c)<2)&&!y)&&(s.doc.scrollLeft=c,He(s),s.display.scroller.scrollLeft!=c&&(s.display.scroller.scrollLeft=c),s.display.scrollbars.setScrollLeft(c))}function xl(s){var c=s.display,b=c.gutters.offsetWidth,y=Math.round(s.doc.height+Ia(s.display));return{clientHeight:c.scroller.clientHeight,viewHeight:c.wrapper.clientHeight,scrollWidth:c.scroller.scrollWidth,clientWidth:c.scroller.clientWidth,viewWidth:c.wrapper.clientWidth,barLeft:s.options.fixedGutter?b:0,docHeight:y,scrollHeight:y+ja(s)+c.barHeight,nativeBarWidth:c.nativeBarWidth,gutterWidth:b}}var pu=function(s,c,b){this.cm=b;var y=this.vert=Je("div",[Je("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),w=this.horiz=Je("div",[Je("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");y.tabIndex=w.tabIndex=-1,s(y),s(w),Kt(y,"scroll",function(){y.clientHeight&&c(y.scrollTop,"vertical")}),Kt(w,"scroll",function(){w.clientWidth&&c(w.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,G&&F<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};pu.prototype.update=function(s){var c=s.scrollWidth>s.clientWidth+1,b=s.scrollHeight>s.clientHeight+1,y=s.nativeBarWidth;if(b){this.vert.style.display="block",this.vert.style.bottom=c?y+"px":"0";var w=s.viewHeight-(c?y:0);this.vert.firstChild.style.height=Math.max(0,s.scrollHeight-s.clientHeight+w)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(c){this.horiz.style.display="block",this.horiz.style.right=b?y+"px":"0",this.horiz.style.left=s.barLeft+"px";var H=s.viewWidth-s.barLeft-(b?y:0);this.horiz.firstChild.style.width=Math.max(0,s.scrollWidth-s.clientWidth+H)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&s.clientHeight>0&&(y==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:b?y:0,bottom:c?y:0}},pu.prototype.setScrollLeft=function(s){this.horiz.scrollLeft!=s&&(this.horiz.scrollLeft=s),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},pu.prototype.setScrollTop=function(s){this.vert.scrollTop!=s&&(this.vert.scrollTop=s),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},pu.prototype.zeroWidthHack=function(){var s=Pe&&!we?"12px":"18px";this.horiz.style.height=this.vert.style.width=s,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new le,this.disableVert=new le},pu.prototype.enableZeroWidthBar=function(s,c,b){s.style.pointerEvents="auto";function y(){var w=s.getBoundingClientRect(),H=b=="vert"?document.elementFromPoint(w.right-1,(w.top+w.bottom)/2):document.elementFromPoint((w.right+w.left)/2,w.bottom-1);H!=s?s.style.pointerEvents="none":c.set(1e3,y)}c.set(1e3,y)},pu.prototype.clear=function(){var s=this.horiz.parentNode;s.removeChild(this.horiz),s.removeChild(this.vert)};var Ys=function(){};Ys.prototype.update=function(){return{bottom:0,right:0}},Ys.prototype.setScrollLeft=function(){},Ys.prototype.setScrollTop=function(){},Ys.prototype.clear=function(){};function Wl(s,c){c||(c=xl(s));var b=s.display.barWidth,y=s.display.barHeight;mu(s,c);for(var w=0;w<4&&b!=s.display.barWidth||y!=s.display.barHeight;w++)b!=s.display.barWidth&&s.options.lineWrapping&&Ir(s),mu(s,xl(s)),b=s.display.barWidth,y=s.display.barHeight}function mu(s,c){var b=s.display,y=b.scrollbars.update(c);b.sizer.style.paddingRight=(b.barWidth=y.right)+"px",b.sizer.style.paddingBottom=(b.barHeight=y.bottom)+"px",b.heightForcer.style.borderBottom=y.bottom+"px solid transparent",y.right&&y.bottom?(b.scrollbarFiller.style.display="block",b.scrollbarFiller.style.height=y.bottom+"px",b.scrollbarFiller.style.width=y.right+"px"):b.scrollbarFiller.style.display="",y.bottom&&s.options.coverGutterNextToScrollbar&&s.options.fixedGutter?(b.gutterFiller.style.display="block",b.gutterFiller.style.height=y.bottom+"px",b.gutterFiller.style.width=c.gutterWidth+"px"):b.gutterFiller.style.display=""}var nu={native:pu,null:Ys};function Nu(s){s.display.scrollbars&&(s.display.scrollbars.clear(),s.display.scrollbars.addClass&&Ne(s.display.wrapper,s.display.scrollbars.addClass)),s.display.scrollbars=new nu[s.options.scrollbarStyle](function(c){s.display.wrapper.insertBefore(c,s.display.scrollbarFiller),Kt(c,"mousedown",function(){s.state.focused&&setTimeout(function(){return s.display.input.focus()},0)}),c.setAttribute("cm-not-content","true")},function(c,b){b=="horizontal"?bl(s,c):Dl(s,c)},s),s.display.scrollbars.addClass&&Pt(s.display.wrapper,s.display.scrollbars.addClass)}var Ws=0;function ys(s){s.curOp={cm:s,viewChanged:!1,startHeight:s.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ws},xa(s.curOp)}function iu(s){var c=s.curOp;c&&wn(c,function(b){for(var y=0;y=b.viewTo)||b.maxLineChanged&&c.options.lineWrapping,s.update=s.mustUpdate&&new $n(c,s.mustUpdate&&{top:s.scrollTop,ensure:s.scrollToPos},s.forceUpdate)}function Re(s){s.updatedDisplay=s.mustUpdate&&E(s.cm,s.update)}function dt(s){var c=s.cm,b=c.display;s.updatedDisplay&&Ir(c),s.barMeasure=xl(c),b.maxLineChanged&&!c.options.lineWrapping&&(s.adjustWidthTo=hu(c,b.maxLine,b.maxLine.text.length).left+3,c.display.sizerWidth=s.adjustWidthTo,s.barMeasure.scrollWidth=Math.max(b.scroller.clientWidth,b.sizer.offsetLeft+s.adjustWidthTo+ja(c)+c.display.barWidth),s.maxScrollLeft=Math.max(0,b.sizer.offsetLeft+s.adjustWidthTo-qa(c))),(s.updatedDisplay||s.selectionChanged)&&(s.preparedSelection=b.input.prepareSelection())}function bt(s){var c=s.cm;s.adjustWidthTo!=null&&(c.display.sizer.style.minWidth=s.adjustWidthTo+"px",s.maxScrollLeft=s.display.viewTo)){var b=+new Date+s.options.workTime,y=Yi(s,c.highlightFrontier),w=[];c.iter(y.line,Math.min(c.first+c.size,s.display.viewTo+500),function(H){if(y.line>=s.display.viewFrom){var ne=H.styles,Se=H.text.length>s.options.maxHighlightLength?_n(c.mode,y.state):null,ye=st(s,H,y,!0);Se&&(y.state=Se),H.styles=ye.styles;var Ze=H.styleClasses,Wt=ye.classes;Wt?H.styleClasses=Wt:Ze&&(H.styleClasses=null);for(var at=!ne||ne.length!=H.styles.length||Ze!=Wt&&(!Ze||!Wt||Ze.bgClass!=Wt.bgClass||Ze.textClass!=Wt.textClass),Tn=0;!at&&Tnb)return zn(s,s.options.workDelay),!0}),c.highlightFrontier=y.line,c.modeFrontier=Math.max(c.modeFrontier,y.line),w.length&&Dt(s,function(){for(var H=0;H=b.viewFrom&&c.visible.to<=b.viewTo&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo)&&b.renderedView==b.view&&Gs(s)==0)return!1;it(s)&&(Wa(s),c.dims=Xu(s));var w=y.first+y.size,H=Math.max(c.visible.from-s.options.viewportMargin,y.first),ne=Math.min(w,c.visible.to+s.options.viewportMargin);b.viewFromne&&b.viewTo-ne<20&&(ne=Math.min(w,b.viewTo)),qt&&(H=eo(s.doc,H),ne=Lo(s.doc,ne));var Se=H!=b.viewFrom||ne!=b.viewTo||b.lastWrapHeight!=c.wrapperHeight||b.lastWrapWidth!=c.wrapperWidth;sa(s,H,ne),b.viewOffset=Uo(vn(s.doc,b.viewFrom)),s.display.mover.style.top=b.viewOffset+"px";var ye=Gs(s);if(!Se&&ye==0&&!c.force&&b.renderedView==b.view&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo))return!1;var Ze=gi(s);return ye>4&&(b.lineDiv.style.display="none"),J(s,b.updateLineNumbers,c.dims),ye>4&&(b.lineDiv.style.display=""),b.renderedView=b.view,ti(Ze),Ie(b.cursorDiv),Ie(b.selectionDiv),b.gutters.style.height=b.sizer.style.minHeight=0,Se&&(b.lastWrapHeight=c.wrapperHeight,b.lastWrapWidth=c.wrapperWidth,zn(s,400)),b.updateLineNumbers=null,!0}function P(s,c){for(var b=c.viewport,y=!0;;y=!1){if(!y||!s.options.lineWrapping||c.oldDisplayWidth==qa(s)){if(b&&b.top!=null&&(b={top:Math.min(s.doc.height+Ia(s.display)-Rl(s),b.top)}),c.visible=Co(s.display,s.doc,b),c.visible.from>=s.display.viewFrom&&c.visible.to<=s.display.viewTo)break}else y&&(c.visible=Co(s.display,s.doc,b));if(!E(s,c))break;Ir(s);var w=xl(s);Va(s),Wl(s,w),Te(s,w),c.force=!1}c.signal(s,"update",s),(s.display.viewFrom!=s.display.reportedViewFrom||s.display.viewTo!=s.display.reportedViewTo)&&(c.signal(s,"viewportChange",s,s.display.viewFrom,s.display.viewTo),s.display.reportedViewFrom=s.display.viewFrom,s.display.reportedViewTo=s.display.viewTo)}function W(s,c){var b=new $n(s,c);if(E(s,b)){Ir(s),P(s,b);var y=xl(s);Va(s),Wl(s,y),Te(s,y),b.finish()}}function J(s,c,b){var y=s.display,w=s.options.lineNumbers,H=y.lineDiv,ne=H.firstChild;function Se(ci){var bi=ci.nextSibling;return M&&Pe&&s.display.currentWheelTarget==ci?ci.style.display="none":ci.parentNode.removeChild(ci),bi}for(var ye=y.view,Ze=y.viewFrom,Wt=0;Wt-1&&(En=!1),ga(s,at,Ze,b)),En&&(Ie(at.lineNumber),at.lineNumber.appendChild(document.createTextNode(Wn(s.options,Ze)))),ne=at.node.nextSibling}Ze+=at.size}for(;ne;)ne=Se(ne)}function ge(s){var c=s.gutters.offsetWidth;s.sizer.style.marginLeft=c+"px"}function Te(s,c){s.display.sizer.style.minHeight=c.docHeight+"px",s.display.heightForcer.style.top=c.docHeight+"px",s.display.gutters.style.height=c.docHeight+s.display.barHeight+ja(s)+"px"}function He(s){var c=s.display,b=c.view;if(!(!c.alignWidgets&&(!c.gutters.firstChild||!s.options.fixedGutter))){for(var y=Tu(c)-c.scroller.scrollLeft+s.doc.scrollLeft,w=c.gutters.offsetWidth,H=y+"px",ne=0;nene.clientWidth,ye=ne.scrollHeight>ne.clientHeight;if(y&&Se||w&&ye){if(w&&Pe&&M){e:for(var Ze=c.target,Wt=H.view;Ze!=ne;Ze=Ze.parentNode)for(var at=0;at=0&&fn(s,y.to())<=0)return b}return-1};var vi=function(s,c){this.anchor=s,this.head=c};vi.prototype.from=function(){return Rt(this.anchor,this.head)},vi.prototype.to=function(){return L(this.anchor,this.head)},vi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Pi(s,c,b){var y=s&&s.options.selectionsMayTouch,w=c[b];c.sort(function(Tn,En){return fn(Tn.from(),En.from())}),b=ce(c,w);for(var H=1;H0:ye>=0){var Ze=Rt(Se.from(),ne.from()),Wt=L(Se.to(),ne.to()),at=Se.empty()?ne.from()==ne.head:Se.from()==Se.head;H<=b&&--b,c.splice(--H,2,new vi(at?Wt:Ze,at?Ze:Wt))}}return new si(c,b)}function Mr(s,c){return new si([new vi(s,c||s)],0)}function Xr(s){return s.text?ot(s.from.line+s.text.length-1,Jn(s.text).length+(s.text.length==1?s.from.ch:0)):s.to}function ui(s,c){if(fn(s,c.from)<0)return s;if(fn(s,c.to)<=0)return Xr(c);var b=s.line+c.text.length-(c.to.line-c.from.line)-1,y=s.ch;return s.line==c.to.line&&(y+=Xr(c).ch-c.to.ch),ot(b,y)}function io(s,c){for(var b=[],y=0;y1&&s.remove(Se.line+1,ci-1),s.insert(Se.line+1,er)}mi(s,"change",s,c)}function _r(s,c,b){function y(w,H,ne){if(w.linked)for(var Se=0;Se1&&!s.done[s.done.length-2].ranges)return s.done.pop(),Jn(s.done)}function fo(s,c,b,y){var w=s.history;w.undone.length=0;var H=+new Date,ne,Se;if((w.lastOp==y||w.lastOrigin==c.origin&&c.origin&&(c.origin.charAt(0)=="+"&&w.lastModTime>H-(s.cm?s.cm.options.historyEventDelay:500)||c.origin.charAt(0)=="*"))&&(ne=zr(w,w.lastOp==y)))Se=Jn(ne.changes),fn(c.from,c.to)==0&&fn(c.from,Se.to)==0?Se.to=Xr(c):ne.changes.push(ho(s,c));else{var ye=Jn(w.done);for((!ye||!ye.ranges)&&Ta(s.sel,w.done),ne={changes:[ho(s,c)],generation:w.generation},w.done.push(ne);w.done.length>w.undoDepth;)w.done.shift(),w.done[0].ranges||w.done.shift()}w.done.push(b),w.generation=++w.maxGeneration,w.lastModTime=w.lastSelTime=H,w.lastOp=w.lastSelOp=y,w.lastOrigin=w.lastSelOrigin=c.origin,Se||et(s,"historyAdded")}function un(s,c,b,y){var w=c.charAt(0);return w=="*"||w=="+"&&b.ranges.length==y.ranges.length&&b.somethingSelected()==y.somethingSelected()&&new Date-s.history.lastSelTime<=(s.cm?s.cm.options.historyEventDelay:500)}function da(s,c,b,y){var w=s.history,H=y&&y.origin;b==w.lastSelOp||H&&w.lastSelOrigin==H&&(w.lastModTime==w.lastSelTime&&w.lastOrigin==H||un(s,H,Jn(w.done),c))?w.done[w.done.length-1]=c:Ta(c,w.done),w.lastSelTime=+new Date,w.lastSelOrigin=H,w.lastSelOp=b,y&&y.clearRedo!==!1&&$t(w.undone)}function Ta(s,c){var b=Jn(c);b&&b.ranges&&b.equals(s)||c.push(s)}function es(s,c,b,y){var w=c["spans_"+s.id],H=0;s.iter(Math.max(s.first,b),Math.min(s.first+s.size,y),function(ne){ne.markedSpans&&((w||(w=c["spans_"+s.id]={}))[H]=ne.markedSpans),++H})}function Fo(s){if(!s)return null;for(var c,b=0;b-1&&(Jn(Se)[at]=Ze[at],delete Ze[at])}}return y}function zs(s,c,b,y){if(y){var w=s.anchor;if(b){var H=fn(c,w)<0;H!=fn(b,w)<0?(w=c,c=b):H!=fn(c,b)<0&&(c=b)}return new vi(w,c)}else return new vi(b||c,c)}function ko(s,c,b,y,w){w==null&&(w=s.cm&&(s.cm.display.shift||s.extend)),g(s,new si([zs(s.sel.primary(),c,b,w)],0),y)}function Ho(s,c,b){for(var y=[],w=s.cm&&(s.cm.display.shift||s.extend),H=0;H=c.ch:Se.to>c.ch))){if(w&&(et(ye,"beforeCursorEnter"),ye.explicitlyCleared))if(H.markedSpans){--ne;continue}else break;if(!ye.atomic)continue;if(b){var at=ye.find(y<0?1:-1),Tn=void 0;if((y<0?Wt:Ze)&&(at=Hr(s,at,-y,at&&at.line==c.line?H:null)),at&&at.line==c.line&&(Tn=fn(at,b))&&(y<0?Tn<0:Tn>0))return wi(s,at,c,y,w)}var En=ye.find(y<0?-1:1);return(y<0?Ze:Wt)&&(En=Hr(s,En,y,En.line==c.line?H:null)),En?wi(s,En,c,y,w):null}}return c}function Cr(s,c,b,y,w){var H=y||1,ne=wi(s,c,b,H,w)||!w&&wi(s,c,b,H,!0)||wi(s,c,b,-H,w)||!w&&wi(s,c,b,-H,!0);return ne||(s.cantEdit=!0,ot(s.first,0))}function Hr(s,c,b,y){return b<0&&c.ch==0?c.line>s.first?mt(s,ot(c.line-1)):null:b>0&&c.ch==(y||vn(s,c.line)).text.length?c.line=0;--w)Vr(s,{from:y[w].from,to:y[w].to,text:w?[""]:c.text,origin:c.origin});else Vr(s,c)}}function Vr(s,c){if(!(c.text.length==1&&c.text[0]==""&&fn(c.from,c.to)==0)){var b=io(s,c);fo(s,c,b,s.cm?s.cm.curOp.id:NaN),Ds(s,c,b,Ei(s,c));var y=[];_r(s,function(w,H){!H&&ce(y,w.history)==-1&&(ra(w.history,c),y.push(w.history)),Ds(w,c,null,Ei(w,c))})}}function $o(s,c,b){var y=s.cm&&s.cm.state.suppressEdits;if(!(y&&!b)){for(var w=s.history,H,ne=s.sel,Se=c=="undo"?w.done:w.undone,ye=c=="undo"?w.undone:w.done,Ze=0;Ze=0;--En){var ci=Tn(En);if(ci)return ci.v}}}}function Rs(s,c){if(c!=0&&(s.first+=c,s.sel=new si(Mn(s.sel.ranges,function(w){return new vi(ot(w.anchor.line+c,w.anchor.ch),ot(w.head.line+c,w.head.ch))}),s.sel.primIndex),s.cm)){Eo(s.cm,s.first,s.first-c,c);for(var b=s.cm.display,y=b.viewFrom;ys.lastLine())){if(c.from.lineH&&(c={from:c.from,to:ot(H,vn(s,H).text.length),text:[c.text[0]],origin:c.origin}),c.removed=Fn(s,c.from,c.to),b||(b=io(s,c)),s.cm?Ps(s.cm,c,y):pr(s,c,y),K(s,b,St),s.cantEdit&&Cr(s,ot(s.firstLine(),0))&&(s.cantEdit=!1)}}function Ps(s,c,b){var y=s.doc,w=s.display,H=c.from,ne=c.to,Se=!1,ye=H.line;s.options.lineWrapping||(ye=Ve(Ki(vn(y,H.line))),y.iter(ye,ne.line+1,function(En){if(En==w.maxLine)return Se=!0,!0})),y.sel.contains(c.from,c.to)>-1&&dn(s),pr(y,c,b,Ca(s)),s.options.lineWrapping||(y.iter(ye,H.line+c.text.length,function(En){var ci=oa(En);ci>w.maxLineLength&&(w.maxLine=En,w.maxLineLength=ci,w.maxLineChanged=!0,Se=!1)}),Se&&(s.curOp.updateMaxLine=!0)),Ln(y,H.line),zn(s,400);var Ze=c.text.length-(ne.line-H.line)-1;c.full?Eo(s):H.line==ne.line&&c.text.length==1&&!to(s.doc,c)?vo(s,H.line,"text"):Eo(s,H.line,ne.line+1,Ze);var Wt=rn(s,"changes"),at=rn(s,"change");if(at||Wt){var Tn={from:H,to:ne,text:c.text,removed:c.removed,origin:c.origin};at&&mi(s,"change",s,Tn),Wt&&(s.curOp.changeObjs||(s.curOp.changeObjs=[])).push(Tn)}s.display.selForContextMenu=null}function ol(s,c,b,y,w){var H;y||(y=b),fn(y,b)<0&&(H=[y,b],b=H[0],y=H[1]),typeof c=="string"&&(c=s.splitLines(c)),Or(s,{from:b,to:y,text:c,origin:w})}function Ts(s,c,b,y){b1||!(this.children[0]instanceof A))){var Se=[];this.collapse(Se),this.children=[new A(Se)],this.children[0].parent=this}},collapse:function(s){for(var c=0;c50){for(var ne=w.lines.length%25+25,Se=ne;Se10);s.parent.maybeSpill()}},iterN:function(s,c,b){for(var y=0;ys.display.maxLineLength&&(s.display.maxLine=Ze,s.display.maxLineLength=Wt,s.display.maxLineChanged=!0)}y!=null&&s&&this.collapsed&&Eo(s,y,w+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,s&&gn(s.doc)),s&&mi(s,"markerCleared",s,this,y,w),c&&iu(s),this.parent&&this.parent.clear()}},Y.prototype.find=function(s,c){s==null&&this.type=="bookmark"&&(s=1);for(var b,y,w=0;w0||ne==0&&H.clearWhenEmpty!==!1)return H;if(H.replacedWith&&(H.collapsed=!0,H.widgetNode=Ye("span",[H.replacedWith],"CodeMirror-widget"),y.handleMouseEvents||H.widgetNode.setAttribute("cm-ignore-events","true"),y.insertLeft&&(H.widgetNode.insertLeft=!0)),H.collapsed){if(hr(s,c.line,c,b,H)||c.line!=b.line&&hr(s,b.line,c,b,H))throw new Error("Inserting collapsed marker partially overlapping an existing one");Xt()}H.addToHistory&&fo(s,{from:c,to:b,origin:"markText"},s.sel,NaN);var Se=c.line,ye=s.cm,Ze;if(s.iter(Se,b.line+1,function(at){ye&&H.collapsed&&!ye.options.lineWrapping&&Ki(at)==ye.display.maxLine&&(Ze=!0),H.collapsed&&Se!=c.line&&Nt(at,0),Qr(at,new Li(H,Se==c.line?c.ch:null,Se==b.line?b.ch:null)),++Se}),H.collapsed&&s.iter(c.line,b.line+1,function(at){pi(s,at)&&Nt(at,0)}),H.clearOnEnter&&Kt(H,"beforeCursorEnter",function(){return H.clear()}),H.readOnly&&(xi(),(s.history.done.length||s.history.undone.length)&&s.clearHistory()),H.collapsed&&(H.id=++se,H.atomic=!0),ye){if(Ze&&(ye.curOp.updateMaxLine=!0),H.collapsed)Eo(ye,c.line,b.line+1);else if(H.className||H.startStyle||H.endStyle||H.css||H.attributes||H.title)for(var Wt=c.line;Wt<=b.line;Wt++)vo(ye,Wt,"text");H.atomic&&gn(ye.doc),mi(ye,"markerAdded",ye,H)}return H}var ft=function(s,c){this.markers=s,this.primary=c;for(var b=0;b=0;ye--)Or(this,y[ye]);Se?d(this,Se):this.cm&&vl(this.cm)}),undo:ln(function(){$o(this,"undo")}),redo:ln(function(){$o(this,"redo")}),undoSelection:ln(function(){$o(this,"undo",!0)}),redoSelection:ln(function(){$o(this,"redo",!0)}),setExtending:function(s){this.extend=s},getExtending:function(){return this.extend},historySize:function(){for(var s=this.history,c=0,b=0,y=0;y=s.ch)&&c.push(w.marker.parent||w.marker)}return c},findMarks:function(s,c,b){s=mt(this,s),c=mt(this,c);var y=[],w=s.line;return this.iter(s.line,c.line+1,function(H){var ne=H.markedSpans;if(ne)for(var Se=0;Se=ye.to||ye.from==null&&w!=s.line||ye.from!=null&&w==c.line&&ye.from>=c.ch)&&(!b||b(ye.marker))&&y.push(ye.marker.parent||ye.marker)}++w}),y},getAllMarks:function(){var s=[];return this.iter(function(c){var b=c.markedSpans;if(b)for(var y=0;ys)return c=s,!0;s-=H,++b}),mt(this,ot(b,c))},indexFromPos:function(s){s=mt(this,s);var c=s.ch;if(s.linec&&(c=s.from),s.to!=null&&s.to-1){c.state.draggingText(s),setTimeout(function(){return c.display.input.focus()},20);return}try{var Wt=s.dataTransfer.getData("Text");if(Wt){var at;if(c.state.draggingText&&!c.state.draggingText.copy&&(at=c.listSelections()),K(c.doc,Mr(b,b)),at)for(var Tn=0;Tn=0;Se--)ol(s.doc,"",y[Se].from,y[Se].to,"+delete");vl(s)})}function Fl(s,c,b){var y=$e(s.text,c+b,b);return y<0||y>s.text.length?null:y}function Ka(s,c,b){var y=Fl(s,c.ch,b);return y==null?null:new ot(c.line,y,b<0?"after":"before")}function ea(s,c,b,y,w){if(s){c.doc.direction=="rtl"&&(w=-w);var H=pn(b,c.doc.direction);if(H){var ne=w<0?Jn(H):H[0],Se=w<0==(ne.level==1),ye=Se?"after":"before",Ze;if(ne.level>0||c.doc.direction=="rtl"){var Wt=os(c,b);Ze=w<0?b.text.length-1:0;var at=_s(c,Wt,Ze).top;Ze=De(function(Tn){return _s(c,Wt,Tn).top==at},w<0==(ne.level==1)?ne.from:ne.to-1,Ze),ye=="before"&&(Ze=Fl(b,Ze,1))}else Ze=w<0?ne.to:ne.from;return new ot(y,Ze,ye)}}return new ot(y,w<0?b.text.length:0,w<0?"before":"after")}function ba(s,c,b,y){var w=pn(c,s.doc.direction);if(!w)return Ka(c,b,y);b.ch>=c.text.length?(b.ch=c.text.length,b.sticky="before"):b.ch<=0&&(b.ch=0,b.sticky="after");var H=tt(w,b.ch,b.sticky),ne=w[H];if(s.doc.direction=="ltr"&&ne.level%2==0&&(y>0?ne.to>b.ch:ne.from=ne.from&&Tn>=Wt.begin)){var En=at?"before":"after";return new ot(b.line,Tn,En)}}var ci=function(er,Fr,Sr){for(var Gr=function(cs,ll){return ll?new ot(b.line,Se(cs,1),"before"):new ot(b.line,cs,"after")};er>=0&&er0==(mo.level!=1),zo=yr?Sr.begin:Se(Sr.end,-1);if(mo.from<=zo&&zo0?Wt.end:Se(Wt.begin,-1);return Di!=null&&!(y>0&&Di==c.text.length)&&(bi=ci(y>0?0:w.length-1,y,Ze(Di)),bi)?bi:null}var Hs={selectAll:Gn,singleSelection:function(s){return s.setSelection(s.getCursor("anchor"),s.getCursor("head"),St)},killLine:function(s){return ps(s,function(c){if(c.empty()){var b=vn(s.doc,c.head.line).text.length;return c.head.ch==b&&c.head.line0)w=new ot(w.line,w.ch+1),s.replaceRange(H.charAt(w.ch-1)+H.charAt(w.ch-2),ot(w.line,w.ch-2),w,"+transpose");else if(w.line>s.doc.first){var ne=vn(s.doc,w.line-1).text;ne&&(w=new ot(w.line,1),s.replaceRange(H.charAt(0)+s.doc.lineSeparator()+ne.charAt(ne.length-1),ot(w.line-1,ne.length-1),w,"+transpose"))}}b.push(new vi(w,w))}s.setSelections(b)})},newlineAndIndent:function(s){return Dt(s,function(){for(var c=s.listSelections(),b=c.length-1;b>=0;b--)s.replaceRange(s.doc.lineSeparator(),c[b].anchor,c[b].head,"+input");c=s.listSelections();for(var y=0;ys&&fn(c,this.pos)==0&&b==this.button};var hd,zh;function rp(s,c){var b=+new Date;return zh&&zh.compare(b,s,c)?(hd=zh=null,"triple"):hd&&hd.compare(b,s,c)?(zh=new ip(b,s,c),hd=null,"double"):(hd=new ip(b,s,c),zh=null,"single")}function Ac(s){var c=this,b=c.display;if(!(zt(c,s)||b.activeTouch&&b.input.supportsTouch())){if(b.input.ensurePolled(),b.shift=s.shiftKey,Os(b,s)){M||(b.scroller.draggable=!1,setTimeout(function(){return b.scroller.draggable=!0},100));return}if(!hf(c,s)){var y=fs(c,s),w=Ii(s),H=y?rp(y,w):"single";window.focus(),w==1&&c.state.selectingText&&c.state.selectingText(s),!(y&&op(c,w,y,H,s))&&(w==1?y?f0(c,y,H,s):_i(s)==b.scroller&&Un(s):w==2?(y&&ko(c.doc,y),setTimeout(function(){return b.input.focus()},20)):w==3&&(ke?c.display.input.onContextMenu(s):La(c)))}}}function op(s,c,b,y,w){var H="Click";return y=="double"?H="Double"+H:y=="triple"&&(H="Triple"+H),H=(c==1?"Left":c==2?"Middle":"Right")+H,tc(s,ec(H,w),w,function(ne){if(typeof ne=="string"&&(ne=Hs[ne]),!ne)return!1;var Se=!1;try{s.isReadOnly()&&(s.state.suppressEdits=!0),Se=ne(s,b)!=Vt}finally{s.state.suppressEdits=!1}return Se})}function uf(s,c,b){var y=s.getOption("configureMouse"),w=y?y(s,c,b):{};if(w.unit==null){var H=fe?b.shiftKey&&b.metaKey:b.altKey;w.unit=H?"rectangle":c=="single"?"char":c=="double"?"word":"line"}return(w.extend==null||s.doc.extend)&&(w.extend=s.doc.extend||b.shiftKey),w.addNew==null&&(w.addNew=Pe?b.metaKey:b.ctrlKey),w.moveOnDrag==null&&(w.moveOnDrag=!(Pe?b.altKey:b.ctrlKey)),w}function f0(s,c,b,y){G?setTimeout(Ct(la,s),0):s.curOp.focus=We();var w=uf(s,b,y),H=s.doc.sel,ne;s.options.dragDrop&&cn&&!s.isReadOnly()&&b=="single"&&(ne=H.contains(c))>-1&&(fn((ne=H.ranges[ne]).from(),c)<0||c.xRel>0)&&(fn(ne.to(),c)>0||c.xRel<0)?ap(s,y,c,w):cg(s,y,c,w)}function ap(s,c,b,y){var w=s.display,H=!1,ne=ve(s,function(Ze){M&&(w.scroller.draggable=!1),s.state.draggingText=!1,an(w.wrapper.ownerDocument,"mouseup",ne),an(w.wrapper.ownerDocument,"mousemove",Se),an(w.scroller,"dragstart",ye),an(w.scroller,"drop",ne),H||(Un(Ze),y.addNew||ko(s.doc,b,null,null,y.extend),M&&!Me||G&&F==9?setTimeout(function(){w.wrapper.ownerDocument.body.focus({preventScroll:!0}),w.input.focus()},20):w.input.focus())}),Se=function(Ze){H=H||Math.abs(c.clientX-Ze.clientX)+Math.abs(c.clientY-Ze.clientY)>=10},ye=function(){return H=!0};M&&(w.scroller.draggable=!0),s.state.draggingText=ne,ne.copy=!y.moveOnDrag,w.scroller.dragDrop&&w.scroller.dragDrop(),Kt(w.wrapper.ownerDocument,"mouseup",ne),Kt(w.wrapper.ownerDocument,"mousemove",Se),Kt(w.scroller,"dragstart",ye),Kt(w.scroller,"drop",ne),La(s),setTimeout(function(){return w.input.focus()},20)}function sp(s,c,b){if(b=="char")return new vi(c,c);if(b=="word")return s.findWordAt(c);if(b=="line")return new vi(ot(c.line,0),mt(s.doc,ot(c.line+1,0)));var y=b(s,c);return new vi(y.from,y.to)}function cg(s,c,b,y){var w=s.display,H=s.doc;Un(c);var ne,Se,ye=H.sel,Ze=ye.ranges;if(y.addNew&&!y.extend?(Se=H.sel.contains(b),Se>-1?ne=Ze[Se]:ne=new vi(b,b)):(ne=H.sel.primary(),Se=H.sel.primIndex),y.unit=="rectangle")y.addNew||(ne=new vi(b,b)),b=fs(s,c,!0,!0),Se=-1;else{var Wt=sp(s,b,y.unit);y.extend?ne=zs(ne,Wt.anchor,Wt.head,y.extend):ne=Wt}y.addNew?Se==-1?(Se=Ze.length,g(H,Pi(s,Ze.concat([ne]),Se),{scroll:!1,origin:"*mouse"})):Ze.length>1&&Ze[Se].empty()&&y.unit=="char"&&!y.extend?(g(H,Pi(s,Ze.slice(0,Se).concat(Ze.slice(Se+1)),0),{scroll:!1,origin:"*mouse"}),ye=H.sel):Zo(H,Se,ne,sn):(Se=0,g(H,new si([ne],0),sn),ye=H.sel);var at=b;function Tn(Sr){if(fn(at,Sr)!=0)if(at=Sr,y.unit=="rectangle"){for(var Gr=[],mo=s.options.tabSize,yr=Qe(vn(H,b.line).text,b.ch,mo),zo=Qe(vn(H,Sr.line).text,Sr.ch,mo),cs=Math.min(yr,zo),ll=Math.max(yr,zo),bs=Math.min(b.line,Sr.line),yu=Math.min(s.lastLine(),Math.max(b.line,Sr.line));bs<=yu;bs++){var Kl=vn(H,bs).text,qs=oi(Kl,cs,mo);cs==ll?Gr.push(new vi(ot(bs,qs),ot(bs,qs))):Kl.length>qs&&Gr.push(new vi(ot(bs,qs),ot(bs,oi(Kl,ll,mo))))}Gr.length||Gr.push(new vi(b,b)),g(H,Pi(s,ye.ranges.slice(0,Se).concat(Gr),Se),{origin:"*mouse",scroll:!1}),s.scrollIntoView(Sr)}else{var Mu=ne,Bl=sp(s,Sr,y.unit),el=Mu.anchor,Aa;fn(Bl.anchor,el)>0?(Aa=Bl.head,el=Rt(Mu.from(),Bl.anchor)):(Aa=Bl.anchor,el=L(Mu.to(),Bl.head));var As=ye.ranges.slice(0);As[Se]=p0(s,new vi(mt(H,el),Aa)),g(H,Pi(s,As,Se),sn)}}var En=w.wrapper.getBoundingClientRect(),ci=0;function bi(Sr){var Gr=++ci,mo=fs(s,Sr,!0,y.unit=="rectangle");if(mo)if(fn(mo,at)!=0){s.curOp.focus=We(),Tn(mo);var yr=Co(w,H);(mo.line>=yr.to||mo.lineEn.bottom?20:0;zo&&setTimeout(ve(s,function(){ci==Gr&&(w.scroller.scrollTop+=zo,bi(Sr))}),50)}}function Di(Sr){s.state.selectingText=!1,ci=1/0,Sr&&(Un(Sr),w.input.focus()),an(w.wrapper.ownerDocument,"mousemove",er),an(w.wrapper.ownerDocument,"mouseup",Fr),H.history.lastSelOrigin=null}var er=ve(s,function(Sr){Sr.buttons===0||!Ii(Sr)?Di(Sr):bi(Sr)}),Fr=ve(s,Di);s.state.selectingText=Fr,Kt(w.wrapper.ownerDocument,"mousemove",er),Kt(w.wrapper.ownerDocument,"mouseup",Fr)}function p0(s,c){var b=c.anchor,y=c.head,w=vn(s.doc,b.line);if(fn(b,y)==0&&b.sticky==y.sticky)return c;var H=pn(w);if(!H)return c;var ne=tt(H,b.ch,b.sticky),Se=H[ne];if(Se.from!=b.ch&&Se.to!=b.ch)return c;var ye=ne+(Se.from==b.ch==(Se.level!=1)?0:1);if(ye==0||ye==H.length)return c;var Ze;if(y.line!=b.line)Ze=(y.line-b.line)*(s.doc.direction=="ltr"?1:-1)>0;else{var Wt=tt(H,y.ch,y.sticky),at=Wt-ne||(y.ch-b.ch)*(Se.level==1?-1:1);Wt==ye-1||Wt==ye?Ze=at<0:Ze=at>0}var Tn=H[ye+(Ze?-1:0)],En=Ze==(Tn.level==1),ci=En?Tn.from:Tn.to,bi=En?"after":"before";return b.ch==ci&&b.sticky==bi?c:new vi(new ot(b.line,ci,bi),y)}function cf(s,c,b,y){var w,H;if(c.touches)w=c.touches[0].clientX,H=c.touches[0].clientY;else try{w=c.clientX,H=c.clientY}catch(Tn){return!1}if(w>=Math.floor(s.display.gutters.getBoundingClientRect().right))return!1;y&&Un(c);var ne=s.display,Se=ne.lineDiv.getBoundingClientRect();if(H>Se.bottom||!rn(s,b))return Bt(c);H-=Se.top-ne.viewOffset;for(var ye=0;ye=w){var Wt=Ut(s.doc,H),at=s.display.gutterSpecs[ye];return et(s,b,s,Wt,at.className,c),Bt(c)}}}function hf(s,c){return cf(s,c,"gutterClick",!0)}function df(s,c){Os(s.display,c)||m0(s,c)||zt(s,c,"contextmenu")||ke||s.display.input.onContextMenu(c)}function m0(s,c){return rn(s,"gutterContextMenu")?cf(s,c,"gutterContextMenu",!1):!1}function ff(s){s.display.wrapper.className=s.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+s.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ro(s)}var fh={toString:function(){return"CodeMirror.Init"}},lp={},Dd={};function g0(s){var c=s.optionHandlers;function b(y,w,H,ne){s.defaults[y]=w,H&&(c[y]=ne?function(Se,ye,Ze){Ze!=fh&&H(Se,ye,Ze)}:H)}s.defineOption=b,s.Init=fh,b("value","",function(y,w){return y.setValue(w)},!0),b("mode",null,function(y,w){y.doc.modeOption=w,Qi(y)},!0),b("indentUnit",2,Qi,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(y){oo(y),ro(y),Eo(y)},!0),b("lineSeparator",null,function(y,w){if(y.doc.lineSep=w,!!w){var H=[],ne=y.doc.first;y.doc.iter(function(ye){for(var Ze=0;;){var Wt=ye.text.indexOf(w,Ze);if(Wt==-1)break;Ze=Wt+w.length,H.push(ot(ne,Wt))}ne++});for(var Se=H.length-1;Se>=0;Se--)ol(y.doc,w,H[Se],ot(H[Se].line,H[Se].ch+w.length))}}),b("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(y,w,H){y.state.specialChars=new RegExp(w.source+(w.test(" ")?"":"| "),"g"),H!=fh&&y.refresh()}),b("specialCharPlaceholder",Pa,function(y){return y.refresh()},!0),b("electricChars",!0),b("inputStyle",Ae?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(y,w){return y.getInputField().spellcheck=w},!0),b("autocorrect",!1,function(y,w){return y.getInputField().autocorrect=w},!0),b("autocapitalize",!1,function(y,w){return y.getInputField().autocapitalize=w},!0),b("rtlMoveVisually",!pe),b("wholeLineUpdateBefore",!0),b("theme","default",function(y){ff(y),yt(y)},!0),b("keyMap","default",function(y,w,H){var ne=Pl(w),Se=H!=fh&&Pl(H);Se&&Se.detach&&Se.detach(y,ne),ne.attach&&ne.attach(y,Se||null)}),b("extraKeys",null),b("configureMouse",null),b("lineWrapping",!1,v0,!0),b("gutters",[],function(y,w){y.display.gutterSpecs=jt(w,y.options.lineNumbers),yt(y)},!0),b("fixedGutter",!0,function(y,w){y.display.gutters.style.left=w?Tu(y.display)+"px":"0",y.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(y){return Wl(y)},!0),b("scrollbarStyle","native",function(y){Nu(y),Wl(y),y.display.scrollbars.setScrollTop(y.doc.scrollTop),y.display.scrollbars.setScrollLeft(y.doc.scrollLeft)},!0),b("lineNumbers",!1,function(y,w){y.display.gutterSpecs=jt(y.options.gutters,w),yt(y)},!0),b("firstLineNumber",1,yt,!0),b("lineNumberFormatter",function(y){return y},yt,!0),b("showCursorWhenSelecting",!1,Va,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("pasteLinesPerSelection",!0),b("selectionsMayTouch",!1),b("readOnly",!1,function(y,w){w=="nocursor"&&(fu(y),y.display.input.blur()),y.display.input.readOnlyChanged(w)}),b("screenReaderLabel",null,function(y,w){w=w===""?null:w,y.display.input.screenReaderLabelChanged(w)}),b("disableInput",!1,function(y,w){w||y.display.input.reset()},!0),b("dragDrop",!0,pf),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,Va,!0),b("singleCursorHeightPerLine",!0,Va,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,oo,!0),b("addModeClass",!1,oo,!0),b("pollInterval",100),b("undoDepth",200,function(y,w){return y.doc.history.undoDepth=w}),b("historyEventDelay",1250),b("viewportMargin",10,function(y){return y.refresh()},!0),b("maxHighlightLength",1e4,oo,!0),b("moveInputWithCursor",!0,function(y,w){w||y.display.input.resetPosition()}),b("tabindex",null,function(y,w){return y.display.input.getField().tabIndex=w||""}),b("autofocus",null),b("direction","ltr",function(y,w){return y.doc.setDirection(w)},!0),b("phrases",null)}function pf(s,c,b){var y=b&&b!=fh;if(!c!=!y){var w=s.display.dragFunctions,H=c?Kt:an;H(s.display.scroller,"dragstart",w.start),H(s.display.scroller,"dragenter",w.enter),H(s.display.scroller,"dragover",w.over),H(s.display.scroller,"dragleave",w.leave),H(s.display.scroller,"drop",w.drop)}}function v0(s){s.options.lineWrapping?(Pt(s.display.wrapper,"CodeMirror-wrap"),s.display.sizer.style.minWidth="",s.display.sizerWidth=null):(Ne(s.display.wrapper,"CodeMirror-wrap"),ma(s)),Dr(s),Eo(s),ro(s),setTimeout(function(){return Wl(s)},100)}function Ea(s,c){var b=this;if(!(this instanceof Ea))return new Ea(s,c);this.options=c=c?Cn(c):{},Cn(lp,c,!1);var y=c.value;typeof y=="string"?y=new $i(y,c.mode,null,c.lineSeparator,c.direction):c.mode&&(y.modeOption=c.mode),this.doc=y;var w=new Ea.inputStyles[c.inputStyle](this),H=this.display=new en(s,y,w,c);H.wrapper.CodeMirror=this,ff(this),c.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Nu(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new le,keySeq:null,specialChars:null},c.autofocus&&!Ae&&H.input.focus(),G&&F<11&&setTimeout(function(){return b.display.input.reset(!0)},20),dd(this),Yo(),ys(this),this.curOp.forceUpdate=!0,Gi(this,y),c.autofocus&&!Ae||this.hasFocus()?setTimeout(function(){b.hasFocus()&&!b.state.focused&&yo(b)},20):fu(this);for(var ne in Dd)Dd.hasOwnProperty(ne)&&Dd[ne](this,c[ne],fh);it(this),c.finishInit&&c.finishInit(this);for(var Se=0;Se20*20}Kt(c.scroller,"touchstart",function(ye){if(!zt(s,ye)&&!H(ye)&&!hf(s,ye)){c.input.ensurePolled(),clearTimeout(b);var Ze=+new Date;c.activeTouch={start:Ze,moved:!1,prev:Ze-y.end<=300?y:null},ye.touches.length==1&&(c.activeTouch.left=ye.touches[0].pageX,c.activeTouch.top=ye.touches[0].pageY)}}),Kt(c.scroller,"touchmove",function(){c.activeTouch&&(c.activeTouch.moved=!0)}),Kt(c.scroller,"touchend",function(ye){var Ze=c.activeTouch;if(Ze&&!Os(c,ye)&&Ze.left!=null&&!Ze.moved&&new Date-Ze.start<300){var Wt=s.coordsChar(c.activeTouch,"page"),at;!Ze.prev||ne(Ze,Ze.prev)?at=new vi(Wt,Wt):!Ze.prev.prev||ne(Ze,Ze.prev.prev)?at=s.findWordAt(Wt):at=new vi(ot(Wt.line,0),mt(s.doc,ot(Wt.line+1,0))),s.setSelection(at.anchor,at.head),s.focus(),Un(ye)}w()}),Kt(c.scroller,"touchcancel",w),Kt(c.scroller,"scroll",function(){c.scroller.clientHeight&&(Dl(s,c.scroller.scrollTop),bl(s,c.scroller.scrollLeft,!0),et(s,"scroll",s))}),Kt(c.scroller,"mousewheel",function(ye){return ji(s,ye)}),Kt(c.scroller,"DOMMouseScroll",function(ye){return ji(s,ye)}),Kt(c.wrapper,"scroll",function(){return c.wrapper.scrollTop=c.wrapper.scrollLeft=0}),c.dragFunctions={enter:function(ye){zt(s,ye)||Si(ye)},over:function(ye){zt(s,ye)||(To(s,ye),Si(ye))},start:function(ye){return jr(s,ye)},drop:ve(s,$r),leave:function(ye){zt(s,ye)||jo(s)}};var Se=c.input.getField();Kt(Se,"keyup",function(ye){return np.call(s,ye)}),Kt(Se,"keydown",ve(s,hh)),Kt(Se,"keypress",ve(s,Nc)),Kt(Se,"focus",function(ye){return yo(s,ye)}),Kt(Se,"blur",function(ye){return fu(s,ye)})}var Uh=[];Ea.defineInitHook=function(s){return Uh.push(s)};function sl(s,c,b,y){var w=s.doc,H;b==null&&(b="add"),b=="smart"&&(w.mode.indent?H=Yi(s,c).state:b="prev");var ne=s.options.tabSize,Se=vn(w,c),ye=Qe(Se.text,null,ne);Se.stateAfter&&(Se.stateAfter=null);var Ze=Se.text.match(/^\s*/)[0],Wt;if(!y&&!/\S/.test(Se.text))Wt=0,b="not";else if(b=="smart"&&(Wt=w.mode.indent(H,Se.text.slice(Ze.length),Se.text),Wt==Vt||Wt>150)){if(!y)return;b="prev"}b=="prev"?c>w.first?Wt=Qe(vn(w,c-1).text,null,ne):Wt=0:b=="add"?Wt=ye+s.options.indentUnit:b=="subtract"?Wt=ye-s.options.indentUnit:typeof b=="number"&&(Wt=ye+b),Wt=Math.max(0,Wt);var at="",Tn=0;if(s.options.indentWithTabs)for(var En=Math.floor(Wt/ne);En;--En)Tn+=ne,at+=" ";if(Tnne,ye=ur(c),Ze=null;if(Se&&y.ranges.length>1)if(vu&&vu.text.join(` +`)==c){if(y.ranges.length%vu.text.length==0){Ze=[];for(var Wt=0;Wt=0;Tn--){var En=y.ranges[Tn],ci=En.from(),bi=En.to();En.empty()&&(b&&b>0?ci=ot(ci.line,ci.ch-b):s.state.overwrite&&!Se?bi=ot(bi.line,Math.min(vn(H,bi.line).text.length,bi.ch+Jn(ye).length)):Se&&vu&&vu.lineWise&&vu.text.join(` `)==ye.join(` -`)&&(hi=bi=ot(hi.line,0)));var Bi={from:hi,to:bi,text:Ze?Ze[Tn%Ze.length]:ye,origin:w||(Se?"paste":s.state.cutIncoming>ne?"cut":"+input")};xa(s.doc,Bi),mi(s,"inputRead",s,Bi)}c&&!Se&&cp(s,c),Xs(s),s.curOp.updateInput<2&&(s.curOp.updateInput=at),s.curOp.typing=!0,s.state.pasteIncoming=s.state.cutIncoming=-1}function up(s,c){var b=s.clipboardData&&s.clipboardData.getData("Text");if(b)return s.preventDefault(),!c.isReadOnly()&&!c.options.disableInput&&Rt(c,function(){return Pd(c,b,0,null,"paste")}),!0}function cp(s,c){if(!(!s.options.electricChars||!s.options.smartIndent))for(var b=s.doc.sel,y=b.ranges.length-1;y>=0;y--){var w=b.ranges[y];if(!(w.head.ch>100||y&&b.ranges[y-1].head.line==w.head.line)){var H=s.getModeAt(w.head),ne=!1;if(H.electricChars){for(var Se=0;Se-1){ne=cl(s,w.head.line,"smart");break}}else H.electricInput&&H.electricInput.test(gn(s.doc,w.head.line).text.slice(0,w.head.ch))&&(ne=cl(s,w.head.line,"smart"));ne&&mi(s,"electricInput",s,w.head.line)}}}function hp(s){for(var c=[],b=[],y=0;yH&&(cl(this,Se.head.line,y,!0),H=Se.head.line,ne==this.doc.sel.primIndex&&Xs(this));else{var ye=Se.from(),Ze=Se.to(),Gt=Math.max(H,ye.line);H=Math.min(this.lastLine(),Ze.line-(Ze.ch?0:1))+1;for(var at=Gt;at0&&Mo(this.doc,ne,new li(ye,Tn[ne].to()),St)}}}),getTokenAt:function(y,w){return Hn(this,y,w)},getLineTokens:function(y,w){return Hn(this,ot(y),w,!0)},getTokenTypeAt:function(y){y=mt(this.doc,y);var w=Li(this,gn(this.doc,y.line)),H=0,ne=(w.length-1)/2,Se=y.ch,ye;if(Se==0)ye=w[2];else for(;;){var Ze=H+ne>>1;if((Ze?w[Ze*2-1]:0)>=Se)ne=Ze;else if(w[Ze*2+1]ye&&(y=ye,ne=!0),Se=gn(this.doc,y)}else Se=y;return Aa(this,Se,{top:0,left:0},w||"page",H||ne).top+(ne?this.doc.height-jo(Se):0)},defaultTextHeight:function(){return Pl(this.display)},defaultCharWidth:function(){return gl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(y,w,H,ne,Se){var ye=this.display;y=ka(this,mt(this.doc,y));var Ze=y.bottom,Gt=y.left;if(w.style.position="absolute",w.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(w),ye.sizer.appendChild(w),ne=="over")Ze=y.top;else if(ne=="above"||ne=="near"){var at=Math.max(ye.wrapper.clientHeight,this.doc.height),Tn=Math.max(ye.sizer.clientWidth,ye.lineSpace.clientWidth);(ne=="above"||y.bottom+w.offsetHeight>at)&&y.top>w.offsetHeight?Ze=y.top-w.offsetHeight:y.bottom+w.offsetHeight<=at&&(Ze=y.bottom),Gt+w.offsetWidth>Tn&&(Gt=Tn-w.offsetWidth)}w.style.top=Ze+"px",w.style.left=w.style.right="",Se=="right"?(Gt=ye.sizer.clientWidth-w.offsetWidth,w.style.right="0px"):(Se=="left"?Gt=0:Se=="middle"&&(Gt=(ye.sizer.clientWidth-w.offsetWidth)/2),w.style.left=Gt+"px"),H&&qu(this,{left:Gt,top:Ze,right:Gt+w.offsetWidth,bottom:Ze+w.offsetHeight})},triggerOnKeyDown:yn(hh),triggerOnKeyPress:yn(Nc),triggerOnKeyUp:np,triggerOnMouseDown:yn(Ac),execCommand:function(y){if(Hs.hasOwnProperty(y))return Hs[y].call(null,this)},triggerElectric:yn(function(y){cp(this,y)}),findPosH:function(y,w,H,ne){var Se=1;w<0&&(Se=-1,w=-w);for(var ye=mt(this.doc,y),Ze=0;Ze0&&Gt(H.charAt(ne-1));)--ne;for(;Se.5||this.options.lineWrapping)&&Lr(this),et(this,"refresh",this)}),swapDoc:yn(function(y){var w=this.doc;return w.cm=null,this.state.selectingText&&this.state.selectingText(),ir(this,y),ro(this),this.display.input.reset(),Qs(this,y.scrollLeft,y.scrollTop),this.curOp.forceScroll=!0,mi(this,"swapDoc",this,w),w}),phrase:function(y){var w=this.options.phrases;return w&&Object.prototype.hasOwnProperty.call(w,y)?w[y]:y},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ze(s),s.registerHelper=function(y,w,H){b.hasOwnProperty(y)||(b[y]=s[y]={_global:[]}),b[y][w]=H},s.registerGlobalHelper=function(y,w,H,ne){s.registerHelper(y,w,ne),b[y]._global.push({pred:H,val:ne})}}function Fd(s,c,b,y,w){var H=c,ne=b,Se=gn(s,c.line),ye=w&&s.direction=="rtl"?-b:b;function Ze(){var Fr=c.line+ye;return Fr=s.first+s.size?!1:(c=new ot(Fr,c.ch,c.sticky),Se=gn(s,Fr))}function Gt(Fr){var Sr;if(y=="codepoint"){var jr=Se.text.charCodeAt(c.ch+(y>0?0:-1));isNaN(jr)?Sr=null:Sr=new ot(c.line,Math.max(0,Math.min(Se.text.length,c.ch+b*(jr>=55296&&jr<56320?2:1))),-b)}else w?Sr=Sa(s.cm,Se,c,b):Sr=Qa(Se,c,b);if(Sr==null)if(!Fr&&Ze())c=qo(w,s.cm,Se,c.line,ye);else return!1;else c=Sr;return!0}if(y=="char"||y=="codepoint")Gt();else if(y=="column")Gt(!0);else if(y=="word"||y=="group")for(var at=null,Tn=y=="group",xn=s.cm&&s.cm.getHelper(c,"wordChars"),hi=!0;!(b<0&&!Gt(!hi));hi=!1){var bi=Se.text.charAt(c.ch)||` -`,Bi=X(bi,xn)?"w":Tn&&bi==` -`?"n":!Tn||/\s/.test(bi)?null:"p";if(Tn&&!hi&&!Bi&&(Bi="s"),at&&at!=Bi){b<0&&(b=1,Gt(),c.sticky="after");break}if(Bi&&(at=Bi),b>0&&!Gt(!hi))break}var or=Tr(s,c,H,ne,!0);return vt(H,or)&&(or.hitSide=!0),or}function mh(s,c,b,y){var w=s.doc,H=c.left,ne;if(y=="page"){var Se=Math.min(s.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ye=Math.max(Se-.5*Pl(s.display),3);ne=(b>0?c.bottom:c.top)+b*ye}else y=="line"&&(ne=b>0?c.bottom+3:c.top-3);for(var Ze;Ze=uu(s,H,ne),!!Ze.outside;){if(b<0?ne<=0:ne>=w.height){Ze.hitSide=!0;break}ne+=b*5}return Ze}var Ja=function(s){this.cm=s,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new se,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ja.prototype.init=function(s){var c=this,b=this,y=b.cm,w=b.div=s.lineDiv;dp(w,y.options.spellcheck,y.options.autocorrect,y.options.autocapitalize);function H(Se){for(var ye=Se.target;ye;ye=ye.parentNode){if(ye==w)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ye.className))break}return!1}jt(w,"paste",function(Se){!H(Se)||zt(y,Se)||up(Se,y)||P<=11&&setTimeout(ve(y,function(){return c.updateFromDOM()}),20)}),jt(w,"compositionstart",function(Se){c.composing={data:Se.data,done:!1}}),jt(w,"compositionupdate",function(Se){c.composing||(c.composing={data:Se.data,done:!1})}),jt(w,"compositionend",function(Se){c.composing&&(Se.data!=c.composing.data&&c.readFromDOMSoon(),c.composing.done=!0)}),jt(w,"touchstart",function(){return b.forceCompositionEnd()}),jt(w,"input",function(){c.composing||c.readFromDOMSoon()});function ne(Se){if(!(!H(Se)||zt(y,Se))){if(y.somethingSelected())Hh({lineWise:!1,text:y.getSelections()}),Se.type=="cut"&&y.replaceSelection("",null,"cut");else if(y.options.lineWiseCopyCut){var ye=hp(y);Hh({lineWise:!0,text:ye.text}),Se.type=="cut"&&y.operation(function(){y.setSelections(ye.ranges,0,St),y.replaceSelection("",null,"cut")})}else return;if(Se.clipboardData){Se.clipboardData.clearData();var Ze=gu.text.join(` -`);if(Se.clipboardData.setData("Text",Ze),Se.clipboardData.getData("Text")==Ze){Se.preventDefault();return}}var Gt=fp(),at=Gt.firstChild;y.display.lineSpace.insertBefore(Gt,y.display.lineSpace.firstChild),at.value=gu.text.join(` -`);var Tn=document.activeElement;kt(at),setTimeout(function(){y.display.lineSpace.removeChild(Gt),Tn.focus(),Tn==w&&b.showPrimarySelection()},50)}}jt(w,"copy",ne),jt(w,"cut",ne)},Ja.prototype.screenReaderLabelChanged=function(s){s?this.div.setAttribute("aria-label",s):this.div.removeAttribute("aria-label")},Ja.prototype.prepareSelection=function(){var s=hu(this.cm,!1);return s.focus=document.activeElement==this.div,s},Ja.prototype.showSelection=function(s,c){!s||!this.cm.display.view.length||((s.focus||c)&&this.showPrimarySelection(),this.showMultipleSelections(s))},Ja.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ja.prototype.showPrimarySelection=function(){var s=this.getSelection(),c=this.cm,b=c.doc.sel.primary(),y=b.from(),w=b.to();if(c.display.viewTo==c.display.viewFrom||y.line>=c.display.viewTo||w.line=c.display.viewFrom&&mf(c,y)||{node:Se[0].measure.map[2],offset:0},Ze=w.lines.firstLine()&&(y=ot(y.line-1,gn(s.doc,y.line-1).length)),w.ch==gn(s.doc,w.line).text.length&&w.linec.viewTo-1)return!1;var H,ne,Se;y.line==c.viewFrom||(H=gs(s,y.line))==0?(ne=Ve(c.view[0].line),Se=c.view[0].node):(ne=Ve(c.view[H].line),Se=c.view[H-1].node.nextSibling);var ye=gs(s,w.line),Ze,Gt;if(ye==c.view.length-1?(Ze=c.viewTo-1,Gt=c.lineDiv.lastChild):(Ze=Ve(c.view[ye+1].line)-1,Gt=c.view[ye+1].node.previousSibling),!Se)return!1;for(var at=s.doc.splitLines(pd(s,Se,Gt,ne,Ze)),Tn=kn(s.doc,ot(ne,0),ot(Ze,gn(s.doc,Ze).text.length));at.length>1&&Tn.length>1;)if(Jn(at)==Jn(Tn))at.pop(),Tn.pop(),Ze--;else if(at[0]==Tn[0])at.shift(),Tn.shift(),ne++;else break;for(var xn=0,hi=0,bi=at[0],Bi=Tn[0],or=Math.min(bi.length,Bi.length);xny.ch&&Fr.charCodeAt(Fr.length-hi-1)==Sr.charCodeAt(Sr.length-hi-1);)xn--,hi++;at[at.length-1]=Fr.slice(0,Fr.length-hi).replace(/^\u200b+/,""),at[0]=at[0].slice(xn).replace(/\u200b+$/,"");var go=ot(ne,xn),br=ot(Ze,Tn.length?Jn(Tn).length-hi:0);if(at.length>1||at[0]||un(go,br))return ws(s.doc,at,go,br,"+input"),!0},Ja.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ja.prototype.reset=function(){this.forceCompositionEnd()},Ja.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ja.prototype.readFromDOMSoon=function(){var s=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(s.readDOMTimeout=null,s.composing)if(s.composing.done)s.composing=null;else return;s.updateFromDOM()},80))},Ja.prototype.updateFromDOM=function(){var s=this;(this.cm.isReadOnly()||!this.pollContent())&&Rt(this.cm,function(){return xo(s.cm)})},Ja.prototype.setUneditable=function(s){s.contentEditable="false"},Ja.prototype.onKeyPress=function(s){s.charCode==0||this.composing||(s.preventDefault(),this.cm.isReadOnly()||ve(this.cm,Pd)(this.cm,String.fromCharCode(s.charCode==null?s.keyCode:s.charCode),0))},Ja.prototype.readOnlyChanged=function(s){this.div.contentEditable=String(s!="nocursor")},Ja.prototype.onContextMenu=function(){},Ja.prototype.resetPosition=function(){},Ja.prototype.needsContentAttribute=!0;function mf(s,c){var b=as(s,c.line);if(!b||b.hidden)return null;var y=gn(s.doc,c.line),w=js(b,y,c.line),H=fn(y,s.doc.direction),ne="left";if(H){var Se=nt(H,c.ch);ne=Se%2?"right":"left"}var ye=ks(w.map,c.ch,ne);return ye.offset=ye.collapse=="right"?ye.end:ye.start,ye}function pp(s){for(var c=s;c;c=c.parentNode)if(/CodeMirror-gutter-wrapper/.test(c.className))return!0;return!1}function fd(s,c){return c&&(s.bad=!0),s}function pd(s,c,b,y,w){var H="",ne=!1,Se=s.doc.lineSeparator(),ye=!1;function Ze(xn){return function(hi){return hi.id==xn}}function Gt(){ne&&(H+=Se,ye&&(H+=Se),ne=ye=!1)}function at(xn){xn&&(Gt(),H+=xn)}function Tn(xn){if(xn.nodeType==1){var hi=xn.getAttribute("cm-text");if(hi){at(hi);return}var bi=xn.getAttribute("cm-marker"),Bi;if(bi){var or=s.findMarks(ot(y,0),ot(w+1,0),Ze(+bi));or.length&&(Bi=or[0].find(0))&&at(kn(s.doc,Bi.from,Bi.to).join(Se));return}if(xn.getAttribute("contenteditable")=="false")return;var Fr=/^(pre|div|p|li|table|br)$/i.test(xn.nodeName);if(!/^br$/i.test(xn.nodeName)&&xn.textContent.length==0)return;Fr&&Gt();for(var Sr=0;Sr=9&&c.hasSelection&&(c.hasSelection=null),b.poll()}),jt(w,"paste",function(ne){zt(y,ne)||up(ne,y)||(y.state.pasteIncoming=+new Date,b.fastPoll())});function H(ne){if(!zt(y,ne)){if(y.somethingSelected())Hh({lineWise:!1,text:y.getSelections()});else if(y.options.lineWiseCopyCut){var Se=hp(y);Hh({lineWise:!0,text:Se.text}),ne.type=="cut"?y.setSelections(Se.ranges,null,St):(b.prevInput="",w.value=Se.text.join(` -`),kt(w))}else return;ne.type=="cut"&&(y.state.cutIncoming=+new Date)}}jt(w,"cut",H),jt(w,"copy",H),jt(s.scroller,"paste",function(ne){if(!(Ps(s,ne)||zt(y,ne))){if(!w.dispatchEvent){y.state.pasteIncoming=+new Date,b.focus();return}var Se=new Event("paste");Se.clipboardData=ne.clipboardData,w.dispatchEvent(Se)}}),jt(s.lineSpace,"selectstart",function(ne){Ps(s,ne)||Un(ne)}),jt(w,"compositionstart",function(){var ne=y.getCursor("from");b.composing&&b.composing.range.clear(),b.composing={start:ne,range:y.markText(ne,y.getCursor("to"),{className:"CodeMirror-composing"})}}),jt(w,"compositionend",function(){b.composing&&(b.poll(),b.composing.range.clear(),b.composing=null)})},tl.prototype.createField=function(s){this.wrapper=fp(),this.textarea=this.wrapper.firstChild},tl.prototype.screenReaderLabelChanged=function(s){s?this.textarea.setAttribute("aria-label",s):this.textarea.removeAttribute("aria-label")},tl.prototype.prepareSelection=function(){var s=this.cm,c=s.display,b=s.doc,y=hu(s);if(s.options.moveInputWithCursor){var w=ka(s,b.sel.primary().head,"div"),H=c.wrapper.getBoundingClientRect(),ne=c.lineDiv.getBoundingClientRect();y.teTop=Math.max(0,Math.min(c.wrapper.clientHeight-10,w.top+ne.top-H.top)),y.teLeft=Math.max(0,Math.min(c.wrapper.clientWidth-10,w.left+ne.left-H.left))}return y},tl.prototype.showSelection=function(s){var c=this.cm,b=c.display;Fe(b.cursorDiv,s.cursors),Fe(b.selectionDiv,s.selection),s.teTop!=null&&(this.wrapper.style.top=s.teTop+"px",this.wrapper.style.left=s.teLeft+"px")},tl.prototype.reset=function(s){if(!(this.contextMenuPending||this.composing)){var c=this.cm;if(c.somethingSelected()){this.prevInput="";var b=c.getSelection();this.textarea.value=b,c.state.focused&&kt(this.textarea),G&&P>=9&&(this.hasSelection=b)}else s||(this.prevInput=this.textarea.value="",G&&P>=9&&(this.hasSelection=null))}},tl.prototype.getField=function(){return this.textarea},tl.prototype.supportsTouch=function(){return!1},tl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ae||We()!=this.textarea))try{this.textarea.focus()}catch(s){}},tl.prototype.blur=function(){this.textarea.blur()},tl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},tl.prototype.receivedFocus=function(){this.slowPoll()},tl.prototype.slowPoll=function(){var s=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){s.poll(),s.cm.state.focused&&s.slowPoll()})},tl.prototype.fastPoll=function(){var s=!1,c=this;c.pollingFast=!0;function b(){var y=c.poll();!y&&!s?(s=!0,c.polling.set(60,b)):(c.pollingFast=!1,c.slowPoll())}c.polling.set(20,b)},tl.prototype.poll=function(){var s=this,c=this.cm,b=this.textarea,y=this.prevInput;if(this.contextMenuPending||!c.state.focused||U(b)&&!y&&!this.composing||c.isReadOnly()||c.options.disableInput||c.state.keySeq)return!1;var w=b.value;if(w==y&&!c.somethingSelected())return!1;if(G&&P>=9&&this.hasSelection===w||Re&&/[\uf700-\uf7ff]/.test(w))return c.display.input.reset(),!1;if(c.doc.sel==c.display.selForContextMenu){var H=w.charCodeAt(0);if(H==8203&&!y&&(y="\u200B"),H==8666)return this.reset(),this.cm.execCommand("undo")}for(var ne=0,Se=Math.min(y.length,w.length);ne1e3||w.indexOf(` -`)>-1?b.value=s.prevInput="":s.prevInput=w,s.composing&&(s.composing.range.clear(),s.composing.range=c.markText(s.composing.start,c.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},tl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},tl.prototype.onKeyPress=function(){G&&P>=9&&(this.hasSelection=null),this.fastPoll()},tl.prototype.onContextMenu=function(s){var c=this,b=c.cm,y=b.display,w=c.textarea;c.contextMenuPending&&c.contextMenuPending();var H=Fs(b,s),ne=y.scroller.scrollTop;if(!H||te)return;var Se=b.options.resetSelectionOnContextMenu;Se&&b.doc.sel.contains(H)==-1&&ve(b,g)(b.doc,Ni(H),St);var ye=w.style.cssText,Ze=c.wrapper.style.cssText,Gt=c.wrapper.offsetParent.getBoundingClientRect();c.wrapper.style.cssText="position: static",w.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(s.clientY-Gt.top-5)+"px; left: "+(s.clientX-Gt.left-5)+`px; +`)&&(ci=bi=ot(ci.line,0)));var Di={from:ci,to:bi,text:Ze?Ze[Tn%Ze.length]:ye,origin:w||(Se?"paste":s.state.cutIncoming>ne?"cut":"+input")};Or(s.doc,Di),mi(s,"inputRead",s,Di)}c&&!Se&&cp(s,c),vl(s),s.curOp.updateInput<2&&(s.curOp.updateInput=at),s.curOp.typing=!0,s.state.pasteIncoming=s.state.cutIncoming=-1}function up(s,c){var b=s.clipboardData&&s.clipboardData.getData("Text");if(b)return s.preventDefault(),!c.isReadOnly()&&!c.options.disableInput&&Dt(c,function(){return Pd(c,b,0,null,"paste")}),!0}function cp(s,c){if(!(!s.options.electricChars||!s.options.smartIndent))for(var b=s.doc.sel,y=b.ranges.length-1;y>=0;y--){var w=b.ranges[y];if(!(w.head.ch>100||y&&b.ranges[y-1].head.line==w.head.line)){var H=s.getModeAt(w.head),ne=!1;if(H.electricChars){for(var Se=0;Se-1){ne=sl(s,w.head.line,"smart");break}}else H.electricInput&&H.electricInput.test(vn(s.doc,w.head.line).text.slice(0,w.head.ch))&&(ne=sl(s,w.head.line,"smart"));ne&&mi(s,"electricInput",s,w.head.line)}}}function hp(s){for(var c=[],b=[],y=0;yH&&(sl(this,Se.head.line,y,!0),H=Se.head.line,ne==this.doc.sel.primIndex&&vl(this));else{var ye=Se.from(),Ze=Se.to(),Wt=Math.max(H,ye.line);H=Math.min(this.lastLine(),Ze.line-(Ze.ch?0:1))+1;for(var at=Wt;at0&&Zo(this.doc,ne,new vi(ye,Tn[ne].to()),St)}}}),getTokenAt:function(y,w){return Hn(this,y,w)},getLineTokens:function(y,w){return Hn(this,ot(y),w,!0)},getTokenTypeAt:function(y){y=mt(this.doc,y);var w=Mi(this,vn(this.doc,y.line)),H=0,ne=(w.length-1)/2,Se=y.ch,ye;if(Se==0)ye=w[2];else for(;;){var Ze=H+ne>>1;if((Ze?w[Ze*2-1]:0)>=Se)ne=Ze;else if(w[Ze*2+1]ye&&(y=ye,ne=!0),Se=vn(this.doc,y)}else Se=y;return Oa(this,Se,{top:0,left:0},w||"page",H||ne).top+(ne?this.doc.height-Uo(Se):0)},defaultTextHeight:function(){return ml(this.display)},defaultCharWidth:function(){return gl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(y,w,H,ne,Se){var ye=this.display;y=wa(this,mt(this.doc,y));var Ze=y.bottom,Wt=y.left;if(w.style.position="absolute",w.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(w),ye.sizer.appendChild(w),ne=="over")Ze=y.top;else if(ne=="above"||ne=="near"){var at=Math.max(ye.wrapper.clientHeight,this.doc.height),Tn=Math.max(ye.sizer.clientWidth,ye.lineSpace.clientWidth);(ne=="above"||y.bottom+w.offsetHeight>at)&&y.top>w.offsetHeight?Ze=y.top-w.offsetHeight:y.bottom+w.offsetHeight<=at&&(Ze=y.bottom),Wt+w.offsetWidth>Tn&&(Wt=Tn-w.offsetWidth)}w.style.top=Ze+"px",w.style.left=w.style.right="",Se=="right"?(Wt=ye.sizer.clientWidth-w.offsetWidth,w.style.right="0px"):(Se=="left"?Wt=0:Se=="middle"&&(Wt=(ye.sizer.clientWidth-w.offsetWidth)/2),w.style.left=Wt+"px"),H&&tu(this,{left:Wt,top:Ze,right:Wt+w.offsetWidth,bottom:Ze+w.offsetHeight})},triggerOnKeyDown:bn(hh),triggerOnKeyPress:bn(Nc),triggerOnKeyUp:np,triggerOnMouseDown:bn(Ac),execCommand:function(y){if(Hs.hasOwnProperty(y))return Hs[y].call(null,this)},triggerElectric:bn(function(y){cp(this,y)}),findPosH:function(y,w,H,ne){var Se=1;w<0&&(Se=-1,w=-w);for(var ye=mt(this.doc,y),Ze=0;Ze0&&Wt(H.charAt(ne-1));)--ne;for(;Se.5||this.options.lineWrapping)&&Dr(this),et(this,"refresh",this)}),swapDoc:bn(function(y){var w=this.doc;return w.cm=null,this.state.selectingText&&this.state.selectingText(),Gi(this,y),ro(this),this.display.input.reset(),Zs(this,y.scrollLeft,y.scrollTop),this.curOp.forceScroll=!0,mi(this,"swapDoc",this,w),w}),phrase:function(y){var w=this.options.phrases;return w&&Object.prototype.hasOwnProperty.call(w,y)?w[y]:y},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ze(s),s.registerHelper=function(y,w,H){b.hasOwnProperty(y)||(b[y]=s[y]={_global:[]}),b[y][w]=H},s.registerGlobalHelper=function(y,w,H,ne){s.registerHelper(y,w,ne),b[y]._global.push({pred:H,val:ne})}}function Fd(s,c,b,y,w){var H=c,ne=b,Se=vn(s,c.line),ye=w&&s.direction=="rtl"?-b:b;function Ze(){var Fr=c.line+ye;return Fr=s.first+s.size?!1:(c=new ot(Fr,c.ch,c.sticky),Se=vn(s,Fr))}function Wt(Fr){var Sr;if(y=="codepoint"){var Gr=Se.text.charCodeAt(c.ch+(y>0?0:-1));isNaN(Gr)?Sr=null:Sr=new ot(c.line,Math.max(0,Math.min(Se.text.length,c.ch+b*(Gr>=55296&&Gr<56320?2:1))),-b)}else w?Sr=ba(s.cm,Se,c,b):Sr=Ka(Se,c,b);if(Sr==null)if(!Fr&&Ze())c=ea(w,s.cm,Se,c.line,ye);else return!1;else c=Sr;return!0}if(y=="char"||y=="codepoint")Wt();else if(y=="column")Wt(!0);else if(y=="word"||y=="group")for(var at=null,Tn=y=="group",En=s.cm&&s.cm.getHelper(c,"wordChars"),ci=!0;!(b<0&&!Wt(!ci));ci=!1){var bi=Se.text.charAt(c.ch)||` +`,Di=X(bi,En)?"w":Tn&&bi==` +`?"n":!Tn||/\s/.test(bi)?null:"p";if(Tn&&!ci&&!Di&&(Di="s"),at&&at!=Di){b<0&&(b=1,Wt(),c.sticky="after");break}if(Di&&(at=Di),b>0&&!Wt(!ci))break}var er=Cr(s,c,H,ne,!0);return vt(H,er)&&(er.hitSide=!0),er}function mh(s,c,b,y){var w=s.doc,H=c.left,ne;if(y=="page"){var Se=Math.min(s.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ye=Math.max(Se-.5*ml(s.display),3);ne=(b>0?c.bottom:c.top)+b*ye}else y=="line"&&(ne=b>0?c.bottom+3:c.top-3);for(var Ze;Ze=du(s,H,ne),!!Ze.outside;){if(b<0?ne<=0:ne>=w.height){Ze.hitSide=!0;break}ne+=b*5}return Ze}var Za=function(s){this.cm=s,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new le,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Za.prototype.init=function(s){var c=this,b=this,y=b.cm,w=b.div=s.lineDiv;dp(w,y.options.spellcheck,y.options.autocorrect,y.options.autocapitalize);function H(Se){for(var ye=Se.target;ye;ye=ye.parentNode){if(ye==w)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ye.className))break}return!1}Kt(w,"paste",function(Se){!H(Se)||zt(y,Se)||up(Se,y)||F<=11&&setTimeout(ve(y,function(){return c.updateFromDOM()}),20)}),Kt(w,"compositionstart",function(Se){c.composing={data:Se.data,done:!1}}),Kt(w,"compositionupdate",function(Se){c.composing||(c.composing={data:Se.data,done:!1})}),Kt(w,"compositionend",function(Se){c.composing&&(Se.data!=c.composing.data&&c.readFromDOMSoon(),c.composing.done=!0)}),Kt(w,"touchstart",function(){return b.forceCompositionEnd()}),Kt(w,"input",function(){c.composing||c.readFromDOMSoon()});function ne(Se){if(!(!H(Se)||zt(y,Se))){if(y.somethingSelected())Hh({lineWise:!1,text:y.getSelections()}),Se.type=="cut"&&y.replaceSelection("",null,"cut");else if(y.options.lineWiseCopyCut){var ye=hp(y);Hh({lineWise:!0,text:ye.text}),Se.type=="cut"&&y.operation(function(){y.setSelections(ye.ranges,0,St),y.replaceSelection("",null,"cut")})}else return;if(Se.clipboardData){Se.clipboardData.clearData();var Ze=vu.text.join(` +`);if(Se.clipboardData.setData("Text",Ze),Se.clipboardData.getData("Text")==Ze){Se.preventDefault();return}}var Wt=fp(),at=Wt.firstChild;y.display.lineSpace.insertBefore(Wt,y.display.lineSpace.firstChild),at.value=vu.text.join(` +`);var Tn=document.activeElement;kt(at),setTimeout(function(){y.display.lineSpace.removeChild(Wt),Tn.focus(),Tn==w&&b.showPrimarySelection()},50)}}Kt(w,"copy",ne),Kt(w,"cut",ne)},Za.prototype.screenReaderLabelChanged=function(s){s?this.div.setAttribute("aria-label",s):this.div.removeAttribute("aria-label")},Za.prototype.prepareSelection=function(){var s=eu(this.cm,!1);return s.focus=document.activeElement==this.div,s},Za.prototype.showSelection=function(s,c){!s||!this.cm.display.view.length||((s.focus||c)&&this.showPrimarySelection(),this.showMultipleSelections(s))},Za.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Za.prototype.showPrimarySelection=function(){var s=this.getSelection(),c=this.cm,b=c.doc.sel.primary(),y=b.from(),w=b.to();if(c.display.viewTo==c.display.viewFrom||y.line>=c.display.viewTo||w.line=c.display.viewFrom&&mf(c,y)||{node:Se[0].measure.map[2],offset:0},Ze=w.lines.firstLine()&&(y=ot(y.line-1,vn(s.doc,y.line-1).length)),w.ch==vn(s.doc,w.line).text.length&&w.linec.viewTo-1)return!1;var H,ne,Se;y.line==c.viewFrom||(H=as(s,y.line))==0?(ne=Ve(c.view[0].line),Se=c.view[0].node):(ne=Ve(c.view[H].line),Se=c.view[H-1].node.nextSibling);var ye=as(s,w.line),Ze,Wt;if(ye==c.view.length-1?(Ze=c.viewTo-1,Wt=c.lineDiv.lastChild):(Ze=Ve(c.view[ye+1].line)-1,Wt=c.view[ye+1].node.previousSibling),!Se)return!1;for(var at=s.doc.splitLines(pd(s,Se,Wt,ne,Ze)),Tn=Fn(s.doc,ot(ne,0),ot(Ze,vn(s.doc,Ze).text.length));at.length>1&&Tn.length>1;)if(Jn(at)==Jn(Tn))at.pop(),Tn.pop(),Ze--;else if(at[0]==Tn[0])at.shift(),Tn.shift(),ne++;else break;for(var En=0,ci=0,bi=at[0],Di=Tn[0],er=Math.min(bi.length,Di.length);Eny.ch&&Fr.charCodeAt(Fr.length-ci-1)==Sr.charCodeAt(Sr.length-ci-1);)En--,ci++;at[at.length-1]=Fr.slice(0,Fr.length-ci).replace(/^\u200b+/,""),at[0]=at[0].slice(En).replace(/\u200b+$/,"");var mo=ot(ne,En),yr=ot(Ze,Tn.length?Jn(Tn).length-ci:0);if(at.length>1||at[0]||fn(mo,yr))return ol(s.doc,at,mo,yr,"+input"),!0},Za.prototype.ensurePolled=function(){this.forceCompositionEnd()},Za.prototype.reset=function(){this.forceCompositionEnd()},Za.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Za.prototype.readFromDOMSoon=function(){var s=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(s.readDOMTimeout=null,s.composing)if(s.composing.done)s.composing=null;else return;s.updateFromDOM()},80))},Za.prototype.updateFromDOM=function(){var s=this;(this.cm.isReadOnly()||!this.pollContent())&&Dt(this.cm,function(){return Eo(s.cm)})},Za.prototype.setUneditable=function(s){s.contentEditable="false"},Za.prototype.onKeyPress=function(s){s.charCode==0||this.composing||(s.preventDefault(),this.cm.isReadOnly()||ve(this.cm,Pd)(this.cm,String.fromCharCode(s.charCode==null?s.keyCode:s.charCode),0))},Za.prototype.readOnlyChanged=function(s){this.div.contentEditable=String(s!="nocursor")},Za.prototype.onContextMenu=function(){},Za.prototype.resetPosition=function(){},Za.prototype.needsContentAttribute=!0;function mf(s,c){var b=Ga(s,c.line);if(!b||b.hidden)return null;var y=vn(s.doc,c.line),w=il(b,y,c.line),H=pn(y,s.doc.direction),ne="left";if(H){var Se=tt(H,c.ch);ne=Se%2?"right":"left"}var ye=Cs(w.map,c.ch,ne);return ye.offset=ye.collapse=="right"?ye.end:ye.start,ye}function pp(s){for(var c=s;c;c=c.parentNode)if(/CodeMirror-gutter-wrapper/.test(c.className))return!0;return!1}function fd(s,c){return c&&(s.bad=!0),s}function pd(s,c,b,y,w){var H="",ne=!1,Se=s.doc.lineSeparator(),ye=!1;function Ze(En){return function(ci){return ci.id==En}}function Wt(){ne&&(H+=Se,ye&&(H+=Se),ne=ye=!1)}function at(En){En&&(Wt(),H+=En)}function Tn(En){if(En.nodeType==1){var ci=En.getAttribute("cm-text");if(ci){at(ci);return}var bi=En.getAttribute("cm-marker"),Di;if(bi){var er=s.findMarks(ot(y,0),ot(w+1,0),Ze(+bi));er.length&&(Di=er[0].find(0))&&at(Fn(s.doc,Di.from,Di.to).join(Se));return}if(En.getAttribute("contenteditable")=="false")return;var Fr=/^(pre|div|p|li|table|br)$/i.test(En.nodeName);if(!/^br$/i.test(En.nodeName)&&En.textContent.length==0)return;Fr&&Wt();for(var Sr=0;Sr=9&&c.hasSelection&&(c.hasSelection=null),b.poll()}),Kt(w,"paste",function(ne){zt(y,ne)||up(ne,y)||(y.state.pasteIncoming=+new Date,b.fastPoll())});function H(ne){if(!zt(y,ne)){if(y.somethingSelected())Hh({lineWise:!1,text:y.getSelections()});else if(y.options.lineWiseCopyCut){var Se=hp(y);Hh({lineWise:!0,text:Se.text}),ne.type=="cut"?y.setSelections(Se.ranges,null,St):(b.prevInput="",w.value=Se.text.join(` +`),kt(w))}else return;ne.type=="cut"&&(y.state.cutIncoming=+new Date)}}Kt(w,"cut",H),Kt(w,"copy",H),Kt(s.scroller,"paste",function(ne){if(!(Os(s,ne)||zt(y,ne))){if(!w.dispatchEvent){y.state.pasteIncoming=+new Date,b.focus();return}var Se=new Event("paste");Se.clipboardData=ne.clipboardData,w.dispatchEvent(Se)}}),Kt(s.lineSpace,"selectstart",function(ne){Os(s,ne)||Un(ne)}),Kt(w,"compositionstart",function(){var ne=y.getCursor("from");b.composing&&b.composing.range.clear(),b.composing={start:ne,range:y.markText(ne,y.getCursor("to"),{className:"CodeMirror-composing"})}}),Kt(w,"compositionend",function(){b.composing&&(b.poll(),b.composing.range.clear(),b.composing=null)})},Js.prototype.createField=function(s){this.wrapper=fp(),this.textarea=this.wrapper.firstChild},Js.prototype.screenReaderLabelChanged=function(s){s?this.textarea.setAttribute("aria-label",s):this.textarea.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var s=this.cm,c=s.display,b=s.doc,y=eu(s);if(s.options.moveInputWithCursor){var w=wa(s,b.sel.primary().head,"div"),H=c.wrapper.getBoundingClientRect(),ne=c.lineDiv.getBoundingClientRect();y.teTop=Math.max(0,Math.min(c.wrapper.clientHeight-10,w.top+ne.top-H.top)),y.teLeft=Math.max(0,Math.min(c.wrapper.clientWidth-10,w.left+ne.left-H.left))}return y},Js.prototype.showSelection=function(s){var c=this.cm,b=c.display;Le(b.cursorDiv,s.cursors),Le(b.selectionDiv,s.selection),s.teTop!=null&&(this.wrapper.style.top=s.teTop+"px",this.wrapper.style.left=s.teLeft+"px")},Js.prototype.reset=function(s){if(!(this.contextMenuPending||this.composing)){var c=this.cm;if(c.somethingSelected()){this.prevInput="";var b=c.getSelection();this.textarea.value=b,c.state.focused&&kt(this.textarea),G&&F>=9&&(this.hasSelection=b)}else s||(this.prevInput=this.textarea.value="",G&&F>=9&&(this.hasSelection=null))}},Js.prototype.getField=function(){return this.textarea},Js.prototype.supportsTouch=function(){return!1},Js.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ae||We()!=this.textarea))try{this.textarea.focus()}catch(s){}},Js.prototype.blur=function(){this.textarea.blur()},Js.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Js.prototype.receivedFocus=function(){this.slowPoll()},Js.prototype.slowPoll=function(){var s=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){s.poll(),s.cm.state.focused&&s.slowPoll()})},Js.prototype.fastPoll=function(){var s=!1,c=this;c.pollingFast=!0;function b(){var y=c.poll();!y&&!s?(s=!0,c.polling.set(60,b)):(c.pollingFast=!1,c.slowPoll())}c.polling.set(20,b)},Js.prototype.poll=function(){var s=this,c=this.cm,b=this.textarea,y=this.prevInput;if(this.contextMenuPending||!c.state.focused||U(b)&&!y&&!this.composing||c.isReadOnly()||c.options.disableInput||c.state.keySeq)return!1;var w=b.value;if(w==y&&!c.somethingSelected())return!1;if(G&&F>=9&&this.hasSelection===w||Pe&&/[\uf700-\uf7ff]/.test(w))return c.display.input.reset(),!1;if(c.doc.sel==c.display.selForContextMenu){var H=w.charCodeAt(0);if(H==8203&&!y&&(y="\u200B"),H==8666)return this.reset(),this.cm.execCommand("undo")}for(var ne=0,Se=Math.min(y.length,w.length);ne1e3||w.indexOf(` +`)>-1?b.value=s.prevInput="":s.prevInput=w,s.composing&&(s.composing.range.clear(),s.composing.range=c.markText(s.composing.start,c.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Js.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Js.prototype.onKeyPress=function(){G&&F>=9&&(this.hasSelection=null),this.fastPoll()},Js.prototype.onContextMenu=function(s){var c=this,b=c.cm,y=b.display,w=c.textarea;c.contextMenuPending&&c.contextMenuPending();var H=fs(b,s),ne=y.scroller.scrollTop;if(!H||te)return;var Se=b.options.resetSelectionOnContextMenu;Se&&b.doc.sel.contains(H)==-1&&ve(b,g)(b.doc,Mr(H),St);var ye=w.style.cssText,Ze=c.wrapper.style.cssText,Wt=c.wrapper.offsetParent.getBoundingClientRect();c.wrapper.style.cssText="position: static",w.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(s.clientY-Wt.top-5)+"px; left: "+(s.clientX-Wt.left-5)+`px; z-index: 1000; background: `+(G?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var at;M&&(at=window.scrollY),y.input.focus(),M&&window.scrollTo(null,at),y.input.reset(),b.somethingSelected()||(w.value=c.prevInput=" "),c.contextMenuPending=xn,y.selForContextMenu=b.doc.sel,clearTimeout(y.detectingSelectAll);function Tn(){if(w.selectionStart!=null){var bi=b.somethingSelected(),Bi="\u200B"+(bi?w.value:"");w.value="\u21DA",w.value=Bi,c.prevInput=bi?"":"\u200B",w.selectionStart=1,w.selectionEnd=Bi.length,y.selForContextMenu=b.doc.sel}}function xn(){if(c.contextMenuPending==xn&&(c.contextMenuPending=!1,c.wrapper.style.cssText=Ze,w.style.cssText=ye,G&&P<9&&y.scrollbars.setScrollTop(y.scroller.scrollTop=ne),w.selectionStart!=null)){(!G||G&&P<9)&&Tn();var bi=0,Bi=function(){y.selForContextMenu==b.doc.sel&&w.selectionStart==0&&w.selectionEnd>0&&c.prevInput=="\u200B"?ve(b,Kr)(b):bi++<10?y.detectingSelectAll=setTimeout(Bi,500):(y.selForContextMenu=null,y.input.reset())};y.detectingSelectAll=setTimeout(Bi,200)}}if(G&&P>=9&&Tn(),ke){wi(s);var hi=function(){nn(window,"mouseup",hi),setTimeout(xn,20)};jt(window,"mouseup",hi)}else setTimeout(xn,50)},tl.prototype.readOnlyChanged=function(s){s||this.reset(),this.textarea.disabled=s=="nocursor",this.textarea.readOnly=!!s},tl.prototype.setUneditable=function(){},tl.prototype.needsContentAttribute=!1;function b0(s,c){if(c=c?En(c):{},c.value=s.value,!c.tabindex&&s.tabIndex&&(c.tabindex=s.tabIndex),!c.placeholder&&s.placeholder&&(c.placeholder=s.placeholder),c.autofocus==null){var b=We();c.autofocus=b==s||s.getAttribute("autofocus")!=null&&b==document.body}function y(){s.value=Se.getValue()}var w;if(s.form&&(jt(s.form,"submit",y),!c.leaveSubmitMethodAlone)){var H=s.form;w=H.submit;try{var ne=H.submit=function(){y(),H.submit=w,H.submit(),H.submit=ne}}catch(ye){}}c.finishInit=function(ye){ye.save=y,ye.getTextArea=function(){return s},ye.toTextArea=function(){ye.toTextArea=isNaN,y(),s.parentNode.removeChild(ye.getWrapperElement()),s.style.display="",s.form&&(nn(s.form,"submit",y),!c.leaveSubmitMethodAlone&&typeof s.form.submit=="function"&&(s.form.submit=w))}},s.style.display="none";var Se=Ca(function(ye){return s.parentNode.insertBefore(ye,s.nextSibling)},c);return Se}function md(s){s.off=nn,s.on=jt,s.wheelEventPixels=en,s.Doc=$i,s.splitLines=pr,s.countColumn=Je,s.findColumn=ai,s.isWordChar=j,s.Pass=Vt,s.signal=et,s.Line=Ya,s.changeEnd=Or,s.scrollbarModel=Tu,s.Pos=ot,s.cmpPos=un,s.modes=eo,s.mimeModes=yo,s.resolveMode=ur,s.getMode=zi,s.modeExtensions=xi,s.extendMode=dt,s.copyState=_n,s.startState=yt,s.innerMode=Wn,s.commands=Hs,s.keyMap=Is,s.keyName=Pc,s.isModifierKey=Au,s.lookupKey=_s,s.normalizeKeyMap=Kl,s.StringStream=Ke,s.SharedTextMarker=pt,s.TextMarker=Y,s.LineWidget=S,s.e_preventDefault=Un,s.e_stopPropagation=On,s.e_stop=wi,s.addClass=Pt,s.contains=lt,s.rmClass=Ne,s.keyNames=ca}g0(Ca),ph(Ca);var Qc="iter insert remove copy getEditor constructor".split(" ");for(var _d in $i.prototype)$i.prototype.hasOwnProperty(_d)&&ue(Qc,_d)<0&&(Ca.prototype[_d]=function(s){return function(){return s.apply(this.doc,arguments)}}($i.prototype[_d]));return ze($i),Ca.inputStyles={textarea:tl,contenteditable:Ja},Ca.defineMode=function(s){!Ca.defaults.mode&&s!="null"&&(Ca.defaults.mode=s),Ir.apply(this,arguments)},Ca.defineMIME=no,Ca.defineMode("null",function(){return{token:function(s){return s.skipToEnd()}}}),Ca.defineMIME("text/plain","null"),Ca.defineExtension=function(s,c){Ca.prototype[s]=c},Ca.defineDocExtension=function(s,c){$i.prototype[s]=c},Ca.fromTextArea=b0,md(Ca),Ca.version="5.58.2",Ca})},25419:function(Q,C,h){(function(v){v(h(89780),h(15525),h(98101))})(function(v){"use strict";v.defineMode("markdown",function(I,O){var F=v.getMode(I,"text/html"),G=F.name=="null";function P(Je){if(v.findModeByName){var se=v.findModeByName(Je);se&&(Je=se.mime||se.mimes[0])}var ue=v.getMode(I,Je);return ue.name=="null"?null:ue}O.highlightFormatting===void 0&&(O.highlightFormatting=!1),O.maxBlockquoteDepth===void 0&&(O.maxBlockquoteDepth=0),O.taskLists===void 0&&(O.taskLists=!1),O.strikethrough===void 0&&(O.strikethrough=!1),O.emoji===void 0&&(O.emoji=!1),O.fencedCodeBlockHighlighting===void 0&&(O.fencedCodeBlockHighlighting=!0),O.fencedCodeBlockDefaultMode===void 0&&(O.fencedCodeBlockDefaultMode="text/plain"),O.xml===void 0&&(O.xml=!0),O.tokenTypeOverrides===void 0&&(O.tokenTypeOverrides={});var M={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var de in M)M.hasOwnProperty(de)&&O.tokenTypeOverrides[de]&&(M[de]=O.tokenTypeOverrides[de]);var ce=/^([*\-_])(?:\s*\1){2,}\s*$/,te=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Me=/^\[(x| )\](?=\s)/i,we=O.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Qe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,Te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ae=/^\s*\[[^\]]+?\]:.*$/,Re=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,fe=" ";function me(Je,se,ue){return se.f=se.inline=ue,ue(Je,se)}function xe(Je,se,ue){return se.f=se.block=ue,ue(Je,se)}function ge(Je){return!Je||!/\S/.test(Je.string)}function ke(Je){if(Je.linkTitle=!1,Je.linkHref=!1,Je.linkText=!1,Je.em=!1,Je.strong=!1,Je.strikethrough=!1,Je.quote=0,Je.indentedCode=!1,Je.f==Ne){var se=G;if(!se){var ue=v.innerMode(F,Je.htmlState);se=ue.mode.name=="xml"&&ue.state.tagStart===null&&!ue.state.context&&ue.state.tokenize.isInText}se&&(Je.f=Ye,Je.block=ee,Je.htmlState=null)}return Je.trailingSpace=0,Je.trailingSpaceNewLine=!1,Je.prevLine=Je.thisLine,Je.thisLine={stream:null},null}function ee(Je,se){var ue=Je.column()===se.indentation,Ht=ge(se.prevLine.stream),Vt=se.indentedCode,St=se.prevLine.hr,an=se.list!==!1,Ft=(se.listStack[se.listStack.length-1]||0)+3;se.indentedCode=!1;var ai=se.indentation;if(se.indentationDiff===null&&(se.indentationDiff=se.indentation,an)){for(se.list=null;ai=4&&(Vt||se.prevLine.fencedCodeEnd||se.prevLine.header||Ht))return Je.skipToEnd(),se.indentedCode=!0,M.code;if(Je.eatSpace())return null;if(ue&&se.indentation<=Ft&&(Jn=Je.match(we))&&Jn[1].length<=6)return se.quote=0,se.header=Jn[1].length,se.thisLine.header=!0,O.highlightFormatting&&(se.formatting="header"),se.f=se.inline,Fe(se);if(se.indentation<=Ft&&Je.eat(">"))return se.quote=ue?1:se.quote+1,O.highlightFormatting&&(se.formatting="quote"),Je.eatSpace(),Fe(se);if(!ni&&!se.setext&&ue&&se.indentation<=Ft&&(Jn=Je.match(te))){var In=Jn[1]?"ol":"ul";return se.indentation=ai+Je.current().length,se.list=!0,se.quote=0,se.listStack.push(se.indentation),se.em=!1,se.strong=!1,se.code=!1,se.strikethrough=!1,O.taskLists&&Je.match(Me,!1)&&(se.taskList=!0),se.f=se.inline,O.highlightFormatting&&(se.formatting=["list","list-"+In]),Fe(se)}else{if(ue&&se.indentation<=Ft&&(Jn=Je.match(Te,!0)))return se.quote=0,se.fencedEndRE=new RegExp(Jn[1]+"+ *$"),se.localMode=O.fencedCodeBlockHighlighting&&P(Jn[2]||O.fencedCodeBlockDefaultMode),se.localMode&&(se.localState=v.startState(se.localMode)),se.f=se.block=Ie,O.highlightFormatting&&(se.formatting="code-block"),se.code=-1,Fe(se);if(se.setext||(!Ln||!an)&&!se.quote&&se.list===!1&&!se.code&&!ni&&!Ae.test(Je.string)&&(Jn=Je.lookAhead(1))&&(Jn=Jn.match(Qe)))return se.setext?(se.header=se.setext,se.setext=0,Je.skipToEnd(),O.highlightFormatting&&(se.formatting="header")):(se.header=Jn[0].charAt(0)=="="?1:2,se.setext=se.header),se.thisLine.header=!0,se.f=se.inline,Fe(se);if(ni)return Je.skipToEnd(),se.hr=!0,se.thisLine.hr=!0,M.hr;if(Je.peek()==="[")return me(Je,se,xt)}return me(Je,se,se.inline)}function Ne(Je,se){var ue=F.token(Je,se.htmlState);if(!G){var Ht=v.innerMode(F,se.htmlState);(Ht.mode.name=="xml"&&Ht.state.tagStart===null&&!Ht.state.context&&Ht.state.tokenize.isInText||se.md_inside&&Je.current().indexOf(">")>-1)&&(se.f=Ye,se.block=ee,se.htmlState=null)}return ue}function Ie(Je,se){var ue=se.listStack[se.listStack.length-1]||0,Ht=se.indentation=Je.quote?se.push(M.formatting+"-"+Je.formatting[ue]+"-"+Je.quote):se.push("error"))}if(Je.taskOpen)return se.push("meta"),se.length?se.join(" "):null;if(Je.taskClosed)return se.push("property"),se.length?se.join(" "):null;if(Je.linkHref?se.push(M.linkHref,"url"):(Je.strong&&se.push(M.strong),Je.em&&se.push(M.em),Je.strikethrough&&se.push(M.strikethrough),Je.emoji&&se.push(M.emoji),Je.linkText&&se.push(M.linkText),Je.code&&se.push(M.code),Je.image&&se.push(M.image),Je.imageAltText&&se.push(M.imageAltText,"link"),Je.imageMarker&&se.push(M.imageMarker)),Je.header&&se.push(M.header,M.header+"-"+Je.header),Je.quote&&(se.push(M.quote),!O.maxBlockquoteDepth||O.maxBlockquoteDepth>=Je.quote?se.push(M.quote+"-"+Je.quote):se.push(M.quote+"-"+O.maxBlockquoteDepth)),Je.list!==!1){var Ht=(Je.listStack.length-1)%3;Ht?Ht===1?se.push(M.list2):se.push(M.list3):se.push(M.list1)}return Je.trailingSpaceNewLine?se.push("trailing-space-new-line"):Je.trailingSpace&&se.push("trailing-space-"+(Je.trailingSpace%2?"a":"b")),se.length?se.join(" "):null}function Xe(Je,se){if(Je.match(Oe,!0))return Fe(se)}function Ye(Je,se){var ue=se.text(Je,se);if(typeof ue!="undefined")return ue;if(se.list)return se.list=null,Fe(se);if(se.taskList){var Ht=Je.match(Me,!0)[1]===" ";return Ht?se.taskOpen=!0:se.taskClosed=!0,O.highlightFormatting&&(se.formatting="task"),se.taskList=!1,Fe(se)}if(se.taskOpen=!1,se.taskClosed=!1,se.header&&Je.match(/^#+$/,!0))return O.highlightFormatting&&(se.formatting="header"),Fe(se);var Vt=Je.next();if(se.linkTitle){se.linkTitle=!1;var St=Vt;Vt==="("&&(St=")"),St=(St+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var an="^\\s*(?:[^"+St+"\\\\]+|\\\\\\\\|\\\\.)"+St;if(Je.match(new RegExp(an),!0))return M.linkHref}if(Vt==="`"){var Ft=se.formatting;O.highlightFormatting&&(se.formatting="code"),Je.eatWhile("`");var ai=Je.current().length;if(se.code==0&&(!se.quote||ai==1))return se.code=ai,Fe(se);if(ai==se.code){var Ln=Fe(se);return se.code=0,Ln}else return se.formatting=Ft,Fe(se)}else if(se.code)return Fe(se);if(Vt==="\\"&&(Je.next(),O.highlightFormatting)){var ni=Fe(se),Jn=M.formatting+"-escape";return ni?ni+" "+Jn:Jn}if(Vt==="!"&&Je.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return se.imageMarker=!0,se.image=!0,O.highlightFormatting&&(se.formatting="image"),Fe(se);if(Vt==="["&&se.imageMarker&&Je.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return se.imageMarker=!1,se.imageAltText=!0,O.highlightFormatting&&(se.formatting="image"),Fe(se);if(Vt==="]"&&se.imageAltText){O.highlightFormatting&&(se.formatting="image");var ni=Fe(se);return se.imageAltText=!1,se.image=!1,se.inline=se.f=lt,ni}if(Vt==="["&&!se.image)return se.linkText&&Je.match(/^.*?\]/)||(se.linkText=!0,O.highlightFormatting&&(se.formatting="link")),Fe(se);if(Vt==="]"&&se.linkText){O.highlightFormatting&&(se.formatting="link");var ni=Fe(se);return se.linkText=!1,se.inline=se.f=Je.match(/\(.*?\)| ?\[.*?\]/,!1)?lt:Ye,ni}if(Vt==="<"&&Je.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){se.f=se.inline=ie,O.highlightFormatting&&(se.formatting="link");var ni=Fe(se);return ni?ni+=" ":ni="",ni+M.linkInline}if(Vt==="<"&&Je.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){se.f=se.inline=ie,O.highlightFormatting&&(se.formatting="link");var ni=Fe(se);return ni?ni+=" ":ni="",ni+M.linkEmail}if(O.xml&&Vt==="<"&&Je.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var In=Je.string.indexOf(">",Je.pos);if(In!=-1){var Mn=Je.string.substring(Je.start,In);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Mn)&&(se.md_inside=!0)}return Je.backUp(1),se.htmlState=v.startState(F),xe(Je,se,Ne)}if(O.xml&&Vt==="<"&&Je.match(/^\/\w*?>/))return se.md_inside=!1,"tag";if(Vt==="*"||Vt==="_"){for(var re=1,z=Je.pos==1?" ":Je.string.charAt(Je.pos-2);re<3&&Je.eat(Vt);)re++;var k=Je.peek()||" ",j=!/\s/.test(k)&&(!Re.test(k)||/\s/.test(z)||Re.test(z)),X=!/\s/.test(z)&&(!Re.test(z)||/\s/.test(k)||Re.test(k)),N=null,_e=null;if(re%2&&(!se.em&&j&&(Vt==="*"||!X||Re.test(z))?N=!0:se.em==Vt&&X&&(Vt==="*"||!j||Re.test(k))&&(N=!1)),re>1&&(!se.strong&&j&&(Vt==="*"||!X||Re.test(z))?_e=!0:se.strong==Vt&&X&&(Vt==="*"||!j||Re.test(k))&&(_e=!1)),_e!=null||N!=null){O.highlightFormatting&&(se.formatting=N==null?"strong":_e==null?"em":"strong em"),N===!0&&(se.em=Vt),_e===!0&&(se.strong=Vt);var Ln=Fe(se);return N===!1&&(se.em=!1),_e===!1&&(se.strong=!1),Ln}}else if(Vt===" "&&(Je.eat("*")||Je.eat("_"))){if(Je.peek()===" ")return Fe(se);Je.backUp(1)}if(O.strikethrough){if(Vt==="~"&&Je.eatWhile(Vt)){if(se.strikethrough){O.highlightFormatting&&(se.formatting="strikethrough");var Ln=Fe(se);return se.strikethrough=!1,Ln}else if(Je.match(/^[^\s]/,!1))return se.strikethrough=!0,O.highlightFormatting&&(se.formatting="strikethrough"),Fe(se)}else if(Vt===" "&&Je.match(/^~~/,!0)){if(Je.peek()===" ")return Fe(se);Je.backUp(2)}}if(O.emoji&&Vt===":"&&Je.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){se.emoji=!0,O.highlightFormatting&&(se.formatting="emoji");var Nt=Fe(se);return se.emoji=!1,Nt}return Vt===" "&&(Je.match(/^ +$/,!1)?se.trailingSpace++:se.trailingSpace&&(se.trailingSpaceNewLine=!0)),Fe(se)}function ie(Je,se){var ue=Je.next();if(ue===">"){se.f=se.inline=Ye,O.highlightFormatting&&(se.formatting="link");var Ht=Fe(se);return Ht?Ht+=" ":Ht="",Ht+M.linkInline}return Je.match(/^[^>]+/,!0),M.linkInline}function lt(Je,se){if(Je.eatSpace())return null;var ue=Je.next();return ue==="("||ue==="["?(se.f=se.inline=Pt(ue==="("?")":"]"),O.highlightFormatting&&(se.formatting="link-string"),se.linkHref=!0,Fe(se)):"error"}var We={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Pt(Je){return function(se,ue){var Ht=se.next();if(Ht===Je){ue.f=ue.inline=Ye,O.highlightFormatting&&(ue.formatting="link-string");var Vt=Fe(ue);return ue.linkHref=!1,Vt}return se.match(We[Je]),ue.linkHref=!0,Fe(ue)}}function xt(Je,se){return Je.match(/^([^\]\\]|\\.)*\]:/,!1)?(se.f=kt,Je.next(),O.highlightFormatting&&(se.formatting="link"),se.linkText=!0,Fe(se)):me(Je,se,Ye)}function kt(Je,se){if(Je.match(/^\]:/,!0)){se.f=se.inline=wt,O.highlightFormatting&&(se.formatting="link");var ue=Fe(se);return se.linkText=!1,ue}return Je.match(/^([^\]\\]|\\.)+/,!0),M.linkText}function wt(Je,se){return Je.eatSpace()?null:(Je.match(/^[^\s]+/,!0),Je.peek()===void 0?se.linkTitle=!0:Je.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),se.f=se.inline=Ye,M.linkHref+" url")}var En={startState:function(){return{f:ee,prevLine:{stream:null},thisLine:{stream:null},block:ee,htmlState:null,indentation:0,inline:Ye,text:Xe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Je){return{f:Je.f,prevLine:Je.prevLine,thisLine:Je.thisLine,block:Je.block,htmlState:Je.htmlState&&v.copyState(F,Je.htmlState),indentation:Je.indentation,localMode:Je.localMode,localState:Je.localMode?v.copyState(Je.localMode,Je.localState):null,inline:Je.inline,text:Je.text,formatting:!1,linkText:Je.linkText,linkTitle:Je.linkTitle,linkHref:Je.linkHref,code:Je.code,em:Je.em,strong:Je.strong,strikethrough:Je.strikethrough,emoji:Je.emoji,header:Je.header,setext:Je.setext,hr:Je.hr,taskList:Je.taskList,list:Je.list,listStack:Je.listStack.slice(0),quote:Je.quote,indentedCode:Je.indentedCode,trailingSpace:Je.trailingSpace,trailingSpaceNewLine:Je.trailingSpaceNewLine,md_inside:Je.md_inside,fencedEndRE:Je.fencedEndRE}},token:function(Je,se){if(se.formatting=!1,Je!=se.thisLine.stream){if(se.header=0,se.hr=!1,Je.match(/^\s*$/,!0))return ke(se),null;if(se.prevLine=se.thisLine,se.thisLine={stream:Je},se.taskList=!1,se.trailingSpace=0,se.trailingSpaceNewLine=!1,!se.localState&&(se.f=se.block,se.f!=Ne)){var ue=Je.match(/^\s*/,!0)[0].replace(/\t/g,fe).length;if(se.indentation=ue,se.indentationDiff=null,ue>0)return null}}return se.f(Je,se)},innerMode:function(Je){return Je.block==Ne?{state:Je.htmlState,mode:F}:Je.localState?{state:Je.localState,mode:Je.localMode}:{state:Je,mode:En}},indent:function(Je,se,ue){return Je.block==Ne&&F.indent?F.indent(Je.htmlState,se,ue):Je.localState&&Je.localMode.indent?Je.localMode.indent(Je.localState,se,ue):v.Pass},blankLine:ke,getType:Fe,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return En},"xml"),v.defineMIME("text/markdown","markdown"),v.defineMIME("text/x-markdown","markdown")})},98101:function(Q,C,h){(function(v){v(h(89780))})(function(v){"use strict";v.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var I=0;I-1&&F.substring(M+1,F.length);if(de)return v.findModeByExtension(de)},v.findModeByName=function(F){F=F.toLowerCase();for(var G=0;G0?Oe.cmdState[Oe.cmdState.length-1]:null}function P(Oe){var Te=Oe.cmdState.pop();Te&&Te.closeBracket()}function M(Oe){for(var Te=Oe.cmdState,Ae=Te.length-1;Ae>=0;Ae--){var Re=Te[Ae];if(Re.name!="DEFAULT")return Re}return{styleIdentifier:function(){return null}}}function de(Oe,Te,Ae){return function(){this.name=Oe,this.bracketNo=0,this.style=Te,this.styles=Ae,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var ce={};ce.importmodule=de("importmodule","tag",["string","builtin"]),ce.documentclass=de("documentclass","tag",["","atom"]),ce.usepackage=de("usepackage","tag",["atom"]),ce.begin=de("begin","tag",["atom"]),ce.end=de("end","tag",["atom"]),ce.label=de("label","tag",["atom"]),ce.ref=de("ref","tag",["atom"]),ce.eqref=de("eqref","tag",["atom"]),ce.cite=de("cite","tag",["atom"]),ce.bibitem=de("bibitem","tag",["atom"]),ce.Bibitem=de("Bibitem","tag",["atom"]),ce.RBibitem=de("RBibitem","tag",["atom"]),ce.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function te(Oe,Te){Oe.f=Te}function Me(Oe,Te){var Ae;if(Oe.match(/^\\[a-zA-Z@]+/)){var Re=Oe.current().slice(1);return Ae=ce.hasOwnProperty(Re)?ce[Re]:ce.DEFAULT,Ae=new Ae,F(Te,Ae),te(Te,Qe),Ae.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return te(Te,function(me,xe){return we(me,xe,"\\]")}),"keyword";if(Oe.match("\\("))return te(Te,function(me,xe){return we(me,xe,"\\)")}),"keyword";if(Oe.match("$$"))return te(Te,function(me,xe){return we(me,xe,"$$")}),"keyword";if(Oe.match("$"))return te(Te,function(me,xe){return we(me,xe,"$")}),"keyword";var fe=Oe.next();if(fe=="%")return Oe.skipToEnd(),"comment";if(fe=="}"||fe=="]"){if(Ae=G(Te),Ae)Ae.closeBracket(fe),te(Te,Qe);else return"error";return"bracket"}else return fe=="{"||fe=="["?(Ae=ce.DEFAULT,Ae=new Ae,F(Te,Ae),"bracket"):/\d/.test(fe)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),Ae=M(Te),Ae.name=="begin"&&(Ae.argument=Oe.current()),Ae.styleIdentifier())}function we(Oe,Te,Ae){if(Oe.eatSpace())return null;if(Ae&&Oe.match(Ae))return te(Te,Me),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Re=Oe.next();return Re=="{"||Re=="}"||Re=="["||Re=="]"||Re=="("||Re==")"?"bracket":Re=="%"?(Oe.skipToEnd(),"comment"):"error"}function Qe(Oe,Te){var Ae=Oe.peek(),Re;return Ae=="{"||Ae=="["?(Re=G(Te),Re.openBracket(Ae),Oe.eat(Ae),te(Te,Me),"bracket"):/[ \t\r]/.test(Ae)?(Oe.eat(Ae),null):(te(Te,Me),P(Te),Me(Oe,Te))}return{startState:function(){var Oe=O.inMathMode?function(Te,Ae){return we(Te,Ae)}:Me;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,Te){return Te.f(Oe,Te)},blankLine:function(Oe){Oe.f=Me,Oe.cmdState.length=0},lineComment:"%"}}),v.defineMIME("text/x-stex","stex"),v.defineMIME("text/x-latex","stex")})},15525:function(Q,C,h){(function(v){v(h(89780))})(function(v){"use strict";var I={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},O={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};v.defineMode("xml",function(F,G){var P=F.indentUnit,M={},de=G.htmlMode?I:O;for(var ce in de)M[ce]=de[ce];for(var ce in G)M[ce]=G[ce];var te,Me;function we(ie,lt){function We(kt){return lt.tokenize=kt,kt(ie,lt)}var Pt=ie.next();if(Pt=="<")return ie.eat("!")?ie.eat("[")?ie.match("CDATA[")?We(Te("atom","]]>")):null:ie.match("--")?We(Te("comment","-->")):ie.match("DOCTYPE",!0,!0)?(ie.eatWhile(/[\w\._\-]/),We(Ae(1))):null:ie.eat("?")?(ie.eatWhile(/[\w\._\-]/),lt.tokenize=Te("meta","?>"),"meta"):(te=ie.eat("/")?"closeTag":"openTag",lt.tokenize=Qe,"tag bracket");if(Pt=="&"){var xt;return ie.eat("#")?ie.eat("x")?xt=ie.eatWhile(/[a-fA-F\d]/)&&ie.eat(";"):xt=ie.eatWhile(/[\d]/)&&ie.eat(";"):xt=ie.eatWhile(/[\w\.\-:]/)&&ie.eat(";"),xt?"atom":"error"}else return ie.eatWhile(/[^&<]/),null}we.isInText=!0;function Qe(ie,lt){var We=ie.next();if(We==">"||We=="/"&&ie.eat(">"))return lt.tokenize=we,te=We==">"?"endTag":"selfcloseTag","tag bracket";if(We=="=")return te="equals",null;if(We=="<"){lt.tokenize=we,lt.state=xe,lt.tagName=lt.tagStart=null;var Pt=lt.tokenize(ie,lt);return Pt?Pt+" tag error":"tag error"}else return/[\'\"]/.test(We)?(lt.tokenize=Oe(We),lt.stringStartCol=ie.column(),lt.tokenize(ie,lt)):(ie.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(ie){var lt=function(We,Pt){for(;!We.eol();)if(We.next()==ie){Pt.tokenize=Qe;break}return"string"};return lt.isInAttribute=!0,lt}function Te(ie,lt){return function(We,Pt){for(;!We.eol();){if(We.match(lt)){Pt.tokenize=we;break}We.next()}return ie}}function Ae(ie){return function(lt,We){for(var Pt;(Pt=lt.next())!=null;){if(Pt=="<")return We.tokenize=Ae(ie+1),We.tokenize(lt,We);if(Pt==">")if(ie==1){We.tokenize=we;break}else return We.tokenize=Ae(ie-1),We.tokenize(lt,We)}return"meta"}}function Re(ie,lt,We){this.prev=ie.context,this.tagName=lt,this.indent=ie.indented,this.startOfLine=We,(M.doNotIndent.hasOwnProperty(lt)||ie.context&&ie.context.noIndent)&&(this.noIndent=!0)}function fe(ie){ie.context&&(ie.context=ie.context.prev)}function me(ie,lt){for(var We;;){if(!ie.context||(We=ie.context.tagName,!M.contextGrabbers.hasOwnProperty(We)||!M.contextGrabbers[We].hasOwnProperty(lt)))return;fe(ie)}}function xe(ie,lt,We){return ie=="openTag"?(We.tagStart=lt.column(),ge):ie=="closeTag"?ke:xe}function ge(ie,lt,We){return ie=="word"?(We.tagName=lt.current(),Me="tag",Ie):M.allowMissingTagName&&ie=="endTag"?(Me="tag bracket",Ie(ie,lt,We)):(Me="error",ge)}function ke(ie,lt,We){if(ie=="word"){var Pt=lt.current();return We.context&&We.context.tagName!=Pt&&M.implicitlyClosed.hasOwnProperty(We.context.tagName)&&fe(We),We.context&&We.context.tagName==Pt||M.matchClosing===!1?(Me="tag",ee):(Me="tag error",Ne)}else return M.allowMissingTagName&&ie=="endTag"?(Me="tag bracket",ee(ie,lt,We)):(Me="error",Ne)}function ee(ie,lt,We){return ie!="endTag"?(Me="error",ee):(fe(We),xe)}function Ne(ie,lt,We){return Me="error",ee(ie,lt,We)}function Ie(ie,lt,We){if(ie=="word")return Me="attribute",Fe;if(ie=="endTag"||ie=="selfcloseTag"){var Pt=We.tagName,xt=We.tagStart;return We.tagName=We.tagStart=null,ie=="selfcloseTag"||M.autoSelfClosers.hasOwnProperty(Pt)?me(We,Pt):(me(We,Pt),We.context=new Re(We,Pt,xt==We.indented)),xe}return Me="error",Ie}function Fe(ie,lt,We){return ie=="equals"?Xe:(M.allowMissing||(Me="error"),Ie(ie,lt,We))}function Xe(ie,lt,We){return ie=="string"?Ye:ie=="word"&&M.allowUnquoted?(Me="string",Ie):(Me="error",Ie(ie,lt,We))}function Ye(ie,lt,We){return ie=="string"?Ye:Ie(ie,lt,We)}return{startState:function(ie){var lt={tokenize:we,state:xe,indented:ie||0,tagName:null,tagStart:null,context:null};return ie!=null&&(lt.baseIndent=ie),lt},token:function(ie,lt){if(!lt.tagName&&ie.sol()&&(lt.indented=ie.indentation()),ie.eatSpace())return null;te=null;var We=lt.tokenize(ie,lt);return(We||te)&&We!="comment"&&(Me=null,lt.state=lt.state(te||We,ie,lt),Me&&(We=Me=="error"?We+" error":Me)),We},indent:function(ie,lt,We){var Pt=ie.context;if(ie.tokenize.isInAttribute)return ie.tagStart==ie.indented?ie.stringStartCol+1:ie.indented+P;if(Pt&&Pt.noIndent)return v.Pass;if(ie.tokenize!=Qe&&ie.tokenize!=we)return We?We.match(/^(\s*)/)[0].length:0;if(ie.tagName)return M.multilineTagIndentPastTag!==!1?ie.tagStart+ie.tagName.length+2:ie.tagStart+P*(M.multilineTagIndentFactor||1);if(M.alignCDATA&&/$/,blockCommentStart:"",configuration:M.htmlMode?"html":"xml",helperType:M.htmlMode?"html":"xml",skipAttribute:function(ie){ie.state==Xe&&(ie.state=Ie)},xmlCurrentTag:function(ie){return ie.tagName?{name:ie.tagName,close:ie.type=="closeTag"}:null},xmlCurrentContext:function(ie){for(var lt=[],We=ie.context;We;We=We.prev)We.tagName&<.push(We.tagName);return lt.reverse()}}}),v.defineMIME("text/xml","xml"),v.defineMIME("application/xml","xml"),v.mimeModes.hasOwnProperty("text/html")||v.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(Q,C){"use strict";var h;C.Q=F,h=G;var v=",",I=" ",O="";function F(P){for(var M=[],de=String(P||O),ce=de.indexOf(v),te=0,Me=!1,we;!Me;)ce===-1&&(ce=de.length,Me=!0),we=de.slice(te,ce).trim(),(we||!Me)&&M.push(we),te=ce+1,ce=de.indexOf(v,te);return M}function G(P,M){var de=M||{},ce=de.padLeft===!1?O:I,te=de.padRight?I:O;return P[P.length-1]===O&&(P=P.concat(O)),P.join(te+v+ce).trim()}},86204:function(Q){"use strict";var C=typeof Reflect=="object"?Reflect:null,h=C&&typeof C.apply=="function"?C.apply:function(xe,ge,ke){return Function.prototype.apply.call(xe,ge,ke)},v;C&&typeof C.ownKeys=="function"?v=C.ownKeys:Object.getOwnPropertySymbols?v=function(xe){return Object.getOwnPropertyNames(xe).concat(Object.getOwnPropertySymbols(xe))}:v=function(xe){return Object.getOwnPropertyNames(xe)};function I(me){console&&console.warn&&console.warn(me)}var O=Number.isNaN||function(xe){return xe!==xe};function F(){F.init.call(this)}Q.exports=F,Q.exports.once=Ae,F.EventEmitter=F,F.prototype._events=void 0,F.prototype._eventsCount=0,F.prototype._maxListeners=void 0;var G=10;function P(me){if(typeof me!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof me)}Object.defineProperty(F,"defaultMaxListeners",{enumerable:!0,get:function(){return G},set:function(me){if(typeof me!="number"||me<0||O(me))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+me+".");G=me}}),F.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},F.prototype.setMaxListeners=function(xe){if(typeof xe!="number"||xe<0||O(xe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+xe+".");return this._maxListeners=xe,this};function M(me){return me._maxListeners===void 0?F.defaultMaxListeners:me._maxListeners}F.prototype.getMaxListeners=function(){return M(this)},F.prototype.emit=function(xe){for(var ge=[],ke=1;ke0&&(Ie=ge[0]),Ie instanceof Error)throw Ie;var Fe=new Error("Unhandled error."+(Ie?" ("+Ie.message+")":""));throw Fe.context=Ie,Fe}var Xe=Ne[xe];if(Xe===void 0)return!1;if(typeof Xe=="function")h(Xe,this,ge);else for(var Ye=Xe.length,ie=Qe(Xe,Ye),ke=0;ke0&&Ie.length>ee&&!Ie.warned){Ie.warned=!0;var Fe=new Error("Possible EventEmitter memory leak detected. "+Ie.length+" "+String(xe)+" listeners added. Use emitter.setMaxListeners() to increase limit");Fe.name="MaxListenersExceededWarning",Fe.emitter=me,Fe.type=xe,Fe.count=Ie.length,I(Fe)}return me}F.prototype.addListener=function(xe,ge){return de(this,xe,ge,!1)},F.prototype.on=F.prototype.addListener,F.prototype.prependListener=function(xe,ge){return de(this,xe,ge,!0)};function ce(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function te(me,xe,ge){var ke={fired:!1,wrapFn:void 0,target:me,type:xe,listener:ge},ee=ce.bind(ke);return ee.listener=ge,ke.wrapFn=ee,ee}F.prototype.once=function(xe,ge){return P(ge),this.on(xe,te(this,xe,ge)),this},F.prototype.prependOnceListener=function(xe,ge){return P(ge),this.prependListener(xe,te(this,xe,ge)),this},F.prototype.removeListener=function(xe,ge){var ke,ee,Ne,Ie,Fe;if(P(ge),ee=this._events,ee===void 0)return this;if(ke=ee[xe],ke===void 0)return this;if(ke===ge||ke.listener===ge)--this._eventsCount===0?this._events=Object.create(null):(delete ee[xe],ee.removeListener&&this.emit("removeListener",xe,ke.listener||ge));else if(typeof ke!="function"){for(Ne=-1,Ie=ke.length-1;Ie>=0;Ie--)if(ke[Ie]===ge||ke[Ie].listener===ge){Fe=ke[Ie].listener,Ne=Ie;break}if(Ne<0)return this;Ne===0?ke.shift():Oe(ke,Ne),ke.length===1&&(ee[xe]=ke[0]),ee.removeListener!==void 0&&this.emit("removeListener",xe,Fe||ge)}return this},F.prototype.off=F.prototype.removeListener,F.prototype.removeAllListeners=function(xe){var ge,ke,ee;if(ke=this._events,ke===void 0)return this;if(ke.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):ke[xe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete ke[xe]),this;if(arguments.length===0){var Ne=Object.keys(ke),Ie;for(ee=0;ee=0;ee--)this.removeListener(xe,ge[ee]);return this};function Me(me,xe,ge){var ke=me._events;if(ke===void 0)return[];var ee=ke[xe];return ee===void 0?[]:typeof ee=="function"?ge?[ee.listener||ee]:[ee]:ge?Te(ee):Qe(ee,ee.length)}F.prototype.listeners=function(xe){return Me(this,xe,!0)},F.prototype.rawListeners=function(xe){return Me(this,xe,!1)},F.listenerCount=function(me,xe){return typeof me.listenerCount=="function"?me.listenerCount(xe):we.call(me,xe)},F.prototype.listenerCount=we;function we(me){var xe=this._events;if(xe!==void 0){var ge=xe[me];if(typeof ge=="function")return 1;if(ge!==void 0)return ge.length}return 0}F.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]};function Qe(me,xe){for(var ge=new Array(xe),ke=0;ken&&(n=Math.max(0,r+n)),(i==null||i>r)&&(i=r),i=Number(i),0>i&&(i=Math.max(0,r+i)),n=Number(n||0);n=e.length?e.push(n):e.splice(t,0,n):Ve("Cannot insert an object into an HTMLCollection or NodeList: "+n+" at "+t)}function L(e,t){Array.isArray(e)?t>=e.length?e.pop():e.splice(t,1):Ve("Cannot remove an object from an HTMLCollection or NodeList at "+t)}function Lt(){var e=Qi.pop();return e===void 0?[]:e}function Qt(e){e.length=0,Qi.push(e)}function mt(e){if(typeof e=="function"){if(e.className)return e.className;if(e.name)return e.name;var t=e.toString();if(t=t.substring(9,t.indexOf("(")).trim(),t!=="")return e._className=t}else if(ot(e)&&e.constructor)return mt(e.constructor);return typeof e}function vn(e){var t=e;return ot(e)&&(e.text?t=e.text:e.name?t=e.name:e.key!==void 0?t=e.key:e.id!==void 0?t=e.id:e.constructor===Object&&(e.Text?t=e.Text:e.Name?t=e.Name:e.Key!==void 0?t=e.Key:e.Id!==void 0?t=e.Id:e.ID!==void 0&&(t=e.ID))),t===void 0?"undefined":t===null?"null":t.toString()}function Cn(e,t){if(e.hasOwnProperty(t))return!0;for(e=Object.getPrototypeOf(e);e&&e!==Function;){if(e.hasOwnProperty(t))return!0;var n=e.CA;if(n&&n[t])return!0;e=Object.getPrototypeOf(e)}return!1}function ui(e,t,n){Object.defineProperty(Co.prototype,e,{get:t,set:n})}function Nn(e){for(var t=[],n=0;256>n;n++)t["0123456789abcdef".charAt(n>>4)+"0123456789abcdef".charAt(n&15)]=String.fromCharCode(n);e.length%2&&(e="0"+e),n=[];for(var i=0,r=0;rn;n++)t[n]=n;for(n=i=0;256>n;n++)i=(i+t[n]+119)%256,r=t[n],t[n]=t[i],t[i]=r;i=n=0;for(var o="",a=0;a-1||o.indexOf("\xA9 1998-2021 Northwoods Software")>-1||o.indexOf("Not for distribution or production use")>-1||o.indexOf("gojs.net")>-1?"":o}var st=Ke.navigator!==void 0&&0this.key)return!1;e=e.s;var t=e.length,n=++this.Za,i=this.qf;if(i!==null)for(;nthis.key)return!1;var t=--this.Za;return 0<=t?(this.key=t,this.value=e.s[t],!0):(this.de(),!1)},_i.prototype.Ad=function(){return this.next()},_i.prototype.first=function(){var e=this.Bb;this.qa=e.Ja;var t=e.s;return this.Za=e=t.length-1,0<=e?(t=t[e],this.key=e,this.value=t):null},_i.prototype.any=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)if(e(t[n]))return!0;return!1},_i.prototype.all=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)if(!e(t[n]))return!1;return!0},_i.prototype.each=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)e(t[n]);return this},_i.prototype.map=function(e){var t=this.Bb;t.Hg=null;var n=[];t=t.s;var i=t.length;for(this.Za=i,--i;0<=i;i--)n.push(e(t[i]));return e=new Xt,e.s=n,e.xb(),e.iterator},_i.prototype.filter=function(e){var t=this.Bb;t.Hg=null;var n=[];t=t.s;var i=t.length;for(this.Za=i,--i;0<=i;i--){var r=t[i];e(r)&&n.push(r)}return e=new Xt,e.s=n,e.xb(),e.iterator},_i.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},_i.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},dt.Object.defineProperties(_i.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),_i.prototype.first=_i.prototype.first,_i.prototype.hasNext=_i.prototype.Ad,_i.prototype.next=_i.prototype.next,_i.prototype.reset=_i.prototype.reset,_i.className="ListIteratorBackwards";function Xt(e){Pi(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=Xt.prototype,U.xb=function(){var e=this.Ja;e++,999999999e||e>=t.length)&&Ot(e,"0 <= i < length",Xt,"elt:i"),t[e]},U.get=function(e){return this.M(e)},U.cd=function(e,t){var n=this.s;(0>e||e>=n.length)&&Ot(e,"0 <= i < length",Xt,"setElt:i"),this._isFrozen&&Ut(this,e),n[e]=t},U.set=function(e,t){this.cd(e,t)},U.first=function(){var e=this.s;return e.length===0?null:e[0]},U.jc=function(){var e=this.s,t=e.length;return 0e&&Ot(e,">= 0",Xt,"insertAt:i"),this._isFrozen&&Ut(this,e);var n=this.s;e>=n.length?n.push(t):n.splice(e,0,t),this.xb()},U.remove=function(e){if(e===null)return!1;this._isFrozen&&Ut(this,e);var t=this.s;return e=t.indexOf(e),e===-1?!1:(e===t.length-1?t.pop():t.splice(e,1),this.xb(),!0)},U.delete=function(e){return this.remove(e)},U.mb=function(e){var t=this.s;(0>e||e>=t.length)&&Ot(e,"0 <= i < length",Xt,"removeAt:i"),this._isFrozen&&Ut(this,e),e===t.length-1?t.pop():t.splice(e,1),this.xb()},U.removeRange=function(e,t){var n=this.s,i=n.length;if(0>e)e=0;else if(e>=i)return this;if(0>t)return this;if(t>=i&&(t=i-1),e>t)return this;this._isFrozen&&Ut(this);for(var r=e,o=t+1;o=o)return this;if((0>t||t>=r-1)&&Ot(t,"0 <= from < length",Xt,"sortRange:from"),o===2)return n=i[t],r=i[t+1],0=r)i.sort(e);else for(t=i.slice(0,n),t.sort(e),e=0;e=r)for(n=i.slice(t),n.sort(e),e=t;e=this.s.length)return Et;var e=this.Sa;return e!==null?(e.reset(),e):new Rn(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Et;var e=this.Hg;return e!==null?(e.reset(),e):new _i(this)}}}),Xt.prototype.reverse=Xt.prototype.reverse,Xt.prototype.sortRange=Xt.prototype.zi,Xt.prototype.sort=Xt.prototype.sort,Xt.prototype.toSet=Xt.prototype.Iv,Xt.prototype.toArray=Xt.prototype.Fa,Xt.prototype.removeRange=Xt.prototype.removeRange,Xt.prototype.removeAt=Xt.prototype.mb,Xt.prototype.delete=Xt.prototype.delete,Xt.prototype.remove=Xt.prototype.remove,Xt.prototype.insertAt=Xt.prototype.Gb,Xt.prototype.pop=Xt.prototype.pop,Xt.prototype.last=Xt.prototype.jc,Xt.prototype.first=Xt.prototype.first,Xt.prototype.set=Xt.prototype.set,Xt.prototype.setElt=Xt.prototype.cd,Xt.prototype.get=Xt.prototype.get,Xt.prototype.elt=Xt.prototype.M,Xt.prototype.indexOf=Xt.prototype.indexOf,Xt.prototype.has=Xt.prototype.has,Xt.prototype.contains=Xt.prototype.contains,Xt.prototype.clear=Xt.prototype.clear,Xt.prototype.addAll=Xt.prototype.addAll,Xt.prototype.push=Xt.prototype.push,Xt.prototype.add=Xt.prototype.add,Xt.prototype.thaw=Xt.prototype.ka,Xt.prototype.freeze=Xt.prototype.freeze,Xt.className="List";function Ei(e){this.eg=e,e.Sa=null,this.qa=e.Ja,this.sa=null}Ei.prototype.reset=function(){var e=this.eg;e.Sa=null,this.qa=e.Ja,this.sa=null},Ei.prototype.next=function(){var e=this.eg;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=t.value,this.key=t.key,!0):(this.de(),!1)},Ei.prototype.Ad=function(){return this.next()},Ei.prototype.first=function(){var e=this.eg;if(this.qa=e.Ja,e=e.ea,e!==null){this.sa=e;var t=e.value;return this.key=e.key,this.value=t}return null},Ei.prototype.any=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(e(t.value))return!0;t=t.va}return!1},Ei.prototype.all=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(!e(t.value))return!1;t=t.va}return!0},Ei.prototype.each=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;)e(t.value),t=t.va;return this},Ei.prototype.map=function(e){var t=this.eg;t.Sa=null;var n=new Xt;for(t=t.ea;t!==null;)n.add(e(t.value)),t=t.va;return n.iterator},Ei.prototype.filter=function(e){var t=this.eg;t.Sa=null;var n=new Xt;for(t=t.ea;t!==null;){var i=t.value;e(i)&&n.add(i),t=t.va}return n.iterator},Ei.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Ei.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},dt.Object.defineProperties(Ei.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Ei.prototype.first=Ei.prototype.first,Ei.prototype.hasNext=Ei.prototype.Ad,Ei.prototype.next=Ei.prototype.next,Ei.prototype.reset=Ei.prototype.reset,Ei.className="SetIterator";function Zt(e){Pi(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=Zt.prototype,U.xb=function(){var e=this.Ja;e++,999999999=this.Sb)return Et;var e=this.Sa;return e!==null?(e.reset(),e):new Ei(this)}}}),Zt.prototype.toList=Zt.prototype.Hv,Zt.prototype.toArray=Zt.prototype.Fa,Zt.prototype.clear=Zt.prototype.clear,Zt.prototype.retainAll=Zt.prototype.pA,Zt.prototype.removeAll=Zt.prototype.hp,Zt.prototype.delete=Zt.prototype.delete,Zt.prototype.remove=Zt.prototype.remove,Zt.prototype.first=Zt.prototype.first,Zt.prototype.containsAny=Zt.prototype.Ty,Zt.prototype.containsAll=Zt.prototype.Sy,Zt.prototype.has=Zt.prototype.has,Zt.prototype.contains=Zt.prototype.contains,Zt.prototype.addAll=Zt.prototype.addAll,Zt.prototype.add=Zt.prototype.add,Zt.prototype.thaw=Zt.prototype.ka,Zt.prototype.freeze=Zt.prototype.freeze;var Jr=1;Zt.className="Set",Zt.uniqueHash=Pi,Zt.hashIdUnique=Yr,Zt.hashId=It;function Jt(e){this.ma=e,this.qa=e.Ja,this.sa=null}Jt.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Jt.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=this.key=e=t.key,!0):(this.de(),!1)},Jt.prototype.Ad=function(){return this.next()},Jt.prototype.first=function(){var e=this.ma;return this.qa=e.Ja,e=e.ea,e!==null?(this.sa=e,this.value=this.key=e=e.key):null},Jt.prototype.any=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;){if(e(t.key))return!0;t=t.va}return!1},Jt.prototype.all=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;){if(!e(t.key))return!1;t=t.va}return!0},Jt.prototype.each=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;)e(t.key),t=t.va;return this},Jt.prototype.map=function(e){var t=this.ma;this.sa=null;var n=new Xt;for(t=t.ea;t!==null;)n.add(e(t.key)),t=t.va;return n.iterator},Jt.prototype.filter=function(e){var t=this.ma;this.sa=null;var n=new Xt;for(t=t.ea;t!==null;){var i=t.key;e(i)&&n.add(i),t=t.va}return n.iterator},Jt.prototype.de=function(){this.value=this.key=null,this.qa=-1},Jt.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},dt.Object.defineProperties(Jt.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Jt.prototype.first=Jt.prototype.first,Jt.prototype.hasNext=Jt.prototype.Ad,Jt.prototype.next=Jt.prototype.next,Jt.prototype.reset=Jt.prototype.reset,Jt.className="MapKeySetIterator";function Ri(e){Zt.call(this),Pi(this),this._isFrozen=!0,this.ma=e}xi(Ri,Zt),U=Ri.prototype,U.freeze=function(){return this},U.ka=function(){return this},U.toString=function(){return"MapKeySet("+this.ma.toString()+")"},U.add=function(){Ve("This Set is read-only: "+this.toString())},U.contains=function(e){return this.ma.contains(e)},U.has=function(e){return this.contains(e)},U.remove=function(){Ve("This Set is read-only: "+this.toString())},U.delete=function(e){return this.remove(e)},U.clear=function(){Ve("This Set is read-only: "+this.toString())},U.first=function(){var e=this.ma.ea;return e!==null?e.key:null},Ri.prototype.any=function(e){for(var t=this.ma.ea;t!==null;){if(e(t.key))return!0;t=t.va}return!1},Ri.prototype.all=function(e){for(var t=this.ma.ea;t!==null;){if(!e(t.key))return!1;t=t.va}return!0},Ri.prototype.each=function(e){for(var t=this.ma.ea;t!==null;)e(t.key),t=t.va;return this},Ri.prototype.map=function(e){for(var t=new Zt,n=this.ma.ea;n!==null;)t.add(e(n.key)),n=n.va;return t},Ri.prototype.filter=function(e){for(var t=new Zt,n=this.ma.ea;n!==null;){var i=n.key;e(i)&&t.add(i),n=n.va}return t},Ri.prototype.copy=function(){return new Ri(this.ma)},Ri.prototype.Iv=function(){var e=new Zt,t=this.ma.Tb,n;for(n in t)e.add(t[n].key);return e},Ri.prototype.Fa=function(){var e=this.ma.Tb,t=Array(this.ma.Sb),n=0,i;for(i in e)t[n]=e[i].key,n++;return t},Ri.prototype.Hv=function(){var e=new Xt,t=this.ma.Tb,n;for(n in t)e.add(t[n].key);return e},dt.Object.defineProperties(Ri.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Et:new Jt(this.ma)}}}),Ri.prototype.toList=Ri.prototype.Hv,Ri.prototype.toArray=Ri.prototype.Fa,Ri.prototype.toSet=Ri.prototype.Iv,Ri.prototype.first=Ri.prototype.first,Ri.prototype.clear=Ri.prototype.clear,Ri.prototype.delete=Ri.prototype.delete,Ri.prototype.remove=Ri.prototype.remove,Ri.prototype.has=Ri.prototype.has,Ri.prototype.contains=Ri.prototype.contains,Ri.prototype.add=Ri.prototype.add,Ri.prototype.thaw=Ri.prototype.ka,Ri.prototype.freeze=Ri.prototype.freeze,Ri.className="MapKeySet";function Ci(e){this.ma=e,e.jf=null,this.qa=e.Ja,this.sa=null}Ci.prototype.reset=function(){var e=this.ma;e.jf=null,this.qa=e.Ja,this.sa=null},Ci.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=t.value,this.key=t.key,!0):(this.de(),!1)},Ci.prototype.Ad=function(){return this.next()},Ci.prototype.first=function(){var e=this.ma;if(this.qa=e.Ja,e=e.ea,e!==null){this.sa=e;var t=e.value;return this.key=e.key,this.value=t}return null},Ci.prototype.any=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;){if(e(t.value))return!0;t=t.va}return!1},Ci.prototype.all=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;){if(!e(t.value))return!1;t=t.va}return!0},Ci.prototype.each=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;)e(t.value),t=t.va;return this},Ci.prototype.map=function(e){var t=this.ma;this.sa=t.jf=null;var n=new Xt;for(t=t.ea;t!==null;)n.add(e(t.value)),t=t.va;return n.iterator},Ci.prototype.filter=function(e){var t=this.ma;this.sa=t.jf=null;var n=new Xt;for(t=t.ea;t!==null;){var i=t.value;e(i)&&n.add(i),t=t.va}return n.iterator},Ci.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},Ci.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},dt.Object.defineProperties(Ci.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Ci.prototype.first=Ci.prototype.first,Ci.prototype.hasNext=Ci.prototype.Ad,Ci.prototype.next=Ci.prototype.next,Ci.prototype.reset=Ci.prototype.reset,Ci.className="MapValueSetIterator";function mr(e,t){this.key=e,this.value=t,this.ll=this.va=null}mr.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},mr.className="KeyValuePair";function ar(e){this.ma=e,e.Sa=null,this.qa=e.Ja,this.sa=null}ar.prototype.reset=function(){var e=this.ma;e.Sa=null,this.qa=e.Ja,this.sa=null},ar.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.key=t.key,this.value=t.value,!0):(this.de(),!1)},ar.prototype.Ad=function(){return this.next()},ar.prototype.first=function(){var e=this.ma;return this.qa=e.Ja,e=e.ea,e!==null?(this.sa=e,this.key=e.key,this.value=e.value,e):null},ar.prototype.any=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(e(t))return!0;t=t.va}return!1},ar.prototype.all=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(!e(t))return!1;t=t.va}return!0},ar.prototype.each=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;)e(t),t=t.va;return this},ar.prototype.map=function(e){var t=this.ma;this.sa=t.Sa=null;var n=new Xt;for(t=t.ea;t!==null;)n.add(e(t)),t=t.va;return n.iterator},ar.prototype.filter=function(e){var t=this.ma;this.sa=t.Sa=null;var n=new Xt;for(t=t.ea;t!==null;)e(t)&&n.add(t),t=t.va;return n.iterator},ar.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},ar.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},dt.Object.defineProperties(ar.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),ar.prototype.first=ar.prototype.first,ar.prototype.hasNext=ar.prototype.Ad,ar.prototype.next=ar.prototype.next,ar.prototype.reset=ar.prototype.reset,ar.className="MapIterator";function Kn(e){Pi(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=Kn.prototype,U.xb=function(){var e=this.Ja;e++,999999999=this.count)return Et;var e=this.Sa;return e!==null?(e.reset(),e):new ar(this)}},iteratorKeys:{get:function(){return 0>=this.count?Et:new Jt(this)}},iteratorValues:{get:function(){if(0>=this.count)return Et;var e=this.jf;return e!==null?(e.reset(),e):new Ci(this)}}}),Kn.prototype.toKeySet=Kn.prototype.Lf,Kn.prototype.toArray=Kn.prototype.Fa,Kn.prototype.clear=Kn.prototype.clear,Kn.prototype.delete=Kn.prototype.delete,Kn.prototype.remove=Kn.prototype.remove,Kn.prototype.get=Kn.prototype.get,Kn.prototype.getValue=Kn.prototype.I,Kn.prototype.has=Kn.prototype.has,Kn.prototype.contains=Kn.prototype.contains,Kn.prototype.first=Kn.prototype.first,Kn.prototype.addAll=Kn.prototype.addAll,Kn.prototype.set=Kn.prototype.set,Kn.prototype.add=Kn.prototype.add,Kn.prototype.thaw=Kn.prototype.ka,Kn.prototype.freeze=Kn.prototype.freeze,Kn.className="Map";function he(e,t){e===void 0?this.y=this.x=0:typeof e=="number"&&typeof t=="number"?(this.x=e,this.y=t):Ve("Invalid arguments to Point constructor: "+e+", "+t),this._isFrozen=!1}var vr,Cr,dr,Br,Ji;he.prototype.assign=function(e){return this.x=e.x,this.y=e.y,this},he.prototype.h=function(e,t){return this.x=e,this.y=t,this},he.prototype.sg=function(e,t){return this.x=e,this.y=t,this},he.prototype.set=function(e){return this.x=e.x,this.y=e.y,this},he.prototype.copy=function(){var e=new he;return e.x=this.x,e.y=this.y,e},U=he.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function Fi(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;return(i=e[t++])&&(r=parseFloat(i)),new he(n,r)}return new he}function Mi(e){return e.x.toString()+" "+e.y.toString()}U.toString=function(){return"Point("+this.x+","+this.y+")"},U.D=function(e){return e instanceof he?this.x===e.x&&this.y===e.y:!1},U.hi=function(e,t){return this.x===e&&this.y===t},U.Xa=function(e){return qe.B(this.x,e.x)&&qe.B(this.y,e.y)},U.add=function(e){return this.x+=e.x,this.y+=e.y,this},U.re=function(e){return this.x-=e.x,this.y-=e.y,this},U.offset=function(e,t){return this.x+=e,this.y+=t,this},he.prototype.rotate=function(e){if(e===0)return this;var t=this.x,n=this.y;if(t===0&&n===0)return this;if(360<=e?e-=360:0>e&&(e+=360),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));return this.x=e*t-i*n,this.y=i*t+e*n,this},U=he.prototype,U.scale=function(e,t){return this.x*=e,this.y*=t,this},U.Bf=function(e){var t=e.x-this.x;return e=e.y-this.y,t*t+e*e},U.zd=function(e,t){return e-=this.x,t-=this.y,e*e+t*t},U.normalize=function(){var e=this.x,t=this.y,n=Math.sqrt(e*e+t*t);return 0t?270:0;if(t===0)return 0e?n=0>t?n+180:180-n:0>t&&(n=360-n),n}U.Ry=function(e,t){return qe.Fl(e.x,e.y,t.x,t.y,this.x,this.y)},U.fA=function(e,t,n,i){return qe.qh(e,t,n,i,this.x,this.y,this),this},U.gA=function(e,t){return qe.qh(e.x,e.y,t.x,t.y,this.x,this.y,this),this},U.uA=function(e,t,n,i){return qe.No(this.x,this.y,e,t,n,i,this),this},U.vA=function(e,t){return qe.No(this.x,this.y,e.x,e.y,t.width,t.height,this),this},U.xi=function(e,t){return this.x=e.x+t.x*e.width+t.offsetX,this.y=e.y+t.y*e.height+t.offsetY,this},U.yi=function(e,t,n,i,r){return this.x=e+r.x*n+r.offsetX,this.y=t+r.y*i+r.offsetY,this},U.transform=function(e){return e.Ga(this),this};function Ki(e,t){return t.Cd(e),e}function Rr(e,t,n,i,r,o){var a=r-n,l=o-i,u=a*a+l*l;n-=e,i-=t;var f=-n*a-i*l;return 0>=f||f>=u?(a=r-e,l=o-t,Math.min(n*n+i*i,a*a+l*l)):(e=a*i-l*n,e*e/u)}function Gr(e,t,n,i){return e=n-e,t=i-t,e*e+t*t}function to(e,t,n,i){return e=n-e,t=i-t,e===0?0t?270:0:t===0?0e?i=0>t?i+180:180-i:0>t&&(i=360-i),i)}U.w=function(){return isFinite(this.x)&&isFinite(this.y)},he.alloc=function(){var e=Fo.pop();return e===void 0?new he:e},he.allocAt=function(e,t){var n=Fo.pop();return n===void 0?new he(e,t):(n.x=e,n.y=t,n)},he.free=function(e){Fo.push(e)},he.prototype.isReal=he.prototype.w,he.prototype.setSpot=he.prototype.yi,he.prototype.setRectSpot=he.prototype.xi,he.prototype.snapToGridPoint=he.prototype.vA,he.prototype.snapToGrid=he.prototype.uA,he.prototype.projectOntoLineSegmentPoint=he.prototype.gA,he.prototype.projectOntoLineSegment=he.prototype.fA,he.intersectingLineSegments=function(e,t,n,i,r,o,a,l){return qe.Rl(e,t,n,i,r,o,a,l)},he.prototype.compareWithLineSegmentPoint=he.prototype.Ry,he.compareWithLineSegment=function(e,t,n,i,r,o){return qe.Fl(e,t,n,i,r,o)},he.prototype.direction=he.prototype.direction,he.prototype.directionPoint=he.prototype.ab,he.prototype.normalize=he.prototype.normalize,he.prototype.distanceSquared=he.prototype.zd,he.prototype.distanceSquaredPoint=he.prototype.Bf,he.prototype.scale=he.prototype.scale,he.prototype.rotate=he.prototype.rotate,he.prototype.offset=he.prototype.offset,he.prototype.subtract=he.prototype.re,he.prototype.add=he.prototype.add,he.prototype.equalsApprox=he.prototype.Xa,he.prototype.equalTo=he.prototype.hi,he.prototype.equals=he.prototype.D,he.prototype.set=he.prototype.set,he.prototype.setTo=he.prototype.sg;var Fo=[];he.className="Point",he.parse=Fi,he.stringify=Mi,he.distanceLineSegmentSquared=Rr,he.distanceSquared=Gr,he.direction=to,he.Origin=vr=new he(0,0).ja(),he.InfiniteTopLeft=Cr=new he(-1/0,-1/0).ja(),he.InfiniteBottomRight=dr=new he(1/0,1/0).ja(),he.SixPoint=Br=new he(6,6).ja(),he.NoPoint=Ji=new he(NaN,NaN).ja(),he.parse=Fi,he.stringify=Mi,he.distanceLineSegmentSquared=Rr,he.distanceSquared=Gr,he.direction=to;function fi(e,t){e===void 0?this.height=this.width=0:typeof e=="number"&&(0<=e||isNaN(e))&&typeof t=="number"&&(0<=t||isNaN(t))?(this.width=e,this.height=t):Ve("Invalid arguments to Size constructor: "+e+", "+t),this._isFrozen=!1}var ma,jo,da,Ta,Ya,ns,Na;fi.prototype.assign=function(e){return this.width=e.width,this.height=e.height,this},fi.prototype.h=function(e,t){return this.width=e,this.height=t,this},fi.prototype.sg=function(e,t){return this.width=e,this.height=t,this},fi.prototype.set=function(e){return this.width=e.width,this.height=e.height,this},fi.prototype.copy=function(){var e=new fi;return e.width=this.width,e.height=this.height,e},U=fi.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function cs(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;return(i=e[t++])&&(r=parseFloat(i)),new fi(n,r)}return new fi}function Za(e){return e.width.toString()+" "+e.height.toString()}U.toString=function(){return"Size("+this.width+","+this.height+")"},U.D=function(e){return e instanceof fi?this.width===e.width&&this.height===e.height:!1},U.hi=function(e,t){return this.width===e&&this.height===t},U.Xa=function(e){return qe.B(this.width,e.width)&&qe.B(this.height,e.height)},U.Bc=function(e,t){return e=this.width+e,this.width=0<=e?e:0,t=this.height+t,this.height=0<=t?t:0,this},U.w=function(){return isFinite(this.width)&&isFinite(this.height)},fi.alloc=function(){var e=Go.pop();return e===void 0?new fi:e},fi.free=function(e){Go.push(e)},fi.prototype.isReal=fi.prototype.w,fi.prototype.inflate=fi.prototype.Bc,fi.prototype.equalsApprox=fi.prototype.Xa,fi.prototype.equalTo=fi.prototype.hi,fi.prototype.equals=fi.prototype.D,fi.prototype.set=fi.prototype.set,fi.prototype.setTo=fi.prototype.sg;var Go=[];fi.className="Size",fi.parse=cs,fi.stringify=Za,fi.ZeroSize=ma=new fi(0,0).ja(),fi.OneSize=jo=new fi(1,1).ja(),fi.SixSize=da=new fi(6,6).ja(),fi.EightSize=Ta=new fi(8,8).ja(),fi.TenSize=Ya=new fi(10,10).ja(),fi.InfiniteSize=ns=new fi(1/0,1/0).ja(),fi.NoSize=Na=new fi(NaN,NaN).ja(),fi.parse=cs,fi.stringify=Za;function Wt(e,t,n,i){e===void 0?this.height=this.width=this.y=this.x=0:typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&(0<=n||isNaN(n))&&typeof i=="number"&&(0<=i||isNaN(i))?(this.x=e,this.y=t,this.width=n,this.height=i):e instanceof he?(n=e.x,e=e.y,t instanceof he?(i=t.x,t=t.y,this.x=Math.min(n,i),this.y=Math.min(e,t),this.width=Math.abs(n-i),this.height=Math.abs(e-t)):t instanceof fi?(this.x=n,this.y=e,this.width=t.width,this.height=t.height):Ve("Incorrect second argument supplied to Rect constructor "+t)):Ve("Invalid arguments to Rect constructor: "+e+", "+t+", "+n+", "+i),this._isFrozen=!1}U=Wt.prototype,U.assign=function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this},U.h=function(e,t,n,i){return this.x=e,this.y=t,this.width=n,this.height=i,this};function Ba(e,t,n){e.width=t,e.height=n}U.sg=function(e,t,n,i){return this.x=e,this.y=t,this.width=n,this.height=i,this},U.set=function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this},U.dd=function(e){return this.x=e.x,this.y=e.y,this},U.tA=function(e){return this.width=e.width,this.height=e.height,this},Wt.prototype.copy=function(){var e=new Wt;return e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e},U=Wt.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function eu(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;(i=e[t++])&&(r=parseFloat(i));for(var o=0;e[t]==="";)t++;(i=e[t++])&&(o=parseFloat(i));for(var a=0;e[t]==="";)t++;return(i=e[t++])&&(a=parseFloat(i)),new Wt(n,r,o,a)}return new Wt}function ol(e){return e.x.toString()+" "+e.y.toString()+" "+e.width.toString()+" "+e.height.toString()}U.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},U.D=function(e){return e instanceof Wt?this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height:!1},U.hi=function(e,t,n,i){return this.x===e&&this.y===t&&this.width===n&&this.height===i},U.Xa=function(e){return qe.B(this.x,e.x)&&qe.B(this.y,e.y)&&qe.B(this.width,e.width)&&qe.B(this.height,e.height)};function fo(e,t){return qe.$(e.x,t.x)&&qe.$(e.y,t.y)&&qe.$(e.width,t.width)&&qe.$(e.height,t.height)}U.ca=function(e){return this.x<=e.x&&this.x+this.width>=e.x&&this.y<=e.y&&this.y+this.height>=e.y},U.Re=function(e){return this.x<=e.x&&e.x+e.width<=this.x+this.width&&this.y<=e.y&&e.y+e.height<=this.y+this.height},U.contains=function(e,t,n,i){return n===void 0&&(n=0),i===void 0&&(i=0),this.x<=e&&e+n<=this.x+this.width&&this.y<=t&&t+i<=this.y+this.height},U.offset=function(e,t){return this.x+=e,this.y+=t,this},U.Bc=function(e,t){return Ao(this,t,e,t,e)},U.Co=function(e){return Ao(this,e.top,e.right,e.bottom,e.left)},U.Fv=function(e){return Ao(this,-e.top,-e.right,-e.bottom,-e.left)},U.Hz=function(e,t,n,i){return Ao(this,e,t,n,i)};function Ao(e,t,n,i,r){var o=e.width;return n+r<=-o?(e.x+=o/2,e.width=0):(e.x-=r,e.width+=n+r),n=e.height,t+i<=-n?(e.y+=n/2,e.height=0):(e.y-=t,e.height+=t+i),e}U.Ex=function(e){return vo(this,e.x,e.y,e.width,e.height)},U.Uu=function(e,t,n,i){return vo(this,e,t,n,i)};function vo(e,t,n,i,r){var o=Math.max(e.x,t),a=Math.max(e.y,n);return t=Math.min(e.x+e.width,t+i),n=Math.min(e.y+e.height,n+r),e.x=o,e.y=a,e.width=Math.max(0,t-o),e.height=Math.max(0,n-a),e}U.Yc=function(e){return this.Vu(e.x,e.y,e.width,e.height)},U.Vu=function(e,t,n,i){var r=this.width,o=this.x;return r!==1/0&&n!==1/0&&(r+=o,n+=e,isNaN(n)||isNaN(r)||o>n||e>r)?!1:(e=this.height,n=this.y,!(e!==1/0&&i!==1/0&&(e+=n,i+=t,isNaN(i)||isNaN(e)||n>i||t>e)))};function Mt(e,t){var n=e.width,i=e.x,r=t.x-10;return i>t.width+10+10+r||r>n+i?!1:(n=e.height,e=e.y,i=t.y-10,!(e>t.height+10+10+i||i>n+e))}U.Ye=function(e){return Pr(this,e.x,e.y,0,0)},U.ed=function(e){return Pr(this,e.x,e.y,e.width,e.height)},U.Kv=function(e,t,n,i){return n===void 0&&(n=0),i===void 0&&(i=0),Pr(this,e,t,n,i)};function Pr(e,t,n,i,r){var o=Math.min(e.x,t),a=Math.min(e.y,n);return t=Math.max(e.x+e.width,t+i),n=Math.max(e.y+e.height,n+r),e.x=o,e.y=a,e.width=t-o,e.height=n-a,e}U.yi=function(e,t,n){return this.x=e-n.offsetX-n.x*this.width,this.y=t-n.offsetY-n.y*this.height,this};function po(e,t,n,i,r,o,a,l){return a===void 0&&(a=0),l===void 0&&(l=0),e<=r&&r+a<=e+n&&t<=o&&o+l<=t+i}function Ea(e,t,n,i,r,o,a,l){return e>a+r||r>n+e?!1:!(t>l+o||o>i+t)}U.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},U.Mz=function(){return this.width===0&&this.height===0},Wt.alloc=function(){var e=hr.pop();return e===void 0?new Wt:e},Wt.allocAt=function(e,t,n,i){var r=hr.pop();return r===void 0?new Wt(e,t,n,i):r.h(e,t,n,i)},Wt.free=function(e){hr.push(e)},dt.Object.defineProperties(Wt.prototype,{left:{get:function(){return this.x},set:function(e){this.x=e}},top:{get:function(){return this.y},set:function(e){this.y=e}},right:{get:function(){return this.x+this.width},set:function(e){this.x+=e-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(e){this.y+=e-(this.y+this.height)}},position:{get:function(){return new he(this.x,this.y)},set:function(e){this.x=e.x,this.y=e.y}},size:{get:function(){return new fi(this.width,this.height)},set:function(e){this.width=e.width,this.height=e.height}},center:{get:function(){return new he(this.x+this.width/2,this.y+this.height/2)},set:function(e){this.x=e.x-this.width/2,this.y=e.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(e){this.x=e-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(e){this.y=e-this.height/2}}}),Wt.prototype.isEmpty=Wt.prototype.Mz,Wt.prototype.isReal=Wt.prototype.w,Wt.intersectsLineSegment=function(e,t,n,i,r,o,a,l){return qe.Fx(e,t,n,i,r,o,a,l)},Wt.prototype.setSpot=Wt.prototype.yi,Wt.prototype.union=Wt.prototype.Kv,Wt.prototype.unionRect=Wt.prototype.ed,Wt.prototype.unionPoint=Wt.prototype.Ye,Wt.prototype.intersects=Wt.prototype.Vu,Wt.prototype.intersectsRect=Wt.prototype.Yc,Wt.prototype.intersect=Wt.prototype.Uu,Wt.prototype.intersectRect=Wt.prototype.Ex,Wt.prototype.grow=Wt.prototype.Hz,Wt.prototype.subtractMargin=Wt.prototype.Fv,Wt.prototype.addMargin=Wt.prototype.Co,Wt.prototype.inflate=Wt.prototype.Bc,Wt.prototype.offset=Wt.prototype.offset,Wt.prototype.contains=Wt.prototype.contains,Wt.prototype.containsRect=Wt.prototype.Re,Wt.prototype.containsPoint=Wt.prototype.ca,Wt.prototype.equalsApprox=Wt.prototype.Xa,Wt.prototype.equalTo=Wt.prototype.hi,Wt.prototype.equals=Wt.prototype.D,Wt.prototype.setSize=Wt.prototype.tA,Wt.prototype.setPoint=Wt.prototype.dd,Wt.prototype.set=Wt.prototype.set,Wt.prototype.setTo=Wt.prototype.sg;var xr=null,Sn=null,hr=[];Wt.className="Rect",Wt.parse=eu,Wt.stringify=ol,Wt.contains=po,Wt.intersects=Ea,Wt.ZeroRect=xr=new Wt(0,0,0,0).ja(),Wt.NoRect=Sn=new Wt(NaN,NaN,NaN,NaN).ja(),Wt.parse=eu,Wt.stringify=ol,Wt.contains=po,Wt.intersects=Ea;function mi(e,t,n,i){e===void 0?this.left=this.bottom=this.right=this.top=0:t===void 0?this.left=this.bottom=this.right=this.top=e:n===void 0?(this.top=e,this.right=t,this.bottom=e,this.left=t):i!==void 0?(this.top=e,this.right=t,this.bottom=n,this.left=i):Ve("Invalid arguments to Margin constructor: "+e+", "+t+", "+n+", "+i),this._isFrozen=!1}mi.prototype.assign=function(e){return this.top=e.top,this.right=e.right,this.bottom=e.bottom,this.left=e.left,this},mi.prototype.sg=function(e,t,n,i){return this.top=e,this.right=t,this.bottom=n,this.left=i,this},mi.prototype.set=function(e){return this.top=e.top,this.right=e.right,this.bottom=e.bottom,this.left=e.left,this},mi.prototype.copy=function(){var e=new mi;return e.top=this.top,e.right=this.right,e.bottom=this.bottom,e.left=this.left,e},U=mi.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function Vo(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=NaN;e[t]==="";)t++;var i=e[t++];if(i&&(n=parseFloat(i)),isNaN(n))return new mi;for(var r=NaN;e[t]==="";)t++;if((i=e[t++])&&(r=parseFloat(i)),isNaN(r))return new mi(n);for(var o=NaN;e[t]==="";)t++;if((i=e[t++])&&(o=parseFloat(i)),isNaN(o))return new mi(n,r);for(var a=NaN;e[t]==="";)t++;return(i=e[t++])&&(a=parseFloat(i)),isNaN(a)?new mi(n,r):new mi(n,r,o,a)}return new mi}function ga(e){return e.top.toString()+" "+e.right.toString()+" "+e.bottom.toString()+" "+e.left.toString()}U.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},U.D=function(e){return e instanceof mi?this.top===e.top&&this.right===e.right&&this.bottom===e.bottom&&this.left===e.left:!1},U.hi=function(e,t,n,i){return this.top===e&&this.right===t&&this.bottom===n&&this.left===i},U.Xa=function(e){return qe.B(this.top,e.top)&&qe.B(this.right,e.right)&&qe.B(this.bottom,e.bottom)&&qe.B(this.left,e.left)},U.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},mi.alloc=function(){var e=Ns.pop();return e===void 0?new mi:e},mi.free=function(e){Ns.push(e)},mi.prototype.isReal=mi.prototype.w,mi.prototype.equalsApprox=mi.prototype.Xa,mi.prototype.equalTo=mi.prototype.hi,mi.prototype.equals=mi.prototype.D,mi.prototype.set=mi.prototype.set,mi.prototype.setTo=mi.prototype.sg;var is=null,Rs=null,Ns=[];mi.className="Margin",mi.parse=Vo,mi.stringify=ga,mi.ZeroMargin=is=new mi(0,0,0,0).ja(),mi.TwoMargin=Rs=new mi(2,2,2,2).ja(),mi.parse=Vo,mi.stringify=ga;function si(e,t,n,i){e===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),this.x=e,this.y=t,this.offsetX=n,this.offsetY=i),this._isFrozen=!1}var Hi,ea,As,Yo,rs,Dr,al,Ds,Ps,Ho,os,Ol,Xa,Oa,ml,Xo,js,wu,Ll,as,Fa,Gs,Vi,ks,Rl,Wr,wo,fa,oa,ro,aa,va,La,Aa,Gl,Ys;si.prototype.assign=function(e){return this.x=e.x,this.y=e.y,this.offsetX=e.offsetX,this.offsetY=e.offsetY,this},si.prototype.sg=function(e,t,n,i){return this.x=e,this.y=t,this.offsetX=n,this.offsetY=i,this},si.prototype.set=function(e){return this.x=e.x,this.y=e.y,this.offsetX=e.offsetX,this.offsetY=e.offsetY,this},si.prototype.copy=function(){var e=new si;return e.x=this.x,e.y=this.y,e.offsetX=this.offsetX,e.offsetY=this.offsetY,e},U=si.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function ka(e,t){return e.x=NaN,e.y=NaN,e.offsetX=t,e}function hc(e){if(typeof e=="string"){if(e=e.trim(),e==="None")return Hi;if(e==="TopLeft")return ea;if(e==="Top"||e==="TopCenter"||e==="MiddleTop")return As;if(e==="TopRight")return Yo;if(e==="Left"||e==="LeftCenter"||e==="MiddleLeft")return rs;if(e==="Center")return Dr;if(e==="Right"||e==="RightCenter"||e==="MiddleRight")return al;if(e==="BottomLeft")return Ds;if(e==="Bottom"||e==="BottomCenter"||e==="MiddleBottom")return Ps;if(e==="BottomRight")return Ho;if(e==="TopSide")return os;if(e==="LeftSide")return Ol;if(e==="RightSide")return Xa;if(e==="BottomSide")return Oa;if(e==="TopBottomSides")return ml;if(e==="LeftRightSides")return Xo;if(e==="TopLeftSides")return js;if(e==="TopRightSides")return wu;if(e==="BottomLeftSides")return Ll;if(e==="BottomRightSides")return as;if(e==="NotTopSide")return Fa;if(e==="NotLeftSide")return Gs;if(e==="NotRightSide")return Vi;if(e==="NotBottomSide")return ks;if(e==="AllSides")return Rl;if(e==="Default")return Wr;e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i!==void 0&&0e&&(e+=360),e===0)return this;if(this.translate(t,n),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));var r=this.m12*e+this.m22*i,o=this.m11*-i+this.m21*e,a=this.m12*-i+this.m22*e;return this.m11=this.m11*e+this.m21*i,this.m12=r,this.m21=o,this.m22=a,this.translate(-t,-n),this},U=sr.prototype,U.translate=function(e,t){return this.dx+=this.m11*e+this.m21*t,this.dy+=this.m12*e+this.m22*t,this},U.scale=function(e,t){return t===void 0&&(t=e),this.m11*=e,this.m12*=e,this.m21*=t,this.m22*=t,this},U.Ga=function(e){var t=e.x,n=e.y;return e.h(t*this.m11+n*this.m21+this.dx,t*this.m12+n*this.m22+this.dy)},U.Cd=function(e){var t=1/(this.m11*this.m22-this.m12*this.m21),n=e.x,i=e.y;return e.h(n*this.m22*t+i*-this.m21*t+t*(this.m21*this.dy-this.m22*this.dx),n*-this.m12*t+i*this.m11*t+t*(this.m12*this.dx-this.m11*this.dy))},U.Eu=function(e){var t=1/(this.m11*this.m22-this.m12*this.m21),n=1.25*e.x,i=1.2*e.y;return e.h(n*this.m22*t+i*-this.m21*t+t*(this.m21*this.dy-this.m22*this.dx),n*-this.m12*t+i*this.m11*t+t*(this.m12*this.dx-this.m11*this.dy))},U.pp=function(e){var t=e.x,n=e.y,i=t+e.width,r=n+e.height,o=this.m11,a=this.m12,l=this.m21,u=this.m22,f=this.dx,p=this.dy,x=t*o+n*l+f,A=t*a+n*u+p,R=i*o+n*l+f,_=i*a+n*u+p;return n=t*o+r*l+f,t=t*a+r*u+p,o=i*o+r*l+f,i=i*a+r*u+p,r=Math.min(x,R),x=Math.max(x,R),R=Math.min(A,_),A=Math.max(A,_),r=Math.min(r,n),x=Math.max(x,n),R=Math.min(R,t),A=Math.max(A,t),r=Math.min(r,o),x=Math.max(x,o),R=Math.min(R,i),A=Math.max(A,i),e.h(r,R,x-r,A-R),e},sr.alloc=function(){var e=Ws.pop();return e===void 0?new sr:e},sr.free=function(e){Ws.push(e)},sr.prototype.transformRect=sr.prototype.pp,sr.prototype.transformPoint=sr.prototype.Ga,sr.prototype.scale=sr.prototype.scale,sr.prototype.translate=sr.prototype.translate,sr.prototype.rotate=sr.prototype.rotate,sr.prototype.invert=sr.prototype.Vj,sr.prototype.multiplyInverted=sr.prototype.bv,sr.prototype.multiply=sr.prototype.multiply,sr.prototype.reset=sr.prototype.reset,sr.prototype.isIdentity=sr.prototype.ws,sr.prototype.equals=sr.prototype.D,sr.prototype.setTransform=sr.prototype.setTransform,sr.prototype.set=sr.prototype.set;var Ws=[];sr.className="Transform",sr.xF="54a702f3e53909c447824c6706603faf4c";var qe={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(e){if(0>=e)return 0;var t=qe.Uv;if(t===null){t=[];for(var n=0;2e3>=n;n++)t[n]=Math.sqrt(n);qe.Uv=t}return 1>e?(n=1/e,2e3>=n?1/t[n|0]:Math.sqrt(e)):2e3>=e?t[e|0]:Math.sqrt(e)},B:function(e,t){return e-=t,.5>e&&-.5e&&-5e-8=r&&(r=1e-6),ep-f)if(e-n>r||n-e>r){if(o=(i-t)/(n-e)*(o-e)+t,o-r<=a&&a<=o+r)return!0}else return!0;else if(t-i>r||i-t>r){if(a=(n-e)/(i-t)*(a-t)+e,a-r<=o&&o<=a+r)return!0}else return!0;return!1},cs:function(e,t,n,i,r,o,a,l,u,f,p,x){if(qe.Yb(e,t,a,l,x,n,i)&&qe.Yb(e,t,a,l,x,r,o))return qe.Yb(e,t,a,l,x,f,p);var A=(e+n)/2,R=(t+i)/2,_=(n+r)/2,V=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(A+_)/2,n=(R+V)/2,_=(_+r)/2,V=(V+o)/2;var be=(i+_)/2,le=(n+V)/2;return qe.cs(e,t,A,R,i,n,be,le,u,f,p,x)||qe.cs(be,le,_,V,r,o,a,l,u,f,p,x)},ax:function(e,t,n,i,r,o,a,l,u){var f=(n+r)/2,p=(i+o)/2;return u.h((((e+n)/2+f)/2+(f+(r+a)/2)/2)/2,(((t+i)/2+p)/2+(p+(o+l)/2)/2)/2),u},My:function(e,t,n,i,r,o,a,l){var u=(n+r)/2,f=(i+o)/2;return to(((e+n)/2+u)/2,((t+i)/2+f)/2,(u+(r+a)/2)/2,(f+(o+l)/2)/2)},Dl:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,a,l,u,n,i)&&qe.Yb(e,t,a,l,u,r,o))Pr(f,e,t,0,0),Pr(f,a,l,0,0);else{var p=(e+n)/2,x=(t+i)/2,A=(n+r)/2,R=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(p+A)/2,n=(x+R)/2,A=(A+r)/2,R=(R+o)/2;var _=(i+A)/2,V=(n+R)/2;qe.Dl(e,t,p,x,i,n,_,V,u,f),qe.Dl(_,V,A,R,r,o,a,l,u,f)}return f},Qe:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,a,l,u,n,i)&&qe.Yb(e,t,a,l,u,r,o))f.length===0&&(f.push(e),f.push(t)),f.push(a),f.push(l);else{var p=(e+n)/2,x=(t+i)/2,A=(n+r)/2,R=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(p+A)/2,n=(x+R)/2,A=(A+r)/2,R=(R+o)/2;var _=(i+A)/2,V=(n+R)/2;qe.Qe(e,t,p,x,i,n,_,V,u,f),qe.Qe(_,V,A,R,r,o,a,l,u,f)}return f},jv:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,r,o,f,n,i))return qe.Yb(e,t,r,o,f,l,u);var p=(e+n)/2,x=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var A=(p+n)/2,R=(x+i)/2;return qe.jv(e,t,p,x,A,R,a,l,u,f)||qe.jv(A,R,n,i,r,o,a,l,u,f)},OA:function(e,t,n,i,r,o,a){return a.h(((e+n)/2+(n+r)/2)/2,((t+i)/2+(i+o)/2)/2),a},iv:function(e,t,n,i,r,o,a,l){if(qe.Yb(e,t,r,o,a,n,i))Pr(l,e,t,0,0),Pr(l,r,o,0,0);else{var u=(e+n)/2,f=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var p=(u+n)/2,x=(f+i)/2;qe.iv(e,t,u,f,p,x,a,l),qe.iv(p,x,n,i,r,o,a,l)}return l},ep:function(e,t,n,i,r,o,a,l){if(qe.Yb(e,t,r,o,a,n,i))l.length===0&&(l.push(e),l.push(t)),l.push(r),l.push(o);else{var u=(e+n)/2,f=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var p=(u+n)/2,x=(f+i)/2;qe.ep(e,t,u,f,p,x,a,l),qe.ep(p,x,n,i,r,o,a,l)}return l},Eo:function(e,t,n,i,r,o,a,l,u,f,p,x,A,R){if(qe.Yb(e,t,a,l,A,n,i)&&qe.Yb(e,t,a,l,A,r,o))return!qe.Rl(e,t,a,l,u,f,p,x)||(A=(e-a)*(f-x)-(t-l)*(u-p),A===0)?!1:(R.h(((e*l-t*a)*(u-p)-(e-a)*(u*x-f*p))/A,((e*l-t*a)*(f-x)-(t-l)*(u*x-f*p))/A),!0);var _=(e+n)/2,V=(t+i)/2,be=(n+r)/2,le=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(_+be)/2,n=(V+le)/2,be=(be+r)/2,le=(le+o)/2;var Pe=(i+be)/2,Ue=(n+le)/2,Ge=1/0,rt=!1,At=0,Vn=0;return qe.Eo(e,t,_,V,i,n,Pe,Ue,u,f,p,x,A,R)&&(e=(R.x-u)*(R.x-u)+(R.y-f)*(R.y-f),e=p)return R;if((u>p?u-p:p-u)<(f>x?f-x:x-f)){if(te)return R}else if(ee)return R;0A&&R--}else{_=(e+n)/2,V=(t+i)/2;var be=(n+r)/2,le=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(_+be)/2,n=(V+le)/2,be=(be+r)/2,le=(le+o)/2;var Pe=(i+be)/2,Ue=(n+le)/2;R+=qe.Fo(e,t,_,V,i,n,Pe,Ue,u,f,p,x,A),R+=qe.Fo(Pe,Ue,be,le,r,o,a,l,u,f,p,x,A)}return R},qh:function(e,t,n,i,r,o,a){return qe.$(e,n)?(tt?(a.h(e,t),!1):(a.h(e,o),!0)):qe.$(t,i)?(ee?(a.h(e,t),!1):(a.h(r,t),!0)):(r=((e-r)*(e-n)+(t-o)*(t-i))/((n-e)*(n-e)+(i-t)*(i-t)),-5e-6>r?(a.h(e,t),!1):1.000005t?(u.h(e,t),!1):(u.h(e,n),!0)):(a=(i-t)/(n-e),qe.$(l,a)?(qe.qh(e,t,n,i,r,o,u),!1):(r=(a*e-l*r+o-t)/(a-l),qe.$(a,0)?(ee?(u.h(e,t),!1):(u.h(r,t),!0)):qe.qh(e,t,n,i,r,a*(r-e)+t,u))))},MA:function(e,t,n,i,r){return qe.Ve(n.x,n.y,i.x,i.y,e.x,e.y,t.x,t.y,r)},KA:function(e,t,n,i,r,o,a,l,u,f){function p(be,le){var Pe=(be-e)*(be-e)+(le-t)*(le-t);Pe(n>e?n-e:e-n)){if(A=1-(n-r)*(n-r)/(A*A),0>A)return u;A=Math.sqrt(A),i=-f*A+o,p(n,f*A+o),p(n,i)}else{if(n=(i-t)/(n-e),i=1/(A*A)+n*n/(f*f),l=2*n*(t-n*e)/(f*f)-2*n*o/(f*f)-2*r/(A*A),A=l*l-4*i*(2*n*e*o/(f*f)-2*t*o/(f*f)+o*o/(f*f)+r*r/(A*A)-1+(t-n*e)*(t-n*e)/(f*f)),0>A)return u;A=Math.sqrt(A),f=(-l+A)/(2*i),p(f,n*f-n*e+t),A=(-l-A)/(2*i),p(A,n*A-n*e+t)}return u},Ff:function(e,t,n,i,r,o,a,l,u){var f=1e21,p=e,x=t;if(qe.Ve(e,t,e,i,r,o,a,l,u)){var A=(u.x-r)*(u.x-r)+(u.y-o)*(u.y-o);Af},us:function(e,t,n){return qe.Fx(e.x,e.y,e.width,e.height,t.x,t.y,n.x,n.y)},Fx:function(e,t,n,i,r,o,a,l){var u=e+n,f=t+i;return r===a?(o=t):o===l?(r=e):!!(po(e,t,n,i,r,o)||po(e,t,n,i,a,l)||qe.Rl(e,t,u,t,r,o,a,l)||qe.Rl(u,t,u,f,r,o,a,l)||qe.Rl(u,f,e,f,r,o,a,l)||qe.Rl(e,f,e,t,r,o,a,l))},Rl:function(e,t,n,i,r,o,a,l){return e===n&&t===i&&r===a&&o===l?e===r&&t===o:0>=qe.Fl(e,t,n,i,r,o)*qe.Fl(e,t,n,i,a,l)&&0>=qe.Fl(r,o,a,l,e,t)*qe.Fl(r,o,a,l,n,i)},Fl:function(e,t,n,i,r,o){return n-=e,i-=t,e=r-e,t=o-t,o=e*i-t*n,o===0&&(o=e*n+t*i,0o&&(o=0))),o},bp:function(e){return 0>e&&(e+=360),360<=e&&(e-=360),e},jx:function(e,t,n,i,r,o){var a=Math.PI;o||(i*=a/180,r*=a/180);var l=i>r?-1:1;o=[];var u=a/2,f=i;if(i=Math.min(2*a,Math.abs(r-i)),1e-5>i)return u=f+l*Math.min(i,u),l=e+n*Math.cos(f),f=t+n*Math.sin(f),e+=n*Math.cos(u),t+=n*Math.sin(u),n=(l+e)/2,u=(f+t)/2,o.push([l,f,n,u,n,u,e,t]),o;for(;1e-5n,o=0>i;if(ef&&(t=.5*(l+u),!(t===l||t===u));++f){var p=e/(t+r),x=a/(t+o);if(p=p*p+x*x-1,0p)u=t;else break}n=r*n/(t+r)-n,i=o*i/(t+o)-i,n=Math.sqrt(n*n+i*i)}else n=Math.abs(i-t);else i=e*e-t*t,o=e*n,oe?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e)+"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);case Pn.u:var t=new Wt(this.startX,this.startY,0,0);return t.Kv(this.endX,this.endY,0,0),0>e?"M"+t.x.toString()+" "+t.y.toString()+"H"+t.right.toString()+"V"+t.bottom.toString()+"H"+t.left.toString()+"z":"M"+t.x.toFixed(e)+" "+t.y.toFixed(e)+"H"+t.right.toFixed(e)+"V"+t.bottom.toFixed(e)+"H"+t.left.toFixed(e)+"z";case Pn.F:if(t=new Wt(this.startX,this.startY,0,0),t.Kv(this.endX,this.endY,0,0),0>e)return e=t.left.toString()+" "+(t.y+t.height/2).toString(),"M"+e+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+(t.right.toString()+" "+(t.y+t.height/2).toString())+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+e;var n=t.left.toFixed(e)+" "+(t.y+t.height/2).toFixed(e);return"M"+n+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+(t.right.toFixed(e)+" "+(t.y+t.height/2).toFixed(e))+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+n;case Pn.o:t="",n=this.figures.s;for(var i=n.length,r=0;r=Ge-1?!0:f[V+1].match(rt)!==null}function i(){return V++,f[V]}function r(tr){var Wi=parseFloat(i()),Qr=parseFloat(i());be===be.toLowerCase()&&(Wi=Ue.x+Wi,Qr=Ue.y+Qr),tr.h(Wi,Qr)}function o(){return r(Ue),Ue}function a(){return r(Pe),Pe}function l(){var tr=le.toLowerCase();return tr!=="c"&&tr!=="s"&&tr!=="q"&&tr!=="t"?Ue:new he(2*Ue.x-Pe.x,2*Ue.y-Pe.y)}t===void 0&&(t=!1);var u=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;e=e.replace(/,/gm," "),e=e.replace(u,"$1 $2"),e=e.replace(u,"$1 $2"),e=e.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),e=e.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),e=e.replace(/([0-9])([+\-])/gm,"$1 $2"),e=e.replace(/[\s\r\t\n]+/gm," "),e=e.replace(/^\s+|\s+$/g,"");var f=e.split(" ");for(e=0;e=Ge-1);)if(le=be,be=i(),be!=="")switch(be.toUpperCase()){case"X":R=!0,x=p=!1;break;case"M":for(_=o(),e.mc===null||R===!0?(If(e,_.x,_.y,p,!x,A),R=!1):e.moveTo(_.x,_.y),u.assign(Ue);!n();)_=o(),e.lineTo(_.x,_.y);break;case"L":for(;!n();)_=o(),e.lineTo(_.x,_.y);break;case"H":for(;!n();)Ue=new he((be===be.toLowerCase()?Ue.x:0)+parseFloat(i()),Ue.y),e.lineTo(Ue.x,Ue.y);break;case"V":for(;!n();)Ue=new he(Ue.x,(be===be.toLowerCase()?Ue.y:0)+parseFloat(i())),e.lineTo(Ue.x,Ue.y);break;case"C":for(;!n();){_=new he,r(_);var At=a(),Vn=o();bh(e,_.x,_.y,At.x,At.y,Vn.x,Vn.y)}break;case"S":for(;!n();)_=l(),At=a(),Vn=o(),bh(e,_.x,_.y,At.x,At.y,Vn.x,Vn.y);break;case"Q":for(;!n();)_=a(),At=o(),Y0(e,_.x,_.y,At.x,At.y);break;case"T":for(;!n();)Pe=_=l(),At=o(),Y0(e,_.x,_.y,At.x,At.y);break;case"B":for(;!n();){_=parseFloat(i()),At=parseFloat(i()),Vn=parseFloat(i());var oi=parseFloat(i()),qn=parseFloat(i()),Dn=qn,pn=!1;n()||(Dn=parseFloat(i()),n()||(pn=parseFloat(i())!==0)),be===be.toLowerCase()&&(Vn+=Ue.x,oi+=Ue.y),e.arcTo(_,At,Vn,oi,qn,Dn,pn)}break;case"A":for(;!n();)_=Math.abs(parseFloat(i())),At=Math.abs(parseFloat(i())),Vn=parseFloat(i()),qn=oi=!1,pn=Dn=0,Dn=i(),Dn.length===1?(oi=!!parseFloat(Dn),qn=!!parseFloat(i()),Dn=parseFloat(i())):Dn.length===2?(oi=!!parseFloat(Dn[0]),qn=!!parseFloat(Dn[1]),Dn=parseFloat(i())):(oi=!!parseFloat(Dn[0]),qn=!!parseFloat(Dn[1]),Dn=parseFloat(Dn.slice(2))),pn=parseFloat(i()),be===be.toLowerCase()&&(Dn=Ue.x+Dn,pn=Ue.y+pn),Ue.h(Dn,pn),Fb(e,_,At,Vn,oi,qn,Dn,pn);break;case"Z":Pb(e),Ue.assign(u);break;case"F":for(_="",At=1;f[V+At];)if(f[V+At]==="0")A=!0,At++;else if(f[V+At].match(/[Uu]/)!==null)At++;else if(f[V+At].match(rt)===null)At++;else{_=f[V+At];break}_.match(/[Mm]/)?p=!0:0a&&(a+=360),_.startAngle+=a),0>e&&(_.startAngle=180-_.startAngle,_.sweepAngle=-_.sweepAngle),0>i&&(_.startAngle=-_.startAngle,_.sweepAngle=-_.sweepAngle),_.radiusX*=Math.sqrt(e*e+n*n),_.radiusY!==void 0&&(_.radiusY*=Math.sqrt(t*t+i*i));break;case Ks:if(a=_.endX,l=_.endY,_.endX=a*e+l*n+r,_.endY=a*t+l*i+o,_.radiusX===0||_.radiusY===0)break;t!==0&&(a=180*Math.atan2(t,e)/Math.PI,0>a&&(a+=360),_.xAxisRotation+=a),0>e&&(_.xAxisRotation=180-_.xAxisRotation,_.isClockwiseArc=!_.isClockwiseArc),0>i&&(_.xAxisRotation=-_.xAxisRotation,_.isClockwiseArc=!_.isClockwiseArc),_.radiusX*=Math.sqrt(e*e+n*n),_.radiusY*=Math.sqrt(t*t+i*i);break;default:Ve("Unknown Segment type: "+_.type)}}}}return this._isInvalidBounds=!0,this},U.ca=function(e,t){t===void 0&&(t=0);var n=this.od,i=this.pd,r=this.Dc,o=this.Ec;switch(this.type){case Pn.j:return qe.Yb(n,i,r,o,t,e.x,e.y);case Pn.u:var a=Wt.allocAt(Math.min(n,r)-t,Math.min(i,o)-t,Math.abs(r-n)+2*t,Math.abs(o-i)+2*t);return e=a.ca(e),Wt.free(a),e;case Pn.F:a=Math.min(n,r)-t;var l=Math.min(i,o)-t;return n=(Math.abs(r-n)+2*t)/2,t=(Math.abs(o-i)+2*t)/2,0>=n||0>=t?!1:(a=e.x-(a+n),l=e.y-(l+t),1>=a*a/(n*n)+l*l/(t*t));case Pn.o:return Dl(this,e,t,!0,!1);default:return!1}};function Dl(e,t,n,i,r){var o=t.x;t=t.y;for(var a=e.bounds.x-20,l=0,u,f,p,x,A=e.figures.s,R=A.length,_=0;_=e)return 0;if((r>a?r-a:a-r)<(o>l?o-l:l-o)){if(ol)return 0}else if(to)return 0}else if(ra)return 0}else if(fr)return 0;return 0e?e=0:1=o)return i=o-a,i=p===0?0:i/p,n=n[l],l=n[2*e],r=n[2*e+1],t.h(l+(n[2*e+2]-l)*i,r+(n[2*e+3]-r)*i),t;a+=p}}return t},U.wx=function(e){if(0>e?e=0:1=r)return r=t[a],t=r[2*e],n=r[2*e+1],i=r[2*e+2],e=r[2*e+3],1>Math.abs(i-t)&&1>Math.abs(e-n)?0:1>Math.abs(i-t)?0<=e-n?90:270:1>Math.abs(e-n)?0<=i-t?0:180:180*Math.atan2(e-n,i-t)/Math.PI;o+=f}}return NaN},U.Qu=function(e,t){if(0>e?e=0:1=o)return i=o-a,i=p===0?0:i/p,p=n[l],n=p[2*e],l=p[2*e+1],r=p[2*e+2],e=p[2*e+3],t[0]=n+(r-n)*i,t[1]=l+(e-l)*i,t[2]=1>Math.abs(r-n)&&1>Math.abs(e-l)?0:1>Math.abs(r-n)?0<=e-l?90:270:1>Math.abs(e-l)?0<=r-n?0:180:180*Math.atan2(e-l,r-n)/Math.PI,t;a+=p}}return t},U.xx=function(e){if(this.type===Pn.j){var t=this.startX,n=this.startY,i=this.endX,r=this.endY;if(t!==i||n!==r){var o=e.x;if(e=e.y,t===i){if(n=i?i===n?0:1:Math.abs(e-n)/(i-a)}if(n===r)return t=i?i===t?0:1:Math.abs(o-t)/(i-a);a=(i-t)*(i-t)+(r-n)*(r-n);var l=he.alloc();return qe.qh(t,n,i,r,o,e,l),e=l.x,o=l.y,he.free(l),Math.sqrt(((e-t)*(e-t)+(o-n)*(o-n))/a)}}else if(this.type===Pn.u){a=this.startX,l=this.startY;var u=this.endX;if(r=this.endY,a!==u||l!==r){t=u-a,n=r-l,o=2*t+2*n,i=e.x,e=e.y,i=Math.min(Math.max(i,a),u),e=Math.min(Math.max(e,l),r),a=Math.abs(i-a),u=Math.abs(i-u),l=Math.abs(e-l),r=Math.abs(e-r);var f=Math.min(a,u,l,r);if(f===l)return i/o;if(f===u)return(t+e)/o;if(f===r)return(2*t+n-i)/o;if(f===a)return(2*t+2*n-e)/o}}else{t=this.flattenedSegments,n=this.flattenedLengths,o=this.flattenedTotalLength,i=he.alloc(),r=1/0,l=a=0,u=t.length;for(var p=f=0,x=0;xe?0:1e?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e),n=this.segments.s,i=n.length,r=0;re&&(e+=360),this.Ne=e,this.Vh=0,this.Wh=Math.max(i,0),this.Pg=Math.max(r,0),typeof a=="boolean"?a&&(this.isLargeArc=!0):typeof a=="number"&&a&&(this.isLargeArc=!0),l&&(this.isClockwiseArc=!0)):(this.Ne=i,this.Vh=r,e===sa&&(o=Math.max(o,0)),this.Wh=o,typeof a=="number"?(e===sa&&(a=Math.max(a,0)),this.Pg=a):this.Pg=0),this.ae=null}Lr.prototype.copy=function(){var e=new Lr;return e.na=this.na,e.l=this.l&-2,e.Dc=this.Dc,e.Ec=this.Ec,e.Ne=this.Ne,e.Vh=this.Vh,e.Wh=this.Wh,e.Pg=this.Pg,e},U=Lr.prototype,U.Xa=function(e){if(!(e instanceof Lr)||this.type!==e.type||this.isClosed!==e.isClosed)return!1;switch(this.type){case xo:case so:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY);case Ha:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.point1X,e.point1X)&&qe.B(this.point1Y,e.point1Y)&&qe.B(this.point2X,e.point2X)&&qe.B(this.point2Y,e.point2Y);case Vs:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.point1X,e.point1X)&&qe.B(this.point1Y,e.point1Y);case sa:return qe.B(this.startAngle,e.startAngle)&&qe.B(this.sweepAngle,e.sweepAngle)&&qe.B(this.centerX,e.centerX)&&qe.B(this.centerY,e.centerY)&&qe.B(this.radiusX,e.radiusX)&&qe.B(this.radiusY,e.radiusY);case Ks:return this.isClockwiseArc===e.isClockwiseArc&&this.isLargeArc===e.isLargeArc&&qe.B(this.xAxisRotation,e.xAxisRotation)&&qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.radiusX,e.radiusX)&&qe.B(this.radiusY,e.radiusY);default:return!1}},U.qb=function(e){e.classType===Lr&&(this.type=e)},U.toString=function(e){switch(e===void 0&&(e=-1),this.type){case xo:e=0>e?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case so:e=0>e?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Ha:e=0>e?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.point2X.toFixed(e)+" "+this.point2Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Vs:e=0>e?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case sa:e=0>e?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(e)+" "+this.sweepAngle.toFixed(e)+" "+this.centerX.toFixed(e)+" "+this.centerY.toFixed(e)+" "+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e);break;case Ks:e=0>e?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e)+" "+this.xAxisRotation.toFixed(e)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;default:e=this.type.toString()}return e+(this.isClosed?"z":"")},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return this._isFrozen=!1,this},U.close=function(){return this.isClosed=!0,this};function Fs(e,t){if(e.ae!==null&&t._isInvalidBounds===!1)return e.ae;var n=e.radiusX,i=e.radiusY;if(i===void 0&&(i=n),n===0||i===0)return e.ae=[],e.ae;t=e.Ne;var r=e.Vh,o=qe.jx(0,0,n=R?a=Math.PI:1<=R&&(a=0),!u&&0a&&(a+=2*Math.PI),u=t>o?1:t/o,R=t>o?o/t:1,t=qe.jx(0,0,t>o?t:o,p,p+a,!0),o=sr.alloc(),o.reset(),o.translate(n,i),o.rotate(e.Ne,0,0),o.scale(u,R),Pn.Ha(t,o),sr.free(o),e.ae=t,e.ae}dt.Object.defineProperties(Lr.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(e){this.l=e?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(e){this.l=e?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(e){this.isClosed!==e&&(this.l=e?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(e){this._isFrozen&&Ut(this,e),this.na=e,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(e){this._isFrozen&&Ut(this,e),this.Dc=e,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(e){this._isFrozen&&Ut(this,e),this.Ec=e,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),this.Ne=e,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(e){this._isFrozen&&Ut(this,e),this.Vh=e,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(e){this._isFrozen&&Ut(this,e),this.Wh=e,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(e){this._isFrozen&&Ut(this,e),this.Pg=e,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),this.Ne=e,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(e){this._isFrozen&&Ut(this,e),this.Vh=e,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(e){0>e&&Ot(e,">= zero",Lr,"radiusX"),this._isFrozen&&Ut(this,e),this.Wh=e,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(e){0>e&&Ot(e,">= zero",Lr,"radiusY"),this._isFrozen&&Ut(this,e),this.Pg=e,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(e){this._isFrozen&&Ut(this,e),e%=360,0>e&&(e+=360),this.Dc=e,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(e){this._isFrozen&&Ut(this,e),360e&&(e=-360),this.Ec=e,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(e){this._isFrozen&&Ut(this,e),this.l=e?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(e){this._isFrozen&&Ut(this,e),this.l=e?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),e%=360,0>e&&(e+=360),this.Ne=e,this._isInvalidBounds=!0}}}),Lr.prototype.equalsApprox=Lr.prototype.Xa;var xo=new Kt(Lr,"Move",0),so=new Kt(Lr,"Line",1),Ha=new Kt(Lr,"Bezier",2),Vs=new Kt(Lr,"QuadraticBezier",3),sa=new Kt(Lr,"Arc",4),Ks=new Kt(Lr,"SvgArc",4);Lr.className="PathSegment",Lr.Move=xo,Lr.Line=so,Lr.Bezier=Ha,Lr.QuadraticBezier=Vs,Lr.Arc=sa,Lr.SvgArc=Ks;function ss(){this.H=null,this.xu=new he(0,0).freeze(),this.mt=new he(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}ss.prototype.copy=function(){var e=new ss;return this.clone(e)},ss.prototype.clone=function(e){return e.H=this.H,e.xu.assign(this.viewPoint),e.mt.assign(this.documentPoint),e.Rq=this.Rq,e.Bp=this.Bp,e.Cp=this.Cp,e.xq=this.xq,e.Tp=this.Tp,e.Wr=this.Wr,e.Ep=this.Ep,e.Rp=this.Rp,e.tq=this.tq,e.nq=this.nq,e.xg=this.xg,e.Zp=this.Zp,e.Rr=this.Rr,e.Nr=this.Nr,e.xd=this.xd,e},ss.prototype.toString=function(){var e="^";return this.modifiers!==0&&(e+="M:"+this.modifiers),this.button!==0&&(e+="B:"+this.button),this.key!==""&&(e+="K:"+this.key),this.clickCount!==0&&(e+="C:"+this.clickCount),this.delta!==0&&(e+="D:"+this.delta),this.handled&&(e+="h"),this.bubbles&&(e+="b"),this.documentPoint!==null&&(e+="@"+this.documentPoint.toString()),e},ss.prototype.So=function(e,t){var n=this.diagram;return n===null||ec(n,e,t),t},ss.prototype.Bz=function(e,t){var n=this.diagram;return n===null||(ec(n,e,t),t.assign(n.Ps(t))),t},dt.Object.defineProperties(ss.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},viewPoint:{get:function(){return this.xu},set:function(e){this.xu.assign(e)}},documentPoint:{get:function(){return this.mt},set:function(e){this.mt.assign(e)}},modifiers:{get:function(){return this.Rq},set:function(e){this.Rq=e}},button:{get:function(){return this.Bp},set:function(e){if(this.Bp=e,this.event===null)switch(e){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(e){this.Cp=e}},key:{get:function(){return this.xq},set:function(e){this.xq=e}},down:{get:function(){return this.Tp},set:function(e){this.Tp=e}},up:{get:function(){return this.Wr},set:function(e){this.Wr=e}},clickCount:{get:function(){return this.Ep},set:function(e){this.Ep=e}},delta:{get:function(){return this.Rp},set:function(e){this.Rp=e}},isMultiTouch:{get:function(){return this.tq},set:function(e){this.tq=e}},handled:{get:function(){return this.nq},set:function(e){this.nq=e}},bubbles:{get:function(){return this.xg},set:function(e){this.xg=e}},event:{get:function(){return this.Zp},set:function(e){this.Zp=e}},isTouchEvent:{get:function(){var e=this.event;return e===null?!1:e.pointerType==="touch"||e.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(e){this.Rr=e}},targetDiagram:{get:function(){return this.Nr},set:function(e){this.Nr=e}},targetObject:{get:function(){return this.xd},set:function(e){this.xd=e}},control:{get:function(){return(this.modifiers&1)!==0},set:function(e){this.modifiers=e?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(e){this.modifiers=e?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(e){this.modifiers=e?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(e){this.modifiers=e?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(e){this.buttons=e?this.buttons|1:this.buttons&-2}},right:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(e){this.buttons=e?this.buttons|2:this.buttons&-3}},middle:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(e){this.buttons=e?this.buttons|4:this.buttons&-5}}}),ss.prototype.getMultiTouchDocumentPoint=ss.prototype.Bz,ss.prototype.getMultiTouchViewPoint=ss.prototype.So,ss.className="InputEvent";function hu(){this.H=null,this.xa="",this.ar=this.Lr=null}hu.prototype.copy=function(){var e=new hu;return e.H=this.H,e.xa=this.xa,e.Lr=this.Lr,e.ar=this.ar,e},hu.prototype.toString=function(){var e="*"+this.name;return this.subject!==null&&(e+=":"+this.subject.toString()),this.parameter!==null&&(e+="("+this.parameter.toString()+")"),e},dt.Object.defineProperties(hu.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},subject:{get:function(){return this.Lr},set:function(e){this.Lr=e}},parameter:{get:function(){return this.ar},set:function(e){this.ar=e}}}),hu.className="DiagramEvent";function Bo(){this.Fm=So,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Bo.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Bo.prototype.copy=function(){var e=new Bo;e.Fm=this.Fm,e.Qq=this.Qq,e.rf=this.rf,e.cc=this.cc,e.H=this.H,e.Qn=this.Qn;var t=this.Sn;return e.Sn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Rn,e.Rn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Mn,e.Mn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Ln,e.Ln=ot(t)&&typeof t.J=="function"?t.J():t,e},Bo.prototype.qb=function(e){e.classType===Bo&&(this.change=e)},Bo.prototype.toString=function(){var e="";return e=this.change===Es?e+"* ":this.change===So?e+(this.model!==null?"!m":"!d"):e+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(e+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(e+=" "+this.modelChange),e+=": ",this.change===Es?this.oldValue!==null&&(e+=" "+this.oldValue):(this.object!==null&&(e+=vn(this.object)),this.oldValue!==null&&(e+=" old: "+vn(this.oldValue)),this.oldParam!==null&&(e+=" "+this.oldParam),this.newValue!==null&&(e+=" new: "+vn(this.newValue)),this.newParam!==null&&(e+=" "+this.newParam)),e},Bo.prototype.I=function(e){return e?this.oldValue:this.newValue},Bo.prototype.Dz=function(e){return e?this.oldParam:this.newParam},Bo.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Bo.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Bo.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Bo.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},dt.Object.defineProperties(Bo.prototype,{model:{get:function(){return this.cc},set:function(e){this.cc=e}},diagram:{get:function(){return this.H},set:function(e){this.H=e}},change:{get:function(){return this.Fm},set:function(e){this.Fm=e}},modelChange:{get:function(){return this.Qq},set:function(e){this.Qq=e}},propertyName:{get:function(){return this.rf},set:function(e){this.rf=e}},isTransactionFinished:{get:function(){return this.Fm===Es&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(e){this.Qn=e}},oldValue:{get:function(){return this.Sn},set:function(e){this.Sn=e}},oldParam:{get:function(){return this.Rn},set:function(e){this.Rn=e}},newValue:{get:function(){return this.Mn},set:function(e){this.Mn=e}},newParam:{get:function(){return this.Ln},set:function(e){this.Ln=e}}}),Bo.prototype.redo=Bo.prototype.redo,Bo.prototype.canRedo=Bo.prototype.canRedo,Bo.prototype.undo=Bo.prototype.undo,Bo.prototype.canUndo=Bo.prototype.canUndo,Bo.prototype.getParam=Bo.prototype.Dz,Bo.prototype.getValue=Bo.prototype.I,Bo.prototype.clear=Bo.prototype.clear;var Es=new Kt(Bo,"Transaction",-1),So=new Kt(Bo,"Property",0),Jo=new Kt(Bo,"Insert",1),na=new Kt(Bo,"Remove",2);Bo.className="ChangedEvent",Bo.Transaction=Es,Bo.Property=So,Bo.Insert=Jo,Bo.Remove=na;function wa(){this.o=new Xt().freeze(),this.xa="",this.j=!1}wa.prototype.toString=function(e){var t="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(e!==void 0&&0t&&e.cd(t,i),t++);for(;e.length>t;)e.pop();e.freeze()}},dt.Object.defineProperties(wa.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},isComplete:{get:function(){return this.j},set:function(e){this.j=e}}}),wa.prototype.optimize=wa.prototype.ak,wa.prototype.redo=wa.prototype.redo,wa.prototype.canRedo=wa.prototype.canRedo,wa.prototype.undo=wa.prototype.undo,wa.prototype.canUndo=wa.prototype.canUndo,wa.prototype.clear=wa.prototype.clear,wa.className="Transaction";function _o(){this.Pt=new Zt,this.Jd=!1,this.u=new Xt().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Xt().freeze(),this.hl=new Xt,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}_o.prototype.toString=function(e){var t="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;t+="[";for(var n=this.nestedTransactionNames.count,i=0;ie.transactionLevel&&Gn("Ending transaction without having started a transaction: "+n);var i=e.transactionLevel===1,r=e.currentTransaction;i&&t&&(e.isInternalTransaction||e.Ob("CommittingTransaction",n,r));var o=0;if(0=i&&(o=t.M(0),o!==null&&o.clear(),t.mb(0),e.Ce--)),i===0||t.count!==0&&t.get(t.count-1)===r||(t.add(r),e.Ce++),t.freeze()),e.isInternalTransaction||e.Ob("CommittedTransaction",n,r);else{e.Fe=!0;try{e.isEnabled&&r!==null&&(r.isComplete=!0,r.undo())}finally{e.isInternalTransaction||e.Ob("RolledBackTransaction",n,r),e.Fe=!1}r!==null&&r.clear()}return e.Np=null,e.isPendingClear&&e.clear(),e.isPendingClear=!1,e.isPendingUnmodified=!1,!0}if(e.isEnabled&&!t&&r!==null){for(e=o,n=r.changes,r=n.count-1;r>=e;r--)t=n.M(r),t!==null&&t.undo(),n.ka(),n.mb(r);n.freeze()}return!1}U.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var e=this.history;e.ka();for(var t=e.count-1;t>this.historyIndex;t--){var n=e.M(t);n!==null&&n.clear(),e.mb(t),this.rq=!0}e.freeze()}},_o.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(e=e.diagram,e!==null&&e.pi===!1||Gn("Change not within a transaction: "+n.toString()))}},_o.prototype.skipsEvent=function(e){if(e===null||0>e.change.value)return!0;if(e=e.object,e===null)return!1;if(e.layer!==void 0){if(e=e.layer,e!==null&&e.isTemporary)return!0}else if(e.isTemporary)return!0;return!1},dt.Object.defineProperties(_o.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(e){this.Jd=e}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexr||Math.abs(t.y-e.y)>i},dt.Object.defineProperties(Mr.prototype,{diagram:{get:function(){return this.H},set:function(e){e instanceof Y&&(this.H=e)}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},isEnabled:{get:function(){return this.Jd},set:function(e){this.Jd=e}},isActive:{get:function(){return this.nb},set:function(e){this.nb=e}},transactionResult:{get:function(){return this.wm},set:function(e){this.wm=e}}}),Mr.prototype.startTransaction=Mr.prototype.Ea,Mr.className="Tool";function Co(){Mr.call(this),this.name="ToolManager",this.hb=new Xt,this.ob=new Xt,this.Hb=new Xt,this.F=this.V=850,this.o=new fi(2,2).ja(),this.Ha=5e3,this.ia=Ju,this.u=_u,this.Mp=this.j=null,this.zj=-1}xi(Co,Mr),Co.prototype.initializeStandardTools=function(){},Co.prototype.updateAdornments=function(e){var t=this.currentToolTip;if(t instanceof Zr&&this.Mp===e){var n=t.adornedObject;(e!==null?n.part===e:n===null)?this.showToolTip(t,n):this.hideToolTip()}},Co.prototype.doMouseDown=function(){var e=this.diagram,t=e.lastInput;if(t.isTouchEvent&&this.gestureBehavior===Xs&&(t.bubbles=!1),t.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===Qs){t.bubbles=!0;return}if(this.gestureBehavior===Xs)return;if(e.currentTool.canStartMultiTouch()){e.currentTool.standardPinchZoomStart();return}}for(var n=this.mouseDownTools.length,i=0;ir.right&&(n.x-=i.width+5/t.scale),n.xr.bottom?n.y-(i.height+5/t.scale):n.y+20/t.scale,n.yn.pointsCount)){var i=e.diagram;if(!i.isReadOnly){var r=e.Oe;if(r!==null){var o=null,a=null;n.fromNode===null&&(o=ll(e,n.i(0),!1),o!==null&&(a=o.part));var l=null,u=null;n.toNode===null&&(l=ll(e,n.i(n.pointsCount-1),!0),l!==null&&(u=l.part)),r.isValidLink(a,o,u,l)?t?(n.defaultFromPoint=n.i(0),n.defaultToPoint=n.i(n.pointsCount-1),n.suspendsRouting=!1,n.fromNode=a,o!==null&&(n.fromPortId=o.portId),n.toNode=u,l!==null&&(n.toPortId=l.portId),n.fromPort!==i.Mx&&i.R("LinkRelinked",n,i.Mx),n.toPort!==i.Nx&&i.R("LinkRelinked",n,i.Nx)):ji(r,a,o,u,l):ji(r,null,null,null,null)}}}}ko.prototype.doDragOver=function(){};function Vl(e,t){var n=e.diagram;e.dragsLink&&vs(e,!0),tu(e);var i=e.findDragOverObject(t),r=n.lastInput;if(r.targetObject=i,i!==null){r.handled=!1;for(var o=i;o!==null;){var a=o.mouseDrop;if(a!==null&&(a(r,o),r.handled))break;zu(e,r,o),o=Nu(o)}}else o=n.mouseDrop,o!==null&&o(r);if(e.isActive||bt!==null){for(r=(e.copiedParts||e.draggedParts).iterator;r.next();)o=r.key,o instanceof Xn&&o.linksConnected.each(function(l){l.suspendsRouting=!1});if(e.doDropOnto(t,i),e.isActive||bt!==null){for(e=Wt.alloc(),t=n.selection.iterator;t.next();)i=t.value,i instanceof Xn&&Ee(n,i,e);Wt.free(e)}}}function zu(e,t,n){e=e.diagram,n=n.part,!e.handlesDragDropForTopLevelParts||!n.isTopLevel||n instanceof nr||(n=e.mouseDrop,n!==null&&n(t))}function Ee(e,t,n){var i=!1;if(n=t.getAvoidableRect(n),e.viewportBounds.Re(n)&&(i=!0),e=e.Nu(n,function(r){return r.part},function(r){return r instanceof Fn},!0,function(r){return r instanceof Fn},i),e.count!==0)for(e=e.iterator;e.next();)n=e.value,!n.Td(t)&&n.isAvoiding&&n.bb()}ko.prototype.doDropOnto=function(){},ko.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;this.simulatedMouseMove(t.event,t.documentPoint,t.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(yl(this,!1),_h(e,this.copiedParts),Zs(this,this.copiedParts,!1),Tc(e,this.copiedParts)):this.mayMove()?(Js(this),Zs(this,this.draggedParts,!0)):this.mayDragOut()?(yl(this,!1),Zs(this,this.copiedParts,!1)):Js(this),pu(this,e.lastInput.documentPoint))}},ko.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;if(!this.simulatedMouseUp(t.event,t.documentPoint,t.targetDiagram)){t=!1;var n=this.mayCopy();if(n&&this.copiedParts!==null?(Js(this),yl(this,!0),_h(e,this.copiedParts),Zs(this,this.copiedParts,!1),Tc(e,this.copiedParts),this.copiedParts!==null&&(e.R("ChangingSelection",e.selection),e.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(r){r.isSelected=!0}))):(t=!0,Js(this),this.mayMove()&&(Zs(this,this.draggedParts,!0),pu(this,e.lastInput.documentPoint))),this.Ym=!0,Vl(this,e.lastInput.documentPoint),this.isActive){var i=n?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,t&&Le(this),e.Ya(),Tc(e,this.draggedParts),this.transactionResult=n?"Copy":"Move",e.R(n?"SelectionCopied":"SelectionMoved",i)}this.stopTool(),n&&e.R("ChangedSelection",e.selection)}}},ko.prototype.simulatedMouseMove=function(e,t,n){if(bt===null)return!1;var i=bt.diagram;n instanceof Y||(n=null);var r=Bt;return n!==r&&(r!==null&&r!==i&&(r.ug(),bt.isDragOutStarted=!1,r=r.toolManager.findTool("Dragging"),r!==null&&r.doSimulatedDragLeave()),Bt=n,n!==null&&n!==i&&(vl(),r=n.toolManager.findTool("Dragging"),r!==null&&(Bs.contains(r)||Bs.add(r),r.doSimulatedDragEnter())),this.doUpdateCursor(null)),n===null||n===i||!n.allowDrop||n.isReadOnly||!n.allowInsert?!1:(i=n.toolManager.findTool("Dragging"),i!==null&&(e!==null&&(e.targetTouches!==void 0&&(0a&&(a=f),p>l&&(l=p))}}for(i===1/0?o.h(0,0,0,0):o.h(i,r,a-i,l-r),i=o.x+o.width/2,r=o.y+o.height/2,Wt.free(o),o=e.Fr,a=new Kn,l=he.alloc(),u=t.iterator;u.next();)f=u.value,f instanceof Fn&&f.canCopy()&&(p=n.I(f),p!==null&&(p.points=f.points,Eh(p,o.x-i,o.y-r),p.suspendsRouting=!0,a.add(p,e.Pd())));for(t=t.iterator;t.next();)f=t.value,f.Zc()&&f.canCopy()&&(u=n.I(f),u!==null&&(f=f.location,l.h(o.x-(i-f.x),o.y-(r-f.y)),u.location=l,u.Va(),a.add(u,e.Pd(l))));he.free(l),e.copiedParts=a,dc(e,a.Lf()),e.draggedLink!==null&&(n=e.draggedLink,t=n.routeBounds,Eh(n,e.startPoint.x-(t.x+t.width/2),e.startPoint.y-(t.y+t.height/2))),e.doUpdateCursor(null)}}}ko.prototype.doSimulatedDragOut=function(){var e=this.diagram;e.Ns=!1,this.mayCopy()||this.mayMove()?e.currentCursor="":e.currentCursor=this.nodropCursor,this.Bn=null},ko.prototype.computeMove=function(e,t,n,i){return n=this.diagram,n!==null?n.computeMove(e,t,this.dragOptions,i):new he},dt.Object.defineProperties(ko.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(e){this.ob=e}},copiesEffectiveCollection:{get:function(){return this.u},set:function(e){this.u=e}},dragOptions:{get:function(){return this.ia},set:function(e){this.ia=e}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(e){this.dragOptions.isGridSnapEnabled=e}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(e){this.hb=e}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(e){this.dragOptions.isGridSnapRealtime=e}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(e){this.dragOptions.gridSnapCellSize.D(e)||(e=e.J(),this.dragOptions.gridSnapCellSize=e)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(e){this.dragOptions.gridSnapCellSpot.D(e)||(e=e.J(),this.dragOptions.gridSnapCellSpot=e)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(e){this.dragOptions.gridSnapOrigin.D(e)||(e=e.J(),this.dragOptions.gridSnapOrigin=e)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(e){this.dragOptions.dragsLink=e}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(e){this.dragOptions.dragsTree=e}},copyCursor:{get:function(){return this.F},set:function(e){this.F=e}},moveCursor:{get:function(){return this.Oc},set:function(e){this.Oc=e}},nodropCursor:{get:function(){return this.Pc},set:function(e){this.Pc=e}},currentPart:{get:function(){return this.V},set:function(e){this.V=e}},copiedParts:{get:function(){return this.o},set:function(e){this.o=e}},draggedParts:{get:function(){return this.Ha},set:function(e){this.Ha=e}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(e){this.diagram.draggedLink=e}},isDragOutStarted:{get:function(){return this.Hb},set:function(e){this.Hb=e}},startPoint:{get:function(){return this.Fr},set:function(e){this.Fr.D(e)||this.Fr.assign(e)}},delay:{get:function(){return this.Ik},set:function(e){this.Ik=e}}}),ko.prototype.getDraggingSource=ko.prototype.Az;var bt=null,Bt=null;ko.className="DraggingTool",Bs=new Xt,ui("draggingTool",function(){return this.findTool("Dragging")},function(e){this.gb("Dragging",e,this.mouseMoveTools)}),Co.prototype.doCancel=function(){bt!==null&&bt.doCancel(),Mr.prototype.doCancel.call(this)};function Rt(){Mr.call(this),this.te=100,this.Ha=!1,this.u="pointer";var e=new Fn,t=new fr;t.isPanelMain=!0,t.stroke="blue",e.add(t),t=new fr,t.toArrow="Standard",t.fill="blue",t.stroke="blue",e.add(t),e.layerName="Tool",this.Ci=e,e=new Xn,t=new fr,t.portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=jo,e.add(t),e.selectable=!1,e.layerName="Tool",this.Bi=e,this.j=t,e=new Xn,t=new fr,t.portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=jo,e.add(t),e.selectable=!1,e.layerName="Tool",this.Di=e,this.o=t,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Kn,this.Of=this.gj=this.Pf=null}xi(Rt,Mr),Rt.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},Rt.prototype.copyPortProperties=function(e,t,n,i,r){if(e!==null&&t!==null&&n!==null&&i!==null){var o=t.Df(),a=fi.alloc();a.width=t.naturalBounds.width*o,a.height=t.naturalBounds.height*o,i.desiredSize=a,fi.free(a),r?(i.toSpot=t.toSpot,i.toEndSegmentLength=t.toEndSegmentLength):(i.fromSpot=t.fromSpot,i.fromEndSegmentLength=t.fromEndSegmentLength),n.locationSpot=Dr,o=he.alloc(),n.location=t.ga(Dr,o),he.free(o),i.angle=t.li(),this.portTargeted!==null&&this.portTargeted(e,t,n,i,r)}},Rt.prototype.setNoTargetPortProperties=function(e,t,n){t!==null&&(t.desiredSize=jo,t.fromSpot=Hi,t.toSpot=Hi),e!==null&&(e.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,e,t,n)},Rt.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},Rt.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Xn){var t=this.targetPort.part;this.isForwards?this.copyPortProperties(t,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(t,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(e.allowHorizontalScroll||e.allowVerticalScroll)&&e.gs(e.lastInput.viewPoint)}},Rt.prototype.findValidLinkablePort=function(e,t){if(e===null)return null;var n=e.part;if(!(n instanceof Xn))return null;for(;e!==null;){var i=t?e.toLinkable:e.fromLinkable;if(i===!0&&(e.portId!==null||e instanceof Xn)&&(t?this.isValidTo(n,e):this.isValidFrom(n,e)))return e;if(i===!1)break;e=e.panel}return null},Rt.prototype.findTargetPort=function(e){var t=this.diagram,n=t.lastInput.documentPoint,i=this.portGravity;0>=i&&(i=.1);var r=this,o=t.og(n,i,function(x){return r.findValidLinkablePort(x,e)},null,!0);for(i=1/0,t=null,o=o.iterator;o.next();){var a=o.value,l=a.part;if(l instanceof Xn){var u=a.ga(Dr,he.alloc()),f=n.x-u.x,p=n.y-u.y;he.free(u),u=f*f+p*p,un){if(this.originalLink!==null&&e===this.originalFromNode&&t===this.originalFromPort)return!0;if(t=t.portId,t===null&&(t=""),e.Mo(t).count>=n)return!1}return!0},Rt.prototype.isValidTo=function(e,t){if(e===null||t===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(e.layer!==null&&!e.layer.allowLink||t.toLinkable!==!0))return!1;var n=t.toMaxLinks;if(1/0>n){if(this.originalLink!==null&&e===this.originalToNode&&t===this.originalToPort)return!0;if(t=t.portId,t===null&&(t=""),e.Sd(t).count>=n)return!1}return!0},Rt.prototype.isInSameNode=function(e,t){return e===null||t===null?!1:e===t?!0:(e=e.part,t=t.part,e!==null&&e===t)},Rt.prototype.isLinked=function(e,t){if(e===null||t===null)return!1;var n=e.part;if(!(n instanceof Xn))return!1;e=e.portId,e===null&&(e="");var i=t.part;if(!(i instanceof Xn))return!1;for(t=t.portId,t===null&&(t=""),t=i.Sd(t);t.next();)if(i=t.value,i.fromNode===n&&i.fromPortId===e)return!0;return!1},Rt.prototype.isValidLink=function(e,t,n,i){if(!this.isValidFrom(e,t)||!this.isValidTo(n,i)||!(t===null||i===null||(t.fromLinkableSelfNode&&i.toLinkableSelfNode||!this.isInSameNode(t,i))&&(t.fromLinkableDuplicates&&i.toLinkableDuplicates||!this.isLinked(t,i)))||this.originalLink!==null&&(e!==null&&this.isLabelDependentOnLink(e,this.originalLink)||n!==null&&this.isLabelDependentOnLink(n,this.originalLink))||e!==null&&n!==null&&(e.data===null&&n.data!==null||e.data!==null&&n.data===null)||!this.isValidCycle(e,n,this.originalLink))return!1;if(e!==null){var r=e.linkValidation;if(r!==null&&!r(e,t,n,i,this.originalLink))return!1}return n!==null&&(r=n.linkValidation,r!==null&&!r(e,t,n,i,this.originalLink))?!1:(r=this.linkValidation,r!==null?r(e,t,n,i,this.originalLink):!0)},Rt.prototype.isLabelDependentOnLink=function(e,t){if(e===null)return!1;var n=e.labeledLink;if(n===null)return!1;if(n===t)return!0;var i=new Zt;return i.add(e),ve(this,n,t,i)};function ve(e,t,n,i){if(t===n)return!0;var r=t.fromNode;return r!==null&&r.isLinkLabel&&(i.add(r),ve(e,r.labeledLink,n,i))?!0:(t=t.toNode,!!(t!==null&&t.isLinkLabel&&(i.add(t),ve(e,t.labeledLink,n,i))))}Rt.prototype.isValidCycle=function(e,t,n){if(n===void 0&&(n=null),e===null||t===null)return this.isUnconnectedLinkValid;var i=this.diagram.validCycle;if(i!==Pd){if(i===dp){if(i=n||this.temporaryLink,i!==null&&!i.isTreeLink)return!0;for(i=t.linksConnected;i.next();){var r=i.value;if(r!==n&&r.isTreeLink&&r.toNode===t)return!1}return!yn(this,e,t,n,!0)}if(i===fp){if(i=n||this.temporaryLink,i!==null&&!i.isTreeLink)return!0;for(i=e.linksConnected;i.next();)if(r=i.value,r!==n&&r.isTreeLink&&r.fromNode===e)return!1;return!yn(this,e,t,n,!0)}if(i===up)return e===t?e=!0:(i=new Zt,i.add(t),e=sn(this,i,e,t,n)),!e;if(i===cp)return!yn(this,e,t,n,!1);if(i===hp)return e===t?e=!0:(i=new Zt,i.add(t),e=zn(this,i,e,t,n)),!e}return!0};function yn(e,t,n,i,r){if(t===n)return!0;if(t===null||n===null)return!1;for(var o=t.linksConnected;o.next();){var a=o.value;if(a!==i&&(!r||a.isTreeLink)&&a.toNode===t&&(a=a.fromNode,a!==t&&yn(e,a,n,i,r)))return!0}return!1}function sn(e,t,n,i,r){if(n===i)return!0;if(n===null||i===null||t.contains(n))return!1;t.add(n);for(var o=n.linksConnected;o.next();){var a=o.value;if(a!==r&&a.toNode===n&&(a=a.fromNode,a!==n&&sn(e,t,a,i,r)))return!0}return!1}function zn(e,t,n,i,r){if(n===i)return!0;if(n===null||i===null||t.contains(n))return!1;t.add(n);for(var o=n.linksConnected;o.next();){var a=o.value;if(a!==r){var l=a.fromNode;if(a=a.toNode,l=l===n?a:l,l!==n&&zn(e,t,l,i,r))return!0}}return!1}dt.Object.defineProperties(Rt.prototype,{portGravity:{get:function(){return this.te},set:function(e){0<=e&&(this.te=e)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(e){this.Ha=e}},linkingCursor:{get:function(){return this.u},set:function(e){this.u=e}},temporaryLink:{get:function(){return this.Ci},set:function(e){this.Ci=e}},temporaryFromNode:{get:function(){return this.Bi},set:function(e){(this.Bi=e)&&(this.j=e.port)}},temporaryFromPort:{get:function(){return this.j},set:function(e){if(this.j!==null){var t=this.j.panel;if(t!==null){var n=t.O.indexOf(this.j);t.mb(n),t.Gb(n,e)}}this.j=e}},temporaryToNode:{get:function(){return this.Di},set:function(e){(this.Di=e)&&(this.o=e.port)}},temporaryToPort:{get:function(){return this.o},set:function(e){if(this.o!==null){var t=this.o.panel;if(t!==null){var n=t.O.indexOf(this.o);t.mb(n),t.Gb(n,e)}}this.o=e}},originalLink:{get:function(){return this.Hb},set:function(e){this.Hb=e}},originalFromNode:{get:function(){return this.hb},set:function(e){this.hb=e}},originalFromPort:{get:function(){return this.ob},set:function(e){this.ob=e}},originalToNode:{get:function(){return this.Oc},set:function(e){this.Oc=e}},originalToPort:{get:function(){return this.Pc},set:function(e){this.Pc=e}},isForwards:{get:function(){return this.ia},set:function(e){this.ia=e}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(e){this.Pf=e}},linkValidation:{get:function(){return this.gj},set:function(e){this.gj=e}},portTargeted:{get:function(){return this.Of},set:function(e){this.Of=e}}}),Rt.className="LinkingBaseTool";function $n(){Rt.call(this),this.name="Linking",this.V={},this.F=null,this.K=jn,this.Xd=null}xi($n,Rt),$n.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return e.isReadOnly||e.isModelReadOnly||!e.allowLink||!e.model.xs()||!e.lastInput.left||e.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},$n.prototype.findLinkablePort=function(){var e=this.diagram,t=this.startObject;if(t===null&&(t=e.ic(e.firstInput.documentPoint,null,null)),t===null||(e=t.part,!(e instanceof Xn)))return null;var n=this.direction;if(n===jn||n===gi){var i=this.findValidLinkablePort(t,!1);if(i!==null||this.startObject===e&&(i=e.port,this.findValidLinkablePort(i,!1)))return this.isForwards=!0,i}return(n===jn||n===yi)&&(t=this.findValidLinkablePort(t,!0),t!==null||this.startObject===e&&(t=e.port,this.findValidLinkablePort(t,!0)))?(this.isForwards=!1,t):null},$n.prototype.doActivate=function(){var e=this.diagram,t=this.findLinkablePort();t===null?this.stopTool():(this.Ea(this.name),e.isMouseCaptured=!0,e.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=e.lastInput.documentPoint),this.originalFromPort=t,t=this.originalFromPort.part,t instanceof Xn&&(this.originalFromNode=t),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=e.lastInput.documentPoint),this.originalToPort=t,t=this.originalToPort.part,t instanceof Xn&&(this.originalToNode=t),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),e.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),e.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),e.add(this.temporaryLink)),this.isActive=!0)},$n.prototype.doDeactivate=function(){this.isActive=!1;var e=this.diagram;e.remove(this.temporaryLink),e.remove(this.temporaryFromNode),e.remove(this.temporaryToNode),e.isMouseCaptured=!1,e.currentCursor="",this.stopTransaction()},$n.prototype.doStop=function(){Rt.prototype.doStop.call(this),this.startObject=null},$n.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=this.transactionResult=null,n=null,i=null,r=null,o=null;try{var a=this.targetPort=this.findTargetPort(this.isForwards);if(a!==null){var l=a.part;l instanceof Xn&&(this.isForwards?(this.originalFromNode!==null&&(t=this.originalFromNode,n=this.originalFromPort),i=l,r=a):(t=l,n=a,this.originalToNode!==null&&(i=this.originalToNode,r=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(t=this.originalFromNode,n=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(i=this.originalToNode,r=this.originalToPort);t!==null||i!==null?(o=this.insertLink(t,n,i,r),o!==null?(a===null&&(this.isForwards?o.defaultToPoint=e.lastInput.documentPoint:o.defaultFromPoint=e.lastInput.documentPoint),e.allowSelect&&(e.R("ChangingSelection",e.selection),e.clearSelection(!0),o.isSelected=!0),this.transactionResult=this.name,e.R("LinkDrawn",o)):this.doNoLink(t,n,i,r)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),o&&e.allowSelect&&e.R("ChangedSelection",e.selection)}}},$n.prototype.isNewTreeLink=function(){var e=this.archetypeLinkData;if(e===null)return!0;if(e instanceof Fn)return e.isTreeLink;var t=this.diagram;return t===null?!0:(e=t.partManager.getLinkCategoryForData(e),t=t.partManager.findLinkTemplateForCategory(e),t!==null?t.isTreeLink:!0)},$n.prototype.insertLink=function(e,t,n,i){return this.diagram.partManager.insertLink(e,t,n,i)},$n.prototype.doNoLink=function(){},dt.Object.defineProperties($n.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(e){this.V=e}},archetypeLabelNodeData:{get:function(){return this.F},set:function(e){this.F=e}},direction:{get:function(){return this.K},set:function(e){this.K=e}},startObject:{get:function(){return this.Xd},set:function(e){this.Xd=e}}});var jn=new Kt($n,"Either",0),gi=new Kt($n,"ForwardsOnly",0),yi=new Kt($n,"BackwardsOnly",0);$n.className="LinkingTool",$n.Either=jn,$n.ForwardsOnly=gi,$n.BackwardsOnly=yi;function ei(){Rt.call(this),this.name="Relinking";var e=new fr;e.figure="Diamond",e.desiredSize=Ta,e.fill="lightblue",e.stroke="dodgerblue",e.cursor=this.linkingCursor,e.segmentIndex=0,this.V=e,e=new fr,e.figure="Diamond",e.desiredSize=Ta,e.fill="lightblue",e.stroke="dodgerblue",e.cursor=this.linkingCursor,e.segmentIndex=-1,this.Xd=e,this.F=null,this.Ew=new Wt}xi(ei,Rt),ei.prototype.updateAdornments=function(e){if(e!==null&&e instanceof Fn){var t="RelinkFrom",n=null;if(e.isSelected&&!this.diagram.isReadOnly){var i=e.selectionObject;i!==null&&e.canRelinkFrom()&&e.actualBounds.w()&&e.isVisible()&&i.actualBounds.w()&&i.Ed()&&(n=e.Pj(t),n===null&&(n=this.makeAdornment(i,!1),e.bh(t,n)))}n===null&&e.Jf(t),t="RelinkTo",n=null,e.isSelected&&!this.diagram.isReadOnly&&(i=e.selectionObject,i!==null&&e.canRelinkTo()&&e.actualBounds.w()&&e.isVisible()&&i.actualBounds.w()&&i.Ed()&&(n=e.Pj(t),n===null?(n=this.makeAdornment(i,!0),e.bh(t,n)):n.v())),n===null&&e.Jf(t)}},ei.prototype.makeAdornment=function(e,t){var n=new Zr;return n.type=An.Link,t=t?this.toHandleArchetype:this.fromHandleArchetype,t!==null&&n.add(t.copy()),n.adornedObject=e,n},ei.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowRelink||!e.model.xs()||!e.lastInput.left)return!1;var t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom");return t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo")),t!==null},ei.prototype.doActivate=function(){var e=this.diagram;if(this.originalLink===null){var t=this.handle;if(t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom"),t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo"))),t===null)return;var n=t.part;if(!(n instanceof Zr&&n.adornedPart instanceof Fn))return;this.handle=t,this.isForwards=n===null||n.category==="RelinkTo",this.originalLink=n.adornedPart}this.Ea(this.name),e.isMouseCaptured=!0,e.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0t.firstPickIndex+1&&n=n.x)t=0>=n.y?t+225:1<=n.y?t+135:t+180;else if(1<=n.x)0>=n.y?t+=315:1<=n.y&&(t+=45);else if(0>=n.y)t+=270;else if(1<=n.y)t+=90;else break e;0>t?t+=360:360<=t&&(t-=360),e.cursor=22.5>t?"e-resize":67.5>t?"se-resize":112.5>t?"s-resize":157.5>t?"sw-resize":202.5>t?"w-resize":247.5>t?"nw-resize":292.5>t?"n-resize":337.5>t?"ne-resize":"e-resize"}else if(e instanceof An)for(e=e.elements;e.next();)this.updateResizeHandles(e.value,t)}},pe.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!e.isReadOnly&&e.allowResize&&e.lastInput.left?this.findToolHandleAt(e.firstInput.documentPoint,this.name)!==null:!1},pe.prototype.doActivate=function(){var e=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(e.isMouseCaptured=!0,e.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},pe.prototype.doDeactivate=function(){var e=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=e.isMouseCaptured=!1},pe.prototype.stopTransaction=function(){var e=this.diagram,t=Mr.prototype.stopTransaction.call(this);return t&&e.undoManager.transactionToUndo!==null&&e.undoManager.transactionToUndo.ak(),t},pe.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},pe.prototype.doMouseMove=function(){var e=this.diagram;if(this.isActive){var t=this.rt,n=this.qt,i=this.pt,r=this.adornedObject.qs(e.lastInput.documentPoint,he.alloc()),o=this.computeReshape();t=this.computeResize(r,this.handle.alignment,t,n,i,o),this.resize(t),e.bd(),he.free(r)}},pe.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){var t=this.rt,n=this.qt,i=this.pt,r=this.adornedObject.qs(e.lastInput.documentPoint,he.alloc()),o=this.computeReshape();t=this.computeResize(r,this.handle.alignment,t,n,i,o),this.resize(t),he.free(r),e.Ya(),this.transactionResult=this.name,e.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},pe.prototype.resize=function(e){var t=this.diagram,n=this.adornedObject;if(n!==null){if(n.desiredSize=e.size,e=n.part,e.Va(),n=n.ga(this.handle.alignment.gv()),e instanceof nr){var i=new Xt;if(i.add(e),!this.dragsMembers&&e.placeholder===null){var r=new c;r.dragsMembers=!1}t.moveParts(i,this.oppositePoint.copy().re(n),!0,r)}else e.location=e.location.copy().re(n).add(this.oppositePoint);t.bd()}},pe.prototype.computeResize=function(e,t,n,i,r,o){t.Mc()&&(t=Dr);var a=this.adornedObject.naturalBounds,l=a.x,u=a.y,f=a.x+a.width,p=a.y+a.height,x=1;if(!o){x=a.width;var A=a.height;0>=x&&(x=1),0>=A&&(A=1),x=A/x}return A=he.alloc(),qe.No(e.x,e.y,l,u,r.width,r.height,A),e=a.copy(),0>=t.x?0>=t.y?(e.x=Math.max(A.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=Math.max(f-e.x,n.width),e.y=Math.max(A.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=Math.max(p-e.y,n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.x=f-e.width,e.y=p-e.height)):1<=t.y?(e.x=Math.max(A.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=Math.max(f-e.x,n.width),e.height=Math.max(Math.min(A.y-u,i.height),n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.x=f-e.width)):(e.x=Math.max(A.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=f-e.x,o||(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x,e.y=u+.5*(p-u-e.height))):1<=t.x?0>=t.y?(e.width=Math.max(Math.min(A.x-l,i.width),n.width),e.y=Math.max(A.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=Math.max(p-e.y,n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.y=p-e.height)):1<=t.y?(e.width=Math.max(Math.min(A.x-l,i.width),n.width),e.height=Math.max(Math.min(A.y-u,i.height),n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width))):(e.width=Math.max(Math.min(A.x-l,i.width),n.width),o||(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x,e.y=u+.5*(p-u-e.height))):0>=t.y?(e.y=Math.max(A.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=p-e.y,o||(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width,e.x=l+.5*(f-l-e.width))):1<=t.y&&(e.height=Math.max(Math.min(A.y-u,i.height),n.height),o||(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width,e.x=l+.5*(f-l-e.width))),he.free(A),e},pe.prototype.computeReshape=function(){var e=xn;return this.adornedObject instanceof fr&&(e=Rg(this.adornedObject)),!(e===hi||this.diagram.lastInput.shift)},pe.prototype.computeMinSize=function(){var e=this.adornedObject.minSize.copy(),t=this.minSize;return!isNaN(t.width)&&t.width>e.width&&(e.width=t.width),!isNaN(t.height)&&t.height>e.height&&(e.height=t.height),e},pe.prototype.computeMaxSize=function(){var e=this.adornedObject.maxSize.copy(),t=this.maxSize;return!isNaN(t.width)&&t.widthn?n+=360:360<=n&&(n-=360),n=Math.round(45*Math.round(n/45));var i=this.handleDistance;return n===0?t.x=e.naturalBounds.width+i:n===45?(t.x=e.naturalBounds.width+i,t.y=e.naturalBounds.height+i):n===90?t.y=e.naturalBounds.height+i:n===135?(t.x=-i,t.y=e.naturalBounds.height+i):n===180?t.x=-i:n===225?(t.x=-i,t.y=-i):n===270?t.y=-i:n===315&&(t.x=e.naturalBounds.width+i,t.y=-i),e.ga(t)},Ce.prototype.doDeactivate=function(){var e=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new he(NaN,NaN),this.isActive=e.isMouseCaptured=!1},Ce.prototype.stopTransaction=function(){var e=this.diagram,t=Mr.prototype.stopTransaction.call(this);return t&&e.undoManager.transactionToUndo!==null&&e.undoManager.transactionToUndo.ak(),t},Ce.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},Ce.prototype.doMouseMove=function(){var e=this.diagram;this.isActive&&(e=this.computeRotate(e.lastInput.documentPoint),this.rotate(e))},Ce.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){e.delaysLayout=!1;var t=this.computeRotate(e.lastInput.documentPoint);this.rotate(t),e.Ya(),this.transactionResult=this.name,e.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},Ce.prototype.rotate=function(e){var t=this.adornedObject;if(t!==null){t.angle=e,t=t.part,t.Va();var n=t.locationObject,i=t.rotateObject;(n===i||n.rg(i))&&(n=this.Tn.copy(),t.location=n.re(this.rotationPoint).rotate(e-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},Ce.prototype.computeRotate=function(e){e=this.rotationPoint.ab(e)-this.handleAngle;var t=this.adornedObject.panel;t!==null&&(e-=t.li()),360<=e?e-=360:0>e&&(e+=360),t=Math.min(Math.abs(this.snapAngleMultiple),180);var n=Math.min(Math.abs(this.snapAngleEpsilon),t/2);return!this.diagram.lastInput.shift&&0t-n&&(e=(Math.floor(e/t)+1)*t)),360<=e?e-=360:0>e&&(e+=360),e},dt.Object.defineProperties(Ce.prototype,{handleArchetype:{get:function(){return this.o},set:function(e){this.o=e}},handle:{get:function(){return this.j},set:function(e){if(e!==null&&!(e.part instanceof Zr))throw Error("new handle is not in an Adornment: "+e);this.j=e}},adornedObject:{get:function(){return this.ue},set:function(e){if(e!==null&&e.part instanceof Zr)throw Error("new handle must not be in an Adornment: "+e);this.ue=e}},snapAngleMultiple:{get:function(){return this.ia},set:function(e){this.ia=e}},snapAngleEpsilon:{get:function(){return this.V},set:function(e){this.V=e}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(e){this.kr=e.copy()}},handleAngle:{get:function(){return this.u},set:function(e){this.u=e}},handleDistance:{get:function(){return this.F},set:function(e){this.F=e}}}),Ce.className="RotatingTool",ui("rotatingTool",function(){return this.findTool("Rotating")},function(e){this.gb("Rotating",e,this.mouseDownTools)});function $e(){Mr.call(this),this.name="ClickSelecting"}xi($e,Mr),$e.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},$e.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},$e.className="ClickSelectingTool";function it(){Mr.call(this),this.name="Action",this.pk=null}xi(it,Mr),it.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram,t=e.lastInput,n=e.ic(t.documentPoint,function(i){for(;i.panel!==null&&!i.isActionable;)i=i.panel;return i});return n!==null&&n.isActionable?(this.pk=n,e.Ck=e.ic(t.documentPoint,null,null),!0):!1},it.prototype.doMouseDown=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionDown!==null&&t.actionDown(e,t))}else this.canStart()&&this.doActivate()},it.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionMove!==null&&t.actionMove(e,t))}},it.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;if(t===null)return;e.targetObject=t,t.actionUp!==null&&t.actionUp(e,t),this.standardMouseClick(function(n){for(;n.panel!==null&&(!n.isActionable||n!==t);)n=n.panel;return n},function(n){return n===t})}this.stopTool()},it.prototype.doCancel=function(){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionCancel!==null&&t.actionCancel(e,t),this.stopTool())},it.prototype.doStop=function(){this.pk=null},it.className="ActionTool";function $t(){Mr.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new he(0,0)}xi($t,Mr),$t.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(e.lastInput.clickCount===1&&(this.mw=e.lastInput.viewPoint.copy()),e.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(e.lastInput.clickCount!==1)return!1;return!(e.currentTool!==this&&e.Ol(e.lastInput.documentPoint,!0)!==null)},$t.prototype.doMouseUp=function(){var e=this.diagram;this.isActive&&this.insertPart(e.lastInput.documentPoint),this.stopTool()},$t.prototype.insertPart=function(e){var t=this.diagram,n=this.archetypeNodeData;if(n===null)return null;var i=null;try{if(t.R("ChangingSelection",t.selection),this.Ea(this.name),n instanceof Ai)n.Zc()&&($u(n),i=n.copy(),i!==null&&t.add(i));else if(n!==null){var r=t.model.copyNodeData(n);ot(r)&&(t.model.xf(r),i=t.Lc(r))}if(i!==null){var o=he.allocAt(e.x,e.y);this.isGridSnapEnabled&&Bh(this.diagram,i,e,o),i.location=o,t.allowSelect&&(t.clearSelection(!0),i.isSelected=!0),he.free(o)}t.Ya(),this.transactionResult=this.name,t.R("PartCreated",i)}finally{this.stopTransaction(),t.R("ChangedSelection",t.selection)}return i},dt.Object.defineProperties($t.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(e){this.Ri=e}},isDoubleClick:{get:function(){return this.o},set:function(e){this.o=e}},isGridSnapEnabled:{get:function(){return this.j},set:function(e){this.j=e}}}),$t.className="ClickCreatingTool";function Dt(){Mr.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var e=new Ai;e.layerName="Tool",e.selectable=!1;var t=new fr;t.name="SHAPE",t.figure="Rectangle",t.fill=null,t.stroke="magenta",e.add(t),this.j=e}xi(Dt,Mr),Dt.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(!e.allowSelect)return!1;var t=e.lastInput;return!(!t.left||e.currentTool!==this&&(!this.isBeyondDragSize()||t.timestamp-e.firstInput.timestampr.right&&(n.x-=i.width+5/t.scale),n.xr.bottom&&(n.y-=i.height+5/t.scale),n.ye.lastInput.clickCount)):!1},qi.prototype.doStart=function(){wn=this,this.textBlock!==null&&this.doActivate()},qi.prototype.doActivate=function(){if(!this.isActive){var e=this.diagram;if(e!==null){var t=this.textBlock;if(t===null&&(t=e.ic(e.lastInput.documentPoint)),t!==null&&t instanceof Do&&(this.textBlock=t,t.part!==null)){e.animationManager.Cc(),this.isActive=!0,this.qa=_r;var n=this.defaultTextEditor;t.textEditor!==null&&(n=t.textEditor),this.Zh=this.textBlock.copy();var i=new Wt(this.textBlock.ga(ea),this.textBlock.ga(Ho));e.tv(i),n.show(t,e,this),this.currentTextEditor=n}}}},qi.prototype.doCancel=function(){this.stopTool()},qi.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},qi.prototype.doMouseDown=function(){this.isActive&&this.acceptText(Io)},qi.prototype.acceptText=function(e){switch(e){case Io:this.qa===ba?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===_r||this.qa===ya||this.qa===uo)&&(this.qa=rn,qr(this));break;case io:case Oi:case ir:(Oi!==e||this.textBlock.isMultiline!==!0)&&(this.qa===_r||this.qa===ya||this.qa===uo)&&(this.qa=rn,qr(this))}};function qr(e){var t=e.textBlock,n=e.diagram,i=e.currentTextEditor;if(t!==null&&i!==null){var r=t.text,o="";i.valueFunction!==null&&(o=i.valueFunction()),e.isValidText(t,r,o)?(e.Ea(e.name),e.qa=ba,e.transactionResult=e.name,t.text=o,e.doSuccess(r,o),n!==null&&n.R("TextEdited",t,r),e.stopTransaction(),e.stopTool(),n!==null&&n.doFocus()):(e.qa=ya,e.doError(r,o))}}qi.prototype.doError=function(e,t){var n=this.textBlock;n.errorFunction!==null&&n.errorFunction(this,e,t),(e=this.currentTextEditor)&&e.show(n,this.diagram,this)},qi.prototype.doSuccess=function(e,t){var n=this.textBlock;n.textEdited!==null&&n.textEdited(n,e,t)},qi.prototype.doDeactivate=function(){var e=this.diagram;e!==null&&(this.qa=Xi,this.currentTextEditor!==null&&this.currentTextEditor.hide(e,this),this.textBlock=null,this.isActive=!1)},qi.prototype.doStop=function(){wn=null},qi.prototype.isValidText=function(e,t,n){var i=this.textValidation;return i!==null&&!i(e,t,n)?!1:(i=e.textValidation,!!(i===null||i(e,t,n)))},qi.prototype.Lx=function(e){var t=this.Zh;return t.text=e,t.measure(this.textBlock.Ih,1/0),t},dt.Object.defineProperties(qi.prototype,{textBlock:{get:function(){return this.ia},set:function(e){this.ia=e}},currentTextEditor:{get:function(){return this.o},set:function(e){this.o=e}},defaultTextEditor:{get:function(){return this.j},set:function(e){this.j=e}},starting:{get:function(){return this.V},set:function(e){this.V=e}},textValidation:{get:function(){return this.vj},set:function(e){this.vj=e}},minimumEditorScale:{get:function(){return this.u},set:function(e){this.u=e}},selectsTextOnActivate:{get:function(){return this.F},set:function(e){this.F=e}},state:{get:function(){return this.qa},set:function(e){this.qa!==e&&(this.qa=e)}}}),qi.prototype.measureTemporaryTextBlock=qi.prototype.Lx;var io=new Kt(qi,"LostFocus",0),Io=new Kt(qi,"MouseDown",1),ir=new Kt(qi,"Tab",2),Oi=new Kt(qi,"Enter",3),Yi=new Kt(qi,"SingleClick",0),Di=new Kt(qi,"SingleClickSelected",1),Vr=new Kt(qi,"DoubleClick",2),Xi=new Kt(qi,"StateNone",0),_r=new Kt(qi,"StateActive",1),uo=new Kt(qi,"StateEditing",2),rn=new Kt(qi,"StateValidating",3),ya=new Kt(qi,"StateInvalid",4),ba=new Kt(qi,"StateValidated",5),wn=null;qi.className="TextEditingTool",qi.LostFocus=io,qi.MouseDown=Io,qi.Tab=ir,qi.Enter=Oi,qi.SingleClick=Yi,qi.SingleClickSelected=Di,qi.DoubleClick=Vr,qi.StateNone=Xi,qi.StateActive=_r,qi.StateEditing=uo,qi.StateValidating=rn,qi.StateInvalid=ya,qi.StateValidated=ba,ui("textEditingTool",function(){return this.findTool("TextEditing")},function(e){this.gb("TextEditing",e,this.mouseUpTools)});function mo(e){Zn||(tt(),Zn=!0),this.H=pt,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Ti,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Zt,this.ce=new Kr,this.ce.Yd=this,this.Ei=new Zt,this.pu=new Zt,this.Sr=new Zt,this.pr=new Zt,e&&Object.assign(this,e)}mo.prototype.Xe=function(e){this.H=e},mo.prototype.canStart=function(){return!0};function _a(e,t){e.Jd&&e.canStart(t)&&(e.Zd.add(t),e.defaultAnimation.isAnimating&&e.Cc(),Qa(e.H),e.zb=!0)}function la(e){if(e.Jd&&e.zb){var t=e.ce,n=e.H,i=e.Zd.contains("Model");i&&(e.Ok=!0,e.Pk===Ti?(t.isViewportUnconstrained=!0,t.vc.clear(),t.add(n,"position",n.position.copy().offset(0,-200),n.position),t.add(n,"opacity",0,1)):e.Pk===Ur&&t.vc.clear(),e.Qw=!!(e.Pk===Tr&&n.du.D(n.pa)),n.R("InitialAnimationStarting",e)),i&&!e.Gh||t.vc.count===0?(e.Zd.clear(),e.zb=!1,t.vc.clear(),Ra(t,n),e.Ok=!1,n.N()):(e.Zd.clear(),n.kg=!1,i=t.vc.get(n),n.autoScale!==cl&&i!==null&&(delete i.start.scale,delete i.end.scale),Ke.requestAnimationFrame(function(){e.zb===!1||t.bc||(n.Gf("temporaryPixelRatio")&&$i(n),Hr(n),e.zb=!1,t.start(),t.bc&&(Mo(e),n.Ya(),bo(t,0),bs(n,!0),ia(e),n.R("AnimationStarting",e)))}))}}function za(e){return e.Zd.contains("Trigger")&&e.Zd.count===1}function $a(e,t,n,i){e.isTicking||za(e)||t instanceof Fn&&(t.fromNode!==null||t.toNode!==null)||e.ce.add(t,"position",n,i,!1)}U=mo.prototype,U.fv=function(e){return this.ce.fv(e)},U.Xu=function(e){return this.ce.Xu(e)};function Ro(e,t){function n(){if(0o?o+=360:u+=360),o=r(n,o,u-o,i)%360,a=r(n,a,f-a,i),l=r(n,l,p-l,i),n=r(n,e,t-e,i),"hsla("+o+", "+a+"%, "+l+"%, "+n+")"}function tt(){function e(n,i,r,o,a,l){n.position=new he(o(a,i.x,r.x-i.x,l),o(a,i.y,r.y-i.y,l))}var t=new Kn;t.add("position:diagram",e),t.add("position",e),t.add("position:part",function(n,i,r,o,a,l){ae&&Ot(e,">= 1",mo,"duration"),this.Dg=e}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(e){this.Gh=e}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(e){this.Pk=e}}}),mo.prototype.stopAnimation=mo.prototype.Cc;var mn=null,Zn=!1,Ti=new Kt(mo,"Default",1),Tr=new Kt(mo,"AnimateLocations",2),Ur=new Kt(mo,"None",3);mo.className="AnimationManager",mo.defineAnimationEffect=function(e,t){Zn||(tt(),Zn=!0),mn.add(e,t)},mo.Default=Ti,mo.AnimateLocations=Tr,mo.None=Ur;function Kr(e){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=Oo,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=vr,this.vc=new Kn,this.Tt=new Kn,this.yl=new Zt,this.Ut=new Zt,this.dw=ph,e&&Object.assign(this,e)}Kr.prototype.suspend=function(){this.Xk=!0},Kr.prototype.advanceTo=function(e,t){t&&(this.Xk=!1),this.ho&&e>=this.Gd&&(this.Wk=!0,e-=this.Gd),this.gw=e,rr(this,!0),Mo(this.Yd),bs(this.H),ia(this.Yd),this.H.redraw()};function Ra(e,t){if(e.Tt.clear(),e.Wk=!1,e.au=0,e.Gd=NaN,0e.cn?e.Gd:i-e.Qd;t&&(r=e.gw,re.cn&&(e.ho&&!e.Wk?(e.Qd=+new Date,e.cn=e.Qd+e.Gd,e.Wk=!0):e.Ml(!1))}}}function bo(e,t){for(var n=e.Gd,i=e.vc.iterator,r=e.Wk;i.next();){var o=i.key;if(!(o instanceof at&&o.diagram===null)){var a=i.value,l=r?a.end:a.start;a=r?a.start:a.end;var u=mn,f;for(f in a)f==="position"&&(a["position:placeholder"]||a["position:nodeCollapse"])||u.get(f)===null||u.get(f)(o,l[f],a[f],e.Lp,t,n,e)}}}U.stop=function(){return this.bc?(this.Ml(!0),this):this},U.Ml=function(e){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var t=this.H,n=this.Yd;this.Xk=this.bc=n.Ok=!1,Mo(n);for(var i=this.vc,r=this.yl.iterator;r.next();)t.remove(r.value);for(r=this.Ut.iterator;r.next();)r.value.v();r=this.ho,i=i.iterator;for(var o=mn;i.next();){var a=i.key,l=i.value,u=r?l.end:l.start,f=r?l.start:l.end,p=l.Ku,x;for(x in f)if(o.get(x)!==null){var A=x;!l.Hu||A!=="position:nodeCollapse"&&A!=="position:placeholder"||(A="position"),o.get(A)(a,u[x],p[x]!==void 0?p[x]:l.Hu?u[x]:f[x],this.Lp,this.Gd,this.Gd,this)}l.Hu&&p.location!==void 0&&a instanceof Ai&&(a.location=p.location),l.nv&&a instanceof Ai&&a.Zb(!1)}if(t.As.clear(),Ar(t,!1),t.Ya(),t.N(),bs(t,!0),n.defaultAnimation===this){for(x=n.pr.iterator;x.next();)r=x.value,r.Tg!==null&&(r.points=r.Tg,r.Tg=null);n.pr.clear()}bs(t,!0),this.isViewportUnconstrained&&(t.scrollMode=this.dw),ia(n),this.au++,!e&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),Ra(this,null),n.Ml(this),t.$b())}},U.Cj=function(e,t){var n=t.actualBounds,i=null;if(t instanceof nr&&(i=t.placeholder),i!==null?(n=i.ga(ea),i=i.padding,n.x+=i.left,n.y+=i.top,this.add(e,"position",n,e.position,!1)):this.add(e,"position",new he(n.x+n.width/2,n.y+n.height/2),e.position,!1),this.add(e,"scale",.01,e.scale,!1),e instanceof nr)for(e=e.memberParts;e.next();)i=e.value,i instanceof Xn&&this.Cj(i,t)},U.Aj=function(e,t){if(e.isVisible()){var n=null;if(t instanceof nr&&(n=t.placeholder),n!==null){var i=n.ga(ea);n=n.padding,i.x+=n.left,i.y+=n.top,this.add(e,"position:placeholder",e.position,i,!0)}else this.add(e,"position:nodeCollapse",e.position,t,!0);if(this.add(e,"scale",e.scale,.01,!0),i=this.vc,i.contains(e)&&(i.I(e).nv=!0),e instanceof nr)for(e=e.memberParts;e.next();)i=e.value,i instanceof Xn&&this.Aj(i,t)}},U.Ez=function(e){var t=this.Tt.get(e);return t===null&&(t={},this.Tt.add(e,t)),t},dt.Object.defineProperties(Kr.prototype,{duration:{get:function(){return this.Dg},set:function(e){1>e&&Ot(e,">= 1",Kr,"duration"),this.Dg=e}},reversible:{get:function(){return this.ho},set:function(e){this.ho=e}},runCount:{get:function(){return this.cu},set:function(e){0e?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function ra(e,t,n,i){return e===i?t+n:n*(-Math.pow(2,-10*e/i)+1)+t}Kr.className="Animation",Kr.EaseLinear=function(e,t,n,i){return n*e/i+t},Kr.EaseInOutQuad=Oo,Kr.EaseInQuad=function(e,t,n,i){return n*(e/=i)*e+t},Kr.EaseOutQuad=function(e,t,n,i){return-n*(e/=i)*(e-2)+t},Kr.EaseInExpo=function(e,t,n,i){return e===0?t:n*Math.pow(2,10*(e/i-1))+t},Kr.EaseOutExpo=ra;function ws(e,t,n){this.start=e,this.end=t,this.Ku={},this.Hu=n,this.nv=!1}ws.className="AnimationState";function ys(e,t,n){this.xd=null,this.rf=e,this.so=n||ua,this.uk=null,t!==void 0&&(this.uk=t,n===void 0&&(this.so=Ga))}ys.prototype.copy=function(){var e=new ys(this.rf);e.so=this.so;var t=this.uk;if(t!==null){var n={};t.duration!==void 0&&(n.duration=t.duration),t.finished!==void 0&&(n.finished=t.finished),t.easing!==void 0&&(n.easing=t.easing),e.uk=n}return e};function Eo(e,t){e=e.uk,e!==null&&(e.duration&&(t.duration=e.duration),e.finished&&(t.finished=e.finished),e.easing&&(t.easing=e.easing))}dt.Object.defineProperties(ys.prototype,{propertyName:{get:function(){return this.rf},set:function(e){this.rf=e}},animationSettings:{get:function(){return this.uk},set:function(e){this.uk=e}},startCondition:{get:function(){return this.so},set:function(e){this.so=e}}});var ua=new Kt(ys,"Default",1),Ga=new Kt(ys,"Immediate",2),T=new Kt(ys,"Bundled",3);ys.className="AnimationTrigger",ys.Default=ua,ys.Immediate=Ga,ys.Bundled=T;function m(e){Pi(this),this.H=null,this.Pa=new Xt,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],e&&Object.assign(this,e)}U=m.prototype,U.clear=function(){for(var e=this.Pa,t=0;t=e)return t;for(var n=0,i=0,r=0,o=0,a=0,l=this.Pa.iterator;l.next();){var u=l.value;u instanceof nr?r++:u instanceof Xn?i++:u instanceof Fn?o++:u instanceof Zr?a++:n++}if(l="",0n.Oq||l.height*r>n.Oq?t.gc(e,n):(r=t.actualBounds,o=t.naturalBounds,r.width===0||r.height===0||isNaN(r.x)||isNaN(r.y)||!t.isVisible()||(n=t.transform,t.areaBackground!==null&&(Ma(t,e,t.areaBackground,!0,!0,o,r),e.fillRect(r.x,r.y,r.width,r.height)),t.areaBackground===null&&t.background===null&&(Ma(t,e,"rgba(0,0,0,0.3)",!0,!1,o,r),e.fillRect(r.x,r.y,r.width,r.height)),t.background!==null&&(e.transform(n.m11,n.m12,n.m21,n.m22,n.dx,n.dy),Ma(t,e,t.background,!0,!1,o,r),e.fillRect(0,0,o.width/2,o.height/2),n.ws()||(t=1/(n.m11*n.m22-n.m12*n.m21),e.transform(n.m22*t,-n.m12*t,-n.m21*t,n.m11*t,t*(n.m21*n.dy-n.m22*n.dx),t*(n.m12*n.dx-n.m11*n.dy)))))),i&&(e.restore(),e.Vc(!0))}},U.g=function(e,t,n,i,r){var o=this.diagram;o!==null&&o.cb(So,e,this,t,n,i,r)},U.oi=function(e,t,n){var i=this.Pa;if(t.Ig=this,this===null&&il(t),e>=i.count)e=i.count;else if(i.M(e)===t)return-1;return i.Gb(e,t),t.Vo(n),i=this.diagram,i!==null&&(n?i.N():i.oi(t)),Z(this,e,t),e},U.pc=function(e,t,n){if(!n&&t.layer!==this&&t.layer!==null)return t.layer.pc(e,t,n);var i=this.Pa;if(0>e||e>=i.length){if(e=i.indexOf(t),0>e)return-1}else if(i.M(e)!==t&&(e=i.indexOf(t),0>e))return-1;return t.Wo(n),i.mb(e),i=this.diagram,i!==null&&(n?i.N():i.pc(t)),t.Ig=null,il(t),e};function Z(e,t,n){if(t=ae(e,t,n),n instanceof nr&&n!==null&&isNaN(n.zOrder)){if(n.memberParts.count!==0){for(var i=-1,r=e.Pa.s,o=r.length,a=0;ai&&l.containingGroup===n&&(i=a,0<=t))break}!(0>i)&&i=r)return t;if(0>t&&(t=e.indexOf(n)),0>t)return-1;for(var o=t-1,a=NaN;0<=o&&(a=e.M(o).zOrder,!!isNaN(a));)o--;for(var l=t+1,u=NaN;li)for(;;){if(o===-1||a<=i){if(o++,o===t)break;return e.mb(t),e.Gb(o,n),o}for(a=NaN;0<=--o&&(a=e.M(o).zOrder,isNaN(a)););}else if(!isNaN(u)&&u=i){if(l--,l===t)break;return e.mb(t),e.Gb(l,n),l}for(u=NaN;++le||1=e)return t;for(var n=this.Wa.iterator;n.next();)t+=` - `+n.value.toString(e-1);return t};function ki(e,t){if(Ca){if(t!=null||Ve("Diagram setup requires an argument DIV."),e.Ka!==null&&Ve("Diagram has already completed setup."),typeof t=="string"?e.Ka=Ke.document.getElementById(t):t instanceof HTMLDivElement?e.Ka=t:Ve("No DIV or DIV id supplied: "+t),e.Ka===null&&Ve("Invalid DIV id; could not get element with id: "+t),e.Ka.H!==void 0&&Ve("Invalid div id; div already has a Diagram associated with it."),!e.ol&&Ke.ResizeObserver){var n=kn(function(){e.$b()},250);e.ol=new Ke.ResizeObserver(function(){n()}),e.ol.observe(e.Ka)}Ke.getComputedStyle(e.Ka,null).position==="static"&&(e.Ka.style.position="relative"),t=5;var i="rgba(2"+t+"5, 255, 255, 0)";t--,e.Ka.style["-webkit-tap-highlight-color"]=i,e.Ka.innerHTML="",e.Ka.H=e,e.Ka.goDiagram=e,e.Ka.go=Ke.go;var r=new Hu(e);if(r.style!==void 0&&(r.style.position="absolute",r.style.top="0px",r.style.left="0px",Ke.getComputedStyle(e.Ka,null).getPropertyValue("direction")==="rtl"&&(e.tn=!0),r.style.zIndex="2",r.style.userSelect="none",r.style.MozUserSelect="none",r.style.touchAction="none",r.style.letterSpacing="normal !important",r.style.wordSpacing="normal !important"),e.ta=r,e.ib=r.context,i=e.ib,e.Mb=e.computePixelRatio(),e.viewSize.w()||(e.Aa=e.Ka.clientWidth||1,e.ya=e.Ka.clientHeight||1),Cc(e,e.Aa,e.ya),e.Ka.insertBefore(r.Oa,e.Ka.firstChild),r=new Hu(null),r.width=1,r.height=1,e.jw=r,e.oy=r.context,Ca){r=Ct("div");var o=Ct("div");r.style.position="absolute",r.style.overflow="auto",r.style.width=e.Aa+"px",r.style.height=e.ya+"px",r.style.zIndex="1",o.style.position="absolute",o.style.width="1px",o.style.height="1px",e.Ka.appendChild(r),r.appendChild(o),r.onscroll=Wo,r.addEventListener("pointerdown",Da),r.H=e,r.uy=!0,r.vy=!0,e.ku=r,e.hu=o}e.hk=kn(function(){e.Yh=null,e.N()},300),e.Ov=kn(function(){Hr(e)},250),e.preventDefault=function(a){return a.preventDefault(),!1},e.$j=function(a){if(e.isEnabled){var l=Is(e,a,!0);l.bubbles=!0;var u=0,f=0;l.delta=0,a.deltaX!==void 0?(a.deltaX!==0&&(u=0Math.abs(a.deltaY)?-u:-f):a.wheelDeltaX!==void 0?(a.wheelDeltaX!==0&&(u=0Math.abs(a.wheelDeltaY)?-u:-f):a.wheelDelta!==void 0&&a.wheelDelta!==0&&(l.delta=0l||Math.abs(f.y-a.screenY)>l)?e.yq++:e.yq=1,u.clickCount=e.yq,e.tw=a.timeStamp,e.uw.sg(a.screenX,a.screenY),e.doMouseDown(),a.button===1?a.preventDefault():_s(u,a)}},e.dk=function(a){if(e.isEnabled){e.Vk=!0;var l=e.oj;if(l[0]===null||l[0].pointerId!==a.pointerId&&l[0].pointerType===a.pointerType){if(l[1]!==null&&l[1].pointerId===a.pointerId){l[1]=a;return}if(l[0]===null)l[0]=a;else return}else l[0]=a;if(l[0].pointerId===a.pointerId){l=Kl(e,a,!1,!1,!1,l[1]!==null);var u=Ke.document.elementFromPoint(a.clientX,a.clientY)||null;u!==null&&u.shadowRoot!==void 0&&u.shadowRoot!==null&&(u=u.shadowRoot.elementFromPoint(a.clientX,a.clientY));var f=e,p=a;u&&u.H&&(p=a,f=u.H),l.targetDiagram=f,Au(e,p,l),l.targetObject=null,e.doMouseMove(),_s(l,a)}}},e.fk=function(a){if(e.isEnabled){e.Vk=!0;var l=a.pointerType==="touch"||a.pointerType==="pen",u=e.Yt;if(l&&e.qu)delete u[a.pointerId],a.preventDefault();else if(u=e.oj,u[0]===null||u[0].pointerId!==a.pointerId&&u[0].pointerType===a.pointerType)u[1]!==null&&u[1].pointerId===a.pointerId&&(u[1]=null);else{u[0]=null,u=Kl(e,a,!1,!0,!0,!1);var f=Ke.document.elementFromPoint(a.clientX,a.clientY)||null;f!==null&&f.shadowRoot!==void 0&&f.shadowRoot!==null&&(f=f.shadowRoot.elementFromPoint(a.clientX,a.clientY)),f!==null&&f.H instanceof Y&&f.H!==e&&Au(f.H,a,u),f===null&&(f=a.target),Au(e,a,u),u.clickCount=e.yq,u.targetDiagram=ul(a,f),u.targetObject=null,e.doMouseUp(),_s(u,a),l&&(e.wq=!1)}}},e.ek=function(a){if(e.isEnabled){e.Vk=!1;var l=e.Yt;l[a.pointerId]&&delete l[a.pointerId],l=e.oj,l[0]!==null&&l[0].pointerId===a.pointerId&&(l[0]=null),l[1]!==null&&l[1].pointerId===a.pointerId&&(l[1]=null),a.pointerType!=="touch"&&a.pointerType!=="pen"&&(a=e.currentTool,a.cancelWaitAfter(),a.standardMouseOver())}},e.ck=function(a){var l=e.oj;l[0]!==null&&l[0].pointerId===a.pointerId?(l[0]=null,e.wq=!1):l[1]!==null&&l[1].pointerId===a.pointerId&&(l[1]=null)},e.Vp=i.Z["d"+_d[1]+_d[2]+"wI"+pd.slice(1,5)]["b"+Vb.slice(1,t)](i.Z,Bd,t,t),i.Vc(!0),Ii(e),e.nl==="svg"&&(t=e.pj.get("svg"),e.Ka.appendChild(t.Oa),e.ib=t.context)}}Y.prototype.addEventListener=function(e,t,n,i){e.addEventListener(t,n,{capture:i,passive:!1})},Y.prototype.removeEventListener=function(e,t,n,i){e.removeEventListener(t,n,{capture:i})};function Ii(e){var t=e.ta.Oa;t instanceof HTMLCanvasElement||(t=e.div),e.addEventListener(t,"pointerdown",e.ui,!1),e.addEventListener(t,"pointermove",e.dk,!1),e.addEventListener(t,"pointerup",e.fk,!1),e.addEventListener(t,"pointerout",e.ek,!1),e.addEventListener(t,"pointercancel",e.ck,!1),e.addEventListener(t,"pointerenter",e.bz,!1),e.addEventListener(t,"pointerleave",e.cz,!1),e.addEventListener(t,"wheel",e.$j,!1),e.addEventListener(t,"keydown",e.Qz,!1),e.addEventListener(t,"keyup",e.Rz,!1),e.addEventListener(t,"blur",e.Ny,!1),e.addEventListener(t,"focus",e.Oy,!1),e.addEventListener(t,"selectstart",function(n){return n.preventDefault(),!1},!1),e.addEventListener(t,"contextmenu",function(n){return n.preventDefault(),!1},!1),e.addEventListener(Ke,"resize",e.Ov,!1)}function $i(e){30_&&(this.position=be.h(-(t.scrollWidth-this.Aa)+le-this.Aa/r+p,this.position.y))),e.vy&&this.allowVerticalScroll&&(lV&&(this.position=be.h(this.position.x,-(t.scrollHeight-this.ya)+e.scrollTop-this.ya/r+o))),he.free(be),this.vd=!0,this.Ee=this.qr=!1,i=this.documentBounds,r=this.viewportBounds,p=i.right,_=r.right,o=i.bottom,V=r.bottom,a=i.x,x=r.x,l=i.y,i=r.y,A>=u&&a>=x&&p<=_&&(n.style.width="1px"),R>=f&&l>=i&&o<=V&&(n.style.height="1px"))}},Y.prototype.computeBounds=function(e){return e===void 0&&(e=new Wt),Qa(this),ta(this,e)};function ta(e,t){if(e.fixedBounds.w())return t.assign(e.fixedBounds),t.Co(e.yb),t;for(var n=!0,i=e.Wa.s,r=i.length,o=0;on&&(t=n),te.maxScale&&(t=e.maxScale),t):t===Hh?(t=u>l?(a-e.Db)/i:(o-e.Db)/r,t>n&&(t=n),te.maxScale&&(t=e.maxScale),t):e.scale}Y.prototype.zoomToFit=function(){var e=this.sj;this.sj=ph,this.scale=pa(this,gu),e!==ph&&(Ko(this,!1),hs(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=e},U=Y.prototype,U.BA=function(e,t){t===void 0&&(t=gu);var n=e.width,i=e.height;if(!(n===0||i===0||isNaN(n)&&isNaN(i))){var r=1;if(t===gu||t===Hh)if(isNaN(n))r=this.viewportBounds.height*this.scale/i;else if(isNaN(i))r=this.viewportBounds.width*this.scale/n;else{r=this.Aa;var o=this.ya;r=t===Hh?o/i>r/n?(o-(this.Be?this.Db:0))/i:(r-(this.gf?this.Db:0))/n:Math.min(o/i,r/n)}this.scale=r,this.position=new he(e.x,e.y)}},U.Jy=function(e,t){this.Va();var n=this.documentBounds,i=this.viewportBounds;this.position=new he(n.x+(e.x*n.width+e.offsetX)-(t.x*i.width-t.offsetX),n.y+(e.y*n.height+e.offsetY)-(t.y*i.height-t.offsetY))},U.zz=function(e){if(e instanceof at){this.eq=e;var t=he.alloc();this.fq=this.op(e.ga(ea,t)),he.free(t)}else this.eq=null,this.fq=Ji};function hs(e,t,n,i,r,o){var a=he.allocAt(e.pa.x,e.pa.y),l=a.x,u=a.y;if(e.eq!==null){var f=he.alloc();f=e.eq.ga(ea,f),l=f.x-e.fq.x/e.scale,u=f.y-e.fq.y/e.scale,r=Hi,he.free(f)}(o||e.scrollMode===ph)&&(r.sb()&&(n>t.width&&(l=t.x+(r.x*t.width+r.offsetX)-(r.x*n-r.offsetX)),i>t.height&&(u=t.y+(r.y*t.height+r.offsetY)-(r.y*i-r.offsetY))),r=e.rj,o=n-t.width,nt.left?l=t.left:lt.top?u=t.top:ut;t++){var n=e.De.iterator;if(n===null||e.De.count===0)break;e.De=new Zt,e.Nv(n,e.De)}e.nodes.each(function(i){i instanceof nr&&i.U&65536&&(i.U=i.U^65536)})}}U.Nv=function(e,t){for(e.reset();e.next();){var n=e.value;!n.Zc()||n instanceof nr||(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n))}for(e.reset();e.next();)n=e.value,n instanceof nr&&n.isVisible()&&qo(this,n);for(e.reset();e.next();)n=e.value,n instanceof Fn&&n.isVisible()&&(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n));for(e.reset();e.next();)n=e.value,n instanceof Zr&&n.isVisible()&&(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n))};function qo(e,t){for(var n=Lt(),i=Lt(),r=t.memberParts;r.next();){var o=r.value;o.isVisible()&&(o instanceof nr?(yu(o)||Sl(o)||jh(o))&&qo(e,o):o instanceof Fn?o.fromNode===t||o.toNode===t?i.push(o):n.push(o):(o.measure(1/0,1/0),o.arrange()))}for(e=n.length,r=0;rrt&&(le=Vn.left,Pe=Vn.right),be.height>At&&(Ue=Vn.top,Ge=Vn.bottom)):(le=Vn.left,Pe=Vn.right,Ue=Vn.top,Ge=Vn.bottom);var oi=be.width+le+Pe,qn=be.height+Ue+Ge;Vn=e.scale;var Dn=oi>u/Vn,pn=qn>f/Vn;if(!(o||e.gf||e.Be||Dn||pn))return!0;le=be.x-le,u=p.x,Pe=be.right+Pe,f=p.right+a,Ue=be.y-Ue;var tr=p.y;be=be.bottom+Ge,p=p.bottom+l;var Wi="1px";if(Ge="1px",e.scrollMode===ph&&(Dn||pn)&&(Dn&&e.hasHorizontalScrollbar&&e.allowHorizontalScroll&&(Dn=1,le+1f+1&&(Dn=Math.max((Pe-f)*Vn+e.Aa,Dn)),rt+a+1p+1&&(Dn=Math.max((be-p)*Vn+e.ya,Dn)),At+l+1f+1&&(a=Math.max((Pe-f)*Vn+e.Aa,a)),rt+1p+1&&(l=Math.max((be-p)*Vn+a,l)),At+1f+1&&(t=e.position.x*Vn)),e.tn)switch(e.bu){case"negative":t=-(_.scrollWidth-t-_.clientWidth);break;case"reverse":t=_.scrollWidth-t-_.clientWidth}return _.scrollLeft=t,e.hasVerticalScrollbar&&e.allowVerticalScroll&&(At+1p+1&&(_.scrollTop=e.position.y*Vn)),u=e.Aa,f=e.ya,_.style.width=u+(e.gf?e.Db:0)+"px",_.style.height=f+(e.Be?e.Db:0)+"px",n!==u||i!==f||e.animationManager.zb?(n=Wt.allocAt(r,x,A,R),e.onViewportBoundsChanged(n,e.viewportBounds,Vn,o),Wt.free(n),!1):!0}U=Y.prototype,U.add=function(e){var t=e.diagram;if(t!==this&&(t!==null&&Ve("Cannot add part "+e.toString()+" to "+this.toString()+". It is already a part of "+t.toString()),t=this.Qj(e.layerName),t===null&&(t=this.Qj("")),t===null&&Ve('Cannot add a Part when unable find a Layer named "'+e.layerName+'" and there is no default Layer'),e.layer!==t)){var n=t.oi(99999999,e,e.diagram===this);0<=n&&this.cb(Jo,"parts",t,null,e,null,n),t.isTemporary||this.Ya(),e.C(1),n=e.layerChanged,n!==null&&n(e,null,t)}},U.oi=function(e){this.partManager.oi(e);var t=this;bd(e,function(n){hd(t,n)}),(e instanceof Zr||e instanceof nr&&e.placeholder!==null)&&e.v(),e.data!==null&&bd(e,function(n){gv(t.partManager,n)}),Sl(e)!==!0&&jh(e)!==!0||this.De.add(e),Zy(e,!0,this),Xy(e)?(e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.Ya()):e.isVisible()&&e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.$b()},U.pc=function(e){e.Ej(),this.partManager.pc(e);var t=this;e.data!==null&&bd(e,function(n){vv(t.partManager,n,t)}),this.De.remove(e),Xy(e)?(e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.Ya()):e.isVisible()&&e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.$b()},U.remove=function(e){Xc(this,e,!0)};function Xc(e,t,n){var i=t.layer;i!==null&&i.diagram===e&&(t.isSelected=!1,t.isHighlighted=!1,t.C(2),n&&t.Lj(),n=i.pc(-1,t,!1),0<=n&&e.cb(na,"parts",i,t,null,n,null),e=t.layerChanged,e!==null&&e(t,i,null))}U.Is=function(e,t){if(t===void 0&&(t=!1),un(e))for(var n=e.length,i=0;ii&&this.Ya(),this},U.Cy=function(e,t){dh(this,e,t),e.Xe(this);var n=this.Wa,i=n.indexOf(e);0<=i&&(n.remove(e),this.cc!==null&&this.cb(na,"layers",this,e,null,i,null));var r=n.count,o;for(o=0;oi&&this.Ya(),this},U.kA=function(e){if(e.diagram!==this&&Ve("Cannot remove a Layer from another Diagram: "+e+" of "+e.diagram),e.name!==""){var t=this.Wa,n=t.indexOf(e);if(t.remove(e)){for(t=e.Pa.copy().iterator;t.next();){var i=t.value,r=i.layerName;r!==e.name?i.layerName=r:i.layerName=""}this.cc!==null&&this.cb(na,"layers",this,e,null,n,null),this.N(),this.Ya()}}},U.Qj=function(e){for(var t=this.layers;t.next();){var n=t.value;if(n.name===e)return n}return null},U.Yw=function(e){return this.pf===null&&(this.pf=new Xt),this.pf.add(e),this.model.Pe(e),this},U.mA=function(e){this.pf!==null&&(this.pf.remove(e),this.pf.count===0&&(this.pf=null)),this.model.ik(e)},U.Pe=function(e){return this.zg===null&&(this.zg=new Xt),this.zg.add(e),this},U.ik=function(e){this.zg!==null&&(this.zg.remove(e),this.zg.count===0&&(this.zg=null))},U.ds=function(e){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(e),e.change!==Es&&(this.isModified=!0),this.zg!==null)for(var t=this.zg,n=t.length,i=0;ix.Pa.indexOf(R)&&x.oi(A,R,_):(R.isSelected=!1,R.isHighlighted=!1,R.Wb(),x.pc(_?A:-1,R,_)))}else x instanceof Y?typeof A=="number"&&R instanceof m&&(t?(R.Xe(this),this.Wa.Gb(A,R)):this.Wa.mb(A)):Ve("unknown ChangedEvent.Remove object: "+e.toString());this.isModified=!0}else i!==Es&&Ve("unknown ChangedEvent: "+e.toString())}finally{this.skipsModelSourceBindings=n}}},Y.prototype.Ea=function(e){return this.undoManager.Ea(e)},Y.prototype.eb=function(e){return this.undoManager.eb(e)},Y.prototype.Kf=function(){return this.undoManager.Kf()},Y.prototype.commit=function(e,t){t===void 0&&(t="");var n=this.skipsUndoManager;t===null&&(this.skipsUndoManager=!0,t=""),this.undoManager.Ea(t);var i=!1;try{e(this),i=!0}finally{i?this.undoManager.eb(t):this.undoManager.Kf(),this.skipsUndoManager=n}},Y.prototype.updateAllTargetBindings=function(e){this.partManager.updateAllTargetBindings(e)},Y.prototype.rp=function(){this.partManager.rp()};function np(e,t,n){var i=e.animationManager;if(e.vb||e.ld)e.Ca=n,Ac(e),e.N(),e.Ee=!0,i.zb&&(za(i)||i.ce.add(i.H,"scale",t,e.Ca));else if(e.ta===null)e.Ca=n,Ac(e);else{e.vb=!0;var r=e.viewportBounds.copy(),o=e.Aa,a=e.ya,l=e.zoomPoint.x,u=e.zoomPoint.y,f=e.contentAlignment;isNaN(l)&&(f.$c()?f.Hf(Ol)?l=0:f.Hf(Xa)&&(l=o-1):l=f.sb()?f.x*(o-1):o/2),isNaN(u)&&(f.$c()?f.Hf(os)?u=0:f.Hf(Oa)&&(u=a-1):u=f.sb()?f.y*(a-1):a/2),e.scaleComputation===null||e.animationManager.defaultAnimation.isAnimating||(n=e.scaleComputation(e,n)),ne.maxScale&&(n=e.maxScale),o=he.allocAt(e.pa.x+l/t-l/n,e.pa.y+u/t-u/n),e.position=o,he.free(o),e.Ca=n,Ac(e),e.vb=!1,e.onViewportBoundsChanged(r,e.viewportBounds,t,!1),Ko(e,!1),i.zb&&(za(i)||i.ce.add(i.H,"scale",t,e.Ca))}}Y.prototype.onViewportBoundsChanged=function(e,t,n,i){if(!e.D(t)){i===void 0&&(i=!1),i||(this.Ee=!0),this.vd=!0;var r=this.layout;r===null||!r.isViewportSized||this.autoScale!==cl||e.width===t.width&&e.height===t.height||r.C(),r=this.currentTool,this.Vk===!0&&r instanceof Co&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),Qu(r,this)),this.vb||this.invalidateViewport(e,t),Nc(this),this.fc.scale=n,this.fc.position.x=e.x,this.fc.position.y=e.y,this.fc.bounds.assign(e),this.fc.canvasSize.width=Math.round(e.width*n),this.fc.canvasSize.height=Math.round(e.height*n),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=i,this.R("ViewportBoundsChanged",this.fc,e),this.isVirtualized&&this.links.each(function(o){o.isAvoiding&&o.actualBounds.Yc(t)&&o.bb()})}};function Nc(e,t){var n=e.fe;if(n!==null&&n.visible){for(var i=fi.alloc(),r=1,o=1,a=n.O.s,l=a.length,u=0;up||(Cg(f.figure)?o=o*p/qe.vx(o,p):r=r*p/qe.vx(r,p))}if(a=n.gridCellSize,i.h(o*a.width,r*a.height),t!==void 0)r=t.width,o=t.height,e=t.x,a=t.y;else{if(t=Wt.alloc(),e=e.viewportBounds,t.h(e.x,e.y,e.width,e.height),!t.w()){Wt.free(t);return}r=t.width,o=t.height,e=t.x,a=t.y,Wt.free(t)}n.width=r+2*i.width,n.height=o+2*i.height,t=he.alloc(),qe.No(e,a,0,0,i.width,i.height,t),t.offset(-i.width,-i.height),fi.free(i),n.part.location=t,he.free(t)}}Y.prototype.clearSelection=function(e){e===void 0&&(e=!1);var t=this.selection;if(t.count!==0){e||this.R("ChangingSelection",t);for(var n=t.Fa(),i=n.length,r=0;r=i&&!o.defaultAnimation.isAnimating&&!o.zb&&(t||_a(o,"Layout")),e.xh=!1;for(var a=e.ai.iterator;a.next();)sp(e,a.value,t,i);r.isValidLayout||(!t||r.isRealtime||r.isRealtime===null||i===0?(r.doLayout(e),Qa(e),r.isValidLayout=!0):e.xh=!0)}finally{t=e.undoManager.isInternalTransaction,i===0&&(e.eb("Layout"),e.undoManager.isInternalTransaction=!1),!t||i!==0&&i!==1||la(o),e.aa=n}}}function sp(e,t,n,i){if(t!==null){for(var r=t.gl.iterator;r.next();)sp(e,r.value,n,i);r=t.layout,r===null||r.isValidLayout||(!n||r.isRealtime||i===0?(t.rh=!t.location.w(),r.doLayout(t),t.C(32),qo(e,t),r.isValidLayout=!0):e.xh=!0)}}U.yz=function(){for(var e=new Xt,t=this.nodes;t.next();){var n=t.value;n.isTopLevel&&n.kh()===null&&e.add(n)}return e.iterator};function cg(e){function t(r){var o=r.toLowerCase(),a=new Xt;n.add(r,a),n.add(o,a),i.add(r,r),i.add(o,r)}var n=new Kn,i=new Kn;t("InitialAnimationStarting"),t("AnimationStarting"),t("AnimationFinished"),t("BackgroundSingleClicked"),t("BackgroundDoubleClicked"),t("BackgroundContextClicked"),t("ClipboardChanged"),t("ClipboardPasted"),t("DocumentBoundsChanged"),t("ExternalObjectsDropped"),t("GainedFocus"),t("InitialLayoutCompleted"),t("LayoutCompleted"),t("LinkDrawn"),t("LinkRelinked"),t("LinkReshaped"),t("LostFocus"),t("Modified"),t("ObjectSingleClicked"),t("ObjectDoubleClicked"),t("ObjectContextClicked"),t("PartCreated"),t("PartResized"),t("PartRotated"),t("SelectionMoved"),t("SelectionCopied"),t("SelectionDeleting"),t("SelectionDeleted"),t("SelectionGrouped"),t("SelectionUngrouped"),t("ChangingSelection"),t("ChangedSelection"),t("SubGraphCollapsed"),t("SubGraphExpanded"),t("TextEdited"),t("TreeCollapsed"),t("TreeExpanded"),t("ViewportBoundsChanged"),t("InvalidateDraw"),e.iw=n,e.hw=i}function p0(e,t){var n=e.hw.I(t);return n!==null?n:e.hw.I(t.toLowerCase())}function cf(e,t){var n=e.iw.I(t);if(n!==null||(n=e.iw.I(t.toLowerCase()),n!==null))return n;Ve("Unknown DiagramEvent name: "+t)}U.Bj=function(e,t){return e=cf(this,e),e!==null&&e.add(t),this},U.am=function(e,t){e=cf(this,e),e!==null&&e.remove(t)},U.R=function(e,t,n){var i=cf(this,e),r=new hu;if(r.diagram=this,e=p0(this,e),e!==null&&(r.name=e),t!==void 0&&(r.subject=t),n!==void 0&&(r.parameter=n),t=i.length,t===1)i.M(0)(r);else if(t!==0)for(i=i.Fa(),n=0;n=n.top&&0>=n.left&&0>=n.right&&0>=n.bottom)return t;var i=this.viewportBounds,r=this.scale;i=Wt.allocAt(0,0,i.width*r,i.height*r);var o=he.allocAt(0,0);if(e.x>=i.x&&e.xi.x+i.width-n.right&&this.allowHorizontalScroll&&(a=Math.max(this.scrollHorizontalLineChange,1),a|=0,o.x+=a,e.x>i.x+i.width-n.right/2&&(o.x+=a),e.x>i.x+i.width-n.right/4&&(o.x+=4*a));return e.y>=i.y&&e.yi.y+i.height-n.bottom&&this.allowVerticalScroll&&(a=Math.max(this.scrollVerticalLineChange,1),a|=0,o.y+=a,e.y>i.y+i.height-n.bottom/2&&(o.y+=a),e.y>i.y+i.height-n.bottom/4&&(o.y+=4*a)),o.Xa(vr)||(t=new he(t.x+o.x/r,t.y+o.y/r)),Wt.free(i),he.free(o),t},U=Y.prototype,U.Cs=function(){return null},U.av=function(){return null},U.bs=function(e,t){this.pj.add(e,t)},U.Fu=function(e){(this.Pw=e)||this.nodes.each(function(t){t instanceof nr&&(t.$p=null)})};function Dd(e,t,n){function i(){var p=+new Date;for(o=!0,a.reset();a.next();)if(!a.value[0].al){o=!1;break}o||p-f>u?t(n,r,l):Ke.requestAnimationFrame(i)}for(var r=n.callback,o=!0,a=e.Og.iterator;a.next();)if(!a.value[0].al){o=!1;break}if(typeof r!="function"||o)return t(n,r,e);var l=e,u=n.callbackTimeout||300,f=+new Date;return Ke.requestAnimationFrame(function(){i()}),null}U.Wz=function(e){return Ca?(e===void 0&&(e={}),e.returnType="Image",this.Jx(e)):null},U.Jx=function(e){return e===void 0&&(e={}),Dd(this,this.Xz,e)},U.Xz=function(e,t,n){var i=g0(n,e,"canvas",null);if(i===null)return null;n=i.Z.canvas;var r=null;if(n!==null)switch(r=e.returnType,r===void 0?r="string":r=r.toLowerCase(),r){case pd+"data":r=i.getImageData(0,0,n.width,n.height);break;case pd:i=(e.document||document).createElement("img"),i.src=n.toDataURL(e.type,e.details),r=i;break;case"blob":return typeof t!="function"&&Ve('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof n.toBlob=="function"?(n.toBlob(t,e.type,e.details),"toBlob"):(t(null),null);default:r=n.toDataURL(e.type,e.details)}return typeof t=="function"?(t(r),null):r};function g0(e,t,n,i){if(e.animationManager.Cc(),e.bd(),e.ta===null)return null;typeof t!="object"&&Ve("properties argument must be an Object.");var r=t.size||null,o=t.scale||null;t.scale!==void 0&&isNaN(t.scale)&&(o="NaN");var a=t.maxSize;t.maxSize===void 0&&(a=n==="SVG"?new fi(1/0,1/0):new fi(2e3,2e3));var l=t.position||null,u=t.parts||null,f=t.padding===void 0?1:t.padding,p=t.background||null,x=t.omitTemporary;x===void 0&&(x=!0);var A=t.document||document,R=t.elementFinished||null,_=t.showTemporary;_===void 0&&(_=!x),t=t.showGrid,t===void 0&&(t=_),r!==null&&isNaN(r.width)&&isNaN(r.height)&&(r=null),typeof f=="number"?f=new mi(f):f instanceof mi||Ve("MakeImage padding must be a Margin or a number."),f.left=Math.max(f.left,0),f.right=Math.max(f.right,0),f.top=Math.max(f.top,0),f.bottom=Math.max(f.bottom,0),e.ib.Vc(!0),x=new Hu(null,A,void 0,!0);var V=x.context;if(!(r||o||u||l))return x.width=e.Aa+Math.ceil(f.left+f.right),x.height=e.ya+Math.ceil(f.top+f.bottom),n==="SVG"?i===null?null:(i.resize(x.width,x.height,x.width,x.height),i.ownerDocument=A,i.hs=R,Sa(e,i.context,f,new fi(x.width,x.height),e.Ca,e.pa,u,p,_,t),i.context):(e.Xm=!1,Sa(e,V,f,new fi(x.width,x.height),e.Ca,e.pa,u,p,_,t),e.Xm=!0,x.context);var be=e.Pp,le=e.documentBounds.copy();if(le.Fv(e.yb),_)for(var Pe=e.Wa.s,Ue=Pe.length,Ge=0;Gebe?(o=be,r=le.width,le=le.height):(r=a.width,le=a.height)):(r=le.width*o,le=le.height*o):(o=be,r=le.width,le=le.height),f!==null?(r+=l,le+=Ue):f=new mi(0),a!==null&&(be=a.width,a=a.height,isNaN(be)&&(be=2e3),isNaN(a)&&(a=2e3),isFinite(be)&&(r=Math.min(r,be)),isFinite(a)&&(le=Math.min(le,a))),x.width=Math.ceil(r),x.height=Math.ceil(le),n==="SVG"?i===null?null:(i.resize(x.width,x.height,x.width,x.height),i.ownerDocument=A,i.hs=R,Sa(e,i.context,f,new fi(Math.ceil(r),Math.ceil(le)),o,Pe,u,p,_,t),i.context):(e.Xm=!1,Sa(e,V,f,new fi(Math.ceil(r),Math.ceil(le)),o,Pe,u,p,_,t),e.Xm=!0,x.context)}dt.Object.defineProperties(Y.prototype,{renderer:{get:function(){return this.nl},set:function(e){this instanceof w||(e===""&&(e="default"),e=e.toLowerCase(),e!==this.nl&&(this.nl=e,e==="default"||e==="canvas"?(e=this.pj.get("svg"),e!==null&&e.Oa.remove(),this.ta&&(this.ib=this.ta.context)):e==="svg"?(this.pj.contains("svg")?e=this.pj.get("svg"):(e=new kc(this,Ke.document),this.bs("svg",e)),this.div!==null&&this.div.appendChild(e.Oa),this.ib=e.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):e!=="debug"||this.pj.contains("SVG")||(e=new kc(this,Ke.document),this.bs("SVG",e),e.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(e.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(e){if(this.Ka!==e){var t=this.Ka;t!==null?(t.H=void 0,t.goDiagram=void 0,t.go=void 0,t.innerHTML="",this.ta!==null&&(t=this.ta.Oa,this.removeEventListener(t,"pointermove",this.dk,!1),this.removeEventListener(t,"pointerdown",this.ui,!1),this.removeEventListener(t,"pointerup",this.fk,!1),this.removeEventListener(t,"pointerout",this.ek,!1),this.removeEventListener(t,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),t=this.toolManager,t!==null&&(t.mouseDownTools.each(function(n){n.cancelWaitAfter()}),t.mouseMoveTools.each(function(n){n.cancelWaitAfter()}),t.mouseUpTools.each(function(n){n.cancelWaitAfter()})),t.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Ke,"resize",this.Ov,!1),this.removeEventListener(Ke,"wheel",this.$j,!0),pt===this&&(pt=null)):this.ui===null&&(this.hf=!1),this.Ka=null,e!==null&&((t=e.H)&&(t.div=null),ki(this,e),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(e){this.nt!==e&&(this.nt=e,e!==null&&(this.Vt=e.fromPort,this.Wt=e.toPort))}},Mx:{get:function(){return this.Vt},set:function(e){this.Vt=e}},Nx:{get:function(){return this.Wt},set:function(e){this.Wt=e}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(e){this.Wg=e,this.cc.skipsUndoManager=e}},delaysLayout:{get:function(){return this.lt},set:function(e){this.lt=e}},opacity:{get:function(){return this.pb},set:function(e){var t=this.pb;t!==e&&((0>e||1e&&Ot(e,">= 0",Y,"scrollHorizontalLineChange"),this.iu=e,this.g("scrollHorizontalLineChange",t,e))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(e){var t=this.mu;t!==e&&(0>e&&Ot(e,">= 0",Y,"scrollVerticalLineChange"),this.mu=e,this.g("scrollVerticalLineChange",t,e))}},lastInput:{get:function(){return this.cj},set:function(e){this.cj=e}},previousInput:{get:function(){return this.Qg},set:function(e){this.Qg=e}},firstInput:{get:function(){return this.bq},set:function(e){this.bq=e}},currentCursor:{get:function(){return this.it},set:function(e){if(e===""&&(e=this.Op),this.it!==e){var t=this.ta,n=this.Ka;if(t!==null&&n!==null){this.it=e;var i=t.style.cursor;t.style.cursor=e,n.style.cursor=e,t.style.cursor===i&&(t.style.cursor="-webkit-"+e,n.style.cursor="-webkit-"+e,t.style.cursor===i&&(t.style.cursor="-moz-"+e,n.style.cursor="-moz-"+e,t.style.cursor===i&&(t.style.cursor=e,n.style.cursor=e)))}}}},defaultCursor:{get:function(){return this.Op},set:function(e){e===""&&(e="auto");var t=this.Op;t!==e&&(this.Op=e,this.g("defaultCursor",t,e))}},click:{get:function(){return this.zh},set:function(e){var t=this.zh;t!==e&&(this.zh=e,this.g("click",t,e))}},doubleClick:{get:function(){return this.Fh},set:function(e){var t=this.Fh;t!==e&&(this.Fh=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return this.Bh},set:function(e){var t=this.Bh;t!==e&&(this.Bh=e,this.g("contextClick",t,e))}},mouseOver:{get:function(){return this.Qh},set:function(e){var t=this.Qh;t!==e&&(this.Qh=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return this.Oh},set:function(e){var t=this.Oh;t!==e&&(this.Oh=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return this.Nh},set:function(e){var t=this.Nh;t!==e&&(this.Nh=e,this.g("mouseHold",t,e))}},mouseDragOver:{get:function(){return this.Qt},set:function(e){var t=this.Qt;t!==e&&(this.Qt=e,this.g("mouseDragOver",t,e))}},mouseDrop:{get:function(){return this.Lh},set:function(e){var t=this.Lh;t!==e&&(this.Lh=e,this.g("mouseDrop",t,e))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(e){var t=this.xt;t!==e&&(this.xt=e,this.g("handlesDragDropForTopLevelParts",t,e))}},mouseEnter:{get:function(){return this.Mh},set:function(e){var t=this.Mh;t!==e&&(this.Mh=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return this.Ph},set:function(e){var t=this.Ph;t!==e&&(this.Ph=e,this.g("mouseLeave",t,e))}},toolTip:{get:function(){return this.$h},set:function(e){var t=this.$h;t!==e&&(this.$h=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return this.Ch},set:function(e){var t=this.Ch;t!==e&&(this.Ch=e,this.g("contextMenu",t,e))}},commandHandler:{get:function(){return this.nb},set:function(e){this.nb!==e&&(this.nb=e,e.Xe(this))}},toolManager:{get:function(){return this.te},set:function(e){this.te!==e&&(this.te=e,e.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(e){var t=this.ob;t!==e&&(this.ob=e,e.diagram=this,this.currentTool===t&&(this.currentTool=e))}},currentTool:{get:function(){return this.hb},set:function(e){var t=this.hb;t&&(t.isActive&&t.doDeactivate(),t.cancelWaitAfter(),t.doStop()),e===null&&(e=this.defaultTool),e!==null&&(this.hb=e,e.diagram=this,e.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(e){var t=this.Nt;if(t!==e)if(0<=e&&!isNaN(e)){if(this.Nt=e,this.g("maxSelectionCount",t,e),!this.undoManager.isUndoingRedoing&&(e=this.selection.count-e,0= 0",Y,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(e){var t=this.St;t!==e&&(this.St=e,this.g("nodeSelectionAdornmentTemplate",t,e))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(e){var t=this.wt;t!==e&&(this.wt=e,this.g("groupSelectionAdornmentTemplate",t,e))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(e){var t=this.Kt;t!==e&&(this.Kt=e,this.g("linkSelectionAdornmentTemplate",t,e))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var e=this.undoManager;return e.isEnabled?e.currentTransaction!==null?!0:this.rn&&this.Ce!==e.historyIndex:this.rn},set:function(e){if(this.rn!==e){this.rn=e;var t=this.undoManager;!e&&t.isEnabled&&(this.Ce=t.historyIndex),e||d0(this)}}},model:{get:function(){return this.cc},set:function(e){var t=this.cc;if(t!==e){this.currentTool.doCancel(),t&&t.undoManager!==e.undoManager&&t.undoManager.isInTransaction&&Ve("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var n=Bn(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var i=this.vb;this.vb=!0,_a(this.animationManager,"Model"),t&&(this.pf!==null&&this.pf.each(function(o){return t.ik(o)}),t.ik(this.Oc)),this.cc=e,this.partManager=ip(this.cc.type);for(var r=0;rthis.scale&&(this.scale=e)):Ot(e,"> 0",Y,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(e){var t=this.Mt;t!==e&&(0 0",Y,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(e){this.zu.D(e)||(this.zu=e=e.J())}},contentAlignment:{get:function(){return this.zk},set:function(e){var t=this.zk;t.D(e)||(this.zk=e=e.J(),this.g("contentAlignment",t,e),Ko(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(e){var t=this.pq;t.D(e)||(this.pq=e=e.J(),this.g("initialContentAlignment",t,e))}},padding:{get:function(){return this.yb},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.Ya(),this.g("padding",t,e))}},partManager:{get:function(){return this.Pc},set:function(e){var t=this.Pc;t!==e&&(e.diagram!==null&&Ve("Cannot share PartManagers between Diagrams: "+e.toString()),t&&t.Xe(null),this.Pc=e,e.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(e){var t=this.Sc;t!==e&&(this.Sc=e,e.diagram=this,e.group=null,this.xh=!0,this.g("layout",t,e),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(e){var t=this.Ht;if(t!==e&&(this.Ht=e,this.g("isTreePathToChildren",t,e),!this.undoManager.isUndoingRedoing))for(e=this.nodes;e.next();)Np(e.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(e){var t=this.uu;t!==e&&(e!==mh&&e!==Ja&&e!==mf&&Ve("Unknown Diagram.treeCollapsePolicy: "+e),this.uu=e,this.g("treeCollapsePolicy",t,e))}},Ue:{get:function(){return this.pw},set:function(e){this.pw=e}},avoidanceCellSize:{get:function(){return this.aw},set:function(e){this.Xh=null,this.aw=new fi(Math.max(1,e.width),Math.max(1,e.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(e){this.bw=Math.max(1,e)}},autoScrollInterval:{get:function(){return this.vp},set:function(e){var t=this.vp;t!==e&&(this.vp=e,this.g("autoScrollInterval",t,e))}},autoScrollRegion:{get:function(){return this.xp},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.xp;t.D(e)||(this.xp=e=e.J(),this.Ya(),this.g("autoScrollRegion",t,e))}}}),dt.Object.defineProperties(Y,{licenseKey:{get:function(){return pp.jc()},set:function(e){pp.add(e.replace(/\s/g,""))}},version:{get:function(){return fd}}}),Y.prototype.makeImageData=Y.prototype.Jx,Y.prototype.makeImage=Y.prototype.Wz,Y.prototype.cacheGroupExternalLinks=Y.prototype.Fu,Y.prototype.addRenderer=Y.prototype.bs,Y.prototype.makeSVG=Y.prototype.av,Y.prototype.makeSvg=Y.prototype.Cs,Y.prototype.stopAutoScroll=Y.prototype.ug,Y.prototype.doAutoScroll=Y.prototype.gs,Y.prototype.isUnoccupied=Y.prototype.Yj,Y.prototype.raiseDiagramEvent=Y.prototype.R,Y.prototype.removeDiagramListener=Y.prototype.am,Y.prototype.addDiagramListener=Y.prototype.Bj,Y.prototype.findTreeRoots=Y.prototype.yz,Y.prototype.layoutDiagram=Y.prototype.Uz,Y.prototype.findTopLevelGroups=Y.prototype.qz,Y.prototype.findTopLevelNodesAndLinks=Y.prototype.rz,Y.prototype.ensureBounds=Y.prototype.Va,Y.prototype.findLinksByExample=Y.prototype.ls,Y.prototype.findNodesByExample=Y.prototype.ms,Y.prototype.findLinkForData=Y.prototype.Kc,Y.prototype.findNodeForData=Y.prototype.ii,Y.prototype.findPartForData=Y.prototype.Lc,Y.prototype.findLinkForKey=Y.prototype.findLinkForKey,Y.prototype.findNodeForKey=Y.prototype.Vb,Y.prototype.findPartForKey=Y.prototype.findPartForKey,Y.prototype.rebuildParts=Y.prototype.Wd,Y.prototype.transformViewToDoc=Y.prototype.Ps,Y.prototype.transformRectDocToView=Y.prototype.zA,Y.prototype.transformDocToView=Y.prototype.op,Y.prototype.centerRect=Y.prototype.es,Y.prototype.scrollToRect=Y.prototype.tv,Y.prototype.scroll=Y.prototype.scroll,Y.prototype.highlightCollection=Y.prototype.Jz,Y.prototype.highlight=Y.prototype.Iz,Y.prototype.selectCollection=Y.prototype.rA,Y.prototype.select=Y.prototype.select,Y.prototype.updateAllRelationshipsFromData=Y.prototype.rp,Y.prototype.updateAllTargetBindings=Y.prototype.updateAllTargetBindings,Y.prototype.commit=Y.prototype.commit,Y.prototype.rollbackTransaction=Y.prototype.Kf,Y.prototype.commitTransaction=Y.prototype.eb,Y.prototype.startTransaction=Y.prototype.Ea,Y.prototype.raiseChanged=Y.prototype.g,Y.prototype.raiseChangedEvent=Y.prototype.cb,Y.prototype.removeChangedListener=Y.prototype.ik,Y.prototype.addChangedListener=Y.prototype.Pe,Y.prototype.removeModelChangedListener=Y.prototype.mA,Y.prototype.addModelChangedListener=Y.prototype.Yw,Y.prototype.findLayer=Y.prototype.Qj,Y.prototype.removeLayer=Y.prototype.kA,Y.prototype.addLayerAfter=Y.prototype.Cy,Y.prototype.addLayerBefore=Y.prototype.Ww,Y.prototype.addLayer=Y.prototype.Al,Y.prototype.moveParts=Y.prototype.moveParts,Y.prototype.copyParts=Y.prototype.Kj,Y.prototype.removeParts=Y.prototype.Is,Y.prototype.remove=Y.prototype.remove,Y.prototype.add=Y.prototype.add,Y.prototype.clearDelayedGeometries=Y.prototype.bx,Y.prototype.setProperties=Y.prototype.nm,Y.prototype.attach=Y.prototype.Du,Y.prototype.set=Y.prototype.set,Y.prototype.resetInputOptions=Y.prototype.Sx,Y.prototype.setInputOption=Y.prototype.sA,Y.prototype.getInputOption=Y.prototype.Ql,Y.prototype.resetRenderingHints=Y.prototype.Tx,Y.prototype.setRenderingHint=Y.prototype.Xx,Y.prototype.getRenderingHint=Y.prototype.Gf,Y.prototype.maybeUpdate=Y.prototype.bd,Y.prototype.requestUpdate=Y.prototype.$b,Y.prototype.delayInitialization=Y.prototype.Xy,Y.prototype.isUpdateRequested=Y.prototype.Pz,Y.prototype.invalidateDocumentBounds=Y.prototype.Ya,Y.prototype.findObjectsNear=Y.prototype.og,Y.prototype.findPartsNear=Y.prototype.mz,Y.prototype.findObjectsIn=Y.prototype.Cf,Y.prototype.findPartsIn=Y.prototype.ux,Y.prototype.findObjectsAt=Y.prototype.ji,Y.prototype.findPartsAt=Y.prototype.lz,Y.prototype.findObjectAt=Y.prototype.ic,Y.prototype.findPartAt=Y.prototype.Ol,Y.prototype.focusObject=Y.prototype.zz,Y.prototype.alignDocument=Y.prototype.Jy,Y.prototype.zoomToRect=Y.prototype.BA,Y.prototype.zoomToFit=Y.prototype.zoomToFit,Y.prototype.diagramScroll=Y.prototype.kx,Y.prototype.focus=Y.prototype.focus;var pf=new Kn,v0=null,Ca=Ke.document!==void 0,dd=null,Uh="",cl=new Kt(Y,"None",0),gu=new Kt(Y,"Uniform",1),Hh=new Kt(Y,"UniformToFill",2),Pd=new Kt(Y,"CycleAll",10),up=new Kt(Y,"CycleNotDirected",11),cp=new Kt(Y,"CycleNotDirectedFast",12),hp=new Kt(Y,"CycleNotUndirected",13),dp=new Kt(Y,"CycleDestinationTree",14),fp=new Kt(Y,"CycleSourceTree",15),ph=new Kt(Y,"DocumentScroll",1),Fd=new Kt(Y,"InfiniteScroll",2),mh=new Kt(Y,"TreeParentCollapsed",21),Ja=new Kt(Y,"AllParentsCollapsed",22),mf=new Kt(Y,"AnyParentsCollapsed",23),pp=new Xt,fd="2.3.10",pd="image",Bd=null,y0=!1;function tl(){if(Ca){var e=Ke.document.createElement("canvas"),t=e.getContext("2d"),n=Nn("7ca11abfd022028846");t[n]=Nn("398c3597c01238");for(var i=["5da73c80a36455d7038e4972187c3cae51fd22",gn.Dx+"4ae6247590da4bb21c324ba3a84e385776",sr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",qe.za],r=1;5>r;r++)t[Nn("7ca11abfd7330390")](Nn(i[r-1]),10,15*r);for(t[n]=Nn("39f046ebb36e4b"),n=1;5>n;n++)t[Nn("7ca11abfd7330390")](Nn(i[n-1]),10,15*n);(i.length!==4||i[0][0]!=="5"||i[3][0]!=="7")&&(sr.prototype.Cd=sr.prototype.Eu),Bd=e}}Y.className="Diagram",Y.fromDiv=function(e){var t=e;return typeof e=="string"&&(t=Ke.document.getElementById(e)),t instanceof HTMLDivElement&&t.H instanceof Y?t.H:null},Y.inherit=function(e,t){function n(){}if(Object.getPrototypeOf(e).prototype)throw Error(`Used go.Diagram.inherit defining already defined class -`+e);n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Y.useDOM=function(e){Ca=e?Ke.document!==void 0:!1},Y.isUsingDOM=function(){return Ca},Y.None=cl,Y.Uniform=gu,Y.UniformToFill=Hh,Y.CycleAll=Pd,Y.CycleNotDirected=up,Y.CycleNotDirectedFast=cp,Y.CycleNotUndirected=hp,Y.CycleDestinationTree=dp,Y.CycleSourceTree=fp,Y.DocumentScroll=ph,Y.InfiniteScroll=Fd,Y.TreeParentCollapsed=mh,Y.AllParentsCollapsed=Ja,Y.AnyParentsCollapsed=mf;function b0(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function md(e,t){if(t.ib.setTransform(t.Mb,0,0,t.Mb,0,0),t.ib.yc(),e.Rc===null)e:{t="f";var n=Ke[Nn("76a715b2f73f148a")][Nn("72ba13b5")]||"";if(e.Rc=!0,Ca){var i=Y[Nn("76a115b6ed251eaf4692")];if(i)for(var r=pp.iterator;r.next()&&(i=r.value,i=Nn(i).split(Nn("39e9")),!(6>i.length));){var o=Nn(i[1]).split(".");if(i[4]!=="7da71ca0")break;var a=Nn(gn[Nn("6cae19")]).split(".");if(o[0]>a[0]||o[0]===a[0]&&o[1]>=a[1]){var l=Ke[Nn("74a900bae4370f8b51")][Nn("6fbb13a1c2311e8a57")].toLowerCase();if(a=l[Nn("73a612b6fb191d")](Nn("3aad1ab6e022098b4dc4")),o=Nn(i[2]),-1a&&o!==Nn("7da71ca0ad381e90")&&(a=t[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>a&&(a=t[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>a&&(a=t[Nn("73a612b6fb191d")](Nn("2bfa41fdb3784bca12"))),0>a&&(a=n[Nn("73a612b6fb191d")](Nn("7baa19a6f76c1988428554"))),e.Rc=!(0<=a&&al),!e.Rc)))break;if(o[0]==="#"){a=Ke.document.createElement("div");for(var u=i[0].replace(/[A-Za-z]/g,"");4>u.length;)u+="9";if(l=u,u=u.substr(u.length-4),i="",i+=["gsh","gsf"][parseInt(u.substr(0,1),10)%2],i+=["Header","Background","Display","Feedback"][parseInt(u.substr(0,1),10)%4],a[Nn("79a417a0f0181a8946")]=i,Ke.document[Nn("78a712aa")]){Ke.document[Nn("78a712aa")][Nn("7bb806b6ed32388c4a875b")](a),u=Ke.getComputedStyle(a).getPropertyValue(Nn("78a704b7e62456904c9b12701b6532a8"));var f=Ke.getComputedStyle(a).getPropertyValue(Nn("75b817b0ea2202"));if(Ke.document[Nn("78a712aa")][Nn("68ad1bbcf533388c4a875b")](a),u){if(a=Ke[Nn("77a902b0eb1b1e804a8a")],f==="0."+parseInt(l,10)%100||u.indexOf(parseInt(o[1]+o[2],16))!==-1&&u.indexOf(parseInt(o[3]+o[4],16))!==-1){e.Rc=!1;break}else if(a&&a(Nn("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(i="."+i,o=0;oi.updateDelay?i.N():i.o||(i.o=!0,setTimeout(function(){return i.redraw()},i.updateDelay))},n.Of=function(){i.observed!==null&&ne(i)},n.autoScale=gu,n.vb=!1,t&&Object.assign(n,t),n}xi(w,Y),w.prototype.computePixelRatio=function(){return 1},w.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var e=this.ta,t=this.ib;if(e!==null&&t!==null){if(el(this),this.ql===null){var n=new Hu(null);n.width=e.width,n.height=e.height,this.ql=n}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),H(this)}finally{this.ta=e,this.ib=t}}}Y.prototype.redraw.call(this)},w.prototype.gc=function(){if(this.Ka===null&&Ve("No div specified"),this.ta===null&&Ve("No canvas specified"),!(this.ta instanceof kc)&&(Gg(this.box),this.Fc)){var e=this.observed;if(e!==null&&!e.animationManager.defaultAnimation.isAnimating&&e.pi){el(this);var t=this.ta;e=this.ib,e.Vc(!0),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height),1>this.updateDelay?H(this):this.ql!==null&&(e.drawImage(this.ql.Oa,0,0),t=this.Ab,t.reset(),this.scale!==1&&t.scale(this.scale),this.position.x===0&&this.position.y===0||t.translate(-this.position.x,-this.position.y),e.scale(this.Mb,this.Mb),e.transform(t.m11,t.m12,t.m21,t.m22,t.dx,t.dy),e.yc()),t=this.Wa.s;for(var n=t.length,i=0;ie&&(e=0),this.ia!==e&&(this.ia=e)}}}),w.className="Overview";function Se(){ko.call(this),this.j=null}xi(Se,ko),Se.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e===null||!e.allowMove||!e.allowSelect)return!1;var t=e.observed;if(t===null)return!1;var n=e.lastInput;return!n.left||e.currentTool!==this&&(!this.isBeyondDragSize()||n.isTouchEvent&&n.timestamp-e.firstInput.timestampt.maxScale||(t.scale=e))},ye.prototype.canDecreaseZoom=function(e){e===void 0&&(e=1/this.zoomFactor);var t=this.diagram;return t.autoScale!==cl?!1:(e=t.scale*e,et.maxScale?!1:t.allowZoom)},ye.prototype.increaseZoom=function(e){e===void 0&&(e=this.zoomFactor);var t=this.diagram;t.autoScale===cl&&(e=t.scale*e,et.maxScale||(t.scale=e))},ye.prototype.canIncreaseZoom=function(e){e===void 0&&(e=this.zoomFactor);var t=this.diagram;return t.autoScale!==cl?!1:(e=t.scale*e,et.maxScale?!1:t.allowZoom)},ye.prototype.resetZoom=function(e){e===void 0&&(e=this.defaultScale);var t=this.diagram;et.maxScale||(t.scale=e)},ye.prototype.canResetZoom=function(e){e===void 0&&(e=this.defaultScale);var t=this.diagram;return et.maxScale?!1:t.allowZoom},ye.prototype.zoomToFit=function(){var e=this.diagram,t=e.animationManager;t.Cc(),e.redraw();var n=e.position,i=e.scale;_a(t,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&i===this.Au&&!isNaN(this.Jt)&&e.documentBounds.D(this.yu)?(e.scale=this.Jt,e.position=this.sw,this.Au=NaN,this.yu=xr):(this.Jt=i,this.sw=n.copy(),e.zoomToFit(),this.Au=e.scale,this.yu=e.documentBounds.copy()),la(t)},ye.prototype.canZoomToFit=function(){return this.diagram.allowZoom},ye.prototype.scrollToPart=function(e){e===void 0&&(e=null);var t=this.diagram;if(t.Va(),e===null){try{this.cg!==null&&(this.cg.next()?e=this.cg.value:this.cg=null)}catch(u){this.cg=null}e===null&&(0e&&(e+=360)),e},U.Df=function(){if(!(this.l&4096))return this.Kk;var e=this.Ca;return this.panel!==null?e*this.panel.Df():e},U.qs=function(e,t){return t===void 0&&(t=new he),t.assign(e),this.oe.Cd(t),t},U.rs=function(e,t,n){return this.Sj(e.x,e.y,t.x,t.y,n)},U.Sj=function(e,t,n,i,r){var o=this.transform,a=1/(o.m11*o.m22-o.m12*o.m21),l=o.m22*a,u=-o.m12*a,f=-o.m21*a,p=o.m11*a,x=a*(o.m21*o.dy-o.m22*o.dx),A=a*(o.m12*o.dx-o.m11*o.dy);return this.areaBackground!==null?(o=this.actualBounds,qe.Ff(o.left,o.top,o.right,o.bottom,e,t,n,i,r)):(a=e*l+t*f+x,e=e*u+t*p+A,t=n*l+i*f+x,n=n*u+i*p+A,r.h(0,0),i=this.naturalBounds,n=qe.Ff(0,0,i.width,i.height,a,e,t,n,r),r.transform(o),n)},at.prototype.measure=function(e,t,n,i){if(yu(this)!==!1){var r=this.Kg,o=r.right+r.left;r=r.top+r.bottom,e=Math.max(e-o,0),t=Math.max(t-r,0),n=Math.max((n||0)-o,0),i=Math.max((i||0)-r,0),o=this.angle,r=this.desiredSize;var a=this.kq();o===90||o===270?(e=isFinite(r.height)?r.height+a:e,t=isFinite(r.width)?r.width+a:t):(e=isFinite(r.width)?r.width+a:e,t=isFinite(r.height)?r.height+a:t),r=n||0,a=i||0;var l=this instanceof An;switch(zl(this,!0)){case xn:a=r=0,l&&(t=e=1/0);break;case Tn:isFinite(e)&&e>n&&(r=e),isFinite(t)&&t>i&&(a=t);break;case bi:isFinite(e)&&e>n&&(r=e),a=0,l&&(t=1/0);break;case Bi:isFinite(t)&&t>i&&(a=t),r=0,l&&(e=1/0)}l=this.maxSize;var u=this.minSize;r>l.width&&u.widthl.height&&u.heighte.height||this.Cb>e.width))&&(n=!0)),this.l=n?this.l|256:this.l&-257,this.Ib.w()||Ve("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(o,this.Ib),Fc(this,!1),Wt.free(o)},U=at.prototype,U.eh=function(){};function hl(e,t,n,i,r){if(e.Ib.h(t,n,i,r),!e.desiredSize.w()){var o=e.uc;n=e.Kg,t=n.right+n.left;var a=n.top+n.bottom;switch(n=o.width+t,o=o.height+a,i+=t,r+=a,t=zl(e,!0),n===i&&o===r&&(t=xn),t){case xn:(n>i||o>r)&&(qa(e,!0),e.measure(n>i?i:n,o>r?r:o,0,0));break;case Tn:qa(e,!0),e.measure(i,r,0,0);break;case bi:qa(e,!0),e.measure(i,o,0,0);break;case Bi:qa(e,!0),e.measure(n,r,0,0)}}}U.Xl=function(e,t){var n=this.part;n!==null&&n.diagram!==null&&(n.selectionObject!==this&&n.resizeObject!==this&&n.rotateObject!==this||Kg(n,!0),this.N(),fo(e,t)||(n.oh(),this.Pn(n)))},U.Pn=function(e){this.portId!==null&&(Kg(e,!0),e instanceof Xn&&e1(e,this))},U.gc=function(e,t){if(!Iu(this,e,t)&&this.visible){var n=this.opacity;if(n!==0){var i=1;n!==1&&(i=e.globalAlpha,e.globalAlpha=i*n);var r="";this.filter!==""&&(r=e.filter,e.filter=this.filter);var o=this instanceof An&&yh(this),a=this.Ib;if(o){var l=this.Ib,u=this.dc,f=this.areaBackground,p=this.Ma;f===null&&p===null||e.yc(),f!==null&&(Ma(this,e,f,!0,!0,u,l),f instanceof ao&&f.type===Lu?(e.beginPath(),e.rect(l.x,l.y,l.width,l.height),e.ng(f)):e.fillRect(l.x,l.y,l.width,l.height)),p!==null&&(Ma(this,e,p,!0,!1,u,l),p instanceof ao&&p.type===Lu?(e.beginPath(),e.rect(l.x,l.y,l.width,l.height),e.ng(p)):e.fillRect(l.x,l.y,l.width,l.height)),this.hh(e,t)}if(!o&&(o||a.width!==0&&a.height!==0&&!isNaN(a.x)&&!isNaN(a.y))){o=this.transform,l=this.panel,this.l&4096&&Ms(this),f=this.part,u=!1;var x=0;f&&t.Gf("drawShadows")&&(u=f.isShadowed)&&(p=f.shadowOffset,x=Math.max(p.y,p.x)*t.scale*t.Mb),p=this.Dd();var A;if(!(A=t.$i||!p)){var R=this.naturalBounds;A=this.wh;var _=A.m11,V=A.m21,be=A.dx,le=A.m12,Pe=A.m22,Ue=A.dy,Ge,rt=Ge=0;A=Ge*_+rt*V+be;var At=Ge*le+rt*Pe+Ue;Ge=R.width+x,rt=0;var Vn=Ge*_+rt*V+be;Ge=Ge*le+rt*Pe+Ue,rt=Math.min(A,Vn);var oi=Math.min(At,Ge),qn=Math.max(A+0,Vn)-rt,Dn=Math.max(At+0,Ge)-oi;A=rt,At=oi,Ge=R.width+x,rt=R.height+x,Vn=Ge*_+rt*V+be,Ge=Ge*le+rt*Pe+Ue,rt=Math.min(A,Vn),oi=Math.min(At,Ge),qn=Math.max(A+qn,Vn)-rt,Dn=Math.max(At+Dn,Ge)-oi,A=rt,At=oi,Ge=0,rt=R.height+x,Vn=Ge*_+rt*V+be,Ge=Ge*le+rt*Pe+Ue,rt=Math.min(A,Vn),oi=Math.min(At,Ge),qn=Math.max(A+qn,Vn)-rt,Dn=Math.max(At+Dn,Ge)-oi,A=rt,At=oi,x=t.viewportBounds,R=x.x,_=x.y,A=!(A>x.width+R||R>qn+A||At>x.height+_||_>Dn+At)}if(A){if(A=(this.l&256)!==0,e.clipInsteadOfFill&&(A=!1),this instanceof Do&&(e.font=this.font),A){if(At=l.se()?l.naturalBounds:l.actualBounds,qn=Math.max(a.x,At.x),Dn=Math.max(a.y,At.y),x=Math.min(a.right,At.right)-qn,R=Math.min(a.bottom,At.bottom)-Dn,_=this.tb,_!==null&&(qn=_.x,Dn=_.y,x=_.width,R=_.height),qn>a.width+a.x||a.x>At.width+At.x){n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r);return}e.save(),e.beginPath(),e.rect(qn,Dn,x,R),e.clip()}if(p){if(!f.isVisible()){n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r);return}u&&(At=f.shadowOffset,e.Ev(At.x*t.scale*this.scale*t.Mb,At.y*t.scale*this.scale*t.Mb,f.shadowBlur),Jc(e),e.shadowColor=f.shadowColor)}u&&this.shadowVisible===!0?Jc(e):u&&this.shadowVisible===!1&&Bc(e),f=this.naturalBounds,this.areaBackground!==null&&(e.yc(),vu(this,e,f,a)),e.transform(o.m11,o.m12,o.m21,o.m22,o.dx,o.dy),u&&Cs(this,l)&&this.shadowVisible===null&&Bc(e),this.Ma!==null&&(e.yc(),Zl(this,e,f,a)),u&&(this.Ma!==null||this.areaBackground!==null||Cs(this,l))?(nc(this,!0),this.shadowVisible===null&&Bc(e)):nc(this,!1),this.hh(e,t),u&&this.l&512&&Jc(e),p&&u&&Bc(e),A&&(e.restore(),e.Vc(this instanceof An)),o.ws()||(t=1/(o.m11*o.m22-o.m12*o.m21),e.transform(o.m22*t,-o.m12*t,-o.m21*t,o.m11*t,t*(o.m21*o.dy-o.m22*o.dx),t*(o.m12*o.dx-o.m11*o.dy)))}}n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r)}}};function Cs(e,t){return t===null?!1:(yh(t)&&(t=t.panel),(t.l&512)!==0||(t.type===An.Auto||t.type===An.Spot)&&t.Pb()!==e)}U.Dv=function(){};function vu(e,t,n,i){Ma(e,t,e.areaBackground,!0,!0,n,i),e.areaBackground instanceof ao&&e.areaBackground.type===Lu?(t.beginPath(),t.rect(i.x,i.y,i.width,i.height),t.ng(e.areaBackground)):t.fillRect(i.x,i.y,i.width,i.height)}function Zl(e,t,n,i){var r=e.kq(),o=n.x,a=n.y,l=n.width+r,u=n.height+r;Ma(e,t,e.Ma,!0,!1,n,i),e.Ma instanceof ao&&e.Ma.type===Lu?(t.beginPath(),t.rect(o-r/2,a-r/2,l,u),t.ng(e.Ma)):t.fillRect(o-r/2,a-r/2,l,u)}function nl(e,t,n){for(var i=t.O.s,r=i.length,o=-1,a=0;ar)&&Ve("Must specify non-negative integer row for RowColumnDefinition "+t+", not: "+r),e.isRow=!0,e.index=r):t.column!==void 0&&(r=t.column,(r==null||r===1/0||isNaN(r)||0>r)&&Ve("Must specify non-negative integer column for RowColumnDefinition "+t+", not: "+r),e.isRow=!1,e.index=r),r=new oe;for(n in t)n!=="row"&&n!=="column"&&(r[n]=t[n]);qs(e,r)}else qs(e,t);else Ve('Unknown initializer "'+t+'" for object being constructed by GraphObject.make: '+e)}function gh(e,t){gf.add(e,t)}function x0(e,t,n){n===void 0&&(n=null);var i=e[1];if(typeof n=="function"?n(i):typeof i=="string")return e.splice(1,1),i;if(t===void 0)throw Error("no "+(typeof n=="function"?"satisfactory":"string")+" argument for GraphObject builder "+e[0]);return t}dt.Object.defineProperties(at.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(e){this.bindingId!==e&&(this.A===null&&(this.A=new Ud),this.A.zp=e)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(e){this.localBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.te=e)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(e){this.srcBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.wm=e)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(e){var t=this.shadowVisible;t!==e&&(br(this),this.A.Ci=e,this.Uc=!0,this.N(),this.g("shadowVisible",t,e))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(e){var t=this.enabledChanged;t!==e&&(br(this),this.A.Hb=e,this.g("enabledChanged",t,e))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Cl},set:function(e){var t=this.segmentOrientation;t!==e&&(this.Ua===null&&(this.Ua=new $h),this.Ua.rr=e,this.v(),this.g("segmentOrientation",t,e),e===Cl&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(e){e=Math.round(e);var t=this.segmentIndex;t!==e&&(this.Ua===null&&(this.Ua=new $h),this.Ua.u=e,this.v(),this.g("segmentIndex",t,e))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(e){isNaN(e)||0>e?e=0:1e||1=e&&Ve("GraphObject.scale for "+this+" must be greater than zero, not: "+e),this.Ca=e,this.v(),this.g("scale",t,e))}},angle:{get:function(){return this.Kb},set:function(e){var t=this.Kb;t!==e&&(e%=360,0>e&&(e+=360),t!==e&&(this.Kb=e,ry(this),this.v(),this.g("angle",t,e)))}},desiredSize:{get:function(){return this.jd},set:function(e){var t=e.width,n=e.height,i=this.jd,r=i.width,o=i.height;(r===t||isNaN(r)&&isNaN(t))&&(o===n||isNaN(o)&&isNaN(n))||(this.jd=e=e.J(),this.v(),this instanceof fr&&this.qc(),this.g("desiredSize",i,e),zs(this)&&(e=this.part,e!==null&&($o(this,e,"width"),$o(this,e,"height"))))}},width:{get:function(){return this.jd.width},set:function(e){var t=this.jd.width;t===e||isNaN(t)&&isNaN(e)||(t=this.jd,this.jd=e=new fi(e,this.jd.height).freeze(),this.v(),this instanceof fr&&this.qc(),this.g("desiredSize",t,e),zs(this)&&(e=this.part,e!==null&&$o(this,e,"width")))}},height:{get:function(){return this.jd.height},set:function(e){var t=this.jd.height;t===e||isNaN(t)&&isNaN(e)||(t=this.jd,this.jd=e=new fi(this.jd.width,e).freeze(),this.v(),this instanceof fr&&this.qc(),this.g("desiredSize",t,e),zs(this)&&(e=this.part,e!==null&&$o(this,e,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:ma},set:function(e){var t=this.minSize;t.D(e)||(e=e.copy(),isNaN(e.width)&&(e.width=0),isNaN(e.height)&&(e.height=0),e.freeze(),br(this),this.A.u=e,this.v(),this.g("minSize",t,e))}},maxSize:{get:function(){return this.A!==null?this.A.o:ns},set:function(e){var t=this.maxSize;t.D(e)||(e=e.copy(),isNaN(e.width)&&(e.width=1/0),isNaN(e.height)&&(e.height=1/0),e.freeze(),br(this),this.A.o=e,this.v(),this.g("maxSize",t,e))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.Kg;t.D(e)||(this.Kg=e=e.J(),this.v(),this.g("margin",t,e))}},transform:{get:function(){return this.l&2048&&Ms(this),this.Ab}},oe:{get:function(){return this.l&4096&&Ms(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(e){this.animationTriggers!==e&&(br(this),this.A.hb=e)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:xn},set:function(e){this.reshapingBehavior!==e&&(br(this),this.A.Pf=e)}},alignment:{get:function(){return this.Jb},set:function(e){var t=this.Jb;t.D(e)||(e.Mc()&&!e.Xb()&&Ve("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+e),this.Jb=e=e.J(),xl(this),this.g("alignment",t,e))}},column:{get:function(){return this.Ag},set:function(e){e=Math.round(e);var t=this.Ag;t!==e&&(0>e&&Ot(e,">= 0",at,"column"),this.Ag=e,this.v(),this.g("column",t,e),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(e){e=Math.round(e);var t=this.columnSpan;t!==e&&(1>e&&Ot(e,">= 1",at,"columnSpan"),br(this),this.A.ob=e,this.v(),this.g("columnSpan",t,e))}},row:{get:function(){return this.io},set:function(e){e=Math.round(e);var t=this.io;t!==e&&(0>e&&Ot(e,">= 0",at,"row"),this.io=e,this.v(),this.g("row",t,e),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(e){e=Math.round(e);var t=this.rowSpan;t!==e&&(1>e&&Ot(e,">= 1",at,"rowSpan"),br(this),this.A.Bi=e,this.v(),this.g("rowSpan",t,e))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(e){var t=this.spanAllocation;t!==e&&(br(this),this.A.Di=e,this.v(),this.g("spanAllocation",t,e))}},alignmentFocus:{get:function(){return this.sk},set:function(e){var t=this.sk;t.D(e)||(this.sk=e=e.J(),this.v(),this.g("alignmentFocus",t,e))}},portId:{get:function(){return this.Yn},set:function(e){var t=this.Yn;if(t!==e){var n=this.part;n===null||n instanceof Xn||Ve("Cannot set portID on a Link: "+e),t!==null&&n!==null&&Qg(n,this),this.Yn=e,e!==null&&n!==null&&(n.Te=!0,i1(n,this)),this.g("portId",t,e)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Hi},set:function(e){var t=this.toSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.yj=e,this.g("toSpot",t,e),gd(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(e){var t=this.toEndSegmentLength;t!==e&&(0>e&&Ot(e,">= 0",at,"toEndSegmentLength"),this.Xc(),this.ba.wj=e,this.g("toEndSegmentLength",t,e),gd(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(e){var t=this.toShortLength;t!==e&&(this.Xc(),this.ba.xj=e,this.g("toShortLength",t,e),gd(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(e){var t=this.toLinkable;t!==e&&(this.Xc(),this.ba.Tr=e,this.g("toLinkable",t,e))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(e){var t=this.toMaxLinks;t!==e&&(0>e&&Ot(e,">= 0",at,"toMaxLinks"),this.Xc(),this.ba.Ur=e,this.g("toMaxLinks",t,e))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:Hi},set:function(e){var t=this.fromSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.Xi=e,this.g("fromSpot",t,e),gd(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(e){var t=this.fromEndSegmentLength;t!==e&&(0>e&&Ot(e,">= 0",at,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=e,this.g("fromEndSegmentLength",t,e),gd(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(e){var t=this.fromShortLength;t!==e&&(this.Xc(),this.ba.Wi=e,this.g("fromShortLength",t,e),gd(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(e){var t=this.fromLinkable;t!==e&&(this.Xc(),this.ba.hq=e,this.g("fromLinkable",t,e))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(e){var t=this.fromMaxLinks;t!==e&&(0>e&&Ot(e,">= 0",at,"fromMaxLinks"),this.Xc(),this.ba.iq=e,this.g("fromMaxLinks",t,e))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(e){var t=this.cursor;t!==e&&(br(this),this.A.j=e,this.g("cursor",t,e))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(e){var t=this.click;t!==e&&(br(this),this.A.zh=e,this.g("click",t,e))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(e){var t=this.doubleClick;t!==e&&(br(this),this.A.Fh=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(e){var t=this.contextClick;t!==e&&(br(this),this.A.Bh=e,this.g("contextClick",t,e))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(e){var t=this.mouseEnter;t!==e&&(br(this),this.A.Mh=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(e){var t=this.mouseLeave;t!==e&&(br(this),this.A.Ph=e,this.g("mouseLeave",t,e))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(e){var t=this.mouseOver;t!==e&&(br(this),this.A.Qh=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(e){var t=this.mouseHover;t!==e&&(br(this),this.A.Oh=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(e){var t=this.mouseHold;t!==e&&(br(this),this.A.Nh=e,this.g("mouseHold",t,e))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(e){var t=this.mouseDragEnter;t!==e&&(br(this),this.A.Of=e,this.g("mouseDragEnter",t,e))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(e){var t=this.mouseDragLeave;t!==e&&(br(this),this.A.Xd=e,this.g("mouseDragLeave",t,e))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(e){var t=this.mouseDrop;t!==e&&(br(this),this.A.Lh=e,this.g("mouseDrop",t,e))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(e){var t=this.actionDown;t!==e&&(br(this),this.A.V=e,this.g("actionDown",t,e))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(e){var t=this.actionMove;t!==e&&(br(this),this.A.ia=e,this.g("actionMove",t,e))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(e){var t=this.actionUp;t!==e&&(br(this),this.A.Ha=e,this.g("actionUp",t,e))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(e){var t=this.actionCancel;t!==e&&(br(this),this.A.F=e,this.g("actionCancel",t,e))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(e){var t=this.toolTip;t!==e&&(br(this),this.A.$h=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(e){var t=this.contextMenu;t!==e&&(br(this),this.A.Ch=e,this.g("contextMenu",t,e))}}}),at.prototype.trigger=at.prototype.Jv,at.prototype.findBindingPanel=at.prototype.ih,at.prototype.findTemplateBinder=at.prototype.pz,at.prototype.setProperties=at.prototype.nm,at.prototype.apply=at.prototype.apply,at.prototype.attach=at.prototype.Du,at.prototype.set=at.prototype.set,at.prototype.isEnabledObject=at.prototype.If,at.prototype.isVisibleObject=at.prototype.Ed,at.prototype.isContainedBy=at.prototype.rg,at.prototype.getNearestIntersectionPoint=at.prototype.rs,at.prototype.getLocalPoint=at.prototype.qs,at.prototype.getDocumentScale=at.prototype.Df,at.prototype.getDocumentAngle=at.prototype.li,at.prototype.getDocumentBounds=at.prototype.mi,at.prototype.getDocumentPoint=at.prototype.ga,at.prototype.intersectsRect=at.prototype.Yc,at.prototype.containedInRect=at.prototype.fh,at.prototype.containsRect=at.prototype.Re,at.prototype.containsPoint=at.prototype.ca,at.prototype.raiseChanged=at.prototype.g,at.prototype.raiseChangedEvent=at.prototype.cb,at.prototype.addCopyProperty=at.prototype.Vw;var gf=null;at.className="GraphObject",gf=new Kn,gh("Button",function(){function e(n,i){return n.diagram.ic(n.documentPoint,function(r){for(;r.panel!==null&&!r.isActionable;)r=r.panel;return r},function(r){return r===i})!==null}var t=Ou(An,An.Auto,{isActionable:!0,enabledChanged:function(n,i){if(n instanceof An){var r=n.fb("ButtonBorder");r!==null&&(r.fill=i?n._buttonFillNormal:n._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},Ou(fr,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new si(0,0,2.76142374915397,2.761423749153969),spot2:new si(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return t.mouseEnter=function(n,i){if(i.If()&&i instanceof An&&(n=i.fb("ButtonBorder"),n instanceof fr)){var r=i._buttonFillOver;i._buttonFillNormal=n.fill,n.fill=r,r=i._buttonStrokeOver,i._buttonStrokeNormal=n.stroke,n.stroke=r}},t.mouseLeave=function(n,i){i.If()&&i instanceof An&&(n=i.fb("ButtonBorder"),n instanceof fr&&(n.fill=i._buttonFillNormal,n.stroke=i._buttonStrokeNormal))},t.actionDown=function(n,i){if(i.If()&&i instanceof An&&i._buttonFillPressed!==null&&n.button===0){var r=i.fb("ButtonBorder");if(r instanceof fr){n=n.diagram;var o=n.skipsUndoManager;n.skipsUndoManager=!0;var a=i._buttonFillPressed;i._buttonFillOver=r.fill,r.fill=a,a=i._buttonStrokePressed,i._buttonStrokeOver=r.stroke,r.stroke=a,n.skipsUndoManager=o}}},t.actionUp=function(n,i){if(i.If()&&i instanceof An&&i._buttonFillPressed!==null&&n.button===0){var r=i.fb("ButtonBorder");if(r instanceof fr){var o=n.diagram,a=o.skipsUndoManager;o.skipsUndoManager=!0,e(n,i)?(r.fill=i._buttonFillOver,r.stroke=i._buttonStrokeOver):(r.fill=i._buttonFillNormal,r.stroke=i._buttonStrokeNormal),o.skipsUndoManager=a}}},t.actionCancel=function(n,i){if(i.If()&&i instanceof An&&i._buttonFillPressed!==null){var r=i.fb("ButtonBorder");if(r instanceof fr){var o=n.diagram,a=o.skipsUndoManager;o.skipsUndoManager=!0,e(n,i)?(r.fill=i._buttonFillOver,r.stroke=i._buttonStrokeOver):(r.fill=i._buttonFillNormal,r.stroke=i._buttonStrokeNormal),o.skipsUndoManager=a}}},t.actionMove=function(n,i){if(i.If()&&i instanceof An&&i._buttonFillPressed!==null){var r=n.diagram;if(r.firstInput.button===0&&(r.currentTool.standardMouseOver(),e(n,i)&&(n=i.fb("ButtonBorder"),n instanceof fr))){var o=r.skipsUndoManager;r.skipsUndoManager=!0;var a=i._buttonFillPressed;n.fill!==a&&(n.fill=a),a=i._buttonStrokePressed,n.stroke!==a&&(n.stroke=a),r.skipsUndoManager=o}}},t}),gh("TreeExpanderButton",function(){var e=Ou("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},Ou(fr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Ta},new Wa("figure","isTreeExpanded",function(t,n){return n=n.panel,t?n._treeExpandedFigure:n._treeCollapsedFigure}).cp()),{visible:!1},new Wa("visible","isTreeLeaf",function(t){return!t}).cp());return e.click=function(t,n){if(n=n.part,n instanceof Zr&&(n=n.adornedPart),n instanceof Xn){var i=n.diagram;if(i!==null){if(i=i.commandHandler,n.isTreeExpanded){if(!i.canCollapseTree(n))return}else if(!i.canExpandTree(n))return;t.handled=!0,n.isTreeExpanded?i.collapseTree(n):i.expandTree(n)}}},e}),gh("SubGraphExpanderButton",function(){var e=Ou("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},Ou(fr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Ta},new Wa("figure","isSubGraphExpanded",function(t,n){return n=n.panel,t?n._subGraphExpandedFigure:n._subGraphCollapsedFigure}).cp()));return e.click=function(t,n){if(n=n.part,n instanceof Zr&&(n=n.adornedPart),n instanceof nr){var i=n.diagram;if(i!==null){if(i=i.commandHandler,n.isSubGraphExpanded){if(!i.canCollapseSubGraph(n))return}else if(!i.canExpandSubGraph(n))return;t.handled=!0,n.isSubGraphExpanded?i.collapseSubGraph(n):i.expandSubGraph(n)}}},e}),gh("ToolTip",function(){return Ou(Zr,An.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new he(0,3),shadowBlur:5},Ou(fr,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new si(0,0,4,6),spot2:new si(1,1,-4,-4)}))}),gh("ContextMenu",function(){return Ou(Zr,An.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new he(0,3),shadowBlur:5},new Wa("background","",function(e){return e.adornedPart!==null&&e.placeholder!==null?null:"#F5F5F5"}))}),gh("ContextMenuButton",function(){var e=Ou("Button");e.stretch=bi;var t=e.fb("ButtonBorder");return t instanceof fr&&(t.figure="Rectangle",t.strokeWidth=0,t.spot1=new si(0,0,2,3),t.spot2=new si(1,1,-2,-2)),e}),gh("PanelExpanderButton",function(e){var t=x0(e,"COLLAPSIBLE"),n=Ou("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},Ou(fr,{name:"ButtonIcon",strokeWidth:2},new Wa("geometryString","visible",function(i){return i?n._buttonExpandedFigure:n._buttonCollapsedFigure}).cp(t)));return e=n.fb("ButtonBorder"),e instanceof fr&&(e.stroke=null,e.fill="rgba(0, 0, 0, 0)"),n.click=function(i,r){var o=r.diagram;if(o!==null&&!o.isReadOnly){var a=r.ih();a===null&&(a=r.part),a!==null&&(r=a.fb(t),r!==null&&(i.handled=!0,o.Ea("Collapse/Expand Panel"),r.visible=!r.visible,o.eb("Collapse/Expand Panel")))}},n}),gh("CheckBoxButton",function(e){var t=x0(e);return e=Ou("Button",{desiredSize:new fi(14,14)},Ou(fr,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Tn,geometryStretch:hi,visible:!1},t!==""?new Wa("visible",t).Kx():[])),e.click=function(n,i){if(i instanceof An){var r=n.diagram;if(!(r===null||r.isReadOnly||t!==""&&r.model.isReadOnly)){n.handled=!0;var o=i.fb("ButtonIcon");r.Ea("checkbox"),o.visible=!o.visible,typeof i._doClick=="function"&&i._doClick(n,i),r.eb("checkbox")}}},e}),gh("CheckBox",function(e){e=x0(e),e=Ou("CheckBoxButton",e,{name:"Button",isActionable:!1,margin:new mi(0,1,0,0)});var t=Ou(An,"Horizontal",e,{isActionable:!0,cursor:e.cursor,margin:new mi(1),_buttonFillNormal:e._buttonFillNormal,_buttonStrokeNormal:e._buttonStrokeNormal,_buttonFillOver:e._buttonFillOver,_buttonStrokeOver:e._buttonStrokeOver,_buttonFillPressed:e._buttonFillPressed,_buttonStrokePressed:e._buttonStrokePressed,_buttonFillDisabled:e._buttonFillDisabled,mouseEnter:e.mouseEnter,mouseLeave:e.mouseLeave,actionDown:e.actionDown,actionUp:e.actionUp,actionCancel:e.actionCancel,actionMove:e.actionMove,click:e.click,_buttonClick:e.click});return e.mouseEnter=null,e.mouseLeave=null,e.actionDown=null,e.actionUp=null,e.actionCancel=null,e.actionMove=null,e.click=null,t}),at.None=xn=new Kt(at,"None",0),at.Default=or=new Kt(at,"Default",0),at.Vertical=Bi=new Kt(at,"Vertical",4),at.Horizontal=bi=new Kt(at,"Horizontal",5),at.Fill=Tn=new Kt(at,"Fill",3),at.Uniform=hi=new Kt(at,"Uniform",1),at.UniformToFill=Fr=new Kt(at,"UniformToFill",2),at.FlipVertical=Sr=new Kt(at,"FlipVertical",1),at.FlipHorizontal=jr=new Kt(at,"FlipHorizontal",2),at.FlipBoth=go=new Kt(at,"FlipBoth",3),at.make=Ou,at.getBuilders=function(){var e=new Kn,t;for(t in gf)if(t!==t.toLowerCase()){var n=gf.I(t);typeof n=="function"&&e.add(t,n)}return e.freeze(),e},at.defineBuilder=gh,at.build=function(e,t,n){for(var i=[],r=2;re&&(e+=360),e!==0){if(this.translate(t,n),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));var r=this.ha[1]*e+this.ha[3]*i,o=this.ha[0]*-i+this.ha[2]*e,a=this.ha[1]*-i+this.ha[3]*e;this.ha[0]=this.ha[0]*e+this.ha[2]*i,this.ha[1]=r,this.ha[2]=o,this.ha[3]=a,this.translate(-t,-n)}},vd.className="STransform";function Hd(e){this.type=e,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Hd.prototype.addColorStop=function(e,t){this.gx.push({offset:e,color:t})},Hd.className="SGradient";function kc(e,t,n){this.ownerDocument=e=t===void 0?Ke.document:t,this.cA="http://www.w3.org/2000/svg",e!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new nu(this,n)}kc.prototype.resize=function(e,t,n,i){return this.width!==e||this.height!==t?(this.width=e,this.height=t,this.style.width=n+"px",this.style.height=i+"px",this.Oa.setAttributeNS(null,"width",n+"px"),this.Oa.setAttributeNS(null,"height",i+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+n+" "+i),this.context.ww.firstElementChild.setAttributeNS(null,"width",n+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",i+"px"),!0):!1},kc.prototype.Ud=function(e,t,n){if(e=this.ownerDocument.createElementNS(this.cA,e),ot(t))for(var i in t)e.setAttributeNS(i==="href"?"http://www.w3.org/1999/xlink":"",i,t[i]);return n!==void 0&&(e.textContent=n),e},kc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},kc.prototype.focus=function(){this.Oa.focus()},kc.prototype.mx=function(){this.ownerDocument=null},dt.Object.defineProperties(kc.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(e){this.Oa.setAttribute("width",e+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(e){this.Oa.setAttribute("height",e+"px")}},style:{get:function(){return this.Oa.style}}}),kc.className="SVGSurface";function nu(e,t){this.Gv=e,this.svg=e.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new vd,this.j=S0(this),this.Nj=S0(this,"gojs-diagram"),this.Hl=this.ti=null;var n=Jr++,i=this.Ud("clipPath",{id:"mainClip"+n});i.appendChild(this.Ud("rect",{x:0,y:0,width:e.width,height:e.height})),this.ww=i,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(i),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+n+")"),this.eA={},this.isTemporary=!!t,this.filter="",this.bk=null}function oy(e,t,n,i,r,o,a){e.Nj===void 0?gp(e,t,n,i,r,o,a):e.Nj.setAttribute("transform","matrix("+t+", "+n+", "+i+", "+r+", "+o+", "+a+")")}U=nu.prototype,U.arc=function(e,t,n,i,r,o,a,l){var u=2*Math.PI,f=u-1e-6,p=n*Math.cos(i),x=n*Math.sin(i),A=e+p,R=t+x,_=o?0:1;i=o?i-r:r-i,(1e-6i&&(i=i%u+u),i>f?(this.path.push(["A",n,n,0,1,_,e-p,t-x]),this.path.push(["A",n,n,0,1,_,A,R])):1e-6=Math.PI),_,e+n*Math.cos(r),t+n*Math.sin(r)])},U.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},U.Se=function(e){this.addPath(this.path,this.rb,e||0)},U.bezierCurveTo=function(e,t,n,i,r,o){this.path.push(["C",e,t,n,i,r,o])},U.clearRect=function(){},U.clip=function(){this.Yl.clipPath=!0},U.closePath=function(){this.path.push(["z"])},U.createLinearGradient=function(e,t,n,i){var r=new Hd("linear");return r.x1=e,r.y1=t,r.x2=n,r.y2=i,r},U.createPattern=function(e){var t="";e instanceof HTMLCanvasElement&&(t=e.toDataURL()),e instanceof HTMLImageElement&&(t=e.getAttribute("src"));var n=this.eA;if(n[t])return"url(#"+n[t]+")";var i="PATTERN"+Jr++,r={x:0,y:0,width:e.width,height:e.height,href:t};return e=this.Ud("pattern",{width:e.width,height:e.height,id:i,patternUnits:"userSpaceOnUse"}),e.appendChild(this.Ud(pd,r)),this.svg.appendChild(e),n[t]=i,"url(#"+i+")"},U.createRadialGradient=function(e,t,n,i,r,o){var a=new Hd("radial");return a.x1=e,a.y1=t,a.r1=n,a.x2=i,a.y2=r,a.r2=o,a};function ay(e,t,n,i,r,o,a,l,u){i=l/i,r=u/r,o===0&&a===0||e.rb.translate(o,a),i===1&&r===1||e.rb.scale(i,r),t===0&&n===0||e.rb.translate(-t,-n)}U.drawImage=function(e,t,n,i,r,o,a,l,u){var f="";e instanceof HTMLCanvasElement&&(f=e.toDataURL()),e instanceof HTMLImageElement&&(f=e.getAttribute("src"));var p=e instanceof HTMLImageElement?e.naturalWidth:e.width;e=e instanceof HTMLImageElement?e.naturalHeight:e.height,i===void 0&&(o=t,a=n,l=i=p,u=r=e),i=i||0,r=r||0,l=l||0,u=u||0,ay(this,t,n,i,r,o||0,a||0,l,u),o={x:0,y:0,width:p||i,height:e||r,href:f},qe.$(i,l)&&qe.$(r,u)?f.toLowerCase().indexOf(".svg")===-1&&f.toLowerCase().indexOf("data:image/svg")===-1&&(o.preserveAspectRatio="xMidYMid slice"):o.preserveAspectRatio="none",(t!==0||n!==0||i!==p||r!==e)&&(i+=t,r+=n,o["clip-path"]="path('M "+t+","+n+" L "+i+" "+n+" L "+i+" "+r+" L "+t+" "+r+" z')"),vf(this,pd,o,this.rb),this.addElement(pd,o)},U.fill=function(e){e&&(this.Yl["fill-rule"]="evenodd"),dg(this,this.Yl)},U.ng=function(e,t){this.clipInsteadOfFill?this.clip():this.fill(t)},U.fillRect=function(e,t,n,i){e=[e,t,n,i],e={x:e[0],y:e[1],width:e[2],height:e[3]},vf(this,"fill",e,this.rb),this.addElement("rect",e)},U.ox=function(e,t,n,i){e={x:e,y:t,width:n,height:i},vf(this,"fill",e,this.rb),dg(this,e),this.svg.prepend(this.Ud("rect",e))},U.fillText=function(e,t,n){e=[e,t,n],t=this.textAlign,t==="left"?t="start":t==="right"?t="end":t==="center"&&(t="middle"),t={x:e[1],y:e[2],style:"font: "+this.font,"text-anchor":t},vf(this,"fill",t,this.rb),this.addElement("text",t,e[0])},U.lineTo=function(e,t){this.path.push(["L",e,t])},U.moveTo=function(e,t){this.path.push(["M",e,t])},U.quadraticCurveTo=function(e,t,n,i){this.path.push(["Q",e,t,n,i])},U.rect=function(e,t,n,i){this.path.push(["M",e,t],["L",e+n,t],["L",e+n,t+i],["L",e,t+i],["z"])},U.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var e=this.stack.pop();this.fillStyle=e.fillStyle,this.font=e.font,this.globalAlpha=e.globalAlpha,this.lineCap=e.lineCap,this.lineDashOffset=e.lineDashOffset,this.lineJoin=e.lineJoin,this.lineWidth=e.lineWidth,this.miterLimit=e.miterLimit,this.shadowBlur=e.shadowBlur,this.shadowColor=e.shadowColor,this.shadowOffsetX=e.shadowOffsetX,this.shadowOffsetY=e.shadowOffsetY,this.strokeStyle=e.strokeStyle,this.textAlign=e.textAlign,this.bk=e.bk},U.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var e=[],t=0;tp.offset?1:-1}),r=0;rn?(this.scale(n/e,1),this.translate((e-n)/2,0)):n>e&&(this.scale(1,e/n),this.translate(0,(n-e)/2)),this.Hm?this.clip():this.fill(t),e>n?(this.translate(-(e-n)/2,0),this.scale(1/(n/e),1)):n>e&&(this.translate(0,-(n-e)/2),this.scale(1,1/(e/n)))}else this.Hm?this.clip():this.fill(t)},U.jk=function(){this.Hm||this.stroke()},U.Ev=function(e,t,n){this.Ar=e,this.Br=t,this.Vg=n},U.js=function(e,t){var n=this.Z;n.setLineDash!==void 0&&(n.setLineDash(e),n.lineDashOffset=t)},U.fs=function(){var e=this.Z;e.setLineDash!==void 0&&(e.setLineDash(Mb),e.lineDashOffset=0)},U.Vc=function(e){e&&(this.dt=""),this.ct=this.et=""},U.Hs=function(){},dt.Object.defineProperties(yd.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(e){this.ct!==e&&(this.ct=this.Z.fillStyle=e)}},font:{get:function(){return this.Z.font},set:function(e){this.dt!==e&&(this.dt=this.Z.font=e)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(e){this.Z.globalAlpha=e}},lineCap:{get:function(){return this.Z.lineCap},set:function(e){this.Z.lineCap=e}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(e){this.Z.lineDashOffset=e}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(e){this.Z.lineJoin=e}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(e){this.Z.lineWidth=e}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(e){this.Z.miterLimit=e}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(e){this.Z.shadowBlur=e}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(e){this.Z.shadowColor=e}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(e){this.Z.shadowOffsetX=e}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(e){this.Z.shadowOffsetY=e}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(e){this.et!==e&&(this.et=this.Z.strokeStyle=e)}},textAlign:{get:function(){return this.Z.textAlign},set:function(e){this.Z.textAlign=e}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(e){this.Z.imageSmoothingEnabled=e}},filter:{get:function(){return this.Z.filter},set:function(e){this.Z.filter=e===""?"none":e}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(e){this.Hm=e}}});var Mb=Object.freeze([]);yd.className="CanvasSurfaceContext";function vp(){this.F=this.o=this.u=this.j=0}vp.className="ColorNumbers";function ao(e,t){Sf||(bg(),Sf=!0),Pi(this),this._isFrozen=!1,e===void 0?(this.na=vh,this.xk="black"):typeof e=="string"?(this.na=vh,this.xk=e):(this.na=e,this.xk="black"),e=this.na,e===eh?(this.Qd=As,this.Lk=Ps):this.Lk=e===Lu?this.Qd=Dr:this.Qd=Hi,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,t&&Object.assign(this,t)}ao.prototype.copy=function(){var e=new ao;return e.na=this.na,e.xk=this.xk,e.Qd=this.Qd.J(),e.Lk=this.Lk.J(),e.Gr=this.Gr,e.Xp=this.Xp,this.we!==null&&(e.we=this.we.copy()),e.cr=this.cr,e},U=ao.prototype,U.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},U.qb=function(e){e.classType===ao&&(this.type=e)},U.toString=function(){var e="Brush(";if(this.type===vh)e+=this.color;else if(e=this.type===eh?e+"Linear ":this.type===Lu?e+"Radial ":this.type===Ef?e+"Pattern ":e+"(unknown) ",e+=this.start+" "+this.end,this.colorStops!==null)for(var t=this.colorStops.iterator;t.next();)e+=" "+t.key+":"+t.value;return e+")"},U.addColorStop=function(e,t){return this._isFrozen&&Ut(this),(typeof e!="number"||!isFinite(e)||1e)&&Ot(e,"0 <= loc <= 1",ao,"addColorStop:loc"),this.we===null&&(this.we=new Kn),this.we.add(e,t),this.na===vh&&(this.type=eh),this.xe=null,this},U.Vz=function(e,t){if(this._isFrozen&&Ut(this),e=e===void 0||typeof e!="number"?.2:e,t=t===void 0?wf:t,this.type===vh)qc(this.color),this.color=bf(e,t);else if((this.type===eh||this.type===Lu)&&this.colorStops!==null)for(var n=this.colorStops.iterator;n.next();)qc(n.value),this.addColorStop(n.key,bf(e,t));return this};function cy(e,t,n){return t=t===void 0||typeof t!="number"?.2:t,n=n===void 0?wf:n,qc(e),bf(t,n)}U.Wy=function(e,t){if(this._isFrozen&&Ut(this),e=e===void 0||typeof e!="number"?.2:e,t=t===void 0?wf:t,this.type===vh)qc(this.color),this.color=bf(-e,t);else if((this.type===eh||this.type===Lu)&&this.colorStops!==null)for(var n=this.colorStops.iterator;n.next();)qc(n.value),this.addColorStop(n.key,bf(-e,t));return this};function hy(e,t,n){return t=t===void 0||typeof t!="number"?.2:t,n=n===void 0?wf:n,qc(e),bf(-t,n)}function pg(e,t,n){qc(e),e=zo.j;var i=zo.u,r=zo.o,o=zo.F;return qc(t),n===void 0&&(n=.5),"rgba("+Math.round((zo.j-e)*n+e)+", "+Math.round((zo.u-i)*n+i)+", "+Math.round((zo.o-r)*n+r)+", "+Math.round((zo.F-o)*n+o)+")"}U.Gx=function(){if(this.type===vh)return yf(this.color);if((this.type===eh||this.type===Lu)&&this.colorStops!==null){var e=this.colorStops;if(this.type===Lu)return yf(e.first().value);if(e.get(.5)!==null)return yf(e.get(.5));if(e.count===2)return e=e.Fa(),yf(pg(e[0].value,e[1].value));for(var t=e.iterator,n=-1,i=-1,r=1,o=1;t.next();){var a=t.key,l=Math.abs(.5-t.key);r>o&&l=r&&li&&(o=n,n=i,i=o,o=r),r=i-n,yf(pg(e.get(n),e.get(i),1-o/r))}return!1};function yf(e){return e?e instanceof ao?e.Gx():(qc(e),128>(299*zo.j+587*zo.u+114*zo.o)/1e3):!1}function bf(e,t){switch(t){case wf:t=100*gg(zo.j);var n=100*gg(zo.u),i=100*gg(zo.o);return El.j=.4124564*t+.3575761*n+.1804375*i,El.u=.2126729*t+.7151522*n+.072175*i,El.o=.0193339*t+.119192*n+.9503041*i,El.F=zo.F,t=yg(El.j/xf[0]),n=yg(El.u/xf[1]),i=yg(El.o/xf[2]),_c.j=116*n-16,_c.u=500*(t-n),_c.o=200*(n-i),_c.F=El.F,_c.j=Math.min(100,Math.max(0,_c.j+100*e)),e=(_c.j+16)/116,t=e-_c.o/200,El.j=xf[0]*dy(_c.u/500+e),El.u=xf[1]*(_c.j>w0*xg?Math.pow(e,3):_c.j/w0),El.o=xf[2]*dy(t),El.F=_c.F,e=-.969266*El.j+1.8760108*El.u+.041556*El.o,t=.0556434*El.j+-.2040259*El.u+1.0572252*El.o,zo.j=255*vg((3.2404542*El.j+-1.5371385*El.u+-.4985314*El.o)/100),zo.u=255*vg(e/100),zo.o=255*vg(t/100),zo.F=El.F,zo.j=Math.round(zo.j),255zo.j&&(zo.j=0),zo.u=Math.round(zo.u),255zo.u&&(zo.u=0),zo.o=Math.round(zo.o),255zo.o&&(zo.o=0),"rgba("+zo.j+", "+zo.u+", "+zo.o+", "+zo.F+")";case fy:return mg(),bu.o=Math.min(100,Math.max(0,bu.o+100*e)),"hsla("+bu.j+", "+bu.u+"%, "+bu.o+"%, "+bu.F+")";default:Ve("Unknown color space: "+t)}}function qc(e){Sf||(bg(),Sf=!0);var t=Sg;if(t!==null){t.clearRect(0,0,1,1),t.fillStyle="#000000";var n=t.fillStyle;t.fillStyle=e,t.fillStyle!==n?(t.fillRect(0,0,1,1),e=t.getImageData(0,0,1,1).data,zo.j=e[0],zo.u=e[1],zo.o=e[2],zo.F=e[3]/255):(t.fillStyle="#FFFFFF",t.fillStyle=e,zo.j=0,zo.u=0,zo.o=0,zo.F=1)}}function mg(){var e=zo.j/255,t=zo.u/255,n=zo.o/255,i=Math.max(e,t,n),r=Math.min(e,t,n),o=i-r;if(r=(i+r)/2,o===0)var a=e=0;else{switch(i){case e:a=(t-n)/o%6;break;case t:a=(n-e)/o+2;break;case n:a=(e-t)/o+4}a*=60,0>a&&(a+=360),e=o/(1-Math.abs(2*r-1))}bu.j=Math.round(a),bu.u=Math.round(100*e),bu.o=Math.round(100*r),bu.F=zo.F}function gg(e){return e/=255,.04045>=e?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vg(e){return .0031308>=e?12.92*e:1.055*Math.pow(e,1/2.4)-.055}function yg(e){return e>xg?Math.pow(e,1/3):(w0*e+16)/116}function dy(e){var t=e*e*e;return t>xg?t:(116*e-16)/w0}function $d(e,t){typeof e!="string"&&(e instanceof ao||Ve("Value for "+t+" must be a color string or a Brush, not "+e))}function bg(){Sg=Ca?new Hu(null,void 0,{willReadFrequently:!0}).context:null}dt.Object.defineProperties(ao.prototype,{type:{get:function(){return this.na},set:function(e){this._isFrozen&&Ut(this,e),this.na=e,this.start.Mc()&&(e===eh?this.start=As:e===Lu&&(this.start=Dr)),this.end.Mc()&&(e===eh?this.end=Ps:e===Lu&&(this.end=Dr)),this.xe=null}},color:{get:function(){return this.xk},set:function(e){this._isFrozen&&Ut(this,e),this.xk=e,this.xe=null}},start:{get:function(){return this.Qd},set:function(e){this._isFrozen&&Ut(this,e),this.Qd=e.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(e){this._isFrozen&&Ut(this,e),this.Lk=e.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(e){this._isFrozen&&Ut(this,e),0>e&&Ot(e,">= zero",ao,"startRadius"),this.Gr=e,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(e){this._isFrozen&&Ut(this,e),0>e&&Ot(e,">= zero",ao,"endRadius"),this.Xp=e,this.xe=null}},colorStops:{get:function(){return this.we},set:function(e){this._isFrozen&&Ut(this,e),this.we=e,this.xe=null}},pattern:{get:function(){return this.cr},set:function(e){this._isFrozen&&Ut(this,e),this.cr=e,this.xe=null}}}),ao.prototype.isDark=ao.prototype.Gx,ao.prototype.darkenBy=ao.prototype.Wy,ao.prototype.lightenBy=ao.prototype.Vz,ao.prototype.addColorStop=ao.prototype.addColorStop;var xg=216/24389,w0=24389/27,xf=[95.047,100,108.883],Sg=null,zo=new vp,bu=new vp,El=new vp,_c=new vp,Sf=!1;ao.className="Brush";var vh;ao.Solid=vh=new Kt(ao,"Solid",0);var eh;ao.Linear=eh=new Kt(ao,"Linear",1);var Lu;ao.Radial=Lu=new Kt(ao,"Radial",2);var Ef;ao.Pattern=Ef=new Kt(ao,"Pattern",4);var wf;ao.Lab=wf=new Kt(ao,"Lab",5);var fy;ao.HSL=fy=new Kt(ao,"HSL",6),ao.randomColor=function(e,t){e===void 0&&(e=128),t===void 0&&(t=Math.max(e,255));var n=Math.abs(t-e);t=Math.floor(e+Math.random()*n).toString(16);var i=Math.floor(e+Math.random()*n).toString(16);return e=Math.floor(e+Math.random()*n).toString(16),2>t.length&&(t="0"+t),2>i.length&&(i="0"+i),2>e.length&&(e="0"+e),"#"+t+i+e},ao.isValidColor=function(e){if(e==="black")return!0;if(e==="")return!1;Sf||(bg(),Sf=!0);var t=Sg;if(t===null)return!0;t.fillStyle="#000000";var n=t.fillStyle;return t.fillStyle=e,t.fillStyle!==n?!0:(t.fillStyle="#FFFFFF",n=t.fillStyle,t.fillStyle=e,t.fillStyle!==n)},ao.lighten=function(e){return cy(e)},ao.lightenBy=cy,ao.darken=function(e){return hy(e)},ao.darkenBy=hy,ao.mix=pg,ao.isDark=yf;function ls(){this.xa="Base"}ls.prototype.measure=function(){},ls.prototype.Yz=function(e,t,n,i,r){e.measure(t,n,i,r)},ls.prototype.arrange=function(){},ls.prototype.Ly=function(e,t,n,i,r,o){e.arrange(t,n,i,r,o)},ls.prototype.iA=function(e){e.Uj()},ls.prototype.gc=function(){},dt.Object.defineProperties(ls.prototype,{name:{get:function(){return this.xa},set:function(e){this.xa=e}},classType:{get:function(){return An}}}),ls.prototype.remeasureObject=ls.prototype.iA,ls.prototype.arrangeElement=ls.prototype.Ly,ls.prototype.measureElement=ls.prototype.Yz,ls.className="PanelLayout";function C0(){this.xa="Base"}xi(C0,ls),C0.prototype.measure=function(e,t,n,i,r,o,a){var l=i.length;e=th(e);for(var u=0;uoi&&(ms=Math.max(oi-id,0));var Jm=pn.oa===0;pn.oc=pn.oc+ms,pn.actual=pn.oa+ms,oi=Math.max(oi-(ms+(Jm?id:0)),0)}if(Xl.columnSpan===1&&(pl===xn||pl===Bi)){pn=e.Eb(fl);var o0=pn.Wc();ms=Math.max(Ad-pn.actual,0),ms+o0>Vn&&(ms=Math.max(Vn-o0,0));var Yv=pn.oa===0;pn.oc=pn.oc+ms,pn.actual=pn.oa+ms,Vn=Math.max(Vn-(ms+(Yv?o0:0)),0)}nd&&Xl.Uj()}}}}}Qt(Pe);var Kc=0,rh=0;o=e.columnCount;for(var tf=0;tf=e.rowCount);Lh++)pn=e.Fb(Pa.row+Lh),ms=0,ms=pl===Tn||pl===Bi?Math.max(pn.minimum,Sc[Pa.row+Lh]===0?pn.maximum:Math.min(Sc[Pa.row+Lh],pn.maximum)):Math.max(pn.minimum,isNaN(pn.Hc)?pn.maximum:Math.min(pn.Hc,pn.maximum)),sh.height+=ms,lu+=pn.minimum;for(var Ku=1;Ku=e.columnCount);Ku++)pn=e.Eb(Pa.column+Ku),ms=0,ms=pl===Tn||pl===bi?Math.max(pn.minimum,Bu[Pa.column+Ku]===0?pn.maximum:Math.min(Bu[Pa.column+Ku],pn.maximum)):Math.max(pn.minimum,isNaN(pn.Hc)?pn.maximum:Math.min(pn.Hc,pn.maximum)),sh.width+=ms,ng+=pn.minimum;Ls.width+=sh.width,Ls.height+=sh.height;var qf=Pa.margin,ld=qf.right+qf.left,s0=qf.top+qf.bottom;Pa.measure(Ls.width,Ls.height,ng,lu);for(var ep=Pa.measuredBounds,Dc=Math.max(ep.width+ld,0),Od=Math.max(ep.height+s0,0),ud=0,tp=0;tp=e.rowCount);tp++)pn=e.Fb(Pa.row+tp),ud+=pn.total||0;if(ud=Rh)&&!(Pa.row+lh>=e.rowCount);lh++){pn=e.Fb(Pa.row+lh);var Ph=pn.oa||0,Ld=Dh(Pa,pn,Yc);pn.actual=Math.min(pn.maximum,Ph+Ld),pn.oa!==Ph&&(Rh-=pn.oa-Ph)}for(;0Ec&&(pn.actual=Math.min(pn.maximum,Ec+Rh),pn.oa!==Ec&&(Rh-=pn.oa-Ec)),pn.index===0)break;pn=e.Fb(pn.index-1)}}for(var of=0,Fh=0;Fh=e.columnCount);Fh++)pn=e.Eb(Pa.column+Fh),of+=pn.total||0;if(of=af)&&!(Pa.column+Rd>=e.columnCount);Rd++){pn=e.Eb(Pa.column+Rd);var l0=pn.oa||0,Jv=uh(Pa,pn,Qv);pn.actual=Math.min(pn.maximum,l0+Jv),pn.oa!==l0&&(af-=pn.oa-l0)}for(;0ig&&(pn.actual=Math.min(pn.maximum,ig+af),pn.oa!==ig&&(af-=pn.oa-ig)),pn.index===0)break;pn=e.Eb(pn.index-1)}}}}Qt(Ue),fi.free(sh),fi.free(Ls),Sc!==void 0&&Qt(Sc),Bu!==void 0&&Qt(Bu);var sf=0,lf=0,rg=e.desiredSize,Tb=e.maxSize;pl=zl(e,!0);var u0=rh=Kc=0,c0=0;o=e.columnCount;for(var og=0;og=e.rowCount);pn++){var tr=e.Fb(Pe+pn);tr.oa!==0&&(le.height+=tr.total)}for(pn=1;pn=e.columnCount);pn++)tr=e.Eb(Ge+pn),tr.oa!==0&&(le.width+=tr.total);var Wi=rt.oa+le.width,Qr=Ue.oa+le.height;pn=l,tr=u;var Lo=Wi,ps=Qr,Ss=l,dl=u,ms=Wi,kh=Qr;l+Wi>n.width&&(ms=Math.max(n.width-l,0)),u+Qr>n.height&&(kh=Math.max(n.height-u,0));var Va=qn.alignment;if(Va.Xb()){Va=e.defaultAlignment,Va.sb()||(Va=Dr);var yc=Va.x,fl=Va.y,Ih=Va.offsetX;Va=Va.offsetY;var Eu=rt.alignment,Wu=Ue.alignment;Eu.sb()&&(yc=Eu.x,Ih=Eu.offsetX),Wu.sb()&&(fl=Wu.y,Va=Wu.offsetY)}else yc=Va.x,fl=Va.y,Ih=Va.offsetX,Va=Va.offsetY;(isNaN(yc)||isNaN(fl))&&(fl=yc=.5,Va=Ih=0),Eu=Dn.width,Wu=Dn.height;var ou=qn.margin,Xl=ou.left+ou.right,nd=ou.top+ou.bottom,bc=fc(qn,Ue,rt,!1);!isNaN(qn.desiredSize.width)||bc!==Tn&&bc!==bi||(Eu=Math.max(Wi-Xl,0)),!isNaN(qn.desiredSize.height)||bc!==Tn&&bc!==Bi||(Wu=Math.max(Qr-nd,0)),Wi=qn.maxSize,Qr=qn.minSize,Eu=Math.min(Wi.width,Eu),Wu=Math.min(Wi.height,Wu),Eu=Math.max(Qr.width,Eu),Wu=Math.max(Qr.height,Wu),Wi=Wu+nd,pn+=Lo*yc-(Eu+Xl)*yc+Ih+ou.left,tr+=ps*fl-Wi*fl+Va+ou.top,qn.visible&&(po(Ss,dl,ms,kh,pn,tr,Dn.width,Dn.height)?qn.arrange(pn,tr,Eu,Wu):qn.arrange(pn,tr,Eu,Wu,new Wt(Ss,dl,ms,kh)))}}}for(fi.free(le),e=0;e=n&&(n=1);var i=e.gridCellSize,r=i.width;i=i.height;var o=e.naturalBounds,a=e.actualBounds,l=o.width,u=o.height,f=Math.ceil(l/r),p=Math.ceil(u/i),x=e.gridOrigin,A=x.x;x=x.y,t.save(),t.beginPath(),t.rect(0,0,l,u),t.clip(),t.Se();for(var R=[],_=e.O.s,V=_.length,be=0;beUe)){le=Cg(le.figure);for(var Ge=0;GeUe&&Pe.push(rt))}}}}for(_=e.O.s,V=_.length,be=0;ber*le*n))){if(Ue=At.segmentIndex,(!isFinite(Ue)||isNaN(Ue))&&(Ue=0),0>Ue&&(Ue=le-Math.min(-Ue,le)),Ue=Math.round(Ue%le),le=At.opacity,Ge=1,le!==1){if(le===0)continue;Ge=t.globalAlpha,t.globalAlpha=Ge*le}rt=R[be];var Vn=!1,oi=At.strokeDashArray;if(oi!==null&&(Vn=!0,t.js(oi,At.strokeDashOffset)),At.figure==="LineV"&&At.stroke!==null&&0t)return e%t===n;if(e%t!==n)return!1;t=i.length;for(var r=0;rx)Pe.measure(1/0,1/0,0,0),Ue=Pe.measuredBounds,n.ed(Ue),R.push(Ue);else{var Ge=Pe.segmentIndex,rt=Pe.segmentFraction,At=Pe.alignmentFocus;At.Mc()&&(At=Dr);var Vn=Pe.segmentOrientation,oi=Pe.segmentOffset;if(isNaN(Ge)){var qn=u.ua;Ue=Lt(),qn.Qu(rt,Ue);var Dn=he.allocAt(Ue[0],Ue[1]);if(Dn.add(u.i(0)),qn.type===Pn.j?Dn.offset(-qn.startX,-qn.startY):(qn=qn.figures.first(),qn!==null&&Dn.offset(-qn.startX,-qn.startY)),qn=Ue[2],Vn!==Cl){var pn=u.computeAngle(Pe,Vn,qn);Pe.Kb=pn}pn=Dn.x-t.x;var tr=Dn.y-t.y;he.free(Dn),Qt(Ue)}else if(Ge<-x||Ge>=x)Ue=he.alloc(),u.vg(),u.computeMidPoint(Ue),qn=u.midAngle,Vn!==Cl&&(pn=u.computeAngle(Pe,Vn,qn),Pe.Kb=pn),pn=Ue.x-t.x,tr=Ue.y-t.y,he.free(Ue);else{if(pn=0,0<=Ge?(tr=p.M(Ge),Ue=GeWi+10?0<=Ge?qn.ab(tr):tr.ab(qn):Wi>Dn+10?0<=Ge?Ue.ab(pn):pn.ab(Ue):0<=Ge?qn.ab(pn):pn.ab(qn)}else qn=0<=Ge?tr.ab(Ue):Ue.ab(tr);Vn!==Cl&&(pn=u.computeAngle(Pe,Vn,qn),Pe.Kb=pn),pn=tr.x+(Ue.x-tr.x)*rt-t.x,tr=tr.y+(Ue.y-tr.y)*rt-t.y}Pe.measure(1/0,1/0,0,0),Ue=Pe.measuredBounds,Dn=Pe.naturalBounds;var Qr=0;Pe instanceof fr&&(Qr=Pe.strokeWidth),Wi=Dn.width+Qr;var Lo=Dn.height+Qr;_.reset(),_.translate(-Ue.x,-Ue.y),_.scale(Pe.scale,Pe.scale),_.rotate(Vn===Cl?Pe.angle:qn,Wi/2,Lo/2),Vn!==Op&&Vn!==Rp||_.rotate(90,Wi/2,Lo/2),Vn!==Lp&&Vn!==Dp||_.rotate(-90,Wi/2,Lo/2),Vn===cm&&(45qn||225qn)&&_.rotate(-qn,Wi/2,Lo/2),Dn=new Wt(0,0,Wi,Lo),V.xi(Dn,At),_.Ga(V),At=-V.x+Qr/2*Pe.scale,Pe=-V.y+Qr/2*Pe.scale,be.assign(oi),Qr=isNaN(oi.x);var ps=isNaN(oi.y);if(Qr||ps){Wi=Wi/2+3,Lo=Lo/2+3;var Ss=45<=qn&&135>=qn,dl=225<=qn&&315>=qn;Vn===Cl&&(Ss||dl)?(be.x=ps?Wi:oi.y,be.y=Qr?Lo:oi.x,Ss?0<=Ge||isNaN(Ge)&&.5>rt||!Qr||(be.y=-Lo):dl&&((0<=Ge||isNaN(Ge)&&.5>rt)&&Qr&&(be.y=-Lo),ps&&(be.x=-Wi))):(Qr&&(be.x=0<=Ge||isNaN(Ge)&&.5>rt?Wi:-Wi),ps&&(be.y=-Lo),be.rotate(qn))}else be.rotate(qn);pn+=be.x,tr+=be.y,Dn.set(Ue),Dn.h(pn+At,tr+Pe,Ue.width,Ue.height),R.push(Dn),n.ed(Dn)}}if(a!==null)for(i=a.labelNodes;i.next();)i.value.measure(1/0,1/0);e.jg=n,e.position.h(t.x+n.x,t.y+n.y),Ba(r,n.width||0,n.height||0),sr.free(_),he.free(V),he.free(be)}}}},D0.prototype.arrange=function(e,t){var n=t.length;if(e instanceof Zr||e instanceof Fn){var i=e,r=null;e instanceof Zr&&(r=e,i=r.adornedPart);var o=e instanceof Zr?null:i.path,a=e.j;if(a.length!==0){var l=0;if(o!==null&&l=n)_=he.alloc(),R=x,be=_,R.vg(),R.computeMidPoint(be),R=x.midAngle,f!==Cl&&(x=x.computeAngle(a,f,R),a.angle=x),x=_.x,be=_.y,he.free(_);else{if(V=0,0<=l?(_=t.s[l],be=lPe+10?0<=l?R.ab(_):_.ab(R):Pe>le+10?0<=l?be.ab(V):V.ab(be):0<=l?R.ab(V):V.ab(R)}else R=0<=l?_.ab(be):be.ab(_);f!==Cl&&(x=x.computeAngle(a,f,R),a.angle=x),x=_.x+(be.x-_.x)*u,be=_.y+(be.y-_.y)*u}if(A.ys())a.location=new he(x,be);else{A.Mc()&&(A=Dr),_=sr.alloc(),_.reset(),_.scale(a.scale,a.scale),_.rotate(a.angle,0,0);var Ue=a.naturalBounds;V=Wt.allocAt(0,0,Ue.width,Ue.height),le=he.alloc(),le.xi(V,A),_.Ga(le),A=-le.x,Pe=-le.y;var Ge=Ue.width,rt=Ue.height;Ue=he.alloc(),Ue.assign(p);var At=isNaN(p.x),Vn=isNaN(p.y);if(At||Vn){Ge=Ge/2+3,rt=rt/2+3;var oi=45<=R&&135>=R,qn=225<=R&&315>=R;f===Cl&&(oi||qn)?(Ue.x=Vn?Ge:p.y,Ue.y=At?rt:p.x,oi?0<=l||isNaN(l)&&.5>u||!At||(Ue.y=-rt):qn&&((0<=l||isNaN(l)&&.5>u)&&At&&(Ue.y=-rt),Vn&&(Ue.x=-Ge))):(At&&(Ue.x=0<=l||isNaN(l)&&.5>u?Ge:-Ge),Vn&&(Ue.y=-rt),Ue.rotate(R))}else Ue.rotate(R);x+=Ue.x,be+=Ue.y,_.pp(V),A+=V.x,Pe+=V.y,l=he.allocAt(x+A,be+Pe),a.move(l),he.free(l),he.free(Ue),he.free(le),Wt.free(V),sr.free(_)}}r!==null?r.Ul(!1):i.Ul(!1),i=jy(e),e.location.h(e.position.x+i.x,e.position.y+i.y),he.free(i)}};function py(e,t,n,i){if(yu(i)!==!1){var r=i.strokeWidth;r===0&&e instanceof Zr&&e.type===An.Link&&e.adornedObject instanceof fr&&(r=e.adornedObject.strokeWidth),r*=i.Ca,e instanceof Fn&&e.ua!==null?(e=e.geometry.bounds,i.Ge(e.x-r/2,e.y-r/2,e.width+r,e.height+r)):e instanceof Zr&&e.adornedPart.ua!==null?(e=e.adornedPart.ua.bounds,i.Ge(e.x-r/2,e.y-r/2,e.width+r,e.height+r)):i.Ge(-(r/2),-(r/2),t+r,n+r),r=i.desiredSize,r.w()||i.ua===null?i.dc.h(0,0,r.width,r.height):i.dc.assign(i.ua.bounds),qa(i,!1)}}function bp(){this.xa="Base"}xi(bp,ls),bp.prototype.measure=function(e,t,n,i,r,o,a){var l=e.Pb();e.graduatedBounds=[];var u=l.margin,f=u.right+u.left,p=u.top+u.bottom;l.measure(t,n,o,a);var x=l.measuredBounds,A=new Wt(-u.left,-u.top,Math.max(x.width+f,0),Math.max(x.height+p,0));e.graduatedBounds.push(A),r.assign(A);for(var R=l.geometry,_=l.strokeWidth,V=R.flattenedSegments,be=R.flattenedLengths,le=R.flattenedTotalLength,Pe=V.length,Ue=0,Ge=0,rt=Lt(),At=0;AtWi&&(Wi+=360),oi.push(Wi)}Ue=pn,Ge=tr}rt.push(oi)}if(e.graduatedIntervals===null){for(var Qr=[],Lo=e.O.s,ps=Lo.length,Ss=0;Sskh)){for(var Va=0;Vakh&&ms.push(fl)}}}}}e.graduatedIntervals=Qr}var Ih=e.graduatedIntervals,Eu=e.O.s,Wu=Eu.length,ou=0,Xl=0,nd=le;e.graduatedMarks=[];for(var bc,Vf=0;Vfr0*pl*le/e.graduatedRange&&au.graduatedSkip===null)){var ef=be[0][0],Oc=0,Ql=0;Xl=le*au.graduatedStart-1e-4,nd=le*au.graduatedEnd+1e-4;var Ad=r0*pl,su=e.graduatedTickBase;if(sue.graduatedMin+Ad&&(su-=Math.floor((su-e.graduatedMin)/Ad)*Ad);for(var Jm=Ih[Vf],o0=su,Yv=1e-6*e.graduatedMax,Kc=1;su<=e.graduatedMax+Yv;Kc++){e:{for(var rh=Jm.length,tf=0;tf-Kf){var od=!1;break e}}od=!0}if(od&&(su>e.graduatedMax&&(su=e.graduatedMax),au.graduatedSkip===null||au instanceof Do&&!au.graduatedSkip(su,au)||au instanceof fr&&!au.graduatedSkip(su,au))&&(ou=(su-e.graduatedMin)*le/e.graduatedRange,ou>le&&(ou=le),Xl<=ou&&ou<=nd)){for(var Zc=rt[Oc][Ql],Mh=be[Oc][Ql];Ocef&&Qloh&&.4995oh?0oh||.9995nf){var Yf=1-Math.abs(.5-oh);Zc=(xc*Yf+Rc*(1-Yf))%360;break e}}}Zc=xc}if(au instanceof Do){var uc="";au.graduatedFunction!==null?(uc=au.graduatedFunction(su,au),uc=uc!=null?uc.toString():""):uc=(+su.toFixed(2)).toString(),uc!==""&&bc.push({$l:Zf,angle:Zc,text:uc})}else bc.push({$l:Zf,angle:Zc})}su=o0+Kc*Ad}}}e.graduatedMarks.push(bc)}Qt(rt);var Ls=e.graduatedMarks;if(Ls!==null)for(var a0=i.length,Il=0;Ilcc;cc++){switch(cc){case 0:ql.h(sh,Sc);break;case 1:ql.h(sh+Xf,Sc);break;case 2:ql.h(sh,Sc+Md);break;case 3:ql.h(sh+Xf,Sc+Md)}ql.rotate(Pa+Ka.angle),ql.offset(tg,Jf),Qf===0&&cc===0?Bu.h(ql.x,ql.y,0,0):Bu.Ye(ql),ql.offset(-tg,-Jf),ql.rotate(-Pa-Ka.angle)}he.free(ql),ah.graduatedBounds!==null&&ah.graduatedBounds.push(Bu),Pr(Oh,Bu.x,Bu.y,Bu.width,Bu.height)}else if(Ka instanceof Do){var Vu=e,ng=r;Vu.temporaryTextBlock===null&&(Vu.temporaryTextBlock=new Do);var lu=Vu.temporaryTextBlock;Iy(lu,Ka);var Lh=Ka.alignmentFocus;Lh.Mc()&&(Lh=As);for(var Ku=Ka.segmentOrientation,qf=Ka.segmentOffset,ld=new Wt,s0=0,ep=0,Dc=0,Od=0,ud=0,tp=Ml.length,Rh=0;RhDc||225Dc)&&Ec.rotate(-Dc,Ph/2,Ld/2);var of=Wt.allocAt(0,0,Ph,Ld),Fh=he.alloc();Fh.xi(of,Lh),Ec.Ga(Fh);var af=-Fh.x,Qv=-Fh.y,uh=he.alloc();uh.assign(qf),isNaN(uh.x)&&(uh.x=Ph/2+3),isNaN(uh.y)&&(uh.y=-(Ld/2+3)),uh.rotate(Dc),s0+=uh.x+af,ep+=uh.y+Qv;var Rd=new Wt(s0,ep,Dh.width,Dh.height),l0=new Wt(Dh.x,Dh.y,Dh.width,Dh.height),Jv=new Wt(lh.x,lh.y,lh.width,lh.height);Yc.Sz=Od,Yc.lineCount=lu.lineCount,Yc.lines=[lu.Cb,lu.Ih,lu.df,lu.Le,lu.Qc,lu.Qb,lu.ze],Yc.actualBounds=Rd,Yc.measuredBounds=l0,Yc.naturalBounds=Jv,Rh===0?ld.assign(Rd):ld.ed(Rd),he.free(uh),he.free(Fh),Wt.free(of),sr.free(Ec)}Vu.graduatedBounds!==null&&Vu.graduatedBounds.push(ld),Pr(ng,ld.x,ld.y,ld.width,ld.height)}qa(Ka,!1)}}},bp.prototype.arrange=function(e,t,n){if(e.graduatedBounds!==null){var i=e.Pb(),r=e.graduatedMarks;if(r!==null){var o=e.graduatedBounds,a=0,l=o[a];a++,i!==null&&i.arrange(l.x-n.x,l.y-n.y,l.width,l.height);for(var u=t.length,f=0;f=a&&(a=1);for(var l=o.actualBounds,u=e.O.s,f=e.graduatedMarks,p=u.length,x=0;xe.graduatedTickUnit*A.interval*o.geometry.flattenedTotalLength/e.graduatedRange*a&&A.graduatedSkip===null)){var V=A.measuredBounds,be=A.strokeWidth*A.scale,le=A.alignmentFocus;le.Mc()&&(le=As);for(var Pe=0;Pe<_;Pe++){var Ue=R[Pe].$l,Ge=R[Pe].angle,rt=le,At=A.Ab;At.reset(),At.translate(Ue.x+l.x,Ue.y+l.y),At.rotate(Ge+A.angle,0,0),At.translate(-V.width*rt.x+rt.offsetX+be/2,-V.height*rt.y+rt.offsetY+be/2),At.scale(A.scale,A.scale),Uu(A,!1),A.wh.set(A.Ab),A.Kk=A.scale,Mu(A,!1),A.gc(t,n),r&&(e.svg.appendChild(A.svg),A.svg=null),A.Ab.reset()}}}else if(A instanceof Do)for(e.temporaryTextBlock===null&&(e.temporaryTextBlock=new Do),V=e.temporaryTextBlock,Iy(V,A),be=0;be<_;be++)le=R[be],le.actualBounds&&le.measuredBounds&&le.naturalBounds&&(V.ec=le.text||"",V.Kb=le.Sz||0,V.Gc=le.lineCount||0,Pe=le.lines,Pe!==void 0&&(V.Cb=Pe[0],V.Ih=Pe[1],V.df=Pe[2],V.Le=Pe[3],V.Qc=Pe[4],V.Qb=Pe[5],V.ze=Pe[6]),le.naturalBounds&&(V.dc=le.naturalBounds),le.actualBounds&&(Pe=le.actualBounds,V.arrange(Pe.x,Pe.y,Pe.width,Pe.height)),Pe=le.actualBounds,V.arrange(Pe.x,Pe.y,Pe.width,Pe.height),Ue=le.measuredBounds,le=le.naturalBounds,Ge=V.Ab,Ge.reset(),Ge.translate(Pe.x+l.x,Pe.y+l.y),Ge.translate(-Ue.x,-Ue.y),V.no(Ge,le.x,le.y,le.width,le.height),Uu(V,!1),V.wh.set(V.Ab),V.Kk=V.scale,Mu(V,!1),V.Ng=A.part,V.Me=A.panel,V.gc(t,n),V.Me=null,V.Ng=null,r&&(e.svg.appendChild(V.svg),V.svg=null))}}n.$i=i,t.restore(),t.Vc(!0)};function An(e,t){if(at.call(this),this.na=null,e===void 0)this.na=An.Position;else if(typeof e=="string"){var n=ic.I(e);n!==null&&(this.na=n)}else e instanceof ls?this.na=e:e&&(this.na=An.Position,t=e);this.na===null&&Ve("Panel type not specified or PanelLayout not loaded: "+e),this.l=this.l|4194304|(this.na===An.Grid?1048576:0),this.O=new Xt,this.yb=is,this.Tm=Wr,this.Uf=or,this.$g=null,this.$e="",this.jg=new Wt(NaN,NaN,NaN,NaN),this.T=this.F=null,this.xo=hi,this.jn=Ya,this.kn=vr,this.ub=this.ra=null,this.zn=NaN,this.ge=this.Hh=null,t&&Object.assign(this,t)}xi(An,at),An.prototype.cloneProtected=function(e){at.prototype.cloneProtected.call(this,e),e.na=this.na,e.yb=this.yb.J(),e.Tm=this.Tm.J(),e.Uf=this.Uf,e.$e=this.$e,e.jg.assign(this.jg),this.T!==null&&(e.T=this.T.copy(e)),e.xo=this.xo,e.jn=this.jn.J(),e.kn=this.kn.J(),this.ra!==null&&(e.ra=this.ra.copy()),e.ub=this.ub,e.zn=this.zn,e.Hh=this.Hh},An.prototype.Af=function(e){at.prototype.Af.call(this,e),e.O=this.O;for(var t=e.O.s,n=t.length,i=0;ia.height)continue}else if(f.position>a.width)continue;var p=f.separatorStrokeWidth;isNaN(p)&&(p=n?e.defaultRowSeparatorStrokeWidth:e.defaultColumnSeparatorStrokeWidth);var x=f.separatorStroke;if(x===null&&(x=n?e.defaultRowSeparatorStroke:e.defaultColumnSeparatorStroke),p!==0&&x!==null){Ma(e,t,x,!1,!1,a,o),x=!1;var A=f.separatorDashArray;A===null&&(A=n?e.defaultRowSeparatorDashArray:e.defaultColumnSeparatorDashArray),A!==null&&(x=!0,t.js(A,0)),t.beginPath(),A=f.position+p,n?A>a.height&&(p-=A-a.height):A>a.width&&(p-=A-a.width),f=f.position+p/2,t.lineWidth=p,p=e.yb,n?(f+=p.top,A=a.width-p.right,t.moveTo(p.left,f),t.lineTo(A,f)):(f+=p.left,A=a.height-p.bottom,t.moveTo(f,p.top),t.lineTo(f,A)),t.stroke(),t.Se(),x&&t.fs()}}}}function P0(e,t,n,i,r){for(var o=i.length,a=e.actualBounds,l=e.naturalBounds,u=gy(e,!0),f=gy(e,!1),p=0;pA)){var R=x.Wc(),_=x.separatorStrokeWidth;isNaN(_)&&(_=n?e.defaultRowSeparatorStrokeWidth:e.defaultColumnSeparatorStrokeWidth);var V=x.separatorStroke;V===null&&(V=n?e.defaultRowSeparatorStroke:e.defaultColumnSeparatorStroke),(V===null||x.index===(n?u:f))&&(_=0),R-=_,_=x.position+_,R+=x.actual,_+R>A&&(R=A-_),0>=R||(A=e.yb,Ma(e,t,x.background,!0,!1,l,a),n?t.fillRect(A.left,_+A.top,a.width-(A.left+A.right),R):t.fillRect(_+A.left,A.top,R,a.height-(A.top+A.bottom)))}}}}function gy(e,t){for(var n=t?e.rowCount:e.columnCount,i=0;ii&&r.set(_),he.free(_)),he.free(p),o&&r.transform(a),f},U.Gj=function(){for(var e=this.O.s,t=e.length,n=0;nn||o>i)&&(this.v(),this.measure(t>n?n:t,o>i?i:o,0,0));break;case Tn:this.v(!0),this.measure(n+l,i+a,0,0);break;case bi:this.v(!0),this.measure(n+l,o+a,0,0);break;case Bi:this.v(!0),this.measure(t+l,i+a,0,0)}}this.na.arrange(this,r,this.jg)}},U.gh=function(e){var t=this.naturalBounds,n=th(this);if(po(0,0,t.width,t.height,e.x,e.y)){t=this.O.s;for(var i=t.length,r=he.allocAt(0,0);i--;){var o=t[i];if((o.visible||o===n)&&(Ki(r.set(e),o.transform),o.ca(r)))return he.free(r),!0}return he.free(r),!(this.Ma===null&&this.areaBackground===null)}return!1},U.ks=function(e){if(this.bindingId===e)return this;for(var t=this.O.s,n=t.length,i=0;iA.width||x.y>A.height||0>x.x+x.width||0>x.y+x.height||(x=p,p=p instanceof An?p:null,A=sr.alloc(),A.set(a),(p!==null?p.Cf(e,t,n,i,r,A):fs(x,e,i,A))&&(t!==null&&(x=t(x)),x===null||n!==null&&!n(x)||r.add(x)),sr.free(A))}}return o===void 0&&sr.free(a),i}return o===void 0&&sr.free(a),!1};function Tg(e,t,n,i){for(var r=e.O.s,o=r.length;o--;){var a=r[o];if(a.visible){var l=a.actualBounds,u=e.naturalBounds;l.x>u.width||l.y>u.height||0>l.x+l.width||0>l.y+l.height||(a instanceof An&&Tg(a,t,n,i),t!==null&&(a=t(a)),a===null||n!==null&&!n(a)||i.add(a))}}}U.og=function(e,t,n,i,r,o){if(this.pickable===!1)return!1;n===void 0&&(n=null),i===void 0&&(i=null);var a=this.naturalBounds,l=this.se(),u=l?e:Ki(he.allocAt(e.x,e.y),this.transform),f=l?t:Ki(he.allocAt(t.x,t.y),this.transform),p=u.Bf(f),x=0be.width||V.y>be.height||0>V.x+V.width||0>V.y+V.height))&&(_.se()?(V=_.transform,Ki(u.set(e),V),Ki(f.set(t),V)):(u.set(e),f.set(t)),V=_,_=_ instanceof An?_:null,(_!==null?_.og(u,f,n,i,r,o):V.tx(u,f,r))&&(n!==null&&(V=n(V)),V===null||i!==null&&!i(V)||o.add(V)))}}he.free(u),he.free(f)}return r?x:a}return!1};function Ng(e){var t=null;return e instanceof fr&&(t=e.spot1,t===Wr&&(t=null),e=e.geometry,e!==null&&t===null&&(t=e.spot1)),t===null&&(t=ea),t}function Ag(e){var t=null;return e instanceof fr&&(t=e.spot2,t===Wr&&(t=null),e=e.geometry,e!==null&&t===null&&(t=e.spot2)),t===null&&(t=Ho),t}U.add=function(e){for(var t=[],n=0;n=r.count&&e>=r.count)return;r.mb(o),i=o}else Ve("element "+t.toString()+" has panel "+n.toString()+" but is not contained by it.")}(0>e||e>r.count)&&(e=r.count),r.Gb(e,t),(e===0||t.isPanelMain)&&(this.$g=null),yu(this)||this.v(),t.v(!1),t.portId!==null?this.Te=!0:t instanceof An&&t.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||B0(this,t,!1),n=this.part,n!==null&&(n.Rh=null,n.ag=NaN,this.Te&&n instanceof Xn&&(n.Te=!0),n.Te&&n instanceof Xn&&(n.wc=null),r=this.diagram,r!==null&&r.undoManager.isUndoingRedoing||(i!==-1&&n.cb(na,"elements",this,t,null,i,null),n.cb(Jo,"elements",this,null,t,null,e)))};function kg(e,t){e.l=t?e.l|16777216:e.l&-16777217}U.remove=function(e){for(var t=this.O.s,n=t.length,i=-1,r=0;re&&Ot(e,">= 0",An,"getRowDefinition:idx"),e=Math.round(e);var t=this.rowDefs;if(t[e]===void 0){var n=new es;n.wi(this),n.isRow=!0,n.index=e,t[e]=n,this.cb(Jo,"rowdefs",this,null,n,null,e)}return t[e]},U.oA=function(e){if(0>e&&Ot(e,">= 0",An,"removeRowDefinition:idx"),this.rowCount!==0){e=Math.round(e);var t=this.rowDefs,n=t[e];if(n){t[e]=void 0;for(var i=t.length-1;0<=i&&t[i--]===void 0;)t.length--;this.cb(na,"rowdefs",this,n,null,e,null),this.v()}}};function Sy(e,t,n){var i=e.rowDefs;if(!(0>t)){if(i[t]=n instanceof es?n:void 0,!n)for(t=i.length-1;0<=t&&i[t--]===void 0;)i.length--;e.v()}}U.Eb=function(e){0>e&&Ot(e,">= 0",An,"getColumnDefinition:idx"),e=Math.round(e);var t=this.colDefs;if(t[e]===void 0){var n=new es;n.wi(this),n.isRow=!1,n.index=e,t[e]=n,this.cb(Jo,"coldefs",this,null,n,null,e)}return t[e]},U.jA=function(e){if(0>e&&Ot(e,">= 0",An,"removeColumnDefinition:idx"),this.columnCount!==0){e=Math.round(e);var t=this.colDefs,n=t[e];if(n){t[e]=void 0;for(var i=t.length-1;0<=i&&t[i--]===void 0;)t.length--;this.cb(na,"coldefs",this,n,null,e,null),this.v()}}};function Ey(e,t,n){var i=e.colDefs;if(!(0>t)){if(i[t]=n instanceof es?n:void 0,!n)for(t=i.length-1;0<=t&&i[t--]===void 0;)i.length--;e.v()}}U.Gy=function(e){var t=null;return e.isRow?t=this.Fb(e.index):e.isRow||(t=this.Eb(e.index)),t&&_0(t,e),this},U.Hy=function(e,t){return(e=this.Fb(e))&&_0(e,new es(t)),this},U.By=function(e,t){return(e=this.Eb(e))&&_0(e,new es(t)),this},U.nz=function(e){if(0>e||this.type!==An.Table||this.rowCount===0)return-1;for(var t=0,n=this.rowDefs,i=n.length,r=this.topIndex;re||this.type!==An.Table||this.columnCount===0)return-1;for(var t=0,n=this.colDefs,i=n.length,r=this.leftIndex;re;)this.pc(this.O.length-1,!1);Cy(this,this.itemArray)};function Cy(e,t){var n=xp(e);if(t===null||t.length===0)for(;e.O.length>n;)e.pc(e.O.length-1,!1);else if(e.O.length<=n){n=t.length;for(var i=0;in)){var r=Mg(e,t);if(r=Og(e,r),r!==null){if($u(r),r=r.copy(),r.l&16777216){var o=e.ih();o!==null&&kg(o,!0)}typeof t=="object"&&(e.ge===null&&(e.ge=new Kn),e.ge.add(t,r)),o=n+xp(e),e.Gb(o,r),i&&(r.ub=t,Ig(e,o,n),r.ub=null),r.data=t}}}function Ig(e,t,n){for(e=e.O;te&&Ot(e,">= 0",An,"padding"),e=new mi(e)):(0>e.left&&Ot(e.left,">= 0",An,"padding:value.left"),0>e.right&&Ot(e.right,">= 0",An,"padding:value.right"),0>e.top&&Ot(e.top,">= 0",An,"padding:value.top"),0>e.bottom&&Ot(e.bottom,">= 0",An,"padding:value.bottom"));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.v(),this.g("padding",t,e))}},defaultAlignment:{get:function(){return this.Tm},set:function(e){var t=this.Tm;t.D(e)||(this.Tm=e=e.J(),this.v(),this.g("defaultAlignment",t,e))}},defaultStretch:{get:function(){return this.Uf},set:function(e){var t=this.Uf;t!==e&&(this.Uf=e,this.v(),this.g("defaultStretch",t,e))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:is},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.defaultSeparatorPadding;t.D(e)||(e=e.J(),this.T===null&&(this.T=new Ru),this.T.Qp=e,this.v(),this.g("defaultSeparatorPadding",t,e))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(e){var t=this.defaultRowSeparatorStroke;t!==e&&(e===null||typeof e=="string"||e instanceof ao)&&(e instanceof ao&&e.freeze(),this.T===null&&(this.T=new Ru),this.T.ia=e,this.N(),this.g("defaultRowSeparatorStroke",t,e))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(e){var t=this.defaultRowSeparatorStrokeWidth;t!==e&&isFinite(e)&&0<=e&&(this.T===null&&(this.T=new Ru),this.T.Ha=e,this.v(),this.g("defaultRowSeparatorStrokeWidth",t,e))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(e){var t=this.defaultRowSeparatorDashArray;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;re)&&Ve("Panel.topIndex must be greater than zero and a real number, not: "+e),this.T===null&&(this.T=new Ru),this.T.Hb=e,this.v(),this.g("topIndex",t,e))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(e){var t=this.leftIndex;t!==e&&((!isFinite(e)||0>e)&&Ve("Panel.leftIndex must be greater than zero and a real number, not: "+e),this.T===null&&(this.T=new Ru),this.T.hb=e,this.v(),this.g("leftIndex",t,e))}},data:{get:function(){return this.ub},set:function(e){var t=this.ub;if(t!==e){var n=this instanceof Ai&&!(this instanceof Zr);$u(this),this.ub=e;var i=this.diagram;i!==null&&(n?(n=i.partManager,this instanceof Fn?(t!==null&&n.bf.remove(t),e!==null&&n.bf.add(e,this)):this instanceof Ai&&(t!==null&&n.cf.remove(t),e!==null&&n.cf.add(e,this))):(n=this.panel,n!==null&&n.ge!==null&&(t!==null&&n.ge.remove(t),e!==null&&n.ge.add(e,this)))),this.g("data",t,e),i!==null&&i.undoManager.isUndoingRedoing||e!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(e){var t=this.zn;t!==e&&(this.zn=e,this.g("itemIndex",t,e))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(e){this.localBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.nb=e)}},itemArray:{get:function(){return this.Hh},set:function(e){var t=this.Hh;if(t!==e||e!==null&&Lb(this,e)){var n=this.diagram;t!==e&&(n!==null&&t!==null&&vv(n.partManager,this,n),this.Hh=e,n!==null&&e!==null&&gv(n.partManager,this)),this.g("itemArray",t,e),n!==null&&n.undoManager.isUndoingRedoing||Cy(this,e)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(e){if(this.itemTemplateMap===null){if(e===null)return;this.itemTemplateMap=new Kn}var t=this.itemTemplateMap.I("");t!==e&&((e instanceof Ai||e.isPanelMain)&&Ve("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+e),this.itemTemplateMap.add("",e),this.g("itemTemplate",t,e),e=this.diagram,e!==null&&e.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(e){var t=this.itemTemplateMap;if(t!==e){for(var n=e.iterator;n.next(););br(this),this.A.Pc=e,this.g("itemTemplateMap",t,e),e=this.diagram,e!==null&&e.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(e){var t=this.itemCategoryProperty;t!==e&&(br(this),this.A.Oc=e,this.g("itemCategoryProperty",t,e))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(e){var t=(this.l&1048576)!==0;t!==e&&(this.l^=1048576,this.g("isAtomic",t,e))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(e){var t=(this.l&2097152)!==0;t!==e&&(this.l^=2097152,this instanceof nr&&(this.tb=null),this.v(),this.g("isClipping",t,e))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(e){var t=(this.l&33554432)!==0;t!==e&&(this.l^=33554432,this.v(),this.g("isOpposite",t,e))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(e){var t=(this.l&4194304)!==0;if(t!==e){var n=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",t,e),t=this.diagram,t!==null&&t.undoManager.isUndoingRedoing||n&&B0(this,this,e)}}},alignmentFocusName:{get:function(){return this.$e},set:function(e){var t=this.$e;t!==e&&(this.$e=e,this.v(),this.g("alignmentFocusName",t,e))}}}),dt.Object.defineProperties(An,{Position:{get:function(){return ic.I("Position")}},Horizontal:{get:function(){return ic.I("Horizontal")}},Vertical:{get:function(){return ic.I("Vertical")}},Spot:{get:function(){return ic.I("Spot")}},Auto:{get:function(){return ic.I("Auto")}},Table:{get:function(){return ic.I("Table")}},Viewbox:{get:function(){return ic.I("Viewbox")}},TableRow:{get:function(){return ic.I("TableRow")}},TableColumn:{get:function(){return ic.I("TableColumn")}},Link:{get:function(){return ic.I("Link")}},Grid:{get:function(){return ic.I("Grid")}},Graduated:{get:function(){return ic.I("Graduated")}}}),An.prototype.rebuildItemElements=An.prototype.mv,An.prototype.findItemPanelForData=An.prototype.sx,An.prototype.updateTargetBindings=An.prototype.La,An.prototype.copyTemplate=An.prototype.Uy,An.prototype.graduatedValueForPoint=An.prototype.Gz,An.prototype.graduatedPointForValue=An.prototype.Fz,An.prototype.findColumnForLocalX=An.prototype.fz,An.prototype.findRowForLocalY=An.prototype.nz,An.prototype.addColumnDefinition=An.prototype.By,An.prototype.addRowDefinition=An.prototype.Hy,An.prototype.addRowColumnDefinition=An.prototype.Gy,An.prototype.removeColumnDefinition=An.prototype.jA,An.prototype.getColumnDefinition=An.prototype.Eb,An.prototype.removeRowDefinition=An.prototype.oA,An.prototype.getRowDefinition=An.prototype.Fb,An.prototype.removeAt=An.prototype.mb,An.prototype.remove=An.prototype.remove,An.prototype.insertAt=An.prototype.Gb,An.prototype.elt=An.prototype.M,An.prototype.add=An.prototype.add,An.prototype.findObject=An.prototype.fb,An.prototype.findInVisualTree=An.prototype.Nl,An.prototype.walkVisualTreeFrom=An.prototype.qm,An.prototype.findMainElement=An.prototype.Pb;var Ty=!1,Ny=null,ic=new Kn;An.className="Panel",An.definePanelLayout=Ic,Ic("Position",new C0),Ic("Vertical",new N0),Ic("Auto",new k0),Ic("Link",new D0);function nh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}nh.prototype.copy=function(){var e=new nh;return e.lq=this.lq,e.F=this.F,e.ia=this.ia,e.V=this.V,e.u=this.u,e.j=this.j,e.o=this.o,e.Zh=this.Zh,e},nh.className="GradPanelSettings";function Ru(){this.Pc=[],this.Oc=[],this.j=this.ob=U0,this.hb=this.Hb=0,this.Qp=is,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Ru.prototype.copy=function(e){for(var t=new Ru,n=this.Pc,i=n.length,r=t.Pc,o=0;oe&&Ot(e,">= 0",es,"height"),this.Hc=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",t,e))}},width:{get:function(){return this.Hc},set:function(e){var t=this.Hc;t!==e&&(0>e&&Ot(e,">= 0",es,"width"),this.Hc=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",t,e))}},minimum:{get:function(){return this.jj},set:function(e){var t=this.jj;t!==e&&((0>e||!isFinite(e))&&Ot(e,">= 0",es,"minimum"),this.jj=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",t,e))}},maximum:{get:function(){return this.hj},set:function(e){var t=this.hj;t!==e&&(0>e&&Ot(e,">= 0",es,"maximum"),this.hj=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",t,e))}},alignment:{get:function(){return this.Jb},set:function(e){var t=this.Jb;t.D(e)||(this.Jb=e.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",t,e))}},stretch:{get:function(){return this.hg},set:function(e){var t=this.hg;t!==e&&(this.hg=e,this.panel!==null&&this.panel.v(),this.Ob("stretch",t,e))}},separatorPadding:{get:function(){return this.dg},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.dg;e!==null&&t!==null&&t.D(e)||(e!==null&&(e=e.J()),this.dg=e,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",t,e))}},separatorStroke:{get:function(){return this.lo},set:function(e){var t=this.lo;t!==e&&(e!==null&&$d(e,"RowColumnDefinition.separatorStroke"),e instanceof ao&&e.freeze(),this.lo=e,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",t,e))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(e){var t=this.mo;t!==e&&(this.mo=e,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",t,e))}},separatorDashArray:{get:function(){return this.tj},set:function(e){var t=this.tj;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;rr)){var o=i.measuredBounds,a=Math.max(1,o.width);o=o.height;for(var l=n[0],u=n[1],f,p,x,A,R,_,V=0,be=Lt(),le=2;lex&&(x=1),r=n=x,f=a/2,p=f!==0,le=0,_=be[le],x=_[0],R=_[1],A=_[2],_=_[3];for(var Pe=0;.1<=V;){if(Pe===0&&(p?(r=n,r-=f,V-=f,p=!1):r=n,r===0&&(r=1)),r>V){Qt(be);return}r>_?(Pe=r-_,r=_):Pe=0;var Ue=Math.sqrt(r*r/(1+A*A));if(0>x&&(Ue=-Ue),l+=Ue,u+=A*Ue,e.translate(l,u),e.rotate(R),e.translate(-(a/2),-(o/2)),Pe===0&&i.hh(e,t),e.translate(a/2,o/2),e.rotate(-R),e.translate(-l,-u),V-=r,_-=r,Pe!==0){if(le++,le===be.length){Qt(be);return}_=be[le],x=_[0],R=_[1],A=_[2],_=_[3],r=Pe}}Qt(be)}}U.hh=function(e,t){var n=this.xc,i=this.Ui;if(n!==null||i!==null){var r=this.ua;if(r!==null){e.yc();var o=this.actualBounds,a=this.naturalBounds;i!==null&&Ma(this,e,i,!0,!1,a,o);var l=this.part,u=this.ig;if(n===null||u!==0||l===null||!this.isPanelMain&&l.Pb()!==this||(u=l.type===An.Link&&l instanceof Zr&&l.category==="Selection"&&l.adornedObject instanceof fr&&l.adornedPart.Pb()===l.adornedObject?l.adornedObject.strokeWidth:0),u===0&&(n=null),n!==null&&u!==0&&(Ma(this,e,n,!1,!1,a,o),e.lineWidth=u,e.lineJoin=this.strokeJoin,e.lineCap=this.strokeCap,e.miterLimit=this.strokeMiterLimit),o=!1,l&&t.Gf("drawShadows")&&(o=l.isShadowed),e.Il===!1&&(o=!1),l=!0,n===null||i!==null&&i!=="transparent"||(l=!1),a=!1,u=this.strokeDashArray,u!==null&&(a=!0,e.js(u,this.strokeDashOffset)),r.type===Pn.j)e.beginPath(),e.moveTo(r.startX,r.startY),e.lineTo(r.endX,r.endY),n!==null&&e.jk(),e.Se();else if(r.type===Pn.u){var f=r.startX;u=r.startY;var p=r.endX,x=r.endY;r=Math.min(f,p);var A=Math.min(u,x);f=Math.abs(p-f),u=Math.abs(x-u),e.beginPath(),e.rect(r,A,f,u),i!==null&&e.ng(i),n!==null&&(l&&o&&Bc(e),e.jk(),l&&o&&Jc(e)),e.Se()}else if(r.type===Pn.F)f=r.startX,u=r.startY,p=r.endX,x=r.endY,r=Math.abs(p-f)/2,A=Math.abs(x-u)/2,f=Math.min(f,p)+r,u=Math.min(u,x)+A,e.beginPath(),e.moveTo(f,u-A),e.bezierCurveTo(f+qe.wg*r,u-A,f+r,u-qe.wg*A,f+r,u),e.bezierCurveTo(f+r,u+qe.wg*A,f+qe.wg*r,u+A,f,u+A),e.bezierCurveTo(f-qe.wg*r,u+A,f-r,u+qe.wg*A,f-r,u),e.bezierCurveTo(f-r,u-qe.wg*A,f-qe.wg*r,u-A,f,u-A),e.closePath(),i!==null&&e.ng(i),n!==null&&(l&&o&&Bc(e),e.jk(),l&&o&&Jc(e)),e.Se();else if(r.type===Pn.o)for(r=r.figures,u=r.length,A=0;AV.sweepAngle,R!==null?R.endX:f.startX,R!==null?R.endY:f.startY)}else if(R=Fs(V,f),be=R.length,be===0)e.lineTo(V.centerX,V.centerY);else for(var le=0;le(n.startX-n.endX)*(e.x-n.endX)+(n.startY-n.endY)*(e.y-n.endY)||0>i)?!1:(Wt.free(o),qe.Yb(n.startX,n.startY,n.endX,n.endY,r,e.x,e.y));if(n.type===Pn.u){t=n.startX;var a=n.startY,l=n.endX;if(n=n.endY,o.x=Math.min(t,l),o.y=Math.min(a,n),o.width=Math.abs(l-t),o.height=Math.abs(n-a),this.fill===null){if(o.Bc(-i,-i),o.ca(e))return Wt.free(o),!1;o.Bc(i,i)}return this.stroke!==null&&o.Bc(r,r),e=o.ca(e),Wt.free(o),e}if(n.type===Pn.F){a=n.startX,r=n.startY,l=n.endX;var u=n.endY;if(n=Math.min(a,l),t=Math.min(r,u),a=Math.abs(l-a)/2,r=Math.abs(u-r)/2,n=e.x-(n+a),t=e.y-(t+r),this.fill===null){if(a-=i,r-=i,0>=a||0>=r||1>=n*n/(a*a)+t*t/(r*r))return Wt.free(o),!1;a+=i,r+=i}return this.stroke!==null&&(a+=i,r+=i),Wt.free(o),0>=a||0>=r?!1:1>=n*n/(a*a)+t*t/(r*r)}if(n.type===Pn.o)return Wt.free(o),this.fill===null?gl(n,e.x,e.y,r):Dl(n,e,r,1=this.strokeWidth)p=qe.Ve(f.startX,f.startY,f.endX,f.endY,o,a,l,u,r);else{if(f.startX===f.endX?(i=x,p=0):(t=(f.endY-f.startY)/(f.endX-f.startX),p=x/Math.sqrt(1+t*t),i=p*t),t=Lt(),e=new he,qe.Ve(f.startX+i,f.startY+p,f.endX+i,f.endY+p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.startX-i,f.startY-p,f.endX-i,f.endY-p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.startX+i,f.startY+p,f.startX-i,f.startY-p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.endX+i,f.endY+p,f.endX-i,f.endY-p,o,a,l,u,e)&&t.push(e),l=t.length,l===0)return Qt(t),!1;for(p=!0,u=1/0,i=0;iMath.abs(n)){if(u=a-p-n*(o-i),0>e*e*n*n+f*f-u*u){r.x=NaN,r.y=NaN,p=!1;break e}x=Math.sqrt(e*e*n*n+f*f-u*u),l=(-(e*e*n*u)+e*f*x)/(f*f+e*e*n*n)+i,e=(-(e*e*n*u)-e*f*x)/(f*f+e*e*n*n)+i,f=n*(l-i)+u+p,u=n*(e-i)+u+p,Math.abs((o-l)*(o-l))+Math.abs((a-f)*(a-f))l){r.x=NaN,r.y=NaN,p=!1;break e}u=Math.sqrt(l),l=p+u,u=p-u,Math.abs(l-a)Math.abs(_)?(V*=.5/_,_=.5):V!==0&&.5>Math.abs(V)&&(_*=.5/V,V=.5),le-=_,Pe-=V;R.contains(le,Pe);)le-=_,Pe-=V;for(r.x=l,r.y=u,V=0;Vn?e-n:n-e)<(t>i?t-i:i-t)?(e=te||qe.$(u.y,e))&&(u.yt||qe.$(u.x,t))&&(u.x=e&&i<=t):(e=i&&n<=e)}U.tx=function(e,t,n){function i(be,le){for(var Pe=be.length,Ue=0;Uer)return!0;return!1}if(n&&this.fill!==null&&this.gh(e,!0))return!0;var r=e.Bf(t),o=r;if(1.5=r||Gr(t,o,0,-x)>=r||Gr(t,o,0,x)>=r||Gr(t,o,p,0)>=r)}else if(t.type===Pn.o){if(f=t.bounds,o=f.x,l=f.y,u=f.x+f.width,f=f.y+f.height,e.x>u&&e.xf&&e.yr&&Rr(e.x,e.y,o,l,u,l)>r&&Rr(e.x,e.y,u,f,o,f)>r&&Rr(e.x,e.y,u,f,u,l)>r)return!1;if(o=Math.sqrt(r),n){if(this.fill===null?gl(t,e.x,e.y,o):Dl(t,e,o,!0,!1))return!0}else{for(n=t.figures,t=0;tr)return!1;for(l=o.segments.s,u=l.length,f=0;fr)return!1;break;case Ha:var A=Lt();if(qe.Qe(a,p,x.point1X,x.point1Y,x.point2X,x.point2Y,x.endX,x.endY,.8,A),a=i(A,e),Qt(A),a||(a=x.endX,p=x.endY,e.zd(a,p)>r))return!1;break;case Vs:if(A=Lt(),qe.ep(a,p,x.point1X,x.point1Y,x.endX,x.endY,.8,A),a=i(A,e),Qt(A),a||(a=x.endX,p=x.endY,e.zd(a,p)>r))return!1;break;case sa:case Ks:A=x.type===sa?Fs(x,o):gs(x,o,a,p);var R=A.length;if(R===0){if(a=x.type===sa?x.centerX:x.endX,p=x.type===sa?x.centerY:x.endY,e.zd(a,p)>r)return!1;break}x=null;for(var _=Lt(),V=0;V= 0",fr,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(e){var t=this.strokeCap;t!==e&&(typeof e!="string"||e!=="butt"&&e!=="round"&&e!=="square"?Ot(e,'"butt", "round", or "square"',fr,"strokeCap"):(xd(this),this.Na.Hr=e,this.N(),this.g("strokeCap",t,e)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(e){var t=this.strokeJoin;t!==e&&(typeof e!="string"||e!=="miter"&&e!=="bevel"&&e!=="round"?Ot(e,'"miter", "bevel", or "round"',fr,"strokeJoin"):(xd(this),this.Na.Ir=e,this.N(),this.g("strokeJoin",t,e)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(e){var t=this.strokeMiterLimit;if(t!==e&&1<=e){xd(this),this.Na.Jr=e,this.N();var n=this.part;n!==null&&(n.ag=NaN),this.g("strokeMiterLimit",t,e)}}},strokeDashArray:{get:function(){return this.Yg},set:function(e){var t=this.Yg;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;re?e=0:1e?e=0:1(x*x+p*p)*A*A&&(n=!0),t.ib!==e&&(n=!1),t.ib instanceof nu&&(n=!1),t.Gf("textGreeking")===!1&&(n=!1),t=this.spacingAbove,x=this.spacingBelow,this.flip){case jr:e.translate(r,0),e.scale(-1,1);break;case Sr:e.translate(0,o),e.scale(1,-1);break;case go:e.translate(r,o),e.scale(-1,-1)}if(e.yc(),p=this.Gc,A=(t+a+x)*p,o>A&&(i=this.verticalAlignment,i=i.y*o-i.y*A+i.offsetY),p===1&&this.ze!==null)x=this.Cb,x>r&&(x=r),this.Oj(this.ze,e,0,i+t,r,a,x,n,l,u,f);else if(this.Qc!==null&&this.Qb!==null)for(A=0;Ar&&(R=r),i+=t,this.Oj(this.Qb[A],e,0,i,r,a,R,n,l,u,f),i+=a+x}switch(this.flip){case jr:e.scale(-1,1),e.translate(-r,0);break;case Sr:e.scale(1,-1),e.translate(0,-o);break;case go:e.scale(-1,-1),e.translate(-r,-o)}}},U.Oj=function(e,t,n,i,r,o,a,l,u,f,p){var x=0;if(l)u==="left"?x=0:u==="right"?x=r-a:u==="center"&&(x=(r-a)/2),t.fillRect(n+x,i+.25*o,a,1);else{if(u==="left"?x=0:u==="right"?x=r:u==="center"&&(x=r/2),r=j0!==null?j0(this,o):.75*o,t.fillText(e,n+x,i+r),e=o/20|0,e===0&&(e=1),u==="right"?x-=a:u==="center"&&(x-=a/2),f){l=G0!==null?G0(this,o):.8*o,u=n+x,f=i+l,r=n+x+a,l=i+l;var A=e;t.beginPath(),t.lineWidth=A,t.moveTo(u,f),t.lineTo(r,l),t.stroke(),t.Se(),t instanceof nu&&t.ad.classList.add("gojs-td")}p&&(p=i+o-o/2.2|0,e%2!==0&&(p+=.5),i=n+x,o=p,n=n+x+a,a=p,x=e,t.beginPath(),t.lineWidth=x,t.moveTo(i,o),t.lineTo(n,a),t.stroke(),t.Se(),t instanceof nu&&t.ad.classList.add("gojs-td"))}},U.kk=function(e,t,n){if(!at.prototype.kk.call(this,e,t,n))return!1;if(Ma(this,e,this.xc,!0,!1,this.naturalBounds,this.actualBounds),n){if(this.svg.getElementsByTagName("text").length===0)return!0;for(t=this.svg.getElementsByClassName("gojs-td"),n=0;n0&&c.prevInput=="\u200B"?ve(b,Gn)(b):bi++<10?y.detectingSelectAll=setTimeout(Di,500):(y.selForContextMenu=null,y.input.reset())};y.detectingSelectAll=setTimeout(Di,200)}}if(G&&F>=9&&Tn(),ke){Si(s);var ci=function(){an(window,"mouseup",ci),setTimeout(En,20)};Kt(window,"mouseup",ci)}else setTimeout(En,50)},Js.prototype.readOnlyChanged=function(s){s||this.reset(),this.textarea.disabled=s=="nocursor",this.textarea.readOnly=!!s},Js.prototype.setUneditable=function(){},Js.prototype.needsContentAttribute=!1;function b0(s,c){if(c=c?Cn(c):{},c.value=s.value,!c.tabindex&&s.tabIndex&&(c.tabindex=s.tabIndex),!c.placeholder&&s.placeholder&&(c.placeholder=s.placeholder),c.autofocus==null){var b=We();c.autofocus=b==s||s.getAttribute("autofocus")!=null&&b==document.body}function y(){s.value=Se.getValue()}var w;if(s.form&&(Kt(s.form,"submit",y),!c.leaveSubmitMethodAlone)){var H=s.form;w=H.submit;try{var ne=H.submit=function(){y(),H.submit=w,H.submit(),H.submit=ne}}catch(ye){}}c.finishInit=function(ye){ye.save=y,ye.getTextArea=function(){return s},ye.toTextArea=function(){ye.toTextArea=isNaN,y(),s.parentNode.removeChild(ye.getWrapperElement()),s.style.display="",s.form&&(an(s.form,"submit",y),!c.leaveSubmitMethodAlone&&typeof s.form.submit=="function"&&(s.form.submit=w))}},s.style.display="none";var Se=Ea(function(ye){return s.parentNode.insertBefore(ye,s.nextSibling)},c);return Se}function md(s){s.off=an,s.on=Kt,s.wheelEventPixels=ki,s.Doc=$i,s.splitLines=ur,s.countColumn=Qe,s.findColumn=oi,s.isWordChar=j,s.Pass=Vt,s.signal=et,s.Line=$a,s.changeEnd=Xr,s.scrollbarModel=nu,s.Pos=ot,s.cmpPos=fn,s.modes=qr,s.mimeModes=xo,s.resolveMode=rr,s.getMode=Bi,s.modeExtensions=yi,s.extendMode=ht,s.copyState=_n,s.startState=pt,s.innerMode=Vn,s.commands=Hs,s.keyMap=Ns,s.keyName=Pc,s.isModifierKey=ku,s.lookupKey=Fs,s.normalizeKeyMap=Vl,s.StringStream=Ke,s.SharedTextMarker=ft,s.TextMarker=Y,s.LineWidget=S,s.e_preventDefault=Un,s.e_stopPropagation=yn,s.e_stop=Si,s.addClass=Pt,s.contains=lt,s.rmClass=Ne,s.keyNames=ua}g0(Ea),ph(Ea);var Qc="iter insert remove copy getEditor constructor".split(" ");for(var _d in $i.prototype)$i.prototype.hasOwnProperty(_d)&&ce(Qc,_d)<0&&(Ea.prototype[_d]=function(s){return function(){return s.apply(this.doc,arguments)}}($i.prototype[_d]));return ze($i),Ea.inputStyles={textarea:Js,contenteditable:Za},Ea.defineMode=function(s){!Ea.defaults.mode&&s!="null"&&(Ea.defaults.mode=s),kr.apply(this,arguments)},Ea.defineMIME=no,Ea.defineMode("null",function(){return{token:function(s){return s.skipToEnd()}}}),Ea.defineMIME("text/plain","null"),Ea.defineExtension=function(s,c){Ea.prototype[s]=c},Ea.defineDocExtension=function(s,c){$i.prototype[s]=c},Ea.fromTextArea=b0,md(Ea),Ea.version="5.58.2",Ea})},25419:function(Q,C,h){(function(v){v(h(89780),h(15525),h(98101))})(function(v){"use strict";v.defineMode("markdown",function(I,O){var B=v.getMode(I,"text/html"),G=B.name=="null";function F(Qe){if(v.findModeByName){var le=v.findModeByName(Qe);le&&(Qe=le.mime||le.mimes[0])}var ce=v.getMode(I,Qe);return ce.name=="null"?null:ce}O.highlightFormatting===void 0&&(O.highlightFormatting=!1),O.maxBlockquoteDepth===void 0&&(O.maxBlockquoteDepth=0),O.taskLists===void 0&&(O.taskLists=!1),O.strikethrough===void 0&&(O.strikethrough=!1),O.emoji===void 0&&(O.emoji=!1),O.fencedCodeBlockHighlighting===void 0&&(O.fencedCodeBlockHighlighting=!0),O.fencedCodeBlockDefaultMode===void 0&&(O.fencedCodeBlockDefaultMode="text/plain"),O.xml===void 0&&(O.xml=!0),O.tokenTypeOverrides===void 0&&(O.tokenTypeOverrides={});var M={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var de in M)M.hasOwnProperty(de)&&O.tokenTypeOverrides[de]&&(M[de]=O.tokenTypeOverrides[de]);var ae=/^([*\-_])(?:\s*\1){2,}\s*$/,te=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Me=/^\[(x| )\](?=\s)/i,we=O.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Xe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,Ce=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ae=/^\s*\[[^\]]+?\]:.*$/,Pe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,fe=" ";function pe(Qe,le,ce){return le.f=le.inline=ce,ce(Qe,le)}function xe(Qe,le,ce){return le.f=le.block=ce,ce(Qe,le)}function me(Qe){return!Qe||!/\S/.test(Qe.string)}function ke(Qe){if(Qe.linkTitle=!1,Qe.linkHref=!1,Qe.linkText=!1,Qe.em=!1,Qe.strong=!1,Qe.strikethrough=!1,Qe.quote=0,Qe.indentedCode=!1,Qe.f==Ne){var le=G;if(!le){var ce=v.innerMode(B,Qe.htmlState);le=ce.mode.name=="xml"&&ce.state.tagStart===null&&!ce.state.context&&ce.state.tokenize.isInText}le&&(Qe.f=Ye,Qe.block=ee,Qe.htmlState=null)}return Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:null},null}function ee(Qe,le){var ce=Qe.column()===le.indentation,Ht=me(le.prevLine.stream),Vt=le.indentedCode,St=le.prevLine.hr,sn=le.list!==!1,Ft=(le.listStack[le.listStack.length-1]||0)+3;le.indentedCode=!1;var oi=le.indentation;if(le.indentationDiff===null&&(le.indentationDiff=le.indentation,sn)){for(le.list=null;oi=4&&(Vt||le.prevLine.fencedCodeEnd||le.prevLine.header||Ht))return Qe.skipToEnd(),le.indentedCode=!0,M.code;if(Qe.eatSpace())return null;if(ce&&le.indentation<=Ft&&(Jn=Qe.match(we))&&Jn[1].length<=6)return le.quote=0,le.header=Jn[1].length,le.thisLine.header=!0,O.highlightFormatting&&(le.formatting="header"),le.f=le.inline,Le(le);if(le.indentation<=Ft&&Qe.eat(">"))return le.quote=ce?1:le.quote+1,O.highlightFormatting&&(le.formatting="quote"),Qe.eatSpace(),Le(le);if(!ni&&!le.setext&&ce&&le.indentation<=Ft&&(Jn=Qe.match(te))){var Mn=Jn[1]?"ol":"ul";return le.indentation=oi+Qe.current().length,le.list=!0,le.quote=0,le.listStack.push(le.indentation),le.em=!1,le.strong=!1,le.code=!1,le.strikethrough=!1,O.taskLists&&Qe.match(Me,!1)&&(le.taskList=!0),le.f=le.inline,O.highlightFormatting&&(le.formatting=["list","list-"+Mn]),Le(le)}else{if(ce&&le.indentation<=Ft&&(Jn=Qe.match(Ce,!0)))return le.quote=0,le.fencedEndRE=new RegExp(Jn[1]+"+ *$"),le.localMode=O.fencedCodeBlockHighlighting&&F(Jn[2]||O.fencedCodeBlockDefaultMode),le.localMode&&(le.localState=v.startState(le.localMode)),le.f=le.block=Ie,O.highlightFormatting&&(le.formatting="code-block"),le.code=-1,Le(le);if(le.setext||(!On||!sn)&&!le.quote&&le.list===!1&&!le.code&&!ni&&!Ae.test(Qe.string)&&(Jn=Qe.lookAhead(1))&&(Jn=Jn.match(Xe)))return le.setext?(le.header=le.setext,le.setext=0,Qe.skipToEnd(),O.highlightFormatting&&(le.formatting="header")):(le.header=Jn[0].charAt(0)=="="?1:2,le.setext=le.header),le.thisLine.header=!0,le.f=le.inline,Le(le);if(ni)return Qe.skipToEnd(),le.hr=!0,le.thisLine.hr=!0,M.hr;if(Qe.peek()==="[")return pe(Qe,le,xt)}return pe(Qe,le,le.inline)}function Ne(Qe,le){var ce=B.token(Qe,le.htmlState);if(!G){var Ht=v.innerMode(B,le.htmlState);(Ht.mode.name=="xml"&&Ht.state.tagStart===null&&!Ht.state.context&&Ht.state.tokenize.isInText||le.md_inside&&Qe.current().indexOf(">")>-1)&&(le.f=Ye,le.block=ee,le.htmlState=null)}return ce}function Ie(Qe,le){var ce=le.listStack[le.listStack.length-1]||0,Ht=le.indentation=Qe.quote?le.push(M.formatting+"-"+Qe.formatting[ce]+"-"+Qe.quote):le.push("error"))}if(Qe.taskOpen)return le.push("meta"),le.length?le.join(" "):null;if(Qe.taskClosed)return le.push("property"),le.length?le.join(" "):null;if(Qe.linkHref?le.push(M.linkHref,"url"):(Qe.strong&&le.push(M.strong),Qe.em&&le.push(M.em),Qe.strikethrough&&le.push(M.strikethrough),Qe.emoji&&le.push(M.emoji),Qe.linkText&&le.push(M.linkText),Qe.code&&le.push(M.code),Qe.image&&le.push(M.image),Qe.imageAltText&&le.push(M.imageAltText,"link"),Qe.imageMarker&&le.push(M.imageMarker)),Qe.header&&le.push(M.header,M.header+"-"+Qe.header),Qe.quote&&(le.push(M.quote),!O.maxBlockquoteDepth||O.maxBlockquoteDepth>=Qe.quote?le.push(M.quote+"-"+Qe.quote):le.push(M.quote+"-"+O.maxBlockquoteDepth)),Qe.list!==!1){var Ht=(Qe.listStack.length-1)%3;Ht?Ht===1?le.push(M.list2):le.push(M.list3):le.push(M.list1)}return Qe.trailingSpaceNewLine?le.push("trailing-space-new-line"):Qe.trailingSpace&&le.push("trailing-space-"+(Qe.trailingSpace%2?"a":"b")),le.length?le.join(" "):null}function Je(Qe,le){if(Qe.match(Oe,!0))return Le(le)}function Ye(Qe,le){var ce=le.text(Qe,le);if(typeof ce!="undefined")return ce;if(le.list)return le.list=null,Le(le);if(le.taskList){var Ht=Qe.match(Me,!0)[1]===" ";return Ht?le.taskOpen=!0:le.taskClosed=!0,O.highlightFormatting&&(le.formatting="task"),le.taskList=!1,Le(le)}if(le.taskOpen=!1,le.taskClosed=!1,le.header&&Qe.match(/^#+$/,!0))return O.highlightFormatting&&(le.formatting="header"),Le(le);var Vt=Qe.next();if(le.linkTitle){le.linkTitle=!1;var St=Vt;Vt==="("&&(St=")"),St=(St+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var sn="^\\s*(?:[^"+St+"\\\\]+|\\\\\\\\|\\\\.)"+St;if(Qe.match(new RegExp(sn),!0))return M.linkHref}if(Vt==="`"){var Ft=le.formatting;O.highlightFormatting&&(le.formatting="code"),Qe.eatWhile("`");var oi=Qe.current().length;if(le.code==0&&(!le.quote||oi==1))return le.code=oi,Le(le);if(oi==le.code){var On=Le(le);return le.code=0,On}else return le.formatting=Ft,Le(le)}else if(le.code)return Le(le);if(Vt==="\\"&&(Qe.next(),O.highlightFormatting)){var ni=Le(le),Jn=M.formatting+"-escape";return ni?ni+" "+Jn:Jn}if(Vt==="!"&&Qe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return le.imageMarker=!0,le.image=!0,O.highlightFormatting&&(le.formatting="image"),Le(le);if(Vt==="["&&le.imageMarker&&Qe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return le.imageMarker=!1,le.imageAltText=!0,O.highlightFormatting&&(le.formatting="image"),Le(le);if(Vt==="]"&&le.imageAltText){O.highlightFormatting&&(le.formatting="image");var ni=Le(le);return le.imageAltText=!1,le.image=!1,le.inline=le.f=lt,ni}if(Vt==="["&&!le.image)return le.linkText&&Qe.match(/^.*?\]/)||(le.linkText=!0,O.highlightFormatting&&(le.formatting="link")),Le(le);if(Vt==="]"&&le.linkText){O.highlightFormatting&&(le.formatting="link");var ni=Le(le);return le.linkText=!1,le.inline=le.f=Qe.match(/\(.*?\)| ?\[.*?\]/,!1)?lt:Ye,ni}if(Vt==="<"&&Qe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){le.f=le.inline=re,O.highlightFormatting&&(le.formatting="link");var ni=Le(le);return ni?ni+=" ":ni="",ni+M.linkInline}if(Vt==="<"&&Qe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){le.f=le.inline=re,O.highlightFormatting&&(le.formatting="link");var ni=Le(le);return ni?ni+=" ":ni="",ni+M.linkEmail}if(O.xml&&Vt==="<"&&Qe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Mn=Qe.string.indexOf(">",Qe.pos);if(Mn!=-1){var In=Qe.string.substring(Qe.start,Mn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(In)&&(le.md_inside=!0)}return Qe.backUp(1),le.htmlState=v.startState(B),xe(Qe,le,Ne)}if(O.xml&&Vt==="<"&&Qe.match(/^\/\w*?>/))return le.md_inside=!1,"tag";if(Vt==="*"||Vt==="_"){for(var ie=1,z=Qe.pos==1?" ":Qe.string.charAt(Qe.pos-2);ie<3&&Qe.eat(Vt);)ie++;var k=Qe.peek()||" ",j=!/\s/.test(k)&&(!Pe.test(k)||/\s/.test(z)||Pe.test(z)),X=!/\s/.test(z)&&(!Pe.test(z)||/\s/.test(k)||Pe.test(k)),T=null,_e=null;if(ie%2&&(!le.em&&j&&(Vt==="*"||!X||Pe.test(z))?T=!0:le.em==Vt&&X&&(Vt==="*"||!j||Pe.test(k))&&(T=!1)),ie>1&&(!le.strong&&j&&(Vt==="*"||!X||Pe.test(z))?_e=!0:le.strong==Vt&&X&&(Vt==="*"||!j||Pe.test(k))&&(_e=!1)),_e!=null||T!=null){O.highlightFormatting&&(le.formatting=T==null?"strong":_e==null?"em":"strong em"),T===!0&&(le.em=Vt),_e===!0&&(le.strong=Vt);var On=Le(le);return T===!1&&(le.em=!1),_e===!1&&(le.strong=!1),On}}else if(Vt===" "&&(Qe.eat("*")||Qe.eat("_"))){if(Qe.peek()===" ")return Le(le);Qe.backUp(1)}if(O.strikethrough){if(Vt==="~"&&Qe.eatWhile(Vt)){if(le.strikethrough){O.highlightFormatting&&(le.formatting="strikethrough");var On=Le(le);return le.strikethrough=!1,On}else if(Qe.match(/^[^\s]/,!1))return le.strikethrough=!0,O.highlightFormatting&&(le.formatting="strikethrough"),Le(le)}else if(Vt===" "&&Qe.match(/^~~/,!0)){if(Qe.peek()===" ")return Le(le);Qe.backUp(2)}}if(O.emoji&&Vt===":"&&Qe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){le.emoji=!0,O.highlightFormatting&&(le.formatting="emoji");var It=Le(le);return le.emoji=!1,It}return Vt===" "&&(Qe.match(/^ +$/,!1)?le.trailingSpace++:le.trailingSpace&&(le.trailingSpaceNewLine=!0)),Le(le)}function re(Qe,le){var ce=Qe.next();if(ce===">"){le.f=le.inline=Ye,O.highlightFormatting&&(le.formatting="link");var Ht=Le(le);return Ht?Ht+=" ":Ht="",Ht+M.linkInline}return Qe.match(/^[^>]+/,!0),M.linkInline}function lt(Qe,le){if(Qe.eatSpace())return null;var ce=Qe.next();return ce==="("||ce==="["?(le.f=le.inline=Pt(ce==="("?")":"]"),O.highlightFormatting&&(le.formatting="link-string"),le.linkHref=!0,Le(le)):"error"}var We={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Pt(Qe){return function(le,ce){var Ht=le.next();if(Ht===Qe){ce.f=ce.inline=Ye,O.highlightFormatting&&(ce.formatting="link-string");var Vt=Le(ce);return ce.linkHref=!1,Vt}return le.match(We[Qe]),ce.linkHref=!0,Le(ce)}}function xt(Qe,le){return Qe.match(/^([^\]\\]|\\.)*\]:/,!1)?(le.f=kt,Qe.next(),O.highlightFormatting&&(le.formatting="link"),le.linkText=!0,Le(le)):pe(Qe,le,Ye)}function kt(Qe,le){if(Qe.match(/^\]:/,!0)){le.f=le.inline=Ct,O.highlightFormatting&&(le.formatting="link");var ce=Le(le);return le.linkText=!1,ce}return Qe.match(/^([^\]\\]|\\.)+/,!0),M.linkText}function Ct(Qe,le){return Qe.eatSpace()?null:(Qe.match(/^[^\s]+/,!0),Qe.peek()===void 0?le.linkTitle=!0:Qe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),le.f=le.inline=Ye,M.linkHref+" url")}var Cn={startState:function(){return{f:ee,prevLine:{stream:null},thisLine:{stream:null},block:ee,htmlState:null,indentation:0,inline:Ye,text:Je,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Qe){return{f:Qe.f,prevLine:Qe.prevLine,thisLine:Qe.thisLine,block:Qe.block,htmlState:Qe.htmlState&&v.copyState(B,Qe.htmlState),indentation:Qe.indentation,localMode:Qe.localMode,localState:Qe.localMode?v.copyState(Qe.localMode,Qe.localState):null,inline:Qe.inline,text:Qe.text,formatting:!1,linkText:Qe.linkText,linkTitle:Qe.linkTitle,linkHref:Qe.linkHref,code:Qe.code,em:Qe.em,strong:Qe.strong,strikethrough:Qe.strikethrough,emoji:Qe.emoji,header:Qe.header,setext:Qe.setext,hr:Qe.hr,taskList:Qe.taskList,list:Qe.list,listStack:Qe.listStack.slice(0),quote:Qe.quote,indentedCode:Qe.indentedCode,trailingSpace:Qe.trailingSpace,trailingSpaceNewLine:Qe.trailingSpaceNewLine,md_inside:Qe.md_inside,fencedEndRE:Qe.fencedEndRE}},token:function(Qe,le){if(le.formatting=!1,Qe!=le.thisLine.stream){if(le.header=0,le.hr=!1,Qe.match(/^\s*$/,!0))return ke(le),null;if(le.prevLine=le.thisLine,le.thisLine={stream:Qe},le.taskList=!1,le.trailingSpace=0,le.trailingSpaceNewLine=!1,!le.localState&&(le.f=le.block,le.f!=Ne)){var ce=Qe.match(/^\s*/,!0)[0].replace(/\t/g,fe).length;if(le.indentation=ce,le.indentationDiff=null,ce>0)return null}}return le.f(Qe,le)},innerMode:function(Qe){return Qe.block==Ne?{state:Qe.htmlState,mode:B}:Qe.localState?{state:Qe.localState,mode:Qe.localMode}:{state:Qe,mode:Cn}},indent:function(Qe,le,ce){return Qe.block==Ne&&B.indent?B.indent(Qe.htmlState,le,ce):Qe.localState&&Qe.localMode.indent?Qe.localMode.indent(Qe.localState,le,ce):v.Pass},blankLine:ke,getType:Le,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Cn},"xml"),v.defineMIME("text/markdown","markdown"),v.defineMIME("text/x-markdown","markdown")})},98101:function(Q,C,h){(function(v){v(h(89780))})(function(v){"use strict";v.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var I=0;I-1&&B.substring(M+1,B.length);if(de)return v.findModeByExtension(de)},v.findModeByName=function(B){B=B.toLowerCase();for(var G=0;G0?Oe.cmdState[Oe.cmdState.length-1]:null}function F(Oe){var Ce=Oe.cmdState.pop();Ce&&Ce.closeBracket()}function M(Oe){for(var Ce=Oe.cmdState,Ae=Ce.length-1;Ae>=0;Ae--){var Pe=Ce[Ae];if(Pe.name!="DEFAULT")return Pe}return{styleIdentifier:function(){return null}}}function de(Oe,Ce,Ae){return function(){this.name=Oe,this.bracketNo=0,this.style=Ce,this.styles=Ae,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var ae={};ae.importmodule=de("importmodule","tag",["string","builtin"]),ae.documentclass=de("documentclass","tag",["","atom"]),ae.usepackage=de("usepackage","tag",["atom"]),ae.begin=de("begin","tag",["atom"]),ae.end=de("end","tag",["atom"]),ae.label=de("label","tag",["atom"]),ae.ref=de("ref","tag",["atom"]),ae.eqref=de("eqref","tag",["atom"]),ae.cite=de("cite","tag",["atom"]),ae.bibitem=de("bibitem","tag",["atom"]),ae.Bibitem=de("Bibitem","tag",["atom"]),ae.RBibitem=de("RBibitem","tag",["atom"]),ae.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function te(Oe,Ce){Oe.f=Ce}function Me(Oe,Ce){var Ae;if(Oe.match(/^\\[a-zA-Z@]+/)){var Pe=Oe.current().slice(1);return Ae=ae.hasOwnProperty(Pe)?ae[Pe]:ae.DEFAULT,Ae=new Ae,B(Ce,Ae),te(Ce,Xe),Ae.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return te(Ce,function(pe,xe){return we(pe,xe,"\\]")}),"keyword";if(Oe.match("\\("))return te(Ce,function(pe,xe){return we(pe,xe,"\\)")}),"keyword";if(Oe.match("$$"))return te(Ce,function(pe,xe){return we(pe,xe,"$$")}),"keyword";if(Oe.match("$"))return te(Ce,function(pe,xe){return we(pe,xe,"$")}),"keyword";var fe=Oe.next();if(fe=="%")return Oe.skipToEnd(),"comment";if(fe=="}"||fe=="]"){if(Ae=G(Ce),Ae)Ae.closeBracket(fe),te(Ce,Xe);else return"error";return"bracket"}else return fe=="{"||fe=="["?(Ae=ae.DEFAULT,Ae=new Ae,B(Ce,Ae),"bracket"):/\d/.test(fe)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),Ae=M(Ce),Ae.name=="begin"&&(Ae.argument=Oe.current()),Ae.styleIdentifier())}function we(Oe,Ce,Ae){if(Oe.eatSpace())return null;if(Ae&&Oe.match(Ae))return te(Ce,Me),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Pe=Oe.next();return Pe=="{"||Pe=="}"||Pe=="["||Pe=="]"||Pe=="("||Pe==")"?"bracket":Pe=="%"?(Oe.skipToEnd(),"comment"):"error"}function Xe(Oe,Ce){var Ae=Oe.peek(),Pe;return Ae=="{"||Ae=="["?(Pe=G(Ce),Pe.openBracket(Ae),Oe.eat(Ae),te(Ce,Me),"bracket"):/[ \t\r]/.test(Ae)?(Oe.eat(Ae),null):(te(Ce,Me),F(Ce),Me(Oe,Ce))}return{startState:function(){var Oe=O.inMathMode?function(Ce,Ae){return we(Ce,Ae)}:Me;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,Ce){return Ce.f(Oe,Ce)},blankLine:function(Oe){Oe.f=Me,Oe.cmdState.length=0},lineComment:"%"}}),v.defineMIME("text/x-stex","stex"),v.defineMIME("text/x-latex","stex")})},15525:function(Q,C,h){(function(v){v(h(89780))})(function(v){"use strict";var I={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},O={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};v.defineMode("xml",function(B,G){var F=B.indentUnit,M={},de=G.htmlMode?I:O;for(var ae in de)M[ae]=de[ae];for(var ae in G)M[ae]=G[ae];var te,Me;function we(re,lt){function We(kt){return lt.tokenize=kt,kt(re,lt)}var Pt=re.next();if(Pt=="<")return re.eat("!")?re.eat("[")?re.match("CDATA[")?We(Ce("atom","]]>")):null:re.match("--")?We(Ce("comment","-->")):re.match("DOCTYPE",!0,!0)?(re.eatWhile(/[\w\._\-]/),We(Ae(1))):null:re.eat("?")?(re.eatWhile(/[\w\._\-]/),lt.tokenize=Ce("meta","?>"),"meta"):(te=re.eat("/")?"closeTag":"openTag",lt.tokenize=Xe,"tag bracket");if(Pt=="&"){var xt;return re.eat("#")?re.eat("x")?xt=re.eatWhile(/[a-fA-F\d]/)&&re.eat(";"):xt=re.eatWhile(/[\d]/)&&re.eat(";"):xt=re.eatWhile(/[\w\.\-:]/)&&re.eat(";"),xt?"atom":"error"}else return re.eatWhile(/[^&<]/),null}we.isInText=!0;function Xe(re,lt){var We=re.next();if(We==">"||We=="/"&&re.eat(">"))return lt.tokenize=we,te=We==">"?"endTag":"selfcloseTag","tag bracket";if(We=="=")return te="equals",null;if(We=="<"){lt.tokenize=we,lt.state=xe,lt.tagName=lt.tagStart=null;var Pt=lt.tokenize(re,lt);return Pt?Pt+" tag error":"tag error"}else return/[\'\"]/.test(We)?(lt.tokenize=Oe(We),lt.stringStartCol=re.column(),lt.tokenize(re,lt)):(re.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(re){var lt=function(We,Pt){for(;!We.eol();)if(We.next()==re){Pt.tokenize=Xe;break}return"string"};return lt.isInAttribute=!0,lt}function Ce(re,lt){return function(We,Pt){for(;!We.eol();){if(We.match(lt)){Pt.tokenize=we;break}We.next()}return re}}function Ae(re){return function(lt,We){for(var Pt;(Pt=lt.next())!=null;){if(Pt=="<")return We.tokenize=Ae(re+1),We.tokenize(lt,We);if(Pt==">")if(re==1){We.tokenize=we;break}else return We.tokenize=Ae(re-1),We.tokenize(lt,We)}return"meta"}}function Pe(re,lt,We){this.prev=re.context,this.tagName=lt,this.indent=re.indented,this.startOfLine=We,(M.doNotIndent.hasOwnProperty(lt)||re.context&&re.context.noIndent)&&(this.noIndent=!0)}function fe(re){re.context&&(re.context=re.context.prev)}function pe(re,lt){for(var We;;){if(!re.context||(We=re.context.tagName,!M.contextGrabbers.hasOwnProperty(We)||!M.contextGrabbers[We].hasOwnProperty(lt)))return;fe(re)}}function xe(re,lt,We){return re=="openTag"?(We.tagStart=lt.column(),me):re=="closeTag"?ke:xe}function me(re,lt,We){return re=="word"?(We.tagName=lt.current(),Me="tag",Ie):M.allowMissingTagName&&re=="endTag"?(Me="tag bracket",Ie(re,lt,We)):(Me="error",me)}function ke(re,lt,We){if(re=="word"){var Pt=lt.current();return We.context&&We.context.tagName!=Pt&&M.implicitlyClosed.hasOwnProperty(We.context.tagName)&&fe(We),We.context&&We.context.tagName==Pt||M.matchClosing===!1?(Me="tag",ee):(Me="tag error",Ne)}else return M.allowMissingTagName&&re=="endTag"?(Me="tag bracket",ee(re,lt,We)):(Me="error",Ne)}function ee(re,lt,We){return re!="endTag"?(Me="error",ee):(fe(We),xe)}function Ne(re,lt,We){return Me="error",ee(re,lt,We)}function Ie(re,lt,We){if(re=="word")return Me="attribute",Le;if(re=="endTag"||re=="selfcloseTag"){var Pt=We.tagName,xt=We.tagStart;return We.tagName=We.tagStart=null,re=="selfcloseTag"||M.autoSelfClosers.hasOwnProperty(Pt)?pe(We,Pt):(pe(We,Pt),We.context=new Pe(We,Pt,xt==We.indented)),xe}return Me="error",Ie}function Le(re,lt,We){return re=="equals"?Je:(M.allowMissing||(Me="error"),Ie(re,lt,We))}function Je(re,lt,We){return re=="string"?Ye:re=="word"&&M.allowUnquoted?(Me="string",Ie):(Me="error",Ie(re,lt,We))}function Ye(re,lt,We){return re=="string"?Ye:Ie(re,lt,We)}return{startState:function(re){var lt={tokenize:we,state:xe,indented:re||0,tagName:null,tagStart:null,context:null};return re!=null&&(lt.baseIndent=re),lt},token:function(re,lt){if(!lt.tagName&&re.sol()&&(lt.indented=re.indentation()),re.eatSpace())return null;te=null;var We=lt.tokenize(re,lt);return(We||te)&&We!="comment"&&(Me=null,lt.state=lt.state(te||We,re,lt),Me&&(We=Me=="error"?We+" error":Me)),We},indent:function(re,lt,We){var Pt=re.context;if(re.tokenize.isInAttribute)return re.tagStart==re.indented?re.stringStartCol+1:re.indented+F;if(Pt&&Pt.noIndent)return v.Pass;if(re.tokenize!=Xe&&re.tokenize!=we)return We?We.match(/^(\s*)/)[0].length:0;if(re.tagName)return M.multilineTagIndentPastTag!==!1?re.tagStart+re.tagName.length+2:re.tagStart+F*(M.multilineTagIndentFactor||1);if(M.alignCDATA&&/$/,blockCommentStart:"",configuration:M.htmlMode?"html":"xml",helperType:M.htmlMode?"html":"xml",skipAttribute:function(re){re.state==Je&&(re.state=Ie)},xmlCurrentTag:function(re){return re.tagName?{name:re.tagName,close:re.type=="closeTag"}:null},xmlCurrentContext:function(re){for(var lt=[],We=re.context;We;We=We.prev)We.tagName&<.push(We.tagName);return lt.reverse()}}}),v.defineMIME("text/xml","xml"),v.defineMIME("application/xml","xml"),v.mimeModes.hasOwnProperty("text/html")||v.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(Q,C){"use strict";var h;C.Q=B,h=G;var v=",",I=" ",O="";function B(F){for(var M=[],de=String(F||O),ae=de.indexOf(v),te=0,Me=!1,we;!Me;)ae===-1&&(ae=de.length,Me=!0),we=de.slice(te,ae).trim(),(we||!Me)&&M.push(we),te=ae+1,ae=de.indexOf(v,te);return M}function G(F,M){var de=M||{},ae=de.padLeft===!1?O:I,te=de.padRight?I:O;return F[F.length-1]===O&&(F=F.concat(O)),F.join(te+v+ae).trim()}},86204:function(Q){"use strict";var C=typeof Reflect=="object"?Reflect:null,h=C&&typeof C.apply=="function"?C.apply:function(xe,me,ke){return Function.prototype.apply.call(xe,me,ke)},v;C&&typeof C.ownKeys=="function"?v=C.ownKeys:Object.getOwnPropertySymbols?v=function(xe){return Object.getOwnPropertyNames(xe).concat(Object.getOwnPropertySymbols(xe))}:v=function(xe){return Object.getOwnPropertyNames(xe)};function I(pe){console&&console.warn&&console.warn(pe)}var O=Number.isNaN||function(xe){return xe!==xe};function B(){B.init.call(this)}Q.exports=B,Q.exports.once=Ae,B.EventEmitter=B,B.prototype._events=void 0,B.prototype._eventsCount=0,B.prototype._maxListeners=void 0;var G=10;function F(pe){if(typeof pe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof pe)}Object.defineProperty(B,"defaultMaxListeners",{enumerable:!0,get:function(){return G},set:function(pe){if(typeof pe!="number"||pe<0||O(pe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+pe+".");G=pe}}),B.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},B.prototype.setMaxListeners=function(xe){if(typeof xe!="number"||xe<0||O(xe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+xe+".");return this._maxListeners=xe,this};function M(pe){return pe._maxListeners===void 0?B.defaultMaxListeners:pe._maxListeners}B.prototype.getMaxListeners=function(){return M(this)},B.prototype.emit=function(xe){for(var me=[],ke=1;ke0&&(Ie=me[0]),Ie instanceof Error)throw Ie;var Le=new Error("Unhandled error."+(Ie?" ("+Ie.message+")":""));throw Le.context=Ie,Le}var Je=Ne[xe];if(Je===void 0)return!1;if(typeof Je=="function")h(Je,this,me);else for(var Ye=Je.length,re=Xe(Je,Ye),ke=0;ke0&&Ie.length>ee&&!Ie.warned){Ie.warned=!0;var Le=new Error("Possible EventEmitter memory leak detected. "+Ie.length+" "+String(xe)+" listeners added. Use emitter.setMaxListeners() to increase limit");Le.name="MaxListenersExceededWarning",Le.emitter=pe,Le.type=xe,Le.count=Ie.length,I(Le)}return pe}B.prototype.addListener=function(xe,me){return de(this,xe,me,!1)},B.prototype.on=B.prototype.addListener,B.prototype.prependListener=function(xe,me){return de(this,xe,me,!0)};function ae(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function te(pe,xe,me){var ke={fired:!1,wrapFn:void 0,target:pe,type:xe,listener:me},ee=ae.bind(ke);return ee.listener=me,ke.wrapFn=ee,ee}B.prototype.once=function(xe,me){return F(me),this.on(xe,te(this,xe,me)),this},B.prototype.prependOnceListener=function(xe,me){return F(me),this.prependListener(xe,te(this,xe,me)),this},B.prototype.removeListener=function(xe,me){var ke,ee,Ne,Ie,Le;if(F(me),ee=this._events,ee===void 0)return this;if(ke=ee[xe],ke===void 0)return this;if(ke===me||ke.listener===me)--this._eventsCount===0?this._events=Object.create(null):(delete ee[xe],ee.removeListener&&this.emit("removeListener",xe,ke.listener||me));else if(typeof ke!="function"){for(Ne=-1,Ie=ke.length-1;Ie>=0;Ie--)if(ke[Ie]===me||ke[Ie].listener===me){Le=ke[Ie].listener,Ne=Ie;break}if(Ne<0)return this;Ne===0?ke.shift():Oe(ke,Ne),ke.length===1&&(ee[xe]=ke[0]),ee.removeListener!==void 0&&this.emit("removeListener",xe,Le||me)}return this},B.prototype.off=B.prototype.removeListener,B.prototype.removeAllListeners=function(xe){var me,ke,ee;if(ke=this._events,ke===void 0)return this;if(ke.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):ke[xe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete ke[xe]),this;if(arguments.length===0){var Ne=Object.keys(ke),Ie;for(ee=0;ee=0;ee--)this.removeListener(xe,me[ee]);return this};function Me(pe,xe,me){var ke=pe._events;if(ke===void 0)return[];var ee=ke[xe];return ee===void 0?[]:typeof ee=="function"?me?[ee.listener||ee]:[ee]:me?Ce(ee):Xe(ee,ee.length)}B.prototype.listeners=function(xe){return Me(this,xe,!0)},B.prototype.rawListeners=function(xe){return Me(this,xe,!1)},B.listenerCount=function(pe,xe){return typeof pe.listenerCount=="function"?pe.listenerCount(xe):we.call(pe,xe)},B.prototype.listenerCount=we;function we(pe){var xe=this._events;if(xe!==void 0){var me=xe[pe];if(typeof me=="function")return 1;if(me!==void 0)return me.length}return 0}B.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]};function Xe(pe,xe){for(var me=new Array(xe),ke=0;ken&&(n=Math.max(0,r+n)),(i==null||i>r)&&(i=r),i=Number(i),0>i&&(i=Math.max(0,r+i)),n=Number(n||0);n=e.length?e.push(n):e.splice(t,0,n):Ve("Cannot insert an object into an HTMLCollection or NodeList: "+n+" at "+t)}function L(e,t){Array.isArray(e)?t>=e.length?e.pop():e.splice(t,1):Ve("Cannot remove an object from an HTMLCollection or NodeList at "+t)}function Rt(){var e=Yi.pop();return e===void 0?[]:e}function Jt(e){e.length=0,Yi.push(e)}function mt(e){if(typeof e=="function"){if(e.className)return e.className;if(e.name)return e.name;var t=e.toString();if(t=t.substring(9,t.indexOf("(")).trim(),t!=="")return e._className=t}else if(ot(e)&&e.constructor)return mt(e.constructor);return typeof e}function xn(e){var t=e;return ot(e)&&(e.text?t=e.text:e.name?t=e.name:e.key!==void 0?t=e.key:e.id!==void 0?t=e.id:e.constructor===Object&&(e.Text?t=e.Text:e.Name?t=e.Name:e.Key!==void 0?t=e.Key:e.Id!==void 0?t=e.Id:e.ID!==void 0&&(t=e.ID))),t===void 0?"undefined":t===null?"null":t.toString()}function An(e,t){if(e.hasOwnProperty(t))return!0;for(e=Object.getPrototypeOf(e);e&&e!==Function;){if(e.hasOwnProperty(t))return!0;var n=e.CA;if(n&&n[t])return!0;e=Object.getPrototypeOf(e)}return!1}function li(e,t,n){Object.defineProperty(Co.prototype,e,{get:t,set:n})}function Nn(e){for(var t=[],n=0;256>n;n++)t["0123456789abcdef".charAt(n>>4)+"0123456789abcdef".charAt(n&15)]=String.fromCharCode(n);e.length%2&&(e="0"+e),n=[];for(var i=0,r=0;rn;n++)t[n]=n;for(n=i=0;256>n;n++)i=(i+t[n]+119)%256,r=t[n],t[n]=t[i],t[i]=r;i=n=0;for(var o="",a=0;a-1||o.indexOf("\xA9 1998-2021 Northwoods Software")>-1||o.indexOf("Not for distribution or production use")>-1||o.indexOf("gojs.net")>-1?"":o}var st=Ke.navigator!==void 0&&0this.key)return!1;e=e.s;var t=e.length,n=++this.Za,i=this.qf;if(i!==null)for(;nthis.key)return!1;var t=--this.Za;return 0<=t?(this.key=t,this.value=e.s[t],!0):(this.de(),!1)},Fi.prototype.Ad=function(){return this.next()},Fi.prototype.first=function(){var e=this.Bb;this.qa=e.Ja;var t=e.s;return this.Za=e=t.length-1,0<=e?(t=t[e],this.key=e,this.value=t):null},Fi.prototype.any=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)if(e(t[n]))return!0;return!1},Fi.prototype.all=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)if(!e(t[n]))return!1;return!0},Fi.prototype.each=function(e){var t=this.Bb;t.Hg=null,t=t.s;var n=t.length;for(this.Za=n,--n;0<=n;n--)e(t[n]);return this},Fi.prototype.map=function(e){var t=this.Bb;t.Hg=null;var n=[];t=t.s;var i=t.length;for(this.Za=i,--i;0<=i;i--)n.push(e(t[i]));return e=new qt,e.s=n,e.xb(),e.iterator},Fi.prototype.filter=function(e){var t=this.Bb;t.Hg=null;var n=[];t=t.s;var i=t.length;for(this.Za=i,--i;0<=i;i--){var r=t[i];e(r)&&n.push(r)}return e=new qt,e.s=n,e.xb(),e.iterator},Fi.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Fi.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},ht.Object.defineProperties(Fi.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Fi.prototype.first=Fi.prototype.first,Fi.prototype.hasNext=Fi.prototype.Ad,Fi.prototype.next=Fi.prototype.next,Fi.prototype.reset=Fi.prototype.reset,Fi.className="ListIteratorBackwards";function qt(e){Li(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=qt.prototype,U.xb=function(){var e=this.Ja;e++,999999999e||e>=t.length)&&Lt(e,"0 <= i < length",qt,"elt:i"),t[e]},U.get=function(e){return this.M(e)},U.cd=function(e,t){var n=this.s;(0>e||e>=n.length)&&Lt(e,"0 <= i < length",qt,"setElt:i"),this._isFrozen&&Ut(this,e),n[e]=t},U.set=function(e,t){this.cd(e,t)},U.first=function(){var e=this.s;return e.length===0?null:e[0]},U.jc=function(){var e=this.s,t=e.length;return 0e&&Lt(e,">= 0",qt,"insertAt:i"),this._isFrozen&&Ut(this,e);var n=this.s;e>=n.length?n.push(t):n.splice(e,0,t),this.xb()},U.remove=function(e){if(e===null)return!1;this._isFrozen&&Ut(this,e);var t=this.s;return e=t.indexOf(e),e===-1?!1:(e===t.length-1?t.pop():t.splice(e,1),this.xb(),!0)},U.delete=function(e){return this.remove(e)},U.mb=function(e){var t=this.s;(0>e||e>=t.length)&&Lt(e,"0 <= i < length",qt,"removeAt:i"),this._isFrozen&&Ut(this,e),e===t.length-1?t.pop():t.splice(e,1),this.xb()},U.removeRange=function(e,t){var n=this.s,i=n.length;if(0>e)e=0;else if(e>=i)return this;if(0>t)return this;if(t>=i&&(t=i-1),e>t)return this;this._isFrozen&&Ut(this);for(var r=e,o=t+1;o=o)return this;if((0>t||t>=r-1)&&Lt(t,"0 <= from < length",qt,"sortRange:from"),o===2)return n=i[t],r=i[t+1],0=r)i.sort(e);else for(t=i.slice(0,n),t.sort(e),e=0;e=r)for(n=i.slice(t),n.sort(e),e=t;e=this.s.length)return Tt;var e=this.Sa;return e!==null?(e.reset(),e):new Ln(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Tt;var e=this.Hg;return e!==null?(e.reset(),e):new Fi(this)}}}),qt.prototype.reverse=qt.prototype.reverse,qt.prototype.sortRange=qt.prototype.zi,qt.prototype.sort=qt.prototype.sort,qt.prototype.toSet=qt.prototype.Iv,qt.prototype.toArray=qt.prototype.Fa,qt.prototype.removeRange=qt.prototype.removeRange,qt.prototype.removeAt=qt.prototype.mb,qt.prototype.delete=qt.prototype.delete,qt.prototype.remove=qt.prototype.remove,qt.prototype.insertAt=qt.prototype.Gb,qt.prototype.pop=qt.prototype.pop,qt.prototype.last=qt.prototype.jc,qt.prototype.first=qt.prototype.first,qt.prototype.set=qt.prototype.set,qt.prototype.setElt=qt.prototype.cd,qt.prototype.get=qt.prototype.get,qt.prototype.elt=qt.prototype.M,qt.prototype.indexOf=qt.prototype.indexOf,qt.prototype.has=qt.prototype.has,qt.prototype.contains=qt.prototype.contains,qt.prototype.clear=qt.prototype.clear,qt.prototype.addAll=qt.prototype.addAll,qt.prototype.push=qt.prototype.push,qt.prototype.add=qt.prototype.add,qt.prototype.thaw=qt.prototype.ka,qt.prototype.freeze=qt.prototype.freeze,qt.className="List";function xi(e){this.eg=e,e.Sa=null,this.qa=e.Ja,this.sa=null}xi.prototype.reset=function(){var e=this.eg;e.Sa=null,this.qa=e.Ja,this.sa=null},xi.prototype.next=function(){var e=this.eg;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=t.value,this.key=t.key,!0):(this.de(),!1)},xi.prototype.Ad=function(){return this.next()},xi.prototype.first=function(){var e=this.eg;if(this.qa=e.Ja,e=e.ea,e!==null){this.sa=e;var t=e.value;return this.key=e.key,this.value=t}return null},xi.prototype.any=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(e(t.value))return!0;t=t.va}return!1},xi.prototype.all=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(!e(t.value))return!1;t=t.va}return!0},xi.prototype.each=function(e){var t=this.eg;for(this.sa=t.Sa=null,t=t.ea;t!==null;)e(t.value),t=t.va;return this},xi.prototype.map=function(e){var t=this.eg;t.Sa=null;var n=new qt;for(t=t.ea;t!==null;)n.add(e(t.value)),t=t.va;return n.iterator},xi.prototype.filter=function(e){var t=this.eg;t.Sa=null;var n=new qt;for(t=t.ea;t!==null;){var i=t.value;e(i)&&n.add(i),t=t.va}return n.iterator},xi.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},xi.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},ht.Object.defineProperties(xi.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),xi.prototype.first=xi.prototype.first,xi.prototype.hasNext=xi.prototype.Ad,xi.prototype.next=xi.prototype.next,xi.prototype.reset=xi.prototype.reset,xi.className="SetIterator";function Xt(e){Li(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=Xt.prototype,U.xb=function(){var e=this.Ja;e++,999999999=this.Sb)return Tt;var e=this.Sa;return e!==null?(e.reset(),e):new xi(this)}}}),Xt.prototype.toList=Xt.prototype.Hv,Xt.prototype.toArray=Xt.prototype.Fa,Xt.prototype.clear=Xt.prototype.clear,Xt.prototype.retainAll=Xt.prototype.pA,Xt.prototype.removeAll=Xt.prototype.hp,Xt.prototype.delete=Xt.prototype.delete,Xt.prototype.remove=Xt.prototype.remove,Xt.prototype.first=Xt.prototype.first,Xt.prototype.containsAny=Xt.prototype.Ty,Xt.prototype.containsAll=Xt.prototype.Sy,Xt.prototype.has=Xt.prototype.has,Xt.prototype.contains=Xt.prototype.contains,Xt.prototype.addAll=Xt.prototype.addAll,Xt.prototype.add=Xt.prototype.add,Xt.prototype.thaw=Xt.prototype.ka,Xt.prototype.freeze=Xt.prototype.freeze;var Qr=1;Xt.className="Set",Xt.uniqueHash=Li,Xt.hashIdUnique=Yr,Xt.hashId=Mt;function tn(e){this.ma=e,this.qa=e.Ja,this.sa=null}tn.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},tn.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=this.key=e=t.key,!0):(this.de(),!1)},tn.prototype.Ad=function(){return this.next()},tn.prototype.first=function(){var e=this.ma;return this.qa=e.Ja,e=e.ea,e!==null?(this.sa=e,this.value=this.key=e=e.key):null},tn.prototype.any=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;){if(e(t.key))return!0;t=t.va}return!1},tn.prototype.all=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;){if(!e(t.key))return!1;t=t.va}return!0},tn.prototype.each=function(e){var t=this.ma;for(this.sa=null,t=t.ea;t!==null;)e(t.key),t=t.va;return this},tn.prototype.map=function(e){var t=this.ma;this.sa=null;var n=new qt;for(t=t.ea;t!==null;)n.add(e(t.key)),t=t.va;return n.iterator},tn.prototype.filter=function(e){var t=this.ma;this.sa=null;var n=new qt;for(t=t.ea;t!==null;){var i=t.key;e(i)&&n.add(i),t=t.va}return n.iterator},tn.prototype.de=function(){this.value=this.key=null,this.qa=-1},tn.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},ht.Object.defineProperties(tn.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),tn.prototype.first=tn.prototype.first,tn.prototype.hasNext=tn.prototype.Ad,tn.prototype.next=tn.prototype.next,tn.prototype.reset=tn.prototype.reset,tn.className="MapKeySetIterator";function Oi(e){Xt.call(this),Li(this),this._isFrozen=!0,this.ma=e}yi(Oi,Xt),U=Oi.prototype,U.freeze=function(){return this},U.ka=function(){return this},U.toString=function(){return"MapKeySet("+this.ma.toString()+")"},U.add=function(){Ve("This Set is read-only: "+this.toString())},U.contains=function(e){return this.ma.contains(e)},U.has=function(e){return this.contains(e)},U.remove=function(){Ve("This Set is read-only: "+this.toString())},U.delete=function(e){return this.remove(e)},U.clear=function(){Ve("This Set is read-only: "+this.toString())},U.first=function(){var e=this.ma.ea;return e!==null?e.key:null},Oi.prototype.any=function(e){for(var t=this.ma.ea;t!==null;){if(e(t.key))return!0;t=t.va}return!1},Oi.prototype.all=function(e){for(var t=this.ma.ea;t!==null;){if(!e(t.key))return!1;t=t.va}return!0},Oi.prototype.each=function(e){for(var t=this.ma.ea;t!==null;)e(t.key),t=t.va;return this},Oi.prototype.map=function(e){for(var t=new Xt,n=this.ma.ea;n!==null;)t.add(e(n.key)),n=n.va;return t},Oi.prototype.filter=function(e){for(var t=new Xt,n=this.ma.ea;n!==null;){var i=n.key;e(i)&&t.add(i),n=n.va}return t},Oi.prototype.copy=function(){return new Oi(this.ma)},Oi.prototype.Iv=function(){var e=new Xt,t=this.ma.Tb,n;for(n in t)e.add(t[n].key);return e},Oi.prototype.Fa=function(){var e=this.ma.Tb,t=Array(this.ma.Sb),n=0,i;for(i in e)t[n]=e[i].key,n++;return t},Oi.prototype.Hv=function(){var e=new qt,t=this.ma.Tb,n;for(n in t)e.add(t[n].key);return e},ht.Object.defineProperties(Oi.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Tt:new tn(this.ma)}}}),Oi.prototype.toList=Oi.prototype.Hv,Oi.prototype.toArray=Oi.prototype.Fa,Oi.prototype.toSet=Oi.prototype.Iv,Oi.prototype.first=Oi.prototype.first,Oi.prototype.clear=Oi.prototype.clear,Oi.prototype.delete=Oi.prototype.delete,Oi.prototype.remove=Oi.prototype.remove,Oi.prototype.has=Oi.prototype.has,Oi.prototype.contains=Oi.prototype.contains,Oi.prototype.add=Oi.prototype.add,Oi.prototype.thaw=Oi.prototype.ka,Oi.prototype.freeze=Oi.prototype.freeze,Oi.className="MapKeySet";function Ei(e){this.ma=e,e.jf=null,this.qa=e.Ja,this.sa=null}Ei.prototype.reset=function(){var e=this.ma;e.jf=null,this.qa=e.Ja,this.sa=null},Ei.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.value=t.value,this.key=t.key,!0):(this.de(),!1)},Ei.prototype.Ad=function(){return this.next()},Ei.prototype.first=function(){var e=this.ma;if(this.qa=e.Ja,e=e.ea,e!==null){this.sa=e;var t=e.value;return this.key=e.key,this.value=t}return null},Ei.prototype.any=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;){if(e(t.value))return!0;t=t.va}return!1},Ei.prototype.all=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;){if(!e(t.value))return!1;t=t.va}return!0},Ei.prototype.each=function(e){var t=this.ma;for(this.sa=t.jf=null,t=t.ea;t!==null;)e(t.value),t=t.va;return this},Ei.prototype.map=function(e){var t=this.ma;this.sa=t.jf=null;var n=new qt;for(t=t.ea;t!==null;)n.add(e(t.value)),t=t.va;return n.iterator},Ei.prototype.filter=function(e){var t=this.ma;this.sa=t.jf=null;var n=new qt;for(t=t.ea;t!==null;){var i=t.value;e(i)&&n.add(i),t=t.va}return n.iterator},Ei.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},Ei.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},ht.Object.defineProperties(Ei.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Ei.prototype.first=Ei.prototype.first,Ei.prototype.hasNext=Ei.prototype.Ad,Ei.prototype.next=Ei.prototype.next,Ei.prototype.reset=Ei.prototype.reset,Ei.className="MapValueSetIterator";function or(e,t){this.key=e,this.value=t,this.ll=this.va=null}or.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},or.className="KeyValuePair";function tr(e){this.ma=e,e.Sa=null,this.qa=e.Ja,this.sa=null}tr.prototype.reset=function(){var e=this.ma;e.Sa=null,this.qa=e.Ja,this.sa=null},tr.prototype.next=function(){var e=this.ma;if(e.Ja!==this.qa&&this.key===null)return!1;var t=this.sa;return t=t===null?e.ea:t.va,t!==null?(this.sa=t,this.key=t.key,this.value=t.value,!0):(this.de(),!1)},tr.prototype.Ad=function(){return this.next()},tr.prototype.first=function(){var e=this.ma;return this.qa=e.Ja,e=e.ea,e!==null?(this.sa=e,this.key=e.key,this.value=e.value,e):null},tr.prototype.any=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(e(t))return!0;t=t.va}return!1},tr.prototype.all=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;){if(!e(t))return!1;t=t.va}return!0},tr.prototype.each=function(e){var t=this.ma;for(this.sa=t.Sa=null,t=t.ea;t!==null;)e(t),t=t.va;return this},tr.prototype.map=function(e){var t=this.ma;this.sa=t.Sa=null;var n=new qt;for(t=t.ea;t!==null;)n.add(e(t)),t=t.va;return n.iterator},tr.prototype.filter=function(e){var t=this.ma;this.sa=t.Sa=null;var n=new qt;for(t=t.ea;t!==null;)e(t)&&n.add(t),t=t.va;return n.iterator},tr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},tr.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},ht.Object.defineProperties(tr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),tr.prototype.first=tr.prototype.first,tr.prototype.hasNext=tr.prototype.Ad,tr.prototype.next=tr.prototype.next,tr.prototype.reset=tr.prototype.reset,tr.className="MapIterator";function Zn(e){Li(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof e=="string"&&Ve("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),e!==void 0&&this.addAll(e)}U=Zn.prototype,U.xb=function(){var e=this.Ja;e++,999999999=this.count)return Tt;var e=this.Sa;return e!==null?(e.reset(),e):new tr(this)}},iteratorKeys:{get:function(){return 0>=this.count?Tt:new tn(this)}},iteratorValues:{get:function(){if(0>=this.count)return Tt;var e=this.jf;return e!==null?(e.reset(),e):new Ei(this)}}}),Zn.prototype.toKeySet=Zn.prototype.Lf,Zn.prototype.toArray=Zn.prototype.Fa,Zn.prototype.clear=Zn.prototype.clear,Zn.prototype.delete=Zn.prototype.delete,Zn.prototype.remove=Zn.prototype.remove,Zn.prototype.get=Zn.prototype.get,Zn.prototype.getValue=Zn.prototype.I,Zn.prototype.has=Zn.prototype.has,Zn.prototype.contains=Zn.prototype.contains,Zn.prototype.first=Zn.prototype.first,Zn.prototype.addAll=Zn.prototype.addAll,Zn.prototype.set=Zn.prototype.set,Zn.prototype.add=Zn.prototype.add,Zn.prototype.thaw=Zn.prototype.ka,Zn.prototype.freeze=Zn.prototype.freeze,Zn.className="Map";function he(e,t){e===void 0?this.y=this.x=0:typeof e=="number"&&typeof t=="number"?(this.x=e,this.y=t):Ve("Invalid arguments to Point constructor: "+e+", "+t),this._isFrozen=!1}var gr,br,cr,Br,Zi;he.prototype.assign=function(e){return this.x=e.x,this.y=e.y,this},he.prototype.h=function(e,t){return this.x=e,this.y=t,this},he.prototype.sg=function(e,t){return this.x=e,this.y=t,this},he.prototype.set=function(e){return this.x=e.x,this.y=e.y,this},he.prototype.copy=function(){var e=new he;return e.x=this.x,e.y=this.y,e},U=he.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ri(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;return(i=e[t++])&&(r=parseFloat(i)),new he(n,r)}return new he}function Ai(e){return e.x.toString()+" "+e.y.toString()}U.toString=function(){return"Point("+this.x+","+this.y+")"},U.D=function(e){return e instanceof he?this.x===e.x&&this.y===e.y:!1},U.hi=function(e,t){return this.x===e&&this.y===t},U.Xa=function(e){return qe.B(this.x,e.x)&&qe.B(this.y,e.y)},U.add=function(e){return this.x+=e.x,this.y+=e.y,this},U.re=function(e){return this.x-=e.x,this.y-=e.y,this},U.offset=function(e,t){return this.x+=e,this.y+=t,this},he.prototype.rotate=function(e){if(e===0)return this;var t=this.x,n=this.y;if(t===0&&n===0)return this;if(360<=e?e-=360:0>e&&(e+=360),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));return this.x=e*t-i*n,this.y=i*t+e*n,this},U=he.prototype,U.scale=function(e,t){return this.x*=e,this.y*=t,this},U.Bf=function(e){var t=e.x-this.x;return e=e.y-this.y,t*t+e*e},U.zd=function(e,t){return e-=this.x,t-=this.y,e*e+t*t},U.normalize=function(){var e=this.x,t=this.y,n=Math.sqrt(e*e+t*t);return 0t?270:0;if(t===0)return 0e?n=0>t?n+180:180-n:0>t&&(n=360-n),n}U.Ry=function(e,t){return qe.Fl(e.x,e.y,t.x,t.y,this.x,this.y)},U.fA=function(e,t,n,i){return qe.qh(e,t,n,i,this.x,this.y,this),this},U.gA=function(e,t){return qe.qh(e.x,e.y,t.x,t.y,this.x,this.y,this),this},U.uA=function(e,t,n,i){return qe.No(this.x,this.y,e,t,n,i,this),this},U.vA=function(e,t){return qe.No(this.x,this.y,e.x,e.y,t.width,t.height,this),this},U.xi=function(e,t){return this.x=e.x+t.x*e.width+t.offsetX,this.y=e.y+t.y*e.height+t.offsetY,this},U.yi=function(e,t,n,i,r){return this.x=e+r.x*n+r.offsetX,this.y=t+r.y*i+r.offsetY,this},U.transform=function(e){return e.Ga(this),this};function Ki(e,t){return t.Cd(e),e}function Lr(e,t,n,i,r,o){var a=r-n,l=o-i,u=a*a+l*l;n-=e,i-=t;var f=-n*a-i*l;return 0>=f||f>=u?(a=r-e,l=o-t,Math.min(n*n+i*i,a*a+l*l)):(e=a*i-l*n,e*e/u)}function Wr(e,t,n,i){return e=n-e,t=i-t,e*e+t*t}function eo(e,t,n,i){return e=n-e,t=i-t,e===0?0t?270:0:t===0?0e?i=0>t?i+180:180-i:0>t&&(i=360-i),i)}U.w=function(){return isFinite(this.x)&&isFinite(this.y)},he.alloc=function(){var e=Lo.pop();return e===void 0?new he:e},he.allocAt=function(e,t){var n=Lo.pop();return n===void 0?new he(e,t):(n.x=e,n.y=t,n)},he.free=function(e){Lo.push(e)},he.prototype.isReal=he.prototype.w,he.prototype.setSpot=he.prototype.yi,he.prototype.setRectSpot=he.prototype.xi,he.prototype.snapToGridPoint=he.prototype.vA,he.prototype.snapToGrid=he.prototype.uA,he.prototype.projectOntoLineSegmentPoint=he.prototype.gA,he.prototype.projectOntoLineSegment=he.prototype.fA,he.intersectingLineSegments=function(e,t,n,i,r,o,a,l){return qe.Rl(e,t,n,i,r,o,a,l)},he.prototype.compareWithLineSegmentPoint=he.prototype.Ry,he.compareWithLineSegment=function(e,t,n,i,r,o){return qe.Fl(e,t,n,i,r,o)},he.prototype.direction=he.prototype.direction,he.prototype.directionPoint=he.prototype.ab,he.prototype.normalize=he.prototype.normalize,he.prototype.distanceSquared=he.prototype.zd,he.prototype.distanceSquaredPoint=he.prototype.Bf,he.prototype.scale=he.prototype.scale,he.prototype.rotate=he.prototype.rotate,he.prototype.offset=he.prototype.offset,he.prototype.subtract=he.prototype.re,he.prototype.add=he.prototype.add,he.prototype.equalsApprox=he.prototype.Xa,he.prototype.equalTo=he.prototype.hi,he.prototype.equals=he.prototype.D,he.prototype.set=he.prototype.set,he.prototype.setTo=he.prototype.sg;var Lo=[];he.className="Point",he.parse=Ri,he.stringify=Ai,he.distanceLineSegmentSquared=Lr,he.distanceSquared=Wr,he.direction=eo,he.Origin=gr=new he(0,0).ja(),he.InfiniteTopLeft=br=new he(-1/0,-1/0).ja(),he.InfiniteBottomRight=cr=new he(1/0,1/0).ja(),he.SixPoint=Br=new he(6,6).ja(),he.NoPoint=Zi=new he(NaN,NaN).ja(),he.parse=Ri,he.stringify=Ai,he.distanceLineSegmentSquared=Lr,he.distanceSquared=Wr,he.direction=eo;function pi(e,t){e===void 0?this.height=this.width=0:typeof e=="number"&&(0<=e||isNaN(e))&&typeof t=="number"&&(0<=t||isNaN(t))?(this.width=e,this.height=t):Ve("Invalid arguments to Size constructor: "+e+", "+t),this._isFrozen=!1}var pa,Uo,oa,ma,$a,is,ka;pi.prototype.assign=function(e){return this.width=e.width,this.height=e.height,this},pi.prototype.h=function(e,t){return this.width=e,this.height=t,this},pi.prototype.sg=function(e,t){return this.width=e,this.height=t,this},pi.prototype.set=function(e){return this.width=e.width,this.height=e.height,this},pi.prototype.copy=function(){var e=new pi;return e.width=this.width,e.height=this.height,e},U=pi.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function ss(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;return(i=e[t++])&&(r=parseFloat(i)),new pi(n,r)}return new pi}function Ua(e){return e.width.toString()+" "+e.height.toString()}U.toString=function(){return"Size("+this.width+","+this.height+")"},U.D=function(e){return e instanceof pi?this.width===e.width&&this.height===e.height:!1},U.hi=function(e,t){return this.width===e&&this.height===t},U.Xa=function(e){return qe.B(this.width,e.width)&&qe.B(this.height,e.height)},U.Bc=function(e,t){return e=this.width+e,this.width=0<=e?e:0,t=this.height+t,this.height=0<=t?t:0,this},U.w=function(){return isFinite(this.width)&&isFinite(this.height)},pi.alloc=function(){var e=Go.pop();return e===void 0?new pi:e},pi.free=function(e){Go.push(e)},pi.prototype.isReal=pi.prototype.w,pi.prototype.inflate=pi.prototype.Bc,pi.prototype.equalsApprox=pi.prototype.Xa,pi.prototype.equalTo=pi.prototype.hi,pi.prototype.equals=pi.prototype.D,pi.prototype.set=pi.prototype.set,pi.prototype.setTo=pi.prototype.sg;var Go=[];pi.className="Size",pi.parse=ss,pi.stringify=Ua,pi.ZeroSize=pa=new pi(0,0).ja(),pi.OneSize=Uo=new pi(1,1).ja(),pi.SixSize=oa=new pi(6,6).ja(),pi.EightSize=ma=new pi(8,8).ja(),pi.TenSize=$a=new pi(10,10).ja(),pi.InfiniteSize=is=new pi(1/0,1/0).ja(),pi.NoSize=ka=new pi(NaN,NaN).ja(),pi.parse=ss,pi.stringify=Ua;function Zt(e,t,n,i){e===void 0?this.height=this.width=this.y=this.x=0:typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&(0<=n||isNaN(n))&&typeof i=="number"&&(0<=i||isNaN(i))?(this.x=e,this.y=t,this.width=n,this.height=i):e instanceof he?(n=e.x,e=e.y,t instanceof he?(i=t.x,t=t.y,this.x=Math.min(n,i),this.y=Math.min(e,t),this.width=Math.abs(n-i),this.height=Math.abs(e-t)):t instanceof pi?(this.x=n,this.y=e,this.width=t.width,this.height=t.height):Ve("Incorrect second argument supplied to Rect constructor "+t)):Ve("Invalid arguments to Rect constructor: "+e+", "+t+", "+n+", "+i),this._isFrozen=!1}U=Zt.prototype,U.assign=function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this},U.h=function(e,t,n,i){return this.x=e,this.y=t,this.width=n,this.height=i,this};function Pa(e,t,n){e.width=t,e.height=n}U.sg=function(e,t,n,i){return this.x=e,this.y=t,this.width=n,this.height=i,this},U.set=function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this},U.dd=function(e){return this.x=e.x,this.y=e.y,this},U.tA=function(e){return this.width=e.width,this.height=e.height,this},Zt.prototype.copy=function(){var e=new Zt;return e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e},U=Zt.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function ql(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i&&(n=parseFloat(i));for(var r=0;e[t]==="";)t++;(i=e[t++])&&(r=parseFloat(i));for(var o=0;e[t]==="";)t++;(i=e[t++])&&(o=parseFloat(i));for(var a=0;e[t]==="";)t++;return(i=e[t++])&&(a=parseFloat(i)),new Zt(n,r,o,a)}return new Zt}function nl(e){return e.x.toString()+" "+e.y.toString()+" "+e.width.toString()+" "+e.height.toString()}U.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},U.D=function(e){return e instanceof Zt?this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height:!1},U.hi=function(e,t,n,i){return this.x===e&&this.y===t&&this.width===n&&this.height===i},U.Xa=function(e){return qe.B(this.x,e.x)&&qe.B(this.y,e.y)&&qe.B(this.width,e.width)&&qe.B(this.height,e.height)};function uo(e,t){return qe.$(e.x,t.x)&&qe.$(e.y,t.y)&&qe.$(e.width,t.width)&&qe.$(e.height,t.height)}U.ca=function(e){return this.x<=e.x&&this.x+this.width>=e.x&&this.y<=e.y&&this.y+this.height>=e.y},U.Re=function(e){return this.x<=e.x&&e.x+e.width<=this.x+this.width&&this.y<=e.y&&e.y+e.height<=this.y+this.height},U.contains=function(e,t,n,i){return n===void 0&&(n=0),i===void 0&&(i=0),this.x<=e&&e+n<=this.x+this.width&&this.y<=t&&t+i<=this.y+this.height},U.offset=function(e,t){return this.x+=e,this.y+=t,this},U.Bc=function(e,t){return No(this,t,e,t,e)},U.Co=function(e){return No(this,e.top,e.right,e.bottom,e.left)},U.Fv=function(e){return No(this,-e.top,-e.right,-e.bottom,-e.left)},U.Hz=function(e,t,n,i){return No(this,e,t,n,i)};function No(e,t,n,i,r){var o=e.width;return n+r<=-o?(e.x+=o/2,e.width=0):(e.x-=r,e.width+=n+r),n=e.height,t+i<=-n?(e.y+=n/2,e.height=0):(e.y-=t,e.height+=t+i),e}U.Ex=function(e){return go(this,e.x,e.y,e.width,e.height)},U.Uu=function(e,t,n,i){return go(this,e,t,n,i)};function go(e,t,n,i,r){var o=Math.max(e.x,t),a=Math.max(e.y,n);return t=Math.min(e.x+e.width,t+i),n=Math.min(e.y+e.height,n+r),e.x=o,e.y=a,e.width=Math.max(0,t-o),e.height=Math.max(0,n-a),e}U.Yc=function(e){return this.Vu(e.x,e.y,e.width,e.height)},U.Vu=function(e,t,n,i){var r=this.width,o=this.x;return r!==1/0&&n!==1/0&&(r+=o,n+=e,isNaN(n)||isNaN(r)||o>n||e>r)?!1:(e=this.height,n=this.y,!(e!==1/0&&i!==1/0&&(e+=n,i+=t,isNaN(i)||isNaN(e)||n>i||t>e)))};function Ot(e,t){var n=e.width,i=e.x,r=t.x-10;return i>t.width+10+10+r||r>n+i?!1:(n=e.height,e=e.y,i=t.y-10,!(e>t.height+10+10+i||i>n+e))}U.Ye=function(e){return Pr(this,e.x,e.y,0,0)},U.ed=function(e){return Pr(this,e.x,e.y,e.width,e.height)},U.Kv=function(e,t,n,i){return n===void 0&&(n=0),i===void 0&&(i=0),Pr(this,e,t,n,i)};function Pr(e,t,n,i,r){var o=Math.min(e.x,t),a=Math.min(e.y,n);return t=Math.max(e.x+e.width,t+i),n=Math.max(e.y+e.height,n+r),e.x=o,e.y=a,e.width=t-o,e.height=n-a,e}U.yi=function(e,t,n){return this.x=e-n.offsetX-n.x*this.width,this.y=t-n.offsetY-n.y*this.height,this};function co(e,t,n,i,r,o,a,l){return a===void 0&&(a=0),l===void 0&&(l=0),e<=r&&r+a<=e+n&&t<=o&&o+l<=t+i}function xa(e,t,n,i,r,o,a,l){return e>a+r||r>n+e?!1:!(t>l+o||o>i+t)}U.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},U.Mz=function(){return this.width===0&&this.height===0},Zt.alloc=function(){var e=ar.pop();return e===void 0?new Zt:e},Zt.allocAt=function(e,t,n,i){var r=ar.pop();return r===void 0?new Zt(e,t,n,i):r.h(e,t,n,i)},Zt.free=function(e){ar.push(e)},ht.Object.defineProperties(Zt.prototype,{left:{get:function(){return this.x},set:function(e){this.x=e}},top:{get:function(){return this.y},set:function(e){this.y=e}},right:{get:function(){return this.x+this.width},set:function(e){this.x+=e-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(e){this.y+=e-(this.y+this.height)}},position:{get:function(){return new he(this.x,this.y)},set:function(e){this.x=e.x,this.y=e.y}},size:{get:function(){return new pi(this.width,this.height)},set:function(e){this.width=e.width,this.height=e.height}},center:{get:function(){return new he(this.x+this.width/2,this.y+this.height/2)},set:function(e){this.x=e.x-this.width/2,this.y=e.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(e){this.x=e-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(e){this.y=e-this.height/2}}}),Zt.prototype.isEmpty=Zt.prototype.Mz,Zt.prototype.isReal=Zt.prototype.w,Zt.intersectsLineSegment=function(e,t,n,i,r,o,a,l){return qe.Fx(e,t,n,i,r,o,a,l)},Zt.prototype.setSpot=Zt.prototype.yi,Zt.prototype.union=Zt.prototype.Kv,Zt.prototype.unionRect=Zt.prototype.ed,Zt.prototype.unionPoint=Zt.prototype.Ye,Zt.prototype.intersects=Zt.prototype.Vu,Zt.prototype.intersectsRect=Zt.prototype.Yc,Zt.prototype.intersect=Zt.prototype.Uu,Zt.prototype.intersectRect=Zt.prototype.Ex,Zt.prototype.grow=Zt.prototype.Hz,Zt.prototype.subtractMargin=Zt.prototype.Fv,Zt.prototype.addMargin=Zt.prototype.Co,Zt.prototype.inflate=Zt.prototype.Bc,Zt.prototype.offset=Zt.prototype.offset,Zt.prototype.contains=Zt.prototype.contains,Zt.prototype.containsRect=Zt.prototype.Re,Zt.prototype.containsPoint=Zt.prototype.ca,Zt.prototype.equalsApprox=Zt.prototype.Xa,Zt.prototype.equalTo=Zt.prototype.hi,Zt.prototype.equals=Zt.prototype.D,Zt.prototype.setSize=Zt.prototype.tA,Zt.prototype.setPoint=Zt.prototype.dd,Zt.prototype.set=Zt.prototype.set,Zt.prototype.setTo=Zt.prototype.sg;var xr=null,wn=null,ar=[];Zt.className="Rect",Zt.parse=ql,Zt.stringify=nl,Zt.contains=co,Zt.intersects=xa,Zt.ZeroRect=xr=new Zt(0,0,0,0).ja(),Zt.NoRect=wn=new Zt(NaN,NaN,NaN,NaN).ja(),Zt.parse=ql,Zt.stringify=nl,Zt.contains=co,Zt.intersects=xa;function mi(e,t,n,i){e===void 0?this.left=this.bottom=this.right=this.top=0:t===void 0?this.left=this.bottom=this.right=this.top=e:n===void 0?(this.top=e,this.right=t,this.bottom=e,this.left=t):i!==void 0?(this.top=e,this.right=t,this.bottom=n,this.left=i):Ve("Invalid arguments to Margin constructor: "+e+", "+t+", "+n+", "+i),this._isFrozen=!1}mi.prototype.assign=function(e){return this.top=e.top,this.right=e.right,this.bottom=e.bottom,this.left=e.left,this},mi.prototype.sg=function(e,t,n,i){return this.top=e,this.right=t,this.bottom=n,this.left=i,this},mi.prototype.set=function(e){return this.top=e.top,this.right=e.right,this.bottom=e.bottom,this.left=e.left,this},mi.prototype.copy=function(){var e=new mi;return e.top=this.top,e.right=this.right,e.bottom=this.bottom,e.left=this.left,e},U=mi.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function Wo(e){if(typeof e=="string"){e=e.split(" ");for(var t=0,n=NaN;e[t]==="";)t++;var i=e[t++];if(i&&(n=parseFloat(i)),isNaN(n))return new mi;for(var r=NaN;e[t]==="";)t++;if((i=e[t++])&&(r=parseFloat(i)),isNaN(r))return new mi(n);for(var o=NaN;e[t]==="";)t++;if((i=e[t++])&&(o=parseFloat(i)),isNaN(o))return new mi(n,r);for(var a=NaN;e[t]==="";)t++;return(i=e[t++])&&(a=parseFloat(i)),isNaN(a)?new mi(n,r):new mi(n,r,o,a)}return new mi}function ga(e){return e.top.toString()+" "+e.right.toString()+" "+e.bottom.toString()+" "+e.left.toString()}U.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},U.D=function(e){return e instanceof mi?this.top===e.top&&this.right===e.right&&this.bottom===e.bottom&&this.left===e.left:!1},U.hi=function(e,t,n,i){return this.top===e&&this.right===t&&this.bottom===n&&this.left===i},U.Xa=function(e){return qe.B(this.top,e.top)&&qe.B(this.right,e.right)&&qe.B(this.bottom,e.bottom)&&qe.B(this.left,e.left)},U.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},mi.alloc=function(){var e=Ss.pop();return e===void 0?new mi:e},mi.free=function(e){Ss.push(e)},mi.prototype.isReal=mi.prototype.w,mi.prototype.equalsApprox=mi.prototype.Xa,mi.prototype.equalTo=mi.prototype.hi,mi.prototype.equals=mi.prototype.D,mi.prototype.set=mi.prototype.set,mi.prototype.setTo=mi.prototype.sg;var Ja=null,Ms=null,Ss=[];mi.className="Margin",mi.parse=Wo,mi.stringify=ga,mi.ZeroMargin=Ja=new mi(0,0,0,0).ja(),mi.TwoMargin=Ms=new mi(2,2,2,2).ja(),mi.parse=Wo,mi.stringify=ga;function ai(e,t,n,i){e===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),this.x=e,this.y=t,this.offsetX=n,this.offsetY=i),this._isFrozen=!1}var Ui,Jo,Es,Vo,rs,Rr,dl,ws,Os,Bo,Ia,fl,ja,qa,Rl,_o,il,rl,hu,Ga,os,_s,Vi,Cs,jl,Kr,wo,ha,aa,ro,ia,va,Ma,Oa,Gl,Vs;ai.prototype.assign=function(e){return this.x=e.x,this.y=e.y,this.offsetX=e.offsetX,this.offsetY=e.offsetY,this},ai.prototype.sg=function(e,t,n,i){return this.x=e,this.y=t,this.offsetX=n,this.offsetY=i,this},ai.prototype.set=function(e){return this.x=e.x,this.y=e.y,this.offsetX=e.offsetX,this.offsetY=e.offsetY,this},ai.prototype.copy=function(){var e=new ai;return e.x=this.x,e.y=this.y,e.offsetX=this.offsetX,e.offsetY=this.offsetY,e},U=ai.prototype,U.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},U.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this};function wa(e,t){return e.x=NaN,e.y=NaN,e.offsetX=t,e}function hc(e){if(typeof e=="string"){if(e=e.trim(),e==="None")return Ui;if(e==="TopLeft")return Jo;if(e==="Top"||e==="TopCenter"||e==="MiddleTop")return Es;if(e==="TopRight")return Vo;if(e==="Left"||e==="LeftCenter"||e==="MiddleLeft")return rs;if(e==="Center")return Rr;if(e==="Right"||e==="RightCenter"||e==="MiddleRight")return dl;if(e==="BottomLeft")return ws;if(e==="Bottom"||e==="BottomCenter"||e==="MiddleBottom")return Os;if(e==="BottomRight")return Bo;if(e==="TopSide")return Ia;if(e==="LeftSide")return fl;if(e==="RightSide")return ja;if(e==="BottomSide")return qa;if(e==="TopBottomSides")return Rl;if(e==="LeftRightSides")return _o;if(e==="TopLeftSides")return il;if(e==="TopRightSides")return rl;if(e==="BottomLeftSides")return hu;if(e==="BottomRightSides")return Ga;if(e==="NotTopSide")return os;if(e==="NotLeftSide")return _s;if(e==="NotRightSide")return Vi;if(e==="NotBottomSide")return Cs;if(e==="AllSides")return jl;if(e==="Default")return Kr;e=e.split(" ");for(var t=0,n=0;e[t]==="";)t++;var i=e[t++];i!==void 0&&0e&&(e+=360),e===0)return this;if(this.translate(t,n),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));var r=this.m12*e+this.m22*i,o=this.m11*-i+this.m21*e,a=this.m12*-i+this.m22*e;return this.m11=this.m11*e+this.m21*i,this.m12=r,this.m21=o,this.m22=a,this.translate(-t,-n),this},U=nr.prototype,U.translate=function(e,t){return this.dx+=this.m11*e+this.m21*t,this.dy+=this.m12*e+this.m22*t,this},U.scale=function(e,t){return t===void 0&&(t=e),this.m11*=e,this.m12*=e,this.m21*=t,this.m22*=t,this},U.Ga=function(e){var t=e.x,n=e.y;return e.h(t*this.m11+n*this.m21+this.dx,t*this.m12+n*this.m22+this.dy)},U.Cd=function(e){var t=1/(this.m11*this.m22-this.m12*this.m21),n=e.x,i=e.y;return e.h(n*this.m22*t+i*-this.m21*t+t*(this.m21*this.dy-this.m22*this.dx),n*-this.m12*t+i*this.m11*t+t*(this.m12*this.dx-this.m11*this.dy))},U.Eu=function(e){var t=1/(this.m11*this.m22-this.m12*this.m21),n=1.25*e.x,i=1.2*e.y;return e.h(n*this.m22*t+i*-this.m21*t+t*(this.m21*this.dy-this.m22*this.dx),n*-this.m12*t+i*this.m11*t+t*(this.m12*this.dx-this.m11*this.dy))},U.pp=function(e){var t=e.x,n=e.y,i=t+e.width,r=n+e.height,o=this.m11,a=this.m12,l=this.m21,u=this.m22,f=this.dx,p=this.dy,x=t*o+n*l+f,N=t*a+n*u+p,R=i*o+n*l+f,_=i*a+n*u+p;return n=t*o+r*l+f,t=t*a+r*u+p,o=i*o+r*l+f,i=i*a+r*u+p,r=Math.min(x,R),x=Math.max(x,R),R=Math.min(N,_),N=Math.max(N,_),r=Math.min(r,n),x=Math.max(x,n),R=Math.min(R,t),N=Math.max(N,t),r=Math.min(r,o),x=Math.max(x,o),R=Math.min(R,i),N=Math.max(N,i),e.h(r,R,x-r,N-R),e},nr.alloc=function(){var e=Ks.pop();return e===void 0?new nr:e},nr.free=function(e){Ks.push(e)},nr.prototype.transformRect=nr.prototype.pp,nr.prototype.transformPoint=nr.prototype.Ga,nr.prototype.scale=nr.prototype.scale,nr.prototype.translate=nr.prototype.translate,nr.prototype.rotate=nr.prototype.rotate,nr.prototype.invert=nr.prototype.Vj,nr.prototype.multiplyInverted=nr.prototype.bv,nr.prototype.multiply=nr.prototype.multiply,nr.prototype.reset=nr.prototype.reset,nr.prototype.isIdentity=nr.prototype.ws,nr.prototype.equals=nr.prototype.D,nr.prototype.setTransform=nr.prototype.setTransform,nr.prototype.set=nr.prototype.set;var Ks=[];nr.className="Transform",nr.xF="54a702f3e53909c447824c6706603faf4c";var qe={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(e){if(0>=e)return 0;var t=qe.Uv;if(t===null){t=[];for(var n=0;2e3>=n;n++)t[n]=Math.sqrt(n);qe.Uv=t}return 1>e?(n=1/e,2e3>=n?1/t[n|0]:Math.sqrt(e)):2e3>=e?t[e|0]:Math.sqrt(e)},B:function(e,t){return e-=t,.5>e&&-.5e&&-5e-8=r&&(r=1e-6),ep-f)if(e-n>r||n-e>r){if(o=(i-t)/(n-e)*(o-e)+t,o-r<=a&&a<=o+r)return!0}else return!0;else if(t-i>r||i-t>r){if(a=(n-e)/(i-t)*(a-t)+e,a-r<=o&&o<=a+r)return!0}else return!0;return!1},cs:function(e,t,n,i,r,o,a,l,u,f,p,x){if(qe.Yb(e,t,a,l,x,n,i)&&qe.Yb(e,t,a,l,x,r,o))return qe.Yb(e,t,a,l,x,f,p);var N=(e+n)/2,R=(t+i)/2,_=(n+r)/2,V=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(N+_)/2,n=(R+V)/2,_=(_+r)/2,V=(V+o)/2;var be=(i+_)/2,ue=(n+V)/2;return qe.cs(e,t,N,R,i,n,be,ue,u,f,p,x)||qe.cs(be,ue,_,V,r,o,a,l,u,f,p,x)},ax:function(e,t,n,i,r,o,a,l,u){var f=(n+r)/2,p=(i+o)/2;return u.h((((e+n)/2+f)/2+(f+(r+a)/2)/2)/2,(((t+i)/2+p)/2+(p+(o+l)/2)/2)/2),u},My:function(e,t,n,i,r,o,a,l){var u=(n+r)/2,f=(i+o)/2;return eo(((e+n)/2+u)/2,((t+i)/2+f)/2,(u+(r+a)/2)/2,(f+(o+l)/2)/2)},Dl:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,a,l,u,n,i)&&qe.Yb(e,t,a,l,u,r,o))Pr(f,e,t,0,0),Pr(f,a,l,0,0);else{var p=(e+n)/2,x=(t+i)/2,N=(n+r)/2,R=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(p+N)/2,n=(x+R)/2,N=(N+r)/2,R=(R+o)/2;var _=(i+N)/2,V=(n+R)/2;qe.Dl(e,t,p,x,i,n,_,V,u,f),qe.Dl(_,V,N,R,r,o,a,l,u,f)}return f},Qe:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,a,l,u,n,i)&&qe.Yb(e,t,a,l,u,r,o))f.length===0&&(f.push(e),f.push(t)),f.push(a),f.push(l);else{var p=(e+n)/2,x=(t+i)/2,N=(n+r)/2,R=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(p+N)/2,n=(x+R)/2,N=(N+r)/2,R=(R+o)/2;var _=(i+N)/2,V=(n+R)/2;qe.Qe(e,t,p,x,i,n,_,V,u,f),qe.Qe(_,V,N,R,r,o,a,l,u,f)}return f},jv:function(e,t,n,i,r,o,a,l,u,f){if(qe.Yb(e,t,r,o,f,n,i))return qe.Yb(e,t,r,o,f,l,u);var p=(e+n)/2,x=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var N=(p+n)/2,R=(x+i)/2;return qe.jv(e,t,p,x,N,R,a,l,u,f)||qe.jv(N,R,n,i,r,o,a,l,u,f)},OA:function(e,t,n,i,r,o,a){return a.h(((e+n)/2+(n+r)/2)/2,((t+i)/2+(i+o)/2)/2),a},iv:function(e,t,n,i,r,o,a,l){if(qe.Yb(e,t,r,o,a,n,i))Pr(l,e,t,0,0),Pr(l,r,o,0,0);else{var u=(e+n)/2,f=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var p=(u+n)/2,x=(f+i)/2;qe.iv(e,t,u,f,p,x,a,l),qe.iv(p,x,n,i,r,o,a,l)}return l},ep:function(e,t,n,i,r,o,a,l){if(qe.Yb(e,t,r,o,a,n,i))l.length===0&&(l.push(e),l.push(t)),l.push(r),l.push(o);else{var u=(e+n)/2,f=(t+i)/2;n=(n+r)/2,i=(i+o)/2;var p=(u+n)/2,x=(f+i)/2;qe.ep(e,t,u,f,p,x,a,l),qe.ep(p,x,n,i,r,o,a,l)}return l},Eo:function(e,t,n,i,r,o,a,l,u,f,p,x,N,R){if(qe.Yb(e,t,a,l,N,n,i)&&qe.Yb(e,t,a,l,N,r,o))return!qe.Rl(e,t,a,l,u,f,p,x)||(N=(e-a)*(f-x)-(t-l)*(u-p),N===0)?!1:(R.h(((e*l-t*a)*(u-p)-(e-a)*(u*x-f*p))/N,((e*l-t*a)*(f-x)-(t-l)*(u*x-f*p))/N),!0);var _=(e+n)/2,V=(t+i)/2,be=(n+r)/2,ue=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(_+be)/2,n=(V+ue)/2,be=(be+r)/2,ue=(ue+o)/2;var Fe=(i+be)/2,Ue=(n+ue)/2,Ge=1/0,rt=!1,At=0,Kn=0;return qe.Eo(e,t,_,V,i,n,Fe,Ue,u,f,p,x,N,R)&&(e=(R.x-u)*(R.x-u)+(R.y-f)*(R.y-f),e=p)return R;if((u>p?u-p:p-u)<(f>x?f-x:x-f)){if(te)return R}else if(ee)return R;0N&&R--}else{_=(e+n)/2,V=(t+i)/2;var be=(n+r)/2,ue=(i+o)/2;r=(r+a)/2,o=(o+l)/2,i=(_+be)/2,n=(V+ue)/2,be=(be+r)/2,ue=(ue+o)/2;var Fe=(i+be)/2,Ue=(n+ue)/2;R+=qe.Fo(e,t,_,V,i,n,Fe,Ue,u,f,p,x,N),R+=qe.Fo(Fe,Ue,be,ue,r,o,a,l,u,f,p,x,N)}return R},qh:function(e,t,n,i,r,o,a){return qe.$(e,n)?(tt?(a.h(e,t),!1):(a.h(e,o),!0)):qe.$(t,i)?(ee?(a.h(e,t),!1):(a.h(r,t),!0)):(r=((e-r)*(e-n)+(t-o)*(t-i))/((n-e)*(n-e)+(i-t)*(i-t)),-5e-6>r?(a.h(e,t),!1):1.000005t?(u.h(e,t),!1):(u.h(e,n),!0)):(a=(i-t)/(n-e),qe.$(l,a)?(qe.qh(e,t,n,i,r,o,u),!1):(r=(a*e-l*r+o-t)/(a-l),qe.$(a,0)?(ee?(u.h(e,t),!1):(u.h(r,t),!0)):qe.qh(e,t,n,i,r,a*(r-e)+t,u))))},MA:function(e,t,n,i,r){return qe.Ve(n.x,n.y,i.x,i.y,e.x,e.y,t.x,t.y,r)},KA:function(e,t,n,i,r,o,a,l,u,f){function p(be,ue){var Fe=(be-e)*(be-e)+(ue-t)*(ue-t);Fe(n>e?n-e:e-n)){if(N=1-(n-r)*(n-r)/(N*N),0>N)return u;N=Math.sqrt(N),i=-f*N+o,p(n,f*N+o),p(n,i)}else{if(n=(i-t)/(n-e),i=1/(N*N)+n*n/(f*f),l=2*n*(t-n*e)/(f*f)-2*n*o/(f*f)-2*r/(N*N),N=l*l-4*i*(2*n*e*o/(f*f)-2*t*o/(f*f)+o*o/(f*f)+r*r/(N*N)-1+(t-n*e)*(t-n*e)/(f*f)),0>N)return u;N=Math.sqrt(N),f=(-l+N)/(2*i),p(f,n*f-n*e+t),N=(-l-N)/(2*i),p(N,n*N-n*e+t)}return u},Ff:function(e,t,n,i,r,o,a,l,u){var f=1e21,p=e,x=t;if(qe.Ve(e,t,e,i,r,o,a,l,u)){var N=(u.x-r)*(u.x-r)+(u.y-o)*(u.y-o);Nf},us:function(e,t,n){return qe.Fx(e.x,e.y,e.width,e.height,t.x,t.y,n.x,n.y)},Fx:function(e,t,n,i,r,o,a,l){var u=e+n,f=t+i;return r===a?(o=t):o===l?(r=e):!!(co(e,t,n,i,r,o)||co(e,t,n,i,a,l)||qe.Rl(e,t,u,t,r,o,a,l)||qe.Rl(u,t,u,f,r,o,a,l)||qe.Rl(u,f,e,f,r,o,a,l)||qe.Rl(e,f,e,t,r,o,a,l))},Rl:function(e,t,n,i,r,o,a,l){return e===n&&t===i&&r===a&&o===l?e===r&&t===o:0>=qe.Fl(e,t,n,i,r,o)*qe.Fl(e,t,n,i,a,l)&&0>=qe.Fl(r,o,a,l,e,t)*qe.Fl(r,o,a,l,n,i)},Fl:function(e,t,n,i,r,o){return n-=e,i-=t,e=r-e,t=o-t,o=e*i-t*n,o===0&&(o=e*n+t*i,0o&&(o=0))),o},bp:function(e){return 0>e&&(e+=360),360<=e&&(e-=360),e},jx:function(e,t,n,i,r,o){var a=Math.PI;o||(i*=a/180,r*=a/180);var l=i>r?-1:1;o=[];var u=a/2,f=i;if(i=Math.min(2*a,Math.abs(r-i)),1e-5>i)return u=f+l*Math.min(i,u),l=e+n*Math.cos(f),f=t+n*Math.sin(f),e+=n*Math.cos(u),t+=n*Math.sin(u),n=(l+e)/2,u=(f+t)/2,o.push([l,f,n,u,n,u,e,t]),o;for(;1e-5n,o=0>i;if(ef&&(t=.5*(l+u),!(t===l||t===u));++f){var p=e/(t+r),x=a/(t+o);if(p=p*p+x*x-1,0p)u=t;else break}n=r*n/(t+r)-n,i=o*i/(t+o)-i,n=Math.sqrt(n*n+i*i)}else n=Math.abs(i-t);else i=e*e-t*t,o=e*n,oe?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e)+"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);case Dn.u:var t=new Zt(this.startX,this.startY,0,0);return t.Kv(this.endX,this.endY,0,0),0>e?"M"+t.x.toString()+" "+t.y.toString()+"H"+t.right.toString()+"V"+t.bottom.toString()+"H"+t.left.toString()+"z":"M"+t.x.toFixed(e)+" "+t.y.toFixed(e)+"H"+t.right.toFixed(e)+"V"+t.bottom.toFixed(e)+"H"+t.left.toFixed(e)+"z";case Dn.F:if(t=new Zt(this.startX,this.startY,0,0),t.Kv(this.endX,this.endY,0,0),0>e)return e=t.left.toString()+" "+(t.y+t.height/2).toString(),"M"+e+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+(t.right.toString()+" "+(t.y+t.height/2).toString())+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+e;var n=t.left.toFixed(e)+" "+(t.y+t.height/2).toFixed(e);return"M"+n+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+(t.right.toFixed(e)+" "+(t.y+t.height/2).toFixed(e))+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+n;case Dn.o:t="",n=this.figures.s;for(var i=n.length,r=0;r=Ge-1?!0:f[V+1].match(rt)!==null}function i(){return V++,f[V]}function r(Ji){var Wi=parseFloat(i()),Jr=parseFloat(i());be===be.toLowerCase()&&(Wi=Ue.x+Wi,Jr=Ue.y+Jr),Ji.h(Wi,Jr)}function o(){return r(Ue),Ue}function a(){return r(Fe),Fe}function l(){var Ji=ue.toLowerCase();return Ji!=="c"&&Ji!=="s"&&Ji!=="q"&&Ji!=="t"?Ue:new he(2*Ue.x-Fe.x,2*Ue.y-Fe.y)}t===void 0&&(t=!1);var u=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;e=e.replace(/,/gm," "),e=e.replace(u,"$1 $2"),e=e.replace(u,"$1 $2"),e=e.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),e=e.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),e=e.replace(/([0-9])([+\-])/gm,"$1 $2"),e=e.replace(/[\s\r\t\n]+/gm," "),e=e.replace(/^\s+|\s+$/g,"");var f=e.split(" ");for(e=0;e=Ge-1);)if(ue=be,be=i(),be!=="")switch(be.toUpperCase()){case"X":R=!0,x=p=!1;break;case"M":for(_=o(),e.mc===null||R===!0?(If(e,_.x,_.y,p,!x,N),R=!1):e.moveTo(_.x,_.y),u.assign(Ue);!n();)_=o(),e.lineTo(_.x,_.y);break;case"L":for(;!n();)_=o(),e.lineTo(_.x,_.y);break;case"H":for(;!n();)Ue=new he((be===be.toLowerCase()?Ue.x:0)+parseFloat(i()),Ue.y),e.lineTo(Ue.x,Ue.y);break;case"V":for(;!n();)Ue=new he(Ue.x,(be===be.toLowerCase()?Ue.y:0)+parseFloat(i())),e.lineTo(Ue.x,Ue.y);break;case"C":for(;!n();){_=new he,r(_);var At=a(),Kn=o();bh(e,_.x,_.y,At.x,At.y,Kn.x,Kn.y)}break;case"S":for(;!n();)_=l(),At=a(),Kn=o(),bh(e,_.x,_.y,At.x,At.y,Kn.x,Kn.y);break;case"Q":for(;!n();)_=a(),At=o(),Y0(e,_.x,_.y,At.x,At.y);break;case"T":for(;!n();)Fe=_=l(),At=o(),Y0(e,_.x,_.y,At.x,At.y);break;case"B":for(;!n();){_=parseFloat(i()),At=parseFloat(i()),Kn=parseFloat(i());var ri=parseFloat(i()),qn=parseFloat(i()),Rn=qn,mn=!1;n()||(Rn=parseFloat(i()),n()||(mn=parseFloat(i())!==0)),be===be.toLowerCase()&&(Kn+=Ue.x,ri+=Ue.y),e.arcTo(_,At,Kn,ri,qn,Rn,mn)}break;case"A":for(;!n();)_=Math.abs(parseFloat(i())),At=Math.abs(parseFloat(i())),Kn=parseFloat(i()),qn=ri=!1,mn=Rn=0,Rn=i(),Rn.length===1?(ri=!!parseFloat(Rn),qn=!!parseFloat(i()),Rn=parseFloat(i())):Rn.length===2?(ri=!!parseFloat(Rn[0]),qn=!!parseFloat(Rn[1]),Rn=parseFloat(i())):(ri=!!parseFloat(Rn[0]),qn=!!parseFloat(Rn[1]),Rn=parseFloat(Rn.slice(2))),mn=parseFloat(i()),be===be.toLowerCase()&&(Rn=Ue.x+Rn,mn=Ue.y+mn),Ue.h(Rn,mn),Fb(e,_,At,Kn,ri,qn,Rn,mn);break;case"Z":Pb(e),Ue.assign(u);break;case"F":for(_="",At=1;f[V+At];)if(f[V+At]==="0")N=!0,At++;else if(f[V+At].match(/[Uu]/)!==null)At++;else if(f[V+At].match(rt)===null)At++;else{_=f[V+At];break}_.match(/[Mm]/)?p=!0:0a&&(a+=360),_.startAngle+=a),0>e&&(_.startAngle=180-_.startAngle,_.sweepAngle=-_.sweepAngle),0>i&&(_.startAngle=-_.startAngle,_.sweepAngle=-_.sweepAngle),_.radiusX*=Math.sqrt(e*e+n*n),_.radiusY!==void 0&&(_.radiusY*=Math.sqrt(t*t+i*i));break;case Gs:if(a=_.endX,l=_.endY,_.endX=a*e+l*n+r,_.endY=a*t+l*i+o,_.radiusX===0||_.radiusY===0)break;t!==0&&(a=180*Math.atan2(t,e)/Math.PI,0>a&&(a+=360),_.xAxisRotation+=a),0>e&&(_.xAxisRotation=180-_.xAxisRotation,_.isClockwiseArc=!_.isClockwiseArc),0>i&&(_.xAxisRotation=-_.xAxisRotation,_.isClockwiseArc=!_.isClockwiseArc),_.radiusX*=Math.sqrt(e*e+n*n),_.radiusY*=Math.sqrt(t*t+i*i);break;default:Ve("Unknown Segment type: "+_.type)}}}}return this._isInvalidBounds=!0,this},U.ca=function(e,t){t===void 0&&(t=0);var n=this.od,i=this.pd,r=this.Dc,o=this.Ec;switch(this.type){case Dn.j:return qe.Yb(n,i,r,o,t,e.x,e.y);case Dn.u:var a=Zt.allocAt(Math.min(n,r)-t,Math.min(i,o)-t,Math.abs(r-n)+2*t,Math.abs(o-i)+2*t);return e=a.ca(e),Zt.free(a),e;case Dn.F:a=Math.min(n,r)-t;var l=Math.min(i,o)-t;return n=(Math.abs(r-n)+2*t)/2,t=(Math.abs(o-i)+2*t)/2,0>=n||0>=t?!1:(a=e.x-(a+n),l=e.y-(l+t),1>=a*a/(n*n)+l*l/(t*t));case Dn.o:return pl(this,e,t,!0,!1);default:return!1}};function pl(e,t,n,i,r){var o=t.x;t=t.y;for(var a=e.bounds.x-20,l=0,u,f,p,x,N=e.figures.s,R=N.length,_=0;_=e)return 0;if((r>a?r-a:a-r)<(o>l?o-l:l-o)){if(ol)return 0}else if(to)return 0}else if(ra)return 0}else if(fr)return 0;return 0e?e=0:1=o)return i=o-a,i=p===0?0:i/p,n=n[l],l=n[2*e],r=n[2*e+1],t.h(l+(n[2*e+2]-l)*i,r+(n[2*e+3]-r)*i),t;a+=p}}return t},U.wx=function(e){if(0>e?e=0:1=r)return r=t[a],t=r[2*e],n=r[2*e+1],i=r[2*e+2],e=r[2*e+3],1>Math.abs(i-t)&&1>Math.abs(e-n)?0:1>Math.abs(i-t)?0<=e-n?90:270:1>Math.abs(e-n)?0<=i-t?0:180:180*Math.atan2(e-n,i-t)/Math.PI;o+=f}}return NaN},U.Qu=function(e,t){if(0>e?e=0:1=o)return i=o-a,i=p===0?0:i/p,p=n[l],n=p[2*e],l=p[2*e+1],r=p[2*e+2],e=p[2*e+3],t[0]=n+(r-n)*i,t[1]=l+(e-l)*i,t[2]=1>Math.abs(r-n)&&1>Math.abs(e-l)?0:1>Math.abs(r-n)?0<=e-l?90:270:1>Math.abs(e-l)?0<=r-n?0:180:180*Math.atan2(e-l,r-n)/Math.PI,t;a+=p}}return t},U.xx=function(e){if(this.type===Dn.j){var t=this.startX,n=this.startY,i=this.endX,r=this.endY;if(t!==i||n!==r){var o=e.x;if(e=e.y,t===i){if(n=i?i===n?0:1:Math.abs(e-n)/(i-a)}if(n===r)return t=i?i===t?0:1:Math.abs(o-t)/(i-a);a=(i-t)*(i-t)+(r-n)*(r-n);var l=he.alloc();return qe.qh(t,n,i,r,o,e,l),e=l.x,o=l.y,he.free(l),Math.sqrt(((e-t)*(e-t)+(o-n)*(o-n))/a)}}else if(this.type===Dn.u){a=this.startX,l=this.startY;var u=this.endX;if(r=this.endY,a!==u||l!==r){t=u-a,n=r-l,o=2*t+2*n,i=e.x,e=e.y,i=Math.min(Math.max(i,a),u),e=Math.min(Math.max(e,l),r),a=Math.abs(i-a),u=Math.abs(i-u),l=Math.abs(e-l),r=Math.abs(e-r);var f=Math.min(a,u,l,r);if(f===l)return i/o;if(f===u)return(t+e)/o;if(f===r)return(2*t+n-i)/o;if(f===a)return(2*t+2*n-e)/o}}else{t=this.flattenedSegments,n=this.flattenedLengths,o=this.flattenedTotalLength,i=he.alloc(),r=1/0,l=a=0,u=t.length;for(var p=f=0,x=0;xe?0:1e?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e),n=this.segments.s,i=n.length,r=0;re&&(e+=360),this.Ne=e,this.Vh=0,this.Wh=Math.max(i,0),this.Pg=Math.max(r,0),typeof a=="boolean"?a&&(this.isLargeArc=!0):typeof a=="number"&&a&&(this.isLargeArc=!0),l&&(this.isClockwiseArc=!0)):(this.Ne=i,this.Vh=r,e===sa&&(o=Math.max(o,0)),this.Wh=o,typeof a=="number"?(e===sa&&(a=Math.max(a,0)),this.Pg=a):this.Pg=0),this.ae=null}Dr.prototype.copy=function(){var e=new Dr;return e.na=this.na,e.l=this.l&-2,e.Dc=this.Dc,e.Ec=this.Ec,e.Ne=this.Ne,e.Vh=this.Vh,e.Wh=this.Wh,e.Pg=this.Pg,e},U=Dr.prototype,U.Xa=function(e){if(!(e instanceof Dr)||this.type!==e.type||this.isClosed!==e.isClosed)return!1;switch(this.type){case Eo:case vo:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY);case Wa:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.point1X,e.point1X)&&qe.B(this.point1Y,e.point1Y)&&qe.B(this.point2X,e.point2X)&&qe.B(this.point2Y,e.point2Y);case js:return qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.point1X,e.point1X)&&qe.B(this.point1Y,e.point1Y);case sa:return qe.B(this.startAngle,e.startAngle)&&qe.B(this.sweepAngle,e.sweepAngle)&&qe.B(this.centerX,e.centerX)&&qe.B(this.centerY,e.centerY)&&qe.B(this.radiusX,e.radiusX)&&qe.B(this.radiusY,e.radiusY);case Gs:return this.isClockwiseArc===e.isClockwiseArc&&this.isLargeArc===e.isLargeArc&&qe.B(this.xAxisRotation,e.xAxisRotation)&&qe.B(this.endX,e.endX)&&qe.B(this.endY,e.endY)&&qe.B(this.radiusX,e.radiusX)&&qe.B(this.radiusY,e.radiusY);default:return!1}},U.qb=function(e){e.classType===Dr&&(this.type=e)},U.toString=function(e){switch(e===void 0&&(e=-1),this.type){case Eo:e=0>e?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case vo:e=0>e?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Wa:e=0>e?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.point2X.toFixed(e)+" "+this.point2Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case js:e=0>e?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case sa:e=0>e?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(e)+" "+this.sweepAngle.toFixed(e)+" "+this.centerX.toFixed(e)+" "+this.centerY.toFixed(e)+" "+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e);break;case Gs:e=0>e?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e)+" "+this.xAxisRotation.toFixed(e)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;default:e=this.type.toString()}return e+(this.isClosed?"z":"")},U.freeze=function(){return this._isFrozen=!0,this},U.ka=function(){return this._isFrozen=!1,this},U.close=function(){return this.isClosed=!0,this};function fs(e,t){if(e.ae!==null&&t._isInvalidBounds===!1)return e.ae;var n=e.radiusX,i=e.radiusY;if(i===void 0&&(i=n),n===0||i===0)return e.ae=[],e.ae;t=e.Ne;var r=e.Vh,o=qe.jx(0,0,n=R?a=Math.PI:1<=R&&(a=0),!u&&0a&&(a+=2*Math.PI),u=t>o?1:t/o,R=t>o?o/t:1,t=qe.jx(0,0,t>o?t:o,p,p+a,!0),o=nr.alloc(),o.reset(),o.translate(n,i),o.rotate(e.Ne,0,0),o.scale(u,R),Dn.Ha(t,o),nr.free(o),e.ae=t,e.ae}ht.Object.defineProperties(Dr.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(e){this.l=e?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(e){this.l=e?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(e){this.isClosed!==e&&(this.l=e?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(e){this._isFrozen&&Ut(this,e),this.na=e,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(e){this._isFrozen&&Ut(this,e),this.Dc=e,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(e){this._isFrozen&&Ut(this,e),this.Ec=e,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),this.Ne=e,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(e){this._isFrozen&&Ut(this,e),this.Vh=e,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(e){this._isFrozen&&Ut(this,e),this.Wh=e,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(e){this._isFrozen&&Ut(this,e),this.Pg=e,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),this.Ne=e,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(e){this._isFrozen&&Ut(this,e),this.Vh=e,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(e){0>e&&Lt(e,">= zero",Dr,"radiusX"),this._isFrozen&&Ut(this,e),this.Wh=e,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(e){0>e&&Lt(e,">= zero",Dr,"radiusY"),this._isFrozen&&Ut(this,e),this.Pg=e,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(e){this._isFrozen&&Ut(this,e),e%=360,0>e&&(e+=360),this.Dc=e,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(e){this._isFrozen&&Ut(this,e),360e&&(e=-360),this.Ec=e,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(e){this._isFrozen&&Ut(this,e),this.l=e?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(e){this._isFrozen&&Ut(this,e),this.l=e?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(e){this._isFrozen&&Ut(this,e),e%=360,0>e&&(e+=360),this.Ne=e,this._isInvalidBounds=!0}}}),Dr.prototype.equalsApprox=Dr.prototype.Xa;var Eo=new Yt(Dr,"Move",0),vo=new Yt(Dr,"Line",1),Wa=new Yt(Dr,"Bezier",2),js=new Yt(Dr,"QuadraticBezier",3),sa=new Yt(Dr,"Arc",4),Gs=new Yt(Dr,"SvgArc",4);Dr.className="PathSegment",Dr.Move=Eo,Dr.Line=vo,Dr.Bezier=Wa,Dr.QuadraticBezier=js,Dr.Arc=sa,Dr.SvgArc=Gs;function Va(){this.H=null,this.xu=new he(0,0).freeze(),this.mt=new he(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}Va.prototype.copy=function(){var e=new Va;return this.clone(e)},Va.prototype.clone=function(e){return e.H=this.H,e.xu.assign(this.viewPoint),e.mt.assign(this.documentPoint),e.Rq=this.Rq,e.Bp=this.Bp,e.Cp=this.Cp,e.xq=this.xq,e.Tp=this.Tp,e.Wr=this.Wr,e.Ep=this.Ep,e.Rp=this.Rp,e.tq=this.tq,e.nq=this.nq,e.xg=this.xg,e.Zp=this.Zp,e.Rr=this.Rr,e.Nr=this.Nr,e.xd=this.xd,e},Va.prototype.toString=function(){var e="^";return this.modifiers!==0&&(e+="M:"+this.modifiers),this.button!==0&&(e+="B:"+this.button),this.key!==""&&(e+="K:"+this.key),this.clickCount!==0&&(e+="C:"+this.clickCount),this.delta!==0&&(e+="D:"+this.delta),this.handled&&(e+="h"),this.bubbles&&(e+="b"),this.documentPoint!==null&&(e+="@"+this.documentPoint.toString()),e},Va.prototype.So=function(e,t){var n=this.diagram;return n===null||ec(n,e,t),t},Va.prototype.Bz=function(e,t){var n=this.diagram;return n===null||(ec(n,e,t),t.assign(n.Ps(t))),t},ht.Object.defineProperties(Va.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},viewPoint:{get:function(){return this.xu},set:function(e){this.xu.assign(e)}},documentPoint:{get:function(){return this.mt},set:function(e){this.mt.assign(e)}},modifiers:{get:function(){return this.Rq},set:function(e){this.Rq=e}},button:{get:function(){return this.Bp},set:function(e){if(this.Bp=e,this.event===null)switch(e){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(e){this.Cp=e}},key:{get:function(){return this.xq},set:function(e){this.xq=e}},down:{get:function(){return this.Tp},set:function(e){this.Tp=e}},up:{get:function(){return this.Wr},set:function(e){this.Wr=e}},clickCount:{get:function(){return this.Ep},set:function(e){this.Ep=e}},delta:{get:function(){return this.Rp},set:function(e){this.Rp=e}},isMultiTouch:{get:function(){return this.tq},set:function(e){this.tq=e}},handled:{get:function(){return this.nq},set:function(e){this.nq=e}},bubbles:{get:function(){return this.xg},set:function(e){this.xg=e}},event:{get:function(){return this.Zp},set:function(e){this.Zp=e}},isTouchEvent:{get:function(){var e=this.event;return e===null?!1:e.pointerType==="touch"||e.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(e){this.Rr=e}},targetDiagram:{get:function(){return this.Nr},set:function(e){this.Nr=e}},targetObject:{get:function(){return this.xd},set:function(e){this.xd=e}},control:{get:function(){return(this.modifiers&1)!==0},set:function(e){this.modifiers=e?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(e){this.modifiers=e?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(e){this.modifiers=e?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(e){this.modifiers=e?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(e){this.buttons=e?this.buttons|1:this.buttons&-2}},right:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(e){this.buttons=e?this.buttons|2:this.buttons&-3}},middle:{get:function(){var e=this.event;return e===null||e.type!=="mousedown"&&e.type!=="mouseup"&&e.type!=="pointerdown"&&e.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(e){this.buttons=e?this.buttons|4:this.buttons&-5}}}),Va.prototype.getMultiTouchDocumentPoint=Va.prototype.Bz,Va.prototype.getMultiTouchViewPoint=Va.prototype.So,Va.className="InputEvent";function eu(){this.H=null,this.xa="",this.ar=this.Lr=null}eu.prototype.copy=function(){var e=new eu;return e.H=this.H,e.xa=this.xa,e.Lr=this.Lr,e.ar=this.ar,e},eu.prototype.toString=function(){var e="*"+this.name;return this.subject!==null&&(e+=":"+this.subject.toString()),this.parameter!==null&&(e+="("+this.parameter.toString()+")"),e},ht.Object.defineProperties(eu.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},subject:{get:function(){return this.Lr},set:function(e){this.Lr=e}},parameter:{get:function(){return this.ar},set:function(e){this.ar=e}}}),eu.className="DiagramEvent";function Ro(){this.Fm=So,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Ro.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Ro.prototype.copy=function(){var e=new Ro;e.Fm=this.Fm,e.Qq=this.Qq,e.rf=this.rf,e.cc=this.cc,e.H=this.H,e.Qn=this.Qn;var t=this.Sn;return e.Sn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Rn,e.Rn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Mn,e.Mn=ot(t)&&typeof t.J=="function"?t.J():t,t=this.Ln,e.Ln=ot(t)&&typeof t.J=="function"?t.J():t,e},Ro.prototype.qb=function(e){e.classType===Ro&&(this.change=e)},Ro.prototype.toString=function(){var e="";return e=this.change===vs?e+"* ":this.change===So?e+(this.model!==null?"!m":"!d"):e+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(e+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(e+=" "+this.modelChange),e+=": ",this.change===vs?this.oldValue!==null&&(e+=" "+this.oldValue):(this.object!==null&&(e+=xn(this.object)),this.oldValue!==null&&(e+=" old: "+xn(this.oldValue)),this.oldParam!==null&&(e+=" "+this.oldParam),this.newValue!==null&&(e+=" new: "+xn(this.newValue)),this.newParam!==null&&(e+=" "+this.newParam)),e},Ro.prototype.I=function(e){return e?this.oldValue:this.newValue},Ro.prototype.Dz=function(e){return e?this.oldParam:this.newParam},Ro.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Ro.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Ro.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Ro.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},ht.Object.defineProperties(Ro.prototype,{model:{get:function(){return this.cc},set:function(e){this.cc=e}},diagram:{get:function(){return this.H},set:function(e){this.H=e}},change:{get:function(){return this.Fm},set:function(e){this.Fm=e}},modelChange:{get:function(){return this.Qq},set:function(e){this.Qq=e}},propertyName:{get:function(){return this.rf},set:function(e){this.rf=e}},isTransactionFinished:{get:function(){return this.Fm===vs&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(e){this.Qn=e}},oldValue:{get:function(){return this.Sn},set:function(e){this.Sn=e}},oldParam:{get:function(){return this.Rn},set:function(e){this.Rn=e}},newValue:{get:function(){return this.Mn},set:function(e){this.Mn=e}},newParam:{get:function(){return this.Ln},set:function(e){this.Ln=e}}}),Ro.prototype.redo=Ro.prototype.redo,Ro.prototype.canRedo=Ro.prototype.canRedo,Ro.prototype.undo=Ro.prototype.undo,Ro.prototype.canUndo=Ro.prototype.canUndo,Ro.prototype.getParam=Ro.prototype.Dz,Ro.prototype.getValue=Ro.prototype.I,Ro.prototype.clear=Ro.prototype.clear;var vs=new Yt(Ro,"Transaction",-1),So=new Yt(Ro,"Property",0),Ko=new Yt(Ro,"Insert",1),la=new Yt(Ro,"Remove",2);Ro.className="ChangedEvent",Ro.Transaction=vs,Ro.Property=So,Ro.Insert=Ko,Ro.Remove=la;function La(){this.o=new qt().freeze(),this.xa="",this.j=!1}La.prototype.toString=function(e){var t="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(e!==void 0&&0t&&e.cd(t,i),t++);for(;e.length>t;)e.pop();e.freeze()}},ht.Object.defineProperties(La.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},isComplete:{get:function(){return this.j},set:function(e){this.j=e}}}),La.prototype.optimize=La.prototype.ak,La.prototype.redo=La.prototype.redo,La.prototype.canRedo=La.prototype.canRedo,La.prototype.undo=La.prototype.undo,La.prototype.canUndo=La.prototype.canUndo,La.prototype.clear=La.prototype.clear,La.className="Transaction";function yo(){this.Pt=new Xt,this.Jd=!1,this.u=new qt().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new qt().freeze(),this.hl=new qt,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}yo.prototype.toString=function(e){var t="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;t+="[";for(var n=this.nestedTransactionNames.count,i=0;ie.transactionLevel&&Wn("Ending transaction without having started a transaction: "+n);var i=e.transactionLevel===1,r=e.currentTransaction;i&&t&&(e.isInternalTransaction||e.Ob("CommittingTransaction",n,r));var o=0;if(0=i&&(o=t.M(0),o!==null&&o.clear(),t.mb(0),e.Ce--)),i===0||t.count!==0&&t.get(t.count-1)===r||(t.add(r),e.Ce++),t.freeze()),e.isInternalTransaction||e.Ob("CommittedTransaction",n,r);else{e.Fe=!0;try{e.isEnabled&&r!==null&&(r.isComplete=!0,r.undo())}finally{e.isInternalTransaction||e.Ob("RolledBackTransaction",n,r),e.Fe=!1}r!==null&&r.clear()}return e.Np=null,e.isPendingClear&&e.clear(),e.isPendingClear=!1,e.isPendingUnmodified=!1,!0}if(e.isEnabled&&!t&&r!==null){for(e=o,n=r.changes,r=n.count-1;r>=e;r--)t=n.M(r),t!==null&&t.undo(),n.ka(),n.mb(r);n.freeze()}return!1}U.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var e=this.history;e.ka();for(var t=e.count-1;t>this.historyIndex;t--){var n=e.M(t);n!==null&&n.clear(),e.mb(t),this.rq=!0}e.freeze()}},yo.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(e=e.diagram,e!==null&&e.pi===!1||Wn("Change not within a transaction: "+n.toString()))}},yo.prototype.skipsEvent=function(e){if(e===null||0>e.change.value)return!0;if(e=e.object,e===null)return!1;if(e.layer!==void 0){if(e=e.layer,e!==null&&e.isTemporary)return!0}else if(e.isTemporary)return!0;return!1},ht.Object.defineProperties(yo.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(e){this.Jd=e}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexr||Math.abs(t.y-e.y)>i},ht.Object.defineProperties(Ir.prototype,{diagram:{get:function(){return this.H},set:function(e){e instanceof Y&&(this.H=e)}},name:{get:function(){return this.xa},set:function(e){this.xa=e}},isEnabled:{get:function(){return this.Jd},set:function(e){this.Jd=e}},isActive:{get:function(){return this.nb},set:function(e){this.nb=e}},transactionResult:{get:function(){return this.wm},set:function(e){this.wm=e}}}),Ir.prototype.startTransaction=Ir.prototype.Ea,Ir.className="Tool";function Co(){Ir.call(this),this.name="ToolManager",this.hb=new qt,this.ob=new qt,this.Hb=new qt,this.F=this.V=850,this.o=new pi(2,2).ja(),this.Ha=5e3,this.ia=Ju,this.u=Uu,this.Mp=this.j=null,this.zj=-1}yi(Co,Ir),Co.prototype.initializeStandardTools=function(){},Co.prototype.updateAdornments=function(e){var t=this.currentToolTip;if(t instanceof Zr&&this.Mp===e){var n=t.adornedObject;(e!==null?n.part===e:n===null)?this.showToolTip(t,n):this.hideToolTip()}},Co.prototype.doMouseDown=function(){var e=this.diagram,t=e.lastInput;if(t.isTouchEvent&&this.gestureBehavior===vl&&(t.bubbles=!1),t.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===Zs){t.bubbles=!0;return}if(this.gestureBehavior===vl)return;if(e.currentTool.canStartMultiTouch()){e.currentTool.standardPinchZoomStart();return}}for(var n=this.mouseDownTools.length,i=0;ir.right&&(n.x-=i.width+5/t.scale),n.xr.bottom?n.y-(i.height+5/t.scale):n.y+20/t.scale,n.yn.pointsCount)){var i=e.diagram;if(!i.isReadOnly){var r=e.Oe;if(r!==null){var o=null,a=null;n.fromNode===null&&(o=Ws(e,n.i(0),!1),o!==null&&(a=o.part));var l=null,u=null;n.toNode===null&&(l=Ws(e,n.i(n.pointsCount-1),!0),l!==null&&(u=l.part)),r.isValidLink(a,o,u,l)?t?(n.defaultFromPoint=n.i(0),n.defaultToPoint=n.i(n.pointsCount-1),n.suspendsRouting=!1,n.fromNode=a,o!==null&&(n.fromPortId=o.portId),n.toNode=u,l!==null&&(n.toPortId=l.portId),n.fromPort!==i.Mx&&i.R("LinkRelinked",n,i.Mx),n.toPort!==i.Nx&&i.R("LinkRelinked",n,i.Nx)):E(r,a,o,u,l):E(r,null,null,null,null)}}}}Ao.prototype.doDragOver=function(){};function iu(e,t){var n=e.diagram;e.dragsLink&&ys(e,!0),Dl(e);var i=e.findDragOverObject(t),r=n.lastInput;if(r.targetObject=i,i!==null){r.handled=!1;for(var o=i;o!==null;){var a=o.mouseDrop;if(a!==null&&(a(r,o),r.handled))break;Au(e,r,o),o=Nu(o)}}else o=n.mouseDrop,o!==null&&o(r);if(e.isActive||bt!==null){for(r=(e.copiedParts||e.draggedParts).iterator;r.next();)o=r.key,o instanceof Xn&&o.linksConnected.each(function(l){l.suspendsRouting=!1});if(e.doDropOnto(t,i),e.isActive||bt!==null){for(e=Zt.alloc(),t=n.selection.iterator;t.next();)i=t.value,i instanceof Xn&&Ee(n,i,e);Zt.free(e)}}}function Au(e,t,n){e=e.diagram,n=n.part,!e.handlesDragDropForTopLevelParts||!n.isTopLevel||n instanceof qi||(n=e.mouseDrop,n!==null&&n(t))}function Ee(e,t,n){var i=!1;if(n=t.getAvoidableRect(n),e.viewportBounds.Re(n)&&(i=!0),e=e.Nu(n,function(r){return r.part},function(r){return r instanceof Pn},!0,function(r){return r instanceof Pn},i),e.count!==0)for(e=e.iterator;e.next();)n=e.value,!n.Td(t)&&n.isAvoiding&&n.bb()}Ao.prototype.doDropOnto=function(){},Ao.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;this.simulatedMouseMove(t.event,t.documentPoint,t.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(bl(this,!1),_h(e,this.copiedParts),Ys(this,this.copiedParts,!1),Tc(e,this.copiedParts)):this.mayMove()?(xl(this),Ys(this,this.draggedParts,!0)):this.mayDragOut()?(bl(this,!1),Ys(this,this.copiedParts,!1)):xl(this),mu(this,e.lastInput.documentPoint))}},Ao.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;if(!this.simulatedMouseUp(t.event,t.documentPoint,t.targetDiagram)){t=!1;var n=this.mayCopy();if(n&&this.copiedParts!==null?(xl(this),bl(this,!0),_h(e,this.copiedParts),Ys(this,this.copiedParts,!1),Tc(e,this.copiedParts),this.copiedParts!==null&&(e.R("ChangingSelection",e.selection),e.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(r){r.isSelected=!0}))):(t=!0,xl(this),this.mayMove()&&(Ys(this,this.draggedParts,!0),mu(this,e.lastInput.documentPoint))),this.Ym=!0,iu(this,e.lastInput.documentPoint),this.isActive){var i=n?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,t&&Re(this),e.Ya(),Tc(e,this.draggedParts),this.transactionResult=n?"Copy":"Move",e.R(n?"SelectionCopied":"SelectionMoved",i)}this.stopTool(),n&&e.R("ChangedSelection",e.selection)}}},Ao.prototype.simulatedMouseMove=function(e,t,n){if(bt===null)return!1;var i=bt.diagram;n instanceof Y||(n=null);var r=_t;return n!==r&&(r!==null&&r!==i&&(r.ug(),bt.isDragOutStarted=!1,r=r.toolManager.findTool("Dragging"),r!==null&&r.doSimulatedDragLeave()),_t=n,n!==null&&n!==i&&(yl(),r=n.toolManager.findTool("Dragging"),r!==null&&(Ls.contains(r)||Ls.add(r),r.doSimulatedDragEnter())),this.doUpdateCursor(null)),n===null||n===i||!n.allowDrop||n.isReadOnly||!n.allowInsert?!1:(i=n.toolManager.findTool("Dragging"),i!==null&&(e!==null&&(e.targetTouches!==void 0&&(0a&&(a=f),p>l&&(l=p))}}for(i===1/0?o.h(0,0,0,0):o.h(i,r,a-i,l-r),i=o.x+o.width/2,r=o.y+o.height/2,Zt.free(o),o=e.Fr,a=new Zn,l=he.alloc(),u=t.iterator;u.next();)f=u.value,f instanceof Pn&&f.canCopy()&&(p=n.I(f),p!==null&&(p.points=f.points,Eh(p,o.x-i,o.y-r),p.suspendsRouting=!0,a.add(p,e.Pd())));for(t=t.iterator;t.next();)f=t.value,f.Zc()&&f.canCopy()&&(u=n.I(f),u!==null&&(f=f.location,l.h(o.x-(i-f.x),o.y-(r-f.y)),u.location=l,u.Va(),a.add(u,e.Pd(l))));he.free(l),e.copiedParts=a,qu(e,a.Lf()),e.draggedLink!==null&&(n=e.draggedLink,t=n.routeBounds,Eh(n,e.startPoint.x-(t.x+t.width/2),e.startPoint.y-(t.y+t.height/2))),e.doUpdateCursor(null)}}}Ao.prototype.doSimulatedDragOut=function(){var e=this.diagram;e.Ns=!1,this.mayCopy()||this.mayMove()?e.currentCursor="":e.currentCursor=this.nodropCursor,this.Bn=null},Ao.prototype.computeMove=function(e,t,n,i){return n=this.diagram,n!==null?n.computeMove(e,t,this.dragOptions,i):new he},ht.Object.defineProperties(Ao.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(e){this.ob=e}},copiesEffectiveCollection:{get:function(){return this.u},set:function(e){this.u=e}},dragOptions:{get:function(){return this.ia},set:function(e){this.ia=e}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(e){this.dragOptions.isGridSnapEnabled=e}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(e){this.hb=e}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(e){this.dragOptions.isGridSnapRealtime=e}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(e){this.dragOptions.gridSnapCellSize.D(e)||(e=e.J(),this.dragOptions.gridSnapCellSize=e)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(e){this.dragOptions.gridSnapCellSpot.D(e)||(e=e.J(),this.dragOptions.gridSnapCellSpot=e)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(e){this.dragOptions.gridSnapOrigin.D(e)||(e=e.J(),this.dragOptions.gridSnapOrigin=e)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(e){this.dragOptions.dragsLink=e}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(e){this.dragOptions.dragsTree=e}},copyCursor:{get:function(){return this.F},set:function(e){this.F=e}},moveCursor:{get:function(){return this.Oc},set:function(e){this.Oc=e}},nodropCursor:{get:function(){return this.Pc},set:function(e){this.Pc=e}},currentPart:{get:function(){return this.V},set:function(e){this.V=e}},copiedParts:{get:function(){return this.o},set:function(e){this.o=e}},draggedParts:{get:function(){return this.Ha},set:function(e){this.Ha=e}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(e){this.diagram.draggedLink=e}},isDragOutStarted:{get:function(){return this.Hb},set:function(e){this.Hb=e}},startPoint:{get:function(){return this.Fr},set:function(e){this.Fr.D(e)||this.Fr.assign(e)}},delay:{get:function(){return this.Ik},set:function(e){this.Ik=e}}}),Ao.prototype.getDraggingSource=Ao.prototype.Az;var bt=null,_t=null;Ao.className="DraggingTool",Ls=new qt,li("draggingTool",function(){return this.findTool("Dragging")},function(e){this.gb("Dragging",e,this.mouseMoveTools)}),Co.prototype.doCancel=function(){bt!==null&&bt.doCancel(),Ir.prototype.doCancel.call(this)};function Dt(){Ir.call(this),this.te=100,this.Ha=!1,this.u="pointer";var e=new Pn,t=new lr;t.isPanelMain=!0,t.stroke="blue",e.add(t),t=new lr,t.toArrow="Standard",t.fill="blue",t.stroke="blue",e.add(t),e.layerName="Tool",this.Ci=e,e=new Xn,t=new lr,t.portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=Uo,e.add(t),e.selectable=!1,e.layerName="Tool",this.Bi=e,this.j=t,e=new Xn,t=new lr,t.portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=Uo,e.add(t),e.selectable=!1,e.layerName="Tool",this.Di=e,this.o=t,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Zn,this.Of=this.gj=this.Pf=null}yi(Dt,Ir),Dt.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},Dt.prototype.copyPortProperties=function(e,t,n,i,r){if(e!==null&&t!==null&&n!==null&&i!==null){var o=t.Df(),a=pi.alloc();a.width=t.naturalBounds.width*o,a.height=t.naturalBounds.height*o,i.desiredSize=a,pi.free(a),r?(i.toSpot=t.toSpot,i.toEndSegmentLength=t.toEndSegmentLength):(i.fromSpot=t.fromSpot,i.fromEndSegmentLength=t.fromEndSegmentLength),n.locationSpot=Rr,o=he.alloc(),n.location=t.ga(Rr,o),he.free(o),i.angle=t.li(),this.portTargeted!==null&&this.portTargeted(e,t,n,i,r)}},Dt.prototype.setNoTargetPortProperties=function(e,t,n){t!==null&&(t.desiredSize=Uo,t.fromSpot=Ui,t.toSpot=Ui),e!==null&&(e.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,e,t,n)},Dt.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},Dt.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Xn){var t=this.targetPort.part;this.isForwards?this.copyPortProperties(t,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(t,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(e.allowHorizontalScroll||e.allowVerticalScroll)&&e.gs(e.lastInput.viewPoint)}},Dt.prototype.findValidLinkablePort=function(e,t){if(e===null)return null;var n=e.part;if(!(n instanceof Xn))return null;for(;e!==null;){var i=t?e.toLinkable:e.fromLinkable;if(i===!0&&(e.portId!==null||e instanceof Xn)&&(t?this.isValidTo(n,e):this.isValidFrom(n,e)))return e;if(i===!1)break;e=e.panel}return null},Dt.prototype.findTargetPort=function(e){var t=this.diagram,n=t.lastInput.documentPoint,i=this.portGravity;0>=i&&(i=.1);var r=this,o=t.og(n,i,function(x){return r.findValidLinkablePort(x,e)},null,!0);for(i=1/0,t=null,o=o.iterator;o.next();){var a=o.value,l=a.part;if(l instanceof Xn){var u=a.ga(Rr,he.alloc()),f=n.x-u.x,p=n.y-u.y;he.free(u),u=f*f+p*p,un){if(this.originalLink!==null&&e===this.originalFromNode&&t===this.originalFromPort)return!0;if(t=t.portId,t===null&&(t=""),e.Mo(t).count>=n)return!1}return!0},Dt.prototype.isValidTo=function(e,t){if(e===null||t===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(e.layer!==null&&!e.layer.allowLink||t.toLinkable!==!0))return!1;var n=t.toMaxLinks;if(1/0>n){if(this.originalLink!==null&&e===this.originalToNode&&t===this.originalToPort)return!0;if(t=t.portId,t===null&&(t=""),e.Sd(t).count>=n)return!1}return!0},Dt.prototype.isInSameNode=function(e,t){return e===null||t===null?!1:e===t?!0:(e=e.part,t=t.part,e!==null&&e===t)},Dt.prototype.isLinked=function(e,t){if(e===null||t===null)return!1;var n=e.part;if(!(n instanceof Xn))return!1;e=e.portId,e===null&&(e="");var i=t.part;if(!(i instanceof Xn))return!1;for(t=t.portId,t===null&&(t=""),t=i.Sd(t);t.next();)if(i=t.value,i.fromNode===n&&i.fromPortId===e)return!0;return!1},Dt.prototype.isValidLink=function(e,t,n,i){if(!this.isValidFrom(e,t)||!this.isValidTo(n,i)||!(t===null||i===null||(t.fromLinkableSelfNode&&i.toLinkableSelfNode||!this.isInSameNode(t,i))&&(t.fromLinkableDuplicates&&i.toLinkableDuplicates||!this.isLinked(t,i)))||this.originalLink!==null&&(e!==null&&this.isLabelDependentOnLink(e,this.originalLink)||n!==null&&this.isLabelDependentOnLink(n,this.originalLink))||e!==null&&n!==null&&(e.data===null&&n.data!==null||e.data!==null&&n.data===null)||!this.isValidCycle(e,n,this.originalLink))return!1;if(e!==null){var r=e.linkValidation;if(r!==null&&!r(e,t,n,i,this.originalLink))return!1}return n!==null&&(r=n.linkValidation,r!==null&&!r(e,t,n,i,this.originalLink))?!1:(r=this.linkValidation,r!==null?r(e,t,n,i,this.originalLink):!0)},Dt.prototype.isLabelDependentOnLink=function(e,t){if(e===null)return!1;var n=e.labeledLink;if(n===null)return!1;if(n===t)return!0;var i=new Xt;return i.add(e),ve(this,n,t,i)};function ve(e,t,n,i){if(t===n)return!0;var r=t.fromNode;return r!==null&&r.isLinkLabel&&(i.add(r),ve(e,r.labeledLink,n,i))?!0:(t=t.toNode,!!(t!==null&&t.isLinkLabel&&(i.add(t),ve(e,t.labeledLink,n,i))))}Dt.prototype.isValidCycle=function(e,t,n){if(n===void 0&&(n=null),e===null||t===null)return this.isUnconnectedLinkValid;var i=this.diagram.validCycle;if(i!==Pd){if(i===dp){if(i=n||this.temporaryLink,i!==null&&!i.isTreeLink)return!0;for(i=t.linksConnected;i.next();){var r=i.value;if(r!==n&&r.isTreeLink&&r.toNode===t)return!1}return!bn(this,e,t,n,!0)}if(i===fp){if(i=n||this.temporaryLink,i!==null&&!i.isTreeLink)return!0;for(i=e.linksConnected;i.next();)if(r=i.value,r!==n&&r.isTreeLink&&r.fromNode===e)return!1;return!bn(this,e,t,n,!0)}if(i===up)return e===t?e=!0:(i=new Xt,i.add(t),e=ln(this,i,e,t,n)),!e;if(i===cp)return!bn(this,e,t,n,!1);if(i===hp)return e===t?e=!0:(i=new Xt,i.add(t),e=zn(this,i,e,t,n)),!e}return!0};function bn(e,t,n,i,r){if(t===n)return!0;if(t===null||n===null)return!1;for(var o=t.linksConnected;o.next();){var a=o.value;if(a!==i&&(!r||a.isTreeLink)&&a.toNode===t&&(a=a.fromNode,a!==t&&bn(e,a,n,i,r)))return!0}return!1}function ln(e,t,n,i,r){if(n===i)return!0;if(n===null||i===null||t.contains(n))return!1;t.add(n);for(var o=n.linksConnected;o.next();){var a=o.value;if(a!==r&&a.toNode===n&&(a=a.fromNode,a!==n&&ln(e,t,a,i,r)))return!0}return!1}function zn(e,t,n,i,r){if(n===i)return!0;if(n===null||i===null||t.contains(n))return!1;t.add(n);for(var o=n.linksConnected;o.next();){var a=o.value;if(a!==r){var l=a.fromNode;if(a=a.toNode,l=l===n?a:l,l!==n&&zn(e,t,l,i,r))return!0}}return!1}ht.Object.defineProperties(Dt.prototype,{portGravity:{get:function(){return this.te},set:function(e){0<=e&&(this.te=e)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(e){this.Ha=e}},linkingCursor:{get:function(){return this.u},set:function(e){this.u=e}},temporaryLink:{get:function(){return this.Ci},set:function(e){this.Ci=e}},temporaryFromNode:{get:function(){return this.Bi},set:function(e){(this.Bi=e)&&(this.j=e.port)}},temporaryFromPort:{get:function(){return this.j},set:function(e){if(this.j!==null){var t=this.j.panel;if(t!==null){var n=t.O.indexOf(this.j);t.mb(n),t.Gb(n,e)}}this.j=e}},temporaryToNode:{get:function(){return this.Di},set:function(e){(this.Di=e)&&(this.o=e.port)}},temporaryToPort:{get:function(){return this.o},set:function(e){if(this.o!==null){var t=this.o.panel;if(t!==null){var n=t.O.indexOf(this.o);t.mb(n),t.Gb(n,e)}}this.o=e}},originalLink:{get:function(){return this.Hb},set:function(e){this.Hb=e}},originalFromNode:{get:function(){return this.hb},set:function(e){this.hb=e}},originalFromPort:{get:function(){return this.ob},set:function(e){this.ob=e}},originalToNode:{get:function(){return this.Oc},set:function(e){this.Oc=e}},originalToPort:{get:function(){return this.Pc},set:function(e){this.Pc=e}},isForwards:{get:function(){return this.ia},set:function(e){this.ia=e}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(e){this.Pf=e}},linkValidation:{get:function(){return this.gj},set:function(e){this.gj=e}},portTargeted:{get:function(){return this.Of},set:function(e){this.Of=e}}}),Dt.className="LinkingBaseTool";function jn(){Dt.call(this),this.name="Linking",this.V={},this.F=null,this.K=$n,this.Xd=null}yi(jn,Dt),jn.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return e.isReadOnly||e.isModelReadOnly||!e.allowLink||!e.model.xs()||!e.lastInput.left||e.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},jn.prototype.findLinkablePort=function(){var e=this.diagram,t=this.startObject;if(t===null&&(t=e.ic(e.firstInput.documentPoint,null,null)),t===null||(e=t.part,!(e instanceof Xn)))return null;var n=this.direction;if(n===$n||n===hi){var i=this.findValidLinkablePort(t,!1);if(i!==null||this.startObject===e&&(i=e.port,this.findValidLinkablePort(i,!1)))return this.isForwards=!0,i}return(n===$n||n===gi)&&(t=this.findValidLinkablePort(t,!0),t!==null||this.startObject===e&&(t=e.port,this.findValidLinkablePort(t,!0)))?(this.isForwards=!1,t):null},jn.prototype.doActivate=function(){var e=this.diagram,t=this.findLinkablePort();t===null?this.stopTool():(this.Ea(this.name),e.isMouseCaptured=!0,e.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=e.lastInput.documentPoint),this.originalFromPort=t,t=this.originalFromPort.part,t instanceof Xn&&(this.originalFromNode=t),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=e.lastInput.documentPoint),this.originalToPort=t,t=this.originalToPort.part,t instanceof Xn&&(this.originalToNode=t),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),e.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),e.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),e.add(this.temporaryLink)),this.isActive=!0)},jn.prototype.doDeactivate=function(){this.isActive=!1;var e=this.diagram;e.remove(this.temporaryLink),e.remove(this.temporaryFromNode),e.remove(this.temporaryToNode),e.isMouseCaptured=!1,e.currentCursor="",this.stopTransaction()},jn.prototype.doStop=function(){Dt.prototype.doStop.call(this),this.startObject=null},jn.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=this.transactionResult=null,n=null,i=null,r=null,o=null;try{var a=this.targetPort=this.findTargetPort(this.isForwards);if(a!==null){var l=a.part;l instanceof Xn&&(this.isForwards?(this.originalFromNode!==null&&(t=this.originalFromNode,n=this.originalFromPort),i=l,r=a):(t=l,n=a,this.originalToNode!==null&&(i=this.originalToNode,r=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(t=this.originalFromNode,n=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(i=this.originalToNode,r=this.originalToPort);t!==null||i!==null?(o=this.insertLink(t,n,i,r),o!==null?(a===null&&(this.isForwards?o.defaultToPoint=e.lastInput.documentPoint:o.defaultFromPoint=e.lastInput.documentPoint),e.allowSelect&&(e.R("ChangingSelection",e.selection),e.clearSelection(!0),o.isSelected=!0),this.transactionResult=this.name,e.R("LinkDrawn",o)):this.doNoLink(t,n,i,r)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),o&&e.allowSelect&&e.R("ChangedSelection",e.selection)}}},jn.prototype.isNewTreeLink=function(){var e=this.archetypeLinkData;if(e===null)return!0;if(e instanceof Pn)return e.isTreeLink;var t=this.diagram;return t===null?!0:(e=t.partManager.getLinkCategoryForData(e),t=t.partManager.findLinkTemplateForCategory(e),t!==null?t.isTreeLink:!0)},jn.prototype.insertLink=function(e,t,n,i){return this.diagram.partManager.insertLink(e,t,n,i)},jn.prototype.doNoLink=function(){},ht.Object.defineProperties(jn.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(e){this.V=e}},archetypeLabelNodeData:{get:function(){return this.F},set:function(e){this.F=e}},direction:{get:function(){return this.K},set:function(e){this.K=e}},startObject:{get:function(){return this.Xd},set:function(e){this.Xd=e}}});var $n=new Yt(jn,"Either",0),hi=new Yt(jn,"ForwardsOnly",0),gi=new Yt(jn,"BackwardsOnly",0);jn.className="LinkingTool",jn.Either=$n,jn.ForwardsOnly=hi,jn.BackwardsOnly=gi;function ti(){Dt.call(this),this.name="Relinking";var e=new lr;e.figure="Diamond",e.desiredSize=ma,e.fill="lightblue",e.stroke="dodgerblue",e.cursor=this.linkingCursor,e.segmentIndex=0,this.V=e,e=new lr,e.figure="Diamond",e.desiredSize=ma,e.fill="lightblue",e.stroke="dodgerblue",e.cursor=this.linkingCursor,e.segmentIndex=-1,this.Xd=e,this.F=null,this.Ew=new Zt}yi(ti,Dt),ti.prototype.updateAdornments=function(e){if(e!==null&&e instanceof Pn){var t="RelinkFrom",n=null;if(e.isSelected&&!this.diagram.isReadOnly){var i=e.selectionObject;i!==null&&e.canRelinkFrom()&&e.actualBounds.w()&&e.isVisible()&&i.actualBounds.w()&&i.Ed()&&(n=e.Pj(t),n===null&&(n=this.makeAdornment(i,!1),e.bh(t,n)))}n===null&&e.Jf(t),t="RelinkTo",n=null,e.isSelected&&!this.diagram.isReadOnly&&(i=e.selectionObject,i!==null&&e.canRelinkTo()&&e.actualBounds.w()&&e.isVisible()&&i.actualBounds.w()&&i.Ed()&&(n=e.Pj(t),n===null?(n=this.makeAdornment(i,!0),e.bh(t,n)):n.v())),n===null&&e.Jf(t)}},ti.prototype.makeAdornment=function(e,t){var n=new Zr;return n.type=kn.Link,t=t?this.toHandleArchetype:this.fromHandleArchetype,t!==null&&n.add(t.copy()),n.adornedObject=e,n},ti.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowRelink||!e.model.xs()||!e.lastInput.left)return!1;var t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom");return t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo")),t!==null},ti.prototype.doActivate=function(){var e=this.diagram;if(this.originalLink===null){var t=this.handle;if(t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom"),t===null&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo"))),t===null)return;var n=t.part;if(!(n instanceof Zr&&n.adornedPart instanceof Pn))return;this.handle=t,this.isForwards=n===null||n.category==="RelinkTo",this.originalLink=n.adornedPart}this.Ea(this.name),e.isMouseCaptured=!0,e.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0t.firstPickIndex+1&&n=n.x)t=0>=n.y?t+225:1<=n.y?t+135:t+180;else if(1<=n.x)0>=n.y?t+=315:1<=n.y&&(t+=45);else if(0>=n.y)t+=270;else if(1<=n.y)t+=90;else break e;0>t?t+=360:360<=t&&(t-=360),e.cursor=22.5>t?"e-resize":67.5>t?"se-resize":112.5>t?"s-resize":157.5>t?"sw-resize":202.5>t?"w-resize":247.5>t?"nw-resize":292.5>t?"n-resize":337.5>t?"ne-resize":"e-resize"}else if(e instanceof kn)for(e=e.elements;e.next();)this.updateResizeHandles(e.value,t)}},it.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!e.isReadOnly&&e.allowResize&&e.lastInput.left?this.findToolHandleAt(e.firstInput.documentPoint,this.name)!==null:!1},it.prototype.doActivate=function(){var e=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(e.isMouseCaptured=!0,e.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},it.prototype.doDeactivate=function(){var e=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=e.isMouseCaptured=!1},it.prototype.stopTransaction=function(){var e=this.diagram,t=Ir.prototype.stopTransaction.call(this);return t&&e.undoManager.transactionToUndo!==null&&e.undoManager.transactionToUndo.ak(),t},it.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},it.prototype.doMouseMove=function(){var e=this.diagram;if(this.isActive){var t=this.rt,n=this.qt,i=this.pt,r=this.adornedObject.qs(e.lastInput.documentPoint,he.alloc()),o=this.computeReshape();t=this.computeResize(r,this.handle.alignment,t,n,i,o),this.resize(t),e.bd(),he.free(r)}},it.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){var t=this.rt,n=this.qt,i=this.pt,r=this.adornedObject.qs(e.lastInput.documentPoint,he.alloc()),o=this.computeReshape();t=this.computeResize(r,this.handle.alignment,t,n,i,o),this.resize(t),he.free(r),e.Ya(),this.transactionResult=this.name,e.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},it.prototype.resize=function(e){var t=this.diagram,n=this.adornedObject;if(n!==null){if(n.desiredSize=e.size,e=n.part,e.Va(),n=n.ga(this.handle.alignment.gv()),e instanceof qi){var i=new qt;if(i.add(e),!this.dragsMembers&&e.placeholder===null){var r=new c;r.dragsMembers=!1}t.moveParts(i,this.oppositePoint.copy().re(n),!0,r)}else e.location=e.location.copy().re(n).add(this.oppositePoint);t.bd()}},it.prototype.computeResize=function(e,t,n,i,r,o){t.Mc()&&(t=Rr);var a=this.adornedObject.naturalBounds,l=a.x,u=a.y,f=a.x+a.width,p=a.y+a.height,x=1;if(!o){x=a.width;var N=a.height;0>=x&&(x=1),0>=N&&(N=1),x=N/x}return N=he.alloc(),qe.No(e.x,e.y,l,u,r.width,r.height,N),e=a.copy(),0>=t.x?0>=t.y?(e.x=Math.max(N.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=Math.max(f-e.x,n.width),e.y=Math.max(N.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=Math.max(p-e.y,n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.x=f-e.width,e.y=p-e.height)):1<=t.y?(e.x=Math.max(N.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=Math.max(f-e.x,n.width),e.height=Math.max(Math.min(N.y-u,i.height),n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.x=f-e.width)):(e.x=Math.max(N.x,f-i.width),e.x=Math.min(e.x,f-n.width),e.width=f-e.x,o||(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x,e.y=u+.5*(p-u-e.height))):1<=t.x?0>=t.y?(e.width=Math.max(Math.min(N.x-l,i.width),n.width),e.y=Math.max(N.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=Math.max(p-e.y,n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width),e.y=p-e.height)):1<=t.y?(e.width=Math.max(Math.min(N.x-l,i.width),n.width),e.height=Math.max(Math.min(N.y-u,i.height),n.height),o||(1<=e.height/e.width?(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x):(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width))):(e.width=Math.max(Math.min(N.x-l,i.width),n.width),o||(e.height=Math.max(Math.min(x*e.width,i.height),n.height),e.width=e.height/x,e.y=u+.5*(p-u-e.height))):0>=t.y?(e.y=Math.max(N.y,p-i.height),e.y=Math.min(e.y,p-n.height),e.height=p-e.y,o||(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width,e.x=l+.5*(f-l-e.width))):1<=t.y&&(e.height=Math.max(Math.min(N.y-u,i.height),n.height),o||(e.width=Math.max(Math.min(e.height/x,i.width),n.width),e.height=x*e.width,e.x=l+.5*(f-l-e.width))),he.free(N),e},it.prototype.computeReshape=function(){var e=En;return this.adornedObject instanceof lr&&(e=Rg(this.adornedObject)),!(e===ci||this.diagram.lastInput.shift)},it.prototype.computeMinSize=function(){var e=this.adornedObject.minSize.copy(),t=this.minSize;return!isNaN(t.width)&&t.width>e.width&&(e.width=t.width),!isNaN(t.height)&&t.height>e.height&&(e.height=t.height),e},it.prototype.computeMaxSize=function(){var e=this.adornedObject.maxSize.copy(),t=this.maxSize;return!isNaN(t.width)&&t.widthn?n+=360:360<=n&&(n-=360),n=Math.round(45*Math.round(n/45));var i=this.handleDistance;return n===0?t.x=e.naturalBounds.width+i:n===45?(t.x=e.naturalBounds.width+i,t.y=e.naturalBounds.height+i):n===90?t.y=e.naturalBounds.height+i:n===135?(t.x=-i,t.y=e.naturalBounds.height+i):n===180?t.x=-i:n===225?(t.x=-i,t.y=-i):n===270?t.y=-i:n===315&&(t.x=e.naturalBounds.width+i,t.y=-i),e.ga(t)},jt.prototype.doDeactivate=function(){var e=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new he(NaN,NaN),this.isActive=e.isMouseCaptured=!1},jt.prototype.stopTransaction=function(){var e=this.diagram,t=Ir.prototype.stopTransaction.call(this);return t&&e.undoManager.transactionToUndo!==null&&e.undoManager.transactionToUndo.ak(),t},jt.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},jt.prototype.doMouseMove=function(){var e=this.diagram;this.isActive&&(e=this.computeRotate(e.lastInput.documentPoint),this.rotate(e))},jt.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){e.delaysLayout=!1;var t=this.computeRotate(e.lastInput.documentPoint);this.rotate(t),e.Ya(),this.transactionResult=this.name,e.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},jt.prototype.rotate=function(e){var t=this.adornedObject;if(t!==null){t.angle=e,t=t.part,t.Va();var n=t.locationObject,i=t.rotateObject;(n===i||n.rg(i))&&(n=this.Tn.copy(),t.location=n.re(this.rotationPoint).rotate(e-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},jt.prototype.computeRotate=function(e){e=this.rotationPoint.ab(e)-this.handleAngle;var t=this.adornedObject.panel;t!==null&&(e-=t.li()),360<=e?e-=360:0>e&&(e+=360),t=Math.min(Math.abs(this.snapAngleMultiple),180);var n=Math.min(Math.abs(this.snapAngleEpsilon),t/2);return!this.diagram.lastInput.shift&&0t-n&&(e=(Math.floor(e/t)+1)*t)),360<=e?e-=360:0>e&&(e+=360),e},ht.Object.defineProperties(jt.prototype,{handleArchetype:{get:function(){return this.o},set:function(e){this.o=e}},handle:{get:function(){return this.j},set:function(e){if(e!==null&&!(e.part instanceof Zr))throw Error("new handle is not in an Adornment: "+e);this.j=e}},adornedObject:{get:function(){return this.ue},set:function(e){if(e!==null&&e.part instanceof Zr)throw Error("new handle must not be in an Adornment: "+e);this.ue=e}},snapAngleMultiple:{get:function(){return this.ia},set:function(e){this.ia=e}},snapAngleEpsilon:{get:function(){return this.V},set:function(e){this.V=e}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(e){this.kr=e.copy()}},handleAngle:{get:function(){return this.u},set:function(e){this.u=e}},handleDistance:{get:function(){return this.F},set:function(e){this.F=e}}}),jt.className="RotatingTool",li("rotatingTool",function(){return this.findTool("Rotating")},function(e){this.gb("Rotating",e,this.mouseDownTools)});function Qt(){Ir.call(this),this.name="ClickSelecting"}yi(Qt,Ir),Qt.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Qt.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Qt.className="ClickSelectingTool";function yt(){Ir.call(this),this.name="Action",this.pk=null}yi(yt,Ir),yt.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram,t=e.lastInput,n=e.ic(t.documentPoint,function(i){for(;i.panel!==null&&!i.isActionable;)i=i.panel;return i});return n!==null&&n.isActionable?(this.pk=n,e.Ck=e.ic(t.documentPoint,null,null),!0):!1},yt.prototype.doMouseDown=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionDown!==null&&t.actionDown(e,t))}else this.canStart()&&this.doActivate()},yt.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionMove!==null&&t.actionMove(e,t))}},yt.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.pk;if(t===null)return;e.targetObject=t,t.actionUp!==null&&t.actionUp(e,t),this.standardMouseClick(function(n){for(;n.panel!==null&&(!n.isActionable||n!==t);)n=n.panel;return n},function(n){return n===t})}this.stopTool()},yt.prototype.doCancel=function(){var e=this.diagram.lastInput,t=this.pk;t!==null&&(e.targetObject=t,t.actionCancel!==null&&t.actionCancel(e,t),this.stopTool())},yt.prototype.doStop=function(){this.pk=null},yt.className="ActionTool";function en(){Ir.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new he(0,0)}yi(en,Ir),en.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(e.lastInput.clickCount===1&&(this.mw=e.lastInput.viewPoint.copy()),e.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(e.lastInput.clickCount!==1)return!1;return!(e.currentTool!==this&&e.Ol(e.lastInput.documentPoint,!0)!==null)},en.prototype.doMouseUp=function(){var e=this.diagram;this.isActive&&this.insertPart(e.lastInput.documentPoint),this.stopTool()},en.prototype.insertPart=function(e){var t=this.diagram,n=this.archetypeNodeData;if(n===null)return null;var i=null;try{if(t.R("ChangingSelection",t.selection),this.Ea(this.name),n instanceof Ci)n.Zc()&&(ju(n),i=n.copy(),i!==null&&t.add(i));else if(n!==null){var r=t.model.copyNodeData(n);ot(r)&&(t.model.xf(r),i=t.Lc(r))}if(i!==null){var o=he.allocAt(e.x,e.y);this.isGridSnapEnabled&&Bh(this.diagram,i,e,o),i.location=o,t.allowSelect&&(t.clearSelection(!0),i.isSelected=!0),he.free(o)}t.Ya(),this.transactionResult=this.name,t.R("PartCreated",i)}finally{this.stopTransaction(),t.R("ChangedSelection",t.selection)}return i},ht.Object.defineProperties(en.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(e){this.Ri=e}},isDoubleClick:{get:function(){return this.o},set:function(e){this.o=e}},isGridSnapEnabled:{get:function(){return this.j},set:function(e){this.j=e}}}),en.className="ClickCreatingTool";function Gt(){Ir.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var e=new Ci;e.layerName="Tool",e.selectable=!1;var t=new lr;t.name="SHAPE",t.figure="Rectangle",t.fill=null,t.stroke="magenta",e.add(t),this.j=e}yi(Gt,Ir),Gt.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(!e.allowSelect)return!1;var t=e.lastInput;return!(!t.left||e.currentTool!==this&&(!this.isBeyondDragSize()||t.timestamp-e.firstInput.timestampr.right&&(n.x-=i.width+5/t.scale),n.xr.bottom&&(n.y-=i.height+5/t.scale),n.ye.lastInput.clickCount)):!1},Qi.prototype.doStart=function(){es=this,this.textBlock!==null&&this.doActivate()},Qi.prototype.doActivate=function(){if(!this.isActive){var e=this.diagram;if(e!==null){var t=this.textBlock;if(t===null&&(t=e.ic(e.lastInput.documentPoint)),t!==null&&t instanceof Mo&&(this.textBlock=t,t.part!==null)){e.animationManager.Cc(),this.isActive=!0,this.qa=zr;var n=this.defaultTextEditor;t.textEditor!==null&&(n=t.textEditor),this.Zh=this.textBlock.copy();var i=new Zt(this.textBlock.ga(Jo),this.textBlock.ga(Bo));e.tv(i),n.show(t,e,this),this.currentTextEditor=n}}}},Qi.prototype.doCancel=function(){this.stopTool()},Qi.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},Qi.prototype.doMouseDown=function(){this.isActive&&this.acceptText(_r)},Qi.prototype.acceptText=function(e){switch(e){case _r:this.qa===Ta?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===zr||this.qa===da||this.qa===fo)&&(this.qa=un,to(this));break;case pr:case ir:case Gi:(ir!==e||this.textBlock.isMultiline!==!0)&&(this.qa===zr||this.qa===da||this.qa===fo)&&(this.qa=un,to(this))}};function to(e){var t=e.textBlock,n=e.diagram,i=e.currentTextEditor;if(t!==null&&i!==null){var r=t.text,o="";i.valueFunction!==null&&(o=i.valueFunction()),e.isValidText(t,r,o)?(e.Ea(e.name),e.qa=Ta,e.transactionResult=e.name,t.text=o,e.doSuccess(r,o),n!==null&&n.R("TextEdited",t,r),e.stopTransaction(),e.stopTool(),n!==null&&n.doFocus()):(e.qa=da,e.doError(r,o))}}Qi.prototype.doError=function(e,t){var n=this.textBlock;n.errorFunction!==null&&n.errorFunction(this,e,t),(e=this.currentTextEditor)&&e.show(n,this.diagram,this)},Qi.prototype.doSuccess=function(e,t){var n=this.textBlock;n.textEdited!==null&&n.textEdited(n,e,t)},Qi.prototype.doDeactivate=function(){var e=this.diagram;e!==null&&(this.qa=$t,this.currentTextEditor!==null&&this.currentTextEditor.hide(e,this),this.textBlock=null,this.isActive=!1)},Qi.prototype.doStop=function(){es=null},Qi.prototype.isValidText=function(e,t,n){var i=this.textValidation;return i!==null&&!i(e,t,n)?!1:(i=e.textValidation,!!(i===null||i(e,t,n)))},Qi.prototype.Lx=function(e){var t=this.Zh;return t.text=e,t.measure(this.textBlock.Ih,1/0),t},ht.Object.defineProperties(Qi.prototype,{textBlock:{get:function(){return this.ia},set:function(e){this.ia=e}},currentTextEditor:{get:function(){return this.o},set:function(e){this.o=e}},defaultTextEditor:{get:function(){return this.j},set:function(e){this.j=e}},starting:{get:function(){return this.V},set:function(e){this.V=e}},textValidation:{get:function(){return this.vj},set:function(e){this.vj=e}},minimumEditorScale:{get:function(){return this.u},set:function(e){this.u=e}},selectsTextOnActivate:{get:function(){return this.F},set:function(e){this.F=e}},state:{get:function(){return this.qa},set:function(e){this.qa!==e&&(this.qa=e)}}}),Qi.prototype.measureTemporaryTextBlock=Qi.prototype.Lx;var pr=new Yt(Qi,"LostFocus",0),_r=new Yt(Qi,"MouseDown",1),Gi=new Yt(Qi,"Tab",2),ir=new Yt(Qi,"Enter",3),vr=new Yt(Qi,"SingleClick",0),sr=new Yt(Qi,"SingleClickSelected",1),ho=new Yt(Qi,"DoubleClick",2),$t=new Yt(Qi,"StateNone",0),zr=new Yt(Qi,"StateActive",1),fo=new Yt(Qi,"StateEditing",2),un=new Yt(Qi,"StateValidating",3),da=new Yt(Qi,"StateInvalid",4),Ta=new Yt(Qi,"StateValidated",5),es=null;Qi.className="TextEditingTool",Qi.LostFocus=pr,Qi.MouseDown=_r,Qi.Tab=Gi,Qi.Enter=ir,Qi.SingleClick=vr,Qi.SingleClickSelected=sr,Qi.DoubleClick=ho,Qi.StateNone=$t,Qi.StateActive=zr,Qi.StateEditing=fo,Qi.StateValidating=un,Qi.StateInvalid=da,Qi.StateValidated=Ta,li("textEditingTool",function(){return this.findTool("TextEditing")},function(e){this.gb("TextEditing",e,this.mouseUpTools)});function Fo(e){Yn||(nt(),Yn=!0),this.H=ft,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=wi,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Xt,this.ce=new Gn,this.ce.Yd=this,this.Ei=new Xt,this.pu=new Xt,this.Sr=new Xt,this.pr=new Xt,e&&Object.assign(this,e)}Fo.prototype.Xe=function(e){this.H=e},Fo.prototype.canStart=function(){return!0};function qo(e,t){e.Jd&&e.canStart(t)&&(e.Zd.add(t),e.defaultAnimation.isAnimating&&e.Cc(),Ka(e.H),e.zb=!0)}function ta(e){if(e.Jd&&e.zb){var t=e.ce,n=e.H,i=e.Zd.contains("Model");i&&(e.Ok=!0,e.Pk===wi?(t.isViewportUnconstrained=!0,t.vc.clear(),t.add(n,"position",n.position.copy().offset(0,-200),n.position),t.add(n,"opacity",0,1)):e.Pk===Hr&&t.vc.clear(),e.Qw=!!(e.Pk===Cr&&n.du.D(n.pa)),n.R("InitialAnimationStarting",e)),i&&!e.Gh||t.vc.count===0?(e.Zd.clear(),e.zb=!1,t.vc.clear(),Hi(t,n),e.Ok=!1,n.N()):(e.Zd.clear(),n.kg=!1,i=t.vc.get(n),n.autoScale!==sl&&i!==null&&(delete i.start.scale,delete i.end.scale),Ke.requestAnimationFrame(function(){e.zb===!1||t.bc||(n.Gf("temporaryPixelRatio")&&$i(n),$r(n),e.zb=!1,t.start(),t.bc&&(Zo(e),n.Ya(),Rs(t,0),ps(n,!0),Sa(e),n.R("AnimationStarting",e)))}))}}function ya(e){return e.Zd.contains("Trigger")&&e.Zd.count===1}function zs(e,t,n,i){e.isTicking||ya(e)||t instanceof Pn&&(t.fromNode!==null||t.toNode!==null)||e.ce.add(t,"position",n,i,!1)}U=Fo.prototype,U.fv=function(e){return this.ce.fv(e)},U.Xu=function(e){return this.ce.Xu(e)};function ko(e,t){function n(){if(0o?o+=360:u+=360),o=r(n,o,u-o,i)%360,a=r(n,a,f-a,i),l=r(n,l,p-l,i),n=r(n,e,t-e,i),"hsla("+o+", "+a+"%, "+l+"%, "+n+")"}function nt(){function e(n,i,r,o,a,l){n.position=new he(o(a,i.x,r.x-i.x,l),o(a,i.y,r.y-i.y,l))}var t=new Zn;t.add("position:diagram",e),t.add("position",e),t.add("position:part",function(n,i,r,o,a,l){ae&&Lt(e,">= 1",Fo,"duration"),this.Dg=e}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(e){this.Gh=e}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(e){this.Pk=e}}}),Fo.prototype.stopAnimation=Fo.prototype.Cc;var gn=null,Yn=!1,wi=new Yt(Fo,"Default",1),Cr=new Yt(Fo,"AnimateLocations",2),Hr=new Yt(Fo,"None",3);Fo.className="AnimationManager",Fo.defineAnimationEffect=function(e,t){Yn||(nt(),Yn=!0),gn.add(e,t)},Fo.Default=wi,Fo.AnimateLocations=Cr,Fo.None=Hr;function Gn(e){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=Ds,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=gr,this.vc=new Zn,this.Tt=new Zn,this.yl=new Xt,this.Ut=new Xt,this.dw=ph,e&&Object.assign(this,e)}Gn.prototype.suspend=function(){this.Xk=!0},Gn.prototype.advanceTo=function(e,t){t&&(this.Xk=!1),this.ho&&e>=this.Gd&&(this.Wk=!0,e-=this.Gd),this.gw=e,$o(this,!0),Zo(this.Yd),ps(this.H),Sa(this.Yd),this.H.redraw()};function Hi(e,t){if(e.Tt.clear(),e.Wk=!1,e.au=0,e.Gd=NaN,0e.cn?e.Gd:i-e.Qd;t&&(r=e.gw,re.cn&&(e.ho&&!e.Wk?(e.Qd=+new Date,e.cn=e.Qd+e.Gd,e.Wk=!0):e.Ml(!1))}}}function Rs(e,t){for(var n=e.Gd,i=e.vc.iterator,r=e.Wk;i.next();){var o=i.key;if(!(o instanceof at&&o.diagram===null)){var a=i.value,l=r?a.end:a.start;a=r?a.start:a.end;var u=gn,f;for(f in a)f==="position"&&(a["position:placeholder"]||a["position:nodeCollapse"])||u.get(f)===null||u.get(f)(o,l[f],a[f],e.Lp,t,n,e)}}}U.stop=function(){return this.bc?(this.Ml(!0),this):this},U.Ml=function(e){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var t=this.H,n=this.Yd;this.Xk=this.bc=n.Ok=!1,Zo(n);for(var i=this.vc,r=this.yl.iterator;r.next();)t.remove(r.value);for(r=this.Ut.iterator;r.next();)r.value.v();r=this.ho,i=i.iterator;for(var o=gn;i.next();){var a=i.key,l=i.value,u=r?l.end:l.start,f=r?l.start:l.end,p=l.Ku,x;for(x in f)if(o.get(x)!==null){var N=x;!l.Hu||N!=="position:nodeCollapse"&&N!=="position:placeholder"||(N="position"),o.get(N)(a,u[x],p[x]!==void 0?p[x]:l.Hu?u[x]:f[x],this.Lp,this.Gd,this.Gd,this)}l.Hu&&p.location!==void 0&&a instanceof Ci&&(a.location=p.location),l.nv&&a instanceof Ci&&a.Zb(!1)}if(t.As.clear(),Nr(t,!1),t.Ya(),t.N(),ps(t,!0),n.defaultAnimation===this){for(x=n.pr.iterator;x.next();)r=x.value,r.Tg!==null&&(r.points=r.Tg,r.Tg=null);n.pr.clear()}ps(t,!0),this.isViewportUnconstrained&&(t.scrollMode=this.dw),Sa(n),this.au++,!e&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),Hi(this,null),n.Ml(this),t.$b())}},U.Cj=function(e,t){var n=t.actualBounds,i=null;if(t instanceof qi&&(i=t.placeholder),i!==null?(n=i.ga(Jo),i=i.padding,n.x+=i.left,n.y+=i.top,this.add(e,"position",n,e.position,!1)):this.add(e,"position",new he(n.x+n.width/2,n.y+n.height/2),e.position,!1),this.add(e,"scale",.01,e.scale,!1),e instanceof qi)for(e=e.memberParts;e.next();)i=e.value,i instanceof Xn&&this.Cj(i,t)},U.Aj=function(e,t){if(e.isVisible()){var n=null;if(t instanceof qi&&(n=t.placeholder),n!==null){var i=n.ga(Jo);n=n.padding,i.x+=n.left,i.y+=n.top,this.add(e,"position:placeholder",e.position,i,!0)}else this.add(e,"position:nodeCollapse",e.position,t,!0);if(this.add(e,"scale",e.scale,.01,!0),i=this.vc,i.contains(e)&&(i.I(e).nv=!0),e instanceof qi)for(e=e.memberParts;e.next();)i=e.value,i instanceof Xn&&this.Aj(i,t)}},U.Ez=function(e){var t=this.Tt.get(e);return t===null&&(t={},this.Tt.add(e,t)),t},ht.Object.defineProperties(Gn.prototype,{duration:{get:function(){return this.Dg},set:function(e){1>e&&Lt(e,">= 1",Gn,"duration"),this.Dg=e}},reversible:{get:function(){return this.ho},set:function(e){this.ho=e}},runCount:{get:function(){return this.cu},set:function(e){0e?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function Ps(e,t,n,i){return e===i?t+n:n*(-Math.pow(2,-10*e/i)+1)+t}Gn.className="Animation",Gn.EaseLinear=function(e,t,n,i){return n*e/i+t},Gn.EaseInOutQuad=Ds,Gn.EaseInQuad=function(e,t,n,i){return n*(e/=i)*e+t},Gn.EaseOutQuad=function(e,t,n,i){return-n*(e/=i)*(e-2)+t},Gn.EaseInExpo=function(e,t,n,i){return e===0?t:n*Math.pow(2,10*(e/i-1))+t},Gn.EaseOutExpo=Ps;function ol(e,t,n){this.start=e,this.end=t,this.Ku={},this.Hu=n,this.nv=!1}ol.className="AnimationState";function Ts(e,t,n){this.xd=null,this.rf=e,this.so=n||ra,this.uk=null,t!==void 0&&(this.uk=t,n===void 0&&(this.so=Na))}Ts.prototype.copy=function(){var e=new Ts(this.rf);e.so=this.so;var t=this.uk;if(t!==null){var n={};t.duration!==void 0&&(n.duration=t.duration),t.finished!==void 0&&(n.finished=t.finished),t.easing!==void 0&&(n.easing=t.easing),e.uk=n}return e};function po(e,t){e=e.uk,e!==null&&(e.duration&&(t.duration=e.duration),e.finished&&(t.finished=e.finished),e.easing&&(t.easing=e.easing))}ht.Object.defineProperties(Ts.prototype,{propertyName:{get:function(){return this.rf},set:function(e){this.rf=e}},animationSettings:{get:function(){return this.uk},set:function(e){this.uk=e}},startCondition:{get:function(){return this.so},set:function(e){this.so=e}}});var ra=new Yt(Ts,"Default",1),Na=new Yt(Ts,"Immediate",2),A=new Yt(Ts,"Bundled",3);Ts.className="AnimationTrigger",Ts.Default=ra,Ts.Immediate=Na,Ts.Bundled=A;function m(e){Li(this),this.H=null,this.Pa=new qt,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],e&&Object.assign(this,e)}U=m.prototype,U.clear=function(){for(var e=this.Pa,t=0;t=e)return t;for(var n=0,i=0,r=0,o=0,a=0,l=this.Pa.iterator;l.next();){var u=l.value;u instanceof qi?r++:u instanceof Xn?i++:u instanceof Pn?o++:u instanceof Zr?a++:n++}if(l="",0n.Oq||l.height*r>n.Oq?t.gc(e,n):(r=t.actualBounds,o=t.naturalBounds,r.width===0||r.height===0||isNaN(r.x)||isNaN(r.y)||!t.isVisible()||(n=t.transform,t.areaBackground!==null&&(Aa(t,e,t.areaBackground,!0,!0,o,r),e.fillRect(r.x,r.y,r.width,r.height)),t.areaBackground===null&&t.background===null&&(Aa(t,e,"rgba(0,0,0,0.3)",!0,!1,o,r),e.fillRect(r.x,r.y,r.width,r.height)),t.background!==null&&(e.transform(n.m11,n.m12,n.m21,n.m22,n.dx,n.dy),Aa(t,e,t.background,!0,!1,o,r),e.fillRect(0,0,o.width/2,o.height/2),n.ws()||(t=1/(n.m11*n.m22-n.m12*n.m21),e.transform(n.m22*t,-n.m12*t,-n.m21*t,n.m11*t,t*(n.m21*n.dy-n.m22*n.dx),t*(n.m12*n.dx-n.m11*n.dy)))))),i&&(e.restore(),e.Vc(!0))}},U.g=function(e,t,n,i,r){var o=this.diagram;o!==null&&o.cb(So,e,this,t,n,i,r)},U.oi=function(e,t,n){var i=this.Pa;if(t.Ig=this,this===null&&el(t),e>=i.count)e=i.count;else if(i.M(e)===t)return-1;return i.Gb(e,t),t.Vo(n),i=this.diagram,i!==null&&(n?i.N():i.oi(t)),Z(this,e,t),e},U.pc=function(e,t,n){if(!n&&t.layer!==this&&t.layer!==null)return t.layer.pc(e,t,n);var i=this.Pa;if(0>e||e>=i.length){if(e=i.indexOf(t),0>e)return-1}else if(i.M(e)!==t&&(e=i.indexOf(t),0>e))return-1;return t.Wo(n),i.mb(e),i=this.diagram,i!==null&&(n?i.N():i.pc(t)),t.Ig=null,el(t),e};function Z(e,t,n){if(t=se(e,t,n),n instanceof qi&&n!==null&&isNaN(n.zOrder)){if(n.memberParts.count!==0){for(var i=-1,r=e.Pa.s,o=r.length,a=0;ai&&l.containingGroup===n&&(i=a,0<=t))break}!(0>i)&&i=r)return t;if(0>t&&(t=e.indexOf(n)),0>t)return-1;for(var o=t-1,a=NaN;0<=o&&(a=e.M(o).zOrder,!!isNaN(a));)o--;for(var l=t+1,u=NaN;li)for(;;){if(o===-1||a<=i){if(o++,o===t)break;return e.mb(t),e.Gb(o,n),o}for(a=NaN;0<=--o&&(a=e.M(o).zOrder,isNaN(a)););}else if(!isNaN(u)&&u=i){if(l--,l===t)break;return e.mb(t),e.Gb(l,n),l}for(u=NaN;++le||1=e)return t;for(var n=this.Wa.iterator;n.next();)t+=` + `+n.value.toString(e-1);return t};function Ti(e,t){if(Ea){if(t!=null||Ve("Diagram setup requires an argument DIV."),e.Ka!==null&&Ve("Diagram has already completed setup."),typeof t=="string"?e.Ka=Ke.document.getElementById(t):t instanceof HTMLDivElement?e.Ka=t:Ve("No DIV or DIV id supplied: "+t),e.Ka===null&&Ve("Invalid DIV id; could not get element with id: "+t),e.Ka.H!==void 0&&Ve("Invalid div id; div already has a Diagram associated with it."),!e.ol&&Ke.ResizeObserver){var n=Fn(function(){e.$b()},250);e.ol=new Ke.ResizeObserver(function(){n()}),e.ol.observe(e.Ka)}Ke.getComputedStyle(e.Ka,null).position==="static"&&(e.Ka.style.position="relative"),t=5;var i="rgba(2"+t+"5, 255, 255, 0)";t--,e.Ka.style["-webkit-tap-highlight-color"]=i,e.Ka.innerHTML="",e.Ka.H=e,e.Ka.goDiagram=e,e.Ka.go=Ke.go;var r=new $u(e);if(r.style!==void 0&&(r.style.position="absolute",r.style.top="0px",r.style.left="0px",Ke.getComputedStyle(e.Ka,null).getPropertyValue("direction")==="rtl"&&(e.tn=!0),r.style.zIndex="2",r.style.userSelect="none",r.style.MozUserSelect="none",r.style.touchAction="none",r.style.letterSpacing="normal !important",r.style.wordSpacing="normal !important"),e.ta=r,e.ib=r.context,i=e.ib,e.Mb=e.computePixelRatio(),e.viewSize.w()||(e.Aa=e.Ka.clientWidth||1,e.ya=e.Ka.clientHeight||1),Cc(e,e.Aa,e.ya),e.Ka.insertBefore(r.Oa,e.Ka.firstChild),r=new $u(null),r.width=1,r.height=1,e.jw=r,e.oy=r.context,Ea){r=Nt("div");var o=Nt("div");r.style.position="absolute",r.style.overflow="auto",r.style.width=e.Aa+"px",r.style.height=e.ya+"px",r.style.zIndex="1",o.style.position="absolute",o.style.width="1px",o.style.height="1px",e.Ka.appendChild(r),r.appendChild(o),r.onscroll=jo,r.addEventListener("pointerdown",Ra),r.H=e,r.uy=!0,r.vy=!0,e.ku=r,e.hu=o}e.hk=Fn(function(){e.Yh=null,e.N()},300),e.Ov=Fn(function(){$r(e)},250),e.preventDefault=function(a){return a.preventDefault(),!1},e.$j=function(a){if(e.isEnabled){var l=Ns(e,a,!0);l.bubbles=!0;var u=0,f=0;l.delta=0,a.deltaX!==void 0?(a.deltaX!==0&&(u=0Math.abs(a.deltaY)?-u:-f):a.wheelDeltaX!==void 0?(a.wheelDeltaX!==0&&(u=0Math.abs(a.wheelDeltaY)?-u:-f):a.wheelDelta!==void 0&&a.wheelDelta!==0&&(l.delta=0l||Math.abs(f.y-a.screenY)>l)?e.yq++:e.yq=1,u.clickCount=e.yq,e.tw=a.timeStamp,e.uw.sg(a.screenX,a.screenY),e.doMouseDown(),a.button===1?a.preventDefault():Fs(u,a)}},e.dk=function(a){if(e.isEnabled){e.Vk=!0;var l=e.oj;if(l[0]===null||l[0].pointerId!==a.pointerId&&l[0].pointerType===a.pointerType){if(l[1]!==null&&l[1].pointerId===a.pointerId){l[1]=a;return}if(l[0]===null)l[0]=a;else return}else l[0]=a;if(l[0].pointerId===a.pointerId){l=Vl(e,a,!1,!1,!1,l[1]!==null);var u=Ke.document.elementFromPoint(a.clientX,a.clientY)||null;u!==null&&u.shadowRoot!==void 0&&u.shadowRoot!==null&&(u=u.shadowRoot.elementFromPoint(a.clientX,a.clientY));var f=e,p=a;u&&u.H&&(p=a,f=u.H),l.targetDiagram=f,ku(e,p,l),l.targetObject=null,e.doMouseMove(),Fs(l,a)}}},e.fk=function(a){if(e.isEnabled){e.Vk=!0;var l=a.pointerType==="touch"||a.pointerType==="pen",u=e.Yt;if(l&&e.qu)delete u[a.pointerId],a.preventDefault();else if(u=e.oj,u[0]===null||u[0].pointerId!==a.pointerId&&u[0].pointerType===a.pointerType)u[1]!==null&&u[1].pointerId===a.pointerId&&(u[1]=null);else{u[0]=null,u=Vl(e,a,!1,!0,!0,!1);var f=Ke.document.elementFromPoint(a.clientX,a.clientY)||null;f!==null&&f.shadowRoot!==void 0&&f.shadowRoot!==null&&(f=f.shadowRoot.elementFromPoint(a.clientX,a.clientY)),f!==null&&f.H instanceof Y&&f.H!==e&&ku(f.H,a,u),f===null&&(f=a.target),ku(e,a,u),u.clickCount=e.yq,u.targetDiagram=al(a,f),u.targetObject=null,e.doMouseUp(),Fs(u,a),l&&(e.wq=!1)}}},e.ek=function(a){if(e.isEnabled){e.Vk=!1;var l=e.Yt;l[a.pointerId]&&delete l[a.pointerId],l=e.oj,l[0]!==null&&l[0].pointerId===a.pointerId&&(l[0]=null),l[1]!==null&&l[1].pointerId===a.pointerId&&(l[1]=null),a.pointerType!=="touch"&&a.pointerType!=="pen"&&(a=e.currentTool,a.cancelWaitAfter(),a.standardMouseOver())}},e.ck=function(a){var l=e.oj;l[0]!==null&&l[0].pointerId===a.pointerId?(l[0]=null,e.wq=!1):l[1]!==null&&l[1].pointerId===a.pointerId&&(l[1]=null)},e.Vp=i.Z["d"+_d[1]+_d[2]+"wI"+pd.slice(1,5)]["b"+Vb.slice(1,t)](i.Z,Bd,t,t),i.Vc(!0),Ni(e),e.nl==="svg"&&(t=e.pj.get("svg"),e.Ka.appendChild(t.Oa),e.ib=t.context)}}Y.prototype.addEventListener=function(e,t,n,i){e.addEventListener(t,n,{capture:i,passive:!1})},Y.prototype.removeEventListener=function(e,t,n,i){e.removeEventListener(t,n,{capture:i})};function Ni(e){var t=e.ta.Oa;t instanceof HTMLCanvasElement||(t=e.div),e.addEventListener(t,"pointerdown",e.ui,!1),e.addEventListener(t,"pointermove",e.dk,!1),e.addEventListener(t,"pointerup",e.fk,!1),e.addEventListener(t,"pointerout",e.ek,!1),e.addEventListener(t,"pointercancel",e.ck,!1),e.addEventListener(t,"pointerenter",e.bz,!1),e.addEventListener(t,"pointerleave",e.cz,!1),e.addEventListener(t,"wheel",e.$j,!1),e.addEventListener(t,"keydown",e.Qz,!1),e.addEventListener(t,"keyup",e.Rz,!1),e.addEventListener(t,"blur",e.Ny,!1),e.addEventListener(t,"focus",e.Oy,!1),e.addEventListener(t,"selectstart",function(n){return n.preventDefault(),!1},!1),e.addEventListener(t,"contextmenu",function(n){return n.preventDefault(),!1},!1),e.addEventListener(Ke,"resize",e.Ov,!1)}function $i(e){30_&&(this.position=be.h(-(t.scrollWidth-this.Aa)+ue-this.Aa/r+p,this.position.y))),e.vy&&this.allowVerticalScroll&&(lV&&(this.position=be.h(this.position.x,-(t.scrollHeight-this.ya)+e.scrollTop-this.ya/r+o))),he.free(be),this.vd=!0,this.Ee=this.qr=!1,i=this.documentBounds,r=this.viewportBounds,p=i.right,_=r.right,o=i.bottom,V=r.bottom,a=i.x,x=r.x,l=i.y,i=r.y,N>=u&&a>=x&&p<=_&&(n.style.width="1px"),R>=f&&l>=i&&o<=V&&(n.style.height="1px"))}},Y.prototype.computeBounds=function(e){return e===void 0&&(e=new Zt),Ka(this),na(this,e)};function na(e,t){if(e.fixedBounds.w())return t.assign(e.fixedBounds),t.Co(e.yb),t;for(var n=!0,i=e.Wa.s,r=i.length,o=0;on&&(t=n),te.maxScale&&(t=e.maxScale),t):t===Hh?(t=u>l?(a-e.Db)/i:(o-e.Db)/r,t>n&&(t=n),te.maxScale&&(t=e.maxScale),t):e.scale}Y.prototype.zoomToFit=function(){var e=this.sj;this.sj=ph,this.scale=fa(this,vu),e!==ph&&(Yo(this,!1),ls(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=e},U=Y.prototype,U.BA=function(e,t){t===void 0&&(t=vu);var n=e.width,i=e.height;if(!(n===0||i===0||isNaN(n)&&isNaN(i))){var r=1;if(t===vu||t===Hh)if(isNaN(n))r=this.viewportBounds.height*this.scale/i;else if(isNaN(i))r=this.viewportBounds.width*this.scale/n;else{r=this.Aa;var o=this.ya;r=t===Hh?o/i>r/n?(o-(this.Be?this.Db:0))/i:(r-(this.gf?this.Db:0))/n:Math.min(o/i,r/n)}this.scale=r,this.position=new he(e.x,e.y)}},U.Jy=function(e,t){this.Va();var n=this.documentBounds,i=this.viewportBounds;this.position=new he(n.x+(e.x*n.width+e.offsetX)-(t.x*i.width-t.offsetX),n.y+(e.y*n.height+e.offsetY)-(t.y*i.height-t.offsetY))},U.zz=function(e){if(e instanceof at){this.eq=e;var t=he.alloc();this.fq=this.op(e.ga(Jo,t)),he.free(t)}else this.eq=null,this.fq=Zi};function ls(e,t,n,i,r,o){var a=he.allocAt(e.pa.x,e.pa.y),l=a.x,u=a.y;if(e.eq!==null){var f=he.alloc();f=e.eq.ga(Jo,f),l=f.x-e.fq.x/e.scale,u=f.y-e.fq.y/e.scale,r=Ui,he.free(f)}(o||e.scrollMode===ph)&&(r.sb()&&(n>t.width&&(l=t.x+(r.x*t.width+r.offsetX)-(r.x*n-r.offsetX)),i>t.height&&(u=t.y+(r.y*t.height+r.offsetY)-(r.y*i-r.offsetY))),r=e.rj,o=n-t.width,nt.left?l=t.left:lt.top?u=t.top:ut;t++){var n=e.De.iterator;if(n===null||e.De.count===0)break;e.De=new Xt,e.Nv(n,e.De)}e.nodes.each(function(i){i instanceof qi&&i.U&65536&&(i.U=i.U^65536)})}}U.Nv=function(e,t){for(e.reset();e.next();){var n=e.value;!n.Zc()||n instanceof qi||(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n))}for(e.reset();e.next();)n=e.value,n instanceof qi&&n.isVisible()&&ea(this,n);for(e.reset();e.next();)n=e.value,n instanceof Pn&&n.isVisible()&&(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n));for(e.reset();e.next();)n=e.value,n instanceof Zr&&n.isVisible()&&(n.si()?(n.measure(1/0,1/0),n.arrange()):t.add(n))};function ea(e,t){for(var n=Rt(),i=Rt(),r=t.memberParts;r.next();){var o=r.value;o.isVisible()&&(o instanceof qi?(bu(o)||wl(o)||jh(o))&&ea(e,o):o instanceof Pn?o.fromNode===t||o.toNode===t?i.push(o):n.push(o):(o.measure(1/0,1/0),o.arrange()))}for(e=n.length,r=0;rrt&&(ue=Kn.left,Fe=Kn.right),be.height>At&&(Ue=Kn.top,Ge=Kn.bottom)):(ue=Kn.left,Fe=Kn.right,Ue=Kn.top,Ge=Kn.bottom);var ri=be.width+ue+Fe,qn=be.height+Ue+Ge;Kn=e.scale;var Rn=ri>u/Kn,mn=qn>f/Kn;if(!(o||e.gf||e.Be||Rn||mn))return!0;ue=be.x-ue,u=p.x,Fe=be.right+Fe,f=p.right+a,Ue=be.y-Ue;var Ji=p.y;be=be.bottom+Ge,p=p.bottom+l;var Wi="1px";if(Ge="1px",e.scrollMode===ph&&(Rn||mn)&&(Rn&&e.hasHorizontalScrollbar&&e.allowHorizontalScroll&&(Rn=1,ue+1f+1&&(Rn=Math.max((Fe-f)*Kn+e.Aa,Rn)),rt+a+1p+1&&(Rn=Math.max((be-p)*Kn+e.ya,Rn)),At+l+1f+1&&(a=Math.max((Fe-f)*Kn+e.Aa,a)),rt+1p+1&&(l=Math.max((be-p)*Kn+a,l)),At+1f+1&&(t=e.position.x*Kn)),e.tn)switch(e.bu){case"negative":t=-(_.scrollWidth-t-_.clientWidth);break;case"reverse":t=_.scrollWidth-t-_.clientWidth}return _.scrollLeft=t,e.hasVerticalScrollbar&&e.allowVerticalScroll&&(At+1p+1&&(_.scrollTop=e.position.y*Kn)),u=e.Aa,f=e.ya,_.style.width=u+(e.gf?e.Db:0)+"px",_.style.height=f+(e.Be?e.Db:0)+"px",n!==u||i!==f||e.animationManager.zb?(n=Zt.allocAt(r,x,N,R),e.onViewportBoundsChanged(n,e.viewportBounds,Kn,o),Zt.free(n),!1):!0}U=Y.prototype,U.add=function(e){var t=e.diagram;if(t!==this&&(t!==null&&Ve("Cannot add part "+e.toString()+" to "+this.toString()+". It is already a part of "+t.toString()),t=this.Qj(e.layerName),t===null&&(t=this.Qj("")),t===null&&Ve('Cannot add a Part when unable find a Layer named "'+e.layerName+'" and there is no default Layer'),e.layer!==t)){var n=t.oi(99999999,e,e.diagram===this);0<=n&&this.cb(Ko,"parts",t,null,e,null,n),t.isTemporary||this.Ya(),e.C(1),n=e.layerChanged,n!==null&&n(e,null,t)}},U.oi=function(e){this.partManager.oi(e);var t=this;bd(e,function(n){hd(t,n)}),(e instanceof Zr||e instanceof qi&&e.placeholder!==null)&&e.v(),e.data!==null&&bd(e,function(n){gv(t.partManager,n)}),wl(e)!==!0&&jh(e)!==!0||this.De.add(e),Zy(e,!0,this),Xy(e)?(e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.Ya()):e.isVisible()&&e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.$b()},U.pc=function(e){e.Ej(),this.partManager.pc(e);var t=this;e.data!==null&&bd(e,function(n){vv(t.partManager,n,t)}),this.De.remove(e),Xy(e)?(e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.Ya()):e.isVisible()&&e.actualBounds.w()&&this.N(Ed(e,e.actualBounds)),this.$b()},U.remove=function(e){Xc(this,e,!0)};function Xc(e,t,n){var i=t.layer;i!==null&&i.diagram===e&&(t.isSelected=!1,t.isHighlighted=!1,t.C(2),n&&t.Lj(),n=i.pc(-1,t,!1),0<=n&&e.cb(la,"parts",i,t,null,n,null),e=t.layerChanged,e!==null&&e(t,i,null))}U.Is=function(e,t){if(t===void 0&&(t=!1),fn(e))for(var n=e.length,i=0;ii&&this.Ya(),this},U.Cy=function(e,t){dh(this,e,t),e.Xe(this);var n=this.Wa,i=n.indexOf(e);0<=i&&(n.remove(e),this.cc!==null&&this.cb(la,"layers",this,e,null,i,null));var r=n.count,o;for(o=0;oi&&this.Ya(),this},U.kA=function(e){if(e.diagram!==this&&Ve("Cannot remove a Layer from another Diagram: "+e+" of "+e.diagram),e.name!==""){var t=this.Wa,n=t.indexOf(e);if(t.remove(e)){for(t=e.Pa.copy().iterator;t.next();){var i=t.value,r=i.layerName;r!==e.name?i.layerName=r:i.layerName=""}this.cc!==null&&this.cb(la,"layers",this,e,null,n,null),this.N(),this.Ya()}}},U.Qj=function(e){for(var t=this.layers;t.next();){var n=t.value;if(n.name===e)return n}return null},U.Yw=function(e){return this.pf===null&&(this.pf=new qt),this.pf.add(e),this.model.Pe(e),this},U.mA=function(e){this.pf!==null&&(this.pf.remove(e),this.pf.count===0&&(this.pf=null)),this.model.ik(e)},U.Pe=function(e){return this.zg===null&&(this.zg=new qt),this.zg.add(e),this},U.ik=function(e){this.zg!==null&&(this.zg.remove(e),this.zg.count===0&&(this.zg=null))},U.ds=function(e){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(e),e.change!==vs&&(this.isModified=!0),this.zg!==null)for(var t=this.zg,n=t.length,i=0;ix.Pa.indexOf(R)&&x.oi(N,R,_):(R.isSelected=!1,R.isHighlighted=!1,R.Wb(),x.pc(_?N:-1,R,_)))}else x instanceof Y?typeof N=="number"&&R instanceof m&&(t?(R.Xe(this),this.Wa.Gb(N,R)):this.Wa.mb(N)):Ve("unknown ChangedEvent.Remove object: "+e.toString());this.isModified=!0}else i!==vs&&Ve("unknown ChangedEvent: "+e.toString())}finally{this.skipsModelSourceBindings=n}}},Y.prototype.Ea=function(e){return this.undoManager.Ea(e)},Y.prototype.eb=function(e){return this.undoManager.eb(e)},Y.prototype.Kf=function(){return this.undoManager.Kf()},Y.prototype.commit=function(e,t){t===void 0&&(t="");var n=this.skipsUndoManager;t===null&&(this.skipsUndoManager=!0,t=""),this.undoManager.Ea(t);var i=!1;try{e(this),i=!0}finally{i?this.undoManager.eb(t):this.undoManager.Kf(),this.skipsUndoManager=n}},Y.prototype.updateAllTargetBindings=function(e){this.partManager.updateAllTargetBindings(e)},Y.prototype.rp=function(){this.partManager.rp()};function np(e,t,n){var i=e.animationManager;if(e.vb||e.ld)e.Ca=n,Ac(e),e.N(),e.Ee=!0,i.zb&&(ya(i)||i.ce.add(i.H,"scale",t,e.Ca));else if(e.ta===null)e.Ca=n,Ac(e);else{e.vb=!0;var r=e.viewportBounds.copy(),o=e.Aa,a=e.ya,l=e.zoomPoint.x,u=e.zoomPoint.y,f=e.contentAlignment;isNaN(l)&&(f.$c()?f.Hf(fl)?l=0:f.Hf(ja)&&(l=o-1):l=f.sb()?f.x*(o-1):o/2),isNaN(u)&&(f.$c()?f.Hf(Ia)?u=0:f.Hf(qa)&&(u=a-1):u=f.sb()?f.y*(a-1):a/2),e.scaleComputation===null||e.animationManager.defaultAnimation.isAnimating||(n=e.scaleComputation(e,n)),ne.maxScale&&(n=e.maxScale),o=he.allocAt(e.pa.x+l/t-l/n,e.pa.y+u/t-u/n),e.position=o,he.free(o),e.Ca=n,Ac(e),e.vb=!1,e.onViewportBoundsChanged(r,e.viewportBounds,t,!1),Yo(e,!1),i.zb&&(ya(i)||i.ce.add(i.H,"scale",t,e.Ca))}}Y.prototype.onViewportBoundsChanged=function(e,t,n,i){if(!e.D(t)){i===void 0&&(i=!1),i||(this.Ee=!0),this.vd=!0;var r=this.layout;r===null||!r.isViewportSized||this.autoScale!==sl||e.width===t.width&&e.height===t.height||r.C(),r=this.currentTool,this.Vk===!0&&r instanceof Co&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),Qu(r,this)),this.vb||this.invalidateViewport(e,t),Nc(this),this.fc.scale=n,this.fc.position.x=e.x,this.fc.position.y=e.y,this.fc.bounds.assign(e),this.fc.canvasSize.width=Math.round(e.width*n),this.fc.canvasSize.height=Math.round(e.height*n),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=i,this.R("ViewportBoundsChanged",this.fc,e),this.isVirtualized&&this.links.each(function(o){o.isAvoiding&&o.actualBounds.Yc(t)&&o.bb()})}};function Nc(e,t){var n=e.fe;if(n!==null&&n.visible){for(var i=pi.alloc(),r=1,o=1,a=n.O.s,l=a.length,u=0;up||(Cg(f.figure)?o=o*p/qe.vx(o,p):r=r*p/qe.vx(r,p))}if(a=n.gridCellSize,i.h(o*a.width,r*a.height),t!==void 0)r=t.width,o=t.height,e=t.x,a=t.y;else{if(t=Zt.alloc(),e=e.viewportBounds,t.h(e.x,e.y,e.width,e.height),!t.w()){Zt.free(t);return}r=t.width,o=t.height,e=t.x,a=t.y,Zt.free(t)}n.width=r+2*i.width,n.height=o+2*i.height,t=he.alloc(),qe.No(e,a,0,0,i.width,i.height,t),t.offset(-i.width,-i.height),pi.free(i),n.part.location=t,he.free(t)}}Y.prototype.clearSelection=function(e){e===void 0&&(e=!1);var t=this.selection;if(t.count!==0){e||this.R("ChangingSelection",t);for(var n=t.Fa(),i=n.length,r=0;r=i&&!o.defaultAnimation.isAnimating&&!o.zb&&(t||qo(o,"Layout")),e.xh=!1;for(var a=e.ai.iterator;a.next();)sp(e,a.value,t,i);r.isValidLayout||(!t||r.isRealtime||r.isRealtime===null||i===0?(r.doLayout(e),Ka(e),r.isValidLayout=!0):e.xh=!0)}finally{t=e.undoManager.isInternalTransaction,i===0&&(e.eb("Layout"),e.undoManager.isInternalTransaction=!1),!t||i!==0&&i!==1||ta(o),e.aa=n}}}function sp(e,t,n,i){if(t!==null){for(var r=t.gl.iterator;r.next();)sp(e,r.value,n,i);r=t.layout,r===null||r.isValidLayout||(!n||r.isRealtime||i===0?(t.rh=!t.location.w(),r.doLayout(t),t.C(32),ea(e,t),r.isValidLayout=!0):e.xh=!0)}}U.yz=function(){for(var e=new qt,t=this.nodes;t.next();){var n=t.value;n.isTopLevel&&n.kh()===null&&e.add(n)}return e.iterator};function cg(e){function t(r){var o=r.toLowerCase(),a=new qt;n.add(r,a),n.add(o,a),i.add(r,r),i.add(o,r)}var n=new Zn,i=new Zn;t("InitialAnimationStarting"),t("AnimationStarting"),t("AnimationFinished"),t("BackgroundSingleClicked"),t("BackgroundDoubleClicked"),t("BackgroundContextClicked"),t("ClipboardChanged"),t("ClipboardPasted"),t("DocumentBoundsChanged"),t("ExternalObjectsDropped"),t("GainedFocus"),t("InitialLayoutCompleted"),t("LayoutCompleted"),t("LinkDrawn"),t("LinkRelinked"),t("LinkReshaped"),t("LostFocus"),t("Modified"),t("ObjectSingleClicked"),t("ObjectDoubleClicked"),t("ObjectContextClicked"),t("PartCreated"),t("PartResized"),t("PartRotated"),t("SelectionMoved"),t("SelectionCopied"),t("SelectionDeleting"),t("SelectionDeleted"),t("SelectionGrouped"),t("SelectionUngrouped"),t("ChangingSelection"),t("ChangedSelection"),t("SubGraphCollapsed"),t("SubGraphExpanded"),t("TextEdited"),t("TreeCollapsed"),t("TreeExpanded"),t("ViewportBoundsChanged"),t("InvalidateDraw"),e.iw=n,e.hw=i}function p0(e,t){var n=e.hw.I(t);return n!==null?n:e.hw.I(t.toLowerCase())}function cf(e,t){var n=e.iw.I(t);if(n!==null||(n=e.iw.I(t.toLowerCase()),n!==null))return n;Ve("Unknown DiagramEvent name: "+t)}U.Bj=function(e,t){return e=cf(this,e),e!==null&&e.add(t),this},U.am=function(e,t){e=cf(this,e),e!==null&&e.remove(t)},U.R=function(e,t,n){var i=cf(this,e),r=new eu;if(r.diagram=this,e=p0(this,e),e!==null&&(r.name=e),t!==void 0&&(r.subject=t),n!==void 0&&(r.parameter=n),t=i.length,t===1)i.M(0)(r);else if(t!==0)for(i=i.Fa(),n=0;n=n.top&&0>=n.left&&0>=n.right&&0>=n.bottom)return t;var i=this.viewportBounds,r=this.scale;i=Zt.allocAt(0,0,i.width*r,i.height*r);var o=he.allocAt(0,0);if(e.x>=i.x&&e.xi.x+i.width-n.right&&this.allowHorizontalScroll&&(a=Math.max(this.scrollHorizontalLineChange,1),a|=0,o.x+=a,e.x>i.x+i.width-n.right/2&&(o.x+=a),e.x>i.x+i.width-n.right/4&&(o.x+=4*a));return e.y>=i.y&&e.yi.y+i.height-n.bottom&&this.allowVerticalScroll&&(a=Math.max(this.scrollVerticalLineChange,1),a|=0,o.y+=a,e.y>i.y+i.height-n.bottom/2&&(o.y+=a),e.y>i.y+i.height-n.bottom/4&&(o.y+=4*a)),o.Xa(gr)||(t=new he(t.x+o.x/r,t.y+o.y/r)),Zt.free(i),he.free(o),t},U=Y.prototype,U.Cs=function(){return null},U.av=function(){return null},U.bs=function(e,t){this.pj.add(e,t)},U.Fu=function(e){(this.Pw=e)||this.nodes.each(function(t){t instanceof qi&&(t.$p=null)})};function Dd(e,t,n){function i(){var p=+new Date;for(o=!0,a.reset();a.next();)if(!a.value[0].al){o=!1;break}o||p-f>u?t(n,r,l):Ke.requestAnimationFrame(i)}for(var r=n.callback,o=!0,a=e.Og.iterator;a.next();)if(!a.value[0].al){o=!1;break}if(typeof r!="function"||o)return t(n,r,e);var l=e,u=n.callbackTimeout||300,f=+new Date;return Ke.requestAnimationFrame(function(){i()}),null}U.Wz=function(e){return Ea?(e===void 0&&(e={}),e.returnType="Image",this.Jx(e)):null},U.Jx=function(e){return e===void 0&&(e={}),Dd(this,this.Xz,e)},U.Xz=function(e,t,n){var i=g0(n,e,"canvas",null);if(i===null)return null;n=i.Z.canvas;var r=null;if(n!==null)switch(r=e.returnType,r===void 0?r="string":r=r.toLowerCase(),r){case pd+"data":r=i.getImageData(0,0,n.width,n.height);break;case pd:i=(e.document||document).createElement("img"),i.src=n.toDataURL(e.type,e.details),r=i;break;case"blob":return typeof t!="function"&&Ve('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof n.toBlob=="function"?(n.toBlob(t,e.type,e.details),"toBlob"):(t(null),null);default:r=n.toDataURL(e.type,e.details)}return typeof t=="function"?(t(r),null):r};function g0(e,t,n,i){if(e.animationManager.Cc(),e.bd(),e.ta===null)return null;typeof t!="object"&&Ve("properties argument must be an Object.");var r=t.size||null,o=t.scale||null;t.scale!==void 0&&isNaN(t.scale)&&(o="NaN");var a=t.maxSize;t.maxSize===void 0&&(a=n==="SVG"?new pi(1/0,1/0):new pi(2e3,2e3));var l=t.position||null,u=t.parts||null,f=t.padding===void 0?1:t.padding,p=t.background||null,x=t.omitTemporary;x===void 0&&(x=!0);var N=t.document||document,R=t.elementFinished||null,_=t.showTemporary;_===void 0&&(_=!x),t=t.showGrid,t===void 0&&(t=_),r!==null&&isNaN(r.width)&&isNaN(r.height)&&(r=null),typeof f=="number"?f=new mi(f):f instanceof mi||Ve("MakeImage padding must be a Margin or a number."),f.left=Math.max(f.left,0),f.right=Math.max(f.right,0),f.top=Math.max(f.top,0),f.bottom=Math.max(f.bottom,0),e.ib.Vc(!0),x=new $u(null,N,void 0,!0);var V=x.context;if(!(r||o||u||l))return x.width=e.Aa+Math.ceil(f.left+f.right),x.height=e.ya+Math.ceil(f.top+f.bottom),n==="SVG"?i===null?null:(i.resize(x.width,x.height,x.width,x.height),i.ownerDocument=N,i.hs=R,ba(e,i.context,f,new pi(x.width,x.height),e.Ca,e.pa,u,p,_,t),i.context):(e.Xm=!1,ba(e,V,f,new pi(x.width,x.height),e.Ca,e.pa,u,p,_,t),e.Xm=!0,x.context);var be=e.Pp,ue=e.documentBounds.copy();if(ue.Fv(e.yb),_)for(var Fe=e.Wa.s,Ue=Fe.length,Ge=0;Gebe?(o=be,r=ue.width,ue=ue.height):(r=a.width,ue=a.height)):(r=ue.width*o,ue=ue.height*o):(o=be,r=ue.width,ue=ue.height),f!==null?(r+=l,ue+=Ue):f=new mi(0),a!==null&&(be=a.width,a=a.height,isNaN(be)&&(be=2e3),isNaN(a)&&(a=2e3),isFinite(be)&&(r=Math.min(r,be)),isFinite(a)&&(ue=Math.min(ue,a))),x.width=Math.ceil(r),x.height=Math.ceil(ue),n==="SVG"?i===null?null:(i.resize(x.width,x.height,x.width,x.height),i.ownerDocument=N,i.hs=R,ba(e,i.context,f,new pi(Math.ceil(r),Math.ceil(ue)),o,Fe,u,p,_,t),i.context):(e.Xm=!1,ba(e,V,f,new pi(Math.ceil(r),Math.ceil(ue)),o,Fe,u,p,_,t),e.Xm=!0,x.context)}ht.Object.defineProperties(Y.prototype,{renderer:{get:function(){return this.nl},set:function(e){this instanceof w||(e===""&&(e="default"),e=e.toLowerCase(),e!==this.nl&&(this.nl=e,e==="default"||e==="canvas"?(e=this.pj.get("svg"),e!==null&&e.Oa.remove(),this.ta&&(this.ib=this.ta.context)):e==="svg"?(this.pj.contains("svg")?e=this.pj.get("svg"):(e=new kc(this,Ke.document),this.bs("svg",e)),this.div!==null&&this.div.appendChild(e.Oa),this.ib=e.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):e!=="debug"||this.pj.contains("SVG")||(e=new kc(this,Ke.document),this.bs("SVG",e),e.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(e.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(e){if(this.Ka!==e){var t=this.Ka;t!==null?(t.H=void 0,t.goDiagram=void 0,t.go=void 0,t.innerHTML="",this.ta!==null&&(t=this.ta.Oa,this.removeEventListener(t,"pointermove",this.dk,!1),this.removeEventListener(t,"pointerdown",this.ui,!1),this.removeEventListener(t,"pointerup",this.fk,!1),this.removeEventListener(t,"pointerout",this.ek,!1),this.removeEventListener(t,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),t=this.toolManager,t!==null&&(t.mouseDownTools.each(function(n){n.cancelWaitAfter()}),t.mouseMoveTools.each(function(n){n.cancelWaitAfter()}),t.mouseUpTools.each(function(n){n.cancelWaitAfter()})),t.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Ke,"resize",this.Ov,!1),this.removeEventListener(Ke,"wheel",this.$j,!0),ft===this&&(ft=null)):this.ui===null&&(this.hf=!1),this.Ka=null,e!==null&&((t=e.H)&&(t.div=null),Ti(this,e),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(e){this.nt!==e&&(this.nt=e,e!==null&&(this.Vt=e.fromPort,this.Wt=e.toPort))}},Mx:{get:function(){return this.Vt},set:function(e){this.Vt=e}},Nx:{get:function(){return this.Wt},set:function(e){this.Wt=e}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(e){this.Wg=e,this.cc.skipsUndoManager=e}},delaysLayout:{get:function(){return this.lt},set:function(e){this.lt=e}},opacity:{get:function(){return this.pb},set:function(e){var t=this.pb;t!==e&&((0>e||1e&&Lt(e,">= 0",Y,"scrollHorizontalLineChange"),this.iu=e,this.g("scrollHorizontalLineChange",t,e))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(e){var t=this.mu;t!==e&&(0>e&&Lt(e,">= 0",Y,"scrollVerticalLineChange"),this.mu=e,this.g("scrollVerticalLineChange",t,e))}},lastInput:{get:function(){return this.cj},set:function(e){this.cj=e}},previousInput:{get:function(){return this.Qg},set:function(e){this.Qg=e}},firstInput:{get:function(){return this.bq},set:function(e){this.bq=e}},currentCursor:{get:function(){return this.it},set:function(e){if(e===""&&(e=this.Op),this.it!==e){var t=this.ta,n=this.Ka;if(t!==null&&n!==null){this.it=e;var i=t.style.cursor;t.style.cursor=e,n.style.cursor=e,t.style.cursor===i&&(t.style.cursor="-webkit-"+e,n.style.cursor="-webkit-"+e,t.style.cursor===i&&(t.style.cursor="-moz-"+e,n.style.cursor="-moz-"+e,t.style.cursor===i&&(t.style.cursor=e,n.style.cursor=e)))}}}},defaultCursor:{get:function(){return this.Op},set:function(e){e===""&&(e="auto");var t=this.Op;t!==e&&(this.Op=e,this.g("defaultCursor",t,e))}},click:{get:function(){return this.zh},set:function(e){var t=this.zh;t!==e&&(this.zh=e,this.g("click",t,e))}},doubleClick:{get:function(){return this.Fh},set:function(e){var t=this.Fh;t!==e&&(this.Fh=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return this.Bh},set:function(e){var t=this.Bh;t!==e&&(this.Bh=e,this.g("contextClick",t,e))}},mouseOver:{get:function(){return this.Qh},set:function(e){var t=this.Qh;t!==e&&(this.Qh=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return this.Oh},set:function(e){var t=this.Oh;t!==e&&(this.Oh=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return this.Nh},set:function(e){var t=this.Nh;t!==e&&(this.Nh=e,this.g("mouseHold",t,e))}},mouseDragOver:{get:function(){return this.Qt},set:function(e){var t=this.Qt;t!==e&&(this.Qt=e,this.g("mouseDragOver",t,e))}},mouseDrop:{get:function(){return this.Lh},set:function(e){var t=this.Lh;t!==e&&(this.Lh=e,this.g("mouseDrop",t,e))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(e){var t=this.xt;t!==e&&(this.xt=e,this.g("handlesDragDropForTopLevelParts",t,e))}},mouseEnter:{get:function(){return this.Mh},set:function(e){var t=this.Mh;t!==e&&(this.Mh=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return this.Ph},set:function(e){var t=this.Ph;t!==e&&(this.Ph=e,this.g("mouseLeave",t,e))}},toolTip:{get:function(){return this.$h},set:function(e){var t=this.$h;t!==e&&(this.$h=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return this.Ch},set:function(e){var t=this.Ch;t!==e&&(this.Ch=e,this.g("contextMenu",t,e))}},commandHandler:{get:function(){return this.nb},set:function(e){this.nb!==e&&(this.nb=e,e.Xe(this))}},toolManager:{get:function(){return this.te},set:function(e){this.te!==e&&(this.te=e,e.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(e){var t=this.ob;t!==e&&(this.ob=e,e.diagram=this,this.currentTool===t&&(this.currentTool=e))}},currentTool:{get:function(){return this.hb},set:function(e){var t=this.hb;t&&(t.isActive&&t.doDeactivate(),t.cancelWaitAfter(),t.doStop()),e===null&&(e=this.defaultTool),e!==null&&(this.hb=e,e.diagram=this,e.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(e){var t=this.Nt;if(t!==e)if(0<=e&&!isNaN(e)){if(this.Nt=e,this.g("maxSelectionCount",t,e),!this.undoManager.isUndoingRedoing&&(e=this.selection.count-e,0= 0",Y,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(e){var t=this.St;t!==e&&(this.St=e,this.g("nodeSelectionAdornmentTemplate",t,e))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(e){var t=this.wt;t!==e&&(this.wt=e,this.g("groupSelectionAdornmentTemplate",t,e))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(e){var t=this.Kt;t!==e&&(this.Kt=e,this.g("linkSelectionAdornmentTemplate",t,e))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var e=this.undoManager;return e.isEnabled?e.currentTransaction!==null?!0:this.rn&&this.Ce!==e.historyIndex:this.rn},set:function(e){if(this.rn!==e){this.rn=e;var t=this.undoManager;!e&&t.isEnabled&&(this.Ce=t.historyIndex),e||d0(this)}}},model:{get:function(){return this.cc},set:function(e){var t=this.cc;if(t!==e){this.currentTool.doCancel(),t&&t.undoManager!==e.undoManager&&t.undoManager.isInTransaction&&Ve("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var n=Bn(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var i=this.vb;this.vb=!0,qo(this.animationManager,"Model"),t&&(this.pf!==null&&this.pf.each(function(o){return t.ik(o)}),t.ik(this.Oc)),this.cc=e,this.partManager=ip(this.cc.type);for(var r=0;rthis.scale&&(this.scale=e)):Lt(e,"> 0",Y,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(e){var t=this.Mt;t!==e&&(0 0",Y,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(e){this.zu.D(e)||(this.zu=e=e.J())}},contentAlignment:{get:function(){return this.zk},set:function(e){var t=this.zk;t.D(e)||(this.zk=e=e.J(),this.g("contentAlignment",t,e),Yo(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(e){var t=this.pq;t.D(e)||(this.pq=e=e.J(),this.g("initialContentAlignment",t,e))}},padding:{get:function(){return this.yb},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.Ya(),this.g("padding",t,e))}},partManager:{get:function(){return this.Pc},set:function(e){var t=this.Pc;t!==e&&(e.diagram!==null&&Ve("Cannot share PartManagers between Diagrams: "+e.toString()),t&&t.Xe(null),this.Pc=e,e.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(e){var t=this.Sc;t!==e&&(this.Sc=e,e.diagram=this,e.group=null,this.xh=!0,this.g("layout",t,e),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(e){var t=this.Ht;if(t!==e&&(this.Ht=e,this.g("isTreePathToChildren",t,e),!this.undoManager.isUndoingRedoing))for(e=this.nodes;e.next();)Np(e.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(e){var t=this.uu;t!==e&&(e!==mh&&e!==Za&&e!==mf&&Ve("Unknown Diagram.treeCollapsePolicy: "+e),this.uu=e,this.g("treeCollapsePolicy",t,e))}},Ue:{get:function(){return this.pw},set:function(e){this.pw=e}},avoidanceCellSize:{get:function(){return this.aw},set:function(e){this.Xh=null,this.aw=new pi(Math.max(1,e.width),Math.max(1,e.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(e){this.bw=Math.max(1,e)}},autoScrollInterval:{get:function(){return this.vp},set:function(e){var t=this.vp;t!==e&&(this.vp=e,this.g("autoScrollInterval",t,e))}},autoScrollRegion:{get:function(){return this.xp},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.xp;t.D(e)||(this.xp=e=e.J(),this.Ya(),this.g("autoScrollRegion",t,e))}}}),ht.Object.defineProperties(Y,{licenseKey:{get:function(){return pp.jc()},set:function(e){pp.add(e.replace(/\s/g,""))}},version:{get:function(){return fd}}}),Y.prototype.makeImageData=Y.prototype.Jx,Y.prototype.makeImage=Y.prototype.Wz,Y.prototype.cacheGroupExternalLinks=Y.prototype.Fu,Y.prototype.addRenderer=Y.prototype.bs,Y.prototype.makeSVG=Y.prototype.av,Y.prototype.makeSvg=Y.prototype.Cs,Y.prototype.stopAutoScroll=Y.prototype.ug,Y.prototype.doAutoScroll=Y.prototype.gs,Y.prototype.isUnoccupied=Y.prototype.Yj,Y.prototype.raiseDiagramEvent=Y.prototype.R,Y.prototype.removeDiagramListener=Y.prototype.am,Y.prototype.addDiagramListener=Y.prototype.Bj,Y.prototype.findTreeRoots=Y.prototype.yz,Y.prototype.layoutDiagram=Y.prototype.Uz,Y.prototype.findTopLevelGroups=Y.prototype.qz,Y.prototype.findTopLevelNodesAndLinks=Y.prototype.rz,Y.prototype.ensureBounds=Y.prototype.Va,Y.prototype.findLinksByExample=Y.prototype.ls,Y.prototype.findNodesByExample=Y.prototype.ms,Y.prototype.findLinkForData=Y.prototype.Kc,Y.prototype.findNodeForData=Y.prototype.ii,Y.prototype.findPartForData=Y.prototype.Lc,Y.prototype.findLinkForKey=Y.prototype.findLinkForKey,Y.prototype.findNodeForKey=Y.prototype.Vb,Y.prototype.findPartForKey=Y.prototype.findPartForKey,Y.prototype.rebuildParts=Y.prototype.Wd,Y.prototype.transformViewToDoc=Y.prototype.Ps,Y.prototype.transformRectDocToView=Y.prototype.zA,Y.prototype.transformDocToView=Y.prototype.op,Y.prototype.centerRect=Y.prototype.es,Y.prototype.scrollToRect=Y.prototype.tv,Y.prototype.scroll=Y.prototype.scroll,Y.prototype.highlightCollection=Y.prototype.Jz,Y.prototype.highlight=Y.prototype.Iz,Y.prototype.selectCollection=Y.prototype.rA,Y.prototype.select=Y.prototype.select,Y.prototype.updateAllRelationshipsFromData=Y.prototype.rp,Y.prototype.updateAllTargetBindings=Y.prototype.updateAllTargetBindings,Y.prototype.commit=Y.prototype.commit,Y.prototype.rollbackTransaction=Y.prototype.Kf,Y.prototype.commitTransaction=Y.prototype.eb,Y.prototype.startTransaction=Y.prototype.Ea,Y.prototype.raiseChanged=Y.prototype.g,Y.prototype.raiseChangedEvent=Y.prototype.cb,Y.prototype.removeChangedListener=Y.prototype.ik,Y.prototype.addChangedListener=Y.prototype.Pe,Y.prototype.removeModelChangedListener=Y.prototype.mA,Y.prototype.addModelChangedListener=Y.prototype.Yw,Y.prototype.findLayer=Y.prototype.Qj,Y.prototype.removeLayer=Y.prototype.kA,Y.prototype.addLayerAfter=Y.prototype.Cy,Y.prototype.addLayerBefore=Y.prototype.Ww,Y.prototype.addLayer=Y.prototype.Al,Y.prototype.moveParts=Y.prototype.moveParts,Y.prototype.copyParts=Y.prototype.Kj,Y.prototype.removeParts=Y.prototype.Is,Y.prototype.remove=Y.prototype.remove,Y.prototype.add=Y.prototype.add,Y.prototype.clearDelayedGeometries=Y.prototype.bx,Y.prototype.setProperties=Y.prototype.nm,Y.prototype.attach=Y.prototype.Du,Y.prototype.set=Y.prototype.set,Y.prototype.resetInputOptions=Y.prototype.Sx,Y.prototype.setInputOption=Y.prototype.sA,Y.prototype.getInputOption=Y.prototype.Ql,Y.prototype.resetRenderingHints=Y.prototype.Tx,Y.prototype.setRenderingHint=Y.prototype.Xx,Y.prototype.getRenderingHint=Y.prototype.Gf,Y.prototype.maybeUpdate=Y.prototype.bd,Y.prototype.requestUpdate=Y.prototype.$b,Y.prototype.delayInitialization=Y.prototype.Xy,Y.prototype.isUpdateRequested=Y.prototype.Pz,Y.prototype.invalidateDocumentBounds=Y.prototype.Ya,Y.prototype.findObjectsNear=Y.prototype.og,Y.prototype.findPartsNear=Y.prototype.mz,Y.prototype.findObjectsIn=Y.prototype.Cf,Y.prototype.findPartsIn=Y.prototype.ux,Y.prototype.findObjectsAt=Y.prototype.ji,Y.prototype.findPartsAt=Y.prototype.lz,Y.prototype.findObjectAt=Y.prototype.ic,Y.prototype.findPartAt=Y.prototype.Ol,Y.prototype.focusObject=Y.prototype.zz,Y.prototype.alignDocument=Y.prototype.Jy,Y.prototype.zoomToRect=Y.prototype.BA,Y.prototype.zoomToFit=Y.prototype.zoomToFit,Y.prototype.diagramScroll=Y.prototype.kx,Y.prototype.focus=Y.prototype.focus;var pf=new Zn,v0=null,Ea=Ke.document!==void 0,dd=null,Uh="",sl=new Yt(Y,"None",0),vu=new Yt(Y,"Uniform",1),Hh=new Yt(Y,"UniformToFill",2),Pd=new Yt(Y,"CycleAll",10),up=new Yt(Y,"CycleNotDirected",11),cp=new Yt(Y,"CycleNotDirectedFast",12),hp=new Yt(Y,"CycleNotUndirected",13),dp=new Yt(Y,"CycleDestinationTree",14),fp=new Yt(Y,"CycleSourceTree",15),ph=new Yt(Y,"DocumentScroll",1),Fd=new Yt(Y,"InfiniteScroll",2),mh=new Yt(Y,"TreeParentCollapsed",21),Za=new Yt(Y,"AllParentsCollapsed",22),mf=new Yt(Y,"AnyParentsCollapsed",23),pp=new qt,fd="2.3.10",pd="image",Bd=null,y0=!1;function Js(){if(Ea){var e=Ke.document.createElement("canvas"),t=e.getContext("2d"),n=Nn("7ca11abfd022028846");t[n]=Nn("398c3597c01238");for(var i=["5da73c80a36455d7038e4972187c3cae51fd22",vn.Dx+"4ae6247590da4bb21c324ba3a84e385776",nr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",qe.za],r=1;5>r;r++)t[Nn("7ca11abfd7330390")](Nn(i[r-1]),10,15*r);for(t[n]=Nn("39f046ebb36e4b"),n=1;5>n;n++)t[Nn("7ca11abfd7330390")](Nn(i[n-1]),10,15*n);(i.length!==4||i[0][0]!=="5"||i[3][0]!=="7")&&(nr.prototype.Cd=nr.prototype.Eu),Bd=e}}Y.className="Diagram",Y.fromDiv=function(e){var t=e;return typeof e=="string"&&(t=Ke.document.getElementById(e)),t instanceof HTMLDivElement&&t.H instanceof Y?t.H:null},Y.inherit=function(e,t){function n(){}if(Object.getPrototypeOf(e).prototype)throw Error(`Used go.Diagram.inherit defining already defined class +`+e);n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Y.useDOM=function(e){Ea=e?Ke.document!==void 0:!1},Y.isUsingDOM=function(){return Ea},Y.None=sl,Y.Uniform=vu,Y.UniformToFill=Hh,Y.CycleAll=Pd,Y.CycleNotDirected=up,Y.CycleNotDirectedFast=cp,Y.CycleNotUndirected=hp,Y.CycleDestinationTree=dp,Y.CycleSourceTree=fp,Y.DocumentScroll=ph,Y.InfiniteScroll=Fd,Y.TreeParentCollapsed=mh,Y.AllParentsCollapsed=Za,Y.AnyParentsCollapsed=mf;function b0(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function md(e,t){if(t.ib.setTransform(t.Mb,0,0,t.Mb,0,0),t.ib.yc(),e.Rc===null)e:{t="f";var n=Ke[Nn("76a715b2f73f148a")][Nn("72ba13b5")]||"";if(e.Rc=!0,Ea){var i=Y[Nn("76a115b6ed251eaf4692")];if(i)for(var r=pp.iterator;r.next()&&(i=r.value,i=Nn(i).split(Nn("39e9")),!(6>i.length));){var o=Nn(i[1]).split(".");if(i[4]!=="7da71ca0")break;var a=Nn(vn[Nn("6cae19")]).split(".");if(o[0]>a[0]||o[0]===a[0]&&o[1]>=a[1]){var l=Ke[Nn("74a900bae4370f8b51")][Nn("6fbb13a1c2311e8a57")].toLowerCase();if(a=l[Nn("73a612b6fb191d")](Nn("3aad1ab6e022098b4dc4")),o=Nn(i[2]),-1a&&o!==Nn("7da71ca0ad381e90")&&(a=t[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>a&&(a=t[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>a&&(a=t[Nn("73a612b6fb191d")](Nn("2bfa41fdb3784bca12"))),0>a&&(a=n[Nn("73a612b6fb191d")](Nn("7baa19a6f76c1988428554"))),e.Rc=!(0<=a&&al),!e.Rc)))break;if(o[0]==="#"){a=Ke.document.createElement("div");for(var u=i[0].replace(/[A-Za-z]/g,"");4>u.length;)u+="9";if(l=u,u=u.substr(u.length-4),i="",i+=["gsh","gsf"][parseInt(u.substr(0,1),10)%2],i+=["Header","Background","Display","Feedback"][parseInt(u.substr(0,1),10)%4],a[Nn("79a417a0f0181a8946")]=i,Ke.document[Nn("78a712aa")]){Ke.document[Nn("78a712aa")][Nn("7bb806b6ed32388c4a875b")](a),u=Ke.getComputedStyle(a).getPropertyValue(Nn("78a704b7e62456904c9b12701b6532a8"));var f=Ke.getComputedStyle(a).getPropertyValue(Nn("75b817b0ea2202"));if(Ke.document[Nn("78a712aa")][Nn("68ad1bbcf533388c4a875b")](a),u){if(a=Ke[Nn("77a902b0eb1b1e804a8a")],f==="0."+parseInt(l,10)%100||u.indexOf(parseInt(o[1]+o[2],16))!==-1&&u.indexOf(parseInt(o[3]+o[4],16))!==-1){e.Rc=!1;break}else if(a&&a(Nn("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(i="."+i,o=0;oi.updateDelay?i.N():i.o||(i.o=!0,setTimeout(function(){return i.redraw()},i.updateDelay))},n.Of=function(){i.observed!==null&&ne(i)},n.autoScale=vu,n.vb=!1,t&&Object.assign(n,t),n}yi(w,Y),w.prototype.computePixelRatio=function(){return 1},w.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var e=this.ta,t=this.ib;if(e!==null&&t!==null){if(Qs(this),this.ql===null){var n=new $u(null);n.width=e.width,n.height=e.height,this.ql=n}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),H(this)}finally{this.ta=e,this.ib=t}}}Y.prototype.redraw.call(this)},w.prototype.gc=function(){if(this.Ka===null&&Ve("No div specified"),this.ta===null&&Ve("No canvas specified"),!(this.ta instanceof kc)&&(Gg(this.box),this.Fc)){var e=this.observed;if(e!==null&&!e.animationManager.defaultAnimation.isAnimating&&e.pi){Qs(this);var t=this.ta;e=this.ib,e.Vc(!0),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height),1>this.updateDelay?H(this):this.ql!==null&&(e.drawImage(this.ql.Oa,0,0),t=this.Ab,t.reset(),this.scale!==1&&t.scale(this.scale),this.position.x===0&&this.position.y===0||t.translate(-this.position.x,-this.position.y),e.scale(this.Mb,this.Mb),e.transform(t.m11,t.m12,t.m21,t.m22,t.dx,t.dy),e.yc()),t=this.Wa.s;for(var n=t.length,i=0;ie&&(e=0),this.ia!==e&&(this.ia=e)}}}),w.className="Overview";function Se(){Ao.call(this),this.j=null}yi(Se,Ao),Se.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e===null||!e.allowMove||!e.allowSelect)return!1;var t=e.observed;if(t===null)return!1;var n=e.lastInput;return!n.left||e.currentTool!==this&&(!this.isBeyondDragSize()||n.isTouchEvent&&n.timestamp-e.firstInput.timestampt.maxScale||(t.scale=e))},ye.prototype.canDecreaseZoom=function(e){e===void 0&&(e=1/this.zoomFactor);var t=this.diagram;return t.autoScale!==sl?!1:(e=t.scale*e,et.maxScale?!1:t.allowZoom)},ye.prototype.increaseZoom=function(e){e===void 0&&(e=this.zoomFactor);var t=this.diagram;t.autoScale===sl&&(e=t.scale*e,et.maxScale||(t.scale=e))},ye.prototype.canIncreaseZoom=function(e){e===void 0&&(e=this.zoomFactor);var t=this.diagram;return t.autoScale!==sl?!1:(e=t.scale*e,et.maxScale?!1:t.allowZoom)},ye.prototype.resetZoom=function(e){e===void 0&&(e=this.defaultScale);var t=this.diagram;et.maxScale||(t.scale=e)},ye.prototype.canResetZoom=function(e){e===void 0&&(e=this.defaultScale);var t=this.diagram;return et.maxScale?!1:t.allowZoom},ye.prototype.zoomToFit=function(){var e=this.diagram,t=e.animationManager;t.Cc(),e.redraw();var n=e.position,i=e.scale;qo(t,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&i===this.Au&&!isNaN(this.Jt)&&e.documentBounds.D(this.yu)?(e.scale=this.Jt,e.position=this.sw,this.Au=NaN,this.yu=xr):(this.Jt=i,this.sw=n.copy(),e.zoomToFit(),this.Au=e.scale,this.yu=e.documentBounds.copy()),ta(t)},ye.prototype.canZoomToFit=function(){return this.diagram.allowZoom},ye.prototype.scrollToPart=function(e){e===void 0&&(e=null);var t=this.diagram;if(t.Va(),e===null){try{this.cg!==null&&(this.cg.next()?e=this.cg.value:this.cg=null)}catch(u){this.cg=null}e===null&&(0e&&(e+=360)),e},U.Df=function(){if(!(this.l&4096))return this.Kk;var e=this.Ca;return this.panel!==null?e*this.panel.Df():e},U.qs=function(e,t){return t===void 0&&(t=new he),t.assign(e),this.oe.Cd(t),t},U.rs=function(e,t,n){return this.Sj(e.x,e.y,t.x,t.y,n)},U.Sj=function(e,t,n,i,r){var o=this.transform,a=1/(o.m11*o.m22-o.m12*o.m21),l=o.m22*a,u=-o.m12*a,f=-o.m21*a,p=o.m11*a,x=a*(o.m21*o.dy-o.m22*o.dx),N=a*(o.m12*o.dx-o.m11*o.dy);return this.areaBackground!==null?(o=this.actualBounds,qe.Ff(o.left,o.top,o.right,o.bottom,e,t,n,i,r)):(a=e*l+t*f+x,e=e*u+t*p+N,t=n*l+i*f+x,n=n*u+i*p+N,r.h(0,0),i=this.naturalBounds,n=qe.Ff(0,0,i.width,i.height,a,e,t,n,r),r.transform(o),n)},at.prototype.measure=function(e,t,n,i){if(bu(this)!==!1){var r=this.Kg,o=r.right+r.left;r=r.top+r.bottom,e=Math.max(e-o,0),t=Math.max(t-r,0),n=Math.max((n||0)-o,0),i=Math.max((i||0)-r,0),o=this.angle,r=this.desiredSize;var a=this.kq();o===90||o===270?(e=isFinite(r.height)?r.height+a:e,t=isFinite(r.width)?r.width+a:t):(e=isFinite(r.width)?r.width+a:e,t=isFinite(r.height)?r.height+a:t),r=n||0,a=i||0;var l=this instanceof kn;switch(_l(this,!0)){case En:a=r=0,l&&(t=e=1/0);break;case Tn:isFinite(e)&&e>n&&(r=e),isFinite(t)&&t>i&&(a=t);break;case bi:isFinite(e)&&e>n&&(r=e),a=0,l&&(t=1/0);break;case Di:isFinite(t)&&t>i&&(a=t),r=0,l&&(e=1/0)}l=this.maxSize;var u=this.minSize;r>l.width&&u.widthl.height&&u.heighte.height||this.Cb>e.width))&&(n=!0)),this.l=n?this.l|256:this.l&-257,this.Ib.w()||Ve("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(o,this.Ib),Fc(this,!1),Zt.free(o)},U=at.prototype,U.eh=function(){};function ll(e,t,n,i,r){if(e.Ib.h(t,n,i,r),!e.desiredSize.w()){var o=e.uc;n=e.Kg,t=n.right+n.left;var a=n.top+n.bottom;switch(n=o.width+t,o=o.height+a,i+=t,r+=a,t=_l(e,!0),n===i&&o===r&&(t=En),t){case En:(n>i||o>r)&&(Ya(e,!0),e.measure(n>i?i:n,o>r?r:o,0,0));break;case Tn:Ya(e,!0),e.measure(i,r,0,0);break;case bi:Ya(e,!0),e.measure(i,o,0,0);break;case Di:Ya(e,!0),e.measure(n,r,0,0)}}}U.Xl=function(e,t){var n=this.part;n!==null&&n.diagram!==null&&(n.selectionObject!==this&&n.resizeObject!==this&&n.rotateObject!==this||Kg(n,!0),this.N(),uo(e,t)||(n.oh(),this.Pn(n)))},U.Pn=function(e){this.portId!==null&&(Kg(e,!0),e instanceof Xn&&e1(e,this))},U.gc=function(e,t){if(!Mu(this,e,t)&&this.visible){var n=this.opacity;if(n!==0){var i=1;n!==1&&(i=e.globalAlpha,e.globalAlpha=i*n);var r="";this.filter!==""&&(r=e.filter,e.filter=this.filter);var o=this instanceof kn&&yh(this),a=this.Ib;if(o){var l=this.Ib,u=this.dc,f=this.areaBackground,p=this.Ma;f===null&&p===null||e.yc(),f!==null&&(Aa(this,e,f,!0,!0,u,l),f instanceof ao&&f.type===Ru?(e.beginPath(),e.rect(l.x,l.y,l.width,l.height),e.ng(f)):e.fillRect(l.x,l.y,l.width,l.height)),p!==null&&(Aa(this,e,p,!0,!1,u,l),p instanceof ao&&p.type===Ru?(e.beginPath(),e.rect(l.x,l.y,l.width,l.height),e.ng(p)):e.fillRect(l.x,l.y,l.width,l.height)),this.hh(e,t)}if(!o&&(o||a.width!==0&&a.height!==0&&!isNaN(a.x)&&!isNaN(a.y))){o=this.transform,l=this.panel,this.l&4096&&As(this),f=this.part,u=!1;var x=0;f&&t.Gf("drawShadows")&&(u=f.isShadowed)&&(p=f.shadowOffset,x=Math.max(p.y,p.x)*t.scale*t.Mb),p=this.Dd();var N;if(!(N=t.$i||!p)){var R=this.naturalBounds;N=this.wh;var _=N.m11,V=N.m21,be=N.dx,ue=N.m12,Fe=N.m22,Ue=N.dy,Ge,rt=Ge=0;N=Ge*_+rt*V+be;var At=Ge*ue+rt*Fe+Ue;Ge=R.width+x,rt=0;var Kn=Ge*_+rt*V+be;Ge=Ge*ue+rt*Fe+Ue,rt=Math.min(N,Kn);var ri=Math.min(At,Ge),qn=Math.max(N+0,Kn)-rt,Rn=Math.max(At+0,Ge)-ri;N=rt,At=ri,Ge=R.width+x,rt=R.height+x,Kn=Ge*_+rt*V+be,Ge=Ge*ue+rt*Fe+Ue,rt=Math.min(N,Kn),ri=Math.min(At,Ge),qn=Math.max(N+qn,Kn)-rt,Rn=Math.max(At+Rn,Ge)-ri,N=rt,At=ri,Ge=0,rt=R.height+x,Kn=Ge*_+rt*V+be,Ge=Ge*ue+rt*Fe+Ue,rt=Math.min(N,Kn),ri=Math.min(At,Ge),qn=Math.max(N+qn,Kn)-rt,Rn=Math.max(At+Rn,Ge)-ri,N=rt,At=ri,x=t.viewportBounds,R=x.x,_=x.y,N=!(N>x.width+R||R>qn+N||At>x.height+_||_>Rn+At)}if(N){if(N=(this.l&256)!==0,e.clipInsteadOfFill&&(N=!1),this instanceof Mo&&(e.font=this.font),N){if(At=l.se()?l.naturalBounds:l.actualBounds,qn=Math.max(a.x,At.x),Rn=Math.max(a.y,At.y),x=Math.min(a.right,At.right)-qn,R=Math.min(a.bottom,At.bottom)-Rn,_=this.tb,_!==null&&(qn=_.x,Rn=_.y,x=_.width,R=_.height),qn>a.width+a.x||a.x>At.width+At.x){n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r);return}e.save(),e.beginPath(),e.rect(qn,Rn,x,R),e.clip()}if(p){if(!f.isVisible()){n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r);return}u&&(At=f.shadowOffset,e.Ev(At.x*t.scale*this.scale*t.Mb,At.y*t.scale*this.scale*t.Mb,f.shadowBlur),Jc(e),e.shadowColor=f.shadowColor)}u&&this.shadowVisible===!0?Jc(e):u&&this.shadowVisible===!1&&Bc(e),f=this.naturalBounds,this.areaBackground!==null&&(e.yc(),yu(this,e,f,a)),e.transform(o.m11,o.m12,o.m21,o.m22,o.dx,o.dy),u&&bs(this,l)&&this.shadowVisible===null&&Bc(e),this.Ma!==null&&(e.yc(),Kl(this,e,f,a)),u&&(this.Ma!==null||this.areaBackground!==null||bs(this,l))?(nc(this,!0),this.shadowVisible===null&&Bc(e)):nc(this,!1),this.hh(e,t),u&&this.l&512&&Jc(e),p&&u&&Bc(e),N&&(e.restore(),e.Vc(this instanceof kn)),o.ws()||(t=1/(o.m11*o.m22-o.m12*o.m21),e.transform(o.m22*t,-o.m12*t,-o.m21*t,o.m11*t,t*(o.m21*o.dy-o.m22*o.dx),t*(o.m12*o.dx-o.m11*o.dy)))}}n!==1&&(e.globalAlpha=i),this.filter!==""&&(e.filter=r)}}};function bs(e,t){return t===null?!1:(yh(t)&&(t=t.panel),(t.l&512)!==0||(t.type===kn.Auto||t.type===kn.Spot)&&t.Pb()!==e)}U.Dv=function(){};function yu(e,t,n,i){Aa(e,t,e.areaBackground,!0,!0,n,i),e.areaBackground instanceof ao&&e.areaBackground.type===Ru?(t.beginPath(),t.rect(i.x,i.y,i.width,i.height),t.ng(e.areaBackground)):t.fillRect(i.x,i.y,i.width,i.height)}function Kl(e,t,n,i){var r=e.kq(),o=n.x,a=n.y,l=n.width+r,u=n.height+r;Aa(e,t,e.Ma,!0,!1,n,i),e.Ma instanceof ao&&e.Ma.type===Ru?(t.beginPath(),t.rect(o-r/2,a-r/2,l,u),t.ng(e.Ma)):t.fillRect(o-r/2,a-r/2,l,u)}function qs(e,t,n){for(var i=t.O.s,r=i.length,o=-1,a=0;ar)&&Ve("Must specify non-negative integer row for RowColumnDefinition "+t+", not: "+r),e.isRow=!0,e.index=r):t.column!==void 0&&(r=t.column,(r==null||r===1/0||isNaN(r)||0>r)&&Ve("Must specify non-negative integer column for RowColumnDefinition "+t+", not: "+r),e.isRow=!1,e.index=r),r=new oe;for(n in t)n!=="row"&&n!=="column"&&(r[n]=t[n]);Xs(e,r)}else Xs(e,t);else Ve('Unknown initializer "'+t+'" for object being constructed by GraphObject.make: '+e)}function gh(e,t){gf.add(e,t)}function x0(e,t,n){n===void 0&&(n=null);var i=e[1];if(typeof n=="function"?n(i):typeof i=="string")return e.splice(1,1),i;if(t===void 0)throw Error("no "+(typeof n=="function"?"satisfactory":"string")+" argument for GraphObject builder "+e[0]);return t}ht.Object.defineProperties(at.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(e){this.bindingId!==e&&(this.A===null&&(this.A=new Ud),this.A.zp=e)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(e){this.localBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.te=e)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(e){this.srcBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.wm=e)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(e){var t=this.shadowVisible;t!==e&&(yr(this),this.A.Ci=e,this.Uc=!0,this.N(),this.g("shadowVisible",t,e))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(e){var t=this.enabledChanged;t!==e&&(yr(this),this.A.Hb=e,this.g("enabledChanged",t,e))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Nl},set:function(e){var t=this.segmentOrientation;t!==e&&(this.Ua===null&&(this.Ua=new $h),this.Ua.rr=e,this.v(),this.g("segmentOrientation",t,e),e===Nl&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(e){e=Math.round(e);var t=this.segmentIndex;t!==e&&(this.Ua===null&&(this.Ua=new $h),this.Ua.u=e,this.v(),this.g("segmentIndex",t,e))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(e){isNaN(e)||0>e?e=0:1e||1=e&&Ve("GraphObject.scale for "+this+" must be greater than zero, not: "+e),this.Ca=e,this.v(),this.g("scale",t,e))}},angle:{get:function(){return this.Kb},set:function(e){var t=this.Kb;t!==e&&(e%=360,0>e&&(e+=360),t!==e&&(this.Kb=e,ry(this),this.v(),this.g("angle",t,e)))}},desiredSize:{get:function(){return this.jd},set:function(e){var t=e.width,n=e.height,i=this.jd,r=i.width,o=i.height;(r===t||isNaN(r)&&isNaN(t))&&(o===n||isNaN(o)&&isNaN(n))||(this.jd=e=e.J(),this.v(),this instanceof lr&&this.qc(),this.g("desiredSize",i,e),Bs(this)&&(e=this.part,e!==null&&(zo(this,e,"width"),zo(this,e,"height"))))}},width:{get:function(){return this.jd.width},set:function(e){var t=this.jd.width;t===e||isNaN(t)&&isNaN(e)||(t=this.jd,this.jd=e=new pi(e,this.jd.height).freeze(),this.v(),this instanceof lr&&this.qc(),this.g("desiredSize",t,e),Bs(this)&&(e=this.part,e!==null&&zo(this,e,"width")))}},height:{get:function(){return this.jd.height},set:function(e){var t=this.jd.height;t===e||isNaN(t)&&isNaN(e)||(t=this.jd,this.jd=e=new pi(this.jd.width,e).freeze(),this.v(),this instanceof lr&&this.qc(),this.g("desiredSize",t,e),Bs(this)&&(e=this.part,e!==null&&zo(this,e,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:pa},set:function(e){var t=this.minSize;t.D(e)||(e=e.copy(),isNaN(e.width)&&(e.width=0),isNaN(e.height)&&(e.height=0),e.freeze(),yr(this),this.A.u=e,this.v(),this.g("minSize",t,e))}},maxSize:{get:function(){return this.A!==null?this.A.o:is},set:function(e){var t=this.maxSize;t.D(e)||(e=e.copy(),isNaN(e.width)&&(e.width=1/0),isNaN(e.height)&&(e.height=1/0),e.freeze(),yr(this),this.A.o=e,this.v(),this.g("maxSize",t,e))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.Kg;t.D(e)||(this.Kg=e=e.J(),this.v(),this.g("margin",t,e))}},transform:{get:function(){return this.l&2048&&As(this),this.Ab}},oe:{get:function(){return this.l&4096&&As(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(e){this.animationTriggers!==e&&(yr(this),this.A.hb=e)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:En},set:function(e){this.reshapingBehavior!==e&&(yr(this),this.A.Pf=e)}},alignment:{get:function(){return this.Jb},set:function(e){var t=this.Jb;t.D(e)||(e.Mc()&&!e.Xb()&&Ve("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+e),this.Jb=e=e.J(),El(this),this.g("alignment",t,e))}},column:{get:function(){return this.Ag},set:function(e){e=Math.round(e);var t=this.Ag;t!==e&&(0>e&&Lt(e,">= 0",at,"column"),this.Ag=e,this.v(),this.g("column",t,e),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(e){e=Math.round(e);var t=this.columnSpan;t!==e&&(1>e&&Lt(e,">= 1",at,"columnSpan"),yr(this),this.A.ob=e,this.v(),this.g("columnSpan",t,e))}},row:{get:function(){return this.io},set:function(e){e=Math.round(e);var t=this.io;t!==e&&(0>e&&Lt(e,">= 0",at,"row"),this.io=e,this.v(),this.g("row",t,e),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(e){e=Math.round(e);var t=this.rowSpan;t!==e&&(1>e&&Lt(e,">= 1",at,"rowSpan"),yr(this),this.A.Bi=e,this.v(),this.g("rowSpan",t,e))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(e){var t=this.spanAllocation;t!==e&&(yr(this),this.A.Di=e,this.v(),this.g("spanAllocation",t,e))}},alignmentFocus:{get:function(){return this.sk},set:function(e){var t=this.sk;t.D(e)||(this.sk=e=e.J(),this.v(),this.g("alignmentFocus",t,e))}},portId:{get:function(){return this.Yn},set:function(e){var t=this.Yn;if(t!==e){var n=this.part;n===null||n instanceof Xn||Ve("Cannot set portID on a Link: "+e),t!==null&&n!==null&&Qg(n,this),this.Yn=e,e!==null&&n!==null&&(n.Te=!0,i1(n,this)),this.g("portId",t,e)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Ui},set:function(e){var t=this.toSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.yj=e,this.g("toSpot",t,e),gd(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(e){var t=this.toEndSegmentLength;t!==e&&(0>e&&Lt(e,">= 0",at,"toEndSegmentLength"),this.Xc(),this.ba.wj=e,this.g("toEndSegmentLength",t,e),gd(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(e){var t=this.toShortLength;t!==e&&(this.Xc(),this.ba.xj=e,this.g("toShortLength",t,e),gd(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(e){var t=this.toLinkable;t!==e&&(this.Xc(),this.ba.Tr=e,this.g("toLinkable",t,e))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(e){var t=this.toMaxLinks;t!==e&&(0>e&&Lt(e,">= 0",at,"toMaxLinks"),this.Xc(),this.ba.Ur=e,this.g("toMaxLinks",t,e))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:Ui},set:function(e){var t=this.fromSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.Xi=e,this.g("fromSpot",t,e),gd(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(e){var t=this.fromEndSegmentLength;t!==e&&(0>e&&Lt(e,">= 0",at,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=e,this.g("fromEndSegmentLength",t,e),gd(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(e){var t=this.fromShortLength;t!==e&&(this.Xc(),this.ba.Wi=e,this.g("fromShortLength",t,e),gd(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(e){var t=this.fromLinkable;t!==e&&(this.Xc(),this.ba.hq=e,this.g("fromLinkable",t,e))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(e){var t=this.fromMaxLinks;t!==e&&(0>e&&Lt(e,">= 0",at,"fromMaxLinks"),this.Xc(),this.ba.iq=e,this.g("fromMaxLinks",t,e))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(e){var t=this.cursor;t!==e&&(yr(this),this.A.j=e,this.g("cursor",t,e))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(e){var t=this.click;t!==e&&(yr(this),this.A.zh=e,this.g("click",t,e))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(e){var t=this.doubleClick;t!==e&&(yr(this),this.A.Fh=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(e){var t=this.contextClick;t!==e&&(yr(this),this.A.Bh=e,this.g("contextClick",t,e))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(e){var t=this.mouseEnter;t!==e&&(yr(this),this.A.Mh=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(e){var t=this.mouseLeave;t!==e&&(yr(this),this.A.Ph=e,this.g("mouseLeave",t,e))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(e){var t=this.mouseOver;t!==e&&(yr(this),this.A.Qh=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(e){var t=this.mouseHover;t!==e&&(yr(this),this.A.Oh=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(e){var t=this.mouseHold;t!==e&&(yr(this),this.A.Nh=e,this.g("mouseHold",t,e))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(e){var t=this.mouseDragEnter;t!==e&&(yr(this),this.A.Of=e,this.g("mouseDragEnter",t,e))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(e){var t=this.mouseDragLeave;t!==e&&(yr(this),this.A.Xd=e,this.g("mouseDragLeave",t,e))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(e){var t=this.mouseDrop;t!==e&&(yr(this),this.A.Lh=e,this.g("mouseDrop",t,e))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(e){var t=this.actionDown;t!==e&&(yr(this),this.A.V=e,this.g("actionDown",t,e))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(e){var t=this.actionMove;t!==e&&(yr(this),this.A.ia=e,this.g("actionMove",t,e))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(e){var t=this.actionUp;t!==e&&(yr(this),this.A.Ha=e,this.g("actionUp",t,e))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(e){var t=this.actionCancel;t!==e&&(yr(this),this.A.F=e,this.g("actionCancel",t,e))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(e){var t=this.toolTip;t!==e&&(yr(this),this.A.$h=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(e){var t=this.contextMenu;t!==e&&(yr(this),this.A.Ch=e,this.g("contextMenu",t,e))}}}),at.prototype.trigger=at.prototype.Jv,at.prototype.findBindingPanel=at.prototype.ih,at.prototype.findTemplateBinder=at.prototype.pz,at.prototype.setProperties=at.prototype.nm,at.prototype.apply=at.prototype.apply,at.prototype.attach=at.prototype.Du,at.prototype.set=at.prototype.set,at.prototype.isEnabledObject=at.prototype.If,at.prototype.isVisibleObject=at.prototype.Ed,at.prototype.isContainedBy=at.prototype.rg,at.prototype.getNearestIntersectionPoint=at.prototype.rs,at.prototype.getLocalPoint=at.prototype.qs,at.prototype.getDocumentScale=at.prototype.Df,at.prototype.getDocumentAngle=at.prototype.li,at.prototype.getDocumentBounds=at.prototype.mi,at.prototype.getDocumentPoint=at.prototype.ga,at.prototype.intersectsRect=at.prototype.Yc,at.prototype.containedInRect=at.prototype.fh,at.prototype.containsRect=at.prototype.Re,at.prototype.containsPoint=at.prototype.ca,at.prototype.raiseChanged=at.prototype.g,at.prototype.raiseChangedEvent=at.prototype.cb,at.prototype.addCopyProperty=at.prototype.Vw;var gf=null;at.className="GraphObject",gf=new Zn,gh("Button",function(){function e(n,i){return n.diagram.ic(n.documentPoint,function(r){for(;r.panel!==null&&!r.isActionable;)r=r.panel;return r},function(r){return r===i})!==null}var t=Lu(kn,kn.Auto,{isActionable:!0,enabledChanged:function(n,i){if(n instanceof kn){var r=n.fb("ButtonBorder");r!==null&&(r.fill=i?n._buttonFillNormal:n._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},Lu(lr,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new ai(0,0,2.76142374915397,2.761423749153969),spot2:new ai(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return t.mouseEnter=function(n,i){if(i.If()&&i instanceof kn&&(n=i.fb("ButtonBorder"),n instanceof lr)){var r=i._buttonFillOver;i._buttonFillNormal=n.fill,n.fill=r,r=i._buttonStrokeOver,i._buttonStrokeNormal=n.stroke,n.stroke=r}},t.mouseLeave=function(n,i){i.If()&&i instanceof kn&&(n=i.fb("ButtonBorder"),n instanceof lr&&(n.fill=i._buttonFillNormal,n.stroke=i._buttonStrokeNormal))},t.actionDown=function(n,i){if(i.If()&&i instanceof kn&&i._buttonFillPressed!==null&&n.button===0){var r=i.fb("ButtonBorder");if(r instanceof lr){n=n.diagram;var o=n.skipsUndoManager;n.skipsUndoManager=!0;var a=i._buttonFillPressed;i._buttonFillOver=r.fill,r.fill=a,a=i._buttonStrokePressed,i._buttonStrokeOver=r.stroke,r.stroke=a,n.skipsUndoManager=o}}},t.actionUp=function(n,i){if(i.If()&&i instanceof kn&&i._buttonFillPressed!==null&&n.button===0){var r=i.fb("ButtonBorder");if(r instanceof lr){var o=n.diagram,a=o.skipsUndoManager;o.skipsUndoManager=!0,e(n,i)?(r.fill=i._buttonFillOver,r.stroke=i._buttonStrokeOver):(r.fill=i._buttonFillNormal,r.stroke=i._buttonStrokeNormal),o.skipsUndoManager=a}}},t.actionCancel=function(n,i){if(i.If()&&i instanceof kn&&i._buttonFillPressed!==null){var r=i.fb("ButtonBorder");if(r instanceof lr){var o=n.diagram,a=o.skipsUndoManager;o.skipsUndoManager=!0,e(n,i)?(r.fill=i._buttonFillOver,r.stroke=i._buttonStrokeOver):(r.fill=i._buttonFillNormal,r.stroke=i._buttonStrokeNormal),o.skipsUndoManager=a}}},t.actionMove=function(n,i){if(i.If()&&i instanceof kn&&i._buttonFillPressed!==null){var r=n.diagram;if(r.firstInput.button===0&&(r.currentTool.standardMouseOver(),e(n,i)&&(n=i.fb("ButtonBorder"),n instanceof lr))){var o=r.skipsUndoManager;r.skipsUndoManager=!0;var a=i._buttonFillPressed;n.fill!==a&&(n.fill=a),a=i._buttonStrokePressed,n.stroke!==a&&(n.stroke=a),r.skipsUndoManager=o}}},t}),gh("TreeExpanderButton",function(){var e=Lu("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},Lu(lr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:ma},new Ba("figure","isTreeExpanded",function(t,n){return n=n.panel,t?n._treeExpandedFigure:n._treeCollapsedFigure}).cp()),{visible:!1},new Ba("visible","isTreeLeaf",function(t){return!t}).cp());return e.click=function(t,n){if(n=n.part,n instanceof Zr&&(n=n.adornedPart),n instanceof Xn){var i=n.diagram;if(i!==null){if(i=i.commandHandler,n.isTreeExpanded){if(!i.canCollapseTree(n))return}else if(!i.canExpandTree(n))return;t.handled=!0,n.isTreeExpanded?i.collapseTree(n):i.expandTree(n)}}},e}),gh("SubGraphExpanderButton",function(){var e=Lu("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},Lu(lr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:ma},new Ba("figure","isSubGraphExpanded",function(t,n){return n=n.panel,t?n._subGraphExpandedFigure:n._subGraphCollapsedFigure}).cp()));return e.click=function(t,n){if(n=n.part,n instanceof Zr&&(n=n.adornedPart),n instanceof qi){var i=n.diagram;if(i!==null){if(i=i.commandHandler,n.isSubGraphExpanded){if(!i.canCollapseSubGraph(n))return}else if(!i.canExpandSubGraph(n))return;t.handled=!0,n.isSubGraphExpanded?i.collapseSubGraph(n):i.expandSubGraph(n)}}},e}),gh("ToolTip",function(){return Lu(Zr,kn.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new he(0,3),shadowBlur:5},Lu(lr,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new ai(0,0,4,6),spot2:new ai(1,1,-4,-4)}))}),gh("ContextMenu",function(){return Lu(Zr,kn.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new he(0,3),shadowBlur:5},new Ba("background","",function(e){return e.adornedPart!==null&&e.placeholder!==null?null:"#F5F5F5"}))}),gh("ContextMenuButton",function(){var e=Lu("Button");e.stretch=bi;var t=e.fb("ButtonBorder");return t instanceof lr&&(t.figure="Rectangle",t.strokeWidth=0,t.spot1=new ai(0,0,2,3),t.spot2=new ai(1,1,-2,-2)),e}),gh("PanelExpanderButton",function(e){var t=x0(e,"COLLAPSIBLE"),n=Lu("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},Lu(lr,{name:"ButtonIcon",strokeWidth:2},new Ba("geometryString","visible",function(i){return i?n._buttonExpandedFigure:n._buttonCollapsedFigure}).cp(t)));return e=n.fb("ButtonBorder"),e instanceof lr&&(e.stroke=null,e.fill="rgba(0, 0, 0, 0)"),n.click=function(i,r){var o=r.diagram;if(o!==null&&!o.isReadOnly){var a=r.ih();a===null&&(a=r.part),a!==null&&(r=a.fb(t),r!==null&&(i.handled=!0,o.Ea("Collapse/Expand Panel"),r.visible=!r.visible,o.eb("Collapse/Expand Panel")))}},n}),gh("CheckBoxButton",function(e){var t=x0(e);return e=Lu("Button",{desiredSize:new pi(14,14)},Lu(lr,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Tn,geometryStretch:ci,visible:!1},t!==""?new Ba("visible",t).Kx():[])),e.click=function(n,i){if(i instanceof kn){var r=n.diagram;if(!(r===null||r.isReadOnly||t!==""&&r.model.isReadOnly)){n.handled=!0;var o=i.fb("ButtonIcon");r.Ea("checkbox"),o.visible=!o.visible,typeof i._doClick=="function"&&i._doClick(n,i),r.eb("checkbox")}}},e}),gh("CheckBox",function(e){e=x0(e),e=Lu("CheckBoxButton",e,{name:"Button",isActionable:!1,margin:new mi(0,1,0,0)});var t=Lu(kn,"Horizontal",e,{isActionable:!0,cursor:e.cursor,margin:new mi(1),_buttonFillNormal:e._buttonFillNormal,_buttonStrokeNormal:e._buttonStrokeNormal,_buttonFillOver:e._buttonFillOver,_buttonStrokeOver:e._buttonStrokeOver,_buttonFillPressed:e._buttonFillPressed,_buttonStrokePressed:e._buttonStrokePressed,_buttonFillDisabled:e._buttonFillDisabled,mouseEnter:e.mouseEnter,mouseLeave:e.mouseLeave,actionDown:e.actionDown,actionUp:e.actionUp,actionCancel:e.actionCancel,actionMove:e.actionMove,click:e.click,_buttonClick:e.click});return e.mouseEnter=null,e.mouseLeave=null,e.actionDown=null,e.actionUp=null,e.actionCancel=null,e.actionMove=null,e.click=null,t}),at.None=En=new Yt(at,"None",0),at.Default=er=new Yt(at,"Default",0),at.Vertical=Di=new Yt(at,"Vertical",4),at.Horizontal=bi=new Yt(at,"Horizontal",5),at.Fill=Tn=new Yt(at,"Fill",3),at.Uniform=ci=new Yt(at,"Uniform",1),at.UniformToFill=Fr=new Yt(at,"UniformToFill",2),at.FlipVertical=Sr=new Yt(at,"FlipVertical",1),at.FlipHorizontal=Gr=new Yt(at,"FlipHorizontal",2),at.FlipBoth=mo=new Yt(at,"FlipBoth",3),at.make=Lu,at.getBuilders=function(){var e=new Zn,t;for(t in gf)if(t!==t.toLowerCase()){var n=gf.I(t);typeof n=="function"&&e.add(t,n)}return e.freeze(),e},at.defineBuilder=gh,at.build=function(e,t,n){for(var i=[],r=2;re&&(e+=360),e!==0){if(this.translate(t,n),e===90){e=0;var i=1}else e===180?(e=-1,i=0):e===270?(e=0,i=-1):(i=e*Math.PI/180,e=Math.cos(i),i=Math.sin(i));var r=this.ha[1]*e+this.ha[3]*i,o=this.ha[0]*-i+this.ha[2]*e,a=this.ha[1]*-i+this.ha[3]*e;this.ha[0]=this.ha[0]*e+this.ha[2]*i,this.ha[1]=r,this.ha[2]=o,this.ha[3]=a,this.translate(-t,-n)}},vd.className="STransform";function Hd(e){this.type=e,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Hd.prototype.addColorStop=function(e,t){this.gx.push({offset:e,color:t})},Hd.className="SGradient";function kc(e,t,n){this.ownerDocument=e=t===void 0?Ke.document:t,this.cA="http://www.w3.org/2000/svg",e!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new ru(this,n)}kc.prototype.resize=function(e,t,n,i){return this.width!==e||this.height!==t?(this.width=e,this.height=t,this.style.width=n+"px",this.style.height=i+"px",this.Oa.setAttributeNS(null,"width",n+"px"),this.Oa.setAttributeNS(null,"height",i+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+n+" "+i),this.context.ww.firstElementChild.setAttributeNS(null,"width",n+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",i+"px"),!0):!1},kc.prototype.Ud=function(e,t,n){if(e=this.ownerDocument.createElementNS(this.cA,e),ot(t))for(var i in t)e.setAttributeNS(i==="href"?"http://www.w3.org/1999/xlink":"",i,t[i]);return n!==void 0&&(e.textContent=n),e},kc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},kc.prototype.focus=function(){this.Oa.focus()},kc.prototype.mx=function(){this.ownerDocument=null},ht.Object.defineProperties(kc.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(e){this.Oa.setAttribute("width",e+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(e){this.Oa.setAttribute("height",e+"px")}},style:{get:function(){return this.Oa.style}}}),kc.className="SVGSurface";function ru(e,t){this.Gv=e,this.svg=e.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new vd,this.j=S0(this),this.Nj=S0(this,"gojs-diagram"),this.Hl=this.ti=null;var n=Qr++,i=this.Ud("clipPath",{id:"mainClip"+n});i.appendChild(this.Ud("rect",{x:0,y:0,width:e.width,height:e.height})),this.ww=i,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(i),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+n+")"),this.eA={},this.isTemporary=!!t,this.filter="",this.bk=null}function oy(e,t,n,i,r,o,a){e.Nj===void 0?gp(e,t,n,i,r,o,a):e.Nj.setAttribute("transform","matrix("+t+", "+n+", "+i+", "+r+", "+o+", "+a+")")}U=ru.prototype,U.arc=function(e,t,n,i,r,o,a,l){var u=2*Math.PI,f=u-1e-6,p=n*Math.cos(i),x=n*Math.sin(i),N=e+p,R=t+x,_=o?0:1;i=o?i-r:r-i,(1e-6i&&(i=i%u+u),i>f?(this.path.push(["A",n,n,0,1,_,e-p,t-x]),this.path.push(["A",n,n,0,1,_,N,R])):1e-6=Math.PI),_,e+n*Math.cos(r),t+n*Math.sin(r)])},U.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},U.Se=function(e){this.addPath(this.path,this.rb,e||0)},U.bezierCurveTo=function(e,t,n,i,r,o){this.path.push(["C",e,t,n,i,r,o])},U.clearRect=function(){},U.clip=function(){this.Yl.clipPath=!0},U.closePath=function(){this.path.push(["z"])},U.createLinearGradient=function(e,t,n,i){var r=new Hd("linear");return r.x1=e,r.y1=t,r.x2=n,r.y2=i,r},U.createPattern=function(e){var t="";e instanceof HTMLCanvasElement&&(t=e.toDataURL()),e instanceof HTMLImageElement&&(t=e.getAttribute("src"));var n=this.eA;if(n[t])return"url(#"+n[t]+")";var i="PATTERN"+Qr++,r={x:0,y:0,width:e.width,height:e.height,href:t};return e=this.Ud("pattern",{width:e.width,height:e.height,id:i,patternUnits:"userSpaceOnUse"}),e.appendChild(this.Ud(pd,r)),this.svg.appendChild(e),n[t]=i,"url(#"+i+")"},U.createRadialGradient=function(e,t,n,i,r,o){var a=new Hd("radial");return a.x1=e,a.y1=t,a.r1=n,a.x2=i,a.y2=r,a.r2=o,a};function ay(e,t,n,i,r,o,a,l,u){i=l/i,r=u/r,o===0&&a===0||e.rb.translate(o,a),i===1&&r===1||e.rb.scale(i,r),t===0&&n===0||e.rb.translate(-t,-n)}U.drawImage=function(e,t,n,i,r,o,a,l,u){var f="";e instanceof HTMLCanvasElement&&(f=e.toDataURL()),e instanceof HTMLImageElement&&(f=e.getAttribute("src"));var p=e instanceof HTMLImageElement?e.naturalWidth:e.width;e=e instanceof HTMLImageElement?e.naturalHeight:e.height,i===void 0&&(o=t,a=n,l=i=p,u=r=e),i=i||0,r=r||0,l=l||0,u=u||0,ay(this,t,n,i,r,o||0,a||0,l,u),o={x:0,y:0,width:p||i,height:e||r,href:f},qe.$(i,l)&&qe.$(r,u)?f.toLowerCase().indexOf(".svg")===-1&&f.toLowerCase().indexOf("data:image/svg")===-1&&(o.preserveAspectRatio="xMidYMid slice"):o.preserveAspectRatio="none",(t!==0||n!==0||i!==p||r!==e)&&(i+=t,r+=n,o["clip-path"]="path('M "+t+","+n+" L "+i+" "+n+" L "+i+" "+r+" L "+t+" "+r+" z')"),vf(this,pd,o,this.rb),this.addElement(pd,o)},U.fill=function(e){e&&(this.Yl["fill-rule"]="evenodd"),dg(this,this.Yl)},U.ng=function(e,t){this.clipInsteadOfFill?this.clip():this.fill(t)},U.fillRect=function(e,t,n,i){e=[e,t,n,i],e={x:e[0],y:e[1],width:e[2],height:e[3]},vf(this,"fill",e,this.rb),this.addElement("rect",e)},U.ox=function(e,t,n,i){e={x:e,y:t,width:n,height:i},vf(this,"fill",e,this.rb),dg(this,e),this.svg.prepend(this.Ud("rect",e))},U.fillText=function(e,t,n){e=[e,t,n],t=this.textAlign,t==="left"?t="start":t==="right"?t="end":t==="center"&&(t="middle"),t={x:e[1],y:e[2],style:"font: "+this.font,"text-anchor":t},vf(this,"fill",t,this.rb),this.addElement("text",t,e[0])},U.lineTo=function(e,t){this.path.push(["L",e,t])},U.moveTo=function(e,t){this.path.push(["M",e,t])},U.quadraticCurveTo=function(e,t,n,i){this.path.push(["Q",e,t,n,i])},U.rect=function(e,t,n,i){this.path.push(["M",e,t],["L",e+n,t],["L",e+n,t+i],["L",e,t+i],["z"])},U.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var e=this.stack.pop();this.fillStyle=e.fillStyle,this.font=e.font,this.globalAlpha=e.globalAlpha,this.lineCap=e.lineCap,this.lineDashOffset=e.lineDashOffset,this.lineJoin=e.lineJoin,this.lineWidth=e.lineWidth,this.miterLimit=e.miterLimit,this.shadowBlur=e.shadowBlur,this.shadowColor=e.shadowColor,this.shadowOffsetX=e.shadowOffsetX,this.shadowOffsetY=e.shadowOffsetY,this.strokeStyle=e.strokeStyle,this.textAlign=e.textAlign,this.bk=e.bk},U.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var e=[],t=0;tp.offset?1:-1}),r=0;rn?(this.scale(n/e,1),this.translate((e-n)/2,0)):n>e&&(this.scale(1,e/n),this.translate(0,(n-e)/2)),this.Hm?this.clip():this.fill(t),e>n?(this.translate(-(e-n)/2,0),this.scale(1/(n/e),1)):n>e&&(this.translate(0,-(n-e)/2),this.scale(1,1/(e/n)))}else this.Hm?this.clip():this.fill(t)},U.jk=function(){this.Hm||this.stroke()},U.Ev=function(e,t,n){this.Ar=e,this.Br=t,this.Vg=n},U.js=function(e,t){var n=this.Z;n.setLineDash!==void 0&&(n.setLineDash(e),n.lineDashOffset=t)},U.fs=function(){var e=this.Z;e.setLineDash!==void 0&&(e.setLineDash(Mb),e.lineDashOffset=0)},U.Vc=function(e){e&&(this.dt=""),this.ct=this.et=""},U.Hs=function(){},ht.Object.defineProperties(yd.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(e){this.ct!==e&&(this.ct=this.Z.fillStyle=e)}},font:{get:function(){return this.Z.font},set:function(e){this.dt!==e&&(this.dt=this.Z.font=e)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(e){this.Z.globalAlpha=e}},lineCap:{get:function(){return this.Z.lineCap},set:function(e){this.Z.lineCap=e}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(e){this.Z.lineDashOffset=e}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(e){this.Z.lineJoin=e}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(e){this.Z.lineWidth=e}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(e){this.Z.miterLimit=e}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(e){this.Z.shadowBlur=e}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(e){this.Z.shadowColor=e}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(e){this.Z.shadowOffsetX=e}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(e){this.Z.shadowOffsetY=e}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(e){this.et!==e&&(this.et=this.Z.strokeStyle=e)}},textAlign:{get:function(){return this.Z.textAlign},set:function(e){this.Z.textAlign=e}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(e){this.Z.imageSmoothingEnabled=e}},filter:{get:function(){return this.Z.filter},set:function(e){this.Z.filter=e===""?"none":e}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(e){this.Hm=e}}});var Mb=Object.freeze([]);yd.className="CanvasSurfaceContext";function vp(){this.F=this.o=this.u=this.j=0}vp.className="ColorNumbers";function ao(e,t){Sf||(bg(),Sf=!0),Li(this),this._isFrozen=!1,e===void 0?(this.na=vh,this.xk="black"):typeof e=="string"?(this.na=vh,this.xk=e):(this.na=e,this.xk="black"),e=this.na,e===eh?(this.Qd=Es,this.Lk=Os):this.Lk=e===Ru?this.Qd=Rr:this.Qd=Ui,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,t&&Object.assign(this,t)}ao.prototype.copy=function(){var e=new ao;return e.na=this.na,e.xk=this.xk,e.Qd=this.Qd.J(),e.Lk=this.Lk.J(),e.Gr=this.Gr,e.Xp=this.Xp,this.we!==null&&(e.we=this.we.copy()),e.cr=this.cr,e},U=ao.prototype,U.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},U.ka=function(){return Object.isFrozen(this)&&Ve("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},U.qb=function(e){e.classType===ao&&(this.type=e)},U.toString=function(){var e="Brush(";if(this.type===vh)e+=this.color;else if(e=this.type===eh?e+"Linear ":this.type===Ru?e+"Radial ":this.type===Ef?e+"Pattern ":e+"(unknown) ",e+=this.start+" "+this.end,this.colorStops!==null)for(var t=this.colorStops.iterator;t.next();)e+=" "+t.key+":"+t.value;return e+")"},U.addColorStop=function(e,t){return this._isFrozen&&Ut(this),(typeof e!="number"||!isFinite(e)||1e)&&Lt(e,"0 <= loc <= 1",ao,"addColorStop:loc"),this.we===null&&(this.we=new Zn),this.we.add(e,t),this.na===vh&&(this.type=eh),this.xe=null,this},U.Vz=function(e,t){if(this._isFrozen&&Ut(this),e=e===void 0||typeof e!="number"?.2:e,t=t===void 0?wf:t,this.type===vh)qc(this.color),this.color=bf(e,t);else if((this.type===eh||this.type===Ru)&&this.colorStops!==null)for(var n=this.colorStops.iterator;n.next();)qc(n.value),this.addColorStop(n.key,bf(e,t));return this};function cy(e,t,n){return t=t===void 0||typeof t!="number"?.2:t,n=n===void 0?wf:n,qc(e),bf(t,n)}U.Wy=function(e,t){if(this._isFrozen&&Ut(this),e=e===void 0||typeof e!="number"?.2:e,t=t===void 0?wf:t,this.type===vh)qc(this.color),this.color=bf(-e,t);else if((this.type===eh||this.type===Ru)&&this.colorStops!==null)for(var n=this.colorStops.iterator;n.next();)qc(n.value),this.addColorStop(n.key,bf(-e,t));return this};function hy(e,t,n){return t=t===void 0||typeof t!="number"?.2:t,n=n===void 0?wf:n,qc(e),bf(-t,n)}function pg(e,t,n){qc(e),e=Do.j;var i=Do.u,r=Do.o,o=Do.F;return qc(t),n===void 0&&(n=.5),"rgba("+Math.round((Do.j-e)*n+e)+", "+Math.round((Do.u-i)*n+i)+", "+Math.round((Do.o-r)*n+r)+", "+Math.round((Do.F-o)*n+o)+")"}U.Gx=function(){if(this.type===vh)return yf(this.color);if((this.type===eh||this.type===Ru)&&this.colorStops!==null){var e=this.colorStops;if(this.type===Ru)return yf(e.first().value);if(e.get(.5)!==null)return yf(e.get(.5));if(e.count===2)return e=e.Fa(),yf(pg(e[0].value,e[1].value));for(var t=e.iterator,n=-1,i=-1,r=1,o=1;t.next();){var a=t.key,l=Math.abs(.5-t.key);r>o&&l=r&&li&&(o=n,n=i,i=o,o=r),r=i-n,yf(pg(e.get(n),e.get(i),1-o/r))}return!1};function yf(e){return e?e instanceof ao?e.Gx():(qc(e),128>(299*Do.j+587*Do.u+114*Do.o)/1e3):!1}function bf(e,t){switch(t){case wf:t=100*gg(Do.j);var n=100*gg(Do.u),i=100*gg(Do.o);return Cl.j=.4124564*t+.3575761*n+.1804375*i,Cl.u=.2126729*t+.7151522*n+.072175*i,Cl.o=.0193339*t+.119192*n+.9503041*i,Cl.F=Do.F,t=yg(Cl.j/xf[0]),n=yg(Cl.u/xf[1]),i=yg(Cl.o/xf[2]),_c.j=116*n-16,_c.u=500*(t-n),_c.o=200*(n-i),_c.F=Cl.F,_c.j=Math.min(100,Math.max(0,_c.j+100*e)),e=(_c.j+16)/116,t=e-_c.o/200,Cl.j=xf[0]*dy(_c.u/500+e),Cl.u=xf[1]*(_c.j>w0*xg?Math.pow(e,3):_c.j/w0),Cl.o=xf[2]*dy(t),Cl.F=_c.F,e=-.969266*Cl.j+1.8760108*Cl.u+.041556*Cl.o,t=.0556434*Cl.j+-.2040259*Cl.u+1.0572252*Cl.o,Do.j=255*vg((3.2404542*Cl.j+-1.5371385*Cl.u+-.4985314*Cl.o)/100),Do.u=255*vg(e/100),Do.o=255*vg(t/100),Do.F=Cl.F,Do.j=Math.round(Do.j),255Do.j&&(Do.j=0),Do.u=Math.round(Do.u),255Do.u&&(Do.u=0),Do.o=Math.round(Do.o),255Do.o&&(Do.o=0),"rgba("+Do.j+", "+Do.u+", "+Do.o+", "+Do.F+")";case fy:return mg(),xu.o=Math.min(100,Math.max(0,xu.o+100*e)),"hsla("+xu.j+", "+xu.u+"%, "+xu.o+"%, "+xu.F+")";default:Ve("Unknown color space: "+t)}}function qc(e){Sf||(bg(),Sf=!0);var t=Sg;if(t!==null){t.clearRect(0,0,1,1),t.fillStyle="#000000";var n=t.fillStyle;t.fillStyle=e,t.fillStyle!==n?(t.fillRect(0,0,1,1),e=t.getImageData(0,0,1,1).data,Do.j=e[0],Do.u=e[1],Do.o=e[2],Do.F=e[3]/255):(t.fillStyle="#FFFFFF",t.fillStyle=e,Do.j=0,Do.u=0,Do.o=0,Do.F=1)}}function mg(){var e=Do.j/255,t=Do.u/255,n=Do.o/255,i=Math.max(e,t,n),r=Math.min(e,t,n),o=i-r;if(r=(i+r)/2,o===0)var a=e=0;else{switch(i){case e:a=(t-n)/o%6;break;case t:a=(n-e)/o+2;break;case n:a=(e-t)/o+4}a*=60,0>a&&(a+=360),e=o/(1-Math.abs(2*r-1))}xu.j=Math.round(a),xu.u=Math.round(100*e),xu.o=Math.round(100*r),xu.F=Do.F}function gg(e){return e/=255,.04045>=e?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vg(e){return .0031308>=e?12.92*e:1.055*Math.pow(e,1/2.4)-.055}function yg(e){return e>xg?Math.pow(e,1/3):(w0*e+16)/116}function dy(e){var t=e*e*e;return t>xg?t:(116*e-16)/w0}function $d(e,t){typeof e!="string"&&(e instanceof ao||Ve("Value for "+t+" must be a color string or a Brush, not "+e))}function bg(){Sg=Ea?new $u(null,void 0,{willReadFrequently:!0}).context:null}ht.Object.defineProperties(ao.prototype,{type:{get:function(){return this.na},set:function(e){this._isFrozen&&Ut(this,e),this.na=e,this.start.Mc()&&(e===eh?this.start=Es:e===Ru&&(this.start=Rr)),this.end.Mc()&&(e===eh?this.end=Os:e===Ru&&(this.end=Rr)),this.xe=null}},color:{get:function(){return this.xk},set:function(e){this._isFrozen&&Ut(this,e),this.xk=e,this.xe=null}},start:{get:function(){return this.Qd},set:function(e){this._isFrozen&&Ut(this,e),this.Qd=e.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(e){this._isFrozen&&Ut(this,e),this.Lk=e.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(e){this._isFrozen&&Ut(this,e),0>e&&Lt(e,">= zero",ao,"startRadius"),this.Gr=e,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(e){this._isFrozen&&Ut(this,e),0>e&&Lt(e,">= zero",ao,"endRadius"),this.Xp=e,this.xe=null}},colorStops:{get:function(){return this.we},set:function(e){this._isFrozen&&Ut(this,e),this.we=e,this.xe=null}},pattern:{get:function(){return this.cr},set:function(e){this._isFrozen&&Ut(this,e),this.cr=e,this.xe=null}}}),ao.prototype.isDark=ao.prototype.Gx,ao.prototype.darkenBy=ao.prototype.Wy,ao.prototype.lightenBy=ao.prototype.Vz,ao.prototype.addColorStop=ao.prototype.addColorStop;var xg=216/24389,w0=24389/27,xf=[95.047,100,108.883],Sg=null,Do=new vp,xu=new vp,Cl=new vp,_c=new vp,Sf=!1;ao.className="Brush";var vh;ao.Solid=vh=new Yt(ao,"Solid",0);var eh;ao.Linear=eh=new Yt(ao,"Linear",1);var Ru;ao.Radial=Ru=new Yt(ao,"Radial",2);var Ef;ao.Pattern=Ef=new Yt(ao,"Pattern",4);var wf;ao.Lab=wf=new Yt(ao,"Lab",5);var fy;ao.HSL=fy=new Yt(ao,"HSL",6),ao.randomColor=function(e,t){e===void 0&&(e=128),t===void 0&&(t=Math.max(e,255));var n=Math.abs(t-e);t=Math.floor(e+Math.random()*n).toString(16);var i=Math.floor(e+Math.random()*n).toString(16);return e=Math.floor(e+Math.random()*n).toString(16),2>t.length&&(t="0"+t),2>i.length&&(i="0"+i),2>e.length&&(e="0"+e),"#"+t+i+e},ao.isValidColor=function(e){if(e==="black")return!0;if(e==="")return!1;Sf||(bg(),Sf=!0);var t=Sg;if(t===null)return!0;t.fillStyle="#000000";var n=t.fillStyle;return t.fillStyle=e,t.fillStyle!==n?!0:(t.fillStyle="#FFFFFF",n=t.fillStyle,t.fillStyle=e,t.fillStyle!==n)},ao.lighten=function(e){return cy(e)},ao.lightenBy=cy,ao.darken=function(e){return hy(e)},ao.darkenBy=hy,ao.mix=pg,ao.isDark=yf;function ts(){this.xa="Base"}ts.prototype.measure=function(){},ts.prototype.Yz=function(e,t,n,i,r){e.measure(t,n,i,r)},ts.prototype.arrange=function(){},ts.prototype.Ly=function(e,t,n,i,r,o){e.arrange(t,n,i,r,o)},ts.prototype.iA=function(e){e.Uj()},ts.prototype.gc=function(){},ht.Object.defineProperties(ts.prototype,{name:{get:function(){return this.xa},set:function(e){this.xa=e}},classType:{get:function(){return kn}}}),ts.prototype.remeasureObject=ts.prototype.iA,ts.prototype.arrangeElement=ts.prototype.Ly,ts.prototype.measureElement=ts.prototype.Yz,ts.className="PanelLayout";function C0(){this.xa="Base"}yi(C0,ts),C0.prototype.measure=function(e,t,n,i,r,o,a){var l=i.length;e=th(e);for(var u=0;uri&&(ds=Math.max(ri-id,0));var Jm=mn.oa===0;mn.oc=mn.oc+ds,mn.actual=mn.oa+ds,ri=Math.max(ri-(ds+(Jm?id:0)),0)}if(Yl.columnSpan===1&&(hl===En||hl===Di)){mn=e.Eb(cl);var o0=mn.Wc();ds=Math.max(Ad-mn.actual,0),ds+o0>Kn&&(ds=Math.max(Kn-o0,0));var Yv=mn.oa===0;mn.oc=mn.oc+ds,mn.actual=mn.oa+ds,Kn=Math.max(Kn-(ds+(Yv?o0:0)),0)}nd&&Yl.Uj()}}}}}Jt(Fe);var Kc=0,rh=0;o=e.columnCount;for(var tf=0;tf=e.rowCount);Lh++)mn=e.Fb(Da.row+Lh),ds=0,ds=hl===Tn||hl===Di?Math.max(mn.minimum,Sc[Da.row+Lh]===0?mn.maximum:Math.min(Sc[Da.row+Lh],mn.maximum)):Math.max(mn.minimum,isNaN(mn.Hc)?mn.maximum:Math.min(mn.Hc,mn.maximum)),sh.height+=ds,cu+=mn.minimum;for(var Zu=1;Zu=e.columnCount);Zu++)mn=e.Eb(Da.column+Zu),ds=0,ds=hl===Tn||hl===bi?Math.max(mn.minimum,_u[Da.column+Zu]===0?mn.maximum:Math.min(_u[Da.column+Zu],mn.maximum)):Math.max(mn.minimum,isNaN(mn.Hc)?mn.maximum:Math.min(mn.Hc,mn.maximum)),sh.width+=ds,ng+=mn.minimum;Is.width+=sh.width,Is.height+=sh.height;var qf=Da.margin,ld=qf.right+qf.left,s0=qf.top+qf.bottom;Da.measure(Is.width,Is.height,ng,cu);for(var ep=Da.measuredBounds,Dc=Math.max(ep.width+ld,0),Od=Math.max(ep.height+s0,0),ud=0,tp=0;tp=e.rowCount);tp++)mn=e.Fb(Da.row+tp),ud+=mn.total||0;if(ud=Rh)&&!(Da.row+lh>=e.rowCount);lh++){mn=e.Fb(Da.row+lh);var Ph=mn.oa||0,Ld=Dh(Da,mn,Yc);mn.actual=Math.min(mn.maximum,Ph+Ld),mn.oa!==Ph&&(Rh-=mn.oa-Ph)}for(;0Ec&&(mn.actual=Math.min(mn.maximum,Ec+Rh),mn.oa!==Ec&&(Rh-=mn.oa-Ec)),mn.index===0)break;mn=e.Fb(mn.index-1)}}for(var of=0,Fh=0;Fh=e.columnCount);Fh++)mn=e.Eb(Da.column+Fh),of+=mn.total||0;if(of=af)&&!(Da.column+Rd>=e.columnCount);Rd++){mn=e.Eb(Da.column+Rd);var l0=mn.oa||0,Jv=uh(Da,mn,Qv);mn.actual=Math.min(mn.maximum,l0+Jv),mn.oa!==l0&&(af-=mn.oa-l0)}for(;0ig&&(mn.actual=Math.min(mn.maximum,ig+af),mn.oa!==ig&&(af-=mn.oa-ig)),mn.index===0)break;mn=e.Eb(mn.index-1)}}}}Jt(Ue),pi.free(sh),pi.free(Is),Sc!==void 0&&Jt(Sc),_u!==void 0&&Jt(_u);var sf=0,lf=0,rg=e.desiredSize,Tb=e.maxSize;hl=_l(e,!0);var u0=rh=Kc=0,c0=0;o=e.columnCount;for(var og=0;og=e.rowCount);mn++){var Ji=e.Fb(Fe+mn);Ji.oa!==0&&(ue.height+=Ji.total)}for(mn=1;mn=e.columnCount);mn++)Ji=e.Eb(Ge+mn),Ji.oa!==0&&(ue.width+=Ji.total);var Wi=rt.oa+ue.width,Jr=Ue.oa+ue.height;mn=l,Ji=u;var Io=Wi,hs=Jr,gs=l,ul=u,ds=Wi,kh=Jr;l+Wi>n.width&&(ds=Math.max(n.width-l,0)),u+Jr>n.height&&(kh=Math.max(n.height-u,0));var _a=qn.alignment;if(_a.Xb()){_a=e.defaultAlignment,_a.sb()||(_a=Rr);var yc=_a.x,cl=_a.y,Ih=_a.offsetX;_a=_a.offsetY;var wu=rt.alignment,Vu=Ue.alignment;wu.sb()&&(yc=wu.x,Ih=wu.offsetX),Vu.sb()&&(cl=Vu.y,_a=Vu.offsetY)}else yc=_a.x,cl=_a.y,Ih=_a.offsetX,_a=_a.offsetY;(isNaN(yc)||isNaN(cl))&&(cl=yc=.5,_a=Ih=0),wu=Rn.width,Vu=Rn.height;var su=qn.margin,Yl=su.left+su.right,nd=su.top+su.bottom,bc=fc(qn,Ue,rt,!1);!isNaN(qn.desiredSize.width)||bc!==Tn&&bc!==bi||(wu=Math.max(Wi-Yl,0)),!isNaN(qn.desiredSize.height)||bc!==Tn&&bc!==Di||(Vu=Math.max(Jr-nd,0)),Wi=qn.maxSize,Jr=qn.minSize,wu=Math.min(Wi.width,wu),Vu=Math.min(Wi.height,Vu),wu=Math.max(Jr.width,wu),Vu=Math.max(Jr.height,Vu),Wi=Vu+nd,mn+=Io*yc-(wu+Yl)*yc+Ih+su.left,Ji+=hs*cl-Wi*cl+_a+su.top,qn.visible&&(co(gs,ul,ds,kh,mn,Ji,Rn.width,Rn.height)?qn.arrange(mn,Ji,wu,Vu):qn.arrange(mn,Ji,wu,Vu,new Zt(gs,ul,ds,kh)))}}}for(pi.free(ue),e=0;e=n&&(n=1);var i=e.gridCellSize,r=i.width;i=i.height;var o=e.naturalBounds,a=e.actualBounds,l=o.width,u=o.height,f=Math.ceil(l/r),p=Math.ceil(u/i),x=e.gridOrigin,N=x.x;x=x.y,t.save(),t.beginPath(),t.rect(0,0,l,u),t.clip(),t.Se();for(var R=[],_=e.O.s,V=_.length,be=0;beUe)){ue=Cg(ue.figure);for(var Ge=0;GeUe&&Fe.push(rt))}}}}for(_=e.O.s,V=_.length,be=0;ber*ue*n))){if(Ue=At.segmentIndex,(!isFinite(Ue)||isNaN(Ue))&&(Ue=0),0>Ue&&(Ue=ue-Math.min(-Ue,ue)),Ue=Math.round(Ue%ue),ue=At.opacity,Ge=1,ue!==1){if(ue===0)continue;Ge=t.globalAlpha,t.globalAlpha=Ge*ue}rt=R[be];var Kn=!1,ri=At.strokeDashArray;if(ri!==null&&(Kn=!0,t.js(ri,At.strokeDashOffset)),At.figure==="LineV"&&At.stroke!==null&&0t)return e%t===n;if(e%t!==n)return!1;t=i.length;for(var r=0;rx)Fe.measure(1/0,1/0,0,0),Ue=Fe.measuredBounds,n.ed(Ue),R.push(Ue);else{var Ge=Fe.segmentIndex,rt=Fe.segmentFraction,At=Fe.alignmentFocus;At.Mc()&&(At=Rr);var Kn=Fe.segmentOrientation,ri=Fe.segmentOffset;if(isNaN(Ge)){var qn=u.ua;Ue=Rt(),qn.Qu(rt,Ue);var Rn=he.allocAt(Ue[0],Ue[1]);if(Rn.add(u.i(0)),qn.type===Dn.j?Rn.offset(-qn.startX,-qn.startY):(qn=qn.figures.first(),qn!==null&&Rn.offset(-qn.startX,-qn.startY)),qn=Ue[2],Kn!==Nl){var mn=u.computeAngle(Fe,Kn,qn);Fe.Kb=mn}mn=Rn.x-t.x;var Ji=Rn.y-t.y;he.free(Rn),Jt(Ue)}else if(Ge<-x||Ge>=x)Ue=he.alloc(),u.vg(),u.computeMidPoint(Ue),qn=u.midAngle,Kn!==Nl&&(mn=u.computeAngle(Fe,Kn,qn),Fe.Kb=mn),mn=Ue.x-t.x,Ji=Ue.y-t.y,he.free(Ue);else{if(mn=0,0<=Ge?(Ji=p.M(Ge),Ue=GeWi+10?0<=Ge?qn.ab(Ji):Ji.ab(qn):Wi>Rn+10?0<=Ge?Ue.ab(mn):mn.ab(Ue):0<=Ge?qn.ab(mn):mn.ab(qn)}else qn=0<=Ge?Ji.ab(Ue):Ue.ab(Ji);Kn!==Nl&&(mn=u.computeAngle(Fe,Kn,qn),Fe.Kb=mn),mn=Ji.x+(Ue.x-Ji.x)*rt-t.x,Ji=Ji.y+(Ue.y-Ji.y)*rt-t.y}Fe.measure(1/0,1/0,0,0),Ue=Fe.measuredBounds,Rn=Fe.naturalBounds;var Jr=0;Fe instanceof lr&&(Jr=Fe.strokeWidth),Wi=Rn.width+Jr;var Io=Rn.height+Jr;_.reset(),_.translate(-Ue.x,-Ue.y),_.scale(Fe.scale,Fe.scale),_.rotate(Kn===Nl?Fe.angle:qn,Wi/2,Io/2),Kn!==Op&&Kn!==Rp||_.rotate(90,Wi/2,Io/2),Kn!==Lp&&Kn!==Dp||_.rotate(-90,Wi/2,Io/2),Kn===cm&&(45qn||225qn)&&_.rotate(-qn,Wi/2,Io/2),Rn=new Zt(0,0,Wi,Io),V.xi(Rn,At),_.Ga(V),At=-V.x+Jr/2*Fe.scale,Fe=-V.y+Jr/2*Fe.scale,be.assign(ri),Jr=isNaN(ri.x);var hs=isNaN(ri.y);if(Jr||hs){Wi=Wi/2+3,Io=Io/2+3;var gs=45<=qn&&135>=qn,ul=225<=qn&&315>=qn;Kn===Nl&&(gs||ul)?(be.x=hs?Wi:ri.y,be.y=Jr?Io:ri.x,gs?0<=Ge||isNaN(Ge)&&.5>rt||!Jr||(be.y=-Io):ul&&((0<=Ge||isNaN(Ge)&&.5>rt)&&Jr&&(be.y=-Io),hs&&(be.x=-Wi))):(Jr&&(be.x=0<=Ge||isNaN(Ge)&&.5>rt?Wi:-Wi),hs&&(be.y=-Io),be.rotate(qn))}else be.rotate(qn);mn+=be.x,Ji+=be.y,Rn.set(Ue),Rn.h(mn+At,Ji+Fe,Ue.width,Ue.height),R.push(Rn),n.ed(Rn)}}if(a!==null)for(i=a.labelNodes;i.next();)i.value.measure(1/0,1/0);e.jg=n,e.position.h(t.x+n.x,t.y+n.y),Pa(r,n.width||0,n.height||0),nr.free(_),he.free(V),he.free(be)}}}},D0.prototype.arrange=function(e,t){var n=t.length;if(e instanceof Zr||e instanceof Pn){var i=e,r=null;e instanceof Zr&&(r=e,i=r.adornedPart);var o=e instanceof Zr?null:i.path,a=e.j;if(a.length!==0){var l=0;if(o!==null&&l=n)_=he.alloc(),R=x,be=_,R.vg(),R.computeMidPoint(be),R=x.midAngle,f!==Nl&&(x=x.computeAngle(a,f,R),a.angle=x),x=_.x,be=_.y,he.free(_);else{if(V=0,0<=l?(_=t.s[l],be=lFe+10?0<=l?R.ab(_):_.ab(R):Fe>ue+10?0<=l?be.ab(V):V.ab(be):0<=l?R.ab(V):V.ab(R)}else R=0<=l?_.ab(be):be.ab(_);f!==Nl&&(x=x.computeAngle(a,f,R),a.angle=x),x=_.x+(be.x-_.x)*u,be=_.y+(be.y-_.y)*u}if(N.ys())a.location=new he(x,be);else{N.Mc()&&(N=Rr),_=nr.alloc(),_.reset(),_.scale(a.scale,a.scale),_.rotate(a.angle,0,0);var Ue=a.naturalBounds;V=Zt.allocAt(0,0,Ue.width,Ue.height),ue=he.alloc(),ue.xi(V,N),_.Ga(ue),N=-ue.x,Fe=-ue.y;var Ge=Ue.width,rt=Ue.height;Ue=he.alloc(),Ue.assign(p);var At=isNaN(p.x),Kn=isNaN(p.y);if(At||Kn){Ge=Ge/2+3,rt=rt/2+3;var ri=45<=R&&135>=R,qn=225<=R&&315>=R;f===Nl&&(ri||qn)?(Ue.x=Kn?Ge:p.y,Ue.y=At?rt:p.x,ri?0<=l||isNaN(l)&&.5>u||!At||(Ue.y=-rt):qn&&((0<=l||isNaN(l)&&.5>u)&&At&&(Ue.y=-rt),Kn&&(Ue.x=-Ge))):(At&&(Ue.x=0<=l||isNaN(l)&&.5>u?Ge:-Ge),Kn&&(Ue.y=-rt),Ue.rotate(R))}else Ue.rotate(R);x+=Ue.x,be+=Ue.y,_.pp(V),N+=V.x,Fe+=V.y,l=he.allocAt(x+N,be+Fe),a.move(l),he.free(l),he.free(Ue),he.free(ue),Zt.free(V),nr.free(_)}}r!==null?r.Ul(!1):i.Ul(!1),i=jy(e),e.location.h(e.position.x+i.x,e.position.y+i.y),he.free(i)}};function py(e,t,n,i){if(bu(i)!==!1){var r=i.strokeWidth;r===0&&e instanceof Zr&&e.type===kn.Link&&e.adornedObject instanceof lr&&(r=e.adornedObject.strokeWidth),r*=i.Ca,e instanceof Pn&&e.ua!==null?(e=e.geometry.bounds,i.Ge(e.x-r/2,e.y-r/2,e.width+r,e.height+r)):e instanceof Zr&&e.adornedPart.ua!==null?(e=e.adornedPart.ua.bounds,i.Ge(e.x-r/2,e.y-r/2,e.width+r,e.height+r)):i.Ge(-(r/2),-(r/2),t+r,n+r),r=i.desiredSize,r.w()||i.ua===null?i.dc.h(0,0,r.width,r.height):i.dc.assign(i.ua.bounds),Ya(i,!1)}}function bp(){this.xa="Base"}yi(bp,ts),bp.prototype.measure=function(e,t,n,i,r,o,a){var l=e.Pb();e.graduatedBounds=[];var u=l.margin,f=u.right+u.left,p=u.top+u.bottom;l.measure(t,n,o,a);var x=l.measuredBounds,N=new Zt(-u.left,-u.top,Math.max(x.width+f,0),Math.max(x.height+p,0));e.graduatedBounds.push(N),r.assign(N);for(var R=l.geometry,_=l.strokeWidth,V=R.flattenedSegments,be=R.flattenedLengths,ue=R.flattenedTotalLength,Fe=V.length,Ue=0,Ge=0,rt=Rt(),At=0;AtWi&&(Wi+=360),ri.push(Wi)}Ue=mn,Ge=Ji}rt.push(ri)}if(e.graduatedIntervals===null){for(var Jr=[],Io=e.O.s,hs=Io.length,gs=0;gskh)){for(var _a=0;_akh&&ds.push(cl)}}}}}e.graduatedIntervals=Jr}var Ih=e.graduatedIntervals,wu=e.O.s,Vu=wu.length,su=0,Yl=0,nd=ue;e.graduatedMarks=[];for(var bc,Vf=0;Vfr0*hl*ue/e.graduatedRange&&lu.graduatedSkip===null)){var ef=be[0][0],Oc=0,Xl=0;Yl=ue*lu.graduatedStart-1e-4,nd=ue*lu.graduatedEnd+1e-4;var Ad=r0*hl,uu=e.graduatedTickBase;if(uue.graduatedMin+Ad&&(uu-=Math.floor((uu-e.graduatedMin)/Ad)*Ad);for(var Jm=Ih[Vf],o0=uu,Yv=1e-6*e.graduatedMax,Kc=1;uu<=e.graduatedMax+Yv;Kc++){e:{for(var rh=Jm.length,tf=0;tf-Kf){var od=!1;break e}}od=!0}if(od&&(uu>e.graduatedMax&&(uu=e.graduatedMax),lu.graduatedSkip===null||lu instanceof Mo&&!lu.graduatedSkip(uu,lu)||lu instanceof lr&&!lu.graduatedSkip(uu,lu))&&(su=(uu-e.graduatedMin)*ue/e.graduatedRange,su>ue&&(su=ue),Yl<=su&&su<=nd)){for(var Zc=rt[Oc][Xl],Mh=be[Oc][Xl];Ocef&&Xloh&&.4995oh?0oh||.9995nf){var Yf=1-Math.abs(.5-oh);Zc=(xc*Yf+Rc*(1-Yf))%360;break e}}}Zc=xc}if(lu instanceof Mo){var uc="";lu.graduatedFunction!==null?(uc=lu.graduatedFunction(uu,lu),uc=uc!=null?uc.toString():""):uc=(+uu.toFixed(2)).toString(),uc!==""&&bc.push({$l:Zf,angle:Zc,text:uc})}else bc.push({$l:Zf,angle:Zc})}uu=o0+Kc*Ad}}}e.graduatedMarks.push(bc)}Jt(rt);var Is=e.graduatedMarks;if(Is!==null)for(var a0=i.length,Ol=0;Olcc;cc++){switch(cc){case 0:Jl.h(sh,Sc);break;case 1:Jl.h(sh+Xf,Sc);break;case 2:Jl.h(sh,Sc+Md);break;case 3:Jl.h(sh+Xf,Sc+Md)}Jl.rotate(Da+za.angle),Jl.offset(tg,Jf),Qf===0&&cc===0?_u.h(Jl.x,Jl.y,0,0):_u.Ye(Jl),Jl.offset(-tg,-Jf),Jl.rotate(-Da-za.angle)}he.free(Jl),ah.graduatedBounds!==null&&ah.graduatedBounds.push(_u),Pr(Oh,_u.x,_u.y,_u.width,_u.height)}else if(za instanceof Mo){var Ku=e,ng=r;Ku.temporaryTextBlock===null&&(Ku.temporaryTextBlock=new Mo);var cu=Ku.temporaryTextBlock;Iy(cu,za);var Lh=za.alignmentFocus;Lh.Mc()&&(Lh=Es);for(var Zu=za.segmentOrientation,qf=za.segmentOffset,ld=new Zt,s0=0,ep=0,Dc=0,Od=0,ud=0,tp=Ll.length,Rh=0;RhDc||225Dc)&&Ec.rotate(-Dc,Ph/2,Ld/2);var of=Zt.allocAt(0,0,Ph,Ld),Fh=he.alloc();Fh.xi(of,Lh),Ec.Ga(Fh);var af=-Fh.x,Qv=-Fh.y,uh=he.alloc();uh.assign(qf),isNaN(uh.x)&&(uh.x=Ph/2+3),isNaN(uh.y)&&(uh.y=-(Ld/2+3)),uh.rotate(Dc),s0+=uh.x+af,ep+=uh.y+Qv;var Rd=new Zt(s0,ep,Dh.width,Dh.height),l0=new Zt(Dh.x,Dh.y,Dh.width,Dh.height),Jv=new Zt(lh.x,lh.y,lh.width,lh.height);Yc.Sz=Od,Yc.lineCount=cu.lineCount,Yc.lines=[cu.Cb,cu.Ih,cu.df,cu.Le,cu.Qc,cu.Qb,cu.ze],Yc.actualBounds=Rd,Yc.measuredBounds=l0,Yc.naturalBounds=Jv,Rh===0?ld.assign(Rd):ld.ed(Rd),he.free(uh),he.free(Fh),Zt.free(of),nr.free(Ec)}Ku.graduatedBounds!==null&&Ku.graduatedBounds.push(ld),Pr(ng,ld.x,ld.y,ld.width,ld.height)}Ya(za,!1)}}},bp.prototype.arrange=function(e,t,n){if(e.graduatedBounds!==null){var i=e.Pb(),r=e.graduatedMarks;if(r!==null){var o=e.graduatedBounds,a=0,l=o[a];a++,i!==null&&i.arrange(l.x-n.x,l.y-n.y,l.width,l.height);for(var u=t.length,f=0;f=a&&(a=1);for(var l=o.actualBounds,u=e.O.s,f=e.graduatedMarks,p=u.length,x=0;xe.graduatedTickUnit*N.interval*o.geometry.flattenedTotalLength/e.graduatedRange*a&&N.graduatedSkip===null)){var V=N.measuredBounds,be=N.strokeWidth*N.scale,ue=N.alignmentFocus;ue.Mc()&&(ue=Es);for(var Fe=0;Fe<_;Fe++){var Ue=R[Fe].$l,Ge=R[Fe].angle,rt=ue,At=N.Ab;At.reset(),At.translate(Ue.x+l.x,Ue.y+l.y),At.rotate(Ge+N.angle,0,0),At.translate(-V.width*rt.x+rt.offsetX+be/2,-V.height*rt.y+rt.offsetY+be/2),At.scale(N.scale,N.scale),Hu(N,!1),N.wh.set(N.Ab),N.Kk=N.scale,Ou(N,!1),N.gc(t,n),r&&(e.svg.appendChild(N.svg),N.svg=null),N.Ab.reset()}}}else if(N instanceof Mo)for(e.temporaryTextBlock===null&&(e.temporaryTextBlock=new Mo),V=e.temporaryTextBlock,Iy(V,N),be=0;be<_;be++)ue=R[be],ue.actualBounds&&ue.measuredBounds&&ue.naturalBounds&&(V.ec=ue.text||"",V.Kb=ue.Sz||0,V.Gc=ue.lineCount||0,Fe=ue.lines,Fe!==void 0&&(V.Cb=Fe[0],V.Ih=Fe[1],V.df=Fe[2],V.Le=Fe[3],V.Qc=Fe[4],V.Qb=Fe[5],V.ze=Fe[6]),ue.naturalBounds&&(V.dc=ue.naturalBounds),ue.actualBounds&&(Fe=ue.actualBounds,V.arrange(Fe.x,Fe.y,Fe.width,Fe.height)),Fe=ue.actualBounds,V.arrange(Fe.x,Fe.y,Fe.width,Fe.height),Ue=ue.measuredBounds,ue=ue.naturalBounds,Ge=V.Ab,Ge.reset(),Ge.translate(Fe.x+l.x,Fe.y+l.y),Ge.translate(-Ue.x,-Ue.y),V.no(Ge,ue.x,ue.y,ue.width,ue.height),Hu(V,!1),V.wh.set(V.Ab),V.Kk=V.scale,Ou(V,!1),V.Ng=N.part,V.Me=N.panel,V.gc(t,n),V.Me=null,V.Ng=null,r&&(e.svg.appendChild(V.svg),V.svg=null))}}n.$i=i,t.restore(),t.Vc(!0)};function kn(e,t){if(at.call(this),this.na=null,e===void 0)this.na=kn.Position;else if(typeof e=="string"){var n=ic.I(e);n!==null&&(this.na=n)}else e instanceof ts?this.na=e:e&&(this.na=kn.Position,t=e);this.na===null&&Ve("Panel type not specified or PanelLayout not loaded: "+e),this.l=this.l|4194304|(this.na===kn.Grid?1048576:0),this.O=new qt,this.yb=Ja,this.Tm=Kr,this.Uf=er,this.$g=null,this.$e="",this.jg=new Zt(NaN,NaN,NaN,NaN),this.T=this.F=null,this.xo=ci,this.jn=$a,this.kn=gr,this.ub=this.ra=null,this.zn=NaN,this.ge=this.Hh=null,t&&Object.assign(this,t)}yi(kn,at),kn.prototype.cloneProtected=function(e){at.prototype.cloneProtected.call(this,e),e.na=this.na,e.yb=this.yb.J(),e.Tm=this.Tm.J(),e.Uf=this.Uf,e.$e=this.$e,e.jg.assign(this.jg),this.T!==null&&(e.T=this.T.copy(e)),e.xo=this.xo,e.jn=this.jn.J(),e.kn=this.kn.J(),this.ra!==null&&(e.ra=this.ra.copy()),e.ub=this.ub,e.zn=this.zn,e.Hh=this.Hh},kn.prototype.Af=function(e){at.prototype.Af.call(this,e),e.O=this.O;for(var t=e.O.s,n=t.length,i=0;ia.height)continue}else if(f.position>a.width)continue;var p=f.separatorStrokeWidth;isNaN(p)&&(p=n?e.defaultRowSeparatorStrokeWidth:e.defaultColumnSeparatorStrokeWidth);var x=f.separatorStroke;if(x===null&&(x=n?e.defaultRowSeparatorStroke:e.defaultColumnSeparatorStroke),p!==0&&x!==null){Aa(e,t,x,!1,!1,a,o),x=!1;var N=f.separatorDashArray;N===null&&(N=n?e.defaultRowSeparatorDashArray:e.defaultColumnSeparatorDashArray),N!==null&&(x=!0,t.js(N,0)),t.beginPath(),N=f.position+p,n?N>a.height&&(p-=N-a.height):N>a.width&&(p-=N-a.width),f=f.position+p/2,t.lineWidth=p,p=e.yb,n?(f+=p.top,N=a.width-p.right,t.moveTo(p.left,f),t.lineTo(N,f)):(f+=p.left,N=a.height-p.bottom,t.moveTo(f,p.top),t.lineTo(f,N)),t.stroke(),t.Se(),x&&t.fs()}}}}function P0(e,t,n,i,r){for(var o=i.length,a=e.actualBounds,l=e.naturalBounds,u=gy(e,!0),f=gy(e,!1),p=0;pN)){var R=x.Wc(),_=x.separatorStrokeWidth;isNaN(_)&&(_=n?e.defaultRowSeparatorStrokeWidth:e.defaultColumnSeparatorStrokeWidth);var V=x.separatorStroke;V===null&&(V=n?e.defaultRowSeparatorStroke:e.defaultColumnSeparatorStroke),(V===null||x.index===(n?u:f))&&(_=0),R-=_,_=x.position+_,R+=x.actual,_+R>N&&(R=N-_),0>=R||(N=e.yb,Aa(e,t,x.background,!0,!1,l,a),n?t.fillRect(N.left,_+N.top,a.width-(N.left+N.right),R):t.fillRect(_+N.left,N.top,R,a.height-(N.top+N.bottom)))}}}}function gy(e,t){for(var n=t?e.rowCount:e.columnCount,i=0;ii&&r.set(_),he.free(_)),he.free(p),o&&r.transform(a),f},U.Gj=function(){for(var e=this.O.s,t=e.length,n=0;nn||o>i)&&(this.v(),this.measure(t>n?n:t,o>i?i:o,0,0));break;case Tn:this.v(!0),this.measure(n+l,i+a,0,0);break;case bi:this.v(!0),this.measure(n+l,o+a,0,0);break;case Di:this.v(!0),this.measure(t+l,i+a,0,0)}}this.na.arrange(this,r,this.jg)}},U.gh=function(e){var t=this.naturalBounds,n=th(this);if(co(0,0,t.width,t.height,e.x,e.y)){t=this.O.s;for(var i=t.length,r=he.allocAt(0,0);i--;){var o=t[i];if((o.visible||o===n)&&(Ki(r.set(e),o.transform),o.ca(r)))return he.free(r),!0}return he.free(r),!(this.Ma===null&&this.areaBackground===null)}return!1},U.ks=function(e){if(this.bindingId===e)return this;for(var t=this.O.s,n=t.length,i=0;iN.width||x.y>N.height||0>x.x+x.width||0>x.y+x.height||(x=p,p=p instanceof kn?p:null,N=nr.alloc(),N.set(a),(p!==null?p.Cf(e,t,n,i,r,N):cs(x,e,i,N))&&(t!==null&&(x=t(x)),x===null||n!==null&&!n(x)||r.add(x)),nr.free(N))}}return o===void 0&&nr.free(a),i}return o===void 0&&nr.free(a),!1};function Tg(e,t,n,i){for(var r=e.O.s,o=r.length;o--;){var a=r[o];if(a.visible){var l=a.actualBounds,u=e.naturalBounds;l.x>u.width||l.y>u.height||0>l.x+l.width||0>l.y+l.height||(a instanceof kn&&Tg(a,t,n,i),t!==null&&(a=t(a)),a===null||n!==null&&!n(a)||i.add(a))}}}U.og=function(e,t,n,i,r,o){if(this.pickable===!1)return!1;n===void 0&&(n=null),i===void 0&&(i=null);var a=this.naturalBounds,l=this.se(),u=l?e:Ki(he.allocAt(e.x,e.y),this.transform),f=l?t:Ki(he.allocAt(t.x,t.y),this.transform),p=u.Bf(f),x=0be.width||V.y>be.height||0>V.x+V.width||0>V.y+V.height))&&(_.se()?(V=_.transform,Ki(u.set(e),V),Ki(f.set(t),V)):(u.set(e),f.set(t)),V=_,_=_ instanceof kn?_:null,(_!==null?_.og(u,f,n,i,r,o):V.tx(u,f,r))&&(n!==null&&(V=n(V)),V===null||i!==null&&!i(V)||o.add(V)))}}he.free(u),he.free(f)}return r?x:a}return!1};function Ng(e){var t=null;return e instanceof lr&&(t=e.spot1,t===Kr&&(t=null),e=e.geometry,e!==null&&t===null&&(t=e.spot1)),t===null&&(t=Jo),t}function Ag(e){var t=null;return e instanceof lr&&(t=e.spot2,t===Kr&&(t=null),e=e.geometry,e!==null&&t===null&&(t=e.spot2)),t===null&&(t=Bo),t}U.add=function(e){for(var t=[],n=0;n=r.count&&e>=r.count)return;r.mb(o),i=o}else Ve("element "+t.toString()+" has panel "+n.toString()+" but is not contained by it.")}(0>e||e>r.count)&&(e=r.count),r.Gb(e,t),(e===0||t.isPanelMain)&&(this.$g=null),bu(this)||this.v(),t.v(!1),t.portId!==null?this.Te=!0:t instanceof kn&&t.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||B0(this,t,!1),n=this.part,n!==null&&(n.Rh=null,n.ag=NaN,this.Te&&n instanceof Xn&&(n.Te=!0),n.Te&&n instanceof Xn&&(n.wc=null),r=this.diagram,r!==null&&r.undoManager.isUndoingRedoing||(i!==-1&&n.cb(la,"elements",this,t,null,i,null),n.cb(Ko,"elements",this,null,t,null,e)))};function kg(e,t){e.l=t?e.l|16777216:e.l&-16777217}U.remove=function(e){for(var t=this.O.s,n=t.length,i=-1,r=0;re&&Lt(e,">= 0",kn,"getRowDefinition:idx"),e=Math.round(e);var t=this.rowDefs;if(t[e]===void 0){var n=new Xa;n.wi(this),n.isRow=!0,n.index=e,t[e]=n,this.cb(Ko,"rowdefs",this,null,n,null,e)}return t[e]},U.oA=function(e){if(0>e&&Lt(e,">= 0",kn,"removeRowDefinition:idx"),this.rowCount!==0){e=Math.round(e);var t=this.rowDefs,n=t[e];if(n){t[e]=void 0;for(var i=t.length-1;0<=i&&t[i--]===void 0;)t.length--;this.cb(la,"rowdefs",this,n,null,e,null),this.v()}}};function Sy(e,t,n){var i=e.rowDefs;if(!(0>t)){if(i[t]=n instanceof Xa?n:void 0,!n)for(t=i.length-1;0<=t&&i[t--]===void 0;)i.length--;e.v()}}U.Eb=function(e){0>e&&Lt(e,">= 0",kn,"getColumnDefinition:idx"),e=Math.round(e);var t=this.colDefs;if(t[e]===void 0){var n=new Xa;n.wi(this),n.isRow=!1,n.index=e,t[e]=n,this.cb(Ko,"coldefs",this,null,n,null,e)}return t[e]},U.jA=function(e){if(0>e&&Lt(e,">= 0",kn,"removeColumnDefinition:idx"),this.columnCount!==0){e=Math.round(e);var t=this.colDefs,n=t[e];if(n){t[e]=void 0;for(var i=t.length-1;0<=i&&t[i--]===void 0;)t.length--;this.cb(la,"coldefs",this,n,null,e,null),this.v()}}};function Ey(e,t,n){var i=e.colDefs;if(!(0>t)){if(i[t]=n instanceof Xa?n:void 0,!n)for(t=i.length-1;0<=t&&i[t--]===void 0;)i.length--;e.v()}}U.Gy=function(e){var t=null;return e.isRow?t=this.Fb(e.index):e.isRow||(t=this.Eb(e.index)),t&&_0(t,e),this},U.Hy=function(e,t){return(e=this.Fb(e))&&_0(e,new Xa(t)),this},U.By=function(e,t){return(e=this.Eb(e))&&_0(e,new Xa(t)),this},U.nz=function(e){if(0>e||this.type!==kn.Table||this.rowCount===0)return-1;for(var t=0,n=this.rowDefs,i=n.length,r=this.topIndex;re||this.type!==kn.Table||this.columnCount===0)return-1;for(var t=0,n=this.colDefs,i=n.length,r=this.leftIndex;re;)this.pc(this.O.length-1,!1);Cy(this,this.itemArray)};function Cy(e,t){var n=xp(e);if(t===null||t.length===0)for(;e.O.length>n;)e.pc(e.O.length-1,!1);else if(e.O.length<=n){n=t.length;for(var i=0;in)){var r=Mg(e,t);if(r=Og(e,r),r!==null){if(ju(r),r=r.copy(),r.l&16777216){var o=e.ih();o!==null&&kg(o,!0)}typeof t=="object"&&(e.ge===null&&(e.ge=new Zn),e.ge.add(t,r)),o=n+xp(e),e.Gb(o,r),i&&(r.ub=t,Ig(e,o,n),r.ub=null),r.data=t}}}function Ig(e,t,n){for(e=e.O;te&&Lt(e,">= 0",kn,"padding"),e=new mi(e)):(0>e.left&&Lt(e.left,">= 0",kn,"padding:value.left"),0>e.right&&Lt(e.right,">= 0",kn,"padding:value.right"),0>e.top&&Lt(e.top,">= 0",kn,"padding:value.top"),0>e.bottom&&Lt(e.bottom,">= 0",kn,"padding:value.bottom"));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.v(),this.g("padding",t,e))}},defaultAlignment:{get:function(){return this.Tm},set:function(e){var t=this.Tm;t.D(e)||(this.Tm=e=e.J(),this.v(),this.g("defaultAlignment",t,e))}},defaultStretch:{get:function(){return this.Uf},set:function(e){var t=this.Uf;t!==e&&(this.Uf=e,this.v(),this.g("defaultStretch",t,e))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Ja},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.defaultSeparatorPadding;t.D(e)||(e=e.J(),this.T===null&&(this.T=new Du),this.T.Qp=e,this.v(),this.g("defaultSeparatorPadding",t,e))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(e){var t=this.defaultRowSeparatorStroke;t!==e&&(e===null||typeof e=="string"||e instanceof ao)&&(e instanceof ao&&e.freeze(),this.T===null&&(this.T=new Du),this.T.ia=e,this.N(),this.g("defaultRowSeparatorStroke",t,e))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(e){var t=this.defaultRowSeparatorStrokeWidth;t!==e&&isFinite(e)&&0<=e&&(this.T===null&&(this.T=new Du),this.T.Ha=e,this.v(),this.g("defaultRowSeparatorStrokeWidth",t,e))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(e){var t=this.defaultRowSeparatorDashArray;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;re)&&Ve("Panel.topIndex must be greater than zero and a real number, not: "+e),this.T===null&&(this.T=new Du),this.T.Hb=e,this.v(),this.g("topIndex",t,e))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(e){var t=this.leftIndex;t!==e&&((!isFinite(e)||0>e)&&Ve("Panel.leftIndex must be greater than zero and a real number, not: "+e),this.T===null&&(this.T=new Du),this.T.hb=e,this.v(),this.g("leftIndex",t,e))}},data:{get:function(){return this.ub},set:function(e){var t=this.ub;if(t!==e){var n=this instanceof Ci&&!(this instanceof Zr);ju(this),this.ub=e;var i=this.diagram;i!==null&&(n?(n=i.partManager,this instanceof Pn?(t!==null&&n.bf.remove(t),e!==null&&n.bf.add(e,this)):this instanceof Ci&&(t!==null&&n.cf.remove(t),e!==null&&n.cf.add(e,this))):(n=this.panel,n!==null&&n.ge!==null&&(t!==null&&n.ge.remove(t),e!==null&&n.ge.add(e,this)))),this.g("data",t,e),i!==null&&i.undoManager.isUndoingRedoing||e!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(e){var t=this.zn;t!==e&&(this.zn=e,this.g("itemIndex",t,e))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(e){this.localBindings!==e&&(this.A===null&&(this.A=new Ud),this.A.nb=e)}},itemArray:{get:function(){return this.Hh},set:function(e){var t=this.Hh;if(t!==e||e!==null&&Lb(this,e)){var n=this.diagram;t!==e&&(n!==null&&t!==null&&vv(n.partManager,this,n),this.Hh=e,n!==null&&e!==null&&gv(n.partManager,this)),this.g("itemArray",t,e),n!==null&&n.undoManager.isUndoingRedoing||Cy(this,e)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(e){if(this.itemTemplateMap===null){if(e===null)return;this.itemTemplateMap=new Zn}var t=this.itemTemplateMap.I("");t!==e&&((e instanceof Ci||e.isPanelMain)&&Ve("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+e),this.itemTemplateMap.add("",e),this.g("itemTemplate",t,e),e=this.diagram,e!==null&&e.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(e){var t=this.itemTemplateMap;if(t!==e){for(var n=e.iterator;n.next(););yr(this),this.A.Pc=e,this.g("itemTemplateMap",t,e),e=this.diagram,e!==null&&e.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(e){var t=this.itemCategoryProperty;t!==e&&(yr(this),this.A.Oc=e,this.g("itemCategoryProperty",t,e))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(e){var t=(this.l&1048576)!==0;t!==e&&(this.l^=1048576,this.g("isAtomic",t,e))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(e){var t=(this.l&2097152)!==0;t!==e&&(this.l^=2097152,this instanceof qi&&(this.tb=null),this.v(),this.g("isClipping",t,e))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(e){var t=(this.l&33554432)!==0;t!==e&&(this.l^=33554432,this.v(),this.g("isOpposite",t,e))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(e){var t=(this.l&4194304)!==0;if(t!==e){var n=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",t,e),t=this.diagram,t!==null&&t.undoManager.isUndoingRedoing||n&&B0(this,this,e)}}},alignmentFocusName:{get:function(){return this.$e},set:function(e){var t=this.$e;t!==e&&(this.$e=e,this.v(),this.g("alignmentFocusName",t,e))}}}),ht.Object.defineProperties(kn,{Position:{get:function(){return ic.I("Position")}},Horizontal:{get:function(){return ic.I("Horizontal")}},Vertical:{get:function(){return ic.I("Vertical")}},Spot:{get:function(){return ic.I("Spot")}},Auto:{get:function(){return ic.I("Auto")}},Table:{get:function(){return ic.I("Table")}},Viewbox:{get:function(){return ic.I("Viewbox")}},TableRow:{get:function(){return ic.I("TableRow")}},TableColumn:{get:function(){return ic.I("TableColumn")}},Link:{get:function(){return ic.I("Link")}},Grid:{get:function(){return ic.I("Grid")}},Graduated:{get:function(){return ic.I("Graduated")}}}),kn.prototype.rebuildItemElements=kn.prototype.mv,kn.prototype.findItemPanelForData=kn.prototype.sx,kn.prototype.updateTargetBindings=kn.prototype.La,kn.prototype.copyTemplate=kn.prototype.Uy,kn.prototype.graduatedValueForPoint=kn.prototype.Gz,kn.prototype.graduatedPointForValue=kn.prototype.Fz,kn.prototype.findColumnForLocalX=kn.prototype.fz,kn.prototype.findRowForLocalY=kn.prototype.nz,kn.prototype.addColumnDefinition=kn.prototype.By,kn.prototype.addRowDefinition=kn.prototype.Hy,kn.prototype.addRowColumnDefinition=kn.prototype.Gy,kn.prototype.removeColumnDefinition=kn.prototype.jA,kn.prototype.getColumnDefinition=kn.prototype.Eb,kn.prototype.removeRowDefinition=kn.prototype.oA,kn.prototype.getRowDefinition=kn.prototype.Fb,kn.prototype.removeAt=kn.prototype.mb,kn.prototype.remove=kn.prototype.remove,kn.prototype.insertAt=kn.prototype.Gb,kn.prototype.elt=kn.prototype.M,kn.prototype.add=kn.prototype.add,kn.prototype.findObject=kn.prototype.fb,kn.prototype.findInVisualTree=kn.prototype.Nl,kn.prototype.walkVisualTreeFrom=kn.prototype.qm,kn.prototype.findMainElement=kn.prototype.Pb;var Ty=!1,Ny=null,ic=new Zn;kn.className="Panel",kn.definePanelLayout=Ic,Ic("Position",new C0),Ic("Vertical",new N0),Ic("Auto",new k0),Ic("Link",new D0);function nh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}nh.prototype.copy=function(){var e=new nh;return e.lq=this.lq,e.F=this.F,e.ia=this.ia,e.V=this.V,e.u=this.u,e.j=this.j,e.o=this.o,e.Zh=this.Zh,e},nh.className="GradPanelSettings";function Du(){this.Pc=[],this.Oc=[],this.j=this.ob=U0,this.hb=this.Hb=0,this.Qp=Ja,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Du.prototype.copy=function(e){for(var t=new Du,n=this.Pc,i=n.length,r=t.Pc,o=0;oe&&Lt(e,">= 0",Xa,"height"),this.Hc=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",t,e))}},width:{get:function(){return this.Hc},set:function(e){var t=this.Hc;t!==e&&(0>e&&Lt(e,">= 0",Xa,"width"),this.Hc=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",t,e))}},minimum:{get:function(){return this.jj},set:function(e){var t=this.jj;t!==e&&((0>e||!isFinite(e))&&Lt(e,">= 0",Xa,"minimum"),this.jj=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",t,e))}},maximum:{get:function(){return this.hj},set:function(e){var t=this.hj;t!==e&&(0>e&&Lt(e,">= 0",Xa,"maximum"),this.hj=e,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",t,e))}},alignment:{get:function(){return this.Jb},set:function(e){var t=this.Jb;t.D(e)||(this.Jb=e.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",t,e))}},stretch:{get:function(){return this.hg},set:function(e){var t=this.hg;t!==e&&(this.hg=e,this.panel!==null&&this.panel.v(),this.Ob("stretch",t,e))}},separatorPadding:{get:function(){return this.dg},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.dg;e!==null&&t!==null&&t.D(e)||(e!==null&&(e=e.J()),this.dg=e,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",t,e))}},separatorStroke:{get:function(){return this.lo},set:function(e){var t=this.lo;t!==e&&(e!==null&&$d(e,"RowColumnDefinition.separatorStroke"),e instanceof ao&&e.freeze(),this.lo=e,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",t,e))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(e){var t=this.mo;t!==e&&(this.mo=e,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",t,e))}},separatorDashArray:{get:function(){return this.tj},set:function(e){var t=this.tj;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;rr)){var o=i.measuredBounds,a=Math.max(1,o.width);o=o.height;for(var l=n[0],u=n[1],f,p,x,N,R,_,V=0,be=Rt(),ue=2;uex&&(x=1),r=n=x,f=a/2,p=f!==0,ue=0,_=be[ue],x=_[0],R=_[1],N=_[2],_=_[3];for(var Fe=0;.1<=V;){if(Fe===0&&(p?(r=n,r-=f,V-=f,p=!1):r=n,r===0&&(r=1)),r>V){Jt(be);return}r>_?(Fe=r-_,r=_):Fe=0;var Ue=Math.sqrt(r*r/(1+N*N));if(0>x&&(Ue=-Ue),l+=Ue,u+=N*Ue,e.translate(l,u),e.rotate(R),e.translate(-(a/2),-(o/2)),Fe===0&&i.hh(e,t),e.translate(a/2,o/2),e.rotate(-R),e.translate(-l,-u),V-=r,_-=r,Fe!==0){if(ue++,ue===be.length){Jt(be);return}_=be[ue],x=_[0],R=_[1],N=_[2],_=_[3],r=Fe}}Jt(be)}}U.hh=function(e,t){var n=this.xc,i=this.Ui;if(n!==null||i!==null){var r=this.ua;if(r!==null){e.yc();var o=this.actualBounds,a=this.naturalBounds;i!==null&&Aa(this,e,i,!0,!1,a,o);var l=this.part,u=this.ig;if(n===null||u!==0||l===null||!this.isPanelMain&&l.Pb()!==this||(u=l.type===kn.Link&&l instanceof Zr&&l.category==="Selection"&&l.adornedObject instanceof lr&&l.adornedPart.Pb()===l.adornedObject?l.adornedObject.strokeWidth:0),u===0&&(n=null),n!==null&&u!==0&&(Aa(this,e,n,!1,!1,a,o),e.lineWidth=u,e.lineJoin=this.strokeJoin,e.lineCap=this.strokeCap,e.miterLimit=this.strokeMiterLimit),o=!1,l&&t.Gf("drawShadows")&&(o=l.isShadowed),e.Il===!1&&(o=!1),l=!0,n===null||i!==null&&i!=="transparent"||(l=!1),a=!1,u=this.strokeDashArray,u!==null&&(a=!0,e.js(u,this.strokeDashOffset)),r.type===Dn.j)e.beginPath(),e.moveTo(r.startX,r.startY),e.lineTo(r.endX,r.endY),n!==null&&e.jk(),e.Se();else if(r.type===Dn.u){var f=r.startX;u=r.startY;var p=r.endX,x=r.endY;r=Math.min(f,p);var N=Math.min(u,x);f=Math.abs(p-f),u=Math.abs(x-u),e.beginPath(),e.rect(r,N,f,u),i!==null&&e.ng(i),n!==null&&(l&&o&&Bc(e),e.jk(),l&&o&&Jc(e)),e.Se()}else if(r.type===Dn.F)f=r.startX,u=r.startY,p=r.endX,x=r.endY,r=Math.abs(p-f)/2,N=Math.abs(x-u)/2,f=Math.min(f,p)+r,u=Math.min(u,x)+N,e.beginPath(),e.moveTo(f,u-N),e.bezierCurveTo(f+qe.wg*r,u-N,f+r,u-qe.wg*N,f+r,u),e.bezierCurveTo(f+r,u+qe.wg*N,f+qe.wg*r,u+N,f,u+N),e.bezierCurveTo(f-qe.wg*r,u+N,f-r,u+qe.wg*N,f-r,u),e.bezierCurveTo(f-r,u-qe.wg*N,f-qe.wg*r,u-N,f,u-N),e.closePath(),i!==null&&e.ng(i),n!==null&&(l&&o&&Bc(e),e.jk(),l&&o&&Jc(e)),e.Se();else if(r.type===Dn.o)for(r=r.figures,u=r.length,N=0;NV.sweepAngle,R!==null?R.endX:f.startX,R!==null?R.endY:f.startY)}else if(R=fs(V,f),be=R.length,be===0)e.lineTo(V.centerX,V.centerY);else for(var ue=0;ue(n.startX-n.endX)*(e.x-n.endX)+(n.startY-n.endY)*(e.y-n.endY)||0>i)?!1:(Zt.free(o),qe.Yb(n.startX,n.startY,n.endX,n.endY,r,e.x,e.y));if(n.type===Dn.u){t=n.startX;var a=n.startY,l=n.endX;if(n=n.endY,o.x=Math.min(t,l),o.y=Math.min(a,n),o.width=Math.abs(l-t),o.height=Math.abs(n-a),this.fill===null){if(o.Bc(-i,-i),o.ca(e))return Zt.free(o),!1;o.Bc(i,i)}return this.stroke!==null&&o.Bc(r,r),e=o.ca(e),Zt.free(o),e}if(n.type===Dn.F){a=n.startX,r=n.startY,l=n.endX;var u=n.endY;if(n=Math.min(a,l),t=Math.min(r,u),a=Math.abs(l-a)/2,r=Math.abs(u-r)/2,n=e.x-(n+a),t=e.y-(t+r),this.fill===null){if(a-=i,r-=i,0>=a||0>=r||1>=n*n/(a*a)+t*t/(r*r))return Zt.free(o),!1;a+=i,r+=i}return this.stroke!==null&&(a+=i,r+=i),Zt.free(o),0>=a||0>=r?!1:1>=n*n/(a*a)+t*t/(r*r)}if(n.type===Dn.o)return Zt.free(o),this.fill===null?gl(n,e.x,e.y,r):pl(n,e,r,1=this.strokeWidth)p=qe.Ve(f.startX,f.startY,f.endX,f.endY,o,a,l,u,r);else{if(f.startX===f.endX?(i=x,p=0):(t=(f.endY-f.startY)/(f.endX-f.startX),p=x/Math.sqrt(1+t*t),i=p*t),t=Rt(),e=new he,qe.Ve(f.startX+i,f.startY+p,f.endX+i,f.endY+p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.startX-i,f.startY-p,f.endX-i,f.endY-p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.startX+i,f.startY+p,f.startX-i,f.startY-p,o,a,l,u,e)&&t.push(e),e=new he,qe.Ve(f.endX+i,f.endY+p,f.endX-i,f.endY-p,o,a,l,u,e)&&t.push(e),l=t.length,l===0)return Jt(t),!1;for(p=!0,u=1/0,i=0;iMath.abs(n)){if(u=a-p-n*(o-i),0>e*e*n*n+f*f-u*u){r.x=NaN,r.y=NaN,p=!1;break e}x=Math.sqrt(e*e*n*n+f*f-u*u),l=(-(e*e*n*u)+e*f*x)/(f*f+e*e*n*n)+i,e=(-(e*e*n*u)-e*f*x)/(f*f+e*e*n*n)+i,f=n*(l-i)+u+p,u=n*(e-i)+u+p,Math.abs((o-l)*(o-l))+Math.abs((a-f)*(a-f))l){r.x=NaN,r.y=NaN,p=!1;break e}u=Math.sqrt(l),l=p+u,u=p-u,Math.abs(l-a)Math.abs(_)?(V*=.5/_,_=.5):V!==0&&.5>Math.abs(V)&&(_*=.5/V,V=.5),ue-=_,Fe-=V;R.contains(ue,Fe);)ue-=_,Fe-=V;for(r.x=l,r.y=u,V=0;Vn?e-n:n-e)<(t>i?t-i:i-t)?(e=te||qe.$(u.y,e))&&(u.yt||qe.$(u.x,t))&&(u.x=e&&i<=t):(e=i&&n<=e)}U.tx=function(e,t,n){function i(be,ue){for(var Fe=be.length,Ue=0;Uer)return!0;return!1}if(n&&this.fill!==null&&this.gh(e,!0))return!0;var r=e.Bf(t),o=r;if(1.5=r||Wr(t,o,0,-x)>=r||Wr(t,o,0,x)>=r||Wr(t,o,p,0)>=r)}else if(t.type===Dn.o){if(f=t.bounds,o=f.x,l=f.y,u=f.x+f.width,f=f.y+f.height,e.x>u&&e.xf&&e.yr&&Lr(e.x,e.y,o,l,u,l)>r&&Lr(e.x,e.y,u,f,o,f)>r&&Lr(e.x,e.y,u,f,u,l)>r)return!1;if(o=Math.sqrt(r),n){if(this.fill===null?gl(t,e.x,e.y,o):pl(t,e,o,!0,!1))return!0}else{for(n=t.figures,t=0;tr)return!1;for(l=o.segments.s,u=l.length,f=0;fr)return!1;break;case Wa:var N=Rt();if(qe.Qe(a,p,x.point1X,x.point1Y,x.point2X,x.point2Y,x.endX,x.endY,.8,N),a=i(N,e),Jt(N),a||(a=x.endX,p=x.endY,e.zd(a,p)>r))return!1;break;case js:if(N=Rt(),qe.ep(a,p,x.point1X,x.point1Y,x.endX,x.endY,.8,N),a=i(N,e),Jt(N),a||(a=x.endX,p=x.endY,e.zd(a,p)>r))return!1;break;case sa:case Gs:N=x.type===sa?fs(x,o):as(x,o,a,p);var R=N.length;if(R===0){if(a=x.type===sa?x.centerX:x.endX,p=x.type===sa?x.centerY:x.endY,e.zd(a,p)>r)return!1;break}x=null;for(var _=Rt(),V=0;V= 0",lr,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(e){var t=this.strokeCap;t!==e&&(typeof e!="string"||e!=="butt"&&e!=="round"&&e!=="square"?Lt(e,'"butt", "round", or "square"',lr,"strokeCap"):(xd(this),this.Na.Hr=e,this.N(),this.g("strokeCap",t,e)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(e){var t=this.strokeJoin;t!==e&&(typeof e!="string"||e!=="miter"&&e!=="bevel"&&e!=="round"?Lt(e,'"miter", "bevel", or "round"',lr,"strokeJoin"):(xd(this),this.Na.Ir=e,this.N(),this.g("strokeJoin",t,e)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(e){var t=this.strokeMiterLimit;if(t!==e&&1<=e){xd(this),this.Na.Jr=e,this.N();var n=this.part;n!==null&&(n.ag=NaN),this.g("strokeMiterLimit",t,e)}}},strokeDashArray:{get:function(){return this.Yg},set:function(e){var t=this.Yg;if(t!==e){if(e!==null){for(var n=e.length,i=0,r=0;re?e=0:1e?e=0:1(x*x+p*p)*N*N&&(n=!0),t.ib!==e&&(n=!1),t.ib instanceof ru&&(n=!1),t.Gf("textGreeking")===!1&&(n=!1),t=this.spacingAbove,x=this.spacingBelow,this.flip){case Gr:e.translate(r,0),e.scale(-1,1);break;case Sr:e.translate(0,o),e.scale(1,-1);break;case mo:e.translate(r,o),e.scale(-1,-1)}if(e.yc(),p=this.Gc,N=(t+a+x)*p,o>N&&(i=this.verticalAlignment,i=i.y*o-i.y*N+i.offsetY),p===1&&this.ze!==null)x=this.Cb,x>r&&(x=r),this.Oj(this.ze,e,0,i+t,r,a,x,n,l,u,f);else if(this.Qc!==null&&this.Qb!==null)for(N=0;Nr&&(R=r),i+=t,this.Oj(this.Qb[N],e,0,i,r,a,R,n,l,u,f),i+=a+x}switch(this.flip){case Gr:e.scale(-1,1),e.translate(-r,0);break;case Sr:e.scale(1,-1),e.translate(0,-o);break;case mo:e.scale(-1,-1),e.translate(-r,-o)}}},U.Oj=function(e,t,n,i,r,o,a,l,u,f,p){var x=0;if(l)u==="left"?x=0:u==="right"?x=r-a:u==="center"&&(x=(r-a)/2),t.fillRect(n+x,i+.25*o,a,1);else{if(u==="left"?x=0:u==="right"?x=r:u==="center"&&(x=r/2),r=j0!==null?j0(this,o):.75*o,t.fillText(e,n+x,i+r),e=o/20|0,e===0&&(e=1),u==="right"?x-=a:u==="center"&&(x-=a/2),f){l=G0!==null?G0(this,o):.8*o,u=n+x,f=i+l,r=n+x+a,l=i+l;var N=e;t.beginPath(),t.lineWidth=N,t.moveTo(u,f),t.lineTo(r,l),t.stroke(),t.Se(),t instanceof ru&&t.ad.classList.add("gojs-td")}p&&(p=i+o-o/2.2|0,e%2!==0&&(p+=.5),i=n+x,o=p,n=n+x+a,a=p,x=e,t.beginPath(),t.lineWidth=x,t.moveTo(i,o),t.lineTo(n,a),t.stroke(),t.Se(),t instanceof ru&&t.ad.classList.add("gojs-td"))}},U.kk=function(e,t,n){if(!at.prototype.kk.call(this,e,t,n))return!1;if(Aa(this,e,this.xc,!0,!1,this.naturalBounds,this.actualBounds),n){if(this.svg.getElementsByTagName("text").length===0)return!0;for(t=this.svg.getElementsByClassName("gojs-td"),n=0;n=this.Qb.length))){for(this.l|=16777216,f=this.Qb[u],t=Math.max(1,e-t);rc(f)>t&&1e.maxLines&&(e.l|=16777216))}function Fg(e,t,n,i){var r=e.formatting===Cp;r&&(t=t.trim());var o=0,a=e.Ae,l=e.spacingAbove+e.spacingBelow;l=Math.max(0,wp(e)+l);var u=e.overflow===W0?My(a):0;if(e.Gc>=e.maxLines)i!==null&&i.h(0,l);else if(a=t,e.wrap===Bg){e.Le=1;var f=rc(t);if(u===0||f<=n)e.Cb=Math.max(e.Cb,f),Ep(e,t,e.Cb),i!==null&&i.h(f,l);else{for(o=Tf(e,a),a=a.substr(o.length),t=Tf(e,a),f=rc(o+t);0n&&1n;){var x=1;for(f=rc(t.substr(0,x)),p=0;f<=n;)x++,p=f,f=rc(t.substr(0,x));if(x===1){var A=f;o=Math.max(o,f)}else A=p,o=Math.max(o,p);if(x--,1>x&&(x=1),Ep(e,t.substr(0,x),A),u++,t=t.substr(x),e.Gc+u>e.maxLines)break}for(p=Tf(e,a),f=rc(t+p);0e.maxLines))break}e.Le=Math.min(e.maxLines,u),e.Cb=Math.max(e.Cb,o),i!==null&&i.h(e.Cb,l*e.Le)}}function Tf(e,t){if(e.wrap===Ry)return t.substr(0,1);for(var n=t.length,i=0,r=Rb;i=t.length?t:t.substr(0,i)}function rc(e){return Ul===null?8*e.length:Ul.measureText(e).width}function wp(e){if(e.df!==null)return e.df;var t=e.Ae;if(Ul===null){var n=16;return e.df=n}return Ug[t]!==void 0&&5e3>Py?n=Ug[t]:(n=1.3*Ul.measureText("M").width,Ug[t]=n,Py++),e.df=n}function My(e){if(Ul===null)return 6;if(V0[e]!==void 0&&5e3>Hg)var t=V0[e];else t=Ul.measureText(Tp).width,V0[e]=t,Hg++;return t}function Oy(e,t){var n=e.ec.replace(/\r\n/g,` +`,0),0<=a&&(o=o.substr(0,a)),o=rc(o);o=Math.min(o,e/this.scale)}else o=this.desiredSize.width;if(this.panel!==null&&(o=Math.min(o,this.panel.maxSize.width)),a=Oy(this,o),isNaN(this.desiredSize.height)?a=Math.min(a,t/this.scale):a=this.desiredSize.height,u=a,this.Cb!==0&&this.Qc!==null&&this.Qb!==null&&this.overflow===W0&&(t=this.Ae,t=this.overflow===W0?My(t):0,f=this.spacingAbove+this.spacingBelow,f=Math.max(0,wp(this)+f),u=Math.min(this.maxLines-1,Math.max(Math.floor(u/f+.01)-1,0)),!(u+1>=this.Qb.length))){for(this.l|=16777216,f=this.Qb[u],t=Math.max(1,e-t);rc(f)>t&&1e.maxLines&&(e.l|=16777216))}function Fg(e,t,n,i){var r=e.formatting===Cp;r&&(t=t.trim());var o=0,a=e.Ae,l=e.spacingAbove+e.spacingBelow;l=Math.max(0,wp(e)+l);var u=e.overflow===W0?My(a):0;if(e.Gc>=e.maxLines)i!==null&&i.h(0,l);else if(a=t,e.wrap===Bg){e.Le=1;var f=rc(t);if(u===0||f<=n)e.Cb=Math.max(e.Cb,f),Ep(e,t,e.Cb),i!==null&&i.h(f,l);else{for(o=Tf(e,a),a=a.substr(o.length),t=Tf(e,a),f=rc(o+t);0n&&1n;){var x=1;for(f=rc(t.substr(0,x)),p=0;f<=n;)x++,p=f,f=rc(t.substr(0,x));if(x===1){var N=f;o=Math.max(o,f)}else N=p,o=Math.max(o,p);if(x--,1>x&&(x=1),Ep(e,t.substr(0,x),N),u++,t=t.substr(x),e.Gc+u>e.maxLines)break}for(p=Tf(e,a),f=rc(t+p);0e.maxLines))break}e.Le=Math.min(e.maxLines,u),e.Cb=Math.max(e.Cb,o),i!==null&&i.h(e.Cb,l*e.Le)}}function Tf(e,t){if(e.wrap===Ry)return t.substr(0,1);for(var n=t.length,i=0,r=Rb;i=t.length?t:t.substr(0,i)}function rc(e){return zl===null?8*e.length:zl.measureText(e).width}function wp(e){if(e.df!==null)return e.df;var t=e.Ae;if(zl===null){var n=16;return e.df=n}return Ug[t]!==void 0&&5e3>Py?n=Ug[t]:(n=1.3*zl.measureText("M").width,Ug[t]=n,Py++),e.df=n}function My(e){if(zl===null)return 6;if(V0[e]!==void 0&&5e3>Hg)var t=V0[e];else t=zl.measureText(Tp).width,V0[e]=t,Hg++;return t}function Oy(e,t){var n=e.ec.replace(/\r\n/g,` `).replace(/\r/g,` `),i=e.spacingAbove+e.spacingBelow;if(i=Math.max(0,wp(e)+i),n.length===0)return e.Cb=0,e.Gc=1,i;if(!e.isMultiline){var r=n.indexOf(` `,0);0<=r&&(n=n.substr(0,r))}r=0;for(var o=e.Gc=0,a,l=!1;!l;){if(a=n.indexOf(` -`,o),a===-1&&(a=n.length,l=!0),o<=a){if(o=n.substr(o,a-o),e.wrap!==Bg){e.Le=0;var u=fi.alloc();Fg(e,o,t,u),r+=u.height,fi.free(u),e.Gc+=e.Le}else Fg(e,o,t,null),r+=i,e.Gc++;e.Gc===e.maxLines&&(l=!0)}o=a+1}return e.Lq=r}dt.Object.defineProperties(Do.prototype,{font:{get:function(){return this.Ae},set:function(e){var t=this.Ae;t!==e&&(this.Ae=e,this.df=null,this.v(),this.g("font",t,e))}},text:{get:function(){return this.ec},set:function(e){var t=this.ec;e!=null?e=e.toString():e="",t!==e&&(this.ec=e,this.v(),this.g("text",t,e),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(e){var t=this.textAlign;t===e||e!=="start"&&e!=="end"&&e!=="left"&&e!=="right"&&e!=="center"||(Mc(this),this.da.Or=e,this.N(),this.g("textAlign",t,e))}},flip:{get:function(){return this.da!==null?this.da.Xf:xn},set:function(e){var t=this.flip;t!==e&&(Mc(this),this.da.Xf=e,this.N(),this.g("flip",t,e))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:oa},set:function(e){var t=this.verticalAlignment;t.D(e)||(e=e.J(),Mc(this),this.da.Yr=e,xl(this),this.g("verticalAlignment",t,e))}},naturalBounds:{get:function(){if(!this.dc.w()){var e=fi.alloc();Fg(this,this.ec,999999,e);var t=e.width;fi.free(e),e=Oy(this,t);var n=this.desiredSize;isNaN(n.width)||(t=n.width),isNaN(n.height)||(e=n.height),Ba(this.dc,t,e)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(e){var t=(this.l&2097152)!==0;t!==e&&(this.l^=2097152,this.v(),this.g("isMultiline",t,e))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(e){var t=(this.l&4194304)!==0;t!==e&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",t,e))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(e){var t=(this.l&8388608)!==0;t!==e&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",t,e))}},wrap:{get:function(){return this.da!==null?this.da.$r:_g},set:function(e){var t=this.wrap;t!==e&&(Mc(this),this.da.$r=e,this.v(),this.g("wrap",t,e))}},overflow:{get:function(){return this.da!==null?this.da.$q:zg},set:function(e){var t=this.overflow;t!==e&&(Mc(this),this.da.$q=e,this.v(),this.g("overflow",t,e))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(e){var t=this.xc;t!==e&&(e!==null&&$d(e,"TextBlock.stroke"),e instanceof ao&&e.freeze(),this.xc=e,this.N(),this.g("stroke",t,e))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return wp(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(e){var t=(this.l&1048576)!==0;t!==e&&(this.l^=1048576,this.g("editable",t,e))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(e){var t=this.textEditor;t!==e&&(Mc(this),this.da.Qr=e,this.g("textEditor",t,e))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(e){var t=this.errorFunction;t!==e&&(Mc(this),this.da.Hd=e,this.g("errorFunction",t,e))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(e){var t=this.interval;if(e=Math.round(e),t!==e&&e!==0&&isFinite(e)){this.fa===null&&(this.fa=new Uc),this.fa.Tk=e,this.v();var n=this.panel;n!==null&&(n.graduatedIntervals=null),this.g("interval",t,e)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(e){var t=this.graduatedStart;t!==e&&(0>e?e=0:1e?e=0:1=e&&Ot(e,"> 0",Do,"maxLines"),Mc(this),this.da.Jq=e,this.v(),this.g("maxLines",t,e))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(e){var t=this.Gm;t!==e&&(this.Gm=e,this.g("choices",t,e))}}});var j0=null,G0=null,Bg=new Kt(Do,"None",0),Ly=new Kt(Do,"WrapFit",1),_g=new Kt(Do,"WrapDesiredSize",2),Ry=new Kt(Do,"WrapBreakAll",3),zg=new Kt(Do,"OverflowClip",0),W0=new Kt(Do,"OverflowEllipsis",1),Cp=new Kt(Do,"FormatTrim",0),Dy=new Kt(Do,"FormatNone",0),Rb=/[ \u200b\u00ad]/,Ug=new oe,Py=0,V0=new oe,Hg=0,Tp="...",Fy="",Ul=null,K0=!1;Do.className="TextBlock";function $g(){this.nc=!1,this.Hd=null,this.Xf=xn,this.gq=Cp,this.Jq=1/0,this.$q=zg,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=oa,this.$r=_g}$g.prototype.copy=function(){var e=new $g;return e.Hd=this.Hd,e.Xf=this.Xf,e.gq=this.gq,e.Jq=this.Jq,e.$q=this.$q,e.Dr=this.Dr,e.Er=this.Er,e.Or=this.Or,e.Pr=this.Pr,e.Qr=this.Qr,e.vj=this.vj,e.Yr=this.Yr,e.$r=this.$r,e},Do.getEllipsis=function(){return Tp},Do.setEllipsis=function(e){Tp=e,V0=new oe,Hg=0},Do.getBaseline=function(){return j0},Do.setBaseline=function(e){j0=e},Do.getUnderline=function(){return G0},Do.setUnderline=function(e){G0=e},Do.isValidFont=function(e){if(K0||(Ul=Ca?new Hu(null).context:null,K0=!0),Ul===null)return!0;var t=Ul.font;if(e===t||e==="10px sans-serif")return!0;Ul.font="10px sans-serif",Ul.font=e;var n=Ul.font;if(n!=="10px sans-serif")return Ul.font=t,!0;Ul.font="19px serif";var i=Ul.font;return Ul.font=e,n=Ul.font,Ul.font=t,n!==i},Do.FormatNone=Dy,Do.FormatTrim=Cp,Do.None=Bg,Do.OverflowClip=zg,Do.OverflowEllipsis=W0,Do.WrapBreakAll=Ry,Do.WrapDesiredSize=_g,Do.WrapFit=Ly;function Uc(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Uc.prototype.copy=function(){var e=new Uc;return e.Tk=this.Tk,e.u=this.u,e.j=this.j,e.F=this.F,e.o=this.o,e},Uc.className="GradElementSettings";function Hl(e,t){at.call(this),this.Eg=null,this.qo="",this.Xg=Sn,this.Nk=Tn,this.Zg=this.Hd=null,this.Mk=Dr,this.Xf=xn,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof e=="string"?this.source=e:e&&Object.assign(this,e),t&&Object.assign(this,t)}var Nf;xi(Hl,at),Hl.prototype.cloneProtected=function(e){at.prototype.cloneProtected.call(this,e),e.qo=this.qo,e.element=this.Eg,e.Xg=this.Xg.J(),e.Nk=this.Nk,e.Xf=this.Xf,e.Hd=this.Hd,e.Zg=this.Zg,e.Mk=this.Mk.J(),e.en=this.en,e.rl=this.rl},Hl.prototype.qb=function(e){e===xn||e===hi||e===Fr?this.imageStretch=e:at.prototype.qb.call(this,e)},Hl.prototype.toString=function(){return"Picture("+this.source+")#"+It(this)};function Af(e){e===void 0&&(e=""),e!==""?Nf[e]&&(delete Nf[e],Z0--):(Nf=new oe,Z0=0)}function By(e,t){t.qy||(t.Fq=function(n){t.sq=!0,t.ln=!1;var i=t.Bg.copy();if(i!=null){for(i=i.iterator;i.next();){var r=i.value;r.N();var o=t.getAttribute("src")||"",a=r.Og.I(o);if(a!==null)for(var l=a.length,u=0;u=i.width&&(o=o+_.offsetX+(x*_.x-i.width*_.x)),A>=i.height&&(a=a+_.offsetY+(A*_.y-i.height*_.y)),u=Math.min(i.width,x),l=Math.min(i.height,A);break;case Tn:x=i.width,A=i.height;break;case hi:case Fr:R===hi?(R=Math.min(i.height/A,i.width/x),x*=R,A*=R):R===Fr&&(R=Math.max(i.height/A,i.width/x),x*=R,A*=R,x>=i.width&&(o=(o+_.offsetX+(x*_.x-i.width*_.x)/x)*u),A>=i.height&&(a=(a+_.offsetY+(A*_.y-i.height*_.y)/A)*l),u*=1/(x/i.width),l*=1/(A/i.height),x=i.width,A=i.height)}R=this.Df()*t.scale;var V=x*R*A*R,be=u*l/V,le=n.__goCache;R=null;var Pe=Db;if(!r){if(n.sq&&le!==void 0&&4Pe*Pe)for(le.gi===null&&(zy(le,4,f,p,n),zy(le,16,f,p,n)),r=le.gi,f=r.length,p=0;pe)&&(e=5),e=Math.min(e,t/3),e=Math.min(e,n/3);var i="rr"+t+","+n+","+e,r=qe.Mf[i];if(r!==void 0)return r;var o=e*qe.wg;return r=new Pn().add(new Ia(e,0,!0).add(new Lr(so,t-e,0)).add(new Lr(Ha,t,e,t-o,0,t,o)).add(new Lr(so,t,n-e)).add(new Lr(Ha,t-e,n,t,n-o,t-o,n)).add(new Lr(so,e,n)).add(new Lr(Ha,0,n-e,o,n,0,n-o)).add(new Lr(so,0,e)).add(new Lr(Ha,e,0,0,o,o,0).close())),1r.x&&e.y>r.y&&e.rightr.x&&t.y>r.y&&t.right=n.maxSelectionCount)){this.G^=4096;var i=!1;if(n!==null){i=n.skipsUndoManager,n.skipsUndoManager=!0;var r=n.selection;r.ka(),e?r.add(this):r.remove(this),r.freeze()}this.g("isSelected",t,e),this.Wb(),e=this.selectionChanged,e!==null&&e(this),n!==null&&(n.$b(),n.skipsUndoManager=i)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(e){var t=(this.G&524288)!==0;if(t!==e){this.G^=524288;var n=this.diagram;n!==null&&(n=n.highlighteds,n.ka(),e?n.add(this):n.remove(this),n.freeze()),this.g("isHighlighted",t,e),this.N(),e=this.highlightedChanged,e!==null&&e(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(e){var t=(this.G&8192)!==0;t!==e&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",t,e),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(e){var t=(this.G&262144)!==0;t!==e&&(this.G^=262144,this.g("isAnimated",t,e))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(e){var t=this.highlightedChanged;t!==e&&($l(this),this.P.oq=e,this.g("highlightedChanged",t,e))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(e){var t=this.selectionObjectName;t!==e&&($l(this),this.P.vr=e,this.Ug=null,this.g("selectionObjectName",t,e))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(e){var t=this.selectionAdornmentTemplate;t!==e&&($l(this),this.P.tr=e,this.g("selectionAdornmentTemplate",t,e))}},selectionObject:{get:function(){if(this.Ug===null){var e=this.selectionObjectName;e!==null&&e!==""?(e=this.fb(e),e!==null?this.Ug=e:this.Ug=this):this instanceof Fn?(e=this.path,e!==null?this.Ug=e:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(e){var t=this.selectionChanged;t!==e&&($l(this),this.P.ur=e,this.g("selectionChanged",t,e))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(e){var t=this.resizeAdornmentTemplate;t!==e&&($l(this),this.P.fr=e,this.g("resizeAdornmentTemplate",t,e))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(e){var t=this.resizeObjectName;t!==e&&($l(this),this.P.hr=e,this.g("resizeObjectName",t,e))}},resizeObject:{get:function(){var e=this.resizeObjectName;return e!==""&&(e=this.fb(e),e!==null)?e:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Na},set:function(e){var t=this.resizeCellSize;t.D(e)||(e=e.J(),$l(this),this.P.gr=e,this.g("resizeCellSize",t,e))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(e){var t=this.rotateAdornmentTemplate;t!==e&&($l(this),this.P.ir=e,this.g("rotateAdornmentTemplate",t,e))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(e){var t=this.rotateObjectName;t!==e&&($l(this),this.P.jr=e,this.g("rotateObjectName",t,e))}},rotateObject:{get:function(){var e=this.rotateObjectName;return e!==""&&(e=this.fb(e),e!==null)?e:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Wr},set:function(e){var t=this.rotationSpot;t.D(e)||(e=e.J(),$l(this),this.P.lr=e,this.g("rotationSpot",t,e))}},text:{get:function(){return this.ec},set:function(e){var t=this.ec;t!==e&&(this.ec=e,this.g("text",t,e))}},containingGroup:{get:function(){return this.Ah},set:function(e){if(this.Zc()){var t=this.Ah;if(t!==e){e===null||this!==e&&!e.Td(this)||(this===e&&Ve("Cannot make a Group a member of itself: "+this.toString()),Ve("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+e.toString())),this.C(2);var n=this.diagram;if(t!==null?ev(t,this):this instanceof nr&&n!==null&&n.ai.remove(this),this.Ah=e,e!==null?qg(e,this):this instanceof nr&&n!==null&&n.ai.add(this),this.C(1),n!==null&&n.aa){var i=this.data,r=n.model;if(i!==null&&r.Xj()){var o=r.wa(e!==null?e.data:null);r.mp(i,o)}}if(i=this.containingGroupChanged,i!==null&&(r=!0,n!==null&&(r=n.aa,n.aa=!0),i(this,t,e),n!==null&&(n.aa=r)),this instanceof nr){for(n=new Zt,Wh(n,this,!0,0,!0),n=n.iterator;n.next();)if(i=n.value,i instanceof Xn)for(i=i.linksConnected;i.next();)Mf(i.value)}if(this instanceof Xn){for(n=this.linksConnected;n.next();)Mf(n.value);n=this.labeledLink,n!==null&&Mf(n)}this.g("containingGroup",t,e),e!==null&&(t=e.layer,t!==null&&Z(t,-1,e))}}else Ve("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(e){var t=this.containingGroupChanged;t!==e&&($l(this),this.P.Kp=e,this.g("containingGroupChanged",t,e))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Xn&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(e){var t=this.layoutConditions;t!==e&&($l(this),this.P.Cq=e,this.g("layoutConditions",t,e))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(e){var t=this.dragComputation;t!==e&&($l(this),this.P.Up=e,this.g("dragComputation",t,e))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:Br},set:function(e){var t=this.shadowOffset;t.D(e)||(e=e.J(),$l(this),this.P.zr=e,this.N(),this.g("shadowOffset",t,e))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(e){var t=this.shadowColor;t!==e&&($l(this),this.P.yr=e,this.N(),this.g("shadowColor",t,e))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(e){var t=this.shadowBlur;t!==e&&($l(this),this.P.Vg=e,this.N(),this.g("shadowBlur",t,e))}}}),Ai.prototype.invalidateLayout=Ai.prototype.C,Ai.prototype.findCommonContainingGroup=Ai.prototype.px,Ai.prototype.isMemberOf=Ai.prototype.Td,Ai.prototype.findTopLevelPart=Ai.prototype.sz,Ai.prototype.findSubGraphLevel=Ai.prototype.oz,Ai.prototype.ensureBounds=Ai.prototype.Va,Ai.prototype.getDocumentBounds=Ai.prototype.mi,Ai.prototype.findObject=Ai.prototype.fb,Ai.prototype.moveTo=Ai.prototype.moveTo,Ai.prototype.invalidateAdornments=Ai.prototype.Wb,Ai.prototype.clearAdornments=Ai.prototype.Ej,Ai.prototype.removeAdornment=Ai.prototype.Jf,Ai.prototype.addAdornment=Ai.prototype.bh,Ai.prototype.findAdornment=Ai.prototype.Pj,Ai.prototype.updateTargetBindings=Ai.prototype.La;var Qy=!1;Ai.className="Part",Ai.LayoutNone=0,Ai.LayoutAdded=1,Ai.LayoutRemoved=2,Ai.LayoutShown=4,Ai.LayoutHidden=8,Ai.LayoutNodeSized=16,Ai.LayoutGroupLayout=32,Ai.LayoutNodeReplaced=64,Ai.LayoutStandard=127,Ai.LayoutAll=16777215;function Zr(e,t){e===void 0||e instanceof ls||typeof e=="string"?Ai.call(this,e):(Ai.call(this),e&&(t=e)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,t&&Object.assign(this,t)}xi(Zr,Ai),Zr.prototype.toString=function(){var e=this.adornedPart;return"Adornment("+this.category+")"+(e!==null?e.toString():"")},Zr.prototype.updateRelationshipsFromData=function(){},Zr.prototype.Ul=function(e){var t=this.adornedObject,n=t==null?void 0:t.part;if(n instanceof Fn&&t instanceof fr){t=n.path,n.Ul(e),e=t.geometry,n=this.O.s,t=n.length;for(var i=0;ie&&(e=1);var t=this.diagram;if(t!==null&&!t.Ue){t.Ue=!0;var n=new Zt;n.add(this),o1(this,n,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===mh),t.Ue=!1}};function o1(e,t,n,i,r,o,a){if(1e&&(e=2);var t=this.diagram;if(t!==null&&!t.Ue){t.Ue=!0;var n=new Zt;n.add(this),s1(this,n,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===mh),t.Ue=!1}};function s1(e,t,n,i,r,o,a){for(var l=o===e?!1:e.isTreeExpanded,u=n?e.Mo():e.Sd(),f={};u.next();){var p=u.value;if(p.isTreeLink&&(l||p.fd||p.bb(),p=p.To(e),p!==null&&p!==e&&!t.contains(p))){if(t.add(p),!l){p.Zb(!0),p.oh();var x=n?p.Oo():p.Po();f.vv=e,x.all(function(A){return function(R){return R===A.vv||!R.isTreeExpanded}}(f))&&r.Cj(p,o)}(2r&&(r=l.right),l.bottom>o&&(o=l.bottom)}}return isFinite(n)&&isFinite(i)?e.h(n,i,r-n,o-i):(t=t.location,e.h(t.x,t.y,0,0)),e},dt.Object.defineProperties(wl.prototype,{padding:{get:function(){return this.yb},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.g("padding",t,e),this.v())}}}),wl.className="Placeholder";function Fn(e){Ai.call(this,An.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Cl,this.Om=0,this.Qm=Cl,this.Rm=NaN,this.qj=ov,this.po=.5,this.wd=null,this.Nb=new Xt().freeze(),this.Tg=this.Mg=null,this.ml=new Wt,this.ua=new Pn,this.u=this.o=this.Sf=this.Wf=null,this.su=new he,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],e&&Object.assign(this,e)}xi(Fn,Ai),Fn.prototype.cloneProtected=function(e){Ai.prototype.cloneProtected.call(this,e),e.Qa=this.Qa&-113,e.ff=this.ff,e.gn=this.gn,e.vf=this.vf,e.uo=this.uo,e.qk=this.qk,e.Om=this.Om,e.Qm=this.Qm,e.Rm=this.Rm,e.qj=this.qj,e.po=this.po,this.ba!==null&&(e.ba=this.ba.copy())},U=Fn.prototype,U.Af=function(e){Ai.prototype.Af.call(this,e),this.ff=e.ff,this.vf=e.vf,e.Mg=null,e.bb(),e.Sf=this.Sf;var t=e.fromPort;t!==null&&iu(t),e=e.toPort,e!==null&&iu(e)},U.qb=function(e){e.classType===Fn?(e.value&2)===2?this.routing=e:e===xu||e===wh||e===Lf?this.curve=e:e===Ip||e===sm||e===lm?this.adjusting=e:e!==ov&&e!==Cl&&Ve("Unknown Link enum value for a Link property: "+e):Ai.prototype.qb.call(this,e)},U.Xc=function(){this.ba===null&&(this.ba=new mp)},U.si=function(){var e=this.fromNode;if(e!==null){var t=e.findVisibleNode();if(t!==null&&(e=t),Sl(e)||jh(e))return!1}return e=this.toNode,!(e!==null&&(t=e.findVisibleNode(),t!==null&&(e=t),Sl(e)||jh(e)))},U.zv=function(){return!1},U.Av=function(){},U.Zc=function(){return!1},Fn.prototype.computeAngle=function(e,t,n){return Fn.computeAngle(t,n)},Fn.computeAngle=function(e,t){switch(e){default:case Cl:e=0;break;case Mp:e=t;break;case Op:e=t+90;break;case Lp:e=t-90;break;case av:e=t+180;break;case um:e=qe.bp(t),90e&&(e-=180);break;case Rp:e=qe.bp(t+90),90e&&(e-=180);break;case Dp:e=qe.bp(t-90),90e&&(e-=180);break;case cm:if(e=qe.bp(t),45e||225e)return 0;90e&&(e-=180)}return qe.bp(e)};function Mf(e){var t=e.fromNode,n=e.toNode,i=null;if(t!==null?i=n!==null?t.px(n):t.containingGroup:n!==null?i=n.containingGroup:i=null,t=i,n=e.Ah,n!==t){n!==null&&ev(n,e),e.Ah=t,t!==null&&qg(t,e);var r=e.containingGroupChanged;if(r!==null){var o=!0,a=e.diagram;a!==null&&(o=a.aa,a.aa=!0),r(e,n,t),a!==null&&(a.aa=o)}!e.fd||e.Lw!==n&&e.Mw!==n||e.bb()}if(e.isLabeledLink)for(e=e.labelNodes;e.next();)e.value.containingGroup=i}U=Fn.prototype,U.oh=function(){var e=this.containingGroup;e!==null&&this.fromNode!==e&&this.toNode!==e&&e.computesBoundsIncludingLinks&&Ai.prototype.oh.call(this)},U.To=function(e){var t=this.fromNode;return e===t?this.toNode:t},U.Cz=function(e){var t=this.fromPort;return e===t?this.toPort:t};function c1(e,t){e.wd===null&&(e.wd=new Zt),e.wd.add(t),e.v()}U.Vo=function(e){if(Ai.prototype.Vo.call(this,e),wd(this)&&this.Xo(this.actualBounds),!e){e=this.ef;var t=null;e!==null&&(t=this.fromPort,q0(e,this,t));var n=this.uf;if(n!==null){var i=this.toPort;n===e&&i===t||q0(n,this,i)}Ap(this)}},U.Wo=function(e){if(Ai.prototype.Wo.call(this,e),wd(this)&&this.Xo(this.actualBounds),!e){e=this.ef;var t=null;e!==null&&(t=this.fromPort,em(e,this,t));var n=this.uf;if(n!==null){var i=this.toPort;n===e&&i===t||em(n,this,i)}kp(this)}},U.Lj=function(){if(this.fd=!0,this.wd!==null){var e=this.diagram;if(e!==null)for(var t=this.wd.copy().iterator;t.next();)e.remove(t.value)}this.data!==null&&(e=this.diagram,e!==null&&e.partManager.removeDataForLink(this))},Fn.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var e=this.diagram;e!==null&&e.partManager.updateRelationshipsFromData(this)}},Fn.prototype.move=function(e,t){var n=t?this.location:this.position,i=n.x;isNaN(i)&&(i=0);var r=n.y;for(isNaN(r)&&(r=0),i=e.x-i,r=e.y-r,t===!0?Ai.prototype.move.call(this,e,!1):(e=he.allocAt(n.x+i,n.y+r),Ai.prototype.move.call(this,e,!1),he.free(e)),Eh(this,i,r),e=this.labelNodes;e.next();)t=e.value,n=t.position,t.moveTo(n.x+i,n.y+r)},Fn.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var e=this.layer;return e===null?!0:e.allowRelink?(e=e.diagram,!!(e===null||e.allowRelink)):!1},Fn.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var e=this.layer;return e===null?!0:e.allowRelink?(e=e.diagram,!!(e===null||e.allowRelink)):!1},Fn.prototype.computeMidPoint=function(e){var t=this.pointsCount;if(t===0)return e.assign(Ji),e;if(t===1)return e.assign(this.i(0)),e;if(t===2){var n=this.i(0),i=this.i(1);return e.h((n.x+i.x)/2,(n.y+i.y)/2),e}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===xu))return this.ua.Pu(.5,e),e.add(this.i(0)),n=this.ua.figures.first(),e.offset(-n.startX,-n.startY),e;if(this.computeCurve()===xu){if(t===3){n=this.i(0),i=this.i(1);var r=this.i(2);return qe.ax(n.x,n.y,i.x,i.y,i.x,i.y,r.x,r.y,e),e}if(i=(t-1)/3|0,n=3*(i/2|0),i%2===1){i=this.i(n),r=this.i(n+1);var o=this.i(n+2);n=this.i(n+3),qe.ax(i.x,i.y,r.x,r.y,o.x,o.y,n.x,n.y,e)}else e.assign(this.i(n));return e}var a=this.flattenedLengths;for(n=this.flattenedTotalLength,r=o=i=0;in/2));)i+=r,o++;return t=this.i(o),o=this.i(o+1),1>Math.abs(t.x-o.x)?t.y>o.y?e.h(t.x,t.y-(n/2-i)):e.h(t.x,t.y+(n/2-i)):1>Math.abs(t.y-o.y)?t.x>o.x?e.h(t.x-(n/2-i),t.y):e.h(t.x+(n/2-i),t.y):(n=(n/2-i)/r,e.h(t.x+n*(o.x-t.x),t.y+n*(o.y-t.y))),e},Fn.prototype.computeMidAngle=function(){var e=this.pointsCount;if(2>e)return NaN;if(e===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===xu))return this.ua.wx(.5);if(this.computeCurve()===xu&&4<=e){var t=(e-1)/3|0,n=3*(t/2|0);if(t%2===1){n=Math.floor(n),e=this.i(n),t=this.i(n+1);var i=this.i(n+2);return n=this.i(n+3),qe.My(e.x,e.y,t.x,t.y,i.x,i.y,n.x,n.y)}if(0i/2));)r+=o,n++;if(t=this.i(n),i=this.i(n+1),1>Math.abs(t.x-i.x)&&1>Math.abs(t.y-i.y)){if(0Math.abs(t.x-i.x))return t.y>i.y?270:90;if(1>Math.abs(t.y-i.y))return t.x>i.x?180:0}return t.ab(i)},U=Fn.prototype,U.i=function(e){return this.Nb.s[e]},U.dd=function(e,t){this.Nb.cd(e,t)},U.L=function(e,t,n){this.Nb.cd(e,new he(t,n))},U.Kz=function(e,t){this.Nb.Gb(e,t)},U.m=function(e,t,n){this.Nb.Gb(e,new he(t,n))},U.ne=function(e){this.Nb.add(e)},U.yf=function(e,t){this.Nb.add(new he(e,t))},U.pv=function(e){this.Nb.mb(e)},U.Fj=function(){this.Nb.clear()};function Eh(e,t,n){if(t!==0||n!==0)if(e.pointsCount===0)e.defaultFromPoint&&e.defaultFromPoint.offset(t,n),e.defaultToPoint&&e.defaultToPoint.offset(t,n);else{for(var i=e.fd,r=new Xt,o=e.Nb.iterator;o.next();){var a=o.value;r.add(new he(a.x+t,a.y+n).freeze())}r.freeze(),o=e.Nb,e.Nb=r,a=e.diagram,isNaN(t)||isNaN(n)||a!==null&&a.animationManager.zb?e.v():(e.ke.h(e.ke.x+t,e.ke.y+n),e.pa.h(e.pa.x+t,e.pa.y+n),xl(e)),i?nm(e):(e.defaultFromPoint&&(e.defaultFromPoint=e.i(0)),e.defaultToPoint&&(e.defaultToPoint=e.i(e.pointsCount-1))),a!==null&&a.animationManager.zb&&d(a.animationManager,e,r),e.g("points",o,r)}}U.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},U.zf=function(){if(this.Mg!==null){for(var e=this.Mg,t=this.Nb,n=1/0,i=1/0,r=e.s,o=r.length,a=0;af&&(x=-x),V=(0>u?-1:1)*x+R,be=p*(V-R)+_),R=o.x+2*l/3,_=o.y+2*u/3;var le=R,Pe=_;qe.B(u,0)?Pe=0u?-1:1)*x+R,Pe=p*(le-R)+_),this.Fj(),this.ne(o),this.yf(V,be),this.yf(le,Pe),this.ne(A),this.dd(0,this.getLinkPoint(e,t,a,!0,!1,i,r)),this.dd(3,this.getLinkPoint(i,r,n,!1,!1,e,t))}else o=i,A=r,i=this.getLinkPoint(e,t,a,!0,!1,o,A),r=this.getLinkPoint(o,A,n,!1,!1,e,t),this.hasCurviness()?(A=r.x-i.x,n=r.y-i.y,a=this.computeCurviness(),e=i.x+A/2,t=i.y+n/2,o=e,l=t,qe.B(n,0)?l=0a&&(o=-o),o=(0>n?-1:1)*o+e,l=A*(o-e)+t),this.ne(i),this.yf(o,l),this.ne(r)):(this.ne(i),this.ne(r),l=Wt.alloc(),t.mi(l),u=l.ca(r),A.mi(l),f=l.ca(i),(u||f)&&(a=t.ga(rm(a),new he),this.dd(0,this.getLinkPointFromPoint(e,t,a,r,!0,a)),n=A.ga(rm(n),new he),this.dd(1,this.getLinkPointFromPoint(o,A,n,i,!1,n))),Wt.free(l))}else{x=this.isAvoiding,A&&(p&&x||f)&&this.Fj();var Ue=f?this.computeCurviness():0;x=this.getLinkPoint(e,t,a,!0,p,i,r),R=V=_=0,(p||!l||f)&&(be=this.computeEndSegmentLength(e,t,a,!0),R=this.getLinkDirection(e,t,x,a,!0,p,i,r),f&&(l||a.D(n)||!p&&a.x+n.x===1&&a.y+n.y===1)&&(R-=p?90:30,0>Ue&&(R-=180)),0>R?R+=360:360<=R&&(R-=360),f&&(be+=Math.abs(Ue)*(p?1:2)),R===0?_=be:R===90?V=be:R===180?_=-be:R===270?V=-be:(_=be*Math.cos(R*Math.PI/180),V=be*Math.sin(R*Math.PI/180)),a.Mc()&&f&&(be=t.ga(Dr,he.alloc()),le=he.allocAt(be.x+1e3*_,be.y+1e3*V),this.getLinkPointFromPoint(e,t,be,le,!0,x),he.free(be),he.free(le))),be=this.getLinkPoint(i,r,n,!1,p,e,t);var Ge=Pe=le=0;if(p||!u||f){var rt=this.computeEndSegmentLength(i,r,n,!1);Ge=this.getLinkDirection(i,r,be,n,!1,p,e,t),f&&(u||a.D(n)||!p&&a.x+n.x===1&&a.y+n.y===1)&&(Ge+=p?0:30,0>Ue&&(Ge+=180)),0>Ge?Ge+=360:360<=Ge&&(Ge-=360),f&&(rt+=Math.abs(Ue)*(p?1:2)),Ge===0?le=rt:Ge===90?Pe=rt:Ge===180?le=-rt:Ge===270?Pe=-rt:(le=rt*Math.cos(Ge*Math.PI/180),Pe=rt*Math.sin(Ge*Math.PI/180)),n.Mc()&&f&&(n=r.ga(Dr,he.alloc()),a=he.allocAt(n.x+1e3*le,n.y+1e3*Pe),this.getLinkPointFromPoint(i,r,n,a,!1,be),he.free(n),he.free(a))}n=x,(p||!l||f)&&(n=new he(x.x+_,x.y+V)),a=be,(p||!u||f)&&(a=new he(be.x+le,be.y+Pe)),!A&&!p&&l&&3Math.abs(t.y-e.y)?(t.x>=e.x?t.x=e.x+9e9:t.x=e.x-9e9,t.y=e.y):(t.y>=e.y?t.y=e.y+9e9:t.y=e.y-9e9,t.x=e.x),t}Fn.prototype.getLinkPointFromPoint=function(e,t,n,i,r,o){if(o===void 0&&(o=new he),e===null||t===null)return o.assign(n),o;if(e.isVisible()||(r=e.findVisibleNode(),r!==null&&r!==e&&(t=r.port)),e=null,r=t.panel,r===null||r.se()||(r=r.panel),r===null){r=i.x,i=i.y;var a=n.x;n=n.y}else{e=r.oe,r=1/(e.m11*e.m22-e.m12*e.m21),a=e.m22*r;var l=-e.m12*r,u=-e.m21*r,f=e.m11*r,p=r*(e.m21*e.dy-e.m22*e.dx),x=r*(e.m12*e.dx-e.m11*e.dy);r=i.x*a+i.y*u+p,i=i.x*l+i.y*f+x,a=n.x*a+n.y*u+p,n=n.x*l+n.y*f+x}return t.Sj(r,i,a,n,o),e!==null&&o.transform(e),o};function im(e,t){var n=t.Zn;return n===null&&(n=new Kd,n.port=t,n.node=t.part,t.Zn=n),y1(n,e)}Fn.prototype.getLinkPoint=function(e,t,n,i,r,o,a,l){if(l===void 0&&(l=new he),n.sb()&&!Of(n))return t.ga(n,l),l;if(n.$c()){var u=im(this,t);if(u!==null){if(l.assign(u.Zo),r&&this.routing===d1){var f=im(this,a);if(f!==null&&u.Gl=p.y&&e.y<=p.y+p.height?l.y=e.y:(n.Hf(os)||n.Hf(Oa))&&e.x>=p.x&&e.x<=p.x+p.width&&(l.x=e.x),he.free(u),he.free(f)}}return l}}return n=t.ga(rm(n),he.alloc()),this.pointsCount>(r?6:2)?(a=i?this.i(1):this.i(this.pointsCount-2),r&&(a=tv(n,a.copy()))):(u=this.computeSpot(!i,a),o=he.alloc(),a=a.ga(rm(u),o),r&&(a=tv(n,a)),he.free(o)),this.getLinkPointFromPoint(e,t,n,a,i,l),he.free(n),l},Fn.prototype.getLinkDirection=function(e,t,n,i,r,o,a,l){e:if(i.sb())var u=i.x>i.y?i.x>1-i.y?0:i.x<1-i.y?270:315:i.x1-i.y?90:i.x<1-i.y?180:135:.5>i.x?225:.5(o?6:2)?(l=r?this.i(1):this.i(this.pointsCount-2),l=o?tv(u,l.copy()):n):(n=he.alloc(),l=l.ga(Dr,n),he.free(n)),n=Math.abs(l.x-u.x)>Math.abs(l.y-u.y)?l.x>=u.x?0:180:l.y>=u.y?90:270,he.free(u),u=n}return i.Mc()&&a.Td(e)&&(u+=180,360<=u&&(u-=360)),Of(i)||(e=t.li(),e===0)||(45<=e&&135>e?u+=90:135<=e&&225>e?u+=180:225<=e&&315>e&&(u+=270),360<=u&&(u-=360)),u},Fn.prototype.computeEndSegmentLength=function(e,t,n,i){return t!==null&&n.$c()&&(e=im(this,t),e!==null)?e.Ju:(e=i?this.fromEndSegmentLength:this.toEndSegmentLength,t!==null&&isNaN(e)&&(e=i?t.fromEndSegmentLength:t.toEndSegmentLength),isNaN(e)&&(e=10),e)},Fn.prototype.computeSpot=function(e,t){return t===void 0&&(t=null),e?(e=t||this.fromPort,e===null?e=Dr:(t=this.fromSpot,t.Xb()&&(t=e.fromSpot),e=t===Wr?Hi:t)):(e=t||this.toPort,e===null?e=Dr:(t=this.toSpot,t.Xb()&&(t=e.toSpot),e=t===Wr?Hi:t)),e};function Of(e){return e===Hi||e.x===.5&&e.y===.5}function rm(e){return e.x===.5&&e.y===.5?e:Dr}Fn.prototype.computeOtherPoint=function(e,t){return this.computeAdjusting()!==Cl&&4A.width||x.y>A.height||0>x.x+x.width||0>x.y+x.height)){if(x=sr.alloc(),x.set(a),p instanceof An)l=p.Cf(e,t,n,i,r,x);else if(this.path===p){if(p instanceof fr)if(l=e,A=i,p.pickable===!1)l=!1;else if(x.multiply(p.transform),A)e:{var R=l,_=x;if(p.fh(R,_))l=!0;else{if(_===void 0&&(_=p.transform,R.Re(p.actualBounds))){l=!0;break e}l=R.left,A=R.right;var V=R.top;R=R.bottom;var be=he.alloc(),le=he.alloc(),Pe=he.alloc(),Ue=sr.alloc();Ue.set(_),Ue.bv(p.transform),Ue.Vj(),le.x=A,le.y=V,le.transform(Ue),be.x=l,be.y=V,be.transform(Ue),_=!1,Sd(p,be,le,Pe)?_=!0:(be.x=A,be.y=R,be.transform(Ue),Sd(p,be,le,Pe)?_=!0:(le.x=l,le.y=R,le.transform(Ue),Sd(p,be,le,Pe)?_=!0:(be.x=l,be.y=V,be.transform(Ue),Sd(p,be,le,Pe)&&(_=!0)))),sr.free(Ue),he.free(be),he.free(le),he.free(Pe),l=_}}else l=p.fh(l,x)}else l=fs(p,e,i,x);l&&(A=p,t!==null&&(A=t(p)),A&&(n===null||n(A))&&r.add(A)),sr.free(x)}}}return o===void 0&&sr.free(a),l||this.background!==null||this.areaBackground!==null}return o===void 0&&sr.free(a),!1},Fn.prototype.computeCurve=function(){if(this.Wf===null){var e=this.fromPort,t=this.isOrthogonal;this.Wf=e!==null&&e===this.toPort&&!t}return this.Wf?xu:this.curve},Fn.prototype.computeCorner=function(){if(this.curve===xu)return 0;var e=this.corner;return(isNaN(e)||0>e)&&(e=10),e},Fn.prototype.findMidLabel=function(){for(var e=this.path,t=this.O.s,n=t.length,i=0;iu?-Math.PI/2:Math.PI/2;else p=Math.atan(u/Math.abs(l)),0>l&&(p=Math.PI-p);a=t.x;var x=t.y;l=i.x-a;var A=i.y-x;for(u=Math.sqrt(l*l+A*A),qe.$(l,0)?A=0>A?-Math.PI/2:Math.PI/2:(A=Math.atan(A/Math.abs(l)),0>l&&(A=Math.PI-A)),f=u/f,p=A-p,this.dd(e,t),e+=1;eu?-Math.PI/2:Math.PI/2:(u=Math.atan(u/Math.abs(l)),0>l&&(u=Math.PI-u)),l=u+p,t*=f,this.L(e,a+t*Math.cos(l),x+t*Math.sin(l)));this.dd(n,i)}}return!0;case lm:if(o=this.i(e),x=this.i(n),!o.Xa(t)||!x.Xa(i)){r=o.x,o=o.y,a=x.x,x=x.y,f=(a-r)*(a-r)+(x-o)*(x-o),l=t.x,p=t.y,u=i.x,A=i.y;var R=1;if(u-l!==0){var _=(A-p)/(u-l);R=Math.sqrt(1+1/(_*_))}else _=9e9;for(this.dd(e,t),e+=1;et?t+=360:360<=t&&(t-=360),0>i?i+=360:360<=i&&(i-=360);var a=i;t=315<=t||45>t?0:45<=t&&135>t?90:135<=t&&225>t?180:270,i=315<=i||45>i?0:45<=i&&135>i?90:135<=i&&225>i?180:270;var l=r.actualBounds.copy(),u=o.actualBounds.copy();if(l.w()&&u.w()){l.Bc(Pp,Pp),u.Bc(Pp,Pp),l.Ye(e),u.Ye(n);var f=he.alloc(),p=he.alloc();t===0?n.x>e.x||i===270&&n.ye.x||i===90&&n.y>e.y&&u.right>e.x?(f.h(n.x,e.y),p.h(n.x,(e.y+n.y)/2),i===180?(f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1),p.x=f.x,p.y=n.y):i===270&&n.ye.y?(f.x=e.xu.bottom)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):u.right,p.x=f.x,p.y=n.y):i===0&&e.xu.top&&e.yl.bottom)&&(i===180&&(u.ca(e)||l.ca(n))?f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):n.ye.y&&(i===180||i===270)&&(f.y=this.computeMidOrthoPosition(e.x,l.bottom,n.x,Math.min(n.y,u.top),!0)),p.x=n.x,p.y=f.y),f.y>l.top&&f.y=l.left&&n.x<=e.x||e.x<=u.right&&e.x>=n.x?(i===90||i===270)&&(f.h(Math.max((e.x+n.x)/2,e.x),e.y),p.h(f.x,n.y)):(f.y=i===270||(i===0||i===180)&&n.ye.y&&u.lefte.y?(f.x=e.x>u.right?this.computeMidOrthoPosition(e.x,e.y,u.right,n.y,!1):e.x>u.left&&(i===270&&e.yu.bottom)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):u.left,p.x=f.x,p.y=n.y):i===180&&e.x>u.right&&e.y>u.top&&e.yl.bottom)&&(i===0&&(u.ca(e)||l.ca(n))?f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):n.ye.y&&(i===0||i===270)&&(f.y=this.computeMidOrthoPosition(e.x,l.bottom,n.x,Math.min(n.y,u.top),!0)),p.x=n.x,p.y=f.y),f.y>l.top&&f.y=e.x||e.x>=u.left&&e.x<=n.x?(i===90||i===270)&&(f.h(Math.min((e.x+n.x)/2,e.x),e.y),p.h(f.x,n.y)):(f.y=i===270||(i===0||i===180)&&n.ye.y||i===180&&n.xe.y||i===0&&n.x>e.x&&u.bottom>e.y?(f.h(e.x,n.y),p.h((e.x+n.x)/2,n.y),i===270?(f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0),p.x=n.x,p.y=f.y):i===180&&n.xe.x?(f.y=e.yu.right)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):u.bottom,p.x=n.x,p.y=f.y):i===90&&e.yu.left&&e.xl.right)&&(i===270&&(u.ca(e)||l.ca(n))?f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):n.xe.x&&(i===270||i===180)&&(f.x=this.computeMidOrthoPosition(l.right,e.y,Math.min(n.x,u.left),n.y,!1)),p.x=f.x,p.y=n.y),f.x>l.left&&f.x=l.top&&n.y<=e.y||e.y<=u.bottom&&e.y>=n.y?(i===0||i===180)&&(f.h(e.x,Math.max((e.y+n.y)/2,e.y)),p.h(n.x,f.y)):(f.x=i===180||(i===90||i===270)&&n.xe.x&&u.top=e.x?(f.y=e.y>u.bottom?this.computeMidOrthoPosition(e.x,e.y,n.x,u.bottom,!0):e.y>u.top&&(i===180&&e.xu.right)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):u.top,p.x=n.x,p.y=f.y):i===270&&e.y>u.bottom&&e.x>u.left&&e.xl.right)&&(i===90&&(u.ca(e)||l.ca(n))?f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):n.xe.x&&(i===90||i===180)&&(f.x=this.computeMidOrthoPosition(l.right,e.y,Math.min(n.x,u.left),n.y,!1)),p.x=f.x,p.y=n.y),f.x>l.left&&f.x=e.y||e.y>=u.top&&e.y<=n.y?(i===0||i===180)&&(f.h(e.x,Math.min((e.y+n.y)/2,e.y)),p.h(n.x,f.y)):(f.x=i===180||(i===90||i===270)&&n.x=Df&&(m1(R),l.Bc(R.Ho*R.Hx,R.Go*R.Ix),g1(R,e,t,x,i,l,!1),u=Hc(R,x.x,x.y)),!R.abort&&uthis.pointsCount?(t===0||t===180?(l.x=e.x,l.y=x.y):(l.x=x.x,l.y=e.y),this.L(2,l.x,l.y),this.m(3,l.x,l.y)):(a=this.i(3),t===0||t===180?qe.B(l.x,a.x)?(l=t===0?Math.max(l.x,e.x):Math.min(l.x,e.x),this.L(2,l,e.y),this.L(3,l,a.y)):qe.B(l.y,a.y)?(Math.abs(e.y-l.y)<=R.Go/2&&(this.L(2,l.x,e.y),this.L(3,a.x,e.y)),this.m(2,l.x,e.y)):this.L(2,e.x,l.y):(t===90||t===270)&&(qe.B(l.y,a.y)?(l=t===90?Math.max(l.y,e.y):Math.min(l.y,e.y),this.L(2,e.x,l),this.L(3,a.x,l)):qe.B(l.x,a.x)?(Math.abs(e.x-l.x)<=R.Ho/2&&(this.L(2,e.x,l.y),this.L(3,e.x,a.y)),this.m(2,e.x,l.y)):this.L(2,l.x,e.y))),n!==null&&(e=this.i(1),a=this.i(2),e.x!==a.x&&e.y!==a.y?t===0||t===180?this.m(2,e.x,a.y):this.m(2,a.x,e.y):t===0||t===180?this.m(2,r.x,n.y):this.m(2,n.x,r.y)),_!==null&&(i===0||i===180?this.yf(o.x,_.y):this.yf(_.x,o.y)),t=!0):t=!1}}}else t=!1;t||(this.ne(f.copy()),this.ne(p.copy())),he.free(f),he.free(p)}},Fn.prototype.computeMidOrthoPosition=function(e,t,n,i,r){var o=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(o=this.computeCurviness()),r?(t+i)/2+o:(e+n)/2+o};function nv(e){if(e.diagram===null||!e.isAvoiding||!hf(e.diagram))return!1;var t=e.points.s,n=t.length;if(4>n)return!1;e=df(e.diagram,!0,e.containingGroup,null);for(var i=1;iCd&&Hc(t,p,x)!==f-1&&(Hc(t,n-l,i)===f-1?(r=180,p=n-l,x=i):Hc(t,n+l,i)===f-1?(r=0,p=n+l,x=i):Hc(t,n,i-u)===f-1?(r=270,p=n,x=i-u):Hc(t,n,i+u)===f-1&&(r=90,p=n,x=i+u));f>Cd&&Hc(t,p,x)===f-1;)n=p,i=x,r===0?p+=l:r===90?x+=u:r===180?p-=l:x-=u,--f;o?f>Cd&&(r===180||r===0?n=Math.floor(n/l)*l+l/2:(r===90||r===270)&&(i=Math.floor(i/u)*u+u/2)):(n=Math.floor(n/l)*l+l/2,i=Math.floor(i/u)*u+u/2),f>Cd&&(o=r,a=n,p=i,r===0?(o=90,p+=u):r===90?(o=180,a-=l):r===180?(o=270,p-=u):r===270&&(o=0,a+=l),Hc(t,a,p)===f-1?iv(e,t,a,p,o,!1,o):(a=n,p=i,r===0?(o=270,p-=u):r===90?(o=0,a+=l):r===180?(o=90,p+=u):r===270&&(o=180,a-=l),Hc(t,a,p)===f-1&&iv(e,t,a,p,o,!1,o))),e.yf(n,i)}Fn.prototype.ez=function(e){var t=e.x;e=e.y;for(var n=this.i(0),i=this.i(1),r=Rr(t,e,n.x,n.y,i.x,i.y),o=0,a=1;athis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),e=this.path,e!==null)){e.ua=this.ua;for(var t=this.O.s,n=t.length,i=0;i=t&&(i=t-1),u=this.i(i),o.x=Math.min(u.x,o.x),o.y=Math.min(u.y,o.y);i=o.x,u=o.y}else{for(u=0;ube?_>R?(o.x=le-Ue,o.y=R-Ue,r.x=le+V,r.y=R+V):(o.x=le-Ue,o.y=R+Ue,r.x=le+V,r.y=R-V):_>R?(o.x=le+Ue,o.y=R-Ue,r.x=le-V,r.y=R+V):(o.x=le+Ue,o.y=R+Ue,r.x=le-V,r.y=R-V)),qe.$(be,le)&&qe.$(R,_)&&(R>A?(Pe>le?(o.x=le-Ue,o.y=R-Ue,r.x=le+V):(o.x=le+Ue,o.y=R-Ue,r.x=le-V),r.y=R+V):(Pe>le?(o.x=le-Ue,o.y=R+Ue,r.x=le+V):(o.x=le+Ue,o.y=R+Ue,r.x=le-V),r.y=R-V)),(qe.$(be,le)&&qe.$(le,Pe)||qe.$(A,R)&&qe.$(R,_))&&(be=.5*(be+Pe),A=.5*(A+_),o.x=be,o.y=A,r.x=be,r.y=A),(x===1||x===2&&qe.$(a.x,this.i(0).x)&&qe.$(a.y,this.i(0).y))&&(n.x=.5*(a.x+f.x),n.y=.5*(a.y+f.y)),bh(l,n.x-i,n.y-u,o.x-i,o.y-u,f.x-i,f.y-u),t.set(o),n.set(r),a=f}}f=a.x,a=a.y,p=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(p=jd(this,p.copy(),!1,vr)),f=.5*(f+p.x),a=.5*(a+p.y),bh(l,r.x-i,r.y-u,f-i,a-u,p.x-i,p.y-u),he.free(t),he.free(n),he.free(o),he.free(r)}else for(n=3;n=t&&(n=t-1),r=this.i(n-1),a=this.i(n),n===t-1&&this.computeShortLength(!1)!==0&&(a=jd(this,a.copy(),!1,vr)),bh(l,o.x-i,o.y-u,r.x-i,r.y-u,a.x-i,a.y-u);else{for(o=he.alloc(),o.assign(this.i(0)),r=he.alloc(),r.assign(o),a=this.computeCorner(),x=1,f=0;x=t-1){if(!o.D(p))this.computeShortLength(!1)!==0&&(p=jd(this,p.copy(),!1,vr)),Gd(this,l,-i,-u,o,p,n);else if(f===0)for(x=1;xo.x?Ge=A.x-_:Ge=A.x+_,le.y>A.y?Pe=A.y+Ue:Pe=A.y-Ue,le=he.allocAt(Ge,rt),Gd(this,l,x,be,o,le,V),he.free(le),Y0(l,A.x+x,A.y+be,R+x,Pe+be),o.h(R,Pe)}else qe.B(o.x,A.x)&&qe.B(A.y,le.y)?(_=Math.min(a,Math.abs(A.y-r.y)/2),_=Ue=Math.min(_,Math.abs(le.x-A.x)/2),qe.B(Ue,0)?(Gd(this,l,x,be,o,A,V),o.assign(A)):(Ge=A.x,rt=A.y,R=Ge,Pe=rt,A.y>o.y?rt=A.y-_:rt=A.y+_,le.x>A.x?R=A.x+Ue:R=A.x-Ue,le=he.allocAt(Ge,rt),Gd(this,l,x,be,o,le,V),he.free(le),Y0(l,A.x+x,A.y+be,R+x,Pe+be),o.h(R,Pe))):(Gd(this,l,x,be,o,A,V),o.assign(A));r.assign(p),x=f}he.free(o)}X0=l}else l=this.i(1).copy(),l.x-=i,l.y-=u,this.computeShortLength(!0)!==0&&(r=jd(this,r,!0,o)),this.computeShortLength(!1)!==0&&(l=jd(this,l,!1,o)),e.type=Pn.j,e.startX=r.x,e.startY=r.y,e.endX=l.x,e.endY=l.y;return this.lk=!0,e};function om(e,t,n,i){return e=n-e,isNaN(e)||e===1/0||e===-1/0?NaN:(0>e&&(e=-e),t=i-t,isNaN(t)||t===1/0||t===-1/0?NaN:(0>t&&(t=-t),qe.$(e,0)?t:qe.$(t,0)?e:Math.sqrt(e*e+t*t)))}function jd(e,t,n,i){var r=e.pointsCount;if(2>r)return t;if(n){var o=e.i(1);if(n=o.x-i.x,o=o.y-i.y,i=om(t.x,t.y,n,o),i===0)return t;r=r===2?.5*i:i,e=e.computeShortLength(!0),e>r&&(e=r),r=e*(o-t.y)/i,t.x+=e*(n-t.x)/i,t.y+=r}else{if(o=e.i(r-2),n=o.x-i.x,o=o.y-i.y,i=om(t.x,t.y,n,o),i===0)return t;r=r===2?.5*i:i,e=e.computeShortLength(!1),e>r&&(e=r),r=e*(t.y-o)/i,t.x-=e*(t.x-n)/i,t.y-=r}return t}function rv(e,t,n,i){for(var r=e.pointsCount,o=t;qe.$(t.x,o.x)&&qe.$(t.y,o.y);){if(n>=r)return r-1;o=e.i(n++)}if(!qe.$(t.x,o.x)&&!qe.$(t.y,o.y))return n-1;for(var a=o;qe.$(t.x,o.x)&&qe.$(o.x,a.x)&&(!i||(t.y>=o.y?o.y>=a.y:o.y<=a.y))||qe.$(t.y,o.y)&&qe.$(o.y,a.y)&&(!i||(t.x>=o.x?o.x>=a.x:o.x<=a.x));){if(n>=r)return r-1;a=e.i(n++)}return n-2}Fn.prototype.computeJumpLength=function(){return 10};function Gd(e,t,n,i,r,o,a){if(!a&&wd(e)){a=e.computeJumpLength();var l=a/2,u=[],f=0;if(e.isVisible()&&(f=zb(e,r,o,u)),0x-a);)f--,x=Math.max(p-l,o.x);p=o.y-a+i,x+=n,R=o.y+i,e.curve===wh?If(t,x,R,!1):bh(t,A,p,x,p,x,R)}else if(qe.B(r.x,o.x))if(r.yp-a);)f--,p=Math.max(x-l,o.y);x=o.x-a+n,R=o.x+n,p+=i,e.curve===wh?If(t,R,p,!1):bh(t,x,A,x,p,R,p)}}}t.lineTo(o.x+n,o.y+i)}function zb(e,t,n,i){var r=e.diagram;if(r===null||t.D(n))return 0;for(r=r.layers;r.next();){var o=r.value;if(o!==null&&o.visible){o=o.Pa.s;for(var a=o.length,l=0;la.x&&p.x>=f.x||f.xa.y&&p.y>=f.y||f.ya&&Math.min(_,V)p&&!qe.B(_,V)){l.x=p,l.y=a,p=!0;break e}}else if(qe.B(x,R)&&qe.B(_,V)&&Math.min(p,A)<_&&Math.max(p,A)>_&&Math.min(a,be)x&&!qe.B(a,be)){l.x=_,l.y=x,p=!0;break e}l.x=0,l.y=0,p=!1}p&&(r?n.push(l.x):n.push(l.y)),a=f}he.free(l)}function wd(e){return e=e.curve,e===Lf||e===wh}function am(e,t){(t||wd(e))&&(t=e.diagram,t===null||t.animationManager.isTicking||t.Eh.contains(e)||e.ml.width===0&&e.ml.height===0||t.Eh.add(e,e.ml.copy()))}Fn.prototype.Xo=function(e){var t=this.layer;if(t!==null&&t.visible&&!t.isTemporary){var n=t.diagram;if(n!==null&&!n.animationManager.isTicking){var i=!1;for(n=n.layers;n.next();){var r=n.value;if(r.visible){if(r===t){i=!0;var o=!1;r=r.Pa.s;for(var a=r.length,l=0;le&&Ot(e,">= 0",Fn,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=e,this.g("fromEndSegmentLength",t,e),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(e){var t=this.fromShortLength;t!==e&&(this.Xc(),this.ba.Wi=e,this.qc(),this.g("fromShortLength",t,e))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Wr},set:function(e){var t=this.toSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.yj=e,this.g("toSpot",t,e),(t.$c()||e.$c())&&this.toNode!==null&&iu(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(e){var t=this.toEndSegmentLength;t!==e&&(0>e&&Ot(e,">= 0",Fn,"toEndSegmentLength"),this.Xc(),this.ba.wj=e,this.g("toEndSegmentLength",t,e),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(e){var t=this.toShortLength;t!==e&&(this.Xc(),this.ba.xj=e,this.qc(),this.g("toShortLength",t,e))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=i&&(o=i-1);var l=this.i(o-1),u=this.i(o);qe.Dl(r.x,r.y,a.x,a.y,l.x,l.y,u.x,u.y,.5,e),t=Math.min(u.x,t),n=Math.min(u.y,n),r=u}else for(r=this.i(0),o=this.i(1),t=Math.min(r.x,o.x),n=Math.min(r.y,o.y),e.h(r.x,r.y,0,0),e.Ye(o),r=2;ri&&(i=-i)):qe.$(i.y,r.y)?(i=r.x-i.x,0>i&&(i=-i)):i=Math.sqrt(i.Bf(r)),e.push(i)}}return this.cq}},flattenedTotalLength:{get:function(){var e=this.vt;if(isNaN(e)){for(var t=this.flattenedLengths,n=t.length,i=e=0;ithis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Of(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var e=this.pointsCount;return e===0?0:2>=e?e-1:this.isOrthogonal||!Of(this.computeSpot(!1))?e-2:e-1}},adjusting:{get:function(){return this.qk},set:function(e){var t=this.qk;t!==e&&(this.qk=e,this.g("adjusting",t,e))}},corner:{get:function(){return this.Om},set:function(e){var t=this.Om;t!==e&&(this.Om=e,this.qc(),this.g("corner",t,e))}},curve:{get:function(){return this.Qm},set:function(e){var t=this.Qm;t!==e&&(this.Qm=e,this.bb(),this.qc(),am(this,t===wh||t===Lf||e===wh||e===Lf),this.g("curve",t,e))}},curviness:{get:function(){return this.Rm},set:function(e){var t=this.Rm;t!==e&&(this.Rm=e,this.bb(),this.qc(),this.g("curviness",t,e))}},routing:{get:function(){return this.qj},set:function(e){var t=this.qj;t!==e&&(this.qj=e,this.Wf=null,this.bb(),am(this,(t.value&2)===2||(e.value&2)===2),this.g("routing",t,e))}},smoothness:{get:function(){return this.po},set:function(e){var t=this.po;t!==e&&(this.po=e,this.qc(),this.g("smoothness",t,e))}},key:{get:function(){var e=this.diagram;if(e!==null&&e.model.ri())return e.model.Ac(this.data)}}}),Fn.prototype.invalidateOtherJumpOvers=Fn.prototype.Xo,Fn.prototype.findClosestSegment=Fn.prototype.ez,Fn.prototype.updateRoute=Fn.prototype.vg,Fn.prototype.invalidateRoute=Fn.prototype.bb,Fn.prototype.rollbackRoute=Fn.prototype.rv,Fn.prototype.commitRoute=Fn.prototype.zf,Fn.prototype.startRoute=Fn.prototype.uh,Fn.prototype.clearPoints=Fn.prototype.Fj,Fn.prototype.removePoint=Fn.prototype.pv,Fn.prototype.addPointAt=Fn.prototype.yf,Fn.prototype.addPoint=Fn.prototype.ne,Fn.prototype.insertPointAt=Fn.prototype.m,Fn.prototype.insertPoint=Fn.prototype.Kz,Fn.prototype.setPointAt=Fn.prototype.L,Fn.prototype.setPoint=Fn.prototype.dd,Fn.prototype.getPoint=Fn.prototype.i,Fn.prototype.getOtherPort=Fn.prototype.Cz,Fn.prototype.getOtherNode=Fn.prototype.To;var Wd=null,Vd=null,ov=new Kt(Fn,"Normal",1),Hb=new Kt(Fn,"Orthogonal",2),$b=new Kt(Fn,"AvoidsNodes",6),d1=new Kt(Fn,"AvoidsNodesStraight",7),Cl=new Kt(Fn,"None",0),xu=new Kt(Fn,"Bezier",9),wh=new Kt(Fn,"JumpGap",10),Lf=new Kt(Fn,"JumpOver",11),Ip=new Kt(Fn,"End",17),sm=new Kt(Fn,"Scale",18),lm=new Kt(Fn,"Stretch",19),Mp=new Kt(Fn,"OrientAlong",21),Op=new Kt(Fn,"OrientPlus90",22),Lp=new Kt(Fn,"OrientMinus90",23),av=new Kt(Fn,"OrientOpposite",24),um=new Kt(Fn,"OrientUpright",25),Rp=new Kt(Fn,"OrientPlus90Upright",26),Dp=new Kt(Fn,"OrientMinus90Upright",27),cm=new Kt(Fn,"OrientUpright45",28),f1=16,p1=14,Pp=8;Fn.className="Link",Fn.Normal=ov,Fn.Orthogonal=Hb,Fn.AvoidsNodes=$b,Fn.AvoidsNodesStraight=d1,Fn.None=Cl,Fn.Bezier=xu,Fn.JumpGap=wh,Fn.JumpOver=Lf,Fn.End=Ip,Fn.Scale=sm,Fn.Stretch=lm,Fn.OrientAlong=Mp,Fn.OrientPlus90=Op,Fn.OrientMinus90=Lp,Fn.OrientOpposite=av,Fn.OrientUpright=um,Fn.OrientPlus90Upright=Rp,Fn.OrientMinus90Upright=Dp,Fn.OrientUpright45=cm,Fn.EndSegmentStep=8,Fn.CurvinessStart=f1,Fn.SpacingMin=p1,Fn.OrthoShortCut=Pp;function hm(e,t,n,i){Pi(this),this.Fe=this.qq=!1,this.Ds=e,this.Ox=t,this.cv=n,this.Px=i,this.links=[]}hm.prototype.Sl=function(){if(!this.qq){var e=this.links;0=e.width||0>=e.height)){var t=e.y,n=e.x+e.width,i=e.y+e.height;if(this.Nd=Math.floor((e.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((t-this.sc)/this.sc)*this.sc,this.En=Math.ceil((n+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((i+2*this.sc)/this.sc)*this.sc,e=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),t=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Cd&&(n[i]=sv)}Fp.prototype.Yj=function(e,t,n,i){if(e>this.En||e+nthis.Fn||t+ie&&(n+=e,e=0),0>t&&(r+=t,t=0),0>n||0>r)return!0;for(i=Math.min(e+n-1,this.di)|0,n=Math.min(t+r-1,this.ei)|0;e<=i;e++){r=this.ac[e];for(var o=t;o<=n;o++)if(r[o]===Ch)return!1}return!0};function $c(e,t,n,i,r,o,a,l,u){if(!(ta||nu)){var f=t|0,p=n|0,x=e.ac[f][p];if(x>=Cd&&x=e.ac[f][p]);)e.ac[f][p]=x,x+=1,r?p+=i:f+=i;if(f=r?p:f,r)if(0f;n+=i)$c(e,t,n,1,!r,o,a,l,u),$c(e,t,n,-1,!r,o,a,l,u);else if(0f;t+=i)$c(e,t,n,1,!r,o,a,l,u),$c(e,t,n,-1,!r,o,a,l,u)}}function dm(e,t,n,i,r,o,a,l,u){t|=0,n|=0;var f=Ch,p=Cd;for(e.ac[t][n]=p;f===Ch&&t>o&&tl&&no&&tl&&n=Math.abs(l-f)&&1>=Math.abs(u-p))e.abort=!0;else{var x=o.x;i=o.y,t=o.x+o.width;var A=o.y+o.height;x-=e.Nd,x/=e.rc,i-=e.Od,i/=e.sc,t-=e.Nd,t/=e.rc,A-=e.Od,A/=e.sc,o=Math.max(0,Math.min(e.di,x|0)),t=Math.min(e.di,Math.max(0,t|0)),x=Math.max(0,Math.min(e.ei,i|0)),A=Math.min(e.ei,Math.max(0,A|0)),i=e.ac,l|=0,u|=0,f|=0,p|=0;var R=n===0||n===90?1:-1;if(n=n===90||n===270,i[l][u]===Ch?(dm(e,l,u,R,n,o,t,x,A),dm(e,l,u,1,!n,o,t,x,A),dm(e,l,u,-1,!n,o,t,x,A)):dm(e,l,u,R,n,l,u,l,u),i[f][p]===Ch?(fm(e,f,p,r===0||r===90?1:-1,r===90||r===270,o,t,x,A),fm(e,f,p,1,!(r===90||r===270),o,t,x,A),fm(e,f,p,-1,!(r===90||r===270),o,t,x,A)):fm(e,f,p,R,n,f,p,f,p),n=Lt(),a&&v1(e,f,p,r,l,u,n))for((n[0]!==f||n[1]!==p)&&(n.unshift(p),n.unshift(f)),(n[n.length-2]!==l||n[n.length-1]!==u)&&(n.push(l),n.push(u)),e=Cd,r=n[n.length-2],a=n[n.length-1],i[r][a]=e++,o=n.length-4;0<=o;o-=2)for(r=n[o+2],a=n[o+3],t=n[o],f=n[o+1];t>r?r++:ta?a++:fr)p--;else break;else if(x>o)x--;else break;var A=l[p][x];if(A===0||A===lv)break;u=p,f=x}for(;;){if(p=i,x=u,A=f,i===0?Ao&&(p=270,A--):i===90?xr&&(p=180,x--):i===180?Ao&&(p=270,A--):xr&&(p=180,x--),x=l[x][A],p!==i&&x!==0&&x!==lv){if(a.push(u),a.push(f),v1(e,u,f,p,r,o,a))return!0;a.pop(),a.pop()}if(l[u][f]=lv,i===0){if(u===t)return!1;u--}else if(i===90){if(f===n)return!1;f--}else if(i===180){if(u===t)return!1;u++}else{if(f===n)return!1;f++}}}dt.Object.defineProperties(Fp.prototype,{bounds:{get:function(){return new Wt(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(e){0=n?180:0}switch(e=180*Math.atan2(e.height,e.width)/Math.PI,t){case 3:return n>e&&n<=180+e?180:270;case 5:return n>180-e&&n<=360-e?270:0;case 12:return n>e&&n<=180+e?90:0;case 10:return n>180-e&&n<=360-e?180:90;case 7:return 90180+e&&n<=360-e?270:0;case 13:return 180e&&180>=n?90:0;case 14:return n>e&&n<=180-e?90:n>180-e&&270>=n?180:0;case 11:return n>180-e&&n<=180+e?180:n>180+e?270:90}return i&&t!==15&&(n-=15,0>n&&(n+=360)),n>e&&n<180-e?90:n>=180-e&&n<=180+e?180:n>180+e&&n<360-e?270:0}Kd.prototype.Sl=function(){this.pe.length=0};function y1(e,t){var n=e.pe;if(n.length===0){e:if(!e.ap){n=e.ap,e.ap=!0;var i=null,r=e.node,o=r instanceof nr?r:null;if(o===null||o.isSubGraphExpanded)var a=r.isTreeExpanded?r.findLinksConnected(e.port.portId):r.qx();else{if(!o.actualBounds.w()){e.ap=n;break e}i=o,a=i.Lu()}o=e.pe.length=0;var l=e.port.ga(ea,he.alloc()),u=e.port.ga(Ho,he.alloc());for(r=Wt.allocAt(l.x,l.y,0,0),r.Ye(u),he.free(l),he.free(u),l=he.allocAt(r.x+r.width/2,r.y+r.height/2),u=e.port.li(),a=a.iterator;a.next();){var f=a.value;if(f.isVisible()&&f.fromPort!==f.toPort){var p=f.fromPort===e.port||f.fromNode!==null&&f.fromNode.Td(i),x=f.computeSpot(p,e.port);if(x.$c()&&(p=p?f.toPort:f.fromPort,p!==null)){var A=p.part;if(A!==null){var R=A.findVisibleNode();R!==null&&R!==A&&(A=R,p=A.port),p=f.computeOtherPoint(A,p),A=l.ab(p),A-=u,0>A?A+=360:360<=A&&(A-=360),x=jb(r,x,A,f.isOrthogonal),x===0?(x=4,180A&&(A+=360)),R=e.pe[o],R===void 0?(R=new uv(f,A,x),e.pe[o]=R):(R.link=f,R.angle=A,R.Nc=x),R.hv.set(p),o++}}}}for(he.free(l),e.pe.sort(Kd.prototype.j),u=e.pe.length,i=-1,o=l=0;oMath.abs(V)?(Pe=Math.abs(V)/A,A=Math.abs(V)):Pe=1;break;case 2:R>Math.abs(Ue)?(Pe=Math.abs(Ue)/R,R=Math.abs(Ue)):Pe=1;break;case 1:x>Math.abs(V)?(Pe=Math.abs(V)/x,x=Math.abs(V)):Pe=1;break;default:case 4:p>Math.abs(Ue)?(Pe=Math.abs(Ue)/p,p=Math.abs(Ue)):Pe=1}le=0}var At=Ge.Zo;if(i===Jg){switch(Ge=Ge.link.computeThickness(),Ge*=Pe,At.set(rt),_){case 8:At.x=rt.x+V/2+A/2-le-Ge/2;break;case 2:At.y=rt.y+Ue/2+R/2-le-Ge/2;break;case 1:At.x=rt.x+V/2-x/2+le+Ge/2;break;default:case 4:At.y=rt.y+Ue/2-p/2+le+Ge/2}le+=Ge}else{var Vn=.5;i===tm&&(Vn=(Ge.Uo+1)/(Ge.Gl+1)),At.x=rt.x+V*Vn,At.y=rt.y+Ue*Vn}}}for(he.free(l),he.free(u),he.free(a),he.free(f),rt=e.pe,o=0;ot.Nc?1:e.anglet.angle?1:0},Kd.prototype.computeEndSegmentLength=function(e){var t=e.link,n=t.computeEndSegmentLength(this.node,this.port,Hi,t.fromPort===this.port),i=e.Uo;if(0>i)return n;var r=e.Gl;if(1>=r||!t.isOrthogonal)return n;t=e.hv;var o=e.Zo;return(e.Nc===2||e.Nc===8)&&(i=r-1-i),((e=e.Nc===2||e.Nc===4)?t.y=t-1?(o=0,i=n,r+=a+20,a=0):o++}},Qo.prototype.doMinimalNetworkLayout=function(){var e=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var t=this.arrangementOrigin.x,n=t,i=this.arrangementOrigin.y,r=0,o=0,a=this.network.vertexes.iterator;a.next();){var l=a.value.node;if(!(l===null||l instanceof Fn)&&(Bp(l),this.rh(l))){var u=l.measuredBounds,f=u.width;u=u.height,l.moveTo(n,i),l instanceof nr&&(l.rh=!1),n+=Math.max(f,50)+20,o=Math.max(o,Math.max(u,50)),r>=e-1?(r=0,n=t,i+=o+20,o=0):r++}}},Qo.prototype.rh=function(e){return!!(!e.location.w()||e instanceof nr&&e.rh)};function Vh(e,t,n,i,r,o,a,l){for(n=n.iterator;n.next();){var u=n.value;i&&!u.isTopLevel||r!==null&&!r(u)||!u.canLayout()||(o&&u instanceof Xn?u.isLinkLabel||(u instanceof nr&&u.layout===null?Vh(e,t,u.memberParts,!1,r,o,a,l):(Bp(u),t.add(u))):a&&u instanceof Fn?t.add(u):!l||!u.Zc()||u instanceof Xn||(Bp(u),t.add(u)))}}function Bp(e){var t=e.actualBounds;(t.width===0||t.height===0||isNaN(t.width)||isNaN(t.height))&&e.Va()}Qo.prototype.ni=function(e,t){var n=this.boundsComputation;return n!==null?(t||(t=new Wt),n(e,this,t)):t?(t.set(e.actualBounds),t):e.actualBounds},Qo.prototype.ex=function(e){var t=new Zt;return e instanceof Y?(Vh(this,t,e.nodes,!0,null,!0,!0,!0),Vh(this,t,e.links,!0,null,!0,!0,!0),Vh(this,t,e.parts,!0,null,!0,!0,!0)):e instanceof nr?Vh(this,t,e.memberParts,!1,null,!0,!0,!0):Vh(this,t,e.iterator,!1,null,!0,!0,!0),t},Qo.prototype.initialOrigin=function(e){var t=this.group;if(t!==null){var n=t.position.copy();return(isNaN(n.x)||isNaN(n.y))&&n.set(e),t=t.placeholder,t!==null&&(n=t.ga(ea),(isNaN(n.x)||isNaN(n.y))&&n.set(e),e=t.padding,n.x+=e.left,n.y+=e.top),n}return e},dt.Object.defineProperties(Qo.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},group:{get:function(){return this.o},set:function(e){this.o!==e&&(this.o=e,e!==null&&(this.H=e.diagram))}},isOngoing:{get:function(){return this.sn},set:function(e){this.sn!==e&&(this.sn=e)}},isInitial:{get:function(){return this.Gh},set:function(e){this.Gh=e,e||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(e){this.yn!==e&&(this.yn=e)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(e){this.vn!==e&&(this.vn=e)}},isRealtime:{get:function(){return this.un},set:function(e){this.un!==e&&(this.un=e)}},isValidLayout:{get:function(){return this.xn},set:function(e){this.xn!==e&&(this.xn=e,e||(e=this.diagram,e!==null&&(e.xh=!0)))}},network:{get:function(){return this.j},set:function(e){this.j!==e&&(this.j=e,e!==null&&(e.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(e){this.Em!==e&&(this.Em=e,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(e){this.Am.D(e)||(this.Am.assign(e),this.C())}}}),Qo.prototype.collectParts=Qo.prototype.ex,Qo.prototype.getLayoutBounds=Qo.prototype.ni,Qo.prototype.invalidateLayout=Qo.prototype.C,Qo.className="Layout";function Po(e){Pi(this),this.Sc=e,this.wf=new Zt,this.ye=new Zt,this.Es=new Kn,this.zs=new Kn}Po.prototype.clear=function(){if(this.wf)for(var e=this.wf.iterator;e.next();)e.value.clear();if(this.ye)for(e=this.ye.iterator;e.next();)e.value.clear();this.wf=new Zt,this.ye=new Zt,this.Es=new Kn,this.zs=new Kn},Po.prototype.toString=function(e){e===void 0&&(e=0);var t="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=e)return t;if(t+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1e?e=0:1e?e=0:1=e&&Lt(e,"> 0",Mo,"maxLines"),Mc(this),this.da.Jq=e,this.v(),this.g("maxLines",t,e))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(e){var t=this.Gm;t!==e&&(this.Gm=e,this.g("choices",t,e))}}});var j0=null,G0=null,Bg=new Yt(Mo,"None",0),Ly=new Yt(Mo,"WrapFit",1),_g=new Yt(Mo,"WrapDesiredSize",2),Ry=new Yt(Mo,"WrapBreakAll",3),zg=new Yt(Mo,"OverflowClip",0),W0=new Yt(Mo,"OverflowEllipsis",1),Cp=new Yt(Mo,"FormatTrim",0),Dy=new Yt(Mo,"FormatNone",0),Rb=/[ \u200b\u00ad]/,Ug=new oe,Py=0,V0=new oe,Hg=0,Tp="...",Fy="",zl=null,K0=!1;Mo.className="TextBlock";function $g(){this.nc=!1,this.Hd=null,this.Xf=En,this.gq=Cp,this.Jq=1/0,this.$q=zg,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=aa,this.$r=_g}$g.prototype.copy=function(){var e=new $g;return e.Hd=this.Hd,e.Xf=this.Xf,e.gq=this.gq,e.Jq=this.Jq,e.$q=this.$q,e.Dr=this.Dr,e.Er=this.Er,e.Or=this.Or,e.Pr=this.Pr,e.Qr=this.Qr,e.vj=this.vj,e.Yr=this.Yr,e.$r=this.$r,e},Mo.getEllipsis=function(){return Tp},Mo.setEllipsis=function(e){Tp=e,V0=new oe,Hg=0},Mo.getBaseline=function(){return j0},Mo.setBaseline=function(e){j0=e},Mo.getUnderline=function(){return G0},Mo.setUnderline=function(e){G0=e},Mo.isValidFont=function(e){if(K0||(zl=Ea?new $u(null).context:null,K0=!0),zl===null)return!0;var t=zl.font;if(e===t||e==="10px sans-serif")return!0;zl.font="10px sans-serif",zl.font=e;var n=zl.font;if(n!=="10px sans-serif")return zl.font=t,!0;zl.font="19px serif";var i=zl.font;return zl.font=e,n=zl.font,zl.font=t,n!==i},Mo.FormatNone=Dy,Mo.FormatTrim=Cp,Mo.None=Bg,Mo.OverflowClip=zg,Mo.OverflowEllipsis=W0,Mo.WrapBreakAll=Ry,Mo.WrapDesiredSize=_g,Mo.WrapFit=Ly;function Uc(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Uc.prototype.copy=function(){var e=new Uc;return e.Tk=this.Tk,e.u=this.u,e.j=this.j,e.F=this.F,e.o=this.o,e},Uc.className="GradElementSettings";function Ul(e,t){at.call(this),this.Eg=null,this.qo="",this.Xg=wn,this.Nk=Tn,this.Zg=this.Hd=null,this.Mk=Rr,this.Xf=En,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof e=="string"?this.source=e:e&&Object.assign(this,e),t&&Object.assign(this,t)}var Nf;yi(Ul,at),Ul.prototype.cloneProtected=function(e){at.prototype.cloneProtected.call(this,e),e.qo=this.qo,e.element=this.Eg,e.Xg=this.Xg.J(),e.Nk=this.Nk,e.Xf=this.Xf,e.Hd=this.Hd,e.Zg=this.Zg,e.Mk=this.Mk.J(),e.en=this.en,e.rl=this.rl},Ul.prototype.qb=function(e){e===En||e===ci||e===Fr?this.imageStretch=e:at.prototype.qb.call(this,e)},Ul.prototype.toString=function(){return"Picture("+this.source+")#"+Mt(this)};function Af(e){e===void 0&&(e=""),e!==""?Nf[e]&&(delete Nf[e],Z0--):(Nf=new oe,Z0=0)}function By(e,t){t.qy||(t.Fq=function(n){t.sq=!0,t.ln=!1;var i=t.Bg.copy();if(i!=null){for(i=i.iterator;i.next();){var r=i.value;r.N();var o=t.getAttribute("src")||"",a=r.Og.I(o);if(a!==null)for(var l=a.length,u=0;u=i.width&&(o=o+_.offsetX+(x*_.x-i.width*_.x)),N>=i.height&&(a=a+_.offsetY+(N*_.y-i.height*_.y)),u=Math.min(i.width,x),l=Math.min(i.height,N);break;case Tn:x=i.width,N=i.height;break;case ci:case Fr:R===ci?(R=Math.min(i.height/N,i.width/x),x*=R,N*=R):R===Fr&&(R=Math.max(i.height/N,i.width/x),x*=R,N*=R,x>=i.width&&(o=(o+_.offsetX+(x*_.x-i.width*_.x)/x)*u),N>=i.height&&(a=(a+_.offsetY+(N*_.y-i.height*_.y)/N)*l),u*=1/(x/i.width),l*=1/(N/i.height),x=i.width,N=i.height)}R=this.Df()*t.scale;var V=x*R*N*R,be=u*l/V,ue=n.__goCache;R=null;var Fe=Db;if(!r){if(n.sq&&ue!==void 0&&4Fe*Fe)for(ue.gi===null&&(zy(ue,4,f,p,n),zy(ue,16,f,p,n)),r=ue.gi,f=r.length,p=0;pe)&&(e=5),e=Math.min(e,t/3),e=Math.min(e,n/3);var i="rr"+t+","+n+","+e,r=qe.Mf[i];if(r!==void 0)return r;var o=e*qe.wg;return r=new Dn().add(new Ca(e,0,!0).add(new Dr(vo,t-e,0)).add(new Dr(Wa,t,e,t-o,0,t,o)).add(new Dr(vo,t,n-e)).add(new Dr(Wa,t-e,n,t,n-o,t-o,n)).add(new Dr(vo,e,n)).add(new Dr(Wa,0,n-e,o,n,0,n-o)).add(new Dr(vo,0,e)).add(new Dr(Wa,e,0,0,o,o,0).close())),1r.x&&e.y>r.y&&e.rightr.x&&t.y>r.y&&t.right=n.maxSelectionCount)){this.G^=4096;var i=!1;if(n!==null){i=n.skipsUndoManager,n.skipsUndoManager=!0;var r=n.selection;r.ka(),e?r.add(this):r.remove(this),r.freeze()}this.g("isSelected",t,e),this.Wb(),e=this.selectionChanged,e!==null&&e(this),n!==null&&(n.$b(),n.skipsUndoManager=i)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(e){var t=(this.G&524288)!==0;if(t!==e){this.G^=524288;var n=this.diagram;n!==null&&(n=n.highlighteds,n.ka(),e?n.add(this):n.remove(this),n.freeze()),this.g("isHighlighted",t,e),this.N(),e=this.highlightedChanged,e!==null&&e(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(e){var t=(this.G&8192)!==0;t!==e&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",t,e),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(e){var t=(this.G&262144)!==0;t!==e&&(this.G^=262144,this.g("isAnimated",t,e))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(e){var t=this.highlightedChanged;t!==e&&(Hl(this),this.P.oq=e,this.g("highlightedChanged",t,e))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(e){var t=this.selectionObjectName;t!==e&&(Hl(this),this.P.vr=e,this.Ug=null,this.g("selectionObjectName",t,e))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(e){var t=this.selectionAdornmentTemplate;t!==e&&(Hl(this),this.P.tr=e,this.g("selectionAdornmentTemplate",t,e))}},selectionObject:{get:function(){if(this.Ug===null){var e=this.selectionObjectName;e!==null&&e!==""?(e=this.fb(e),e!==null?this.Ug=e:this.Ug=this):this instanceof Pn?(e=this.path,e!==null?this.Ug=e:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(e){var t=this.selectionChanged;t!==e&&(Hl(this),this.P.ur=e,this.g("selectionChanged",t,e))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(e){var t=this.resizeAdornmentTemplate;t!==e&&(Hl(this),this.P.fr=e,this.g("resizeAdornmentTemplate",t,e))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(e){var t=this.resizeObjectName;t!==e&&(Hl(this),this.P.hr=e,this.g("resizeObjectName",t,e))}},resizeObject:{get:function(){var e=this.resizeObjectName;return e!==""&&(e=this.fb(e),e!==null)?e:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:ka},set:function(e){var t=this.resizeCellSize;t.D(e)||(e=e.J(),Hl(this),this.P.gr=e,this.g("resizeCellSize",t,e))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(e){var t=this.rotateAdornmentTemplate;t!==e&&(Hl(this),this.P.ir=e,this.g("rotateAdornmentTemplate",t,e))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(e){var t=this.rotateObjectName;t!==e&&(Hl(this),this.P.jr=e,this.g("rotateObjectName",t,e))}},rotateObject:{get:function(){var e=this.rotateObjectName;return e!==""&&(e=this.fb(e),e!==null)?e:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Kr},set:function(e){var t=this.rotationSpot;t.D(e)||(e=e.J(),Hl(this),this.P.lr=e,this.g("rotationSpot",t,e))}},text:{get:function(){return this.ec},set:function(e){var t=this.ec;t!==e&&(this.ec=e,this.g("text",t,e))}},containingGroup:{get:function(){return this.Ah},set:function(e){if(this.Zc()){var t=this.Ah;if(t!==e){e===null||this!==e&&!e.Td(this)||(this===e&&Ve("Cannot make a Group a member of itself: "+this.toString()),Ve("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+e.toString())),this.C(2);var n=this.diagram;if(t!==null?ev(t,this):this instanceof qi&&n!==null&&n.ai.remove(this),this.Ah=e,e!==null?qg(e,this):this instanceof qi&&n!==null&&n.ai.add(this),this.C(1),n!==null&&n.aa){var i=this.data,r=n.model;if(i!==null&&r.Xj()){var o=r.wa(e!==null?e.data:null);r.mp(i,o)}}if(i=this.containingGroupChanged,i!==null&&(r=!0,n!==null&&(r=n.aa,n.aa=!0),i(this,t,e),n!==null&&(n.aa=r)),this instanceof qi){for(n=new Xt,Wh(n,this,!0,0,!0),n=n.iterator;n.next();)if(i=n.value,i instanceof Xn)for(i=i.linksConnected;i.next();)Mf(i.value)}if(this instanceof Xn){for(n=this.linksConnected;n.next();)Mf(n.value);n=this.labeledLink,n!==null&&Mf(n)}this.g("containingGroup",t,e),e!==null&&(t=e.layer,t!==null&&Z(t,-1,e))}}else Ve("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(e){var t=this.containingGroupChanged;t!==e&&(Hl(this),this.P.Kp=e,this.g("containingGroupChanged",t,e))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Xn&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(e){var t=this.layoutConditions;t!==e&&(Hl(this),this.P.Cq=e,this.g("layoutConditions",t,e))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(e){var t=this.dragComputation;t!==e&&(Hl(this),this.P.Up=e,this.g("dragComputation",t,e))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:Br},set:function(e){var t=this.shadowOffset;t.D(e)||(e=e.J(),Hl(this),this.P.zr=e,this.N(),this.g("shadowOffset",t,e))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(e){var t=this.shadowColor;t!==e&&(Hl(this),this.P.yr=e,this.N(),this.g("shadowColor",t,e))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(e){var t=this.shadowBlur;t!==e&&(Hl(this),this.P.Vg=e,this.N(),this.g("shadowBlur",t,e))}}}),Ci.prototype.invalidateLayout=Ci.prototype.C,Ci.prototype.findCommonContainingGroup=Ci.prototype.px,Ci.prototype.isMemberOf=Ci.prototype.Td,Ci.prototype.findTopLevelPart=Ci.prototype.sz,Ci.prototype.findSubGraphLevel=Ci.prototype.oz,Ci.prototype.ensureBounds=Ci.prototype.Va,Ci.prototype.getDocumentBounds=Ci.prototype.mi,Ci.prototype.findObject=Ci.prototype.fb,Ci.prototype.moveTo=Ci.prototype.moveTo,Ci.prototype.invalidateAdornments=Ci.prototype.Wb,Ci.prototype.clearAdornments=Ci.prototype.Ej,Ci.prototype.removeAdornment=Ci.prototype.Jf,Ci.prototype.addAdornment=Ci.prototype.bh,Ci.prototype.findAdornment=Ci.prototype.Pj,Ci.prototype.updateTargetBindings=Ci.prototype.La;var Qy=!1;Ci.className="Part",Ci.LayoutNone=0,Ci.LayoutAdded=1,Ci.LayoutRemoved=2,Ci.LayoutShown=4,Ci.LayoutHidden=8,Ci.LayoutNodeSized=16,Ci.LayoutGroupLayout=32,Ci.LayoutNodeReplaced=64,Ci.LayoutStandard=127,Ci.LayoutAll=16777215;function Zr(e,t){e===void 0||e instanceof ts||typeof e=="string"?Ci.call(this,e):(Ci.call(this),e&&(t=e)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,t&&Object.assign(this,t)}yi(Zr,Ci),Zr.prototype.toString=function(){var e=this.adornedPart;return"Adornment("+this.category+")"+(e!==null?e.toString():"")},Zr.prototype.updateRelationshipsFromData=function(){},Zr.prototype.Ul=function(e){var t=this.adornedObject,n=t==null?void 0:t.part;if(n instanceof Pn&&t instanceof lr){t=n.path,n.Ul(e),e=t.geometry,n=this.O.s,t=n.length;for(var i=0;ie&&(e=1);var t=this.diagram;if(t!==null&&!t.Ue){t.Ue=!0;var n=new Xt;n.add(this),o1(this,n,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===mh),t.Ue=!1}};function o1(e,t,n,i,r,o,a){if(1e&&(e=2);var t=this.diagram;if(t!==null&&!t.Ue){t.Ue=!0;var n=new Xt;n.add(this),s1(this,n,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===mh),t.Ue=!1}};function s1(e,t,n,i,r,o,a){for(var l=o===e?!1:e.isTreeExpanded,u=n?e.Mo():e.Sd(),f={};u.next();){var p=u.value;if(p.isTreeLink&&(l||p.fd||p.bb(),p=p.To(e),p!==null&&p!==e&&!t.contains(p))){if(t.add(p),!l){p.Zb(!0),p.oh();var x=n?p.Oo():p.Po();f.vv=e,x.all(function(N){return function(R){return R===N.vv||!R.isTreeExpanded}}(f))&&r.Cj(p,o)}(2r&&(r=l.right),l.bottom>o&&(o=l.bottom)}}return isFinite(n)&&isFinite(i)?e.h(n,i,r-n,o-i):(t=t.location,e.h(t.x,t.y,0,0)),e},ht.Object.defineProperties(Tl.prototype,{padding:{get:function(){return this.yb},set:function(e){typeof e=="number"&&(e=new mi(e));var t=this.yb;t.D(e)||(this.yb=e=e.J(),this.g("padding",t,e),this.v())}}}),Tl.className="Placeholder";function Pn(e){Ci.call(this,kn.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Nl,this.Om=0,this.Qm=Nl,this.Rm=NaN,this.qj=ov,this.po=.5,this.wd=null,this.Nb=new qt().freeze(),this.Tg=this.Mg=null,this.ml=new Zt,this.ua=new Dn,this.u=this.o=this.Sf=this.Wf=null,this.su=new he,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],e&&Object.assign(this,e)}yi(Pn,Ci),Pn.prototype.cloneProtected=function(e){Ci.prototype.cloneProtected.call(this,e),e.Qa=this.Qa&-113,e.ff=this.ff,e.gn=this.gn,e.vf=this.vf,e.uo=this.uo,e.qk=this.qk,e.Om=this.Om,e.Qm=this.Qm,e.Rm=this.Rm,e.qj=this.qj,e.po=this.po,this.ba!==null&&(e.ba=this.ba.copy())},U=Pn.prototype,U.Af=function(e){Ci.prototype.Af.call(this,e),this.ff=e.ff,this.vf=e.vf,e.Mg=null,e.bb(),e.Sf=this.Sf;var t=e.fromPort;t!==null&&ou(t),e=e.toPort,e!==null&&ou(e)},U.qb=function(e){e.classType===Pn?(e.value&2)===2?this.routing=e:e===Su||e===wh||e===Lf?this.curve=e:e===Ip||e===sm||e===lm?this.adjusting=e:e!==ov&&e!==Nl&&Ve("Unknown Link enum value for a Link property: "+e):Ci.prototype.qb.call(this,e)},U.Xc=function(){this.ba===null&&(this.ba=new mp)},U.si=function(){var e=this.fromNode;if(e!==null){var t=e.findVisibleNode();if(t!==null&&(e=t),wl(e)||jh(e))return!1}return e=this.toNode,!(e!==null&&(t=e.findVisibleNode(),t!==null&&(e=t),wl(e)||jh(e)))},U.zv=function(){return!1},U.Av=function(){},U.Zc=function(){return!1},Pn.prototype.computeAngle=function(e,t,n){return Pn.computeAngle(t,n)},Pn.computeAngle=function(e,t){switch(e){default:case Nl:e=0;break;case Mp:e=t;break;case Op:e=t+90;break;case Lp:e=t-90;break;case av:e=t+180;break;case um:e=qe.bp(t),90e&&(e-=180);break;case Rp:e=qe.bp(t+90),90e&&(e-=180);break;case Dp:e=qe.bp(t-90),90e&&(e-=180);break;case cm:if(e=qe.bp(t),45e||225e)return 0;90e&&(e-=180)}return qe.bp(e)};function Mf(e){var t=e.fromNode,n=e.toNode,i=null;if(t!==null?i=n!==null?t.px(n):t.containingGroup:n!==null?i=n.containingGroup:i=null,t=i,n=e.Ah,n!==t){n!==null&&ev(n,e),e.Ah=t,t!==null&&qg(t,e);var r=e.containingGroupChanged;if(r!==null){var o=!0,a=e.diagram;a!==null&&(o=a.aa,a.aa=!0),r(e,n,t),a!==null&&(a.aa=o)}!e.fd||e.Lw!==n&&e.Mw!==n||e.bb()}if(e.isLabeledLink)for(e=e.labelNodes;e.next();)e.value.containingGroup=i}U=Pn.prototype,U.oh=function(){var e=this.containingGroup;e!==null&&this.fromNode!==e&&this.toNode!==e&&e.computesBoundsIncludingLinks&&Ci.prototype.oh.call(this)},U.To=function(e){var t=this.fromNode;return e===t?this.toNode:t},U.Cz=function(e){var t=this.fromPort;return e===t?this.toPort:t};function c1(e,t){e.wd===null&&(e.wd=new Xt),e.wd.add(t),e.v()}U.Vo=function(e){if(Ci.prototype.Vo.call(this,e),wd(this)&&this.Xo(this.actualBounds),!e){e=this.ef;var t=null;e!==null&&(t=this.fromPort,q0(e,this,t));var n=this.uf;if(n!==null){var i=this.toPort;n===e&&i===t||q0(n,this,i)}Ap(this)}},U.Wo=function(e){if(Ci.prototype.Wo.call(this,e),wd(this)&&this.Xo(this.actualBounds),!e){e=this.ef;var t=null;e!==null&&(t=this.fromPort,em(e,this,t));var n=this.uf;if(n!==null){var i=this.toPort;n===e&&i===t||em(n,this,i)}kp(this)}},U.Lj=function(){if(this.fd=!0,this.wd!==null){var e=this.diagram;if(e!==null)for(var t=this.wd.copy().iterator;t.next();)e.remove(t.value)}this.data!==null&&(e=this.diagram,e!==null&&e.partManager.removeDataForLink(this))},Pn.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var e=this.diagram;e!==null&&e.partManager.updateRelationshipsFromData(this)}},Pn.prototype.move=function(e,t){var n=t?this.location:this.position,i=n.x;isNaN(i)&&(i=0);var r=n.y;for(isNaN(r)&&(r=0),i=e.x-i,r=e.y-r,t===!0?Ci.prototype.move.call(this,e,!1):(e=he.allocAt(n.x+i,n.y+r),Ci.prototype.move.call(this,e,!1),he.free(e)),Eh(this,i,r),e=this.labelNodes;e.next();)t=e.value,n=t.position,t.moveTo(n.x+i,n.y+r)},Pn.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var e=this.layer;return e===null?!0:e.allowRelink?(e=e.diagram,!!(e===null||e.allowRelink)):!1},Pn.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var e=this.layer;return e===null?!0:e.allowRelink?(e=e.diagram,!!(e===null||e.allowRelink)):!1},Pn.prototype.computeMidPoint=function(e){var t=this.pointsCount;if(t===0)return e.assign(Zi),e;if(t===1)return e.assign(this.i(0)),e;if(t===2){var n=this.i(0),i=this.i(1);return e.h((n.x+i.x)/2,(n.y+i.y)/2),e}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===Su))return this.ua.Pu(.5,e),e.add(this.i(0)),n=this.ua.figures.first(),e.offset(-n.startX,-n.startY),e;if(this.computeCurve()===Su){if(t===3){n=this.i(0),i=this.i(1);var r=this.i(2);return qe.ax(n.x,n.y,i.x,i.y,i.x,i.y,r.x,r.y,e),e}if(i=(t-1)/3|0,n=3*(i/2|0),i%2===1){i=this.i(n),r=this.i(n+1);var o=this.i(n+2);n=this.i(n+3),qe.ax(i.x,i.y,r.x,r.y,o.x,o.y,n.x,n.y,e)}else e.assign(this.i(n));return e}var a=this.flattenedLengths;for(n=this.flattenedTotalLength,r=o=i=0;in/2));)i+=r,o++;return t=this.i(o),o=this.i(o+1),1>Math.abs(t.x-o.x)?t.y>o.y?e.h(t.x,t.y-(n/2-i)):e.h(t.x,t.y+(n/2-i)):1>Math.abs(t.y-o.y)?t.x>o.x?e.h(t.x-(n/2-i),t.y):e.h(t.x+(n/2-i),t.y):(n=(n/2-i)/r,e.h(t.x+n*(o.x-t.x),t.y+n*(o.y-t.y))),e},Pn.prototype.computeMidAngle=function(){var e=this.pointsCount;if(2>e)return NaN;if(e===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===Su))return this.ua.wx(.5);if(this.computeCurve()===Su&&4<=e){var t=(e-1)/3|0,n=3*(t/2|0);if(t%2===1){n=Math.floor(n),e=this.i(n),t=this.i(n+1);var i=this.i(n+2);return n=this.i(n+3),qe.My(e.x,e.y,t.x,t.y,i.x,i.y,n.x,n.y)}if(0i/2));)r+=o,n++;if(t=this.i(n),i=this.i(n+1),1>Math.abs(t.x-i.x)&&1>Math.abs(t.y-i.y)){if(0Math.abs(t.x-i.x))return t.y>i.y?270:90;if(1>Math.abs(t.y-i.y))return t.x>i.x?180:0}return t.ab(i)},U=Pn.prototype,U.i=function(e){return this.Nb.s[e]},U.dd=function(e,t){this.Nb.cd(e,t)},U.L=function(e,t,n){this.Nb.cd(e,new he(t,n))},U.Kz=function(e,t){this.Nb.Gb(e,t)},U.m=function(e,t,n){this.Nb.Gb(e,new he(t,n))},U.ne=function(e){this.Nb.add(e)},U.yf=function(e,t){this.Nb.add(new he(e,t))},U.pv=function(e){this.Nb.mb(e)},U.Fj=function(){this.Nb.clear()};function Eh(e,t,n){if(t!==0||n!==0)if(e.pointsCount===0)e.defaultFromPoint&&e.defaultFromPoint.offset(t,n),e.defaultToPoint&&e.defaultToPoint.offset(t,n);else{for(var i=e.fd,r=new qt,o=e.Nb.iterator;o.next();){var a=o.value;r.add(new he(a.x+t,a.y+n).freeze())}r.freeze(),o=e.Nb,e.Nb=r,a=e.diagram,isNaN(t)||isNaN(n)||a!==null&&a.animationManager.zb?e.v():(e.ke.h(e.ke.x+t,e.ke.y+n),e.pa.h(e.pa.x+t,e.pa.y+n),El(e)),i?nm(e):(e.defaultFromPoint&&(e.defaultFromPoint=e.i(0)),e.defaultToPoint&&(e.defaultToPoint=e.i(e.pointsCount-1))),a!==null&&a.animationManager.zb&&d(a.animationManager,e,r),e.g("points",o,r)}}U.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},U.zf=function(){if(this.Mg!==null){for(var e=this.Mg,t=this.Nb,n=1/0,i=1/0,r=e.s,o=r.length,a=0;af&&(x=-x),V=(0>u?-1:1)*x+R,be=p*(V-R)+_),R=o.x+2*l/3,_=o.y+2*u/3;var ue=R,Fe=_;qe.B(u,0)?Fe=0u?-1:1)*x+R,Fe=p*(ue-R)+_),this.Fj(),this.ne(o),this.yf(V,be),this.yf(ue,Fe),this.ne(N),this.dd(0,this.getLinkPoint(e,t,a,!0,!1,i,r)),this.dd(3,this.getLinkPoint(i,r,n,!1,!1,e,t))}else o=i,N=r,i=this.getLinkPoint(e,t,a,!0,!1,o,N),r=this.getLinkPoint(o,N,n,!1,!1,e,t),this.hasCurviness()?(N=r.x-i.x,n=r.y-i.y,a=this.computeCurviness(),e=i.x+N/2,t=i.y+n/2,o=e,l=t,qe.B(n,0)?l=0a&&(o=-o),o=(0>n?-1:1)*o+e,l=N*(o-e)+t),this.ne(i),this.yf(o,l),this.ne(r)):(this.ne(i),this.ne(r),l=Zt.alloc(),t.mi(l),u=l.ca(r),N.mi(l),f=l.ca(i),(u||f)&&(a=t.ga(rm(a),new he),this.dd(0,this.getLinkPointFromPoint(e,t,a,r,!0,a)),n=N.ga(rm(n),new he),this.dd(1,this.getLinkPointFromPoint(o,N,n,i,!1,n))),Zt.free(l))}else{x=this.isAvoiding,N&&(p&&x||f)&&this.Fj();var Ue=f?this.computeCurviness():0;x=this.getLinkPoint(e,t,a,!0,p,i,r),R=V=_=0,(p||!l||f)&&(be=this.computeEndSegmentLength(e,t,a,!0),R=this.getLinkDirection(e,t,x,a,!0,p,i,r),f&&(l||a.D(n)||!p&&a.x+n.x===1&&a.y+n.y===1)&&(R-=p?90:30,0>Ue&&(R-=180)),0>R?R+=360:360<=R&&(R-=360),f&&(be+=Math.abs(Ue)*(p?1:2)),R===0?_=be:R===90?V=be:R===180?_=-be:R===270?V=-be:(_=be*Math.cos(R*Math.PI/180),V=be*Math.sin(R*Math.PI/180)),a.Mc()&&f&&(be=t.ga(Rr,he.alloc()),ue=he.allocAt(be.x+1e3*_,be.y+1e3*V),this.getLinkPointFromPoint(e,t,be,ue,!0,x),he.free(be),he.free(ue))),be=this.getLinkPoint(i,r,n,!1,p,e,t);var Ge=Fe=ue=0;if(p||!u||f){var rt=this.computeEndSegmentLength(i,r,n,!1);Ge=this.getLinkDirection(i,r,be,n,!1,p,e,t),f&&(u||a.D(n)||!p&&a.x+n.x===1&&a.y+n.y===1)&&(Ge+=p?0:30,0>Ue&&(Ge+=180)),0>Ge?Ge+=360:360<=Ge&&(Ge-=360),f&&(rt+=Math.abs(Ue)*(p?1:2)),Ge===0?ue=rt:Ge===90?Fe=rt:Ge===180?ue=-rt:Ge===270?Fe=-rt:(ue=rt*Math.cos(Ge*Math.PI/180),Fe=rt*Math.sin(Ge*Math.PI/180)),n.Mc()&&f&&(n=r.ga(Rr,he.alloc()),a=he.allocAt(n.x+1e3*ue,n.y+1e3*Fe),this.getLinkPointFromPoint(i,r,n,a,!1,be),he.free(n),he.free(a))}n=x,(p||!l||f)&&(n=new he(x.x+_,x.y+V)),a=be,(p||!u||f)&&(a=new he(be.x+ue,be.y+Fe)),!N&&!p&&l&&3Math.abs(t.y-e.y)?(t.x>=e.x?t.x=e.x+9e9:t.x=e.x-9e9,t.y=e.y):(t.y>=e.y?t.y=e.y+9e9:t.y=e.y-9e9,t.x=e.x),t}Pn.prototype.getLinkPointFromPoint=function(e,t,n,i,r,o){if(o===void 0&&(o=new he),e===null||t===null)return o.assign(n),o;if(e.isVisible()||(r=e.findVisibleNode(),r!==null&&r!==e&&(t=r.port)),e=null,r=t.panel,r===null||r.se()||(r=r.panel),r===null){r=i.x,i=i.y;var a=n.x;n=n.y}else{e=r.oe,r=1/(e.m11*e.m22-e.m12*e.m21),a=e.m22*r;var l=-e.m12*r,u=-e.m21*r,f=e.m11*r,p=r*(e.m21*e.dy-e.m22*e.dx),x=r*(e.m12*e.dx-e.m11*e.dy);r=i.x*a+i.y*u+p,i=i.x*l+i.y*f+x,a=n.x*a+n.y*u+p,n=n.x*l+n.y*f+x}return t.Sj(r,i,a,n,o),e!==null&&o.transform(e),o};function im(e,t){var n=t.Zn;return n===null&&(n=new Kd,n.port=t,n.node=t.part,t.Zn=n),y1(n,e)}Pn.prototype.getLinkPoint=function(e,t,n,i,r,o,a,l){if(l===void 0&&(l=new he),n.sb()&&!Of(n))return t.ga(n,l),l;if(n.$c()){var u=im(this,t);if(u!==null){if(l.assign(u.Zo),r&&this.routing===d1){var f=im(this,a);if(f!==null&&u.Gl=p.y&&e.y<=p.y+p.height?l.y=e.y:(n.Hf(Ia)||n.Hf(qa))&&e.x>=p.x&&e.x<=p.x+p.width&&(l.x=e.x),he.free(u),he.free(f)}}return l}}return n=t.ga(rm(n),he.alloc()),this.pointsCount>(r?6:2)?(a=i?this.i(1):this.i(this.pointsCount-2),r&&(a=tv(n,a.copy()))):(u=this.computeSpot(!i,a),o=he.alloc(),a=a.ga(rm(u),o),r&&(a=tv(n,a)),he.free(o)),this.getLinkPointFromPoint(e,t,n,a,i,l),he.free(n),l},Pn.prototype.getLinkDirection=function(e,t,n,i,r,o,a,l){e:if(i.sb())var u=i.x>i.y?i.x>1-i.y?0:i.x<1-i.y?270:315:i.x1-i.y?90:i.x<1-i.y?180:135:.5>i.x?225:.5(o?6:2)?(l=r?this.i(1):this.i(this.pointsCount-2),l=o?tv(u,l.copy()):n):(n=he.alloc(),l=l.ga(Rr,n),he.free(n)),n=Math.abs(l.x-u.x)>Math.abs(l.y-u.y)?l.x>=u.x?0:180:l.y>=u.y?90:270,he.free(u),u=n}return i.Mc()&&a.Td(e)&&(u+=180,360<=u&&(u-=360)),Of(i)||(e=t.li(),e===0)||(45<=e&&135>e?u+=90:135<=e&&225>e?u+=180:225<=e&&315>e&&(u+=270),360<=u&&(u-=360)),u},Pn.prototype.computeEndSegmentLength=function(e,t,n,i){return t!==null&&n.$c()&&(e=im(this,t),e!==null)?e.Ju:(e=i?this.fromEndSegmentLength:this.toEndSegmentLength,t!==null&&isNaN(e)&&(e=i?t.fromEndSegmentLength:t.toEndSegmentLength),isNaN(e)&&(e=10),e)},Pn.prototype.computeSpot=function(e,t){return t===void 0&&(t=null),e?(e=t||this.fromPort,e===null?e=Rr:(t=this.fromSpot,t.Xb()&&(t=e.fromSpot),e=t===Kr?Ui:t)):(e=t||this.toPort,e===null?e=Rr:(t=this.toSpot,t.Xb()&&(t=e.toSpot),e=t===Kr?Ui:t)),e};function Of(e){return e===Ui||e.x===.5&&e.y===.5}function rm(e){return e.x===.5&&e.y===.5?e:Rr}Pn.prototype.computeOtherPoint=function(e,t){return this.computeAdjusting()!==Nl&&4N.width||x.y>N.height||0>x.x+x.width||0>x.y+x.height)){if(x=nr.alloc(),x.set(a),p instanceof kn)l=p.Cf(e,t,n,i,r,x);else if(this.path===p){if(p instanceof lr)if(l=e,N=i,p.pickable===!1)l=!1;else if(x.multiply(p.transform),N)e:{var R=l,_=x;if(p.fh(R,_))l=!0;else{if(_===void 0&&(_=p.transform,R.Re(p.actualBounds))){l=!0;break e}l=R.left,N=R.right;var V=R.top;R=R.bottom;var be=he.alloc(),ue=he.alloc(),Fe=he.alloc(),Ue=nr.alloc();Ue.set(_),Ue.bv(p.transform),Ue.Vj(),ue.x=N,ue.y=V,ue.transform(Ue),be.x=l,be.y=V,be.transform(Ue),_=!1,Sd(p,be,ue,Fe)?_=!0:(be.x=N,be.y=R,be.transform(Ue),Sd(p,be,ue,Fe)?_=!0:(ue.x=l,ue.y=R,ue.transform(Ue),Sd(p,be,ue,Fe)?_=!0:(be.x=l,be.y=V,be.transform(Ue),Sd(p,be,ue,Fe)&&(_=!0)))),nr.free(Ue),he.free(be),he.free(ue),he.free(Fe),l=_}}else l=p.fh(l,x)}else l=cs(p,e,i,x);l&&(N=p,t!==null&&(N=t(p)),N&&(n===null||n(N))&&r.add(N)),nr.free(x)}}}return o===void 0&&nr.free(a),l||this.background!==null||this.areaBackground!==null}return o===void 0&&nr.free(a),!1},Pn.prototype.computeCurve=function(){if(this.Wf===null){var e=this.fromPort,t=this.isOrthogonal;this.Wf=e!==null&&e===this.toPort&&!t}return this.Wf?Su:this.curve},Pn.prototype.computeCorner=function(){if(this.curve===Su)return 0;var e=this.corner;return(isNaN(e)||0>e)&&(e=10),e},Pn.prototype.findMidLabel=function(){for(var e=this.path,t=this.O.s,n=t.length,i=0;iu?-Math.PI/2:Math.PI/2;else p=Math.atan(u/Math.abs(l)),0>l&&(p=Math.PI-p);a=t.x;var x=t.y;l=i.x-a;var N=i.y-x;for(u=Math.sqrt(l*l+N*N),qe.$(l,0)?N=0>N?-Math.PI/2:Math.PI/2:(N=Math.atan(N/Math.abs(l)),0>l&&(N=Math.PI-N)),f=u/f,p=N-p,this.dd(e,t),e+=1;eu?-Math.PI/2:Math.PI/2:(u=Math.atan(u/Math.abs(l)),0>l&&(u=Math.PI-u)),l=u+p,t*=f,this.L(e,a+t*Math.cos(l),x+t*Math.sin(l)));this.dd(n,i)}}return!0;case lm:if(o=this.i(e),x=this.i(n),!o.Xa(t)||!x.Xa(i)){r=o.x,o=o.y,a=x.x,x=x.y,f=(a-r)*(a-r)+(x-o)*(x-o),l=t.x,p=t.y,u=i.x,N=i.y;var R=1;if(u-l!==0){var _=(N-p)/(u-l);R=Math.sqrt(1+1/(_*_))}else _=9e9;for(this.dd(e,t),e+=1;et?t+=360:360<=t&&(t-=360),0>i?i+=360:360<=i&&(i-=360);var a=i;t=315<=t||45>t?0:45<=t&&135>t?90:135<=t&&225>t?180:270,i=315<=i||45>i?0:45<=i&&135>i?90:135<=i&&225>i?180:270;var l=r.actualBounds.copy(),u=o.actualBounds.copy();if(l.w()&&u.w()){l.Bc(Pp,Pp),u.Bc(Pp,Pp),l.Ye(e),u.Ye(n);var f=he.alloc(),p=he.alloc();t===0?n.x>e.x||i===270&&n.ye.x||i===90&&n.y>e.y&&u.right>e.x?(f.h(n.x,e.y),p.h(n.x,(e.y+n.y)/2),i===180?(f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1),p.x=f.x,p.y=n.y):i===270&&n.ye.y?(f.x=e.xu.bottom)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):u.right,p.x=f.x,p.y=n.y):i===0&&e.xu.top&&e.yl.bottom)&&(i===180&&(u.ca(e)||l.ca(n))?f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):n.ye.y&&(i===180||i===270)&&(f.y=this.computeMidOrthoPosition(e.x,l.bottom,n.x,Math.min(n.y,u.top),!0)),p.x=n.x,p.y=f.y),f.y>l.top&&f.y=l.left&&n.x<=e.x||e.x<=u.right&&e.x>=n.x?(i===90||i===270)&&(f.h(Math.max((e.x+n.x)/2,e.x),e.y),p.h(f.x,n.y)):(f.y=i===270||(i===0||i===180)&&n.ye.y&&u.lefte.y?(f.x=e.x>u.right?this.computeMidOrthoPosition(e.x,e.y,u.right,n.y,!1):e.x>u.left&&(i===270&&e.yu.bottom)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):u.left,p.x=f.x,p.y=n.y):i===180&&e.x>u.right&&e.y>u.top&&e.yl.bottom)&&(i===0&&(u.ca(e)||l.ca(n))?f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):n.ye.y&&(i===0||i===270)&&(f.y=this.computeMidOrthoPosition(e.x,l.bottom,n.x,Math.min(n.y,u.top),!0)),p.x=n.x,p.y=f.y),f.y>l.top&&f.y=e.x||e.x>=u.left&&e.x<=n.x?(i===90||i===270)&&(f.h(Math.min((e.x+n.x)/2,e.x),e.y),p.h(f.x,n.y)):(f.y=i===270||(i===0||i===180)&&n.ye.y||i===180&&n.xe.y||i===0&&n.x>e.x&&u.bottom>e.y?(f.h(e.x,n.y),p.h((e.x+n.x)/2,n.y),i===270?(f.y=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0),p.x=n.x,p.y=f.y):i===180&&n.xe.x?(f.y=e.yu.right)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):u.bottom,p.x=n.x,p.y=f.y):i===90&&e.yu.left&&e.xl.right)&&(i===270&&(u.ca(e)||l.ca(n))?f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):n.xe.x&&(i===270||i===180)&&(f.x=this.computeMidOrthoPosition(l.right,e.y,Math.min(n.x,u.left),n.y,!1)),p.x=f.x,p.y=n.y),f.x>l.left&&f.x=l.top&&n.y<=e.y||e.y<=u.bottom&&e.y>=n.y?(i===0||i===180)&&(f.h(e.x,Math.max((e.y+n.y)/2,e.y)),p.h(n.x,f.y)):(f.x=i===180||(i===90||i===270)&&n.xe.x&&u.top=e.x?(f.y=e.y>u.bottom?this.computeMidOrthoPosition(e.x,e.y,n.x,u.bottom,!0):e.y>u.top&&(i===180&&e.xu.right)?this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!0):u.top,p.x=n.x,p.y=f.y):i===270&&e.y>u.bottom&&e.x>u.left&&e.xl.right)&&(i===90&&(u.ca(e)||l.ca(n))?f.x=this.computeMidOrthoPosition(e.x,e.y,n.x,n.y,!1):n.xe.x&&(i===90||i===180)&&(f.x=this.computeMidOrthoPosition(l.right,e.y,Math.min(n.x,u.left),n.y,!1)),p.x=f.x,p.y=n.y),f.x>l.left&&f.x=e.y||e.y>=u.top&&e.y<=n.y?(i===0||i===180)&&(f.h(e.x,Math.min((e.y+n.y)/2,e.y)),p.h(n.x,f.y)):(f.x=i===180||(i===90||i===270)&&n.x=Df&&(m1(R),l.Bc(R.Ho*R.Hx,R.Go*R.Ix),g1(R,e,t,x,i,l,!1),u=Hc(R,x.x,x.y)),!R.abort&&uthis.pointsCount?(t===0||t===180?(l.x=e.x,l.y=x.y):(l.x=x.x,l.y=e.y),this.L(2,l.x,l.y),this.m(3,l.x,l.y)):(a=this.i(3),t===0||t===180?qe.B(l.x,a.x)?(l=t===0?Math.max(l.x,e.x):Math.min(l.x,e.x),this.L(2,l,e.y),this.L(3,l,a.y)):qe.B(l.y,a.y)?(Math.abs(e.y-l.y)<=R.Go/2&&(this.L(2,l.x,e.y),this.L(3,a.x,e.y)),this.m(2,l.x,e.y)):this.L(2,e.x,l.y):(t===90||t===270)&&(qe.B(l.y,a.y)?(l=t===90?Math.max(l.y,e.y):Math.min(l.y,e.y),this.L(2,e.x,l),this.L(3,a.x,l)):qe.B(l.x,a.x)?(Math.abs(e.x-l.x)<=R.Ho/2&&(this.L(2,e.x,l.y),this.L(3,e.x,a.y)),this.m(2,e.x,l.y)):this.L(2,l.x,e.y))),n!==null&&(e=this.i(1),a=this.i(2),e.x!==a.x&&e.y!==a.y?t===0||t===180?this.m(2,e.x,a.y):this.m(2,a.x,e.y):t===0||t===180?this.m(2,r.x,n.y):this.m(2,n.x,r.y)),_!==null&&(i===0||i===180?this.yf(o.x,_.y):this.yf(_.x,o.y)),t=!0):t=!1}}}else t=!1;t||(this.ne(f.copy()),this.ne(p.copy())),he.free(f),he.free(p)}},Pn.prototype.computeMidOrthoPosition=function(e,t,n,i,r){var o=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(o=this.computeCurviness()),r?(t+i)/2+o:(e+n)/2+o};function nv(e){if(e.diagram===null||!e.isAvoiding||!hf(e.diagram))return!1;var t=e.points.s,n=t.length;if(4>n)return!1;e=df(e.diagram,!0,e.containingGroup,null);for(var i=1;iCd&&Hc(t,p,x)!==f-1&&(Hc(t,n-l,i)===f-1?(r=180,p=n-l,x=i):Hc(t,n+l,i)===f-1?(r=0,p=n+l,x=i):Hc(t,n,i-u)===f-1?(r=270,p=n,x=i-u):Hc(t,n,i+u)===f-1&&(r=90,p=n,x=i+u));f>Cd&&Hc(t,p,x)===f-1;)n=p,i=x,r===0?p+=l:r===90?x+=u:r===180?p-=l:x-=u,--f;o?f>Cd&&(r===180||r===0?n=Math.floor(n/l)*l+l/2:(r===90||r===270)&&(i=Math.floor(i/u)*u+u/2)):(n=Math.floor(n/l)*l+l/2,i=Math.floor(i/u)*u+u/2),f>Cd&&(o=r,a=n,p=i,r===0?(o=90,p+=u):r===90?(o=180,a-=l):r===180?(o=270,p-=u):r===270&&(o=0,a+=l),Hc(t,a,p)===f-1?iv(e,t,a,p,o,!1,o):(a=n,p=i,r===0?(o=270,p-=u):r===90?(o=0,a+=l):r===180?(o=90,p+=u):r===270&&(o=180,a-=l),Hc(t,a,p)===f-1&&iv(e,t,a,p,o,!1,o))),e.yf(n,i)}Pn.prototype.ez=function(e){var t=e.x;e=e.y;for(var n=this.i(0),i=this.i(1),r=Lr(t,e,n.x,n.y,i.x,i.y),o=0,a=1;athis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),e=this.path,e!==null)){e.ua=this.ua;for(var t=this.O.s,n=t.length,i=0;i=t&&(i=t-1),u=this.i(i),o.x=Math.min(u.x,o.x),o.y=Math.min(u.y,o.y);i=o.x,u=o.y}else{for(u=0;ube?_>R?(o.x=ue-Ue,o.y=R-Ue,r.x=ue+V,r.y=R+V):(o.x=ue-Ue,o.y=R+Ue,r.x=ue+V,r.y=R-V):_>R?(o.x=ue+Ue,o.y=R-Ue,r.x=ue-V,r.y=R+V):(o.x=ue+Ue,o.y=R+Ue,r.x=ue-V,r.y=R-V)),qe.$(be,ue)&&qe.$(R,_)&&(R>N?(Fe>ue?(o.x=ue-Ue,o.y=R-Ue,r.x=ue+V):(o.x=ue+Ue,o.y=R-Ue,r.x=ue-V),r.y=R+V):(Fe>ue?(o.x=ue-Ue,o.y=R+Ue,r.x=ue+V):(o.x=ue+Ue,o.y=R+Ue,r.x=ue-V),r.y=R-V)),(qe.$(be,ue)&&qe.$(ue,Fe)||qe.$(N,R)&&qe.$(R,_))&&(be=.5*(be+Fe),N=.5*(N+_),o.x=be,o.y=N,r.x=be,r.y=N),(x===1||x===2&&qe.$(a.x,this.i(0).x)&&qe.$(a.y,this.i(0).y))&&(n.x=.5*(a.x+f.x),n.y=.5*(a.y+f.y)),bh(l,n.x-i,n.y-u,o.x-i,o.y-u,f.x-i,f.y-u),t.set(o),n.set(r),a=f}}f=a.x,a=a.y,p=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(p=jd(this,p.copy(),!1,gr)),f=.5*(f+p.x),a=.5*(a+p.y),bh(l,r.x-i,r.y-u,f-i,a-u,p.x-i,p.y-u),he.free(t),he.free(n),he.free(o),he.free(r)}else for(n=3;n=t&&(n=t-1),r=this.i(n-1),a=this.i(n),n===t-1&&this.computeShortLength(!1)!==0&&(a=jd(this,a.copy(),!1,gr)),bh(l,o.x-i,o.y-u,r.x-i,r.y-u,a.x-i,a.y-u);else{for(o=he.alloc(),o.assign(this.i(0)),r=he.alloc(),r.assign(o),a=this.computeCorner(),x=1,f=0;x=t-1){if(!o.D(p))this.computeShortLength(!1)!==0&&(p=jd(this,p.copy(),!1,gr)),Gd(this,l,-i,-u,o,p,n);else if(f===0)for(x=1;xo.x?Ge=N.x-_:Ge=N.x+_,ue.y>N.y?Fe=N.y+Ue:Fe=N.y-Ue,ue=he.allocAt(Ge,rt),Gd(this,l,x,be,o,ue,V),he.free(ue),Y0(l,N.x+x,N.y+be,R+x,Fe+be),o.h(R,Fe)}else qe.B(o.x,N.x)&&qe.B(N.y,ue.y)?(_=Math.min(a,Math.abs(N.y-r.y)/2),_=Ue=Math.min(_,Math.abs(ue.x-N.x)/2),qe.B(Ue,0)?(Gd(this,l,x,be,o,N,V),o.assign(N)):(Ge=N.x,rt=N.y,R=Ge,Fe=rt,N.y>o.y?rt=N.y-_:rt=N.y+_,ue.x>N.x?R=N.x+Ue:R=N.x-Ue,ue=he.allocAt(Ge,rt),Gd(this,l,x,be,o,ue,V),he.free(ue),Y0(l,N.x+x,N.y+be,R+x,Fe+be),o.h(R,Fe))):(Gd(this,l,x,be,o,N,V),o.assign(N));r.assign(p),x=f}he.free(o)}X0=l}else l=this.i(1).copy(),l.x-=i,l.y-=u,this.computeShortLength(!0)!==0&&(r=jd(this,r,!0,o)),this.computeShortLength(!1)!==0&&(l=jd(this,l,!1,o)),e.type=Dn.j,e.startX=r.x,e.startY=r.y,e.endX=l.x,e.endY=l.y;return this.lk=!0,e};function om(e,t,n,i){return e=n-e,isNaN(e)||e===1/0||e===-1/0?NaN:(0>e&&(e=-e),t=i-t,isNaN(t)||t===1/0||t===-1/0?NaN:(0>t&&(t=-t),qe.$(e,0)?t:qe.$(t,0)?e:Math.sqrt(e*e+t*t)))}function jd(e,t,n,i){var r=e.pointsCount;if(2>r)return t;if(n){var o=e.i(1);if(n=o.x-i.x,o=o.y-i.y,i=om(t.x,t.y,n,o),i===0)return t;r=r===2?.5*i:i,e=e.computeShortLength(!0),e>r&&(e=r),r=e*(o-t.y)/i,t.x+=e*(n-t.x)/i,t.y+=r}else{if(o=e.i(r-2),n=o.x-i.x,o=o.y-i.y,i=om(t.x,t.y,n,o),i===0)return t;r=r===2?.5*i:i,e=e.computeShortLength(!1),e>r&&(e=r),r=e*(t.y-o)/i,t.x-=e*(t.x-n)/i,t.y-=r}return t}function rv(e,t,n,i){for(var r=e.pointsCount,o=t;qe.$(t.x,o.x)&&qe.$(t.y,o.y);){if(n>=r)return r-1;o=e.i(n++)}if(!qe.$(t.x,o.x)&&!qe.$(t.y,o.y))return n-1;for(var a=o;qe.$(t.x,o.x)&&qe.$(o.x,a.x)&&(!i||(t.y>=o.y?o.y>=a.y:o.y<=a.y))||qe.$(t.y,o.y)&&qe.$(o.y,a.y)&&(!i||(t.x>=o.x?o.x>=a.x:o.x<=a.x));){if(n>=r)return r-1;a=e.i(n++)}return n-2}Pn.prototype.computeJumpLength=function(){return 10};function Gd(e,t,n,i,r,o,a){if(!a&&wd(e)){a=e.computeJumpLength();var l=a/2,u=[],f=0;if(e.isVisible()&&(f=zb(e,r,o,u)),0x-a);)f--,x=Math.max(p-l,o.x);p=o.y-a+i,x+=n,R=o.y+i,e.curve===wh?If(t,x,R,!1):bh(t,N,p,x,p,x,R)}else if(qe.B(r.x,o.x))if(r.yp-a);)f--,p=Math.max(x-l,o.y);x=o.x-a+n,R=o.x+n,p+=i,e.curve===wh?If(t,R,p,!1):bh(t,x,N,x,p,R,p)}}}t.lineTo(o.x+n,o.y+i)}function zb(e,t,n,i){var r=e.diagram;if(r===null||t.D(n))return 0;for(r=r.layers;r.next();){var o=r.value;if(o!==null&&o.visible){o=o.Pa.s;for(var a=o.length,l=0;la.x&&p.x>=f.x||f.xa.y&&p.y>=f.y||f.ya&&Math.min(_,V)p&&!qe.B(_,V)){l.x=p,l.y=a,p=!0;break e}}else if(qe.B(x,R)&&qe.B(_,V)&&Math.min(p,N)<_&&Math.max(p,N)>_&&Math.min(a,be)x&&!qe.B(a,be)){l.x=_,l.y=x,p=!0;break e}l.x=0,l.y=0,p=!1}p&&(r?n.push(l.x):n.push(l.y)),a=f}he.free(l)}function wd(e){return e=e.curve,e===Lf||e===wh}function am(e,t){(t||wd(e))&&(t=e.diagram,t===null||t.animationManager.isTicking||t.Eh.contains(e)||e.ml.width===0&&e.ml.height===0||t.Eh.add(e,e.ml.copy()))}Pn.prototype.Xo=function(e){var t=this.layer;if(t!==null&&t.visible&&!t.isTemporary){var n=t.diagram;if(n!==null&&!n.animationManager.isTicking){var i=!1;for(n=n.layers;n.next();){var r=n.value;if(r.visible){if(r===t){i=!0;var o=!1;r=r.Pa.s;for(var a=r.length,l=0;le&&Lt(e,">= 0",Pn,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=e,this.g("fromEndSegmentLength",t,e),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(e){var t=this.fromShortLength;t!==e&&(this.Xc(),this.ba.Wi=e,this.qc(),this.g("fromShortLength",t,e))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Kr},set:function(e){var t=this.toSpot;t.D(e)||(e=e.J(),this.Xc(),this.ba.yj=e,this.g("toSpot",t,e),(t.$c()||e.$c())&&this.toNode!==null&&ou(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(e){var t=this.toEndSegmentLength;t!==e&&(0>e&&Lt(e,">= 0",Pn,"toEndSegmentLength"),this.Xc(),this.ba.wj=e,this.g("toEndSegmentLength",t,e),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(e){var t=this.toShortLength;t!==e&&(this.Xc(),this.ba.xj=e,this.qc(),this.g("toShortLength",t,e))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=i&&(o=i-1);var l=this.i(o-1),u=this.i(o);qe.Dl(r.x,r.y,a.x,a.y,l.x,l.y,u.x,u.y,.5,e),t=Math.min(u.x,t),n=Math.min(u.y,n),r=u}else for(r=this.i(0),o=this.i(1),t=Math.min(r.x,o.x),n=Math.min(r.y,o.y),e.h(r.x,r.y,0,0),e.Ye(o),r=2;ri&&(i=-i)):qe.$(i.y,r.y)?(i=r.x-i.x,0>i&&(i=-i)):i=Math.sqrt(i.Bf(r)),e.push(i)}}return this.cq}},flattenedTotalLength:{get:function(){var e=this.vt;if(isNaN(e)){for(var t=this.flattenedLengths,n=t.length,i=e=0;ithis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Of(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var e=this.pointsCount;return e===0?0:2>=e?e-1:this.isOrthogonal||!Of(this.computeSpot(!1))?e-2:e-1}},adjusting:{get:function(){return this.qk},set:function(e){var t=this.qk;t!==e&&(this.qk=e,this.g("adjusting",t,e))}},corner:{get:function(){return this.Om},set:function(e){var t=this.Om;t!==e&&(this.Om=e,this.qc(),this.g("corner",t,e))}},curve:{get:function(){return this.Qm},set:function(e){var t=this.Qm;t!==e&&(this.Qm=e,this.bb(),this.qc(),am(this,t===wh||t===Lf||e===wh||e===Lf),this.g("curve",t,e))}},curviness:{get:function(){return this.Rm},set:function(e){var t=this.Rm;t!==e&&(this.Rm=e,this.bb(),this.qc(),this.g("curviness",t,e))}},routing:{get:function(){return this.qj},set:function(e){var t=this.qj;t!==e&&(this.qj=e,this.Wf=null,this.bb(),am(this,(t.value&2)===2||(e.value&2)===2),this.g("routing",t,e))}},smoothness:{get:function(){return this.po},set:function(e){var t=this.po;t!==e&&(this.po=e,this.qc(),this.g("smoothness",t,e))}},key:{get:function(){var e=this.diagram;if(e!==null&&e.model.ri())return e.model.Ac(this.data)}}}),Pn.prototype.invalidateOtherJumpOvers=Pn.prototype.Xo,Pn.prototype.findClosestSegment=Pn.prototype.ez,Pn.prototype.updateRoute=Pn.prototype.vg,Pn.prototype.invalidateRoute=Pn.prototype.bb,Pn.prototype.rollbackRoute=Pn.prototype.rv,Pn.prototype.commitRoute=Pn.prototype.zf,Pn.prototype.startRoute=Pn.prototype.uh,Pn.prototype.clearPoints=Pn.prototype.Fj,Pn.prototype.removePoint=Pn.prototype.pv,Pn.prototype.addPointAt=Pn.prototype.yf,Pn.prototype.addPoint=Pn.prototype.ne,Pn.prototype.insertPointAt=Pn.prototype.m,Pn.prototype.insertPoint=Pn.prototype.Kz,Pn.prototype.setPointAt=Pn.prototype.L,Pn.prototype.setPoint=Pn.prototype.dd,Pn.prototype.getPoint=Pn.prototype.i,Pn.prototype.getOtherPort=Pn.prototype.Cz,Pn.prototype.getOtherNode=Pn.prototype.To;var Wd=null,Vd=null,ov=new Yt(Pn,"Normal",1),Hb=new Yt(Pn,"Orthogonal",2),$b=new Yt(Pn,"AvoidsNodes",6),d1=new Yt(Pn,"AvoidsNodesStraight",7),Nl=new Yt(Pn,"None",0),Su=new Yt(Pn,"Bezier",9),wh=new Yt(Pn,"JumpGap",10),Lf=new Yt(Pn,"JumpOver",11),Ip=new Yt(Pn,"End",17),sm=new Yt(Pn,"Scale",18),lm=new Yt(Pn,"Stretch",19),Mp=new Yt(Pn,"OrientAlong",21),Op=new Yt(Pn,"OrientPlus90",22),Lp=new Yt(Pn,"OrientMinus90",23),av=new Yt(Pn,"OrientOpposite",24),um=new Yt(Pn,"OrientUpright",25),Rp=new Yt(Pn,"OrientPlus90Upright",26),Dp=new Yt(Pn,"OrientMinus90Upright",27),cm=new Yt(Pn,"OrientUpright45",28),f1=16,p1=14,Pp=8;Pn.className="Link",Pn.Normal=ov,Pn.Orthogonal=Hb,Pn.AvoidsNodes=$b,Pn.AvoidsNodesStraight=d1,Pn.None=Nl,Pn.Bezier=Su,Pn.JumpGap=wh,Pn.JumpOver=Lf,Pn.End=Ip,Pn.Scale=sm,Pn.Stretch=lm,Pn.OrientAlong=Mp,Pn.OrientPlus90=Op,Pn.OrientMinus90=Lp,Pn.OrientOpposite=av,Pn.OrientUpright=um,Pn.OrientPlus90Upright=Rp,Pn.OrientMinus90Upright=Dp,Pn.OrientUpright45=cm,Pn.EndSegmentStep=8,Pn.CurvinessStart=f1,Pn.SpacingMin=p1,Pn.OrthoShortCut=Pp;function hm(e,t,n,i){Li(this),this.Fe=this.qq=!1,this.Ds=e,this.Ox=t,this.cv=n,this.Px=i,this.links=[]}hm.prototype.Sl=function(){if(!this.qq){var e=this.links;0=e.width||0>=e.height)){var t=e.y,n=e.x+e.width,i=e.y+e.height;if(this.Nd=Math.floor((e.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((t-this.sc)/this.sc)*this.sc,this.En=Math.ceil((n+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((i+2*this.sc)/this.sc)*this.sc,e=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),t=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Cd&&(n[i]=sv)}Fp.prototype.Yj=function(e,t,n,i){if(e>this.En||e+nthis.Fn||t+ie&&(n+=e,e=0),0>t&&(r+=t,t=0),0>n||0>r)return!0;for(i=Math.min(e+n-1,this.di)|0,n=Math.min(t+r-1,this.ei)|0;e<=i;e++){r=this.ac[e];for(var o=t;o<=n;o++)if(r[o]===Ch)return!1}return!0};function $c(e,t,n,i,r,o,a,l,u){if(!(ta||nu)){var f=t|0,p=n|0,x=e.ac[f][p];if(x>=Cd&&x=e.ac[f][p]);)e.ac[f][p]=x,x+=1,r?p+=i:f+=i;if(f=r?p:f,r)if(0f;n+=i)$c(e,t,n,1,!r,o,a,l,u),$c(e,t,n,-1,!r,o,a,l,u);else if(0f;t+=i)$c(e,t,n,1,!r,o,a,l,u),$c(e,t,n,-1,!r,o,a,l,u)}}function dm(e,t,n,i,r,o,a,l,u){t|=0,n|=0;var f=Ch,p=Cd;for(e.ac[t][n]=p;f===Ch&&t>o&&tl&&no&&tl&&n=Math.abs(l-f)&&1>=Math.abs(u-p))e.abort=!0;else{var x=o.x;i=o.y,t=o.x+o.width;var N=o.y+o.height;x-=e.Nd,x/=e.rc,i-=e.Od,i/=e.sc,t-=e.Nd,t/=e.rc,N-=e.Od,N/=e.sc,o=Math.max(0,Math.min(e.di,x|0)),t=Math.min(e.di,Math.max(0,t|0)),x=Math.max(0,Math.min(e.ei,i|0)),N=Math.min(e.ei,Math.max(0,N|0)),i=e.ac,l|=0,u|=0,f|=0,p|=0;var R=n===0||n===90?1:-1;if(n=n===90||n===270,i[l][u]===Ch?(dm(e,l,u,R,n,o,t,x,N),dm(e,l,u,1,!n,o,t,x,N),dm(e,l,u,-1,!n,o,t,x,N)):dm(e,l,u,R,n,l,u,l,u),i[f][p]===Ch?(fm(e,f,p,r===0||r===90?1:-1,r===90||r===270,o,t,x,N),fm(e,f,p,1,!(r===90||r===270),o,t,x,N),fm(e,f,p,-1,!(r===90||r===270),o,t,x,N)):fm(e,f,p,R,n,f,p,f,p),n=Rt(),a&&v1(e,f,p,r,l,u,n))for((n[0]!==f||n[1]!==p)&&(n.unshift(p),n.unshift(f)),(n[n.length-2]!==l||n[n.length-1]!==u)&&(n.push(l),n.push(u)),e=Cd,r=n[n.length-2],a=n[n.length-1],i[r][a]=e++,o=n.length-4;0<=o;o-=2)for(r=n[o+2],a=n[o+3],t=n[o],f=n[o+1];t>r?r++:ta?a++:fr)p--;else break;else if(x>o)x--;else break;var N=l[p][x];if(N===0||N===lv)break;u=p,f=x}for(;;){if(p=i,x=u,N=f,i===0?No&&(p=270,N--):i===90?xr&&(p=180,x--):i===180?No&&(p=270,N--):xr&&(p=180,x--),x=l[x][N],p!==i&&x!==0&&x!==lv){if(a.push(u),a.push(f),v1(e,u,f,p,r,o,a))return!0;a.pop(),a.pop()}if(l[u][f]=lv,i===0){if(u===t)return!1;u--}else if(i===90){if(f===n)return!1;f--}else if(i===180){if(u===t)return!1;u++}else{if(f===n)return!1;f++}}}ht.Object.defineProperties(Fp.prototype,{bounds:{get:function(){return new Zt(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(e){0=n?180:0}switch(e=180*Math.atan2(e.height,e.width)/Math.PI,t){case 3:return n>e&&n<=180+e?180:270;case 5:return n>180-e&&n<=360-e?270:0;case 12:return n>e&&n<=180+e?90:0;case 10:return n>180-e&&n<=360-e?180:90;case 7:return 90180+e&&n<=360-e?270:0;case 13:return 180e&&180>=n?90:0;case 14:return n>e&&n<=180-e?90:n>180-e&&270>=n?180:0;case 11:return n>180-e&&n<=180+e?180:n>180+e?270:90}return i&&t!==15&&(n-=15,0>n&&(n+=360)),n>e&&n<180-e?90:n>=180-e&&n<=180+e?180:n>180+e&&n<360-e?270:0}Kd.prototype.Sl=function(){this.pe.length=0};function y1(e,t){var n=e.pe;if(n.length===0){e:if(!e.ap){n=e.ap,e.ap=!0;var i=null,r=e.node,o=r instanceof qi?r:null;if(o===null||o.isSubGraphExpanded)var a=r.isTreeExpanded?r.findLinksConnected(e.port.portId):r.qx();else{if(!o.actualBounds.w()){e.ap=n;break e}i=o,a=i.Lu()}o=e.pe.length=0;var l=e.port.ga(Jo,he.alloc()),u=e.port.ga(Bo,he.alloc());for(r=Zt.allocAt(l.x,l.y,0,0),r.Ye(u),he.free(l),he.free(u),l=he.allocAt(r.x+r.width/2,r.y+r.height/2),u=e.port.li(),a=a.iterator;a.next();){var f=a.value;if(f.isVisible()&&f.fromPort!==f.toPort){var p=f.fromPort===e.port||f.fromNode!==null&&f.fromNode.Td(i),x=f.computeSpot(p,e.port);if(x.$c()&&(p=p?f.toPort:f.fromPort,p!==null)){var N=p.part;if(N!==null){var R=N.findVisibleNode();R!==null&&R!==N&&(N=R,p=N.port),p=f.computeOtherPoint(N,p),N=l.ab(p),N-=u,0>N?N+=360:360<=N&&(N-=360),x=jb(r,x,N,f.isOrthogonal),x===0?(x=4,180N&&(N+=360)),R=e.pe[o],R===void 0?(R=new uv(f,N,x),e.pe[o]=R):(R.link=f,R.angle=N,R.Nc=x),R.hv.set(p),o++}}}}for(he.free(l),e.pe.sort(Kd.prototype.j),u=e.pe.length,i=-1,o=l=0;oMath.abs(V)?(Fe=Math.abs(V)/N,N=Math.abs(V)):Fe=1;break;case 2:R>Math.abs(Ue)?(Fe=Math.abs(Ue)/R,R=Math.abs(Ue)):Fe=1;break;case 1:x>Math.abs(V)?(Fe=Math.abs(V)/x,x=Math.abs(V)):Fe=1;break;default:case 4:p>Math.abs(Ue)?(Fe=Math.abs(Ue)/p,p=Math.abs(Ue)):Fe=1}ue=0}var At=Ge.Zo;if(i===Jg){switch(Ge=Ge.link.computeThickness(),Ge*=Fe,At.set(rt),_){case 8:At.x=rt.x+V/2+N/2-ue-Ge/2;break;case 2:At.y=rt.y+Ue/2+R/2-ue-Ge/2;break;case 1:At.x=rt.x+V/2-x/2+ue+Ge/2;break;default:case 4:At.y=rt.y+Ue/2-p/2+ue+Ge/2}ue+=Ge}else{var Kn=.5;i===tm&&(Kn=(Ge.Uo+1)/(Ge.Gl+1)),At.x=rt.x+V*Kn,At.y=rt.y+Ue*Kn}}}for(he.free(l),he.free(u),he.free(a),he.free(f),rt=e.pe,o=0;ot.Nc?1:e.anglet.angle?1:0},Kd.prototype.computeEndSegmentLength=function(e){var t=e.link,n=t.computeEndSegmentLength(this.node,this.port,Ui,t.fromPort===this.port),i=e.Uo;if(0>i)return n;var r=e.Gl;if(1>=r||!t.isOrthogonal)return n;t=e.hv;var o=e.Zo;return(e.Nc===2||e.Nc===8)&&(i=r-1-i),((e=e.Nc===2||e.Nc===4)?t.y=t-1?(o=0,i=n,r+=a+20,a=0):o++}},Qo.prototype.doMinimalNetworkLayout=function(){var e=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var t=this.arrangementOrigin.x,n=t,i=this.arrangementOrigin.y,r=0,o=0,a=this.network.vertexes.iterator;a.next();){var l=a.value.node;if(!(l===null||l instanceof Pn)&&(Bp(l),this.rh(l))){var u=l.measuredBounds,f=u.width;u=u.height,l.moveTo(n,i),l instanceof qi&&(l.rh=!1),n+=Math.max(f,50)+20,o=Math.max(o,Math.max(u,50)),r>=e-1?(r=0,n=t,i+=o+20,o=0):r++}}},Qo.prototype.rh=function(e){return!!(!e.location.w()||e instanceof qi&&e.rh)};function Vh(e,t,n,i,r,o,a,l){for(n=n.iterator;n.next();){var u=n.value;i&&!u.isTopLevel||r!==null&&!r(u)||!u.canLayout()||(o&&u instanceof Xn?u.isLinkLabel||(u instanceof qi&&u.layout===null?Vh(e,t,u.memberParts,!1,r,o,a,l):(Bp(u),t.add(u))):a&&u instanceof Pn?t.add(u):!l||!u.Zc()||u instanceof Xn||(Bp(u),t.add(u)))}}function Bp(e){var t=e.actualBounds;(t.width===0||t.height===0||isNaN(t.width)||isNaN(t.height))&&e.Va()}Qo.prototype.ni=function(e,t){var n=this.boundsComputation;return n!==null?(t||(t=new Zt),n(e,this,t)):t?(t.set(e.actualBounds),t):e.actualBounds},Qo.prototype.ex=function(e){var t=new Xt;return e instanceof Y?(Vh(this,t,e.nodes,!0,null,!0,!0,!0),Vh(this,t,e.links,!0,null,!0,!0,!0),Vh(this,t,e.parts,!0,null,!0,!0,!0)):e instanceof qi?Vh(this,t,e.memberParts,!1,null,!0,!0,!0):Vh(this,t,e.iterator,!1,null,!0,!0,!0),t},Qo.prototype.initialOrigin=function(e){var t=this.group;if(t!==null){var n=t.position.copy();return(isNaN(n.x)||isNaN(n.y))&&n.set(e),t=t.placeholder,t!==null&&(n=t.ga(Jo),(isNaN(n.x)||isNaN(n.y))&&n.set(e),e=t.padding,n.x+=e.left,n.y+=e.top),n}return e},ht.Object.defineProperties(Qo.prototype,{diagram:{get:function(){return this.H},set:function(e){this.H=e}},group:{get:function(){return this.o},set:function(e){this.o!==e&&(this.o=e,e!==null&&(this.H=e.diagram))}},isOngoing:{get:function(){return this.sn},set:function(e){this.sn!==e&&(this.sn=e)}},isInitial:{get:function(){return this.Gh},set:function(e){this.Gh=e,e||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(e){this.yn!==e&&(this.yn=e)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(e){this.vn!==e&&(this.vn=e)}},isRealtime:{get:function(){return this.un},set:function(e){this.un!==e&&(this.un=e)}},isValidLayout:{get:function(){return this.xn},set:function(e){this.xn!==e&&(this.xn=e,e||(e=this.diagram,e!==null&&(e.xh=!0)))}},network:{get:function(){return this.j},set:function(e){this.j!==e&&(this.j=e,e!==null&&(e.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(e){this.Em!==e&&(this.Em=e,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(e){this.Am.D(e)||(this.Am.assign(e),this.C())}}}),Qo.prototype.collectParts=Qo.prototype.ex,Qo.prototype.getLayoutBounds=Qo.prototype.ni,Qo.prototype.invalidateLayout=Qo.prototype.C,Qo.className="Layout";function Oo(e){Li(this),this.Sc=e,this.wf=new Xt,this.ye=new Xt,this.Es=new Zn,this.zs=new Zn}Oo.prototype.clear=function(){if(this.wf)for(var e=this.wf.iterator;e.next();)e.value.clear();if(this.ye)for(e=this.ye.iterator;e.next();)e.value.clear();this.wf=new Xt,this.ye=new Xt,this.Es=new Zn,this.zs=new Zn},Oo.prototype.toString=function(e){e===void 0&&(e=0);var t="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=e)return t;if(t+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1t?1:0):1:t!==null?-1:0}dt.Object.defineProperties(us.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(e){if(this.ub=e,e!==null&&e.bounds){var t=e.bounds;e=t.x;var n=t.y,i=t.width;t=t.height,this.o.h(i/2,t/2),this.j.h(e,n,i,t)}}},node:{get:function(){return this.Sh},set:function(e){if(this.Sh!==e){this.Sh=e,e.Va();var t=this.network.layout,n=Wt.alloc(),i=t.ni(e,n);t=i.x;var r=i.y,o=i.width;if(i=i.height,isNaN(t)&&(t=0),isNaN(r)&&(r=0),this.j.h(t,r,o,i),Wt.free(n),!(e instanceof nr)&&(e=e.locationObject.ga(Dr),e.w())){this.o.h(e.x-t,e.y-r);return}this.o.h(o/2,i/2)}}},bounds:{get:function(){return this.j},set:function(e){this.j.D(e)||this.j.assign(e)}},focus:{get:function(){return this.o},set:function(e){this.o.D(e)||this.o.assign(e)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(e){var t=this.j;t.x+this.o.x!==e&&(t.ka(),t.x=e-this.o.x,t.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(e){var t=this.j;t.y+this.o.y!==e&&(t.ka(),t.y=e-this.o.y,t.freeze())}},focusX:{get:function(){return this.o.x},set:function(e){var t=this.o;t.x!==e&&(t.ka(),t.x=e,t.freeze())}},focusY:{get:function(){return this.o.y},set:function(e){var t=this.o;t.y!==e&&(t.ka(),t.y=e,t.freeze())}},x:{get:function(){return this.j.x},set:function(e){var t=this.j;t.x!==e&&(t.ka(),t.x=e,t.freeze())}},y:{get:function(){return this.j.y},set:function(e){var t=this.j;t.y!==e&&(t.ka(),t.y=e,t.freeze())}},width:{get:function(){return this.j.width},set:function(e){var t=this.j;t.width!==e&&(t.ka(),t.width=e,t.freeze())}},height:{get:function(){return this.j.height},set:function(e){var t=this.j;t.height!==e&&(t.ka(),t.height=e,t.freeze())}},network:{get:function(){return this.ob},set:function(e){this.ob=e}},sourceVertexes:{get:function(){for(var e=new Zt,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);return e.iterator}},destinationVertexes:{get:function(){for(var e=new Zt,t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},vertexes:{get:function(){for(var e=new Zt,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);for(t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var e=new Xt,t=this.sourceEdges;t.next();)e.add(t.value);for(t=this.destinationEdges;t.next();)e.add(t.value);return e.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),us.prototype.deleteDestinationEdge=us.prototype.Jl,us.prototype.addDestinationEdge=us.prototype.zl,us.prototype.deleteSourceEdge=us.prototype.Kl,us.prototype.addSourceEdge=us.prototype.Cl,us.className="LayoutVertex",us.standardComparer=fv,us.smartComparer=function(e,t){if(e!==null){if(t!==null){e=e.Sh;var n=t.Sh;if(e!==null){if(n!==null){for(t=e.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),e=n.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),n=0;n "+(this.qd?this.qd.toString():"null"))),t},ru.prototype.gm=function(){var e=this.kd;this.kd=this.qd,this.qd=e},ru.prototype.commit=function(){},ru.prototype.Ax=function(e){return this.qd===e?this.kd:this.kd===e?this.qd:null},dt.Object.defineProperties(ru.prototype,{network:{get:function(){return this.nb},set:function(e){this.nb=e}},data:{get:function(){return this.ub},set:function(e){this.ub!==e&&(this.ub=e)}},link:{get:function(){return this.$k},set:function(e){this.$k!==e&&(this.$k=e)}},fromVertex:{get:function(){return this.kd},set:function(e){this.kd!==e&&(this.kd=e)}},toVertex:{get:function(){return this.qd},set:function(e){this.qd!==e&&(this.qd=e)}}}),ru.prototype.getOtherVertex=ru.prototype.Ax,ru.className="LayoutEdge";function Os(e){Qo.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new fi(NaN,NaN).freeze(),this.tf=new fi(10,10).freeze(),this.Jb=_p,this.Rb=mm,this.nd=zp,this.hd=x1,e&&Object.assign(this,e)}xi(Os,Qo),Os.prototype.cloneProtected=function(e){Qo.prototype.cloneProtected.call(this,e),e.zo=this.zo,e.yo=this.yo,e.yg.assign(this.yg),e.tf.assign(this.tf),e.Jb=this.Jb,e.Rb=this.Rb,e.nd=this.nd,e.hd=this.hd},Os.prototype.qb=function(e){e.classType===Os?e===zp||e===vm||e===pv||e===gm?this.sorting=e:e===mm||e===pc?this.arrangement=e:e===_p||e===pm?this.alignment=e:Ve("Unknown enum value: "+e):Qo.prototype.qb.call(this,e)},Os.prototype.doLayout=function(e){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var t=this.ex(e);e=this.diagram;for(var n=t.copy().iterator;n.next();){var i=n.value;if(!i.ph()||i.fromNode===null&&i.toNode===null){if(i.Va(),i instanceof nr)for(i=i.memberParts;i.next();)t.remove(i.value)}else t.remove(i)}var r=t.Fa();if(r.length!==0){switch(this.sorting){case gm:r.reverse();break;case zp:r.sort(this.comparer);break;case vm:r.sort(this.comparer),r.reverse()}var o=this.wrappingColumn;isNaN(o)&&(o=0);var a=this.wrappingWidth;switch(isNaN(a)&&e!==null?(t=e.padding,a=Math.max(e.viewportBounds.width-t.left-t.right,0)):a=Math.max(this.wrappingWidth,0),0>=o&&0>=a&&(o=1),t=this.spacing.width,isFinite(t)||(t=0),n=this.spacing.height,isFinite(n)||(n=0),e!==null&&e.Ea("Layout"),i=[],this.alignment){case pm:var l=t,u=n,f=Wt.alloc(),p=Math.max(this.cellSize.width,1);if(!isFinite(p))for(var x=p=0;xo-1||0a)&&(i.push(new Wt(0,V,a+l,le)),be=0,_=R,V+=le,le=0),le=Math.max(le,At),A){case pc:Ge=-Ge.width;break;default:Ge=0}switch(Ue.moveTo(_+Ge,V),A){case pc:_-=rt;break;default:_+=rt}be++}i.push(new Wt(0,V,a+l,le)),Wt.free(f);break;case _p:for(u=a,p=o,x=t,A=n,a=Wt.alloc(),R=Math.max(this.cellSize.width,1),o=V=f=0,l=he.alloc(),_=0;_=f&&(u-=f),f=Ue=0,rt=Math.max(this.cellSize.height,1),Ge=o=0,At=!0,be=he.alloc(),Vn=0;Vnp-1||0u){for(i.push(new Wt(0,At?Pe-o:Pe,u+x,Ge+o+A)),oi=0;oif&&(o.width+=o.x-f,o.x=f);Wt.free(a)}for(l=o=a=r=0;lt?1:0}dt.Object.defineProperties(Os.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(e){this.zo!==e&&(0x)){var V=x+xp(_);_.pc(V,!0),Ig(_,V,x)}}t.isModified=!0}}finally{t.aa=!0}}}}},co.prototype.updateAllTargetBindings=function(e){e===void 0&&(e="");for(var t=this.parts.iterator;t.next();)t.value.La(e);for(t=this.nodes.iterator;t.next();)t.value.La(e);for(t=this.links.iterator;t.next();)t.value.La(e)},co.prototype.rp=function(){for(var e=this.H.model,t=new Zt,n=e.nodeDataArray,i=0;it?1:0):1:t!==null?-1:0}ht.Object.defineProperties(ns.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(e){if(this.ub=e,e!==null&&e.bounds){var t=e.bounds;e=t.x;var n=t.y,i=t.width;t=t.height,this.o.h(i/2,t/2),this.j.h(e,n,i,t)}}},node:{get:function(){return this.Sh},set:function(e){if(this.Sh!==e){this.Sh=e,e.Va();var t=this.network.layout,n=Zt.alloc(),i=t.ni(e,n);t=i.x;var r=i.y,o=i.width;if(i=i.height,isNaN(t)&&(t=0),isNaN(r)&&(r=0),this.j.h(t,r,o,i),Zt.free(n),!(e instanceof qi)&&(e=e.locationObject.ga(Rr),e.w())){this.o.h(e.x-t,e.y-r);return}this.o.h(o/2,i/2)}}},bounds:{get:function(){return this.j},set:function(e){this.j.D(e)||this.j.assign(e)}},focus:{get:function(){return this.o},set:function(e){this.o.D(e)||this.o.assign(e)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(e){var t=this.j;t.x+this.o.x!==e&&(t.ka(),t.x=e-this.o.x,t.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(e){var t=this.j;t.y+this.o.y!==e&&(t.ka(),t.y=e-this.o.y,t.freeze())}},focusX:{get:function(){return this.o.x},set:function(e){var t=this.o;t.x!==e&&(t.ka(),t.x=e,t.freeze())}},focusY:{get:function(){return this.o.y},set:function(e){var t=this.o;t.y!==e&&(t.ka(),t.y=e,t.freeze())}},x:{get:function(){return this.j.x},set:function(e){var t=this.j;t.x!==e&&(t.ka(),t.x=e,t.freeze())}},y:{get:function(){return this.j.y},set:function(e){var t=this.j;t.y!==e&&(t.ka(),t.y=e,t.freeze())}},width:{get:function(){return this.j.width},set:function(e){var t=this.j;t.width!==e&&(t.ka(),t.width=e,t.freeze())}},height:{get:function(){return this.j.height},set:function(e){var t=this.j;t.height!==e&&(t.ka(),t.height=e,t.freeze())}},network:{get:function(){return this.ob},set:function(e){this.ob=e}},sourceVertexes:{get:function(){for(var e=new Xt,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);return e.iterator}},destinationVertexes:{get:function(){for(var e=new Xt,t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},vertexes:{get:function(){for(var e=new Xt,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);for(t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var e=new qt,t=this.sourceEdges;t.next();)e.add(t.value);for(t=this.destinationEdges;t.next();)e.add(t.value);return e.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),ns.prototype.deleteDestinationEdge=ns.prototype.Jl,ns.prototype.addDestinationEdge=ns.prototype.zl,ns.prototype.deleteSourceEdge=ns.prototype.Kl,ns.prototype.addSourceEdge=ns.prototype.Cl,ns.className="LayoutVertex",ns.standardComparer=fv,ns.smartComparer=function(e,t){if(e!==null){if(t!==null){e=e.Sh;var n=t.Sh;if(e!==null){if(n!==null){for(t=e.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),e=n.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),n=0;n "+(this.qd?this.qd.toString():"null"))),t},au.prototype.gm=function(){var e=this.kd;this.kd=this.qd,this.qd=e},au.prototype.commit=function(){},au.prototype.Ax=function(e){return this.qd===e?this.kd:this.kd===e?this.qd:null},ht.Object.defineProperties(au.prototype,{network:{get:function(){return this.nb},set:function(e){this.nb=e}},data:{get:function(){return this.ub},set:function(e){this.ub!==e&&(this.ub=e)}},link:{get:function(){return this.$k},set:function(e){this.$k!==e&&(this.$k=e)}},fromVertex:{get:function(){return this.kd},set:function(e){this.kd!==e&&(this.kd=e)}},toVertex:{get:function(){return this.qd},set:function(e){this.qd!==e&&(this.qd=e)}}}),au.prototype.getOtherVertex=au.prototype.Ax,au.className="LayoutEdge";function ks(e){Qo.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new pi(NaN,NaN).freeze(),this.tf=new pi(10,10).freeze(),this.Jb=_p,this.Rb=mm,this.nd=zp,this.hd=x1,e&&Object.assign(this,e)}yi(ks,Qo),ks.prototype.cloneProtected=function(e){Qo.prototype.cloneProtected.call(this,e),e.zo=this.zo,e.yo=this.yo,e.yg.assign(this.yg),e.tf.assign(this.tf),e.Jb=this.Jb,e.Rb=this.Rb,e.nd=this.nd,e.hd=this.hd},ks.prototype.qb=function(e){e.classType===ks?e===zp||e===vm||e===pv||e===gm?this.sorting=e:e===mm||e===pc?this.arrangement=e:e===_p||e===pm?this.alignment=e:Ve("Unknown enum value: "+e):Qo.prototype.qb.call(this,e)},ks.prototype.doLayout=function(e){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var t=this.ex(e);e=this.diagram;for(var n=t.copy().iterator;n.next();){var i=n.value;if(!i.ph()||i.fromNode===null&&i.toNode===null){if(i.Va(),i instanceof qi)for(i=i.memberParts;i.next();)t.remove(i.value)}else t.remove(i)}var r=t.Fa();if(r.length!==0){switch(this.sorting){case gm:r.reverse();break;case zp:r.sort(this.comparer);break;case vm:r.sort(this.comparer),r.reverse()}var o=this.wrappingColumn;isNaN(o)&&(o=0);var a=this.wrappingWidth;switch(isNaN(a)&&e!==null?(t=e.padding,a=Math.max(e.viewportBounds.width-t.left-t.right,0)):a=Math.max(this.wrappingWidth,0),0>=o&&0>=a&&(o=1),t=this.spacing.width,isFinite(t)||(t=0),n=this.spacing.height,isFinite(n)||(n=0),e!==null&&e.Ea("Layout"),i=[],this.alignment){case pm:var l=t,u=n,f=Zt.alloc(),p=Math.max(this.cellSize.width,1);if(!isFinite(p))for(var x=p=0;xo-1||0a)&&(i.push(new Zt(0,V,a+l,ue)),be=0,_=R,V+=ue,ue=0),ue=Math.max(ue,At),N){case pc:Ge=-Ge.width;break;default:Ge=0}switch(Ue.moveTo(_+Ge,V),N){case pc:_-=rt;break;default:_+=rt}be++}i.push(new Zt(0,V,a+l,ue)),Zt.free(f);break;case _p:for(u=a,p=o,x=t,N=n,a=Zt.alloc(),R=Math.max(this.cellSize.width,1),o=V=f=0,l=he.alloc(),_=0;_=f&&(u-=f),f=Ue=0,rt=Math.max(this.cellSize.height,1),Ge=o=0,At=!0,be=he.alloc(),Kn=0;Knp-1||0u){for(i.push(new Zt(0,At?Fe-o:Fe,u+x,Ge+o+N)),ri=0;rif&&(o.width+=o.x-f,o.x=f);Zt.free(a)}for(l=o=a=r=0;lt?1:0}ht.Object.defineProperties(ks.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(e){this.zo!==e&&(0x)){var V=x+xp(_);_.pc(V,!0),Ig(_,V,x)}}t.isModified=!0}}finally{t.aa=!0}}}}},so.prototype.updateAllTargetBindings=function(e){e===void 0&&(e="");for(var t=this.parts.iterator;t.next();)t.value.La(e);for(t=this.nodes.iterator;t.next();)t.value.La(e);for(t=this.links.iterator;t.next();)t.value.La(e)},so.prototype.rp=function(){for(var e=this.H.model,t=new Xt,n=e.nodeDataArray,i=0;i=i)return"[]";var r=new J;r.add("["),n&&1=i)return"[]";var r=new q;r.add("["),n&&1i)return;L(e.Tc,i)}ts(e,"nodeDataArray",na,"nodeDataArray",e,t,null,i,null),e.qp(t)}U.nA=function(e){if(un(e))for(var t=e.length,n=0;nt&&(t=e.length),je(e,t,n),ts(this,"",Jo,"",e,null,n,null,t)},U.ov=function(e,t){t===void 0&&(t=-1),e===this.Tc&&Ve("Model.removeArrayItem should not be called on the Model.nodeDataArray"),t===-1&&(t=e.length-1);var n=e[t];L(e,t),ts(this,"",na,"",e,n,null,t,null)},U.Ro=function(e){if(e===null)return"";var t=this.lj;if(t===""||(t=Ua(e,t),t===void 0))return"";if(typeof t=="string")return t;Ve("getCategoryForNodeData found a non-string category for "+e+": "+t)},U.jm=function(e,t){if(e!==null){var n=this.lj;if(n!=="")if(this.lb(e)){var i=Ua(e,n);i===void 0&&(i=""),i!==t&&(Zo(e,n,t),ts(this,"nodeCategory",So,n,e,i,t))}else Zo(e,n,t)}},U.lm=function(e,t){this.jm(t,this.Ro(e))},U.Tl=function(){return!1},U.Wj=function(){return!1},U.ri=function(){return!1},U.xs=function(){return!1},U.Xj=function(){return!1};function bv(){return new di}function Hp(e,t){if(typeof t=="function"){if(t.className)return t.className;if(t.name)return t.name}else if(typeof t=="object"&&t!==null&&t.constructor)return Hp(e,t.constructor);return typeof t}function xv(e){return oc[e]?oc[e]:Ke.go!==void 0&&Ke.go[e]?Ke.go[e]:null}function Ua(e,t){if(!e||!t)return null;try{if(typeof t=="function")var n=t(e);else typeof e.getAttribute=="function"?(n=e.getAttribute(t),n===null&&(n=void 0)):n=e[t]}catch(i){}return n}function Zo(e,t,n){if(e&&t)try{typeof t=="function"?t(e,n):typeof e.setAttribute=="function"?e.setAttribute(t,n):e[t]=n}catch(i){}}dt.Object.defineProperties(di.prototype,{name:{get:function(){return this.xa},set:function(e){var t=this.xa;t!==e&&(this.xa=e,this.g("name",t,e))}},dataFormat:{get:function(){return this.Sm},set:function(e){var t=this.Sm;t!==e&&(this.Sm=e,this.g("dataFormat",t,e))}},isReadOnly:{get:function(){return this.Gg},set:function(e){var t=this.Gg;t!==e&&(this.Gg=e,this.g("isReadOnly",t,e))}},modelData:{get:function(){return this.j},set:function(e){var t=this.j;t!==e&&(this.j=e,this.g("modelData",t,e),this.La(e))}},undoManager:{get:function(){return this.o},set:function(e){var t=this.o;t!==e&&(t!==null&&t.Rx(this),this.o=e,e!==null&&e.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(e){this.Wg=e}},nodeKeyProperty:{get:function(){return this.Th},set:function(e){var t=this.Th;t!==e&&(e===""&&Ve("Model.nodeKeyProperty may not be the empty string"),0i)return;L(e.Tc,i)}Qa(e,"nodeDataArray",la,"nodeDataArray",e,t,null,i,null),e.qp(t)}U.nA=function(e){if(fn(e))for(var t=e.length,n=0;nt&&(t=e.length),je(e,t,n),Qa(this,"",Ko,"",e,null,n,null,t)},U.ov=function(e,t){t===void 0&&(t=-1),e===this.Tc&&Ve("Model.removeArrayItem should not be called on the Model.nodeDataArray"),t===-1&&(t=e.length-1);var n=e[t];L(e,t),Qa(this,"",la,"",e,n,null,t,null)},U.Ro=function(e){if(e===null)return"";var t=this.lj;if(t===""||(t=Fa(e,t),t===void 0))return"";if(typeof t=="string")return t;Ve("getCategoryForNodeData found a non-string category for "+e+": "+t)},U.jm=function(e,t){if(e!==null){var n=this.lj;if(n!=="")if(this.lb(e)){var i=Fa(e,n);i===void 0&&(i=""),i!==t&&(Xo(e,n,t),Qa(this,"nodeCategory",So,n,e,i,t))}else Xo(e,n,t)}},U.lm=function(e,t){this.jm(t,this.Ro(e))},U.Tl=function(){return!1},U.Wj=function(){return!1},U.ri=function(){return!1},U.xs=function(){return!1},U.Xj=function(){return!1};function bv(){return new di}function Hp(e,t){if(typeof t=="function"){if(t.className)return t.className;if(t.name)return t.name}else if(typeof t=="object"&&t!==null&&t.constructor)return Hp(e,t.constructor);return typeof t}function xv(e){return oc[e]?oc[e]:Ke.go!==void 0&&Ke.go[e]?Ke.go[e]:null}function Fa(e,t){if(!e||!t)return null;try{if(typeof t=="function")var n=t(e);else typeof e.getAttribute=="function"?(n=e.getAttribute(t),n===null&&(n=void 0)):n=e[t]}catch(i){}return n}function Xo(e,t,n){if(e&&t)try{typeof t=="function"?t(e,n):typeof e.setAttribute=="function"?e.setAttribute(t,n):e[t]=n}catch(i){}}ht.Object.defineProperties(di.prototype,{name:{get:function(){return this.xa},set:function(e){var t=this.xa;t!==e&&(this.xa=e,this.g("name",t,e))}},dataFormat:{get:function(){return this.Sm},set:function(e){var t=this.Sm;t!==e&&(this.Sm=e,this.g("dataFormat",t,e))}},isReadOnly:{get:function(){return this.Gg},set:function(e){var t=this.Gg;t!==e&&(this.Gg=e,this.g("isReadOnly",t,e))}},modelData:{get:function(){return this.j},set:function(e){var t=this.j;t!==e&&(this.j=e,this.g("modelData",t,e),this.La(e))}},undoManager:{get:function(){return this.o},set:function(e){var t=this.o;t!==e&&(t!==null&&t.Rx(this),this.o=e,e!==null&&e.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(e){this.Wg=e}},nodeKeyProperty:{get:function(){return this.Th},set:function(e){var t=this.Th;t!==e&&(e===""&&Ve("Model.nodeKeyProperty may not be the empty string"),0"+Su(this,r,!1)}return t},U.Qv=function(e,t){this.linkKeyProperty===""&&Ve("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var n=di.prototype.Qv.call(this,e,t),i=this,r=new Zt,o=new Zt,a=new Zt,l=this.vh;e.changes.each(function(p){p.model===i&&(p.modelChange==="linkDataArray"?p.change===Jo?r.add(p.newValue):p.change===na&&a.add(p.oldValue):i.Jc(p.object)?o.add(p.object):p.object!==null&&(p.object!==null&&l&&l.contains(p.object)?l.get(p.object).each(function(x){i.Jc(x)&&o.add(x)}):p.object instanceof di||i.lb(p.object)||z1(i,p.object).each(function(x){o.add(x)})))});var u=this.il;u.clear(),r.each(function(p){u.add(i.Ac(p)),t||o.add(p)});var f=this.kl;return f.clear(),a.each(function(p){f.add(i.Ac(p)),t&&o.add(p)}),e=i.cloneDeep(o.Fa()),0"+Eu(this,r,!1)}return t},U.Qv=function(e,t){this.linkKeyProperty===""&&Ve("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var n=di.prototype.Qv.call(this,e,t),i=this,r=new Xt,o=new Xt,a=new Xt,l=this.vh;e.changes.each(function(p){p.model===i&&(p.modelChange==="linkDataArray"?p.change===Ko?r.add(p.newValue):p.change===la&&a.add(p.oldValue):i.Jc(p.object)?o.add(p.object):p.object!==null&&(p.object!==null&&l&&l.contains(p.object)?l.get(p.object).each(function(x){i.Jc(x)&&o.add(x)}):p.object instanceof di||i.lb(p.object)||z1(i,p.object).each(function(x){o.add(x)})))});var u=this.il;u.clear(),r.each(function(p){u.add(i.Ac(p)),t||o.add(p)});var f=this.kl;return f.clear(),a.each(function(p){f.add(i.Ac(p)),t&&o.add(p)}),e=i.cloneDeep(o.Fa()),0i.indexOf(e.newValue)&&i.splice(n,0,e.newValue));return}}else if(e.change===na){if(n=e.oldParam,e.modelChange==="linkDataArray"){e=e.oldValue,ot(e)&&typeof n=="number"&&(i=this.Ac(e),t?(this.$f.add(e),this.md[n]!==e&&this.md.splice(n,0,e),i!==void 0&&this.wb.add(i,e)):(this.$f.remove(e),this.md[n]===e&&this.md.splice(n,1),i!==void 0&&this.wb.remove(i)));return}if(e.modelChange==="linkLabelKeys"){i=this.Ef(e.object),Array.isArray(i)&&typeof n=="number"&&(t?0>i.indexOf(e.newValue)&&i.splice(n,0,e.newValue):(n=i.indexOf(e.newValue),0<=n&&i.splice(n,1)));return}}di.prototype.changeState.call(this,e,t)}},U=zr.prototype,U.Vl=function(e){if(e!==void 0){var t=this.Ri;if(t!==null){var n=this.hc(e);n===null&&(n=this.copyNodeData(t),Zo(n,this.nodeKeyProperty,e),this.xf(n))}return e}},U.yx=function(e){return Su(this,e,!0)},U.wv=function(e,t){Ff(this,e,t,!0)},U.Bx=function(e){return Su(this,e,!1)},U.Bv=function(e,t){Ff(this,e,t,!1)};function Su(e,t,n){if(t!==null&&(e=n?e.lf:e.mf,e!==""&&(e=Ua(t,e),e!==void 0))){if(Zh(e))return e;Ve((n?"FromKey":"ToKey")+" value for link data "+t+" is not a number or a string: "+e)}}function Ff(e,t,n,i){if(n===null&&(n=void 0),t!==null){var r=i?e.lf:e.mf;if(r!=="")if(n=e.Vl(n),e.Jc(t)){var o=Ua(t,r);o!==n&&(gc(e,o,t),Zo(t,r,n),e.hc(n)===null&&mc(e,n,t),ts(e,i?"linkFromKey":"linkToKey",So,r,t,o,n),typeof r=="string"&&e.La(t,r))}else Zo(t,r,n)}}U.zx=function(e){return Em(this,e,!0)},U.xv=function(e,t){Bf(this,e,t,!0)},U.Cx=function(e){return Em(this,e,!1)},U.Cv=function(e,t){Bf(this,e,t,!1)};function Em(e,t,n){return t===null||(e=n?e.ej:e.fj,e==="")?"":(t=Ua(t,e),t===void 0?"":t)}function Bf(e,t,n,i){if(t!==null){var r=i?e.ej:e.fj;if(r!=="")if(e.Jc(t)){var o=Ua(t,r);o===void 0&&(o=""),o!==n&&(Zo(t,r,n),ts(e,i?"linkFromPortId":"linkToPortId",So,r,t,o,n),typeof r=="string"&&e.La(t,r))}else Zo(t,r,n)}}U.Ef=function(e){if(e===null)return wm;var t=this.je;return t===""?wm:(e=Ua(e,t),e===void 0?wm:e)},U.Ls=function(e,t){if(e!==null){var n=this.je;if(n!=="")if(this.Jc(e)){var i=Ua(e,n);if(i===void 0&&(i=wm),i!==t){if(Array.isArray(i))for(var r=i.length,o=0;or||(i.splice(r,1),this.Jc(e)&&(gc(this,t,e),ts(this,"linkLabelKeys",na,n,e,t,null,r,null)))}else i!==void 0&&Ve(n+" property is not an Array; cannot removeLabelKeyforLinkData: "+e)}}},U.Ac=function(e){if(e!==null){var t=this.Jh;if(t!==""&&(t=Ua(e,t),t!==void 0)){if(Zh(t))return t;Ve("Key value for link data "+e+" is not a number or a string: "+t)}}},U.Ks=function(e,t){if(e!==null){var n=this.Jh;if(n!=="")if(this.Jc(e)){var i=Ua(e,n);i!==t&&this.jh(t)===null&&(Zo(e,n,t),i!==void 0&&this.wb.remove(i),this.wb.add(t,e),ts(this,"linkKey",So,n,e,i,t),typeof n=="string"&&this.La(e,n))}else Zo(e,n,t)}},U.jh=function(e){return e===null&&Ve("GraphLinksModel.findLinkDataForKey:key must not be null"),e!==void 0&&Zh(e)?this.wb.I(e):null},U.Bs=function(e){if(e!==null){var t=this.Jh;if(t!==""){var n=this.Ac(e);if(n===void 0||this.wb.contains(n)){var i=this.cl;if(i!==null&&(n=i(this,e),n!=null&&!this.wb.contains(n))){Zo(e,t,n);return}if(typeof n=="string"){for(i=2;this.wb.contains(n+i);)i++;Zo(e,t,n+i)}else if(n===void 0||typeof n=="number"){for(n=-this.wb.count-1;this.wb.contains(n);)n--;Zo(e,t,n)}}}}},U.Jc=function(e){return e===null?!1:this.$f.contains(e)},U.fi=function(e){e!==null&&(Yr(e),this.Jc(e)||U1(this,e,!0))};function U1(e,t,n){if(e.linkKeyProperty!==""){var i=e.Ac(t);if(i!==void 0&&e.wb.I(i)===t)return;e.Bs(t),i=e.Ac(t),i===void 0&&Ve("GraphLinksModel.makeLinkDataKeyUnique failed on "+t+". Data not added to model."),e.wb.add(i,t)}e.$f.add(t),i=null,n&&(i=e.md.length,e.md.splice(i,0,t)),ts(e,"linkDataArray",Jo,"linkDataArray",e,null,t,null,i),Sv(e,t)}U.Ey=function(e){if(Array.isArray(e))for(var t=e.length,n=0;ni)return;e.md.splice(i,1)}if(ts(e,"linkDataArray",na,"linkDataArray",e,t,null,i,null),n=Su(e,t,!0),gc(e,n,t),n=Su(e,t,!1),gc(e,n,t),i=e.Ef(t),Array.isArray(i))for(var r=i.length,o=0;o=e.count)e.count===1&&(e=e.first(),e.centerX=0,e.centerY=0);else{var t=new Xt;t.addAll(e.iterator),e=new Xt;var n=new Xt,i=this.sort(t),r,o,a=this.Jp,l=this.arrangement,u=this.nodeDiameterFormula,f=this.radius;(!isFinite(f)||0>=f)&&(f=NaN);var p=this.aspectRatio;(!isFinite(p)||0>=p)&&(p=1);var x=this.startAngle;isFinite(x)||(x=0);var A=this.sweepAngle;if((!isFinite(A)||360A)&&(A=360),t=this.spacing,isFinite(t)||(t=NaN),l===sc&&u===Zd?l=ac:l===sc&&u!==Zd&&(l=this.arrangement),(this.direction===Td||this.direction===_f)&&this.sorting!==zf){for(u=0;!(u>=i.length)&&(e.add(i.M(u)),!(u+1>=i.length));u+=2)n.add(i.M(u+1));this.direction===Td?(this.arrangement===sc&&e.reverse(),i=new Xt,i.addAll(e),i.addAll(n)):(this.arrangement===sc&&n.reverse(),i=new Xt,i.addAll(n),i.addAll(e))}u=i.length;for(var R=o=r=0;RA&&(R===0||R===i.length-1)&&(V/=2),r+=V,o++}if(isNaN(f)||l===sc){if(isNaN(t)&&(t=6),l!==ac&&l!==sc){for(o=-1/0,a=0;af?(f=r,o=f*p):a=R/(360<=A?u:u-1)}if(this.kw=l,this.lc=f,this.Zm=p,this.lw=x,this.Wp=A,this.Ti=t,this.me=o,this.Jp=a,t=i,i=this.kw,l=this.lc,f=this.lw,p=this.Wp,x=this.Ti,A=this.me,u=this.Jp,this.direction!==Td&&this.direction!==_f||i!==sc)if(this.direction===Td||this.direction===_f){switch(a=0,i){case Yh:a=180*Tm(this,l,A,f,u)/Math.PI;break;case ac:u=t=0,a=e.first(),a!==null&&(t=Qh(a,Math.PI/2)),a=n.first(),a!==null&&(u=Qh(a,Math.PI/2)),a=180*Tm(this,l,A,f,x+(t+u)/2)/Math.PI;break;case Th:a=p/t.length}if(this.direction===Td){switch(i){case Yh:Wp(this,e,f,Xh);break;case ac:Gp(this,e,f,Xh);break;case Th:jp(this,e,p/2,f,Xh)}switch(i){case Yh:Wp(this,n,f+a,kl);break;case ac:Gp(this,n,f+a,kl);break;case Th:jp(this,n,p/2,f+a,kl)}}else{switch(i){case Yh:Wp(this,n,f,Xh);break;case ac:Gp(this,n,f,Xh);break;case Th:jp(this,n,p/2,f,Xh)}switch(i){case Yh:Wp(this,e,f+a,kl);break;case ac:Gp(this,e,f+a,kl);break;case Th:jp(this,e,p/2,f+a,kl)}}}else switch(i){case Yh:Wp(this,t,f,this.direction);break;case ac:Gp(this,t,f,this.direction);break;case Th:jp(this,t,p,f,this.direction);break;case sc:j1(this,t,p,f,this.direction)}else j1(this,t,p,f-p/2,kl)}this.updateParts(),this.network=null,this.isValidLayout=!0};function jp(e,t,n,i,r){var o=e.Wp,a=e.lc;e=e.me,i=i*Math.PI/180,n=n*Math.PI/180;for(var l=t.length,u=0;un){for(o=i+(r===kl?o:-o);0>o;)o+=360;o%=360,180=p.length-1));x++)V1(e,u,f,p,x,r,o)||K1(e,u,f,p,x,r,o),u=o.x,f=o.y;if(he.free(o),e.mj++,!(23Math.abs(R)?Math.abs(u-o)<(p[0].width+p[p.length-1].width)/2&&(a=0):a=0Math.abs(A)?0:A,u=Math.abs(o)>Math.abs(x)?0x:0e.mj?e.lc-a/(2*Math.PI):5>p.length&&10=x.length-1));A++)V1(e,u,f,x,A,r,p)||K1(e,u,f,x,A,r,p),u=p.x,f=p.y;if(he.free(p),e.mj++,!(23e.mj?e.lc-o/(2*Math.PI):e.lc-(0l){if(o=t-e,o<-l)return a.x=o,a.y=f,!1;p=!0}}else if(o=t-e,o<-l){if(o=t+e,o>l)return a.x=o,a.y=f,!1;p=!0}return f=Math.sqrt(1-Math.min(1,o*o/(l*l)))*u,0>n!==p&&(f=-f),Math.abs(n-f)>(i[r].height+i[r+1].height)/2?(a.x=o,a.y=f,!1):(a.x=o,a.y=f,!0)}function K1(e,t,n,i,r,o,a){var l=e.lc,u=e.me,f=0;if(e=(i[r].height+i[r+1].height)/2+e.Ti,i=!1,0<=t!=(o===kl)){if(o=n-e,o<-u){if(o=n+e,o>u){a.x=f,a.y=o;return}i=!0}}else if(o=n+e,o>u){if(o=n-e,o<-u){a.x=f,a.y=o;return}i=!0}f=Math.sqrt(1-Math.min(1,o*o/(u*u)))*l,0>t!==i&&(f=-f),a.x=f,a.y=o}ha.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},ha.prototype.commitNodes=function(){var e=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,t=e?this.group.location.copy():null,n=this.actualCenter;e?n=new he(0,0):(n.x=this.arrangementOrigin.x+this.lc,n.y=this.arrangementOrigin.y+this.me);for(var i=this.network.vertexes.iterator;i.next();){var r=i.value;r.x+=n.x,r.y+=n.y,r.commit()}e&&(this.group.Va(),e=this.group.position.copy(),n=this.group.location.copy(),t=t.re(n.re(e)),this.group.move(t),this.Zv=t.re(e))},ha.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()};function Ev(e,t,n,i,r){var o=e.ty;if(.001>Math.abs(e.Zm-1))return i!==void 0&&r!==void 0?r*t:2*Math.PI*t;e=t>n?Math.sqrt(t*t-n*n)/t:Math.sqrt(n*n-t*t)/n;for(var a=0,l=i!==void 0&&r!==void 0?r/(o+1):Math.PI/(2*(o+1)),u=0,f=0;f<=o;f++){i!==void 0&&r!==void 0?u=i+f*r/o:u=f*Math.PI/(2*o);var p=Math.sin(u);a+=Math.sqrt(1-e*e*p*p)*l}return i!==void 0&&r!==void 0?(t>n?t:n)*a:4*(t>n?t:n)*a}function Cm(e,t,n,i,r){return t/(i!==void 0&&r!==void 0?Ev(e,1,n,i,r):Ev(e,1,n))}function Tm(e,t,n,i,r){if(.001>Math.abs(e.Zm-1))return r/t;var o=t>n?Math.sqrt(t*t-n*n)/t:Math.sqrt(n*n-t*t)/n,a=0;e=2*Math.PI/(700*e.network.vertexes.count),t>n&&(i+=Math.PI/2);for(var l=0;;l++){var u=Math.sin(i+l*e);if(a+=(t>n?t:n)*Math.sqrt(1-o*o*u*u)*e,a>=r)return l*e}}ha.prototype.sort=function(e){switch(this.sorting){case Nm:break;case Am:e.reverse();break;case km:e.sort(this.comparer);break;case Im:e.sort(this.comparer),e.reverse();break;case zf:return this.ak(Kb(e));default:Ve("Invalid sorting type.")}return e};function Kb(e){for(var t=[],n=0;nr&&(r=l,o=a)}else for(a=0;ar&&(r=l,o=a);for(n.add(e.M(o)),t[o]=-1,o=e.M(o),a=o.sourceEdges;a.next();)r=e.indexOf(a.value.fromVertex),0>r||0<=t[r]&&t[r]++;for(o=o.destinationEdges;o.next();)r=e.indexOf(o.value.toVertex),0>r||0<=t[r]&&t[r]++}return n}ha.prototype.ak=function(e){for(var t=[],n=0;nt[n].indexOf(r)&&t[n].push(r);for(i=i.sourceEdges;i.next();)r=e.indexOf(i.value.fromVertex),r!==n&&0>t[n].indexOf(r)&&t[n].push(r)}for(o=[],n=0;nt[n[_]].indexOf(n[_===n.length-1?0:_+1])&&R.push(_===n.length-1?0:_+1);if(R.length===0)for(_=0;_n.indexOf(At)||rtn.indexOf(At)||rt=V?rt+1:rt)),le+=rt=V&&rt++,Ue>=V&&Ue++,rt>Ue&&(Ge=Ue,Ue=rt,rt=Ge),Ue-rt<(n.length+2)/2==(rtR||R===p||(_=R>p?R-p:p-R,x+=Ra-_?1:-1);n.splice(0>x?p:p+1,0,u),i.splice(l,1),l--}else o=!1;if(o)break;n.push(i[0]),i.splice(0,1)}for(t=0;t=e?this.ul=e:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(e){this.Rb===e||e!==sc&&e!==ac&&e!==Yh&&e!==Th||(this.Rb=e,this.C())}},direction:{get:function(){return this.K},set:function(e){this.K===e||e!==kl&&e!==Xh&&e!==Td&&e!==_f||(this.K=e,this.C())}},sorting:{get:function(){return this.nd},set:function(e){this.nd===e||e!==Nm&&e!==Am&&e!==km&&!Im&&e!==zf||(this.nd=e,this.C())}},comparer:{get:function(){return this.hd},set:function(e){this.hd!==e&&(this.hd=e,this.C())}},spacing:{get:function(){return this.tf},set:function(e){this.tf!==e&&(this.tf=e,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(e){this.Nn===e||e!==Mm&&e!==Zd||(this.Nn=e,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var ac=new Kt(ha,"ConstantSpacing",0),Yh=new Kt(ha,"ConstantDistance",1),Th=new Kt(ha,"ConstantAngle",2),sc=new Kt(ha,"Packed",3),kl=new Kt(ha,"Clockwise",4),Xh=new Kt(ha,"Counterclockwise",5),Td=new Kt(ha,"BidirectionalLeft",6),_f=new Kt(ha,"BidirectionalRight",7),Nm=new Kt(ha,"Forwards",8),Am=new Kt(ha,"Reverse",9),km=new Kt(ha,"Ascending",10),Im=new Kt(ha,"Descending",11),zf=new Kt(ha,"Optimized",12),Mm=new Kt(ha,"Pythagorean",13),Zd=new Kt(ha,"Circular",14);ha.className="CircularLayout",ha.ConstantSpacing=ac,ha.ConstantDistance=Yh,ha.ConstantAngle=Th,ha.Packed=sc,ha.Clockwise=kl,ha.Counterclockwise=Xh,ha.BidirectionalLeft=Td,ha.BidirectionalRight=_f,ha.Forwards=Nm,ha.Reverse=Am,ha.Ascending=km,ha.Descending=Im,ha.Optimized=zf,ha.Pythagorean=Mm,ha.Circular=Zd;function Vp(){this.Pl=-1/0,this.tm=this.mk=null}Vp.prototype.compare=function(e,t){if(0this.Pl||Math.abs(e)e&&0l?(r=A.x+A.width/2,o=A.y+A.height/2,f[0]=new he(A.x+A.width+i.width,A.y),f[1]=new he(A.x,A.y+A.height+i.height),l=2):(u=Y1(f,l,r,o,A.width,A.height,i),x=f[u],R=new he(x.x+A.width+i.width,x.y),A=new he(x.x,x.y+A.height+i.height),u+1this.network.vertexes.count)return!1;for(var e=0,t=0,n=this.network.vertexes.first().bounds,i=this.network.vertexes.iterator;i.next();){if(i.value.bounds.Yc(n)&&(e++,2e.network.vertexes.count)return!1;for(e.ah=e.network.vertexes.Fa(),e=e.ah,e.sort(function(n,i){return n===null||i===null||n===i?0:i.Vd-n.Vd}),t=e.length-1;0<=t&&1>=e[t].Vd;)t--;return 1=a))){for(var f=l=0,p=u.count-a;pR&&(R=1),l=qe.sqrt((l+R+f*f*4/(a*a))/R),a=(l-1)*p/2,l=(l-1)*x/2,r.bounds=new Wt(o-A.x-a,u-A.y-l,p+2*a,x+2*l),r.focus=new he(A.x+a,A.y+l)}}return e.network=i,n}function Xb(e,t){for(var n=e.network.vertexes.iterator;n.next();){var i=n.value;if(i.network=t,i.We!==null){var r=i.We.M(i.sv);i.Vd=r.Rs;var o=r.Sv,a=r.Tv;i.bounds=new Wt(i.centerX-o,i.centerY-a,r.Ss,r.Qs),i.focus=new he(o,a),i.sv--}}for(n=e.network.edges.iterator;n.next();)n.value.network=t;e.network=t}function Qb(e,t){var n=t.Hj;if(n!==null&&n.count!==0){var i=t.centerX,r=t.centerY,o=t.width,a=t.height;t.We!==null&&0=x.Vd?u++:(l=!0,f++,a+=Math.atan2(t.centerY-x.centerY,t.centerX-x.centerX))}if(u!==0){for(0>1)+f)*(l%2===0?1:-1),u.centerX=i+p*Math.cos(x),u.centerY=r+p*Math.sin(x),l++}}}}function Y1(e,t,n,i,r,o,a){var l=9e19,u=-1,f=0;e:for(;fp.y&&e[A].x-p.xp.x&&e[A].y-p.yt+o?(n=i+r-a,e=e-t-o,qe.sqrt(n*n+e*e)):e+na+l?e>t+o?(n=i-a-l,e=e-t-o,qe.sqrt(n*n+e*e)):e+nt+o?e-(t+o):e+n=t.length)return!1;var n=t[0];n.forceX=0,n.forceY=0;for(var i=n.centerX,r=i,o=n=n.centerY,a=1;ao-n)?t.sort(function(V,be){return V===null||be===null||V===be?0:V.centerX-be.centerX}):t.sort(function(V,be){return V===null||be===null||V===be?0:V.centerY-be.centerY}),n=e.Zf;var f=i=l=0;for(o=0;on||f-u>n){if(r)break}else if(p-R>n||R-p>n){if(!r)break}else{var _=X1(a,A);1>_?(i=e.randomNumberGenerator,i===null&&(e.randomNumberGenerator=i=new Lm),_=i.random(),l=i.random(),u>f?(i=Math.abs(A.bounds.right-a.bounds.x),i=(1+i)*_):uR?(f=Math.abs(A.bounds.bottom-a.bounds.y),f=(1+f)*l):ux?(x=e.randomNumberGenerator,x===null&&(e.randomNumberGenerator=x=new Lm),l=x.random(),x=x.random(),i=(i>u?1:-1)*(1+(o.width>n.width?o.width:n.width))*l,f=(a>p?1:-1)*(1+(o.height>n.height?o.height:n.height))*x):(l=l.stiffness*(x-l.length),i=(u-i)/x*l,f=(p-a)/x*l),n.forceX+=i,n.forceY+=f,o.forceX-=i,o.forceY-=f;for(r=i=0;re.epsilonDistance*e.epsilonDistance}$s.prototype.moveVertex=function(e){var t=e.forceX,n=e.forceY,i=this.moveLimit;return t<-i?t=-i:t>i&&(t=i),n<-i?n=-i:n>i&&(n=i),e.centerX+=t,e.centerY+=n,t*t+n*n},$s.prototype.moveFixedVertex=function(){},$s.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},$s.prototype.yv=function(){if(this.setsPortSpots)for(var e=this.network.edges.iterator;e.next();){var t=e.value.link;t!==null&&(t.fromSpot=Wr,t.toSpot=Wr)}},$s.prototype.commitNodes=function(){var e=0,t=0;if(this.arrangesToOrigin){var n=Wt.alloc();this.computeBounds(this.network,n),t=this.arrangementOrigin,e=t.x-n.x,t=t.y-n.y,Wt.free(n)}n=Wt.alloc();for(var i=this.network.vertexes.iterator;i.next();){var r=i.value;(e!==0||t!==0)&&(n.assign(r.bounds),n.x+=e,n.y+=t,r.bounds=n),r.commit()}Wt.free(n)},$s.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()},$s.prototype.springStiffness=function(e){return e=e.stiffness,isNaN(e)?this.Hk:e},$s.prototype.springLength=function(e){return e=e.length,isNaN(e)?this.Gk:e},$s.prototype.electricalCharge=function(e){return e=e.charge,isNaN(e)?this.Ek:e},$s.prototype.electricalFieldX=function(){return 0},$s.prototype.electricalFieldY=function(){return 0},$s.prototype.gravitationalMass=function(e){return e=e.mass,isNaN(e)?this.Fk:e},$s.prototype.gravitationalFieldX=function(){return 0},$s.prototype.gravitationalFieldY=function(){return 0},$s.prototype.isFixed=function(e){return e.isFixed},dt.Object.defineProperties($s.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(e){this.$d.D(e)||(this.$d.assign(e),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(e){this.Bm!==e&&(this.Bm=e,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(e){this.sf!==e&&(this.sf=e,this.C())}},comments:{get:function(){return this.td},set:function(e){this.td!==e&&(this.td=e,this.C())}},maxIterations:{get:function(){return this.dl},set:function(e){this.dl!==e&&0<=e&&(this.dl=e,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(e){this.$m!==e&&0V&&0V&&0e[this.Md]&&(this.Iq=e[n]-1,this.Md=n),e[n]a)for(var p=a+1;pu;p--)x=i[p],x.near===f&&x.Dj===f.Dj||l++;var A;if(0<=n)for(u=i[a].sourceEdgesArrayAccess,f=0;fV||x===V&&R>_)&&l++,bex||V===x&&_>R)&&l++}}}if(0>=n){for(u=i[a].destinationEdgesArrayAccess,f=0;fV||x===V&&p>be)&&l++,_x||V===x&&be>p)&&l++)}for(o[a*r+a]=l,u=a+1;u=n){for(l=i[a].destinationEdgesArrayAccess,Ue=i[u].destinationEdgesArrayAccess,f=0;f=n&&(u=l.sourceEdgesArrayAccess);var f=null;0<=n&&(f=l.destinationEdgesArrayAccess);var p=0,x=0,A=l.near;if(A!==null&&A.layer===l.layer&&(p+=A.column-1,x++),u!==null)for(A=0;A=n&&(u=l.sourceEdgesArrayAccess);var f=null;0<=n&&(f=l.destinationEdgesArrayAccess);var p=0,x=[],A=l.near;if(A!==null&&A.layer===l.layer&&(x[p]=A.column-1,p++),l=void 0,u!==null)for(A=0;A>1,o[a]=p&1?x[f]:x[f-1]+x[f]>>1)}return qh(e,t,i),o}function Xp(e,t,n,i,r,o){if(t.component===i){if(t.component=n,r)for(var a=t.destinationEdges;a.next();){var l=a.value,u=l.toVertex,f=t.layer-u.layer;l=e.linkMinLength(l),f===l&&Xp(e,u,n,i,r,o)}if(o)for(a=t.sourceEdges;a.next();)l=a.value,u=l.fromVertex,f=u.layer-t.layer,l=e.linkMinLength(l),f===l&&Xp(e,u,n,i,r,o)}}function Tv(e,t,n,i,r,o){if(t.component===i){if(t.component=n,r)for(var a=t.destinationEdges;a.next();)Tv(e,a.value.toVertex,n,i,r,o);if(o)for(t=t.sourceEdges;t.next();)Tv(e,t.value.fromVertex,n,i,r,o)}}ho.prototype.removeCycles=function(){for(var e=this.network.edges.iterator;e.next();)e.value.rev=!1;switch(this.Dk){default:case kv:e=this.network;var t=0,n=e.vertexes.count-1,i=[];i.length=n+1;for(var r=e.vertexes.iterator;r.next();)r.value.valid=!0;for(;qb(e)!==null;){for(r=tb(e);r!==null;)i[n]=r,n--,r.valid=!1,r=tb(e);for(r=nb(e);r!==null;)i[t]=r,t++,r.valid=!1,r=nb(e);r=null;for(var o=0,a=this.network.vertexes.iterator;a.next();){var l=a.value;if(l.valid){for(var u=0,f=l.destinationEdges;f.next();)f.value.toVertex.valid&&u++;f=0;for(var p=l.sourceEdges;p.next();)p.value.fromVertex.valid&&f++;(r===null||ot.toVertex.index&&(e.gm(t),t.rev=!0);break;case Bm:for(i=this.network.vertexes.iterator;i.next();)e=i.value,e.Ll=-1,e.finish=-1;for(e=this.network.edges.iterator;e.next();)e.value.forest=!1;for(this.Kn=0,i.reset();i.next();)t=i.value,t.sourceEdges.count===0&&Nv(this,t);for(i.reset();i.next();)t=i.value,t.Ll===-1&&Nv(this,t);for(e.reset();e.next();)i=e.value,i.forest||(t=i.fromVertex,n=t.finish,r=i.toVertex,o=r.finish,r.Lli){if(0>i)for(t.reset();t.next();)t.value.layer-=i;for(i=[],t.reset();t.next();)n=t.value,r=i[n.layer],r===void 0?i[n.layer]=[n]:r.push(n);for(n=t=0;na&&Xp(e,l,0,-1,!0,!1)}for(Xp(e,t,1,-1,!0,!0);t.component!==0;){for(o=0,i=1/0,l=0,u=null,a=e.network.vertexes.iterator;a.next();){var f=a.value;if(f.component===1){var p=0,x=!1,A=f.sourceEdgesArrayAccess;r=A.length;for(var R=0;Ro)&&!p&&(l=a,o=f)}if(0>i){for(n.reset();n.next();)i=n.value,i.component===1&&(i.layer-=r);t.component=0}else l.component=0}}}function sb(e,t,n){return e.K===90?n&&!t.rev||!n&&t.rev?270:90:e.K===180?n&&!t.rev||!n&&t.rev?0:180:e.K===270?n&&!t.rev||!n&&t.rev?90:270:n&&!t.rev||!n&&t.rev?180:0}ho.prototype.initializeIndices=function(){switch(this.Qk){default:case Lv:for(var e=this.network.vertexes.iterator;e.next();){var t=e.value,n=t.layer;t.index=this.tc[n],this.tc[n]++}break;case zm:for(e=this.network.vertexes.iterator,t=this.Ia;0<=t;t--)for(e.reset();e.next();)n=e.value,n.layer===t&&n.index===-1&&lb(this,n);break;case Ov:for(e=this.network.vertexes.iterator,t=0;t<=this.Ia;t++)for(e.reset();e.next();)n=e.value,n.layer===t&&n.index===-1&&ub(this,n)}};function lb(e,t){var n=t.layer;for(t.index=e.tc[n],e.tc[n]++,t=t.destinationEdgesArrayAccess,n=!0;n;){n=!1;for(var i=0;io.portFromColOffset&&(n=!0,t[i]=o,t[i+1]=r)}}for(n=0;no.portToColOffset&&(i=!0,t[n]=o,t[n+1]=r)}for(n=0;n=a;i--)o=ju(this,i,-1)||o;for(r=this.countCrossings(),r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=ju(this,i,1)||o;for(r=this.countCrossings(),r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,1)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,-1)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=ju(this,i,0)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,0)||o;r>=e?Pu(this,t):(e=r,t=jl(this))}break;default:case Um:for(n=this.Ia,a=0,l=e+1;(i=this.countCrossings())=a;i--)o=ju(this,i,-1)||o;for(r=this.countCrossings(),r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=ju(this,i,1)||o;for(r=this.countCrossings(),r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,1)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,-1)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=ju(this,i,0)||o;for(r>=e?Pu(this,t):(e=r,t=jl(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=ju(this,i,0)||o;r>=e?Pu(this,t):(e=r,t=jl(this))}}Pu(this,t)};function Dm(e,t,n){var i=Jh(e,t),r=e.tc[t],o=eb(e,t,n),a=Cv(e,t,n);for(n=0;no+1&&(A+=4*(Pe-o),R+=4*(Pe-(o+1)))}for(Ge=i[o].destinationEdges.iterator,Ge.reset();Ge.next();)if(Pe=Ge.value,Ue=Pe.toVertex,Pe.valid&&Ue.layer===t){for(Pe=0;i[Pe]!==Ue;)Pe++;Pe===o+1&&(R+=1)}for(Ge=i[o+1].sourceEdges.iterator,Ge.reset();Ge.next();)if(Pe=Ge.value,Ue=Pe.fromVertex,Pe.valid&&Ue.layer===t){for(Pe=0;i[Pe]!==Ue;)Pe++;Peo+1&&(A+=4*(Pe-(o+1)),R+=4*(Pe-o))}for(Ge=i[o+1].destinationEdges.iterator,Ge.reset();Ge.next();)if(Pe=Ge.value,Ue=Pe.toVertex,Pe.valid&&Ue.layer===t){for(Pe=0;i[Pe]!==Ue;)Pe++;Pe===o&&(A+=1)}Pe=Ue=0,Ge=a[i[o].index];var rt=l[i[o].index],At=a[i[o+1].index],Vn=l[i[o+1].index];Ge!==-1&&(Ue+=Math.abs(Ge-_),Pe+=Math.abs(Ge-le)),rt!==-1&&(Ue+=Math.abs(rt-_),Pe+=Math.abs(rt-le)),At!==-1&&(Ue+=Math.abs(At-V),Pe+=Math.abs(At-be)),Vn!==-1&&(Ue+=Math.abs(Vn-V),Pe+=Math.abs(Vn-be)),(R>1)+8*i;this.Ra*=8}if(this.bg&2)for(n=!0;n;){for(n=!1,t=this.Md+1;t<=this.Ia;t++)n=Hf(this,t,1)||n;for(t=this.Md-1;0<=t;t--)n=Hf(this,t,-1)||n;n=Hf(this,this.Md,0)||n}if(this.bg&4){for(t=this.Md+1;t<=this.Ia;t++)Av(this,t,1);for(t=this.Md-1;0<=t;t--)Av(this,t,-1);Av(this,this.Md,0)}if(e&&(cb(this,-1),cb(this,1)),this.bg&2)for(n=!0;n;){for(n=!1,n=Hf(this,this.Md,0)||n,t=this.Md+1;t<=this.Ia;t++)n=Hf(this,t,0)||n;for(t=this.Md-1;0<=t;t--)n=Hf(this,t,0)||n}}else ix(this)};function Hf(e,t,n){for(var i=!1;ex(e,t,n);)i=!0;return i}function ex(e,t,n){var i,r=Jh(e,t),o=e.tc[t],a=Cv(e,t,-1);if(0n)for(i=0;ii-1||p-r[i-1].column-1>x+e.nodeMinColumnSpace(r[i-1],!1)?R=p-1:R=p,x=i+1>=o||r[i+1].column-p-1>A+e.nodeMinColumnSpace(r[i+1],!0)?p+1:p;var _=A=0,V=0;if(0>=n)for(var be=r[i].sourceEdges.iterator;be.next();){var le=be.value,Pe=le.fromVertex;if(le.valid&&Pe.layer!==t){var Ue=wv(le),Ge=le.portFromColOffset;le=le.portToColOffset,Pe=Pe.column,A+=(Math.abs(p+le-(Pe+Ge))+1)*Ue,_+=(Math.abs(R+le-(Pe+Ge))+1)*Ue,V+=(Math.abs(x+le-(Pe+Ge))+1)*Ue}}if(0<=n)for(be=r[i].destinationEdges.iterator;be.next();)le=be.value,Pe=le.toVertex,le.valid&&Pe.layer!==t&&(Ue=wv(le),Ge=le.portFromColOffset,le=le.portToColOffset,Pe=Pe.column,A+=(Math.abs(p+Ge-(Pe+le))+1)*Ue,_+=(Math.abs(R+Ge-(Pe+le))+1)*Ue,V+=(Math.abs(x+Ge-(Pe+le))+1)*Ue);le=Ge=Ue=0,be=a[r[i].index],Pe=l[r[i].index],be!==-1&&(Ue+=Math.abs(be-p),Ge+=Math.abs(be-R),le+=Math.abs(be-x)),Pe!==-1&&(Ue+=Math.abs(Pe-p),Ge+=Math.abs(Pe-R),le+=Math.abs(Pe-x)),_=a[n]?p=u:f<=a[n]&&(p=f));p!==l&&(o=!0,i[n].column=p)}qh(e,t,i),e.normalize()}function tx(e,t){for(var n=!0,i=e.network.vertexes.iterator;i.next();){var r=i.value,o=e.nodeMinColumnSpace(r,!0),a=e.nodeMinColumnSpace(r,!1);if(r.column-o<=t&&r.column+a>=t){n=!1;break}}if(e=!1,n)for(i.reset();i.next();)n=i.value,n.column>t&&(--n.column,e=!0);return e}function nx(e,t){var n=t+1,i,r=[],o=[];for(i=0;i<=e.Ia;i++)r[i]=!1,o[i]=!1;for(var a=e.network.vertexes.iterator;a.next();){i=a.value;var l=i.column-e.nodeMinColumnSpace(i,!0),u=i.column+e.nodeMinColumnSpace(i,!1);l<=t&&u>=t&&(r[i.layer]=!0),l<=n&&u>=n&&(o[i.layer]=!0)}for(l=!0,n=!1,i=0;i<=e.Ia;i++)l=l&&!(r[i]&&o[i]);if(l)for(a.reset();a.next();)e=a.value,e.column>t&&(--e.column,n=!0);return n}function cb(e,t){for(var n=0;n<=e.Ra;n++)for(;tx(e,n););for(e.normalize(),n=0;no?Pu(e,r):at)for(n=e.Ra;0<=n;n--)for(r=jl(e),o=Rm(e),i=o+1;oo?Pu(e,r):an)for(i.reset();i.next();)r=i.value,r.column+e.nodeMinColumnSpace(r,!1)>=t&&(r.component=e.le);for(e.le++,i.reset();i.next();)t=i.value,t.component===-1&&(Tv(e,t,e.le,-1,!0,!0),e.le++);var o;for(t=[],o=0;on)for(a=e.Ra;0n)for(i.reset();i.next();)n=i.value,r[n.component]&&(n.column+=1)}function ix(e){for(var t=Lt(),n=e.fl.length,i=0;i<=n;i++)t[i]=[];for(i=e.network.vertexes.iterator;i.next();){var r=i.value;t[n-r.layer][r.index]=r}n=new Zt,rx(t,n);var o=null,a=null,l=null,u=null,f=(e.ve&1)!==0,p=(e.ve&2)!==0,x=(e.ve&4)!==0,A=(e.ve&8)!==0;for(f&&(e.verticalAlignment(t,n,!0),o=Pm(e,t,!0,!1)),t.reverse(),x&&(e.verticalAlignment(t,n,!1),l=Pm(e,t,!1,!1)),i=Er(t),r=i.next();!r.done;r=i.next())r.value.reverse();A&&(e.verticalAlignment(t,n,!1),u=Pm(e,t,!1,!0)),t.reverse(),p&&(e.verticalAlignment(t,n,!0),a=Pm(e,t,!0,!0)),Qt(t),e.u(o,a,l,u),e.network.vertexes.each(function(R){var _=Lt();f&&_.push(o.get(R)),p&&_.push(a.get(R)),x&&_.push(l.get(R)),A&&_.push(u.get(R)),_.sort(function(be,le){return be-le});var V=_.length;V=(_[Math.floor((V-1)/2)]+_[Math.ceil((V-1)/2)])/2,Qt(_),R.zc=V})}function rx(e,t){for(var n=e.length,i=1;ip)&&t.add(x);o++}r=p}}}ho.prototype.verticalAlignment=function(e,t,n){ox(e),e=Er(e);for(var i=e.next();!i.done;i=e.next()){var r=-1;i=Er(i.value);for(var o=i.next();!o.done;o=i.next()){o=o.value;var a=n?Pv(o):lx(o),l=a.length;if(0=t[n].length)&&(a=t[n][0],a.sd===a)){a.sd.shift===1/0&&(a.sd.shift=0),a=n,l=0;do{for(o=t[a][l];o.align!==o.root;)o=o.align,a++,0e&&Ve("Could not determine previous vertex in layer"),t[n][e-1]}ho.prototype.u=function(e){for(var t=[],n=0;na;a++)if(t[a]){var l=ax(this,t[a],i,r,a);la;o={delta:o.delta},a++)t[a]&&(o.delta=a===0||a===2?i[n]-i[a]:r[n]-r[a],o.delta!==0&&t[a].each(function(u){return function(f){f.value+=u.delta}}(o)));Qt(i),Qt(r)};function ax(e,t,n,i,r){if(!t||t.count===0)return n[r]=0,i[r]=0,1/0;var o=1/0,a=-1/0;return t.each(function(l){var u=l.key;l=l.value,u=e.K===90||e.K===270?u.width:u.height,la&&(a=l+u)}),n[r]=o,i[r]=a,a-o}ho.prototype.commitLayout=function(){if(this.setsPortSpots)for(var e=Fm(this,!0),t=Fm(this,!1),n=this.network.edges.iterator;n.next();){var i=n.value.link;i!==null&&(i.fromSpot=e,i.toSpot=t)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function Fm(e,t){return e.K===270?t?aa:Aa:e.K===90?t?Aa:aa:e.K===180?t?va:La:t?La:va}ho.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var e=0;e<=this.Ia;e++)this.he[e]=0,this.Ld[e]=0,this.Kd[e]=0,this.Ta[e]=0;for(e=this.network.vertexes.iterator;e.next();){var t=e.value,n=t.layer;this.he[n]=Math.max(this.he[n],this.nodeMinLayerSpace(t,!0)),this.Ld[n]=Math.max(this.Ld[n],this.nodeMinLayerSpace(t,!1))}t=0,n=this.ie;for(var i=0;i<=this.Ia;i++){var r=n;0>=this.he[i]+this.Ld[i]&&(r=0),0=x.bounds.bottom?(x=x.bounds.y+x.bounds.height,t.m(V++,Ge,x+At),t.m(V++,Ge,x),t.m(V++,Ge,x-Ue)):(t.m(V++,Ge,rt+At),t.m(V++,Ge,rt),t.m(V++,Ge,rt-Ue)):this.K===270?rt<=x.bounds.y?(x=x.bounds.y,t.m(V++,Ge,x-Ue),t.m(V++,Ge,x),t.m(V++,Ge,x+At)):(t.m(V++,Ge,rt-Ue),t.m(V++,Ge,rt),t.m(V++,Ge,rt+At)):this.K===0&&(Ge>=x.bounds.right?(x=x.bounds.x+x.bounds.width,t.m(V++,x+At,rt),t.m(V++,x,rt),t.m(V++,x-Ue,rt)):(t.m(V++,Ge+At,rt),t.m(V++,Ge,rt),t.m(V++,Ge-Ue,rt)));else{t.m(V++,le,Pe);var Vn=0;this.K===180||this.K===0?((this.K===180?Ge>=x.bounds.right:Ge<=x.bounds.x)&&(Vn=(this.K===0?-Ue:At)/2),t.m(V++,le+Vn,rt)):((this.K===270?rt>=x.bounds.bottom:rt<=x.bounds.y)&&(Vn=(this.K===90?-Ue:At)/2),t.m(V++,Ge,Pe+Vn)),t.m(V++,Ge,rt)}}else Ue=Math.max(10,this.he[be.layer]),At=Math.max(10,this.Ld[be.layer]),A?this.K===180?(t.m(V++,Ge-Ue-_,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge+At+_,rt)):this.K===90?(t.m(V++,Ge,rt+At+_),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt-Ue-_)):this.K===270?(t.m(V++,Ge,rt-Ue-_),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt+At+_)):(t.m(V++,Ge+At+_,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge-Ue-_,rt)):t.m(V++,Ge,rt)}x=be}(l===null||f!==Hi||R)&&(le=t.i(V-1).x,Pe=t.i(V-1).y,Ge=t.i(V).x,rt=t.i(V).y,R?(_=this.Ld[p.layer],this.K===180||this.K===0?(R=Pe,R>=p.bounds.y&&R<=p.bounds.bottom&&(this.K===180?Ge>=p.bounds.x:Ge<=p.bounds.right)&&(x=p.centerX+(this.K===180?-_:_),R=p.bounds.x&&R<=p.bounds.right&&(this.K===270?rt>=p.bounds.y:rt<=p.bounds.bottom)&&(x=p.centerY+(this.K===270?-_:_),R=p.bounds.x?(x=p.bounds.x+p.bounds.width,t.L(V-2,x,Pe),t.L(V-1,x+At,Pe)):this.K===90&&rt<=p.bounds.bottom?(x=p.bounds.y,t.L(V-2,le,x),t.L(V-1,le,x-Ue)):this.K===270&&rt>=p.bounds.y?(x=p.bounds.y+p.bounds.height,t.L(V-2,le,x),t.L(V-1,le,x+At)):this.K===0&&Ge<=p.bounds.right&&(x=p.bounds.x,t.L(V-2,x,Pe),t.L(V-1,x-Ue,Pe))):(Ue=Math.max(10,this.he[p.layer]),At=Math.max(10,this.Ld[p.layer]),R=0,this.K===180||this.K===0?((this.K===180?Ge<=p.bounds.x:Ge>=p.bounds.right)&&(R=(this.K===0?At:-Ue)/2),t.m(V++,Ge+R,Pe)):((this.K===270?rt<=p.bounds.y:rt>=p.bounds.bottom)&&(R=(this.K===90?At:-Ue)/2),t.m(V++,le,rt+R)),t.m(V++,Ge,rt)))}else{for(;p!==null&&p!==x;){for(Ue=be=null,p=p.destinationEdges.iterator;p.next()&&(le=p.value,le.link!==n.link||(be=le.toVertex,Ue=le.fromVertex,Ue.node!==null&&(Ue=null),be.node!==null)););if(be===null)break;be!==x&&(le=t.i(V-1).x,Pe=t.i(V-1).y,Ge=be.centerX,rt=be.centerY,R?this.K===180||this.K===0?(Ue!==null?Ue.centerY:Pe)!==rt&&(Ue=this.Ta[be.layer]+this.Rf.x,V===t.firstPickIndex+1&&(Ue=this.K===0?Math.max(Ue,le):Math.min(Ue,le)),t.m(V++,Ue,Pe),t.m(V++,Ue,rt)):(Ue!==null?Ue.centerX:le)!==Ge&&(Ue=this.Ta[be.layer]+this.Rf.y,V===t.firstPickIndex+1&&(Ue=this.K===90?Math.max(Ue,Pe):Math.min(Ue,Pe)),t.m(V++,le,Ue),t.m(V++,Ge,Ue)):(Ue=Math.max(10,this.he[be.layer]),At=Math.max(10,this.Ld[be.layer]),A?this.K===180?(t.m(V++,Ge+At+_,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge-Ue-_,rt)):this.K===90?(t.m(V++,Ge,rt-Ue-_),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt+At+_)):this.K===270?(t.m(V++,Ge,rt+At+_),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt-Ue-_)):(t.m(V++,Ge-Ue-_,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge+At+_,rt)):this.K===180?(t.m(V++,Ge+At,rt),t.m(V++,Ge-Ue,rt)):this.K===90?(t.m(V++,Ge,rt-Ue),t.m(V++,Ge,rt+At)):this.K===270?(t.m(V++,Ge,rt+At),t.m(V++,Ge,rt-Ue)):(t.m(V++,Ge-Ue,rt),t.m(V++,Ge+At,rt)))),p=be}R&&(le=t.i(V-1).x,Pe=t.i(V-1).y,Ge=t.i(V).x,rt=t.i(V).y,this.K===180||this.K===0?Pe!==rt&&(Ue=this.K===0?Math.min(Math.max((Ge+le)/2,this.Ta[x.layer]+this.Rf.x),Ge):Math.max(Math.min((Ge+le)/2,this.Ta[x.layer]+this.Rf.x),Ge),t.m(V++,Ue,Pe),t.m(V++,Ue,rt)):le!==Ge&&(Ue=this.K===90?Math.min(Math.max((rt+Pe)/2,this.Ta[x.layer]+this.Rf.y),rt):Math.max(Math.min((rt+Pe)/2,this.Ta[x.layer]+this.Rf.y),rt),t.m(V++,le,Ue),t.m(V++,Ge,Ue)))}i!==null&&A&&4<=t.pointsCount&&(a!==null&&(a=f===Hi?t.getLinkPointFromPoint(r,a,a.ga(Dr),t.i(3),!0):t.i(0),f===Hi&&(f=t.i(2),i=t.i(3),this.direction===90||this.direction===270?(t.L(1,(a.x+f.x)/2,f.y),t.L(2,i.x,(f.y+i.y)/2)):(t.L(1,f.x,(a.y+f.y)/2),t.L(2,(f.x+i.x)/2,i.y))),a.w()||a.set(r.actualBounds.center),t.L(0,a.x,a.y)),l!==null&&(r=u===Hi?t.getLinkPointFromPoint(o,l,l.ga(Dr),t.i(t.pointsCount-4),!1):t.i(t.pointsCount-1),u===Hi&&(l=t.i(t.pointsCount-3),u=t.i(t.pointsCount-4),this.direction===90||this.direction===270?(t.L(t.pointsCount-2,(r.x+l.x)/2,l.y),t.L(t.pointsCount-2,u.x,(l.y+u.y)/2)):(t.L(t.pointsCount-2,l.x,(r.y+l.y)/2),t.L(t.pointsCount-3,(l.x+u.x)/2,u.y))),r.w()||r.set(o.actualBounds.center),t.L(t.pointsCount-1,r.x,r.y))),t.zf(),n.commit()}}}this.avoidOrthogonalOverlaps()},ho.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var e=new Xt,t=this.network.edges.iterator;t.next();){var n=t.value.link;n!==null&&n.isOrthogonal&&!e.contains(n)&&e.add(n)}if(0o.y&&(p=f.y>o.y?0:a.xo.x&&(p=f.x>o.x?0:a.yt.layer?1:e.rdt.rd?1:e.Ict.Ic?1:0:0},U.Ux=function(e,t){return e instanceof ed&&t instanceof ed&&e!==t?e.firstt.first||e.jt.j||e.rdt.rd?1:e.Ict.Ic?1:0:0},U.Js=function(e,t){return e instanceof ed&&t instanceof ed&&e!==t?e.jct.jc||e.jt.j||e.rdt.rd?1:e.Ict.Ic?1:0:0},U.B=function(e,t){return e-=t,-1e},U.zi=function(e,t,n,i){var r=e.length,o=i-n;if(!(1>=o))if((0>n||n>=r-1)&&Ve("not in range 0 <= from < length: "+n),o===2)i=e[n],r=e[n+1],0=r)e.sort(t);else for(n=e.slice(0,i),n.sort(t),t=0;t=r)for(i=e.slice(n),i.sort(t),t=n;t=e.He.length){for(var i=[],r=0;re&&(this.bg=e,this.C())}},alignOption:{get:function(){return this.ve},set:function(e){this.ve!==e&&0<=e&&16>e&&(this.ve=e,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(e){this.sf!==e&&(this.sf=e,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(e){this.Cn!==e&&0<=e&&(this.Cn=e,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var Bm=new Kt(ho,"CycleDepthFirst",0),kv=new Kt(ho,"CycleGreedy",1),Qp=new Kt(ho,"CycleFromLayers",2),_m=new Kt(ho,"LayerOptimalLinkLength",0),Iv=new Kt(ho,"LayerLongestPathSink",1),Mv=new Kt(ho,"LayerLongestPathSource",2),zm=new Kt(ho,"InitDepthFirstOut",0),Ov=new Kt(ho,"InitDepthFirstIn",1),Lv=new Kt(ho,"InitNaive",2),Rv=new Kt(ho,"AggressiveNone",0),Um=new Kt(ho,"AggressiveLess",1),Dv=new Kt(ho,"AggressiveMore",2),sx=8;ho.className="LayeredDigraphLayout",ho.CycleDepthFirst=Bm,ho.CycleGreedy=kv,ho.CycleFromLayers=Qp,ho.LayerOptimalLinkLength=_m,ho.LayerLongestPathSink=Iv,ho.LayerLongestPathSource=Mv,ho.InitDepthFirstOut=zm,ho.InitDepthFirstIn=Ov,ho.InitNaive=Lv,ho.AggressiveNone=Rv,ho.AggressiveLess=Um,ho.AggressiveMore=Dv,ho.PackNone=0,ho.PackExpand=1,ho.PackStraighten=2,ho.PackMedian=4,ho.PackAll=15,ho.AlignNone=0,ho.AlignUpperLeft=1,ho.AlignUpperRight=2,ho.AlignLowerLeft=4,ho.AlignLowerRight=8,ho.AlignAll=15;function ed(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}ed.className="SegInfo";function $f(e){Po.call(this,e)}xi($f,Po),$f.prototype.createVertex=function(){return new Fu(this)},$f.prototype.createEdge=function(){return new Jp(this)},$f.className="LayeredDigraphNetwork";function Fu(e){us.call(this,e),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}xi(Fu,us);function pb(e,t){return e.index-t.index}function Hm(e,t){if(!e.$n){for(var n=[],i=Er(e.destinationEdgesArrayAccess),r=i.next();!r.done;r=i.next())r=r.value,r.valid&&n.push(r);e.$n=n}for(e=Er(e.$n),n=e.next();!n.done;n=e.next())if(n=n.value,n.toVertex===t)return n;Ve("Unable to find destination edge to given vertex")}function Pv(e){if(!e.co){for(var t=[],n=Er(e.sourceEdgesArrayAccess),i=n.next();!i.done;i=n.next())i=i.value,i.valid&&t.push(i.fromVertex);t.sort(pb),e.co=t}return e.co}function lx(e){if(!e.ao){for(var t=[],n=Er(e.destinationEdgesArrayAccess),i=n.next();!i.done;i=n.next())i=i.value,i.valid&&t.push(i.toVertex);t.sort(pb),e.ao=t}return e.ao}Fu.prototype.Cl=function(e){us.prototype.Cl.call(this,e),this.bo=this.co=null},Fu.prototype.Kl=function(e){us.prototype.Kl.call(this,e),this.bo=this.co=null},Fu.prototype.zl=function(e){us.prototype.zl.call(this,e),this.$n=this.ao=null},Fu.prototype.Jl=function(e){us.prototype.Jl.call(this,e),this.$n=this.ao=null},dt.Object.defineProperties(Fu.prototype,{layer:{get:function(){return this.Ig},set:function(e){this.Ig!==e&&(this.Ig=e)}},column:{get:function(){return this.Ag},set:function(e){this.Ag!==e&&(this.Ag=e)}},index:{get:function(){return this.Za},set:function(e){this.Za!==e&&(this.Za=e)}},component:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},near:{get:function(){return this.F},set:function(e){this.F!==e&&(this.F=e)}}}),Fu.prototype.deleteDestinationEdge=Fu.prototype.Jl,Fu.prototype.addDestinationEdge=Fu.prototype.zl,Fu.prototype.deleteSourceEdge=Fu.prototype.Kl,Fu.prototype.addSourceEdge=Fu.prototype.Cl,Fu.className="LayeredDigraphVertex";function Jp(e){ru.call(this,e),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}xi(Jp,ru),dt.Object.defineProperties(Jp.prototype,{fromVertex:{get:function(){return this.kd},set:function(e){this.kd!==e&&(this.kd=e)}},toVertex:{get:function(){return this.qd},set:function(e){this.qd!==e&&(this.qd=e)}},valid:{get:function(){return this.Ha},set:function(e){this.Ha!==e&&(this.Ha=e)}},rev:{get:function(){return this.ia},set:function(e){this.ia!==e&&(this.ia=e)}},forest:{get:function(){return this.j},set:function(e){this.j!==e&&(this.j=e)}},portFromPos:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},portToPos:{get:function(){return this.V},set:function(e){this.V!==e&&(this.V=e)}},portFromColOffset:{get:function(){return this.o},set:function(e){this.o!==e&&(this.o=e)}},portToColOffset:{get:function(){return this.F},set:function(e){this.F!==e&&(this.F=e)}}}),Jp.className="LayeredDigraphEdge";function kr(e){Qo.call(this),this.Ub=new Zt,this.Wn=Wm,this.ud=jc,this.vo=Km,this.Bq=Vv,this.$v=[],this.td=!0,this.Rb=Zm,this.$d=new fi(10,10).freeze();var t=new qd(this);this.W=new Gu(t),this.Y=new Gu(t),this.ru=[],e&&Object.assign(this,e)}xi(kr,Qo),kr.prototype.cloneProtected=function(e){Qo.prototype.cloneProtected.call(this,e),e.Wn=this.Wn,e.vo=this.vo,e.Bq=this.Bq,e.td=this.td,e.Rb=this.Rb,e.$d.assign(this.$d),e.W.copyInheritedPropertiesFrom(this.W),e.Y.copyInheritedPropertiesFrom(this.Y)},kr.prototype.qb=function(e){e.classType===kr?e.name.indexOf("Alignment")===0?this.alignment=e:e.name.indexOf("Arrangement")===0?this.arrangement=e:e.name.indexOf("Compaction")===0?this.compaction=e:e.name.indexOf("Path")===0?this.path=e:e.name.indexOf("Sorting")===0?this.sorting=e:e.name.indexOf("Style")===0?this.treeStyle=e:Ve("Unknown enum value: "+e):Qo.prototype.qb.call(this,e)},kr.prototype.createNetwork=function(){return new qd(this)},kr.prototype.makeNetwork=function(e){function t(i){if(i instanceof Xn)return!i.isLinkLabel&&i.category!=="Comment";if(i instanceof Fn){var r=i.fromNode;return r===null||r.isLinkLabel||r.category==="Comment"?!1:(i=i.toNode,!(i===null||i.isLinkLabel||i.category==="Comment"))}return!1}var n=this.createNetwork();return e instanceof Y?(n.lg(e.nodes,!0,t),n.lg(e.links,!0,t)):e instanceof nr?n.lg(e.memberParts,!1,t):n.lg(e.iterator,!1,t),n},kr.prototype.doLayout=function(e){this.network===null&&(this.network=this.makeNetwork(e)),this.arrangement!==Ym&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var t=this.diagram;if(t===null&&e instanceof Y&&(t=e),this.path===Wm&&t!==null?this.ud=t.isTreePathToChildren?jc:Qd:this.ud=this.path===Wm?jc:this.path,0t.level)return!1;e.removeChild(n.parent,n)}return!0}kr.prototype.removeChild=function(e,t){if(e!==null&&t!==null){for(var n=e.children,i=0,r=0;rr?Sb(this,e,a,Wi,le,Pe):Eb(this,e,a,Wi,le,Pe),Wi=Pe.x,le=Pe.width,Pe=Pe.height;break;case Ah:for(Ge=0;Gex&&(oiSs&&(Xd(e,-Ss,0,tr,Qr-1),Gm(Ge,-Ss,0),Gm(rt,-Ss,0),Ss=0)}Lo.S.h(Ss,qn),le=Math.max(le,At),Pe=Math.max(Pe,Ue+(Dn===0?0:_)+ps.height),oi=At}else 0x&&(qnSs&&(Xd(e,0,-Ss,tr,Qr-1),Gm(Ge,0,-Ss),Gm(rt,0,-Ss),Ss=0)),Lo.S.h(oi,Ss),Pe=Math.max(Pe,Vn),le=Math.max(le,Ue+(Dn===0?0:_)+ps.width),qn=Vn;pn++}switch(0f&&(f=0),135V&&(V=0),u===ih&&(l+=A/2+e.focus.y),a+=i+n):t?(e.comments===null?i>le&&(le=Uv(u,i-le,0),a=le.x,l=le.y,le=i,f=0):le=_v(e,le,f),0>f&&(a-=f,f=0),135Pe&&(Pe=Uv(u,0,be-Pe),a=Pe.x,l=Pe.y,Pe=be,V=0):Pe=zv(e,Pe,V),0>V&&(l-=V,V=0),a+=i+n),0r[0].x?r[2].assign(r[1]):r[1].assign(r[2])),r[3].yr[0].x?r[3].assign(r[2]):r[2].assign(r[3])),Dn[0].h(f+i,0),Dn[1].h(Dn[0].x,be),Dn[2].yr[0].y?r[2].assign(r[1]):r[1].assign(r[2])),r[3].xr[0].y?r[3].assign(r[2]):r[2].assign(r[3])),Dn[0].h(0,V+be),Dn[1].h(i,Dn[0].y),Dn[2].xi?Sb(e,t,r,pn,Ue,Ge):Eb(e,t,r,pn,Ue,Ge),pn=Ge.x,Ue=Ge.width,Ge=Ge.height;break;case Ah:for(A=0;AA&&(AtA&&(Vnx&&(x=0),135le&&(le=0)),t.la.h(x,le),t.Da.h(Ue,Ge)}}kr.prototype.customAlignment=function(e,t,n,i,r){return[t,n,i,r]};function Sb(e,t,n,i,r,o){var a=n.length;if(a===0)return new Wt(i,0,r,o);if(a===1)return t=n[0],r=t.Da.width,o=t.Da.height,new Wt(i,0,r,o);for(var l=t.nodeSpacing,u=t.rowSpacing,f=lc(t)===90,p=0,x=0,A=0,R=0;Rf&&(r-=f),o=Math.max(o,Math.max(R,A)+e+a.height),0>n.S.x&&(i=$m(t,n.S.x,!1,i,l))):(n.S.h(r+e,i+l/2-n.focus.y-n.la.y),r=Math.max(r,Math.max(_,x)+e+a.width),A=i+l/2-n.focus.y-n.la.y,o=Math.max(o,A+a.height),0>A&&(o-=A),0>n.S.y&&(i=$m(t,n.S.y,!0,i,l)))),new Wt(i,0,r,o)}function Eb(e,t,n,i,r,o){var a=n.length;if(a===0)return new Wt(i,0,r,o);if(a===1)return n=n[0],r=n.Da.width,o=n.Da.height,new Wt(i,0,r,o);for(var l=t.nodeSpacing,u=t.rowSpacing,f=lc(t)===270,p=0,x=0,A=0,R=0;Rx&&(r-=x),o=Math.max(o,Math.abs(Math.min(R,A))+e+p.height),0>u.S.x&&(i=$m(t,u.S.x,!1,i,l))):(u.S.h(-r-p.width-e,i+l/2-u.focus.y-u.la.y),r=Math.max(r,Math.abs(Math.min(_,x))+e+p.width),A=i+l/2-u.focus.y-u.la.y,o=Math.max(o,A+p.height),0>A&&(o-=A),0>u.S.y&&(i=$m(t,u.S.y,!0,i,l)))),t=0;tt&&(t=n+e.width),0>n&&(t-=n),t;case Gc:return e.width>t?e.width:t;case Wc:return 2*e.focus.x>t?e.width:t+e.width-2*e.focus.x;case Nh:case Vc:return Math.max(e.width,Math.max(t,n+e.width)-Math.min(0,n));case Ah:return e.width-e.focus.x+e.nodeSpacing/2+t;case ih:return Math.max(e.width,e.focus.x+e.nodeSpacing/2+t);default:return t}}function zv(e,t,n){switch(e.alignment){case Jd:case Gf:return n+e.height>t&&(t=n+e.height),0>n&&(t-=n),t;case Gc:return e.height>t?e.height:t;case Wc:return 2*e.focus.y>t?e.height:t+e.height-2*e.focus.y;case Nh:case Vc:return Math.max(e.height,Math.max(t,n+e.height)-Math.min(0,n));case Ah:return e.height-e.focus.y+e.nodeSpacing/2+t;case ih:return Math.max(e.height,e.focus.y+e.nodeSpacing/2+t);default:return t}}function Uv(e,t,n){switch(e){case Gf:t/=2,n/=2;break;case Jd:t/=2,n/=2;break;case Gc:n=t=0;break;case Wc:break;default:Ve("Unhandled alignment value "+e.toString())}return new he(t,n)}function Nd(e,t,n,i,r,o){t=Uv(t,n,i),Xd(e,t.x,t.y,r,o)}function Xd(e,t,n,i,r){if(t!==0||n!==0)for(e=e.children;i<=r;i++){var o=e[i].S;o.x+=t,o.y+=n}}function jm(e,t,n,i){var r=t.parent;switch(e.ud){case jc:for(e=t.sourceEdges;e.next();)t=e.value,t.fromVertex===r&&t.relativePoint.h(n,i);break;case Qd:for(e=t.destinationEdges;e.next();)t=e.value,t.toVertex===r&&t.relativePoint.h(n,i);break;default:Ve("Unhandled path value "+e.ud.toString())}}function Gm(e,t,n){for(var i=0;ix.length||R===null||2>R.length))for(r=n=0;nf&&o.yo.y&&ft.length||n===null||2>n.length)i=null;else{for(p=Yl(e,t.length+n.length),i=o=u=0;ou;)f=n[o++],p[i++].h(f.x+r,f.y);for(n=Yl(e,i),u=0;ux.length||o===null||2>o.length)r=null;else{for(p=Yl(e,x.length+o.length),r=f=n=0;no;)u=x[n++],p[r++].h(u.x,u.y);for(o=Yl(e,r),n=0;nx.length||R===null||2>R.length))for(r=n=0;nu&&o.xo.x&&ut.length||n===null||2>n.length)i=null;else{for(p=Yl(e,t.length+n.length),i=o=u=0;ou;)f=n[o++],p[i++].h(f.x,f.y+r);for(n=Yl(e,i),u=0;ux.length||o===null||2>o.length)r=null;else{for(p=Yl(e,x.length+o.length),r=f=n=0;no;)u=x[n++],p[r++].h(u.x,u.y);for(o=Yl(e,r),n=0;n=e?0:135>=e?90:225>=e?180:315>=e?270:0}kr.prototype.computeLayerSpacing=function(e){var t=lc(e);t=t===90||t===270;var n=e.layerSpacing;if(0=e&&(this.W.nodeIndentPastParent=e,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(e){this.W.nodeSpacing!==e&&(this.W.nodeSpacing=e,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(e){this.W.layerSpacing!==e&&(this.W.layerSpacing=e,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(e){this.W.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.W.layerSpacingParentOverlap=e,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(e){this.W.compaction===e||e!==Vm&&e!==i0||(this.W.compaction=e,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(e){this.W.breadthLimit!==e&&0<=e&&(this.W.breadthLimit=e,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(e){this.W.rowSpacing!==e&&(this.W.rowSpacing=e,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(e){this.W.rowIndent!==e&&0<=e&&(this.W.rowIndent=e,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(e){this.W.commentSpacing!==e&&(this.W.commentSpacing=e,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(e){this.W.commentMargin!==e&&(this.W.commentMargin=e,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(e){this.W.setsPortSpot!==e&&(this.W.setsPortSpot=e,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(e){this.W.portSpot.D(e)||(this.W.portSpot=e,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(e){this.W.setsChildPortSpot!==e&&(this.W.setsChildPortSpot=e,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(e){this.W.childPortSpot.D(e)||(this.W.childPortSpot=e,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(e){this.Y.sorting===e||e!==jf&&e!==e0&&e!==t0&&!n0||(this.Y.sorting=e,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(e){this.Y.comparer!==e&&(this.Y.comparer=e,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(e){this.Y.angle===e||e!==0&&e!==90&&e!==180&&e!==270||(this.Y.angle=e,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(e){this.Y.alignment!==e&&(this.Y.alignment=e,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(e){this.Y.nodeIndent!==e&&0<=e&&(this.Y.nodeIndent=e,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(e){this.Y.nodeIndentPastParent!==e&&0<=e&&1>=e&&(this.Y.nodeIndentPastParent=e,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(e){this.Y.nodeSpacing!==e&&(this.Y.nodeSpacing=e,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(e){this.Y.layerSpacing!==e&&(this.Y.layerSpacing=e,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(e){this.Y.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.Y.layerSpacingParentOverlap=e,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(e){this.Y.compaction===e||e!==Vm&&e!==i0||(this.Y.compaction=e,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(e){this.Y.breadthLimit!==e&&0<=e&&(this.Y.breadthLimit=e,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(e){this.Y.rowSpacing!==e&&(this.Y.rowSpacing=e,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(e){this.Y.rowIndent!==e&&0<=e&&(this.Y.rowIndent=e,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(e){this.Y.commentSpacing!==e&&(this.Y.commentSpacing=e,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(e){this.Y.commentMargin!==e&&(this.Y.commentMargin=e,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(e){this.Y.setsPortSpot!==e&&(this.Y.setsPortSpot=e,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(e){this.Y.portSpot.D(e)||(this.Y.portSpot=e,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(e){this.Y.setsChildPortSpot!==e&&(this.Y.setsChildPortSpot=e,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(e){this.Y.childPortSpot.D(e)||(this.Y.childPortSpot=e,this.C())}}});var Wm=new Kt(kr,"PathDefault",-1),jc=new Kt(kr,"PathDestination",0),Qd=new Kt(kr,"PathSource",1),jf=new Kt(kr,"SortingForwards",10),e0=new Kt(kr,"SortingReverse",11),t0=new Kt(kr,"SortingAscending",12),n0=new Kt(kr,"SortingDescending",13),Gf=new Kt(kr,"AlignmentCenterSubtrees",20),Jd=new Kt(kr,"AlignmentCenterChildren",21),Gc=new Kt(kr,"AlignmentStart",22),Wc=new Kt(kr,"AlignmentEnd",23),Nh=new Kt(kr,"AlignmentBus",24),Vc=new Kt(kr,"AlignmentBusBranching",25),Ah=new Kt(kr,"AlignmentTopLeftBus",26),ih=new Kt(kr,"AlignmentBottomRightBus",27),Vm=new Kt(kr,"CompactionNone",30),i0=new Kt(kr,"CompactionBlock",31),Km=new Kt(kr,"StyleLayered",40),$v=new Kt(kr,"StyleLastParents",41),jv=new Kt(kr,"StyleAlternating",42),Gv=new Kt(kr,"StyleRootOnly",43),Zm=new Kt(kr,"ArrangementVertical",50),Wv=new Kt(kr,"ArrangementHorizontal",51),Ym=new Kt(kr,"ArrangementFixedRoots",52),Vv=new Kt(kr,"LayerIndividual",60),Kv=new Kt(kr,"LayerSiblings",61),Xm=new Kt(kr,"LayerUniform",62);kr.className="TreeLayout",kr.PathDefault=Wm,kr.PathDestination=jc,kr.PathSource=Qd,kr.SortingForwards=jf,kr.SortingReverse=e0,kr.SortingAscending=t0,kr.SortingDescending=n0,kr.AlignmentCenterSubtrees=Gf,kr.AlignmentCenterChildren=Jd,kr.AlignmentStart=Gc,kr.AlignmentEnd=Wc,kr.AlignmentBus=Nh,kr.AlignmentBusBranching=Vc,kr.AlignmentTopLeftBus=Ah,kr.AlignmentBottomRightBus=ih,kr.CompactionNone=Vm,kr.CompactionBlock=i0,kr.StyleLayered=Km,kr.StyleLastParents=$v,kr.StyleAlternating=jv,kr.StyleRootOnly=Gv,kr.ArrangementVertical=Zm,kr.ArrangementHorizontal=Wv,kr.ArrangementFixedRoots=Ym,kr.LayerIndividual=Vv,kr.LayerSiblings=Kv,kr.LayerUniform=Xm;function qd(e){Po.call(this,e)}xi(qd,Po),qd.prototype.createVertex=function(){return new Gu(this)},qd.prototype.createEdge=function(){return new Wf(this)},qd.className="TreeNetwork";function Gu(e){us.call(this,e),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new he(0,0),this.Da=new fi(0,0),this.la=new he(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=jf,this.hd=fv,this.Kb=0,this.Jb=Jd,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=i0,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Wr,this.wr=!0,this.Dp=Wr}xi(Gu,us),Gu.prototype.copyInheritedPropertiesFrom=function(e){e!==null&&(this.nd=e.sorting,this.hd=e.comparer,this.Kb=e.angle,this.Jb=e.alignment,this.Uq=e.nodeIndent,this.Vq=e.nodeIndentPastParent,this.Wq=e.nodeSpacing,this.ie=e.layerSpacing,this.Aq=e.layerSpacingParentOverlap,this.Hp=e.compaction,this.Ap=e.breadthLimit,this.nr=e.rowSpacing,this.mr=e.rowIndent,this.Gp=e.commentSpacing,this.Fp=e.commentMargin,this.xr=e.setsPortSpot,this.dr=e.portSpot,this.wr=e.setsChildPortSpot,this.Dp=e.childPortSpot)},dt.Object.defineProperties(Gu.prototype,{initialized:{get:function(){return this.V},set:function(e){this.V!==e&&(this.V=e)}},parent:{get:function(){return this.hb},set:function(e){this.hb!==e&&(this.hb=e)}},children:{get:function(){return this.u},set:function(e){if(this.u!==e){if(e!==null)for(var t=e.length,n=0;nR.y+n.rowIndent&&(o=Math.min(o,Math.max(x.y,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.top+r.y,r.y===0&&x.yR.x+n.rowIndent&&(o=Math.min(o,Math.max(x.x,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.left+r.x,r.x===0&&x.xR.y+n.rowIndent&&(o=Math.min(o,Math.max(x.y,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.top+r.y,r.y===0&&x.yR.x+n.rowIndent&&(o=Math.min(o,Math.max(x.x,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.left+r.x,r.x===0&&x.x=97&&v<=122||v>=65&&v<=90}},21127:function(Q,C,h){"use strict";var v=h(91241),I=h(22347);Q.exports=O;function O(F){return v(F)||I(F)}},22347:function(Q){"use strict";Q.exports=C;function C(h){var v=typeof h=="string"?h.charCodeAt(0):h;return v>=48&&v<=57}},65207:function(Q){"use strict";Q.exports=C;function C(h){var v=typeof h=="string"?h.charCodeAt(0):h;return v>=97&&v<=102||v>=65&&v<=70||v>=48&&v<=57}},2859:function(Q,C,h){"use strict";h.d(C,{hP:function(){return Mn}});var v=function(re,z){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,j){k.__proto__=j}||function(k,j){for(var X in j)Object.prototype.hasOwnProperty.call(j,X)&&(k[X]=j[X])})(re,z)};function I(re,z){function k(){this.constructor=re}v(re,z),re.prototype=z===null?Object.create(z):(k.prototype=z.prototype,new k)}function O(re,z,k,j){return new(k||(k=Promise))(function(X,N){function _e(De){try{He(j.next(De))}catch(gt){N(gt)}}function Nt(De){try{He(j.throw(De))}catch(gt){N(gt)}}function He(De){var gt;De.done?X(De.value):(gt=De.value,gt instanceof k?gt:new k(function(ut){ut(gt)})).then(_e,Nt)}He((j=j.apply(re,z||[])).next())})}function F(re,z){var k,j,X,N,_e={label:0,sent:function(){if(1&X[0])throw X[1];return X[1]},trys:[],ops:[]};return N={next:Nt(0),throw:Nt(1),return:Nt(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function Nt(He){return function(De){return function(gt){if(k)throw new TypeError("Generator is already executing.");for(;_e;)try{if(k=1,j&&(X=2>[0]?j.return:gt[0]?j.throw||((X=j.return)&&X.call(j),0):j.next)&&!(X=X.call(j,gt[1])).done)return X;switch(j=0,X&&(gt=[2>[0],X.value]),gt[0]){case 0:case 1:X=gt;break;case 4:return _e.label++,{value:gt[1],done:!1};case 5:_e.label++,j=gt[1],gt=[0];continue;case 7:gt=_e.ops.pop(),_e.trys.pop();continue;default:if(X=_e.trys,!((X=X.length>0&&X[X.length-1])||gt[0]!==6&>[0]!==2)){_e=0;continue}if(gt[0]===3&&(!X||gt[1]>X[0]&>[1]i.indexOf(e.newValue)&&i.splice(n,0,e.newValue));return}}else if(e.change===la){if(n=e.oldParam,e.modelChange==="linkDataArray"){e=e.oldValue,ot(e)&&typeof n=="number"&&(i=this.Ac(e),t?(this.$f.add(e),this.md[n]!==e&&this.md.splice(n,0,e),i!==void 0&&this.wb.add(i,e)):(this.$f.remove(e),this.md[n]===e&&this.md.splice(n,1),i!==void 0&&this.wb.remove(i)));return}if(e.modelChange==="linkLabelKeys"){i=this.Ef(e.object),Array.isArray(i)&&typeof n=="number"&&(t?0>i.indexOf(e.newValue)&&i.splice(n,0,e.newValue):(n=i.indexOf(e.newValue),0<=n&&i.splice(n,1)));return}}di.prototype.changeState.call(this,e,t)}},U=Ur.prototype,U.Vl=function(e){if(e!==void 0){var t=this.Ri;if(t!==null){var n=this.hc(e);n===null&&(n=this.copyNodeData(t),Xo(n,this.nodeKeyProperty,e),this.xf(n))}return e}},U.yx=function(e){return Eu(this,e,!0)},U.wv=function(e,t){Ff(this,e,t,!0)},U.Bx=function(e){return Eu(this,e,!1)},U.Bv=function(e,t){Ff(this,e,t,!1)};function Eu(e,t,n){if(t!==null&&(e=n?e.lf:e.mf,e!==""&&(e=Fa(t,e),e!==void 0))){if(Zh(e))return e;Ve((n?"FromKey":"ToKey")+" value for link data "+t+" is not a number or a string: "+e)}}function Ff(e,t,n,i){if(n===null&&(n=void 0),t!==null){var r=i?e.lf:e.mf;if(r!=="")if(n=e.Vl(n),e.Jc(t)){var o=Fa(t,r);o!==n&&(gc(e,o,t),Xo(t,r,n),e.hc(n)===null&&mc(e,n,t),Qa(e,i?"linkFromKey":"linkToKey",So,r,t,o,n),typeof r=="string"&&e.La(t,r))}else Xo(t,r,n)}}U.zx=function(e){return Em(this,e,!0)},U.xv=function(e,t){Bf(this,e,t,!0)},U.Cx=function(e){return Em(this,e,!1)},U.Cv=function(e,t){Bf(this,e,t,!1)};function Em(e,t,n){return t===null||(e=n?e.ej:e.fj,e==="")?"":(t=Fa(t,e),t===void 0?"":t)}function Bf(e,t,n,i){if(t!==null){var r=i?e.ej:e.fj;if(r!=="")if(e.Jc(t)){var o=Fa(t,r);o===void 0&&(o=""),o!==n&&(Xo(t,r,n),Qa(e,i?"linkFromPortId":"linkToPortId",So,r,t,o,n),typeof r=="string"&&e.La(t,r))}else Xo(t,r,n)}}U.Ef=function(e){if(e===null)return wm;var t=this.je;return t===""?wm:(e=Fa(e,t),e===void 0?wm:e)},U.Ls=function(e,t){if(e!==null){var n=this.je;if(n!=="")if(this.Jc(e)){var i=Fa(e,n);if(i===void 0&&(i=wm),i!==t){if(Array.isArray(i))for(var r=i.length,o=0;or||(i.splice(r,1),this.Jc(e)&&(gc(this,t,e),Qa(this,"linkLabelKeys",la,n,e,t,null,r,null)))}else i!==void 0&&Ve(n+" property is not an Array; cannot removeLabelKeyforLinkData: "+e)}}},U.Ac=function(e){if(e!==null){var t=this.Jh;if(t!==""&&(t=Fa(e,t),t!==void 0)){if(Zh(t))return t;Ve("Key value for link data "+e+" is not a number or a string: "+t)}}},U.Ks=function(e,t){if(e!==null){var n=this.Jh;if(n!=="")if(this.Jc(e)){var i=Fa(e,n);i!==t&&this.jh(t)===null&&(Xo(e,n,t),i!==void 0&&this.wb.remove(i),this.wb.add(t,e),Qa(this,"linkKey",So,n,e,i,t),typeof n=="string"&&this.La(e,n))}else Xo(e,n,t)}},U.jh=function(e){return e===null&&Ve("GraphLinksModel.findLinkDataForKey:key must not be null"),e!==void 0&&Zh(e)?this.wb.I(e):null},U.Bs=function(e){if(e!==null){var t=this.Jh;if(t!==""){var n=this.Ac(e);if(n===void 0||this.wb.contains(n)){var i=this.cl;if(i!==null&&(n=i(this,e),n!=null&&!this.wb.contains(n))){Xo(e,t,n);return}if(typeof n=="string"){for(i=2;this.wb.contains(n+i);)i++;Xo(e,t,n+i)}else if(n===void 0||typeof n=="number"){for(n=-this.wb.count-1;this.wb.contains(n);)n--;Xo(e,t,n)}}}}},U.Jc=function(e){return e===null?!1:this.$f.contains(e)},U.fi=function(e){e!==null&&(Yr(e),this.Jc(e)||U1(this,e,!0))};function U1(e,t,n){if(e.linkKeyProperty!==""){var i=e.Ac(t);if(i!==void 0&&e.wb.I(i)===t)return;e.Bs(t),i=e.Ac(t),i===void 0&&Ve("GraphLinksModel.makeLinkDataKeyUnique failed on "+t+". Data not added to model."),e.wb.add(i,t)}e.$f.add(t),i=null,n&&(i=e.md.length,e.md.splice(i,0,t)),Qa(e,"linkDataArray",Ko,"linkDataArray",e,null,t,null,i),Sv(e,t)}U.Ey=function(e){if(Array.isArray(e))for(var t=e.length,n=0;ni)return;e.md.splice(i,1)}if(Qa(e,"linkDataArray",la,"linkDataArray",e,t,null,i,null),n=Eu(e,t,!0),gc(e,n,t),n=Eu(e,t,!1),gc(e,n,t),i=e.Ef(t),Array.isArray(i))for(var r=i.length,o=0;o=e.count)e.count===1&&(e=e.first(),e.centerX=0,e.centerY=0);else{var t=new qt;t.addAll(e.iterator),e=new qt;var n=new qt,i=this.sort(t),r,o,a=this.Jp,l=this.arrangement,u=this.nodeDiameterFormula,f=this.radius;(!isFinite(f)||0>=f)&&(f=NaN);var p=this.aspectRatio;(!isFinite(p)||0>=p)&&(p=1);var x=this.startAngle;isFinite(x)||(x=0);var N=this.sweepAngle;if((!isFinite(N)||360N)&&(N=360),t=this.spacing,isFinite(t)||(t=NaN),l===sc&&u===Zd?l=ac:l===sc&&u!==Zd&&(l=this.arrangement),(this.direction===Td||this.direction===_f)&&this.sorting!==zf){for(u=0;!(u>=i.length)&&(e.add(i.M(u)),!(u+1>=i.length));u+=2)n.add(i.M(u+1));this.direction===Td?(this.arrangement===sc&&e.reverse(),i=new qt,i.addAll(e),i.addAll(n)):(this.arrangement===sc&&n.reverse(),i=new qt,i.addAll(n),i.addAll(e))}u=i.length;for(var R=o=r=0;RN&&(R===0||R===i.length-1)&&(V/=2),r+=V,o++}if(isNaN(f)||l===sc){if(isNaN(t)&&(t=6),l!==ac&&l!==sc){for(o=-1/0,a=0;af?(f=r,o=f*p):a=R/(360<=N?u:u-1)}if(this.kw=l,this.lc=f,this.Zm=p,this.lw=x,this.Wp=N,this.Ti=t,this.me=o,this.Jp=a,t=i,i=this.kw,l=this.lc,f=this.lw,p=this.Wp,x=this.Ti,N=this.me,u=this.Jp,this.direction!==Td&&this.direction!==_f||i!==sc)if(this.direction===Td||this.direction===_f){switch(a=0,i){case Yh:a=180*Tm(this,l,N,f,u)/Math.PI;break;case ac:u=t=0,a=e.first(),a!==null&&(t=Qh(a,Math.PI/2)),a=n.first(),a!==null&&(u=Qh(a,Math.PI/2)),a=180*Tm(this,l,N,f,x+(t+u)/2)/Math.PI;break;case Th:a=p/t.length}if(this.direction===Td){switch(i){case Yh:Wp(this,e,f,Xh);break;case ac:Gp(this,e,f,Xh);break;case Th:jp(this,e,p/2,f,Xh)}switch(i){case Yh:Wp(this,n,f+a,Ml);break;case ac:Gp(this,n,f+a,Ml);break;case Th:jp(this,n,p/2,f+a,Ml)}}else{switch(i){case Yh:Wp(this,n,f,Xh);break;case ac:Gp(this,n,f,Xh);break;case Th:jp(this,n,p/2,f,Xh)}switch(i){case Yh:Wp(this,e,f+a,Ml);break;case ac:Gp(this,e,f+a,Ml);break;case Th:jp(this,e,p/2,f+a,Ml)}}}else switch(i){case Yh:Wp(this,t,f,this.direction);break;case ac:Gp(this,t,f,this.direction);break;case Th:jp(this,t,p,f,this.direction);break;case sc:j1(this,t,p,f,this.direction)}else j1(this,t,p,f-p/2,Ml)}this.updateParts(),this.network=null,this.isValidLayout=!0};function jp(e,t,n,i,r){var o=e.Wp,a=e.lc;e=e.me,i=i*Math.PI/180,n=n*Math.PI/180;for(var l=t.length,u=0;un){for(o=i+(r===Ml?o:-o);0>o;)o+=360;o%=360,180=p.length-1));x++)V1(e,u,f,p,x,r,o)||K1(e,u,f,p,x,r,o),u=o.x,f=o.y;if(he.free(o),e.mj++,!(23Math.abs(R)?Math.abs(u-o)<(p[0].width+p[p.length-1].width)/2&&(a=0):a=0Math.abs(N)?0:N,u=Math.abs(o)>Math.abs(x)?0x:0e.mj?e.lc-a/(2*Math.PI):5>p.length&&10=x.length-1));N++)V1(e,u,f,x,N,r,p)||K1(e,u,f,x,N,r,p),u=p.x,f=p.y;if(he.free(p),e.mj++,!(23e.mj?e.lc-o/(2*Math.PI):e.lc-(0l){if(o=t-e,o<-l)return a.x=o,a.y=f,!1;p=!0}}else if(o=t-e,o<-l){if(o=t+e,o>l)return a.x=o,a.y=f,!1;p=!0}return f=Math.sqrt(1-Math.min(1,o*o/(l*l)))*u,0>n!==p&&(f=-f),Math.abs(n-f)>(i[r].height+i[r+1].height)/2?(a.x=o,a.y=f,!1):(a.x=o,a.y=f,!0)}function K1(e,t,n,i,r,o,a){var l=e.lc,u=e.me,f=0;if(e=(i[r].height+i[r+1].height)/2+e.Ti,i=!1,0<=t!=(o===Ml)){if(o=n-e,o<-u){if(o=n+e,o>u){a.x=f,a.y=o;return}i=!0}}else if(o=n+e,o>u){if(o=n-e,o<-u){a.x=f,a.y=o;return}i=!0}f=Math.sqrt(1-Math.min(1,o*o/(u*u)))*l,0>t!==i&&(f=-f),a.x=f,a.y=o}ca.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},ca.prototype.commitNodes=function(){var e=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,t=e?this.group.location.copy():null,n=this.actualCenter;e?n=new he(0,0):(n.x=this.arrangementOrigin.x+this.lc,n.y=this.arrangementOrigin.y+this.me);for(var i=this.network.vertexes.iterator;i.next();){var r=i.value;r.x+=n.x,r.y+=n.y,r.commit()}e&&(this.group.Va(),e=this.group.position.copy(),n=this.group.location.copy(),t=t.re(n.re(e)),this.group.move(t),this.Zv=t.re(e))},ca.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()};function Ev(e,t,n,i,r){var o=e.ty;if(.001>Math.abs(e.Zm-1))return i!==void 0&&r!==void 0?r*t:2*Math.PI*t;e=t>n?Math.sqrt(t*t-n*n)/t:Math.sqrt(n*n-t*t)/n;for(var a=0,l=i!==void 0&&r!==void 0?r/(o+1):Math.PI/(2*(o+1)),u=0,f=0;f<=o;f++){i!==void 0&&r!==void 0?u=i+f*r/o:u=f*Math.PI/(2*o);var p=Math.sin(u);a+=Math.sqrt(1-e*e*p*p)*l}return i!==void 0&&r!==void 0?(t>n?t:n)*a:4*(t>n?t:n)*a}function Cm(e,t,n,i,r){return t/(i!==void 0&&r!==void 0?Ev(e,1,n,i,r):Ev(e,1,n))}function Tm(e,t,n,i,r){if(.001>Math.abs(e.Zm-1))return r/t;var o=t>n?Math.sqrt(t*t-n*n)/t:Math.sqrt(n*n-t*t)/n,a=0;e=2*Math.PI/(700*e.network.vertexes.count),t>n&&(i+=Math.PI/2);for(var l=0;;l++){var u=Math.sin(i+l*e);if(a+=(t>n?t:n)*Math.sqrt(1-o*o*u*u)*e,a>=r)return l*e}}ca.prototype.sort=function(e){switch(this.sorting){case Nm:break;case Am:e.reverse();break;case km:e.sort(this.comparer);break;case Im:e.sort(this.comparer),e.reverse();break;case zf:return this.ak(Kb(e));default:Ve("Invalid sorting type.")}return e};function Kb(e){for(var t=[],n=0;nr&&(r=l,o=a)}else for(a=0;ar&&(r=l,o=a);for(n.add(e.M(o)),t[o]=-1,o=e.M(o),a=o.sourceEdges;a.next();)r=e.indexOf(a.value.fromVertex),0>r||0<=t[r]&&t[r]++;for(o=o.destinationEdges;o.next();)r=e.indexOf(o.value.toVertex),0>r||0<=t[r]&&t[r]++}return n}ca.prototype.ak=function(e){for(var t=[],n=0;nt[n].indexOf(r)&&t[n].push(r);for(i=i.sourceEdges;i.next();)r=e.indexOf(i.value.fromVertex),r!==n&&0>t[n].indexOf(r)&&t[n].push(r)}for(o=[],n=0;nt[n[_]].indexOf(n[_===n.length-1?0:_+1])&&R.push(_===n.length-1?0:_+1);if(R.length===0)for(_=0;_n.indexOf(At)||rtn.indexOf(At)||rt=V?rt+1:rt)),ue+=rt=V&&rt++,Ue>=V&&Ue++,rt>Ue&&(Ge=Ue,Ue=rt,rt=Ge),Ue-rt<(n.length+2)/2==(rtR||R===p||(_=R>p?R-p:p-R,x+=Ra-_?1:-1);n.splice(0>x?p:p+1,0,u),i.splice(l,1),l--}else o=!1;if(o)break;n.push(i[0]),i.splice(0,1)}for(t=0;t=e?this.ul=e:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(e){this.Rb===e||e!==sc&&e!==ac&&e!==Yh&&e!==Th||(this.Rb=e,this.C())}},direction:{get:function(){return this.K},set:function(e){this.K===e||e!==Ml&&e!==Xh&&e!==Td&&e!==_f||(this.K=e,this.C())}},sorting:{get:function(){return this.nd},set:function(e){this.nd===e||e!==Nm&&e!==Am&&e!==km&&!Im&&e!==zf||(this.nd=e,this.C())}},comparer:{get:function(){return this.hd},set:function(e){this.hd!==e&&(this.hd=e,this.C())}},spacing:{get:function(){return this.tf},set:function(e){this.tf!==e&&(this.tf=e,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(e){this.Nn===e||e!==Mm&&e!==Zd||(this.Nn=e,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var ac=new Yt(ca,"ConstantSpacing",0),Yh=new Yt(ca,"ConstantDistance",1),Th=new Yt(ca,"ConstantAngle",2),sc=new Yt(ca,"Packed",3),Ml=new Yt(ca,"Clockwise",4),Xh=new Yt(ca,"Counterclockwise",5),Td=new Yt(ca,"BidirectionalLeft",6),_f=new Yt(ca,"BidirectionalRight",7),Nm=new Yt(ca,"Forwards",8),Am=new Yt(ca,"Reverse",9),km=new Yt(ca,"Ascending",10),Im=new Yt(ca,"Descending",11),zf=new Yt(ca,"Optimized",12),Mm=new Yt(ca,"Pythagorean",13),Zd=new Yt(ca,"Circular",14);ca.className="CircularLayout",ca.ConstantSpacing=ac,ca.ConstantDistance=Yh,ca.ConstantAngle=Th,ca.Packed=sc,ca.Clockwise=Ml,ca.Counterclockwise=Xh,ca.BidirectionalLeft=Td,ca.BidirectionalRight=_f,ca.Forwards=Nm,ca.Reverse=Am,ca.Ascending=km,ca.Descending=Im,ca.Optimized=zf,ca.Pythagorean=Mm,ca.Circular=Zd;function Vp(){this.Pl=-1/0,this.tm=this.mk=null}Vp.prototype.compare=function(e,t){if(0this.Pl||Math.abs(e)e&&0l?(r=N.x+N.width/2,o=N.y+N.height/2,f[0]=new he(N.x+N.width+i.width,N.y),f[1]=new he(N.x,N.y+N.height+i.height),l=2):(u=Y1(f,l,r,o,N.width,N.height,i),x=f[u],R=new he(x.x+N.width+i.width,x.y),N=new he(x.x,x.y+N.height+i.height),u+1this.network.vertexes.count)return!1;for(var e=0,t=0,n=this.network.vertexes.first().bounds,i=this.network.vertexes.iterator;i.next();){if(i.value.bounds.Yc(n)&&(e++,2e.network.vertexes.count)return!1;for(e.ah=e.network.vertexes.Fa(),e=e.ah,e.sort(function(n,i){return n===null||i===null||n===i?0:i.Vd-n.Vd}),t=e.length-1;0<=t&&1>=e[t].Vd;)t--;return 1=a))){for(var f=l=0,p=u.count-a;pR&&(R=1),l=qe.sqrt((l+R+f*f*4/(a*a))/R),a=(l-1)*p/2,l=(l-1)*x/2,r.bounds=new Zt(o-N.x-a,u-N.y-l,p+2*a,x+2*l),r.focus=new he(N.x+a,N.y+l)}}return e.network=i,n}function Xb(e,t){for(var n=e.network.vertexes.iterator;n.next();){var i=n.value;if(i.network=t,i.We!==null){var r=i.We.M(i.sv);i.Vd=r.Rs;var o=r.Sv,a=r.Tv;i.bounds=new Zt(i.centerX-o,i.centerY-a,r.Ss,r.Qs),i.focus=new he(o,a),i.sv--}}for(n=e.network.edges.iterator;n.next();)n.value.network=t;e.network=t}function Qb(e,t){var n=t.Hj;if(n!==null&&n.count!==0){var i=t.centerX,r=t.centerY,o=t.width,a=t.height;t.We!==null&&0=x.Vd?u++:(l=!0,f++,a+=Math.atan2(t.centerY-x.centerY,t.centerX-x.centerX))}if(u!==0){for(0>1)+f)*(l%2===0?1:-1),u.centerX=i+p*Math.cos(x),u.centerY=r+p*Math.sin(x),l++}}}}function Y1(e,t,n,i,r,o,a){var l=9e19,u=-1,f=0;e:for(;fp.y&&e[N].x-p.xp.x&&e[N].y-p.yt+o?(n=i+r-a,e=e-t-o,qe.sqrt(n*n+e*e)):e+na+l?e>t+o?(n=i-a-l,e=e-t-o,qe.sqrt(n*n+e*e)):e+nt+o?e-(t+o):e+n=t.length)return!1;var n=t[0];n.forceX=0,n.forceY=0;for(var i=n.centerX,r=i,o=n=n.centerY,a=1;ao-n)?t.sort(function(V,be){return V===null||be===null||V===be?0:V.centerX-be.centerX}):t.sort(function(V,be){return V===null||be===null||V===be?0:V.centerY-be.centerY}),n=e.Zf;var f=i=l=0;for(o=0;on||f-u>n){if(r)break}else if(p-R>n||R-p>n){if(!r)break}else{var _=X1(a,N);1>_?(i=e.randomNumberGenerator,i===null&&(e.randomNumberGenerator=i=new Lm),_=i.random(),l=i.random(),u>f?(i=Math.abs(N.bounds.right-a.bounds.x),i=(1+i)*_):uR?(f=Math.abs(N.bounds.bottom-a.bounds.y),f=(1+f)*l):ux?(x=e.randomNumberGenerator,x===null&&(e.randomNumberGenerator=x=new Lm),l=x.random(),x=x.random(),i=(i>u?1:-1)*(1+(o.width>n.width?o.width:n.width))*l,f=(a>p?1:-1)*(1+(o.height>n.height?o.height:n.height))*x):(l=l.stiffness*(x-l.length),i=(u-i)/x*l,f=(p-a)/x*l),n.forceX+=i,n.forceY+=f,o.forceX-=i,o.forceY-=f;for(r=i=0;re.epsilonDistance*e.epsilonDistance}$s.prototype.moveVertex=function(e){var t=e.forceX,n=e.forceY,i=this.moveLimit;return t<-i?t=-i:t>i&&(t=i),n<-i?n=-i:n>i&&(n=i),e.centerX+=t,e.centerY+=n,t*t+n*n},$s.prototype.moveFixedVertex=function(){},$s.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},$s.prototype.yv=function(){if(this.setsPortSpots)for(var e=this.network.edges.iterator;e.next();){var t=e.value.link;t!==null&&(t.fromSpot=Kr,t.toSpot=Kr)}},$s.prototype.commitNodes=function(){var e=0,t=0;if(this.arrangesToOrigin){var n=Zt.alloc();this.computeBounds(this.network,n),t=this.arrangementOrigin,e=t.x-n.x,t=t.y-n.y,Zt.free(n)}n=Zt.alloc();for(var i=this.network.vertexes.iterator;i.next();){var r=i.value;(e!==0||t!==0)&&(n.assign(r.bounds),n.x+=e,n.y+=t,r.bounds=n),r.commit()}Zt.free(n)},$s.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()},$s.prototype.springStiffness=function(e){return e=e.stiffness,isNaN(e)?this.Hk:e},$s.prototype.springLength=function(e){return e=e.length,isNaN(e)?this.Gk:e},$s.prototype.electricalCharge=function(e){return e=e.charge,isNaN(e)?this.Ek:e},$s.prototype.electricalFieldX=function(){return 0},$s.prototype.electricalFieldY=function(){return 0},$s.prototype.gravitationalMass=function(e){return e=e.mass,isNaN(e)?this.Fk:e},$s.prototype.gravitationalFieldX=function(){return 0},$s.prototype.gravitationalFieldY=function(){return 0},$s.prototype.isFixed=function(e){return e.isFixed},ht.Object.defineProperties($s.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(e){this.$d.D(e)||(this.$d.assign(e),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(e){this.Bm!==e&&(this.Bm=e,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(e){this.sf!==e&&(this.sf=e,this.C())}},comments:{get:function(){return this.td},set:function(e){this.td!==e&&(this.td=e,this.C())}},maxIterations:{get:function(){return this.dl},set:function(e){this.dl!==e&&0<=e&&(this.dl=e,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(e){this.$m!==e&&0V&&0V&&0e[this.Md]&&(this.Iq=e[n]-1,this.Md=n),e[n]a)for(var p=a+1;pu;p--)x=i[p],x.near===f&&x.Dj===f.Dj||l++;var N;if(0<=n)for(u=i[a].sourceEdgesArrayAccess,f=0;fV||x===V&&R>_)&&l++,bex||V===x&&_>R)&&l++}}}if(0>=n){for(u=i[a].destinationEdgesArrayAccess,f=0;fV||x===V&&p>be)&&l++,_x||V===x&&be>p)&&l++)}for(o[a*r+a]=l,u=a+1;u=n){for(l=i[a].destinationEdgesArrayAccess,Ue=i[u].destinationEdgesArrayAccess,f=0;f=n&&(u=l.sourceEdgesArrayAccess);var f=null;0<=n&&(f=l.destinationEdgesArrayAccess);var p=0,x=0,N=l.near;if(N!==null&&N.layer===l.layer&&(p+=N.column-1,x++),u!==null)for(N=0;N=n&&(u=l.sourceEdgesArrayAccess);var f=null;0<=n&&(f=l.destinationEdgesArrayAccess);var p=0,x=[],N=l.near;if(N!==null&&N.layer===l.layer&&(x[p]=N.column-1,p++),l=void 0,u!==null)for(N=0;N>1,o[a]=p&1?x[f]:x[f-1]+x[f]>>1)}return qh(e,t,i),o}function Xp(e,t,n,i,r,o){if(t.component===i){if(t.component=n,r)for(var a=t.destinationEdges;a.next();){var l=a.value,u=l.toVertex,f=t.layer-u.layer;l=e.linkMinLength(l),f===l&&Xp(e,u,n,i,r,o)}if(o)for(a=t.sourceEdges;a.next();)l=a.value,u=l.fromVertex,f=u.layer-t.layer,l=e.linkMinLength(l),f===l&&Xp(e,u,n,i,r,o)}}function Tv(e,t,n,i,r,o){if(t.component===i){if(t.component=n,r)for(var a=t.destinationEdges;a.next();)Tv(e,a.value.toVertex,n,i,r,o);if(o)for(t=t.sourceEdges;t.next();)Tv(e,t.value.fromVertex,n,i,r,o)}}lo.prototype.removeCycles=function(){for(var e=this.network.edges.iterator;e.next();)e.value.rev=!1;switch(this.Dk){default:case kv:e=this.network;var t=0,n=e.vertexes.count-1,i=[];i.length=n+1;for(var r=e.vertexes.iterator;r.next();)r.value.valid=!0;for(;qb(e)!==null;){for(r=tb(e);r!==null;)i[n]=r,n--,r.valid=!1,r=tb(e);for(r=nb(e);r!==null;)i[t]=r,t++,r.valid=!1,r=nb(e);r=null;for(var o=0,a=this.network.vertexes.iterator;a.next();){var l=a.value;if(l.valid){for(var u=0,f=l.destinationEdges;f.next();)f.value.toVertex.valid&&u++;f=0;for(var p=l.sourceEdges;p.next();)p.value.fromVertex.valid&&f++;(r===null||ot.toVertex.index&&(e.gm(t),t.rev=!0);break;case Bm:for(i=this.network.vertexes.iterator;i.next();)e=i.value,e.Ll=-1,e.finish=-1;for(e=this.network.edges.iterator;e.next();)e.value.forest=!1;for(this.Kn=0,i.reset();i.next();)t=i.value,t.sourceEdges.count===0&&Nv(this,t);for(i.reset();i.next();)t=i.value,t.Ll===-1&&Nv(this,t);for(e.reset();e.next();)i=e.value,i.forest||(t=i.fromVertex,n=t.finish,r=i.toVertex,o=r.finish,r.Lli){if(0>i)for(t.reset();t.next();)t.value.layer-=i;for(i=[],t.reset();t.next();)n=t.value,r=i[n.layer],r===void 0?i[n.layer]=[n]:r.push(n);for(n=t=0;na&&Xp(e,l,0,-1,!0,!1)}for(Xp(e,t,1,-1,!0,!0);t.component!==0;){for(o=0,i=1/0,l=0,u=null,a=e.network.vertexes.iterator;a.next();){var f=a.value;if(f.component===1){var p=0,x=!1,N=f.sourceEdgesArrayAccess;r=N.length;for(var R=0;Ro)&&!p&&(l=a,o=f)}if(0>i){for(n.reset();n.next();)i=n.value,i.component===1&&(i.layer-=r);t.component=0}else l.component=0}}}function sb(e,t,n){return e.K===90?n&&!t.rev||!n&&t.rev?270:90:e.K===180?n&&!t.rev||!n&&t.rev?0:180:e.K===270?n&&!t.rev||!n&&t.rev?90:270:n&&!t.rev||!n&&t.rev?180:0}lo.prototype.initializeIndices=function(){switch(this.Qk){default:case Lv:for(var e=this.network.vertexes.iterator;e.next();){var t=e.value,n=t.layer;t.index=this.tc[n],this.tc[n]++}break;case zm:for(e=this.network.vertexes.iterator,t=this.Ia;0<=t;t--)for(e.reset();e.next();)n=e.value,n.layer===t&&n.index===-1&&lb(this,n);break;case Ov:for(e=this.network.vertexes.iterator,t=0;t<=this.Ia;t++)for(e.reset();e.next();)n=e.value,n.layer===t&&n.index===-1&&ub(this,n)}};function lb(e,t){var n=t.layer;for(t.index=e.tc[n],e.tc[n]++,t=t.destinationEdgesArrayAccess,n=!0;n;){n=!1;for(var i=0;io.portFromColOffset&&(n=!0,t[i]=o,t[i+1]=r)}}for(n=0;no.portToColOffset&&(i=!0,t[n]=o,t[n+1]=r)}for(n=0;n=a;i--)o=Gu(this,i,-1)||o;for(r=this.countCrossings(),r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=Gu(this,i,1)||o;for(r=this.countCrossings(),r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,1)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,-1)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=Gu(this,i,0)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,0)||o;r>=e?Fu(this,t):(e=r,t=$l(this))}break;default:case Um:for(n=this.Ia,a=0,l=e+1;(i=this.countCrossings())=a;i--)o=Gu(this,i,-1)||o;for(r=this.countCrossings(),r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=Gu(this,i,1)||o;for(r=this.countCrossings(),r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,1)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,-1)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=n;i>=a;i--)o=Gu(this,i,0)||o;for(r>=e?Fu(this,t):(e=r,t=$l(this)),o=!0;o;)for(o=!1,i=a;i<=n;i++)o=Gu(this,i,0)||o;r>=e?Fu(this,t):(e=r,t=$l(this))}}Fu(this,t)};function Dm(e,t,n){var i=Jh(e,t),r=e.tc[t],o=eb(e,t,n),a=Cv(e,t,n);for(n=0;no+1&&(N+=4*(Fe-o),R+=4*(Fe-(o+1)))}for(Ge=i[o].destinationEdges.iterator,Ge.reset();Ge.next();)if(Fe=Ge.value,Ue=Fe.toVertex,Fe.valid&&Ue.layer===t){for(Fe=0;i[Fe]!==Ue;)Fe++;Fe===o+1&&(R+=1)}for(Ge=i[o+1].sourceEdges.iterator,Ge.reset();Ge.next();)if(Fe=Ge.value,Ue=Fe.fromVertex,Fe.valid&&Ue.layer===t){for(Fe=0;i[Fe]!==Ue;)Fe++;Feo+1&&(N+=4*(Fe-(o+1)),R+=4*(Fe-o))}for(Ge=i[o+1].destinationEdges.iterator,Ge.reset();Ge.next();)if(Fe=Ge.value,Ue=Fe.toVertex,Fe.valid&&Ue.layer===t){for(Fe=0;i[Fe]!==Ue;)Fe++;Fe===o&&(N+=1)}Fe=Ue=0,Ge=a[i[o].index];var rt=l[i[o].index],At=a[i[o+1].index],Kn=l[i[o+1].index];Ge!==-1&&(Ue+=Math.abs(Ge-_),Fe+=Math.abs(Ge-ue)),rt!==-1&&(Ue+=Math.abs(rt-_),Fe+=Math.abs(rt-ue)),At!==-1&&(Ue+=Math.abs(At-V),Fe+=Math.abs(At-be)),Kn!==-1&&(Ue+=Math.abs(Kn-V),Fe+=Math.abs(Kn-be)),(R>1)+8*i;this.Ra*=8}if(this.bg&2)for(n=!0;n;){for(n=!1,t=this.Md+1;t<=this.Ia;t++)n=Hf(this,t,1)||n;for(t=this.Md-1;0<=t;t--)n=Hf(this,t,-1)||n;n=Hf(this,this.Md,0)||n}if(this.bg&4){for(t=this.Md+1;t<=this.Ia;t++)Av(this,t,1);for(t=this.Md-1;0<=t;t--)Av(this,t,-1);Av(this,this.Md,0)}if(e&&(cb(this,-1),cb(this,1)),this.bg&2)for(n=!0;n;){for(n=!1,n=Hf(this,this.Md,0)||n,t=this.Md+1;t<=this.Ia;t++)n=Hf(this,t,0)||n;for(t=this.Md-1;0<=t;t--)n=Hf(this,t,0)||n}}else ix(this)};function Hf(e,t,n){for(var i=!1;ex(e,t,n);)i=!0;return i}function ex(e,t,n){var i,r=Jh(e,t),o=e.tc[t],a=Cv(e,t,-1);if(0n)for(i=0;ii-1||p-r[i-1].column-1>x+e.nodeMinColumnSpace(r[i-1],!1)?R=p-1:R=p,x=i+1>=o||r[i+1].column-p-1>N+e.nodeMinColumnSpace(r[i+1],!0)?p+1:p;var _=N=0,V=0;if(0>=n)for(var be=r[i].sourceEdges.iterator;be.next();){var ue=be.value,Fe=ue.fromVertex;if(ue.valid&&Fe.layer!==t){var Ue=wv(ue),Ge=ue.portFromColOffset;ue=ue.portToColOffset,Fe=Fe.column,N+=(Math.abs(p+ue-(Fe+Ge))+1)*Ue,_+=(Math.abs(R+ue-(Fe+Ge))+1)*Ue,V+=(Math.abs(x+ue-(Fe+Ge))+1)*Ue}}if(0<=n)for(be=r[i].destinationEdges.iterator;be.next();)ue=be.value,Fe=ue.toVertex,ue.valid&&Fe.layer!==t&&(Ue=wv(ue),Ge=ue.portFromColOffset,ue=ue.portToColOffset,Fe=Fe.column,N+=(Math.abs(p+Ge-(Fe+ue))+1)*Ue,_+=(Math.abs(R+Ge-(Fe+ue))+1)*Ue,V+=(Math.abs(x+Ge-(Fe+ue))+1)*Ue);ue=Ge=Ue=0,be=a[r[i].index],Fe=l[r[i].index],be!==-1&&(Ue+=Math.abs(be-p),Ge+=Math.abs(be-R),ue+=Math.abs(be-x)),Fe!==-1&&(Ue+=Math.abs(Fe-p),Ge+=Math.abs(Fe-R),ue+=Math.abs(Fe-x)),_=a[n]?p=u:f<=a[n]&&(p=f));p!==l&&(o=!0,i[n].column=p)}qh(e,t,i),e.normalize()}function tx(e,t){for(var n=!0,i=e.network.vertexes.iterator;i.next();){var r=i.value,o=e.nodeMinColumnSpace(r,!0),a=e.nodeMinColumnSpace(r,!1);if(r.column-o<=t&&r.column+a>=t){n=!1;break}}if(e=!1,n)for(i.reset();i.next();)n=i.value,n.column>t&&(--n.column,e=!0);return e}function nx(e,t){var n=t+1,i,r=[],o=[];for(i=0;i<=e.Ia;i++)r[i]=!1,o[i]=!1;for(var a=e.network.vertexes.iterator;a.next();){i=a.value;var l=i.column-e.nodeMinColumnSpace(i,!0),u=i.column+e.nodeMinColumnSpace(i,!1);l<=t&&u>=t&&(r[i.layer]=!0),l<=n&&u>=n&&(o[i.layer]=!0)}for(l=!0,n=!1,i=0;i<=e.Ia;i++)l=l&&!(r[i]&&o[i]);if(l)for(a.reset();a.next();)e=a.value,e.column>t&&(--e.column,n=!0);return n}function cb(e,t){for(var n=0;n<=e.Ra;n++)for(;tx(e,n););for(e.normalize(),n=0;no?Fu(e,r):at)for(n=e.Ra;0<=n;n--)for(r=$l(e),o=Rm(e),i=o+1;oo?Fu(e,r):an)for(i.reset();i.next();)r=i.value,r.column+e.nodeMinColumnSpace(r,!1)>=t&&(r.component=e.le);for(e.le++,i.reset();i.next();)t=i.value,t.component===-1&&(Tv(e,t,e.le,-1,!0,!0),e.le++);var o;for(t=[],o=0;on)for(a=e.Ra;0n)for(i.reset();i.next();)n=i.value,r[n.component]&&(n.column+=1)}function ix(e){for(var t=Rt(),n=e.fl.length,i=0;i<=n;i++)t[i]=[];for(i=e.network.vertexes.iterator;i.next();){var r=i.value;t[n-r.layer][r.index]=r}n=new Xt,rx(t,n);var o=null,a=null,l=null,u=null,f=(e.ve&1)!==0,p=(e.ve&2)!==0,x=(e.ve&4)!==0,N=(e.ve&8)!==0;for(f&&(e.verticalAlignment(t,n,!0),o=Pm(e,t,!0,!1)),t.reverse(),x&&(e.verticalAlignment(t,n,!1),l=Pm(e,t,!1,!1)),i=Er(t),r=i.next();!r.done;r=i.next())r.value.reverse();N&&(e.verticalAlignment(t,n,!1),u=Pm(e,t,!1,!0)),t.reverse(),p&&(e.verticalAlignment(t,n,!0),a=Pm(e,t,!0,!0)),Jt(t),e.u(o,a,l,u),e.network.vertexes.each(function(R){var _=Rt();f&&_.push(o.get(R)),p&&_.push(a.get(R)),x&&_.push(l.get(R)),N&&_.push(u.get(R)),_.sort(function(be,ue){return be-ue});var V=_.length;V=(_[Math.floor((V-1)/2)]+_[Math.ceil((V-1)/2)])/2,Jt(_),R.zc=V})}function rx(e,t){for(var n=e.length,i=1;ip)&&t.add(x);o++}r=p}}}lo.prototype.verticalAlignment=function(e,t,n){ox(e),e=Er(e);for(var i=e.next();!i.done;i=e.next()){var r=-1;i=Er(i.value);for(var o=i.next();!o.done;o=i.next()){o=o.value;var a=n?Pv(o):lx(o),l=a.length;if(0=t[n].length)&&(a=t[n][0],a.sd===a)){a.sd.shift===1/0&&(a.sd.shift=0),a=n,l=0;do{for(o=t[a][l];o.align!==o.root;)o=o.align,a++,0e&&Ve("Could not determine previous vertex in layer"),t[n][e-1]}lo.prototype.u=function(e){for(var t=[],n=0;na;a++)if(t[a]){var l=ax(this,t[a],i,r,a);la;o={delta:o.delta},a++)t[a]&&(o.delta=a===0||a===2?i[n]-i[a]:r[n]-r[a],o.delta!==0&&t[a].each(function(u){return function(f){f.value+=u.delta}}(o)));Jt(i),Jt(r)};function ax(e,t,n,i,r){if(!t||t.count===0)return n[r]=0,i[r]=0,1/0;var o=1/0,a=-1/0;return t.each(function(l){var u=l.key;l=l.value,u=e.K===90||e.K===270?u.width:u.height,la&&(a=l+u)}),n[r]=o,i[r]=a,a-o}lo.prototype.commitLayout=function(){if(this.setsPortSpots)for(var e=Fm(this,!0),t=Fm(this,!1),n=this.network.edges.iterator;n.next();){var i=n.value.link;i!==null&&(i.fromSpot=e,i.toSpot=t)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function Fm(e,t){return e.K===270?t?ia:Oa:e.K===90?t?Oa:ia:e.K===180?t?va:Ma:t?Ma:va}lo.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var e=0;e<=this.Ia;e++)this.he[e]=0,this.Ld[e]=0,this.Kd[e]=0,this.Ta[e]=0;for(e=this.network.vertexes.iterator;e.next();){var t=e.value,n=t.layer;this.he[n]=Math.max(this.he[n],this.nodeMinLayerSpace(t,!0)),this.Ld[n]=Math.max(this.Ld[n],this.nodeMinLayerSpace(t,!1))}t=0,n=this.ie;for(var i=0;i<=this.Ia;i++){var r=n;0>=this.he[i]+this.Ld[i]&&(r=0),0=x.bounds.bottom?(x=x.bounds.y+x.bounds.height,t.m(V++,Ge,x+At),t.m(V++,Ge,x),t.m(V++,Ge,x-Ue)):(t.m(V++,Ge,rt+At),t.m(V++,Ge,rt),t.m(V++,Ge,rt-Ue)):this.K===270?rt<=x.bounds.y?(x=x.bounds.y,t.m(V++,Ge,x-Ue),t.m(V++,Ge,x),t.m(V++,Ge,x+At)):(t.m(V++,Ge,rt-Ue),t.m(V++,Ge,rt),t.m(V++,Ge,rt+At)):this.K===0&&(Ge>=x.bounds.right?(x=x.bounds.x+x.bounds.width,t.m(V++,x+At,rt),t.m(V++,x,rt),t.m(V++,x-Ue,rt)):(t.m(V++,Ge+At,rt),t.m(V++,Ge,rt),t.m(V++,Ge-Ue,rt)));else{t.m(V++,ue,Fe);var Kn=0;this.K===180||this.K===0?((this.K===180?Ge>=x.bounds.right:Ge<=x.bounds.x)&&(Kn=(this.K===0?-Ue:At)/2),t.m(V++,ue+Kn,rt)):((this.K===270?rt>=x.bounds.bottom:rt<=x.bounds.y)&&(Kn=(this.K===90?-Ue:At)/2),t.m(V++,Ge,Fe+Kn)),t.m(V++,Ge,rt)}}else Ue=Math.max(10,this.he[be.layer]),At=Math.max(10,this.Ld[be.layer]),N?this.K===180?(t.m(V++,Ge-Ue-_,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge+At+_,rt)):this.K===90?(t.m(V++,Ge,rt+At+_),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt-Ue-_)):this.K===270?(t.m(V++,Ge,rt-Ue-_),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt+At+_)):(t.m(V++,Ge+At+_,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge-Ue-_,rt)):t.m(V++,Ge,rt)}x=be}(l===null||f!==Ui||R)&&(ue=t.i(V-1).x,Fe=t.i(V-1).y,Ge=t.i(V).x,rt=t.i(V).y,R?(_=this.Ld[p.layer],this.K===180||this.K===0?(R=Fe,R>=p.bounds.y&&R<=p.bounds.bottom&&(this.K===180?Ge>=p.bounds.x:Ge<=p.bounds.right)&&(x=p.centerX+(this.K===180?-_:_),R=p.bounds.x&&R<=p.bounds.right&&(this.K===270?rt>=p.bounds.y:rt<=p.bounds.bottom)&&(x=p.centerY+(this.K===270?-_:_),R=p.bounds.x?(x=p.bounds.x+p.bounds.width,t.L(V-2,x,Fe),t.L(V-1,x+At,Fe)):this.K===90&&rt<=p.bounds.bottom?(x=p.bounds.y,t.L(V-2,ue,x),t.L(V-1,ue,x-Ue)):this.K===270&&rt>=p.bounds.y?(x=p.bounds.y+p.bounds.height,t.L(V-2,ue,x),t.L(V-1,ue,x+At)):this.K===0&&Ge<=p.bounds.right&&(x=p.bounds.x,t.L(V-2,x,Fe),t.L(V-1,x-Ue,Fe))):(Ue=Math.max(10,this.he[p.layer]),At=Math.max(10,this.Ld[p.layer]),R=0,this.K===180||this.K===0?((this.K===180?Ge<=p.bounds.x:Ge>=p.bounds.right)&&(R=(this.K===0?At:-Ue)/2),t.m(V++,Ge+R,Fe)):((this.K===270?rt<=p.bounds.y:rt>=p.bounds.bottom)&&(R=(this.K===90?At:-Ue)/2),t.m(V++,ue,rt+R)),t.m(V++,Ge,rt)))}else{for(;p!==null&&p!==x;){for(Ue=be=null,p=p.destinationEdges.iterator;p.next()&&(ue=p.value,ue.link!==n.link||(be=ue.toVertex,Ue=ue.fromVertex,Ue.node!==null&&(Ue=null),be.node!==null)););if(be===null)break;be!==x&&(ue=t.i(V-1).x,Fe=t.i(V-1).y,Ge=be.centerX,rt=be.centerY,R?this.K===180||this.K===0?(Ue!==null?Ue.centerY:Fe)!==rt&&(Ue=this.Ta[be.layer]+this.Rf.x,V===t.firstPickIndex+1&&(Ue=this.K===0?Math.max(Ue,ue):Math.min(Ue,ue)),t.m(V++,Ue,Fe),t.m(V++,Ue,rt)):(Ue!==null?Ue.centerX:ue)!==Ge&&(Ue=this.Ta[be.layer]+this.Rf.y,V===t.firstPickIndex+1&&(Ue=this.K===90?Math.max(Ue,Fe):Math.min(Ue,Fe)),t.m(V++,ue,Ue),t.m(V++,Ge,Ue)):(Ue=Math.max(10,this.he[be.layer]),At=Math.max(10,this.Ld[be.layer]),N?this.K===180?(t.m(V++,Ge+At+_,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge-Ue-_,rt)):this.K===90?(t.m(V++,Ge,rt-Ue-_),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt+At+_)):this.K===270?(t.m(V++,Ge,rt+At+_),t.m(V++,Ge,Math.max(rt+At-_/2,rt)),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Ge,Math.min(rt-Ue+_/2,rt)),t.m(V++,Ge,rt-Ue-_)):(t.m(V++,Ge-Ue-_,rt),t.m(V++,Math.min(Ge-Ue+_/2,Ge),rt),t.m(V++,Ge,rt),t.m(V++,Ge,rt),t.m(V++,Math.max(Ge+At-_/2,Ge),rt),t.m(V++,Ge+At+_,rt)):this.K===180?(t.m(V++,Ge+At,rt),t.m(V++,Ge-Ue,rt)):this.K===90?(t.m(V++,Ge,rt-Ue),t.m(V++,Ge,rt+At)):this.K===270?(t.m(V++,Ge,rt+At),t.m(V++,Ge,rt-Ue)):(t.m(V++,Ge-Ue,rt),t.m(V++,Ge+At,rt)))),p=be}R&&(ue=t.i(V-1).x,Fe=t.i(V-1).y,Ge=t.i(V).x,rt=t.i(V).y,this.K===180||this.K===0?Fe!==rt&&(Ue=this.K===0?Math.min(Math.max((Ge+ue)/2,this.Ta[x.layer]+this.Rf.x),Ge):Math.max(Math.min((Ge+ue)/2,this.Ta[x.layer]+this.Rf.x),Ge),t.m(V++,Ue,Fe),t.m(V++,Ue,rt)):ue!==Ge&&(Ue=this.K===90?Math.min(Math.max((rt+Fe)/2,this.Ta[x.layer]+this.Rf.y),rt):Math.max(Math.min((rt+Fe)/2,this.Ta[x.layer]+this.Rf.y),rt),t.m(V++,ue,Ue),t.m(V++,Ge,Ue)))}i!==null&&N&&4<=t.pointsCount&&(a!==null&&(a=f===Ui?t.getLinkPointFromPoint(r,a,a.ga(Rr),t.i(3),!0):t.i(0),f===Ui&&(f=t.i(2),i=t.i(3),this.direction===90||this.direction===270?(t.L(1,(a.x+f.x)/2,f.y),t.L(2,i.x,(f.y+i.y)/2)):(t.L(1,f.x,(a.y+f.y)/2),t.L(2,(f.x+i.x)/2,i.y))),a.w()||a.set(r.actualBounds.center),t.L(0,a.x,a.y)),l!==null&&(r=u===Ui?t.getLinkPointFromPoint(o,l,l.ga(Rr),t.i(t.pointsCount-4),!1):t.i(t.pointsCount-1),u===Ui&&(l=t.i(t.pointsCount-3),u=t.i(t.pointsCount-4),this.direction===90||this.direction===270?(t.L(t.pointsCount-2,(r.x+l.x)/2,l.y),t.L(t.pointsCount-2,u.x,(l.y+u.y)/2)):(t.L(t.pointsCount-2,l.x,(r.y+l.y)/2),t.L(t.pointsCount-3,(l.x+u.x)/2,u.y))),r.w()||r.set(o.actualBounds.center),t.L(t.pointsCount-1,r.x,r.y))),t.zf(),n.commit()}}}this.avoidOrthogonalOverlaps()},lo.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var e=new qt,t=this.network.edges.iterator;t.next();){var n=t.value.link;n!==null&&n.isOrthogonal&&!e.contains(n)&&e.add(n)}if(0o.y&&(p=f.y>o.y?0:a.xo.x&&(p=f.x>o.x?0:a.yt.layer?1:e.rdt.rd?1:e.Ict.Ic?1:0:0},U.Ux=function(e,t){return e instanceof ed&&t instanceof ed&&e!==t?e.firstt.first||e.jt.j||e.rdt.rd?1:e.Ict.Ic?1:0:0},U.Js=function(e,t){return e instanceof ed&&t instanceof ed&&e!==t?e.jct.jc||e.jt.j||e.rdt.rd?1:e.Ict.Ic?1:0:0},U.B=function(e,t){return e-=t,-1e},U.zi=function(e,t,n,i){var r=e.length,o=i-n;if(!(1>=o))if((0>n||n>=r-1)&&Ve("not in range 0 <= from < length: "+n),o===2)i=e[n],r=e[n+1],0=r)e.sort(t);else for(n=e.slice(0,i),n.sort(t),t=0;t=r)for(i=e.slice(n),i.sort(t),t=n;t=e.He.length){for(var i=[],r=0;re&&(this.bg=e,this.C())}},alignOption:{get:function(){return this.ve},set:function(e){this.ve!==e&&0<=e&&16>e&&(this.ve=e,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(e){this.sf!==e&&(this.sf=e,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(e){this.Cn!==e&&0<=e&&(this.Cn=e,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var Bm=new Yt(lo,"CycleDepthFirst",0),kv=new Yt(lo,"CycleGreedy",1),Qp=new Yt(lo,"CycleFromLayers",2),_m=new Yt(lo,"LayerOptimalLinkLength",0),Iv=new Yt(lo,"LayerLongestPathSink",1),Mv=new Yt(lo,"LayerLongestPathSource",2),zm=new Yt(lo,"InitDepthFirstOut",0),Ov=new Yt(lo,"InitDepthFirstIn",1),Lv=new Yt(lo,"InitNaive",2),Rv=new Yt(lo,"AggressiveNone",0),Um=new Yt(lo,"AggressiveLess",1),Dv=new Yt(lo,"AggressiveMore",2),sx=8;lo.className="LayeredDigraphLayout",lo.CycleDepthFirst=Bm,lo.CycleGreedy=kv,lo.CycleFromLayers=Qp,lo.LayerOptimalLinkLength=_m,lo.LayerLongestPathSink=Iv,lo.LayerLongestPathSource=Mv,lo.InitDepthFirstOut=zm,lo.InitDepthFirstIn=Ov,lo.InitNaive=Lv,lo.AggressiveNone=Rv,lo.AggressiveLess=Um,lo.AggressiveMore=Dv,lo.PackNone=0,lo.PackExpand=1,lo.PackStraighten=2,lo.PackMedian=4,lo.PackAll=15,lo.AlignNone=0,lo.AlignUpperLeft=1,lo.AlignUpperRight=2,lo.AlignLowerLeft=4,lo.AlignLowerRight=8,lo.AlignAll=15;function ed(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}ed.className="SegInfo";function $f(e){Oo.call(this,e)}yi($f,Oo),$f.prototype.createVertex=function(){return new Bu(this)},$f.prototype.createEdge=function(){return new Jp(this)},$f.className="LayeredDigraphNetwork";function Bu(e){ns.call(this,e),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}yi(Bu,ns);function pb(e,t){return e.index-t.index}function Hm(e,t){if(!e.$n){for(var n=[],i=Er(e.destinationEdgesArrayAccess),r=i.next();!r.done;r=i.next())r=r.value,r.valid&&n.push(r);e.$n=n}for(e=Er(e.$n),n=e.next();!n.done;n=e.next())if(n=n.value,n.toVertex===t)return n;Ve("Unable to find destination edge to given vertex")}function Pv(e){if(!e.co){for(var t=[],n=Er(e.sourceEdgesArrayAccess),i=n.next();!i.done;i=n.next())i=i.value,i.valid&&t.push(i.fromVertex);t.sort(pb),e.co=t}return e.co}function lx(e){if(!e.ao){for(var t=[],n=Er(e.destinationEdgesArrayAccess),i=n.next();!i.done;i=n.next())i=i.value,i.valid&&t.push(i.toVertex);t.sort(pb),e.ao=t}return e.ao}Bu.prototype.Cl=function(e){ns.prototype.Cl.call(this,e),this.bo=this.co=null},Bu.prototype.Kl=function(e){ns.prototype.Kl.call(this,e),this.bo=this.co=null},Bu.prototype.zl=function(e){ns.prototype.zl.call(this,e),this.$n=this.ao=null},Bu.prototype.Jl=function(e){ns.prototype.Jl.call(this,e),this.$n=this.ao=null},ht.Object.defineProperties(Bu.prototype,{layer:{get:function(){return this.Ig},set:function(e){this.Ig!==e&&(this.Ig=e)}},column:{get:function(){return this.Ag},set:function(e){this.Ag!==e&&(this.Ag=e)}},index:{get:function(){return this.Za},set:function(e){this.Za!==e&&(this.Za=e)}},component:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},near:{get:function(){return this.F},set:function(e){this.F!==e&&(this.F=e)}}}),Bu.prototype.deleteDestinationEdge=Bu.prototype.Jl,Bu.prototype.addDestinationEdge=Bu.prototype.zl,Bu.prototype.deleteSourceEdge=Bu.prototype.Kl,Bu.prototype.addSourceEdge=Bu.prototype.Cl,Bu.className="LayeredDigraphVertex";function Jp(e){au.call(this,e),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}yi(Jp,au),ht.Object.defineProperties(Jp.prototype,{fromVertex:{get:function(){return this.kd},set:function(e){this.kd!==e&&(this.kd=e)}},toVertex:{get:function(){return this.qd},set:function(e){this.qd!==e&&(this.qd=e)}},valid:{get:function(){return this.Ha},set:function(e){this.Ha!==e&&(this.Ha=e)}},rev:{get:function(){return this.ia},set:function(e){this.ia!==e&&(this.ia=e)}},forest:{get:function(){return this.j},set:function(e){this.j!==e&&(this.j=e)}},portFromPos:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},portToPos:{get:function(){return this.V},set:function(e){this.V!==e&&(this.V=e)}},portFromColOffset:{get:function(){return this.o},set:function(e){this.o!==e&&(this.o=e)}},portToColOffset:{get:function(){return this.F},set:function(e){this.F!==e&&(this.F=e)}}}),Jp.className="LayeredDigraphEdge";function Ar(e){Qo.call(this),this.Ub=new Xt,this.Wn=Wm,this.ud=jc,this.vo=Km,this.Bq=Vv,this.$v=[],this.td=!0,this.Rb=Zm,this.$d=new pi(10,10).freeze();var t=new qd(this);this.W=new Wu(t),this.Y=new Wu(t),this.ru=[],e&&Object.assign(this,e)}yi(Ar,Qo),Ar.prototype.cloneProtected=function(e){Qo.prototype.cloneProtected.call(this,e),e.Wn=this.Wn,e.vo=this.vo,e.Bq=this.Bq,e.td=this.td,e.Rb=this.Rb,e.$d.assign(this.$d),e.W.copyInheritedPropertiesFrom(this.W),e.Y.copyInheritedPropertiesFrom(this.Y)},Ar.prototype.qb=function(e){e.classType===Ar?e.name.indexOf("Alignment")===0?this.alignment=e:e.name.indexOf("Arrangement")===0?this.arrangement=e:e.name.indexOf("Compaction")===0?this.compaction=e:e.name.indexOf("Path")===0?this.path=e:e.name.indexOf("Sorting")===0?this.sorting=e:e.name.indexOf("Style")===0?this.treeStyle=e:Ve("Unknown enum value: "+e):Qo.prototype.qb.call(this,e)},Ar.prototype.createNetwork=function(){return new qd(this)},Ar.prototype.makeNetwork=function(e){function t(i){if(i instanceof Xn)return!i.isLinkLabel&&i.category!=="Comment";if(i instanceof Pn){var r=i.fromNode;return r===null||r.isLinkLabel||r.category==="Comment"?!1:(i=i.toNode,!(i===null||i.isLinkLabel||i.category==="Comment"))}return!1}var n=this.createNetwork();return e instanceof Y?(n.lg(e.nodes,!0,t),n.lg(e.links,!0,t)):e instanceof qi?n.lg(e.memberParts,!1,t):n.lg(e.iterator,!1,t),n},Ar.prototype.doLayout=function(e){this.network===null&&(this.network=this.makeNetwork(e)),this.arrangement!==Ym&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var t=this.diagram;if(t===null&&e instanceof Y&&(t=e),this.path===Wm&&t!==null?this.ud=t.isTreePathToChildren?jc:Qd:this.ud=this.path===Wm?jc:this.path,0t.level)return!1;e.removeChild(n.parent,n)}return!0}Ar.prototype.removeChild=function(e,t){if(e!==null&&t!==null){for(var n=e.children,i=0,r=0;rr?Sb(this,e,a,Wi,ue,Fe):Eb(this,e,a,Wi,ue,Fe),Wi=Fe.x,ue=Fe.width,Fe=Fe.height;break;case Ah:for(Ge=0;Gex&&(rigs&&(Xd(e,-gs,0,Ji,Jr-1),Gm(Ge,-gs,0),Gm(rt,-gs,0),gs=0)}Io.S.h(gs,qn),ue=Math.max(ue,At),Fe=Math.max(Fe,Ue+(Rn===0?0:_)+hs.height),ri=At}else 0x&&(qngs&&(Xd(e,0,-gs,Ji,Jr-1),Gm(Ge,0,-gs),Gm(rt,0,-gs),gs=0)),Io.S.h(ri,gs),Fe=Math.max(Fe,Kn),ue=Math.max(ue,Ue+(Rn===0?0:_)+hs.width),qn=Kn;mn++}switch(0f&&(f=0),135V&&(V=0),u===ih&&(l+=N/2+e.focus.y),a+=i+n):t?(e.comments===null?i>ue&&(ue=Uv(u,i-ue,0),a=ue.x,l=ue.y,ue=i,f=0):ue=_v(e,ue,f),0>f&&(a-=f,f=0),135Fe&&(Fe=Uv(u,0,be-Fe),a=Fe.x,l=Fe.y,Fe=be,V=0):Fe=zv(e,Fe,V),0>V&&(l-=V,V=0),a+=i+n),0r[0].x?r[2].assign(r[1]):r[1].assign(r[2])),r[3].yr[0].x?r[3].assign(r[2]):r[2].assign(r[3])),Rn[0].h(f+i,0),Rn[1].h(Rn[0].x,be),Rn[2].yr[0].y?r[2].assign(r[1]):r[1].assign(r[2])),r[3].xr[0].y?r[3].assign(r[2]):r[2].assign(r[3])),Rn[0].h(0,V+be),Rn[1].h(i,Rn[0].y),Rn[2].xi?Sb(e,t,r,mn,Ue,Ge):Eb(e,t,r,mn,Ue,Ge),mn=Ge.x,Ue=Ge.width,Ge=Ge.height;break;case Ah:for(N=0;NN&&(AtN&&(Knx&&(x=0),135ue&&(ue=0)),t.la.h(x,ue),t.Da.h(Ue,Ge)}}Ar.prototype.customAlignment=function(e,t,n,i,r){return[t,n,i,r]};function Sb(e,t,n,i,r,o){var a=n.length;if(a===0)return new Zt(i,0,r,o);if(a===1)return t=n[0],r=t.Da.width,o=t.Da.height,new Zt(i,0,r,o);for(var l=t.nodeSpacing,u=t.rowSpacing,f=lc(t)===90,p=0,x=0,N=0,R=0;Rf&&(r-=f),o=Math.max(o,Math.max(R,N)+e+a.height),0>n.S.x&&(i=$m(t,n.S.x,!1,i,l))):(n.S.h(r+e,i+l/2-n.focus.y-n.la.y),r=Math.max(r,Math.max(_,x)+e+a.width),N=i+l/2-n.focus.y-n.la.y,o=Math.max(o,N+a.height),0>N&&(o-=N),0>n.S.y&&(i=$m(t,n.S.y,!0,i,l)))),new Zt(i,0,r,o)}function Eb(e,t,n,i,r,o){var a=n.length;if(a===0)return new Zt(i,0,r,o);if(a===1)return n=n[0],r=n.Da.width,o=n.Da.height,new Zt(i,0,r,o);for(var l=t.nodeSpacing,u=t.rowSpacing,f=lc(t)===270,p=0,x=0,N=0,R=0;Rx&&(r-=x),o=Math.max(o,Math.abs(Math.min(R,N))+e+p.height),0>u.S.x&&(i=$m(t,u.S.x,!1,i,l))):(u.S.h(-r-p.width-e,i+l/2-u.focus.y-u.la.y),r=Math.max(r,Math.abs(Math.min(_,x))+e+p.width),N=i+l/2-u.focus.y-u.la.y,o=Math.max(o,N+p.height),0>N&&(o-=N),0>u.S.y&&(i=$m(t,u.S.y,!0,i,l)))),t=0;tt&&(t=n+e.width),0>n&&(t-=n),t;case Gc:return e.width>t?e.width:t;case Wc:return 2*e.focus.x>t?e.width:t+e.width-2*e.focus.x;case Nh:case Vc:return Math.max(e.width,Math.max(t,n+e.width)-Math.min(0,n));case Ah:return e.width-e.focus.x+e.nodeSpacing/2+t;case ih:return Math.max(e.width,e.focus.x+e.nodeSpacing/2+t);default:return t}}function zv(e,t,n){switch(e.alignment){case Jd:case Gf:return n+e.height>t&&(t=n+e.height),0>n&&(t-=n),t;case Gc:return e.height>t?e.height:t;case Wc:return 2*e.focus.y>t?e.height:t+e.height-2*e.focus.y;case Nh:case Vc:return Math.max(e.height,Math.max(t,n+e.height)-Math.min(0,n));case Ah:return e.height-e.focus.y+e.nodeSpacing/2+t;case ih:return Math.max(e.height,e.focus.y+e.nodeSpacing/2+t);default:return t}}function Uv(e,t,n){switch(e){case Gf:t/=2,n/=2;break;case Jd:t/=2,n/=2;break;case Gc:n=t=0;break;case Wc:break;default:Ve("Unhandled alignment value "+e.toString())}return new he(t,n)}function Nd(e,t,n,i,r,o){t=Uv(t,n,i),Xd(e,t.x,t.y,r,o)}function Xd(e,t,n,i,r){if(t!==0||n!==0)for(e=e.children;i<=r;i++){var o=e[i].S;o.x+=t,o.y+=n}}function jm(e,t,n,i){var r=t.parent;switch(e.ud){case jc:for(e=t.sourceEdges;e.next();)t=e.value,t.fromVertex===r&&t.relativePoint.h(n,i);break;case Qd:for(e=t.destinationEdges;e.next();)t=e.value,t.toVertex===r&&t.relativePoint.h(n,i);break;default:Ve("Unhandled path value "+e.ud.toString())}}function Gm(e,t,n){for(var i=0;ix.length||R===null||2>R.length))for(r=n=0;nf&&o.yo.y&&ft.length||n===null||2>n.length)i=null;else{for(p=Zl(e,t.length+n.length),i=o=u=0;ou;)f=n[o++],p[i++].h(f.x+r,f.y);for(n=Zl(e,i),u=0;ux.length||o===null||2>o.length)r=null;else{for(p=Zl(e,x.length+o.length),r=f=n=0;no;)u=x[n++],p[r++].h(u.x,u.y);for(o=Zl(e,r),n=0;nx.length||R===null||2>R.length))for(r=n=0;nu&&o.xo.x&&ut.length||n===null||2>n.length)i=null;else{for(p=Zl(e,t.length+n.length),i=o=u=0;ou;)f=n[o++],p[i++].h(f.x,f.y+r);for(n=Zl(e,i),u=0;ux.length||o===null||2>o.length)r=null;else{for(p=Zl(e,x.length+o.length),r=f=n=0;no;)u=x[n++],p[r++].h(u.x,u.y);for(o=Zl(e,r),n=0;n=e?0:135>=e?90:225>=e?180:315>=e?270:0}Ar.prototype.computeLayerSpacing=function(e){var t=lc(e);t=t===90||t===270;var n=e.layerSpacing;if(0=e&&(this.W.nodeIndentPastParent=e,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(e){this.W.nodeSpacing!==e&&(this.W.nodeSpacing=e,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(e){this.W.layerSpacing!==e&&(this.W.layerSpacing=e,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(e){this.W.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.W.layerSpacingParentOverlap=e,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(e){this.W.compaction===e||e!==Vm&&e!==i0||(this.W.compaction=e,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(e){this.W.breadthLimit!==e&&0<=e&&(this.W.breadthLimit=e,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(e){this.W.rowSpacing!==e&&(this.W.rowSpacing=e,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(e){this.W.rowIndent!==e&&0<=e&&(this.W.rowIndent=e,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(e){this.W.commentSpacing!==e&&(this.W.commentSpacing=e,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(e){this.W.commentMargin!==e&&(this.W.commentMargin=e,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(e){this.W.setsPortSpot!==e&&(this.W.setsPortSpot=e,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(e){this.W.portSpot.D(e)||(this.W.portSpot=e,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(e){this.W.setsChildPortSpot!==e&&(this.W.setsChildPortSpot=e,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(e){this.W.childPortSpot.D(e)||(this.W.childPortSpot=e,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(e){this.Y.sorting===e||e!==jf&&e!==e0&&e!==t0&&!n0||(this.Y.sorting=e,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(e){this.Y.comparer!==e&&(this.Y.comparer=e,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(e){this.Y.angle===e||e!==0&&e!==90&&e!==180&&e!==270||(this.Y.angle=e,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(e){this.Y.alignment!==e&&(this.Y.alignment=e,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(e){this.Y.nodeIndent!==e&&0<=e&&(this.Y.nodeIndent=e,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(e){this.Y.nodeIndentPastParent!==e&&0<=e&&1>=e&&(this.Y.nodeIndentPastParent=e,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(e){this.Y.nodeSpacing!==e&&(this.Y.nodeSpacing=e,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(e){this.Y.layerSpacing!==e&&(this.Y.layerSpacing=e,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(e){this.Y.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.Y.layerSpacingParentOverlap=e,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(e){this.Y.compaction===e||e!==Vm&&e!==i0||(this.Y.compaction=e,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(e){this.Y.breadthLimit!==e&&0<=e&&(this.Y.breadthLimit=e,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(e){this.Y.rowSpacing!==e&&(this.Y.rowSpacing=e,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(e){this.Y.rowIndent!==e&&0<=e&&(this.Y.rowIndent=e,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(e){this.Y.commentSpacing!==e&&(this.Y.commentSpacing=e,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(e){this.Y.commentMargin!==e&&(this.Y.commentMargin=e,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(e){this.Y.setsPortSpot!==e&&(this.Y.setsPortSpot=e,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(e){this.Y.portSpot.D(e)||(this.Y.portSpot=e,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(e){this.Y.setsChildPortSpot!==e&&(this.Y.setsChildPortSpot=e,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(e){this.Y.childPortSpot.D(e)||(this.Y.childPortSpot=e,this.C())}}});var Wm=new Yt(Ar,"PathDefault",-1),jc=new Yt(Ar,"PathDestination",0),Qd=new Yt(Ar,"PathSource",1),jf=new Yt(Ar,"SortingForwards",10),e0=new Yt(Ar,"SortingReverse",11),t0=new Yt(Ar,"SortingAscending",12),n0=new Yt(Ar,"SortingDescending",13),Gf=new Yt(Ar,"AlignmentCenterSubtrees",20),Jd=new Yt(Ar,"AlignmentCenterChildren",21),Gc=new Yt(Ar,"AlignmentStart",22),Wc=new Yt(Ar,"AlignmentEnd",23),Nh=new Yt(Ar,"AlignmentBus",24),Vc=new Yt(Ar,"AlignmentBusBranching",25),Ah=new Yt(Ar,"AlignmentTopLeftBus",26),ih=new Yt(Ar,"AlignmentBottomRightBus",27),Vm=new Yt(Ar,"CompactionNone",30),i0=new Yt(Ar,"CompactionBlock",31),Km=new Yt(Ar,"StyleLayered",40),$v=new Yt(Ar,"StyleLastParents",41),jv=new Yt(Ar,"StyleAlternating",42),Gv=new Yt(Ar,"StyleRootOnly",43),Zm=new Yt(Ar,"ArrangementVertical",50),Wv=new Yt(Ar,"ArrangementHorizontal",51),Ym=new Yt(Ar,"ArrangementFixedRoots",52),Vv=new Yt(Ar,"LayerIndividual",60),Kv=new Yt(Ar,"LayerSiblings",61),Xm=new Yt(Ar,"LayerUniform",62);Ar.className="TreeLayout",Ar.PathDefault=Wm,Ar.PathDestination=jc,Ar.PathSource=Qd,Ar.SortingForwards=jf,Ar.SortingReverse=e0,Ar.SortingAscending=t0,Ar.SortingDescending=n0,Ar.AlignmentCenterSubtrees=Gf,Ar.AlignmentCenterChildren=Jd,Ar.AlignmentStart=Gc,Ar.AlignmentEnd=Wc,Ar.AlignmentBus=Nh,Ar.AlignmentBusBranching=Vc,Ar.AlignmentTopLeftBus=Ah,Ar.AlignmentBottomRightBus=ih,Ar.CompactionNone=Vm,Ar.CompactionBlock=i0,Ar.StyleLayered=Km,Ar.StyleLastParents=$v,Ar.StyleAlternating=jv,Ar.StyleRootOnly=Gv,Ar.ArrangementVertical=Zm,Ar.ArrangementHorizontal=Wv,Ar.ArrangementFixedRoots=Ym,Ar.LayerIndividual=Vv,Ar.LayerSiblings=Kv,Ar.LayerUniform=Xm;function qd(e){Oo.call(this,e)}yi(qd,Oo),qd.prototype.createVertex=function(){return new Wu(this)},qd.prototype.createEdge=function(){return new Wf(this)},qd.className="TreeNetwork";function Wu(e){ns.call(this,e),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new he(0,0),this.Da=new pi(0,0),this.la=new he(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=jf,this.hd=fv,this.Kb=0,this.Jb=Jd,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=i0,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Kr,this.wr=!0,this.Dp=Kr}yi(Wu,ns),Wu.prototype.copyInheritedPropertiesFrom=function(e){e!==null&&(this.nd=e.sorting,this.hd=e.comparer,this.Kb=e.angle,this.Jb=e.alignment,this.Uq=e.nodeIndent,this.Vq=e.nodeIndentPastParent,this.Wq=e.nodeSpacing,this.ie=e.layerSpacing,this.Aq=e.layerSpacingParentOverlap,this.Hp=e.compaction,this.Ap=e.breadthLimit,this.nr=e.rowSpacing,this.mr=e.rowIndent,this.Gp=e.commentSpacing,this.Fp=e.commentMargin,this.xr=e.setsPortSpot,this.dr=e.portSpot,this.wr=e.setsChildPortSpot,this.Dp=e.childPortSpot)},ht.Object.defineProperties(Wu.prototype,{initialized:{get:function(){return this.V},set:function(e){this.V!==e&&(this.V=e)}},parent:{get:function(){return this.hb},set:function(e){this.hb!==e&&(this.hb=e)}},children:{get:function(){return this.u},set:function(e){if(this.u!==e){if(e!==null)for(var t=e.length,n=0;nR.y+n.rowIndent&&(o=Math.min(o,Math.max(x.y,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.top+r.y,r.y===0&&x.yR.x+n.rowIndent&&(o=Math.min(o,Math.max(x.x,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.left+r.x,r.x===0&&x.xR.y+n.rowIndent&&(o=Math.min(o,Math.max(x.y,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.top+r.y,r.y===0&&x.yR.x+n.rowIndent&&(o=Math.min(o,Math.max(x.x,o-t.computeNodeIndent(n))))):n.alignment===Gc?(o=i.left+r.x,r.x===0&&x.x=97&&v<=122||v>=65&&v<=90}},21127:function(Q,C,h){"use strict";var v=h(91241),I=h(22347);Q.exports=O;function O(B){return v(B)||I(B)}},22347:function(Q){"use strict";Q.exports=C;function C(h){var v=typeof h=="string"?h.charCodeAt(0):h;return v>=48&&v<=57}},65207:function(Q){"use strict";Q.exports=C;function C(h){var v=typeof h=="string"?h.charCodeAt(0):h;return v>=97&&v<=102||v>=65&&v<=70||v>=48&&v<=57}},2859:function(Q,C,h){"use strict";h.d(C,{hP:function(){return In}});var v=function(ie,z){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,j){k.__proto__=j}||function(k,j){for(var X in j)Object.prototype.hasOwnProperty.call(j,X)&&(k[X]=j[X])})(ie,z)};function I(ie,z){function k(){this.constructor=ie}v(ie,z),ie.prototype=z===null?Object.create(z):(k.prototype=z.prototype,new k)}function O(ie,z,k,j){return new(k||(k=Promise))(function(X,T){function _e(De){try{$e(j.next(De))}catch(gt){T(gt)}}function It(De){try{$e(j.throw(De))}catch(gt){T(gt)}}function $e(De){var gt;De.done?X(De.value):(gt=De.value,gt instanceof k?gt:new k(function(ut){ut(gt)})).then(_e,It)}$e((j=j.apply(ie,z||[])).next())})}function B(ie,z){var k,j,X,T,_e={label:0,sent:function(){if(1&X[0])throw X[1];return X[1]},trys:[],ops:[]};return T={next:It(0),throw:It(1),return:It(2)},typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function It($e){return function(De){return function(gt){if(k)throw new TypeError("Generator is already executing.");for(;_e;)try{if(k=1,j&&(X=2>[0]?j.return:gt[0]?j.throw||((X=j.return)&&X.call(j),0):j.next)&&!(X=X.call(j,gt[1])).done)return X;switch(j=0,X&&(gt=[2>[0],X.value]),gt[0]){case 0:case 1:X=gt;break;case 4:return _e.label++,{value:gt[1],done:!1};case 5:_e.label++,j=gt[1],gt=[0];continue;case 7:gt=_e.ops.pop(),_e.trys.pop();continue;default:if(X=_e.trys,!((X=X.length>0&&X[X.length-1])||gt[0]!==6&>[0]!==2)){_e=0;continue}if(gt[0]===3&&(!X||gt[1]>X[0]&>[1]',"select"),this.addActionButton(j,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(j,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(j,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(j,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(j,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(j,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(j,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(N){var _e=document.createElement("div");_e.className=""+k.toolbarButtonStyleClass.name,_e.setAttribute("data-type-name",N.typeName),_e.innerHTML=N.icon,_e.addEventListener("click",function(){k.markerToolbarButtonClicked(_e,N)}),k.buttons.push(_e),k.markerButtons.push(_e)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var X=document.createElement("div");X.className=this.toolbarBlockStyleClass.name,X.style.whiteSpace="nowrap",X.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(X),this.addActionButton(X,'',"render"),this.addActionButton(X,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},re.prototype.addButtonClickListener=function(z){this.buttonClickListeners.push(z)},re.prototype.removeButtonClickListener=function(z){this.buttonClickListeners.indexOf(z)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(z),1)},re.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},re.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var z=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var k=0;k',"select"),this.addActionButton(j,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(j,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(j,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(j,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(j,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(j,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(j,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(T){var _e=document.createElement("div");_e.className=""+k.toolbarButtonStyleClass.name,_e.setAttribute("data-type-name",T.typeName),_e.innerHTML=T.icon,_e.addEventListener("click",function(){k.markerToolbarButtonClicked(_e,T)}),k.buttons.push(_e),k.markerButtons.push(_e)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var X=document.createElement("div");X.className=this.toolbarBlockStyleClass.name,X.style.whiteSpace="nowrap",X.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(X),this.addActionButton(X,'',"render"),this.addActionButton(X,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},ie.prototype.addButtonClickListener=function(z){this.buttonClickListeners.push(z)},ie.prototype.removeButtonClickListener=function(z){this.buttonClickListeners.indexOf(z)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(z),1)},ie.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ie.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var z=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var k=0;k0&&this.buttonClickListeners.forEach(function(j){return j("marker",k)}),this.markerButtonOverflowBlock.style.display="none"},re.prototype.actionToolbarButtonClicked=function(z,k){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(j){return j("action",k)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},re.prototype.setActiveButton=function(z){this.resetButtonStyles(),z.className=z.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),z.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},re.prototype.setActiveMarkerButton=function(z){var k=this.markerButtons.find(function(j){return j.getAttribute("data-type-name")===z});k&&this.setActiveButton(k)},re.prototype.setCurrentMarker=function(z){var k=this;this.currentMarker=z,this.buttons.filter(function(j){return/delete|notes/.test(j.getAttribute("data-action"))}).forEach(function(j){k.currentMarker===void 0?(j.style.fillOpacity="0.4",j.style.pointerEvents="none"):(j.style.fillOpacity="1",j.style.pointerEvents="all")})},re}(),Oe=function(){function re(z,k,j,X){this.panels=[],this.panelButtons=[],this.markerjsContainer=z,this.displayMode=k,this.uiStyleSettings=j,this.styles=X,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return re.prototype.addStyles=function(){var z;this.toolboxStyleClass=this.styles.addClass(new we("toolbox",` + `))},ie.prototype.markerToolbarButtonClicked=function(z,k){this.setActiveButton(z),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(j){return j("marker",k)}),this.markerButtonOverflowBlock.style.display="none"},ie.prototype.actionToolbarButtonClicked=function(z,k){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(j){return j("action",k)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ie.prototype.setActiveButton=function(z){this.resetButtonStyles(),z.className=z.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),z.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ie.prototype.setActiveMarkerButton=function(z){var k=this.markerButtons.find(function(j){return j.getAttribute("data-type-name")===z});k&&this.setActiveButton(k)},ie.prototype.setCurrentMarker=function(z){var k=this;this.currentMarker=z,this.buttons.filter(function(j){return/delete|notes/.test(j.getAttribute("data-action"))}).forEach(function(j){k.currentMarker===void 0?(j.style.fillOpacity="0.4",j.style.pointerEvents="none"):(j.style.fillOpacity="1",j.style.pointerEvents="all")})},ie}(),Oe=function(){function ie(z,k,j,X){this.panels=[],this.panelButtons=[],this.markerjsContainer=z,this.displayMode=k,this.uiStyleSettings=j,this.styles=X,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ie.prototype.addStyles=function(){var z;this.toolboxStyleClass=this.styles.addClass(new we("toolbox",` width: 100%; flex-shrink: 0; display: flex; @@ -327,17 +327,17 @@ b`.split(/\n/).length!=3?function(s){for(var c=0,b=[],y=s.length;c<=y;){var w=s. background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new Me("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; - `))},re.prototype.show=function(z){var k;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=z,this.uiContainer.className=this.toolboxStyleClass.name+" "+((k=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&k!==void 0?k:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},re.prototype.setPanelButtons=function(z){var k,j,X=this;this.panels=z,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((k=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&k!==void 0?k:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((j=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&j!==void 0?j:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(N){var _e;N.uiStyleSettings=X.uiStyleSettings;var Nt=document.createElement("div");Nt.className=X.toolboxButtonStyleClass.name+" "+((_e=X.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&_e!==void 0?_e:X.toolboxButtonStyleColorsClass.name),Nt.innerHTML=N.icon,Nt.title=N.title,Nt.addEventListener("click",function(){X.panelButtonClick(N)}),X.panelButtons.push(Nt),X.buttonRow.appendChild(Nt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},re.prototype.panelButtonClick=function(z){var k=this,j=-1;if(z!==this.activePanel){j=this.panels.indexOf(z),this.panelRow.innerHTML="";var X=z.getUi();X.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(X),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=z}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){k.displayMode==="inline"?k.panelRow.style.display="none":k.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(N,_e){var Nt,He;N.className=k.toolboxButtonStyleClass.name+" "+(_e===j?""+((Nt=k.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Nt!==void 0?Nt:k.toolboxActiveButtonStyleColorsClass.name):""+((He=k.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&He!==void 0?He:k.toolboxButtonStyleColorsClass.name))})},re}(),Te=function(re,z){this.title=re,this.icon=z},Ae=function(re){function z(k,j,X,N){var _e=re.call(this,k,N||'')||this;return _e.colors=[],_e.addTransparent=!1,_e.colorBoxes=[],_e.colors=j,_e.currentColor=X,_e.setCurrentColor=_e.setCurrentColor.bind(_e),_e.getColorBox=_e.getColorBox.bind(_e),_e}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.overflow="hidden",j.style.whiteSpace="nowrap",this.colors.forEach(function(X){var N=k.getColorBox(X);j.appendChild(N),k.colorBoxes.push(N)}),j},z.prototype.getColorBox=function(k){var j=this,X=this.uiStyleSettings.toolbarHeight/4,N=this.uiStyleSettings.toolbarHeight-X,_e=document.createElement("div");_e.style.display="inline-block",_e.style.boxSizing="content-box",_e.style.width=N-2+"px",_e.style.height=N-2+"px",_e.style.padding="1px",_e.style.marginRight="2px",_e.style.marginBottom="2px",_e.style.borderWidth="2px",_e.style.borderStyle="solid",_e.style.borderRadius=(N+2)/2+"px",_e.style.borderColor=k===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",_e.addEventListener("click",function(){j.setCurrentColor(k,_e)});var Nt=document.createElement("div");return Nt.style.display="inline-block",Nt.style.width=N-2+"px",Nt.style.height=N-2+"px",Nt.style.backgroundColor=k,Nt.style.borderRadius=N/2+"px",k==="transparent"&&(Nt.style.fill=this.uiStyleSettings.toolboxAccentColor,Nt.innerHTML=` + `))},ie.prototype.show=function(z){var k;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=z,this.uiContainer.className=this.toolboxStyleClass.name+" "+((k=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&k!==void 0?k:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ie.prototype.setPanelButtons=function(z){var k,j,X=this;this.panels=z,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((k=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&k!==void 0?k:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((j=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&j!==void 0?j:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(T){var _e;T.uiStyleSettings=X.uiStyleSettings;var It=document.createElement("div");It.className=X.toolboxButtonStyleClass.name+" "+((_e=X.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&_e!==void 0?_e:X.toolboxButtonStyleColorsClass.name),It.innerHTML=T.icon,It.title=T.title,It.addEventListener("click",function(){X.panelButtonClick(T)}),X.panelButtons.push(It),X.buttonRow.appendChild(It)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ie.prototype.panelButtonClick=function(z){var k=this,j=-1;if(z!==this.activePanel){j=this.panels.indexOf(z),this.panelRow.innerHTML="";var X=z.getUi();X.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(X),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=z}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){k.displayMode==="inline"?k.panelRow.style.display="none":k.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(T,_e){var It,$e;T.className=k.toolboxButtonStyleClass.name+" "+(_e===j?""+((It=k.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&It!==void 0?It:k.toolboxActiveButtonStyleColorsClass.name):""+(($e=k.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&$e!==void 0?$e:k.toolboxButtonStyleColorsClass.name))})},ie}(),Ce=function(ie,z){this.title=ie,this.icon=z},Ae=function(ie){function z(k,j,X,T){var _e=ie.call(this,k,T||'')||this;return _e.colors=[],_e.addTransparent=!1,_e.colorBoxes=[],_e.colors=j,_e.currentColor=X,_e.setCurrentColor=_e.setCurrentColor.bind(_e),_e.getColorBox=_e.getColorBox.bind(_e),_e}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.overflow="hidden",j.style.whiteSpace="nowrap",this.colors.forEach(function(X){var T=k.getColorBox(X);j.appendChild(T),k.colorBoxes.push(T)}),j},z.prototype.getColorBox=function(k){var j=this,X=this.uiStyleSettings.toolbarHeight/4,T=this.uiStyleSettings.toolbarHeight-X,_e=document.createElement("div");_e.style.display="inline-block",_e.style.boxSizing="content-box",_e.style.width=T-2+"px",_e.style.height=T-2+"px",_e.style.padding="1px",_e.style.marginRight="2px",_e.style.marginBottom="2px",_e.style.borderWidth="2px",_e.style.borderStyle="solid",_e.style.borderRadius=(T+2)/2+"px",_e.style.borderColor=k===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",_e.addEventListener("click",function(){j.setCurrentColor(k,_e)});var It=document.createElement("div");return It.style.display="inline-block",It.style.width=T-2+"px",It.style.height=T-2+"px",It.style.backgroundColor=k,It.style.borderRadius=T/2+"px",k==="transparent"&&(It.style.fill=this.uiStyleSettings.toolboxAccentColor,It.innerHTML=` - `),_e.appendChild(Nt),_e},z.prototype.setCurrentColor=function(k,j){var X=this;this.currentColor=k,this.colorBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(k)},z}(Te),Re=function(){function re(z,k,j){this._state="new",this._isSelected=!1,this._container=z,this._overlayContainer=k,this.globalSettings=j,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(re.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),re.prototype.ownsTarget=function(z){return!1},Object.defineProperty(re.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),re.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},re.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},re.prototype.pointerDown=function(z,k){},re.prototype.dblClick=function(z,k){},re.prototype.manipulate=function(z){},re.prototype.pointerUp=function(z){this.stateChanged()},re.prototype.dispose=function(){},re.prototype.addMarkerVisualToContainer=function(z){this.container.childNodes.length>0?this.container.insertBefore(z,this.container.childNodes[0]):this.container.appendChild(z)},re.prototype.getState=function(){return{typeName:re.typeName,state:this.state,notes:this.notes}},re.prototype.restoreState=function(z){this._state=z.state,this.notes=z.notes},re.prototype.scale=function(z,k){},re.prototype.colorChanged=function(z){this.onColorChanged&&this.onColorChanged(z),this.stateChanged()},re.prototype.fillColorChanged=function(z){this.onFillColorChanged&&this.onFillColorChanged(z),this.stateChanged()},re.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var z=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),z.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(z)&&this.onStateChanged(this)}},re.typeName="MarkerBase",re}(),fe=function(){function re(){this.findGripByVisual=this.findGripByVisual.bind(this)}return re.prototype.findGripByVisual=function(z){return this.topLeft.ownsTarget(z)?this.topLeft:this.topCenter.ownsTarget(z)?this.topCenter:this.topRight.ownsTarget(z)?this.topRight:this.centerLeft.ownsTarget(z)?this.centerLeft:this.centerRight.ownsTarget(z)?this.centerRight:this.bottomLeft.ownsTarget(z)?this.bottomLeft:this.bottomCenter.ownsTarget(z)?this.bottomCenter:this.bottomRight.ownsTarget(z)?this.bottomRight:void 0},re}(),me=function(){function re(){this.GRIP_SIZE=10,this.visual=P.createGroup(),this.visual.appendChild(P.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(P.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return re.prototype.ownsTarget=function(z){return z===this.visual||z===this.visual.childNodes[0]||z===this.visual.childNodes[1]},re}(),xe=function(){function re(){}return re.toITransformMatrix=function(z){return{a:z.a,b:z.b,c:z.c,d:z.d,e:z.e,f:z.f}},re.toSVGMatrix=function(z,k){return z.a=k.a,z.b=k.b,z.c=k.c,z.d=k.d,z.e=k.e,z.f=k.f,z},re}(),ge=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.left=0,N.top=0,N.width=0,N.height=0,N.defaultSize={x:50,y:20},N.offsetX=0,N.offsetY=0,N.rotationAngle=0,N.CB_DISTANCE=10,N._suppressMarkerCreateEvent=!1,N.container.transform.baseVal.appendItem(P.createTransform()),N.setupControlBox(),N}return I(z,re),Object.defineProperty(z.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"visual",{get:function(){return this._visual},set:function(k){this._visual=k;var j=P.createTransform();this._visual.transform.baseVal.appendItem(j)},enumerable:!1,configurable:!0}),z.prototype.ownsTarget=function(k){return!!re.prototype.ownsTarget.call(this,k)||!!(this.controlGrips.findGripByVisual(k)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(k))},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.left=k.x,this.top=k.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var X=this.unrotatePoint(k);if(this.manipulationStartX=X.x,this.manipulationStartY=X.y,this.offsetX=X.x-this.left,this.offsetY=X.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(j),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(j)){this.activeGrip=this.rotatorGrip;var N=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=N.x-this.width/2,this.top=N.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var _e=this.container.transform.baseVal.getItem(0);_e.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(_e,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},z.prototype.pointerUp=function(k){var j=this.state;re.prototype.pointerUp.call(this,k),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(k),this._state="select",j==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},z.prototype.moveVisual=function(k){this.visual.style.transform="translate("+k.x+"px, "+k.y+"px)"},z.prototype.manipulate=function(k){var j=this.unrotatePoint(k);this.state==="creating"?this.resize(k):this.state==="move"?(this.left=this.manipulationStartLeft+(j.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(j.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(j):this.state==="rotate"&&this.rotate(k)},z.prototype.resize=function(k){var j=this.manipulationStartLeft,X=this.manipulationStartWidth,N=this.manipulationStartTop,_e=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:j=this.manipulationStartLeft+k.x-this.manipulationStartX,X=this.manipulationStartWidth+this.manipulationStartLeft-j;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:X=this.manipulationStartWidth+k.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:N=this.manipulationStartTop+k.y-this.manipulationStartY,_e=this.manipulationStartHeight+this.manipulationStartTop-N;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:_e=this.manipulationStartHeight+k.y-this.manipulationStartY}X>=0?(this.left=j,this.width=X):(this.left=j+X,this.width=-X),_e>=0?(this.top=N,this.height=_e):(this.top=N+_e,this.height=-_e),this.setSize()},z.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},z.prototype.rotate=function(k){if(Math.abs(k.x-this.centerX)>.1){var j=Math.sign(k.x-this.centerX);this.rotationAngle=180*Math.atan((k.y-this.centerY)/(k.x-this.centerX))/Math.PI+90*j,this.applyRotation()}},z.prototype.applyRotation=function(){var k=this.container.transform.baseVal.getItem(0);k.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(k,0)},z.prototype.rotatePoint=function(k){if(this.rotationAngle===0)return k;var j=this.container.getCTM(),X=P.createPoint(k.x,k.y);return{x:(X=X.matrixTransform(j)).x,y:X.y}},z.prototype.unrotatePoint=function(k){if(this.rotationAngle===0)return k;var j=this.container.getCTM();j=j.inverse();var X=P.createPoint(k.x,k.y);return{x:(X=X.matrixTransform(j)).x,y:X.y}},z.prototype.select=function(){re.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},z.prototype.deselect=function(){re.prototype.deselect.call(this),this.controlBox.style.display="none"},z.prototype.setupControlBox=function(){this.controlBox=P.createGroup();var k=P.createTransform();k.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(k),this.container.appendChild(this.controlBox),this.controlRect=P.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=P.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new fe,this.addControlGrips(),this.controlBox.style.display="none"},z.prototype.adjustControlBox=function(){var k=this.controlBox.transform.baseVal.getItem(0);k.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(k,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},z.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},z.prototype.createGrip=function(){var k=new me;return k.visual.transform.baseVal.appendItem(P.createTransform()),this.controlBox.appendChild(k.visual),k},z.prototype.positionGrips=function(){var k=this.controlGrips.topLeft.GRIP_SIZE,j=-k/2,X=j,N=(this.width+this.CB_DISTANCE)/2-k/2,_e=(this.height+this.CB_DISTANCE)/2-k/2,Nt=this.height+this.CB_DISTANCE-k/2,He=this.width+this.CB_DISTANCE-k/2;this.positionGrip(this.controlGrips.topLeft.visual,j,X),this.positionGrip(this.controlGrips.topCenter.visual,N,X),this.positionGrip(this.controlGrips.topRight.visual,He,X),this.positionGrip(this.controlGrips.centerLeft.visual,j,_e),this.positionGrip(this.controlGrips.centerRight.visual,He,_e),this.positionGrip(this.controlGrips.bottomLeft.visual,j,Nt),this.positionGrip(this.controlGrips.bottomCenter.visual,N,Nt),this.positionGrip(this.controlGrips.bottomRight.visual,He,Nt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,N,X-3*this.CB_DISTANCE)},z.prototype.positionGrip=function(k,j,X){var N=k.transform.baseVal.getItem(0);N.setTranslate(j,X),k.transform.baseVal.replaceItem(N,0)},z.prototype.hideControlBox=function(){this.controlBox.style.display="none"},z.prototype.showControlBox=function(){this.controlBox.style.display=""},z.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:xe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:xe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},re.prototype.getState.call(this))},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k);var j=k;this.left=j.left,this.top=j.top,this.width=j.width,this.height=j.height,this.rotationAngle=j.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(xe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,j.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(xe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,j.containerTransformMatrix))},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j);var X=this.rotatePoint({x:this.left,y:this.top}),N=this.unrotatePoint({x:X.x*k,y:X.y*j});this.left=N.x,this.top=N.y,this.width=this.width*k,this.height=this.height*j,this.adjustControlBox()},z}(Re),ke=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.fillColor="transparent",N.strokeColor="transparent",N.strokeWidth=0,N.strokeDasharray="",N.opacity=1,N.setStrokeColor=N.setStrokeColor.bind(N),N.setFillColor=N.setFillColor.bind(N),N.setStrokeWidth=N.setStrokeWidth.bind(N),N.setStrokeDasharray=N.setStrokeDasharray.bind(N),N.createVisual=N.createVisual.bind(N),N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.visual)},z.prototype.createVisual=function(){this.visual=P.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.manipulate=function(k){re.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){re.prototype.resize.call(this,k),this.setSize()},z.prototype.setSize=function(){re.prototype.setSize.call(this),P.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},z.prototype.pointerUp=function(k){re.prototype.pointerUp.call(this,k),this.setSize()},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.visual&&P.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(k),this.stateChanged()},z.prototype.setFillColor=function(k){this.fillColor=k,this.visual&&P.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.visual&&P.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.visual&&P.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},z.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},re.prototype.getState.call(this))},z.prototype.restoreState=function(k){var j=k;this.fillColor=j.fillColor,this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.opacity=j.opacity,this.createVisual(),re.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j),this.setSize()},z.title="Rectangle marker",z}(ge),ee=function(re){function z(k,j,X,N){var _e=re.call(this,k,N||'')||this;return _e.widths=[],_e.widthBoxes=[],_e.widths=j,_e.currentWidth=X,_e.setCurrentWidth=_e.setCurrentWidth.bind(_e),_e}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",this.widths.forEach(function(X){var N=document.createElement("div");N.style.display="flex",N.style.flexGrow="2",N.style.alignItems="center",N.style.justifyContent="space-between",N.style.padding="5px",N.style.borderWidth="2px",N.style.borderStyle="solid",N.style.borderColor=X===k.currentWidth?k.uiStyleSettings.toolboxAccentColor:"transparent",N.addEventListener("click",function(){k.setCurrentWidth(X,N)}),j.appendChild(N);var _e=document.createElement("div");_e.innerText=X.toString(),_e.style.marginRight="5px",N.appendChild(_e);var Nt=document.createElement("div");Nt.style.minHeight="20px",Nt.style.flexGrow="2",Nt.style.display="flex",Nt.style.alignItems="center";var He=document.createElement("hr");He.style.minWidth="20px",He.style.border="0px",He.style.borderTop=X+"px solid "+k.uiStyleSettings.toolboxColor,He.style.flexGrow="2",Nt.appendChild(He),N.appendChild(Nt),k.widthBoxes.push(N)}),j},z.prototype.setCurrentWidth=function(k,j){var X=this;this.currentWidth=k,this.widthBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},z}(Te),Ne=function(re){function z(k,j,X,N){var _e=re.call(this,k,N||'')||this;return _e.styles=[],_e.styleBoxes=[],_e.styles=j,_e.currentStyle=X,_e.setCurrentStyle=_e.setCurrentStyle.bind(_e),_e}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",this.styles.forEach(function(X){var N=document.createElement("div");N.style.display="flex",N.style.alignItems="center",N.style.justifyContent="space-between",N.style.padding="5px",N.style.borderWidth="2px",N.style.borderStyle="solid",N.style.overflow="hidden",N.style.maxWidth=100/k.styles.length-5+"%",N.style.borderColor=X===k.currentStyle?k.uiStyleSettings.toolboxAccentColor:"transparent",N.addEventListener("click",function(){k.setCurrentStyle(X,N)}),j.appendChild(N);var _e=document.createElement("div");_e.style.minHeight="20px",_e.style.flexGrow="2",_e.style.overflow="hidden";var Nt=` + `),_e.appendChild(It),_e},z.prototype.setCurrentColor=function(k,j){var X=this;this.currentColor=k,this.colorBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(k)},z}(Ce),Pe=function(){function ie(z,k,j){this._state="new",this._isSelected=!1,this._container=z,this._overlayContainer=k,this.globalSettings=j,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ie.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ie.prototype.ownsTarget=function(z){return!1},Object.defineProperty(ie.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ie.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ie.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ie.prototype.pointerDown=function(z,k){},ie.prototype.dblClick=function(z,k){},ie.prototype.manipulate=function(z){},ie.prototype.pointerUp=function(z){this.stateChanged()},ie.prototype.dispose=function(){},ie.prototype.addMarkerVisualToContainer=function(z){this.container.childNodes.length>0?this.container.insertBefore(z,this.container.childNodes[0]):this.container.appendChild(z)},ie.prototype.getState=function(){return{typeName:ie.typeName,state:this.state,notes:this.notes}},ie.prototype.restoreState=function(z){this._state=z.state,this.notes=z.notes},ie.prototype.scale=function(z,k){},ie.prototype.colorChanged=function(z){this.onColorChanged&&this.onColorChanged(z),this.stateChanged()},ie.prototype.fillColorChanged=function(z){this.onFillColorChanged&&this.onFillColorChanged(z),this.stateChanged()},ie.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var z=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),z.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(z)&&this.onStateChanged(this)}},ie.typeName="MarkerBase",ie}(),fe=function(){function ie(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ie.prototype.findGripByVisual=function(z){return this.topLeft.ownsTarget(z)?this.topLeft:this.topCenter.ownsTarget(z)?this.topCenter:this.topRight.ownsTarget(z)?this.topRight:this.centerLeft.ownsTarget(z)?this.centerLeft:this.centerRight.ownsTarget(z)?this.centerRight:this.bottomLeft.ownsTarget(z)?this.bottomLeft:this.bottomCenter.ownsTarget(z)?this.bottomCenter:this.bottomRight.ownsTarget(z)?this.bottomRight:void 0},ie}(),pe=function(){function ie(){this.GRIP_SIZE=10,this.visual=F.createGroup(),this.visual.appendChild(F.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(F.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ie.prototype.ownsTarget=function(z){return z===this.visual||z===this.visual.childNodes[0]||z===this.visual.childNodes[1]},ie}(),xe=function(){function ie(){}return ie.toITransformMatrix=function(z){return{a:z.a,b:z.b,c:z.c,d:z.d,e:z.e,f:z.f}},ie.toSVGMatrix=function(z,k){return z.a=k.a,z.b=k.b,z.c=k.c,z.d=k.d,z.e=k.e,z.f=k.f,z},ie}(),me=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.left=0,T.top=0,T.width=0,T.height=0,T.defaultSize={x:50,y:20},T.offsetX=0,T.offsetY=0,T.rotationAngle=0,T.CB_DISTANCE=10,T._suppressMarkerCreateEvent=!1,T.container.transform.baseVal.appendItem(F.createTransform()),T.setupControlBox(),T}return I(z,ie),Object.defineProperty(z.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"visual",{get:function(){return this._visual},set:function(k){this._visual=k;var j=F.createTransform();this._visual.transform.baseVal.appendItem(j)},enumerable:!1,configurable:!0}),z.prototype.ownsTarget=function(k){return!!ie.prototype.ownsTarget.call(this,k)||!!(this.controlGrips.findGripByVisual(k)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(k))},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.left=k.x,this.top=k.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var X=this.unrotatePoint(k);if(this.manipulationStartX=X.x,this.manipulationStartY=X.y,this.offsetX=X.x-this.left,this.offsetY=X.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(j),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(j)){this.activeGrip=this.rotatorGrip;var T=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=T.x-this.width/2,this.top=T.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var _e=this.container.transform.baseVal.getItem(0);_e.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(_e,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},z.prototype.pointerUp=function(k){var j=this.state;ie.prototype.pointerUp.call(this,k),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(k),this._state="select",j==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},z.prototype.moveVisual=function(k){this.visual.style.transform="translate("+k.x+"px, "+k.y+"px)"},z.prototype.manipulate=function(k){var j=this.unrotatePoint(k);this.state==="creating"?this.resize(k):this.state==="move"?(this.left=this.manipulationStartLeft+(j.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(j.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(j):this.state==="rotate"&&this.rotate(k)},z.prototype.resize=function(k){var j=this.manipulationStartLeft,X=this.manipulationStartWidth,T=this.manipulationStartTop,_e=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:j=this.manipulationStartLeft+k.x-this.manipulationStartX,X=this.manipulationStartWidth+this.manipulationStartLeft-j;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:X=this.manipulationStartWidth+k.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:T=this.manipulationStartTop+k.y-this.manipulationStartY,_e=this.manipulationStartHeight+this.manipulationStartTop-T;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:_e=this.manipulationStartHeight+k.y-this.manipulationStartY}X>=0?(this.left=j,this.width=X):(this.left=j+X,this.width=-X),_e>=0?(this.top=T,this.height=_e):(this.top=T+_e,this.height=-_e),this.setSize()},z.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},z.prototype.rotate=function(k){if(Math.abs(k.x-this.centerX)>.1){var j=Math.sign(k.x-this.centerX);this.rotationAngle=180*Math.atan((k.y-this.centerY)/(k.x-this.centerX))/Math.PI+90*j,this.applyRotation()}},z.prototype.applyRotation=function(){var k=this.container.transform.baseVal.getItem(0);k.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(k,0)},z.prototype.rotatePoint=function(k){if(this.rotationAngle===0)return k;var j=this.container.getCTM(),X=F.createPoint(k.x,k.y);return{x:(X=X.matrixTransform(j)).x,y:X.y}},z.prototype.unrotatePoint=function(k){if(this.rotationAngle===0)return k;var j=this.container.getCTM();j=j.inverse();var X=F.createPoint(k.x,k.y);return{x:(X=X.matrixTransform(j)).x,y:X.y}},z.prototype.select=function(){ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},z.prototype.deselect=function(){ie.prototype.deselect.call(this),this.controlBox.style.display="none"},z.prototype.setupControlBox=function(){this.controlBox=F.createGroup();var k=F.createTransform();k.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(k),this.container.appendChild(this.controlBox),this.controlRect=F.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=F.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new fe,this.addControlGrips(),this.controlBox.style.display="none"},z.prototype.adjustControlBox=function(){var k=this.controlBox.transform.baseVal.getItem(0);k.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(k,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},z.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},z.prototype.createGrip=function(){var k=new pe;return k.visual.transform.baseVal.appendItem(F.createTransform()),this.controlBox.appendChild(k.visual),k},z.prototype.positionGrips=function(){var k=this.controlGrips.topLeft.GRIP_SIZE,j=-k/2,X=j,T=(this.width+this.CB_DISTANCE)/2-k/2,_e=(this.height+this.CB_DISTANCE)/2-k/2,It=this.height+this.CB_DISTANCE-k/2,$e=this.width+this.CB_DISTANCE-k/2;this.positionGrip(this.controlGrips.topLeft.visual,j,X),this.positionGrip(this.controlGrips.topCenter.visual,T,X),this.positionGrip(this.controlGrips.topRight.visual,$e,X),this.positionGrip(this.controlGrips.centerLeft.visual,j,_e),this.positionGrip(this.controlGrips.centerRight.visual,$e,_e),this.positionGrip(this.controlGrips.bottomLeft.visual,j,It),this.positionGrip(this.controlGrips.bottomCenter.visual,T,It),this.positionGrip(this.controlGrips.bottomRight.visual,$e,It),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,T,X-3*this.CB_DISTANCE)},z.prototype.positionGrip=function(k,j,X){var T=k.transform.baseVal.getItem(0);T.setTranslate(j,X),k.transform.baseVal.replaceItem(T,0)},z.prototype.hideControlBox=function(){this.controlBox.style.display="none"},z.prototype.showControlBox=function(){this.controlBox.style.display=""},z.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:xe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:xe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ie.prototype.getState.call(this))},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k);var j=k;this.left=j.left,this.top=j.top,this.width=j.width,this.height=j.height,this.rotationAngle=j.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(xe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,j.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(xe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,j.containerTransformMatrix))},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j);var X=this.rotatePoint({x:this.left,y:this.top}),T=this.unrotatePoint({x:X.x*k,y:X.y*j});this.left=T.x,this.top=T.y,this.width=this.width*k,this.height=this.height*j,this.adjustControlBox()},z}(Pe),ke=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.fillColor="transparent",T.strokeColor="transparent",T.strokeWidth=0,T.strokeDasharray="",T.opacity=1,T.setStrokeColor=T.setStrokeColor.bind(T),T.setFillColor=T.setFillColor.bind(T),T.setStrokeWidth=T.setStrokeWidth.bind(T),T.setStrokeDasharray=T.setStrokeDasharray.bind(T),T.createVisual=T.createVisual.bind(T),T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.visual)},z.prototype.createVisual=function(){this.visual=F.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.manipulate=function(k){ie.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){ie.prototype.resize.call(this,k),this.setSize()},z.prototype.setSize=function(){ie.prototype.setSize.call(this),F.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},z.prototype.pointerUp=function(k){ie.prototype.pointerUp.call(this,k),this.setSize()},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.visual&&F.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(k),this.stateChanged()},z.prototype.setFillColor=function(k){this.fillColor=k,this.visual&&F.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.visual&&F.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.visual&&F.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},z.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ie.prototype.getState.call(this))},z.prototype.restoreState=function(k){var j=k;this.fillColor=j.fillColor,this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.opacity=j.opacity,this.createVisual(),ie.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j),this.setSize()},z.title="Rectangle marker",z}(me),ee=function(ie){function z(k,j,X,T){var _e=ie.call(this,k,T||'')||this;return _e.widths=[],_e.widthBoxes=[],_e.widths=j,_e.currentWidth=X,_e.setCurrentWidth=_e.setCurrentWidth.bind(_e),_e}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",this.widths.forEach(function(X){var T=document.createElement("div");T.style.display="flex",T.style.flexGrow="2",T.style.alignItems="center",T.style.justifyContent="space-between",T.style.padding="5px",T.style.borderWidth="2px",T.style.borderStyle="solid",T.style.borderColor=X===k.currentWidth?k.uiStyleSettings.toolboxAccentColor:"transparent",T.addEventListener("click",function(){k.setCurrentWidth(X,T)}),j.appendChild(T);var _e=document.createElement("div");_e.innerText=X.toString(),_e.style.marginRight="5px",T.appendChild(_e);var It=document.createElement("div");It.style.minHeight="20px",It.style.flexGrow="2",It.style.display="flex",It.style.alignItems="center";var $e=document.createElement("hr");$e.style.minWidth="20px",$e.style.border="0px",$e.style.borderTop=X+"px solid "+k.uiStyleSettings.toolboxColor,$e.style.flexGrow="2",It.appendChild($e),T.appendChild(It),k.widthBoxes.push(T)}),j},z.prototype.setCurrentWidth=function(k,j){var X=this;this.currentWidth=k,this.widthBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},z}(Ce),Ne=function(ie){function z(k,j,X,T){var _e=ie.call(this,k,T||'')||this;return _e.styles=[],_e.styleBoxes=[],_e.styles=j,_e.currentStyle=X,_e.setCurrentStyle=_e.setCurrentStyle.bind(_e),_e}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",this.styles.forEach(function(X){var T=document.createElement("div");T.style.display="flex",T.style.alignItems="center",T.style.justifyContent="space-between",T.style.padding="5px",T.style.borderWidth="2px",T.style.borderStyle="solid",T.style.overflow="hidden",T.style.maxWidth=100/k.styles.length-5+"%",T.style.borderColor=X===k.currentStyle?k.uiStyleSettings.toolboxAccentColor:"transparent",T.addEventListener("click",function(){k.setCurrentStyle(X,T)}),j.appendChild(T);var _e=document.createElement("div");_e.style.minHeight="20px",_e.style.flexGrow="2",_e.style.overflow="hidden";var It=` - `;_e.innerHTML=Nt,N.appendChild(_e),k.styleBoxes.push(N)}),j},z.prototype.setCurrentStyle=function(k,j){var X=this;this.currentStyle=k,this.styleBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},z}(Te),Ie=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.strokeColor=X.defaultColor,N.strokeWidth=X.defaultStrokeWidth,N.strokeDasharray=X.defaultStrokeDasharray,N.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),N.strokePanel.onColorChanged=N.setStrokeColor,N.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),N.strokeWidthPanel.onWidthChanged=N.setStrokeWidth,N.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),N.strokeStylePanel.onStyleChanged=N.setStrokeDasharray,N}return I(z,re),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=re.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="FrameMarker",z.title="Frame marker",z.icon='',z}(ke),Fe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Xe=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.x1=0,N.y1=0,N.x2=0,N.y2=0,N.defaultLength=50,N.manipulationStartX=0,N.manipulationStartY=0,N.manipulationStartX1=0,N.manipulationStartY1=0,N.manipulationStartX2=0,N.manipulationStartY2=0,N.setupControlBox(),N}return I(z,re),z.prototype.ownsTarget=function(k){return!!re.prototype.ownsTarget.call(this,k)||!(!this.grip1.ownsTarget(k)&&!this.grip2.ownsTarget(k))},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.manipulationStartX=k.x,this.manipulationStartY=k.y,this.state==="new"&&(this.x1=k.x,this.y1=k.y,this.x2=k.x,this.y2=k.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(j)?this.activeGrip=this.grip1:this.grip2.ownsTarget(j)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},z.prototype.pointerUp=function(k){var j=this.state;re.prototype.pointerUp.call(this,k),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(k),this._state="select",j==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},z.prototype.adjustVisual=function(){},z.prototype.manipulate=function(k){this.state==="creating"?this.resize(k):this.state==="move"?(this.x1=this.manipulationStartX1+k.x-this.manipulationStartX,this.y1=this.manipulationStartY1+k.y-this.manipulationStartY,this.x2=this.manipulationStartX2+k.x-this.manipulationStartX,this.y2=this.manipulationStartY2+k.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(k)},z.prototype.resize=function(k){switch(this.activeGrip){case this.grip1:this.x1=k.x,this.y1=k.y;break;case this.grip2:case void 0:this.x2=k.x,this.y2=k.y}this.adjustVisual(),this.adjustControlBox()},z.prototype.select=function(){re.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},z.prototype.deselect=function(){re.prototype.deselect.call(this),this.controlBox.style.display="none"},z.prototype.setupControlBox=function(){this.controlBox=P.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},z.prototype.adjustControlBox=function(){this.positionGrips()},z.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},z.prototype.createGrip=function(){var k=new me;return k.visual.transform.baseVal.appendItem(P.createTransform()),this.controlBox.appendChild(k.visual),k},z.prototype.positionGrips=function(){var k=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-k/2,this.y1-k/2),this.positionGrip(this.grip2.visual,this.x2-k/2,this.y2-k/2)},z.prototype.positionGrip=function(k,j,X){var N=k.transform.baseVal.getItem(0);N.setTranslate(j,X),k.transform.baseVal.replaceItem(N,0)},z.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},re.prototype.getState.call(this))},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k);var j=k;this.x1=j.x1,this.y1=j.y1,this.x2=j.x2,this.y2=j.y2},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j),this.x1=this.x1*k,this.y1=this.y1*j,this.x2=this.x2*k,this.y2=this.y2*j,this.adjustVisual(),this.adjustControlBox()},z}(Re),Ye=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.strokeColor="transparent",N.strokeWidth=0,N.strokeDasharray="",N.setStrokeColor=N.setStrokeColor.bind(N),N.setStrokeWidth=N.setStrokeWidth.bind(N),N.setStrokeDasharray=N.setStrokeDasharray.bind(N),N.strokeColor=X.defaultColor,N.strokeWidth=X.defaultStrokeWidth,N.strokeDasharray=X.defaultStrokeDasharray,N.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),N.strokePanel.onColorChanged=N.setStrokeColor,N.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),N.strokeWidthPanel.onWidthChanged=N.setStrokeWidth,N.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),N.strokeStylePanel.onStyleChanged=N.setStrokeDasharray,N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.selectorLine&&k!==this.visibleLine)},z.prototype.createVisual=function(){this.visual=P.createGroup(),this.selectorLine=P.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=P.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},z.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),P.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),P.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),P.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.adjustVisual(),this.colorChanged(k)},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.adjustVisual()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.adjustVisual(),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},re.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k);var j=k;this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.createVisual(),this.adjustVisual()},z.typeName="LineMarker",z.title="Line marker",z.icon='',z}(Xe),ie=function(re){function z(k,j,X,N){var _e=re.call(this,k,N||'')||this;return _e.fonts=[],_e.fontBoxes=[],_e.fonts=j,_e.currentFont=X,_e.setCurrentFont=_e.setCurrentFont.bind(_e),_e}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.overflow="hidden",j.style.flexGrow="2",this.fonts.forEach(function(X){var N=document.createElement("div");N.style.display="inline-block",N.style.alignItems="center",N.style.justifyContent="space-between",N.style.padding="5px",N.style.borderWidth="2px",N.style.borderStyle="solid",N.style.overflow="hidden",N.style.maxWidth=100/k.fonts.length-5+"%",N.style.borderColor=X===k.currentFont?k.uiStyleSettings.toolboxAccentColor:"transparent",N.addEventListener("click",function(){k.setCurrentFont(X,N)}),j.appendChild(N);var _e=document.createElement("div");_e.style.display="flex",_e.style.minHeight="20px",_e.style.flexGrow="2",_e.style.fontFamily=X,_e.style.overflow="hidden";var Nt=document.createElement("div");Nt.style.whiteSpace="nowrap",Nt.style.overflow="hidden",Nt.style.textOverflow="ellipsis",Nt.innerHTML="The quick brown fox jumps over the lazy dog",_e.appendChild(Nt),N.appendChild(_e),k.fontBoxes.push(N)}),j},z.prototype.setCurrentFont=function(k,j){var X=this;this.currentFont=k,this.fontBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},z}(Te),lt=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.color="transparent",N.padding=5,N.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",N.text=N.DEFAULT_TEXT,N.isMoved=!1,N.color=X.defaultColor,N.fontFamily=X.defaultFontFamily,N.defaultSize={x:100,y:30},N.setColor=N.setColor.bind(N),N.setFont=N.setFont.bind(N),N.renderText=N.renderText.bind(N),N.sizeText=N.sizeText.bind(N),N.textEditDivClicked=N.textEditDivClicked.bind(N),N.showTextEditor=N.showTextEditor.bind(N),N.setSize=N.setSize.bind(N),N.positionTextEditor=N.positionTextEditor.bind(N),N.colorPanel=new Ae("Color",X.defaultColorSet,X.defaultColor),N.colorPanel.onColorChanged=N.setColor,N.fontFamilyPanel=new ie("Font",X.defaultFontFamilies,X.defaultFontFamily),N.fontFamilyPanel.onFontChanged=N.setFont,N}return I(z,re),z.prototype.ownsTarget=function(k){if(re.prototype.ownsTarget.call(this,k)||k===this.visual||k===this.textElement||k===this.bgRectangle)return!0;var j=!1;return this.textElement.childNodes.forEach(function(X){X===k&&(j=!0)}),j},z.prototype.createVisual=function(){this.visual=P.createGroup(),this.bgRectangle=P.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=P.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(P.createTransform()),this.textElement.transform.baseVal.appendItem(P.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.isMoved=!1,this.pointerDownPoint=k,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.renderText=function(){var k=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(j){k.textElement.appendChild(P.createTSpan(j.trim()===""?" ":j.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},z.prototype.getTextScale=function(){var k=this.textElement.getBBox(),j=1;if(k.width>0&&k.height>0){var X=(1*this.width-this.width*this.padding*2/100)/k.width,N=(1*this.height-this.height*this.padding*2/100)/k.height;j=Math.min(X,N)}return j},z.prototype.getTextPosition=function(k){var j=this.textElement.getBBox(),X=0,N=0;return j.width>0&&j.height>0&&(X=(this.width-j.width*k)/2,N=this.height/2-j.height*k/2),{x:X,y:N}},z.prototype.sizeText=function(){var k=this.textElement.getBBox(),j=this.getTextScale(),X=this.getTextPosition(j);X.y-=k.y*j,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+X.x+"px, "+X.y+"px) scale("+j+", "+j+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(X.x,X.y),this.textElement.transform.baseVal.getItem(1).setScale(j,j))},z.prototype.manipulate=function(k){re.prototype.manipulate.call(this,k),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(k.x-this.pointerDownPoint.x)>5||Math.abs(k.y-this.pointerDownPoint.y)>5)},z.prototype.resize=function(k){re.prototype.resize.call(this,k),this.isMoved=!0,this.setSize(),this.sizeText()},z.prototype.setSize=function(){re.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(P.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),P.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},z.prototype.pointerUp=function(k){var j=this.state;j==="creating"&&(this._suppressMarkerCreateEvent=!0),re.prototype.pointerUp.call(this,k),this.setSize(),(j==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},z.prototype.showTextEditor=function(){var k=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(j){j.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var j=Number.parseFloat(k.textEditor.style.fontSize);k.textEditor.clientWidth>=Number.parseInt(k.textEditor.style.maxWidth)&&j>.9;)j-=.1,k.textEditor.style.fontSize=Math.max(j,.9)+"em"}),this.textEditor.addEventListener("keyup",function(j){j.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(j){if(j.clipboardData){var X=j.clipboardData.getData("text"),N=window.getSelection();if(!N.rangeCount)return!1;N.deleteFromDocument(),N.getRangeAt(0).insertNode(document.createTextNode(X)),j.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){k.textEditDivClicked(k.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},z.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var k=this.getTextScale(),j=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),X=this.textElement.getBBox(),N={x:X.width*k,y:X.height*k};j.x-=N.x/2,j.y-=N.y/2,this.textEditor.style.top=j.y+"px",this.textEditor.style.left=j.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-j.x+"px",this.textEditor.style.fontSize=Math.max(16*k,12)+"px",this.textElement.style.display="none"}},z.prototype.textEditDivClicked=function(k){this.text=k.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},z.prototype.select=function(){re.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},z.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),re.prototype.deselect.call(this)},z.prototype.dblClick=function(k,j){re.prototype.dblClick.call(this,k,j),this.showTextEditor()},z.prototype.setColor=function(k){this.textElement&&P.setAttributes(this.textElement,[["fill",k]]),this.color=k,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(k)},z.prototype.setFont=function(k){this.textElement&&P.setAttributes(this.textElement,[["font-family",k]]),this.fontFamily=k,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},z.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},z.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},re.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){var j=k;this.color=j.color,this.fontFamily=j.fontFamily,this.padding=j.padding,this.text=j.text,this.createVisual(),re.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j),this.setSize(),this.sizeText(),this.positionTextEditor()},z.typeName="TextMarker",z.title="Text marker",z.icon='',z}(ge),We=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.color="transparent",N.lineWidth=3,N.drawing=!1,N.pixelRatio=1,N.color=X.defaultColor,N.lineWidth=X.defaultStrokeWidth,N.pixelRatio=X.freehandPixelRatio,N.setColor=N.setColor.bind(N),N.addCanvas=N.addCanvas.bind(N),N.finishCreation=N.finishCreation.bind(N),N.setLineWidth=N.setLineWidth.bind(N),N.colorPanel=new Ae("Color",X.defaultColorSet,X.defaultColor),N.colorPanel.onColorChanged=N.setColor,N.lineWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),N.lineWidthPanel.onWidthChanged=N.setLineWidth,N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.drawingImage)},z.prototype.createVisual=function(){this.visual=P.createGroup(),this.drawingImage=P.createImage(),this.visual.appendChild(this.drawingImage);var k=P.createTransform();this.visual.transform.baseVal.appendItem(k),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(k.x,k.y),this.drawing=!0):re.prototype.pointerDown.call(this,k,j)},z.prototype.manipulate=function(k){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(k.x,k.y),this.canvasContext.stroke()):re.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){re.prototype.resize.call(this,k),P.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),P.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},z.prototype.pointerUp=function(k){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):re.prototype.pointerUp.call(this,k)},z.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},z.prototype.select=function(){this.state==="creating"&&this.finishCreation(),re.prototype.select.call(this)},z.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),re.prototype.deselect.call(this)},z.prototype.finishCreation=function(){for(var k=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),j=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],X=j[0],N=j[1],_e=j[2],Nt=j[3],He=!1,De=0;De0&&(He=!0,DeNt&&(Nt=De),gt>_e&&(_e=gt));if(He){this.left=X/this.pixelRatio,this.top=N/this.pixelRatio,this.width=(_e-X)/this.pixelRatio,this.height=(Nt-N)/this.pixelRatio;var ut=document.createElement("canvas");ut.width=_e-X,ut.height=Nt-N,ut.getContext("2d").putImageData(this.canvasContext.getImageData(X,N,_e-X,Nt-N),0,0),this.drawingImgUrl=ut.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},z.prototype.setDrawingImage=function(){P.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),P.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},z.prototype.setColor=function(k){this.color=k,this.colorChanged(k)},z.prototype.setLineWidth=function(k){this.lineWidth=k},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({drawingImgUrl:this.drawingImgUrl},re.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){this.createVisual(),re.prototype.restoreState.call(this,k),this.drawingImgUrl=k.drawingImgUrl,this.setDrawingImage()},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j),this.setDrawingImage()},z.typeName="FreehandMarker",z.title="Freehand marker",z.icon='',z}(ge),Pt=function(re){function z(k,j,X){var N=re.call(this,k,X||'')||this;return N.typeBoxes=[],N.currentType=j,N.setCurrentType=N.setCurrentType.bind(N),N}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2";for(var X=function(Nt){var He="both";switch(Nt){case 0:He="both";break;case 1:He="start";break;case 2:He="end";break;case 3:He="none"}var De=document.createElement("div");if(De.style.display="flex",De.style.flexGrow="2",De.style.alignItems="center",De.style.justifyContent="space-between",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderColor=He===N.currentType?N.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){k.setCurrentType(He,De)}),j.appendChild(De),He==="both"||He==="start"){var gt=document.createElement("div");gt.style.display="flex",gt.style.alignItems="center",gt.style.minHeight="20px",gt.innerHTML=` - - `,gt.style.marginLeft="5px",De.appendChild(gt)}var ut=document.createElement("div");ut.style.display="flex",ut.style.alignItems="center",ut.style.minHeight="20px",ut.style.flexGrow="2";var nt=document.createElement("hr");if(nt.style.minWidth="20px",nt.style.border="0px",nt.style.borderTop="3px solid "+(N.uiStyleSettings!==void 0?N.uiStyleSettings.toolboxColor:"#eeeeee"),nt.style.flexGrow="2",ut.appendChild(nt),De.appendChild(ut),He==="both"||He==="end"){var Tt=document.createElement("div");Tt.style.display="flex",Tt.style.alignItems="center",Tt.style.minHeight="20px",Tt.innerHTML=` - - `,Tt.style.marginRight="5px",De.appendChild(Tt)}N.typeBoxes.push(De)},N=this,_e=0;_e<4;_e++)X(_e);return j},z.prototype.setCurrentType=function(k,j){var X=this;this.currentType=k,this.typeBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings!==void 0?X.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},z}(Te),xt=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.arrowType="end",N.arrowBaseHeight=10,N.arrowBaseWidth=10,N.getArrowPoints=N.getArrowPoints.bind(N),N.setArrowType=N.setArrowType.bind(N),N.arrowTypePanel=new Pt("Arrow type","end"),N.arrowTypePanel.onArrowTypeChanged=N.setArrowType,N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.arrow1&&k!==this.arrow2)},z.prototype.getArrowPoints=function(k,j){var X=this.arrowBaseWidth+2*this.strokeWidth,N=this.arrowBaseHeight+2*this.strokeWidth;return k-X/2+","+(j+N/2)+" "+k+","+(j-N/2)+" "+(k+X/2)+","+(j+N/2)},z.prototype.createTips=function(){this.arrow1=P.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(P.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=P.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(P.createTransform()),this.visual.appendChild(this.arrow2)},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.state==="creating"&&this.createTips()},z.prototype.adjustVisual=function(){if(re.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",P.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),P.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var k=0;Math.abs(this.x1-this.x2)>.1&&(k=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var j=this.arrow1.transform.baseVal.getItem(0);j.setRotate(k,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(j,0);var X=this.arrow2.transform.baseVal.getItem(0);X.setRotate(k+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(X,0)}},z.prototype.setArrowType=function(k){this.arrowType=k,this.adjustVisual(),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({arrowType:this.arrowType},re.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k);var j=k;this.arrowType=j.arrowType,this.createTips(),this.adjustVisual()},z.typeName="ArrowMarker",z.title="Arrow marker",z.icon='',z}(Ye),kt=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.fillColor=X.defaultFillColor,N.strokeWidth=0,N.fillPanel=new Ae("Color",X.defaultColorSet,X.defaultFillColor),N.fillPanel.onColorChanged=N.setFillColor,N}return I(z,re),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=re.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="CoverMarker",z.title="Cover marker",z.icon='',z}(ke),wt=function(re){function z(k,j,X,N){var _e=re.call(this,k,N||'')||this;return _e.opacities=[],_e.opacityBoxes=[],_e.opacities=j,_e.currentOpacity=X,_e.setCurrentOpacity=_e.setCurrentOpacity.bind(_e),_e}return I(z,re),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",j.style.justifyContent="space-between",this.opacities.forEach(function(X){var N=document.createElement("div");N.style.display="flex",N.style.alignItems="center",N.style.justifyContent="center",N.style.padding="5px",N.style.borderWidth="2px",N.style.borderStyle="solid",N.style.borderColor=X===k.currentOpacity?k.uiStyleSettings.toolboxAccentColor:"transparent",N.addEventListener("click",function(){k.setCurrentOpacity(X,N)}),j.appendChild(N);var _e=document.createElement("div");_e.innerText=100*X+"%",N.appendChild(_e),k.opacityBoxes.push(N)}),j},z.prototype.setCurrentOpacity=function(k,j){var X=this;this.currentOpacity=k,this.opacityBoxes.forEach(function(N){N.style.borderColor=N===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},z}(Te),En=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.setOpacity=N.setOpacity.bind(N),N.fillColor=X.defaultHighlightColor,N.strokeWidth=0,N.opacity=X.defaultHighlightOpacity,N.fillPanel=new Ae("Color",X.defaultColorSet,N.fillColor),N.fillPanel.onColorChanged=N.setFillColor,N.opacityPanel=new wt("Opacity",X.defaultOpacitySteps,N.opacity),N.opacityPanel.onOpacityChanged=N.setOpacity,N}return I(z,re),z.prototype.setOpacity=function(k){this.opacity=k,this.visual&&P.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=re.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="HighlightMarker",z.title="Highlight marker",z.icon='',z}(kt),Je='',se='',ue=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.bgColor="transparent",N.tipPosition={x:0,y:0},N.tipBase1Position={x:0,y:0},N.tipBase2Position={x:0,y:0},N.tipMoving=!1,N.color=X.defaultStrokeColor,N.bgColor=X.defaultFillColor,N.fontFamily=X.defaultFontFamily,N.defaultSize={x:100,y:30},N.setBgColor=N.setBgColor.bind(N),N.getTipPoints=N.getTipPoints.bind(N),N.positionTip=N.positionTip.bind(N),N.setTipPoints=N.setTipPoints.bind(N),N.colorPanel=new Ae("Text color",X.defaultColorSet,N.color,Je),N.colorPanel.onColorChanged=N.setColor,N.bgColorPanel=new Ae("Fill color",X.defaultColorSet,N.bgColor,se),N.bgColorPanel.onColorChanged=N.setBgColor,N.fontFamilyPanel=new ie("Font",X.defaultFontFamilies,X.defaultFontFamily),N.fontFamilyPanel.onFontChanged=N.setFont,N.tipGrip=new me,N.tipGrip.visual.transform.baseVal.appendItem(P.createTransform()),N.controlBox.appendChild(N.tipGrip.visual),N}return I(z,re),z.prototype.ownsTarget=function(k){return re.prototype.ownsTarget.call(this,k)||this.tipGrip.ownsTarget(k)||this.tip===k},z.prototype.createTip=function(){P.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=P.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},z.prototype.pointerDown=function(k,j){this.state==="new"&&re.prototype.pointerDown.call(this,k,j),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(j)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):re.prototype.pointerDown.call(this,k,j)},z.prototype.pointerUp=function(k){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,re.prototype.pointerUp.call(this,k);else{var j=this.state==="creating";re.prototype.pointerUp.call(this,k),this.setTipPoints(j),this.positionTip()}},z.prototype.manipulate=function(k){if(this.tipMoving){var j=this.unrotatePoint(k);this.tipPosition={x:j.x-this.manipulationStartLeft,y:j.y-this.manipulationStartTop},this.positionTip()}else re.prototype.manipulate.call(this,k)},z.prototype.setBgColor=function(k){this.bgRectangle&&this.tip&&(P.setAttributes(this.bgRectangle,[["fill",k]]),P.setAttributes(this.tip,[["fill",k]])),this.bgColor=k,this.fillColorChanged(k)},z.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},z.prototype.setTipPoints=function(k){k===void 0&&(k=!1);var j=Math.min(this.height/2,15),X=this.height/5;k&&(this.tipPosition={x:j+X/2,y:this.height+20});var N=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?N.1)){var k=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),j=this.tip1.transform.baseVal.getItem(0);j.setRotate(k,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(j,0);var X=this.tip2.transform.baseVal.getItem(0);X.setRotate(k+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(X,0)}},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=re.prototype.getState.call(this);return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k),this.createTips(),this.adjustVisual()},z.typeName="MeasurementMarker",z.title="Measurement marker",z.icon='',z}(Ye),St=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.strokePanel.colors=X.defaultColorSet,N.fillColor="transparent",N}return I(z,re),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=re.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="EllipseFrameMarker",z.title="Ellipse frame marker",z.icon='',z}(Ht),an=function(){function re(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(re.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),re.prototype.addUndoStep=function(z){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(z)||(this.undoStack.push(z),JSON.stringify(this.lastRedoStep)!==JSON.stringify(z)&&this.redoStack.splice(0,this.redoStack.length))},re.prototype.replaceLastUndoStep=function(z){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=z)},re.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},re.prototype.undo=function(){if(this.undoStack.length>1){var z=this.undoStack.pop();return z!==void 0&&this.redoStack.push(z),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},re.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},re}(),Ft=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.strokeColor="transparent",N.strokeWidth=0,N.strokeDasharray="",N.curveX=0,N.curveY=0,N.manipulationStartCurveX=0,N.manipulationStartCurveY=0,N.setStrokeColor=N.setStrokeColor.bind(N),N.setStrokeWidth=N.setStrokeWidth.bind(N),N.setStrokeDasharray=N.setStrokeDasharray.bind(N),N.positionGrips=N.positionGrips.bind(N),N.addControlGrips=N.addControlGrips.bind(N),N.adjustVisual=N.adjustVisual.bind(N),N.setupControlBox=N.setupControlBox.bind(N),N.resize=N.resize.bind(N),N.strokeColor=X.defaultColor,N.strokeWidth=X.defaultStrokeWidth,N.strokeDasharray=X.defaultStrokeDasharray,N.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),N.strokePanel.onColorChanged=N.setStrokeColor,N.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),N.strokeWidthPanel.onWidthChanged=N.setStrokeWidth,N.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),N.strokeStylePanel.onStyleChanged=N.setStrokeDasharray,N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.selectorCurve&&k!==this.visibleCurve&&!this.curveGrip.ownsTarget(k))},z.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},z.prototype.createVisual=function(){this.visual=P.createGroup(),this.selectorCurve=P.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=P.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=k.x,this.curveY=k.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(j)&&(this.activeGrip=this.curveGrip,this._state="resize")},z.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),P.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),P.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),P.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},z.prototype.setupControlBox=function(){re.prototype.setupControlBox.call(this),this.curveControlLine1=P.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=P.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},z.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,re.prototype.addControlGrips.call(this)},z.prototype.positionGrips=function(){re.prototype.positionGrips.call(this);var k=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-k/2,this.curveY-k/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},z.prototype.manipulate=function(k){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+k.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+k.y-this.manipulationStartY),re.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){this.activeGrip===this.curveGrip&&(this.curveX=k.x,this.curveY=k.y),re.prototype.resize.call(this,k),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.adjustVisual(),this.colorChanged(k)},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.adjustVisual()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.adjustVisual()},z.prototype.scale=function(k,j){this.curveX=this.curveX*k,this.curveY=this.curveY*j,re.prototype.scale.call(this,k,j)},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},re.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){re.prototype.restoreState.call(this,k);var j=k;this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.curveX=j.curveX,this.curveY=j.curveY,this.createVisual(),this.adjustVisual()},z.typeName="CurveMarker",z.title="Curve marker",z.icon='',z}(Xe),ai=function(re){function z(k,j,X){var N=re.call(this,k,j,X)||this;return N.fillColor="transparent",N.strokeColor="transparent",N.strokeWidth=0,N.strokeDasharray="",N.textColor="transparent",N.fontSize="1rem",N.isMoved=!1,N.captionText="Caption",N.PADDING=5,N.captionBoxWidth=0,N.captionBoxHeight=0,N.strokeColor=X.defaultColor,N.strokeWidth=X.defaultStrokeWidth,N.strokeDasharray=X.defaultStrokeDasharray,N.fillColor=X.defaultFillColor,N.textColor=X.defaultStrokeColor,N.fontFamily=X.defaultFontFamily,N.fontSize=X.defaultCaptionFontSize,N.captionText=X.defaultCaptionText,N.setStrokeColor=N.setStrokeColor.bind(N),N.setFillColor=N.setFillColor.bind(N),N.setStrokeWidth=N.setStrokeWidth.bind(N),N.setStrokeDasharray=N.setStrokeDasharray.bind(N),N.createVisual=N.createVisual.bind(N),N.sizeCaption=N.sizeCaption.bind(N),N.setCaptionText=N.setCaptionText.bind(N),N.showTextEditor=N.showTextEditor.bind(N),N.positionTextEditor=N.positionTextEditor.bind(N),N.finishTextEditing=N.finishTextEditing.bind(N),N.setFont=N.setFont.bind(N),N.setTextColor=N.setTextColor.bind(N),N.strokePanel=new Ae("Line color",G(X.defaultColorSet,["transparent"]),N.strokeColor),N.strokePanel.onColorChanged=N.setStrokeColor,N.fillPanel=new Ae("Fill color",G(X.defaultColorSet,["transparent"]),N.fillColor,se),N.fillPanel.onColorChanged=N.setFillColor,N.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),N.strokeWidthPanel.onWidthChanged=N.setStrokeWidth,N.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),N.strokeStylePanel.onStyleChanged=N.setStrokeDasharray,N.fontFamilyPanel=new ie("Font",X.defaultFontFamilies,X.defaultFontFamily),N.fontFamilyPanel.onFontChanged=N.setFont,N.textColorPanel=new Ae("Text color",X.defaultColorSet,N.textColor,Je),N.textColorPanel.onColorChanged=N.setTextColor,N}return I(z,re),z.prototype.ownsTarget=function(k){return!(!re.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.frame&&k!==this.captionBg&&k!==this.captionElement)},z.prototype.createVisual=function(){this.visual=P.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=P.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=P.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=P.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},z.prototype.setCaptionText=function(k){this.captionText=k,this.captionElement.textContent=this.captionText,this.sizeCaption()},z.prototype.pointerDown=function(k,j){re.prototype.pointerDown.call(this,k,j),this.isMoved=!1,this.pointerDownPoint=k,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.manipulate=function(k){re.prototype.manipulate.call(this,k),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(k.x-this.pointerDownPoint.x)>5||Math.abs(k.y-this.pointerDownPoint.y)>5)},z.prototype.resize=function(k){re.prototype.resize.call(this,k),this.setSize()},z.prototype.sizeCaption=function(){var k=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=k.width+2*this.PADDING,this.captionBoxHeight=k.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),P.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),P.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},z.prototype.showTextEditor=function(){var k=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(j){j.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(j){j.key==="Enter"&&k.finishTextEditing(k.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(j){j.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){k.finishTextEditing(k.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){k.finishTextEditing(k.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},z.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},z.prototype.finishTextEditing=function(k){this.setCaptionText(k.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},z.prototype.setFont=function(k){this.captionElement&&P.setAttributes(this.captionElement,[["font-family",k]]),this.fontFamily=k,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},z.prototype.setTextColor=function(k){this.captionElement&&P.setAttributes(this.captionElement,[["fill",k]]),this.textColor=k,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},z.prototype.setSize=function(){re.prototype.setSize.call(this),P.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},z.prototype.pointerUp=function(k){re.prototype.pointerUp.call(this,k),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},z.prototype.dblClick=function(k,j){re.prototype.dblClick.call(this,k,j),this.showTextEditor()},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.frame&&P.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(k),this.stateChanged()},z.prototype.setFillColor=function(k){this.fillColor=k,this.captionBg&&P.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(k),this.stateChanged()},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.frame&&P.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.frame&&P.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},re.prototype.getState.call(this));return k.typeName=this.typeName,k},z.prototype.restoreState=function(k){var j=k;this.fillColor=j.fillColor,this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.textColor=j.textColor,this.fontFamily=j.fontFamily,this.captionText=j.captionText,this.fontSize=j.fontSize,this.createVisual(),re.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){re.prototype.scale.call(this,k,j),this.setSize()},z.typeName="CaptionFrameMarker",z.title="Caption frame marker",z.icon='',z}(ge),Ln=function(){function re(z,k){k===void 0&&(k=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=z,this.cancelable=k}return Object.defineProperty(re.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),re.prototype.preventDefault=function(){this._defaultPrevented=!0},re}(),ni=function(re){function z(k,j,X){var N=re.call(this,k,!1)||this;return N.dataUrl=j,N.state=X,N}return I(z,re),z}(Ln),Jn=function(re){function z(k,j,X){X===void 0&&(X=!1);var N=re.call(this,k,X)||this;return N.marker=j,N}return I(z,re),z}(Ln),In=function(){function re(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return re.prototype.addEventListener=function(z,k){this[z].push(k)},re.prototype.removeEventListener=function(z,k){var j=this[z].indexOf(k);j>-1&&this[z].splice(j,1)},re}(),Mn=function(){function re(z){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Fe,this._isOpen=!1,this.undoRedoManager=new an,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new In,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=re.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=z,this.targetRoot=document.body,this.width=z.clientWidth,this.height=z.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(re.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,St,Ht,En,ue,Vt,kt,Ye,Ft,ai]},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,Ht,En,ue]},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,En]},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(z){var k=this;this._availableMarkerTypes.splice(0),z.forEach(function(j){if(typeof j=="string"){var X=k.ALL_MARKER_TYPES.find(function(N){return N.typeName===j});X!==void 0&&k._availableMarkerTypes.push(X)}else k._availableMarkerTypes.push(j)})},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(z){this._zoomLevel=z,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),re.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),M.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},re.prototype.show=function(){var z=this;this.styles.styleSheetRoot===void 0&&ce.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=ce.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(k){return k(new Ln(z))})},re.prototype.render=function(){return O(this,void 0,void 0,function(){var z;return F(this,function(k){switch(k.label){case 0:return this.setCurrentMarker(),(z=new de).naturalSize=this.renderAtNaturalSize,z.imageType=this.renderImageType,z.imageQuality=this.renderImageQuality,z.markersOnly=this.renderMarkersOnly,z.width=this.renderWidth,z.height=this.renderHeight,[4,z.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return k.sent(),[4,z.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,k.sent()]}})})},re.prototype.close=function(z){var k=this;if(z===void 0&&(z=!1),this.isOpen){var j=!1;z||this.eventListeners.beforeclose.forEach(function(X){var N=new Ln(k,!0);X(N),N.defaultPrevented&&(j=!0)}),j||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(X){return X(new Ln(k))}),this.detachEvents(),this._isOpen=!1)}},re.prototype.addMarkersToToolbar=function(){for(var z,k=[],j=0;jthis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*z:this.editorCanvas.clientWidth,j=k',z.title="Powered by marker.js",z.style.display="grid",z.style.alignItems="center",z.style.justifyItems="center",z.style.padding="3px",z.style.width="20px",z.style.height="20px",this.logoUI.appendChild(z),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},re.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},re.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},re.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},re.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var z=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=z+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Qe(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(z),1),z.dispose()},re.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},re.prototype.toolbarButtonClicked=function(z,k){if(z==="marker"&&k!==void 0)this.createNewMarker(k);else if(z==="action")switch(k){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},re.prototype.deleteSelectedMarker=function(){var z=this;if(this._currentMarker!==void 0){var k=!1;if(this.eventListeners.markerbeforedelete.forEach(function(X){var N=new Jn(z,z._currentMarker,!0);X(N),N.defaultPrevented&&(k=!0)}),!k){var j=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(X){return X(new Jn(z,j))})}}},re.prototype.clear=function(){var z=this,k=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(_e){var Nt=new Jn(z,void 0,!0);_e(Nt),Nt.defaultPrevented&&(k=!0)}),!k)){this.setCurrentMarker();for(var j=function(_e){var Nt=X.markers[_e];X.setCurrentMarker(X.markers[_e]),X._currentMarker.dispose(),X.markerImage.removeChild(X._currentMarker.container),X.markers.splice(X.markers.indexOf(X._currentMarker),1),X.eventListeners.markerdelete.forEach(function(He){return He(new Jn(z,Nt))})},X=this,N=this.markers.length-1;N>=0;N--)j(N);this.addUndoStep()}},Object.defineProperty(re.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),re.prototype.showNotesEditor=function(){var z;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(z=this._currentMarker.notes)!==null&&z!==void 0?z:"",this.overlayContainer.appendChild(this.notesArea))},re.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},re.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},re.prototype.addUndoStep=function(){var z=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var k=this.getState(),j=this.undoRedoManager.getLastUndoStep();if(!j||j.width===k.width&&j.height===k.height){var X=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(k),X1&&this.panTo({x:z.clientX,y:z.clientY}))},re.prototype.onPointerUp=function(z){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(z.clientX,z.clientY)),this.isDragging=!1,this.addUndoStep()},re.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},re.prototype.onKeyUp=function(z){this._currentMarker===void 0||this.notesArea!==void 0||z.key!=="Delete"&&z.key!=="Backspace"||this.deleteSelectedMarker()},re.prototype.clientToLocalCoordinates=function(z,k){var j=this.markerImage.getBoundingClientRect();return{x:(z-j.left)/this.zoomLevel,y:(k-j.top)/this.zoomLevel}},re.prototype.onWindowResize=function(){this.positionUI()},re.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var z=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=z+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},re.prototype.addLicenseKey=function(z){M.addKey(z)},re.prototype.addEventListener=function(z,k){this.eventListeners.addEventListener(z,k)},re.prototype.removeEventListener=function(z,k){this.eventListeners.removeEventListener(z,k)},re.prototype.renderState=function(z){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(z),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(re.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),re.prototype.focus=function(){var z=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(k){return k(new Ln(z))}))},re.prototype.blur=function(){var z=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(k){return k(new Ln(z))}))},re.instanceCounter=0,re}()},67842:function(Q){"use strict";var C,h=59;Q.exports=v;function v(I){var O="&"+I+";",F;return C=C||document.createElement("i"),C.innerHTML=O,F=C.textContent,F.charCodeAt(F.length-1)===h&&I!=="semi"||F===O?!1:F}},12256:function(Q,C,h){"use strict";var v=h(47854),I=h(80501),O=h(22347),F=h(65207),G=h(21127),P=h(67842);Q.exports=En;var M={}.hasOwnProperty,de=String.fromCharCode,ce=Function.prototype,te={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Me=9,we=10,Qe=12,Oe=32,Te=38,Ae=59,Re=60,fe=61,me=35,xe=88,ge=120,ke=65533,ee="named",Ne="hexadecimal",Ie="decimal",Fe={};Fe[Ne]=16,Fe[Ie]=10;var Xe={};Xe[ee]=G,Xe[Ie]=O,Xe[Ne]=F;var Ye=1,ie=2,lt=3,We=4,Pt=5,xt=6,kt=7,wt={};wt[Ye]="Named character references must be terminated by a semicolon",wt[ie]="Numeric character references must be terminated by a semicolon",wt[lt]="Named character references cannot be empty",wt[We]="Numeric character references cannot be empty",wt[Pt]="Named character references must be known",wt[xt]="Numeric character references cannot be disallowed",wt[kt]="Numeric character references cannot be outside the permissible Unicode range";function En(Ht,Vt){var St={},an,Ft;Vt||(Vt={});for(Ft in te)an=Vt[Ft],St[Ft]=an==null?te[Ft]:an;return(St.position.indent||St.position.start)&&(St.indent=St.position.indent||[],St.position=St.position.start),Je(Ht,St)}function Je(Ht,Vt){var St=Vt.additional,an=Vt.nonTerminated,Ft=Vt.text,ai=Vt.reference,Ln=Vt.warning,ni=Vt.textContext,Jn=Vt.referenceContext,In=Vt.warningContext,Mn=Vt.position,re=Vt.indent||[],z=Ht.length,k=0,j=-1,X=Mn.column||1,N=Mn.line||1,_e="",Nt=[],He,De,gt,ut,nt,Tt,fn,qt,jt,cn,nn,et,zt,hn,tn,ze,Un,On,Yn;for(typeof St=="string"&&(St=St.charCodeAt(0)),ze=wi(),qt=Ln?vi:ce,k--,z++;++k65535&&(Tt-=65536,cn+=de(Tt>>>10|55296),Tt=56320|Tt&1023),Tt=cn+de(Tt))):hn!==ee&&qt(We,On)),Tt?(dn(),ze=wi(),k=Yn-1,X+=Yn-zt+1,Nt.push(Tt),Un=wi(),Un.offset++,ai&&ai.call(Jn,Tt,{start:ze,end:Un},Ht.slice(zt-1,Yn)),ze=Un):(ut=Ht.slice(zt-1,Yn),_e+=ut,X+=ut.length,k=Yn-1)}else nt===10&&(N++,j++,X=0),nt===nt?(_e+=de(nt),X++):dn();return Nt.join("");function wi(){return{line:N,column:X,offset:k+(Mn.offset||0)}}function vi(ln,gr){var er=wi();er.column+=gr,er.offset+=gr,Ln.call(In,wt[ln],er,ln)}function dn(){_e&&(Nt.push(_e),Ft&&Ft.call(ni,_e,{start:ze,end:wi()}),_e="")}}function se(Ht){return Ht>=55296&&Ht<=57343||Ht>1114111}function ue(Ht){return Ht>=1&&Ht<=8||Ht===11||Ht>=13&&Ht<=31||Ht>=127&&Ht<=159||Ht>=64976&&Ht<=65007||(Ht&65535)===65535||(Ht&65535)===65534}},68398:function(Q,C,h){var v=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var I=function(O){var F=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,G=0,P={},M={manual:O.Prism&&O.Prism.manual,disableWorkerMessageHandler:O.Prism&&O.Prism.disableWorkerMessageHandler,util:{encode:function fe(me){return me instanceof de?new de(me.type,fe(me.content),me.alias):Array.isArray(me)?me.map(fe):me.replace(/&/g,"&").replace(/"+ke.content+""};function ce(fe,me,xe,ge){fe.lastIndex=me;var ke=fe.exec(xe);if(ke&&ge&&ke[1]){var ee=ke[1].length;ke.index+=ee,ke[0]=ke[0].slice(ee)}return ke}function te(fe,me,xe,ge,ke,ee){for(var Ne in xe)if(!(!xe.hasOwnProperty(Ne)||!xe[Ne])){var Ie=xe[Ne];Ie=Array.isArray(Ie)?Ie:[Ie];for(var Fe=0;Fe=ee.reach);wt+=kt.value.length,kt=kt.next){var En=kt.value;if(me.length>fe.length)return;if(!(En instanceof de)){var Je=1,se;if(lt){if(se=ce(xt,wt,fe,ie),!se||se.index>=fe.length)break;var St=se.index,ue=se.index+se[0].length,Ht=wt;for(Ht+=kt.value.length;St>=Ht;)kt=kt.next,Ht+=kt.value.length;if(Ht-=kt.value.length,wt=Ht,kt.value instanceof de)continue;for(var Vt=kt;Vt!==me.tail&&(Htee.reach&&(ee.reach=Ln);var ni=kt.prev;Ft&&(ni=we(me,ni,Ft),wt+=Ft.length),Qe(me,ni,Je);var Jn=new de(Ne,Ye?M.tokenize(an,Ye):an,We,an);if(kt=we(me,ni,Jn),ai&&we(me,kt,ai),Je>1){var In={cause:Ne+","+Fe,reach:Ln};te(fe,me,xe,kt.prev,wt,In),ee&&In.reach>ee.reach&&(ee.reach=In.reach)}}}}}}function Me(){var fe={value:null,prev:null,next:null},me={value:null,prev:fe,next:null};fe.next=me,this.head=fe,this.tail=me,this.length=0}function we(fe,me,xe){var ge=me.next,ke={value:xe,prev:me,next:ge};return me.next=ke,ge.prev=ke,fe.length++,ke}function Qe(fe,me,xe){for(var ge=me.next,ke=0;ke4&&Te.slice(0,4)===F&&G.test(Oe)&&(Oe.charAt(4)==="-"?Ae=ce(Oe):Oe=te(Oe),Re=I),new Re(Ae,Oe))}function ce(Qe){var Oe=Qe.slice(5).replace(P,we);return F+Oe.charAt(0).toUpperCase()+Oe.slice(1)}function te(Qe){var Oe=Qe.slice(4);return P.test(Oe)?Qe:(Oe=Oe.replace(M,Me),Oe.charAt(0)!=="-"&&(Oe="-"+Oe),F+Oe)}function Me(Qe){return"-"+Qe.toLowerCase()}function we(Qe){return Qe.charAt(1).toUpperCase()}},18795:function(Q,C,h){"use strict";var v=h(83576),I=h(8179),O=h(59780),F=h(68244),G=h(20019),P=h(38567);Q.exports=v([O,I,F,G,P])},20019:function(Q,C,h){"use strict";var v=h(70167),I=h(79318),O=v.booleanish,F=v.number,G=v.spaceSeparated;Q.exports=I({transform:P,properties:{ariaActiveDescendant:null,ariaAtomic:O,ariaAutoComplete:null,ariaBusy:O,ariaChecked:O,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:G,ariaCurrent:null,ariaDescribedBy:G,ariaDetails:null,ariaDisabled:O,ariaDropEffect:G,ariaErrorMessage:null,ariaExpanded:O,ariaFlowTo:G,ariaGrabbed:O,ariaHasPopup:null,ariaHidden:O,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:G,ariaLevel:F,ariaLive:null,ariaModal:O,ariaMultiLine:O,ariaMultiSelectable:O,ariaOrientation:null,ariaOwns:G,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:O,ariaReadOnly:O,ariaRelevant:null,ariaRequired:O,ariaRoleDescription:G,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:O,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null}});function P(M,de){return de==="role"?de:"aria-"+de.slice(4).toLowerCase()}},38567:function(Q,C,h){"use strict";var v=h(70167),I=h(79318),O=h(85804),F=v.boolean,G=v.overloadedBoolean,P=v.booleanish,M=v.number,de=v.spaceSeparated,ce=v.commaSeparated;Q.exports=I({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:O,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ce,acceptCharset:de,accessKey:de,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:de,autoFocus:F,autoPlay:F,capture:F,charSet:null,checked:F,cite:null,className:de,cols:M,colSpan:null,content:null,contentEditable:P,controls:F,controlsList:de,coords:M|ce,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:G,draggable:P,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:de,height:M,hidden:F,high:M,href:null,hrefLang:null,htmlFor:de,httpEquiv:de,id:null,imageSizes:null,imageSrcSet:ce,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:de,itemRef:de,itemScope:F,itemType:de,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:M,manifest:null,max:null,maxLength:M,media:null,method:null,min:null,minLength:M,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:F,optimum:M,pattern:null,ping:de,placeholder:null,playsInline:F,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:de,required:F,reversed:F,rows:M,rowSpan:M,sandbox:de,scope:null,scoped:F,seamless:F,selected:F,shape:null,size:M,sizes:null,slot:null,span:M,spellCheck:P,src:null,srcDoc:null,srcLang:null,srcSet:ce,start:M,step:null,style:null,tabIndex:M,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:P,width:M,wrap:null,align:null,aLink:null,archive:de,axis:null,background:null,bgColor:null,border:M,borderColor:null,bottomMargin:M,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:M,leftMargin:M,link:null,longDesc:null,lowSrc:null,marginHeight:M,marginWidth:M,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:M,rules:null,scheme:null,scrolling:P,standby:null,summary:null,text:null,topMargin:M,valueType:null,version:null,vAlign:null,vLink:null,vSpace:M,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F,disableRemotePlayback:F,prefix:null,property:null,results:M,security:null,unselectable:null}})},85804:function(Q,C,h){"use strict";var v=h(56432);Q.exports=I;function I(O,F){return v(O,F.toLowerCase())}},56432:function(Q){"use strict";Q.exports=C;function C(h,v){return v in h?h[v]:v}},79318:function(Q,C,h){"use strict";var v=h(47178),I=h(44347),O=h(19095);Q.exports=F;function F(G){var P=G.space,M=G.mustUseProperty||[],de=G.attributes||{},ce=G.properties,te=G.transform,Me={},we={},Qe,Oe;for(Qe in ce)Oe=new O(Qe,te(de,Qe),ce[Qe],P),M.indexOf(Qe)!==-1&&(Oe.mustUseProperty=!0),Me[Qe]=Oe,we[v(Qe)]=Qe,we[v(Oe.attribute)]=Qe;return new I(Me,we,P)}},19095:function(Q,C,h){"use strict";var v=h(1969),I=h(70167);Q.exports=G,G.prototype=new v,G.prototype.defined=!0;var O=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],F=O.length;function G(M,de,ce,te){var Me=-1,we;for(P(this,"space",te),v.call(this,M,de);++Me5&&arguments[5]!==void 0?arguments[5]:!1,Ve=arguments.length>6?arguments[6]:void 0,Ut=arguments.length>7?arguments[7]:void 0,Ot=te.useMemo(function(){if((0,M.Z)(kn)==="object")return kn.clearIcon;if(on)return on},[kn,on]),Gn=te.useMemo(function(){return!!(!Ct&&kn&&(gn.length||Ve)&&!(Ut==="combobox"&&Ve===""))},[kn,Ct,gn.length,Ve,Ut]);return{allowClear:Gn,clearIcon:te.createElement(fe,{className:"".concat(yt,"-clear"),onMouseDown:Ke,customizeIcon:Ot},"\xD7")}}var xe=te.createContext(null);function ge(){return te.useContext(xe)}function ke(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ke=te.useState(!1),gn=(0,G.Z)(Ke,2),kn=gn[0],on=gn[1],Ct=te.useRef(null),Ve=function(){window.clearTimeout(Ct.current)};te.useEffect(function(){return Ve},[]);var Ut=function(Gn,ot){Ve(),Ct.current=window.setTimeout(function(){on(Gn),ot&&ot()},yt)};return[kn,Ut,Ve]}function ee(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ke=te.useRef(null),gn=te.useRef(null);te.useEffect(function(){return function(){window.clearTimeout(gn.current)}},[]);function kn(on){(on||Ke.current===null)&&(Ke.current=on),window.clearTimeout(gn.current),gn.current=window.setTimeout(function(){Ke.current=null},yt)}return[function(){return Ke.current},kn]}function Ne(yt,Ke,gn,kn){var on=te.useRef(null);on.current={open:Ke,triggerOpen:gn,customizedTrigger:kn},te.useEffect(function(){function Ct(Ve){var Ut;if(!((Ut=on.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var Ot=Ve.target;Ot.shadowRoot&&Ve.composed&&(Ot=Ve.composedPath()[0]||Ot),on.current.open&&yt().filter(function(Gn){return Gn}).every(function(Gn){return!Gn.contains(Ot)&&Gn!==Ot})&&on.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ct),function(){return window.removeEventListener("mousedown",Ct)}},[])}var Ie=h(26112),Fe=h(11780),Xe=function(Ke,gn){var kn,on,Ct=Ke.prefixCls,Ve=Ke.id,Ut=Ke.inputElement,Ot=Ke.disabled,Gn=Ke.tabIndex,ot=Ke.autoFocus,un=Ke.autoComplete,vt=Ke.editable,je=Ke.activeDescendantId,L=Ke.value,Lt=Ke.maxLength,Qt=Ke.onKeyDown,mt=Ke.onMouseDown,vn=Ke.onChange,Cn=Ke.onPaste,ui=Ke.onCompositionStart,Nn=Ke.onCompositionEnd,st=Ke.open,Li=Ke.attrs,Qi=Ut||te.createElement("input",null),Kt=Qi,Ui=Kt.ref,J=Kt.props,oe=J.onKeyDown,Hn=J.onChange,Be=J.onMouseDown,Et=J.onCompositionStart,pi=J.onCompositionEnd,Rn=J.style;return(0,ce.Kp)(!("maxLength"in Qi.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Qi=te.cloneElement(Qi,(0,F.Z)((0,F.Z)((0,F.Z)({type:"search"},J),{},{id:Ve,ref:(0,Ae.sQ)(gn,Ui),disabled:Ot,tabIndex:Gn,autoComplete:un||"off",autoFocus:ot,className:we()("".concat(Ct,"-selection-search-input"),(kn=Qi)===null||kn===void 0||(on=kn.props)===null||on===void 0?void 0:on.className),role:"combobox","aria-label":"Search","aria-expanded":st||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ve,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ve,"_list"),"aria-activedescendant":st?je:void 0},Li),{},{value:vt?L:"",maxLength:Lt,readOnly:!vt,unselectable:vt?null:"on",style:(0,F.Z)((0,F.Z)({},Rn),{},{opacity:vt?null:0}),onKeyDown:function(Xt){Qt(Xt),oe&&oe(Xt)},onMouseDown:function(Xt){mt(Xt),Be&&Be(Xt)},onChange:function(Xt){vn(Xt),Hn&&Hn(Xt)},onCompositionStart:function(Xt){ui(Xt),Et&&Et(Xt)},onCompositionEnd:function(Xt){Nn(Xt),pi&&pi(Xt)},onPaste:Cn})),Qi},Ye=te.forwardRef(Xe);Ye.displayName="Input";var ie=Ye;function lt(yt){return Array.isArray(yt)?yt:yt!==void 0?[yt]:[]}var We=typeof window!="undefined"&&window.document&&window.document.documentElement,Pt=We;function xt(yt){return yt!=null}function kt(yt){return!yt&&yt!==0}function wt(yt){return["string","number"].includes((0,M.Z)(yt))}function En(yt){var Ke=void 0;return yt&&(wt(yt.title)?Ke=yt.title.toString():wt(yt.label)&&(Ke=yt.label.toString())),Ke}function Je(yt,Ke){Pt?te.useLayoutEffect(yt,Ke):te.useEffect(yt,Ke)}function se(yt){var Ke;return(Ke=yt.key)!==null&&Ke!==void 0?Ke:yt.value}var ue=function(Ke){Ke.preventDefault(),Ke.stopPropagation()},Ht=function(Ke){var gn=Ke.id,kn=Ke.prefixCls,on=Ke.values,Ct=Ke.open,Ve=Ke.searchValue,Ut=Ke.autoClearSearchValue,Ot=Ke.inputRef,Gn=Ke.placeholder,ot=Ke.disabled,un=Ke.mode,vt=Ke.showSearch,je=Ke.autoFocus,L=Ke.autoComplete,Lt=Ke.activeDescendantId,Qt=Ke.tabIndex,mt=Ke.removeIcon,vn=Ke.maxTagCount,Cn=Ke.maxTagTextLength,ui=Ke.maxTagPlaceholder,Nn=ui===void 0?function(vr){return"+ ".concat(vr.length," ...")}:ui,st=Ke.tagRender,Li=Ke.onToggleOpen,Qi=Ke.onRemove,Kt=Ke.onInputChange,Ui=Ke.onInputPaste,J=Ke.onInputKeyDown,oe=Ke.onInputMouseDown,Hn=Ke.onInputCompositionStart,Be=Ke.onInputCompositionEnd,Et=te.useRef(null),pi=(0,te.useState)(0),Rn=(0,G.Z)(pi,2),_i=Rn[0],Xt=Rn[1],Ei=(0,te.useState)(!1),Zt=(0,G.Z)(Ei,2),Pi=Zt[0],Yr=Zt[1],It="".concat(kn,"-selection"),Jr=Ct||un==="multiple"&&Ut===!1||un==="tags"?Ve:"",Jt=un==="tags"||un==="multiple"&&Ut===!1||vt&&(Ct||Pi);Je(function(){Xt(Et.current.scrollWidth)},[Jr]);function Ri(vr,Cr,dr,Br,Ji){return te.createElement("span",{className:we()("".concat(It,"-item"),(0,O.Z)({},"".concat(It,"-item-disabled"),dr)),title:En(vr)},te.createElement("span",{className:"".concat(It,"-item-content")},Cr),Br&&te.createElement(fe,{className:"".concat(It,"-item-remove"),onMouseDown:ue,onClick:Ji,customizeIcon:mt},"\xD7"))}function Ci(vr,Cr,dr,Br,Ji){var Fi=function(cr){ue(cr),Li(!Ct)};return te.createElement("span",{onMouseDown:Fi},st({label:Cr,value:vr,disabled:dr,closable:Br,onClose:Ji}))}function mr(vr){var Cr=vr.disabled,dr=vr.label,Br=vr.value,Ji=!ot&&!Cr,Fi=dr;if(typeof Cn=="number"&&(typeof dr=="string"||typeof dr=="number")){var Mi=String(Fi);Mi.length>Cn&&(Fi="".concat(Mi.slice(0,Cn),"..."))}var cr=function(Rr){Rr&&Rr.stopPropagation(),Qi(vr)};return typeof st=="function"?Ci(Br,Fi,Cr,Ji,cr):Ri(vr,Fi,Cr,Ji,cr)}function ar(vr){var Cr=typeof Nn=="function"?Nn(vr):Nn;return Ri({title:Cr},Cr,!1)}var Kn=te.createElement("div",{className:"".concat(It,"-search"),style:{width:_i},onFocus:function(){Yr(!0)},onBlur:function(){Yr(!1)}},te.createElement(ie,{ref:Ot,open:Ct,prefixCls:kn,id:gn,inputElement:null,disabled:ot,autoFocus:je,autoComplete:L,editable:Jt,activeDescendantId:Lt,value:Jr,onKeyDown:J,onMouseDown:oe,onChange:Kt,onPaste:Ui,onCompositionStart:Hn,onCompositionEnd:Be,tabIndex:Qt,attrs:(0,Ie.Z)(Ke,!0)}),te.createElement("span",{ref:Et,className:"".concat(It,"-search-mirror"),"aria-hidden":!0},Jr,"\xA0")),he=te.createElement(Fe.Z,{prefixCls:"".concat(It,"-overflow"),data:on,renderItem:mr,renderRest:ar,suffix:Kn,itemKey:se,maxCount:vn});return te.createElement(te.Fragment,null,he,!on.length&&!Jr&&te.createElement("span",{className:"".concat(It,"-placeholder")},Gn))},Vt=Ht,St=function(Ke){var gn=Ke.inputElement,kn=Ke.prefixCls,on=Ke.id,Ct=Ke.inputRef,Ve=Ke.disabled,Ut=Ke.autoFocus,Ot=Ke.autoComplete,Gn=Ke.activeDescendantId,ot=Ke.mode,un=Ke.open,vt=Ke.values,je=Ke.placeholder,L=Ke.tabIndex,Lt=Ke.showSearch,Qt=Ke.searchValue,mt=Ke.activeValue,vn=Ke.maxLength,Cn=Ke.onInputKeyDown,ui=Ke.onInputMouseDown,Nn=Ke.onInputChange,st=Ke.onInputPaste,Li=Ke.onInputCompositionStart,Qi=Ke.onInputCompositionEnd,Kt=Ke.title,Ui=te.useState(!1),J=(0,G.Z)(Ui,2),oe=J[0],Hn=J[1],Be=ot==="combobox",Et=Be||Lt,pi=vt[0],Rn=Qt||"";Be&&mt&&!oe&&(Rn=mt),te.useEffect(function(){Be&&Hn(!1)},[Be,mt]);var _i=ot!=="combobox"&&!un&&!Lt?!1:!!Rn,Xt=Kt===void 0?En(pi):Kt,Ei=function(){if(pi)return null;var Pi=_i?{visibility:"hidden"}:void 0;return te.createElement("span",{className:"".concat(kn,"-selection-placeholder"),style:Pi},je)};return te.createElement(te.Fragment,null,te.createElement("span",{className:"".concat(kn,"-selection-search")},te.createElement(ie,{ref:Ct,prefixCls:kn,id:on,open:un,inputElement:gn,disabled:Ve,autoFocus:Ut,autoComplete:Ot,editable:Et,activeDescendantId:Gn,value:Rn,onKeyDown:Cn,onMouseDown:ui,onChange:function(Pi){Hn(!0),Nn(Pi)},onPaste:st,onCompositionStart:Li,onCompositionEnd:Qi,tabIndex:L,attrs:(0,Ie.Z)(Ke,!0),maxLength:Be?vn:void 0})),!Be&&pi?te.createElement("span",{className:"".concat(kn,"-selection-item"),title:Xt,style:_i?{visibility:"hidden"}:void 0},pi.label):null,Ei())},an=St;function Ft(yt){return![Te.Z.ESC,Te.Z.SHIFT,Te.Z.BACKSPACE,Te.Z.TAB,Te.Z.WIN_KEY,Te.Z.ALT,Te.Z.META,Te.Z.WIN_KEY_RIGHT,Te.Z.CTRL,Te.Z.SEMICOLON,Te.Z.EQUALS,Te.Z.CAPS_LOCK,Te.Z.CONTEXT_MENU,Te.Z.F1,Te.Z.F2,Te.Z.F3,Te.Z.F4,Te.Z.F5,Te.Z.F6,Te.Z.F7,Te.Z.F8,Te.Z.F9,Te.Z.F10,Te.Z.F11,Te.Z.F12].includes(yt)}var ai=function(Ke,gn){var kn=(0,te.useRef)(null),on=(0,te.useRef)(!1),Ct=Ke.prefixCls,Ve=Ke.open,Ut=Ke.mode,Ot=Ke.showSearch,Gn=Ke.tokenWithEnter,ot=Ke.autoClearSearchValue,un=Ke.onSearch,vt=Ke.onSearchSubmit,je=Ke.onToggleOpen,L=Ke.onInputKeyDown,Lt=Ke.domRef;te.useImperativeHandle(gn,function(){return{focus:function(){kn.current.focus()},blur:function(){kn.current.blur()}}});var Qt=ee(0),mt=(0,G.Z)(Qt,2),vn=mt[0],Cn=mt[1],ui=function(Rn){var _i=Rn.which;(_i===Te.Z.UP||_i===Te.Z.DOWN)&&Rn.preventDefault(),L&&L(Rn),_i===Te.Z.ENTER&&Ut==="tags"&&!on.current&&!Ve&&(vt==null||vt(Rn.target.value)),Ft(_i)&&je(!0)},Nn=function(){Cn(!0)},st=(0,te.useRef)(null),Li=function(Rn){un(Rn,!0,on.current)!==!1&&je(!0)},Qi=function(){on.current=!0},Kt=function(Rn){on.current=!1,Ut!=="combobox"&&Li(Rn.target.value)},Ui=function(Rn){var _i=Rn.target.value;if(Gn&&st.current&&/[\r\n]/.test(st.current)){var Xt=st.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");_i=_i.replace(Xt,st.current)}st.current=null,Li(_i)},J=function(Rn){var _i=Rn.clipboardData,Xt=_i.getData("text");st.current=Xt},oe=function(Rn){var _i=Rn.target;if(_i!==kn.current){var Xt=document.body.style.msTouchAction!==void 0;Xt?setTimeout(function(){kn.current.focus()}):kn.current.focus()}},Hn=function(Rn){var _i=vn();Rn.target!==kn.current&&!_i&&Ut!=="combobox"&&Rn.preventDefault(),(Ut!=="combobox"&&(!Ot||!_i)||!Ve)&&(Ve&&ot!==!1&&un("",!0,!1),je())},Be={inputRef:kn,onInputKeyDown:ui,onInputMouseDown:Nn,onInputChange:Ui,onInputPaste:J,onInputCompositionStart:Qi,onInputCompositionEnd:Kt},Et=Ut==="multiple"||Ut==="tags"?te.createElement(Vt,(0,v.Z)({},Ke,Be)):te.createElement(an,(0,v.Z)({},Ke,Be));return te.createElement("div",{ref:Lt,className:"".concat(Ct,"-selector"),onClick:oe,onMouseDown:Hn},Et)},Ln=te.forwardRef(ai);Ln.displayName="Selector";var ni=Ln,Jn=h(35593),In=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Mn=function(Ke){var gn=Ke===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:gn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:gn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:gn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:gn,adjustY:1},htmlRegion:"scroll"}}},re=function(Ke,gn){var kn=Ke.prefixCls,on=Ke.disabled,Ct=Ke.visible,Ve=Ke.children,Ut=Ke.popupElement,Ot=Ke.animation,Gn=Ke.transitionName,ot=Ke.dropdownStyle,un=Ke.dropdownClassName,vt=Ke.direction,je=vt===void 0?"ltr":vt,L=Ke.placement,Lt=Ke.builtinPlacements,Qt=Ke.dropdownMatchSelectWidth,mt=Ke.dropdownRender,vn=Ke.dropdownAlign,Cn=Ke.getPopupContainer,ui=Ke.empty,Nn=Ke.getTriggerDOMNode,st=Ke.onPopupVisibleChange,Li=Ke.onPopupMouseEnter,Qi=(0,P.Z)(Ke,In),Kt="".concat(kn,"-dropdown"),Ui=Ut;mt&&(Ui=mt(Ut));var J=te.useMemo(function(){return Lt||Mn(Qt)},[Lt,Qt]),oe=Ot?"".concat(Kt,"-").concat(Ot):Gn,Hn=typeof Qt=="number",Be=te.useMemo(function(){return Hn?null:Qt===!1?"minWidth":"width"},[Qt,Hn]),Et=ot;Hn&&(Et=(0,F.Z)((0,F.Z)({},Et),{},{width:Qt}));var pi=te.useRef(null);return te.useImperativeHandle(gn,function(){return{getPopupElement:function(){return pi.current}}}),te.createElement(Jn.Z,(0,v.Z)({},Qi,{showAction:st?["click"]:[],hideAction:st?["click"]:[],popupPlacement:L||(je==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:J,prefixCls:Kt,popupTransitionName:oe,popup:te.createElement("div",{ref:pi,onMouseEnter:Li},Ui),stretch:Be,popupAlign:vn,popupVisible:Ct,getPopupContainer:Cn,popupClassName:we()(un,(0,O.Z)({},"".concat(Kt,"-empty"),ui)),popupStyle:Et,getTriggerDOMNode:Nn,onPopupVisibleChange:st}),Ve)},z=te.forwardRef(re);z.displayName="SelectTrigger";var k=z,j=h(34589);function X(yt,Ke){var gn=yt.key,kn;return"value"in yt&&(kn=yt.value),gn!=null?gn:kn!==void 0?kn:"rc-index-key-".concat(Ke)}function N(yt,Ke){var gn=yt||{},kn=gn.label,on=gn.value,Ct=gn.options,Ve=gn.groupLabel,Ut=kn||(Ke?"children":"label");return{label:Ut,value:on||"value",options:Ct||"options",groupLabel:Ve||Ut}}function _e(yt){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gn=Ke.fieldNames,kn=Ke.childrenAsData,on=[],Ct=N(gn,!1),Ve=Ct.label,Ut=Ct.value,Ot=Ct.options,Gn=Ct.groupLabel;function ot(un,vt){un.forEach(function(je){if(vt||!(Ot in je)){var L=je[Ut];on.push({key:X(je,on.length),groupOption:vt,data:je,label:je[Ve],value:L})}else{var Lt=je[Gn];Lt===void 0&&kn&&(Lt=je.label),on.push({key:X(je,on.length),group:!0,data:je,label:Lt}),ot(je[Ot],!0)}})}return ot(yt,!1),on}function Nt(yt){var Ke=(0,F.Z)({},yt);return"props"in Ke||Object.defineProperty(Ke,"props",{get:function(){return(0,ce.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ke}}),Ke}function He(yt,Ke){if(!Ke||!Ke.length)return null;var gn=!1;function kn(Ct,Ve){var Ut=(0,j.Z)(Ve),Ot=Ut[0],Gn=Ut.slice(1);if(!Ot)return[Ct];var ot=Ct.split(Ot);return gn=gn||ot.length>1,ot.reduce(function(un,vt){return[].concat((0,I.Z)(un),(0,I.Z)(kn(vt,Gn)))},[]).filter(function(un){return un})}var on=kn(yt,Ke);return gn?on:null}var De=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],gt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function ut(yt){return yt==="tags"||yt==="multiple"}var nt=te.forwardRef(function(yt,Ke){var gn,kn,on=yt.id,Ct=yt.prefixCls,Ve=yt.className,Ut=yt.showSearch,Ot=yt.tagRender,Gn=yt.direction,ot=yt.omitDomProps,un=yt.displayValues,vt=yt.onDisplayValuesChange,je=yt.emptyOptions,L=yt.notFoundContent,Lt=L===void 0?"Not Found":L,Qt=yt.onClear,mt=yt.mode,vn=yt.disabled,Cn=yt.loading,ui=yt.getInputElement,Nn=yt.getRawInputElement,st=yt.open,Li=yt.defaultOpen,Qi=yt.onDropdownVisibleChange,Kt=yt.activeValue,Ui=yt.onActiveValueChange,J=yt.activeDescendantId,oe=yt.searchValue,Hn=yt.autoClearSearchValue,Be=yt.onSearch,Et=yt.onSearchSplit,pi=yt.tokenSeparators,Rn=yt.allowClear,_i=yt.suffixIcon,Xt=yt.clearIcon,Ei=yt.OptionList,Zt=yt.animation,Pi=yt.transitionName,Yr=yt.dropdownStyle,It=yt.dropdownClassName,Jr=yt.dropdownMatchSelectWidth,Jt=yt.dropdownRender,Ri=yt.dropdownAlign,Ci=yt.placement,mr=yt.builtinPlacements,ar=yt.getPopupContainer,Kn=yt.showAction,he=Kn===void 0?[]:Kn,vr=yt.onFocus,Cr=yt.onBlur,dr=yt.onKeyUp,Br=yt.onKeyDown,Ji=yt.onMouseDown,Fi=(0,P.Z)(yt,De),Mi=ut(mt),cr=(Ut!==void 0?Ut:Mi)||mt==="combobox",Ki=(0,F.Z)({},Fi);gt.forEach(function(Wr){delete Ki[Wr]}),ot==null||ot.forEach(function(Wr){delete Ki[Wr]});var Rr=te.useState(!1),Gr=(0,G.Z)(Rr,2),to=Gr[0],Fo=Gr[1];te.useEffect(function(){Fo((0,Oe.Z)())},[]);var fi=te.useRef(null),ma=te.useRef(null),jo=te.useRef(null),da=te.useRef(null),Ta=te.useRef(null),Ya=ke(),ns=(0,G.Z)(Ya,3),Na=ns[0],cs=ns[1],Za=ns[2];te.useImperativeHandle(Ke,function(){var Wr,wo;return{focus:(Wr=da.current)===null||Wr===void 0?void 0:Wr.focus,blur:(wo=da.current)===null||wo===void 0?void 0:wo.blur,scrollTo:function(oa){var ro;return(ro=Ta.current)===null||ro===void 0?void 0:ro.scrollTo(oa)}}});var Go=te.useMemo(function(){var Wr;if(mt!=="combobox")return oe;var wo=(Wr=un[0])===null||Wr===void 0?void 0:Wr.value;return typeof wo=="string"||typeof wo=="number"?String(wo):""},[oe,mt,un]),Wt=mt==="combobox"&&typeof ui=="function"&&ui()||null,Ba=typeof Nn=="function"&&Nn(),eu=(0,Ae.x1)(ma,Ba==null||(gn=Ba.props)===null||gn===void 0?void 0:gn.ref),ol=te.useState(!1),fo=(0,G.Z)(ol,2),Ao=fo[0],vo=fo[1];(0,Qe.Z)(function(){vo(!0)},[]);var Mt=(0,de.Z)(!1,{defaultValue:Li,value:st}),Pr=(0,G.Z)(Mt,2),po=Pr[0],Ea=Pr[1],xr=Ao?po:!1,Sn=!Lt&&je;(vn||Sn&&xr&&mt==="combobox")&&(xr=!1);var hr=Sn?!1:xr,mi=te.useCallback(function(Wr){var wo=Wr!==void 0?Wr:!xr;vn||(Ea(wo),xr!==wo&&(Qi==null||Qi(wo)))},[vn,xr,Ea,Qi]),Vo=te.useMemo(function(){return(pi||[]).some(function(Wr){return[` + `;_e.innerHTML=It,T.appendChild(_e),k.styleBoxes.push(T)}),j},z.prototype.setCurrentStyle=function(k,j){var X=this;this.currentStyle=k,this.styleBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},z}(Ce),Ie=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.strokeColor=X.defaultColor,T.strokeWidth=X.defaultStrokeWidth,T.strokeDasharray=X.defaultStrokeDasharray,T.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),T.strokePanel.onColorChanged=T.setStrokeColor,T.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),T.strokeWidthPanel.onWidthChanged=T.setStrokeWidth,T.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),T.strokeStylePanel.onStyleChanged=T.setStrokeDasharray,T}return I(z,ie),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=ie.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="FrameMarker",z.title="Frame marker",z.icon='',z}(ke),Le=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Je=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.x1=0,T.y1=0,T.x2=0,T.y2=0,T.defaultLength=50,T.manipulationStartX=0,T.manipulationStartY=0,T.manipulationStartX1=0,T.manipulationStartY1=0,T.manipulationStartX2=0,T.manipulationStartY2=0,T.setupControlBox(),T}return I(z,ie),z.prototype.ownsTarget=function(k){return!!ie.prototype.ownsTarget.call(this,k)||!(!this.grip1.ownsTarget(k)&&!this.grip2.ownsTarget(k))},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.manipulationStartX=k.x,this.manipulationStartY=k.y,this.state==="new"&&(this.x1=k.x,this.y1=k.y,this.x2=k.x,this.y2=k.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(j)?this.activeGrip=this.grip1:this.grip2.ownsTarget(j)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},z.prototype.pointerUp=function(k){var j=this.state;ie.prototype.pointerUp.call(this,k),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(k),this._state="select",j==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},z.prototype.adjustVisual=function(){},z.prototype.manipulate=function(k){this.state==="creating"?this.resize(k):this.state==="move"?(this.x1=this.manipulationStartX1+k.x-this.manipulationStartX,this.y1=this.manipulationStartY1+k.y-this.manipulationStartY,this.x2=this.manipulationStartX2+k.x-this.manipulationStartX,this.y2=this.manipulationStartY2+k.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(k)},z.prototype.resize=function(k){switch(this.activeGrip){case this.grip1:this.x1=k.x,this.y1=k.y;break;case this.grip2:case void 0:this.x2=k.x,this.y2=k.y}this.adjustVisual(),this.adjustControlBox()},z.prototype.select=function(){ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},z.prototype.deselect=function(){ie.prototype.deselect.call(this),this.controlBox.style.display="none"},z.prototype.setupControlBox=function(){this.controlBox=F.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},z.prototype.adjustControlBox=function(){this.positionGrips()},z.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},z.prototype.createGrip=function(){var k=new pe;return k.visual.transform.baseVal.appendItem(F.createTransform()),this.controlBox.appendChild(k.visual),k},z.prototype.positionGrips=function(){var k=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-k/2,this.y1-k/2),this.positionGrip(this.grip2.visual,this.x2-k/2,this.y2-k/2)},z.prototype.positionGrip=function(k,j,X){var T=k.transform.baseVal.getItem(0);T.setTranslate(j,X),k.transform.baseVal.replaceItem(T,0)},z.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ie.prototype.getState.call(this))},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k);var j=k;this.x1=j.x1,this.y1=j.y1,this.x2=j.x2,this.y2=j.y2},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j),this.x1=this.x1*k,this.y1=this.y1*j,this.x2=this.x2*k,this.y2=this.y2*j,this.adjustVisual(),this.adjustControlBox()},z}(Pe),Ye=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.strokeColor="transparent",T.strokeWidth=0,T.strokeDasharray="",T.setStrokeColor=T.setStrokeColor.bind(T),T.setStrokeWidth=T.setStrokeWidth.bind(T),T.setStrokeDasharray=T.setStrokeDasharray.bind(T),T.strokeColor=X.defaultColor,T.strokeWidth=X.defaultStrokeWidth,T.strokeDasharray=X.defaultStrokeDasharray,T.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),T.strokePanel.onColorChanged=T.setStrokeColor,T.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),T.strokeWidthPanel.onWidthChanged=T.setStrokeWidth,T.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),T.strokeStylePanel.onStyleChanged=T.setStrokeDasharray,T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.selectorLine&&k!==this.visibleLine)},z.prototype.createVisual=function(){this.visual=F.createGroup(),this.selectorLine=F.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=F.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},z.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),F.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),F.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),F.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.adjustVisual(),this.colorChanged(k)},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.adjustVisual()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.adjustVisual(),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ie.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k);var j=k;this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.createVisual(),this.adjustVisual()},z.typeName="LineMarker",z.title="Line marker",z.icon='',z}(Je),re=function(ie){function z(k,j,X,T){var _e=ie.call(this,k,T||'')||this;return _e.fonts=[],_e.fontBoxes=[],_e.fonts=j,_e.currentFont=X,_e.setCurrentFont=_e.setCurrentFont.bind(_e),_e}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.overflow="hidden",j.style.flexGrow="2",this.fonts.forEach(function(X){var T=document.createElement("div");T.style.display="inline-block",T.style.alignItems="center",T.style.justifyContent="space-between",T.style.padding="5px",T.style.borderWidth="2px",T.style.borderStyle="solid",T.style.overflow="hidden",T.style.maxWidth=100/k.fonts.length-5+"%",T.style.borderColor=X===k.currentFont?k.uiStyleSettings.toolboxAccentColor:"transparent",T.addEventListener("click",function(){k.setCurrentFont(X,T)}),j.appendChild(T);var _e=document.createElement("div");_e.style.display="flex",_e.style.minHeight="20px",_e.style.flexGrow="2",_e.style.fontFamily=X,_e.style.overflow="hidden";var It=document.createElement("div");It.style.whiteSpace="nowrap",It.style.overflow="hidden",It.style.textOverflow="ellipsis",It.innerHTML="The quick brown fox jumps over the lazy dog",_e.appendChild(It),T.appendChild(_e),k.fontBoxes.push(T)}),j},z.prototype.setCurrentFont=function(k,j){var X=this;this.currentFont=k,this.fontBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},z}(Ce),lt=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.color="transparent",T.padding=5,T.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",T.text=T.DEFAULT_TEXT,T.isMoved=!1,T.color=X.defaultColor,T.fontFamily=X.defaultFontFamily,T.defaultSize={x:100,y:30},T.setColor=T.setColor.bind(T),T.setFont=T.setFont.bind(T),T.renderText=T.renderText.bind(T),T.sizeText=T.sizeText.bind(T),T.textEditDivClicked=T.textEditDivClicked.bind(T),T.showTextEditor=T.showTextEditor.bind(T),T.setSize=T.setSize.bind(T),T.positionTextEditor=T.positionTextEditor.bind(T),T.colorPanel=new Ae("Color",X.defaultColorSet,X.defaultColor),T.colorPanel.onColorChanged=T.setColor,T.fontFamilyPanel=new re("Font",X.defaultFontFamilies,X.defaultFontFamily),T.fontFamilyPanel.onFontChanged=T.setFont,T}return I(z,ie),z.prototype.ownsTarget=function(k){if(ie.prototype.ownsTarget.call(this,k)||k===this.visual||k===this.textElement||k===this.bgRectangle)return!0;var j=!1;return this.textElement.childNodes.forEach(function(X){X===k&&(j=!0)}),j},z.prototype.createVisual=function(){this.visual=F.createGroup(),this.bgRectangle=F.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=F.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(F.createTransform()),this.textElement.transform.baseVal.appendItem(F.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.isMoved=!1,this.pointerDownPoint=k,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.renderText=function(){var k=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(j){k.textElement.appendChild(F.createTSpan(j.trim()===""?" ":j.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},z.prototype.getTextScale=function(){var k=this.textElement.getBBox(),j=1;if(k.width>0&&k.height>0){var X=(1*this.width-this.width*this.padding*2/100)/k.width,T=(1*this.height-this.height*this.padding*2/100)/k.height;j=Math.min(X,T)}return j},z.prototype.getTextPosition=function(k){var j=this.textElement.getBBox(),X=0,T=0;return j.width>0&&j.height>0&&(X=(this.width-j.width*k)/2,T=this.height/2-j.height*k/2),{x:X,y:T}},z.prototype.sizeText=function(){var k=this.textElement.getBBox(),j=this.getTextScale(),X=this.getTextPosition(j);X.y-=k.y*j,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+X.x+"px, "+X.y+"px) scale("+j+", "+j+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(X.x,X.y),this.textElement.transform.baseVal.getItem(1).setScale(j,j))},z.prototype.manipulate=function(k){ie.prototype.manipulate.call(this,k),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(k.x-this.pointerDownPoint.x)>5||Math.abs(k.y-this.pointerDownPoint.y)>5)},z.prototype.resize=function(k){ie.prototype.resize.call(this,k),this.isMoved=!0,this.setSize(),this.sizeText()},z.prototype.setSize=function(){ie.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(F.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),F.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},z.prototype.pointerUp=function(k){var j=this.state;j==="creating"&&(this._suppressMarkerCreateEvent=!0),ie.prototype.pointerUp.call(this,k),this.setSize(),(j==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},z.prototype.showTextEditor=function(){var k=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(j){j.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var j=Number.parseFloat(k.textEditor.style.fontSize);k.textEditor.clientWidth>=Number.parseInt(k.textEditor.style.maxWidth)&&j>.9;)j-=.1,k.textEditor.style.fontSize=Math.max(j,.9)+"em"}),this.textEditor.addEventListener("keyup",function(j){j.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(j){if(j.clipboardData){var X=j.clipboardData.getData("text"),T=window.getSelection();if(!T.rangeCount)return!1;T.deleteFromDocument(),T.getRangeAt(0).insertNode(document.createTextNode(X)),j.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){k.textEditDivClicked(k.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},z.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var k=this.getTextScale(),j=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),X=this.textElement.getBBox(),T={x:X.width*k,y:X.height*k};j.x-=T.x/2,j.y-=T.y/2,this.textEditor.style.top=j.y+"px",this.textEditor.style.left=j.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-j.x+"px",this.textEditor.style.fontSize=Math.max(16*k,12)+"px",this.textElement.style.display="none"}},z.prototype.textEditDivClicked=function(k){this.text=k.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},z.prototype.select=function(){ie.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},z.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ie.prototype.deselect.call(this)},z.prototype.dblClick=function(k,j){ie.prototype.dblClick.call(this,k,j),this.showTextEditor()},z.prototype.setColor=function(k){this.textElement&&F.setAttributes(this.textElement,[["fill",k]]),this.color=k,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(k)},z.prototype.setFont=function(k){this.textElement&&F.setAttributes(this.textElement,[["font-family",k]]),this.fontFamily=k,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},z.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},z.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ie.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){var j=k;this.color=j.color,this.fontFamily=j.fontFamily,this.padding=j.padding,this.text=j.text,this.createVisual(),ie.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j),this.setSize(),this.sizeText(),this.positionTextEditor()},z.typeName="TextMarker",z.title="Text marker",z.icon='',z}(me),We=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.color="transparent",T.lineWidth=3,T.drawing=!1,T.pixelRatio=1,T.color=X.defaultColor,T.lineWidth=X.defaultStrokeWidth,T.pixelRatio=X.freehandPixelRatio,T.setColor=T.setColor.bind(T),T.addCanvas=T.addCanvas.bind(T),T.finishCreation=T.finishCreation.bind(T),T.setLineWidth=T.setLineWidth.bind(T),T.colorPanel=new Ae("Color",X.defaultColorSet,X.defaultColor),T.colorPanel.onColorChanged=T.setColor,T.lineWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),T.lineWidthPanel.onWidthChanged=T.setLineWidth,T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.drawingImage)},z.prototype.createVisual=function(){this.visual=F.createGroup(),this.drawingImage=F.createImage(),this.visual.appendChild(this.drawingImage);var k=F.createTransform();this.visual.transform.baseVal.appendItem(k),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(k.x,k.y),this.drawing=!0):ie.prototype.pointerDown.call(this,k,j)},z.prototype.manipulate=function(k){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(k.x,k.y),this.canvasContext.stroke()):ie.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){ie.prototype.resize.call(this,k),F.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),F.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},z.prototype.pointerUp=function(k){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ie.prototype.pointerUp.call(this,k)},z.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},z.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ie.prototype.select.call(this)},z.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ie.prototype.deselect.call(this)},z.prototype.finishCreation=function(){for(var k=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),j=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],X=j[0],T=j[1],_e=j[2],It=j[3],$e=!1,De=0;De0&&($e=!0,DeIt&&(It=De),gt>_e&&(_e=gt));if($e){this.left=X/this.pixelRatio,this.top=T/this.pixelRatio,this.width=(_e-X)/this.pixelRatio,this.height=(It-T)/this.pixelRatio;var ut=document.createElement("canvas");ut.width=_e-X,ut.height=It-T,ut.getContext("2d").putImageData(this.canvasContext.getImageData(X,T,_e-X,It-T),0,0),this.drawingImgUrl=ut.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},z.prototype.setDrawingImage=function(){F.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),F.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},z.prototype.setColor=function(k){this.color=k,this.colorChanged(k)},z.prototype.setLineWidth=function(k){this.lineWidth=k},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({drawingImgUrl:this.drawingImgUrl},ie.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){this.createVisual(),ie.prototype.restoreState.call(this,k),this.drawingImgUrl=k.drawingImgUrl,this.setDrawingImage()},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j),this.setDrawingImage()},z.typeName="FreehandMarker",z.title="Freehand marker",z.icon='',z}(me),Pt=function(ie){function z(k,j,X){var T=ie.call(this,k,X||'')||this;return T.typeBoxes=[],T.currentType=j,T.setCurrentType=T.setCurrentType.bind(T),T}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2";for(var X=function(It){var $e="both";switch(It){case 0:$e="both";break;case 1:$e="start";break;case 2:$e="end";break;case 3:$e="none"}var De=document.createElement("div");if(De.style.display="flex",De.style.flexGrow="2",De.style.alignItems="center",De.style.justifyContent="space-between",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderColor=$e===T.currentType?T.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){k.setCurrentType($e,De)}),j.appendChild(De),$e==="both"||$e==="start"){var gt=document.createElement("div");gt.style.display="flex",gt.style.alignItems="center",gt.style.minHeight="20px",gt.innerHTML=` + + `,gt.style.marginLeft="5px",De.appendChild(gt)}var ut=document.createElement("div");ut.style.display="flex",ut.style.alignItems="center",ut.style.minHeight="20px",ut.style.flexGrow="2";var tt=document.createElement("hr");if(tt.style.minWidth="20px",tt.style.border="0px",tt.style.borderTop="3px solid "+(T.uiStyleSettings!==void 0?T.uiStyleSettings.toolboxColor:"#eeeeee"),tt.style.flexGrow="2",ut.appendChild(tt),De.appendChild(ut),$e==="both"||$e==="end"){var Et=document.createElement("div");Et.style.display="flex",Et.style.alignItems="center",Et.style.minHeight="20px",Et.innerHTML=` + + `,Et.style.marginRight="5px",De.appendChild(Et)}T.typeBoxes.push(De)},T=this,_e=0;_e<4;_e++)X(_e);return j},z.prototype.setCurrentType=function(k,j){var X=this;this.currentType=k,this.typeBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings!==void 0?X.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},z}(Ce),xt=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.arrowType="end",T.arrowBaseHeight=10,T.arrowBaseWidth=10,T.getArrowPoints=T.getArrowPoints.bind(T),T.setArrowType=T.setArrowType.bind(T),T.arrowTypePanel=new Pt("Arrow type","end"),T.arrowTypePanel.onArrowTypeChanged=T.setArrowType,T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.arrow1&&k!==this.arrow2)},z.prototype.getArrowPoints=function(k,j){var X=this.arrowBaseWidth+2*this.strokeWidth,T=this.arrowBaseHeight+2*this.strokeWidth;return k-X/2+","+(j+T/2)+" "+k+","+(j-T/2)+" "+(k+X/2)+","+(j+T/2)},z.prototype.createTips=function(){this.arrow1=F.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(F.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=F.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(F.createTransform()),this.visual.appendChild(this.arrow2)},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.state==="creating"&&this.createTips()},z.prototype.adjustVisual=function(){if(ie.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",F.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),F.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var k=0;Math.abs(this.x1-this.x2)>.1&&(k=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var j=this.arrow1.transform.baseVal.getItem(0);j.setRotate(k,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(j,0);var X=this.arrow2.transform.baseVal.getItem(0);X.setRotate(k+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(X,0)}},z.prototype.setArrowType=function(k){this.arrowType=k,this.adjustVisual(),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({arrowType:this.arrowType},ie.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k);var j=k;this.arrowType=j.arrowType,this.createTips(),this.adjustVisual()},z.typeName="ArrowMarker",z.title="Arrow marker",z.icon='',z}(Ye),kt=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.fillColor=X.defaultFillColor,T.strokeWidth=0,T.fillPanel=new Ae("Color",X.defaultColorSet,X.defaultFillColor),T.fillPanel.onColorChanged=T.setFillColor,T}return I(z,ie),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=ie.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="CoverMarker",z.title="Cover marker",z.icon='',z}(ke),Ct=function(ie){function z(k,j,X,T){var _e=ie.call(this,k,T||'')||this;return _e.opacities=[],_e.opacityBoxes=[],_e.opacities=j,_e.currentOpacity=X,_e.setCurrentOpacity=_e.setCurrentOpacity.bind(_e),_e}return I(z,ie),z.prototype.getUi=function(){var k=this,j=document.createElement("div");return j.style.display="flex",j.style.overflow="hidden",j.style.flexGrow="2",j.style.justifyContent="space-between",this.opacities.forEach(function(X){var T=document.createElement("div");T.style.display="flex",T.style.alignItems="center",T.style.justifyContent="center",T.style.padding="5px",T.style.borderWidth="2px",T.style.borderStyle="solid",T.style.borderColor=X===k.currentOpacity?k.uiStyleSettings.toolboxAccentColor:"transparent",T.addEventListener("click",function(){k.setCurrentOpacity(X,T)}),j.appendChild(T);var _e=document.createElement("div");_e.innerText=100*X+"%",T.appendChild(_e),k.opacityBoxes.push(T)}),j},z.prototype.setCurrentOpacity=function(k,j){var X=this;this.currentOpacity=k,this.opacityBoxes.forEach(function(T){T.style.borderColor=T===j?X.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},z}(Ce),Cn=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.setOpacity=T.setOpacity.bind(T),T.fillColor=X.defaultHighlightColor,T.strokeWidth=0,T.opacity=X.defaultHighlightOpacity,T.fillPanel=new Ae("Color",X.defaultColorSet,T.fillColor),T.fillPanel.onColorChanged=T.setFillColor,T.opacityPanel=new Ct("Opacity",X.defaultOpacitySteps,T.opacity),T.opacityPanel.onOpacityChanged=T.setOpacity,T}return I(z,ie),z.prototype.setOpacity=function(k){this.opacity=k,this.visual&&F.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=ie.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="HighlightMarker",z.title="Highlight marker",z.icon='',z}(kt),Qe='',le='',ce=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.bgColor="transparent",T.tipPosition={x:0,y:0},T.tipBase1Position={x:0,y:0},T.tipBase2Position={x:0,y:0},T.tipMoving=!1,T.color=X.defaultStrokeColor,T.bgColor=X.defaultFillColor,T.fontFamily=X.defaultFontFamily,T.defaultSize={x:100,y:30},T.setBgColor=T.setBgColor.bind(T),T.getTipPoints=T.getTipPoints.bind(T),T.positionTip=T.positionTip.bind(T),T.setTipPoints=T.setTipPoints.bind(T),T.colorPanel=new Ae("Text color",X.defaultColorSet,T.color,Qe),T.colorPanel.onColorChanged=T.setColor,T.bgColorPanel=new Ae("Fill color",X.defaultColorSet,T.bgColor,le),T.bgColorPanel.onColorChanged=T.setBgColor,T.fontFamilyPanel=new re("Font",X.defaultFontFamilies,X.defaultFontFamily),T.fontFamilyPanel.onFontChanged=T.setFont,T.tipGrip=new pe,T.tipGrip.visual.transform.baseVal.appendItem(F.createTransform()),T.controlBox.appendChild(T.tipGrip.visual),T}return I(z,ie),z.prototype.ownsTarget=function(k){return ie.prototype.ownsTarget.call(this,k)||this.tipGrip.ownsTarget(k)||this.tip===k},z.prototype.createTip=function(){F.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=F.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},z.prototype.pointerDown=function(k,j){this.state==="new"&&ie.prototype.pointerDown.call(this,k,j),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(j)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ie.prototype.pointerDown.call(this,k,j)},z.prototype.pointerUp=function(k){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ie.prototype.pointerUp.call(this,k);else{var j=this.state==="creating";ie.prototype.pointerUp.call(this,k),this.setTipPoints(j),this.positionTip()}},z.prototype.manipulate=function(k){if(this.tipMoving){var j=this.unrotatePoint(k);this.tipPosition={x:j.x-this.manipulationStartLeft,y:j.y-this.manipulationStartTop},this.positionTip()}else ie.prototype.manipulate.call(this,k)},z.prototype.setBgColor=function(k){this.bgRectangle&&this.tip&&(F.setAttributes(this.bgRectangle,[["fill",k]]),F.setAttributes(this.tip,[["fill",k]])),this.bgColor=k,this.fillColorChanged(k)},z.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},z.prototype.setTipPoints=function(k){k===void 0&&(k=!1);var j=Math.min(this.height/2,15),X=this.height/5;k&&(this.tipPosition={x:j+X/2,y:this.height+20});var T=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?T.1)){var k=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),j=this.tip1.transform.baseVal.getItem(0);j.setRotate(k,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(j,0);var X=this.tip2.transform.baseVal.getItem(0);X.setRotate(k+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(X,0)}},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=ie.prototype.getState.call(this);return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k),this.createTips(),this.adjustVisual()},z.typeName="MeasurementMarker",z.title="Measurement marker",z.icon='',z}(Ye),St=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.strokePanel.colors=X.defaultColorSet,T.fillColor="transparent",T}return I(z,ie),Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=ie.prototype.getState.call(this);return k.typeName=z.typeName,k},z.typeName="EllipseFrameMarker",z.title="Ellipse frame marker",z.icon='',z}(Ht),sn=function(){function ie(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ie.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ie.prototype.addUndoStep=function(z){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(z)||(this.undoStack.push(z),JSON.stringify(this.lastRedoStep)!==JSON.stringify(z)&&this.redoStack.splice(0,this.redoStack.length))},ie.prototype.replaceLastUndoStep=function(z){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=z)},ie.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ie.prototype.undo=function(){if(this.undoStack.length>1){var z=this.undoStack.pop();return z!==void 0&&this.redoStack.push(z),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ie.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ie}(),Ft=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.strokeColor="transparent",T.strokeWidth=0,T.strokeDasharray="",T.curveX=0,T.curveY=0,T.manipulationStartCurveX=0,T.manipulationStartCurveY=0,T.setStrokeColor=T.setStrokeColor.bind(T),T.setStrokeWidth=T.setStrokeWidth.bind(T),T.setStrokeDasharray=T.setStrokeDasharray.bind(T),T.positionGrips=T.positionGrips.bind(T),T.addControlGrips=T.addControlGrips.bind(T),T.adjustVisual=T.adjustVisual.bind(T),T.setupControlBox=T.setupControlBox.bind(T),T.resize=T.resize.bind(T),T.strokeColor=X.defaultColor,T.strokeWidth=X.defaultStrokeWidth,T.strokeDasharray=X.defaultStrokeDasharray,T.strokePanel=new Ae("Line color",X.defaultColorSet,X.defaultColor),T.strokePanel.onColorChanged=T.setStrokeColor,T.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),T.strokeWidthPanel.onWidthChanged=T.setStrokeWidth,T.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),T.strokeStylePanel.onStyleChanged=T.setStrokeDasharray,T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.selectorCurve&&k!==this.visibleCurve&&!this.curveGrip.ownsTarget(k))},z.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},z.prototype.createVisual=function(){this.visual=F.createGroup(),this.selectorCurve=F.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=F.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=k.x,this.curveY=k.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(j)&&(this.activeGrip=this.curveGrip,this._state="resize")},z.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),F.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),F.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),F.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},z.prototype.setupControlBox=function(){ie.prototype.setupControlBox.call(this),this.curveControlLine1=F.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=F.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},z.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ie.prototype.addControlGrips.call(this)},z.prototype.positionGrips=function(){ie.prototype.positionGrips.call(this);var k=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-k/2,this.curveY-k/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},z.prototype.manipulate=function(k){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+k.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+k.y-this.manipulationStartY),ie.prototype.manipulate.call(this,k)},z.prototype.resize=function(k){this.activeGrip===this.curveGrip&&(this.curveX=k.x,this.curveY=k.y),ie.prototype.resize.call(this,k),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.adjustVisual(),this.colorChanged(k)},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.adjustVisual()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.adjustVisual()},z.prototype.scale=function(k,j){this.curveX=this.curveX*k,this.curveY=this.curveY*j,ie.prototype.scale.call(this,k,j)},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ie.prototype.getState.call(this));return k.typeName=z.typeName,k},z.prototype.restoreState=function(k){ie.prototype.restoreState.call(this,k);var j=k;this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.curveX=j.curveX,this.curveY=j.curveY,this.createVisual(),this.adjustVisual()},z.typeName="CurveMarker",z.title="Curve marker",z.icon='',z}(Je),oi=function(ie){function z(k,j,X){var T=ie.call(this,k,j,X)||this;return T.fillColor="transparent",T.strokeColor="transparent",T.strokeWidth=0,T.strokeDasharray="",T.textColor="transparent",T.fontSize="1rem",T.isMoved=!1,T.captionText="Caption",T.PADDING=5,T.captionBoxWidth=0,T.captionBoxHeight=0,T.strokeColor=X.defaultColor,T.strokeWidth=X.defaultStrokeWidth,T.strokeDasharray=X.defaultStrokeDasharray,T.fillColor=X.defaultFillColor,T.textColor=X.defaultStrokeColor,T.fontFamily=X.defaultFontFamily,T.fontSize=X.defaultCaptionFontSize,T.captionText=X.defaultCaptionText,T.setStrokeColor=T.setStrokeColor.bind(T),T.setFillColor=T.setFillColor.bind(T),T.setStrokeWidth=T.setStrokeWidth.bind(T),T.setStrokeDasharray=T.setStrokeDasharray.bind(T),T.createVisual=T.createVisual.bind(T),T.sizeCaption=T.sizeCaption.bind(T),T.setCaptionText=T.setCaptionText.bind(T),T.showTextEditor=T.showTextEditor.bind(T),T.positionTextEditor=T.positionTextEditor.bind(T),T.finishTextEditing=T.finishTextEditing.bind(T),T.setFont=T.setFont.bind(T),T.setTextColor=T.setTextColor.bind(T),T.strokePanel=new Ae("Line color",G(X.defaultColorSet,["transparent"]),T.strokeColor),T.strokePanel.onColorChanged=T.setStrokeColor,T.fillPanel=new Ae("Fill color",G(X.defaultColorSet,["transparent"]),T.fillColor,le),T.fillPanel.onColorChanged=T.setFillColor,T.strokeWidthPanel=new ee("Line width",X.defaultStrokeWidths,X.defaultStrokeWidth),T.strokeWidthPanel.onWidthChanged=T.setStrokeWidth,T.strokeStylePanel=new Ne("Line style",X.defaultStrokeDasharrays,X.defaultStrokeDasharray),T.strokeStylePanel.onStyleChanged=T.setStrokeDasharray,T.fontFamilyPanel=new re("Font",X.defaultFontFamilies,X.defaultFontFamily),T.fontFamilyPanel.onFontChanged=T.setFont,T.textColorPanel=new Ae("Text color",X.defaultColorSet,T.textColor,Qe),T.textColorPanel.onColorChanged=T.setTextColor,T}return I(z,ie),z.prototype.ownsTarget=function(k){return!(!ie.prototype.ownsTarget.call(this,k)&&k!==this.visual&&k!==this.frame&&k!==this.captionBg&&k!==this.captionElement)},z.prototype.createVisual=function(){this.visual=F.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=F.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=F.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=F.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},z.prototype.setCaptionText=function(k){this.captionText=k,this.captionElement.textContent=this.captionText,this.sizeCaption()},z.prototype.pointerDown=function(k,j){ie.prototype.pointerDown.call(this,k,j),this.isMoved=!1,this.pointerDownPoint=k,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(k),this._state="creating")},z.prototype.manipulate=function(k){ie.prototype.manipulate.call(this,k),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(k.x-this.pointerDownPoint.x)>5||Math.abs(k.y-this.pointerDownPoint.y)>5)},z.prototype.resize=function(k){ie.prototype.resize.call(this,k),this.setSize()},z.prototype.sizeCaption=function(){var k=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=k.width+2*this.PADDING,this.captionBoxHeight=k.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),F.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),F.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},z.prototype.showTextEditor=function(){var k=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(j){j.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(j){j.key==="Enter"&&k.finishTextEditing(k.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(j){j.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){k.finishTextEditing(k.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){k.finishTextEditing(k.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},z.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},z.prototype.finishTextEditing=function(k){this.setCaptionText(k.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},z.prototype.setFont=function(k){this.captionElement&&F.setAttributes(this.captionElement,[["font-family",k]]),this.fontFamily=k,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},z.prototype.setTextColor=function(k){this.captionElement&&F.setAttributes(this.captionElement,[["fill",k]]),this.textColor=k,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},z.prototype.setSize=function(){ie.prototype.setSize.call(this),F.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},z.prototype.pointerUp=function(k){ie.prototype.pointerUp.call(this,k),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},z.prototype.dblClick=function(k,j){ie.prototype.dblClick.call(this,k,j),this.showTextEditor()},z.prototype.setStrokeColor=function(k){this.strokeColor=k,this.frame&&F.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(k),this.stateChanged()},z.prototype.setFillColor=function(k){this.fillColor=k,this.captionBg&&F.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(k),this.stateChanged()},z.prototype.setStrokeWidth=function(k){this.strokeWidth=k,this.frame&&F.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},z.prototype.setStrokeDasharray=function(k){this.strokeDasharray=k,this.frame&&F.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(z.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),z.prototype.getState=function(){var k=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},ie.prototype.getState.call(this));return k.typeName=this.typeName,k},z.prototype.restoreState=function(k){var j=k;this.fillColor=j.fillColor,this.strokeColor=j.strokeColor,this.strokeWidth=j.strokeWidth,this.strokeDasharray=j.strokeDasharray,this.textColor=j.textColor,this.fontFamily=j.fontFamily,this.captionText=j.captionText,this.fontSize=j.fontSize,this.createVisual(),ie.prototype.restoreState.call(this,k),this.setSize()},z.prototype.scale=function(k,j){ie.prototype.scale.call(this,k,j),this.setSize()},z.typeName="CaptionFrameMarker",z.title="Caption frame marker",z.icon='',z}(me),On=function(){function ie(z,k){k===void 0&&(k=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=z,this.cancelable=k}return Object.defineProperty(ie.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ie.prototype.preventDefault=function(){this._defaultPrevented=!0},ie}(),ni=function(ie){function z(k,j,X){var T=ie.call(this,k,!1)||this;return T.dataUrl=j,T.state=X,T}return I(z,ie),z}(On),Jn=function(ie){function z(k,j,X){X===void 0&&(X=!1);var T=ie.call(this,k,X)||this;return T.marker=j,T}return I(z,ie),z}(On),Mn=function(){function ie(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return ie.prototype.addEventListener=function(z,k){this[z].push(k)},ie.prototype.removeEventListener=function(z,k){var j=this[z].indexOf(k);j>-1&&this[z].splice(j,1)},ie}(),In=function(){function ie(z){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Le,this._isOpen=!1,this.undoRedoManager=new sn,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Mn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ie.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=z,this.targetRoot=document.body,this.width=z.clientWidth,this.height=z.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(ie.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,St,Ht,Cn,ce,Vt,kt,Ye,Ft,oi]},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,Ht,Cn,ce]},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ie,We,xt,lt,Cn]},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(z){var k=this;this._availableMarkerTypes.splice(0),z.forEach(function(j){if(typeof j=="string"){var X=k.ALL_MARKER_TYPES.find(function(T){return T.typeName===j});X!==void 0&&k._availableMarkerTypes.push(X)}else k._availableMarkerTypes.push(j)})},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(z){this._zoomLevel=z,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ie.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),M.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ie.prototype.show=function(){var z=this;this.styles.styleSheetRoot===void 0&&ae.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=ae.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(k){return k(new On(z))})},ie.prototype.render=function(){return O(this,void 0,void 0,function(){var z;return B(this,function(k){switch(k.label){case 0:return this.setCurrentMarker(),(z=new de).naturalSize=this.renderAtNaturalSize,z.imageType=this.renderImageType,z.imageQuality=this.renderImageQuality,z.markersOnly=this.renderMarkersOnly,z.width=this.renderWidth,z.height=this.renderHeight,[4,z.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return k.sent(),[4,z.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,k.sent()]}})})},ie.prototype.close=function(z){var k=this;if(z===void 0&&(z=!1),this.isOpen){var j=!1;z||this.eventListeners.beforeclose.forEach(function(X){var T=new On(k,!0);X(T),T.defaultPrevented&&(j=!0)}),j||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(X){return X(new On(k))}),this.detachEvents(),this._isOpen=!1)}},ie.prototype.addMarkersToToolbar=function(){for(var z,k=[],j=0;jthis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*z:this.editorCanvas.clientWidth,j=k',z.title="Powered by marker.js",z.style.display="grid",z.style.alignItems="center",z.style.justifyItems="center",z.style.padding="3px",z.style.width="20px",z.style.height="20px",this.logoUI.appendChild(z),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ie.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},ie.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},ie.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ie.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var z=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=z+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Xe(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(z),1),z.dispose()},ie.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},ie.prototype.toolbarButtonClicked=function(z,k){if(z==="marker"&&k!==void 0)this.createNewMarker(k);else if(z==="action")switch(k){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},ie.prototype.deleteSelectedMarker=function(){var z=this;if(this._currentMarker!==void 0){var k=!1;if(this.eventListeners.markerbeforedelete.forEach(function(X){var T=new Jn(z,z._currentMarker,!0);X(T),T.defaultPrevented&&(k=!0)}),!k){var j=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(X){return X(new Jn(z,j))})}}},ie.prototype.clear=function(){var z=this,k=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(_e){var It=new Jn(z,void 0,!0);_e(It),It.defaultPrevented&&(k=!0)}),!k)){this.setCurrentMarker();for(var j=function(_e){var It=X.markers[_e];X.setCurrentMarker(X.markers[_e]),X._currentMarker.dispose(),X.markerImage.removeChild(X._currentMarker.container),X.markers.splice(X.markers.indexOf(X._currentMarker),1),X.eventListeners.markerdelete.forEach(function($e){return $e(new Jn(z,It))})},X=this,T=this.markers.length-1;T>=0;T--)j(T);this.addUndoStep()}},Object.defineProperty(ie.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ie.prototype.showNotesEditor=function(){var z;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(z=this._currentMarker.notes)!==null&&z!==void 0?z:"",this.overlayContainer.appendChild(this.notesArea))},ie.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},ie.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ie.prototype.addUndoStep=function(){var z=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var k=this.getState(),j=this.undoRedoManager.getLastUndoStep();if(!j||j.width===k.width&&j.height===k.height){var X=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(k),X1&&this.panTo({x:z.clientX,y:z.clientY}))},ie.prototype.onPointerUp=function(z){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(z.clientX,z.clientY)),this.isDragging=!1,this.addUndoStep()},ie.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ie.prototype.onKeyUp=function(z){this._currentMarker===void 0||this.notesArea!==void 0||z.key!=="Delete"&&z.key!=="Backspace"||this.deleteSelectedMarker()},ie.prototype.clientToLocalCoordinates=function(z,k){var j=this.markerImage.getBoundingClientRect();return{x:(z-j.left)/this.zoomLevel,y:(k-j.top)/this.zoomLevel}},ie.prototype.onWindowResize=function(){this.positionUI()},ie.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var z=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=z+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},ie.prototype.addLicenseKey=function(z){M.addKey(z)},ie.prototype.addEventListener=function(z,k){this.eventListeners.addEventListener(z,k)},ie.prototype.removeEventListener=function(z,k){this.eventListeners.removeEventListener(z,k)},ie.prototype.renderState=function(z){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(z),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ie.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ie.prototype.focus=function(){var z=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(k){return k(new On(z))}))},ie.prototype.blur=function(){var z=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(k){return k(new On(z))}))},ie.instanceCounter=0,ie}()},67842:function(Q){"use strict";var C,h=59;Q.exports=v;function v(I){var O="&"+I+";",B;return C=C||document.createElement("i"),C.innerHTML=O,B=C.textContent,B.charCodeAt(B.length-1)===h&&I!=="semi"||B===O?!1:B}},12256:function(Q,C,h){"use strict";var v=h(47854),I=h(80501),O=h(22347),B=h(65207),G=h(21127),F=h(67842);Q.exports=Cn;var M={}.hasOwnProperty,de=String.fromCharCode,ae=Function.prototype,te={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Me=9,we=10,Xe=12,Oe=32,Ce=38,Ae=59,Pe=60,fe=61,pe=35,xe=88,me=120,ke=65533,ee="named",Ne="hexadecimal",Ie="decimal",Le={};Le[Ne]=16,Le[Ie]=10;var Je={};Je[ee]=G,Je[Ie]=O,Je[Ne]=B;var Ye=1,re=2,lt=3,We=4,Pt=5,xt=6,kt=7,Ct={};Ct[Ye]="Named character references must be terminated by a semicolon",Ct[re]="Numeric character references must be terminated by a semicolon",Ct[lt]="Named character references cannot be empty",Ct[We]="Numeric character references cannot be empty",Ct[Pt]="Named character references must be known",Ct[xt]="Numeric character references cannot be disallowed",Ct[kt]="Numeric character references cannot be outside the permissible Unicode range";function Cn(Ht,Vt){var St={},sn,Ft;Vt||(Vt={});for(Ft in te)sn=Vt[Ft],St[Ft]=sn==null?te[Ft]:sn;return(St.position.indent||St.position.start)&&(St.indent=St.position.indent||[],St.position=St.position.start),Qe(Ht,St)}function Qe(Ht,Vt){var St=Vt.additional,sn=Vt.nonTerminated,Ft=Vt.text,oi=Vt.reference,On=Vt.warning,ni=Vt.textContext,Jn=Vt.referenceContext,Mn=Vt.warningContext,In=Vt.position,ie=Vt.indent||[],z=Ht.length,k=0,j=-1,X=In.column||1,T=In.line||1,_e="",It=[],$e,De,gt,ut,tt,Et,pn,nn,Kt,hn,an,et,zt,dn,rn,ze,Un,yn,Bt;for(typeof St=="string"&&(St=St.charCodeAt(0)),ze=Si(),nn=On?_i:ae,k--,z++;++k65535&&(Et-=65536,hn+=de(Et>>>10|55296),Et=56320|Et&1023),Et=hn+de(Et))):dn!==ee&&nn(We,yn)),Et?(Ii(),ze=Si(),k=Bt-1,X+=Bt-zt+1,It.push(Et),Un=Si(),Un.offset++,oi&&oi.call(Jn,Et,{start:ze,end:Un},Ht.slice(zt-1,Bt)),ze=Un):(ut=Ht.slice(zt-1,Bt),_e+=ut,X+=ut.length,k=Bt-1)}else tt===10&&(T++,j++,X=0),tt===tt?(_e+=de(tt),X++):Ii();return It.join("");function Si(){return{line:T,column:X,offset:k+(In.offset||0)}}function _i(cn,fr){var Xi=Si();Xi.column+=fr,Xi.offset+=fr,On.call(Mn,Ct[cn],Xi,cn)}function Ii(){_e&&(It.push(_e),Ft&&Ft.call(ni,_e,{start:ze,end:Si()}),_e="")}}function le(Ht){return Ht>=55296&&Ht<=57343||Ht>1114111}function ce(Ht){return Ht>=1&&Ht<=8||Ht===11||Ht>=13&&Ht<=31||Ht>=127&&Ht<=159||Ht>=64976&&Ht<=65007||(Ht&65535)===65535||(Ht&65535)===65534}},68398:function(Q,C,h){var v=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var I=function(O){var B=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,G=0,F={},M={manual:O.Prism&&O.Prism.manual,disableWorkerMessageHandler:O.Prism&&O.Prism.disableWorkerMessageHandler,util:{encode:function fe(pe){return pe instanceof de?new de(pe.type,fe(pe.content),pe.alias):Array.isArray(pe)?pe.map(fe):pe.replace(/&/g,"&").replace(/"+ke.content+""};function ae(fe,pe,xe,me){fe.lastIndex=pe;var ke=fe.exec(xe);if(ke&&me&&ke[1]){var ee=ke[1].length;ke.index+=ee,ke[0]=ke[0].slice(ee)}return ke}function te(fe,pe,xe,me,ke,ee){for(var Ne in xe)if(!(!xe.hasOwnProperty(Ne)||!xe[Ne])){var Ie=xe[Ne];Ie=Array.isArray(Ie)?Ie:[Ie];for(var Le=0;Le=ee.reach);Ct+=kt.value.length,kt=kt.next){var Cn=kt.value;if(pe.length>fe.length)return;if(!(Cn instanceof de)){var Qe=1,le;if(lt){if(le=ae(xt,Ct,fe,re),!le||le.index>=fe.length)break;var St=le.index,ce=le.index+le[0].length,Ht=Ct;for(Ht+=kt.value.length;St>=Ht;)kt=kt.next,Ht+=kt.value.length;if(Ht-=kt.value.length,Ct=Ht,kt.value instanceof de)continue;for(var Vt=kt;Vt!==pe.tail&&(Htee.reach&&(ee.reach=On);var ni=kt.prev;Ft&&(ni=we(pe,ni,Ft),Ct+=Ft.length),Xe(pe,ni,Qe);var Jn=new de(Ne,Ye?M.tokenize(sn,Ye):sn,We,sn);if(kt=we(pe,ni,Jn),oi&&we(pe,kt,oi),Qe>1){var Mn={cause:Ne+","+Le,reach:On};te(fe,pe,xe,kt.prev,Ct,Mn),ee&&Mn.reach>ee.reach&&(ee.reach=Mn.reach)}}}}}}function Me(){var fe={value:null,prev:null,next:null},pe={value:null,prev:fe,next:null};fe.next=pe,this.head=fe,this.tail=pe,this.length=0}function we(fe,pe,xe){var me=pe.next,ke={value:xe,prev:pe,next:me};return pe.next=ke,me.prev=ke,fe.length++,ke}function Xe(fe,pe,xe){for(var me=pe.next,ke=0;ke4&&Ce.slice(0,4)===B&&G.test(Oe)&&(Oe.charAt(4)==="-"?Ae=ae(Oe):Oe=te(Oe),Pe=I),new Pe(Ae,Oe))}function ae(Xe){var Oe=Xe.slice(5).replace(F,we);return B+Oe.charAt(0).toUpperCase()+Oe.slice(1)}function te(Xe){var Oe=Xe.slice(4);return F.test(Oe)?Xe:(Oe=Oe.replace(M,Me),Oe.charAt(0)!=="-"&&(Oe="-"+Oe),B+Oe)}function Me(Xe){return"-"+Xe.toLowerCase()}function we(Xe){return Xe.charAt(1).toUpperCase()}},18795:function(Q,C,h){"use strict";var v=h(83576),I=h(8179),O=h(59780),B=h(68244),G=h(20019),F=h(38567);Q.exports=v([O,I,B,G,F])},20019:function(Q,C,h){"use strict";var v=h(70167),I=h(79318),O=v.booleanish,B=v.number,G=v.spaceSeparated;Q.exports=I({transform:F,properties:{ariaActiveDescendant:null,ariaAtomic:O,ariaAutoComplete:null,ariaBusy:O,ariaChecked:O,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:G,ariaCurrent:null,ariaDescribedBy:G,ariaDetails:null,ariaDisabled:O,ariaDropEffect:G,ariaErrorMessage:null,ariaExpanded:O,ariaFlowTo:G,ariaGrabbed:O,ariaHasPopup:null,ariaHidden:O,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:G,ariaLevel:B,ariaLive:null,ariaModal:O,ariaMultiLine:O,ariaMultiSelectable:O,ariaOrientation:null,ariaOwns:G,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:O,ariaReadOnly:O,ariaRelevant:null,ariaRequired:O,ariaRoleDescription:G,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:O,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null}});function F(M,de){return de==="role"?de:"aria-"+de.slice(4).toLowerCase()}},38567:function(Q,C,h){"use strict";var v=h(70167),I=h(79318),O=h(85804),B=v.boolean,G=v.overloadedBoolean,F=v.booleanish,M=v.number,de=v.spaceSeparated,ae=v.commaSeparated;Q.exports=I({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:O,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ae,acceptCharset:de,accessKey:de,action:null,allow:null,allowFullScreen:B,allowPaymentRequest:B,allowUserMedia:B,alt:null,as:null,async:B,autoCapitalize:null,autoComplete:de,autoFocus:B,autoPlay:B,capture:B,charSet:null,checked:B,cite:null,className:de,cols:M,colSpan:null,content:null,contentEditable:F,controls:B,controlsList:de,coords:M|ae,crossOrigin:null,data:null,dateTime:null,decoding:null,default:B,defer:B,dir:null,dirName:null,disabled:B,download:G,draggable:F,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:B,formTarget:null,headers:de,height:M,hidden:B,high:M,href:null,hrefLang:null,htmlFor:de,httpEquiv:de,id:null,imageSizes:null,imageSrcSet:ae,inputMode:null,integrity:null,is:null,isMap:B,itemId:null,itemProp:de,itemRef:de,itemScope:B,itemType:de,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:B,low:M,manifest:null,max:null,maxLength:M,media:null,method:null,min:null,minLength:M,multiple:B,muted:B,name:null,nonce:null,noModule:B,noValidate:B,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:B,optimum:M,pattern:null,ping:de,placeholder:null,playsInline:B,poster:null,preload:null,readOnly:B,referrerPolicy:null,rel:de,required:B,reversed:B,rows:M,rowSpan:M,sandbox:de,scope:null,scoped:B,seamless:B,selected:B,shape:null,size:M,sizes:null,slot:null,span:M,spellCheck:F,src:null,srcDoc:null,srcLang:null,srcSet:ae,start:M,step:null,style:null,tabIndex:M,target:null,title:null,translate:null,type:null,typeMustMatch:B,useMap:null,value:F,width:M,wrap:null,align:null,aLink:null,archive:de,axis:null,background:null,bgColor:null,border:M,borderColor:null,bottomMargin:M,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:B,declare:B,event:null,face:null,frame:null,frameBorder:null,hSpace:M,leftMargin:M,link:null,longDesc:null,lowSrc:null,marginHeight:M,marginWidth:M,noResize:B,noHref:B,noShade:B,noWrap:B,object:null,profile:null,prompt:null,rev:null,rightMargin:M,rules:null,scheme:null,scrolling:F,standby:null,summary:null,text:null,topMargin:M,valueType:null,version:null,vAlign:null,vLink:null,vSpace:M,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:B,disableRemotePlayback:B,prefix:null,property:null,results:M,security:null,unselectable:null}})},85804:function(Q,C,h){"use strict";var v=h(56432);Q.exports=I;function I(O,B){return v(O,B.toLowerCase())}},56432:function(Q){"use strict";Q.exports=C;function C(h,v){return v in h?h[v]:v}},79318:function(Q,C,h){"use strict";var v=h(47178),I=h(44347),O=h(19095);Q.exports=B;function B(G){var F=G.space,M=G.mustUseProperty||[],de=G.attributes||{},ae=G.properties,te=G.transform,Me={},we={},Xe,Oe;for(Xe in ae)Oe=new O(Xe,te(de,Xe),ae[Xe],F),M.indexOf(Xe)!==-1&&(Oe.mustUseProperty=!0),Me[Xe]=Oe,we[v(Xe)]=Xe,we[v(Oe.attribute)]=Xe;return new I(Me,we,F)}},19095:function(Q,C,h){"use strict";var v=h(1969),I=h(70167);Q.exports=G,G.prototype=new v,G.prototype.defined=!0;var O=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],B=O.length;function G(M,de,ae,te){var Me=-1,we;for(F(this,"space",te),v.call(this,M,de);++Me5&&arguments[5]!==void 0?arguments[5]:!1,Ve=arguments.length>6?arguments[6]:void 0,Ut=arguments.length>7?arguments[7]:void 0,Lt=te.useMemo(function(){if((0,M.Z)(Fn)==="object")return Fn.clearIcon;if(on)return on},[Fn,on]),Wn=te.useMemo(function(){return!!(!Nt&&Fn&&(vn.length||Ve)&&!(Ut==="combobox"&&Ve===""))},[Fn,Nt,vn.length,Ve,Ut]);return{allowClear:Wn,clearIcon:te.createElement(fe,{className:"".concat(pt,"-clear"),onMouseDown:Ke,customizeIcon:Lt},"\xD7")}}var xe=te.createContext(null);function me(){return te.useContext(xe)}function ke(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ke=te.useState(!1),vn=(0,G.Z)(Ke,2),Fn=vn[0],on=vn[1],Nt=te.useRef(null),Ve=function(){window.clearTimeout(Nt.current)};te.useEffect(function(){return Ve},[]);var Ut=function(Wn,ot){Ve(),Nt.current=window.setTimeout(function(){on(Wn),ot&&ot()},pt)};return[Fn,Ut,Ve]}function ee(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ke=te.useRef(null),vn=te.useRef(null);te.useEffect(function(){return function(){window.clearTimeout(vn.current)}},[]);function Fn(on){(on||Ke.current===null)&&(Ke.current=on),window.clearTimeout(vn.current),vn.current=window.setTimeout(function(){Ke.current=null},pt)}return[function(){return Ke.current},Fn]}function Ne(pt,Ke,vn,Fn){var on=te.useRef(null);on.current={open:Ke,triggerOpen:vn,customizedTrigger:Fn},te.useEffect(function(){function Nt(Ve){var Ut;if(!((Ut=on.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var Lt=Ve.target;Lt.shadowRoot&&Ve.composed&&(Lt=Ve.composedPath()[0]||Lt),on.current.open&&pt().filter(function(Wn){return Wn}).every(function(Wn){return!Wn.contains(Lt)&&Wn!==Lt})&&on.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Nt),function(){return window.removeEventListener("mousedown",Nt)}},[])}var Ie=h(26112),Le=h(11780),Je=function(Ke,vn){var Fn,on,Nt=Ke.prefixCls,Ve=Ke.id,Ut=Ke.inputElement,Lt=Ke.disabled,Wn=Ke.tabIndex,ot=Ke.autoFocus,fn=Ke.autoComplete,vt=Ke.editable,je=Ke.activeDescendantId,L=Ke.value,Rt=Ke.maxLength,Jt=Ke.onKeyDown,mt=Ke.onMouseDown,xn=Ke.onChange,An=Ke.onPaste,li=Ke.onCompositionStart,Nn=Ke.onCompositionEnd,st=Ke.open,Mi=Ke.attrs,Yi=Ut||te.createElement("input",null),Yt=Yi,zi=Yt.ref,q=Yt.props,oe=q.onKeyDown,Hn=q.onChange,Be=q.onMouseDown,Tt=q.onCompositionStart,fi=q.onCompositionEnd,Ln=q.style;return(0,ae.Kp)(!("maxLength"in Yi.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Yi=te.cloneElement(Yi,(0,B.Z)((0,B.Z)((0,B.Z)({type:"search"},q),{},{id:Ve,ref:(0,Ae.sQ)(vn,zi),disabled:Lt,tabIndex:Wn,autoComplete:fn||"off",autoFocus:ot,className:we()("".concat(Nt,"-selection-search-input"),(Fn=Yi)===null||Fn===void 0||(on=Fn.props)===null||on===void 0?void 0:on.className),role:"combobox","aria-label":"Search","aria-expanded":st||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ve,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ve,"_list"),"aria-activedescendant":st?je:void 0},Mi),{},{value:vt?L:"",maxLength:Rt,readOnly:!vt,unselectable:vt?null:"on",style:(0,B.Z)((0,B.Z)({},Ln),{},{opacity:vt?null:0}),onKeyDown:function(qt){Jt(qt),oe&&oe(qt)},onMouseDown:function(qt){mt(qt),Be&&Be(qt)},onChange:function(qt){xn(qt),Hn&&Hn(qt)},onCompositionStart:function(qt){li(qt),Tt&&Tt(qt)},onCompositionEnd:function(qt){Nn(qt),fi&&fi(qt)},onPaste:An})),Yi},Ye=te.forwardRef(Je);Ye.displayName="Input";var re=Ye;function lt(pt){return Array.isArray(pt)?pt:pt!==void 0?[pt]:[]}var We=typeof window!="undefined"&&window.document&&window.document.documentElement,Pt=We;function xt(pt){return pt!=null}function kt(pt){return!pt&&pt!==0}function Ct(pt){return["string","number"].includes((0,M.Z)(pt))}function Cn(pt){var Ke=void 0;return pt&&(Ct(pt.title)?Ke=pt.title.toString():Ct(pt.label)&&(Ke=pt.label.toString())),Ke}function Qe(pt,Ke){Pt?te.useLayoutEffect(pt,Ke):te.useEffect(pt,Ke)}function le(pt){var Ke;return(Ke=pt.key)!==null&&Ke!==void 0?Ke:pt.value}var ce=function(Ke){Ke.preventDefault(),Ke.stopPropagation()},Ht=function(Ke){var vn=Ke.id,Fn=Ke.prefixCls,on=Ke.values,Nt=Ke.open,Ve=Ke.searchValue,Ut=Ke.autoClearSearchValue,Lt=Ke.inputRef,Wn=Ke.placeholder,ot=Ke.disabled,fn=Ke.mode,vt=Ke.showSearch,je=Ke.autoFocus,L=Ke.autoComplete,Rt=Ke.activeDescendantId,Jt=Ke.tabIndex,mt=Ke.removeIcon,xn=Ke.maxTagCount,An=Ke.maxTagTextLength,li=Ke.maxTagPlaceholder,Nn=li===void 0?function(gr){return"+ ".concat(gr.length," ...")}:li,st=Ke.tagRender,Mi=Ke.onToggleOpen,Yi=Ke.onRemove,Yt=Ke.onInputChange,zi=Ke.onInputPaste,q=Ke.onInputKeyDown,oe=Ke.onInputMouseDown,Hn=Ke.onInputCompositionStart,Be=Ke.onInputCompositionEnd,Tt=te.useRef(null),fi=(0,te.useState)(0),Ln=(0,G.Z)(fi,2),Fi=Ln[0],qt=Ln[1],xi=(0,te.useState)(!1),Xt=(0,G.Z)(xi,2),Li=Xt[0],Yr=Xt[1],Mt="".concat(Fn,"-selection"),Qr=Nt||fn==="multiple"&&Ut===!1||fn==="tags"?Ve:"",tn=fn==="tags"||fn==="multiple"&&Ut===!1||vt&&(Nt||Li);Qe(function(){qt(Tt.current.scrollWidth)},[Qr]);function Oi(gr,br,cr,Br,Zi){return te.createElement("span",{className:we()("".concat(Mt,"-item"),(0,O.Z)({},"".concat(Mt,"-item-disabled"),cr)),title:Cn(gr)},te.createElement("span",{className:"".concat(Mt,"-item-content")},br),Br&&te.createElement(fe,{className:"".concat(Mt,"-item-remove"),onMouseDown:ce,onClick:Zi,customizeIcon:mt},"\xD7"))}function Ei(gr,br,cr,Br,Zi){var Ri=function(hr){ce(hr),Mi(!Nt)};return te.createElement("span",{onMouseDown:Ri},st({label:br,value:gr,disabled:cr,closable:Br,onClose:Zi}))}function or(gr){var br=gr.disabled,cr=gr.label,Br=gr.value,Zi=!ot&&!br,Ri=cr;if(typeof An=="number"&&(typeof cr=="string"||typeof cr=="number")){var Ai=String(Ri);Ai.length>An&&(Ri="".concat(Ai.slice(0,An),"..."))}var hr=function(Lr){Lr&&Lr.stopPropagation(),Yi(gr)};return typeof st=="function"?Ei(Br,Ri,br,Zi,hr):Oi(gr,Ri,br,Zi,hr)}function tr(gr){var br=typeof Nn=="function"?Nn(gr):Nn;return Oi({title:br},br,!1)}var Zn=te.createElement("div",{className:"".concat(Mt,"-search"),style:{width:Fi},onFocus:function(){Yr(!0)},onBlur:function(){Yr(!1)}},te.createElement(re,{ref:Lt,open:Nt,prefixCls:Fn,id:vn,inputElement:null,disabled:ot,autoFocus:je,autoComplete:L,editable:tn,activeDescendantId:Rt,value:Qr,onKeyDown:q,onMouseDown:oe,onChange:Yt,onPaste:zi,onCompositionStart:Hn,onCompositionEnd:Be,tabIndex:Jt,attrs:(0,Ie.Z)(Ke,!0)}),te.createElement("span",{ref:Tt,className:"".concat(Mt,"-search-mirror"),"aria-hidden":!0},Qr,"\xA0")),he=te.createElement(Le.Z,{prefixCls:"".concat(Mt,"-overflow"),data:on,renderItem:or,renderRest:tr,suffix:Zn,itemKey:le,maxCount:xn});return te.createElement(te.Fragment,null,he,!on.length&&!Qr&&te.createElement("span",{className:"".concat(Mt,"-placeholder")},Wn))},Vt=Ht,St=function(Ke){var vn=Ke.inputElement,Fn=Ke.prefixCls,on=Ke.id,Nt=Ke.inputRef,Ve=Ke.disabled,Ut=Ke.autoFocus,Lt=Ke.autoComplete,Wn=Ke.activeDescendantId,ot=Ke.mode,fn=Ke.open,vt=Ke.values,je=Ke.placeholder,L=Ke.tabIndex,Rt=Ke.showSearch,Jt=Ke.searchValue,mt=Ke.activeValue,xn=Ke.maxLength,An=Ke.onInputKeyDown,li=Ke.onInputMouseDown,Nn=Ke.onInputChange,st=Ke.onInputPaste,Mi=Ke.onInputCompositionStart,Yi=Ke.onInputCompositionEnd,Yt=Ke.title,zi=te.useState(!1),q=(0,G.Z)(zi,2),oe=q[0],Hn=q[1],Be=ot==="combobox",Tt=Be||Rt,fi=vt[0],Ln=Jt||"";Be&&mt&&!oe&&(Ln=mt),te.useEffect(function(){Be&&Hn(!1)},[Be,mt]);var Fi=ot!=="combobox"&&!fn&&!Rt?!1:!!Ln,qt=Yt===void 0?Cn(fi):Yt,xi=function(){if(fi)return null;var Li=Fi?{visibility:"hidden"}:void 0;return te.createElement("span",{className:"".concat(Fn,"-selection-placeholder"),style:Li},je)};return te.createElement(te.Fragment,null,te.createElement("span",{className:"".concat(Fn,"-selection-search")},te.createElement(re,{ref:Nt,prefixCls:Fn,id:on,open:fn,inputElement:vn,disabled:Ve,autoFocus:Ut,autoComplete:Lt,editable:Tt,activeDescendantId:Wn,value:Ln,onKeyDown:An,onMouseDown:li,onChange:function(Li){Hn(!0),Nn(Li)},onPaste:st,onCompositionStart:Mi,onCompositionEnd:Yi,tabIndex:L,attrs:(0,Ie.Z)(Ke,!0),maxLength:Be?xn:void 0})),!Be&&fi?te.createElement("span",{className:"".concat(Fn,"-selection-item"),title:qt,style:Fi?{visibility:"hidden"}:void 0},fi.label):null,xi())},sn=St;function Ft(pt){return![Ce.Z.ESC,Ce.Z.SHIFT,Ce.Z.BACKSPACE,Ce.Z.TAB,Ce.Z.WIN_KEY,Ce.Z.ALT,Ce.Z.META,Ce.Z.WIN_KEY_RIGHT,Ce.Z.CTRL,Ce.Z.SEMICOLON,Ce.Z.EQUALS,Ce.Z.CAPS_LOCK,Ce.Z.CONTEXT_MENU,Ce.Z.F1,Ce.Z.F2,Ce.Z.F3,Ce.Z.F4,Ce.Z.F5,Ce.Z.F6,Ce.Z.F7,Ce.Z.F8,Ce.Z.F9,Ce.Z.F10,Ce.Z.F11,Ce.Z.F12].includes(pt)}var oi=function(Ke,vn){var Fn=(0,te.useRef)(null),on=(0,te.useRef)(!1),Nt=Ke.prefixCls,Ve=Ke.open,Ut=Ke.mode,Lt=Ke.showSearch,Wn=Ke.tokenWithEnter,ot=Ke.autoClearSearchValue,fn=Ke.onSearch,vt=Ke.onSearchSubmit,je=Ke.onToggleOpen,L=Ke.onInputKeyDown,Rt=Ke.domRef;te.useImperativeHandle(vn,function(){return{focus:function(){Fn.current.focus()},blur:function(){Fn.current.blur()}}});var Jt=ee(0),mt=(0,G.Z)(Jt,2),xn=mt[0],An=mt[1],li=function(Ln){var Fi=Ln.which;(Fi===Ce.Z.UP||Fi===Ce.Z.DOWN)&&Ln.preventDefault(),L&&L(Ln),Fi===Ce.Z.ENTER&&Ut==="tags"&&!on.current&&!Ve&&(vt==null||vt(Ln.target.value)),Ft(Fi)&&je(!0)},Nn=function(){An(!0)},st=(0,te.useRef)(null),Mi=function(Ln){fn(Ln,!0,on.current)!==!1&&je(!0)},Yi=function(){on.current=!0},Yt=function(Ln){on.current=!1,Ut!=="combobox"&&Mi(Ln.target.value)},zi=function(Ln){var Fi=Ln.target.value;if(Wn&&st.current&&/[\r\n]/.test(st.current)){var qt=st.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Fi=Fi.replace(qt,st.current)}st.current=null,Mi(Fi)},q=function(Ln){var Fi=Ln.clipboardData,qt=Fi.getData("text");st.current=qt},oe=function(Ln){var Fi=Ln.target;if(Fi!==Fn.current){var qt=document.body.style.msTouchAction!==void 0;qt?setTimeout(function(){Fn.current.focus()}):Fn.current.focus()}},Hn=function(Ln){var Fi=xn();Ln.target!==Fn.current&&!Fi&&Ut!=="combobox"&&Ln.preventDefault(),(Ut!=="combobox"&&(!Lt||!Fi)||!Ve)&&(Ve&&ot!==!1&&fn("",!0,!1),je())},Be={inputRef:Fn,onInputKeyDown:li,onInputMouseDown:Nn,onInputChange:zi,onInputPaste:q,onInputCompositionStart:Yi,onInputCompositionEnd:Yt},Tt=Ut==="multiple"||Ut==="tags"?te.createElement(Vt,(0,v.Z)({},Ke,Be)):te.createElement(sn,(0,v.Z)({},Ke,Be));return te.createElement("div",{ref:Rt,className:"".concat(Nt,"-selector"),onClick:oe,onMouseDown:Hn},Tt)},On=te.forwardRef(oi);On.displayName="Selector";var ni=On,Jn=h(35593),Mn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],In=function(Ke){var vn=Ke===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:vn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:vn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:vn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:vn,adjustY:1},htmlRegion:"scroll"}}},ie=function(Ke,vn){var Fn=Ke.prefixCls,on=Ke.disabled,Nt=Ke.visible,Ve=Ke.children,Ut=Ke.popupElement,Lt=Ke.animation,Wn=Ke.transitionName,ot=Ke.dropdownStyle,fn=Ke.dropdownClassName,vt=Ke.direction,je=vt===void 0?"ltr":vt,L=Ke.placement,Rt=Ke.builtinPlacements,Jt=Ke.dropdownMatchSelectWidth,mt=Ke.dropdownRender,xn=Ke.dropdownAlign,An=Ke.getPopupContainer,li=Ke.empty,Nn=Ke.getTriggerDOMNode,st=Ke.onPopupVisibleChange,Mi=Ke.onPopupMouseEnter,Yi=(0,F.Z)(Ke,Mn),Yt="".concat(Fn,"-dropdown"),zi=Ut;mt&&(zi=mt(Ut));var q=te.useMemo(function(){return Rt||In(Jt)},[Rt,Jt]),oe=Lt?"".concat(Yt,"-").concat(Lt):Wn,Hn=typeof Jt=="number",Be=te.useMemo(function(){return Hn?null:Jt===!1?"minWidth":"width"},[Jt,Hn]),Tt=ot;Hn&&(Tt=(0,B.Z)((0,B.Z)({},Tt),{},{width:Jt}));var fi=te.useRef(null);return te.useImperativeHandle(vn,function(){return{getPopupElement:function(){return fi.current}}}),te.createElement(Jn.Z,(0,v.Z)({},Yi,{showAction:st?["click"]:[],hideAction:st?["click"]:[],popupPlacement:L||(je==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:q,prefixCls:Yt,popupTransitionName:oe,popup:te.createElement("div",{ref:fi,onMouseEnter:Mi},zi),stretch:Be,popupAlign:xn,popupVisible:Nt,getPopupContainer:An,popupClassName:we()(fn,(0,O.Z)({},"".concat(Yt,"-empty"),li)),popupStyle:Tt,getTriggerDOMNode:Nn,onPopupVisibleChange:st}),Ve)},z=te.forwardRef(ie);z.displayName="SelectTrigger";var k=z,j=h(34589);function X(pt,Ke){var vn=pt.key,Fn;return"value"in pt&&(Fn=pt.value),vn!=null?vn:Fn!==void 0?Fn:"rc-index-key-".concat(Ke)}function T(pt,Ke){var vn=pt||{},Fn=vn.label,on=vn.value,Nt=vn.options,Ve=vn.groupLabel,Ut=Fn||(Ke?"children":"label");return{label:Ut,value:on||"value",options:Nt||"options",groupLabel:Ve||Ut}}function _e(pt){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vn=Ke.fieldNames,Fn=Ke.childrenAsData,on=[],Nt=T(vn,!1),Ve=Nt.label,Ut=Nt.value,Lt=Nt.options,Wn=Nt.groupLabel;function ot(fn,vt){fn.forEach(function(je){if(vt||!(Lt in je)){var L=je[Ut];on.push({key:X(je,on.length),groupOption:vt,data:je,label:je[Ve],value:L})}else{var Rt=je[Wn];Rt===void 0&&Fn&&(Rt=je.label),on.push({key:X(je,on.length),group:!0,data:je,label:Rt}),ot(je[Lt],!0)}})}return ot(pt,!1),on}function It(pt){var Ke=(0,B.Z)({},pt);return"props"in Ke||Object.defineProperty(Ke,"props",{get:function(){return(0,ae.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ke}}),Ke}function $e(pt,Ke){if(!Ke||!Ke.length)return null;var vn=!1;function Fn(Nt,Ve){var Ut=(0,j.Z)(Ve),Lt=Ut[0],Wn=Ut.slice(1);if(!Lt)return[Nt];var ot=Nt.split(Lt);return vn=vn||ot.length>1,ot.reduce(function(fn,vt){return[].concat((0,I.Z)(fn),(0,I.Z)(Fn(vt,Wn)))},[]).filter(function(fn){return fn})}var on=Fn(pt,Ke);return vn?on:null}var De=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],gt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function ut(pt){return pt==="tags"||pt==="multiple"}var tt=te.forwardRef(function(pt,Ke){var vn,Fn,on=pt.id,Nt=pt.prefixCls,Ve=pt.className,Ut=pt.showSearch,Lt=pt.tagRender,Wn=pt.direction,ot=pt.omitDomProps,fn=pt.displayValues,vt=pt.onDisplayValuesChange,je=pt.emptyOptions,L=pt.notFoundContent,Rt=L===void 0?"Not Found":L,Jt=pt.onClear,mt=pt.mode,xn=pt.disabled,An=pt.loading,li=pt.getInputElement,Nn=pt.getRawInputElement,st=pt.open,Mi=pt.defaultOpen,Yi=pt.onDropdownVisibleChange,Yt=pt.activeValue,zi=pt.onActiveValueChange,q=pt.activeDescendantId,oe=pt.searchValue,Hn=pt.autoClearSearchValue,Be=pt.onSearch,Tt=pt.onSearchSplit,fi=pt.tokenSeparators,Ln=pt.allowClear,Fi=pt.suffixIcon,qt=pt.clearIcon,xi=pt.OptionList,Xt=pt.animation,Li=pt.transitionName,Yr=pt.dropdownStyle,Mt=pt.dropdownClassName,Qr=pt.dropdownMatchSelectWidth,tn=pt.dropdownRender,Oi=pt.dropdownAlign,Ei=pt.placement,or=pt.builtinPlacements,tr=pt.getPopupContainer,Zn=pt.showAction,he=Zn===void 0?[]:Zn,gr=pt.onFocus,br=pt.onBlur,cr=pt.onKeyUp,Br=pt.onKeyDown,Zi=pt.onMouseDown,Ri=(0,F.Z)(pt,De),Ai=ut(mt),hr=(Ut!==void 0?Ut:Ai)||mt==="combobox",Ki=(0,B.Z)({},Ri);gt.forEach(function(Kr){delete Ki[Kr]}),ot==null||ot.forEach(function(Kr){delete Ki[Kr]});var Lr=te.useState(!1),Wr=(0,G.Z)(Lr,2),eo=Wr[0],Lo=Wr[1];te.useEffect(function(){Lo((0,Oe.Z)())},[]);var pi=te.useRef(null),pa=te.useRef(null),Uo=te.useRef(null),oa=te.useRef(null),ma=te.useRef(null),$a=ke(),is=(0,G.Z)($a,3),ka=is[0],ss=is[1],Ua=is[2];te.useImperativeHandle(Ke,function(){var Kr,wo;return{focus:(Kr=oa.current)===null||Kr===void 0?void 0:Kr.focus,blur:(wo=oa.current)===null||wo===void 0?void 0:wo.blur,scrollTo:function(aa){var ro;return(ro=ma.current)===null||ro===void 0?void 0:ro.scrollTo(aa)}}});var Go=te.useMemo(function(){var Kr;if(mt!=="combobox")return oe;var wo=(Kr=fn[0])===null||Kr===void 0?void 0:Kr.value;return typeof wo=="string"||typeof wo=="number"?String(wo):""},[oe,mt,fn]),Zt=mt==="combobox"&&typeof li=="function"&&li()||null,Pa=typeof Nn=="function"&&Nn(),ql=(0,Ae.x1)(pa,Pa==null||(vn=Pa.props)===null||vn===void 0?void 0:vn.ref),nl=te.useState(!1),uo=(0,G.Z)(nl,2),No=uo[0],go=uo[1];(0,Xe.Z)(function(){go(!0)},[]);var Ot=(0,de.Z)(!1,{defaultValue:Mi,value:st}),Pr=(0,G.Z)(Ot,2),co=Pr[0],xa=Pr[1],xr=No?co:!1,wn=!Rt&&je;(xn||wn&&xr&&mt==="combobox")&&(xr=!1);var ar=wn?!1:xr,mi=te.useCallback(function(Kr){var wo=Kr!==void 0?Kr:!xr;xn||(xa(wo),xr!==wo&&(Yi==null||Yi(wo)))},[xn,xr,xa,Yi]),Wo=te.useMemo(function(){return(fi||[]).some(function(Kr){return[` `,`\r -`].includes(Wr)})},[pi]),ga=function(wo,fa,oa){var ro=!0,aa=wo;Ui==null||Ui(null);var va=oa?null:He(wo,pi);return mt!=="combobox"&&va&&(aa="",Et==null||Et(va),mi(!1),ro=!1),Be&&Go!==aa&&Be(aa,{source:fa?"typing":"effect"}),ro},is=function(wo){!wo||!wo.trim()||Be(wo,{source:"submit"})};te.useEffect(function(){!xr&&!Mi&&mt!=="combobox"&&ga("",!1,!1)},[xr]),te.useEffect(function(){po&&vn&&Ea(!1),vn&&cs(!1)},[vn]);var Rs=ee(),Ns=(0,G.Z)(Rs,2),si=Ns[0],Hi=Ns[1],ea=function(wo){var fa=si(),oa=wo.which;if(oa===Te.Z.ENTER&&(mt!=="combobox"&&wo.preventDefault(),xr||mi(!0)),Hi(!!Go),oa===Te.Z.BACKSPACE&&!fa&&Mi&&!Go&&un.length){for(var ro=(0,I.Z)(un),aa=null,va=ro.length-1;va>=0;va-=1){var La=ro[va];if(!La.disabled){ro.splice(va,1),aa=La;break}}aa&&vt(ro,{type:"remove",values:[aa]})}for(var Aa=arguments.length,Gl=new Array(Aa>1?Aa-1:0),Ys=1;Ys1?fa-1:0),ro=1;ro1?va-1:0),Aa=1;Aa1&&arguments[1]!==void 0?arguments[1]:!1;return(0,nn.Z)(yt).map(function(gn,kn){if(!te.isValidElement(gn)||!gn.type)return null;var on=gn,Ct=on.type.isSelectOptGroup,Ve=on.key,Ut=on.props,Ot=Ut.children,Gn=(0,P.Z)(Ut,zt);return Ke||!Ct?hn(gn):(0,F.Z)((0,F.Z)({key:"__RC_SELECT_GRP__".concat(Ve===null?kn:Ve,"__"),label:Ve},Gn),{},{options:tn(Ot)})}).filter(function(gn){return gn})}function ze(yt,Ke,gn,kn,on){return te.useMemo(function(){var Ct=yt,Ve=!yt;Ve&&(Ct=tn(Ke));var Ut=new Map,Ot=new Map,Gn=function(vt,je,L){L&&typeof L=="string"&&vt.set(je[L],je)};function ot(un){for(var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,je=0;je1&&arguments[1]!==void 0?arguments[1]:1,ar=Ui.length,Kn=0;Kn1&&arguments[1]!==void 0?arguments[1]:!1;_i(Ci);var ar={source:mr?"keyboard":"mouse"},Kn=Ui[Ci];if(!Kn){Lt(null,-1,ar);return}Lt(Kn.value,Ci,ar)};(0,te.useEffect)(function(){Xt(Qt!==!1?Be(0):-1)},[Ui.length,Gn]);var Ei=te.useCallback(function(Ri){return Cn.has(Ri)&&Ot!=="combobox"},[Ot,(0,I.Z)(Cn).toString(),Cn.size]);(0,te.useEffect)(function(){var Ri=setTimeout(function(){if(!Ut&&Ve&&Cn.size===1){var mr=Array.from(Cn)[0],ar=Ui.findIndex(function(Kn){var he=Kn.data;return he.value===mr});ar!==-1&&(Xt(ar),Hn(ar))}});if(Ve){var Ci;(Ci=J.current)===null||Ci===void 0||Ci.scrollTo(void 0)}return function(){return clearTimeout(Ri)}},[Ve,Gn,L.length]);var Zt=function(Ci){Ci!==void 0&&mt(Ci,{selected:!Cn.has(Ci)}),Ut||ot(!1)};if(te.useImperativeHandle(gn,function(){return{onKeyDown:function(Ci){var mr=Ci.which,ar=Ci.ctrlKey;switch(mr){case Te.Z.N:case Te.Z.P:case Te.Z.UP:case Te.Z.DOWN:{var Kn=0;if(mr===Te.Z.UP?Kn=-1:mr===Te.Z.DOWN?Kn=1:Nr()&&ar&&(mr===Te.Z.N?Kn=1:mr===Te.Z.P&&(Kn=-1)),Kn!==0){var he=Be(Rn+Kn,Kn);Hn(he),Xt(he,!0)}break}case Te.Z.ENTER:{var vr=Ui[Rn];vr&&!vr.data.disabled?Zt(vr.value):Zt(void 0),Ve&&Ci.preventDefault();break}case Te.Z.ESC:ot(!1),Ve&&Ci.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ci){Hn(Ci)}}}),Ui.length===0)return te.createElement("div",{role:"listbox",id:"".concat(Ct,"_list"),className:"".concat(Kt,"-empty"),onMouseDown:oe},un);var Pi=Object.keys(ui).map(function(Ri){return ui[Ri]}),Yr=function(Ci){return Ci.label};function It(Ri,Ci){var mr=Ri.group;return{role:mr?"presentation":"option",id:"".concat(Ct,"_list_").concat(Ci)}}var Jr=function(Ci){var mr=Ui[Ci];if(!mr)return null;var ar=mr.data||{},Kn=ar.value,he=mr.group,vr=(0,Ie.Z)(ar,!0),Cr=Yr(mr);return mr?te.createElement("div",(0,v.Z)({"aria-label":typeof Cr=="string"&&!he?Cr:null},vr,{key:Ci},It(mr,Ci),{"aria-selected":Ei(Kn)}),Kn):null},Jt={role:"listbox",id:"".concat(Ct,"_list")};return te.createElement(te.Fragment,null,Nn&&te.createElement("div",(0,v.Z)({},Jt,{style:{height:0,width:0,overflow:"hidden"}}),Jr(Rn-1),Jr(Rn),Jr(Rn+1)),te.createElement(gr.Z,{itemKey:"key",ref:J,data:Ui,height:Li,itemHeight:Qi,fullHeight:!1,onMouseDown:oe,onScroll:vt,virtual:Nn,direction:st,innerProps:Nn?null:Jt},function(Ri,Ci){var mr,ar=Ri.group,Kn=Ri.groupOption,he=Ri.data,vr=Ri.label,Cr=Ri.value,dr=he.key;if(ar){var Br,Ji=(Br=he.title)!==null&&Br!==void 0?Br:U(vr)?vr.toString():void 0;return te.createElement("div",{className:we()(Kt,"".concat(Kt,"-group")),title:Ji},vr!==void 0?vr:dr)}var Fi=he.disabled,Mi=he.title,cr=he.children,Ki=he.style,Rr=he.className,Gr=(0,P.Z)(he,pr),to=(0,ln.Z)(Gr,Pi),Fo=Ei(Cr),fi="".concat(Kt,"-option"),ma=we()(Kt,fi,Rr,(mr={},(0,O.Z)(mr,"".concat(fi,"-grouped"),Kn),(0,O.Z)(mr,"".concat(fi,"-active"),Rn===Ci&&!Fi),(0,O.Z)(mr,"".concat(fi,"-disabled"),Fi),(0,O.Z)(mr,"".concat(fi,"-selected"),Fo),mr)),jo=Yr(Ri),da=!vn||typeof vn=="function"||Fo,Ta=typeof jo=="number"?jo:jo||Cr,Ya=U(Ta)?Ta.toString():void 0;return Mi!==void 0&&(Ya=Mi),te.createElement("div",(0,v.Z)({},(0,Ie.Z)(to),Nn?{}:It(Ri,Ci),{"aria-selected":Fo,className:ma,title:Ya,onMouseMove:function(){Rn===Ci||Fi||Xt(Ci)},onClick:function(){Fi||Zt(Cr)},style:Ki}),te.createElement("div",{className:"".concat(fi,"-content")},Ta),te.isValidElement(vn)||Fo,da&&te.createElement(fe,{className:"".concat(Kt,"-option-state"),customizeIcon:vn,customizeIconProps:{isSelected:Fo}},Fo?"\u2713":null))}))},Er=te.forwardRef(yr);Er.displayName="OptionList";var wr=Er;function eo(yt){var Ke=yt.mode,gn=yt.options,kn=yt.children,on=yt.backfill,Ct=yt.allowClear,Ve=yt.placeholder,Ut=yt.getInputElement,Ot=yt.showSearch,Gn=yt.onSearch,ot=yt.defaultOpen,un=yt.autoFocus,vt=yt.labelInValue,je=yt.value,L=yt.inputValue,Lt=yt.optionLabelProp,Qt=isMultiple(Ke),mt=Ot!==void 0?Ot:Qt||Ke==="combobox",vn=gn||convertChildrenToData(kn);if(warning(Ke!=="tags"||vn.every(function(st){return!st.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ke==="tags"||Ke==="combobox"){var Cn=vn.some(function(st){return st.options?st.options.some(function(Li){return typeof("value"in Li?Li.value:Li.key)=="number"}):typeof("value"in st?st.value:st.key)=="number"});warning(!Cn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ke!=="combobox"||!Lt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ke==="combobox"||!on,"`backfill` only works with `combobox` mode."),warning(Ke==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(Ke!=="combobox"||!Ut||!Ct||!Ve,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Gn&&!mt&&Ke!=="combobox"&&Ke!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ot||un,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),je!=null){var ui=toArray(je);warning(!vt||ui.every(function(st){return _typeof(st)==="object"&&("key"in st||"value"in st)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Qt||Array.isArray(je),"`value` should be array when `mode` is `multiple` or `tags`")}if(kn){var Nn=null;toNodeArray(kn).some(function(st){if(!React.isValidElement(st)||!st.type)return!1;var Li=st,Qi=Li.type;if(Qi.isSelectOption)return!1;if(Qi.isSelectOptGroup){var Kt=toNodeArray(st.props.children).every(function(Ui){return!React.isValidElement(Ui)||!st.type||Ui.type.isSelectOption?!0:(Nn=Ui.type,!1)});return!Kt}return Nn=Qi,!0}),Nn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Nn.displayName||Nn.name||Nn,"`.")),warning(L===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function yo(yt,Ke){if(yt){var gn=function kn(on){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=0;Ve2&&arguments[2]!==void 0?arguments[2]:{},mi=hr.source,Vo=mi===void 0?"keyboard":mi;eu(Sn),Ve&&kn==="combobox"&&xr!==null&&Vo==="keyboard"&&Za(String(xr))},[Ve,kn]),Ao=function(Sn,hr,mi){var Vo=function(){var rs,Dr=Rr(Sn);return[Rn?{label:Dr==null?void 0:Dr[It.label],value:Sn,key:(rs=Dr==null?void 0:Dr.key)!==null&&rs!==void 0?rs:Sn}:Sn,Nt(Dr)]};if(hr&&je){var ga=Vo(),is=(0,G.Z)(ga,2),Rs=is[0],Ns=is[1];je(Rs,Ns)}else if(!hr&&L&&mi!=="clear"){var si=Vo(),Hi=(0,G.Z)(si,2),ea=Hi[0],As=Hi[1];L(ea,As)}},vo=Un(function(xr,Sn){var hr,mi=Zt?Sn.selected:!0;mi?hr=Zt?[].concat((0,I.Z)(Ki),[xr]):[xr]:hr=Ki.filter(function(Vo){return Vo.value!==xr}),Ya(hr),Ao(xr,mi),kn==="combobox"?Za(""):(!ut||vt)&&(Ci(""),Za(""))}),Mt=function(Sn,hr){Ya(Sn);var mi=hr.type,Vo=hr.values;(mi==="remove"||mi==="clear")&&Vo.forEach(function(ga){Ao(ga.value,!1,mi)})},Pr=function(Sn,hr){if(Ci(Sn),Za(null),hr.source==="submit"){var mi=(Sn||"").trim();if(mi){var Vo=Array.from(new Set([].concat((0,I.Z)(to),[mi])));Ya(Vo),Ao(mi,!0),Ci("")}return}hr.source!=="blur"&&(kn==="combobox"&&Ya(Sn),ot==null||ot(Sn))},po=function(Sn){var hr=Sn;kn!=="tags"&&(hr=Sn.map(function(Vo){var ga=Kn.get(Vo);return ga==null?void 0:ga.value}).filter(function(Vo){return Vo!==void 0}));var mi=Array.from(new Set([].concat((0,I.Z)(to),(0,I.Z)(hr))));Ya(mi),mi.forEach(function(Vo){Ao(Vo,!0)})},Ea=te.useMemo(function(){var xr=Kt!==!1&&Qt!==!1;return(0,F.Z)((0,F.Z)({},mr),{},{flattenOptions:Ta,onActiveValue:fo,defaultActiveFirstOption:ol,onSelect:vo,menuItemSelectedIcon:Qi,rawValues:to,fieldNames:It,virtual:xr,direction:Ui,listHeight:oe,listItemHeight:Be,childrenAsData:Pi})},[mr,Ta,fo,ol,vo,Qi,to,It,Kt,Qt,oe,Be,Pi]);return te.createElement(ti.Provider,{value:Ea},te.createElement(Tt,(0,v.Z)({},Xt,{id:Ei,prefixCls:Ct,ref:Ke,omitDomProps:ur,mode:kn,displayValues:Gr,onDisplayValuesChange:Mt,direction:Ui,searchValue:Ri,onSearch:Pr,autoClearSearchValue:vt,onSearchSplit:po,dropdownMatchSelectWidth:Qt,OptionList:wr,emptyOptions:!Ta.length,activeValue:cs,activeDescendantId:"".concat(Ei,"_list_").concat(Ba)})))}),dt=xi;dt.Option=vi,dt.OptGroup=Yn;var _n=dt,Wn=_n},9296:function(Q,C,h){"use strict";h.r(C),h.d(C,{ResizableTextArea:function(){return Ye},default:function(){return kt}});var v=h(92413),I=h(33708),O=h(400),F=h(39559),G=h(33606),P=h(37061),M=h(26407),de=h(92310),ce=h.n(de),te=h(93681),Me=h(5643),we=h(18929),Qe=h(59301),Oe=h(29301),Te=h(34280),Ae=h(16089),Re=` +`].includes(Kr)})},[fi]),ga=function(wo,ha,aa){var ro=!0,ia=wo;zi==null||zi(null);var va=aa?null:$e(wo,fi);return mt!=="combobox"&&va&&(ia="",Tt==null||Tt(va),mi(!1),ro=!1),Be&&Go!==ia&&Be(ia,{source:ha?"typing":"effect"}),ro},Ja=function(wo){!wo||!wo.trim()||Be(wo,{source:"submit"})};te.useEffect(function(){!xr&&!Ai&&mt!=="combobox"&&ga("",!1,!1)},[xr]),te.useEffect(function(){co&&xn&&xa(!1),xn&&ss(!1)},[xn]);var Ms=ee(),Ss=(0,G.Z)(Ms,2),ai=Ss[0],Ui=Ss[1],Jo=function(wo){var ha=ai(),aa=wo.which;if(aa===Ce.Z.ENTER&&(mt!=="combobox"&&wo.preventDefault(),xr||mi(!0)),Ui(!!Go),aa===Ce.Z.BACKSPACE&&!ha&&Ai&&!Go&&fn.length){for(var ro=(0,I.Z)(fn),ia=null,va=ro.length-1;va>=0;va-=1){var Ma=ro[va];if(!Ma.disabled){ro.splice(va,1),ia=Ma;break}}ia&&vt(ro,{type:"remove",values:[ia]})}for(var Oa=arguments.length,Gl=new Array(Oa>1?Oa-1:0),Vs=1;Vs1?ha-1:0),ro=1;ro1?va-1:0),Oa=1;Oa1&&arguments[1]!==void 0?arguments[1]:!1;return(0,an.Z)(pt).map(function(vn,Fn){if(!te.isValidElement(vn)||!vn.type)return null;var on=vn,Nt=on.type.isSelectOptGroup,Ve=on.key,Ut=on.props,Lt=Ut.children,Wn=(0,F.Z)(Ut,zt);return Ke||!Nt?dn(vn):(0,B.Z)((0,B.Z)({key:"__RC_SELECT_GRP__".concat(Ve===null?Fn:Ve,"__"),label:Ve},Wn),{},{options:rn(Lt)})}).filter(function(vn){return vn})}function ze(pt,Ke,vn,Fn,on){return te.useMemo(function(){var Nt=pt,Ve=!pt;Ve&&(Nt=rn(Ke));var Ut=new Map,Lt=new Map,Wn=function(vt,je,L){L&&typeof L=="string"&&vt.set(je[L],je)};function ot(fn){for(var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,je=0;je1&&arguments[1]!==void 0?arguments[1]:1,tr=zi.length,Zn=0;Zn1&&arguments[1]!==void 0?arguments[1]:!1;Fi(Ei);var tr={source:or?"keyboard":"mouse"},Zn=zi[Ei];if(!Zn){Rt(null,-1,tr);return}Rt(Zn.value,Ei,tr)};(0,te.useEffect)(function(){qt(Jt!==!1?Be(0):-1)},[zi.length,Wn]);var xi=te.useCallback(function(Oi){return An.has(Oi)&&Lt!=="combobox"},[Lt,(0,I.Z)(An).toString(),An.size]);(0,te.useEffect)(function(){var Oi=setTimeout(function(){if(!Ut&&Ve&&An.size===1){var or=Array.from(An)[0],tr=zi.findIndex(function(Zn){var he=Zn.data;return he.value===or});tr!==-1&&(qt(tr),Hn(tr))}});if(Ve){var Ei;(Ei=q.current)===null||Ei===void 0||Ei.scrollTo(void 0)}return function(){return clearTimeout(Oi)}},[Ve,Wn,L.length]);var Xt=function(Ei){Ei!==void 0&&mt(Ei,{selected:!An.has(Ei)}),Ut||ot(!1)};if(te.useImperativeHandle(vn,function(){return{onKeyDown:function(Ei){var or=Ei.which,tr=Ei.ctrlKey;switch(or){case Ce.Z.N:case Ce.Z.P:case Ce.Z.UP:case Ce.Z.DOWN:{var Zn=0;if(or===Ce.Z.UP?Zn=-1:or===Ce.Z.DOWN?Zn=1:Tr()&&tr&&(or===Ce.Z.N?Zn=1:or===Ce.Z.P&&(Zn=-1)),Zn!==0){var he=Be(Ln+Zn,Zn);Hn(he),qt(he,!0)}break}case Ce.Z.ENTER:{var gr=zi[Ln];gr&&!gr.data.disabled?Xt(gr.value):Xt(void 0),Ve&&Ei.preventDefault();break}case Ce.Z.ESC:ot(!1),Ve&&Ei.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ei){Hn(Ei)}}}),zi.length===0)return te.createElement("div",{role:"listbox",id:"".concat(Nt,"_list"),className:"".concat(Yt,"-empty"),onMouseDown:oe},fn);var Li=Object.keys(li).map(function(Oi){return li[Oi]}),Yr=function(Ei){return Ei.label};function Mt(Oi,Ei){var or=Oi.group;return{role:or?"presentation":"option",id:"".concat(Nt,"_list_").concat(Ei)}}var Qr=function(Ei){var or=zi[Ei];if(!or)return null;var tr=or.data||{},Zn=tr.value,he=or.group,gr=(0,Ie.Z)(tr,!0),br=Yr(or);return or?te.createElement("div",(0,v.Z)({"aria-label":typeof br=="string"&&!he?br:null},gr,{key:Ei},Mt(or,Ei),{"aria-selected":xi(Zn)}),Zn):null},tn={role:"listbox",id:"".concat(Nt,"_list")};return te.createElement(te.Fragment,null,Nn&&te.createElement("div",(0,v.Z)({},tn,{style:{height:0,width:0,overflow:"hidden"}}),Qr(Ln-1),Qr(Ln),Qr(Ln+1)),te.createElement(fr.Z,{itemKey:"key",ref:q,data:zi,height:Mi,itemHeight:Yi,fullHeight:!1,onMouseDown:oe,onScroll:vt,virtual:Nn,direction:st,innerProps:Nn?null:tn},function(Oi,Ei){var or,tr=Oi.group,Zn=Oi.groupOption,he=Oi.data,gr=Oi.label,br=Oi.value,cr=he.key;if(tr){var Br,Zi=(Br=he.title)!==null&&Br!==void 0?Br:U(gr)?gr.toString():void 0;return te.createElement("div",{className:we()(Yt,"".concat(Yt,"-group")),title:Zi},gr!==void 0?gr:cr)}var Ri=he.disabled,Ai=he.title,hr=he.children,Ki=he.style,Lr=he.className,Wr=(0,F.Z)(he,ur),eo=(0,cn.Z)(Wr,Li),Lo=xi(br),pi="".concat(Yt,"-option"),pa=we()(Yt,pi,Lr,(or={},(0,O.Z)(or,"".concat(pi,"-grouped"),Zn),(0,O.Z)(or,"".concat(pi,"-active"),Ln===Ei&&!Ri),(0,O.Z)(or,"".concat(pi,"-disabled"),Ri),(0,O.Z)(or,"".concat(pi,"-selected"),Lo),or)),Uo=Yr(Oi),oa=!xn||typeof xn=="function"||Lo,ma=typeof Uo=="number"?Uo:Uo||br,$a=U(ma)?ma.toString():void 0;return Ai!==void 0&&($a=Ai),te.createElement("div",(0,v.Z)({},(0,Ie.Z)(eo),Nn?{}:Mt(Oi,Ei),{"aria-selected":Lo,className:pa,title:$a,onMouseMove:function(){Ln===Ei||Ri||qt(Ei)},onClick:function(){Ri||Xt(br)},style:Ki}),te.createElement("div",{className:"".concat(pi,"-content")},ma),te.isValidElement(xn)||Lo,oa&&te.createElement(fe,{className:"".concat(Yt,"-option-state"),customizeIcon:xn,customizeIconProps:{isSelected:Lo}},Lo?"\u2713":null))}))},Er=te.forwardRef(mr);Er.displayName="OptionList";var wr=Er;function qr(pt){var Ke=pt.mode,vn=pt.options,Fn=pt.children,on=pt.backfill,Nt=pt.allowClear,Ve=pt.placeholder,Ut=pt.getInputElement,Lt=pt.showSearch,Wn=pt.onSearch,ot=pt.defaultOpen,fn=pt.autoFocus,vt=pt.labelInValue,je=pt.value,L=pt.inputValue,Rt=pt.optionLabelProp,Jt=isMultiple(Ke),mt=Lt!==void 0?Lt:Jt||Ke==="combobox",xn=vn||convertChildrenToData(Fn);if(warning(Ke!=="tags"||xn.every(function(st){return!st.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ke==="tags"||Ke==="combobox"){var An=xn.some(function(st){return st.options?st.options.some(function(Mi){return typeof("value"in Mi?Mi.value:Mi.key)=="number"}):typeof("value"in st?st.value:st.key)=="number"});warning(!An,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ke!=="combobox"||!Rt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ke==="combobox"||!on,"`backfill` only works with `combobox` mode."),warning(Ke==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(Ke!=="combobox"||!Ut||!Nt||!Ve,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Wn&&!mt&&Ke!=="combobox"&&Ke!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ot||fn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),je!=null){var li=toArray(je);warning(!vt||li.every(function(st){return _typeof(st)==="object"&&("key"in st||"value"in st)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Jt||Array.isArray(je),"`value` should be array when `mode` is `multiple` or `tags`")}if(Fn){var Nn=null;toNodeArray(Fn).some(function(st){if(!React.isValidElement(st)||!st.type)return!1;var Mi=st,Yi=Mi.type;if(Yi.isSelectOption)return!1;if(Yi.isSelectOptGroup){var Yt=toNodeArray(st.props.children).every(function(zi){return!React.isValidElement(zi)||!st.type||zi.type.isSelectOption?!0:(Nn=zi.type,!1)});return!Yt}return Nn=Yi,!0}),Nn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Nn.displayName||Nn.name||Nn,"`.")),warning(L===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function xo(pt,Ke){if(pt){var vn=function Fn(on){for(var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=0;Ve2&&arguments[2]!==void 0?arguments[2]:{},mi=ar.source,Wo=mi===void 0?"keyboard":mi;ql(wn),Ve&&Fn==="combobox"&&xr!==null&&Wo==="keyboard"&&Ua(String(xr))},[Ve,Fn]),No=function(wn,ar,mi){var Wo=function(){var rs,Rr=Lr(wn);return[Ln?{label:Rr==null?void 0:Rr[Mt.label],value:wn,key:(rs=Rr==null?void 0:Rr.key)!==null&&rs!==void 0?rs:wn}:wn,It(Rr)]};if(ar&&je){var ga=Wo(),Ja=(0,G.Z)(ga,2),Ms=Ja[0],Ss=Ja[1];je(Ms,Ss)}else if(!ar&&L&&mi!=="clear"){var ai=Wo(),Ui=(0,G.Z)(ai,2),Jo=Ui[0],Es=Ui[1];L(Jo,Es)}},go=Un(function(xr,wn){var ar,mi=Xt?wn.selected:!0;mi?ar=Xt?[].concat((0,I.Z)(Ki),[xr]):[xr]:ar=Ki.filter(function(Wo){return Wo.value!==xr}),$a(ar),No(xr,mi),Fn==="combobox"?Ua(""):(!ut||vt)&&(Ei(""),Ua(""))}),Ot=function(wn,ar){$a(wn);var mi=ar.type,Wo=ar.values;(mi==="remove"||mi==="clear")&&Wo.forEach(function(ga){No(ga.value,!1,mi)})},Pr=function(wn,ar){if(Ei(wn),Ua(null),ar.source==="submit"){var mi=(wn||"").trim();if(mi){var Wo=Array.from(new Set([].concat((0,I.Z)(eo),[mi])));$a(Wo),No(mi,!0),Ei("")}return}ar.source!=="blur"&&(Fn==="combobox"&&$a(wn),ot==null||ot(wn))},co=function(wn){var ar=wn;Fn!=="tags"&&(ar=wn.map(function(Wo){var ga=Zn.get(Wo);return ga==null?void 0:ga.value}).filter(function(Wo){return Wo!==void 0}));var mi=Array.from(new Set([].concat((0,I.Z)(eo),(0,I.Z)(ar))));$a(mi),mi.forEach(function(Wo){No(Wo,!0)})},xa=te.useMemo(function(){var xr=Yt!==!1&&Jt!==!1;return(0,B.Z)((0,B.Z)({},or),{},{flattenOptions:ma,onActiveValue:uo,defaultActiveFirstOption:nl,onSelect:go,menuItemSelectedIcon:Yi,rawValues:eo,fieldNames:Mt,virtual:xr,direction:zi,listHeight:oe,listItemHeight:Be,childrenAsData:Li})},[or,ma,uo,nl,go,Yi,eo,Mt,Yt,Jt,oe,Be,Li]);return te.createElement(ei.Provider,{value:xa},te.createElement(Et,(0,v.Z)({},qt,{id:xi,prefixCls:Nt,ref:Ke,omitDomProps:rr,mode:Fn,displayValues:Wr,onDisplayValuesChange:Ot,direction:zi,searchValue:Oi,onSearch:Pr,autoClearSearchValue:vt,onSearchSplit:co,dropdownMatchSelectWidth:Jt,OptionList:wr,emptyOptions:!ma.length,activeValue:ss,activeDescendantId:"".concat(xi,"_list_").concat(Pa)})))}),ht=yi;ht.Option=_i,ht.OptGroup=Bt;var _n=ht,Vn=_n},9296:function(Q,C,h){"use strict";h.r(C),h.d(C,{ResizableTextArea:function(){return Ye},default:function(){return kt}});var v=h(92413),I=h(33708),O=h(400),B=h(39559),G=h(33606),F=h(37061),M=h(26407),de=h(92310),ae=h.n(de),te=h(93681),Me=h(5643),we=h(18929),Xe=h(59301),Oe=h(29301),Ce=h(34280),Ae=h(16089),Pe=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -348,29 +348,29 @@ b`.split(/\n/).length!=3?function(s){for(var c=0,b=[],y=s.length;c<=y;){var w=s. top:0 !important; right:0 !important; pointer-events: none !important; -`,fe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],me={},xe;function ge(wt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=wt.getAttribute("id")||wt.getAttribute("data-reactid")||wt.getAttribute("name");if(En&&me[Je])return me[Je];var se=window.getComputedStyle(wt),ue=se.getPropertyValue("box-sizing")||se.getPropertyValue("-moz-box-sizing")||se.getPropertyValue("-webkit-box-sizing"),Ht=parseFloat(se.getPropertyValue("padding-bottom"))+parseFloat(se.getPropertyValue("padding-top")),Vt=parseFloat(se.getPropertyValue("border-bottom-width"))+parseFloat(se.getPropertyValue("border-top-width")),St=fe.map(function(Ft){return"".concat(Ft,":").concat(se.getPropertyValue(Ft))}).join(";"),an={sizingStyle:St,paddingSize:Ht,borderSize:Vt,boxSizing:ue};return En&&Je&&(me[Je]=an),an}function ke(wt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;xe||(xe=document.createElement("textarea"),xe.setAttribute("tab-index","-1"),xe.setAttribute("aria-hidden","true"),document.body.appendChild(xe)),wt.getAttribute("wrap")?xe.setAttribute("wrap",wt.getAttribute("wrap")):xe.removeAttribute("wrap");var ue=ge(wt,En),Ht=ue.paddingSize,Vt=ue.borderSize,St=ue.boxSizing,an=ue.sizingStyle;xe.setAttribute("style","".concat(an,";").concat(Re)),xe.value=wt.value||wt.placeholder||"";var Ft=void 0,ai=void 0,Ln,ni=xe.scrollHeight;if(St==="border-box"?ni+=Vt:St==="content-box"&&(ni-=Ht),Je!==null||se!==null){xe.value=" ";var Jn=xe.scrollHeight-Ht;Je!==null&&(Ft=Jn*Je,St==="border-box"&&(Ft=Ft+Ht+Vt),ni=Math.max(Ft,ni)),se!==null&&(ai=Jn*se,St==="border-box"&&(ai=ai+Ht+Vt),Ln=ni>ai?"":"hidden",ni=Math.min(ai,ni))}var In={height:ni,overflowY:Ln,resize:"none"};return Ft&&(In.minHeight=Ft),ai&&(In.maxHeight=ai),In}var ee=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ne=0,Ie=1,Fe=2,Xe=Qe.forwardRef(function(wt,En){var Je=wt,se=Je.prefixCls,ue=Je.onPressEnter,Ht=Je.defaultValue,Vt=Je.value,St=Je.autoSize,an=Je.onResize,Ft=Je.className,ai=Je.style,Ln=Je.disabled,ni=Je.onChange,Jn=Je.onInternalAutoSize,In=(0,P.Z)(Je,ee),Mn=(0,we.Z)(Ht,{value:Vt,postState:function(Yn){return Yn!=null?Yn:""}}),re=(0,G.Z)(Mn,2),z=re[0],k=re[1],j=function(Yn){k(Yn.target.value),ni==null||ni(Yn)},X=Qe.useRef();Qe.useImperativeHandle(En,function(){return{textArea:X.current}});var N=Qe.useMemo(function(){return St&&(0,F.Z)(St)==="object"?[St.minRows,St.maxRows]:[]},[St]),_e=(0,G.Z)(N,2),Nt=_e[0],He=_e[1],De=!!St,gt=function(){try{if(document.activeElement===X.current){var Yn=X.current,wi=Yn.selectionStart,vi=Yn.selectionEnd,dn=Yn.scrollTop;X.current.setSelectionRange(wi,vi),X.current.scrollTop=dn}}catch(ln){}},ut=Qe.useState(Fe),nt=(0,G.Z)(ut,2),Tt=nt[0],fn=nt[1],qt=Qe.useState(),jt=(0,G.Z)(qt,2),cn=jt[0],nn=jt[1],et=function(){fn(Ne)};(0,Te.Z)(function(){De&&et()},[Vt,Nt,He,De]),(0,Te.Z)(function(){if(Tt===Ne)fn(Ie);else if(Tt===Ie){var On=ke(X.current,!1,Nt,He);fn(Fe),nn(On)}else gt()},[Tt]);var zt=Qe.useRef(),hn=function(){Ae.Z.cancel(zt.current)},tn=function(Yn){Tt===Fe&&(an==null||an(Yn),St&&(hn(),zt.current=(0,Ae.Z)(function(){et()})))};Qe.useEffect(function(){return hn},[]);var ze=De?cn:null,Un=(0,I.Z)((0,I.Z)({},ai),ze);return(Tt===Ne||Tt===Ie)&&(Un.overflowY="hidden",Un.overflowX="hidden"),Qe.createElement(Oe.Z,{onResize:tn,disabled:!(St||an)},Qe.createElement("textarea",(0,v.Z)({},In,{ref:X,style:Un,className:ce()(se,Ft,(0,O.Z)({},"".concat(se,"-disabled"),Ln)),disabled:Ln,value:z,onChange:j})))}),Ye=Xe,ie=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function lt(wt,En){return(0,M.Z)(wt||"").slice(0,En).join("")}function We(wt,En,Je,se){var ue=Je;return wt?ue=lt(Je,se):(0,M.Z)(En||"").lengthse&&(ue=En),ue}var Pt=Qe.forwardRef(function(wt,En){var Je,se=wt.defaultValue,ue=wt.value,Ht=wt.onFocus,Vt=wt.onBlur,St=wt.onChange,an=wt.allowClear,Ft=wt.maxLength,ai=wt.onCompositionStart,Ln=wt.onCompositionEnd,ni=wt.suffix,Jn=wt.prefixCls,In=Jn===void 0?"rc-textarea":Jn,Mn=wt.classes,re=wt.showCount,z=wt.className,k=wt.style,j=wt.disabled,X=wt.hidden,N=wt.classNames,_e=wt.styles,Nt=wt.onResize,He=(0,P.Z)(wt,ie),De=(0,we.Z)(se,{value:ue,defaultValue:se}),gt=(0,G.Z)(De,2),ut=gt[0],nt=gt[1],Tt=(0,Qe.useRef)(null),fn=Qe.useState(!1),qt=(0,G.Z)(fn,2),jt=qt[0],cn=qt[1],nn=Qe.useState(!1),et=(0,G.Z)(nn,2),zt=et[0],hn=et[1],tn=Qe.useRef(),ze=Qe.useRef(0),Un=Qe.useState(null),On=(0,G.Z)(Un,2),Yn=On[0],wi=On[1],vi=function(){var zi;(zi=Tt.current)===null||zi===void 0||zi.textArea.focus()};(0,Qe.useImperativeHandle)(En,function(){return{resizableTextArea:Tt.current,focus:vi,blur:function(){var zi;(zi=Tt.current)===null||zi===void 0||zi.textArea.blur()}}}),(0,Qe.useEffect)(function(){cn(function(ur){return!j&&ur})},[j]);var dn=Number(Ft)>0,ln=function(zi){hn(!0),tn.current=ut,ze.current=zi.currentTarget.selectionStart,ai==null||ai(zi)},gr=function(zi){hn(!1);var xi=zi.currentTarget.value;if(dn){var dt,_n=ze.current>=Ft+1||ze.current===((dt=tn.current)===null||dt===void 0?void 0:dt.length);xi=We(_n,tn.current,xi,Ft)}xi!==ut&&(nt(xi),(0,Me.rJ)(zi.currentTarget,zi,St,xi)),Ln==null||Ln(zi)},er=function(zi){var xi=zi.target.value;if(!zt&&dn){var dt=zi.target.selectionStart>=Ft+1||zi.target.selectionStart===xi.length||!zi.target.selectionStart;xi=We(dt,ut,xi,Ft)}nt(xi),(0,Me.rJ)(zi.currentTarget,zi,St,xi)},ti=function(zi){var xi=He.onPressEnter,dt=He.onKeyDown;zi.key==="Enter"&&xi&&xi(zi),dt==null||dt(zi)},Nr=function(zi){cn(!0),Ht==null||Ht(zi)},pr=function(zi){cn(!1),Vt==null||Vt(zi)},U=function(zi){var xi;nt(""),vi(),(0,Me.rJ)((xi=Tt.current)===null||xi===void 0?void 0:xi.textArea,zi,St)},yr=(0,Me.D7)(ut);!zt&&dn&&ue==null&&(yr=lt(yr,Ft));var Er=ni,wr;if(re){var eo=(0,M.Z)(yr).length;(0,F.Z)(re)==="object"?wr=re.formatter({value:yr,count:eo,maxLength:Ft}):wr="".concat(eo).concat(dn?" / ".concat(Ft):""),Er=Qe.createElement(Qe.Fragment,null,Er,Qe.createElement("span",{className:ce()("".concat(In,"-data-count"),N==null?void 0:N.count),style:_e==null?void 0:_e.count},wr))}var yo=function(zi){var xi;Nt==null||Nt(zi),(xi=Tt.current)!==null&&xi!==void 0&&xi.textArea.style.height&&wi(!0)},Ir=!He.autoSize&&!re&&!an,no=Qe.createElement(te.BaseInput,{value:yr,allowClear:an,handleReset:U,suffix:Er,prefixCls:In,classes:{affixWrapper:ce()(Mn==null?void 0:Mn.affixWrapper,(Je={},(0,O.Z)(Je,"".concat(In,"-show-count"),re),(0,O.Z)(Je,"".concat(In,"-textarea-allow-clear"),an),Je))},disabled:j,focused:jt,className:z,style:(0,I.Z)((0,I.Z)({},k),Yn&&!Ir?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof wr=="string"?wr:void 0}},hidden:X,inputElement:Qe.createElement(Ye,(0,v.Z)({},He,{onKeyDown:ti,onChange:er,onFocus:Nr,onBlur:pr,onCompositionStart:ln,onCompositionEnd:gr,className:N==null?void 0:N.textarea,style:(0,I.Z)((0,I.Z)({},_e==null?void 0:_e.textarea),{},{resize:k==null?void 0:k.resize}),disabled:j,prefixCls:In,onResize:yo,ref:Tt}))});return no}),xt=Pt,kt=xt},39417:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ie}});var v=h(92413),I=h(400),O=h(37061),F=h(33708),G=h(6909),P=h(4771),M=h(25314),de=h(9427),ce=h(25440),te=h(92310),Me=h.n(te),we=h(26112),Qe=h(59301),Oe=h(39378),Te=function(Xe){for(var Ye=Xe.prefixCls,ie=Xe.level,lt=Xe.isStart,We=Xe.isEnd,Pt="".concat(Ye,"-indent-unit"),xt=[],kt=0;kt0&&arguments[0]!==void 0?arguments[0]:[],j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],X=k.length,N=j.length;if(Math.abs(X-N)!==1)return{add:!1,key:null};function _e(Nt,He){var De=new Map;Nt.forEach(function(ut){De.set(ut,!0)});var gt=He.filter(function(ut){return!De.has(ut)});return gt.length===1?gt[0]:null}return X ").concat(j);return j}var Ft=Ae.forwardRef(function(k,j){var X=k.prefixCls,N=k.data,_e=k.selectable,Nt=k.checkable,He=k.expandedKeys,De=k.selectedKeys,gt=k.checkedKeys,ut=k.loadedKeys,nt=k.loadingKeys,Tt=k.halfCheckedKeys,fn=k.keyEntities,qt=k.disabled,jt=k.dragging,cn=k.dragOverNodeKey,nn=k.dropPosition,et=k.motion,zt=k.height,hn=k.itemHeight,tn=k.virtual,ze=k.focusable,Un=k.activeItem,On=k.focused,Yn=k.tabIndex,wi=k.onKeyDown,vi=k.onFocus,dn=k.onBlur,ln=k.onActiveChange,gr=k.onListChangeStart,er=k.onListChangeEnd,ti=(0,ge.Z)(k,kt),Nr=Ae.useRef(null),pr=Ae.useRef(null);Ae.useImperativeHandle(j,function(){return{scrollTo:function(un){Nr.current.scrollTo(un)},getIndentWidth:function(){return pr.current.offsetWidth}}});var U=Ae.useState(He),yr=(0,xe.Z)(U,2),Er=yr[0],wr=yr[1],eo=Ae.useState(N),yo=(0,xe.Z)(eo,2),Ir=yo[0],no=yo[1],ur=Ae.useState(N),zi=(0,xe.Z)(ur,2),xi=zi[0],dt=zi[1],_n=Ae.useState([]),Wn=(0,xe.Z)(_n,2),yt=Wn[0],Ke=Wn[1],gn=Ae.useState(null),kn=(0,xe.Z)(gn,2),on=kn[0],Ct=kn[1],Ve=Ae.useRef(N);Ve.current=N;function Ut(){var ot=Ve.current;no(ot),dt(ot),Ke([]),Ct(null),er()}(0,ke.Z)(function(){wr(He);var ot=Pt(Er,He);if(ot.key!==null)if(ot.add){var un=Ir.findIndex(function(mt){var vn=mt.key;return vn===ot.key}),vt=Vt(xt(Ir,N,ot.key),tn,zt,hn),je=Ir.slice();je.splice(un+1,0,Ht),dt(je),Ke(vt),Ct("show")}else{var L=N.findIndex(function(mt){var vn=mt.key;return vn===ot.key}),Lt=Vt(xt(N,Ir,ot.key),tn,zt,hn),Qt=N.slice();Qt.splice(L+1,0,Ht),dt(Qt),Ke(Lt),Ct("hide")}else Ir!==N&&(no(N),dt(N))},[He,N]),Ae.useEffect(function(){jt||Ut()},[jt]);var Ot=et?xi:N,Gn={expandedKeys:He,selectedKeys:De,loadedKeys:ut,loadingKeys:nt,checkedKeys:gt,halfCheckedKeys:Tt,dragOverNodeKey:cn,dropPosition:nn,keyEntities:fn};return Ae.createElement(Ae.Fragment,null,On&&Un&&Ae.createElement("span",{style:wt,"aria-live":"assertive"},an(Un)),Ae.createElement("div",null,Ae.createElement("input",{style:wt,disabled:ze===!1||qt,tabIndex:ze!==!1?Yn:null,onKeyDown:wi,onFocus:vi,onBlur:dn,value:"",onChange:En,"aria-label":"for screen reader"})),Ae.createElement("div",{className:"".concat(X,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ae.createElement("div",{className:"".concat(X,"-indent")},Ae.createElement("div",{ref:pr,className:"".concat(X,"-indent-unit")}))),Ae.createElement(ee.Z,(0,v.Z)({},ti,{data:Ot,itemKey:St,height:zt,fullHeight:!1,virtual:tn,itemHeight:hn,prefixCls:"".concat(X,"-list"),ref:Nr,onVisibleChange:function(un,vt){var je=new Set(un),L=vt.filter(function(Lt){return!je.has(Lt)});L.some(function(Lt){return St(Lt)===Je})&&Ut()}}),function(ot){var un=ot.pos,vt=(0,v.Z)({},(me(ot.data),ot.data)),je=ot.title,L=ot.key,Lt=ot.isStart,Qt=ot.isEnd,mt=(0,Xe.km)(L,un);delete vt.key,delete vt.children;var vn=(0,Xe.H8)(mt,Gn);return Ae.createElement(We,(0,v.Z)({},vt,vn,{title:je,active:!!Un&&L===Un.key,pos:un,data:ot.data,isStart:Lt,isEnd:Qt,motion:et,motionNodes:L===Je?yt:null,motionType:on,onMotionStart:gr,onMotionEnd:Ut,treeNodeRequiredProps:Gn,onMouseMove:function(){ln(null)}}))}))});Ft.displayName="NodeList";var ai=Ft,Ln=h(35654),ni=h(90782),Jn=h(67841),In=10,Mn=function(k){(0,ce.Z)(X,k);var j=(0,te.Z)(X);function X(){var N;(0,P.Z)(this,X);for(var _e=arguments.length,Nt=new Array(_e),He=0;He<_e;He++)Nt[He]=arguments[He];return N=j.call.apply(j,[this].concat(Nt)),N.destroyed=!1,N.delayedDragEnterLogic=void 0,N.loadingRetryTimes={},N.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Xe.w$)()},N.dragStartMousePosition=null,N.dragNode=void 0,N.currentMouseOverDroppableNodeKey=null,N.listRef=Ae.createRef(),N.onNodeDragStart=function(De,gt){var ut=N.state,nt=ut.expandedKeys,Tt=ut.keyEntities,fn=N.props.onDragStart,qt=gt.props.eventKey;N.dragNode=gt,N.dragStartMousePosition={x:De.clientX,y:De.clientY};var jt=(0,Ln._5)(nt,qt);N.setState({draggingNodeKey:qt,dragChildrenKeys:(0,Ln.wA)(qt,Tt),indent:N.listRef.current.getIndentWidth()}),N.setExpandedKeys(jt),window.addEventListener("dragend",N.onWindowDragEnd),fn==null||fn({event:De,node:(0,Xe.F)(gt.props)})},N.onNodeDragEnter=function(De,gt){var ut=N.state,nt=ut.expandedKeys,Tt=ut.keyEntities,fn=ut.dragChildrenKeys,qt=ut.flattenNodes,jt=ut.indent,cn=N.props,nn=cn.onDragEnter,et=cn.onExpand,zt=cn.allowDrop,hn=cn.direction,tn=gt.props,ze=tn.pos,Un=tn.eventKey,On=(0,de.Z)(N),Yn=On.dragNode;if(N.currentMouseOverDroppableNodeKey!==Un&&(N.currentMouseOverDroppableNodeKey=Un),!Yn){N.resetDragState();return}var wi=(0,Ln.OM)(De,Yn,gt,jt,N.dragStartMousePosition,zt,qt,Tt,nt,hn),vi=wi.dropPosition,dn=wi.dropLevelOffset,ln=wi.dropTargetKey,gr=wi.dropContainerKey,er=wi.dropTargetPos,ti=wi.dropAllowed,Nr=wi.dragOverNodeKey;if(fn.indexOf(ln)!==-1||!ti){N.resetDragState();return}if(N.delayedDragEnterLogic||(N.delayedDragEnterLogic={}),Object.keys(N.delayedDragEnterLogic).forEach(function(pr){clearTimeout(N.delayedDragEnterLogic[pr])}),Yn.props.eventKey!==gt.props.eventKey&&(De.persist(),N.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(N.state.draggingNodeKey!==null){var pr=(0,G.Z)(nt),U=(0,Jn.Z)(Tt,gt.props.eventKey);U&&(U.children||[]).length&&(pr=(0,Ln.L0)(nt,gt.props.eventKey)),"expandedKeys"in N.props||N.setExpandedKeys(pr),et==null||et(pr,{node:(0,Xe.F)(gt.props),expanded:!0,nativeEvent:De.nativeEvent})}},800)),Yn.props.eventKey===ln&&dn===0){N.resetDragState();return}N.setState({dragOverNodeKey:Nr,dropPosition:vi,dropLevelOffset:dn,dropTargetKey:ln,dropContainerKey:gr,dropTargetPos:er,dropAllowed:ti}),nn==null||nn({event:De,node:(0,Xe.F)(gt.props),expandedKeys:nt})},N.onNodeDragOver=function(De,gt){var ut=N.state,nt=ut.dragChildrenKeys,Tt=ut.flattenNodes,fn=ut.keyEntities,qt=ut.expandedKeys,jt=ut.indent,cn=N.props,nn=cn.onDragOver,et=cn.allowDrop,zt=cn.direction,hn=(0,de.Z)(N),tn=hn.dragNode;if(tn){var ze=(0,Ln.OM)(De,tn,gt,jt,N.dragStartMousePosition,et,Tt,fn,qt,zt),Un=ze.dropPosition,On=ze.dropLevelOffset,Yn=ze.dropTargetKey,wi=ze.dropContainerKey,vi=ze.dropAllowed,dn=ze.dropTargetPos,ln=ze.dragOverNodeKey;nt.indexOf(Yn)!==-1||!vi||(tn.props.eventKey===Yn&&On===0?N.state.dropPosition===null&&N.state.dropLevelOffset===null&&N.state.dropTargetKey===null&&N.state.dropContainerKey===null&&N.state.dropTargetPos===null&&N.state.dropAllowed===!1&&N.state.dragOverNodeKey===null||N.resetDragState():Un===N.state.dropPosition&&On===N.state.dropLevelOffset&&Yn===N.state.dropTargetKey&&wi===N.state.dropContainerKey&&dn===N.state.dropTargetPos&&vi===N.state.dropAllowed&&ln===N.state.dragOverNodeKey||N.setState({dropPosition:Un,dropLevelOffset:On,dropTargetKey:Yn,dropContainerKey:wi,dropTargetPos:dn,dropAllowed:vi,dragOverNodeKey:ln}),nn==null||nn({event:De,node:(0,Xe.F)(gt.props)}))}},N.onNodeDragLeave=function(De,gt){N.currentMouseOverDroppableNodeKey===gt.props.eventKey&&!De.currentTarget.contains(De.relatedTarget)&&(N.resetDragState(),N.currentMouseOverDroppableNodeKey=null);var ut=N.props.onDragLeave;ut==null||ut({event:De,node:(0,Xe.F)(gt.props)})},N.onWindowDragEnd=function(De){N.onNodeDragEnd(De,null,!0),window.removeEventListener("dragend",N.onWindowDragEnd)},N.onNodeDragEnd=function(De,gt){var ut=N.props.onDragEnd;N.setState({dragOverNodeKey:null}),N.cleanDragState(),ut==null||ut({event:De,node:(0,Xe.F)(gt.props)}),N.dragNode=null,window.removeEventListener("dragend",N.onWindowDragEnd)},N.onNodeDrop=function(De,gt){var ut,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Tt=N.state,fn=Tt.dragChildrenKeys,qt=Tt.dropPosition,jt=Tt.dropTargetKey,cn=Tt.dropTargetPos,nn=Tt.dropAllowed;if(nn){var et=N.props.onDrop;if(N.setState({dragOverNodeKey:null}),N.cleanDragState(),jt!==null){var zt=(0,F.Z)((0,F.Z)({},(0,Xe.H8)(jt,N.getTreeNodeRequiredProps())),{},{active:((ut=N.getActiveItem())===null||ut===void 0?void 0:ut.key)===jt,data:(0,Jn.Z)(N.state.keyEntities,jt).node}),hn=fn.indexOf(jt)!==-1;(0,Te.ZP)(!hn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var tn=(0,Ln.yx)(cn),ze={event:De,node:(0,Xe.F)(zt),dragNode:N.dragNode?(0,Xe.F)(N.dragNode.props):null,dragNodesKeys:[N.dragNode.props.eventKey].concat(fn),dropToGap:qt!==0,dropPosition:qt+Number(tn[tn.length-1])};nt||et==null||et(ze),N.dragNode=null}}},N.cleanDragState=function(){var De=N.state.draggingNodeKey;De!==null&&N.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),N.dragStartMousePosition=null,N.currentMouseOverDroppableNodeKey=null},N.triggerExpandActionExpand=function(De,gt){var ut=N.state,nt=ut.expandedKeys,Tt=ut.flattenNodes,fn=gt.expanded,qt=gt.key,jt=gt.isLeaf;if(!(jt||De.shiftKey||De.metaKey||De.ctrlKey)){var cn=Tt.filter(function(et){return et.key===qt})[0],nn=(0,Xe.F)((0,F.Z)((0,F.Z)({},(0,Xe.H8)(qt,N.getTreeNodeRequiredProps())),{},{data:cn.data}));N.setExpandedKeys(fn?(0,Ln._5)(nt,qt):(0,Ln.L0)(nt,qt)),N.onNodeExpand(De,nn)}},N.onNodeClick=function(De,gt){var ut=N.props,nt=ut.onClick,Tt=ut.expandAction;Tt==="click"&&N.triggerExpandActionExpand(De,gt),nt==null||nt(De,gt)},N.onNodeDoubleClick=function(De,gt){var ut=N.props,nt=ut.onDoubleClick,Tt=ut.expandAction;Tt==="doubleClick"&&N.triggerExpandActionExpand(De,gt),nt==null||nt(De,gt)},N.onNodeSelect=function(De,gt){var ut=N.state.selectedKeys,nt=N.state,Tt=nt.keyEntities,fn=nt.fieldNames,qt=N.props,jt=qt.onSelect,cn=qt.multiple,nn=gt.selected,et=gt[fn.key],zt=!nn;zt?cn?ut=(0,Ln.L0)(ut,et):ut=[et]:ut=(0,Ln._5)(ut,et);var hn=ut.map(function(tn){var ze=(0,Jn.Z)(Tt,tn);return ze?ze.node:null}).filter(function(tn){return tn});N.setUncontrolledState({selectedKeys:ut}),jt==null||jt(ut,{event:"select",selected:zt,node:gt,selectedNodes:hn,nativeEvent:De.nativeEvent})},N.onNodeCheck=function(De,gt,ut){var nt=N.state,Tt=nt.keyEntities,fn=nt.checkedKeys,qt=nt.halfCheckedKeys,jt=N.props,cn=jt.checkStrictly,nn=jt.onCheck,et=gt.key,zt,hn={event:"check",node:gt,checked:ut,nativeEvent:De.nativeEvent};if(cn){var tn=ut?(0,Ln.L0)(fn,et):(0,Ln._5)(fn,et),ze=(0,Ln._5)(qt,et);zt={checked:tn,halfChecked:ze},hn.checkedNodes=tn.map(function(dn){return(0,Jn.Z)(Tt,dn)}).filter(function(dn){return dn}).map(function(dn){return dn.node}),N.setUncontrolledState({checkedKeys:tn})}else{var Un=(0,ni.S)([].concat((0,G.Z)(fn),[et]),!0,Tt),On=Un.checkedKeys,Yn=Un.halfCheckedKeys;if(!ut){var wi=new Set(On);wi.delete(et);var vi=(0,ni.S)(Array.from(wi),{checked:!1,halfCheckedKeys:Yn},Tt);On=vi.checkedKeys,Yn=vi.halfCheckedKeys}zt=On,hn.checkedNodes=[],hn.checkedNodesPositions=[],hn.halfCheckedKeys=Yn,On.forEach(function(dn){var ln=(0,Jn.Z)(Tt,dn);if(ln){var gr=ln.node,er=ln.pos;hn.checkedNodes.push(gr),hn.checkedNodesPositions.push({node:gr,pos:er})}}),N.setUncontrolledState({checkedKeys:On},!1,{halfCheckedKeys:Yn})}nn==null||nn(zt,hn)},N.onNodeLoad=function(De){var gt=De.key,ut=new Promise(function(nt,Tt){N.setState(function(fn){var qt=fn.loadedKeys,jt=qt===void 0?[]:qt,cn=fn.loadingKeys,nn=cn===void 0?[]:cn,et=N.props,zt=et.loadData,hn=et.onLoad;if(!zt||jt.indexOf(gt)!==-1||nn.indexOf(gt)!==-1)return null;var tn=zt(De);return tn.then(function(){var ze=N.state.loadedKeys,Un=(0,Ln.L0)(ze,gt);hn==null||hn(Un,{event:"load",node:De}),N.setUncontrolledState({loadedKeys:Un}),N.setState(function(On){return{loadingKeys:(0,Ln._5)(On.loadingKeys,gt)}}),nt()}).catch(function(ze){if(N.setState(function(On){return{loadingKeys:(0,Ln._5)(On.loadingKeys,gt)}}),N.loadingRetryTimes[gt]=(N.loadingRetryTimes[gt]||0)+1,N.loadingRetryTimes[gt]>=In){var Un=N.state.loadedKeys;(0,Te.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),N.setUncontrolledState({loadedKeys:(0,Ln.L0)(Un,gt)}),nt()}Tt(ze)}),{loadingKeys:(0,Ln.L0)(nn,gt)}})});return ut.catch(function(){}),ut},N.onNodeMouseEnter=function(De,gt){var ut=N.props.onMouseEnter;ut==null||ut({event:De,node:gt})},N.onNodeMouseLeave=function(De,gt){var ut=N.props.onMouseLeave;ut==null||ut({event:De,node:gt})},N.onNodeContextMenu=function(De,gt){var ut=N.props.onRightClick;ut&&(De.preventDefault(),ut({event:De,node:gt}))},N.onFocus=function(){var De=N.props.onFocus;N.setState({focused:!0});for(var gt=arguments.length,ut=new Array(gt),nt=0;nt1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!N.destroyed){var nt=!1,Tt=!0,fn={};Object.keys(De).forEach(function(qt){if(qt in N.props){Tt=!1;return}nt=!0,fn[qt]=De[qt]}),nt&&(!gt||Tt)&&N.setState((0,F.Z)((0,F.Z)({},fn),ut))}},N.scrollTo=function(De){N.listRef.current.scrollTo(De)},N}return(0,M.Z)(X,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var _e=this.props.activeKey;_e!==void 0&&_e!==this.state.activeKey&&(this.setState({activeKey:_e}),_e!==null&&this.scrollTo({key:_e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var _e,Nt=this.state,He=Nt.focused,De=Nt.flattenNodes,gt=Nt.keyEntities,ut=Nt.draggingNodeKey,nt=Nt.activeKey,Tt=Nt.dropLevelOffset,fn=Nt.dropContainerKey,qt=Nt.dropTargetKey,jt=Nt.dropPosition,cn=Nt.dragOverNodeKey,nn=Nt.indent,et=this.props,zt=et.prefixCls,hn=et.className,tn=et.style,ze=et.showLine,Un=et.focusable,On=et.tabIndex,Yn=On===void 0?0:On,wi=et.selectable,vi=et.showIcon,dn=et.icon,ln=et.switcherIcon,gr=et.draggable,er=et.checkable,ti=et.checkStrictly,Nr=et.disabled,pr=et.motion,U=et.loadData,yr=et.filterTreeNode,Er=et.height,wr=et.itemHeight,eo=et.virtual,yo=et.titleRender,Ir=et.dropIndicatorRender,no=et.onContextMenu,ur=et.onScroll,zi=et.direction,xi=et.rootClassName,dt=et.rootStyle,_n=(0,Oe.Z)(this.props,{aria:!0,data:!0}),Wn;return gr&&((0,O.Z)(gr)==="object"?Wn=gr:typeof gr=="function"?Wn={nodeDraggable:gr}:Wn={}),Ae.createElement(Re.k.Provider,{value:{prefixCls:zt,selectable:wi,showIcon:vi,icon:dn,switcherIcon:ln,draggable:Wn,draggingNodeKey:ut,checkable:er,checkStrictly:ti,disabled:Nr,keyEntities:gt,dropLevelOffset:Tt,dropContainerKey:fn,dropTargetKey:qt,dropPosition:jt,dragOverNodeKey:cn,indent:nn,direction:zi,dropIndicatorRender:Ir,loadData:U,filterTreeNode:yr,titleRender:yo,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},Ae.createElement("div",{role:"tree",className:we()(zt,hn,xi,(_e={},(0,I.Z)(_e,"".concat(zt,"-show-line"),ze),(0,I.Z)(_e,"".concat(zt,"-focused"),He),(0,I.Z)(_e,"".concat(zt,"-active-focused"),nt!==null),_e)),style:dt},Ae.createElement(ai,(0,v.Z)({ref:this.listRef,prefixCls:zt,style:tn,data:De,disabled:Nr,selectable:wi,checkable:!!er,motion:pr,dragging:ut!==null,height:Er,itemHeight:wr,virtual:eo,focusable:Un,focused:He,tabIndex:Yn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:no,onScroll:ur},this.getTreeNodeRequiredProps(),_n))))}}],[{key:"getDerivedStateFromProps",value:function(_e,Nt){var He=Nt.prevProps,De={prevProps:_e};function gt(Un){return!He&&Un in _e||He&&He[Un]!==_e[Un]}var ut,nt=Nt.fieldNames;if(gt("fieldNames")&&(nt=(0,Xe.w$)(_e.fieldNames),De.fieldNames=nt),gt("treeData")?ut=_e.treeData:gt("children")&&((0,Te.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ut=(0,Xe.zn)(_e.children)),ut){De.treeData=ut;var Tt=(0,Xe.I8)(ut,{fieldNames:nt});De.keyEntities=(0,F.Z)((0,I.Z)({},Je,ue),Tt.keyEntities)}var fn=De.keyEntities||Nt.keyEntities;if(gt("expandedKeys")||He&>("autoExpandParent"))De.expandedKeys=_e.autoExpandParent||!He&&_e.defaultExpandParent?(0,Ln.r7)(_e.expandedKeys,fn):_e.expandedKeys;else if(!He&&_e.defaultExpandAll){var qt=(0,F.Z)({},fn);delete qt[Je],De.expandedKeys=Object.keys(qt).map(function(Un){return qt[Un].key})}else!He&&_e.defaultExpandedKeys&&(De.expandedKeys=_e.autoExpandParent||_e.defaultExpandParent?(0,Ln.r7)(_e.defaultExpandedKeys,fn):_e.defaultExpandedKeys);if(De.expandedKeys||delete De.expandedKeys,ut||De.expandedKeys){var jt=(0,Xe.oH)(ut||Nt.treeData,De.expandedKeys||Nt.expandedKeys,nt);De.flattenNodes=jt}if(_e.selectable&&(gt("selectedKeys")?De.selectedKeys=(0,Ln.BT)(_e.selectedKeys,_e):!He&&_e.defaultSelectedKeys&&(De.selectedKeys=(0,Ln.BT)(_e.defaultSelectedKeys,_e))),_e.checkable){var cn;if(gt("checkedKeys")?cn=(0,Ln.E6)(_e.checkedKeys)||{}:!He&&_e.defaultCheckedKeys?cn=(0,Ln.E6)(_e.defaultCheckedKeys)||{}:ut&&(cn=(0,Ln.E6)(_e.checkedKeys)||{checkedKeys:Nt.checkedKeys,halfCheckedKeys:Nt.halfCheckedKeys}),cn){var nn=cn,et=nn.checkedKeys,zt=et===void 0?[]:et,hn=nn.halfCheckedKeys,tn=hn===void 0?[]:hn;if(!_e.checkStrictly){var ze=(0,ni.S)(zt,!0,fn);zt=ze.checkedKeys,tn=ze.halfCheckedKeys}De.checkedKeys=zt,De.halfCheckedKeys=tn}}return gt("loadedKeys")&&(De.loadedKeys=_e.loadedKeys),De}}]),X}(Ae.Component);Mn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:fe,allowDrop:function(){return!0},expandAction:!1},Mn.TreeNode=Ie.Z;var re=Mn,z=re},35654:function(Q,C,h){"use strict";h.d(C,{BT:function(){return Ae},E6:function(){return me},L0:function(){return te},OM:function(){return Te},_5:function(){return ce},r7:function(){return xe},wA:function(){return we},yx:function(){return Me}});var v=h(26407),I=h(39559),O=h(48736),F=h(59301),G=h(39417),P=h(67841),M=h(71430),de=null;function ce(ge,ke){if(!ge)return[];var ee=ge.slice(),Ne=ee.indexOf(ke);return Ne>=0&&ee.splice(Ne,1),ee}function te(ge,ke){var ee=(ge||[]).slice();return ee.indexOf(ke)===-1&&ee.push(ke),ee}function Me(ge){return ge.split("-")}function we(ge,ke){var ee=[],Ne=(0,P.Z)(ke,ge);function Ie(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Fe.forEach(function(Xe){var Ye=Xe.key,ie=Xe.children;ee.push(Ye),Ie(ie)})}return Ie(Ne.children),ee}function Qe(ge){if(ge.parent){var ke=Me(ge.pos);return Number(ke[ke.length-1])===ge.parent.children.length-1}return!1}function Oe(ge){var ke=Me(ge.pos);return Number(ke[ke.length-1])===0}function Te(ge,ke,ee,Ne,Ie,Fe,Xe,Ye,ie,lt){var We,Pt=ge.clientX,xt=ge.clientY,kt=ge.target.getBoundingClientRect(),wt=kt.top,En=kt.height,Je=(lt==="rtl"?-1:1)*(((Ie==null?void 0:Ie.x)||0)-Pt),se=(Je-12)/Ne,ue=(0,P.Z)(Ye,ee.props.eventKey);if(xt-1.5?Fe({dragNode:In,dropNode:Mn,dropPosition:1})?Ln=1:re=!1:Fe({dragNode:In,dropNode:Mn,dropPosition:0})?Ln=0:Fe({dragNode:In,dropNode:Mn,dropPosition:1})?Ln=1:re=!1:Fe({dragNode:In,dropNode:Mn,dropPosition:1})?Ln=1:re=!1,{dropPosition:Ln,dropLevelOffset:ni,dropTargetKey:ue.key,dropTargetPos:ue.pos,dragOverNodeKey:ai,dropContainerKey:Ln===0?null:((We=ue.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:re}}function Ae(ge,ke){if(ge){var ee=ke.multiple;return ee?ge.slice():ge.length?[ge[0]]:ge}}var Re=function(ke){return ke};function fe(ge,ke){if(!ge)return[];var ee=ke||{},Ne=ee.processProps,Ie=Ne===void 0?Re:Ne,Fe=Array.isArray(ge)?ge:[ge];return Fe.map(function(Xe){var Ye=Xe.children,ie=_objectWithoutProperties(Xe,de),lt=fe(Ye,ke);return React.createElement(TreeNode,_extends({key:ie.key},Ie(ie)),lt)})}function me(ge){if(!ge)return null;var ke;if(Array.isArray(ge))ke={checkedKeys:ge,halfCheckedKeys:void 0};else if((0,I.Z)(ge)==="object")ke={checkedKeys:ge.checked||void 0,halfCheckedKeys:ge.halfChecked||void 0};else return(0,O.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ke}function xe(ge,ke){var ee=new Set;function Ne(Ie){if(!ee.has(Ie)){var Fe=(0,P.Z)(ke,Ie);if(Fe){ee.add(Ie);var Xe=Fe.parent,Ye=Fe.node;Ye.disabled||Xe&&Ne(Xe.key)}}}return(ge||[]).forEach(function(Ie){Ne(Ie)}),(0,v.Z)(ee)}},90782:function(Q,C,h){"use strict";h.d(C,{S:function(){return M}});var v=h(48736),I=h(67841);function O(de,ce){var te=new Set;return de.forEach(function(Me){ce.has(Me)||te.add(Me)}),te}function F(de){var ce=de||{},te=ce.disabled,Me=ce.disableCheckbox,we=ce.checkable;return!!(te||Me)||we===!1}function G(de,ce,te,Me){for(var we=new Set(de),Qe=new Set,Oe=0;Oe<=te;Oe+=1){var Te=ce.get(Oe)||new Set;Te.forEach(function(me){var xe=me.key,ge=me.node,ke=me.children,ee=ke===void 0?[]:ke;we.has(xe)&&!Me(ge)&&ee.filter(function(Ne){return!Me(Ne.node)}).forEach(function(Ne){we.add(Ne.key)})})}for(var Ae=new Set,Re=te;Re>=0;Re-=1){var fe=ce.get(Re)||new Set;fe.forEach(function(me){var xe=me.parent,ge=me.node;if(!(Me(ge)||!me.parent||Ae.has(me.parent.key))){if(Me(me.parent.node)){Ae.add(xe.key);return}var ke=!0,ee=!1;(xe.children||[]).filter(function(Ne){return!Me(Ne.node)}).forEach(function(Ne){var Ie=Ne.key,Fe=we.has(Ie);ke&&!Fe&&(ke=!1),!ee&&(Fe||Qe.has(Ie))&&(ee=!0)}),ke&&we.add(xe.key),ee&&Qe.add(xe.key),Ae.add(xe.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(O(Qe,we))}}function P(de,ce,te,Me,we){for(var Qe=new Set(de),Oe=new Set(ce),Te=0;Te<=Me;Te+=1){var Ae=te.get(Te)||new Set;Ae.forEach(function(xe){var ge=xe.key,ke=xe.node,ee=xe.children,Ne=ee===void 0?[]:ee;!Qe.has(ge)&&!Oe.has(ge)&&!we(ke)&&Ne.filter(function(Ie){return!we(Ie.node)}).forEach(function(Ie){Qe.delete(Ie.key)})})}Oe=new Set;for(var Re=new Set,fe=Me;fe>=0;fe-=1){var me=te.get(fe)||new Set;me.forEach(function(xe){var ge=xe.parent,ke=xe.node;if(!(we(ke)||!xe.parent||Re.has(xe.parent.key))){if(we(xe.parent.node)){Re.add(ge.key);return}var ee=!0,Ne=!1;(ge.children||[]).filter(function(Ie){return!we(Ie.node)}).forEach(function(Ie){var Fe=Ie.key,Xe=Qe.has(Fe);ee&&!Xe&&(ee=!1),!Ne&&(Xe||Oe.has(Fe))&&(Ne=!0)}),ee||Qe.delete(ge.key),Ne&&Oe.add(ge.key),Re.add(ge.key)}})}return{checkedKeys:Array.from(Qe),halfCheckedKeys:Array.from(O(Oe,Qe))}}function M(de,ce,te,Me){var we=[],Qe;Me?Qe=Me:Qe=F;var Oe=new Set(de.filter(function(fe){var me=!!(0,I.Z)(te,fe);return me||we.push(fe),me})),Te=new Map,Ae=0;Object.keys(te).forEach(function(fe){var me=te[fe],xe=me.level,ge=Te.get(xe);ge||(ge=new Set,Te.set(xe,ge)),ge.add(me),Ae=Math.max(Ae,xe)}),(0,v.ZP)(!we.length,"Tree missing follow keys: ".concat(we.slice(0,100).map(function(fe){return"'".concat(fe,"'")}).join(", ")));var Re;return ce===!0?Re=G(Oe,Te,Ae,Qe):Re=P(Oe,ce.halfCheckedKeys,Te,Ae,Qe),Re}},67841:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});function v(I,O){return I[O]}},71430:function(Q,C,h){"use strict";h.d(C,{F:function(){return xe},H8:function(){return me},I8:function(){return fe},km:function(){return we},oH:function(){return Ae},w$:function(){return Qe},zn:function(){return Te}});var v=h(39559),I=h(26407),O=h(33708),F=h(37061),G=h(11592),P=h(2738),M=h(48736),de=h(67841),ce=["children"];function te(ge,ke){return"".concat(ge,"-").concat(ke)}function Me(ge){return ge&&ge.type&&ge.type.isTreeNode}function we(ge,ke){return ge!=null?ge:ke}function Qe(ge){var ke=ge||{},ee=ke.title,Ne=ke._title,Ie=ke.key,Fe=ke.children,Xe=ee||"title";return{title:Xe,_title:Ne||[Xe],key:Ie||"key",children:Fe||"children"}}function Oe(ge,ke){var ee=new Map;function Ne(Ie){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ie||[]).forEach(function(Xe){var Ye=Xe[ke.key],ie=Xe[ke.children];warning(Ye!=null,"Tree node must have a certain key: [".concat(Fe).concat(Ye,"]"));var lt=String(Ye);warning(!ee.has(lt)||Ye===null||Ye===void 0,"Same 'key' exist in the Tree: ".concat(lt)),ee.set(lt,!0),Ne(ie,"".concat(Fe).concat(lt," > "))})}Ne(ge)}function Te(ge){function ke(ee){var Ne=(0,G.Z)(ee);return Ne.map(function(Ie){if(!Me(Ie))return(0,M.ZP)(!Ie,"Tree/TreeNode can only accept TreeNode as children."),null;var Fe=Ie.key,Xe=Ie.props,Ye=Xe.children,ie=(0,F.Z)(Xe,ce),lt=(0,O.Z)({key:Fe},ie),We=ke(Ye);return We.length&&(lt.children=We),lt}).filter(function(Ie){return Ie})}return ke(ge)}function Ae(ge,ke,ee){var Ne=Qe(ee),Ie=Ne._title,Fe=Ne.key,Xe=Ne.children,Ye=new Set(ke===!0?[]:ke),ie=[];function lt(We){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(xt,kt){for(var wt=te(Pt?Pt.pos:"0",kt),En=we(xt[Fe],wt),Je,se=0;se1&&arguments[1]!==void 0?arguments[1]:{},ee=ke.initWrapper,Ne=ke.processEntity,Ie=ke.onProcessFinished,Fe=ke.externalGetKey,Xe=ke.childrenPropName,Ye=ke.fieldNames,ie=arguments.length>2?arguments[2]:void 0,lt=Fe||ie,We={},Pt={},xt={posEntities:We,keyEntities:Pt};return ee&&(xt=ee(xt)||xt),Re(ge,function(kt){var wt=kt.node,En=kt.index,Je=kt.pos,se=kt.key,ue=kt.parentPos,Ht=kt.level,Vt=kt.nodes,St={node:wt,nodes:Vt,index:En,key:se,pos:Je,level:Ht},an=we(se,Je);We[Je]=St,Pt[an]=St,St.parent=We[ue],St.parent&&(St.parent.children=St.parent.children||[],St.parent.children.push(St)),Ne&&Ne(St,xt)},{externalGetKey:lt,childrenPropName:Xe,fieldNames:Ye}),Ie&&Ie(xt),xt}function me(ge,ke){var ee=ke.expandedKeys,Ne=ke.selectedKeys,Ie=ke.loadedKeys,Fe=ke.loadingKeys,Xe=ke.checkedKeys,Ye=ke.halfCheckedKeys,ie=ke.dragOverNodeKey,lt=ke.dropPosition,We=ke.keyEntities,Pt=(0,de.Z)(We,ge),xt={eventKey:ge,expanded:ee.indexOf(ge)!==-1,selected:Ne.indexOf(ge)!==-1,loaded:Ie.indexOf(ge)!==-1,loading:Fe.indexOf(ge)!==-1,checked:Xe.indexOf(ge)!==-1,halfChecked:Ye.indexOf(ge)!==-1,pos:String(Pt?Pt.pos:""),dragOver:ie===ge&<===0,dragOverGapTop:ie===ge&<===-1,dragOverGapBottom:ie===ge&<===1};return xt}function xe(ge){var ke=ge.data,ee=ge.expanded,Ne=ge.selected,Ie=ge.checked,Fe=ge.loaded,Xe=ge.loading,Ye=ge.halfChecked,ie=ge.dragOver,lt=ge.dragOverGapTop,We=ge.dragOverGapBottom,Pt=ge.pos,xt=ge.active,kt=ge.eventKey,wt=(0,O.Z)((0,O.Z)({},ke),{},{expanded:ee,selected:Ne,checked:Ie,loaded:Fe,loading:Xe,halfChecked:Ye,dragOver:ie,dragOverGapTop:lt,dragOverGapBottom:We,pos:Pt,active:xt,key:kt});return"props"in wt||Object.defineProperty(wt,"props",{get:function(){return(0,M.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ge}}),wt}},8224:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(4676);function I(O,F,G,P){var M=v.unstable_batchedUpdates?function(ce){v.unstable_batchedUpdates(G,ce)}:G;return O!=null&&O.addEventListener&&O.addEventListener(F,M,P),{remove:function(){O!=null&&O.removeEventListener&&O.removeEventListener(F,M,P)}}}},55468:function(Q,C,h){"use strict";h.d(C,{g1:function(){return Me},os:function(){return Qe}});var v=/margin|padding|width|height|max|min|offset/,I={left:!0,top:!0},O={cssFloat:1,styleFloat:1,float:1};function F(Oe){return Oe.nodeType===1?Oe.ownerDocument.defaultView.getComputedStyle(Oe,null):{}}function G(Oe,Te,Ae){if(Te=Te.toLowerCase(),Ae==="auto"){if(Te==="height")return Oe.offsetHeight;if(Te==="width")return Oe.offsetWidth}return Te in I||(I[Te]=v.test(Te)),I[Te]?parseFloat(Ae)||0:Ae}function P(Oe,Te){var Ae=arguments.length,Re=F(Oe);return Te=O[Te]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":Te,Ae===1?Re:G(Oe,Te,Re[Te]||Oe.style[Te])}function M(Oe,Te,Ae){var Re=arguments.length;if(Te=O[Te]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":Te,Re===3)return typeof Ae=="number"&&v.test(Te)&&(Ae="".concat(Ae,"px")),Oe.style[Te]=Ae,Ae;for(var fe in Te)Te.hasOwnProperty(fe)&&M(Oe,fe,Te[fe]);return F(Oe)}function de(Oe){return Oe===document.body?document.documentElement.clientWidth:Oe.offsetWidth}function ce(Oe){return Oe===document.body?window.innerHeight||document.documentElement.clientHeight:Oe.offsetHeight}function te(){var Oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Te=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Oe,height:Te}}function Me(){var Oe=document.documentElement.clientWidth,Te=window.innerHeight||document.documentElement.clientHeight;return{width:Oe,height:Te}}function we(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Qe(Oe){var Te=Oe.getBoundingClientRect(),Ae=document.documentElement;return{left:Te.left+(window.pageXOffset||Ae.scrollLeft)-(Ae.clientLeft||document.body.clientLeft||0),top:Te.top+(window.pageYOffset||Ae.scrollTop)-(Ae.clientTop||document.body.clientTop||0)}}},24514:function(Q,C,h){"use strict";h.d(C,{G:function(){return F}});var v=h(47273),I=function(P){if((0,v.Z)()&&window.document.documentElement){var M=Array.isArray(P)?P:[P],de=window.document.documentElement;return M.some(function(ce){return ce in de.style})}return!1},O=function(P,M){if(!I(P))return!1;var de=document.createElement("div"),ce=de.style[P];return de.style[P]=M,de.style[P]!==ce};function F(G,P){return!Array.isArray(G)&&P!==void 0?O(G,P):I(G)}},24916:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Mn}});var v=h(92413),I=h(39559),O=h(33708),F=h(400),G=h(33606),P=h(37061),M=h(92310),de=h.n(M),ce=h(29301),te=h(70425),Me=h(34280),we=h(59301),Qe=h(4676),Oe=we.forwardRef(function(re,z){var k=re.height,j=re.offsetY,X=re.offsetX,N=re.children,_e=re.prefixCls,Nt=re.onInnerResize,He=re.innerProps,De=re.rtl,gt=re.extra,ut={},nt={display:"flex",flexDirection:"column"};return j!==void 0&&(ut={height:k,position:"relative",overflow:"hidden"},nt=(0,O.Z)((0,O.Z)({},nt),{},(0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)({transform:"translateY(".concat(j,"px)")},De?"marginRight":"marginLeft",-X),"position","absolute"),"left",0),"right",0),"top",0))),we.createElement("div",{style:ut},we.createElement(ce.Z,{onResize:function(fn){var qt=fn.offsetHeight;qt&&Nt&&Nt()}},we.createElement("div",(0,v.Z)({style:nt,className:de()((0,F.Z)({},"".concat(_e,"-holder-inner"),_e)),ref:z},He),N,gt)))});Oe.displayName="Filler";var Te=Oe;function Ae(re){var z=re.children,k=re.setRef,j=we.useCallback(function(X){k(X)},[]);return we.cloneElement(z,{ref:j})}function Re(re,z,k,j,X,N,_e,Nt){var He=Nt.getKey;return re.slice(z,k+1).map(function(De,gt){var ut=z+gt,nt=_e(De,ut,{style:{width:j},offsetX:X}),Tt=He(De);return we.createElement(Ae,{key:Tt,setRef:function(qt){return N(De,qt)}},nt)})}function fe(re,z,k,j){var X=k-re,N=z-k,_e=Math.min(X,N)*2;if(j<=_e){var Nt=Math.floor(j/2);return j%2?k+Nt+1:k-Nt}return X>N?k-(j-N):k+(j-X)}function me(re,z,k){var j=re.length,X=z.length,N,_e;if(j===0&&X===0)return null;j2&&arguments[2]!==void 0?arguments[2]:!1,ut=He?De<0&&Nt.current.left||De>0&&Nt.current.right:De<0&&Nt.current.top||De>0&&Nt.current.bottom;return gt&&ut?(clearTimeout(N.current),X.current=!1):(!ut||X.current)&&_e(),!X.current&&ut}};function Ie(re,z,k,j,X,N,_e){var Nt=(0,we.useRef)(0),He=(0,we.useRef)(null),De=(0,we.useRef)(null),gt=(0,we.useRef)(!1),ut=Ne(z,k,j,X);function nt(nn,et){if(ge.Z.cancel(He.current),!ut(!1,et)){var zt=nn;if(!zt._virtualHandled)zt._virtualHandled=!0;else return;Nt.current+=et,De.current=et,ee||zt.preventDefault(),He.current=(0,ge.Z)(function(){var hn=gt.current?10:1;_e(Nt.current*hn,!1),Nt.current=0})}}function Tt(nn,et){_e(et,!0),ee||nn.preventDefault()}var fn=(0,we.useRef)(null),qt=(0,we.useRef)(null);function jt(nn){if(re){ge.Z.cancel(qt.current),qt.current=(0,ge.Z)(function(){fn.current=null},2);var et=nn.deltaX,zt=nn.deltaY,hn=nn.shiftKey,tn=et,ze=zt;(fn.current==="sx"||!fn.current&&hn&&zt&&!et)&&(tn=zt,ze=0,fn.current="sx");var Un=Math.abs(tn),On=Math.abs(ze);fn.current===null&&(fn.current=N&&Un>On?"x":"y"),fn.current==="y"?nt(nn,ze):Tt(nn,tn)}}function cn(nn){re&&(gt.current=nn.detail===De.current)}return[jt,cn]}function Fe(re,z,k,j){var X=we.useMemo(function(){return[new Map,[]]},[re,k.id,j]),N=(0,G.Z)(X,2),_e=N[0],Nt=N[1],He=function(gt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gt,nt=_e.get(gt),Tt=_e.get(ut);if(nt===void 0||Tt===void 0)for(var fn=re.length,qt=Nt.length;qt0&&arguments[0]!==void 0?arguments[0]:!1;gt();var fn=function(){var cn=!1;Nt.current.forEach(function(nn,et){if(nn&&nn.offsetParent){var zt=nn.offsetHeight,hn=getComputedStyle(nn),tn=hn.marginTop,ze=hn.marginBottom,Un=We(tn),On=We(ze),Yn=zt+Un+On;He.current.get(et)!==Yn&&(He.current.set(et,Yn),cn=!0)}}),cn&&_e(function(nn){return nn+1})};if(Tt)fn();else{De.current+=1;var qt=De.current;Promise.resolve().then(function(){qt===De.current&&fn()})}}function nt(Tt,fn){var qt=re(Tt),jt=Nt.current.get(qt);fn?(Nt.current.set(qt,fn),ut()):Nt.current.delete(qt),!jt!=!fn&&(fn?z==null||z(Tt):k==null||k(Tt))}return(0,we.useEffect)(function(){return gt},[]),[nt,ut,He.current,N]}var xt=14/15;function kt(re,z,k){var j=(0,we.useRef)(!1),X=(0,we.useRef)(0),N=(0,we.useRef)(0),_e=(0,we.useRef)(null),Nt=(0,we.useRef)(null),He,De=function(Tt){if(j.current){var fn=Math.ceil(Tt.touches[0].pageX),qt=Math.ceil(Tt.touches[0].pageY),jt=X.current-fn,cn=N.current-qt,nn=Math.abs(jt)>Math.abs(cn);nn?X.current=fn:N.current=qt;var et=k(nn,nn?jt:cn,!1,Tt);et&&Tt.preventDefault(),clearInterval(Nt.current),et&&(Nt.current=setInterval(function(){nn?jt*=xt:cn*=xt;var zt=Math.floor(nn?jt:cn);(!k(nn,zt,!0)||Math.abs(zt)<=.1)&&clearInterval(Nt.current)},16))}},gt=function(){j.current=!1,He()},ut=function(Tt){He(),Tt.touches.length===1&&!j.current&&(j.current=!0,X.current=Math.ceil(Tt.touches[0].pageX),N.current=Math.ceil(Tt.touches[0].pageY),_e.current=Tt.target,_e.current.addEventListener("touchmove",De,{passive:!1}),_e.current.addEventListener("touchend",gt,{passive:!0}))};He=function(){_e.current&&(_e.current.removeEventListener("touchmove",De),_e.current.removeEventListener("touchend",gt))},(0,Me.Z)(function(){return re&&z.current.addEventListener("touchstart",ut,{passive:!0}),function(){var nt;(nt=z.current)===null||nt===void 0||nt.removeEventListener("touchstart",ut),He(),clearInterval(Nt.current)}},[re])}function wt(re){return Math.floor(Math.pow(re,.5))}function En(re,z){var k="touches"in re?re.touches[0]:re;return k[z?"pageX":"pageY"]-window[z?"scrollX":"scrollY"]}function Je(re,z,k){we.useEffect(function(){var j=z.current;if(re&&j){var X=!1,N,_e,Nt=function(){ge.Z.cancel(N)},He=function nt(){Nt(),N=(0,ge.Z)(function(){k(_e),nt()})},De=function(Tt){if(!Tt.target.draggable){var fn=Tt;fn._virtualHandled||(fn._virtualHandled=!0,X=!0)}},gt=function(){X=!1,Nt()},ut=function(Tt){if(X){var fn=En(Tt,!1),qt=j.getBoundingClientRect(),jt=qt.top,cn=qt.bottom;if(fn<=jt){var nn=jt-fn;_e=-wt(nn),He()}else if(fn>=cn){var et=fn-cn;_e=wt(et),He()}else Nt()}};return j.addEventListener("mousedown",De),j.ownerDocument.addEventListener("mouseup",gt),j.ownerDocument.addEventListener("mousemove",ut),function(){j.removeEventListener("mousedown",De),j.ownerDocument.removeEventListener("mouseup",gt),j.ownerDocument.removeEventListener("mousemove",ut),Nt()}}},[re])}var se=10;function ue(re,z,k,j,X,N,_e,Nt){var He=we.useRef(),De=we.useState(null),gt=(0,G.Z)(De,2),ut=gt[0],nt=gt[1];return(0,Me.Z)(function(){if(ut&&ut.times=0;ln-=1){var gr=X(z[ln]),er=k.get(gr);if(er===void 0){nn=!0;break}if(dn-=er,dn<=0)break}switch(hn){case"top":zt=ze-jt;break;case"bottom":zt=Un-cn+jt;break;default:{var ti=re.current.scrollTop,Nr=ti+cn;zeNr&&(et="bottom")}}zt!==null&&_e(zt),zt!==ut.lastTop&&(nn=!0)}nn&&nt((0,O.Z)((0,O.Z)({},ut),{},{times:ut.times+1,targetAlign:et,lastTop:zt}))}},[ut,re.current]),function(Tt){if(Tt==null){Nt();return}if(ge.Z.cancel(He.current),typeof Tt=="number")_e(Tt);else if(Tt&&(0,I.Z)(Tt)==="object"){var fn,qt=Tt.align;"index"in Tt?fn=Tt.index:fn=z.findIndex(function(nn){return X(nn)===Tt.key});var jt=Tt.offset,cn=jt===void 0?0:jt;nt({times:0,index:fn,offset:cn,originAlign:qt})}}}var Ht=we.forwardRef(function(re,z){var k=re.prefixCls,j=re.rtl,X=re.scrollOffset,N=re.scrollRange,_e=re.onStartMove,Nt=re.onStopMove,He=re.onScroll,De=re.horizontal,gt=re.spinSize,ut=re.containerSize,nt=re.style,Tt=re.thumbStyle,fn=re.showScrollBar,qt=we.useState(!1),jt=(0,G.Z)(qt,2),cn=jt[0],nn=jt[1],et=we.useState(null),zt=(0,G.Z)(et,2),hn=zt[0],tn=zt[1],ze=we.useState(null),Un=(0,G.Z)(ze,2),On=Un[0],Yn=Un[1],wi=!j,vi=we.useRef(),dn=we.useRef(),ln=we.useState(fn),gr=(0,G.Z)(ln,2),er=gr[0],ti=gr[1],Nr=we.useRef(),pr=function(){fn===!0||fn===!1||(clearTimeout(Nr.current),ti(!0),Nr.current=setTimeout(function(){ti(!1)},3e3))},U=N-ut||0,yr=ut-gt||0,Er=we.useMemo(function(){if(X===0||U===0)return 0;var dt=X/U;return dt*yr},[X,U,yr]),wr=function(_n){_n.stopPropagation(),_n.preventDefault()},eo=we.useRef({top:Er,dragging:cn,pageY:hn,startTop:On});eo.current={top:Er,dragging:cn,pageY:hn,startTop:On};var yo=function(_n){nn(!0),tn(En(_n,De)),Yn(eo.current.top),_e(),_n.stopPropagation(),_n.preventDefault()};we.useEffect(function(){var dt=function(Ke){Ke.preventDefault()},_n=vi.current,Wn=dn.current;return _n.addEventListener("touchstart",dt,{passive:!1}),Wn.addEventListener("touchstart",yo,{passive:!1}),function(){_n.removeEventListener("touchstart",dt),Wn.removeEventListener("touchstart",yo)}},[]);var Ir=we.useRef();Ir.current=U;var no=we.useRef();no.current=yr,we.useEffect(function(){if(cn){var dt,_n=function(Ke){var gn=eo.current,kn=gn.dragging,on=gn.pageY,Ct=gn.startTop;ge.Z.cancel(dt);var Ve=vi.current.getBoundingClientRect(),Ut=ut/(De?Ve.width:Ve.height);if(kn){var Ot=(En(Ke,De)-on)*Ut,Gn=Ct;!wi&&De?Gn-=Ot:Gn+=Ot;var ot=Ir.current,un=no.current,vt=un?Gn/un:0,je=Math.ceil(vt*ot);je=Math.max(je,0),je=Math.min(je,ot),dt=(0,ge.Z)(function(){He(je,De)})}},Wn=function(){nn(!1),Nt()};return window.addEventListener("mousemove",_n,{passive:!0}),window.addEventListener("touchmove",_n,{passive:!0}),window.addEventListener("mouseup",Wn,{passive:!0}),window.addEventListener("touchend",Wn,{passive:!0}),function(){window.removeEventListener("mousemove",_n),window.removeEventListener("touchmove",_n),window.removeEventListener("mouseup",Wn),window.removeEventListener("touchend",Wn),ge.Z.cancel(dt)}}},[cn]),we.useEffect(function(){return pr(),function(){clearTimeout(Nr.current)}},[X]),we.useImperativeHandle(z,function(){return{delayHidden:pr}});var ur="".concat(k,"-scrollbar"),zi={position:"absolute",visibility:er?null:"hidden"},xi={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return De?(zi.height=8,zi.left=0,zi.right=0,zi.bottom=0,xi.height="100%",xi.width=gt,wi?xi.left=Er:xi.right=Er):(zi.width=8,zi.top=0,zi.bottom=0,wi?zi.right=0:zi.left=0,xi.width="100%",xi.height=gt,xi.top=Er),we.createElement("div",{ref:vi,className:de()(ur,(0,F.Z)((0,F.Z)((0,F.Z)({},"".concat(ur,"-horizontal"),De),"".concat(ur,"-vertical"),!De),"".concat(ur,"-visible"),er)),style:(0,O.Z)((0,O.Z)({},zi),nt),onMouseDown:wr,onMouseMove:pr},we.createElement("div",{ref:dn,className:de()("".concat(ur,"-thumb"),(0,F.Z)({},"".concat(ur,"-thumb-moving"),cn)),style:(0,O.Z)((0,O.Z)({},xi),Tt),onMouseDown:yo}))}),Vt=Ht,St=20;function an(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,k=re/z*re;return isNaN(k)&&(k=0),k=Math.max(k,St),Math.floor(k)}var Ft=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ai=[],Ln={overflowY:"auto",overflowAnchor:"none"};function ni(re,z){var k=re.prefixCls,j=k===void 0?"rc-virtual-list":k,X=re.className,N=re.height,_e=re.itemHeight,Nt=re.fullHeight,He=Nt===void 0?!0:Nt,De=re.style,gt=re.data,ut=re.children,nt=re.itemKey,Tt=re.virtual,fn=re.direction,qt=re.scrollWidth,jt=re.component,cn=jt===void 0?"div":jt,nn=re.onScroll,et=re.onVirtualScroll,zt=re.onVisibleChange,hn=re.innerProps,tn=re.extraRender,ze=re.styles,Un=re.showScrollBar,On=Un===void 0?"optional":Un,Yn=(0,P.Z)(re,Ft),wi=we.useCallback(function(Fi){return typeof nt=="function"?nt(Fi):Fi==null?void 0:Fi[nt]},[nt]),vi=Pt(wi,null,null),dn=(0,G.Z)(vi,4),ln=dn[0],gr=dn[1],er=dn[2],ti=dn[3],Nr=!!(Tt!==!1&&N&&_e),pr=we.useMemo(function(){return Object.values(er.maps).reduce(function(Fi,Mi){return Fi+Mi},0)},[er.id,er.maps]),U=Nr&>&&(Math.max(_e*gt.length,pr)>N||!!qt),yr=fn==="rtl",Er=de()(j,(0,F.Z)({},"".concat(j,"-rtl"),yr),X),wr=gt||ai,eo=(0,we.useRef)(),yo=(0,we.useRef)(),Ir=(0,we.useRef)(),no=(0,we.useState)(0),ur=(0,G.Z)(no,2),zi=ur[0],xi=ur[1],dt=(0,we.useState)(0),_n=(0,G.Z)(dt,2),Wn=_n[0],yt=_n[1],Ke=(0,we.useState)(!1),gn=(0,G.Z)(Ke,2),kn=gn[0],on=gn[1],Ct=function(){on(!0)},Ve=function(){on(!1)},Ut={getKey:wi};function Ot(Fi){xi(function(Mi){var cr;typeof Fi=="function"?cr=Fi(Mi):cr=Fi;var Ki=Be(cr);return eo.current.scrollTop=Ki,Ki})}var Gn=(0,we.useRef)({start:0,end:wr.length}),ot=(0,we.useRef)(),un=xe(wr,wi),vt=(0,G.Z)(un,1),je=vt[0];ot.current=je;var L=we.useMemo(function(){if(!Nr)return{scrollHeight:void 0,start:0,end:wr.length-1,offset:void 0};if(!U){var Fi;return{scrollHeight:((Fi=yo.current)===null||Fi===void 0?void 0:Fi.offsetHeight)||0,start:0,end:wr.length-1,offset:void 0}}for(var Mi=0,cr,Ki,Rr,Gr=wr.length,to=0;to=zi&&cr===void 0&&(cr=to,Ki=Mi),jo>zi+N&&Rr===void 0&&(Rr=to),Mi=jo}return cr===void 0&&(cr=0,Ki=0,Rr=Math.ceil(N/_e)),Rr===void 0&&(Rr=wr.length-1),Rr=Math.min(Rr+1,wr.length-1),{scrollHeight:Mi,start:cr,end:Rr,offset:Ki}},[U,Nr,zi,wr,ti,N]),Lt=L.scrollHeight,Qt=L.start,mt=L.end,vn=L.offset;Gn.current.start=Qt,Gn.current.end=mt,we.useLayoutEffect(function(){var Fi=er.getRecord();if(Fi.size===1){var Mi=Array.from(Fi)[0],cr=wr[Qt];if(cr){var Ki=wi(cr);if(Ki===Mi){var Rr=er.get(Mi),Gr=Rr-_e;Ot(function(to){return to+Gr})}}}er.resetRecord()},[Lt]);var Cn=we.useState({width:0,height:N}),ui=(0,G.Z)(Cn,2),Nn=ui[0],st=ui[1],Li=function(Mi){st({width:Mi.offsetWidth,height:Mi.offsetHeight})},Qi=(0,we.useRef)(),Kt=(0,we.useRef)(),Ui=we.useMemo(function(){return an(Nn.width,qt)},[Nn.width,qt]),J=we.useMemo(function(){return an(Nn.height,Lt)},[Nn.height,Lt]),oe=Lt-N,Hn=(0,we.useRef)(oe);Hn.current=oe;function Be(Fi){var Mi=Fi;return Number.isNaN(Hn.current)||(Mi=Math.min(Mi,Hn.current)),Mi=Math.max(Mi,0),Mi}var Et=zi<=0,pi=zi>=oe,Rn=Wn<=0,_i=Wn>=qt,Xt=Ne(Et,pi,Rn,_i),Ei=function(){return{x:yr?-Wn:Wn,y:zi}},Zt=(0,we.useRef)(Ei()),Pi=(0,te.useEvent)(function(Fi){if(et){var Mi=(0,O.Z)((0,O.Z)({},Ei()),Fi);(Zt.current.x!==Mi.x||Zt.current.y!==Mi.y)&&(et(Mi),Zt.current=Mi)}});function Yr(Fi,Mi){var cr=Fi;Mi?((0,Qe.flushSync)(function(){yt(cr)}),Pi()):Ot(cr)}function It(Fi){var Mi=Fi.currentTarget.scrollTop;Mi!==zi&&Ot(Mi),nn==null||nn(Fi),Pi()}var Jr=function(Mi){var cr=Mi,Ki=qt?qt-Nn.width:0;return cr=Math.max(cr,0),cr=Math.min(cr,Ki),cr},Jt=(0,te.useEvent)(function(Fi,Mi){Mi?((0,Qe.flushSync)(function(){yt(function(cr){var Ki=cr+(yr?-Fi:Fi);return Jr(Ki)})}),Pi()):Ot(function(cr){var Ki=cr+Fi;return Ki})}),Ri=Ie(Nr,Et,pi,Rn,_i,!!qt,Jt),Ci=(0,G.Z)(Ri,2),mr=Ci[0],ar=Ci[1];kt(Nr,eo,function(Fi,Mi,cr,Ki){var Rr=Ki;return Xt(Fi,Mi,cr)?!1:!Rr||!Rr._virtualHandled?(Rr&&(Rr._virtualHandled=!0),mr({preventDefault:function(){},deltaX:Fi?Mi:0,deltaY:Fi?0:Mi}),!0):!1}),Je(U,eo,function(Fi){Ot(function(Mi){return Mi+Fi})}),(0,Me.Z)(function(){function Fi(cr){var Ki=Et&&cr.detail<0,Rr=pi&&cr.detail>0;Nr&&!Ki&&!Rr&&cr.preventDefault()}var Mi=eo.current;return Mi.addEventListener("wheel",mr,{passive:!1}),Mi.addEventListener("DOMMouseScroll",ar,{passive:!0}),Mi.addEventListener("MozMousePixelScroll",Fi,{passive:!1}),function(){Mi.removeEventListener("wheel",mr),Mi.removeEventListener("DOMMouseScroll",ar),Mi.removeEventListener("MozMousePixelScroll",Fi)}},[Nr,Et,pi]),(0,Me.Z)(function(){if(qt){var Fi=Jr(Wn);yt(Fi),Pi({x:Fi})}},[Nn.width,qt]);var Kn=function(){var Mi,cr;(Mi=Qi.current)===null||Mi===void 0||Mi.delayHidden(),(cr=Kt.current)===null||cr===void 0||cr.delayHidden()},he=ue(eo,wr,er,_e,wi,function(){return gr(!0)},Ot,Kn);we.useImperativeHandle(z,function(){return{nativeElement:Ir.current,getScrollInfo:Ei,scrollTo:function(Mi){function cr(Ki){return Ki&&(0,I.Z)(Ki)==="object"&&("left"in Ki||"top"in Ki)}cr(Mi)?(Mi.left!==void 0&&yt(Jr(Mi.left)),he(Mi.top)):he(Mi)}}}),(0,Me.Z)(function(){if(zt){var Fi=wr.slice(Qt,mt+1);zt(Fi,wr)}},[Qt,mt,wr]);var vr=Fe(wr,wi,er,_e),Cr=tn==null?void 0:tn({start:Qt,end:mt,virtual:U,offsetX:Wn,offsetY:vn,rtl:yr,getSize:vr}),dr=Re(wr,Qt,mt,qt,Wn,ln,ut,Ut),Br=null;N&&(Br=(0,O.Z)((0,F.Z)({},He?"height":"maxHeight",N),Ln),Nr&&(Br.overflowY="hidden",qt&&(Br.overflowX="hidden"),kn&&(Br.pointerEvents="none")));var Ji={};return yr&&(Ji.dir="rtl"),we.createElement("div",(0,v.Z)({ref:Ir,style:(0,O.Z)((0,O.Z)({},De),{},{position:"relative"}),className:Er},Ji,Yn),we.createElement(ce.Z,{onResize:Li},we.createElement(cn,{className:"".concat(j,"-holder"),style:Br,ref:eo,onScroll:It,onMouseEnter:Kn},we.createElement(Te,{prefixCls:j,height:Lt,offsetX:Wn,offsetY:vn,scrollWidth:qt,onInnerResize:gr,ref:yo,innerProps:hn,rtl:yr,extra:Cr},dr))),U&&Lt>N&&we.createElement(Vt,{ref:Qi,prefixCls:j,scrollOffset:zi,scrollRange:Lt,rtl:yr,onScroll:Yr,onStartMove:Ct,onStopMove:Ve,spinSize:J,containerSize:Nn.height,style:ze==null?void 0:ze.verticalScrollBar,thumbStyle:ze==null?void 0:ze.verticalScrollBarThumb,showScrollBar:On}),U&&qt>Nn.width&&we.createElement(Vt,{ref:Kt,prefixCls:j,scrollOffset:Wn,scrollRange:qt,rtl:yr,onScroll:Yr,onStartMove:Ct,onStopMove:Ve,spinSize:Ui,containerSize:Nn.width,horizontal:!0,style:ze==null?void 0:ze.horizontalScrollBar,thumbStyle:ze==null?void 0:ze.horizontalScrollBarThumb,showScrollBar:On}))}var Jn=we.forwardRef(ni);Jn.displayName="List";var In=Jn,Mn=In},77596:function(Q,C,h){"use strict";h.d(C,{Z:function(){return se}});var v=h(37061),I=h(26407),O=h(400),F=h(59301),G=h(92413);function P(ue,Ht){var Vt=Object.keys(ue);if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(ue);Ht&&(St=St.filter(function(an){return Object.getOwnPropertyDescriptor(ue,an).enumerable})),Vt.push.apply(Vt,St)}return Vt}function M(ue){for(var Ht=1;Ht=4)return[ue[0],ue[1],ue[2],ue[3],"".concat(ue[0],".").concat(ue[1]),"".concat(ue[0],".").concat(ue[2]),"".concat(ue[0],".").concat(ue[3]),"".concat(ue[1],".").concat(ue[0]),"".concat(ue[1],".").concat(ue[2]),"".concat(ue[1],".").concat(ue[3]),"".concat(ue[2],".").concat(ue[0]),"".concat(ue[2],".").concat(ue[1]),"".concat(ue[2],".").concat(ue[3]),"".concat(ue[3],".").concat(ue[0]),"".concat(ue[3],".").concat(ue[1]),"".concat(ue[3],".").concat(ue[2]),"".concat(ue[0],".").concat(ue[1],".").concat(ue[2]),"".concat(ue[0],".").concat(ue[1],".").concat(ue[3]),"".concat(ue[0],".").concat(ue[2],".").concat(ue[1]),"".concat(ue[0],".").concat(ue[2],".").concat(ue[3]),"".concat(ue[0],".").concat(ue[3],".").concat(ue[1]),"".concat(ue[0],".").concat(ue[3],".").concat(ue[2]),"".concat(ue[1],".").concat(ue[0],".").concat(ue[2]),"".concat(ue[1],".").concat(ue[0],".").concat(ue[3]),"".concat(ue[1],".").concat(ue[2],".").concat(ue[0]),"".concat(ue[1],".").concat(ue[2],".").concat(ue[3]),"".concat(ue[1],".").concat(ue[3],".").concat(ue[0]),"".concat(ue[1],".").concat(ue[3],".").concat(ue[2]),"".concat(ue[2],".").concat(ue[0],".").concat(ue[1]),"".concat(ue[2],".").concat(ue[0],".").concat(ue[3]),"".concat(ue[2],".").concat(ue[1],".").concat(ue[0]),"".concat(ue[2],".").concat(ue[1],".").concat(ue[3]),"".concat(ue[2],".").concat(ue[3],".").concat(ue[0]),"".concat(ue[2],".").concat(ue[3],".").concat(ue[1]),"".concat(ue[3],".").concat(ue[0],".").concat(ue[1]),"".concat(ue[3],".").concat(ue[0],".").concat(ue[2]),"".concat(ue[3],".").concat(ue[1],".").concat(ue[0]),"".concat(ue[3],".").concat(ue[1],".").concat(ue[2]),"".concat(ue[3],".").concat(ue[2],".").concat(ue[0]),"".concat(ue[3],".").concat(ue[2],".").concat(ue[1]),"".concat(ue[0],".").concat(ue[1],".").concat(ue[2],".").concat(ue[3]),"".concat(ue[0],".").concat(ue[1],".").concat(ue[3],".").concat(ue[2]),"".concat(ue[0],".").concat(ue[2],".").concat(ue[1],".").concat(ue[3]),"".concat(ue[0],".").concat(ue[2],".").concat(ue[3],".").concat(ue[1]),"".concat(ue[0],".").concat(ue[3],".").concat(ue[1],".").concat(ue[2]),"".concat(ue[0],".").concat(ue[3],".").concat(ue[2],".").concat(ue[1]),"".concat(ue[1],".").concat(ue[0],".").concat(ue[2],".").concat(ue[3]),"".concat(ue[1],".").concat(ue[0],".").concat(ue[3],".").concat(ue[2]),"".concat(ue[1],".").concat(ue[2],".").concat(ue[0],".").concat(ue[3]),"".concat(ue[1],".").concat(ue[2],".").concat(ue[3],".").concat(ue[0]),"".concat(ue[1],".").concat(ue[3],".").concat(ue[0],".").concat(ue[2]),"".concat(ue[1],".").concat(ue[3],".").concat(ue[2],".").concat(ue[0]),"".concat(ue[2],".").concat(ue[0],".").concat(ue[1],".").concat(ue[3]),"".concat(ue[2],".").concat(ue[0],".").concat(ue[3],".").concat(ue[1]),"".concat(ue[2],".").concat(ue[1],".").concat(ue[0],".").concat(ue[3]),"".concat(ue[2],".").concat(ue[1],".").concat(ue[3],".").concat(ue[0]),"".concat(ue[2],".").concat(ue[3],".").concat(ue[0],".").concat(ue[1]),"".concat(ue[2],".").concat(ue[3],".").concat(ue[1],".").concat(ue[0]),"".concat(ue[3],".").concat(ue[0],".").concat(ue[1],".").concat(ue[2]),"".concat(ue[3],".").concat(ue[0],".").concat(ue[2],".").concat(ue[1]),"".concat(ue[3],".").concat(ue[1],".").concat(ue[0],".").concat(ue[2]),"".concat(ue[3],".").concat(ue[1],".").concat(ue[2],".").concat(ue[0]),"".concat(ue[3],".").concat(ue[2],".").concat(ue[0],".").concat(ue[1]),"".concat(ue[3],".").concat(ue[2],".").concat(ue[1],".").concat(ue[0])]}var ce={};function te(ue){if(ue.length===0||ue.length===1)return ue;var Ht=ue.join(".");return ce[Ht]||(ce[Ht]=de(ue)),ce[Ht]}function Me(ue){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Vt=arguments.length>2?arguments[2]:void 0,St=ue.filter(function(Ft){return Ft!=="token"}),an=te(St);return an.reduce(function(Ft,ai){return M(M({},Ft),Vt[ai])},Ht)}function we(ue){return ue.join(" ")}function Qe(ue,Ht){var Vt=0;return function(St){return Vt+=1,St.map(function(an,Ft){return Oe({node:an,stylesheet:ue,useInlineStyles:Ht,key:"code-segment-".concat(Vt,"-").concat(Ft)})})}}function Oe(ue){var Ht=ue.node,Vt=ue.stylesheet,St=ue.style,an=St===void 0?{}:St,Ft=ue.useInlineStyles,ai=ue.key,Ln=Ht.properties,ni=Ht.type,Jn=Ht.tagName,In=Ht.value;if(ni==="text")return In;if(Jn){var Mn=Qe(Vt,Ft),re;if(!Ft)re=M(M({},Ln),{},{className:we(Ln.className)});else{var z=Object.keys(Vt).reduce(function(N,_e){return _e.split(".").forEach(function(Nt){N.includes(Nt)||N.push(Nt)}),N},[]),k=Ln.className&&Ln.className.includes("token")?["token"]:[],j=Ln.className&&k.concat(Ln.className.filter(function(N){return!z.includes(N)}));re=M(M({},Ln),{},{className:we(j)||void 0,style:Me(Ln.className,Object.assign({},Ln.style,an),Vt)})}var X=Mn(Ht.children);return F.createElement(Jn,(0,G.Z)({key:ai},re),X)}}var Te=function(ue,Ht){var Vt=ue.listLanguages();return Vt.indexOf(Ht)!==-1},Ae=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Re(ue,Ht){var Vt=Object.keys(ue);if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(ue);Ht&&(St=St.filter(function(an){return Object.getOwnPropertyDescriptor(ue,an).enumerable})),Vt.push.apply(Vt,St)}return Vt}function fe(ue){for(var Ht=1;Ht1&&arguments[1]!==void 0?arguments[1]:[],Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],St=0;St2&&arguments[2]!==void 0?arguments[2]:[];return Fe({children:De,lineNumber:gt,lineNumberStyle:Ln,largestLineNumber:ai,showInlineLineNumbers:an,lineProps:Vt,className:ut,showLineNumbers:St,wrapLongLines:ni,wrapLines:Ht})}function j(De,gt){if(St&>&&an){var ut=Ie(Ln,gt,ai);De.unshift(Ne(gt,ut))}return De}function X(De,gt){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Ht||ut.length>0?k(De,gt,ut):j(De,gt)}for(var N=function(){var gt=In[z],ut=gt.children[0].value,nt=xe(ut);if(nt){var Tt=ut.split(` -`);Tt.forEach(function(fn,qt){var jt=St&&Mn.length+Ft,cn={type:"text",value:"".concat(fn,` -`)};if(qt===0){var nn=In.slice(re+1,z).concat(Fe({children:[cn],className:gt.properties.className})),et=X(nn,jt);Mn.push(et)}else if(qt===Tt.length-1){var zt=In[z+1]&&In[z+1].children&&In[z+1].children[0],hn={type:"text",value:"".concat(fn)};if(zt){var tn=Fe({children:[hn],className:gt.properties.className});In.splice(z+1,0,tn)}else{var ze=[hn],Un=X(ze,jt,gt.properties.className);Mn.push(Un)}}else{var On=[cn],Yn=X(On,jt,gt.properties.className);Mn.push(Yn)}}),re=z}z++};z code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},kt=h(11594),wt=h.n(kt),En=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Je=Pt(wt(),xt);Je.supportedLanguages=En;var se=Je},14179:function(Q,C){"use strict";C.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(Q,C,h){"use strict";h(84126);var v=h(59301),I=60103;if(C.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;I=O("react.element"),C.Fragment=O("react.fragment")}var F=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,G=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function M(de,ce,te){var Me,we={},Qe=null,Oe=null;te!==void 0&&(Qe=""+te),ce.key!==void 0&&(Qe=""+ce.key),ce.ref!==void 0&&(Oe=ce.ref);for(Me in ce)G.call(ce,Me)&&!P.hasOwnProperty(Me)&&(we[Me]=ce[Me]);if(de&&de.defaultProps)for(Me in ce=de.defaultProps,ce)we[Me]===void 0&&(we[Me]=ce[Me]);return{$$typeof:I,type:de,key:Qe,ref:Oe,props:we,_owner:F.current}}C.jsx=M,C.jsxs=M},37712:function(Q,C,h){"use strict";Q.exports=h(19524)},95489:function(Q,C,h){"use strict";var v=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof h.g=="object"?h.g:{},I=ke();v.Prism={manual:!0,disableWorkerMessageHandler:!0};var O=h(43621),F=h(12256),G=h(68398),P=h(70614),M=h(54212),de=h(9720),ce=h(88786);I();var te={}.hasOwnProperty;function Me(){}Me.prototype=G;var we=new Me;Q.exports=we,we.highlight=Te,we.register=Qe,we.alias=Oe,we.registered=Ae,we.listLanguages=Re,Qe(P),Qe(M),Qe(de),Qe(ce),we.util.encode=xe,we.Token.stringify=fe;function Qe(ee){if(typeof ee!="function"||!ee.displayName)throw new Error("Expected `function` for `grammar`, got `"+ee+"`");we.languages[ee.displayName]===void 0&&ee(we)}function Oe(ee,Ne){var Ie=we.languages,Fe=ee,Xe,Ye,ie,lt;Ne&&(Fe={},Fe[ee]=Ne);for(Xe in Fe)for(Ye=Fe[Xe],Ye=typeof Ye=="string"?[Ye]:Ye,ie=Ye.length,lt=-1;++lt]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(Q){"use strict";Q.exports=C,C.displayName="abnf",C.aliases=[];function C(h){(function(v){var I="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";v.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+I+"|<"+I+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(h)}},42746:function(Q){"use strict";Q.exports=C,C.displayName="actionscript",C.aliases=[];function C(h){h.languages.actionscript=h.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),h.languages.actionscript["class-name"].alias="function",delete h.languages.actionscript.parameter,delete h.languages.actionscript["literal-property"],h.languages.markup&&h.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:h.languages.markup}})}},93281:function(Q){"use strict";Q.exports=C,C.displayName="ada",C.aliases=[];function C(h){h.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(Q){"use strict";Q.exports=C,C.displayName="agda",C.aliases=[];function C(h){(function(v){v.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(h)}},65924:function(Q){"use strict";Q.exports=C,C.displayName="al",C.aliases=[];function C(h){h.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(Q){"use strict";Q.exports=C,C.displayName="antlr4",C.aliases=["g4"];function C(h){h.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},h.languages.g4=h.languages.antlr4}},43556:function(Q){"use strict";Q.exports=C,C.displayName="apacheconf",C.aliases=[];function C(h){h.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(Q,C,h){"use strict";var v=h(69435);Q.exports=I,I.displayName="apex",I.aliases=[];function I(O){O.register(v),function(F){var G=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,P=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return G.source});function M(ce){return RegExp(ce.replace(//g,function(){return P}),"i")}var de={keyword:G,punctuation:/[()\[\]{};,:.<>]/};F.languages.apex={comment:F.languages.clike.comment,string:F.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:F.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:M(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:de},{pattern:M(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:de},{pattern:M(/(?=\s*\w+\s*[;=,(){:])/.source),inside:de}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:G,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(O)}},4248:function(Q){"use strict";Q.exports=C,C.displayName="apl",C.aliases=[];function C(h){h.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(Q){"use strict";Q.exports=C,C.displayName="applescript",C.aliases=[];function C(h){h.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(Q){"use strict";Q.exports=C,C.displayName="aql",C.aliases=[];function C(h){h.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(Q,C,h){"use strict";var v=h(87071);Q.exports=I,I.displayName="arduino",I.aliases=["ino"];function I(O){O.register(v),O.languages.arduino=O.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),O.languages.ino=O.languages.arduino}},22956:function(Q){"use strict";Q.exports=C,C.displayName="arff",C.aliases=[];function C(h){h.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(Q){"use strict";Q.exports=C,C.displayName="asciidoc",C.aliases=["adoc"];function C(h){(function(v){var I={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},O=v.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:I,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:I.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:I,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function F(G){G=G.split(" ");for(var P={},M=0,de=G.length;M>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(Q,C,h){"use strict";var v=h(87648);Q.exports=I,I.displayName="aspnet",I.aliases=[];function I(O){O.register(v),O.languages.aspnet=O.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:O.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:O.languages.csharp}}}),O.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,O.languages.insertBefore("inside","punctuation",{directive:O.languages.aspnet.directive},O.languages.aspnet.tag.inside["attr-value"]),O.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),O.languages.insertBefore("aspnet",O.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:O.languages.csharp||{}}})}},20803:function(Q){"use strict";Q.exports=C,C.displayName="autohotkey",C.aliases=[];function C(h){h.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(Q){"use strict";Q.exports=C,C.displayName="autoit",C.aliases=[];function C(h){h.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(Q){"use strict";Q.exports=C,C.displayName="avisynth",C.aliases=["avs"];function C(h){(function(v){function I(ce,te){return ce.replace(/<<(\d+)>>/g,function(Me,we){return te[+we]})}function O(ce,te,Me){return RegExp(I(ce,te),Me||"")}var F=/bool|clip|float|int|string|val/.source,G=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),P=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),M=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),de=[G,P,M].join("|");v.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:O(/\b(?:<<0>>)\s+("?)\w+\1/.source,[F],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:O(/\b(?:<<0>>)\b/.source,[de],"i"),alias:"function"},"type-cast":{pattern:O(/\b(?:<<0>>)(?=\s*\()/.source,[F],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},v.languages.avs=v.languages.avisynth})(h)}},79571:function(Q){"use strict";Q.exports=C,C.displayName="avroIdl",C.aliases=[];function C(h){h.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},h.languages.avdl=h.languages["avro-idl"]}},3058:function(Q){"use strict";Q.exports=C,C.displayName="bash",C.aliases=["shell"];function C(h){(function(v){var I="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",O={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},F={bash:O,environment:{pattern:RegExp("\\$"+I),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+I),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};v.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+I),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:F},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:O}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:F},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:F.entity}}],environment:{pattern:RegExp("\\$?"+I),alias:"constant"},variable:F.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},O.inside=v.languages.bash;for(var G=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],P=F.variable[1].inside,M=0;M?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(Q){"use strict";Q.exports=C,C.displayName="batch",C.aliases=[];function C(h){(function(v){var I=/%%?[~:\w]+%?|!\S+!/,O={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},F=/"(?:[\\"]"|[^"])*"(?!")/,G=/(?:\b|-)\d+\b/;v.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:F,parameter:O,variable:I,number:G,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:F,parameter:O,variable:I,number:G,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:F,parameter:O,variable:[I,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:G,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:F,parameter:O,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:I,number:G,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(h)}},35851:function(Q){"use strict";Q.exports=C,C.displayName="bbcode",C.aliases=["shortcode"];function C(h){h.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},h.languages.shortcode=h.languages.bbcode}},51274:function(Q){"use strict";Q.exports=C,C.displayName="bicep",C.aliases=[];function C(h){h.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},h.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=h.languages.bicep}},23796:function(Q){"use strict";Q.exports=C,C.displayName="birb",C.aliases=[];function C(h){h.languages.birb=h.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),h.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="bison",I.aliases=[];function I(O){O.register(v),O.languages.bison=O.languages.extend("c",{}),O.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:O.languages.c}},comment:O.languages.c.comment,string:O.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(Q){"use strict";Q.exports=C,C.displayName="bnf",C.aliases=["rbnf"];function C(h){h.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},h.languages.rbnf=h.languages.bnf}},47035:function(Q){"use strict";Q.exports=C,C.displayName="brainfuck",C.aliases=[];function C(h){h.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(Q){"use strict";Q.exports=C,C.displayName="brightscript",C.aliases=[];function C(h){h.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},h.languages.brightscript["directive-statement"].inside.expression.inside=h.languages.brightscript}},85290:function(Q){"use strict";Q.exports=C,C.displayName="bro",C.aliases=[];function C(h){h.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(Q){"use strict";Q.exports=C,C.displayName="bsl",C.aliases=[];function C(h){h.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},h.languages.oscript=h.languages.bsl}},79440:function(Q){"use strict";Q.exports=C,C.displayName="c",C.aliases=[];function C(h){h.languages.c=h.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),h.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),h.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},h.languages.c.string],char:h.languages.c.char,comment:h.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:h.languages.c}}}}),h.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete h.languages.c.boolean}},7110:function(Q){"use strict";Q.exports=C,C.displayName="cfscript",C.aliases=[];function C(h){h.languages.cfscript=h.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),h.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete h.languages.cfscript["class-name"],h.languages.cfc=h.languages.cfscript}},73435:function(Q,C,h){"use strict";var v=h(87071);Q.exports=I,I.displayName="chaiscript",I.aliases=[];function I(O){O.register(v),O.languages.chaiscript=O.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[O.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),O.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),O.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:O.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(Q){"use strict";Q.exports=C,C.displayName="cil",C.aliases=[];function C(h){h.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(Q){"use strict";Q.exports=C,C.displayName="clike",C.aliases=[];function C(h){h.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(Q){"use strict";Q.exports=C,C.displayName="clojure",C.aliases=[];function C(h){h.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(Q){"use strict";Q.exports=C,C.displayName="cmake",C.aliases=[];function C(h){h.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(Q){"use strict";Q.exports=C,C.displayName="cobol",C.aliases=[];function C(h){h.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(Q){"use strict";Q.exports=C,C.displayName="coffeescript",C.aliases=["coffee"];function C(h){(function(v){var I=/#(?!\{).+/,O={pattern:/#\{[^}]+\}/,alias:"variable"};v.languages.coffeescript=v.languages.extend("javascript",{comment:I,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:O}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),v.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:I,interpolation:O}}}),v.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:v.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:O}}]}),v.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete v.languages.coffeescript["template-string"],v.languages.coffee=v.languages.coffeescript})(h)}},35348:function(Q){"use strict";Q.exports=C,C.displayName="concurnas",C.aliases=["conc"];function C(h){h.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},h.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:h.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:h.languages.concurnas},string:/[\s\S]+/}}}),h.languages.conc=h.languages.concurnas}},26841:function(Q){"use strict";Q.exports=C,C.displayName="coq",C.aliases=[];function C(h){(function(v){for(var I=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,O=0;O<2;O++)I=I.replace(//g,function(){return I});I=I.replace(//g,"[]"),v.languages.coq={comment:RegExp(I),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return I})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(I),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(h)}},87071:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="cpp",I.aliases=[];function I(O){O.register(v),function(F){var G=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,P=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return G.source});F.languages.cpp=F.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return G.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:G,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),F.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return P})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),F.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:F.languages.cpp}}}}),F.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),F.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:F.languages.extend("cpp",{})}}),F.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},F.languages.cpp["base-clause"])}(O)}},13652:function(Q,C,h){"use strict";var v=h(75308);Q.exports=I,I.displayName="crystal",I.aliases=[];function I(O){O.register(v),function(F){F.languages.crystal=F.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,F.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),F.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:F.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:F.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(O)}},87648:function(Q){"use strict";Q.exports=C,C.displayName="csharp",C.aliases=["dotnet","cs"];function C(h){(function(v){function I(En,Je){return En.replace(/<<(\d+)>>/g,function(se,ue){return"(?:"+Je[+ue]+")"})}function O(En,Je,se){return RegExp(I(En,Je),se||"")}function F(En,Je){for(var se=0;se>/g,function(){return"(?:"+En+")"});return En.replace(/<>/g,"[^\\s\\S]")}var G={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function P(En){return"\\b(?:"+En.trim().replace(/ /g,"|")+")\\b"}var M=P(G.typeDeclaration),de=RegExp(P(G.type+" "+G.typeDeclaration+" "+G.contextual+" "+G.other)),ce=P(G.typeDeclaration+" "+G.contextual+" "+G.other),te=P(G.type+" "+G.typeDeclaration+" "+G.other),Me=F(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),we=F(/\((?:[^()]|<>)*\)/.source,2),Qe=/@?\b[A-Za-z_]\w*\b/.source,Oe=I(/<<0>>(?:\s*<<1>>)?/.source,[Qe,Me]),Te=I(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[ce,Oe]),Ae=/\[\s*(?:,\s*)*\]/.source,Re=I(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Te,Ae]),fe=I(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Me,we,Ae]),me=I(/\(<<0>>+(?:,<<0>>+)+\)/.source,[fe]),xe=I(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[me,Te,Ae]),ge={keyword:de,punctuation:/[<>()?,.:[\]]/},ke=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,ee=/"(?:\\.|[^\\"\r\n])*"/.source,Ne=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;v.languages.csharp=v.languages.extend("clike",{string:[{pattern:O(/(^|[^$\\])<<0>>/.source,[Ne]),lookbehind:!0,greedy:!0},{pattern:O(/(^|[^@$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:O(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Te]),lookbehind:!0,inside:ge},{pattern:O(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Qe,xe]),lookbehind:!0,inside:ge},{pattern:O(/(\busing\s+)<<0>>(?=\s*=)/.source,[Qe]),lookbehind:!0},{pattern:O(/(\b<<0>>\s+)<<1>>/.source,[M,Oe]),lookbehind:!0,inside:ge},{pattern:O(/(\bcatch\s*\(\s*)<<0>>/.source,[Te]),lookbehind:!0,inside:ge},{pattern:O(/(\bwhere\s+)<<0>>/.source,[Qe]),lookbehind:!0},{pattern:O(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Re]),lookbehind:!0,inside:ge},{pattern:O(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[xe,te,Qe]),inside:ge}],keyword:de,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),v.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),v.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:O(/([(,]\s*)<<0>>(?=\s*:)/.source,[Qe]),lookbehind:!0,alias:"punctuation"}}),v.languages.insertBefore("csharp","class-name",{namespace:{pattern:O(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Qe]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:O(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[we]),lookbehind:!0,alias:"class-name",inside:ge},"return-type":{pattern:O(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[xe,Te]),inside:ge,alias:"class-name"},"constructor-invocation":{pattern:O(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[xe]),lookbehind:!0,inside:ge,alias:"class-name"},"generic-method":{pattern:O(/<<0>>\s*<<1>>(?=\s*\()/.source,[Qe,Me]),inside:{function:O(/^<<0>>/.source,[Qe]),generic:{pattern:RegExp(Me),alias:"class-name",inside:ge}}},"type-list":{pattern:O(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[M,Oe,Qe,xe,de.source,we,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:O(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[Oe,we]),lookbehind:!0,greedy:!0,inside:v.languages.csharp},keyword:de,"class-name":{pattern:RegExp(xe),greedy:!0,inside:ge},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var Ie=ee+"|"+ke,Fe=I(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[Ie]),Xe=F(I(/[^"'/()]|<<0>>|\(<>*\)/.source,[Fe]),2),Ye=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ie=I(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Te,Xe]);v.languages.insertBefore("csharp","class-name",{attribute:{pattern:O(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Ye,ie]),lookbehind:!0,greedy:!0,inside:{target:{pattern:O(/^<<0>>(?=\s*:)/.source,[Ye]),alias:"keyword"},"attribute-arguments":{pattern:O(/\(<<0>>*\)/.source,[Xe]),inside:v.languages.csharp},"class-name":{pattern:RegExp(Te),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var lt=/:[^}\r\n]+/.source,We=F(I(/[^"'/()]|<<0>>|\(<>*\)/.source,[Fe]),2),Pt=I(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[We,lt]),xt=F(I(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[Ie]),2),kt=I(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[xt,lt]);function wt(En,Je){return{interpolation:{pattern:O(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[En]),lookbehind:!0,inside:{"format-string":{pattern:O(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Je,lt]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:v.languages.csharp}}},string:/[\s\S]+/}}v.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:O(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Pt]),lookbehind:!0,greedy:!0,inside:wt(Pt,We)},{pattern:O(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[kt]),lookbehind:!0,greedy:!0,inside:wt(kt,xt)}],char:{pattern:RegExp(ke),greedy:!0}}),v.languages.dotnet=v.languages.cs=v.languages.csharp})(h)}},10617:function(Q,C,h){"use strict";var v=h(87648);Q.exports=I,I.displayName="cshtml",I.aliases=["razor"];function I(O){O.register(v),function(F){var G=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,P=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function M(Re,fe){for(var me=0;me/g,function(){return"(?:"+Re+")"});return Re.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+P+")").replace(//g,"(?:"+G+")")}var de=M(/\((?:[^()'"@/]|||)*\)/.source,2),ce=M(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),te=M(/\{(?:[^{}'"@/]|||)*\}/.source,2),Me=M(/<(?:[^<>'"@/]|||)*>/.source,2),we=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Qe=/(?!\d)[^\s>\/=$<%]+/.source+we+/\s*\/?>/.source,Oe=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+we+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Qe+"|"+M(/<\1/.source+we+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Qe+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},v.languages.css.atrule.inside["selector-function-argument"].inside=O,v.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var F={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},G={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};v.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:F,number:G,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:F,number:G})})(h)}},54212:function(Q){"use strict";Q.exports=C,C.displayName="css",C.aliases=[];function C(h){(function(v){var I=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;v.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+I.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+I.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+I.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:I,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},v.languages.css.atrule.inside.rest=v.languages.css;var O=v.languages.markup;O&&(O.tag.addInlined("style","css"),O.tag.addAttribute("style","css"))})(h)}},69820:function(Q){"use strict";Q.exports=C,C.displayName="csv",C.aliases=[];function C(h){h.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(Q){"use strict";Q.exports=C,C.displayName="cypher",C.aliases=[];function C(h){h.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(Q){"use strict";Q.exports=C,C.displayName="d",C.aliases=[];function C(h){h.languages.d=h.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),h.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),h.languages.insertBefore("d","keyword",{property:/\B@\w*/}),h.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(Q){"use strict";Q.exports=C,C.displayName="dart",C.aliases=[];function C(h){(function(v){var I=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],O=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,F={pattern:RegExp(O+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};v.languages.dart=v.languages.extend("clike",{"class-name":[F,{pattern:RegExp(O+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:F.inside}],keyword:I,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),v.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:v.languages.dart}}},string:/[\s\S]+/}},string:void 0}),v.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),v.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":F,keyword:I,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(h)}},22117:function(Q){"use strict";Q.exports=C,C.displayName="dataweave",C.aliases=[];function C(h){(function(v){v.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(h)}},95627:function(Q){"use strict";Q.exports=C,C.displayName="dax",C.aliases=[];function C(h){h.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(Q){"use strict";Q.exports=C,C.displayName="dhall",C.aliases=[];function C(h){h.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},h.languages.dhall.string.inside.interpolation.inside.expression.inside=h.languages.dhall}},50618:function(Q){"use strict";Q.exports=C,C.displayName="diff",C.aliases=[];function C(h){(function(v){v.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var I={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(I).forEach(function(O){var F=I[O],G=[];/^\w+$/.test(O)||G.push(/\w+/.exec(O)[0]),O==="diff"&&G.push("bold"),v.languages.diff[O]={pattern:RegExp("^(?:["+F+`].*(?:\r +`,fe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],pe={},xe;function me(Ct){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=Ct.getAttribute("id")||Ct.getAttribute("data-reactid")||Ct.getAttribute("name");if(Cn&&pe[Qe])return pe[Qe];var le=window.getComputedStyle(Ct),ce=le.getPropertyValue("box-sizing")||le.getPropertyValue("-moz-box-sizing")||le.getPropertyValue("-webkit-box-sizing"),Ht=parseFloat(le.getPropertyValue("padding-bottom"))+parseFloat(le.getPropertyValue("padding-top")),Vt=parseFloat(le.getPropertyValue("border-bottom-width"))+parseFloat(le.getPropertyValue("border-top-width")),St=fe.map(function(Ft){return"".concat(Ft,":").concat(le.getPropertyValue(Ft))}).join(";"),sn={sizingStyle:St,paddingSize:Ht,borderSize:Vt,boxSizing:ce};return Cn&&Qe&&(pe[Qe]=sn),sn}function ke(Ct){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;xe||(xe=document.createElement("textarea"),xe.setAttribute("tab-index","-1"),xe.setAttribute("aria-hidden","true"),document.body.appendChild(xe)),Ct.getAttribute("wrap")?xe.setAttribute("wrap",Ct.getAttribute("wrap")):xe.removeAttribute("wrap");var ce=me(Ct,Cn),Ht=ce.paddingSize,Vt=ce.borderSize,St=ce.boxSizing,sn=ce.sizingStyle;xe.setAttribute("style","".concat(sn,";").concat(Pe)),xe.value=Ct.value||Ct.placeholder||"";var Ft=void 0,oi=void 0,On,ni=xe.scrollHeight;if(St==="border-box"?ni+=Vt:St==="content-box"&&(ni-=Ht),Qe!==null||le!==null){xe.value=" ";var Jn=xe.scrollHeight-Ht;Qe!==null&&(Ft=Jn*Qe,St==="border-box"&&(Ft=Ft+Ht+Vt),ni=Math.max(Ft,ni)),le!==null&&(oi=Jn*le,St==="border-box"&&(oi=oi+Ht+Vt),On=ni>oi?"":"hidden",ni=Math.min(oi,ni))}var Mn={height:ni,overflowY:On,resize:"none"};return Ft&&(Mn.minHeight=Ft),oi&&(Mn.maxHeight=oi),Mn}var ee=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ne=0,Ie=1,Le=2,Je=Xe.forwardRef(function(Ct,Cn){var Qe=Ct,le=Qe.prefixCls,ce=Qe.onPressEnter,Ht=Qe.defaultValue,Vt=Qe.value,St=Qe.autoSize,sn=Qe.onResize,Ft=Qe.className,oi=Qe.style,On=Qe.disabled,ni=Qe.onChange,Jn=Qe.onInternalAutoSize,Mn=(0,F.Z)(Qe,ee),In=(0,we.Z)(Ht,{value:Vt,postState:function(Bt){return Bt!=null?Bt:""}}),ie=(0,G.Z)(In,2),z=ie[0],k=ie[1],j=function(Bt){k(Bt.target.value),ni==null||ni(Bt)},X=Xe.useRef();Xe.useImperativeHandle(Cn,function(){return{textArea:X.current}});var T=Xe.useMemo(function(){return St&&(0,B.Z)(St)==="object"?[St.minRows,St.maxRows]:[]},[St]),_e=(0,G.Z)(T,2),It=_e[0],$e=_e[1],De=!!St,gt=function(){try{if(document.activeElement===X.current){var Bt=X.current,Si=Bt.selectionStart,_i=Bt.selectionEnd,Ii=Bt.scrollTop;X.current.setSelectionRange(Si,_i),X.current.scrollTop=Ii}}catch(cn){}},ut=Xe.useState(Le),tt=(0,G.Z)(ut,2),Et=tt[0],pn=tt[1],nn=Xe.useState(),Kt=(0,G.Z)(nn,2),hn=Kt[0],an=Kt[1],et=function(){pn(Ne)};(0,Ce.Z)(function(){De&&et()},[Vt,It,$e,De]),(0,Ce.Z)(function(){if(Et===Ne)pn(Ie);else if(Et===Ie){var yn=ke(X.current,!1,It,$e);pn(Le),an(yn)}else gt()},[Et]);var zt=Xe.useRef(),dn=function(){Ae.Z.cancel(zt.current)},rn=function(Bt){Et===Le&&(sn==null||sn(Bt),St&&(dn(),zt.current=(0,Ae.Z)(function(){et()})))};Xe.useEffect(function(){return dn},[]);var ze=De?hn:null,Un=(0,I.Z)((0,I.Z)({},oi),ze);return(Et===Ne||Et===Ie)&&(Un.overflowY="hidden",Un.overflowX="hidden"),Xe.createElement(Oe.Z,{onResize:rn,disabled:!(St||sn)},Xe.createElement("textarea",(0,v.Z)({},Mn,{ref:X,style:Un,className:ae()(le,Ft,(0,O.Z)({},"".concat(le,"-disabled"),On)),disabled:On,value:z,onChange:j})))}),Ye=Je,re=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function lt(Ct,Cn){return(0,M.Z)(Ct||"").slice(0,Cn).join("")}function We(Ct,Cn,Qe,le){var ce=Qe;return Ct?ce=lt(Qe,le):(0,M.Z)(Cn||"").lengthle&&(ce=Cn),ce}var Pt=Xe.forwardRef(function(Ct,Cn){var Qe,le=Ct.defaultValue,ce=Ct.value,Ht=Ct.onFocus,Vt=Ct.onBlur,St=Ct.onChange,sn=Ct.allowClear,Ft=Ct.maxLength,oi=Ct.onCompositionStart,On=Ct.onCompositionEnd,ni=Ct.suffix,Jn=Ct.prefixCls,Mn=Jn===void 0?"rc-textarea":Jn,In=Ct.classes,ie=Ct.showCount,z=Ct.className,k=Ct.style,j=Ct.disabled,X=Ct.hidden,T=Ct.classNames,_e=Ct.styles,It=Ct.onResize,$e=(0,F.Z)(Ct,re),De=(0,we.Z)(le,{value:ce,defaultValue:le}),gt=(0,G.Z)(De,2),ut=gt[0],tt=gt[1],Et=(0,Xe.useRef)(null),pn=Xe.useState(!1),nn=(0,G.Z)(pn,2),Kt=nn[0],hn=nn[1],an=Xe.useState(!1),et=(0,G.Z)(an,2),zt=et[0],dn=et[1],rn=Xe.useRef(),ze=Xe.useRef(0),Un=Xe.useState(null),yn=(0,G.Z)(Un,2),Bt=yn[0],Si=yn[1],_i=function(){var Bi;(Bi=Et.current)===null||Bi===void 0||Bi.textArea.focus()};(0,Xe.useImperativeHandle)(Cn,function(){return{resizableTextArea:Et.current,focus:_i,blur:function(){var Bi;(Bi=Et.current)===null||Bi===void 0||Bi.textArea.blur()}}}),(0,Xe.useEffect)(function(){hn(function(rr){return!j&&rr})},[j]);var Ii=Number(Ft)>0,cn=function(Bi){dn(!0),rn.current=ut,ze.current=Bi.currentTarget.selectionStart,oi==null||oi(Bi)},fr=function(Bi){dn(!1);var yi=Bi.currentTarget.value;if(Ii){var ht,_n=ze.current>=Ft+1||ze.current===((ht=rn.current)===null||ht===void 0?void 0:ht.length);yi=We(_n,rn.current,yi,Ft)}yi!==ut&&(tt(yi),(0,Me.rJ)(Bi.currentTarget,Bi,St,yi)),On==null||On(Bi)},Xi=function(Bi){var yi=Bi.target.value;if(!zt&&Ii){var ht=Bi.target.selectionStart>=Ft+1||Bi.target.selectionStart===yi.length||!Bi.target.selectionStart;yi=We(ht,ut,yi,Ft)}tt(yi),(0,Me.rJ)(Bi.currentTarget,Bi,St,yi)},ei=function(Bi){var yi=$e.onPressEnter,ht=$e.onKeyDown;Bi.key==="Enter"&&yi&&yi(Bi),ht==null||ht(Bi)},Tr=function(Bi){hn(!0),Ht==null||Ht(Bi)},ur=function(Bi){hn(!1),Vt==null||Vt(Bi)},U=function(Bi){var yi;tt(""),_i(),(0,Me.rJ)((yi=Et.current)===null||yi===void 0?void 0:yi.textArea,Bi,St)},mr=(0,Me.D7)(ut);!zt&&Ii&&ce==null&&(mr=lt(mr,Ft));var Er=ni,wr;if(ie){var qr=(0,M.Z)(mr).length;(0,B.Z)(ie)==="object"?wr=ie.formatter({value:mr,count:qr,maxLength:Ft}):wr="".concat(qr).concat(Ii?" / ".concat(Ft):""),Er=Xe.createElement(Xe.Fragment,null,Er,Xe.createElement("span",{className:ae()("".concat(Mn,"-data-count"),T==null?void 0:T.count),style:_e==null?void 0:_e.count},wr))}var xo=function(Bi){var yi;It==null||It(Bi),(yi=Et.current)!==null&&yi!==void 0&&yi.textArea.style.height&&Si(!0)},kr=!$e.autoSize&&!ie&&!sn,no=Xe.createElement(te.BaseInput,{value:mr,allowClear:sn,handleReset:U,suffix:Er,prefixCls:Mn,classes:{affixWrapper:ae()(In==null?void 0:In.affixWrapper,(Qe={},(0,O.Z)(Qe,"".concat(Mn,"-show-count"),ie),(0,O.Z)(Qe,"".concat(Mn,"-textarea-allow-clear"),sn),Qe))},disabled:j,focused:Kt,className:z,style:(0,I.Z)((0,I.Z)({},k),Bt&&!kr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof wr=="string"?wr:void 0}},hidden:X,inputElement:Xe.createElement(Ye,(0,v.Z)({},$e,{onKeyDown:ei,onChange:Xi,onFocus:Tr,onBlur:ur,onCompositionStart:cn,onCompositionEnd:fr,className:T==null?void 0:T.textarea,style:(0,I.Z)((0,I.Z)({},_e==null?void 0:_e.textarea),{},{resize:k==null?void 0:k.resize}),disabled:j,prefixCls:Mn,onResize:xo,ref:Et}))});return no}),xt=Pt,kt=xt},39417:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ie}});var v=h(92413),I=h(400),O=h(37061),B=h(33708),G=h(6909),F=h(4771),M=h(25314),de=h(9427),ae=h(25440),te=h(92310),Me=h.n(te),we=h(26112),Xe=h(59301),Oe=h(39378),Ce=function(Je){for(var Ye=Je.prefixCls,re=Je.level,lt=Je.isStart,We=Je.isEnd,Pt="".concat(Ye,"-indent-unit"),xt=[],kt=0;kt0&&arguments[0]!==void 0?arguments[0]:[],j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],X=k.length,T=j.length;if(Math.abs(X-T)!==1)return{add:!1,key:null};function _e(It,$e){var De=new Map;It.forEach(function(ut){De.set(ut,!0)});var gt=$e.filter(function(ut){return!De.has(ut)});return gt.length===1?gt[0]:null}return X ").concat(j);return j}var Ft=Ae.forwardRef(function(k,j){var X=k.prefixCls,T=k.data,_e=k.selectable,It=k.checkable,$e=k.expandedKeys,De=k.selectedKeys,gt=k.checkedKeys,ut=k.loadedKeys,tt=k.loadingKeys,Et=k.halfCheckedKeys,pn=k.keyEntities,nn=k.disabled,Kt=k.dragging,hn=k.dragOverNodeKey,an=k.dropPosition,et=k.motion,zt=k.height,dn=k.itemHeight,rn=k.virtual,ze=k.focusable,Un=k.activeItem,yn=k.focused,Bt=k.tabIndex,Si=k.onKeyDown,_i=k.onFocus,Ii=k.onBlur,cn=k.onActiveChange,fr=k.onListChangeStart,Xi=k.onListChangeEnd,ei=(0,me.Z)(k,kt),Tr=Ae.useRef(null),ur=Ae.useRef(null);Ae.useImperativeHandle(j,function(){return{scrollTo:function(fn){Tr.current.scrollTo(fn)},getIndentWidth:function(){return ur.current.offsetWidth}}});var U=Ae.useState($e),mr=(0,xe.Z)(U,2),Er=mr[0],wr=mr[1],qr=Ae.useState(T),xo=(0,xe.Z)(qr,2),kr=xo[0],no=xo[1],rr=Ae.useState(T),Bi=(0,xe.Z)(rr,2),yi=Bi[0],ht=Bi[1],_n=Ae.useState([]),Vn=(0,xe.Z)(_n,2),pt=Vn[0],Ke=Vn[1],vn=Ae.useState(null),Fn=(0,xe.Z)(vn,2),on=Fn[0],Nt=Fn[1],Ve=Ae.useRef(T);Ve.current=T;function Ut(){var ot=Ve.current;no(ot),ht(ot),Ke([]),Nt(null),Xi()}(0,ke.Z)(function(){wr($e);var ot=Pt(Er,$e);if(ot.key!==null)if(ot.add){var fn=kr.findIndex(function(mt){var xn=mt.key;return xn===ot.key}),vt=Vt(xt(kr,T,ot.key),rn,zt,dn),je=kr.slice();je.splice(fn+1,0,Ht),ht(je),Ke(vt),Nt("show")}else{var L=T.findIndex(function(mt){var xn=mt.key;return xn===ot.key}),Rt=Vt(xt(T,kr,ot.key),rn,zt,dn),Jt=T.slice();Jt.splice(L+1,0,Ht),ht(Jt),Ke(Rt),Nt("hide")}else kr!==T&&(no(T),ht(T))},[$e,T]),Ae.useEffect(function(){Kt||Ut()},[Kt]);var Lt=et?yi:T,Wn={expandedKeys:$e,selectedKeys:De,loadedKeys:ut,loadingKeys:tt,checkedKeys:gt,halfCheckedKeys:Et,dragOverNodeKey:hn,dropPosition:an,keyEntities:pn};return Ae.createElement(Ae.Fragment,null,yn&&Un&&Ae.createElement("span",{style:Ct,"aria-live":"assertive"},sn(Un)),Ae.createElement("div",null,Ae.createElement("input",{style:Ct,disabled:ze===!1||nn,tabIndex:ze!==!1?Bt:null,onKeyDown:Si,onFocus:_i,onBlur:Ii,value:"",onChange:Cn,"aria-label":"for screen reader"})),Ae.createElement("div",{className:"".concat(X,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ae.createElement("div",{className:"".concat(X,"-indent")},Ae.createElement("div",{ref:ur,className:"".concat(X,"-indent-unit")}))),Ae.createElement(ee.Z,(0,v.Z)({},ei,{data:Lt,itemKey:St,height:zt,fullHeight:!1,virtual:rn,itemHeight:dn,prefixCls:"".concat(X,"-list"),ref:Tr,onVisibleChange:function(fn,vt){var je=new Set(fn),L=vt.filter(function(Rt){return!je.has(Rt)});L.some(function(Rt){return St(Rt)===Qe})&&Ut()}}),function(ot){var fn=ot.pos,vt=(0,v.Z)({},(pe(ot.data),ot.data)),je=ot.title,L=ot.key,Rt=ot.isStart,Jt=ot.isEnd,mt=(0,Je.km)(L,fn);delete vt.key,delete vt.children;var xn=(0,Je.H8)(mt,Wn);return Ae.createElement(We,(0,v.Z)({},vt,xn,{title:je,active:!!Un&&L===Un.key,pos:fn,data:ot.data,isStart:Rt,isEnd:Jt,motion:et,motionNodes:L===Qe?pt:null,motionType:on,onMotionStart:fr,onMotionEnd:Ut,treeNodeRequiredProps:Wn,onMouseMove:function(){cn(null)}}))}))});Ft.displayName="NodeList";var oi=Ft,On=h(35654),ni=h(90782),Jn=h(67841),Mn=10,In=function(k){(0,ae.Z)(X,k);var j=(0,te.Z)(X);function X(){var T;(0,F.Z)(this,X);for(var _e=arguments.length,It=new Array(_e),$e=0;$e<_e;$e++)It[$e]=arguments[$e];return T=j.call.apply(j,[this].concat(It)),T.destroyed=!1,T.delayedDragEnterLogic=void 0,T.loadingRetryTimes={},T.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Je.w$)()},T.dragStartMousePosition=null,T.dragNode=void 0,T.currentMouseOverDroppableNodeKey=null,T.listRef=Ae.createRef(),T.onNodeDragStart=function(De,gt){var ut=T.state,tt=ut.expandedKeys,Et=ut.keyEntities,pn=T.props.onDragStart,nn=gt.props.eventKey;T.dragNode=gt,T.dragStartMousePosition={x:De.clientX,y:De.clientY};var Kt=(0,On._5)(tt,nn);T.setState({draggingNodeKey:nn,dragChildrenKeys:(0,On.wA)(nn,Et),indent:T.listRef.current.getIndentWidth()}),T.setExpandedKeys(Kt),window.addEventListener("dragend",T.onWindowDragEnd),pn==null||pn({event:De,node:(0,Je.F)(gt.props)})},T.onNodeDragEnter=function(De,gt){var ut=T.state,tt=ut.expandedKeys,Et=ut.keyEntities,pn=ut.dragChildrenKeys,nn=ut.flattenNodes,Kt=ut.indent,hn=T.props,an=hn.onDragEnter,et=hn.onExpand,zt=hn.allowDrop,dn=hn.direction,rn=gt.props,ze=rn.pos,Un=rn.eventKey,yn=(0,de.Z)(T),Bt=yn.dragNode;if(T.currentMouseOverDroppableNodeKey!==Un&&(T.currentMouseOverDroppableNodeKey=Un),!Bt){T.resetDragState();return}var Si=(0,On.OM)(De,Bt,gt,Kt,T.dragStartMousePosition,zt,nn,Et,tt,dn),_i=Si.dropPosition,Ii=Si.dropLevelOffset,cn=Si.dropTargetKey,fr=Si.dropContainerKey,Xi=Si.dropTargetPos,ei=Si.dropAllowed,Tr=Si.dragOverNodeKey;if(pn.indexOf(cn)!==-1||!ei){T.resetDragState();return}if(T.delayedDragEnterLogic||(T.delayedDragEnterLogic={}),Object.keys(T.delayedDragEnterLogic).forEach(function(ur){clearTimeout(T.delayedDragEnterLogic[ur])}),Bt.props.eventKey!==gt.props.eventKey&&(De.persist(),T.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(T.state.draggingNodeKey!==null){var ur=(0,G.Z)(tt),U=(0,Jn.Z)(Et,gt.props.eventKey);U&&(U.children||[]).length&&(ur=(0,On.L0)(tt,gt.props.eventKey)),"expandedKeys"in T.props||T.setExpandedKeys(ur),et==null||et(ur,{node:(0,Je.F)(gt.props),expanded:!0,nativeEvent:De.nativeEvent})}},800)),Bt.props.eventKey===cn&&Ii===0){T.resetDragState();return}T.setState({dragOverNodeKey:Tr,dropPosition:_i,dropLevelOffset:Ii,dropTargetKey:cn,dropContainerKey:fr,dropTargetPos:Xi,dropAllowed:ei}),an==null||an({event:De,node:(0,Je.F)(gt.props),expandedKeys:tt})},T.onNodeDragOver=function(De,gt){var ut=T.state,tt=ut.dragChildrenKeys,Et=ut.flattenNodes,pn=ut.keyEntities,nn=ut.expandedKeys,Kt=ut.indent,hn=T.props,an=hn.onDragOver,et=hn.allowDrop,zt=hn.direction,dn=(0,de.Z)(T),rn=dn.dragNode;if(rn){var ze=(0,On.OM)(De,rn,gt,Kt,T.dragStartMousePosition,et,Et,pn,nn,zt),Un=ze.dropPosition,yn=ze.dropLevelOffset,Bt=ze.dropTargetKey,Si=ze.dropContainerKey,_i=ze.dropAllowed,Ii=ze.dropTargetPos,cn=ze.dragOverNodeKey;tt.indexOf(Bt)!==-1||!_i||(rn.props.eventKey===Bt&&yn===0?T.state.dropPosition===null&&T.state.dropLevelOffset===null&&T.state.dropTargetKey===null&&T.state.dropContainerKey===null&&T.state.dropTargetPos===null&&T.state.dropAllowed===!1&&T.state.dragOverNodeKey===null||T.resetDragState():Un===T.state.dropPosition&&yn===T.state.dropLevelOffset&&Bt===T.state.dropTargetKey&&Si===T.state.dropContainerKey&&Ii===T.state.dropTargetPos&&_i===T.state.dropAllowed&&cn===T.state.dragOverNodeKey||T.setState({dropPosition:Un,dropLevelOffset:yn,dropTargetKey:Bt,dropContainerKey:Si,dropTargetPos:Ii,dropAllowed:_i,dragOverNodeKey:cn}),an==null||an({event:De,node:(0,Je.F)(gt.props)}))}},T.onNodeDragLeave=function(De,gt){T.currentMouseOverDroppableNodeKey===gt.props.eventKey&&!De.currentTarget.contains(De.relatedTarget)&&(T.resetDragState(),T.currentMouseOverDroppableNodeKey=null);var ut=T.props.onDragLeave;ut==null||ut({event:De,node:(0,Je.F)(gt.props)})},T.onWindowDragEnd=function(De){T.onNodeDragEnd(De,null,!0),window.removeEventListener("dragend",T.onWindowDragEnd)},T.onNodeDragEnd=function(De,gt){var ut=T.props.onDragEnd;T.setState({dragOverNodeKey:null}),T.cleanDragState(),ut==null||ut({event:De,node:(0,Je.F)(gt.props)}),T.dragNode=null,window.removeEventListener("dragend",T.onWindowDragEnd)},T.onNodeDrop=function(De,gt){var ut,tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Et=T.state,pn=Et.dragChildrenKeys,nn=Et.dropPosition,Kt=Et.dropTargetKey,hn=Et.dropTargetPos,an=Et.dropAllowed;if(an){var et=T.props.onDrop;if(T.setState({dragOverNodeKey:null}),T.cleanDragState(),Kt!==null){var zt=(0,B.Z)((0,B.Z)({},(0,Je.H8)(Kt,T.getTreeNodeRequiredProps())),{},{active:((ut=T.getActiveItem())===null||ut===void 0?void 0:ut.key)===Kt,data:(0,Jn.Z)(T.state.keyEntities,Kt).node}),dn=pn.indexOf(Kt)!==-1;(0,Ce.ZP)(!dn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var rn=(0,On.yx)(hn),ze={event:De,node:(0,Je.F)(zt),dragNode:T.dragNode?(0,Je.F)(T.dragNode.props):null,dragNodesKeys:[T.dragNode.props.eventKey].concat(pn),dropToGap:nn!==0,dropPosition:nn+Number(rn[rn.length-1])};tt||et==null||et(ze),T.dragNode=null}}},T.cleanDragState=function(){var De=T.state.draggingNodeKey;De!==null&&T.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),T.dragStartMousePosition=null,T.currentMouseOverDroppableNodeKey=null},T.triggerExpandActionExpand=function(De,gt){var ut=T.state,tt=ut.expandedKeys,Et=ut.flattenNodes,pn=gt.expanded,nn=gt.key,Kt=gt.isLeaf;if(!(Kt||De.shiftKey||De.metaKey||De.ctrlKey)){var hn=Et.filter(function(et){return et.key===nn})[0],an=(0,Je.F)((0,B.Z)((0,B.Z)({},(0,Je.H8)(nn,T.getTreeNodeRequiredProps())),{},{data:hn.data}));T.setExpandedKeys(pn?(0,On._5)(tt,nn):(0,On.L0)(tt,nn)),T.onNodeExpand(De,an)}},T.onNodeClick=function(De,gt){var ut=T.props,tt=ut.onClick,Et=ut.expandAction;Et==="click"&&T.triggerExpandActionExpand(De,gt),tt==null||tt(De,gt)},T.onNodeDoubleClick=function(De,gt){var ut=T.props,tt=ut.onDoubleClick,Et=ut.expandAction;Et==="doubleClick"&&T.triggerExpandActionExpand(De,gt),tt==null||tt(De,gt)},T.onNodeSelect=function(De,gt){var ut=T.state.selectedKeys,tt=T.state,Et=tt.keyEntities,pn=tt.fieldNames,nn=T.props,Kt=nn.onSelect,hn=nn.multiple,an=gt.selected,et=gt[pn.key],zt=!an;zt?hn?ut=(0,On.L0)(ut,et):ut=[et]:ut=(0,On._5)(ut,et);var dn=ut.map(function(rn){var ze=(0,Jn.Z)(Et,rn);return ze?ze.node:null}).filter(function(rn){return rn});T.setUncontrolledState({selectedKeys:ut}),Kt==null||Kt(ut,{event:"select",selected:zt,node:gt,selectedNodes:dn,nativeEvent:De.nativeEvent})},T.onNodeCheck=function(De,gt,ut){var tt=T.state,Et=tt.keyEntities,pn=tt.checkedKeys,nn=tt.halfCheckedKeys,Kt=T.props,hn=Kt.checkStrictly,an=Kt.onCheck,et=gt.key,zt,dn={event:"check",node:gt,checked:ut,nativeEvent:De.nativeEvent};if(hn){var rn=ut?(0,On.L0)(pn,et):(0,On._5)(pn,et),ze=(0,On._5)(nn,et);zt={checked:rn,halfChecked:ze},dn.checkedNodes=rn.map(function(Ii){return(0,Jn.Z)(Et,Ii)}).filter(function(Ii){return Ii}).map(function(Ii){return Ii.node}),T.setUncontrolledState({checkedKeys:rn})}else{var Un=(0,ni.S)([].concat((0,G.Z)(pn),[et]),!0,Et),yn=Un.checkedKeys,Bt=Un.halfCheckedKeys;if(!ut){var Si=new Set(yn);Si.delete(et);var _i=(0,ni.S)(Array.from(Si),{checked:!1,halfCheckedKeys:Bt},Et);yn=_i.checkedKeys,Bt=_i.halfCheckedKeys}zt=yn,dn.checkedNodes=[],dn.checkedNodesPositions=[],dn.halfCheckedKeys=Bt,yn.forEach(function(Ii){var cn=(0,Jn.Z)(Et,Ii);if(cn){var fr=cn.node,Xi=cn.pos;dn.checkedNodes.push(fr),dn.checkedNodesPositions.push({node:fr,pos:Xi})}}),T.setUncontrolledState({checkedKeys:yn},!1,{halfCheckedKeys:Bt})}an==null||an(zt,dn)},T.onNodeLoad=function(De){var gt=De.key,ut=new Promise(function(tt,Et){T.setState(function(pn){var nn=pn.loadedKeys,Kt=nn===void 0?[]:nn,hn=pn.loadingKeys,an=hn===void 0?[]:hn,et=T.props,zt=et.loadData,dn=et.onLoad;if(!zt||Kt.indexOf(gt)!==-1||an.indexOf(gt)!==-1)return null;var rn=zt(De);return rn.then(function(){var ze=T.state.loadedKeys,Un=(0,On.L0)(ze,gt);dn==null||dn(Un,{event:"load",node:De}),T.setUncontrolledState({loadedKeys:Un}),T.setState(function(yn){return{loadingKeys:(0,On._5)(yn.loadingKeys,gt)}}),tt()}).catch(function(ze){if(T.setState(function(yn){return{loadingKeys:(0,On._5)(yn.loadingKeys,gt)}}),T.loadingRetryTimes[gt]=(T.loadingRetryTimes[gt]||0)+1,T.loadingRetryTimes[gt]>=Mn){var Un=T.state.loadedKeys;(0,Ce.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),T.setUncontrolledState({loadedKeys:(0,On.L0)(Un,gt)}),tt()}Et(ze)}),{loadingKeys:(0,On.L0)(an,gt)}})});return ut.catch(function(){}),ut},T.onNodeMouseEnter=function(De,gt){var ut=T.props.onMouseEnter;ut==null||ut({event:De,node:gt})},T.onNodeMouseLeave=function(De,gt){var ut=T.props.onMouseLeave;ut==null||ut({event:De,node:gt})},T.onNodeContextMenu=function(De,gt){var ut=T.props.onRightClick;ut&&(De.preventDefault(),ut({event:De,node:gt}))},T.onFocus=function(){var De=T.props.onFocus;T.setState({focused:!0});for(var gt=arguments.length,ut=new Array(gt),tt=0;tt1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!T.destroyed){var tt=!1,Et=!0,pn={};Object.keys(De).forEach(function(nn){if(nn in T.props){Et=!1;return}tt=!0,pn[nn]=De[nn]}),tt&&(!gt||Et)&&T.setState((0,B.Z)((0,B.Z)({},pn),ut))}},T.scrollTo=function(De){T.listRef.current.scrollTo(De)},T}return(0,M.Z)(X,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var _e=this.props.activeKey;_e!==void 0&&_e!==this.state.activeKey&&(this.setState({activeKey:_e}),_e!==null&&this.scrollTo({key:_e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var _e,It=this.state,$e=It.focused,De=It.flattenNodes,gt=It.keyEntities,ut=It.draggingNodeKey,tt=It.activeKey,Et=It.dropLevelOffset,pn=It.dropContainerKey,nn=It.dropTargetKey,Kt=It.dropPosition,hn=It.dragOverNodeKey,an=It.indent,et=this.props,zt=et.prefixCls,dn=et.className,rn=et.style,ze=et.showLine,Un=et.focusable,yn=et.tabIndex,Bt=yn===void 0?0:yn,Si=et.selectable,_i=et.showIcon,Ii=et.icon,cn=et.switcherIcon,fr=et.draggable,Xi=et.checkable,ei=et.checkStrictly,Tr=et.disabled,ur=et.motion,U=et.loadData,mr=et.filterTreeNode,Er=et.height,wr=et.itemHeight,qr=et.virtual,xo=et.titleRender,kr=et.dropIndicatorRender,no=et.onContextMenu,rr=et.onScroll,Bi=et.direction,yi=et.rootClassName,ht=et.rootStyle,_n=(0,Oe.Z)(this.props,{aria:!0,data:!0}),Vn;return fr&&((0,O.Z)(fr)==="object"?Vn=fr:typeof fr=="function"?Vn={nodeDraggable:fr}:Vn={}),Ae.createElement(Pe.k.Provider,{value:{prefixCls:zt,selectable:Si,showIcon:_i,icon:Ii,switcherIcon:cn,draggable:Vn,draggingNodeKey:ut,checkable:Xi,checkStrictly:ei,disabled:Tr,keyEntities:gt,dropLevelOffset:Et,dropContainerKey:pn,dropTargetKey:nn,dropPosition:Kt,dragOverNodeKey:hn,indent:an,direction:Bi,dropIndicatorRender:kr,loadData:U,filterTreeNode:mr,titleRender:xo,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},Ae.createElement("div",{role:"tree",className:we()(zt,dn,yi,(_e={},(0,I.Z)(_e,"".concat(zt,"-show-line"),ze),(0,I.Z)(_e,"".concat(zt,"-focused"),$e),(0,I.Z)(_e,"".concat(zt,"-active-focused"),tt!==null),_e)),style:ht},Ae.createElement(oi,(0,v.Z)({ref:this.listRef,prefixCls:zt,style:rn,data:De,disabled:Tr,selectable:Si,checkable:!!Xi,motion:ur,dragging:ut!==null,height:Er,itemHeight:wr,virtual:qr,focusable:Un,focused:$e,tabIndex:Bt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:no,onScroll:rr},this.getTreeNodeRequiredProps(),_n))))}}],[{key:"getDerivedStateFromProps",value:function(_e,It){var $e=It.prevProps,De={prevProps:_e};function gt(Un){return!$e&&Un in _e||$e&&$e[Un]!==_e[Un]}var ut,tt=It.fieldNames;if(gt("fieldNames")&&(tt=(0,Je.w$)(_e.fieldNames),De.fieldNames=tt),gt("treeData")?ut=_e.treeData:gt("children")&&((0,Ce.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ut=(0,Je.zn)(_e.children)),ut){De.treeData=ut;var Et=(0,Je.I8)(ut,{fieldNames:tt});De.keyEntities=(0,B.Z)((0,I.Z)({},Qe,ce),Et.keyEntities)}var pn=De.keyEntities||It.keyEntities;if(gt("expandedKeys")||$e&>("autoExpandParent"))De.expandedKeys=_e.autoExpandParent||!$e&&_e.defaultExpandParent?(0,On.r7)(_e.expandedKeys,pn):_e.expandedKeys;else if(!$e&&_e.defaultExpandAll){var nn=(0,B.Z)({},pn);delete nn[Qe],De.expandedKeys=Object.keys(nn).map(function(Un){return nn[Un].key})}else!$e&&_e.defaultExpandedKeys&&(De.expandedKeys=_e.autoExpandParent||_e.defaultExpandParent?(0,On.r7)(_e.defaultExpandedKeys,pn):_e.defaultExpandedKeys);if(De.expandedKeys||delete De.expandedKeys,ut||De.expandedKeys){var Kt=(0,Je.oH)(ut||It.treeData,De.expandedKeys||It.expandedKeys,tt);De.flattenNodes=Kt}if(_e.selectable&&(gt("selectedKeys")?De.selectedKeys=(0,On.BT)(_e.selectedKeys,_e):!$e&&_e.defaultSelectedKeys&&(De.selectedKeys=(0,On.BT)(_e.defaultSelectedKeys,_e))),_e.checkable){var hn;if(gt("checkedKeys")?hn=(0,On.E6)(_e.checkedKeys)||{}:!$e&&_e.defaultCheckedKeys?hn=(0,On.E6)(_e.defaultCheckedKeys)||{}:ut&&(hn=(0,On.E6)(_e.checkedKeys)||{checkedKeys:It.checkedKeys,halfCheckedKeys:It.halfCheckedKeys}),hn){var an=hn,et=an.checkedKeys,zt=et===void 0?[]:et,dn=an.halfCheckedKeys,rn=dn===void 0?[]:dn;if(!_e.checkStrictly){var ze=(0,ni.S)(zt,!0,pn);zt=ze.checkedKeys,rn=ze.halfCheckedKeys}De.checkedKeys=zt,De.halfCheckedKeys=rn}}return gt("loadedKeys")&&(De.loadedKeys=_e.loadedKeys),De}}]),X}(Ae.Component);In.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:fe,allowDrop:function(){return!0},expandAction:!1},In.TreeNode=Ie.Z;var ie=In,z=ie},35654:function(Q,C,h){"use strict";h.d(C,{BT:function(){return Ae},E6:function(){return pe},L0:function(){return te},OM:function(){return Ce},_5:function(){return ae},r7:function(){return xe},wA:function(){return we},yx:function(){return Me}});var v=h(26407),I=h(39559),O=h(48736),B=h(59301),G=h(39417),F=h(67841),M=h(71430),de=null;function ae(me,ke){if(!me)return[];var ee=me.slice(),Ne=ee.indexOf(ke);return Ne>=0&&ee.splice(Ne,1),ee}function te(me,ke){var ee=(me||[]).slice();return ee.indexOf(ke)===-1&&ee.push(ke),ee}function Me(me){return me.split("-")}function we(me,ke){var ee=[],Ne=(0,F.Z)(ke,me);function Ie(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Le.forEach(function(Je){var Ye=Je.key,re=Je.children;ee.push(Ye),Ie(re)})}return Ie(Ne.children),ee}function Xe(me){if(me.parent){var ke=Me(me.pos);return Number(ke[ke.length-1])===me.parent.children.length-1}return!1}function Oe(me){var ke=Me(me.pos);return Number(ke[ke.length-1])===0}function Ce(me,ke,ee,Ne,Ie,Le,Je,Ye,re,lt){var We,Pt=me.clientX,xt=me.clientY,kt=me.target.getBoundingClientRect(),Ct=kt.top,Cn=kt.height,Qe=(lt==="rtl"?-1:1)*(((Ie==null?void 0:Ie.x)||0)-Pt),le=(Qe-12)/Ne,ce=(0,F.Z)(Ye,ee.props.eventKey);if(xt-1.5?Le({dragNode:Mn,dropNode:In,dropPosition:1})?On=1:ie=!1:Le({dragNode:Mn,dropNode:In,dropPosition:0})?On=0:Le({dragNode:Mn,dropNode:In,dropPosition:1})?On=1:ie=!1:Le({dragNode:Mn,dropNode:In,dropPosition:1})?On=1:ie=!1,{dropPosition:On,dropLevelOffset:ni,dropTargetKey:ce.key,dropTargetPos:ce.pos,dragOverNodeKey:oi,dropContainerKey:On===0?null:((We=ce.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:ie}}function Ae(me,ke){if(me){var ee=ke.multiple;return ee?me.slice():me.length?[me[0]]:me}}var Pe=function(ke){return ke};function fe(me,ke){if(!me)return[];var ee=ke||{},Ne=ee.processProps,Ie=Ne===void 0?Pe:Ne,Le=Array.isArray(me)?me:[me];return Le.map(function(Je){var Ye=Je.children,re=_objectWithoutProperties(Je,de),lt=fe(Ye,ke);return React.createElement(TreeNode,_extends({key:re.key},Ie(re)),lt)})}function pe(me){if(!me)return null;var ke;if(Array.isArray(me))ke={checkedKeys:me,halfCheckedKeys:void 0};else if((0,I.Z)(me)==="object")ke={checkedKeys:me.checked||void 0,halfCheckedKeys:me.halfChecked||void 0};else return(0,O.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ke}function xe(me,ke){var ee=new Set;function Ne(Ie){if(!ee.has(Ie)){var Le=(0,F.Z)(ke,Ie);if(Le){ee.add(Ie);var Je=Le.parent,Ye=Le.node;Ye.disabled||Je&&Ne(Je.key)}}}return(me||[]).forEach(function(Ie){Ne(Ie)}),(0,v.Z)(ee)}},90782:function(Q,C,h){"use strict";h.d(C,{S:function(){return M}});var v=h(48736),I=h(67841);function O(de,ae){var te=new Set;return de.forEach(function(Me){ae.has(Me)||te.add(Me)}),te}function B(de){var ae=de||{},te=ae.disabled,Me=ae.disableCheckbox,we=ae.checkable;return!!(te||Me)||we===!1}function G(de,ae,te,Me){for(var we=new Set(de),Xe=new Set,Oe=0;Oe<=te;Oe+=1){var Ce=ae.get(Oe)||new Set;Ce.forEach(function(pe){var xe=pe.key,me=pe.node,ke=pe.children,ee=ke===void 0?[]:ke;we.has(xe)&&!Me(me)&&ee.filter(function(Ne){return!Me(Ne.node)}).forEach(function(Ne){we.add(Ne.key)})})}for(var Ae=new Set,Pe=te;Pe>=0;Pe-=1){var fe=ae.get(Pe)||new Set;fe.forEach(function(pe){var xe=pe.parent,me=pe.node;if(!(Me(me)||!pe.parent||Ae.has(pe.parent.key))){if(Me(pe.parent.node)){Ae.add(xe.key);return}var ke=!0,ee=!1;(xe.children||[]).filter(function(Ne){return!Me(Ne.node)}).forEach(function(Ne){var Ie=Ne.key,Le=we.has(Ie);ke&&!Le&&(ke=!1),!ee&&(Le||Xe.has(Ie))&&(ee=!0)}),ke&&we.add(xe.key),ee&&Xe.add(xe.key),Ae.add(xe.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(O(Xe,we))}}function F(de,ae,te,Me,we){for(var Xe=new Set(de),Oe=new Set(ae),Ce=0;Ce<=Me;Ce+=1){var Ae=te.get(Ce)||new Set;Ae.forEach(function(xe){var me=xe.key,ke=xe.node,ee=xe.children,Ne=ee===void 0?[]:ee;!Xe.has(me)&&!Oe.has(me)&&!we(ke)&&Ne.filter(function(Ie){return!we(Ie.node)}).forEach(function(Ie){Xe.delete(Ie.key)})})}Oe=new Set;for(var Pe=new Set,fe=Me;fe>=0;fe-=1){var pe=te.get(fe)||new Set;pe.forEach(function(xe){var me=xe.parent,ke=xe.node;if(!(we(ke)||!xe.parent||Pe.has(xe.parent.key))){if(we(xe.parent.node)){Pe.add(me.key);return}var ee=!0,Ne=!1;(me.children||[]).filter(function(Ie){return!we(Ie.node)}).forEach(function(Ie){var Le=Ie.key,Je=Xe.has(Le);ee&&!Je&&(ee=!1),!Ne&&(Je||Oe.has(Le))&&(Ne=!0)}),ee||Xe.delete(me.key),Ne&&Oe.add(me.key),Pe.add(me.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(O(Oe,Xe))}}function M(de,ae,te,Me){var we=[],Xe;Me?Xe=Me:Xe=B;var Oe=new Set(de.filter(function(fe){var pe=!!(0,I.Z)(te,fe);return pe||we.push(fe),pe})),Ce=new Map,Ae=0;Object.keys(te).forEach(function(fe){var pe=te[fe],xe=pe.level,me=Ce.get(xe);me||(me=new Set,Ce.set(xe,me)),me.add(pe),Ae=Math.max(Ae,xe)}),(0,v.ZP)(!we.length,"Tree missing follow keys: ".concat(we.slice(0,100).map(function(fe){return"'".concat(fe,"'")}).join(", ")));var Pe;return ae===!0?Pe=G(Oe,Ce,Ae,Xe):Pe=F(Oe,ae.halfCheckedKeys,Ce,Ae,Xe),Pe}},67841:function(Q,C,h){"use strict";h.d(C,{Z:function(){return v}});function v(I,O){return I[O]}},71430:function(Q,C,h){"use strict";h.d(C,{F:function(){return xe},H8:function(){return pe},I8:function(){return fe},km:function(){return we},oH:function(){return Ae},w$:function(){return Xe},zn:function(){return Ce}});var v=h(39559),I=h(26407),O=h(33708),B=h(37061),G=h(11592),F=h(2738),M=h(48736),de=h(67841),ae=["children"];function te(me,ke){return"".concat(me,"-").concat(ke)}function Me(me){return me&&me.type&&me.type.isTreeNode}function we(me,ke){return me!=null?me:ke}function Xe(me){var ke=me||{},ee=ke.title,Ne=ke._title,Ie=ke.key,Le=ke.children,Je=ee||"title";return{title:Je,_title:Ne||[Je],key:Ie||"key",children:Le||"children"}}function Oe(me,ke){var ee=new Map;function Ne(Ie){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ie||[]).forEach(function(Je){var Ye=Je[ke.key],re=Je[ke.children];warning(Ye!=null,"Tree node must have a certain key: [".concat(Le).concat(Ye,"]"));var lt=String(Ye);warning(!ee.has(lt)||Ye===null||Ye===void 0,"Same 'key' exist in the Tree: ".concat(lt)),ee.set(lt,!0),Ne(re,"".concat(Le).concat(lt," > "))})}Ne(me)}function Ce(me){function ke(ee){var Ne=(0,G.Z)(ee);return Ne.map(function(Ie){if(!Me(Ie))return(0,M.ZP)(!Ie,"Tree/TreeNode can only accept TreeNode as children."),null;var Le=Ie.key,Je=Ie.props,Ye=Je.children,re=(0,B.Z)(Je,ae),lt=(0,O.Z)({key:Le},re),We=ke(Ye);return We.length&&(lt.children=We),lt}).filter(function(Ie){return Ie})}return ke(me)}function Ae(me,ke,ee){var Ne=Xe(ee),Ie=Ne._title,Le=Ne.key,Je=Ne.children,Ye=new Set(ke===!0?[]:ke),re=[];function lt(We){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(xt,kt){for(var Ct=te(Pt?Pt.pos:"0",kt),Cn=we(xt[Le],Ct),Qe,le=0;le1&&arguments[1]!==void 0?arguments[1]:{},ee=ke.initWrapper,Ne=ke.processEntity,Ie=ke.onProcessFinished,Le=ke.externalGetKey,Je=ke.childrenPropName,Ye=ke.fieldNames,re=arguments.length>2?arguments[2]:void 0,lt=Le||re,We={},Pt={},xt={posEntities:We,keyEntities:Pt};return ee&&(xt=ee(xt)||xt),Pe(me,function(kt){var Ct=kt.node,Cn=kt.index,Qe=kt.pos,le=kt.key,ce=kt.parentPos,Ht=kt.level,Vt=kt.nodes,St={node:Ct,nodes:Vt,index:Cn,key:le,pos:Qe,level:Ht},sn=we(le,Qe);We[Qe]=St,Pt[sn]=St,St.parent=We[ce],St.parent&&(St.parent.children=St.parent.children||[],St.parent.children.push(St)),Ne&&Ne(St,xt)},{externalGetKey:lt,childrenPropName:Je,fieldNames:Ye}),Ie&&Ie(xt),xt}function pe(me,ke){var ee=ke.expandedKeys,Ne=ke.selectedKeys,Ie=ke.loadedKeys,Le=ke.loadingKeys,Je=ke.checkedKeys,Ye=ke.halfCheckedKeys,re=ke.dragOverNodeKey,lt=ke.dropPosition,We=ke.keyEntities,Pt=(0,de.Z)(We,me),xt={eventKey:me,expanded:ee.indexOf(me)!==-1,selected:Ne.indexOf(me)!==-1,loaded:Ie.indexOf(me)!==-1,loading:Le.indexOf(me)!==-1,checked:Je.indexOf(me)!==-1,halfChecked:Ye.indexOf(me)!==-1,pos:String(Pt?Pt.pos:""),dragOver:re===me&<===0,dragOverGapTop:re===me&<===-1,dragOverGapBottom:re===me&<===1};return xt}function xe(me){var ke=me.data,ee=me.expanded,Ne=me.selected,Ie=me.checked,Le=me.loaded,Je=me.loading,Ye=me.halfChecked,re=me.dragOver,lt=me.dragOverGapTop,We=me.dragOverGapBottom,Pt=me.pos,xt=me.active,kt=me.eventKey,Ct=(0,O.Z)((0,O.Z)({},ke),{},{expanded:ee,selected:Ne,checked:Ie,loaded:Le,loading:Je,halfChecked:Ye,dragOver:re,dragOverGapTop:lt,dragOverGapBottom:We,pos:Pt,active:xt,key:kt});return"props"in Ct||Object.defineProperty(Ct,"props",{get:function(){return(0,M.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),me}}),Ct}},8224:function(Q,C,h){"use strict";h.d(C,{Z:function(){return I}});var v=h(4676);function I(O,B,G,F){var M=v.unstable_batchedUpdates?function(ae){v.unstable_batchedUpdates(G,ae)}:G;return O!=null&&O.addEventListener&&O.addEventListener(B,M,F),{remove:function(){O!=null&&O.removeEventListener&&O.removeEventListener(B,M,F)}}}},55468:function(Q,C,h){"use strict";h.d(C,{g1:function(){return Me},os:function(){return Xe}});var v=/margin|padding|width|height|max|min|offset/,I={left:!0,top:!0},O={cssFloat:1,styleFloat:1,float:1};function B(Oe){return Oe.nodeType===1?Oe.ownerDocument.defaultView.getComputedStyle(Oe,null):{}}function G(Oe,Ce,Ae){if(Ce=Ce.toLowerCase(),Ae==="auto"){if(Ce==="height")return Oe.offsetHeight;if(Ce==="width")return Oe.offsetWidth}return Ce in I||(I[Ce]=v.test(Ce)),I[Ce]?parseFloat(Ae)||0:Ae}function F(Oe,Ce){var Ae=arguments.length,Pe=B(Oe);return Ce=O[Ce]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":Ce,Ae===1?Pe:G(Oe,Ce,Pe[Ce]||Oe.style[Ce])}function M(Oe,Ce,Ae){var Pe=arguments.length;if(Ce=O[Ce]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":Ce,Pe===3)return typeof Ae=="number"&&v.test(Ce)&&(Ae="".concat(Ae,"px")),Oe.style[Ce]=Ae,Ae;for(var fe in Ce)Ce.hasOwnProperty(fe)&&M(Oe,fe,Ce[fe]);return B(Oe)}function de(Oe){return Oe===document.body?document.documentElement.clientWidth:Oe.offsetWidth}function ae(Oe){return Oe===document.body?window.innerHeight||document.documentElement.clientHeight:Oe.offsetHeight}function te(){var Oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ce=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Oe,height:Ce}}function Me(){var Oe=document.documentElement.clientWidth,Ce=window.innerHeight||document.documentElement.clientHeight;return{width:Oe,height:Ce}}function we(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Xe(Oe){var Ce=Oe.getBoundingClientRect(),Ae=document.documentElement;return{left:Ce.left+(window.pageXOffset||Ae.scrollLeft)-(Ae.clientLeft||document.body.clientLeft||0),top:Ce.top+(window.pageYOffset||Ae.scrollTop)-(Ae.clientTop||document.body.clientTop||0)}}},24514:function(Q,C,h){"use strict";h.d(C,{G:function(){return B}});var v=h(47273),I=function(F){if((0,v.Z)()&&window.document.documentElement){var M=Array.isArray(F)?F:[F],de=window.document.documentElement;return M.some(function(ae){return ae in de.style})}return!1},O=function(F,M){if(!I(F))return!1;var de=document.createElement("div"),ae=de.style[F];return de.style[F]=M,de.style[F]!==ae};function B(G,F){return!Array.isArray(G)&&F!==void 0?O(G,F):I(G)}},24916:function(Q,C,h){"use strict";h.d(C,{Z:function(){return In}});var v=h(92413),I=h(39559),O=h(33708),B=h(400),G=h(33606),F=h(37061),M=h(92310),de=h.n(M),ae=h(29301),te=h(70425),Me=h(34280),we=h(59301),Xe=h(4676),Oe=we.forwardRef(function(ie,z){var k=ie.height,j=ie.offsetY,X=ie.offsetX,T=ie.children,_e=ie.prefixCls,It=ie.onInnerResize,$e=ie.innerProps,De=ie.rtl,gt=ie.extra,ut={},tt={display:"flex",flexDirection:"column"};return j!==void 0&&(ut={height:k,position:"relative",overflow:"hidden"},tt=(0,O.Z)((0,O.Z)({},tt),{},(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({transform:"translateY(".concat(j,"px)")},De?"marginRight":"marginLeft",-X),"position","absolute"),"left",0),"right",0),"top",0))),we.createElement("div",{style:ut},we.createElement(ae.Z,{onResize:function(pn){var nn=pn.offsetHeight;nn&&It&&It()}},we.createElement("div",(0,v.Z)({style:tt,className:de()((0,B.Z)({},"".concat(_e,"-holder-inner"),_e)),ref:z},$e),T,gt)))});Oe.displayName="Filler";var Ce=Oe;function Ae(ie){var z=ie.children,k=ie.setRef,j=we.useCallback(function(X){k(X)},[]);return we.cloneElement(z,{ref:j})}function Pe(ie,z,k,j,X,T,_e,It){var $e=It.getKey;return ie.slice(z,k+1).map(function(De,gt){var ut=z+gt,tt=_e(De,ut,{style:{width:j},offsetX:X}),Et=$e(De);return we.createElement(Ae,{key:Et,setRef:function(nn){return T(De,nn)}},tt)})}function fe(ie,z,k,j){var X=k-ie,T=z-k,_e=Math.min(X,T)*2;if(j<=_e){var It=Math.floor(j/2);return j%2?k+It+1:k-It}return X>T?k-(j-T):k+(j-X)}function pe(ie,z,k){var j=ie.length,X=z.length,T,_e;if(j===0&&X===0)return null;j2&&arguments[2]!==void 0?arguments[2]:!1,ut=$e?De<0&&It.current.left||De>0&&It.current.right:De<0&&It.current.top||De>0&&It.current.bottom;return gt&&ut?(clearTimeout(T.current),X.current=!1):(!ut||X.current)&&_e(),!X.current&&ut}};function Ie(ie,z,k,j,X,T,_e){var It=(0,we.useRef)(0),$e=(0,we.useRef)(null),De=(0,we.useRef)(null),gt=(0,we.useRef)(!1),ut=Ne(z,k,j,X);function tt(an,et){if(me.Z.cancel($e.current),!ut(!1,et)){var zt=an;if(!zt._virtualHandled)zt._virtualHandled=!0;else return;It.current+=et,De.current=et,ee||zt.preventDefault(),$e.current=(0,me.Z)(function(){var dn=gt.current?10:1;_e(It.current*dn,!1),It.current=0})}}function Et(an,et){_e(et,!0),ee||an.preventDefault()}var pn=(0,we.useRef)(null),nn=(0,we.useRef)(null);function Kt(an){if(ie){me.Z.cancel(nn.current),nn.current=(0,me.Z)(function(){pn.current=null},2);var et=an.deltaX,zt=an.deltaY,dn=an.shiftKey,rn=et,ze=zt;(pn.current==="sx"||!pn.current&&dn&&zt&&!et)&&(rn=zt,ze=0,pn.current="sx");var Un=Math.abs(rn),yn=Math.abs(ze);pn.current===null&&(pn.current=T&&Un>yn?"x":"y"),pn.current==="y"?tt(an,ze):Et(an,rn)}}function hn(an){ie&&(gt.current=an.detail===De.current)}return[Kt,hn]}function Le(ie,z,k,j){var X=we.useMemo(function(){return[new Map,[]]},[ie,k.id,j]),T=(0,G.Z)(X,2),_e=T[0],It=T[1],$e=function(gt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gt,tt=_e.get(gt),Et=_e.get(ut);if(tt===void 0||Et===void 0)for(var pn=ie.length,nn=It.length;nn0&&arguments[0]!==void 0?arguments[0]:!1;gt();var pn=function(){var hn=!1;It.current.forEach(function(an,et){if(an&&an.offsetParent){var zt=an.offsetHeight,dn=getComputedStyle(an),rn=dn.marginTop,ze=dn.marginBottom,Un=We(rn),yn=We(ze),Bt=zt+Un+yn;$e.current.get(et)!==Bt&&($e.current.set(et,Bt),hn=!0)}}),hn&&_e(function(an){return an+1})};if(Et)pn();else{De.current+=1;var nn=De.current;Promise.resolve().then(function(){nn===De.current&&pn()})}}function tt(Et,pn){var nn=ie(Et),Kt=It.current.get(nn);pn?(It.current.set(nn,pn),ut()):It.current.delete(nn),!Kt!=!pn&&(pn?z==null||z(Et):k==null||k(Et))}return(0,we.useEffect)(function(){return gt},[]),[tt,ut,$e.current,T]}var xt=14/15;function kt(ie,z,k){var j=(0,we.useRef)(!1),X=(0,we.useRef)(0),T=(0,we.useRef)(0),_e=(0,we.useRef)(null),It=(0,we.useRef)(null),$e,De=function(Et){if(j.current){var pn=Math.ceil(Et.touches[0].pageX),nn=Math.ceil(Et.touches[0].pageY),Kt=X.current-pn,hn=T.current-nn,an=Math.abs(Kt)>Math.abs(hn);an?X.current=pn:T.current=nn;var et=k(an,an?Kt:hn,!1,Et);et&&Et.preventDefault(),clearInterval(It.current),et&&(It.current=setInterval(function(){an?Kt*=xt:hn*=xt;var zt=Math.floor(an?Kt:hn);(!k(an,zt,!0)||Math.abs(zt)<=.1)&&clearInterval(It.current)},16))}},gt=function(){j.current=!1,$e()},ut=function(Et){$e(),Et.touches.length===1&&!j.current&&(j.current=!0,X.current=Math.ceil(Et.touches[0].pageX),T.current=Math.ceil(Et.touches[0].pageY),_e.current=Et.target,_e.current.addEventListener("touchmove",De,{passive:!1}),_e.current.addEventListener("touchend",gt,{passive:!0}))};$e=function(){_e.current&&(_e.current.removeEventListener("touchmove",De),_e.current.removeEventListener("touchend",gt))},(0,Me.Z)(function(){return ie&&z.current.addEventListener("touchstart",ut,{passive:!0}),function(){var tt;(tt=z.current)===null||tt===void 0||tt.removeEventListener("touchstart",ut),$e(),clearInterval(It.current)}},[ie])}function Ct(ie){return Math.floor(Math.pow(ie,.5))}function Cn(ie,z){var k="touches"in ie?ie.touches[0]:ie;return k[z?"pageX":"pageY"]-window[z?"scrollX":"scrollY"]}function Qe(ie,z,k){we.useEffect(function(){var j=z.current;if(ie&&j){var X=!1,T,_e,It=function(){me.Z.cancel(T)},$e=function tt(){It(),T=(0,me.Z)(function(){k(_e),tt()})},De=function(Et){if(!Et.target.draggable){var pn=Et;pn._virtualHandled||(pn._virtualHandled=!0,X=!0)}},gt=function(){X=!1,It()},ut=function(Et){if(X){var pn=Cn(Et,!1),nn=j.getBoundingClientRect(),Kt=nn.top,hn=nn.bottom;if(pn<=Kt){var an=Kt-pn;_e=-Ct(an),$e()}else if(pn>=hn){var et=pn-hn;_e=Ct(et),$e()}else It()}};return j.addEventListener("mousedown",De),j.ownerDocument.addEventListener("mouseup",gt),j.ownerDocument.addEventListener("mousemove",ut),function(){j.removeEventListener("mousedown",De),j.ownerDocument.removeEventListener("mouseup",gt),j.ownerDocument.removeEventListener("mousemove",ut),It()}}},[ie])}var le=10;function ce(ie,z,k,j,X,T,_e,It){var $e=we.useRef(),De=we.useState(null),gt=(0,G.Z)(De,2),ut=gt[0],tt=gt[1];return(0,Me.Z)(function(){if(ut&&ut.times=0;cn-=1){var fr=X(z[cn]),Xi=k.get(fr);if(Xi===void 0){an=!0;break}if(Ii-=Xi,Ii<=0)break}switch(dn){case"top":zt=ze-Kt;break;case"bottom":zt=Un-hn+Kt;break;default:{var ei=ie.current.scrollTop,Tr=ei+hn;zeTr&&(et="bottom")}}zt!==null&&_e(zt),zt!==ut.lastTop&&(an=!0)}an&&tt((0,O.Z)((0,O.Z)({},ut),{},{times:ut.times+1,targetAlign:et,lastTop:zt}))}},[ut,ie.current]),function(Et){if(Et==null){It();return}if(me.Z.cancel($e.current),typeof Et=="number")_e(Et);else if(Et&&(0,I.Z)(Et)==="object"){var pn,nn=Et.align;"index"in Et?pn=Et.index:pn=z.findIndex(function(an){return X(an)===Et.key});var Kt=Et.offset,hn=Kt===void 0?0:Kt;tt({times:0,index:pn,offset:hn,originAlign:nn})}}}var Ht=we.forwardRef(function(ie,z){var k=ie.prefixCls,j=ie.rtl,X=ie.scrollOffset,T=ie.scrollRange,_e=ie.onStartMove,It=ie.onStopMove,$e=ie.onScroll,De=ie.horizontal,gt=ie.spinSize,ut=ie.containerSize,tt=ie.style,Et=ie.thumbStyle,pn=ie.showScrollBar,nn=we.useState(!1),Kt=(0,G.Z)(nn,2),hn=Kt[0],an=Kt[1],et=we.useState(null),zt=(0,G.Z)(et,2),dn=zt[0],rn=zt[1],ze=we.useState(null),Un=(0,G.Z)(ze,2),yn=Un[0],Bt=Un[1],Si=!j,_i=we.useRef(),Ii=we.useRef(),cn=we.useState(pn),fr=(0,G.Z)(cn,2),Xi=fr[0],ei=fr[1],Tr=we.useRef(),ur=function(){pn===!0||pn===!1||(clearTimeout(Tr.current),ei(!0),Tr.current=setTimeout(function(){ei(!1)},3e3))},U=T-ut||0,mr=ut-gt||0,Er=we.useMemo(function(){if(X===0||U===0)return 0;var ht=X/U;return ht*mr},[X,U,mr]),wr=function(_n){_n.stopPropagation(),_n.preventDefault()},qr=we.useRef({top:Er,dragging:hn,pageY:dn,startTop:yn});qr.current={top:Er,dragging:hn,pageY:dn,startTop:yn};var xo=function(_n){an(!0),rn(Cn(_n,De)),Bt(qr.current.top),_e(),_n.stopPropagation(),_n.preventDefault()};we.useEffect(function(){var ht=function(Ke){Ke.preventDefault()},_n=_i.current,Vn=Ii.current;return _n.addEventListener("touchstart",ht,{passive:!1}),Vn.addEventListener("touchstart",xo,{passive:!1}),function(){_n.removeEventListener("touchstart",ht),Vn.removeEventListener("touchstart",xo)}},[]);var kr=we.useRef();kr.current=U;var no=we.useRef();no.current=mr,we.useEffect(function(){if(hn){var ht,_n=function(Ke){var vn=qr.current,Fn=vn.dragging,on=vn.pageY,Nt=vn.startTop;me.Z.cancel(ht);var Ve=_i.current.getBoundingClientRect(),Ut=ut/(De?Ve.width:Ve.height);if(Fn){var Lt=(Cn(Ke,De)-on)*Ut,Wn=Nt;!Si&&De?Wn-=Lt:Wn+=Lt;var ot=kr.current,fn=no.current,vt=fn?Wn/fn:0,je=Math.ceil(vt*ot);je=Math.max(je,0),je=Math.min(je,ot),ht=(0,me.Z)(function(){$e(je,De)})}},Vn=function(){an(!1),It()};return window.addEventListener("mousemove",_n,{passive:!0}),window.addEventListener("touchmove",_n,{passive:!0}),window.addEventListener("mouseup",Vn,{passive:!0}),window.addEventListener("touchend",Vn,{passive:!0}),function(){window.removeEventListener("mousemove",_n),window.removeEventListener("touchmove",_n),window.removeEventListener("mouseup",Vn),window.removeEventListener("touchend",Vn),me.Z.cancel(ht)}}},[hn]),we.useEffect(function(){return ur(),function(){clearTimeout(Tr.current)}},[X]),we.useImperativeHandle(z,function(){return{delayHidden:ur}});var rr="".concat(k,"-scrollbar"),Bi={position:"absolute",visibility:Xi?null:"hidden"},yi={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return De?(Bi.height=8,Bi.left=0,Bi.right=0,Bi.bottom=0,yi.height="100%",yi.width=gt,Si?yi.left=Er:yi.right=Er):(Bi.width=8,Bi.top=0,Bi.bottom=0,Si?Bi.right=0:Bi.left=0,yi.width="100%",yi.height=gt,yi.top=Er),we.createElement("div",{ref:_i,className:de()(rr,(0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(rr,"-horizontal"),De),"".concat(rr,"-vertical"),!De),"".concat(rr,"-visible"),Xi)),style:(0,O.Z)((0,O.Z)({},Bi),tt),onMouseDown:wr,onMouseMove:ur},we.createElement("div",{ref:Ii,className:de()("".concat(rr,"-thumb"),(0,B.Z)({},"".concat(rr,"-thumb-moving"),hn)),style:(0,O.Z)((0,O.Z)({},yi),Et),onMouseDown:xo}))}),Vt=Ht,St=20;function sn(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,k=ie/z*ie;return isNaN(k)&&(k=0),k=Math.max(k,St),Math.floor(k)}var Ft=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],oi=[],On={overflowY:"auto",overflowAnchor:"none"};function ni(ie,z){var k=ie.prefixCls,j=k===void 0?"rc-virtual-list":k,X=ie.className,T=ie.height,_e=ie.itemHeight,It=ie.fullHeight,$e=It===void 0?!0:It,De=ie.style,gt=ie.data,ut=ie.children,tt=ie.itemKey,Et=ie.virtual,pn=ie.direction,nn=ie.scrollWidth,Kt=ie.component,hn=Kt===void 0?"div":Kt,an=ie.onScroll,et=ie.onVirtualScroll,zt=ie.onVisibleChange,dn=ie.innerProps,rn=ie.extraRender,ze=ie.styles,Un=ie.showScrollBar,yn=Un===void 0?"optional":Un,Bt=(0,F.Z)(ie,Ft),Si=we.useCallback(function(Ri){return typeof tt=="function"?tt(Ri):Ri==null?void 0:Ri[tt]},[tt]),_i=Pt(Si,null,null),Ii=(0,G.Z)(_i,4),cn=Ii[0],fr=Ii[1],Xi=Ii[2],ei=Ii[3],Tr=!!(Et!==!1&&T&&_e),ur=we.useMemo(function(){return Object.values(Xi.maps).reduce(function(Ri,Ai){return Ri+Ai},0)},[Xi.id,Xi.maps]),U=Tr&>&&(Math.max(_e*gt.length,ur)>T||!!nn),mr=pn==="rtl",Er=de()(j,(0,B.Z)({},"".concat(j,"-rtl"),mr),X),wr=gt||oi,qr=(0,we.useRef)(),xo=(0,we.useRef)(),kr=(0,we.useRef)(),no=(0,we.useState)(0),rr=(0,G.Z)(no,2),Bi=rr[0],yi=rr[1],ht=(0,we.useState)(0),_n=(0,G.Z)(ht,2),Vn=_n[0],pt=_n[1],Ke=(0,we.useState)(!1),vn=(0,G.Z)(Ke,2),Fn=vn[0],on=vn[1],Nt=function(){on(!0)},Ve=function(){on(!1)},Ut={getKey:Si};function Lt(Ri){yi(function(Ai){var hr;typeof Ri=="function"?hr=Ri(Ai):hr=Ri;var Ki=Be(hr);return qr.current.scrollTop=Ki,Ki})}var Wn=(0,we.useRef)({start:0,end:wr.length}),ot=(0,we.useRef)(),fn=xe(wr,Si),vt=(0,G.Z)(fn,1),je=vt[0];ot.current=je;var L=we.useMemo(function(){if(!Tr)return{scrollHeight:void 0,start:0,end:wr.length-1,offset:void 0};if(!U){var Ri;return{scrollHeight:((Ri=xo.current)===null||Ri===void 0?void 0:Ri.offsetHeight)||0,start:0,end:wr.length-1,offset:void 0}}for(var Ai=0,hr,Ki,Lr,Wr=wr.length,eo=0;eo=Bi&&hr===void 0&&(hr=eo,Ki=Ai),Uo>Bi+T&&Lr===void 0&&(Lr=eo),Ai=Uo}return hr===void 0&&(hr=0,Ki=0,Lr=Math.ceil(T/_e)),Lr===void 0&&(Lr=wr.length-1),Lr=Math.min(Lr+1,wr.length-1),{scrollHeight:Ai,start:hr,end:Lr,offset:Ki}},[U,Tr,Bi,wr,ei,T]),Rt=L.scrollHeight,Jt=L.start,mt=L.end,xn=L.offset;Wn.current.start=Jt,Wn.current.end=mt,we.useLayoutEffect(function(){var Ri=Xi.getRecord();if(Ri.size===1){var Ai=Array.from(Ri)[0],hr=wr[Jt];if(hr){var Ki=Si(hr);if(Ki===Ai){var Lr=Xi.get(Ai),Wr=Lr-_e;Lt(function(eo){return eo+Wr})}}}Xi.resetRecord()},[Rt]);var An=we.useState({width:0,height:T}),li=(0,G.Z)(An,2),Nn=li[0],st=li[1],Mi=function(Ai){st({width:Ai.offsetWidth,height:Ai.offsetHeight})},Yi=(0,we.useRef)(),Yt=(0,we.useRef)(),zi=we.useMemo(function(){return sn(Nn.width,nn)},[Nn.width,nn]),q=we.useMemo(function(){return sn(Nn.height,Rt)},[Nn.height,Rt]),oe=Rt-T,Hn=(0,we.useRef)(oe);Hn.current=oe;function Be(Ri){var Ai=Ri;return Number.isNaN(Hn.current)||(Ai=Math.min(Ai,Hn.current)),Ai=Math.max(Ai,0),Ai}var Tt=Bi<=0,fi=Bi>=oe,Ln=Vn<=0,Fi=Vn>=nn,qt=Ne(Tt,fi,Ln,Fi),xi=function(){return{x:mr?-Vn:Vn,y:Bi}},Xt=(0,we.useRef)(xi()),Li=(0,te.useEvent)(function(Ri){if(et){var Ai=(0,O.Z)((0,O.Z)({},xi()),Ri);(Xt.current.x!==Ai.x||Xt.current.y!==Ai.y)&&(et(Ai),Xt.current=Ai)}});function Yr(Ri,Ai){var hr=Ri;Ai?((0,Xe.flushSync)(function(){pt(hr)}),Li()):Lt(hr)}function Mt(Ri){var Ai=Ri.currentTarget.scrollTop;Ai!==Bi&&Lt(Ai),an==null||an(Ri),Li()}var Qr=function(Ai){var hr=Ai,Ki=nn?nn-Nn.width:0;return hr=Math.max(hr,0),hr=Math.min(hr,Ki),hr},tn=(0,te.useEvent)(function(Ri,Ai){Ai?((0,Xe.flushSync)(function(){pt(function(hr){var Ki=hr+(mr?-Ri:Ri);return Qr(Ki)})}),Li()):Lt(function(hr){var Ki=hr+Ri;return Ki})}),Oi=Ie(Tr,Tt,fi,Ln,Fi,!!nn,tn),Ei=(0,G.Z)(Oi,2),or=Ei[0],tr=Ei[1];kt(Tr,qr,function(Ri,Ai,hr,Ki){var Lr=Ki;return qt(Ri,Ai,hr)?!1:!Lr||!Lr._virtualHandled?(Lr&&(Lr._virtualHandled=!0),or({preventDefault:function(){},deltaX:Ri?Ai:0,deltaY:Ri?0:Ai}),!0):!1}),Qe(U,qr,function(Ri){Lt(function(Ai){return Ai+Ri})}),(0,Me.Z)(function(){function Ri(hr){var Ki=Tt&&hr.detail<0,Lr=fi&&hr.detail>0;Tr&&!Ki&&!Lr&&hr.preventDefault()}var Ai=qr.current;return Ai.addEventListener("wheel",or,{passive:!1}),Ai.addEventListener("DOMMouseScroll",tr,{passive:!0}),Ai.addEventListener("MozMousePixelScroll",Ri,{passive:!1}),function(){Ai.removeEventListener("wheel",or),Ai.removeEventListener("DOMMouseScroll",tr),Ai.removeEventListener("MozMousePixelScroll",Ri)}},[Tr,Tt,fi]),(0,Me.Z)(function(){if(nn){var Ri=Qr(Vn);pt(Ri),Li({x:Ri})}},[Nn.width,nn]);var Zn=function(){var Ai,hr;(Ai=Yi.current)===null||Ai===void 0||Ai.delayHidden(),(hr=Yt.current)===null||hr===void 0||hr.delayHidden()},he=ce(qr,wr,Xi,_e,Si,function(){return fr(!0)},Lt,Zn);we.useImperativeHandle(z,function(){return{nativeElement:kr.current,getScrollInfo:xi,scrollTo:function(Ai){function hr(Ki){return Ki&&(0,I.Z)(Ki)==="object"&&("left"in Ki||"top"in Ki)}hr(Ai)?(Ai.left!==void 0&&pt(Qr(Ai.left)),he(Ai.top)):he(Ai)}}}),(0,Me.Z)(function(){if(zt){var Ri=wr.slice(Jt,mt+1);zt(Ri,wr)}},[Jt,mt,wr]);var gr=Le(wr,Si,Xi,_e),br=rn==null?void 0:rn({start:Jt,end:mt,virtual:U,offsetX:Vn,offsetY:xn,rtl:mr,getSize:gr}),cr=Pe(wr,Jt,mt,nn,Vn,cn,ut,Ut),Br=null;T&&(Br=(0,O.Z)((0,B.Z)({},$e?"height":"maxHeight",T),On),Tr&&(Br.overflowY="hidden",nn&&(Br.overflowX="hidden"),Fn&&(Br.pointerEvents="none")));var Zi={};return mr&&(Zi.dir="rtl"),we.createElement("div",(0,v.Z)({ref:kr,style:(0,O.Z)((0,O.Z)({},De),{},{position:"relative"}),className:Er},Zi,Bt),we.createElement(ae.Z,{onResize:Mi},we.createElement(hn,{className:"".concat(j,"-holder"),style:Br,ref:qr,onScroll:Mt,onMouseEnter:Zn},we.createElement(Ce,{prefixCls:j,height:Rt,offsetX:Vn,offsetY:xn,scrollWidth:nn,onInnerResize:fr,ref:xo,innerProps:dn,rtl:mr,extra:br},cr))),U&&Rt>T&&we.createElement(Vt,{ref:Yi,prefixCls:j,scrollOffset:Bi,scrollRange:Rt,rtl:mr,onScroll:Yr,onStartMove:Nt,onStopMove:Ve,spinSize:q,containerSize:Nn.height,style:ze==null?void 0:ze.verticalScrollBar,thumbStyle:ze==null?void 0:ze.verticalScrollBarThumb,showScrollBar:yn}),U&&nn>Nn.width&&we.createElement(Vt,{ref:Yt,prefixCls:j,scrollOffset:Vn,scrollRange:nn,rtl:mr,onScroll:Yr,onStartMove:Nt,onStopMove:Ve,spinSize:zi,containerSize:Nn.width,horizontal:!0,style:ze==null?void 0:ze.horizontalScrollBar,thumbStyle:ze==null?void 0:ze.horizontalScrollBarThumb,showScrollBar:yn}))}var Jn=we.forwardRef(ni);Jn.displayName="List";var Mn=Jn,In=Mn},77596:function(Q,C,h){"use strict";h.d(C,{Z:function(){return le}});var v=h(37061),I=h(26407),O=h(400),B=h(59301),G=h(92413);function F(ce,Ht){var Vt=Object.keys(ce);if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(ce);Ht&&(St=St.filter(function(sn){return Object.getOwnPropertyDescriptor(ce,sn).enumerable})),Vt.push.apply(Vt,St)}return Vt}function M(ce){for(var Ht=1;Ht=4)return[ce[0],ce[1],ce[2],ce[3],"".concat(ce[0],".").concat(ce[1]),"".concat(ce[0],".").concat(ce[2]),"".concat(ce[0],".").concat(ce[3]),"".concat(ce[1],".").concat(ce[0]),"".concat(ce[1],".").concat(ce[2]),"".concat(ce[1],".").concat(ce[3]),"".concat(ce[2],".").concat(ce[0]),"".concat(ce[2],".").concat(ce[1]),"".concat(ce[2],".").concat(ce[3]),"".concat(ce[3],".").concat(ce[0]),"".concat(ce[3],".").concat(ce[1]),"".concat(ce[3],".").concat(ce[2]),"".concat(ce[0],".").concat(ce[1],".").concat(ce[2]),"".concat(ce[0],".").concat(ce[1],".").concat(ce[3]),"".concat(ce[0],".").concat(ce[2],".").concat(ce[1]),"".concat(ce[0],".").concat(ce[2],".").concat(ce[3]),"".concat(ce[0],".").concat(ce[3],".").concat(ce[1]),"".concat(ce[0],".").concat(ce[3],".").concat(ce[2]),"".concat(ce[1],".").concat(ce[0],".").concat(ce[2]),"".concat(ce[1],".").concat(ce[0],".").concat(ce[3]),"".concat(ce[1],".").concat(ce[2],".").concat(ce[0]),"".concat(ce[1],".").concat(ce[2],".").concat(ce[3]),"".concat(ce[1],".").concat(ce[3],".").concat(ce[0]),"".concat(ce[1],".").concat(ce[3],".").concat(ce[2]),"".concat(ce[2],".").concat(ce[0],".").concat(ce[1]),"".concat(ce[2],".").concat(ce[0],".").concat(ce[3]),"".concat(ce[2],".").concat(ce[1],".").concat(ce[0]),"".concat(ce[2],".").concat(ce[1],".").concat(ce[3]),"".concat(ce[2],".").concat(ce[3],".").concat(ce[0]),"".concat(ce[2],".").concat(ce[3],".").concat(ce[1]),"".concat(ce[3],".").concat(ce[0],".").concat(ce[1]),"".concat(ce[3],".").concat(ce[0],".").concat(ce[2]),"".concat(ce[3],".").concat(ce[1],".").concat(ce[0]),"".concat(ce[3],".").concat(ce[1],".").concat(ce[2]),"".concat(ce[3],".").concat(ce[2],".").concat(ce[0]),"".concat(ce[3],".").concat(ce[2],".").concat(ce[1]),"".concat(ce[0],".").concat(ce[1],".").concat(ce[2],".").concat(ce[3]),"".concat(ce[0],".").concat(ce[1],".").concat(ce[3],".").concat(ce[2]),"".concat(ce[0],".").concat(ce[2],".").concat(ce[1],".").concat(ce[3]),"".concat(ce[0],".").concat(ce[2],".").concat(ce[3],".").concat(ce[1]),"".concat(ce[0],".").concat(ce[3],".").concat(ce[1],".").concat(ce[2]),"".concat(ce[0],".").concat(ce[3],".").concat(ce[2],".").concat(ce[1]),"".concat(ce[1],".").concat(ce[0],".").concat(ce[2],".").concat(ce[3]),"".concat(ce[1],".").concat(ce[0],".").concat(ce[3],".").concat(ce[2]),"".concat(ce[1],".").concat(ce[2],".").concat(ce[0],".").concat(ce[3]),"".concat(ce[1],".").concat(ce[2],".").concat(ce[3],".").concat(ce[0]),"".concat(ce[1],".").concat(ce[3],".").concat(ce[0],".").concat(ce[2]),"".concat(ce[1],".").concat(ce[3],".").concat(ce[2],".").concat(ce[0]),"".concat(ce[2],".").concat(ce[0],".").concat(ce[1],".").concat(ce[3]),"".concat(ce[2],".").concat(ce[0],".").concat(ce[3],".").concat(ce[1]),"".concat(ce[2],".").concat(ce[1],".").concat(ce[0],".").concat(ce[3]),"".concat(ce[2],".").concat(ce[1],".").concat(ce[3],".").concat(ce[0]),"".concat(ce[2],".").concat(ce[3],".").concat(ce[0],".").concat(ce[1]),"".concat(ce[2],".").concat(ce[3],".").concat(ce[1],".").concat(ce[0]),"".concat(ce[3],".").concat(ce[0],".").concat(ce[1],".").concat(ce[2]),"".concat(ce[3],".").concat(ce[0],".").concat(ce[2],".").concat(ce[1]),"".concat(ce[3],".").concat(ce[1],".").concat(ce[0],".").concat(ce[2]),"".concat(ce[3],".").concat(ce[1],".").concat(ce[2],".").concat(ce[0]),"".concat(ce[3],".").concat(ce[2],".").concat(ce[0],".").concat(ce[1]),"".concat(ce[3],".").concat(ce[2],".").concat(ce[1],".").concat(ce[0])]}var ae={};function te(ce){if(ce.length===0||ce.length===1)return ce;var Ht=ce.join(".");return ae[Ht]||(ae[Ht]=de(ce)),ae[Ht]}function Me(ce){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Vt=arguments.length>2?arguments[2]:void 0,St=ce.filter(function(Ft){return Ft!=="token"}),sn=te(St);return sn.reduce(function(Ft,oi){return M(M({},Ft),Vt[oi])},Ht)}function we(ce){return ce.join(" ")}function Xe(ce,Ht){var Vt=0;return function(St){return Vt+=1,St.map(function(sn,Ft){return Oe({node:sn,stylesheet:ce,useInlineStyles:Ht,key:"code-segment-".concat(Vt,"-").concat(Ft)})})}}function Oe(ce){var Ht=ce.node,Vt=ce.stylesheet,St=ce.style,sn=St===void 0?{}:St,Ft=ce.useInlineStyles,oi=ce.key,On=Ht.properties,ni=Ht.type,Jn=Ht.tagName,Mn=Ht.value;if(ni==="text")return Mn;if(Jn){var In=Xe(Vt,Ft),ie;if(!Ft)ie=M(M({},On),{},{className:we(On.className)});else{var z=Object.keys(Vt).reduce(function(T,_e){return _e.split(".").forEach(function(It){T.includes(It)||T.push(It)}),T},[]),k=On.className&&On.className.includes("token")?["token"]:[],j=On.className&&k.concat(On.className.filter(function(T){return!z.includes(T)}));ie=M(M({},On),{},{className:we(j)||void 0,style:Me(On.className,Object.assign({},On.style,sn),Vt)})}var X=In(Ht.children);return B.createElement(Jn,(0,G.Z)({key:oi},ie),X)}}var Ce=function(ce,Ht){var Vt=ce.listLanguages();return Vt.indexOf(Ht)!==-1},Ae=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Pe(ce,Ht){var Vt=Object.keys(ce);if(Object.getOwnPropertySymbols){var St=Object.getOwnPropertySymbols(ce);Ht&&(St=St.filter(function(sn){return Object.getOwnPropertyDescriptor(ce,sn).enumerable})),Vt.push.apply(Vt,St)}return Vt}function fe(ce){for(var Ht=1;Ht1&&arguments[1]!==void 0?arguments[1]:[],Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],St=0;St2&&arguments[2]!==void 0?arguments[2]:[];return Le({children:De,lineNumber:gt,lineNumberStyle:On,largestLineNumber:oi,showInlineLineNumbers:sn,lineProps:Vt,className:ut,showLineNumbers:St,wrapLongLines:ni,wrapLines:Ht})}function j(De,gt){if(St&>&&sn){var ut=Ie(On,gt,oi);De.unshift(Ne(gt,ut))}return De}function X(De,gt){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Ht||ut.length>0?k(De,gt,ut):j(De,gt)}for(var T=function(){var gt=Mn[z],ut=gt.children[0].value,tt=xe(ut);if(tt){var Et=ut.split(` +`);Et.forEach(function(pn,nn){var Kt=St&&In.length+Ft,hn={type:"text",value:"".concat(pn,` +`)};if(nn===0){var an=Mn.slice(ie+1,z).concat(Le({children:[hn],className:gt.properties.className})),et=X(an,Kt);In.push(et)}else if(nn===Et.length-1){var zt=Mn[z+1]&&Mn[z+1].children&&Mn[z+1].children[0],dn={type:"text",value:"".concat(pn)};if(zt){var rn=Le({children:[dn],className:gt.properties.className});Mn.splice(z+1,0,rn)}else{var ze=[dn],Un=X(ze,Kt,gt.properties.className);In.push(Un)}}else{var yn=[hn],Bt=X(yn,Kt,gt.properties.className);In.push(Bt)}}),ie=z}z++};z code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},kt=h(11594),Ct=h.n(kt),Cn=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Qe=Pt(Ct(),xt);Qe.supportedLanguages=Cn;var le=Qe},14179:function(Q,C){"use strict";C.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(Q,C,h){"use strict";h(84126);var v=h(59301),I=60103;if(C.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;I=O("react.element"),C.Fragment=O("react.fragment")}var B=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,G=Object.prototype.hasOwnProperty,F={key:!0,ref:!0,__self:!0,__source:!0};function M(de,ae,te){var Me,we={},Xe=null,Oe=null;te!==void 0&&(Xe=""+te),ae.key!==void 0&&(Xe=""+ae.key),ae.ref!==void 0&&(Oe=ae.ref);for(Me in ae)G.call(ae,Me)&&!F.hasOwnProperty(Me)&&(we[Me]=ae[Me]);if(de&&de.defaultProps)for(Me in ae=de.defaultProps,ae)we[Me]===void 0&&(we[Me]=ae[Me]);return{$$typeof:I,type:de,key:Xe,ref:Oe,props:we,_owner:B.current}}C.jsx=M,C.jsxs=M},37712:function(Q,C,h){"use strict";Q.exports=h(19524)},95489:function(Q,C,h){"use strict";var v=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof h.g=="object"?h.g:{},I=ke();v.Prism={manual:!0,disableWorkerMessageHandler:!0};var O=h(43621),B=h(12256),G=h(68398),F=h(70614),M=h(54212),de=h(9720),ae=h(88786);I();var te={}.hasOwnProperty;function Me(){}Me.prototype=G;var we=new Me;Q.exports=we,we.highlight=Ce,we.register=Xe,we.alias=Oe,we.registered=Ae,we.listLanguages=Pe,Xe(F),Xe(M),Xe(de),Xe(ae),we.util.encode=xe,we.Token.stringify=fe;function Xe(ee){if(typeof ee!="function"||!ee.displayName)throw new Error("Expected `function` for `grammar`, got `"+ee+"`");we.languages[ee.displayName]===void 0&&ee(we)}function Oe(ee,Ne){var Ie=we.languages,Le=ee,Je,Ye,re,lt;Ne&&(Le={},Le[ee]=Ne);for(Je in Le)for(Ye=Le[Je],Ye=typeof Ye=="string"?[Ye]:Ye,re=Ye.length,lt=-1;++lt]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(Q){"use strict";Q.exports=C,C.displayName="abnf",C.aliases=[];function C(h){(function(v){var I="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";v.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+I+"|<"+I+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(h)}},42746:function(Q){"use strict";Q.exports=C,C.displayName="actionscript",C.aliases=[];function C(h){h.languages.actionscript=h.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),h.languages.actionscript["class-name"].alias="function",delete h.languages.actionscript.parameter,delete h.languages.actionscript["literal-property"],h.languages.markup&&h.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:h.languages.markup}})}},93281:function(Q){"use strict";Q.exports=C,C.displayName="ada",C.aliases=[];function C(h){h.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(Q){"use strict";Q.exports=C,C.displayName="agda",C.aliases=[];function C(h){(function(v){v.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(h)}},65924:function(Q){"use strict";Q.exports=C,C.displayName="al",C.aliases=[];function C(h){h.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(Q){"use strict";Q.exports=C,C.displayName="antlr4",C.aliases=["g4"];function C(h){h.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},h.languages.g4=h.languages.antlr4}},43556:function(Q){"use strict";Q.exports=C,C.displayName="apacheconf",C.aliases=[];function C(h){h.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(Q,C,h){"use strict";var v=h(69435);Q.exports=I,I.displayName="apex",I.aliases=[];function I(O){O.register(v),function(B){var G=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,F=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return G.source});function M(ae){return RegExp(ae.replace(//g,function(){return F}),"i")}var de={keyword:G,punctuation:/[()\[\]{};,:.<>]/};B.languages.apex={comment:B.languages.clike.comment,string:B.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:B.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:M(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:de},{pattern:M(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:de},{pattern:M(/(?=\s*\w+\s*[;=,(){:])/.source),inside:de}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:G,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(O)}},4248:function(Q){"use strict";Q.exports=C,C.displayName="apl",C.aliases=[];function C(h){h.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(Q){"use strict";Q.exports=C,C.displayName="applescript",C.aliases=[];function C(h){h.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(Q){"use strict";Q.exports=C,C.displayName="aql",C.aliases=[];function C(h){h.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(Q,C,h){"use strict";var v=h(87071);Q.exports=I,I.displayName="arduino",I.aliases=["ino"];function I(O){O.register(v),O.languages.arduino=O.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),O.languages.ino=O.languages.arduino}},22956:function(Q){"use strict";Q.exports=C,C.displayName="arff",C.aliases=[];function C(h){h.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(Q){"use strict";Q.exports=C,C.displayName="asciidoc",C.aliases=["adoc"];function C(h){(function(v){var I={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},O=v.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:I,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:I.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:I,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function B(G){G=G.split(" ");for(var F={},M=0,de=G.length;M>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(Q,C,h){"use strict";var v=h(87648);Q.exports=I,I.displayName="aspnet",I.aliases=[];function I(O){O.register(v),O.languages.aspnet=O.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:O.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:O.languages.csharp}}}),O.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,O.languages.insertBefore("inside","punctuation",{directive:O.languages.aspnet.directive},O.languages.aspnet.tag.inside["attr-value"]),O.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),O.languages.insertBefore("aspnet",O.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:O.languages.csharp||{}}})}},20803:function(Q){"use strict";Q.exports=C,C.displayName="autohotkey",C.aliases=[];function C(h){h.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(Q){"use strict";Q.exports=C,C.displayName="autoit",C.aliases=[];function C(h){h.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(Q){"use strict";Q.exports=C,C.displayName="avisynth",C.aliases=["avs"];function C(h){(function(v){function I(ae,te){return ae.replace(/<<(\d+)>>/g,function(Me,we){return te[+we]})}function O(ae,te,Me){return RegExp(I(ae,te),Me||"")}var B=/bool|clip|float|int|string|val/.source,G=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),F=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),M=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),de=[G,F,M].join("|");v.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:O(/\b(?:<<0>>)\s+("?)\w+\1/.source,[B],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:O(/\b(?:<<0>>)\b/.source,[de],"i"),alias:"function"},"type-cast":{pattern:O(/\b(?:<<0>>)(?=\s*\()/.source,[B],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},v.languages.avs=v.languages.avisynth})(h)}},79571:function(Q){"use strict";Q.exports=C,C.displayName="avroIdl",C.aliases=[];function C(h){h.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},h.languages.avdl=h.languages["avro-idl"]}},3058:function(Q){"use strict";Q.exports=C,C.displayName="bash",C.aliases=["shell"];function C(h){(function(v){var I="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",O={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},B={bash:O,environment:{pattern:RegExp("\\$"+I),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+I),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};v.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+I),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:B},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:O}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:B},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:B.entity}}],environment:{pattern:RegExp("\\$?"+I),alias:"constant"},variable:B.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},O.inside=v.languages.bash;for(var G=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],F=B.variable[1].inside,M=0;M?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(Q){"use strict";Q.exports=C,C.displayName="batch",C.aliases=[];function C(h){(function(v){var I=/%%?[~:\w]+%?|!\S+!/,O={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},B=/"(?:[\\"]"|[^"])*"(?!")/,G=/(?:\b|-)\d+\b/;v.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:B,parameter:O,variable:I,number:G,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:B,parameter:O,variable:I,number:G,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:B,parameter:O,variable:[I,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:G,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:B,parameter:O,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:I,number:G,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(h)}},35851:function(Q){"use strict";Q.exports=C,C.displayName="bbcode",C.aliases=["shortcode"];function C(h){h.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},h.languages.shortcode=h.languages.bbcode}},51274:function(Q){"use strict";Q.exports=C,C.displayName="bicep",C.aliases=[];function C(h){h.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},h.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=h.languages.bicep}},23796:function(Q){"use strict";Q.exports=C,C.displayName="birb",C.aliases=[];function C(h){h.languages.birb=h.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),h.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="bison",I.aliases=[];function I(O){O.register(v),O.languages.bison=O.languages.extend("c",{}),O.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:O.languages.c}},comment:O.languages.c.comment,string:O.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(Q){"use strict";Q.exports=C,C.displayName="bnf",C.aliases=["rbnf"];function C(h){h.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},h.languages.rbnf=h.languages.bnf}},47035:function(Q){"use strict";Q.exports=C,C.displayName="brainfuck",C.aliases=[];function C(h){h.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(Q){"use strict";Q.exports=C,C.displayName="brightscript",C.aliases=[];function C(h){h.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},h.languages.brightscript["directive-statement"].inside.expression.inside=h.languages.brightscript}},85290:function(Q){"use strict";Q.exports=C,C.displayName="bro",C.aliases=[];function C(h){h.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(Q){"use strict";Q.exports=C,C.displayName="bsl",C.aliases=[];function C(h){h.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},h.languages.oscript=h.languages.bsl}},79440:function(Q){"use strict";Q.exports=C,C.displayName="c",C.aliases=[];function C(h){h.languages.c=h.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),h.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),h.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},h.languages.c.string],char:h.languages.c.char,comment:h.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:h.languages.c}}}}),h.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete h.languages.c.boolean}},7110:function(Q){"use strict";Q.exports=C,C.displayName="cfscript",C.aliases=[];function C(h){h.languages.cfscript=h.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),h.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete h.languages.cfscript["class-name"],h.languages.cfc=h.languages.cfscript}},73435:function(Q,C,h){"use strict";var v=h(87071);Q.exports=I,I.displayName="chaiscript",I.aliases=[];function I(O){O.register(v),O.languages.chaiscript=O.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[O.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),O.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),O.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:O.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(Q){"use strict";Q.exports=C,C.displayName="cil",C.aliases=[];function C(h){h.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(Q){"use strict";Q.exports=C,C.displayName="clike",C.aliases=[];function C(h){h.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(Q){"use strict";Q.exports=C,C.displayName="clojure",C.aliases=[];function C(h){h.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(Q){"use strict";Q.exports=C,C.displayName="cmake",C.aliases=[];function C(h){h.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(Q){"use strict";Q.exports=C,C.displayName="cobol",C.aliases=[];function C(h){h.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(Q){"use strict";Q.exports=C,C.displayName="coffeescript",C.aliases=["coffee"];function C(h){(function(v){var I=/#(?!\{).+/,O={pattern:/#\{[^}]+\}/,alias:"variable"};v.languages.coffeescript=v.languages.extend("javascript",{comment:I,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:O}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),v.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:I,interpolation:O}}}),v.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:v.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:O}}]}),v.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete v.languages.coffeescript["template-string"],v.languages.coffee=v.languages.coffeescript})(h)}},35348:function(Q){"use strict";Q.exports=C,C.displayName="concurnas",C.aliases=["conc"];function C(h){h.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},h.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:h.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:h.languages.concurnas},string:/[\s\S]+/}}}),h.languages.conc=h.languages.concurnas}},26841:function(Q){"use strict";Q.exports=C,C.displayName="coq",C.aliases=[];function C(h){(function(v){for(var I=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,O=0;O<2;O++)I=I.replace(//g,function(){return I});I=I.replace(//g,"[]"),v.languages.coq={comment:RegExp(I),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return I})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(I),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(h)}},87071:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="cpp",I.aliases=[];function I(O){O.register(v),function(B){var G=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,F=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return G.source});B.languages.cpp=B.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return G.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:G,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),B.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return F})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),B.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:B.languages.cpp}}}}),B.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),B.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:B.languages.extend("cpp",{})}}),B.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},B.languages.cpp["base-clause"])}(O)}},13652:function(Q,C,h){"use strict";var v=h(75308);Q.exports=I,I.displayName="crystal",I.aliases=[];function I(O){O.register(v),function(B){B.languages.crystal=B.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,B.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),B.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:B.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:B.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(O)}},87648:function(Q){"use strict";Q.exports=C,C.displayName="csharp",C.aliases=["dotnet","cs"];function C(h){(function(v){function I(Cn,Qe){return Cn.replace(/<<(\d+)>>/g,function(le,ce){return"(?:"+Qe[+ce]+")"})}function O(Cn,Qe,le){return RegExp(I(Cn,Qe),le||"")}function B(Cn,Qe){for(var le=0;le>/g,function(){return"(?:"+Cn+")"});return Cn.replace(/<>/g,"[^\\s\\S]")}var G={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function F(Cn){return"\\b(?:"+Cn.trim().replace(/ /g,"|")+")\\b"}var M=F(G.typeDeclaration),de=RegExp(F(G.type+" "+G.typeDeclaration+" "+G.contextual+" "+G.other)),ae=F(G.typeDeclaration+" "+G.contextual+" "+G.other),te=F(G.type+" "+G.typeDeclaration+" "+G.other),Me=B(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),we=B(/\((?:[^()]|<>)*\)/.source,2),Xe=/@?\b[A-Za-z_]\w*\b/.source,Oe=I(/<<0>>(?:\s*<<1>>)?/.source,[Xe,Me]),Ce=I(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[ae,Oe]),Ae=/\[\s*(?:,\s*)*\]/.source,Pe=I(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Ce,Ae]),fe=I(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Me,we,Ae]),pe=I(/\(<<0>>+(?:,<<0>>+)+\)/.source,[fe]),xe=I(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[pe,Ce,Ae]),me={keyword:de,punctuation:/[<>()?,.:[\]]/},ke=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,ee=/"(?:\\.|[^\\"\r\n])*"/.source,Ne=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;v.languages.csharp=v.languages.extend("clike",{string:[{pattern:O(/(^|[^$\\])<<0>>/.source,[Ne]),lookbehind:!0,greedy:!0},{pattern:O(/(^|[^@$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:O(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Ce]),lookbehind:!0,inside:me},{pattern:O(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Xe,xe]),lookbehind:!0,inside:me},{pattern:O(/(\busing\s+)<<0>>(?=\s*=)/.source,[Xe]),lookbehind:!0},{pattern:O(/(\b<<0>>\s+)<<1>>/.source,[M,Oe]),lookbehind:!0,inside:me},{pattern:O(/(\bcatch\s*\(\s*)<<0>>/.source,[Ce]),lookbehind:!0,inside:me},{pattern:O(/(\bwhere\s+)<<0>>/.source,[Xe]),lookbehind:!0},{pattern:O(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Pe]),lookbehind:!0,inside:me},{pattern:O(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[xe,te,Xe]),inside:me}],keyword:de,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),v.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),v.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:O(/([(,]\s*)<<0>>(?=\s*:)/.source,[Xe]),lookbehind:!0,alias:"punctuation"}}),v.languages.insertBefore("csharp","class-name",{namespace:{pattern:O(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Xe]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:O(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[we]),lookbehind:!0,alias:"class-name",inside:me},"return-type":{pattern:O(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[xe,Ce]),inside:me,alias:"class-name"},"constructor-invocation":{pattern:O(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[xe]),lookbehind:!0,inside:me,alias:"class-name"},"generic-method":{pattern:O(/<<0>>\s*<<1>>(?=\s*\()/.source,[Xe,Me]),inside:{function:O(/^<<0>>/.source,[Xe]),generic:{pattern:RegExp(Me),alias:"class-name",inside:me}}},"type-list":{pattern:O(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[M,Oe,Xe,xe,de.source,we,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:O(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[Oe,we]),lookbehind:!0,greedy:!0,inside:v.languages.csharp},keyword:de,"class-name":{pattern:RegExp(xe),greedy:!0,inside:me},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var Ie=ee+"|"+ke,Le=I(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[Ie]),Je=B(I(/[^"'/()]|<<0>>|\(<>*\)/.source,[Le]),2),Ye=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,re=I(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Ce,Je]);v.languages.insertBefore("csharp","class-name",{attribute:{pattern:O(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Ye,re]),lookbehind:!0,greedy:!0,inside:{target:{pattern:O(/^<<0>>(?=\s*:)/.source,[Ye]),alias:"keyword"},"attribute-arguments":{pattern:O(/\(<<0>>*\)/.source,[Je]),inside:v.languages.csharp},"class-name":{pattern:RegExp(Ce),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var lt=/:[^}\r\n]+/.source,We=B(I(/[^"'/()]|<<0>>|\(<>*\)/.source,[Le]),2),Pt=I(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[We,lt]),xt=B(I(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[Ie]),2),kt=I(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[xt,lt]);function Ct(Cn,Qe){return{interpolation:{pattern:O(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Cn]),lookbehind:!0,inside:{"format-string":{pattern:O(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Qe,lt]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:v.languages.csharp}}},string:/[\s\S]+/}}v.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:O(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Pt]),lookbehind:!0,greedy:!0,inside:Ct(Pt,We)},{pattern:O(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[kt]),lookbehind:!0,greedy:!0,inside:Ct(kt,xt)}],char:{pattern:RegExp(ke),greedy:!0}}),v.languages.dotnet=v.languages.cs=v.languages.csharp})(h)}},10617:function(Q,C,h){"use strict";var v=h(87648);Q.exports=I,I.displayName="cshtml",I.aliases=["razor"];function I(O){O.register(v),function(B){var G=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,F=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function M(Pe,fe){for(var pe=0;pe/g,function(){return"(?:"+Pe+")"});return Pe.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+F+")").replace(//g,"(?:"+G+")")}var de=M(/\((?:[^()'"@/]|||)*\)/.source,2),ae=M(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),te=M(/\{(?:[^{}'"@/]|||)*\}/.source,2),Me=M(/<(?:[^<>'"@/]|||)*>/.source,2),we=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Xe=/(?!\d)[^\s>\/=$<%]+/.source+we+/\s*\/?>/.source,Oe=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+we+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Xe+"|"+M(/<\1/.source+we+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Xe+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},v.languages.css.atrule.inside["selector-function-argument"].inside=O,v.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var B={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},G={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};v.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:B,number:G,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:B,number:G})})(h)}},54212:function(Q){"use strict";Q.exports=C,C.displayName="css",C.aliases=[];function C(h){(function(v){var I=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;v.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+I.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+I.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+I.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:I,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},v.languages.css.atrule.inside.rest=v.languages.css;var O=v.languages.markup;O&&(O.tag.addInlined("style","css"),O.tag.addAttribute("style","css"))})(h)}},69820:function(Q){"use strict";Q.exports=C,C.displayName="csv",C.aliases=[];function C(h){h.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(Q){"use strict";Q.exports=C,C.displayName="cypher",C.aliases=[];function C(h){h.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(Q){"use strict";Q.exports=C,C.displayName="d",C.aliases=[];function C(h){h.languages.d=h.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),h.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),h.languages.insertBefore("d","keyword",{property:/\B@\w*/}),h.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(Q){"use strict";Q.exports=C,C.displayName="dart",C.aliases=[];function C(h){(function(v){var I=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],O=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,B={pattern:RegExp(O+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};v.languages.dart=v.languages.extend("clike",{"class-name":[B,{pattern:RegExp(O+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:B.inside}],keyword:I,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),v.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:v.languages.dart}}},string:/[\s\S]+/}},string:void 0}),v.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),v.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":B,keyword:I,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(h)}},22117:function(Q){"use strict";Q.exports=C,C.displayName="dataweave",C.aliases=[];function C(h){(function(v){v.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(h)}},95627:function(Q){"use strict";Q.exports=C,C.displayName="dax",C.aliases=[];function C(h){h.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(Q){"use strict";Q.exports=C,C.displayName="dhall",C.aliases=[];function C(h){h.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},h.languages.dhall.string.inside.interpolation.inside.expression.inside=h.languages.dhall}},50618:function(Q){"use strict";Q.exports=C,C.displayName="diff",C.aliases=[];function C(h){(function(v){v.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var I={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(I).forEach(function(O){var B=I[O],G=[];/^\w+$/.test(O)||G.push(/\w+/.exec(O)[0]),O==="diff"&&G.push("bold"),v.languages.diff[O]={pattern:RegExp("^(?:["+B+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:G,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(O)[0]}}}}),Object.defineProperty(v.languages.diff,"PREFIXES",{value:I})})(h)}},32126:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="django",I.aliases=["jinja2"];function I(O){O.register(v),function(F){F.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var G=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,P=F.languages["markup-templating"];F.hooks.add("before-tokenize",function(M){P.buildPlaceholders(M,"django",G)}),F.hooks.add("after-tokenize",function(M){P.tokenizePlaceholders(M,"django")}),F.languages.jinja2=F.languages.django,F.hooks.add("before-tokenize",function(M){P.buildPlaceholders(M,"jinja2",G)}),F.hooks.add("after-tokenize",function(M){P.tokenizePlaceholders(M,"jinja2")})}(O)}},26737:function(Q){"use strict";Q.exports=C,C.displayName="dnsZoneFile",C.aliases=[];function C(h){h.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},h.languages["dns-zone"]=h.languages["dns-zone-file"]}},90134:function(Q){"use strict";Q.exports=C,C.displayName="docker",C.aliases=["dockerfile"];function C(h){(function(v){var I=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,O=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return I}),F=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,G=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return F}),P={pattern:RegExp(F),greedy:!0},M={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function de(ce,te){return ce=ce.replace(//g,function(){return G}).replace(//g,function(){return O}),RegExp(ce,te)}v.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:de(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[P,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:de(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:de(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:de(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:M,string:P,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:M},v.languages.dockerfile=v.languages.docker})(h)}},51348:function(Q){"use strict";Q.exports=C,C.displayName="dot",C.aliases=["gv"];function C(h){(function(v){var I="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",O={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:v.languages.markup}};function F(G,P){return RegExp(G.replace(//g,function(){return I}),P)}v.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:F(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:O},"attr-value":{pattern:F(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:O},"attr-name":{pattern:F(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:O},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:F(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:O},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},v.languages.gv=v.languages.dot})(h)}},60841:function(Q){"use strict";Q.exports=C,C.displayName="ebnf",C.aliases=[];function C(h){h.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(Q){"use strict";Q.exports=C,C.displayName="editorconfig",C.aliases=[];function C(h){h.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(Q){"use strict";Q.exports=C,C.displayName="eiffel",C.aliases=[];function C(h){h.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="ejs",I.aliases=["eta"];function I(O){O.register(v),function(F){F.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:F.languages.javascript}},F.hooks.add("before-tokenize",function(G){var P=/<%(?!%)[\s\S]+?%>/g;F.languages["markup-templating"].buildPlaceholders(G,"ejs",P)}),F.hooks.add("after-tokenize",function(G){F.languages["markup-templating"].tokenizePlaceholders(G,"ejs")}),F.languages.eta=F.languages.ejs}(O)}},83125:function(Q){"use strict";Q.exports=C,C.displayName="elixir",C.aliases=[];function C(h){h.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},h.languages.elixir.string.forEach(function(v){v.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:h.languages.elixir}}}})}},9438:function(Q){"use strict";Q.exports=C,C.displayName="elm",C.aliases=[];function C(h){h.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(Q,C,h){"use strict";var v=h(75308),I=h(51478);Q.exports=O,O.displayName="erb",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){G.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:G.languages.ruby}},G.hooks.add("before-tokenize",function(P){var M=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;G.languages["markup-templating"].buildPlaceholders(P,"erb",M)}),G.hooks.add("after-tokenize",function(P){G.languages["markup-templating"].tokenizePlaceholders(P,"erb")})}(F)}},86549:function(Q){"use strict";Q.exports=C,C.displayName="erlang",C.aliases=[];function C(h){h.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(Q,C,h){"use strict";var v=h(29509),I=h(51478);Q.exports=O,O.displayName="etlua",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){G.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:G.languages.lua}},G.hooks.add("before-tokenize",function(P){var M=/<%[\s\S]+?%>/g;G.languages["markup-templating"].buildPlaceholders(P,"etlua",M)}),G.hooks.add("after-tokenize",function(P){G.languages["markup-templating"].tokenizePlaceholders(P,"etlua")})}(F)}},59250:function(Q){"use strict";Q.exports=C,C.displayName="excelFormula",C.aliases=[];function C(h){h.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},h.languages.xlsx=h.languages.xls=h.languages["excel-formula"]}},81226:function(Q){"use strict";Q.exports=C,C.displayName="factor",C.aliases=[];function C(h){(function(v){var I={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},O={number:/\\[^\s']|%\w/},F={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:I},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:I},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:I}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:O.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:O},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:O}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:O}},G=function(ce){return(ce+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},P=function(ce){return new RegExp("(^|\\s)(?:"+ce.map(G).join("|")+")(?=\\s|$)")},M={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(M).forEach(function(ce){F[ce].pattern=P(M[ce])});var de=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];F.combinators.pattern=P(de),v.languages.factor=F})(h)}},65245:function(Q){"use strict";Q.exports=C,C.displayName="$false",C.aliases=[];function C(h){(function(v){v.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete h.languages["firestore-security-rules"]["class-name"],h.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(Q){"use strict";Q.exports=C,C.displayName="flow",C.aliases=[];function C(h){(function(v){v.languages.flow=v.languages.extend("javascript",{}),v.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),v.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete v.languages.flow.parameter,v.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(v.languages.flow.keyword)||(v.languages.flow.keyword=[v.languages.flow.keyword]),v.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(h)}},39187:function(Q){"use strict";Q.exports=C,C.displayName="fortran",C.aliases=[];function C(h){h.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(Q){"use strict";Q.exports=C,C.displayName="fsharp",C.aliases=[];function C(h){h.languages.fsharp=h.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),h.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),h.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),h.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:h.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="ftl",I.aliases=[];function I(O){O.register(v),function(F){for(var G=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,P=0;P<2;P++)G=G.replace(//g,function(){return G});G=G.replace(//g,/[^\s\S]/.source);var M={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return G})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return G})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};M.string[1].inside.interpolation.inside.rest=M,F.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:M}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:M}}}},F.hooks.add("before-tokenize",function(de){var ce=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return G}),"gi");F.languages["markup-templating"].buildPlaceholders(de,"ftl",ce)}),F.hooks.add("after-tokenize",function(de){F.languages["markup-templating"].tokenizePlaceholders(de,"ftl")})}(O)}},33534:function(Q){"use strict";Q.exports=C,C.displayName="gap",C.aliases=[];function C(h){h.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},h.languages.gap.shell.inside.gap.inside=h.languages.gap}},9885:function(Q){"use strict";Q.exports=C,C.displayName="gcode",C.aliases=[];function C(h){h.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(Q){"use strict";Q.exports=C,C.displayName="gdscript",C.aliases=[];function C(h){h.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(Q){"use strict";Q.exports=C,C.displayName="gedcom",C.aliases=[];function C(h){h.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(Q){"use strict";Q.exports=C,C.displayName="gherkin",C.aliases=[];function C(h){(function(v){var I=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;v.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+I+")(?:"+I+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(I),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(h)}},58230:function(Q){"use strict";Q.exports=C,C.displayName="git",C.aliases=[];function C(h){h.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="glsl",I.aliases=[];function I(O){O.register(v),O.languages.glsl=O.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(Q){"use strict";Q.exports=C,C.displayName="gml",C.aliases=[];function C(h){h.languages.gamemakerlanguage=h.languages.gml=h.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(Q){"use strict";Q.exports=C,C.displayName="gn",C.aliases=["gni"];function C(h){h.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},h.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=h.languages.gn,h.languages.gni=h.languages.gn}},95769:function(Q){"use strict";Q.exports=C,C.displayName="goModule",C.aliases=[];function C(h){h.languages["go-mod"]=h.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(Q){"use strict";Q.exports=C,C.displayName="go",C.aliases=[];function C(h){h.languages.go=h.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),h.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete h.languages.go["class-name"]}},92823:function(Q){"use strict";Q.exports=C,C.displayName="graphql",C.aliases=[];function C(h){h.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:h.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},h.hooks.add("after-tokenize",function(I){if(I.language!=="graphql")return;var O=I.tokens.filter(function(Ae){return typeof Ae!="string"&&Ae.type!=="comment"&&Ae.type!=="scalar"}),F=0;function G(Ae){return O[F+Ae]}function P(Ae,Re){Re=Re||0;for(var fe=0;fe0)){var Qe=M(/^\{$/,/^\}$/);if(Qe===-1)continue;for(var Oe=F;Oe=0&&de(Te,"variable-input")}}}}})}},63092:function(Q){"use strict";Q.exports=C,C.displayName="groovy",C.aliases=[];function C(h){h.languages.groovy=h.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),h.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),h.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),h.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),h.hooks.add("wrap",function(v){if(v.language==="groovy"&&v.type==="string"){var I=v.content.value[0];if(I!="'"){var O=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;I==="$"&&(O=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),v.content.value=v.content.value.replace(/</g,"<").replace(/&/g,"&"),v.content=h.highlight(v.content.value,{expression:{pattern:O,lookbehind:!0,inside:h.languages.groovy}}),v.classes.push(I==="/"?"regex":"gstring")}}})}},21550:function(Q,C,h){"use strict";var v=h(75308);Q.exports=I,I.displayName="haml",I.aliases=[];function I(O){O.register(v),function(F){F.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:F.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:F.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:F.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:F.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:F.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:F.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:F.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var G="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",P=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],M={},de=0,ce=P.length;de@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},F.hooks.add("before-tokenize",function(G){var P=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;F.languages["markup-templating"].buildPlaceholders(G,"handlebars",P)}),F.hooks.add("after-tokenize",function(G){F.languages["markup-templating"].tokenizePlaceholders(G,"handlebars")}),F.languages.hbs=F.languages.handlebars}(O)}},2050:function(Q){"use strict";Q.exports=C,C.displayName="haskell",C.aliases=["hs"];function C(h){h.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},h.languages.hs=h.languages.haskell}},67967:function(Q){"use strict";Q.exports=C,C.displayName="haxe",C.aliases=[];function C(h){h.languages.haxe=h.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),h.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:h.languages.haxe}}},string:/[\s\S]+/}}}),h.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),h.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(Q){"use strict";Q.exports=C,C.displayName="hcl",C.aliases=[];function C(h){h.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="hlsl",I.aliases=[];function I(O){O.register(v),O.languages.hlsl=O.languages.extend("c",{"class-name":[O.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(Q){"use strict";Q.exports=C,C.displayName="hoon",C.aliases=[];function C(h){h.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(Q){"use strict";Q.exports=C,C.displayName="hpkp",C.aliases=[];function C(h){h.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(Q){"use strict";Q.exports=C,C.displayName="hsts",C.aliases=[];function C(h){h.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(Q){"use strict";Q.exports=C,C.displayName="http",C.aliases=[];function C(h){(function(v){function I(te){return RegExp("(^(?:"+te+"):[ ]*(?![ ]))[^]+","i")}v.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:v.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:I(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:v.languages.csp},{pattern:I(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:v.languages.hpkp},{pattern:I(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:v.languages.hsts},{pattern:I(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var O=v.languages,F={"application/javascript":O.javascript,"application/json":O.json||O.javascript,"application/xml":O.xml,"text/xml":O.xml,"text/html":O.html,"text/css":O.css,"text/plain":O.plain},G={"application/json":!0,"application/xml":!0};function P(te){var Me=te.replace(/^[a-z]+\//,""),we="\\w+/(?:[\\w.-]+\\+)+"+Me+"(?![+\\w.-])";return"(?:"+te+"|"+we+")"}var M;for(var de in F)if(F[de]){M=M||{};var ce=G[de]?P(de):de;M[de.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+ce+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:F[de]}}M&&v.languages.insertBefore("http","header",M)})(h)}},72252:function(Q){"use strict";Q.exports=C,C.displayName="ichigojam",C.aliases=[];function C(h){h.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(Q){"use strict";Q.exports=C,C.displayName="icon",C.aliases=[];function C(h){h.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(Q){"use strict";Q.exports=C,C.displayName="icuMessageFormat",C.aliases=[];function C(h){(function(v){function I(de,ce){return ce<=0?/[]/.source:de.replace(//g,function(){return I(de,ce-1)})}var O=/'[{}:=,](?:[^']|'')*'(?!')/,F={pattern:/''/,greedy:!0,alias:"operator"},G={pattern:O,greedy:!0,inside:{escape:F}},P=I(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return O.source}),8),M={pattern:RegExp(P),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};v.languages["icu-message-format"]={argument:{pattern:RegExp(P),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":M,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":M,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+I(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:F,string:G},M.inside.message.inside=v.languages["icu-message-format"],v.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=v.languages["icu-message-format"]})(h)}},23328:function(Q,C,h){"use strict";var v=h(2050);Q.exports=I,I.displayName="idris",I.aliases=["idr"];function I(O){O.register(v),O.languages.idris=O.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),O.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),O.languages.idr=O.languages.idris}},74494:function(Q){"use strict";Q.exports=C,C.displayName="iecst",C.aliases=[];function C(h){h.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(Q){"use strict";Q.exports=C,C.displayName="ignore",C.aliases=["gitignore","hgignore","npmignore"];function C(h){(function(v){v.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},v.languages.gitignore=v.languages.ignore,v.languages.hgignore=v.languages.ignore,v.languages.npmignore=v.languages.ignore})(h)}},22152:function(Q){"use strict";Q.exports=C,C.displayName="inform7",C.aliases=[];function C(h){h.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},h.languages.inform7.string.inside.substitution.inside.rest=h.languages.inform7,h.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(Q){"use strict";Q.exports=C,C.displayName="ini",C.aliases=[];function C(h){h.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(Q){"use strict";Q.exports=C,C.displayName="io",C.aliases=[];function C(h){h.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(Q){"use strict";Q.exports=C,C.displayName="java",C.aliases=[];function C(h){(function(v){var I=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,O=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,F={pattern:RegExp(O+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};v.languages.java=v.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[F,{pattern:RegExp(O+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:F.inside}],keyword:I,function:[v.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),v.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),v.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":F,keyword:I,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return I.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(h)}},4005:function(Q,C,h){"use strict";var v=h(7093),I=h(53510);Q.exports=O,O.displayName="javadoc",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){var P=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,M=/#\s*\w+(?:\s*\([^()]*\))?/.source,de=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return M});G.languages.javadoc=G.languages.extend("javadoclike",{}),G.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+de+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:G.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:P,lookbehind:!0,inside:G.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:P,lookbehind:!0,inside:{tag:G.languages.markup.tag,entity:G.languages.markup.entity,code:{pattern:/.+/,inside:G.languages.java,alias:"language-java"}}}}}],tag:G.languages.markup.tag,entity:G.languages.markup.entity}),G.languages.javadoclike.addSupport("java",G.languages.javadoc)}(F)}},53510:function(Q){"use strict";Q.exports=C,C.displayName="javadoclike",C.aliases=[];function C(h){(function(v){var I=v.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function O(G,P){var M="doc-comment",de=v.languages[G];if(de){var ce=de[M];if(!ce){var te={};te[M]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},de=v.languages.insertBefore(G,"comment",te),ce=de[M]}if(ce instanceof RegExp&&(ce=de[M]={pattern:ce}),Array.isArray(ce))for(var Me=0,we=ce.length;Me|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),h.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,h.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:h.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:h.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:h.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:h.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),h.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:h.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),h.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),h.languages.markup&&(h.languages.markup.tag.addInlined("script","javascript"),h.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),h.languages.js=h.languages.javascript}},24799:function(Q){"use strict";Q.exports=C,C.displayName="javastacktrace",C.aliases=[];function C(h){h.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(Q){"use strict";Q.exports=C,C.displayName="jexl",C.aliases=[];function C(h){h.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(Q){"use strict";Q.exports=C,C.displayName="jolie",C.aliases=[];function C(h){h.languages.jolie=h.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),h.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(Q){"use strict";Q.exports=C,C.displayName="jq",C.aliases=[];function C(h){(function(v){var I=/\\\((?:[^()]|\([^()]*\))*\)/.source,O=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return I})),F={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+I),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},G=v.languages.jq={comment:/#.*/,property:{pattern:RegExp(O.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:F},string:{pattern:O,lookbehind:!0,greedy:!0,inside:F},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};F.interpolation.inside.content.inside=G})(h)}},89246:function(Q){"use strict";Q.exports=C,C.displayName="jsExtras",C.aliases=[];function C(h){(function(v){v.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+v.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),v.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+v.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),v.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function I(de,ce){return RegExp(de.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),ce)}v.languages.insertBefore("javascript","keyword",{imports:{pattern:I(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:v.languages.javascript},exports:{pattern:I(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:v.languages.javascript}}),v.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),v.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),v.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:I(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var O=["function","function-variable","method","method-variable","property-access"],F=0;F=ke.length)return;var Fe=Ne[Ie];if(typeof Fe=="string"||typeof Fe.content=="string"){var Xe=ke[fe],Ye=typeof Fe=="string"?Fe:Fe.content,ie=Ye.indexOf(Xe);if(ie!==-1){++fe;var lt=Ye.substring(0,ie),We=te(me[Xe]),Pt=Ye.substring(ie+Xe.length),xt=[];if(lt&&xt.push(lt),xt.push(We),Pt){var kt=[Pt];ee(kt),xt.push.apply(xt,kt)}typeof Fe=="string"?(Ne.splice.apply(Ne,[Ie,1].concat(xt)),Ie+=xt.length-1):Fe.content=xt}}else{var wt=Fe.content;Array.isArray(wt)?ee(wt):ee([wt])}}}return ee(ge),new v.Token(Ae,ge,"language-"+Ae,Oe)}var we={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};v.hooks.add("after-tokenize",function(Oe){if(!(Oe.language in we))return;function Te(Ae){for(var Re=0,fe=Ae.length;Re\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return M})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+M),lookbehind:!0,inside:{string:P.string,number:P.number,boolean:P.boolean,keyword:G.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:P,alias:"language-javascript"}}}}),G.languages.javadoclike.addSupport("javascript",G.languages.jsdoc)}(F)}},15628:function(Q){"use strict";Q.exports=C,C.displayName="json",C.aliases=["webmanifest"];function C(h){h.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},h.languages.webmanifest=h.languages.json}},14320:function(Q,C,h){"use strict";var v=h(15628);Q.exports=I,I.displayName="json5",I.aliases=[];function I(O){O.register(v),function(F){var G=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;F.languages.json5=F.languages.extend("json",{property:[{pattern:RegExp(G.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:G,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(O)}},73222:function(Q,C,h){"use strict";var v=h(15628);Q.exports=I,I.displayName="jsonp",I.aliases=[];function I(O){O.register(v),O.languages.jsonp=O.languages.extend("json",{punctuation:/[{}[\]();,.]/}),O.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(Q){"use strict";Q.exports=C,C.displayName="jsstacktrace",C.aliases=[];function C(h){h.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(Q){"use strict";Q.exports=C,C.displayName="jsx",C.aliases=[];function C(h){(function(v){var I=v.util.clone(v.languages.javascript),O=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,F=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,G=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function P(ce,te){return ce=ce.replace(//g,function(){return O}).replace(//g,function(){return F}).replace(//g,function(){return G}),RegExp(ce,te)}G=P(G).source,v.languages.jsx=v.languages.extend("markup",I),v.languages.jsx.tag.pattern=P(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),v.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,v.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,v.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,v.languages.jsx.tag.inside.comment=I.comment,v.languages.insertBefore("inside","attr-name",{spread:{pattern:P(//.source),inside:v.languages.jsx}},v.languages.jsx.tag),v.languages.insertBefore("inside","special-attr",{script:{pattern:P(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:v.languages.jsx}}},v.languages.jsx.tag);var M=function(ce){return ce?typeof ce=="string"?ce:typeof ce.content=="string"?ce.content:ce.content.map(M).join(""):""},de=function(ce){for(var te=[],Me=0;Me0&&te[te.length-1].tagName===M(we.content[0].content[1])&&te.pop():we.content[we.content.length-1].content==="/>"||te.push({tagName:M(we.content[0].content[1]),openedBraces:0}):te.length>0&&we.type==="punctuation"&&we.content==="{"?te[te.length-1].openedBraces++:te.length>0&&te[te.length-1].openedBraces>0&&we.type==="punctuation"&&we.content==="}"?te[te.length-1].openedBraces--:Qe=!0),(Qe||typeof we=="string")&&te.length>0&&te[te.length-1].openedBraces===0){var Oe=M(we);Me0&&(typeof ce[Me-1]=="string"||ce[Me-1].type==="plain-text")&&(Oe=M(ce[Me-1])+Oe,ce.splice(Me-1,1),Me--),ce[Me]=new v.Token("plain-text",Oe,null,Oe)}we.content&&typeof we.content!="string"&&de(we.content)}};v.hooks.add("after-tokenize",function(ce){ce.language!=="jsx"&&ce.language!=="tsx"||de(ce.tokens)})})(h)}},40604:function(Q){"use strict";Q.exports=C,C.displayName="julia",C.aliases=[];function C(h){h.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(Q){"use strict";Q.exports=C,C.displayName="keepalived",C.aliases=[];function C(h){h.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(Q){"use strict";Q.exports=C,C.displayName="keyman",C.aliases=[];function C(h){h.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(Q){"use strict";Q.exports=C,C.displayName="kotlin",C.aliases=["kt","kts"];function C(h){(function(v){v.languages.kotlin=v.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete v.languages.kotlin["class-name"];var I={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:v.languages.kotlin}};v.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:I},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:I},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete v.languages.kotlin.string,v.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),v.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),v.languages.kt=v.languages.kotlin,v.languages.kts=v.languages.kotlin})(h)}},37524:function(Q){"use strict";Q.exports=C,C.displayName="kumir",C.aliases=["kum"];function C(h){(function(v){var I=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function O(F,G){return RegExp(F.replace(//g,I),G)}v.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:O(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:O(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:O(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:O(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:O(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:O(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:O(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:O(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},v.languages.kum=v.languages.kumir})(h)}},6658:function(Q){"use strict";Q.exports=C,C.displayName="kusto",C.aliases=[];function C(h){h.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(Q){"use strict";Q.exports=C,C.displayName="latex",C.aliases=["tex","context"];function C(h){(function(v){var I=/\\(?:[^a-z()[\]]|[a-z*]+)/i,O={"equation-command":{pattern:I,alias:"regex"}};v.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:O,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:O,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:I,alias:"selector"},punctuation:/[[\]{}&]/},v.languages.tex=v.languages.latex,v.languages.context=v.languages.latex})(h)}},22776:function(Q,C,h){"use strict";var v=h(51478),I=h(53852);Q.exports=O,O.displayName="latte",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){G.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:G.languages.php}};var P=G.languages.extend("markup",{});G.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:G.languages.php}}}}}},P.tag),G.hooks.add("before-tokenize",function(M){if(M.language==="latte"){var de=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;G.languages["markup-templating"].buildPlaceholders(M,"latte",de),M.grammar=P}}),G.hooks.add("after-tokenize",function(M){G.languages["markup-templating"].tokenizePlaceholders(M,"latte")})}(F)}},89700:function(Q){"use strict";Q.exports=C,C.displayName="less",C.aliases=[];function C(h){h.languages.less=h.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),h.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(Q,C,h){"use strict";var v=h(48780);Q.exports=I,I.displayName="lilypond",I.aliases=[];function I(O){O.register(v),function(F){for(var G=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,P=5,M=0;M/g,function(){return G});G=G.replace(//g,/[^\s\S]/.source);var de=F.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return G}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:F.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};de["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=de,F.languages.ly=de}(O)}},39940:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="liquid",I.aliases=[];function I(O){O.register(v),O.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},O.hooks.add("before-tokenize",function(F){var G=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,P=!1;O.languages["markup-templating"].buildPlaceholders(F,"liquid",G,function(M){var de=/^\{%-?\s*(\w+)/.exec(M);if(de){var ce=de[1];if(ce==="raw"&&!P)return P=!0,!0;if(ce==="endraw")return P=!1,!0}return!P})}),O.hooks.add("after-tokenize",function(F){O.languages["markup-templating"].tokenizePlaceholders(F,"liquid")})}},34973:function(Q){"use strict";Q.exports=C,C.displayName="lisp",C.aliases=[];function C(h){(function(v){function I(Oe){return RegExp(/(\()/.source+"(?:"+Oe+")"+/(?=[\s\)])/.source)}function O(Oe){return RegExp(/([\s([])/.source+"(?:"+Oe+")"+/(?=[\s)])/.source)}var F=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,G="&"+F,P="(\\()",M="(?=\\))",de="(?=\\s)",ce=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,te={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+F+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+F),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+F),alias:"property"},splice:{pattern:RegExp(",@?"+F),alias:["symbol","variable"]},keyword:[{pattern:RegExp(P+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+de),lookbehind:!0},{pattern:RegExp(P+"(?:append|by|collect|concat|do|finally|for|in|return)"+de),lookbehind:!0}],declare:{pattern:I(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:I(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:O(/nil|t/.source),lookbehind:!0},number:{pattern:O(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(P+"def(?:const|custom|group|var)\\s+"+F),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(F)}},defun:{pattern:RegExp(P+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+F+/\s+\(/.source+ce+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+F),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(P+"lambda\\s+\\(\\s*(?:&?"+F+"(?:\\s+&?"+F+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(P+F),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Me={"lisp-marker":RegExp(G),varform:{pattern:RegExp(/\(/.source+F+/\s+(?=\S)/.source+ce+/\)/.source),inside:te},argument:{pattern:RegExp(/(^|[\s(])/.source+F),lookbehind:!0,alias:"variable"},rest:te},we="\\S+(?:\\s+\\S+)*",Qe={pattern:RegExp(P+ce+M),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+we),inside:Me},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+we),inside:Me},keys:{pattern:RegExp("&key\\s+"+we+"(?:\\s+&allow-other-keys)?"),inside:Me},argument:{pattern:RegExp(F),alias:"variable"},punctuation:/[()]/}};te.lambda.inside.arguments=Qe,te.defun.inside.arguments=v.util.clone(Qe),te.defun.inside.arguments.inside.sublist=Qe,v.languages.lisp=te,v.languages.elisp=te,v.languages.emacs=te,v.languages["emacs-lisp"]=te})(h)}},98135:function(Q){"use strict";Q.exports=C,C.displayName="livescript",C.aliases=[];function C(h){h.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},h.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=h.languages.livescript}},36907:function(Q){"use strict";Q.exports=C,C.displayName="llvm",C.aliases=[];function C(h){(function(v){v.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(h)}},3567:function(Q){"use strict";Q.exports=C,C.displayName="log",C.aliases=[];function C(h){h.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:h.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(Q){"use strict";Q.exports=C,C.displayName="lolcode",C.aliases=[];function C(h){h.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},29509:function(Q){"use strict";Q.exports=C,C.displayName="lua",C.aliases=[];function C(h){h.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(Q){"use strict";Q.exports=C,C.displayName="magma",C.aliases=[];function C(h){h.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(Q){"use strict";Q.exports=C,C.displayName="makefile",C.aliases=[];function C(h){h.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(Q){"use strict";Q.exports=C,C.displayName="markdown",C.aliases=["md"];function C(h){(function(v){var I=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function O(Me){return Me=Me.replace(//g,function(){return I}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Me+")")}var F=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,G=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return F}),P=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;v.languages.markdown=v.languages.extend("markup",{}),v.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:v.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+G+P+"(?:"+G+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+G+P+")(?:"+G+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(F),inside:v.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+G+")"+P+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+G+"$"),inside:{"table-header":{pattern:RegExp(F),alias:"important",inside:v.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:O(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:O(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:O(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:O(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Me){["url","bold","italic","strike","code-snippet"].forEach(function(we){Me!==we&&(v.languages.markdown[Me].inside.content.inside[we]=v.languages.markdown[we])})}),v.hooks.add("after-tokenize",function(Me){if(Me.language!=="markdown"&&Me.language!=="md")return;function we(Qe){if(!(!Qe||typeof Qe=="string"))for(var Oe=0,Te=Qe.length;Oe",quot:'"'},ce=String.fromCodePoint||String.fromCharCode;function te(Me){var we=Me.replace(M,"");return we=we.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(Qe,Oe){if(Oe=Oe.toLowerCase(),Oe[0]==="#"){var Te;return Oe[1]==="x"?Te=parseInt(Oe.slice(2),16):Te=Number(Oe.slice(1)),ce(Te)}else{var Ae=de[Oe];return Ae||Qe}}),we}v.languages.md=v.languages.markdown})(h)}},51478:function(Q){"use strict";Q.exports=C,C.displayName="markupTemplating",C.aliases=[];function C(h){(function(v){function I(O,F){return"___"+O.toUpperCase()+F+"___"}Object.defineProperties(v.languages["markup-templating"]={},{buildPlaceholders:{value:function(O,F,G,P){if(O.language===F){var M=O.tokenStack=[];O.code=O.code.replace(G,function(de){if(typeof P=="function"&&!P(de))return de;for(var ce=M.length,te;O.code.indexOf(te=I(F,ce))!==-1;)++ce;return M[ce]=de,te}),O.grammar=v.languages.markup}}},tokenizePlaceholders:{value:function(O,F){if(O.language!==F||!O.tokenStack)return;O.grammar=v.languages[F];var G=0,P=Object.keys(O.tokenStack);function M(de){for(var ce=0;ce=P.length);ce++){var te=de[ce];if(typeof te=="string"||te.content&&typeof te.content=="string"){var Me=P[G],we=O.tokenStack[Me],Qe=typeof te=="string"?te:te.content,Oe=I(F,Me),Te=Qe.indexOf(Oe);if(Te>-1){++G;var Ae=Qe.substring(0,Te),Re=new v.Token(F,v.tokenize(we,O.grammar),"language-"+F,we),fe=Qe.substring(Te+Oe.length),me=[];Ae&&me.push.apply(me,M([Ae])),me.push(Re),fe&&me.push.apply(me,M([fe])),typeof te=="string"?de.splice.apply(de,[ce,1].concat(me)):te.content=me}}else te.content&&M(te.content)}return de}M(O.tokens)}}})})(h)}},70614:function(Q){"use strict";Q.exports=C,C.displayName="markup",C.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function C(h){h.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},h.languages.markup.tag.inside["attr-value"].inside.entity=h.languages.markup.entity,h.languages.markup.doctype.inside["internal-subset"].inside=h.languages.markup,h.hooks.add("wrap",function(v){v.type==="entity"&&(v.attributes.title=v.content.value.replace(/&/,"&"))}),Object.defineProperty(h.languages.markup.tag,"addInlined",{value:function(I,O){var F={};F["language-"+O]={pattern:/(^$)/i,lookbehind:!0,inside:h.languages[O]},F.cdata=/^$/i;var G={"included-cdata":{pattern://i,inside:F}};G["language-"+O]={pattern:/[\s\S]+/,inside:h.languages[O]};var P={};P[I]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return I}),"i"),lookbehind:!0,greedy:!0,inside:G},h.languages.insertBefore("markup","cdata",P)}}),Object.defineProperty(h.languages.markup.tag,"addAttribute",{value:function(v,I){h.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+v+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[I,"language-"+I],inside:h.languages[I]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),h.languages.html=h.languages.markup,h.languages.mathml=h.languages.markup,h.languages.svg=h.languages.markup,h.languages.xml=h.languages.extend("markup",{}),h.languages.ssml=h.languages.xml,h.languages.atom=h.languages.xml,h.languages.rss=h.languages.xml}},16928:function(Q){"use strict";Q.exports=C,C.displayName="matlab",C.aliases=[];function C(h){h.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(Q){"use strict";Q.exports=C,C.displayName="maxscript",C.aliases=[];function C(h){(function(v){var I=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;v.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+I.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+I.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:I,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(h)}},37164:function(Q){"use strict";Q.exports=C,C.displayName="mel",C.aliases=[];function C(h){h.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},h.languages.mel.code.inside.rest=h.languages.mel}},25153:function(Q){"use strict";Q.exports=C,C.displayName="mermaid",C.aliases=[];function C(h){h.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(Q){"use strict";Q.exports=C,C.displayName="mizar",C.aliases=[];function C(h){h.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(Q){"use strict";Q.exports=C,C.displayName="mongodb",C.aliases=[];function C(h){(function(v){var I=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],O=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];I=I.map(function(G){return G.replace("$","\\$")});var F="(?:"+I.join("|")+")\\b";v.languages.mongodb=v.languages.extend("javascript",{}),v.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+F+"(?:\\1)?$")}}}),v.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},v.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+O.join("|")+")\\b"),alias:"keyword"}})})(h)}},65626:function(Q){"use strict";Q.exports=C,C.displayName="monkey",C.aliases=[];function C(h){h.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(Q){"use strict";Q.exports=C,C.displayName="moonscript",C.aliases=["moon"];function C(h){h.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},h.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=h.languages.moonscript,h.languages.moon=h.languages.moonscript}},40722:function(Q){"use strict";Q.exports=C,C.displayName="n1ql",C.aliases=[];function C(h){h.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(Q){"use strict";Q.exports=C,C.displayName="n4js",C.aliases=["n4jsd"];function C(h){h.languages.n4js=h.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),h.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),h.languages.n4jsd=h.languages.n4js}},41224:function(Q){"use strict";Q.exports=C,C.displayName="nand2tetrisHdl",C.aliases=[];function C(h){h.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(Q){"use strict";Q.exports=C,C.displayName="naniscript",C.aliases=[];function C(h){(function(v){var I=/\{[^\r\n\[\]{}]*\}/,O={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:I,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};v.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:I,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:O}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:I,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:O},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},v.languages.nani=v.languages.naniscript,v.hooks.add("after-tokenize",function(P){var M=P.tokens;M.forEach(function(de){if(typeof de!="string"&&de.type==="generic-text"){var ce=G(de);F(ce)||(de.type="bad-line",de.content=ce)}})});function F(P){for(var M="[]{}",de=[],ce=0;ce=&|$!]/}}},32964:function(Q){"use strict";Q.exports=C,C.displayName="neon",C.aliases=[];function C(h){h.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(Q){"use strict";Q.exports=C,C.displayName="nevod",C.aliases=[];function C(h){h.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(Q){"use strict";Q.exports=C,C.displayName="nginx",C.aliases=[];function C(h){(function(v){var I=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;v.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:I}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:I}},punctuation:/[{};]/}})(h)}},66791:function(Q){"use strict";Q.exports=C,C.displayName="nim",C.aliases=[];function C(h){h.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(Q){"use strict";Q.exports=C,C.displayName="nix",C.aliases=[];function C(h){h.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},h.languages.nix.string.inside.interpolation.inside=h.languages.nix}},13490:function(Q){"use strict";Q.exports=C,C.displayName="nsis",C.aliases=[];function C(h){h.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="objectivec",I.aliases=["objc"];function I(O){O.register(v),O.languages.objectivec=O.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete O.languages.objectivec["class-name"],O.languages.objc=O.languages.objectivec}},66894:function(Q){"use strict";Q.exports=C,C.displayName="ocaml",C.aliases=[];function C(h){h.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="opencl",I.aliases=[];function I(O){O.register(v),function(F){F.languages.opencl=F.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),F.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var G={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};F.languages.insertBefore("c","keyword",G),F.languages.cpp&&(G["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},F.languages.insertBefore("cpp","keyword",G))}(O)}},27734:function(Q){"use strict";Q.exports=C,C.displayName="openqasm",C.aliases=["qasm"];function C(h){h.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},h.languages.qasm=h.languages.openqasm}},91889:function(Q){"use strict";Q.exports=C,C.displayName="oz",C.aliases=[];function C(h){h.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(Q){"use strict";Q.exports=C,C.displayName="parigp",C.aliases=[];function C(h){h.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var v=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return v=v.map(function(I){return I.split("").join(" *")}).join("|"),RegExp("\\b(?:"+v+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(Q){"use strict";Q.exports=C,C.displayName="parser",C.aliases=[];function C(h){(function(v){var I=v.languages.parser=v.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});I=v.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:I.keyword,variable:I.variable,function:I.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:I.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:I.punctuation}}}),v.languages.insertBefore("inside","punctuation",{expression:I.expression,keyword:I.keyword,variable:I.variable,function:I.function,escape:I.escape,"parser-punctuation":{pattern:I.punctuation,alias:"punctuation"}},I.tag.inside["attr-value"])})(h)}},92949:function(Q){"use strict";Q.exports=C,C.displayName="pascal",C.aliases=["objectpascal"];function C(h){h.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},h.languages.pascal.asm.inside=h.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),h.languages.objectpascal=h.languages.pascal}},5681:function(Q){"use strict";Q.exports=C,C.displayName="pascaligo",C.aliases=[];function C(h){(function(v){var I=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,O=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return I}),F=v.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return O}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return O}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return O})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},G=["comment","keyword","builtin","operator","punctuation"].reduce(function(P,M){return P[M]=F[M],P},{});F["class-name"].forEach(function(P){P.inside=G})})(h)}},70696:function(Q){"use strict";Q.exports=C,C.displayName="pcaxis",C.aliases=["px"];function C(h){h.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},h.languages.px=h.languages.pcaxis}},35790:function(Q){"use strict";Q.exports=C,C.displayName="peoplecode",C.aliases=["pcode"];function C(h){h.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},h.languages.pcode=h.languages.peoplecode}},25777:function(Q){"use strict";Q.exports=C,C.displayName="perl",C.aliases=[];function C(h){(function(v){var I=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;v.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,I].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,I].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,I+/\s*/.source+I].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(h)}},65889:function(Q,C,h){"use strict";var v=h(53852);Q.exports=I,I.displayName="phpExtras",I.aliases=[];function I(O){O.register(v),O.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="php",I.aliases=[];function I(O){O.register(v),function(F){var G=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,P=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],M=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,de=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,ce=/[{}\[\](),:;]/;F.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:G,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:P,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:M,operator:de,punctuation:ce};var te={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:F.languages.php},Me=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:te}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:te}}];F.languages.insertBefore("php","variable",{string:Me,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:G,string:Me,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:P,number:M,operator:de,punctuation:ce}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),F.hooks.add("before-tokenize",function(we){if(/<\?/.test(we.code)){var Qe=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;F.languages["markup-templating"].buildPlaceholders(we,"php",Qe)}}),F.hooks.add("after-tokenize",function(we){F.languages["markup-templating"].tokenizePlaceholders(we,"php")})}(O)}},97719:function(Q,C,h){"use strict";var v=h(53852),I=h(53510);Q.exports=O,O.displayName="phpdoc",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){var P=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;G.languages.phpdoc=G.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+P+"\\s+)?)\\$\\w+"),lookbehind:!0}}),G.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+P),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),G.languages.javadoclike.addSupport("php",G.languages.phpdoc)}(F)}},63839:function(Q,C,h){"use strict";var v=h(69435);Q.exports=I,I.displayName="plsql",I.aliases=[];function I(O){O.register(v),O.languages.plsql=O.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),O.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(Q){"use strict";Q.exports=C,C.displayName="powerquery",C.aliases=[];function C(h){h.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},h.languages.pq=h.languages.powerquery,h.languages.mscript=h.languages.powerquery}},32530:function(Q){"use strict";Q.exports=C,C.displayName="powershell",C.aliases=[];function C(h){(function(v){var I=v.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};I.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:I},boolean:I.boolean,variable:I.variable}})(h)}},8938:function(Q){"use strict";Q.exports=C,C.displayName="processing",C.aliases=[];function C(h){h.languages.processing=h.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),h.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(Q){"use strict";Q.exports=C,C.displayName="prolog",C.aliases=[];function C(h){h.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(Q){"use strict";Q.exports=C,C.displayName="promql",C.aliases=[];function C(h){(function(v){var I=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],O=["on","ignoring","group_right","group_left","by","without"],F=["offset"],G=I.concat(O,F);v.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+O.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+G.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(h)}},15375:function(Q){"use strict";Q.exports=C,C.displayName="properties",C.aliases=[];function C(h){h.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(Q){"use strict";Q.exports=C,C.displayName="protobuf",C.aliases=[];function C(h){(function(v){var I=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;v.languages.protobuf=v.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),v.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:I}},builtin:I,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(h)}},83588:function(Q){"use strict";Q.exports=C,C.displayName="psl",C.aliases=[];function C(h){h.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(Q){"use strict";Q.exports=C,C.displayName="pug",C.aliases=[];function C(h){(function(v){v.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:v.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:v.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:v.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:v.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:v.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:v.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:v.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:v.languages.javascript}],punctuation:/[.\-!=|]+/};for(var I=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,O=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],F={},G=0,P=O.length;G",function(){return M.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[M.language,"language-"+M.language],inside:v.languages[M.language]}}})}v.languages.insertBefore("pug","filter",F)})(h)}},21294:function(Q){"use strict";Q.exports=C,C.displayName="puppet",C.aliases=[];function C(h){(function(v){v.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var I=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:v.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];v.languages.puppet.heredoc[0].inside.interpolation=I,v.languages.puppet.string.inside["double-quoted"].inside.interpolation=I})(h)}},38709:function(Q){"use strict";Q.exports=C,C.displayName="pure",C.aliases=[];function C(h){(function(v){v.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var I=["c",{lang:"c++",alias:"cpp"},"fortran"],O=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;I.forEach(function(F){var G=F;if(typeof F!="string"&&(G=F.alias,F=F.lang),v.languages[G]){var P={};P["inline-lang-"+G]={pattern:RegExp(O.replace("",F.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:v.util.clone(v.languages.pure["inline-lang"].inside)},P["inline-lang-"+G].inside.rest=v.util.clone(v.languages[G]),v.languages.insertBefore("pure","inline-lang",P)}}),v.languages.c&&(v.languages.pure["inline-lang"].inside.rest=v.util.clone(v.languages.c))})(h)}},15008:function(Q){"use strict";Q.exports=C,C.displayName="purebasic",C.aliases=[];function C(h){h.languages.purebasic=h.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),h.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete h.languages.purebasic["class-name"],delete h.languages.purebasic.boolean,h.languages.pbfasm=h.languages.purebasic}},96549:function(Q,C,h){"use strict";var v=h(2050);Q.exports=I,I.displayName="purescript",I.aliases=["purs"];function I(O){O.register(v),O.languages.purescript=O.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[O.languages.haskell.operator[0],O.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),O.languages.purs=O.languages.purescript}},5221:function(Q){"use strict";Q.exports=C,C.displayName="python",C.aliases=["py"];function C(h){h.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},h.languages.python["string-interpolation"].inside.interpolation.inside.rest=h.languages.python,h.languages.py=h.languages.python}},27447:function(Q){"use strict";Q.exports=C,C.displayName="q",C.aliases=[];function C(h){h.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(Q){"use strict";Q.exports=C,C.displayName="qml",C.aliases=[];function C(h){(function(v){for(var I=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,O=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,F=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return I}).replace(//g,function(){return O}),G=0;G<2;G++)F=F.replace(//g,function(){return F});F=F.replace(//g,"[^\\s\\S]"),v.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return F}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:v.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return F}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:v.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(h)}},75542:function(Q){"use strict";Q.exports=C,C.displayName="qore",C.aliases=[];function C(h){h.languages.qore=h.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(Q){"use strict";Q.exports=C,C.displayName="qsharp",C.aliases=["qs"];function C(h){(function(v){function I(Qe,Oe){return Qe.replace(/<<(\d+)>>/g,function(Te,Ae){return"(?:"+Oe[+Ae]+")"})}function O(Qe,Oe,Te){return RegExp(I(Qe,Oe),Te||"")}function F(Qe,Oe){for(var Te=0;Te>/g,function(){return"(?:"+Qe+")"});return Qe.replace(/<>/g,"[^\\s\\S]")}var G={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function P(Qe){return"\\b(?:"+Qe.trim().replace(/ /g,"|")+")\\b"}var M=RegExp(P(G.type+" "+G.other)),de=/\b[A-Za-z_]\w*\b/.source,ce=I(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[de]),te={keyword:M,punctuation:/[<>()?,.:[\]]/},Me=/"(?:\\.|[^\\"])*"/.source;v.languages.qsharp=v.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:O(/(^|[^$\\])<<0>>/.source,[Me]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:O(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[ce]),lookbehind:!0,inside:te},{pattern:O(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[ce]),lookbehind:!0,inside:te}],keyword:M,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),v.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var we=F(I(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[Me]),2);v.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:O(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[we]),greedy:!0,inside:{interpolation:{pattern:O(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[we]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:v.languages.qsharp}}},string:/[\s\S]+/}}})})(h),h.languages.qs=h.languages.qsharp}},44298:function(Q){"use strict";Q.exports=C,C.displayName="r",C.aliases=[];function C(h){h.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(Q,C,h){"use strict";var v=h(48780);Q.exports=I,I.displayName="racket",I.aliases=["rkt"];function I(O){O.register(v),O.languages.racket=O.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),O.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),O.languages.rkt=O.languages.racket}},75266:function(Q){"use strict";Q.exports=C,C.displayName="reason",C.aliases=[];function C(h){h.languages.reason=h.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),h.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete h.languages.reason.function}},48139:function(Q){"use strict";Q.exports=C,C.displayName="regex",C.aliases=[];function C(h){(function(v){var I={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},O=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,F={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},G={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},P="(?:[^\\\\-]|"+O.source+")",M=RegExp(P+"-"+P),de={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};v.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:M,inside:{escape:O,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":I,"char-set":G,escape:O}},"special-escape":I,"char-set":F,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":de}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:O,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(Q){"use strict";Q.exports=C,C.displayName="renpy",C.aliases=["rpy"];function C(h){h.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},h.languages.rpy=h.languages.renpy}},63919:function(Q){"use strict";Q.exports=C,C.displayName="rest",C.aliases=[];function C(h){h.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(Q){"use strict";Q.exports=C,C.displayName="rip",C.aliases=[];function C(h){h.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(Q){"use strict";Q.exports=C,C.displayName="roboconf",C.aliases=[];function C(h){h.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(Q){"use strict";Q.exports=C,C.displayName="robotframework",C.aliases=[];function C(h){(function(v){var I={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},O={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function F(de,ce){var te={};te["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Me in ce)te[Me]=ce[Me];return te.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},te.variable=O,te.comment=I,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return de}),"im"),alias:"section",inside:te}}var G={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},P={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:O}},M={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:O}};v.languages.robotframework={settings:F("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:F("Variables"),"test-cases":F("Test Cases",{"test-name":P,documentation:G,property:M}),keywords:F("Keywords",{"keyword-name":P,documentation:G,property:M}),tasks:F("Tasks",{"task-name":P,documentation:G,property:M}),comment:I},v.languages.robot=v.languages.robotframework})(h)}},75308:function(Q){"use strict";Q.exports=C,C.displayName="ruby",C.aliases=["rb"];function C(h){(function(v){v.languages.ruby=v.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),v.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var I={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:v.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete v.languages.ruby.function;var O="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",F=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;v.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+O+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:I,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:I,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+F),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+F+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),v.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+O),greedy:!0,inside:{interpolation:I,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:I,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:I,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+O),greedy:!0,inside:{interpolation:I,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:I,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete v.languages.ruby.string,v.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),v.languages.rb=v.languages.ruby})(h)}},45315:function(Q){"use strict";Q.exports=C,C.displayName="rust",C.aliases=[];function C(h){(function(v){for(var I=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,O=0;O<2;O++)I=I.replace(//g,function(){return I});I=I.replace(//g,function(){return/[^\s\S]/.source}),v.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+I),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},v.languages.rust["closure-params"].inside.rest=v.languages.rust,v.languages.rust.attribute.inside.string=v.languages.rust.string})(h)}},13794:function(Q){"use strict";Q.exports=C,C.displayName="sas",C.aliases=[];function C(h){(function(v){var I=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,O=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,F={pattern:RegExp(I+"[bx]"),alias:"number"},G={pattern:/&[a-z_]\w*/i},P={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},M={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},de=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],ce={pattern:RegExp(I),greedy:!0},te=/[$%@.(){}\[\];,\\]/,Me={pattern:/%?\b\w+(?=\()/,alias:"keyword"},we={function:Me,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":G,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:O,"numeric-constant":F,punctuation:te,string:ce},Qe={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},Oe={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},Te={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Ae={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},Re=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,fe={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return Re}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return Re}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:de,function:Me,"arg-value":we["arg-value"],operator:we.operator,argument:we.arg,number:O,"numeric-constant":F,punctuation:te,string:ce}},me={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};v.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return I}),"im"),alias:"language-sql",inside:v.languages.sql},"global-statements":Te,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:O,"numeric-constant":F,punctuation:te,string:ce}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,alias:"language-groovy",inside:v.languages.groovy},keyword:me,"submit-statement":Ae,"global-statements":Te,number:O,"numeric-constant":F,punctuation:te,string:ce}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,alias:"language-lua",inside:v.languages.lua},keyword:me,"submit-statement":Ae,"global-statements":Te,number:O,"numeric-constant":F,punctuation:te,string:ce}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:we}},"cas-actions":fe,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:we},step:M,keyword:me,function:Me,format:Qe,altformat:Oe,"global-statements":Te,number:O,"numeric-constant":F,punctuation:te,string:ce}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,inside:we},"macro-keyword":P,"macro-variable":G,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":P,"macro-variable":G,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:te}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:de,number:O,"numeric-constant":F}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:we},"cas-actions":fe,comment:de,function:Me,format:Qe,altformat:Oe,"numeric-constant":F,datetime:{pattern:RegExp(I+"(?:dt?|t)"),alias:"number"},string:ce,step:M,keyword:me,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:O,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:te}})(h)}},41299:function(Q){"use strict";Q.exports=C,C.displayName="sass",C.aliases=[];function C(h){(function(v){v.languages.sass=v.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),v.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete v.languages.sass.atrule;var I=/\$[-\w]+|#\{\$[-\w]+\}/,O=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];v.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:I,operator:O}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:I,operator:O,important:v.languages.sass.important}}}),delete v.languages.sass.property,delete v.languages.sass.important,v.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(h)}},98177:function(Q,C,h){"use strict";var v=h(7093);Q.exports=I,I.displayName="scala",I.aliases=[];function I(O){O.register(v),O.languages.scala=O.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),O.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:O.languages.scala}}},string:/[\s\S]+/}}}),delete O.languages.scala["class-name"],delete O.languages.scala.function}},48780:function(Q){"use strict";Q.exports=C,C.displayName="scheme",C.aliases=[];function C(h){(function(v){v.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(I({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function I(O){for(var F in O)O[F]=O[F].replace(/<[\w\s]+>/g,function(G){return"(?:"+O[G].trim()+")"});return O[F]}})(h)}},79793:function(Q){"use strict";Q.exports=C,C.displayName="scss",C.aliases=[];function C(h){h.languages.scss=h.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),h.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),h.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),h.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),h.languages.scss.atrule.inside.rest=h.languages.scss}},52085:function(Q,C,h){"use strict";var v=h(3058);Q.exports=I,I.displayName="shellSession",I.aliases=[];function I(O){O.register(v),function(F){var G=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");F.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return G}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:F.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},F.languages["sh-session"]=F.languages.shellsession=F.languages["shell-session"]}(O)}},65411:function(Q){"use strict";Q.exports=C,C.displayName="smali",C.aliases=[];function C(h){h.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(Q){"use strict";Q.exports=C,C.displayName="smalltalk",C.aliases=[];function C(h){h.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="smarty",I.aliases=[];function I(O){O.register(v),function(F){F.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:F.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},F.languages.smarty["embedded-php"].inside.smarty.inside=F.languages.smarty,F.languages.smarty.string[0].inside.interpolation.inside.expression.inside=F.languages.smarty;var G=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,P=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return G.source}),"g");F.hooks.add("before-tokenize",function(M){var de="{literal}",ce="{/literal}",te=!1;F.languages["markup-templating"].buildPlaceholders(M,"smarty",P,function(Me){return Me===ce&&(te=!1),te?!1:(Me===de&&(te=!0),!0)})}),F.hooks.add("after-tokenize",function(M){F.languages["markup-templating"].tokenizePlaceholders(M,"smarty")})}(O)}},66433:function(Q){"use strict";Q.exports=C,C.displayName="sml",C.aliases=["smlnj"];function C(h){(function(v){var I=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;v.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return I.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:I,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},v.languages.sml["class-name"][0].inside=v.languages.sml,v.languages.smlnj=v.languages.sml})(h)}},34855:function(Q){"use strict";Q.exports=C,C.displayName="solidity",C.aliases=["sol"];function C(h){h.languages.solidity=h.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),h.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),h.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),h.languages.sol=h.languages.solidity}},12998:function(Q){"use strict";Q.exports=C,C.displayName="solutionFile",C.aliases=[];function C(h){(function(v){var I={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};v.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:I}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:I}},guid:I,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},v.languages.sln=v.languages["solution-file"]})(h)}},10202:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="soy",I.aliases=[];function I(O){O.register(v),function(F){var G=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,P=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;F.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:G,greedy:!0},number:P,punctuation:/[\[\].?]/}},string:{pattern:G,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:P,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},F.hooks.add("before-tokenize",function(M){var de=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,ce="{literal}",te="{/literal}",Me=!1;F.languages["markup-templating"].buildPlaceholders(M,"soy",de,function(we){return we===te&&(Me=!1),Me?!1:(we===ce&&(Me=!0),!0)})}),F.hooks.add("after-tokenize",function(M){F.languages["markup-templating"].tokenizePlaceholders(M,"soy")})}(O)}},41186:function(Q,C,h){"use strict";var v=h(58710);Q.exports=I,I.displayName="sparql",I.aliases=["rq"];function I(O){O.register(v),O.languages.sparql=O.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),O.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),O.languages.rq=O.languages.sparql}},68963:function(Q){"use strict";Q.exports=C,C.displayName="splunkSpl",C.aliases=[];function C(h){h.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(Q){"use strict";Q.exports=C,C.displayName="sqf",C.aliases=[];function C(h){h.languages.sqf=h.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),h.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:h.languages.sqf.comment}}}),delete h.languages.sqf["class-name"]}},69435:function(Q){"use strict";Q.exports=C,C.displayName="sql",C.aliases=[];function C(h){h.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(Q){"use strict";Q.exports=C,C.displayName="squirrel",C.aliases=[];function C(h){h.languages.squirrel=h.languages.extend("clike",{comment:[h.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),h.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),h.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(Q){"use strict";Q.exports=C,C.displayName="stan",C.aliases=[];function C(h){(function(v){var I=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;v.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+I.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,I],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},v.languages.stan.constraint.inside.expression.inside=v.languages.stan})(h)}},89032:function(Q){"use strict";Q.exports=C,C.displayName="stylus",C.aliases=[];function C(h){(function(v){var I={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},O={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},F={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:I,number:O,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:I,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:O,punctuation:/[{}()\[\];:,]/};F.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:F}},F.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:F}},v.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:F}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:F}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:F}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:F.interpolation}},rest:F}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:F.interpolation,comment:F.comment,punctuation:/[{},]/}},func:F.func,string:F.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:F.interpolation,punctuation:/[{}()\[\];:.]/}})(h)}},40241:function(Q){"use strict";Q.exports=C,C.displayName="swift",C.aliases=[];function C(h){h.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},h.languages.swift["string-literal"].forEach(function(v){v.inside.interpolation.inside=h.languages.swift})}},24812:function(Q){"use strict";Q.exports=C,C.displayName="systemd",C.aliases=[];function C(h){(function(v){var I={pattern:/^[;#].*/m,greedy:!0},O=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;v.languages.systemd={comment:I,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+O+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+O+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:I,quoted:{pattern:RegExp(/(^|\s)/.source+O),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(h)}},16747:function(Q,C,h){"use strict";var v=h(73584),I=h(87648);Q.exports=O,O.displayName="t4Cs",O.aliases=[];function O(F){F.register(v),F.register(I),F.languages.t4=F.languages["t4-cs"]=F.languages["t4-templating"].createT4("csharp")}},73584:function(Q){"use strict";Q.exports=C,C.displayName="t4Templating",C.aliases=[];function C(h){(function(v){function I(F,G,P){return{pattern:RegExp("<#"+F+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+F+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:G,alias:P}}}}function O(F){var G=v.languages[F],P="language-"+F;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:I("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:I("=",G,P),"class-feature":I("\\+",G,P),standard:I("",G,P)}}}}v.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:O})})(h)}},79243:function(Q,C,h){"use strict";var v=h(73584),I=h(55686);Q.exports=O,O.displayName="t4Vb",O.aliases=[];function O(F){F.register(v),F.register(I),F.languages["t4-vb"]=F.languages["t4-templating"].createT4("vbnet")}},31788:function(Q,C,h){"use strict";var v=h(14409);Q.exports=I,I.displayName="tap",I.aliases=[];function I(O){O.register(v),O.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:O.languages.yaml,alias:"language-yaml"}}}},60871:function(Q){"use strict";Q.exports=C,C.displayName="tcl",C.aliases=[];function C(h){h.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(Q){"use strict";Q.exports=C,C.displayName="textile",C.aliases=[];function C(h){(function(v){var I=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,O=/\)|\((?![^|()\n]+\))/.source;function F(Me,we){return RegExp(Me.replace(//g,function(){return"(?:"+I+")"}).replace(//g,function(){return"(?:"+O+")"}),we||"")}var G={css:{pattern:/\{[^{}]+\}/,inside:{rest:v.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},P=v.languages.textile=v.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:F(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:F(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:G},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:F(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:F(/(^[*#]+)+/.source),lookbehind:!0,inside:G},punctuation:/^[*#]+/}},table:{pattern:F(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:F(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:G},punctuation:/\||^\./}},inline:{pattern:F(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:F(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:F(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:F(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:F(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:F(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:F(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:F(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:F(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:G},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:F(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:F(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:F(/(^")+/.source),lookbehind:!0,inside:G},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:F(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:F(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:F(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:G},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),M=P.phrase.inside,de={inline:M.inline,link:M.link,image:M.image,footnote:M.footnote,acronym:M.acronym,mark:M.mark};P.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var ce=M.inline.inside;ce.bold.inside=de,ce.italic.inside=de,ce.inserted.inside=de,ce.deleted.inside=de,ce.span.inside=de;var te=M.table.inside;te.inline=de.inline,te.link=de.link,te.image=de.image,te.footnote=de.footnote,te.acronym=de.acronym,te.mark=de.mark})(h)}},14693:function(Q){"use strict";Q.exports=C,C.displayName="toml",C.aliases=[];function C(h){(function(v){var I=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function O(F){return F.replace(/__/g,function(){return I})}v.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(O(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(O(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(h)}},8743:function(Q){"use strict";Q.exports=C,C.displayName="tremor",C.aliases=[];function C(h){(function(v){v.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var I=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;v.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+I+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+I+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(I),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:v.languages.tremor}}},string:/[\s\S]+/}},v.languages.troy=v.languages.tremor,v.languages.trickle=v.languages.tremor})(h)}},1689:function(Q,C,h){"use strict";var v=h(24103),I=h(92784);Q.exports=O,O.displayName="tsx",O.aliases=[];function O(F){F.register(v),F.register(I),function(G){var P=G.util.clone(G.languages.typescript);G.languages.tsx=G.languages.extend("jsx",P),delete G.languages.tsx.parameter,delete G.languages.tsx["literal-property"];var M=G.languages.tsx.tag;M.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+M.pattern.source+")",M.pattern.flags),M.lookbehind=!0}(F)}},69210:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="tt2",I.aliases=[];function I(O){O.register(v),function(F){F.languages.tt2=F.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),F.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),F.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),F.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete F.languages.tt2.string,F.hooks.add("before-tokenize",function(G){var P=/\[%[\s\S]+?%\]/g;F.languages["markup-templating"].buildPlaceholders(G,"tt2",P)}),F.hooks.add("after-tokenize",function(G){F.languages["markup-templating"].tokenizePlaceholders(G,"tt2")})}(O)}},58710:function(Q){"use strict";Q.exports=C,C.displayName="turtle",C.aliases=[];function C(h){h.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},h.languages.trig=h.languages.turtle}},60452:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="twig",I.aliases=[];function I(O){O.register(v),O.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},O.hooks.add("before-tokenize",function(F){if(F.language==="twig"){var G=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;O.languages["markup-templating"].buildPlaceholders(F,"twig",G)}}),O.hooks.add("after-tokenize",function(F){O.languages["markup-templating"].tokenizePlaceholders(F,"twig")})}},92784:function(Q){"use strict";Q.exports=C,C.displayName="typescript",C.aliases=["ts"];function C(h){(function(v){v.languages.typescript=v.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),v.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete v.languages.typescript.parameter,delete v.languages.typescript["literal-property"];var I=v.languages.extend("typescript",{});delete I["class-name"],v.languages.typescript["class-name"].inside=I,v.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:I}}}}),v.languages.ts=v.languages.typescript})(h)}},36489:function(Q){"use strict";Q.exports=C,C.displayName="typoscript",C.aliases=["tsconfig"];function C(h){(function(v){var I=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;v.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:I}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:I,number:/^\d+$/,punctuation:/[,|:]/}},keyword:I,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},v.languages.tsconfig=v.languages.typoscript})(h)}},78380:function(Q){"use strict";Q.exports=C,C.displayName="unrealscript",C.aliases=["uc","uscript"];function C(h){h.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},h.languages.uc=h.languages.uscript=h.languages.unrealscript}},10409:function(Q){"use strict";Q.exports=C,C.displayName="uorazor",C.aliases=[];function C(h){h.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(Q){"use strict";Q.exports=C,C.displayName="uri",C.aliases=["url"];function C(h){h.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},h.languages.url=h.languages.uri}},82028:function(Q){"use strict";Q.exports=C,C.displayName="v",C.aliases=[];function C(h){(function(v){var I={pattern:/[\s\S]+/,inside:null};v.languages.v=v.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":I}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),I.inside=v.languages.v,v.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),v.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),v.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:v.languages.v.generic.inside}}}})})(h)}},62282:function(Q){"use strict";Q.exports=C,C.displayName="vala",C.aliases=[];function C(h){h.languages.vala=h.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),h.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:h.languages.vala}},string:/[\s\S]+/}}}),h.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(Q,C,h){"use strict";var v=h(51422);Q.exports=I,I.displayName="vbnet",I.aliases=[];function I(O){O.register(v),O.languages.vbnet=O.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(Q){"use strict";Q.exports=C,C.displayName="velocity",C.aliases=[];function C(h){(function(v){v.languages.velocity=v.languages.extend("markup",{});var I={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};I.variable.inside={string:I.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:I.number,boolean:I.boolean,punctuation:I.punctuation},v.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:I}},variable:I.variable}),v.languages.velocity.tag.inside["attr-value"].inside.rest=v.languages.velocity})(h)}},37116:function(Q){"use strict";Q.exports=C,C.displayName="verilog",C.aliases=[];function C(h){h.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(Q){"use strict";Q.exports=C,C.displayName="vhdl",C.aliases=[];function C(h){h.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(Q){"use strict";Q.exports=C,C.displayName="vim",C.aliases=[];function C(h){h.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(Q){"use strict";Q.exports=C,C.displayName="visualBasic",C.aliases=[];function C(h){h.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},h.languages.vb=h.languages["visual-basic"],h.languages.vba=h.languages["visual-basic"]}},17723:function(Q){"use strict";Q.exports=C,C.displayName="warpscript",C.aliases=[];function C(h){h.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(Q){"use strict";Q.exports=C,C.displayName="wasm",C.aliases=[];function C(h){h.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(Q){"use strict";Q.exports=C,C.displayName="webIdl",C.aliases=[];function C(h){(function(v){var I=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,O="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+I+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,F={};v.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+I),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:F},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+O),lookbehind:!0,inside:F},{pattern:RegExp("("+/\bcallback\s+/.source+I+/\s*=\s*/.source+")"+O),lookbehind:!0,inside:F},{pattern:RegExp(/(\btypedef\b\s*)/.source+O),lookbehind:!0,inside:F},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+I),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+I),lookbehind:!0},RegExp(I+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+I),lookbehind:!0},{pattern:RegExp(O+"(?="+/\s*(?:\.{3}\s*)?/.source+I+/\s*[(),;=]/.source+")"),inside:F}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var G in v.languages["web-idl"])G!=="class-name"&&(F[G]=v.languages["web-idl"][G]);v.languages.webidl=v.languages["web-idl"]})(h)}},8921:function(Q){"use strict";Q.exports=C,C.displayName="wiki",C.aliases=[];function C(h){h.languages.wiki=h.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:h.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),h.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:h.languages.markup.tag.inside}}}})}},13429:function(Q){"use strict";Q.exports=C,C.displayName="wolfram",C.aliases=["mathematica","wl","nb"];function C(h){h.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},h.languages.mathematica=h.languages.wolfram,h.languages.wl=h.languages.wolfram,h.languages.nb=h.languages.wolfram}},65197:function(Q){"use strict";Q.exports=C,C.displayName="wren",C.aliases=[];function C(h){h.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},h.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:h.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(Q){"use strict";Q.exports=C,C.displayName="xeora",C.aliases=["xeoracube"];function C(h){(function(v){v.languages.xeora=v.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),v.languages.insertBefore("inside","punctuation",{variable:v.languages.xeora["function-inline"].inside.variable},v.languages.xeora["function-block"]),v.languages.xeoracube=v.languages.xeora})(h)}},35:function(Q){"use strict";Q.exports=C,C.displayName="xmlDoc",C.aliases=[];function C(h){(function(v){function I(P,M){v.languages[P]&&v.languages.insertBefore(P,"comment",{"doc-comment":M})}var O=v.languages.markup.tag,F={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:O}},G={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:O}};I("csharp",F),I("fsharp",F),I("vbnet",G)})(h)}},86095:function(Q){"use strict";Q.exports=C,C.displayName="xojo",C.aliases=[];function C(h){h.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(Q){"use strict";Q.exports=C,C.displayName="xquery",C.aliases=[];function C(h){(function(v){v.languages.xquery=v.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),v.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,v.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,v.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,v.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:v.languages.xquery,alias:"language-xquery"};var I=function(F){return typeof F=="string"?F:typeof F.content=="string"?F.content:F.content.map(I).join("")},O=function(F){for(var G=[],P=0;P0&&G[G.length-1].tagName===I(M.content[0].content[1])&&G.pop():M.content[M.content.length-1].content==="/>"||G.push({tagName:I(M.content[0].content[1]),openedBraces:0}):G.length>0&&M.type==="punctuation"&&M.content==="{"&&(!F[P+1]||F[P+1].type!=="punctuation"||F[P+1].content!=="{")&&(!F[P-1]||F[P-1].type!=="plain-text"||F[P-1].content!=="{")?G[G.length-1].openedBraces++:G.length>0&&G[G.length-1].openedBraces>0&&M.type==="punctuation"&&M.content==="}"?G[G.length-1].openedBraces--:M.type!=="comment"&&(de=!0)),(de||typeof M=="string")&&G.length>0&&G[G.length-1].openedBraces===0){var ce=I(M);P0&&(typeof F[P-1]=="string"||F[P-1].type==="plain-text")&&(ce=I(F[P-1])+ce,F.splice(P-1,1),P--),/^\s+$/.test(ce)?F[P]=ce:F[P]=new v.Token("plain-text",ce,null,ce)}M.content&&typeof M.content!="string"&&O(M.content)}};v.hooks.add("after-tokenize",function(F){F.language==="xquery"&&O(F.tokens)})})(h)}},14409:function(Q){"use strict";Q.exports=C,C.displayName="yaml",C.aliases=["yml"];function C(h){(function(v){var I=/[*&][^\s[\]{},]+/,O=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,F="(?:"+O.source+"(?:[ ]+"+I.source+")?|"+I.source+"(?:[ ]+"+O.source+")?)",G=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),P=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function M(de,ce){ce=(ce||"").replace(/m/g,"")+"m";var te=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return F}).replace(/<>/g,function(){return de});return RegExp(te,ce)}v.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return F})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return F}).replace(/<>/g,function(){return"(?:"+G+"|"+P+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:M(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:M(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:M(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:M(P),lookbehind:!0,greedy:!0},number:{pattern:M(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:O,important:I,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},v.languages.yml=v.languages.yaml})(h)}},33460:function(Q){"use strict";Q.exports=C,C.displayName="yang",C.aliases=[];function C(h){h.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(Q){"use strict";Q.exports=C,C.displayName="zig",C.aliases=[];function C(h){(function(v){function I(ce){return function(){return ce}}var O=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,F="\\b(?!"+O.source+")(?!\\d)\\w+\\b",G=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,P=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,I(G)),M=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,I(F)),de="(?!\\s)(?:!?\\s*(?:"+P+"\\s*)*"+M+")+";v.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,I(de)).replace(//g,I(G))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,I(de)).replace(//g,I(G))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:O,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},v.languages.zig["class-name"].forEach(function(ce){ce.inside===null&&(ce.inside=v.languages.zig)})})(h)}},92848:function(Q,C){"use strict";var h;C.Q=F,h=G;var v="",I=" ",O=/[ \t\n\r\f]+/g;function F(P){var M=String(P||v).trim();return M===v?[]:M.split(O)}function G(P){return P.join(I).trim()}},58970:function(Q,C,h){"use strict";var v=this&&this.__importDefault||function(F){return F&&F.__esModule?F:{default:F}};Object.defineProperty(C,"__esModule",{value:!0}),C.default=O;var I=v(h(93193));function O(F,G){var P=null;if(!F||typeof F!="string")return P;var M=(0,I.default)(F),de=typeof G=="function";return M.forEach(function(ce){if(ce.type==="declaration"){var te=ce.property,Me=ce.value;de?G(te,Me,ce):Me&&(P=P||{},P[te]=Me)}}),P}},97270:function(Q){Q.exports=h;var C=Object.prototype.hasOwnProperty;function h(){for(var v={},I=0;I{const Ne=(Fe,Xe)=>(ke.set(Xe,Fe),Fe),Ie=Fe=>{if(ke.has(Fe))return ke.get(Fe);const[Xe,Ye]=ee[Fe];switch(Xe){case I:case v:return Ne(Ye,Fe);case O:{const ie=Ne([],Fe);for(const lt of Ye)ie.push(Ie(lt));return ie}case F:{const ie=Ne({},Fe);for(const[lt,We]of Ye)ie[Ie(lt)]=Ie(We);return ie}case G:return Ne(new Date(Ye),Fe);case P:{const{source:ie,flags:lt}=Ye;return Ne(new RegExp(ie,lt),Fe)}case M:{const ie=Ne(new Map,Fe);for(const[lt,We]of Ye)ie.set(Ie(lt),Ie(We));return ie}case de:{const ie=Ne(new Set,Fe);for(const lt of Ye)ie.add(Ie(lt));return ie}case ce:{const{name:ie,message:lt}=Ye;return Ne(new Me[ie](lt),Fe)}case te:return Ne(BigInt(Ye),Fe);case"BigInt":return Ne(Object(BigInt(Ye)),Fe);case"ArrayBuffer":return Ne(new Uint8Array(Ye).buffer,Ye);case"DataView":{const{buffer:ie}=new Uint8Array(Ye);return Ne(new DataView(ie),Ye)}}return Ne(new Me[Xe](Ye),Fe)};return Ie},Qe=ke=>we(new Map,ke)(0),Oe="",{toString:Te}={},{keys:Ae}=Object,Re=ke=>{const ee=typeof ke;if(ee!=="object"||!ke)return[I,ee];const Ne=Te.call(ke).slice(8,-1);switch(Ne){case"Array":return[O,Oe];case"Object":return[F,Oe];case"Date":return[G,Oe];case"RegExp":return[P,Oe];case"Map":return[M,Oe];case"Set":return[de,Oe];case"DataView":return[O,Ne]}return Ne.includes("Array")?[O,Ne]:Ne.includes("Error")?[ce,Ne]:[F,Ne]},fe=([ke,ee])=>ke===I&&(ee==="function"||ee==="symbol"),me=(ke,ee,Ne,Ie)=>{const Fe=(Ye,ie)=>{const lt=Ie.push(Ye)-1;return Ne.set(ie,lt),lt},Xe=Ye=>{if(Ne.has(Ye))return Ne.get(Ye);let[ie,lt]=Re(Ye);switch(ie){case I:{let Pt=Ye;switch(lt){case"bigint":ie=te,Pt=Ye.toString();break;case"function":case"symbol":if(ke)throw new TypeError("unable to serialize "+lt);Pt=null;break;case"undefined":return Fe([v],Ye)}return Fe([ie,Pt],Ye)}case O:{if(lt){let kt=Ye;return lt==="DataView"?kt=new Uint8Array(Ye.buffer):lt==="ArrayBuffer"&&(kt=new Uint8Array(Ye)),Fe([lt,[...kt]],Ye)}const Pt=[],xt=Fe([ie,Pt],Ye);for(const kt of Ye)Pt.push(Xe(kt));return xt}case F:{if(lt)switch(lt){case"BigInt":return Fe([lt,Ye.toString()],Ye);case"Boolean":case"Number":case"String":return Fe([lt,Ye.valueOf()],Ye)}if(ee&&"toJSON"in Ye)return Xe(Ye.toJSON());const Pt=[],xt=Fe([ie,Pt],Ye);for(const kt of Ae(Ye))(ke||!fe(Re(Ye[kt])))&&Pt.push([Xe(kt),Xe(Ye[kt])]);return xt}case G:return Fe([ie,Ye.toISOString()],Ye);case P:{const{source:Pt,flags:xt}=Ye;return Fe([ie,{source:Pt,flags:xt}],Ye)}case M:{const Pt=[],xt=Fe([ie,Pt],Ye);for(const[kt,wt]of Ye)(ke||!(fe(Re(kt))||fe(Re(wt))))&&Pt.push([Xe(kt),Xe(wt)]);return xt}case de:{const Pt=[],xt=Fe([ie,Pt],Ye);for(const kt of Ye)(ke||!fe(Re(kt)))&&Pt.push(Xe(kt));return xt}}const{message:We}=Ye;return Fe([ie,{name:lt,message:We}],Ye)};return Xe},xe=(ke,{json:ee,lossy:Ne}={})=>{const Ie=[];return me(!(ee||Ne),!!ee,new Map,Ie)(ke),Ie};var ge=typeof structuredClone=="function"?(ke,ee)=>ee&&("json"in ee||"lossy"in ee)?Qe(xe(ke,ee)):structuredClone(ke):(ke,ee)=>Qe(xe(ke,ee))},11630:function(Q,C,h){"use strict";h.d(C,{P:function(){return I},Q:function(){return v}});function v(O){const F=[],G=String(O||"");let P=G.indexOf(","),M=0,de=!1;for(;!de;){P===-1&&(P=G.length,de=!0);const ce=G.slice(M,P).trim();(ce||!de)&&F.push(ce),M=P+1,P=G.indexOf(",",M)}return F}function I(O,F){const G=F||{};return(O[O.length-1]===""?[...O,""]:O).join((G.padRight?" ":"")+","+(G.padLeft===!1?"":" ")).trim()}},87342:function(Q,C,h){"use strict";h.d(C,{ok:function(){return O},t1:function(){return F}});function v(G){return G}function I(){}function O(){}function F(){}},81994:function(Q,C,h){"use strict";h.d(C,{h:function(){return Ae},s:function(){return Re}});var v=h(58222),I=h(11630);const O=/[#.]/g;function F(fe,me){const xe=fe||"",ge={};let ke=0,ee,Ne;for(;ke-1&&Oe.test(String.fromCharCode(Ae))}}},58222:function(Q,C,h){"use strict";h.d(C,{dy:function(){return Te},YP:function(){return Ae}});class v{constructor(fe,me,xe){this.normal=me,this.property=fe,xe&&(this.space=xe)}}v.prototype.normal={},v.prototype.property={},v.prototype.space=void 0;function I(Re,fe){const me={},xe={};for(const ge of Re)Object.assign(me,ge.property),Object.assign(xe,ge.normal);return new v(me,xe,fe)}var O=h(64326),F=h(95516);function G(Re){const fe={},me={};for(const[xe,ge]of Object.entries(Re.properties)){const ke=new F.I(xe,Re.transform(Re.attributes||{},xe),ge,Re.space);Re.mustUseProperty&&Re.mustUseProperty.includes(xe)&&(ke.mustUseProperty=!0),fe[xe]=ke,me[(0,O.F)(xe)]=xe,me[(0,O.F)(ke.attribute)]=xe}return new v(fe,me,Re.space)}var P=h(56488);const M=G({properties:{ariaActiveDescendant:null,ariaAtomic:P.booleanish,ariaAutoComplete:null,ariaBusy:P.booleanish,ariaChecked:P.booleanish,ariaColCount:P.number,ariaColIndex:P.number,ariaColSpan:P.number,ariaControls:P.spaceSeparated,ariaCurrent:null,ariaDescribedBy:P.spaceSeparated,ariaDetails:null,ariaDisabled:P.booleanish,ariaDropEffect:P.spaceSeparated,ariaErrorMessage:null,ariaExpanded:P.booleanish,ariaFlowTo:P.spaceSeparated,ariaGrabbed:P.booleanish,ariaHasPopup:null,ariaHidden:P.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P.spaceSeparated,ariaLevel:P.number,ariaLive:null,ariaModal:P.booleanish,ariaMultiLine:P.booleanish,ariaMultiSelectable:P.booleanish,ariaOrientation:null,ariaOwns:P.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:P.number,ariaPressed:P.booleanish,ariaReadOnly:P.booleanish,ariaRelevant:null,ariaRequired:P.booleanish,ariaRoleDescription:P.spaceSeparated,ariaRowCount:P.number,ariaRowIndex:P.number,ariaRowSpan:P.number,ariaSelected:P.booleanish,ariaSetSize:P.number,ariaSort:null,ariaValueMax:P.number,ariaValueMin:P.number,ariaValueNow:P.number,ariaValueText:null,role:null},transform(Re,fe){return fe==="role"?fe:"aria-"+fe.slice(4).toLowerCase()}});function de(Re,fe){return fe in Re?Re[fe]:fe}function ce(Re,fe){return de(Re,fe.toLowerCase())}const te=G({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P.commaSeparated,acceptCharset:P.spaceSeparated,accessKey:P.spaceSeparated,action:null,allow:null,allowFullScreen:P.boolean,allowPaymentRequest:P.boolean,allowUserMedia:P.boolean,alt:null,as:null,async:P.boolean,autoCapitalize:null,autoComplete:P.spaceSeparated,autoFocus:P.boolean,autoPlay:P.boolean,blocking:P.spaceSeparated,capture:null,charSet:null,checked:P.boolean,cite:null,className:P.spaceSeparated,cols:P.number,colSpan:null,content:null,contentEditable:P.booleanish,controls:P.boolean,controlsList:P.spaceSeparated,coords:P.number|P.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:P.boolean,defer:P.boolean,dir:null,dirName:null,disabled:P.boolean,download:P.overloadedBoolean,draggable:P.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:P.boolean,formTarget:null,headers:P.spaceSeparated,height:P.number,hidden:P.boolean,high:P.number,href:null,hrefLang:null,htmlFor:P.spaceSeparated,httpEquiv:P.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:P.boolean,inputMode:null,integrity:null,is:null,isMap:P.boolean,itemId:null,itemProp:P.spaceSeparated,itemRef:P.spaceSeparated,itemScope:P.boolean,itemType:P.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:P.boolean,low:P.number,manifest:null,max:null,maxLength:P.number,media:null,method:null,min:null,minLength:P.number,multiple:P.boolean,muted:P.boolean,name:null,nonce:null,noModule:P.boolean,noValidate:P.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:P.boolean,optimum:P.number,pattern:null,ping:P.spaceSeparated,placeholder:null,playsInline:P.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:P.boolean,referrerPolicy:null,rel:P.spaceSeparated,required:P.boolean,reversed:P.boolean,rows:P.number,rowSpan:P.number,sandbox:P.spaceSeparated,scope:null,scoped:P.boolean,seamless:P.boolean,selected:P.boolean,shadowRootClonable:P.boolean,shadowRootDelegatesFocus:P.boolean,shadowRootMode:null,shape:null,size:P.number,sizes:null,slot:null,span:P.number,spellCheck:P.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:P.number,step:null,style:null,tabIndex:P.number,target:null,title:null,translate:null,type:null,typeMustMatch:P.boolean,useMap:null,value:P.booleanish,width:P.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:P.spaceSeparated,axis:null,background:null,bgColor:null,border:P.number,borderColor:null,bottomMargin:P.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:P.boolean,declare:P.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:P.number,leftMargin:P.number,link:null,longDesc:null,lowSrc:null,marginHeight:P.number,marginWidth:P.number,noResize:P.boolean,noHref:P.boolean,noShade:P.boolean,noWrap:P.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:P.number,rules:null,scheme:null,scrolling:P.booleanish,standby:null,summary:null,text:null,topMargin:P.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:P.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:P.boolean,disableRemotePlayback:P.boolean,prefix:null,property:null,results:P.number,security:null,unselectable:null},space:"html",transform:ce}),Me=G({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:P.commaOrSpaceSeparated,accentHeight:P.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:P.number,amplitude:P.number,arabicForm:null,ascent:P.number,attributeName:null,attributeType:null,azimuth:P.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:P.number,by:null,calcMode:null,capHeight:P.number,className:P.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:P.number,diffuseConstant:P.number,direction:null,display:null,dur:null,divisor:P.number,dominantBaseline:null,download:P.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:P.number,enableBackground:null,end:null,event:null,exponent:P.number,externalResourcesRequired:null,fill:null,fillOpacity:P.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:P.commaSeparated,g2:P.commaSeparated,glyphName:P.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:P.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:P.number,horizOriginX:P.number,horizOriginY:P.number,id:null,ideographic:P.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:P.number,k:P.number,k1:P.number,k2:P.number,k3:P.number,k4:P.number,kernelMatrix:P.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:P.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:P.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:P.number,overlineThickness:P.number,paintOrder:null,panose1:null,path:null,pathLength:P.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:P.number,pointsAtY:P.number,pointsAtZ:P.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:P.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:P.commaOrSpaceSeparated,rev:P.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:P.commaOrSpaceSeparated,requiredFeatures:P.commaOrSpaceSeparated,requiredFonts:P.commaOrSpaceSeparated,requiredFormats:P.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:P.number,specularExponent:P.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:P.number,strikethroughThickness:P.number,string:null,stroke:null,strokeDashArray:P.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:P.number,strokeOpacity:P.number,strokeWidth:null,style:null,surfaceScale:P.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:P.commaOrSpaceSeparated,tabIndex:P.number,tableValues:null,target:null,targetX:P.number,targetY:P.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:P.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:P.number,underlineThickness:P.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:P.number,values:null,vAlphabetic:P.number,vMathematical:P.number,vectorEffect:null,vHanging:P.number,vIdeographic:P.number,version:null,vertAdvY:P.number,vertOriginX:P.number,vertOriginY:P.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:P.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:de}),we=G({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Re,fe){return"xlink:"+fe.slice(5).toLowerCase()}}),Qe=G({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ce}),Oe=G({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Re,fe){return"xml:"+fe.slice(3).toLowerCase()}}),Te=I([M,te,we,Qe,Oe],"html"),Ae=I([M,Me,we,Qe,Oe],"svg")},84837:function(Q,C,h){"use strict";h.d(C,{s:function(){return M}});var v=h(95516),I=h(56038),O=h(64326);const F=/[A-Z]/g,G=/-[a-z]/g,P=/^data[-\w.:]+$/i;function M(te,Me){const we=(0,O.F)(Me);let Qe=Me,Oe=I.k;if(we in te.normal)return te.property[te.normal[we]];if(we.length>4&&we.slice(0,4)==="data"&&P.test(Me)){if(Me.charAt(4)==="-"){const Te=Me.slice(5).replace(G,ce);Qe="data"+Te.charAt(0).toUpperCase()+Te.slice(1)}else{const Te=Me.slice(4);if(!G.test(Te)){let Ae=Te.replace(F,de);Ae.charAt(0)!=="-"&&(Ae="-"+Ae),Me="data"+Ae}}Oe=v.I}return new Oe(Qe,Me)}function de(te){return"-"+te.toLowerCase()}function ce(te){return te.charAt(1).toUpperCase()}},64326:function(Q,C,h){"use strict";h.d(C,{F:function(){return v}});function v(I){return I.toLowerCase()}},95516:function(Q,C,h){"use strict";h.d(C,{I:function(){return F}});var v=h(56038),I=h(56488);const O=Object.keys(I);class F extends v.k{constructor(M,de,ce,te){let Me=-1;if(super(M,de),G(this,"space",te),typeof ce=="number")for(;++Me0){const W=B.length>1?B:B[0];W&&(E.children=W)}}function ai(E,B,W){return q;function q(pe,Ce,$e,it){const Dt=Array.isArray($e.children)?W:B;return it?Dt(Ce,$e,it):Dt(Ce,$e)}}function Ln(E,B){return W;function W(q,pe,Ce,$e){const it=Array.isArray(Ce.children),$t=(0,ke.Pk)(q);return B(pe,Ce,$e,it,{columnNumber:$t?$t.column-1:void 0,fileName:E,lineNumber:$t?$t.line:void 0},void 0)}}function ni(E,B){const W={};let q,pe;for(pe in B.properties)if(pe!=="children"&&Ye.call(B.properties,pe)){const Ce=Mn(E,pe,B.properties[pe]);if(Ce){const[$e,it]=Ce;E.tableCellAlignToStyle&&$e==="align"&&typeof it=="string"&&xt.has(B.tagName)?q=it:W[$e]=it}}if(q){const Ce=W.style||(W.style={});Ce[E.stylePropertyNameCase==="css"?"text-align":"textAlign"]=q}return W}function Jn(E,B){const W={};for(const q of B.attributes)if(q.type==="mdxJsxExpressionAttribute")if(q.data&&q.data.estree&&E.evaluater){const Ce=q.data.estree.body[0];(0,I.ok)(Ce.type==="ExpressionStatement");const $e=Ce.expression;(0,I.ok)($e.type==="ObjectExpression");const it=$e.properties[0];(0,I.ok)(it.type==="SpreadElement"),Object.assign(W,E.evaluater.evaluateExpression(it.argument))}else k(E,B.position);else{const pe=q.name;let Ce;if(q.value&&typeof q.value=="object")if(q.value.data&&q.value.data.estree&&E.evaluater){const it=q.value.data.estree.body[0];(0,I.ok)(it.type==="ExpressionStatement"),Ce=E.evaluater.evaluateExpression(it.expression)}else k(E,B.position);else Ce=q.value===null?!0:q.value;W[pe]=Ce}return W}function In(E,B){const W=[];let q=-1;const pe=E.passKeys?new Map:ie;for(;++qpe?0:pe+B:B=B>pe?pe:B,W=W>0?W:0,q.length<1e4)$e=Array.from(q),$e.unshift(B,W),E.splice(...$e);else for(W&&E.splice(B,W);Ce0?(qt(E,E.length,0,B),E):B}class cn{constructor(B){this.left=B?[...B]:[],this.right=[]}get(B){if(B<0||B>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+B+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Bthis.left.length?this.right.slice(this.right.length-q+this.left.length,this.right.length-B+this.left.length).reverse():this.left.slice(B).concat(this.right.slice(this.right.length-q+this.left.length).reverse())}splice(B,W,q){const pe=W||0;this.setCursor(Math.trunc(B));const Ce=this.right.splice(this.right.length-pe,Number.POSITIVE_INFINITY);return q&&nn(this.left,q),Ce.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(B){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(B)}pushMany(B){this.setCursor(Number.POSITIVE_INFINITY),nn(this.left,B)}unshift(B){this.setCursor(0),this.right.push(B)}unshiftMany(B){this.setCursor(0),nn(this.right,B.reverse())}setCursor(B){if(!(B===this.left.length||B>this.left.length&&this.right.length===0||B<0&&this.left.length===0))if(B$e))return;const qi=B.events.length;let Xr=qi,qr,io;for(;Xr--;)if(B.events[Xr][0]==="exit"&&B.events[Xr][1].type==="chunkFlow"){if(qr){io=B.events[Xr][1].end;break}qr=!0}for(Ni(q),ii=qi;iiZi;){const lo=W[oo];B.containerState=lo[1],lo[0].exit.call(B,E)}W.length=Zi}function Or(){pe.write([null]),Ce=void 0,pe=void 0,B.containerState._closeFlow=void 0}}function pr(E,B,W){return(0,vi.f)(E,E.attempt(this.parser.constructs.document,B,W),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const U={partial:!0,tokenize:yr};function yr(E,B,W){return q;function q(Ce){return(0,dn.xz)(Ce)?(0,vi.f)(E,pe,"linePrefix")(Ce):pe(Ce)}function pe(Ce){return Ce===null||(0,dn.Ch)(Ce)?B(Ce):W(Ce)}}const Er={resolve:eo,tokenize:yo},wr={partial:!0,tokenize:Ir};function eo(E){return et(E),E}function yo(E,B){let W;return q;function q(it){return E.enter("content"),W=E.enter("chunkContent",{contentType:"content"}),pe(it)}function pe(it){return it===null?Ce(it):(0,dn.Ch)(it)?E.check(wr,$e,Ce)(it):(E.consume(it),pe)}function Ce(it){return E.exit("chunkContent"),E.exit("content"),B(it)}function $e(it){return E.consume(it),E.exit("chunkContent"),W.next=E.enter("chunkContent",{contentType:"content",previous:W}),W=W.next,pe}}function Ir(E,B,W){const q=this;return pe;function pe($e){return E.exit("chunkContent"),E.enter("lineEnding"),E.consume($e),E.exit("lineEnding"),(0,vi.f)(E,Ce,"linePrefix")}function Ce($e){if($e===null||(0,dn.Ch)($e))return W($e);const it=q.events[q.events.length-1];return!q.parser.constructs.disable.null.includes("codeIndented")&&it&&it[1].type==="linePrefix"&&it[2].sliceSerialize(it[1],!0).length>=4?B($e):E.interrupt(q.parser.constructs.flow,W,B)($e)}}const no={tokenize:ur};function ur(E){const B=this,W=E.attempt(U,q,E.attempt(this.parser.constructs.flowInitial,pe,(0,vi.f)(E,E.attempt(this.parser.constructs.flow,pe,E.attempt(Er,pe)),"linePrefix")));return W;function q(Ce){if(Ce===null){E.consume(Ce);return}return E.enter("lineEndingBlank"),E.consume(Ce),E.exit("lineEndingBlank"),B.currentConstruct=void 0,W}function pe(Ce){if(Ce===null){E.consume(Ce);return}return E.enter("lineEnding"),E.consume(Ce),E.exit("lineEnding"),B.currentConstruct=void 0,W}}const zi={resolveAll:Wn()},xi=_n("string"),dt=_n("text");function _n(E){return{resolveAll:Wn(E==="text"?yt:void 0),tokenize:B};function B(W){const q=this,pe=this.parser.constructs[E],Ce=W.attempt(pe,$e,it);return $e;function $e(ft){return Dt(ft)?Ce(ft):it(ft)}function it(ft){if(ft===null){W.consume(ft);return}return W.enter("data"),W.consume(ft),$t}function $t(ft){return Dt(ft)?(W.exit("data"),Ce(ft)):(W.consume(ft),$t)}function Dt(ft){if(ft===null)return!0;const Yt=pe[ft];let en=-1;if(Yt)for(;++en=3&&(Dt===null||(0,dn.Ch)(Dt))?(E.exit("thematicBreak"),B(Dt)):W(Dt)}function $t(Dt){return Dt===pe?(E.consume(Dt),q++,$t):(E.exit("thematicBreakSequence"),(0,dn.xz)(Dt)?(0,vi.f)(E,it,"whitespace")(Dt):it(Dt))}}const kn={continuation:{tokenize:Ut},exit:Gn,name:"list",tokenize:Ve},on={partial:!0,tokenize:ot},Ct={partial:!0,tokenize:Ot};function Ve(E,B,W){const q=this,pe=q.events[q.events.length-1];let Ce=pe&&pe[1].type==="linePrefix"?pe[2].sliceSerialize(pe[1],!0).length:0,$e=0;return it;function it(_t){const Si=q.containerState.type||(_t===42||_t===43||_t===45?"listUnordered":"listOrdered");if(Si==="listUnordered"?!q.containerState.marker||_t===q.containerState.marker:(0,dn.pY)(_t)){if(q.containerState.type||(q.containerState.type=Si,E.enter(Si,{_container:!0})),Si==="listUnordered")return E.enter("listItemPrefix"),_t===42||_t===45?E.check(Ke,W,Dt)(_t):Dt(_t);if(!q.interrupt||_t===49)return E.enter("listItemPrefix"),E.enter("listItemValue"),$t(_t)}return W(_t)}function $t(_t){return(0,dn.pY)(_t)&&++$e<10?(E.consume(_t),$t):(!q.interrupt||$e<2)&&(q.containerState.marker?_t===q.containerState.marker:_t===41||_t===46)?(E.exit("listItemValue"),Dt(_t)):W(_t)}function Dt(_t){return E.enter("listItemMarker"),E.consume(_t),E.exit("listItemMarker"),q.containerState.marker=q.containerState.marker||_t,E.check(U,q.interrupt?W:ft,E.attempt(on,en,Yt))}function ft(_t){return q.containerState.initialBlankLine=!0,Ce++,en(_t)}function Yt(_t){return(0,dn.xz)(_t)?(E.enter("listItemPrefixWhitespace"),E.consume(_t),E.exit("listItemPrefixWhitespace"),en):W(_t)}function en(_t){return q.containerState.size=Ce+q.sliceSerialize(E.exit("listItemPrefix"),!0).length,B(_t)}}function Ut(E,B,W){const q=this;return q.containerState._closeFlow=void 0,E.check(U,pe,Ce);function pe(it){return q.containerState.furtherBlankLines=q.containerState.furtherBlankLines||q.containerState.initialBlankLine,(0,vi.f)(E,B,"listItemIndent",q.containerState.size+1)(it)}function Ce(it){return q.containerState.furtherBlankLines||!(0,dn.xz)(it)?(q.containerState.furtherBlankLines=void 0,q.containerState.initialBlankLine=void 0,$e(it)):(q.containerState.furtherBlankLines=void 0,q.containerState.initialBlankLine=void 0,E.attempt(Ct,B,$e)(it))}function $e(it){return q.containerState._closeFlow=!0,q.interrupt=void 0,(0,vi.f)(E,E.attempt(kn,B,W),"linePrefix",q.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(it)}}function Ot(E,B,W){const q=this;return(0,vi.f)(E,pe,"listItemIndent",q.containerState.size+1);function pe(Ce){const $e=q.events[q.events.length-1];return $e&&$e[1].type==="listItemIndent"&&$e[2].sliceSerialize($e[1],!0).length===q.containerState.size?B(Ce):W(Ce)}}function Gn(E){E.exit(this.containerState.type)}function ot(E,B,W){const q=this;return(0,vi.f)(E,pe,"listItemPrefixWhitespace",q.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function pe(Ce){const $e=q.events[q.events.length-1];return!(0,dn.xz)(Ce)&&$e&&$e[1].type==="listItemPrefixWhitespace"?B(Ce):W(Ce)}}const un={continuation:{tokenize:je},exit:L,name:"blockQuote",tokenize:vt};function vt(E,B,W){const q=this;return pe;function pe($e){if($e===62){const it=q.containerState;return it.open||(E.enter("blockQuote",{_container:!0}),it.open=!0),E.enter("blockQuotePrefix"),E.enter("blockQuoteMarker"),E.consume($e),E.exit("blockQuoteMarker"),Ce}return W($e)}function Ce($e){return(0,dn.xz)($e)?(E.enter("blockQuotePrefixWhitespace"),E.consume($e),E.exit("blockQuotePrefixWhitespace"),E.exit("blockQuotePrefix"),B):(E.exit("blockQuotePrefix"),B($e))}}function je(E,B,W){const q=this;return pe;function pe($e){return(0,dn.xz)($e)?(0,vi.f)(E,Ce,"linePrefix",q.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($e):Ce($e)}function Ce($e){return E.attempt(un,B,W)($e)}}function L(E){E.exit("blockQuote")}function Lt(E,B,W,q,pe,Ce,$e,it,$t){const Dt=$t||Number.POSITIVE_INFINITY;let ft=0;return Yt;function Yt(Ni){return Ni===60?(E.enter(q),E.enter(pe),E.enter(Ce),E.consume(Ni),E.exit(Ce),en):Ni===null||Ni===32||Ni===41||(0,dn.Av)(Ni)?W(Ni):(E.enter(q),E.enter($e),E.enter(it),E.enter("chunkString",{contentType:"string"}),li(Ni))}function en(Ni){return Ni===62?(E.enter(Ce),E.consume(Ni),E.exit(Ce),E.exit(pe),E.exit(q),B):(E.enter(it),E.enter("chunkString",{contentType:"string"}),_t(Ni))}function _t(Ni){return Ni===62?(E.exit("chunkString"),E.exit(it),en(Ni)):Ni===null||Ni===60||(0,dn.Ch)(Ni)?W(Ni):(E.consume(Ni),Ni===92?Si:_t)}function Si(Ni){return Ni===60||Ni===62||Ni===92?(E.consume(Ni),_t):_t(Ni)}function li(Ni){return!ft&&(Ni===null||Ni===41||(0,dn.z3)(Ni))?(E.exit("chunkString"),E.exit(it),E.exit($e),E.exit(q),B(Ni)):ft999||_t===null||_t===91||_t===93&&!$t||_t===94&&!it&&"_hiddenFootnoteSupport"in $e.parser.constructs?W(_t):_t===93?(E.exit(Ce),E.enter(pe),E.consume(_t),E.exit(pe),E.exit(q),B):(0,dn.Ch)(_t)?(E.enter("lineEnding"),E.consume(_t),E.exit("lineEnding"),ft):(E.enter("chunkString",{contentType:"string"}),Yt(_t))}function Yt(_t){return _t===null||_t===91||_t===93||(0,dn.Ch)(_t)||it++>999?(E.exit("chunkString"),ft(_t)):(E.consume(_t),$t||($t=!(0,dn.xz)(_t)),_t===92?en:Yt)}function en(_t){return _t===91||_t===92||_t===93?(E.consume(_t),it++,Yt):Yt(_t)}}function mt(E,B,W,q,pe,Ce){let $e;return it;function it(en){return en===34||en===39||en===40?(E.enter(q),E.enter(pe),E.consume(en),E.exit(pe),$e=en===40?41:en,$t):W(en)}function $t(en){return en===$e?(E.enter(pe),E.consume(en),E.exit(pe),E.exit(q),B):(E.enter(Ce),Dt(en))}function Dt(en){return en===$e?(E.exit(Ce),$t($e)):en===null?W(en):(0,dn.Ch)(en)?(E.enter("lineEnding"),E.consume(en),E.exit("lineEnding"),(0,vi.f)(E,Dt,"linePrefix")):(E.enter("chunkString",{contentType:"string"}),ft(en))}function ft(en){return en===$e||en===null||(0,dn.Ch)(en)?(E.exit("chunkString"),Dt(en)):(E.consume(en),en===92?Yt:ft)}function Yt(en){return en===$e||en===92?(E.consume(en),ft):ft(en)}}function vn(E,B){let W;return q;function q(pe){return(0,dn.Ch)(pe)?(E.enter("lineEnding"),E.consume(pe),E.exit("lineEnding"),W=!0,q):(0,dn.xz)(pe)?(0,vi.f)(E,q,W?"linePrefix":"lineSuffix")(pe):B(pe)}}function Cn(E){return E.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ui={name:"definition",tokenize:st},Nn={partial:!0,tokenize:Li};function st(E,B,W){const q=this;let pe;return Ce;function Ce(_t){return E.enter("definition"),$e(_t)}function $e(_t){return Qt.call(q,E,it,W,"definitionLabel","definitionLabelMarker","definitionLabelString")(_t)}function it(_t){return pe=Cn(q.sliceSerialize(q.events[q.events.length-1][1]).slice(1,-1)),_t===58?(E.enter("definitionMarker"),E.consume(_t),E.exit("definitionMarker"),$t):W(_t)}function $t(_t){return(0,dn.z3)(_t)?vn(E,Dt)(_t):Dt(_t)}function Dt(_t){return Lt(E,ft,W,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_t)}function ft(_t){return E.attempt(Nn,Yt,Yt)(_t)}function Yt(_t){return(0,dn.xz)(_t)?(0,vi.f)(E,en,"whitespace")(_t):en(_t)}function en(_t){return _t===null||(0,dn.Ch)(_t)?(E.exit("definition"),q.parser.defined.push(pe),B(_t)):W(_t)}}function Li(E,B,W){return q;function q(it){return(0,dn.z3)(it)?vn(E,pe)(it):W(it)}function pe(it){return mt(E,Ce,W,"definitionTitle","definitionTitleMarker","definitionTitleString")(it)}function Ce(it){return(0,dn.xz)(it)?(0,vi.f)(E,$e,"whitespace")(it):$e(it)}function $e(it){return it===null||(0,dn.Ch)(it)?B(it):W(it)}}const Qi={name:"codeIndented",tokenize:Ui},Kt={partial:!0,tokenize:J};function Ui(E,B,W){const q=this;return pe;function pe(Dt){return E.enter("codeIndented"),(0,vi.f)(E,Ce,"linePrefix",5)(Dt)}function Ce(Dt){const ft=q.events[q.events.length-1];return ft&&ft[1].type==="linePrefix"&&ft[2].sliceSerialize(ft[1],!0).length>=4?$e(Dt):W(Dt)}function $e(Dt){return Dt===null?$t(Dt):(0,dn.Ch)(Dt)?E.attempt(Kt,$e,$t)(Dt):(E.enter("codeFlowValue"),it(Dt))}function it(Dt){return Dt===null||(0,dn.Ch)(Dt)?(E.exit("codeFlowValue"),$e(Dt)):(E.consume(Dt),it)}function $t(Dt){return E.exit("codeIndented"),B(Dt)}}function J(E,B,W){const q=this;return pe;function pe($e){return q.parser.lazy[q.now().line]?W($e):(0,dn.Ch)($e)?(E.enter("lineEnding"),E.consume($e),E.exit("lineEnding"),pe):(0,vi.f)(E,Ce,"linePrefix",5)($e)}function Ce($e){const it=q.events[q.events.length-1];return it&&it[1].type==="linePrefix"&&it[2].sliceSerialize(it[1],!0).length>=4?B($e):(0,dn.Ch)($e)?pe($e):W($e)}}const oe={name:"headingAtx",resolve:Hn,tokenize:Be};function Hn(E,B){let W=E.length-2,q=3,pe,Ce;return E[q][1].type==="whitespace"&&(q+=2),W-2>q&&E[W][1].type==="whitespace"&&(W-=2),E[W][1].type==="atxHeadingSequence"&&(q===W-1||W-4>q&&E[W-2][1].type==="whitespace")&&(W-=q+1===W?2:4),W>q&&(pe={type:"atxHeadingText",start:E[q][1].start,end:E[W][1].end},Ce={type:"chunkText",start:E[q][1].start,end:E[W][1].end,contentType:"text"},qt(E,q,W-q+1,[["enter",pe,B],["enter",Ce,B],["exit",Ce,B],["exit",pe,B]])),E}function Be(E,B,W){let q=0;return pe;function pe(ft){return E.enter("atxHeading"),Ce(ft)}function Ce(ft){return E.enter("atxHeadingSequence"),$e(ft)}function $e(ft){return ft===35&&q++<6?(E.consume(ft),$e):ft===null||(0,dn.z3)(ft)?(E.exit("atxHeadingSequence"),it(ft)):W(ft)}function it(ft){return ft===35?(E.enter("atxHeadingSequence"),$t(ft)):ft===null||(0,dn.Ch)(ft)?(E.exit("atxHeading"),B(ft)):(0,dn.xz)(ft)?(0,vi.f)(E,it,"whitespace")(ft):(E.enter("atxHeadingText"),Dt(ft))}function $t(ft){return ft===35?(E.consume(ft),$t):(E.exit("atxHeadingSequence"),it(ft))}function Dt(ft){return ft===null||ft===35||(0,dn.z3)(ft)?(E.exit("atxHeadingText"),it(ft)):(E.consume(ft),Dt)}}const Et={name:"setextUnderline",resolveTo:pi,tokenize:Rn};function pi(E,B){let W=E.length,q,pe,Ce;for(;W--;)if(E[W][0]==="enter"){if(E[W][1].type==="content"){q=W;break}E[W][1].type==="paragraph"&&(pe=W)}else E[W][1].type==="content"&&E.splice(W,1),!Ce&&E[W][1].type==="definition"&&(Ce=W);const $e={type:"setextHeading",start:Uo({},E[q][1].start),end:Uo({},E[E.length-1][1].end)};return E[pe][1].type="setextHeadingText",Ce?(E.splice(pe,0,["enter",$e,B]),E.splice(Ce+1,0,["exit",E[q][1],B]),E[q][1].end=Uo({},E[Ce][1].end)):E[q][1]=$e,E.push(["exit",$e,B]),E}function Rn(E,B,W){const q=this;let pe;return Ce;function Ce(Dt){let ft=q.events.length,Yt;for(;ft--;)if(q.events[ft][1].type!=="lineEnding"&&q.events[ft][1].type!=="linePrefix"&&q.events[ft][1].type!=="content"){Yt=q.events[ft][1].type==="paragraph";break}return!q.parser.lazy[q.now().line]&&(q.interrupt||Yt)?(E.enter("setextHeadingLine"),pe=Dt,$e(Dt)):W(Dt)}function $e(Dt){return E.enter("setextHeadingLineSequence"),it(Dt)}function it(Dt){return Dt===pe?(E.consume(Dt),it):(E.exit("setextHeadingLineSequence"),(0,dn.xz)(Dt)?(0,vi.f)(E,$t,"lineSuffix")(Dt):$t(Dt))}function $t(Dt){return Dt===null||(0,dn.Ch)(Dt)?(E.exit("setextHeadingLine"),B(Dt)):W(Dt)}}const _i=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xt=["pre","script","style","textarea"],Ei={concrete:!0,name:"htmlFlow",resolveTo:Yr,tokenize:It},Zt={partial:!0,tokenize:Jt},Pi={partial:!0,tokenize:Jr};function Yr(E){let B=E.length;for(;B--&&!(E[B][0]==="enter"&&E[B][1].type==="htmlFlow"););return B>1&&E[B-2][1].type==="linePrefix"&&(E[B][1].start=E[B-2][1].start,E[B+1][1].start=E[B-2][1].start,E.splice(B-2,2)),E}function It(E,B,W){const q=this;let pe,Ce,$e,it,$t;return Dt;function Dt(wn){return ft(wn)}function ft(wn){return E.enter("htmlFlow"),E.enter("htmlFlowData"),E.consume(wn),Yt}function Yt(wn){return wn===33?(E.consume(wn),en):wn===47?(E.consume(wn),Ce=!0,li):wn===63?(E.consume(wn),pe=3,q.interrupt?B:rn):(0,dn.jv)(wn)?(E.consume(wn),$e=String.fromCharCode(wn),lr):W(wn)}function en(wn){return wn===45?(E.consume(wn),pe=2,_t):wn===91?(E.consume(wn),pe=5,it=0,Si):(0,dn.jv)(wn)?(E.consume(wn),pe=4,q.interrupt?B:rn):W(wn)}function _t(wn){return wn===45?(E.consume(wn),q.interrupt?B:rn):W(wn)}function Si(wn){const mo="CDATA[";return wn===mo.charCodeAt(it++)?(E.consume(wn),it===mo.length?q.interrupt?B:ir:Si):W(wn)}function li(wn){return(0,dn.jv)(wn)?(E.consume(wn),$e=String.fromCharCode(wn),lr):W(wn)}function lr(wn){if(wn===null||wn===47||wn===62||(0,dn.z3)(wn)){const mo=wn===47,_a=$e.toLowerCase();return!mo&&!Ce&&Xt.includes(_a)?(pe=1,q.interrupt?B(wn):ir(wn)):_i.includes($e.toLowerCase())?(pe=6,mo?(E.consume(wn),Ni):q.interrupt?B(wn):ir(wn)):(pe=7,q.interrupt&&!q.parser.lazy[q.now().line]?W(wn):Ce?Or(wn):Zi(wn))}return wn===45||(0,dn.H$)(wn)?(E.consume(wn),$e+=String.fromCharCode(wn),lr):W(wn)}function Ni(wn){return wn===62?(E.consume(wn),q.interrupt?B:ir):W(wn)}function Or(wn){return(0,dn.xz)(wn)?(E.consume(wn),Or):io(wn)}function Zi(wn){return wn===47?(E.consume(wn),io):wn===58||wn===95||(0,dn.jv)(wn)?(E.consume(wn),oo):(0,dn.xz)(wn)?(E.consume(wn),Zi):io(wn)}function oo(wn){return wn===45||wn===46||wn===58||wn===95||(0,dn.H$)(wn)?(E.consume(wn),oo):lo(wn)}function lo(wn){return wn===61?(E.consume(wn),ii):(0,dn.xz)(wn)?(E.consume(wn),lo):Zi(wn)}function ii(wn){return wn===null||wn===60||wn===61||wn===62||wn===96?W(wn):wn===34||wn===39?(E.consume(wn),$t=wn,qi):(0,dn.xz)(wn)?(E.consume(wn),ii):Xr(wn)}function qi(wn){return wn===$t?(E.consume(wn),$t=null,qr):wn===null||(0,dn.Ch)(wn)?W(wn):(E.consume(wn),qi)}function Xr(wn){return wn===null||wn===34||wn===39||wn===47||wn===60||wn===61||wn===62||wn===96||(0,dn.z3)(wn)?lo(wn):(E.consume(wn),Xr)}function qr(wn){return wn===47||wn===62||(0,dn.xz)(wn)?Zi(wn):W(wn)}function io(wn){return wn===62?(E.consume(wn),Io):W(wn)}function Io(wn){return wn===null||(0,dn.Ch)(wn)?ir(wn):(0,dn.xz)(wn)?(E.consume(wn),Io):W(wn)}function ir(wn){return wn===45&&pe===2?(E.consume(wn),Vr):wn===60&&pe===1?(E.consume(wn),Xi):wn===62&&pe===4?(E.consume(wn),ya):wn===63&&pe===3?(E.consume(wn),rn):wn===93&&pe===5?(E.consume(wn),uo):(0,dn.Ch)(wn)&&(pe===6||pe===7)?(E.exit("htmlFlowData"),E.check(Zt,ba,Oi)(wn)):wn===null||(0,dn.Ch)(wn)?(E.exit("htmlFlowData"),Oi(wn)):(E.consume(wn),ir)}function Oi(wn){return E.check(Pi,Yi,ba)(wn)}function Yi(wn){return E.enter("lineEnding"),E.consume(wn),E.exit("lineEnding"),Di}function Di(wn){return wn===null||(0,dn.Ch)(wn)?Oi(wn):(E.enter("htmlFlowData"),ir(wn))}function Vr(wn){return wn===45?(E.consume(wn),rn):ir(wn)}function Xi(wn){return wn===47?(E.consume(wn),$e="",_r):ir(wn)}function _r(wn){if(wn===62){const mo=$e.toLowerCase();return Xt.includes(mo)?(E.consume(wn),ya):ir(wn)}return(0,dn.jv)(wn)&&$e.length<8?(E.consume(wn),$e+=String.fromCharCode(wn),_r):ir(wn)}function uo(wn){return wn===93?(E.consume(wn),rn):ir(wn)}function rn(wn){return wn===62?(E.consume(wn),ya):wn===45&&pe===2?(E.consume(wn),rn):ir(wn)}function ya(wn){return wn===null||(0,dn.Ch)(wn)?(E.exit("htmlFlowData"),ba(wn)):(E.consume(wn),ya)}function ba(wn){return E.exit("htmlFlow"),B(wn)}}function Jr(E,B,W){const q=this;return pe;function pe($e){return(0,dn.Ch)($e)?(E.enter("lineEnding"),E.consume($e),E.exit("lineEnding"),Ce):W($e)}function Ce($e){return q.parser.lazy[q.now().line]?W($e):B($e)}}function Jt(E,B,W){return q;function q(pe){return E.enter("lineEnding"),E.consume(pe),E.exit("lineEnding"),E.attempt(U,B,W)}}const Ri={partial:!0,tokenize:ar},Ci={concrete:!0,name:"codeFenced",tokenize:mr};function mr(E,B,W){const q=this,pe={partial:!0,tokenize:lo};let Ce=0,$e=0,it;return $t;function $t(ii){return Dt(ii)}function Dt(ii){const qi=q.events[q.events.length-1];return Ce=qi&&qi[1].type==="linePrefix"?qi[2].sliceSerialize(qi[1],!0).length:0,it=ii,E.enter("codeFenced"),E.enter("codeFencedFence"),E.enter("codeFencedFenceSequence"),ft(ii)}function ft(ii){return ii===it?($e++,E.consume(ii),ft):$e<3?W(ii):(E.exit("codeFencedFenceSequence"),(0,dn.xz)(ii)?(0,vi.f)(E,Yt,"whitespace")(ii):Yt(ii))}function Yt(ii){return ii===null||(0,dn.Ch)(ii)?(E.exit("codeFencedFence"),q.interrupt?B(ii):E.check(Ri,li,oo)(ii)):(E.enter("codeFencedFenceInfo"),E.enter("chunkString",{contentType:"string"}),en(ii))}function en(ii){return ii===null||(0,dn.Ch)(ii)?(E.exit("chunkString"),E.exit("codeFencedFenceInfo"),Yt(ii)):(0,dn.xz)(ii)?(E.exit("chunkString"),E.exit("codeFencedFenceInfo"),(0,vi.f)(E,_t,"whitespace")(ii)):ii===96&&ii===it?W(ii):(E.consume(ii),en)}function _t(ii){return ii===null||(0,dn.Ch)(ii)?Yt(ii):(E.enter("codeFencedFenceMeta"),E.enter("chunkString",{contentType:"string"}),Si(ii))}function Si(ii){return ii===null||(0,dn.Ch)(ii)?(E.exit("chunkString"),E.exit("codeFencedFenceMeta"),Yt(ii)):ii===96&&ii===it?W(ii):(E.consume(ii),Si)}function li(ii){return E.attempt(pe,oo,lr)(ii)}function lr(ii){return E.enter("lineEnding"),E.consume(ii),E.exit("lineEnding"),Ni}function Ni(ii){return Ce>0&&(0,dn.xz)(ii)?(0,vi.f)(E,Or,"linePrefix",Ce+1)(ii):Or(ii)}function Or(ii){return ii===null||(0,dn.Ch)(ii)?E.check(Ri,li,oo)(ii):(E.enter("codeFlowValue"),Zi(ii))}function Zi(ii){return ii===null||(0,dn.Ch)(ii)?(E.exit("codeFlowValue"),Or(ii)):(E.consume(ii),Zi)}function oo(ii){return E.exit("codeFenced"),B(ii)}function lo(ii,qi,Xr){let qr=0;return io;function io(Di){return ii.enter("lineEnding"),ii.consume(Di),ii.exit("lineEnding"),Io}function Io(Di){return ii.enter("codeFencedFence"),(0,dn.xz)(Di)?(0,vi.f)(ii,ir,"linePrefix",q.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Di):ir(Di)}function ir(Di){return Di===it?(ii.enter("codeFencedFenceSequence"),Oi(Di)):Xr(Di)}function Oi(Di){return Di===it?(qr++,ii.consume(Di),Oi):qr>=$e?(ii.exit("codeFencedFenceSequence"),(0,dn.xz)(Di)?(0,vi.f)(ii,Yi,"whitespace")(Di):Yi(Di)):Xr(Di)}function Yi(Di){return Di===null||(0,dn.Ch)(Di)?(ii.exit("codeFencedFence"),qi(Di)):Xr(Di)}}}function ar(E,B,W){const q=this;return pe;function pe($e){return $e===null?W($e):(E.enter("lineEnding"),E.consume($e),E.exit("lineEnding"),Ce)}function Ce($e){return q.parser.lazy[q.now().line]?W($e):B($e)}}const Kn=document.createElement("i");function he(E){const B="&"+E+";";Kn.innerHTML=B;const W=Kn.textContent;return W.charCodeAt(W.length-1)===59&&E!=="semi"||W===B?!1:W}const vr={name:"characterReference",tokenize:Cr};function Cr(E,B,W){const q=this;let pe=0,Ce,$e;return it;function it(Yt){return E.enter("characterReference"),E.enter("characterReferenceMarker"),E.consume(Yt),E.exit("characterReferenceMarker"),$t}function $t(Yt){return Yt===35?(E.enter("characterReferenceMarkerNumeric"),E.consume(Yt),E.exit("characterReferenceMarkerNumeric"),Dt):(E.enter("characterReferenceValue"),Ce=31,$e=dn.H$,ft(Yt))}function Dt(Yt){return Yt===88||Yt===120?(E.enter("characterReferenceMarkerHexadecimal"),E.consume(Yt),E.exit("characterReferenceMarkerHexadecimal"),E.enter("characterReferenceValue"),Ce=6,$e=dn.AF,ft):(E.enter("characterReferenceValue"),Ce=7,$e=dn.pY,ft(Yt))}function ft(Yt){if(Yt===59&&pe){const en=E.exit("characterReferenceValue");return $e===dn.H$&&!he(q.sliceSerialize(en))?W(Yt):(E.enter("characterReferenceMarker"),E.consume(Yt),E.exit("characterReferenceMarker"),E.exit("characterReference"),B)}return $e(Yt)&&pe++1&&E[W][1].end.offset-E[W][1].start.offset>1?2:1;const Yt=Uo({},E[q][1].end),en=Uo({},E[W][1].start);Go(Yt,-$t),Go(en,$t),$e={type:$t>1?"strongSequence":"emphasisSequence",start:Yt,end:Uo({},E[q][1].end)},it={type:$t>1?"strongSequence":"emphasisSequence",start:Uo({},E[W][1].start),end:en},Ce={type:$t>1?"strongText":"emphasisText",start:Uo({},E[q][1].end),end:Uo({},E[W][1].start)},pe={type:$t>1?"strong":"emphasis",start:Uo({},$e.start),end:Uo({},it.end)},E[q][1].end=Uo({},$e.start),E[W][1].start=Uo({},it.end),Dt=[],E[q][1].end.offset-E[q][1].start.offset&&(Dt=jt(Dt,[["enter",E[q][1],B],["exit",E[q][1],B]])),Dt=jt(Dt,[["enter",pe,B],["enter",$e,B],["exit",$e,B],["enter",Ce,B]]),Dt=jt(Dt,Mi(B.parser.constructs.insideSpan.null,E.slice(q+1,W),B)),Dt=jt(Dt,[["exit",Ce,B],["enter",it,B],["exit",it,B],["exit",pe,B]]),E[W][1].end.offset-E[W][1].start.offset?(ft=2,Dt=jt(Dt,[["enter",E[W][1],B],["exit",E[W][1],B]])):ft=0,qt(E,q-1,W-q+3,Dt),W=q+Dt.length-ft-2;break}}for(W=-1;++W-1){const it=$e[0];typeof it=="string"?$e[0]=it.slice(q):$e.shift()}Ce>0&&$e.push(E[pe].slice(0,Ce))}return $e}function As(E,B){let W=-1;const q=[];let pe;for(;++W13&&W<32||W>126&&W<160||W>55295&&W<57344||W>64975&&W<65008||(W&65535)===65535||(W&65535)===65534||W>1114111?"\uFFFD":String.fromCodePoint(W)}const Ds=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ps(E){return E.replace(Ds,Ho)}function Ho(E,B,W){if(B)return B;if(W.charCodeAt(0)===35){const pe=W.charCodeAt(1),Ce=pe===120||pe===88;return al(W.slice(Ce?2:1),Ce?16:10)}return he(W)||E}const os={}.hasOwnProperty;function Ol(E,B,W){return typeof B!="string"&&(W=B,B=void 0),Xa(W)(hn(Yo(W).document().write(Dr()(E,B,!0))))}function Xa(E){const B={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Ce(Zn),autolinkProtocol:qr,autolinkEmail:qr,atxHeading:Ce(g),blockQuote:Ce(To),characterEscape:qr,characterReference:qr,codeFenced:Ce(Mo),codeFencedFenceInfo:$e,codeFencedFenceMeta:$e,codeIndented:Ce(Mo,$e),codeText:Ce(ia,$e),codeTextData:qr,data:qr,codeFlowValue:qr,definition:Ce(ja),definitionDestinationString:$e,definitionLabelString:$e,definitionTitleString:$e,emphasis:Ce(d),hardBreakEscape:Ce(K),hardBreakTrailing:Ce(K),htmlFlow:Ce(tt,$e),htmlFlowData:qr,htmlText:Ce(tt,$e),htmlTextData:qr,image:Ce(mn),label:$e,link:Ce(Zn),listItem:Ce(Tr),listItemValue:en,listOrdered:Ce(Ti,Yt),listUnordered:Ce(Ti),paragraph:Ce(Ur),reference:wn,referenceString:$e,resourceDestinationString:$e,resourceTitleString:$e,setextHeading:Ce(g),strong:Ce(Kr),thematicBreak:Ce(xa)},exit:{atxHeading:$t(),atxHeadingSequence:lo,autolink:$t(),autolinkEmail:Ro,autolinkProtocol:$a,blockQuote:$t(),characterEscapeValue:io,characterReferenceMarkerHexadecimal:_a,characterReferenceMarkerNumeric:_a,characterReferenceValue:la,characterReference:za,codeFenced:$t(lr),codeFencedFence:li,codeFencedFenceInfo:_t,codeFencedFenceMeta:Si,codeFlowValue:io,codeIndented:$t(Ni),codeText:$t(Di),codeTextData:io,data:io,definition:$t(),definitionDestinationString:oo,definitionLabelString:Or,definitionTitleString:Zi,emphasis:$t(),hardBreakEscape:$t(ir),hardBreakTrailing:$t(ir),htmlFlow:$t(Oi),htmlFlowData:io,htmlText:$t(Yi),htmlTextData:io,image:$t(Xi),label:uo,labelText:_r,lineEnding:Io,link:$t(Vr),listItem:$t(),listOrdered:$t(),listUnordered:$t(),paragraph:$t(),referenceString:mo,resourceDestinationString:rn,resourceTitleString:ya,resource:ba,setextHeading:$t(Xr),setextHeadingLineSequence:qi,setextHeadingText:ii,strong:$t(),thematicBreak:$t()}};ml(B,(E||{}).mdastExtensions||[]);const W={};return q;function q(ri){let rr={type:"root",children:[]};const bo={stack:[rr],tokenStack:[],config:B,enter:it,exit:Dt,buffer:$e,resume:ft,data:W},Oo=[];let ra=-1;for(;++ra0){const ws=bo.tokenStack[bo.tokenStack.length-1];(ws[1]||js).call(bo,void 0,ws[0])}for(rr.position={start:Oa(ri.length>0?ri[0][1].start:{line:1,column:1,offset:0}),end:Oa(ri.length>0?ri[ri.length-2][1].end:{line:1,column:1,offset:0})},ra=-1;++ra-1&&q>$e||pe>-1&&q>pe||Ce>-1&&q>Ce||B.test(W.slice(0,q))?W:""}function Fa(E){const B=[];let W=-1,q=0,pe=0;for(;++W55295&&Ce<57344){const it=E.charCodeAt(W+1);Ce<56320&&it>56319&&it<57344?($e=String.fromCharCode(Ce,it),pe=1):$e="\uFFFD"}else $e=String.fromCharCode(Ce);$e&&(B.push(E.slice(q,W),encodeURIComponent($e)),q=W+pe+1,$e=""),pe&&(W+=pe,pe=0)}return B.join("")+E.slice(q)}function Gs(E,B){const W=[{type:"text",value:"\u21A9"}];return B>1&&W.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(B)}]}),W}function Vi(E,B){return"Back to reference "+(E+1)+(B>1?"-"+B:"")}function ks(E){const B=typeof E.options.clobberPrefix=="string"?E.options.clobberPrefix:"user-content-",W=E.options.footnoteBackContent||Gs,q=E.options.footnoteBackLabel||Vi,pe=E.options.footnoteLabel||"Footnotes",Ce=E.options.footnoteLabelTagName||"h2",$e=E.options.footnoteLabelProperties||{className:["sr-only"]},it=[];let $t=-1;for(;++$t0&&Si.push({type:"text",value:" "});let Or=typeof W=="string"?W:W($t,_t);typeof Or=="string"&&(Or={type:"text",value:Or}),Si.push({type:"element",tagName:"a",properties:{href:"#"+B+"fnref-"+en+(_t>1?"-"+_t:""),dataFootnoteBackref:"",ariaLabel:typeof q=="string"?q:q($t,_t),className:["data-footnote-backref"]},children:Array.isArray(Or)?Or:[Or]})}const lr=ft[ft.length-1];if(lr&&lr.type==="element"&&lr.tagName==="p"){const Or=lr.children[lr.children.length-1];Or&&Or.type==="text"?Or.value+=" ":lr.children.push({type:"text",value:" "}),lr.children.push(...Si)}else ft.push(...Si);const Ni={type:"element",tagName:"li",properties:{id:B+"fn-"+en},children:E.wrap(ft,!0)};E.patch(Dt,Ni),it.push(Ni)}if(it.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Ce,properties:cd(Uo({},(0,Ll.ZP)($e)),{id:"footnote-label"}),children:[{type:"text",value:pe}]},{type:"text",value:` +|(?![\\s\\S])))+`,"m"),alias:G,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(O)[0]}}}}),Object.defineProperty(v.languages.diff,"PREFIXES",{value:I})})(h)}},32126:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="django",I.aliases=["jinja2"];function I(O){O.register(v),function(B){B.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var G=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,F=B.languages["markup-templating"];B.hooks.add("before-tokenize",function(M){F.buildPlaceholders(M,"django",G)}),B.hooks.add("after-tokenize",function(M){F.tokenizePlaceholders(M,"django")}),B.languages.jinja2=B.languages.django,B.hooks.add("before-tokenize",function(M){F.buildPlaceholders(M,"jinja2",G)}),B.hooks.add("after-tokenize",function(M){F.tokenizePlaceholders(M,"jinja2")})}(O)}},26737:function(Q){"use strict";Q.exports=C,C.displayName="dnsZoneFile",C.aliases=[];function C(h){h.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},h.languages["dns-zone"]=h.languages["dns-zone-file"]}},90134:function(Q){"use strict";Q.exports=C,C.displayName="docker",C.aliases=["dockerfile"];function C(h){(function(v){var I=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,O=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return I}),B=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,G=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return B}),F={pattern:RegExp(B),greedy:!0},M={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function de(ae,te){return ae=ae.replace(//g,function(){return G}).replace(//g,function(){return O}),RegExp(ae,te)}v.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:de(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[F,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:de(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:de(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:de(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:M,string:F,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:M},v.languages.dockerfile=v.languages.docker})(h)}},51348:function(Q){"use strict";Q.exports=C,C.displayName="dot",C.aliases=["gv"];function C(h){(function(v){var I="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",O={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:v.languages.markup}};function B(G,F){return RegExp(G.replace(//g,function(){return I}),F)}v.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:B(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:O},"attr-value":{pattern:B(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:O},"attr-name":{pattern:B(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:O},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:B(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:O},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},v.languages.gv=v.languages.dot})(h)}},60841:function(Q){"use strict";Q.exports=C,C.displayName="ebnf",C.aliases=[];function C(h){h.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(Q){"use strict";Q.exports=C,C.displayName="editorconfig",C.aliases=[];function C(h){h.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(Q){"use strict";Q.exports=C,C.displayName="eiffel",C.aliases=[];function C(h){h.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="ejs",I.aliases=["eta"];function I(O){O.register(v),function(B){B.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:B.languages.javascript}},B.hooks.add("before-tokenize",function(G){var F=/<%(?!%)[\s\S]+?%>/g;B.languages["markup-templating"].buildPlaceholders(G,"ejs",F)}),B.hooks.add("after-tokenize",function(G){B.languages["markup-templating"].tokenizePlaceholders(G,"ejs")}),B.languages.eta=B.languages.ejs}(O)}},83125:function(Q){"use strict";Q.exports=C,C.displayName="elixir",C.aliases=[];function C(h){h.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},h.languages.elixir.string.forEach(function(v){v.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:h.languages.elixir}}}})}},9438:function(Q){"use strict";Q.exports=C,C.displayName="elm",C.aliases=[];function C(h){h.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(Q,C,h){"use strict";var v=h(75308),I=h(51478);Q.exports=O,O.displayName="erb",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){G.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:G.languages.ruby}},G.hooks.add("before-tokenize",function(F){var M=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;G.languages["markup-templating"].buildPlaceholders(F,"erb",M)}),G.hooks.add("after-tokenize",function(F){G.languages["markup-templating"].tokenizePlaceholders(F,"erb")})}(B)}},86549:function(Q){"use strict";Q.exports=C,C.displayName="erlang",C.aliases=[];function C(h){h.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(Q,C,h){"use strict";var v=h(29509),I=h(51478);Q.exports=O,O.displayName="etlua",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){G.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:G.languages.lua}},G.hooks.add("before-tokenize",function(F){var M=/<%[\s\S]+?%>/g;G.languages["markup-templating"].buildPlaceholders(F,"etlua",M)}),G.hooks.add("after-tokenize",function(F){G.languages["markup-templating"].tokenizePlaceholders(F,"etlua")})}(B)}},59250:function(Q){"use strict";Q.exports=C,C.displayName="excelFormula",C.aliases=[];function C(h){h.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},h.languages.xlsx=h.languages.xls=h.languages["excel-formula"]}},81226:function(Q){"use strict";Q.exports=C,C.displayName="factor",C.aliases=[];function C(h){(function(v){var I={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},O={number:/\\[^\s']|%\w/},B={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:I},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:I},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:I}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:O.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:O},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:O}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:O}},G=function(ae){return(ae+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},F=function(ae){return new RegExp("(^|\\s)(?:"+ae.map(G).join("|")+")(?=\\s|$)")},M={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(M).forEach(function(ae){B[ae].pattern=F(M[ae])});var de=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];B.combinators.pattern=F(de),v.languages.factor=B})(h)}},65245:function(Q){"use strict";Q.exports=C,C.displayName="$false",C.aliases=[];function C(h){(function(v){v.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete h.languages["firestore-security-rules"]["class-name"],h.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(Q){"use strict";Q.exports=C,C.displayName="flow",C.aliases=[];function C(h){(function(v){v.languages.flow=v.languages.extend("javascript",{}),v.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),v.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete v.languages.flow.parameter,v.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(v.languages.flow.keyword)||(v.languages.flow.keyword=[v.languages.flow.keyword]),v.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(h)}},39187:function(Q){"use strict";Q.exports=C,C.displayName="fortran",C.aliases=[];function C(h){h.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(Q){"use strict";Q.exports=C,C.displayName="fsharp",C.aliases=[];function C(h){h.languages.fsharp=h.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),h.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),h.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),h.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:h.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="ftl",I.aliases=[];function I(O){O.register(v),function(B){for(var G=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,F=0;F<2;F++)G=G.replace(//g,function(){return G});G=G.replace(//g,/[^\s\S]/.source);var M={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return G})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return G})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};M.string[1].inside.interpolation.inside.rest=M,B.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:M}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:M}}}},B.hooks.add("before-tokenize",function(de){var ae=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return G}),"gi");B.languages["markup-templating"].buildPlaceholders(de,"ftl",ae)}),B.hooks.add("after-tokenize",function(de){B.languages["markup-templating"].tokenizePlaceholders(de,"ftl")})}(O)}},33534:function(Q){"use strict";Q.exports=C,C.displayName="gap",C.aliases=[];function C(h){h.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},h.languages.gap.shell.inside.gap.inside=h.languages.gap}},9885:function(Q){"use strict";Q.exports=C,C.displayName="gcode",C.aliases=[];function C(h){h.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(Q){"use strict";Q.exports=C,C.displayName="gdscript",C.aliases=[];function C(h){h.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(Q){"use strict";Q.exports=C,C.displayName="gedcom",C.aliases=[];function C(h){h.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(Q){"use strict";Q.exports=C,C.displayName="gherkin",C.aliases=[];function C(h){(function(v){var I=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;v.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+I+")(?:"+I+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(I),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(h)}},58230:function(Q){"use strict";Q.exports=C,C.displayName="git",C.aliases=[];function C(h){h.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="glsl",I.aliases=[];function I(O){O.register(v),O.languages.glsl=O.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(Q){"use strict";Q.exports=C,C.displayName="gml",C.aliases=[];function C(h){h.languages.gamemakerlanguage=h.languages.gml=h.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(Q){"use strict";Q.exports=C,C.displayName="gn",C.aliases=["gni"];function C(h){h.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},h.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=h.languages.gn,h.languages.gni=h.languages.gn}},95769:function(Q){"use strict";Q.exports=C,C.displayName="goModule",C.aliases=[];function C(h){h.languages["go-mod"]=h.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(Q){"use strict";Q.exports=C,C.displayName="go",C.aliases=[];function C(h){h.languages.go=h.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),h.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete h.languages.go["class-name"]}},92823:function(Q){"use strict";Q.exports=C,C.displayName="graphql",C.aliases=[];function C(h){h.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:h.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},h.hooks.add("after-tokenize",function(I){if(I.language!=="graphql")return;var O=I.tokens.filter(function(Ae){return typeof Ae!="string"&&Ae.type!=="comment"&&Ae.type!=="scalar"}),B=0;function G(Ae){return O[B+Ae]}function F(Ae,Pe){Pe=Pe||0;for(var fe=0;fe0)){var Xe=M(/^\{$/,/^\}$/);if(Xe===-1)continue;for(var Oe=B;Oe=0&&de(Ce,"variable-input")}}}}})}},63092:function(Q){"use strict";Q.exports=C,C.displayName="groovy",C.aliases=[];function C(h){h.languages.groovy=h.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),h.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),h.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),h.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),h.hooks.add("wrap",function(v){if(v.language==="groovy"&&v.type==="string"){var I=v.content.value[0];if(I!="'"){var O=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;I==="$"&&(O=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),v.content.value=v.content.value.replace(/</g,"<").replace(/&/g,"&"),v.content=h.highlight(v.content.value,{expression:{pattern:O,lookbehind:!0,inside:h.languages.groovy}}),v.classes.push(I==="/"?"regex":"gstring")}}})}},21550:function(Q,C,h){"use strict";var v=h(75308);Q.exports=I,I.displayName="haml",I.aliases=[];function I(O){O.register(v),function(B){B.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:B.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:B.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:B.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:B.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:B.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:B.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:B.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var G="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",F=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],M={},de=0,ae=F.length;de@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},B.hooks.add("before-tokenize",function(G){var F=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;B.languages["markup-templating"].buildPlaceholders(G,"handlebars",F)}),B.hooks.add("after-tokenize",function(G){B.languages["markup-templating"].tokenizePlaceholders(G,"handlebars")}),B.languages.hbs=B.languages.handlebars}(O)}},2050:function(Q){"use strict";Q.exports=C,C.displayName="haskell",C.aliases=["hs"];function C(h){h.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},h.languages.hs=h.languages.haskell}},67967:function(Q){"use strict";Q.exports=C,C.displayName="haxe",C.aliases=[];function C(h){h.languages.haxe=h.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),h.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:h.languages.haxe}}},string:/[\s\S]+/}}}),h.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),h.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(Q){"use strict";Q.exports=C,C.displayName="hcl",C.aliases=[];function C(h){h.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="hlsl",I.aliases=[];function I(O){O.register(v),O.languages.hlsl=O.languages.extend("c",{"class-name":[O.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(Q){"use strict";Q.exports=C,C.displayName="hoon",C.aliases=[];function C(h){h.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(Q){"use strict";Q.exports=C,C.displayName="hpkp",C.aliases=[];function C(h){h.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(Q){"use strict";Q.exports=C,C.displayName="hsts",C.aliases=[];function C(h){h.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(Q){"use strict";Q.exports=C,C.displayName="http",C.aliases=[];function C(h){(function(v){function I(te){return RegExp("(^(?:"+te+"):[ ]*(?![ ]))[^]+","i")}v.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:v.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:I(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:v.languages.csp},{pattern:I(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:v.languages.hpkp},{pattern:I(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:v.languages.hsts},{pattern:I(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var O=v.languages,B={"application/javascript":O.javascript,"application/json":O.json||O.javascript,"application/xml":O.xml,"text/xml":O.xml,"text/html":O.html,"text/css":O.css,"text/plain":O.plain},G={"application/json":!0,"application/xml":!0};function F(te){var Me=te.replace(/^[a-z]+\//,""),we="\\w+/(?:[\\w.-]+\\+)+"+Me+"(?![+\\w.-])";return"(?:"+te+"|"+we+")"}var M;for(var de in B)if(B[de]){M=M||{};var ae=G[de]?F(de):de;M[de.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+ae+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:B[de]}}M&&v.languages.insertBefore("http","header",M)})(h)}},72252:function(Q){"use strict";Q.exports=C,C.displayName="ichigojam",C.aliases=[];function C(h){h.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(Q){"use strict";Q.exports=C,C.displayName="icon",C.aliases=[];function C(h){h.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(Q){"use strict";Q.exports=C,C.displayName="icuMessageFormat",C.aliases=[];function C(h){(function(v){function I(de,ae){return ae<=0?/[]/.source:de.replace(//g,function(){return I(de,ae-1)})}var O=/'[{}:=,](?:[^']|'')*'(?!')/,B={pattern:/''/,greedy:!0,alias:"operator"},G={pattern:O,greedy:!0,inside:{escape:B}},F=I(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return O.source}),8),M={pattern:RegExp(F),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};v.languages["icu-message-format"]={argument:{pattern:RegExp(F),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":M,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":M,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+I(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:B,string:G},M.inside.message.inside=v.languages["icu-message-format"],v.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=v.languages["icu-message-format"]})(h)}},23328:function(Q,C,h){"use strict";var v=h(2050);Q.exports=I,I.displayName="idris",I.aliases=["idr"];function I(O){O.register(v),O.languages.idris=O.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),O.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),O.languages.idr=O.languages.idris}},74494:function(Q){"use strict";Q.exports=C,C.displayName="iecst",C.aliases=[];function C(h){h.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(Q){"use strict";Q.exports=C,C.displayName="ignore",C.aliases=["gitignore","hgignore","npmignore"];function C(h){(function(v){v.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},v.languages.gitignore=v.languages.ignore,v.languages.hgignore=v.languages.ignore,v.languages.npmignore=v.languages.ignore})(h)}},22152:function(Q){"use strict";Q.exports=C,C.displayName="inform7",C.aliases=[];function C(h){h.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},h.languages.inform7.string.inside.substitution.inside.rest=h.languages.inform7,h.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(Q){"use strict";Q.exports=C,C.displayName="ini",C.aliases=[];function C(h){h.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(Q){"use strict";Q.exports=C,C.displayName="io",C.aliases=[];function C(h){h.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(Q){"use strict";Q.exports=C,C.displayName="java",C.aliases=[];function C(h){(function(v){var I=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,O=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,B={pattern:RegExp(O+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};v.languages.java=v.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[B,{pattern:RegExp(O+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:B.inside}],keyword:I,function:[v.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),v.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),v.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":B,keyword:I,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return I.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(h)}},4005:function(Q,C,h){"use strict";var v=h(7093),I=h(53510);Q.exports=O,O.displayName="javadoc",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){var F=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,M=/#\s*\w+(?:\s*\([^()]*\))?/.source,de=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return M});G.languages.javadoc=G.languages.extend("javadoclike",{}),G.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+de+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:G.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:F,lookbehind:!0,inside:G.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:F,lookbehind:!0,inside:{tag:G.languages.markup.tag,entity:G.languages.markup.entity,code:{pattern:/.+/,inside:G.languages.java,alias:"language-java"}}}}}],tag:G.languages.markup.tag,entity:G.languages.markup.entity}),G.languages.javadoclike.addSupport("java",G.languages.javadoc)}(B)}},53510:function(Q){"use strict";Q.exports=C,C.displayName="javadoclike",C.aliases=[];function C(h){(function(v){var I=v.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function O(G,F){var M="doc-comment",de=v.languages[G];if(de){var ae=de[M];if(!ae){var te={};te[M]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},de=v.languages.insertBefore(G,"comment",te),ae=de[M]}if(ae instanceof RegExp&&(ae=de[M]={pattern:ae}),Array.isArray(ae))for(var Me=0,we=ae.length;Me|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),h.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,h.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:h.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:h.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:h.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:h.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),h.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:h.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),h.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),h.languages.markup&&(h.languages.markup.tag.addInlined("script","javascript"),h.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),h.languages.js=h.languages.javascript}},24799:function(Q){"use strict";Q.exports=C,C.displayName="javastacktrace",C.aliases=[];function C(h){h.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(Q){"use strict";Q.exports=C,C.displayName="jexl",C.aliases=[];function C(h){h.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(Q){"use strict";Q.exports=C,C.displayName="jolie",C.aliases=[];function C(h){h.languages.jolie=h.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),h.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(Q){"use strict";Q.exports=C,C.displayName="jq",C.aliases=[];function C(h){(function(v){var I=/\\\((?:[^()]|\([^()]*\))*\)/.source,O=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return I})),B={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+I),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},G=v.languages.jq={comment:/#.*/,property:{pattern:RegExp(O.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:B},string:{pattern:O,lookbehind:!0,greedy:!0,inside:B},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};B.interpolation.inside.content.inside=G})(h)}},89246:function(Q){"use strict";Q.exports=C,C.displayName="jsExtras",C.aliases=[];function C(h){(function(v){v.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+v.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),v.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+v.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),v.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function I(de,ae){return RegExp(de.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),ae)}v.languages.insertBefore("javascript","keyword",{imports:{pattern:I(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:v.languages.javascript},exports:{pattern:I(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:v.languages.javascript}}),v.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),v.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),v.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:I(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var O=["function","function-variable","method","method-variable","property-access"],B=0;B=ke.length)return;var Le=Ne[Ie];if(typeof Le=="string"||typeof Le.content=="string"){var Je=ke[fe],Ye=typeof Le=="string"?Le:Le.content,re=Ye.indexOf(Je);if(re!==-1){++fe;var lt=Ye.substring(0,re),We=te(pe[Je]),Pt=Ye.substring(re+Je.length),xt=[];if(lt&&xt.push(lt),xt.push(We),Pt){var kt=[Pt];ee(kt),xt.push.apply(xt,kt)}typeof Le=="string"?(Ne.splice.apply(Ne,[Ie,1].concat(xt)),Ie+=xt.length-1):Le.content=xt}}else{var Ct=Le.content;Array.isArray(Ct)?ee(Ct):ee([Ct])}}}return ee(me),new v.Token(Ae,me,"language-"+Ae,Oe)}var we={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};v.hooks.add("after-tokenize",function(Oe){if(!(Oe.language in we))return;function Ce(Ae){for(var Pe=0,fe=Ae.length;Pe\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return M})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+M),lookbehind:!0,inside:{string:F.string,number:F.number,boolean:F.boolean,keyword:G.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:F,alias:"language-javascript"}}}}),G.languages.javadoclike.addSupport("javascript",G.languages.jsdoc)}(B)}},15628:function(Q){"use strict";Q.exports=C,C.displayName="json",C.aliases=["webmanifest"];function C(h){h.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},h.languages.webmanifest=h.languages.json}},14320:function(Q,C,h){"use strict";var v=h(15628);Q.exports=I,I.displayName="json5",I.aliases=[];function I(O){O.register(v),function(B){var G=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;B.languages.json5=B.languages.extend("json",{property:[{pattern:RegExp(G.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:G,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(O)}},73222:function(Q,C,h){"use strict";var v=h(15628);Q.exports=I,I.displayName="jsonp",I.aliases=[];function I(O){O.register(v),O.languages.jsonp=O.languages.extend("json",{punctuation:/[{}[\]();,.]/}),O.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(Q){"use strict";Q.exports=C,C.displayName="jsstacktrace",C.aliases=[];function C(h){h.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(Q){"use strict";Q.exports=C,C.displayName="jsx",C.aliases=[];function C(h){(function(v){var I=v.util.clone(v.languages.javascript),O=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,B=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,G=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function F(ae,te){return ae=ae.replace(//g,function(){return O}).replace(//g,function(){return B}).replace(//g,function(){return G}),RegExp(ae,te)}G=F(G).source,v.languages.jsx=v.languages.extend("markup",I),v.languages.jsx.tag.pattern=F(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),v.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,v.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,v.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,v.languages.jsx.tag.inside.comment=I.comment,v.languages.insertBefore("inside","attr-name",{spread:{pattern:F(//.source),inside:v.languages.jsx}},v.languages.jsx.tag),v.languages.insertBefore("inside","special-attr",{script:{pattern:F(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:v.languages.jsx}}},v.languages.jsx.tag);var M=function(ae){return ae?typeof ae=="string"?ae:typeof ae.content=="string"?ae.content:ae.content.map(M).join(""):""},de=function(ae){for(var te=[],Me=0;Me0&&te[te.length-1].tagName===M(we.content[0].content[1])&&te.pop():we.content[we.content.length-1].content==="/>"||te.push({tagName:M(we.content[0].content[1]),openedBraces:0}):te.length>0&&we.type==="punctuation"&&we.content==="{"?te[te.length-1].openedBraces++:te.length>0&&te[te.length-1].openedBraces>0&&we.type==="punctuation"&&we.content==="}"?te[te.length-1].openedBraces--:Xe=!0),(Xe||typeof we=="string")&&te.length>0&&te[te.length-1].openedBraces===0){var Oe=M(we);Me0&&(typeof ae[Me-1]=="string"||ae[Me-1].type==="plain-text")&&(Oe=M(ae[Me-1])+Oe,ae.splice(Me-1,1),Me--),ae[Me]=new v.Token("plain-text",Oe,null,Oe)}we.content&&typeof we.content!="string"&&de(we.content)}};v.hooks.add("after-tokenize",function(ae){ae.language!=="jsx"&&ae.language!=="tsx"||de(ae.tokens)})})(h)}},40604:function(Q){"use strict";Q.exports=C,C.displayName="julia",C.aliases=[];function C(h){h.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(Q){"use strict";Q.exports=C,C.displayName="keepalived",C.aliases=[];function C(h){h.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(Q){"use strict";Q.exports=C,C.displayName="keyman",C.aliases=[];function C(h){h.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(Q){"use strict";Q.exports=C,C.displayName="kotlin",C.aliases=["kt","kts"];function C(h){(function(v){v.languages.kotlin=v.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete v.languages.kotlin["class-name"];var I={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:v.languages.kotlin}};v.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:I},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:I},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete v.languages.kotlin.string,v.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),v.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),v.languages.kt=v.languages.kotlin,v.languages.kts=v.languages.kotlin})(h)}},37524:function(Q){"use strict";Q.exports=C,C.displayName="kumir",C.aliases=["kum"];function C(h){(function(v){var I=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function O(B,G){return RegExp(B.replace(//g,I),G)}v.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:O(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:O(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:O(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:O(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:O(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:O(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:O(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:O(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},v.languages.kum=v.languages.kumir})(h)}},6658:function(Q){"use strict";Q.exports=C,C.displayName="kusto",C.aliases=[];function C(h){h.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(Q){"use strict";Q.exports=C,C.displayName="latex",C.aliases=["tex","context"];function C(h){(function(v){var I=/\\(?:[^a-z()[\]]|[a-z*]+)/i,O={"equation-command":{pattern:I,alias:"regex"}};v.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:O,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:O,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:I,alias:"selector"},punctuation:/[[\]{}&]/},v.languages.tex=v.languages.latex,v.languages.context=v.languages.latex})(h)}},22776:function(Q,C,h){"use strict";var v=h(51478),I=h(53852);Q.exports=O,O.displayName="latte",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){G.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:G.languages.php}};var F=G.languages.extend("markup",{});G.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:G.languages.php}}}}}},F.tag),G.hooks.add("before-tokenize",function(M){if(M.language==="latte"){var de=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;G.languages["markup-templating"].buildPlaceholders(M,"latte",de),M.grammar=F}}),G.hooks.add("after-tokenize",function(M){G.languages["markup-templating"].tokenizePlaceholders(M,"latte")})}(B)}},89700:function(Q){"use strict";Q.exports=C,C.displayName="less",C.aliases=[];function C(h){h.languages.less=h.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),h.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(Q,C,h){"use strict";var v=h(48780);Q.exports=I,I.displayName="lilypond",I.aliases=[];function I(O){O.register(v),function(B){for(var G=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,F=5,M=0;M/g,function(){return G});G=G.replace(//g,/[^\s\S]/.source);var de=B.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return G}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:B.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};de["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=de,B.languages.ly=de}(O)}},39940:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="liquid",I.aliases=[];function I(O){O.register(v),O.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},O.hooks.add("before-tokenize",function(B){var G=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,F=!1;O.languages["markup-templating"].buildPlaceholders(B,"liquid",G,function(M){var de=/^\{%-?\s*(\w+)/.exec(M);if(de){var ae=de[1];if(ae==="raw"&&!F)return F=!0,!0;if(ae==="endraw")return F=!1,!0}return!F})}),O.hooks.add("after-tokenize",function(B){O.languages["markup-templating"].tokenizePlaceholders(B,"liquid")})}},34973:function(Q){"use strict";Q.exports=C,C.displayName="lisp",C.aliases=[];function C(h){(function(v){function I(Oe){return RegExp(/(\()/.source+"(?:"+Oe+")"+/(?=[\s\)])/.source)}function O(Oe){return RegExp(/([\s([])/.source+"(?:"+Oe+")"+/(?=[\s)])/.source)}var B=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,G="&"+B,F="(\\()",M="(?=\\))",de="(?=\\s)",ae=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,te={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+B+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+B),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+B),alias:"property"},splice:{pattern:RegExp(",@?"+B),alias:["symbol","variable"]},keyword:[{pattern:RegExp(F+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+de),lookbehind:!0},{pattern:RegExp(F+"(?:append|by|collect|concat|do|finally|for|in|return)"+de),lookbehind:!0}],declare:{pattern:I(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:I(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:O(/nil|t/.source),lookbehind:!0},number:{pattern:O(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(F+"def(?:const|custom|group|var)\\s+"+B),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(B)}},defun:{pattern:RegExp(F+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+B+/\s+\(/.source+ae+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+B),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(F+"lambda\\s+\\(\\s*(?:&?"+B+"(?:\\s+&?"+B+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(F+B),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Me={"lisp-marker":RegExp(G),varform:{pattern:RegExp(/\(/.source+B+/\s+(?=\S)/.source+ae+/\)/.source),inside:te},argument:{pattern:RegExp(/(^|[\s(])/.source+B),lookbehind:!0,alias:"variable"},rest:te},we="\\S+(?:\\s+\\S+)*",Xe={pattern:RegExp(F+ae+M),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+we),inside:Me},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+we),inside:Me},keys:{pattern:RegExp("&key\\s+"+we+"(?:\\s+&allow-other-keys)?"),inside:Me},argument:{pattern:RegExp(B),alias:"variable"},punctuation:/[()]/}};te.lambda.inside.arguments=Xe,te.defun.inside.arguments=v.util.clone(Xe),te.defun.inside.arguments.inside.sublist=Xe,v.languages.lisp=te,v.languages.elisp=te,v.languages.emacs=te,v.languages["emacs-lisp"]=te})(h)}},98135:function(Q){"use strict";Q.exports=C,C.displayName="livescript",C.aliases=[];function C(h){h.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},h.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=h.languages.livescript}},36907:function(Q){"use strict";Q.exports=C,C.displayName="llvm",C.aliases=[];function C(h){(function(v){v.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(h)}},3567:function(Q){"use strict";Q.exports=C,C.displayName="log",C.aliases=[];function C(h){h.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:h.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(Q){"use strict";Q.exports=C,C.displayName="lolcode",C.aliases=[];function C(h){h.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},29509:function(Q){"use strict";Q.exports=C,C.displayName="lua",C.aliases=[];function C(h){h.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(Q){"use strict";Q.exports=C,C.displayName="magma",C.aliases=[];function C(h){h.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(Q){"use strict";Q.exports=C,C.displayName="makefile",C.aliases=[];function C(h){h.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(Q){"use strict";Q.exports=C,C.displayName="markdown",C.aliases=["md"];function C(h){(function(v){var I=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function O(Me){return Me=Me.replace(//g,function(){return I}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Me+")")}var B=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,G=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return B}),F=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;v.languages.markdown=v.languages.extend("markup",{}),v.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:v.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+G+F+"(?:"+G+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+G+F+")(?:"+G+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(B),inside:v.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+G+")"+F+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+G+"$"),inside:{"table-header":{pattern:RegExp(B),alias:"important",inside:v.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:O(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:O(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:O(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:O(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Me){["url","bold","italic","strike","code-snippet"].forEach(function(we){Me!==we&&(v.languages.markdown[Me].inside.content.inside[we]=v.languages.markdown[we])})}),v.hooks.add("after-tokenize",function(Me){if(Me.language!=="markdown"&&Me.language!=="md")return;function we(Xe){if(!(!Xe||typeof Xe=="string"))for(var Oe=0,Ce=Xe.length;Oe",quot:'"'},ae=String.fromCodePoint||String.fromCharCode;function te(Me){var we=Me.replace(M,"");return we=we.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(Xe,Oe){if(Oe=Oe.toLowerCase(),Oe[0]==="#"){var Ce;return Oe[1]==="x"?Ce=parseInt(Oe.slice(2),16):Ce=Number(Oe.slice(1)),ae(Ce)}else{var Ae=de[Oe];return Ae||Xe}}),we}v.languages.md=v.languages.markdown})(h)}},51478:function(Q){"use strict";Q.exports=C,C.displayName="markupTemplating",C.aliases=[];function C(h){(function(v){function I(O,B){return"___"+O.toUpperCase()+B+"___"}Object.defineProperties(v.languages["markup-templating"]={},{buildPlaceholders:{value:function(O,B,G,F){if(O.language===B){var M=O.tokenStack=[];O.code=O.code.replace(G,function(de){if(typeof F=="function"&&!F(de))return de;for(var ae=M.length,te;O.code.indexOf(te=I(B,ae))!==-1;)++ae;return M[ae]=de,te}),O.grammar=v.languages.markup}}},tokenizePlaceholders:{value:function(O,B){if(O.language!==B||!O.tokenStack)return;O.grammar=v.languages[B];var G=0,F=Object.keys(O.tokenStack);function M(de){for(var ae=0;ae=F.length);ae++){var te=de[ae];if(typeof te=="string"||te.content&&typeof te.content=="string"){var Me=F[G],we=O.tokenStack[Me],Xe=typeof te=="string"?te:te.content,Oe=I(B,Me),Ce=Xe.indexOf(Oe);if(Ce>-1){++G;var Ae=Xe.substring(0,Ce),Pe=new v.Token(B,v.tokenize(we,O.grammar),"language-"+B,we),fe=Xe.substring(Ce+Oe.length),pe=[];Ae&&pe.push.apply(pe,M([Ae])),pe.push(Pe),fe&&pe.push.apply(pe,M([fe])),typeof te=="string"?de.splice.apply(de,[ae,1].concat(pe)):te.content=pe}}else te.content&&M(te.content)}return de}M(O.tokens)}}})})(h)}},70614:function(Q){"use strict";Q.exports=C,C.displayName="markup",C.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function C(h){h.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},h.languages.markup.tag.inside["attr-value"].inside.entity=h.languages.markup.entity,h.languages.markup.doctype.inside["internal-subset"].inside=h.languages.markup,h.hooks.add("wrap",function(v){v.type==="entity"&&(v.attributes.title=v.content.value.replace(/&/,"&"))}),Object.defineProperty(h.languages.markup.tag,"addInlined",{value:function(I,O){var B={};B["language-"+O]={pattern:/(^$)/i,lookbehind:!0,inside:h.languages[O]},B.cdata=/^$/i;var G={"included-cdata":{pattern://i,inside:B}};G["language-"+O]={pattern:/[\s\S]+/,inside:h.languages[O]};var F={};F[I]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return I}),"i"),lookbehind:!0,greedy:!0,inside:G},h.languages.insertBefore("markup","cdata",F)}}),Object.defineProperty(h.languages.markup.tag,"addAttribute",{value:function(v,I){h.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+v+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[I,"language-"+I],inside:h.languages[I]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),h.languages.html=h.languages.markup,h.languages.mathml=h.languages.markup,h.languages.svg=h.languages.markup,h.languages.xml=h.languages.extend("markup",{}),h.languages.ssml=h.languages.xml,h.languages.atom=h.languages.xml,h.languages.rss=h.languages.xml}},16928:function(Q){"use strict";Q.exports=C,C.displayName="matlab",C.aliases=[];function C(h){h.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(Q){"use strict";Q.exports=C,C.displayName="maxscript",C.aliases=[];function C(h){(function(v){var I=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;v.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+I.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+I.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:I,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(h)}},37164:function(Q){"use strict";Q.exports=C,C.displayName="mel",C.aliases=[];function C(h){h.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},h.languages.mel.code.inside.rest=h.languages.mel}},25153:function(Q){"use strict";Q.exports=C,C.displayName="mermaid",C.aliases=[];function C(h){h.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(Q){"use strict";Q.exports=C,C.displayName="mizar",C.aliases=[];function C(h){h.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(Q){"use strict";Q.exports=C,C.displayName="mongodb",C.aliases=[];function C(h){(function(v){var I=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],O=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];I=I.map(function(G){return G.replace("$","\\$")});var B="(?:"+I.join("|")+")\\b";v.languages.mongodb=v.languages.extend("javascript",{}),v.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+B+"(?:\\1)?$")}}}),v.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},v.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+O.join("|")+")\\b"),alias:"keyword"}})})(h)}},65626:function(Q){"use strict";Q.exports=C,C.displayName="monkey",C.aliases=[];function C(h){h.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(Q){"use strict";Q.exports=C,C.displayName="moonscript",C.aliases=["moon"];function C(h){h.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},h.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=h.languages.moonscript,h.languages.moon=h.languages.moonscript}},40722:function(Q){"use strict";Q.exports=C,C.displayName="n1ql",C.aliases=[];function C(h){h.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(Q){"use strict";Q.exports=C,C.displayName="n4js",C.aliases=["n4jsd"];function C(h){h.languages.n4js=h.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),h.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),h.languages.n4jsd=h.languages.n4js}},41224:function(Q){"use strict";Q.exports=C,C.displayName="nand2tetrisHdl",C.aliases=[];function C(h){h.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(Q){"use strict";Q.exports=C,C.displayName="naniscript",C.aliases=[];function C(h){(function(v){var I=/\{[^\r\n\[\]{}]*\}/,O={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:I,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};v.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:I,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:O}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:I,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:O},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},v.languages.nani=v.languages.naniscript,v.hooks.add("after-tokenize",function(F){var M=F.tokens;M.forEach(function(de){if(typeof de!="string"&&de.type==="generic-text"){var ae=G(de);B(ae)||(de.type="bad-line",de.content=ae)}})});function B(F){for(var M="[]{}",de=[],ae=0;ae=&|$!]/}}},32964:function(Q){"use strict";Q.exports=C,C.displayName="neon",C.aliases=[];function C(h){h.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(Q){"use strict";Q.exports=C,C.displayName="nevod",C.aliases=[];function C(h){h.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(Q){"use strict";Q.exports=C,C.displayName="nginx",C.aliases=[];function C(h){(function(v){var I=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;v.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:I}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:I}},punctuation:/[{};]/}})(h)}},66791:function(Q){"use strict";Q.exports=C,C.displayName="nim",C.aliases=[];function C(h){h.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(Q){"use strict";Q.exports=C,C.displayName="nix",C.aliases=[];function C(h){h.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},h.languages.nix.string.inside.interpolation.inside=h.languages.nix}},13490:function(Q){"use strict";Q.exports=C,C.displayName="nsis",C.aliases=[];function C(h){h.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="objectivec",I.aliases=["objc"];function I(O){O.register(v),O.languages.objectivec=O.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete O.languages.objectivec["class-name"],O.languages.objc=O.languages.objectivec}},66894:function(Q){"use strict";Q.exports=C,C.displayName="ocaml",C.aliases=[];function C(h){h.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(Q,C,h){"use strict";var v=h(79440);Q.exports=I,I.displayName="opencl",I.aliases=[];function I(O){O.register(v),function(B){B.languages.opencl=B.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),B.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var G={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};B.languages.insertBefore("c","keyword",G),B.languages.cpp&&(G["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},B.languages.insertBefore("cpp","keyword",G))}(O)}},27734:function(Q){"use strict";Q.exports=C,C.displayName="openqasm",C.aliases=["qasm"];function C(h){h.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},h.languages.qasm=h.languages.openqasm}},91889:function(Q){"use strict";Q.exports=C,C.displayName="oz",C.aliases=[];function C(h){h.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(Q){"use strict";Q.exports=C,C.displayName="parigp",C.aliases=[];function C(h){h.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var v=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return v=v.map(function(I){return I.split("").join(" *")}).join("|"),RegExp("\\b(?:"+v+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(Q){"use strict";Q.exports=C,C.displayName="parser",C.aliases=[];function C(h){(function(v){var I=v.languages.parser=v.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});I=v.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:I.keyword,variable:I.variable,function:I.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:I.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:I.punctuation}}}),v.languages.insertBefore("inside","punctuation",{expression:I.expression,keyword:I.keyword,variable:I.variable,function:I.function,escape:I.escape,"parser-punctuation":{pattern:I.punctuation,alias:"punctuation"}},I.tag.inside["attr-value"])})(h)}},92949:function(Q){"use strict";Q.exports=C,C.displayName="pascal",C.aliases=["objectpascal"];function C(h){h.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},h.languages.pascal.asm.inside=h.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),h.languages.objectpascal=h.languages.pascal}},5681:function(Q){"use strict";Q.exports=C,C.displayName="pascaligo",C.aliases=[];function C(h){(function(v){var I=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,O=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return I}),B=v.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return O}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return O}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return O})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},G=["comment","keyword","builtin","operator","punctuation"].reduce(function(F,M){return F[M]=B[M],F},{});B["class-name"].forEach(function(F){F.inside=G})})(h)}},70696:function(Q){"use strict";Q.exports=C,C.displayName="pcaxis",C.aliases=["px"];function C(h){h.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},h.languages.px=h.languages.pcaxis}},35790:function(Q){"use strict";Q.exports=C,C.displayName="peoplecode",C.aliases=["pcode"];function C(h){h.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},h.languages.pcode=h.languages.peoplecode}},25777:function(Q){"use strict";Q.exports=C,C.displayName="perl",C.aliases=[];function C(h){(function(v){var I=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;v.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,I].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,I].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,I+/\s*/.source+I].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(h)}},65889:function(Q,C,h){"use strict";var v=h(53852);Q.exports=I,I.displayName="phpExtras",I.aliases=[];function I(O){O.register(v),O.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="php",I.aliases=[];function I(O){O.register(v),function(B){var G=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,F=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],M=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,de=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,ae=/[{}\[\](),:;]/;B.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:G,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:F,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:M,operator:de,punctuation:ae};var te={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:B.languages.php},Me=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:te}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:te}}];B.languages.insertBefore("php","variable",{string:Me,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:G,string:Me,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:F,number:M,operator:de,punctuation:ae}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),B.hooks.add("before-tokenize",function(we){if(/<\?/.test(we.code)){var Xe=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;B.languages["markup-templating"].buildPlaceholders(we,"php",Xe)}}),B.hooks.add("after-tokenize",function(we){B.languages["markup-templating"].tokenizePlaceholders(we,"php")})}(O)}},97719:function(Q,C,h){"use strict";var v=h(53852),I=h(53510);Q.exports=O,O.displayName="phpdoc",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){var F=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;G.languages.phpdoc=G.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+F+"\\s+)?)\\$\\w+"),lookbehind:!0}}),G.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+F),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),G.languages.javadoclike.addSupport("php",G.languages.phpdoc)}(B)}},63839:function(Q,C,h){"use strict";var v=h(69435);Q.exports=I,I.displayName="plsql",I.aliases=[];function I(O){O.register(v),O.languages.plsql=O.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),O.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(Q){"use strict";Q.exports=C,C.displayName="powerquery",C.aliases=[];function C(h){h.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},h.languages.pq=h.languages.powerquery,h.languages.mscript=h.languages.powerquery}},32530:function(Q){"use strict";Q.exports=C,C.displayName="powershell",C.aliases=[];function C(h){(function(v){var I=v.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};I.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:I},boolean:I.boolean,variable:I.variable}})(h)}},8938:function(Q){"use strict";Q.exports=C,C.displayName="processing",C.aliases=[];function C(h){h.languages.processing=h.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),h.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(Q){"use strict";Q.exports=C,C.displayName="prolog",C.aliases=[];function C(h){h.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(Q){"use strict";Q.exports=C,C.displayName="promql",C.aliases=[];function C(h){(function(v){var I=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],O=["on","ignoring","group_right","group_left","by","without"],B=["offset"],G=I.concat(O,B);v.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+O.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+G.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(h)}},15375:function(Q){"use strict";Q.exports=C,C.displayName="properties",C.aliases=[];function C(h){h.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(Q){"use strict";Q.exports=C,C.displayName="protobuf",C.aliases=[];function C(h){(function(v){var I=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;v.languages.protobuf=v.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),v.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:I}},builtin:I,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(h)}},83588:function(Q){"use strict";Q.exports=C,C.displayName="psl",C.aliases=[];function C(h){h.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(Q){"use strict";Q.exports=C,C.displayName="pug",C.aliases=[];function C(h){(function(v){v.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:v.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:v.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:v.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:v.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:v.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:v.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:v.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:v.languages.javascript}],punctuation:/[.\-!=|]+/};for(var I=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,O=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],B={},G=0,F=O.length;G",function(){return M.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[M.language,"language-"+M.language],inside:v.languages[M.language]}}})}v.languages.insertBefore("pug","filter",B)})(h)}},21294:function(Q){"use strict";Q.exports=C,C.displayName="puppet",C.aliases=[];function C(h){(function(v){v.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var I=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:v.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];v.languages.puppet.heredoc[0].inside.interpolation=I,v.languages.puppet.string.inside["double-quoted"].inside.interpolation=I})(h)}},38709:function(Q){"use strict";Q.exports=C,C.displayName="pure",C.aliases=[];function C(h){(function(v){v.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var I=["c",{lang:"c++",alias:"cpp"},"fortran"],O=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;I.forEach(function(B){var G=B;if(typeof B!="string"&&(G=B.alias,B=B.lang),v.languages[G]){var F={};F["inline-lang-"+G]={pattern:RegExp(O.replace("",B.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:v.util.clone(v.languages.pure["inline-lang"].inside)},F["inline-lang-"+G].inside.rest=v.util.clone(v.languages[G]),v.languages.insertBefore("pure","inline-lang",F)}}),v.languages.c&&(v.languages.pure["inline-lang"].inside.rest=v.util.clone(v.languages.c))})(h)}},15008:function(Q){"use strict";Q.exports=C,C.displayName="purebasic",C.aliases=[];function C(h){h.languages.purebasic=h.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),h.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete h.languages.purebasic["class-name"],delete h.languages.purebasic.boolean,h.languages.pbfasm=h.languages.purebasic}},96549:function(Q,C,h){"use strict";var v=h(2050);Q.exports=I,I.displayName="purescript",I.aliases=["purs"];function I(O){O.register(v),O.languages.purescript=O.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[O.languages.haskell.operator[0],O.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),O.languages.purs=O.languages.purescript}},5221:function(Q){"use strict";Q.exports=C,C.displayName="python",C.aliases=["py"];function C(h){h.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},h.languages.python["string-interpolation"].inside.interpolation.inside.rest=h.languages.python,h.languages.py=h.languages.python}},27447:function(Q){"use strict";Q.exports=C,C.displayName="q",C.aliases=[];function C(h){h.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(Q){"use strict";Q.exports=C,C.displayName="qml",C.aliases=[];function C(h){(function(v){for(var I=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,O=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,B=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return I}).replace(//g,function(){return O}),G=0;G<2;G++)B=B.replace(//g,function(){return B});B=B.replace(//g,"[^\\s\\S]"),v.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return B}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:v.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return B}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:v.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(h)}},75542:function(Q){"use strict";Q.exports=C,C.displayName="qore",C.aliases=[];function C(h){h.languages.qore=h.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(Q){"use strict";Q.exports=C,C.displayName="qsharp",C.aliases=["qs"];function C(h){(function(v){function I(Xe,Oe){return Xe.replace(/<<(\d+)>>/g,function(Ce,Ae){return"(?:"+Oe[+Ae]+")"})}function O(Xe,Oe,Ce){return RegExp(I(Xe,Oe),Ce||"")}function B(Xe,Oe){for(var Ce=0;Ce>/g,function(){return"(?:"+Xe+")"});return Xe.replace(/<>/g,"[^\\s\\S]")}var G={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function F(Xe){return"\\b(?:"+Xe.trim().replace(/ /g,"|")+")\\b"}var M=RegExp(F(G.type+" "+G.other)),de=/\b[A-Za-z_]\w*\b/.source,ae=I(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[de]),te={keyword:M,punctuation:/[<>()?,.:[\]]/},Me=/"(?:\\.|[^\\"])*"/.source;v.languages.qsharp=v.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:O(/(^|[^$\\])<<0>>/.source,[Me]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:O(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[ae]),lookbehind:!0,inside:te},{pattern:O(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[ae]),lookbehind:!0,inside:te}],keyword:M,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),v.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var we=B(I(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[Me]),2);v.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:O(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[we]),greedy:!0,inside:{interpolation:{pattern:O(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[we]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:v.languages.qsharp}}},string:/[\s\S]+/}}})})(h),h.languages.qs=h.languages.qsharp}},44298:function(Q){"use strict";Q.exports=C,C.displayName="r",C.aliases=[];function C(h){h.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(Q,C,h){"use strict";var v=h(48780);Q.exports=I,I.displayName="racket",I.aliases=["rkt"];function I(O){O.register(v),O.languages.racket=O.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),O.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),O.languages.rkt=O.languages.racket}},75266:function(Q){"use strict";Q.exports=C,C.displayName="reason",C.aliases=[];function C(h){h.languages.reason=h.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),h.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete h.languages.reason.function}},48139:function(Q){"use strict";Q.exports=C,C.displayName="regex",C.aliases=[];function C(h){(function(v){var I={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},O=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,B={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},G={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},F="(?:[^\\\\-]|"+O.source+")",M=RegExp(F+"-"+F),de={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};v.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:M,inside:{escape:O,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":I,"char-set":G,escape:O}},"special-escape":I,"char-set":B,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":de}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:O,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(Q){"use strict";Q.exports=C,C.displayName="renpy",C.aliases=["rpy"];function C(h){h.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},h.languages.rpy=h.languages.renpy}},63919:function(Q){"use strict";Q.exports=C,C.displayName="rest",C.aliases=[];function C(h){h.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(Q){"use strict";Q.exports=C,C.displayName="rip",C.aliases=[];function C(h){h.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(Q){"use strict";Q.exports=C,C.displayName="roboconf",C.aliases=[];function C(h){h.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(Q){"use strict";Q.exports=C,C.displayName="robotframework",C.aliases=[];function C(h){(function(v){var I={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},O={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function B(de,ae){var te={};te["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Me in ae)te[Me]=ae[Me];return te.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},te.variable=O,te.comment=I,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return de}),"im"),alias:"section",inside:te}}var G={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},F={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:O}},M={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:O}};v.languages.robotframework={settings:B("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:B("Variables"),"test-cases":B("Test Cases",{"test-name":F,documentation:G,property:M}),keywords:B("Keywords",{"keyword-name":F,documentation:G,property:M}),tasks:B("Tasks",{"task-name":F,documentation:G,property:M}),comment:I},v.languages.robot=v.languages.robotframework})(h)}},75308:function(Q){"use strict";Q.exports=C,C.displayName="ruby",C.aliases=["rb"];function C(h){(function(v){v.languages.ruby=v.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),v.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var I={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:v.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete v.languages.ruby.function;var O="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",B=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;v.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+O+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:I,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:I,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+B),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+B+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),v.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+O),greedy:!0,inside:{interpolation:I,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:I,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:I,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+O),greedy:!0,inside:{interpolation:I,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:I,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete v.languages.ruby.string,v.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),v.languages.rb=v.languages.ruby})(h)}},45315:function(Q){"use strict";Q.exports=C,C.displayName="rust",C.aliases=[];function C(h){(function(v){for(var I=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,O=0;O<2;O++)I=I.replace(//g,function(){return I});I=I.replace(//g,function(){return/[^\s\S]/.source}),v.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+I),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},v.languages.rust["closure-params"].inside.rest=v.languages.rust,v.languages.rust.attribute.inside.string=v.languages.rust.string})(h)}},13794:function(Q){"use strict";Q.exports=C,C.displayName="sas",C.aliases=[];function C(h){(function(v){var I=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,O=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,B={pattern:RegExp(I+"[bx]"),alias:"number"},G={pattern:/&[a-z_]\w*/i},F={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},M={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},de=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],ae={pattern:RegExp(I),greedy:!0},te=/[$%@.(){}\[\];,\\]/,Me={pattern:/%?\b\w+(?=\()/,alias:"keyword"},we={function:Me,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":G,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:O,"numeric-constant":B,punctuation:te,string:ae},Xe={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},Oe={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},Ce={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Ae={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},Pe=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,fe={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return Pe}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return Pe}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:de,function:Me,"arg-value":we["arg-value"],operator:we.operator,argument:we.arg,number:O,"numeric-constant":B,punctuation:te,string:ae}},pe={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};v.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return I}),"im"),alias:"language-sql",inside:v.languages.sql},"global-statements":Ce,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:O,"numeric-constant":B,punctuation:te,string:ae}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,alias:"language-groovy",inside:v.languages.groovy},keyword:pe,"submit-statement":Ae,"global-statements":Ce,number:O,"numeric-constant":B,punctuation:te,string:ae}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,alias:"language-lua",inside:v.languages.lua},keyword:pe,"submit-statement":Ae,"global-statements":Ce,number:O,"numeric-constant":B,punctuation:te,string:ae}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:de,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:we}},"cas-actions":fe,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:we},step:M,keyword:pe,function:Me,format:Xe,altformat:Oe,"global-statements":Ce,number:O,"numeric-constant":B,punctuation:te,string:ae}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return I}),"im"),lookbehind:!0,inside:we},"macro-keyword":F,"macro-variable":G,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":F,"macro-variable":G,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:te}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:de,number:O,"numeric-constant":B}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:we},"cas-actions":fe,comment:de,function:Me,format:Xe,altformat:Oe,"numeric-constant":B,datetime:{pattern:RegExp(I+"(?:dt?|t)"),alias:"number"},string:ae,step:M,keyword:pe,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:O,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:te}})(h)}},41299:function(Q){"use strict";Q.exports=C,C.displayName="sass",C.aliases=[];function C(h){(function(v){v.languages.sass=v.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),v.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete v.languages.sass.atrule;var I=/\$[-\w]+|#\{\$[-\w]+\}/,O=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];v.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:I,operator:O}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:I,operator:O,important:v.languages.sass.important}}}),delete v.languages.sass.property,delete v.languages.sass.important,v.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(h)}},98177:function(Q,C,h){"use strict";var v=h(7093);Q.exports=I,I.displayName="scala",I.aliases=[];function I(O){O.register(v),O.languages.scala=O.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),O.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:O.languages.scala}}},string:/[\s\S]+/}}}),delete O.languages.scala["class-name"],delete O.languages.scala.function}},48780:function(Q){"use strict";Q.exports=C,C.displayName="scheme",C.aliases=[];function C(h){(function(v){v.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(I({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function I(O){for(var B in O)O[B]=O[B].replace(/<[\w\s]+>/g,function(G){return"(?:"+O[G].trim()+")"});return O[B]}})(h)}},79793:function(Q){"use strict";Q.exports=C,C.displayName="scss",C.aliases=[];function C(h){h.languages.scss=h.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),h.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),h.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),h.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),h.languages.scss.atrule.inside.rest=h.languages.scss}},52085:function(Q,C,h){"use strict";var v=h(3058);Q.exports=I,I.displayName="shellSession",I.aliases=[];function I(O){O.register(v),function(B){var G=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");B.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return G}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:B.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},B.languages["sh-session"]=B.languages.shellsession=B.languages["shell-session"]}(O)}},65411:function(Q){"use strict";Q.exports=C,C.displayName="smali",C.aliases=[];function C(h){h.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(Q){"use strict";Q.exports=C,C.displayName="smalltalk",C.aliases=[];function C(h){h.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="smarty",I.aliases=[];function I(O){O.register(v),function(B){B.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:B.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},B.languages.smarty["embedded-php"].inside.smarty.inside=B.languages.smarty,B.languages.smarty.string[0].inside.interpolation.inside.expression.inside=B.languages.smarty;var G=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,F=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return G.source}),"g");B.hooks.add("before-tokenize",function(M){var de="{literal}",ae="{/literal}",te=!1;B.languages["markup-templating"].buildPlaceholders(M,"smarty",F,function(Me){return Me===ae&&(te=!1),te?!1:(Me===de&&(te=!0),!0)})}),B.hooks.add("after-tokenize",function(M){B.languages["markup-templating"].tokenizePlaceholders(M,"smarty")})}(O)}},66433:function(Q){"use strict";Q.exports=C,C.displayName="sml",C.aliases=["smlnj"];function C(h){(function(v){var I=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;v.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return I.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:I,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},v.languages.sml["class-name"][0].inside=v.languages.sml,v.languages.smlnj=v.languages.sml})(h)}},34855:function(Q){"use strict";Q.exports=C,C.displayName="solidity",C.aliases=["sol"];function C(h){h.languages.solidity=h.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),h.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),h.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),h.languages.sol=h.languages.solidity}},12998:function(Q){"use strict";Q.exports=C,C.displayName="solutionFile",C.aliases=[];function C(h){(function(v){var I={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};v.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:I}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:I}},guid:I,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},v.languages.sln=v.languages["solution-file"]})(h)}},10202:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="soy",I.aliases=[];function I(O){O.register(v),function(B){var G=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,F=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;B.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:G,greedy:!0},number:F,punctuation:/[\[\].?]/}},string:{pattern:G,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:F,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},B.hooks.add("before-tokenize",function(M){var de=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,ae="{literal}",te="{/literal}",Me=!1;B.languages["markup-templating"].buildPlaceholders(M,"soy",de,function(we){return we===te&&(Me=!1),Me?!1:(we===ae&&(Me=!0),!0)})}),B.hooks.add("after-tokenize",function(M){B.languages["markup-templating"].tokenizePlaceholders(M,"soy")})}(O)}},41186:function(Q,C,h){"use strict";var v=h(58710);Q.exports=I,I.displayName="sparql",I.aliases=["rq"];function I(O){O.register(v),O.languages.sparql=O.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),O.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),O.languages.rq=O.languages.sparql}},68963:function(Q){"use strict";Q.exports=C,C.displayName="splunkSpl",C.aliases=[];function C(h){h.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(Q){"use strict";Q.exports=C,C.displayName="sqf",C.aliases=[];function C(h){h.languages.sqf=h.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),h.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:h.languages.sqf.comment}}}),delete h.languages.sqf["class-name"]}},69435:function(Q){"use strict";Q.exports=C,C.displayName="sql",C.aliases=[];function C(h){h.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(Q){"use strict";Q.exports=C,C.displayName="squirrel",C.aliases=[];function C(h){h.languages.squirrel=h.languages.extend("clike",{comment:[h.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),h.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),h.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(Q){"use strict";Q.exports=C,C.displayName="stan",C.aliases=[];function C(h){(function(v){var I=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;v.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+I.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,I],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},v.languages.stan.constraint.inside.expression.inside=v.languages.stan})(h)}},89032:function(Q){"use strict";Q.exports=C,C.displayName="stylus",C.aliases=[];function C(h){(function(v){var I={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},O={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},B={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:I,number:O,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:I,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:O,punctuation:/[{}()\[\];:,]/};B.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:B}},B.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:B}},v.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:B}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:B}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:B}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:B.interpolation}},rest:B}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:B.interpolation,comment:B.comment,punctuation:/[{},]/}},func:B.func,string:B.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:B.interpolation,punctuation:/[{}()\[\];:.]/}})(h)}},40241:function(Q){"use strict";Q.exports=C,C.displayName="swift",C.aliases=[];function C(h){h.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},h.languages.swift["string-literal"].forEach(function(v){v.inside.interpolation.inside=h.languages.swift})}},24812:function(Q){"use strict";Q.exports=C,C.displayName="systemd",C.aliases=[];function C(h){(function(v){var I={pattern:/^[;#].*/m,greedy:!0},O=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;v.languages.systemd={comment:I,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+O+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+O+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:I,quoted:{pattern:RegExp(/(^|\s)/.source+O),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(h)}},16747:function(Q,C,h){"use strict";var v=h(73584),I=h(87648);Q.exports=O,O.displayName="t4Cs",O.aliases=[];function O(B){B.register(v),B.register(I),B.languages.t4=B.languages["t4-cs"]=B.languages["t4-templating"].createT4("csharp")}},73584:function(Q){"use strict";Q.exports=C,C.displayName="t4Templating",C.aliases=[];function C(h){(function(v){function I(B,G,F){return{pattern:RegExp("<#"+B+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+B+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:G,alias:F}}}}function O(B){var G=v.languages[B],F="language-"+B;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:I("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:I("=",G,F),"class-feature":I("\\+",G,F),standard:I("",G,F)}}}}v.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:O})})(h)}},79243:function(Q,C,h){"use strict";var v=h(73584),I=h(55686);Q.exports=O,O.displayName="t4Vb",O.aliases=[];function O(B){B.register(v),B.register(I),B.languages["t4-vb"]=B.languages["t4-templating"].createT4("vbnet")}},31788:function(Q,C,h){"use strict";var v=h(14409);Q.exports=I,I.displayName="tap",I.aliases=[];function I(O){O.register(v),O.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:O.languages.yaml,alias:"language-yaml"}}}},60871:function(Q){"use strict";Q.exports=C,C.displayName="tcl",C.aliases=[];function C(h){h.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(Q){"use strict";Q.exports=C,C.displayName="textile",C.aliases=[];function C(h){(function(v){var I=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,O=/\)|\((?![^|()\n]+\))/.source;function B(Me,we){return RegExp(Me.replace(//g,function(){return"(?:"+I+")"}).replace(//g,function(){return"(?:"+O+")"}),we||"")}var G={css:{pattern:/\{[^{}]+\}/,inside:{rest:v.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},F=v.languages.textile=v.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:B(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:B(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:G},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:B(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:B(/(^[*#]+)+/.source),lookbehind:!0,inside:G},punctuation:/^[*#]+/}},table:{pattern:B(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:B(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:G},punctuation:/\||^\./}},inline:{pattern:B(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:B(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:B(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:B(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:B(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:B(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:B(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:B(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:B(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:G},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:B(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:B(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:B(/(^")+/.source),lookbehind:!0,inside:G},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:B(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:B(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:B(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:G},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),M=F.phrase.inside,de={inline:M.inline,link:M.link,image:M.image,footnote:M.footnote,acronym:M.acronym,mark:M.mark};F.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var ae=M.inline.inside;ae.bold.inside=de,ae.italic.inside=de,ae.inserted.inside=de,ae.deleted.inside=de,ae.span.inside=de;var te=M.table.inside;te.inline=de.inline,te.link=de.link,te.image=de.image,te.footnote=de.footnote,te.acronym=de.acronym,te.mark=de.mark})(h)}},14693:function(Q){"use strict";Q.exports=C,C.displayName="toml",C.aliases=[];function C(h){(function(v){var I=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function O(B){return B.replace(/__/g,function(){return I})}v.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(O(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(O(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(h)}},8743:function(Q){"use strict";Q.exports=C,C.displayName="tremor",C.aliases=[];function C(h){(function(v){v.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var I=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;v.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+I+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+I+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(I),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:v.languages.tremor}}},string:/[\s\S]+/}},v.languages.troy=v.languages.tremor,v.languages.trickle=v.languages.tremor})(h)}},1689:function(Q,C,h){"use strict";var v=h(24103),I=h(92784);Q.exports=O,O.displayName="tsx",O.aliases=[];function O(B){B.register(v),B.register(I),function(G){var F=G.util.clone(G.languages.typescript);G.languages.tsx=G.languages.extend("jsx",F),delete G.languages.tsx.parameter,delete G.languages.tsx["literal-property"];var M=G.languages.tsx.tag;M.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+M.pattern.source+")",M.pattern.flags),M.lookbehind=!0}(B)}},69210:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="tt2",I.aliases=[];function I(O){O.register(v),function(B){B.languages.tt2=B.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),B.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),B.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),B.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete B.languages.tt2.string,B.hooks.add("before-tokenize",function(G){var F=/\[%[\s\S]+?%\]/g;B.languages["markup-templating"].buildPlaceholders(G,"tt2",F)}),B.hooks.add("after-tokenize",function(G){B.languages["markup-templating"].tokenizePlaceholders(G,"tt2")})}(O)}},58710:function(Q){"use strict";Q.exports=C,C.displayName="turtle",C.aliases=[];function C(h){h.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},h.languages.trig=h.languages.turtle}},60452:function(Q,C,h){"use strict";var v=h(51478);Q.exports=I,I.displayName="twig",I.aliases=[];function I(O){O.register(v),O.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},O.hooks.add("before-tokenize",function(B){if(B.language==="twig"){var G=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;O.languages["markup-templating"].buildPlaceholders(B,"twig",G)}}),O.hooks.add("after-tokenize",function(B){O.languages["markup-templating"].tokenizePlaceholders(B,"twig")})}},92784:function(Q){"use strict";Q.exports=C,C.displayName="typescript",C.aliases=["ts"];function C(h){(function(v){v.languages.typescript=v.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),v.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete v.languages.typescript.parameter,delete v.languages.typescript["literal-property"];var I=v.languages.extend("typescript",{});delete I["class-name"],v.languages.typescript["class-name"].inside=I,v.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:I}}}}),v.languages.ts=v.languages.typescript})(h)}},36489:function(Q){"use strict";Q.exports=C,C.displayName="typoscript",C.aliases=["tsconfig"];function C(h){(function(v){var I=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;v.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:I}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:I,number:/^\d+$/,punctuation:/[,|:]/}},keyword:I,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},v.languages.tsconfig=v.languages.typoscript})(h)}},78380:function(Q){"use strict";Q.exports=C,C.displayName="unrealscript",C.aliases=["uc","uscript"];function C(h){h.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},h.languages.uc=h.languages.uscript=h.languages.unrealscript}},10409:function(Q){"use strict";Q.exports=C,C.displayName="uorazor",C.aliases=[];function C(h){h.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(Q){"use strict";Q.exports=C,C.displayName="uri",C.aliases=["url"];function C(h){h.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},h.languages.url=h.languages.uri}},82028:function(Q){"use strict";Q.exports=C,C.displayName="v",C.aliases=[];function C(h){(function(v){var I={pattern:/[\s\S]+/,inside:null};v.languages.v=v.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":I}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),I.inside=v.languages.v,v.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),v.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),v.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:v.languages.v.generic.inside}}}})})(h)}},62282:function(Q){"use strict";Q.exports=C,C.displayName="vala",C.aliases=[];function C(h){h.languages.vala=h.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),h.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:h.languages.vala}},string:/[\s\S]+/}}}),h.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:h.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(Q,C,h){"use strict";var v=h(51422);Q.exports=I,I.displayName="vbnet",I.aliases=[];function I(O){O.register(v),O.languages.vbnet=O.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(Q){"use strict";Q.exports=C,C.displayName="velocity",C.aliases=[];function C(h){(function(v){v.languages.velocity=v.languages.extend("markup",{});var I={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};I.variable.inside={string:I.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:I.number,boolean:I.boolean,punctuation:I.punctuation},v.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:I}},variable:I.variable}),v.languages.velocity.tag.inside["attr-value"].inside.rest=v.languages.velocity})(h)}},37116:function(Q){"use strict";Q.exports=C,C.displayName="verilog",C.aliases=[];function C(h){h.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(Q){"use strict";Q.exports=C,C.displayName="vhdl",C.aliases=[];function C(h){h.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(Q){"use strict";Q.exports=C,C.displayName="vim",C.aliases=[];function C(h){h.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(Q){"use strict";Q.exports=C,C.displayName="visualBasic",C.aliases=[];function C(h){h.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},h.languages.vb=h.languages["visual-basic"],h.languages.vba=h.languages["visual-basic"]}},17723:function(Q){"use strict";Q.exports=C,C.displayName="warpscript",C.aliases=[];function C(h){h.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(Q){"use strict";Q.exports=C,C.displayName="wasm",C.aliases=[];function C(h){h.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(Q){"use strict";Q.exports=C,C.displayName="webIdl",C.aliases=[];function C(h){(function(v){var I=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,O="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+I+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,B={};v.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+I),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:B},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+O),lookbehind:!0,inside:B},{pattern:RegExp("("+/\bcallback\s+/.source+I+/\s*=\s*/.source+")"+O),lookbehind:!0,inside:B},{pattern:RegExp(/(\btypedef\b\s*)/.source+O),lookbehind:!0,inside:B},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+I),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+I),lookbehind:!0},RegExp(I+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+I),lookbehind:!0},{pattern:RegExp(O+"(?="+/\s*(?:\.{3}\s*)?/.source+I+/\s*[(),;=]/.source+")"),inside:B}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var G in v.languages["web-idl"])G!=="class-name"&&(B[G]=v.languages["web-idl"][G]);v.languages.webidl=v.languages["web-idl"]})(h)}},8921:function(Q){"use strict";Q.exports=C,C.displayName="wiki",C.aliases=[];function C(h){h.languages.wiki=h.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:h.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),h.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:h.languages.markup.tag.inside}}}})}},13429:function(Q){"use strict";Q.exports=C,C.displayName="wolfram",C.aliases=["mathematica","wl","nb"];function C(h){h.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},h.languages.mathematica=h.languages.wolfram,h.languages.wl=h.languages.wolfram,h.languages.nb=h.languages.wolfram}},65197:function(Q){"use strict";Q.exports=C,C.displayName="wren",C.aliases=[];function C(h){h.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},h.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:h.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(Q){"use strict";Q.exports=C,C.displayName="xeora",C.aliases=["xeoracube"];function C(h){(function(v){v.languages.xeora=v.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),v.languages.insertBefore("inside","punctuation",{variable:v.languages.xeora["function-inline"].inside.variable},v.languages.xeora["function-block"]),v.languages.xeoracube=v.languages.xeora})(h)}},35:function(Q){"use strict";Q.exports=C,C.displayName="xmlDoc",C.aliases=[];function C(h){(function(v){function I(F,M){v.languages[F]&&v.languages.insertBefore(F,"comment",{"doc-comment":M})}var O=v.languages.markup.tag,B={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:O}},G={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:O}};I("csharp",B),I("fsharp",B),I("vbnet",G)})(h)}},86095:function(Q){"use strict";Q.exports=C,C.displayName="xojo",C.aliases=[];function C(h){h.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(Q){"use strict";Q.exports=C,C.displayName="xquery",C.aliases=[];function C(h){(function(v){v.languages.xquery=v.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),v.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,v.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,v.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,v.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:v.languages.xquery,alias:"language-xquery"};var I=function(B){return typeof B=="string"?B:typeof B.content=="string"?B.content:B.content.map(I).join("")},O=function(B){for(var G=[],F=0;F0&&G[G.length-1].tagName===I(M.content[0].content[1])&&G.pop():M.content[M.content.length-1].content==="/>"||G.push({tagName:I(M.content[0].content[1]),openedBraces:0}):G.length>0&&M.type==="punctuation"&&M.content==="{"&&(!B[F+1]||B[F+1].type!=="punctuation"||B[F+1].content!=="{")&&(!B[F-1]||B[F-1].type!=="plain-text"||B[F-1].content!=="{")?G[G.length-1].openedBraces++:G.length>0&&G[G.length-1].openedBraces>0&&M.type==="punctuation"&&M.content==="}"?G[G.length-1].openedBraces--:M.type!=="comment"&&(de=!0)),(de||typeof M=="string")&&G.length>0&&G[G.length-1].openedBraces===0){var ae=I(M);F0&&(typeof B[F-1]=="string"||B[F-1].type==="plain-text")&&(ae=I(B[F-1])+ae,B.splice(F-1,1),F--),/^\s+$/.test(ae)?B[F]=ae:B[F]=new v.Token("plain-text",ae,null,ae)}M.content&&typeof M.content!="string"&&O(M.content)}};v.hooks.add("after-tokenize",function(B){B.language==="xquery"&&O(B.tokens)})})(h)}},14409:function(Q){"use strict";Q.exports=C,C.displayName="yaml",C.aliases=["yml"];function C(h){(function(v){var I=/[*&][^\s[\]{},]+/,O=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,B="(?:"+O.source+"(?:[ ]+"+I.source+")?|"+I.source+"(?:[ ]+"+O.source+")?)",G=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),F=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function M(de,ae){ae=(ae||"").replace(/m/g,"")+"m";var te=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return B}).replace(/<>/g,function(){return de});return RegExp(te,ae)}v.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return B})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return B}).replace(/<>/g,function(){return"(?:"+G+"|"+F+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:M(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:M(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:M(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:M(F),lookbehind:!0,greedy:!0},number:{pattern:M(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:O,important:I,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},v.languages.yml=v.languages.yaml})(h)}},33460:function(Q){"use strict";Q.exports=C,C.displayName="yang",C.aliases=[];function C(h){h.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(Q){"use strict";Q.exports=C,C.displayName="zig",C.aliases=[];function C(h){(function(v){function I(ae){return function(){return ae}}var O=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,B="\\b(?!"+O.source+")(?!\\d)\\w+\\b",G=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,F=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,I(G)),M=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,I(B)),de="(?!\\s)(?:!?\\s*(?:"+F+"\\s*)*"+M+")+";v.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,I(de)).replace(//g,I(G))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,I(de)).replace(//g,I(G))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:O,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},v.languages.zig["class-name"].forEach(function(ae){ae.inside===null&&(ae.inside=v.languages.zig)})})(h)}},92848:function(Q,C){"use strict";var h;C.Q=B,h=G;var v="",I=" ",O=/[ \t\n\r\f]+/g;function B(F){var M=String(F||v).trim();return M===v?[]:M.split(O)}function G(F){return F.join(I).trim()}},77179:function(Q,C,h){"use strict";var v=this&&this.__importDefault||function(G){return G&&G.__esModule?G:{default:G}},I=v(h(58970)),O=h(39159);function B(G,F){var M={};return!G||typeof G!="string"||(0,I.default)(G,function(de,ae){de&&ae&&(M[(0,O.camelCase)(de,F)]=ae)}),M}B.default=B,Q.exports=B},39159:function(Q,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.camelCase=void 0;var h=/^--[a-zA-Z0-9_-]+$/,v=/-([a-z])/g,I=/^[^-]+$/,O=/^-(webkit|moz|ms|o|khtml)-/,B=/^-(ms)-/,G=function(ae){return!ae||I.test(ae)||h.test(ae)},F=function(ae,te){return te.toUpperCase()},M=function(ae,te){return"".concat(te,"-")},de=function(ae,te){return te===void 0&&(te={}),G(ae)?ae:(ae=ae.toLowerCase(),te.reactCompat?ae=ae.replace(B,M):ae=ae.replace(O,M),ae.replace(v,F))};C.camelCase=de},58970:function(Q,C,h){"use strict";var v=this&&this.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(C,"__esModule",{value:!0}),C.default=O;var I=v(h(93193));function O(B,G){var F=null;if(!B||typeof B!="string")return F;var M=(0,I.default)(B),de=typeof G=="function";return M.forEach(function(ae){if(ae.type==="declaration"){var te=ae.property,Me=ae.value;de?G(te,Me,ae):Me&&(F=F||{},F[te]=Me)}}),F}},97270:function(Q){Q.exports=h;var C=Object.prototype.hasOwnProperty;function h(){for(var v={},I=0;I{const Ne=(Le,Je)=>(ke.set(Je,Le),Le),Ie=Le=>{if(ke.has(Le))return ke.get(Le);const[Je,Ye]=ee[Le];switch(Je){case I:case v:return Ne(Ye,Le);case O:{const re=Ne([],Le);for(const lt of Ye)re.push(Ie(lt));return re}case B:{const re=Ne({},Le);for(const[lt,We]of Ye)re[Ie(lt)]=Ie(We);return re}case G:return Ne(new Date(Ye),Le);case F:{const{source:re,flags:lt}=Ye;return Ne(new RegExp(re,lt),Le)}case M:{const re=Ne(new Map,Le);for(const[lt,We]of Ye)re.set(Ie(lt),Ie(We));return re}case de:{const re=Ne(new Set,Le);for(const lt of Ye)re.add(Ie(lt));return re}case ae:{const{name:re,message:lt}=Ye;return Ne(new Me[re](lt),Le)}case te:return Ne(BigInt(Ye),Le);case"BigInt":return Ne(Object(BigInt(Ye)),Le);case"ArrayBuffer":return Ne(new Uint8Array(Ye).buffer,Ye);case"DataView":{const{buffer:re}=new Uint8Array(Ye);return Ne(new DataView(re),Ye)}}return Ne(new Me[Je](Ye),Le)};return Ie},Xe=ke=>we(new Map,ke)(0),Oe="",{toString:Ce}={},{keys:Ae}=Object,Pe=ke=>{const ee=typeof ke;if(ee!=="object"||!ke)return[I,ee];const Ne=Ce.call(ke).slice(8,-1);switch(Ne){case"Array":return[O,Oe];case"Object":return[B,Oe];case"Date":return[G,Oe];case"RegExp":return[F,Oe];case"Map":return[M,Oe];case"Set":return[de,Oe];case"DataView":return[O,Ne]}return Ne.includes("Array")?[O,Ne]:Ne.includes("Error")?[ae,Ne]:[B,Ne]},fe=([ke,ee])=>ke===I&&(ee==="function"||ee==="symbol"),pe=(ke,ee,Ne,Ie)=>{const Le=(Ye,re)=>{const lt=Ie.push(Ye)-1;return Ne.set(re,lt),lt},Je=Ye=>{if(Ne.has(Ye))return Ne.get(Ye);let[re,lt]=Pe(Ye);switch(re){case I:{let Pt=Ye;switch(lt){case"bigint":re=te,Pt=Ye.toString();break;case"function":case"symbol":if(ke)throw new TypeError("unable to serialize "+lt);Pt=null;break;case"undefined":return Le([v],Ye)}return Le([re,Pt],Ye)}case O:{if(lt){let kt=Ye;return lt==="DataView"?kt=new Uint8Array(Ye.buffer):lt==="ArrayBuffer"&&(kt=new Uint8Array(Ye)),Le([lt,[...kt]],Ye)}const Pt=[],xt=Le([re,Pt],Ye);for(const kt of Ye)Pt.push(Je(kt));return xt}case B:{if(lt)switch(lt){case"BigInt":return Le([lt,Ye.toString()],Ye);case"Boolean":case"Number":case"String":return Le([lt,Ye.valueOf()],Ye)}if(ee&&"toJSON"in Ye)return Je(Ye.toJSON());const Pt=[],xt=Le([re,Pt],Ye);for(const kt of Ae(Ye))(ke||!fe(Pe(Ye[kt])))&&Pt.push([Je(kt),Je(Ye[kt])]);return xt}case G:return Le([re,Ye.toISOString()],Ye);case F:{const{source:Pt,flags:xt}=Ye;return Le([re,{source:Pt,flags:xt}],Ye)}case M:{const Pt=[],xt=Le([re,Pt],Ye);for(const[kt,Ct]of Ye)(ke||!(fe(Pe(kt))||fe(Pe(Ct))))&&Pt.push([Je(kt),Je(Ct)]);return xt}case de:{const Pt=[],xt=Le([re,Pt],Ye);for(const kt of Ye)(ke||!fe(Pe(kt)))&&Pt.push(Je(kt));return xt}}const{message:We}=Ye;return Le([re,{name:lt,message:We}],Ye)};return Je},xe=(ke,{json:ee,lossy:Ne}={})=>{const Ie=[];return pe(!(ee||Ne),!!ee,new Map,Ie)(ke),Ie};var me=typeof structuredClone=="function"?(ke,ee)=>ee&&("json"in ee||"lossy"in ee)?Xe(xe(ke,ee)):structuredClone(ke):(ke,ee)=>Xe(xe(ke,ee))},11630:function(Q,C,h){"use strict";h.d(C,{P:function(){return I},Q:function(){return v}});function v(O){const B=[],G=String(O||"");let F=G.indexOf(","),M=0,de=!1;for(;!de;){F===-1&&(F=G.length,de=!0);const ae=G.slice(M,F).trim();(ae||!de)&&B.push(ae),M=F+1,F=G.indexOf(",",M)}return B}function I(O,B){const G=B||{};return(O[O.length-1]===""?[...O,""]:O).join((G.padRight?" ":"")+","+(G.padLeft===!1?"":" ")).trim()}},87342:function(Q,C,h){"use strict";h.d(C,{ok:function(){return O},t1:function(){return B}});function v(G){return G}function I(){}function O(){}function B(){}},81994:function(Q,C,h){"use strict";h.d(C,{h:function(){return Ae},s:function(){return Pe}});var v=h(58222),I=h(11630);const O=/[#.]/g;function B(fe,pe){const xe=fe||"",me={};let ke=0,ee,Ne;for(;ke-1&&Oe.test(String.fromCharCode(Ae))}}},58222:function(Q,C,h){"use strict";h.d(C,{dy:function(){return Ce},YP:function(){return Ae}});class v{constructor(fe,pe,xe){this.normal=pe,this.property=fe,xe&&(this.space=xe)}}v.prototype.normal={},v.prototype.property={},v.prototype.space=void 0;function I(Pe,fe){const pe={},xe={};for(const me of Pe)Object.assign(pe,me.property),Object.assign(xe,me.normal);return new v(pe,xe,fe)}var O=h(64326),B=h(95516);function G(Pe){const fe={},pe={};for(const[xe,me]of Object.entries(Pe.properties)){const ke=new B.I(xe,Pe.transform(Pe.attributes||{},xe),me,Pe.space);Pe.mustUseProperty&&Pe.mustUseProperty.includes(xe)&&(ke.mustUseProperty=!0),fe[xe]=ke,pe[(0,O.F)(xe)]=xe,pe[(0,O.F)(ke.attribute)]=xe}return new v(fe,pe,Pe.space)}var F=h(56488);const M=G({properties:{ariaActiveDescendant:null,ariaAtomic:F.booleanish,ariaAutoComplete:null,ariaBusy:F.booleanish,ariaChecked:F.booleanish,ariaColCount:F.number,ariaColIndex:F.number,ariaColSpan:F.number,ariaControls:F.spaceSeparated,ariaCurrent:null,ariaDescribedBy:F.spaceSeparated,ariaDetails:null,ariaDisabled:F.booleanish,ariaDropEffect:F.spaceSeparated,ariaErrorMessage:null,ariaExpanded:F.booleanish,ariaFlowTo:F.spaceSeparated,ariaGrabbed:F.booleanish,ariaHasPopup:null,ariaHidden:F.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:F.spaceSeparated,ariaLevel:F.number,ariaLive:null,ariaModal:F.booleanish,ariaMultiLine:F.booleanish,ariaMultiSelectable:F.booleanish,ariaOrientation:null,ariaOwns:F.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:F.number,ariaPressed:F.booleanish,ariaReadOnly:F.booleanish,ariaRelevant:null,ariaRequired:F.booleanish,ariaRoleDescription:F.spaceSeparated,ariaRowCount:F.number,ariaRowIndex:F.number,ariaRowSpan:F.number,ariaSelected:F.booleanish,ariaSetSize:F.number,ariaSort:null,ariaValueMax:F.number,ariaValueMin:F.number,ariaValueNow:F.number,ariaValueText:null,role:null},transform(Pe,fe){return fe==="role"?fe:"aria-"+fe.slice(4).toLowerCase()}});function de(Pe,fe){return fe in Pe?Pe[fe]:fe}function ae(Pe,fe){return de(Pe,fe.toLowerCase())}const te=G({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:F.commaSeparated,acceptCharset:F.spaceSeparated,accessKey:F.spaceSeparated,action:null,allow:null,allowFullScreen:F.boolean,allowPaymentRequest:F.boolean,allowUserMedia:F.boolean,alt:null,as:null,async:F.boolean,autoCapitalize:null,autoComplete:F.spaceSeparated,autoFocus:F.boolean,autoPlay:F.boolean,blocking:F.spaceSeparated,capture:null,charSet:null,checked:F.boolean,cite:null,className:F.spaceSeparated,cols:F.number,colSpan:null,content:null,contentEditable:F.booleanish,controls:F.boolean,controlsList:F.spaceSeparated,coords:F.number|F.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F.boolean,defer:F.boolean,dir:null,dirName:null,disabled:F.boolean,download:F.overloadedBoolean,draggable:F.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F.boolean,formTarget:null,headers:F.spaceSeparated,height:F.number,hidden:F.boolean,high:F.number,href:null,hrefLang:null,htmlFor:F.spaceSeparated,httpEquiv:F.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:F.boolean,inputMode:null,integrity:null,is:null,isMap:F.boolean,itemId:null,itemProp:F.spaceSeparated,itemRef:F.spaceSeparated,itemScope:F.boolean,itemType:F.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F.boolean,low:F.number,manifest:null,max:null,maxLength:F.number,media:null,method:null,min:null,minLength:F.number,multiple:F.boolean,muted:F.boolean,name:null,nonce:null,noModule:F.boolean,noValidate:F.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:F.boolean,optimum:F.number,pattern:null,ping:F.spaceSeparated,placeholder:null,playsInline:F.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F.boolean,referrerPolicy:null,rel:F.spaceSeparated,required:F.boolean,reversed:F.boolean,rows:F.number,rowSpan:F.number,sandbox:F.spaceSeparated,scope:null,scoped:F.boolean,seamless:F.boolean,selected:F.boolean,shadowRootClonable:F.boolean,shadowRootDelegatesFocus:F.boolean,shadowRootMode:null,shape:null,size:F.number,sizes:null,slot:null,span:F.number,spellCheck:F.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F.number,step:null,style:null,tabIndex:F.number,target:null,title:null,translate:null,type:null,typeMustMatch:F.boolean,useMap:null,value:F.booleanish,width:F.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:F.spaceSeparated,axis:null,background:null,bgColor:null,border:F.number,borderColor:null,bottomMargin:F.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F.boolean,declare:F.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:F.number,leftMargin:F.number,link:null,longDesc:null,lowSrc:null,marginHeight:F.number,marginWidth:F.number,noResize:F.boolean,noHref:F.boolean,noShade:F.boolean,noWrap:F.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:F.number,rules:null,scheme:null,scrolling:F.booleanish,standby:null,summary:null,text:null,topMargin:F.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F.boolean,disableRemotePlayback:F.boolean,prefix:null,property:null,results:F.number,security:null,unselectable:null},space:"html",transform:ae}),Me=G({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:F.commaOrSpaceSeparated,accentHeight:F.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F.number,amplitude:F.number,arabicForm:null,ascent:F.number,attributeName:null,attributeType:null,azimuth:F.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F.number,by:null,calcMode:null,capHeight:F.number,className:F.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:F.number,diffuseConstant:F.number,direction:null,display:null,dur:null,divisor:F.number,dominantBaseline:null,download:F.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:F.number,enableBackground:null,end:null,event:null,exponent:F.number,externalResourcesRequired:null,fill:null,fillOpacity:F.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:F.commaSeparated,g2:F.commaSeparated,glyphName:F.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F.number,horizOriginX:F.number,horizOriginY:F.number,id:null,ideographic:F.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F.number,k:F.number,k1:F.number,k2:F.number,k3:F.number,k4:F.number,kernelMatrix:F.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:F.number,overlineThickness:F.number,paintOrder:null,panose1:null,path:null,pathLength:F.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:F.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F.number,pointsAtY:F.number,pointsAtZ:F.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:F.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:F.commaOrSpaceSeparated,rev:F.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:F.commaOrSpaceSeparated,requiredFeatures:F.commaOrSpaceSeparated,requiredFonts:F.commaOrSpaceSeparated,requiredFormats:F.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:F.number,specularExponent:F.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F.number,strikethroughThickness:F.number,string:null,stroke:null,strokeDashArray:F.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F.number,strokeOpacity:F.number,strokeWidth:null,style:null,surfaceScale:F.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:F.commaOrSpaceSeparated,tabIndex:F.number,tableValues:null,target:null,targetX:F.number,targetY:F.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:F.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F.number,underlineThickness:F.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F.number,values:null,vAlphabetic:F.number,vMathematical:F.number,vectorEffect:null,vHanging:F.number,vIdeographic:F.number,version:null,vertAdvY:F.number,vertOriginX:F.number,vertOriginY:F.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:de}),we=G({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Pe,fe){return"xlink:"+fe.slice(5).toLowerCase()}}),Xe=G({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ae}),Oe=G({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Pe,fe){return"xml:"+fe.slice(3).toLowerCase()}}),Ce=I([M,te,we,Xe,Oe],"html"),Ae=I([M,Me,we,Xe,Oe],"svg")},84837:function(Q,C,h){"use strict";h.d(C,{s:function(){return M}});var v=h(95516),I=h(56038),O=h(64326);const B=/[A-Z]/g,G=/-[a-z]/g,F=/^data[-\w.:]+$/i;function M(te,Me){const we=(0,O.F)(Me);let Xe=Me,Oe=I.k;if(we in te.normal)return te.property[te.normal[we]];if(we.length>4&&we.slice(0,4)==="data"&&F.test(Me)){if(Me.charAt(4)==="-"){const Ce=Me.slice(5).replace(G,ae);Xe="data"+Ce.charAt(0).toUpperCase()+Ce.slice(1)}else{const Ce=Me.slice(4);if(!G.test(Ce)){let Ae=Ce.replace(B,de);Ae.charAt(0)!=="-"&&(Ae="-"+Ae),Me="data"+Ae}}Oe=v.I}return new Oe(Xe,Me)}function de(te){return"-"+te.toLowerCase()}function ae(te){return te.charAt(1).toUpperCase()}},64326:function(Q,C,h){"use strict";h.d(C,{F:function(){return v}});function v(I){return I.toLowerCase()}},95516:function(Q,C,h){"use strict";h.d(C,{I:function(){return B}});var v=h(56038),I=h(56488);const O=Object.keys(I);class B extends v.k{constructor(M,de,ae,te){let Me=-1;if(super(M,de),G(this,"space",te),typeof ae=="number")for(;++Me0){const W=P.length>1?P:P[0];W&&(E.children=W)}}function sn(E,P,W){return J;function J(ge,Te,He,it){const Qt=Array.isArray(He.children)?W:P;return it?Qt(Te,He,it):Qt(Te,He)}}function Ft(E,P){return W;function W(J,ge,Te,He){const it=Array.isArray(Te.children),jt=(0,me.Pk)(J);return P(ge,Te,He,it,{columnNumber:jt?jt.column-1:void 0,fileName:E,lineNumber:jt?jt.line:void 0},void 0)}}function oi(E,P){const W={};let J,ge;for(ge in P.properties)if(ge!=="children"&&Je.call(P.properties,ge)){const Te=Jn(E,ge,P.properties[ge]);if(Te){const[He,it]=Te;E.tableCellAlignToStyle&&He==="align"&&typeof it=="string"&&We.has(P.tagName)?J=it:W[He]=it}}if(J){const Te=W.style||(W.style={});Te[E.stylePropertyNameCase==="css"?"text-align":"textAlign"]=J}return W}function On(E,P){const W={};for(const J of P.attributes)if(J.type==="mdxJsxExpressionAttribute")if(J.data&&J.data.estree&&E.evaluater){const Te=J.data.estree.body[0];(0,I.ok)(Te.type==="ExpressionStatement");const He=Te.expression;(0,I.ok)(He.type==="ObjectExpression");const it=He.properties[0];(0,I.ok)(it.type==="SpreadElement"),Object.assign(W,E.evaluater.evaluateExpression(it.argument))}else ie(E,P.position);else{const ge=J.name;let Te;if(J.value&&typeof J.value=="object")if(J.value.data&&J.value.data.estree&&E.evaluater){const it=J.value.data.estree.body[0];(0,I.ok)(it.type==="ExpressionStatement"),Te=E.evaluater.evaluateExpression(it.expression)}else ie(E,P.position);else Te=J.value===null?!0:J.value;W[ge]=Te}return W}function ni(E,P){const W=[];let J=-1;const ge=E.passKeys?new Map:Ye;for(;++Jge?0:ge+P:P=P>ge?ge:P,W=W>0?W:0,J.length<1e4)He=Array.from(J),He.unshift(P,W),E.splice(...He);else for(W&&E.splice(P,W);Te0?(tt(E,E.length,0,P),E):P}class pn{constructor(P){this.left=P?[...P]:[],this.right=[]}get(P){if(P<0||P>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+P+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Pthis.left.length?this.right.slice(this.right.length-J+this.left.length,this.right.length-P+this.left.length).reverse():this.left.slice(P).concat(this.right.slice(this.right.length-J+this.left.length).reverse())}splice(P,W,J){const ge=W||0;this.setCursor(Math.trunc(P));const Te=this.right.splice(this.right.length-ge,Number.POSITIVE_INFINITY);return J&&nn(this.left,J),Te.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(P){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(P)}pushMany(P){this.setCursor(Number.POSITIVE_INFINITY),nn(this.left,P)}unshift(P){this.setCursor(0),this.right.push(P)}unshiftMany(P){this.setCursor(0),nn(this.right,P.reverse())}setCursor(P){if(!(P===this.left.length||P>this.left.length&&this.right.length===0||P<0&&this.left.length===0))if(PHe))return;const io=P.events.length;let bo=io,dr,Qi;for(;bo--;)if(P.events[bo][0]==="exit"&&P.events[bo][1].type==="chunkFlow"){if(dr){Qi=P.events[bo][1].end;break}dr=!0}for(si(J),ui=io;uiPi;){const Xr=W[Mr];P.containerState=Xr[1],Xr[0].exit.call(P,E)}W.length=Pi}function vi(){ge.write([null]),Te=void 0,ge=void 0,P.containerState._closeFlow=void 0}}function Xi(E,P,W){return(0,yn.f)(E,E.attempt(this.parser.constructs.document,P,W),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const ei={partial:!0,tokenize:Tr};function Tr(E,P,W){return J;function J(Te){return(0,Bt.xz)(Te)?(0,yn.f)(E,ge,"linePrefix")(Te):ge(Te)}function ge(Te){return Te===null||(0,Bt.Ch)(Te)?P(Te):W(Te)}}const ur={resolve:mr,tokenize:Er},U={partial:!0,tokenize:wr};function mr(E){return Kt(E),E}function Er(E,P){let W;return J;function J(it){return E.enter("content"),W=E.enter("chunkContent",{contentType:"content"}),ge(it)}function ge(it){return it===null?Te(it):(0,Bt.Ch)(it)?E.check(U,He,Te)(it):(E.consume(it),ge)}function Te(it){return E.exit("chunkContent"),E.exit("content"),P(it)}function He(it){return E.consume(it),E.exit("chunkContent"),W.next=E.enter("chunkContent",{contentType:"content",previous:W}),W=W.next,ge}}function wr(E,P,W){const J=this;return ge;function ge(He){return E.exit("chunkContent"),E.enter("lineEnding"),E.consume(He),E.exit("lineEnding"),(0,yn.f)(E,Te,"linePrefix")}function Te(He){if(He===null||(0,Bt.Ch)(He))return W(He);const it=J.events[J.events.length-1];return!J.parser.constructs.disable.null.includes("codeIndented")&&it&&it[1].type==="linePrefix"&&it[2].sliceSerialize(it[1],!0).length>=4?P(He):E.interrupt(J.parser.constructs.flow,W,P)(He)}}const qr={tokenize:xo};function xo(E){const P=this,W=E.attempt(ei,J,E.attempt(this.parser.constructs.flowInitial,ge,(0,yn.f)(E,E.attempt(this.parser.constructs.flow,ge,E.attempt(ur,ge)),"linePrefix")));return W;function J(Te){if(Te===null){E.consume(Te);return}return E.enter("lineEndingBlank"),E.consume(Te),E.exit("lineEndingBlank"),P.currentConstruct=void 0,W}function ge(Te){if(Te===null){E.consume(Te);return}return E.enter("lineEnding"),E.consume(Te),E.exit("lineEnding"),P.currentConstruct=void 0,W}}const kr={resolveAll:yi()},no=Bi("string"),rr=Bi("text");function Bi(E){return{resolveAll:yi(E==="text"?ht:void 0),tokenize:P};function P(W){const J=this,ge=this.parser.constructs[E],Te=W.attempt(ge,He,it);return He;function He(yt){return Qt(yt)?Te(yt):it(yt)}function it(yt){if(yt===null){W.consume(yt);return}return W.enter("data"),W.consume(yt),jt}function jt(yt){return Qt(yt)?(W.exit("data"),Te(yt)):(W.consume(yt),jt)}function Qt(yt){if(yt===null)return!0;const en=ge[yt];let Gt=-1;if(en)for(;++Gt=3&&(Qt===null||(0,Bt.Ch)(Qt))?(E.exit("thematicBreak"),P(Qt)):W(Qt)}function jt(Qt){return Qt===ge?(E.consume(Qt),J++,jt):(E.exit("thematicBreakSequence"),(0,Bt.xz)(Qt)?(0,yn.f)(E,it,"whitespace")(Qt):it(Qt))}}const pt={continuation:{tokenize:on},exit:Ve,name:"list",tokenize:Fn},Ke={partial:!0,tokenize:Ut},vn={partial:!0,tokenize:Nt};function Fn(E,P,W){const J=this,ge=J.events[J.events.length-1];let Te=ge&&ge[1].type==="linePrefix"?ge[2].sliceSerialize(ge[1],!0).length:0,He=0;return it;function it(wt){const ii=J.containerState.type||(wt===42||wt===43||wt===45?"listUnordered":"listOrdered");if(ii==="listUnordered"?!J.containerState.marker||wt===J.containerState.marker:(0,Bt.pY)(wt)){if(J.containerState.type||(J.containerState.type=ii,E.enter(ii,{_container:!0})),ii==="listUnordered")return E.enter("listItemPrefix"),wt===42||wt===45?E.check(_n,W,Qt)(wt):Qt(wt);if(!J.interrupt||wt===49)return E.enter("listItemPrefix"),E.enter("listItemValue"),jt(wt)}return W(wt)}function jt(wt){return(0,Bt.pY)(wt)&&++He<10?(E.consume(wt),jt):(!J.interrupt||He<2)&&(J.containerState.marker?wt===J.containerState.marker:wt===41||wt===46)?(E.exit("listItemValue"),Qt(wt)):W(wt)}function Qt(wt){return E.enter("listItemMarker"),E.consume(wt),E.exit("listItemMarker"),J.containerState.marker=J.containerState.marker||wt,E.check(ei,J.interrupt?W:yt,E.attempt(Ke,Gt,en))}function yt(wt){return J.containerState.initialBlankLine=!0,Te++,Gt(wt)}function en(wt){return(0,Bt.xz)(wt)?(E.enter("listItemPrefixWhitespace"),E.consume(wt),E.exit("listItemPrefixWhitespace"),Gt):W(wt)}function Gt(wt){return J.containerState.size=Te+J.sliceSerialize(E.exit("listItemPrefix"),!0).length,P(wt)}}function on(E,P,W){const J=this;return J.containerState._closeFlow=void 0,E.check(ei,ge,Te);function ge(it){return J.containerState.furtherBlankLines=J.containerState.furtherBlankLines||J.containerState.initialBlankLine,(0,yn.f)(E,P,"listItemIndent",J.containerState.size+1)(it)}function Te(it){return J.containerState.furtherBlankLines||!(0,Bt.xz)(it)?(J.containerState.furtherBlankLines=void 0,J.containerState.initialBlankLine=void 0,He(it)):(J.containerState.furtherBlankLines=void 0,J.containerState.initialBlankLine=void 0,E.attempt(vn,P,He)(it))}function He(it){return J.containerState._closeFlow=!0,J.interrupt=void 0,(0,yn.f)(E,E.attempt(pt,P,W),"linePrefix",J.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(it)}}function Nt(E,P,W){const J=this;return(0,yn.f)(E,ge,"listItemIndent",J.containerState.size+1);function ge(Te){const He=J.events[J.events.length-1];return He&&He[1].type==="listItemIndent"&&He[2].sliceSerialize(He[1],!0).length===J.containerState.size?P(Te):W(Te)}}function Ve(E){E.exit(this.containerState.type)}function Ut(E,P,W){const J=this;return(0,yn.f)(E,ge,"listItemPrefixWhitespace",J.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function ge(Te){const He=J.events[J.events.length-1];return!(0,Bt.xz)(Te)&&He&&He[1].type==="listItemPrefixWhitespace"?P(Te):W(Te)}}const Lt={continuation:{tokenize:ot},exit:fn,name:"blockQuote",tokenize:Wn};function Wn(E,P,W){const J=this;return ge;function ge(He){if(He===62){const it=J.containerState;return it.open||(E.enter("blockQuote",{_container:!0}),it.open=!0),E.enter("blockQuotePrefix"),E.enter("blockQuoteMarker"),E.consume(He),E.exit("blockQuoteMarker"),Te}return W(He)}function Te(He){return(0,Bt.xz)(He)?(E.enter("blockQuotePrefixWhitespace"),E.consume(He),E.exit("blockQuotePrefixWhitespace"),E.exit("blockQuotePrefix"),P):(E.exit("blockQuotePrefix"),P(He))}}function ot(E,P,W){const J=this;return ge;function ge(He){return(0,Bt.xz)(He)?(0,yn.f)(E,Te,"linePrefix",J.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(He):Te(He)}function Te(He){return E.attempt(Lt,P,W)(He)}}function fn(E){E.exit("blockQuote")}function vt(E,P,W,J,ge,Te,He,it,jt){const Qt=jt||Number.POSITIVE_INFINITY;let yt=0;return en;function en(si){return si===60?(E.enter(J),E.enter(ge),E.enter(Te),E.consume(si),E.exit(Te),Gt):si===null||si===32||si===41||(0,Bt.Av)(si)?W(si):(E.enter(J),E.enter(He),E.enter(it),E.enter("chunkString",{contentType:"string"}),ki(si))}function Gt(si){return si===62?(E.enter(Te),E.consume(si),E.exit(Te),E.exit(ge),E.exit(J),P):(E.enter(it),E.enter("chunkString",{contentType:"string"}),wt(si))}function wt(si){return si===62?(E.exit("chunkString"),E.exit(it),Gt(si)):si===null||si===60||(0,Bt.Ch)(si)?W(si):(E.consume(si),si===92?ii:wt)}function ii(si){return si===60||si===62||si===92?(E.consume(si),wt):wt(si)}function ki(si){return!yt&&(si===null||si===41||(0,Bt.z3)(si))?(E.exit("chunkString"),E.exit(it),E.exit(He),E.exit(J),P(si)):yt999||wt===null||wt===91||wt===93&&!jt||wt===94&&!it&&"_hiddenFootnoteSupport"in He.parser.constructs?W(wt):wt===93?(E.exit(Te),E.enter(ge),E.consume(wt),E.exit(ge),E.exit(J),P):(0,Bt.Ch)(wt)?(E.enter("lineEnding"),E.consume(wt),E.exit("lineEnding"),yt):(E.enter("chunkString",{contentType:"string"}),en(wt))}function en(wt){return wt===null||wt===91||wt===93||(0,Bt.Ch)(wt)||it++>999?(E.exit("chunkString"),yt(wt)):(E.consume(wt),jt||(jt=!(0,Bt.xz)(wt)),wt===92?Gt:en)}function Gt(wt){return wt===91||wt===92||wt===93?(E.consume(wt),it++,en):en(wt)}}function L(E,P,W,J,ge,Te){let He;return it;function it(Gt){return Gt===34||Gt===39||Gt===40?(E.enter(J),E.enter(ge),E.consume(Gt),E.exit(ge),He=Gt===40?41:Gt,jt):W(Gt)}function jt(Gt){return Gt===He?(E.enter(ge),E.consume(Gt),E.exit(ge),E.exit(J),P):(E.enter(Te),Qt(Gt))}function Qt(Gt){return Gt===He?(E.exit(Te),jt(He)):Gt===null?W(Gt):(0,Bt.Ch)(Gt)?(E.enter("lineEnding"),E.consume(Gt),E.exit("lineEnding"),(0,yn.f)(E,Qt,"linePrefix")):(E.enter("chunkString",{contentType:"string"}),yt(Gt))}function yt(Gt){return Gt===He||Gt===null||(0,Bt.Ch)(Gt)?(E.exit("chunkString"),Qt(Gt)):(E.consume(Gt),Gt===92?en:yt)}function en(Gt){return Gt===He||Gt===92?(E.consume(Gt),yt):yt(Gt)}}function Rt(E,P){let W;return J;function J(ge){return(0,Bt.Ch)(ge)?(E.enter("lineEnding"),E.consume(ge),E.exit("lineEnding"),W=!0,J):(0,Bt.xz)(ge)?(0,yn.f)(E,J,W?"linePrefix":"lineSuffix")(ge):P(ge)}}function Jt(E){return E.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const mt={name:"definition",tokenize:An},xn={partial:!0,tokenize:li};function An(E,P,W){const J=this;let ge;return Te;function Te(wt){return E.enter("definition"),He(wt)}function He(wt){return je.call(J,E,it,W,"definitionLabel","definitionLabelMarker","definitionLabelString")(wt)}function it(wt){return ge=Jt(J.sliceSerialize(J.events[J.events.length-1][1]).slice(1,-1)),wt===58?(E.enter("definitionMarker"),E.consume(wt),E.exit("definitionMarker"),jt):W(wt)}function jt(wt){return(0,Bt.z3)(wt)?Rt(E,Qt)(wt):Qt(wt)}function Qt(wt){return vt(E,yt,W,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(wt)}function yt(wt){return E.attempt(xn,en,en)(wt)}function en(wt){return(0,Bt.xz)(wt)?(0,yn.f)(E,Gt,"whitespace")(wt):Gt(wt)}function Gt(wt){return wt===null||(0,Bt.Ch)(wt)?(E.exit("definition"),J.parser.defined.push(ge),P(wt)):W(wt)}}function li(E,P,W){return J;function J(it){return(0,Bt.z3)(it)?Rt(E,ge)(it):W(it)}function ge(it){return L(E,Te,W,"definitionTitle","definitionTitleMarker","definitionTitleString")(it)}function Te(it){return(0,Bt.xz)(it)?(0,yn.f)(E,He,"whitespace")(it):He(it)}function He(it){return it===null||(0,Bt.Ch)(it)?P(it):W(it)}}const Nn={name:"codeIndented",tokenize:Mi},st={partial:!0,tokenize:Yi};function Mi(E,P,W){const J=this;return ge;function ge(Qt){return E.enter("codeIndented"),(0,yn.f)(E,Te,"linePrefix",5)(Qt)}function Te(Qt){const yt=J.events[J.events.length-1];return yt&&yt[1].type==="linePrefix"&&yt[2].sliceSerialize(yt[1],!0).length>=4?He(Qt):W(Qt)}function He(Qt){return Qt===null?jt(Qt):(0,Bt.Ch)(Qt)?E.attempt(st,He,jt)(Qt):(E.enter("codeFlowValue"),it(Qt))}function it(Qt){return Qt===null||(0,Bt.Ch)(Qt)?(E.exit("codeFlowValue"),He(Qt)):(E.consume(Qt),it)}function jt(Qt){return E.exit("codeIndented"),P(Qt)}}function Yi(E,P,W){const J=this;return ge;function ge(He){return J.parser.lazy[J.now().line]?W(He):(0,Bt.Ch)(He)?(E.enter("lineEnding"),E.consume(He),E.exit("lineEnding"),ge):(0,yn.f)(E,Te,"linePrefix",5)(He)}function Te(He){const it=J.events[J.events.length-1];return it&&it[1].type==="linePrefix"&&it[2].sliceSerialize(it[1],!0).length>=4?P(He):(0,Bt.Ch)(He)?ge(He):W(He)}}const Yt={name:"headingAtx",resolve:zi,tokenize:q};function zi(E,P){let W=E.length-2,J=3,ge,Te;return E[J][1].type==="whitespace"&&(J+=2),W-2>J&&E[W][1].type==="whitespace"&&(W-=2),E[W][1].type==="atxHeadingSequence"&&(J===W-1||W-4>J&&E[W-2][1].type==="whitespace")&&(W-=J+1===W?2:4),W>J&&(ge={type:"atxHeadingText",start:E[J][1].start,end:E[W][1].end},Te={type:"chunkText",start:E[J][1].start,end:E[W][1].end,contentType:"text"},tt(E,J,W-J+1,[["enter",ge,P],["enter",Te,P],["exit",Te,P],["exit",ge,P]])),E}function q(E,P,W){let J=0;return ge;function ge(yt){return E.enter("atxHeading"),Te(yt)}function Te(yt){return E.enter("atxHeadingSequence"),He(yt)}function He(yt){return yt===35&&J++<6?(E.consume(yt),He):yt===null||(0,Bt.z3)(yt)?(E.exit("atxHeadingSequence"),it(yt)):W(yt)}function it(yt){return yt===35?(E.enter("atxHeadingSequence"),jt(yt)):yt===null||(0,Bt.Ch)(yt)?(E.exit("atxHeading"),P(yt)):(0,Bt.xz)(yt)?(0,yn.f)(E,it,"whitespace")(yt):(E.enter("atxHeadingText"),Qt(yt))}function jt(yt){return yt===35?(E.consume(yt),jt):(E.exit("atxHeadingSequence"),it(yt))}function Qt(yt){return yt===null||yt===35||(0,Bt.z3)(yt)?(E.exit("atxHeadingText"),it(yt)):(E.consume(yt),Qt)}}const oe={name:"setextUnderline",resolveTo:Hn,tokenize:Be};function Hn(E,P){let W=E.length,J,ge,Te;for(;W--;)if(E[W][0]==="enter"){if(E[W][1].type==="content"){J=W;break}E[W][1].type==="paragraph"&&(ge=W)}else E[W][1].type==="content"&&E.splice(W,1),!Te&&E[W][1].type==="definition"&&(Te=W);const He={type:"setextHeading",start:Po({},E[J][1].start),end:Po({},E[E.length-1][1].end)};return E[ge][1].type="setextHeadingText",Te?(E.splice(ge,0,["enter",He,P]),E.splice(Te+1,0,["exit",E[J][1],P]),E[J][1].end=Po({},E[Te][1].end)):E[J][1]=He,E.push(["exit",He,P]),E}function Be(E,P,W){const J=this;let ge;return Te;function Te(Qt){let yt=J.events.length,en;for(;yt--;)if(J.events[yt][1].type!=="lineEnding"&&J.events[yt][1].type!=="linePrefix"&&J.events[yt][1].type!=="content"){en=J.events[yt][1].type==="paragraph";break}return!J.parser.lazy[J.now().line]&&(J.interrupt||en)?(E.enter("setextHeadingLine"),ge=Qt,He(Qt)):W(Qt)}function He(Qt){return E.enter("setextHeadingLineSequence"),it(Qt)}function it(Qt){return Qt===ge?(E.consume(Qt),it):(E.exit("setextHeadingLineSequence"),(0,Bt.xz)(Qt)?(0,yn.f)(E,jt,"lineSuffix")(Qt):jt(Qt))}function jt(Qt){return Qt===null||(0,Bt.Ch)(Qt)?(E.exit("setextHeadingLine"),P(Qt)):W(Qt)}}const Tt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],fi=["pre","script","style","textarea"],Ln={concrete:!0,name:"htmlFlow",resolveTo:xi,tokenize:Xt},Fi={partial:!0,tokenize:Yr},qt={partial:!0,tokenize:Li};function xi(E){let P=E.length;for(;P--&&!(E[P][0]==="enter"&&E[P][1].type==="htmlFlow"););return P>1&&E[P-2][1].type==="linePrefix"&&(E[P][1].start=E[P-2][1].start,E[P+1][1].start=E[P-2][1].start,E.splice(P-2,2)),E}function Xt(E,P,W){const J=this;let ge,Te,He,it,jt;return Qt;function Qt(un){return yt(un)}function yt(un){return E.enter("htmlFlow"),E.enter("htmlFlowData"),E.consume(un),en}function en(un){return un===33?(E.consume(un),Gt):un===47?(E.consume(un),Te=!0,ki):un===63?(E.consume(un),ge=3,J.interrupt?P:$t):(0,Bt.jv)(un)?(E.consume(un),He=String.fromCharCode(un),ji):W(un)}function Gt(un){return un===45?(E.consume(un),ge=2,wt):un===91?(E.consume(un),ge=5,it=0,ii):(0,Bt.jv)(un)?(E.consume(un),ge=4,J.interrupt?P:$t):W(un)}function wt(un){return un===45?(E.consume(un),J.interrupt?P:$t):W(un)}function ii(un){const da="CDATA[";return un===da.charCodeAt(it++)?(E.consume(un),it===da.length?J.interrupt?P:to:ii):W(un)}function ki(un){return(0,Bt.jv)(un)?(E.consume(un),He=String.fromCharCode(un),ji):W(un)}function ji(un){if(un===null||un===47||un===62||(0,Bt.z3)(un)){const da=un===47,Ta=He.toLowerCase();return!da&&!Te&&fi.includes(Ta)?(ge=1,J.interrupt?P(un):to(un)):Tt.includes(He.toLowerCase())?(ge=6,da?(E.consume(un),si):J.interrupt?P(un):to(un)):(ge=7,J.interrupt&&!J.parser.lazy[J.now().line]?W(un):Te?vi(un):Pi(un))}return un===45||(0,Bt.H$)(un)?(E.consume(un),He+=String.fromCharCode(un),ji):W(un)}function si(un){return un===62?(E.consume(un),J.interrupt?P:to):W(un)}function vi(un){return(0,Bt.xz)(un)?(E.consume(un),vi):Qi(un)}function Pi(un){return un===47?(E.consume(un),Qi):un===58||un===95||(0,Bt.jv)(un)?(E.consume(un),Mr):(0,Bt.xz)(un)?(E.consume(un),Pi):Qi(un)}function Mr(un){return un===45||un===46||un===58||un===95||(0,Bt.H$)(un)?(E.consume(un),Mr):Xr(un)}function Xr(un){return un===61?(E.consume(un),ui):(0,Bt.xz)(un)?(E.consume(un),Xr):Pi(un)}function ui(un){return un===null||un===60||un===61||un===62||un===96?W(un):un===34||un===39?(E.consume(un),jt=un,io):(0,Bt.xz)(un)?(E.consume(un),ui):bo(un)}function io(un){return un===jt?(E.consume(un),jt=null,dr):un===null||(0,Bt.Ch)(un)?W(un):(E.consume(un),io)}function bo(un){return un===null||un===34||un===39||un===47||un===60||un===61||un===62||un===96||(0,Bt.z3)(un)?Xr(un):(E.consume(un),bo)}function dr(un){return un===47||un===62||(0,Bt.xz)(un)?Pi(un):W(un)}function Qi(un){return un===62?(E.consume(un),oo):W(un)}function oo(un){return un===null||(0,Bt.Ch)(un)?to(un):(0,Bt.xz)(un)?(E.consume(un),oo):W(un)}function to(un){return un===45&&ge===2?(E.consume(un),ir):un===60&&ge===1?(E.consume(un),vr):un===62&&ge===4?(E.consume(un),zr):un===63&&ge===3?(E.consume(un),$t):un===93&&ge===5?(E.consume(un),ho):(0,Bt.Ch)(un)&&(ge===6||ge===7)?(E.exit("htmlFlowData"),E.check(Fi,fo,pr)(un)):un===null||(0,Bt.Ch)(un)?(E.exit("htmlFlowData"),pr(un)):(E.consume(un),to)}function pr(un){return E.check(qt,_r,fo)(un)}function _r(un){return E.enter("lineEnding"),E.consume(un),E.exit("lineEnding"),Gi}function Gi(un){return un===null||(0,Bt.Ch)(un)?pr(un):(E.enter("htmlFlowData"),to(un))}function ir(un){return un===45?(E.consume(un),$t):to(un)}function vr(un){return un===47?(E.consume(un),He="",sr):to(un)}function sr(un){if(un===62){const da=He.toLowerCase();return fi.includes(da)?(E.consume(un),zr):to(un)}return(0,Bt.jv)(un)&&He.length<8?(E.consume(un),He+=String.fromCharCode(un),sr):to(un)}function ho(un){return un===93?(E.consume(un),$t):to(un)}function $t(un){return un===62?(E.consume(un),zr):un===45&&ge===2?(E.consume(un),$t):to(un)}function zr(un){return un===null||(0,Bt.Ch)(un)?(E.exit("htmlFlowData"),fo(un)):(E.consume(un),zr)}function fo(un){return E.exit("htmlFlow"),P(un)}}function Li(E,P,W){const J=this;return ge;function ge(He){return(0,Bt.Ch)(He)?(E.enter("lineEnding"),E.consume(He),E.exit("lineEnding"),Te):W(He)}function Te(He){return J.parser.lazy[J.now().line]?W(He):P(He)}}function Yr(E,P,W){return J;function J(ge){return E.enter("lineEnding"),E.consume(ge),E.exit("lineEnding"),E.attempt(ei,P,W)}}const Mt={partial:!0,tokenize:Oi},Qr={concrete:!0,name:"codeFenced",tokenize:tn};function tn(E,P,W){const J=this,ge={partial:!0,tokenize:Xr};let Te=0,He=0,it;return jt;function jt(ui){return Qt(ui)}function Qt(ui){const io=J.events[J.events.length-1];return Te=io&&io[1].type==="linePrefix"?io[2].sliceSerialize(io[1],!0).length:0,it=ui,E.enter("codeFenced"),E.enter("codeFencedFence"),E.enter("codeFencedFenceSequence"),yt(ui)}function yt(ui){return ui===it?(He++,E.consume(ui),yt):He<3?W(ui):(E.exit("codeFencedFenceSequence"),(0,Bt.xz)(ui)?(0,yn.f)(E,en,"whitespace")(ui):en(ui))}function en(ui){return ui===null||(0,Bt.Ch)(ui)?(E.exit("codeFencedFence"),J.interrupt?P(ui):E.check(Mt,ki,Mr)(ui)):(E.enter("codeFencedFenceInfo"),E.enter("chunkString",{contentType:"string"}),Gt(ui))}function Gt(ui){return ui===null||(0,Bt.Ch)(ui)?(E.exit("chunkString"),E.exit("codeFencedFenceInfo"),en(ui)):(0,Bt.xz)(ui)?(E.exit("chunkString"),E.exit("codeFencedFenceInfo"),(0,yn.f)(E,wt,"whitespace")(ui)):ui===96&&ui===it?W(ui):(E.consume(ui),Gt)}function wt(ui){return ui===null||(0,Bt.Ch)(ui)?en(ui):(E.enter("codeFencedFenceMeta"),E.enter("chunkString",{contentType:"string"}),ii(ui))}function ii(ui){return ui===null||(0,Bt.Ch)(ui)?(E.exit("chunkString"),E.exit("codeFencedFenceMeta"),en(ui)):ui===96&&ui===it?W(ui):(E.consume(ui),ii)}function ki(ui){return E.attempt(ge,Mr,ji)(ui)}function ji(ui){return E.enter("lineEnding"),E.consume(ui),E.exit("lineEnding"),si}function si(ui){return Te>0&&(0,Bt.xz)(ui)?(0,yn.f)(E,vi,"linePrefix",Te+1)(ui):vi(ui)}function vi(ui){return ui===null||(0,Bt.Ch)(ui)?E.check(Mt,ki,Mr)(ui):(E.enter("codeFlowValue"),Pi(ui))}function Pi(ui){return ui===null||(0,Bt.Ch)(ui)?(E.exit("codeFlowValue"),vi(ui)):(E.consume(ui),Pi)}function Mr(ui){return E.exit("codeFenced"),P(ui)}function Xr(ui,io,bo){let dr=0;return Qi;function Qi(Gi){return ui.enter("lineEnding"),ui.consume(Gi),ui.exit("lineEnding"),oo}function oo(Gi){return ui.enter("codeFencedFence"),(0,Bt.xz)(Gi)?(0,yn.f)(ui,to,"linePrefix",J.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Gi):to(Gi)}function to(Gi){return Gi===it?(ui.enter("codeFencedFenceSequence"),pr(Gi)):bo(Gi)}function pr(Gi){return Gi===it?(dr++,ui.consume(Gi),pr):dr>=He?(ui.exit("codeFencedFenceSequence"),(0,Bt.xz)(Gi)?(0,yn.f)(ui,_r,"whitespace")(Gi):_r(Gi)):bo(Gi)}function _r(Gi){return Gi===null||(0,Bt.Ch)(Gi)?(ui.exit("codeFencedFence"),io(Gi)):bo(Gi)}}}function Oi(E,P,W){const J=this;return ge;function ge(He){return He===null?W(He):(E.enter("lineEnding"),E.consume(He),E.exit("lineEnding"),Te)}function Te(He){return J.parser.lazy[J.now().line]?W(He):P(He)}}const Ei=document.createElement("i");function or(E){const P="&"+E+";";Ei.innerHTML=P;const W=Ei.textContent;return W.charCodeAt(W.length-1)===59&&E!=="semi"||W===P?!1:W}const tr={name:"characterReference",tokenize:Zn};function Zn(E,P,W){const J=this;let ge=0,Te,He;return it;function it(en){return E.enter("characterReference"),E.enter("characterReferenceMarker"),E.consume(en),E.exit("characterReferenceMarker"),jt}function jt(en){return en===35?(E.enter("characterReferenceMarkerNumeric"),E.consume(en),E.exit("characterReferenceMarkerNumeric"),Qt):(E.enter("characterReferenceValue"),Te=31,He=Bt.H$,yt(en))}function Qt(en){return en===88||en===120?(E.enter("characterReferenceMarkerHexadecimal"),E.consume(en),E.exit("characterReferenceMarkerHexadecimal"),E.enter("characterReferenceValue"),Te=6,He=Bt.AF,yt):(E.enter("characterReferenceValue"),Te=7,He=Bt.pY,yt(en))}function yt(en){if(en===59&&ge){const Gt=E.exit("characterReferenceValue");return He===Bt.H$&&!or(J.sliceSerialize(Gt))?W(en):(E.enter("characterReferenceMarker"),E.consume(en),E.exit("characterReferenceMarker"),E.exit("characterReference"),P)}return He(en)&&ge++1&&E[W][1].end.offset-E[W][1].start.offset>1?2:1;const en=Po({},E[J][1].end),Gt=Po({},E[W][1].start);ka(en,-jt),ka(Gt,jt),He={type:jt>1?"strongSequence":"emphasisSequence",start:en,end:Po({},E[J][1].end)},it={type:jt>1?"strongSequence":"emphasisSequence",start:Po({},E[W][1].start),end:Gt},Te={type:jt>1?"strongText":"emphasisText",start:Po({},E[J][1].end),end:Po({},E[W][1].start)},ge={type:jt>1?"strong":"emphasis",start:Po({},He.start),end:Po({},it.end)},E[J][1].end=Po({},He.start),E[W][1].start=Po({},it.end),Qt=[],E[J][1].end.offset-E[J][1].start.offset&&(Qt=Et(Qt,[["enter",E[J][1],P],["exit",E[J][1],P]])),Qt=Et(Qt,[["enter",ge,P],["enter",He,P],["exit",He,P],["enter",Te,P]]),Qt=Et(Qt,Br(P.parser.constructs.insideSpan.null,E.slice(J+1,W),P)),Qt=Et(Qt,[["exit",Te,P],["enter",it,P],["exit",it,P],["exit",ge,P]]),E[W][1].end.offset-E[W][1].start.offset?(yt=2,Qt=Et(Qt,[["enter",E[W][1],P],["exit",E[W][1],P]])):yt=0,tt(E,J-1,W-J+3,Qt),W=J+Qt.length-yt-2;break}}for(W=-1;++W-1){const it=He[0];typeof it=="string"?He[0]=it.slice(J):He.shift()}Te>0&&He.push(E[ge].slice(0,Te))}return He}function ai(E,P){let W=-1;const J=[];let ge;for(;++W13&&W<32||W>126&&W<160||W>55295&&W<57344||W>64975&&W<65008||(W&65535)===65535||(W&65535)===65534||W>1114111?"\uFFFD":String.fromCodePoint(W)}const rs=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Rr(E){return E.replace(rs,dl)}function dl(E,P,W){if(P)return P;if(W.charCodeAt(0)===35){const ge=W.charCodeAt(1),Te=ge===120||ge===88;return Vo(W.slice(Te?2:1),Te?16:10)}return or(W)||E}const ws={}.hasOwnProperty;function Os(E,P,W){return typeof P!="string"&&(W=P,P=void 0),Bo(W)(an(Ui(W).document().write(Es()(E,P,!0))))}function Bo(E){const P={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Te(K),autolinkProtocol:dr,autolinkEmail:dr,atxHeading:Te(Sa),blockQuote:Te(ya),characterEscape:dr,characterReference:dr,codeFenced:Te(zs),codeFencedFenceInfo:He,codeFencedFenceMeta:He,codeIndented:Te(zs,He),codeText:Te(ko,He),codeTextData:dr,data:dr,codeFlowValue:dr,definition:Te(Ho),definitionDestinationString:He,definitionLabelString:He,definitionTitleString:He,emphasis:Te(Zo),hardBreakEscape:Te(Ha),hardBreakTrailing:Te(Ha),htmlFlow:Te(d,He),htmlFlowData:dr,htmlText:Te(d,He),htmlTextData:dr,image:Te(g),label:He,link:Te(K),listItem:Te(gn),listItemValue:Gt,listOrdered:Te(nt,en),listUnordered:Te(nt),paragraph:Te(Yn),reference:un,referenceString:He,resourceDestinationString:He,resourceTitleString:He,setextHeading:Te(Sa),strong:Te(wi),thematicBreak:Te(Hr)},exit:{atxHeading:jt(),atxHeadingSequence:Xr,autolink:jt(),autolinkEmail:ta,autolinkProtocol:qo,blockQuote:jt(),characterEscapeValue:Qi,characterReferenceMarkerHexadecimal:Ta,characterReferenceMarkerNumeric:Ta,characterReferenceValue:es,characterReference:Fo,codeFenced:jt(ji),codeFencedFence:ki,codeFencedFenceInfo:wt,codeFencedFenceMeta:ii,codeFlowValue:Qi,codeIndented:jt(si),codeText:jt(Gi),codeTextData:Qi,data:Qi,definition:jt(),definitionDestinationString:Mr,definitionLabelString:vi,definitionTitleString:Pi,emphasis:jt(),hardBreakEscape:jt(to),hardBreakTrailing:jt(to),htmlFlow:jt(pr),htmlFlowData:Qi,htmlText:jt(_r),htmlTextData:Qi,image:jt(vr),label:ho,labelText:sr,lineEnding:oo,link:jt(ir),listItem:jt(),listOrdered:jt(),listUnordered:jt(),paragraph:jt(),referenceString:da,resourceDestinationString:$t,resourceTitleString:zr,resource:fo,setextHeading:jt(bo),setextHeadingLineSequence:io,setextHeadingText:ui,strong:jt(),thematicBreak:jt()}};fl(P,(E||{}).mdastExtensions||[]);const W={};return J;function J(Gn){let Hi={type:"root",children:[]};const Or={stack:[Hi],tokenStack:[],config:P,enter:it,exit:Qt,buffer:He,resume:yt,data:W},Vr=[];let $o=-1;for(;++$o0){const Rs=Or.tokenStack[Or.tokenStack.length-1];(Rs[1]||qa).call(Or,void 0,Rs[0])}for(Hi.position={start:Ia(Gn.length>0?Gn[0][1].start:{line:1,column:1,offset:0}),end:Ia(Gn.length>0?Gn[Gn.length-2][1].end:{line:1,column:1,offset:0})},$o=-1;++$o-1&&J>He||ge>-1&&J>ge||Te>-1&&J>Te||P.test(W.slice(0,J))?W:""}function rl(E){const P=[];let W=-1,J=0,ge=0;for(;++W55295&&Te<57344){const it=E.charCodeAt(W+1);Te<56320&&it>56319&&it<57344?(He=String.fromCharCode(Te,it),ge=1):He="\uFFFD"}else He=String.fromCharCode(Te);He&&(P.push(E.slice(J,W),encodeURIComponent(He)),J=W+ge+1,He=""),ge&&(W+=ge,ge=0)}return P.join("")+E.slice(J)}function hu(E,P){const W=[{type:"text",value:"\u21A9"}];return P>1&&W.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(P)}]}),W}function Ga(E,P){return"Back to reference "+(E+1)+(P>1?"-"+P:"")}function os(E){const P=typeof E.options.clobberPrefix=="string"?E.options.clobberPrefix:"user-content-",W=E.options.footnoteBackContent||hu,J=E.options.footnoteBackLabel||Ga,ge=E.options.footnoteLabel||"Footnotes",Te=E.options.footnoteLabelTagName||"h2",He=E.options.footnoteLabelProperties||{className:["sr-only"]},it=[];let jt=-1;for(;++jt0&&ii.push({type:"text",value:" "});let vi=typeof W=="string"?W:W(jt,wt);typeof vi=="string"&&(vi={type:"text",value:vi}),ii.push({type:"element",tagName:"a",properties:{href:"#"+P+"fnref-"+Gt+(wt>1?"-"+wt:""),dataFootnoteBackref:"",ariaLabel:typeof J=="string"?J:J(jt,wt),className:["data-footnote-backref"]},children:Array.isArray(vi)?vi:[vi]})}const ji=yt[yt.length-1];if(ji&&ji.type==="element"&&ji.tagName==="p"){const vi=ji.children[ji.children.length-1];vi&&vi.type==="text"?vi.value+=" ":ji.children.push({type:"text",value:" "}),ji.children.push(...ii)}else yt.push(...ii);const si={type:"element",tagName:"li",properties:{id:P+"fn-"+Gt},children:E.wrap(yt,!0)};E.patch(Qt,si),it.push(si)}if(it.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Te,properties:cd(Po({},(0,_o.ZP)(He)),{id:"footnote-label"}),children:[{type:"text",value:ge}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:E.wrap(it,!0)},{type:"text",value:` -`}]}}var Rl=h(10528);function Wr(E,B){const W={type:"element",tagName:"blockquote",properties:{},children:E.wrap(E.all(B),!0)};return E.patch(B,W),E.applyData(B,W)}function wo(E,B){const W={type:"element",tagName:"br",properties:{},children:[]};return E.patch(B,W),[E.applyData(B,W),{type:"text",value:` -`}]}function fa(E,B){const W=B.value?B.value+` -`:"",q={};B.lang&&(q.className=["language-"+B.lang]);let pe={type:"element",tagName:"code",properties:q,children:[{type:"text",value:W}]};return B.meta&&(pe.data={meta:B.meta}),E.patch(B,pe),pe=E.applyData(B,pe),pe={type:"element",tagName:"pre",properties:{},children:[pe]},E.patch(B,pe),pe}function oa(E,B){const W={type:"element",tagName:"del",properties:{},children:E.all(B)};return E.patch(B,W),E.applyData(B,W)}function ro(E,B){const W={type:"element",tagName:"em",properties:{},children:E.all(B)};return E.patch(B,W),E.applyData(B,W)}function aa(E,B){const W=typeof E.options.clobberPrefix=="string"?E.options.clobberPrefix:"user-content-",q=String(B.identifier).toUpperCase(),pe=Fa(q.toLowerCase()),Ce=E.footnoteOrder.indexOf(q);let $e,it=E.footnoteCounts.get(q);it===void 0?(it=0,E.footnoteOrder.push(q),$e=E.footnoteOrder.length):$e=Ce+1,it+=1,E.footnoteCounts.set(q,it);const $t={type:"element",tagName:"a",properties:{href:"#"+W+"fn-"+pe,id:W+"fnref-"+pe+(it>1?"-"+it:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String($e)}]};E.patch(B,$t);const Dt={type:"element",tagName:"sup",properties:{},children:[$t]};return E.patch(B,Dt),E.applyData(B,Dt)}function va(E,B){const W={type:"element",tagName:"h"+B.depth,properties:{},children:E.all(B)};return E.patch(B,W),E.applyData(B,W)}function La(E,B){if(E.options.allowDangerousHtml){const W={type:"raw",value:B.value};return E.patch(B,W),E.applyData(B,W)}}function Aa(E,B){const W=B.referenceType;let q="]";if(W==="collapsed"?q+="[]":W==="full"&&(q+="["+(B.label||B.identifier)+"]"),B.type==="imageReference")return[{type:"text",value:"!["+B.alt+q}];const pe=E.all(B),Ce=pe[0];Ce&&Ce.type==="text"?Ce.value="["+Ce.value:pe.unshift({type:"text",value:"["});const $e=pe[pe.length-1];return $e&&$e.type==="text"?$e.value+=q:pe.push({type:"text",value:q}),pe}function Gl(E,B){const W=String(B.identifier).toUpperCase(),q=E.definitionById.get(W);if(!q)return Aa(E,B);const pe={src:Fa(q.url||""),alt:B.alt};q.title!==null&&q.title!==void 0&&(pe.title=q.title);const Ce={type:"element",tagName:"img",properties:pe,children:[]};return E.patch(B,Ce),E.applyData(B,Ce)}function Ys(E,B){const W={src:Fa(B.url)};B.alt!==null&&B.alt!==void 0&&(W.alt=B.alt),B.title!==null&&B.title!==void 0&&(W.title=B.title);const q={type:"element",tagName:"img",properties:W,children:[]};return E.patch(B,q),E.applyData(B,q)}function ka(E,B){const W={type:"text",value:B.value.replace(/\r?\n|\r/g," ")};E.patch(B,W);const q={type:"element",tagName:"code",properties:{},children:[W]};return E.patch(B,q),E.applyData(B,q)}function hc(E,B){const W=String(B.identifier).toUpperCase(),q=E.definitionById.get(W);if(!q)return Aa(E,B);const pe={href:Fa(q.url||"")};q.title!==null&&q.title!==void 0&&(pe.title=q.title);const Ce={type:"element",tagName:"a",properties:pe,children:E.all(B)};return E.patch(B,Ce),E.applyData(B,Ce)}function Zu(E,B){const W={href:Fa(B.url)};B.title!==null&&B.title!==void 0&&(W.title=B.title);const q={type:"element",tagName:"a",properties:W,children:E.all(B)};return E.patch(B,q),E.applyData(B,q)}function uu(E,B,W){const q=E.all(B),pe=W?sr(W):Ws(B),Ce={},$e=[];if(typeof B.checked=="boolean"){const ft=q[0];let Yt;ft&&ft.type==="element"&&ft.tagName==="p"?Yt=ft:(Yt={type:"element",tagName:"p",properties:{},children:[]},q.unshift(Yt)),Yt.children.length>0&&Yt.children.unshift({type:"text",value:" "}),Yt.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:B.checked,disabled:!0},children:[]}),Ce.className=["task-list-item"]}let it=-1;for(;++it1:B}function qe(E,B){const W={},q=E.all(B);let pe=-1;for(typeof B.start=="number"&&B.start!==1&&(W.start=B.start);++pe0){const $e={type:"element",tagName:"tbody",properties:{},children:E.wrap(W,!0)},it=(0,ke.Pk)(B.children[1]),$t=(0,ke.rb)(B.children[B.children.length-1]);it&&$t&&($e.position={start:it,end:$t}),pe.push($e)}const Ce={type:"element",tagName:"table",properties:{},children:E.wrap(pe,!0)};return E.patch(B,Ce),E.applyData(B,Ce)}function Pl(E,B,W){const q=W?W.children:void 0,Ce=(q?q.indexOf(B):1)===0?"th":"td",$e=W&&W.type==="table"?W.align:void 0,it=$e?$e.length:B.children.length;let $t=-1;const Dt=[];for(;++$t0,!0),q[0]),pe=q.index+q[0].length,q=W.exec(B);return Ce.push(Lr(B.slice(pe),pe>0,!1)),Ce.join("")}function Lr(E,B,W){let q=0,pe=E.length;if(B){let Ce=E.codePointAt(q);for(;Ce===Xu||Ce===cu;)q++,Ce=E.codePointAt(q)}if(W){let Ce=E.codePointAt(pe-1);for(;Ce===Xu||Ce===cu;)pe--,Ce=E.codePointAt(pe-1)}return pe>q?E.slice(q,pe):""}function Fs(E,B){const W={type:"text",value:Ia(String(B.value))};return E.patch(B,W),E.applyData(B,W)}function gs(E,B){const W={type:"element",tagName:"hr",properties:{},children:[]};return E.patch(B,W),E.applyData(B,W)}const xo={blockquote:Wr,break:wo,code:fa,delete:oa,emphasis:ro,footnoteReference:aa,heading:va,html:La,imageReference:Gl,image:Ys,inlineCode:ka,linkReference:hc,link:Zu,listItem:uu,list:qe,paragraph:Pn,root:Cu,strong:Yu,table:Dl,tableCell:gl,tableRow:Pl,text:Fs,thematicBreak:gs,toml:so,yaml:so,definition:so,footnoteDefinition:so};function so(){}const Ha={}.hasOwnProperty,Vs={};function sa(E,B){const W=B||Vs,q=new Map,pe=new Map,Ce=new Map,$e=Uo(Uo({},xo),W.handlers),it={all:Dt,applyData:ss,definitionById:q,footnoteById:pe,footnoteCounts:Ce,footnoteOrder:[],handlers:$e,one:$t,options:W,patch:Ks,wrap:Bo};return(0,Rl.Vn)(E,function(ft){if(ft.type==="definition"||ft.type==="footnoteDefinition"){const Yt=ft.type==="definition"?q:pe,en=String(ft.identifier).toUpperCase();Yt.has(en)||Yt.set(en,ft)}}),it;function $t(ft,Yt){const en=ft.type,_t=it.handlers[en];if(Ha.call(it.handlers,en)&&_t)return _t(it,ft,Yt);if(it.options.passThrough&&it.options.passThrough.includes(en)){if("children"in ft){const li=ft,{children:lr}=li,Ni=Ib(li,["children"]),Or=(0,Ll.ZP)(Ni);return Or.children=it.all(ft),Or}return(0,Ll.ZP)(ft)}return(it.options.unknownHandler||hu)(it,ft,Yt)}function Dt(ft){const Yt=[];if("children"in ft){const en=ft.children;let _t=-1;for(;++_t0&&W.push({type:"text",value:` -`}),W}function Es(E){let B=0,W=E.charCodeAt(B);for(;W===9||W===32;)B++,W=E.charCodeAt(B);return E.slice(B)}function So(E,B){const W=sa(E,B),q=W.one(E,void 0),pe=ks(W),Ce=Array.isArray(q)?{type:"root",children:q}:q||{type:"root",children:[]};return pe&&((0,I.ok)("children"in Ce),Ce.children.push({type:"text",value:` -`},pe)),Ce}function Jo(E,B){return E&&"run"in E?function(W,q){return iy(this,null,function*(){const pe=So(W,Uo({file:q},B));yield E.run(pe,q)})}:function(W,q){return So(W,Uo({file:q},E||B))}}function na(E){if(E)throw E}var wa=h(58847);function _o(E){if(typeof E!="object"||E===null)return!1;const B=Object.getPrototypeOf(E);return(B===null||B===Object.prototype||Object.getPrototypeOf(B)===null)&&!(Symbol.toStringTag in E)&&!(Symbol.iterator in E)}function du(){const E=[],B={run:W,use:q};return B;function W(...pe){let Ce=-1;const $e=pe.pop();if(typeof $e!="function")throw new TypeError("Expected function as last argument, not "+$e);it(null,...pe);function it($t,...Dt){const ft=E[++Ce];let Yt=-1;if($t){$e($t);return}for(;++Yt$e.length;let $t;it&&$e.push(pe);try{$t=E.apply(this,$e)}catch(Dt){const ft=Dt;if(it&&W)throw ft;return pe(ft)}it||($t&&$t.then&&typeof $t.then=="function"?$t.then(Ce,pe):$t instanceof Error?pe($t):Ce($t))}function pe($e,...it){W||(W=!0,B($e,...it))}function Ce($e){pe(null,$e)}}const sl={basename:Co,dirname:Qu,extname:Ju,join:qu,sep:"/"};function Co(E,B){if(B!==void 0&&typeof B!="string")throw new TypeError('"ext" argument must be a string');Xs(E);let W=0,q=-1,pe=E.length,Ce;if(B===void 0||B.length===0||B.length>E.length){for(;pe--;)if(E.codePointAt(pe)===47){if(Ce){W=pe+1;break}}else q<0&&(Ce=!0,q=pe+1);return q<0?"":E.slice(W,q)}if(B===E)return"";let $e=-1,it=B.length-1;for(;pe--;)if(E.codePointAt(pe)===47){if(Ce){W=pe+1;break}}else $e<0&&(Ce=!0,$e=pe+1),it>-1&&(E.codePointAt(pe)===B.codePointAt(it--)?it<0&&(q=pe):(it=-1,q=$e));return W===q?q=$e:q<0&&(q=E.length),E.slice(W,q)}function Qu(E){if(Xs(E),E.length===0)return".";let B=-1,W=E.length,q;for(;--W;)if(E.codePointAt(W)===47){if(q){B=W;break}}else q||(q=!0);return B<0?E.codePointAt(0)===47?"/":".":B===1&&E.codePointAt(0)===47?"//":E.slice(0,B)}function Ju(E){Xs(E);let B=E.length,W=-1,q=0,pe=-1,Ce=0,$e;for(;B--;){const it=E.codePointAt(B);if(it===47){if($e){q=B+1;break}continue}W<0&&($e=!0,W=B+1),it===46?pe<0?pe=B:Ce!==1&&(Ce=1):pe>-1&&(Ce=-1)}return pe<0||W<0||Ce===0||Ce===1&&pe===W-1&&pe===q+1?"":E.slice(pe,W)}function qu(...E){let B=-1,W;for(;++B0&&E.codePointAt(E.length-1)===47&&(W+="/"),B?"/"+W:W}function _u(E,B){let W="",q=0,pe=-1,Ce=0,$e=-1,it,$t;for(;++$e<=E.length;){if($e2){if($t=W.lastIndexOf("/"),$t!==W.length-1){$t<0?(W="",q=0):(W=W.slice(0,$t),q=W.length-1-W.lastIndexOf("/")),pe=$e,Ce=0;continue}}else if(W.length>0){W="",q=0,pe=$e,Ce=0;continue}}B&&(W=W.length>0?W+"/..":"..",q=2)}else W.length>0?W+="/"+E.slice(pe+1,$e):W=E.slice(pe+1,$e),q=$e-pe-1;pe=$e,Ce=0}else it===46&&Ce>-1?Ce++:Ce=-1}return W}function Xs(E){if(typeof E!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(E))}const Qs={cwd:ko};function ko(){return"/"}function Bs(E){return!!(E!==null&&typeof E=="object"&&"href"in E&&E.href&&"protocol"in E&&E.protocol&&E.auth===void 0)}function dc(E){if(typeof E=="string")E=new URL(E);else if(!Bs(E)){const B=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+E+"`");throw B.code="ERR_INVALID_ARG_TYPE",B}if(E.protocol!=="file:"){const B=new TypeError("The URL must be of scheme file");throw B.code="ERR_INVALID_URL_SCHEME",B}return tu(E)}function tu(E){if(E.hostname!==""){const q=new TypeError('File URL host must be "localhost" or empty on darwin');throw q.code="ERR_INVALID_FILE_URL_HOST",q}const B=E.pathname;let W=-1;for(;++W0){let[_t,...Si]=ft;const li=q[en][1];_o(li)&&_o(_t)&&(_t=wa(!0,li,_t)),q[en]=[Dt,_t,...Si]}}}}const ll=new Nu().freeze();function vs(E,B){if(typeof B!="function")throw new TypeError("Cannot `"+E+"` without `parser`")}function Vl(E,B){if(typeof B!="function")throw new TypeError("Cannot `"+E+"` without `compiler`")}function zu(E,B){if(B)throw new Error("Cannot call `"+E+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ee(E){if(!_o(E)||typeof E.type!="string")throw new TypeError("Expected node, got `"+E+"`")}function Le(E,B,W){if(!W)throw new Error("`"+E+"` finished async. Use `"+B+"` instead")}function ht(E){return bt(E)?E:new yl(E)}function bt(E){return!!(E&&typeof E=="object"&&"message"in E&&"messages"in E)}function Bt(E){return typeof E=="string"||Rt(E)}function Rt(E){return!!(E&&typeof E=="object"&&"byteLength"in E&&"byteOffset"in E)}const ve="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",yn=[],sn={allowDangerousHtml:!0},zn=/^(https?|ircs?|mailto|xmpp)$/i,$n=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function jn(E){const B=ei(E),W=ji(E);return ci(B.runSync(B.parse(W),W),E)}function gi(E){return iy(this,null,function*(){const B=ei(E),W=ji(E),q=yield B.run(B.parse(W),W);return ci(q,E)})}function yi(E){const B=ei(E),[W,q]=useState(void 0),[pe,Ce]=useState(void 0);if(useEffect(function(){const $e=ji(E);B.run(B.parse($e),$e,function(it,$t){q(it),Ce($t)})},[E.children,E.rehypePlugins,E.remarkPlugins,E.remarkRehypeOptions]),W)throw W;return pe?ci(pe,E):createElement(Fragment)}function ei(E){const B=E.rehypePlugins||yn,W=E.remarkPlugins||yn,q=E.remarkRehypeOptions?Uo(Uo({},E.remarkRehypeOptions),sn):sn;return ll().use(wu).use(W).use(Jo,q).use(B)}function ji(E){const B=E.children||"",W=new yl;return typeof B=="string"?W.value=B:(0,I.t1)("Unexpected value `"+B+"` for `children` prop, expected `string`"),W}function ci(E,B){const W=B.allowedElements,q=B.allowElement,pe=B.components,Ce=B.disallowedElements,$e=B.skipHtml,it=B.unwrapDisallowed,$t=B.urlTransform||Gi;for(const ft of $n)Object.hasOwn(B,ft.from)&&(0,I.t1)("Unexpected `"+ft.from+"` prop, "+(ft.to?"use `"+ft.to+"` instead":"remove it")+" (see <"+ve+"#"+ft.id+"> for more info)");return W&&Ce&&(0,I.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),B.className&&(E={type:"element",tagName:"div",properties:{className:B.className},children:E.type==="root"?E.children:[E]}),(0,Rl.Vn)(E,Dt),wt(E,{Fragment:He.Fragment,components:pe,ignoreInvalidStyle:!0,jsx:He.jsx,jsxs:He.jsxs,passKeys:!0,passNode:!0});function Dt(ft,Yt,en){if(ft.type==="raw"&&en&&typeof Yt=="number")return $e?en.children.splice(Yt,1):en.children[Yt]={type:"text",value:ft.value},Yt;if(ft.type==="element"){let _t;for(_t in Nt)if(Object.hasOwn(Nt,_t)&&Object.hasOwn(ft.properties,_t)){const Si=ft.properties[_t],li=Nt[_t];(li===null||li.includes(ft.tagName))&&(ft.properties[_t]=$t(String(Si||""),_t,ft))}}if(ft.type==="element"){let _t=W?!W.includes(ft.tagName):Ce?Ce.includes(ft.tagName):!1;if(!_t&&q&&typeof Yt=="number"&&(_t=!q(ft,Yt,en)),_t&&en&&typeof Yt=="number")return it&&ft.children?en.children.splice(Yt,1,...ft.children):en.children.splice(Yt,1),Yt}}}function Gi(E){const B=E.indexOf(":"),W=E.indexOf("?"),q=E.indexOf("#"),pe=E.indexOf("/");return B===-1||pe!==-1&&B>pe||W!==-1&&B>W||q!==-1&&B>q||zn.test(E.slice(0,B))?E:""}},35328:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ga}});var v=h(81994),I=h(43309);function O(T,m){return F(T,m||{})||{type:"root",children:[]}}function F(T,m){const S=G(T,m);return S&&m.afterTransform&&m.afterTransform(T,S),S}function G(T,m){switch(T.nodeType){case 1:return te(T,m);case 3:return de(T);case 8:return ce(T);case 9:return P(T,m);case 10:return M();case 11:return P(T,m);default:return}}function P(T,m){return{type:"root",children:Me(T,m)}}function M(){return{type:"doctype"}}function de(T){return{type:"text",value:T.nodeValue||""}}function ce(T){return{type:"comment",value:T.nodeValue||""}}function te(T,m){const S=T.namespaceURI,D=S===I.t.svg?v.s:v.h,Z=S===I.t.html?T.tagName.toLowerCase():T.tagName,ae=S===I.t.html&&Z==="template"?T.content:T,Y=T.getAttributeNames(),ct={};let pt=-1;for(;++ptbn&&(bn=Bn):Bn&&(bn!==void 0&&bn>-1&&pt.push(` -`.repeat(bn)||" "),bn=-1,pt.push(Bn))}return pt.join("")}function xt(T,m,S){return T.type==="element"?kt(T,m,S):T.type==="text"?S.whitespace==="normal"?wt(T,S):En(T):[]}function kt(T,m,S){const D=se(T,S),Z=T.children||[];let ae=-1,Y=[];if(lt(T))return Y;let ct,pt;for(Fe(T)||ie(T)&&Ae(m,T,ie)?pt=` -`:Ye(T)?(ct=2,pt=2):We(T)&&(ct=1,pt=1);++ae15?bn="\u2026"+ct.slice(Z-15,Z):bn=ct.slice(0,Z);var Bn;ae+15":">","<":"<",'"':""","'":"'"},Mn=/[&><"']/g;function re(T){return String(T).replace(Mn,m=>In[m])}var z=function T(m){return m.type==="ordgroup"||m.type==="color"?m.body.length===1?T(m.body[0]):m:m.type==="font"?T(m.body):m},k=function(m){var S=z(m);return S.type==="mathord"||S.type==="textord"||S.type==="atom"},j=function(m){if(!m)throw new Error("Expected non-null, but got "+String(m));return m},X=function(m){var S=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(m);return S?S[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(S[1])?null:S[1].toLowerCase():"_relative"},N={contains:ai,deflt:Ln,escape:re,hyphenate:Jn,getBaseElem:z,isCharacterBox:k,protocolFromUrl:X},_e={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:T=>"#"+T},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(T,m)=>(m.push(T),m)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:T=>Math.max(0,T),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:T=>Math.max(0,T),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:T=>Math.max(0,T),cli:"-e, --max-expand ",cliProcessor:T=>T==="Infinity"?1/0:parseInt(T)},globalGroup:{type:"boolean",cli:!1}};function Nt(T){if(T.default)return T.default;var m=T.type,S=Array.isArray(m)?m[0]:m;if(typeof S!="string")return S.enum[0];switch(S){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class He{constructor(m){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,m=m||{};for(var S in _e)if(_e.hasOwnProperty(S)){var D=_e[S];this[S]=m[S]!==void 0?D.processor?D.processor(m[S]):m[S]:Nt(D)}}reportNonstrict(m,S,D){var Z=this.strict;if(typeof Z=="function"&&(Z=Z(m,S,D)),!(!Z||Z==="ignore")){if(Z===!0||Z==="error")throw new Ft("LaTeX-incompatible input and strict mode is set to 'error': "+(S+" ["+m+"]"),D);Z==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(S+" ["+m+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Z+"': "+S+" ["+m+"]"))}}useStrictBehavior(m,S,D){var Z=this.strict;if(typeof Z=="function")try{Z=Z(m,S,D)}catch(ae){Z="error"}return!Z||Z==="ignore"?!1:Z===!0||Z==="error"?!0:Z==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(S+" ["+m+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Z+"': "+S+" ["+m+"]")),!1)}isTrusted(m){if(m.url&&!m.protocol){var S=N.protocolFromUrl(m.url);if(S==null)return!1;m.protocol=S}var D=typeof this.trust=="function"?this.trust(m):this.trust;return!!D}}class De{constructor(m,S,D){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=m,this.size=S,this.cramped=D}sup(){return nn[et[this.id]]}sub(){return nn[zt[this.id]]}fracNum(){return nn[hn[this.id]]}fracDen(){return nn[tn[this.id]]}cramp(){return nn[ze[this.id]]}text(){return nn[Un[this.id]]}isTight(){return this.size>=2}}var gt=0,ut=1,nt=2,Tt=3,fn=4,qt=5,jt=6,cn=7,nn=[new De(gt,0,!1),new De(ut,0,!0),new De(nt,1,!1),new De(Tt,1,!0),new De(fn,2,!1),new De(qt,2,!0),new De(jt,3,!1),new De(cn,3,!0)],et=[fn,qt,fn,qt,jt,cn,jt,cn],zt=[qt,qt,qt,qt,cn,cn,cn,cn],hn=[nt,Tt,fn,qt,jt,cn,jt,cn],tn=[Tt,Tt,qt,qt,cn,cn,cn,cn],ze=[ut,ut,Tt,Tt,qt,qt,cn,cn],Un=[gt,ut,nt,Tt,nt,Tt,nt,Tt],On={DISPLAY:nn[gt],TEXT:nn[nt],SCRIPT:nn[fn],SCRIPTSCRIPT:nn[jt]},Yn=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function wi(T){for(var m=0;m=Z[0]&&T<=Z[1])return S.name}return null}var vi=[];Yn.forEach(T=>T.blocks.forEach(m=>vi.push(...m)));function dn(T){for(var m=0;m=vi[m]&&T<=vi[m+1])return!0;return!1}var ln=80,gr=function(m,S){return"M95,"+(622+m+S)+` +`}]}}var _s=h(10528);function Vi(E,P){const W={type:"element",tagName:"blockquote",properties:{},children:E.wrap(E.all(P),!0)};return E.patch(P,W),E.applyData(P,W)}function Cs(E,P){const W={type:"element",tagName:"br",properties:{},children:[]};return E.patch(P,W),[E.applyData(P,W),{type:"text",value:` +`}]}function jl(E,P){const W=P.value?P.value+` +`:"",J={};P.lang&&(J.className=["language-"+P.lang]);let ge={type:"element",tagName:"code",properties:J,children:[{type:"text",value:W}]};return P.meta&&(ge.data={meta:P.meta}),E.patch(P,ge),ge=E.applyData(P,ge),ge={type:"element",tagName:"pre",properties:{},children:[ge]},E.patch(P,ge),ge}function Kr(E,P){const W={type:"element",tagName:"del",properties:{},children:E.all(P)};return E.patch(P,W),E.applyData(P,W)}function wo(E,P){const W={type:"element",tagName:"em",properties:{},children:E.all(P)};return E.patch(P,W),E.applyData(P,W)}function ha(E,P){const W=typeof E.options.clobberPrefix=="string"?E.options.clobberPrefix:"user-content-",J=String(P.identifier).toUpperCase(),ge=rl(J.toLowerCase()),Te=E.footnoteOrder.indexOf(J);let He,it=E.footnoteCounts.get(J);it===void 0?(it=0,E.footnoteOrder.push(J),He=E.footnoteOrder.length):He=Te+1,it+=1,E.footnoteCounts.set(J,it);const jt={type:"element",tagName:"a",properties:{href:"#"+W+"fn-"+ge,id:W+"fnref-"+ge+(it>1?"-"+it:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(He)}]};E.patch(P,jt);const Qt={type:"element",tagName:"sup",properties:{},children:[jt]};return E.patch(P,Qt),E.applyData(P,Qt)}function aa(E,P){const W={type:"element",tagName:"h"+P.depth,properties:{},children:E.all(P)};return E.patch(P,W),E.applyData(P,W)}function ro(E,P){if(E.options.allowDangerousHtml){const W={type:"raw",value:P.value};return E.patch(P,W),E.applyData(P,W)}}function ia(E,P){const W=P.referenceType;let J="]";if(W==="collapsed"?J+="[]":W==="full"&&(J+="["+(P.label||P.identifier)+"]"),P.type==="imageReference")return[{type:"text",value:"!["+P.alt+J}];const ge=E.all(P),Te=ge[0];Te&&Te.type==="text"?Te.value="["+Te.value:ge.unshift({type:"text",value:"["});const He=ge[ge.length-1];return He&&He.type==="text"?He.value+=J:ge.push({type:"text",value:J}),ge}function va(E,P){const W=String(P.identifier).toUpperCase(),J=E.definitionById.get(W);if(!J)return ia(E,P);const ge={src:rl(J.url||""),alt:P.alt};J.title!==null&&J.title!==void 0&&(ge.title=J.title);const Te={type:"element",tagName:"img",properties:ge,children:[]};return E.patch(P,Te),E.applyData(P,Te)}function Ma(E,P){const W={src:rl(P.url)};P.alt!==null&&P.alt!==void 0&&(W.alt=P.alt),P.title!==null&&P.title!==void 0&&(W.title=P.title);const J={type:"element",tagName:"img",properties:W,children:[]};return E.patch(P,J),E.applyData(P,J)}function Oa(E,P){const W={type:"text",value:P.value.replace(/\r?\n|\r/g," ")};E.patch(P,W);const J={type:"element",tagName:"code",properties:{},children:[W]};return E.patch(P,J),E.applyData(P,J)}function Gl(E,P){const W=String(P.identifier).toUpperCase(),J=E.definitionById.get(W);if(!J)return ia(E,P);const ge={href:rl(J.url||"")};J.title!==null&&J.title!==void 0&&(ge.title=J.title);const Te={type:"element",tagName:"a",properties:ge,children:E.all(P)};return E.patch(P,Te),E.applyData(P,Te)}function Vs(E,P){const W={href:rl(P.url)};P.title!==null&&P.title!==void 0&&(W.title=P.title);const J={type:"element",tagName:"a",properties:W,children:E.all(P)};return E.patch(P,J),E.applyData(P,J)}function wa(E,P,W){const J=E.all(P),ge=W?hc(W):zu(P),Te={},He=[];if(typeof P.checked=="boolean"){const yt=J[0];let en;yt&&yt.type==="element"&&yt.tagName==="p"?en=yt:(en={type:"element",tagName:"p",properties:{},children:[]},J.unshift(en)),en.children.length>0&&en.children.unshift({type:"text",value:" "}),en.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:P.checked,disabled:!0},children:[]}),Te.className=["task-list-item"]}let it=-1;for(;++it1:P}function du(E,P){const W={},J=E.all(P);let ge=-1;for(typeof P.start=="number"&&P.start!==1&&(W.start=P.start);++ge0){const He={type:"element",tagName:"tbody",properties:{},children:E.wrap(W,!0)},it=(0,me.Pk)(P.children[1]),jt=(0,me.rb)(P.children[P.children.length-1]);it&&jt&&(He.position={start:it,end:jt}),ge.push(He)}const Te={type:"element",tagName:"table",properties:{},children:E.wrap(ge,!0)};return E.patch(P,Te),E.applyData(P,Te)}function Cu(E,P,W){const J=W?W.children:void 0,Te=(J?J.indexOf(P):1)===0?"th":"td",He=W&&W.type==="table"?W.align:void 0,it=He?He.length:P.children.length;let jt=-1;const Qt=[];for(;++jt0,!0),J[0]),ge=J.index+J[0].length,J=W.exec(P);return Te.push(Xu(P.slice(ge),ge>0,!1)),Te.join("")}function Xu(E,P,W){let J=0,ge=E.length;if(P){let Te=E.codePointAt(J);for(;Te===pl||Te===ml;)J++,Te=E.codePointAt(J)}if(W){let Te=E.codePointAt(ge-1);for(;Te===pl||Te===ml;)ge--,Te=E.codePointAt(ge-1)}return ge>J?E.slice(J,ge):""}function Tu(E,P){const W={type:"text",value:gl(String(P.value))};return E.patch(P,W),E.applyData(P,W)}function Ca(E,P){const W={type:"element",tagName:"hr",properties:{},children:[]};return E.patch(P,W),E.applyData(P,W)}const Dr={blockquote:Vi,break:Cs,code:jl,delete:Kr,emphasis:wo,footnoteReference:ha,heading:aa,html:ro,imageReference:va,image:Ma,inlineCode:Oa,linkReference:Gl,link:Vs,listItem:wa,list:du,paragraph:nr,root:Ks,strong:qe,table:Dn,tableCell:Yu,tableRow:Cu,text:Tu,thematicBreak:Ca,toml:fs,yaml:fs,definition:fs,footnoteDefinition:fs};function fs(){}const as={}.hasOwnProperty,Eo={};function vo(E,P){const W=P||Eo,J=new Map,ge=new Map,Te=new Map,He=Po(Po({},Dr),W.handlers),it={all:Qt,applyData:js,definitionById:J,footnoteById:ge,footnoteCounts:Te,footnoteOrder:[],handlers:He,one:jt,options:W,patch:Wa,wrap:Gs};return(0,_s.Vn)(E,function(yt){if(yt.type==="definition"||yt.type==="footnoteDefinition"){const en=yt.type==="definition"?J:ge,Gt=String(yt.identifier).toUpperCase();en.has(Gt)||en.set(Gt,yt)}}),it;function jt(yt,en){const Gt=yt.type,wt=it.handlers[Gt];if(as.call(it.handlers,Gt)&&wt)return wt(it,yt,en);if(it.options.passThrough&&it.options.passThrough.includes(Gt)){if("children"in yt){const ki=yt,{children:ji}=ki,si=Ib(ki,["children"]),vi=(0,_o.ZP)(si);return vi.children=it.all(yt),vi}return(0,_o.ZP)(yt)}return(it.options.unknownHandler||sa)(it,yt,en)}function Qt(yt){const en=[];if("children"in yt){const Gt=yt.children;let wt=-1;for(;++wt0&&W.push({type:"text",value:` +`}),W}function Va(E){let P=0,W=E.charCodeAt(P);for(;W===9||W===32;)P++,W=E.charCodeAt(P);return E.slice(P)}function eu(E,P){const W=vo(E,P),J=W.one(E,void 0),ge=os(W),Te=Array.isArray(J)?{type:"root",children:J}:J||{type:"root",children:[]};return ge&&((0,I.ok)("children"in Te),Te.children.push({type:"text",value:` +`},ge)),Te}function Ro(E,P){return E&&"run"in E?function(W,J){return iy(this,null,function*(){const ge=eu(W,Po({file:J},P));yield E.run(ge,J)})}:function(W,J){return eu(W,Po({file:J},E||P))}}function vs(E){if(E)throw E}var So=h(58847);function Ko(E){if(typeof E!="object"||E===null)return!1;const P=Object.getPrototypeOf(E);return(P===null||P===Object.prototype||Object.getPrototypeOf(P)===null)&&!(Symbol.toStringTag in E)&&!(Symbol.iterator in E)}function la(){const E=[],P={run:W,use:J};return P;function W(...ge){let Te=-1;const He=ge.pop();if(typeof He!="function")throw new TypeError("Expected function as last argument, not "+He);it(null,...ge);function it(jt,...Qt){const yt=E[++Te];let en=-1;if(jt){He(jt);return}for(;++enHe.length;let jt;it&&He.push(ge);try{jt=E.apply(this,He)}catch(Qt){const yt=Qt;if(it&&W)throw yt;return ge(yt)}it||(jt&&jt.then&&typeof jt.then=="function"?jt.then(Te,ge):jt instanceof Error?ge(jt):Te(jt))}function ge(He,...it){W||(W=!0,P(He,...it))}function Te(He){ge(null,He)}}const yo={basename:fu,dirname:Ir,extname:dc,join:Co,sep:"/"};function fu(E,P){if(P!==void 0&&typeof P!="string")throw new TypeError('"ext" argument must be a string');tu(E);let W=0,J=-1,ge=E.length,Te;if(P===void 0||P.length===0||P.length>E.length){for(;ge--;)if(E.codePointAt(ge)===47){if(Te){W=ge+1;break}}else J<0&&(Te=!0,J=ge+1);return J<0?"":E.slice(W,J)}if(P===E)return"";let He=-1,it=P.length-1;for(;ge--;)if(E.codePointAt(ge)===47){if(Te){W=ge+1;break}}else He<0&&(Te=!0,He=ge+1),it>-1&&(E.codePointAt(ge)===P.codePointAt(it--)?it<0&&(J=ge):(it=-1,J=He));return W===J?J=He:J<0&&(J=E.length),E.slice(W,J)}function Ir(E){if(tu(E),E.length===0)return".";let P=-1,W=E.length,J;for(;--W;)if(E.codePointAt(W)===47){if(J){P=W;break}}else J||(J=!0);return P<0?E.codePointAt(0)===47?"/":".":P===1&&E.codePointAt(0)===47?"//":E.slice(0,P)}function dc(E){tu(E);let P=E.length,W=-1,J=0,ge=-1,Te=0,He;for(;P--;){const it=E.codePointAt(P);if(it===47){if(He){J=P+1;break}continue}W<0&&(He=!0,W=P+1),it===46?ge<0?ge=P:Te!==1&&(Te=1):ge>-1&&(Te=-1)}return ge<0||W<0||Te===0||Te===1&&ge===W-1&&ge===J+1?"":E.slice(ge,W)}function Co(...E){let P=-1,W;for(;++P0&&E.codePointAt(E.length-1)===47&&(W+="/"),P?"/"+W:W}function Ju(E,P){let W="",J=0,ge=-1,Te=0,He=-1,it,jt;for(;++He<=E.length;){if(He2){if(jt=W.lastIndexOf("/"),jt!==W.length-1){jt<0?(W="",J=0):(W=W.slice(0,jt),J=W.length-1-W.lastIndexOf("/")),ge=He,Te=0;continue}}else if(W.length>0){W="",J=0,ge=He,Te=0;continue}}P&&(W=W.length>0?W+"/..":"..",J=2)}else W.length>0?W+="/"+E.slice(ge+1,He):W=E.slice(ge+1,He),J=He-ge-1;ge=He,Te=0}else it===46&&Te>-1?Te++:Te=-1}return W}function tu(E){if(typeof E!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(E))}const wc={cwd:Uu};function Uu(){return"/"}function vl(E){return!!(E!==null&&typeof E=="object"&&"href"in E&&E.href&&"protocol"in E&&E.protocol&&E.auth===void 0)}function Zs(E){if(typeof E=="string")E=new URL(E);else if(!vl(E)){const P=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+E+"`");throw P.code="ERR_INVALID_ARG_TYPE",P}if(E.protocol!=="file:"){const P=new TypeError("The URL must be of scheme file");throw P.code="ERR_INVALID_URL_SCHEME",P}return Ao(E)}function Ao(E){if(E.hostname!==""){const J=new TypeError('File URL host must be "localhost" or empty on darwin');throw J.code="ERR_INVALID_FILE_URL_HOST",J}const P=E.pathname;let W=-1;for(;++W0){let[wt,...ii]=yt;const ki=J[Gt][1];Ko(ki)&&Ko(wt)&&(wt=So(!0,ki,wt)),J[Gt]=[Qt,wt,...ii]}}}}const mu=new Wl().freeze();function nu(E,P){if(typeof P!="function")throw new TypeError("Cannot `"+E+"` without `parser`")}function Nu(E,P){if(typeof P!="function")throw new TypeError("Cannot `"+E+"` without `compiler`")}function Ws(E,P){if(P)throw new Error("Cannot call `"+E+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ys(E){if(!Ko(E)||typeof E.type!="string")throw new TypeError("Expected node, got `"+E+"`")}function iu(E,P,W){if(!W)throw new Error("`"+E+"` finished async. Use `"+P+"` instead")}function Au(E){return Ee(E)?E:new qu(E)}function Ee(E){return!!(E&&typeof E=="object"&&"message"in E&&"messages"in E)}function Re(E){return typeof E=="string"||dt(E)}function dt(E){return!!(E&&typeof E=="object"&&"byteLength"in E&&"byteOffset"in E)}const bt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",_t=[],Dt={allowDangerousHtml:!0},ve=/^(https?|ircs?|mailto|xmpp)$/i,bn=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ln(E){const P=$n(E),W=hi(E);return gi(P.runSync(P.parse(W),W),E)}function zn(E){return iy(this,null,function*(){const P=$n(E),W=hi(E),J=yield P.run(P.parse(W),W);return gi(J,E)})}function jn(E){const P=$n(E),[W,J]=useState(void 0),[ge,Te]=useState(void 0);if(useEffect(function(){const He=hi(E);P.run(P.parse(He),He,function(it,jt){J(it),Te(jt)})},[E.children,E.rehypePlugins,E.remarkPlugins,E.remarkRehypeOptions]),W)throw W;return ge?gi(ge,E):createElement(Fragment)}function $n(E){const P=E.rehypePlugins||_t,W=E.remarkPlugins||_t,J=E.remarkRehypeOptions?Po(Po({},E.remarkRehypeOptions),Dt):Dt;return mu().use(Rl).use(W).use(Ro,J).use(P)}function hi(E){const P=E.children||"",W=new qu;return typeof P=="string"?W.value=P:(0,I.t1)("Unexpected value `"+P+"` for `children` prop, expected `string`"),W}function gi(E,P){const W=P.allowedElements,J=P.allowElement,ge=P.components,Te=P.disallowedElements,He=P.skipHtml,it=P.unwrapDisallowed,jt=P.urlTransform||ti;for(const yt of bn)Object.hasOwn(P,yt.from)&&(0,I.t1)("Unexpected `"+yt.from+"` prop, "+(yt.to?"use `"+yt.to+"` instead":"remove it")+" (see <"+bt+"#"+yt.id+"> for more info)");return W&&Te&&(0,I.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),P.className&&(E={type:"element",tagName:"div",properties:{className:P.className},children:E.type==="root"?E.children:[E]}),(0,_s.Vn)(E,Qt),xt(E,{Fragment:T.Fragment,components:ge,ignoreInvalidStyle:!0,jsx:T.jsx,jsxs:T.jsxs,passKeys:!0,passNode:!0});function Qt(yt,en,Gt){if(yt.type==="raw"&&Gt&&typeof en=="number")return He?Gt.children.splice(en,1):Gt.children[en]={type:"text",value:yt.value},en;if(yt.type==="element"){let wt;for(wt in X)if(Object.hasOwn(X,wt)&&Object.hasOwn(yt.properties,wt)){const ii=yt.properties[wt],ki=X[wt];(ki===null||ki.includes(yt.tagName))&&(yt.properties[wt]=jt(String(ii||""),wt,yt))}}if(yt.type==="element"){let wt=W?!W.includes(yt.tagName):Te?Te.includes(yt.tagName):!1;if(!wt&&J&&typeof en=="number"&&(wt=!J(yt,en,Gt)),wt&&Gt&&typeof en=="number")return it&&yt.children?Gt.children.splice(en,1,...yt.children):Gt.children.splice(en,1),en}}}function ti(E){const P=E.indexOf(":"),W=E.indexOf("?"),J=E.indexOf("#"),ge=E.indexOf("/");return P===-1||ge!==-1&&P>ge||W!==-1&&P>W||J!==-1&&P>J||ve.test(E.slice(0,P))?E:""}},35328:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Na}});var v=h(81994),I=h(43309);function O(A,m){return B(A,m||{})||{type:"root",children:[]}}function B(A,m){const S=G(A,m);return S&&m.afterTransform&&m.afterTransform(A,S),S}function G(A,m){switch(A.nodeType){case 1:return te(A,m);case 3:return de(A);case 8:return ae(A);case 9:return F(A,m);case 10:return M();case 11:return F(A,m);default:return}}function F(A,m){return{type:"root",children:Me(A,m)}}function M(){return{type:"doctype"}}function de(A){return{type:"text",value:A.nodeValue||""}}function ae(A){return{type:"comment",value:A.nodeValue||""}}function te(A,m){const S=A.namespaceURI,D=S===I.t.svg?v.s:v.h,Z=S===I.t.html?A.tagName.toLowerCase():A.tagName,se=S===I.t.html&&Z==="template"?A.content:A,Y=A.getAttributeNames(),ct={};let ft=-1;for(;++ftSn&&(Sn=Bn):Bn&&(Sn!==void 0&&Sn>-1&&ft.push(` +`.repeat(Sn)||" "),Sn=-1,ft.push(Bn))}return ft.join("")}function xt(A,m,S){return A.type==="element"?kt(A,m,S):A.type==="text"?S.whitespace==="normal"?Ct(A,S):Cn(A):[]}function kt(A,m,S){const D=le(A,S),Z=A.children||[];let se=-1,Y=[];if(lt(A))return Y;let ct,ft;for(Le(A)||re(A)&&Ae(m,A,re)?ft=` +`:Ye(A)?(ct=2,ft=2):We(A)&&(ct=1,ft=1);++se15?Sn="\u2026"+ct.slice(Z-15,Z):Sn=ct.slice(0,Z);var Bn;se+15":">","<":"<",'"':""","'":"'"},In=/[&><"']/g;function ie(A){return String(A).replace(In,m=>Mn[m])}var z=function A(m){return m.type==="ordgroup"||m.type==="color"?m.body.length===1?A(m.body[0]):m:m.type==="font"?A(m.body):m},k=function(m){var S=z(m);return S.type==="mathord"||S.type==="textord"||S.type==="atom"},j=function(m){if(!m)throw new Error("Expected non-null, but got "+String(m));return m},X=function(m){var S=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(m);return S?S[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(S[1])?null:S[1].toLowerCase():"_relative"},T={contains:oi,deflt:On,escape:ie,hyphenate:Jn,getBaseElem:z,isCharacterBox:k,protocolFromUrl:X},_e={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:A=>"#"+A},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(A,m)=>(m.push(A),m)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:A=>Math.max(0,A),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:A=>Math.max(0,A),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:A=>Math.max(0,A),cli:"-e, --max-expand ",cliProcessor:A=>A==="Infinity"?1/0:parseInt(A)},globalGroup:{type:"boolean",cli:!1}};function It(A){if(A.default)return A.default;var m=A.type,S=Array.isArray(m)?m[0]:m;if(typeof S!="string")return S.enum[0];switch(S){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class $e{constructor(m){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,m=m||{};for(var S in _e)if(_e.hasOwnProperty(S)){var D=_e[S];this[S]=m[S]!==void 0?D.processor?D.processor(m[S]):m[S]:It(D)}}reportNonstrict(m,S,D){var Z=this.strict;if(typeof Z=="function"&&(Z=Z(m,S,D)),!(!Z||Z==="ignore")){if(Z===!0||Z==="error")throw new Ft("LaTeX-incompatible input and strict mode is set to 'error': "+(S+" ["+m+"]"),D);Z==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(S+" ["+m+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Z+"': "+S+" ["+m+"]"))}}useStrictBehavior(m,S,D){var Z=this.strict;if(typeof Z=="function")try{Z=Z(m,S,D)}catch(se){Z="error"}return!Z||Z==="ignore"?!1:Z===!0||Z==="error"?!0:Z==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(S+" ["+m+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Z+"': "+S+" ["+m+"]")),!1)}isTrusted(m){if(m.url&&!m.protocol){var S=T.protocolFromUrl(m.url);if(S==null)return!1;m.protocol=S}var D=typeof this.trust=="function"?this.trust(m):this.trust;return!!D}}class De{constructor(m,S,D){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=m,this.size=S,this.cramped=D}sup(){return an[et[this.id]]}sub(){return an[zt[this.id]]}fracNum(){return an[dn[this.id]]}fracDen(){return an[rn[this.id]]}cramp(){return an[ze[this.id]]}text(){return an[Un[this.id]]}isTight(){return this.size>=2}}var gt=0,ut=1,tt=2,Et=3,pn=4,nn=5,Kt=6,hn=7,an=[new De(gt,0,!1),new De(ut,0,!0),new De(tt,1,!1),new De(Et,1,!0),new De(pn,2,!1),new De(nn,2,!0),new De(Kt,3,!1),new De(hn,3,!0)],et=[pn,nn,pn,nn,Kt,hn,Kt,hn],zt=[nn,nn,nn,nn,hn,hn,hn,hn],dn=[tt,Et,pn,nn,Kt,hn,Kt,hn],rn=[Et,Et,nn,nn,hn,hn,hn,hn],ze=[ut,ut,Et,Et,nn,nn,hn,hn],Un=[gt,ut,tt,Et,tt,Et,tt,Et],yn={DISPLAY:an[gt],TEXT:an[tt],SCRIPT:an[pn],SCRIPTSCRIPT:an[Kt]},Bt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Si(A){for(var m=0;m=Z[0]&&A<=Z[1])return S.name}return null}var _i=[];Bt.forEach(A=>A.blocks.forEach(m=>_i.push(...m)));function Ii(A){for(var m=0;m<_i.length;m+=2)if(A>=_i[m]&&A<=_i[m+1])return!0;return!1}var cn=80,fr=function(m,S){return"M95,"+(622+m+S)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -381,7 +381,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+m)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},er=function(m,S){return"M263,"+(601+m+S)+`c0.7,0,18,39.7,52,119 +M`+(834+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},Xi=function(m,S){return"M263,"+(601+m+S)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+m/2.084+" -"+m+` @@ -391,7 +391,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},ti=function(m,S){return"M983 "+(10+m+S)+` +M`+(1001+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},ei=function(m,S){return"M983 "+(10+m+S)+` l`+m/3.13+" -"+m+` c4,-6.7,10,-10,18,-10 H400000v`+(40+m)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -400,7 +400,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},Nr=function(m,S){return"M424,"+(2398+m+S)+` +M`+(1001+m)+" "+S+"h400000v"+(40+m)+"h-400000z"},Tr=function(m,S){return"M424,"+(2398+m+S)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -410,18 +410,18 @@ v`+(40+m)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+m)+" "+S+` -h400000v`+(40+m)+"h-400000z"},pr=function(m,S){return"M473,"+(2713+m+S)+` +h400000v`+(40+m)+"h-400000z"},ur=function(m,S){return"M473,"+(2713+m+S)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+m/5.298+" -"+m+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+m)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+m)+" "+S+"h400000v"+(40+m)+"H1017.7z"},U=function(m){var S=m/2;return"M400000 "+m+" H0 L"+S+" 0 l65 45 L145 "+(m-80)+" H400000z"},yr=function(m,S,D){var Z=D-54-S-m;return"M702 "+(m+S)+"H400000"+(40+m)+` +606zM`+(1001+m)+" "+S+"h400000v"+(40+m)+"H1017.7z"},U=function(m){var S=m/2;return"M400000 "+m+" H0 L"+S+" 0 l65 45 L145 "+(m-80)+" H400000z"},mr=function(m,S,D){var Z=D-54-S-m;return"M702 "+(m+S)+"H400000"+(40+m)+` H742v`+Z+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+S+"H400000v"+(40+m)+"H742z"},Er=function(m,S,D){S=1e3*S;var Z="";switch(m){case"sqrtMain":Z=gr(S,ln);break;case"sqrtSize1":Z=er(S,ln);break;case"sqrtSize2":Z=ti(S,ln);break;case"sqrtSize3":Z=Nr(S,ln);break;case"sqrtSize4":Z=pr(S,ln);break;case"sqrtTall":Z=yr(S,ln,D)}return Z},wr=function(m,S){switch(m){case"\u239C":return"M291 0 H417 V"+S+" H291z M291 0 H417 V"+S+" H291z";case"\u2223":return"M145 0 H188 V"+S+" H145z M145 0 H188 V"+S+" H145z";case"\u2225":return"M145 0 H188 V"+S+" H145z M145 0 H188 V"+S+" H145z"+("M367 0 H410 V"+S+" H367z M367 0 H410 V"+S+" H367z");case"\u239F":return"M457 0 H583 V"+S+" H457z M457 0 H583 V"+S+" H457z";case"\u23A2":return"M319 0 H403 V"+S+" H319z M319 0 H403 V"+S+" H319z";case"\u23A5":return"M263 0 H347 V"+S+" H263z M263 0 H347 V"+S+" H263z";case"\u23AA":return"M384 0 H504 V"+S+" H384z M384 0 H504 V"+S+" H384z";case"\u23D0":return"M312 0 H355 V"+S+" H312z M312 0 H355 V"+S+" H312z";case"\u2016":return"M257 0 H300 V"+S+" H257z M257 0 H300 V"+S+" H257z"+("M478 0 H521 V"+S+" H478z M478 0 H521 V"+S+" H478z");default:return""}},eo={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+S+"H400000v"+(40+m)+"H742z"},Er=function(m,S,D){S=1e3*S;var Z="";switch(m){case"sqrtMain":Z=fr(S,cn);break;case"sqrtSize1":Z=Xi(S,cn);break;case"sqrtSize2":Z=ei(S,cn);break;case"sqrtSize3":Z=Tr(S,cn);break;case"sqrtSize4":Z=ur(S,cn);break;case"sqrtTall":Z=mr(S,cn,D)}return Z},wr=function(m,S){switch(m){case"\u239C":return"M291 0 H417 V"+S+" H291z M291 0 H417 V"+S+" H291z";case"\u2223":return"M145 0 H188 V"+S+" H145z M145 0 H188 V"+S+" H145z";case"\u2225":return"M145 0 H188 V"+S+" H145z M145 0 H188 V"+S+" H145z"+("M367 0 H410 V"+S+" H367z M367 0 H410 V"+S+" H367z");case"\u239F":return"M457 0 H583 V"+S+" H457z M457 0 H583 V"+S+" H457z";case"\u23A2":return"M319 0 H403 V"+S+" H319z M319 0 H403 V"+S+" H319z";case"\u23A5":return"M263 0 H347 V"+S+" H263z M263 0 H347 V"+S+" H263z";case"\u23AA":return"M384 0 H504 V"+S+" H384z M384 0 H504 V"+S+" H384z";case"\u23D0":return"M312 0 H355 V"+S+" H312z M312 0 H355 V"+S+" H312z";case"\u2016":return"M257 0 H300 V"+S+" H257z M257 0 H300 V"+S+" H257z"+("M478 0 H521 V"+S+" H478z M478 0 H521 V"+S+" H478z");default:return""}},qr={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -596,7 +596,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},yo=function(m,S){switch(m){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+S+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},xo=function(m,S){switch(m){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+S+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+S+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+S+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+S+" v1759 h84z";case"vert":return"M145 15 v585 v"+S+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-S+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -624,16 +624,16 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(S+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Ir{constructor(m){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=m,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(m){return N.contains(this.classes,m)}toNode(){for(var m=document.createDocumentFragment(),S=0;SS.toText();return this.children.map(m).join("")}}var no={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ur={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},zi={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function xi(T,m){no[T]=m}function dt(T,m,S){if(!no[m])throw new Error("Font metrics not found for font: "+m+".");var D=T.charCodeAt(0),Z=no[m][D];if(!Z&&T[0]in zi&&(D=zi[T[0]].charCodeAt(0),Z=no[m][D]),!Z&&S==="text"&&dn(D)&&(Z=no[m][77]),Z)return{depth:Z[0],height:Z[1],italic:Z[2],skew:Z[3],width:Z[4]}}var _n={};function Wn(T){var m;if(T>=5?m=0:T>=3?m=1:m=2,!_n[m]){var S=_n[m]={cssEmPerMu:ur.quad[m]/18};for(var D in ur)ur.hasOwnProperty(D)&&(S[D]=ur[D][m])}return _n[m]}var yt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ke=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],gn=function(m,S){return S.size<2?m:yt[m-1][S.size-1]};class kn{constructor(m){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=m.style,this.color=m.color,this.size=m.size||kn.BASESIZE,this.textSize=m.textSize||this.size,this.phantom=!!m.phantom,this.font=m.font||"",this.fontFamily=m.fontFamily||"",this.fontWeight=m.fontWeight||"",this.fontShape=m.fontShape||"",this.sizeMultiplier=Ke[this.size-1],this.maxSize=m.maxSize,this.minRuleThickness=m.minRuleThickness,this._fontMetrics=void 0}extend(m){var S={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var D in m)m.hasOwnProperty(D)&&(S[D]=m[D]);return new kn(S)}havingStyle(m){return this.style===m?this:this.extend({style:m,size:gn(this.textSize,m)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(m){return this.size===m&&this.textSize===m?this:this.extend({style:this.style.text(),size:m,textSize:m,sizeMultiplier:Ke[m-1]})}havingBaseStyle(m){m=m||this.style.text();var S=gn(kn.BASESIZE,m);return this.size===S&&this.textSize===kn.BASESIZE&&this.style===m?this:this.extend({style:m,size:S})}havingBaseSizing(){var m;switch(this.style.id){case 4:case 5:m=3;break;case 6:case 7:m=1;break;default:m=6}return this.extend({style:this.style.text(),size:m})}withColor(m){return this.extend({color:m})}withPhantom(){return this.extend({phantom:!0})}withFont(m){return this.extend({font:m})}withTextFontFamily(m){return this.extend({fontFamily:m,font:""})}withTextFontWeight(m){return this.extend({fontWeight:m,font:""})}withTextFontShape(m){return this.extend({fontShape:m,font:""})}sizingClasses(m){return m.size!==this.size?["sizing","reset-size"+m.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==kn.BASESIZE?["sizing","reset-size"+this.size,"size"+kn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Wn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kn.BASESIZE=6;var on={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ct={ex:!0,em:!0,mu:!0},Ve=function(m){return typeof m!="string"&&(m=m.unit),m in on||m in Ct||m==="ex"},Ut=function(m,S){var D;if(m.unit in on)D=on[m.unit]/S.fontMetrics().ptPerEm/S.sizeMultiplier;else if(m.unit==="mu")D=S.fontMetrics().cssEmPerMu;else{var Z;if(S.style.isTight()?Z=S.havingStyle(S.style.text()):Z=S,m.unit==="ex")D=Z.fontMetrics().xHeight;else if(m.unit==="em")D=Z.fontMetrics().quad;else throw new Ft("Invalid unit: '"+m.unit+"'");Z!==S&&(D*=Z.sizeMultiplier/S.sizeMultiplier)}return Math.min(m.number*D,S.maxSize)},Ot=function(m){return+m.toFixed(4)+"em"},Gn=function(m){return m.filter(S=>S).join(" ")},ot=function(m,S,D){if(this.classes=m||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=D||{},S){S.style.isTight()&&this.classes.push("mtight");var Z=S.getColor();Z&&(this.style.color=Z)}},un=function(m){var S=document.createElement(m);S.className=Gn(this.classes);for(var D in this.style)this.style.hasOwnProperty(D)&&(S.style[D]=this.style[D]);for(var Z in this.attributes)this.attributes.hasOwnProperty(Z)&&S.setAttribute(Z,this.attributes[Z]);for(var ae=0;ae/=\x00-\x1f]/,je=function(m){var S="<"+m;this.classes.length&&(S+=' class="'+N.escape(Gn(this.classes))+'"');var D="";for(var Z in this.style)this.style.hasOwnProperty(Z)&&(D+=N.hyphenate(Z)+":"+this.style[Z]+";");D&&(S+=' style="'+N.escape(D)+'"');for(var ae in this.attributes)if(this.attributes.hasOwnProperty(ae)){if(vt.test(ae))throw new Ft("Invalid attribute name '"+ae+"'");S+=" "+ae+'="'+N.escape(this.attributes[ae])+'"'}S+=">";for(var Y=0;Y",S};class L{constructor(m,S,D,Z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,m,D,Z),this.children=S||[]}setAttribute(m,S){this.attributes[m]=S}hasClass(m){return N.contains(this.classes,m)}toNode(){return un.call(this,"span")}toMarkup(){return je.call(this,"span")}}class Lt{constructor(m,S,D,Z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,S,Z),this.children=D||[],this.setAttribute("href",m)}setAttribute(m,S){this.attributes[m]=S}hasClass(m){return N.contains(this.classes,m)}toNode(){return un.call(this,"a")}toMarkup(){return je.call(this,"a")}}class Qt{constructor(m,S,D){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=S,this.src=m,this.classes=["mord"],this.style=D}hasClass(m){return N.contains(this.classes,m)}toNode(){var m=document.createElement("img");m.src=this.src,m.alt=this.alt,m.className="mord";for(var S in this.style)this.style.hasOwnProperty(S)&&(m.style[S]=this.style[S]);return m}toMarkup(){var m=''+N.escape(this.alt)+'0&&(S=document.createElement("span"),S.style.marginRight=Ot(this.italic)),this.classes.length>0&&(S=S||document.createElement("span"),S.className=Gn(this.classes));for(var D in this.style)this.style.hasOwnProperty(D)&&(S=S||document.createElement("span"),S.style[D]=this.style[D]);return S?(S.appendChild(m),S):m}toMarkup(){var m=!1,S="0&&(D+="margin-right:"+this.italic+"em;");for(var Z in this.style)this.style.hasOwnProperty(Z)&&(D+=N.hyphenate(Z)+":"+this.style[Z]+";");D&&(m=!0,S+=' style="'+N.escape(D)+'"');var ae=N.escape(this.text);return m?(S+=">",S+=ae,S+="",S):ae}}class Cn{constructor(m,S){this.children=void 0,this.attributes=void 0,this.children=m||[],this.attributes=S||{}}toNode(){var m="http://www.w3.org/2000/svg",S=document.createElementNS(m,"svg");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&S.setAttribute(D,this.attributes[D]);for(var Z=0;Z':''}}class Nn{constructor(m){this.attributes=void 0,this.attributes=m||{}}toNode(){var m="http://www.w3.org/2000/svg",S=document.createElementNS(m,"line");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&S.setAttribute(D,this.attributes[D]);return S}toMarkup(){var m=" but got "+String(T)+".")}var Qi={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Kt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ui={math:{},text:{}};function J(T,m,S,D,Z,ae){Ui[T][Z]={font:m,group:S,replace:D},ae&&D&&(Ui[T][D]=Ui[T][Z])}var oe="math",Hn="text",Be="main",Et="ams",pi="accent-token",Rn="bin",_i="close",Xt="inner",Ei="mathord",Zt="op-token",Pi="open",Yr="punct",It="rel",Jr="spacing",Jt="textord";J(oe,Be,It,"\u2261","\\equiv",!0),J(oe,Be,It,"\u227A","\\prec",!0),J(oe,Be,It,"\u227B","\\succ",!0),J(oe,Be,It,"\u223C","\\sim",!0),J(oe,Be,It,"\u22A5","\\perp"),J(oe,Be,It,"\u2AAF","\\preceq",!0),J(oe,Be,It,"\u2AB0","\\succeq",!0),J(oe,Be,It,"\u2243","\\simeq",!0),J(oe,Be,It,"\u2223","\\mid",!0),J(oe,Be,It,"\u226A","\\ll",!0),J(oe,Be,It,"\u226B","\\gg",!0),J(oe,Be,It,"\u224D","\\asymp",!0),J(oe,Be,It,"\u2225","\\parallel"),J(oe,Be,It,"\u22C8","\\bowtie",!0),J(oe,Be,It,"\u2323","\\smile",!0),J(oe,Be,It,"\u2291","\\sqsubseteq",!0),J(oe,Be,It,"\u2292","\\sqsupseteq",!0),J(oe,Be,It,"\u2250","\\doteq",!0),J(oe,Be,It,"\u2322","\\frown",!0),J(oe,Be,It,"\u220B","\\ni",!0),J(oe,Be,It,"\u221D","\\propto",!0),J(oe,Be,It,"\u22A2","\\vdash",!0),J(oe,Be,It,"\u22A3","\\dashv",!0),J(oe,Be,It,"\u220B","\\owns"),J(oe,Be,Yr,".","\\ldotp"),J(oe,Be,Yr,"\u22C5","\\cdotp"),J(oe,Be,Jt,"#","\\#"),J(Hn,Be,Jt,"#","\\#"),J(oe,Be,Jt,"&","\\&"),J(Hn,Be,Jt,"&","\\&"),J(oe,Be,Jt,"\u2135","\\aleph",!0),J(oe,Be,Jt,"\u2200","\\forall",!0),J(oe,Be,Jt,"\u210F","\\hbar",!0),J(oe,Be,Jt,"\u2203","\\exists",!0),J(oe,Be,Jt,"\u2207","\\nabla",!0),J(oe,Be,Jt,"\u266D","\\flat",!0),J(oe,Be,Jt,"\u2113","\\ell",!0),J(oe,Be,Jt,"\u266E","\\natural",!0),J(oe,Be,Jt,"\u2663","\\clubsuit",!0),J(oe,Be,Jt,"\u2118","\\wp",!0),J(oe,Be,Jt,"\u266F","\\sharp",!0),J(oe,Be,Jt,"\u2662","\\diamondsuit",!0),J(oe,Be,Jt,"\u211C","\\Re",!0),J(oe,Be,Jt,"\u2661","\\heartsuit",!0),J(oe,Be,Jt,"\u2111","\\Im",!0),J(oe,Be,Jt,"\u2660","\\spadesuit",!0),J(oe,Be,Jt,"\xA7","\\S",!0),J(Hn,Be,Jt,"\xA7","\\S"),J(oe,Be,Jt,"\xB6","\\P",!0),J(Hn,Be,Jt,"\xB6","\\P"),J(oe,Be,Jt,"\u2020","\\dag"),J(Hn,Be,Jt,"\u2020","\\dag"),J(Hn,Be,Jt,"\u2020","\\textdagger"),J(oe,Be,Jt,"\u2021","\\ddag"),J(Hn,Be,Jt,"\u2021","\\ddag"),J(Hn,Be,Jt,"\u2021","\\textdaggerdbl"),J(oe,Be,_i,"\u23B1","\\rmoustache",!0),J(oe,Be,Pi,"\u23B0","\\lmoustache",!0),J(oe,Be,_i,"\u27EF","\\rgroup",!0),J(oe,Be,Pi,"\u27EE","\\lgroup",!0),J(oe,Be,Rn,"\u2213","\\mp",!0),J(oe,Be,Rn,"\u2296","\\ominus",!0),J(oe,Be,Rn,"\u228E","\\uplus",!0),J(oe,Be,Rn,"\u2293","\\sqcap",!0),J(oe,Be,Rn,"\u2217","\\ast"),J(oe,Be,Rn,"\u2294","\\sqcup",!0),J(oe,Be,Rn,"\u25EF","\\bigcirc",!0),J(oe,Be,Rn,"\u2219","\\bullet",!0),J(oe,Be,Rn,"\u2021","\\ddagger"),J(oe,Be,Rn,"\u2240","\\wr",!0),J(oe,Be,Rn,"\u2A3F","\\amalg"),J(oe,Be,Rn,"&","\\And"),J(oe,Be,It,"\u27F5","\\longleftarrow",!0),J(oe,Be,It,"\u21D0","\\Leftarrow",!0),J(oe,Be,It,"\u27F8","\\Longleftarrow",!0),J(oe,Be,It,"\u27F6","\\longrightarrow",!0),J(oe,Be,It,"\u21D2","\\Rightarrow",!0),J(oe,Be,It,"\u27F9","\\Longrightarrow",!0),J(oe,Be,It,"\u2194","\\leftrightarrow",!0),J(oe,Be,It,"\u27F7","\\longleftrightarrow",!0),J(oe,Be,It,"\u21D4","\\Leftrightarrow",!0),J(oe,Be,It,"\u27FA","\\Longleftrightarrow",!0),J(oe,Be,It,"\u21A6","\\mapsto",!0),J(oe,Be,It,"\u27FC","\\longmapsto",!0),J(oe,Be,It,"\u2197","\\nearrow",!0),J(oe,Be,It,"\u21A9","\\hookleftarrow",!0),J(oe,Be,It,"\u21AA","\\hookrightarrow",!0),J(oe,Be,It,"\u2198","\\searrow",!0),J(oe,Be,It,"\u21BC","\\leftharpoonup",!0),J(oe,Be,It,"\u21C0","\\rightharpoonup",!0),J(oe,Be,It,"\u2199","\\swarrow",!0),J(oe,Be,It,"\u21BD","\\leftharpoondown",!0),J(oe,Be,It,"\u21C1","\\rightharpoondown",!0),J(oe,Be,It,"\u2196","\\nwarrow",!0),J(oe,Be,It,"\u21CC","\\rightleftharpoons",!0),J(oe,Et,It,"\u226E","\\nless",!0),J(oe,Et,It,"\uE010","\\@nleqslant"),J(oe,Et,It,"\uE011","\\@nleqq"),J(oe,Et,It,"\u2A87","\\lneq",!0),J(oe,Et,It,"\u2268","\\lneqq",!0),J(oe,Et,It,"\uE00C","\\@lvertneqq"),J(oe,Et,It,"\u22E6","\\lnsim",!0),J(oe,Et,It,"\u2A89","\\lnapprox",!0),J(oe,Et,It,"\u2280","\\nprec",!0),J(oe,Et,It,"\u22E0","\\npreceq",!0),J(oe,Et,It,"\u22E8","\\precnsim",!0),J(oe,Et,It,"\u2AB9","\\precnapprox",!0),J(oe,Et,It,"\u2241","\\nsim",!0),J(oe,Et,It,"\uE006","\\@nshortmid"),J(oe,Et,It,"\u2224","\\nmid",!0),J(oe,Et,It,"\u22AC","\\nvdash",!0),J(oe,Et,It,"\u22AD","\\nvDash",!0),J(oe,Et,It,"\u22EA","\\ntriangleleft"),J(oe,Et,It,"\u22EC","\\ntrianglelefteq",!0),J(oe,Et,It,"\u228A","\\subsetneq",!0),J(oe,Et,It,"\uE01A","\\@varsubsetneq"),J(oe,Et,It,"\u2ACB","\\subsetneqq",!0),J(oe,Et,It,"\uE017","\\@varsubsetneqq"),J(oe,Et,It,"\u226F","\\ngtr",!0),J(oe,Et,It,"\uE00F","\\@ngeqslant"),J(oe,Et,It,"\uE00E","\\@ngeqq"),J(oe,Et,It,"\u2A88","\\gneq",!0),J(oe,Et,It,"\u2269","\\gneqq",!0),J(oe,Et,It,"\uE00D","\\@gvertneqq"),J(oe,Et,It,"\u22E7","\\gnsim",!0),J(oe,Et,It,"\u2A8A","\\gnapprox",!0),J(oe,Et,It,"\u2281","\\nsucc",!0),J(oe,Et,It,"\u22E1","\\nsucceq",!0),J(oe,Et,It,"\u22E9","\\succnsim",!0),J(oe,Et,It,"\u2ABA","\\succnapprox",!0),J(oe,Et,It,"\u2246","\\ncong",!0),J(oe,Et,It,"\uE007","\\@nshortparallel"),J(oe,Et,It,"\u2226","\\nparallel",!0),J(oe,Et,It,"\u22AF","\\nVDash",!0),J(oe,Et,It,"\u22EB","\\ntriangleright"),J(oe,Et,It,"\u22ED","\\ntrianglerighteq",!0),J(oe,Et,It,"\uE018","\\@nsupseteqq"),J(oe,Et,It,"\u228B","\\supsetneq",!0),J(oe,Et,It,"\uE01B","\\@varsupsetneq"),J(oe,Et,It,"\u2ACC","\\supsetneqq",!0),J(oe,Et,It,"\uE019","\\@varsupsetneqq"),J(oe,Et,It,"\u22AE","\\nVdash",!0),J(oe,Et,It,"\u2AB5","\\precneqq",!0),J(oe,Et,It,"\u2AB6","\\succneqq",!0),J(oe,Et,It,"\uE016","\\@nsubseteqq"),J(oe,Et,Rn,"\u22B4","\\unlhd"),J(oe,Et,Rn,"\u22B5","\\unrhd"),J(oe,Et,It,"\u219A","\\nleftarrow",!0),J(oe,Et,It,"\u219B","\\nrightarrow",!0),J(oe,Et,It,"\u21CD","\\nLeftarrow",!0),J(oe,Et,It,"\u21CF","\\nRightarrow",!0),J(oe,Et,It,"\u21AE","\\nleftrightarrow",!0),J(oe,Et,It,"\u21CE","\\nLeftrightarrow",!0),J(oe,Et,It,"\u25B3","\\vartriangle"),J(oe,Et,Jt,"\u210F","\\hslash"),J(oe,Et,Jt,"\u25BD","\\triangledown"),J(oe,Et,Jt,"\u25CA","\\lozenge"),J(oe,Et,Jt,"\u24C8","\\circledS"),J(oe,Et,Jt,"\xAE","\\circledR"),J(Hn,Et,Jt,"\xAE","\\circledR"),J(oe,Et,Jt,"\u2221","\\measuredangle",!0),J(oe,Et,Jt,"\u2204","\\nexists"),J(oe,Et,Jt,"\u2127","\\mho"),J(oe,Et,Jt,"\u2132","\\Finv",!0),J(oe,Et,Jt,"\u2141","\\Game",!0),J(oe,Et,Jt,"\u2035","\\backprime"),J(oe,Et,Jt,"\u25B2","\\blacktriangle"),J(oe,Et,Jt,"\u25BC","\\blacktriangledown"),J(oe,Et,Jt,"\u25A0","\\blacksquare"),J(oe,Et,Jt,"\u29EB","\\blacklozenge"),J(oe,Et,Jt,"\u2605","\\bigstar"),J(oe,Et,Jt,"\u2222","\\sphericalangle",!0),J(oe,Et,Jt,"\u2201","\\complement",!0),J(oe,Et,Jt,"\xF0","\\eth",!0),J(Hn,Be,Jt,"\xF0","\xF0"),J(oe,Et,Jt,"\u2571","\\diagup"),J(oe,Et,Jt,"\u2572","\\diagdown"),J(oe,Et,Jt,"\u25A1","\\square"),J(oe,Et,Jt,"\u25A1","\\Box"),J(oe,Et,Jt,"\u25CA","\\Diamond"),J(oe,Et,Jt,"\xA5","\\yen",!0),J(Hn,Et,Jt,"\xA5","\\yen",!0),J(oe,Et,Jt,"\u2713","\\checkmark",!0),J(Hn,Et,Jt,"\u2713","\\checkmark"),J(oe,Et,Jt,"\u2136","\\beth",!0),J(oe,Et,Jt,"\u2138","\\daleth",!0),J(oe,Et,Jt,"\u2137","\\gimel",!0),J(oe,Et,Jt,"\u03DD","\\digamma",!0),J(oe,Et,Jt,"\u03F0","\\varkappa"),J(oe,Et,Pi,"\u250C","\\@ulcorner",!0),J(oe,Et,_i,"\u2510","\\@urcorner",!0),J(oe,Et,Pi,"\u2514","\\@llcorner",!0),J(oe,Et,_i,"\u2518","\\@lrcorner",!0),J(oe,Et,It,"\u2266","\\leqq",!0),J(oe,Et,It,"\u2A7D","\\leqslant",!0),J(oe,Et,It,"\u2A95","\\eqslantless",!0),J(oe,Et,It,"\u2272","\\lesssim",!0),J(oe,Et,It,"\u2A85","\\lessapprox",!0),J(oe,Et,It,"\u224A","\\approxeq",!0),J(oe,Et,Rn,"\u22D6","\\lessdot"),J(oe,Et,It,"\u22D8","\\lll",!0),J(oe,Et,It,"\u2276","\\lessgtr",!0),J(oe,Et,It,"\u22DA","\\lesseqgtr",!0),J(oe,Et,It,"\u2A8B","\\lesseqqgtr",!0),J(oe,Et,It,"\u2251","\\doteqdot"),J(oe,Et,It,"\u2253","\\risingdotseq",!0),J(oe,Et,It,"\u2252","\\fallingdotseq",!0),J(oe,Et,It,"\u223D","\\backsim",!0),J(oe,Et,It,"\u22CD","\\backsimeq",!0),J(oe,Et,It,"\u2AC5","\\subseteqq",!0),J(oe,Et,It,"\u22D0","\\Subset",!0),J(oe,Et,It,"\u228F","\\sqsubset",!0),J(oe,Et,It,"\u227C","\\preccurlyeq",!0),J(oe,Et,It,"\u22DE","\\curlyeqprec",!0),J(oe,Et,It,"\u227E","\\precsim",!0),J(oe,Et,It,"\u2AB7","\\precapprox",!0),J(oe,Et,It,"\u22B2","\\vartriangleleft"),J(oe,Et,It,"\u22B4","\\trianglelefteq"),J(oe,Et,It,"\u22A8","\\vDash",!0),J(oe,Et,It,"\u22AA","\\Vvdash",!0),J(oe,Et,It,"\u2323","\\smallsmile"),J(oe,Et,It,"\u2322","\\smallfrown"),J(oe,Et,It,"\u224F","\\bumpeq",!0),J(oe,Et,It,"\u224E","\\Bumpeq",!0),J(oe,Et,It,"\u2267","\\geqq",!0),J(oe,Et,It,"\u2A7E","\\geqslant",!0),J(oe,Et,It,"\u2A96","\\eqslantgtr",!0),J(oe,Et,It,"\u2273","\\gtrsim",!0),J(oe,Et,It,"\u2A86","\\gtrapprox",!0),J(oe,Et,Rn,"\u22D7","\\gtrdot"),J(oe,Et,It,"\u22D9","\\ggg",!0),J(oe,Et,It,"\u2277","\\gtrless",!0),J(oe,Et,It,"\u22DB","\\gtreqless",!0),J(oe,Et,It,"\u2A8C","\\gtreqqless",!0),J(oe,Et,It,"\u2256","\\eqcirc",!0),J(oe,Et,It,"\u2257","\\circeq",!0),J(oe,Et,It,"\u225C","\\triangleq",!0),J(oe,Et,It,"\u223C","\\thicksim"),J(oe,Et,It,"\u2248","\\thickapprox"),J(oe,Et,It,"\u2AC6","\\supseteqq",!0),J(oe,Et,It,"\u22D1","\\Supset",!0),J(oe,Et,It,"\u2290","\\sqsupset",!0),J(oe,Et,It,"\u227D","\\succcurlyeq",!0),J(oe,Et,It,"\u22DF","\\curlyeqsucc",!0),J(oe,Et,It,"\u227F","\\succsim",!0),J(oe,Et,It,"\u2AB8","\\succapprox",!0),J(oe,Et,It,"\u22B3","\\vartriangleright"),J(oe,Et,It,"\u22B5","\\trianglerighteq"),J(oe,Et,It,"\u22A9","\\Vdash",!0),J(oe,Et,It,"\u2223","\\shortmid"),J(oe,Et,It,"\u2225","\\shortparallel"),J(oe,Et,It,"\u226C","\\between",!0),J(oe,Et,It,"\u22D4","\\pitchfork",!0),J(oe,Et,It,"\u221D","\\varpropto"),J(oe,Et,It,"\u25C0","\\blacktriangleleft"),J(oe,Et,It,"\u2234","\\therefore",!0),J(oe,Et,It,"\u220D","\\backepsilon"),J(oe,Et,It,"\u25B6","\\blacktriangleright"),J(oe,Et,It,"\u2235","\\because",!0),J(oe,Et,It,"\u22D8","\\llless"),J(oe,Et,It,"\u22D9","\\gggtr"),J(oe,Et,Rn,"\u22B2","\\lhd"),J(oe,Et,Rn,"\u22B3","\\rhd"),J(oe,Et,It,"\u2242","\\eqsim",!0),J(oe,Be,It,"\u22C8","\\Join"),J(oe,Et,It,"\u2251","\\Doteq",!0),J(oe,Et,Rn,"\u2214","\\dotplus",!0),J(oe,Et,Rn,"\u2216","\\smallsetminus"),J(oe,Et,Rn,"\u22D2","\\Cap",!0),J(oe,Et,Rn,"\u22D3","\\Cup",!0),J(oe,Et,Rn,"\u2A5E","\\doublebarwedge",!0),J(oe,Et,Rn,"\u229F","\\boxminus",!0),J(oe,Et,Rn,"\u229E","\\boxplus",!0),J(oe,Et,Rn,"\u22C7","\\divideontimes",!0),J(oe,Et,Rn,"\u22C9","\\ltimes",!0),J(oe,Et,Rn,"\u22CA","\\rtimes",!0),J(oe,Et,Rn,"\u22CB","\\leftthreetimes",!0),J(oe,Et,Rn,"\u22CC","\\rightthreetimes",!0),J(oe,Et,Rn,"\u22CF","\\curlywedge",!0),J(oe,Et,Rn,"\u22CE","\\curlyvee",!0),J(oe,Et,Rn,"\u229D","\\circleddash",!0),J(oe,Et,Rn,"\u229B","\\circledast",!0),J(oe,Et,Rn,"\u22C5","\\centerdot"),J(oe,Et,Rn,"\u22BA","\\intercal",!0),J(oe,Et,Rn,"\u22D2","\\doublecap"),J(oe,Et,Rn,"\u22D3","\\doublecup"),J(oe,Et,Rn,"\u22A0","\\boxtimes",!0),J(oe,Et,It,"\u21E2","\\dashrightarrow",!0),J(oe,Et,It,"\u21E0","\\dashleftarrow",!0),J(oe,Et,It,"\u21C7","\\leftleftarrows",!0),J(oe,Et,It,"\u21C6","\\leftrightarrows",!0),J(oe,Et,It,"\u21DA","\\Lleftarrow",!0),J(oe,Et,It,"\u219E","\\twoheadleftarrow",!0),J(oe,Et,It,"\u21A2","\\leftarrowtail",!0),J(oe,Et,It,"\u21AB","\\looparrowleft",!0),J(oe,Et,It,"\u21CB","\\leftrightharpoons",!0),J(oe,Et,It,"\u21B6","\\curvearrowleft",!0),J(oe,Et,It,"\u21BA","\\circlearrowleft",!0),J(oe,Et,It,"\u21B0","\\Lsh",!0),J(oe,Et,It,"\u21C8","\\upuparrows",!0),J(oe,Et,It,"\u21BF","\\upharpoonleft",!0),J(oe,Et,It,"\u21C3","\\downharpoonleft",!0),J(oe,Be,It,"\u22B6","\\origof",!0),J(oe,Be,It,"\u22B7","\\imageof",!0),J(oe,Et,It,"\u22B8","\\multimap",!0),J(oe,Et,It,"\u21AD","\\leftrightsquigarrow",!0),J(oe,Et,It,"\u21C9","\\rightrightarrows",!0),J(oe,Et,It,"\u21C4","\\rightleftarrows",!0),J(oe,Et,It,"\u21A0","\\twoheadrightarrow",!0),J(oe,Et,It,"\u21A3","\\rightarrowtail",!0),J(oe,Et,It,"\u21AC","\\looparrowright",!0),J(oe,Et,It,"\u21B7","\\curvearrowright",!0),J(oe,Et,It,"\u21BB","\\circlearrowright",!0),J(oe,Et,It,"\u21B1","\\Rsh",!0),J(oe,Et,It,"\u21CA","\\downdownarrows",!0),J(oe,Et,It,"\u21BE","\\upharpoonright",!0),J(oe,Et,It,"\u21C2","\\downharpoonright",!0),J(oe,Et,It,"\u21DD","\\rightsquigarrow",!0),J(oe,Et,It,"\u21DD","\\leadsto"),J(oe,Et,It,"\u21DB","\\Rrightarrow",!0),J(oe,Et,It,"\u21BE","\\restriction"),J(oe,Be,Jt,"\u2018","`"),J(oe,Be,Jt,"$","\\$"),J(Hn,Be,Jt,"$","\\$"),J(Hn,Be,Jt,"$","\\textdollar"),J(oe,Be,Jt,"%","\\%"),J(Hn,Be,Jt,"%","\\%"),J(oe,Be,Jt,"_","\\_"),J(Hn,Be,Jt,"_","\\_"),J(Hn,Be,Jt,"_","\\textunderscore"),J(oe,Be,Jt,"\u2220","\\angle",!0),J(oe,Be,Jt,"\u221E","\\infty",!0),J(oe,Be,Jt,"\u2032","\\prime"),J(oe,Be,Jt,"\u25B3","\\triangle"),J(oe,Be,Jt,"\u0393","\\Gamma",!0),J(oe,Be,Jt,"\u0394","\\Delta",!0),J(oe,Be,Jt,"\u0398","\\Theta",!0),J(oe,Be,Jt,"\u039B","\\Lambda",!0),J(oe,Be,Jt,"\u039E","\\Xi",!0),J(oe,Be,Jt,"\u03A0","\\Pi",!0),J(oe,Be,Jt,"\u03A3","\\Sigma",!0),J(oe,Be,Jt,"\u03A5","\\Upsilon",!0),J(oe,Be,Jt,"\u03A6","\\Phi",!0),J(oe,Be,Jt,"\u03A8","\\Psi",!0),J(oe,Be,Jt,"\u03A9","\\Omega",!0),J(oe,Be,Jt,"A","\u0391"),J(oe,Be,Jt,"B","\u0392"),J(oe,Be,Jt,"E","\u0395"),J(oe,Be,Jt,"Z","\u0396"),J(oe,Be,Jt,"H","\u0397"),J(oe,Be,Jt,"I","\u0399"),J(oe,Be,Jt,"K","\u039A"),J(oe,Be,Jt,"M","\u039C"),J(oe,Be,Jt,"N","\u039D"),J(oe,Be,Jt,"O","\u039F"),J(oe,Be,Jt,"P","\u03A1"),J(oe,Be,Jt,"T","\u03A4"),J(oe,Be,Jt,"X","\u03A7"),J(oe,Be,Jt,"\xAC","\\neg",!0),J(oe,Be,Jt,"\xAC","\\lnot"),J(oe,Be,Jt,"\u22A4","\\top"),J(oe,Be,Jt,"\u22A5","\\bot"),J(oe,Be,Jt,"\u2205","\\emptyset"),J(oe,Et,Jt,"\u2205","\\varnothing"),J(oe,Be,Ei,"\u03B1","\\alpha",!0),J(oe,Be,Ei,"\u03B2","\\beta",!0),J(oe,Be,Ei,"\u03B3","\\gamma",!0),J(oe,Be,Ei,"\u03B4","\\delta",!0),J(oe,Be,Ei,"\u03F5","\\epsilon",!0),J(oe,Be,Ei,"\u03B6","\\zeta",!0),J(oe,Be,Ei,"\u03B7","\\eta",!0),J(oe,Be,Ei,"\u03B8","\\theta",!0),J(oe,Be,Ei,"\u03B9","\\iota",!0),J(oe,Be,Ei,"\u03BA","\\kappa",!0),J(oe,Be,Ei,"\u03BB","\\lambda",!0),J(oe,Be,Ei,"\u03BC","\\mu",!0),J(oe,Be,Ei,"\u03BD","\\nu",!0),J(oe,Be,Ei,"\u03BE","\\xi",!0),J(oe,Be,Ei,"\u03BF","\\omicron",!0),J(oe,Be,Ei,"\u03C0","\\pi",!0),J(oe,Be,Ei,"\u03C1","\\rho",!0),J(oe,Be,Ei,"\u03C3","\\sigma",!0),J(oe,Be,Ei,"\u03C4","\\tau",!0),J(oe,Be,Ei,"\u03C5","\\upsilon",!0),J(oe,Be,Ei,"\u03D5","\\phi",!0),J(oe,Be,Ei,"\u03C7","\\chi",!0),J(oe,Be,Ei,"\u03C8","\\psi",!0),J(oe,Be,Ei,"\u03C9","\\omega",!0),J(oe,Be,Ei,"\u03B5","\\varepsilon",!0),J(oe,Be,Ei,"\u03D1","\\vartheta",!0),J(oe,Be,Ei,"\u03D6","\\varpi",!0),J(oe,Be,Ei,"\u03F1","\\varrho",!0),J(oe,Be,Ei,"\u03C2","\\varsigma",!0),J(oe,Be,Ei,"\u03C6","\\varphi",!0),J(oe,Be,Rn,"\u2217","*",!0),J(oe,Be,Rn,"+","+"),J(oe,Be,Rn,"\u2212","-",!0),J(oe,Be,Rn,"\u22C5","\\cdot",!0),J(oe,Be,Rn,"\u2218","\\circ",!0),J(oe,Be,Rn,"\xF7","\\div",!0),J(oe,Be,Rn,"\xB1","\\pm",!0),J(oe,Be,Rn,"\xD7","\\times",!0),J(oe,Be,Rn,"\u2229","\\cap",!0),J(oe,Be,Rn,"\u222A","\\cup",!0),J(oe,Be,Rn,"\u2216","\\setminus",!0),J(oe,Be,Rn,"\u2227","\\land"),J(oe,Be,Rn,"\u2228","\\lor"),J(oe,Be,Rn,"\u2227","\\wedge",!0),J(oe,Be,Rn,"\u2228","\\vee",!0),J(oe,Be,Jt,"\u221A","\\surd"),J(oe,Be,Pi,"\u27E8","\\langle",!0),J(oe,Be,Pi,"\u2223","\\lvert"),J(oe,Be,Pi,"\u2225","\\lVert"),J(oe,Be,_i,"?","?"),J(oe,Be,_i,"!","!"),J(oe,Be,_i,"\u27E9","\\rangle",!0),J(oe,Be,_i,"\u2223","\\rvert"),J(oe,Be,_i,"\u2225","\\rVert"),J(oe,Be,It,"=","="),J(oe,Be,It,":",":"),J(oe,Be,It,"\u2248","\\approx",!0),J(oe,Be,It,"\u2245","\\cong",!0),J(oe,Be,It,"\u2265","\\ge"),J(oe,Be,It,"\u2265","\\geq",!0),J(oe,Be,It,"\u2190","\\gets"),J(oe,Be,It,">","\\gt",!0),J(oe,Be,It,"\u2208","\\in",!0),J(oe,Be,It,"\uE020","\\@not"),J(oe,Be,It,"\u2282","\\subset",!0),J(oe,Be,It,"\u2283","\\supset",!0),J(oe,Be,It,"\u2286","\\subseteq",!0),J(oe,Be,It,"\u2287","\\supseteq",!0),J(oe,Et,It,"\u2288","\\nsubseteq",!0),J(oe,Et,It,"\u2289","\\nsupseteq",!0),J(oe,Be,It,"\u22A8","\\models"),J(oe,Be,It,"\u2190","\\leftarrow",!0),J(oe,Be,It,"\u2264","\\le"),J(oe,Be,It,"\u2264","\\leq",!0),J(oe,Be,It,"<","\\lt",!0),J(oe,Be,It,"\u2192","\\rightarrow",!0),J(oe,Be,It,"\u2192","\\to"),J(oe,Et,It,"\u2271","\\ngeq",!0),J(oe,Et,It,"\u2270","\\nleq",!0),J(oe,Be,Jr,"\xA0","\\ "),J(oe,Be,Jr,"\xA0","\\space"),J(oe,Be,Jr,"\xA0","\\nobreakspace"),J(Hn,Be,Jr,"\xA0","\\ "),J(Hn,Be,Jr,"\xA0"," "),J(Hn,Be,Jr,"\xA0","\\space"),J(Hn,Be,Jr,"\xA0","\\nobreakspace"),J(oe,Be,Jr,null,"\\nobreak"),J(oe,Be,Jr,null,"\\allowbreak"),J(oe,Be,Yr,",",","),J(oe,Be,Yr,";",";"),J(oe,Et,Rn,"\u22BC","\\barwedge",!0),J(oe,Et,Rn,"\u22BB","\\veebar",!0),J(oe,Be,Rn,"\u2299","\\odot",!0),J(oe,Be,Rn,"\u2295","\\oplus",!0),J(oe,Be,Rn,"\u2297","\\otimes",!0),J(oe,Be,Jt,"\u2202","\\partial",!0),J(oe,Be,Rn,"\u2298","\\oslash",!0),J(oe,Et,Rn,"\u229A","\\circledcirc",!0),J(oe,Et,Rn,"\u22A1","\\boxdot",!0),J(oe,Be,Rn,"\u25B3","\\bigtriangleup"),J(oe,Be,Rn,"\u25BD","\\bigtriangledown"),J(oe,Be,Rn,"\u2020","\\dagger"),J(oe,Be,Rn,"\u22C4","\\diamond"),J(oe,Be,Rn,"\u22C6","\\star"),J(oe,Be,Rn,"\u25C3","\\triangleleft"),J(oe,Be,Rn,"\u25B9","\\triangleright"),J(oe,Be,Pi,"{","\\{"),J(Hn,Be,Jt,"{","\\{"),J(Hn,Be,Jt,"{","\\textbraceleft"),J(oe,Be,_i,"}","\\}"),J(Hn,Be,Jt,"}","\\}"),J(Hn,Be,Jt,"}","\\textbraceright"),J(oe,Be,Pi,"{","\\lbrace"),J(oe,Be,_i,"}","\\rbrace"),J(oe,Be,Pi,"[","\\lbrack",!0),J(Hn,Be,Jt,"[","\\lbrack",!0),J(oe,Be,_i,"]","\\rbrack",!0),J(Hn,Be,Jt,"]","\\rbrack",!0),J(oe,Be,Pi,"(","\\lparen",!0),J(oe,Be,_i,")","\\rparen",!0),J(Hn,Be,Jt,"<","\\textless",!0),J(Hn,Be,Jt,">","\\textgreater",!0),J(oe,Be,Pi,"\u230A","\\lfloor",!0),J(oe,Be,_i,"\u230B","\\rfloor",!0),J(oe,Be,Pi,"\u2308","\\lceil",!0),J(oe,Be,_i,"\u2309","\\rceil",!0),J(oe,Be,Jt,"\\","\\backslash"),J(oe,Be,Jt,"\u2223","|"),J(oe,Be,Jt,"\u2223","\\vert"),J(Hn,Be,Jt,"|","\\textbar",!0),J(oe,Be,Jt,"\u2225","\\|"),J(oe,Be,Jt,"\u2225","\\Vert"),J(Hn,Be,Jt,"\u2225","\\textbardbl"),J(Hn,Be,Jt,"~","\\textasciitilde"),J(Hn,Be,Jt,"\\","\\textbackslash"),J(Hn,Be,Jt,"^","\\textasciicircum"),J(oe,Be,It,"\u2191","\\uparrow",!0),J(oe,Be,It,"\u21D1","\\Uparrow",!0),J(oe,Be,It,"\u2193","\\downarrow",!0),J(oe,Be,It,"\u21D3","\\Downarrow",!0),J(oe,Be,It,"\u2195","\\updownarrow",!0),J(oe,Be,It,"\u21D5","\\Updownarrow",!0),J(oe,Be,Zt,"\u2210","\\coprod"),J(oe,Be,Zt,"\u22C1","\\bigvee"),J(oe,Be,Zt,"\u22C0","\\bigwedge"),J(oe,Be,Zt,"\u2A04","\\biguplus"),J(oe,Be,Zt,"\u22C2","\\bigcap"),J(oe,Be,Zt,"\u22C3","\\bigcup"),J(oe,Be,Zt,"\u222B","\\int"),J(oe,Be,Zt,"\u222B","\\intop"),J(oe,Be,Zt,"\u222C","\\iint"),J(oe,Be,Zt,"\u222D","\\iiint"),J(oe,Be,Zt,"\u220F","\\prod"),J(oe,Be,Zt,"\u2211","\\sum"),J(oe,Be,Zt,"\u2A02","\\bigotimes"),J(oe,Be,Zt,"\u2A01","\\bigoplus"),J(oe,Be,Zt,"\u2A00","\\bigodot"),J(oe,Be,Zt,"\u222E","\\oint"),J(oe,Be,Zt,"\u222F","\\oiint"),J(oe,Be,Zt,"\u2230","\\oiiint"),J(oe,Be,Zt,"\u2A06","\\bigsqcup"),J(oe,Be,Zt,"\u222B","\\smallint"),J(Hn,Be,Xt,"\u2026","\\textellipsis"),J(oe,Be,Xt,"\u2026","\\mathellipsis"),J(Hn,Be,Xt,"\u2026","\\ldots",!0),J(oe,Be,Xt,"\u2026","\\ldots",!0),J(oe,Be,Xt,"\u22EF","\\@cdots",!0),J(oe,Be,Xt,"\u22F1","\\ddots",!0),J(oe,Be,Jt,"\u22EE","\\varvdots"),J(Hn,Be,Jt,"\u22EE","\\varvdots"),J(oe,Be,pi,"\u02CA","\\acute"),J(oe,Be,pi,"\u02CB","\\grave"),J(oe,Be,pi,"\xA8","\\ddot"),J(oe,Be,pi,"~","\\tilde"),J(oe,Be,pi,"\u02C9","\\bar"),J(oe,Be,pi,"\u02D8","\\breve"),J(oe,Be,pi,"\u02C7","\\check"),J(oe,Be,pi,"^","\\hat"),J(oe,Be,pi,"\u20D7","\\vec"),J(oe,Be,pi,"\u02D9","\\dot"),J(oe,Be,pi,"\u02DA","\\mathring"),J(oe,Be,Ei,"\uE131","\\@imath"),J(oe,Be,Ei,"\uE237","\\@jmath"),J(oe,Be,Jt,"\u0131","\u0131"),J(oe,Be,Jt,"\u0237","\u0237"),J(Hn,Be,Jt,"\u0131","\\i",!0),J(Hn,Be,Jt,"\u0237","\\j",!0),J(Hn,Be,Jt,"\xDF","\\ss",!0),J(Hn,Be,Jt,"\xE6","\\ae",!0),J(Hn,Be,Jt,"\u0153","\\oe",!0),J(Hn,Be,Jt,"\xF8","\\o",!0),J(Hn,Be,Jt,"\xC6","\\AE",!0),J(Hn,Be,Jt,"\u0152","\\OE",!0),J(Hn,Be,Jt,"\xD8","\\O",!0),J(Hn,Be,pi,"\u02CA","\\'"),J(Hn,Be,pi,"\u02CB","\\`"),J(Hn,Be,pi,"\u02C6","\\^"),J(Hn,Be,pi,"\u02DC","\\~"),J(Hn,Be,pi,"\u02C9","\\="),J(Hn,Be,pi,"\u02D8","\\u"),J(Hn,Be,pi,"\u02D9","\\."),J(Hn,Be,pi,"\xB8","\\c"),J(Hn,Be,pi,"\u02DA","\\r"),J(Hn,Be,pi,"\u02C7","\\v"),J(Hn,Be,pi,"\xA8",'\\"'),J(Hn,Be,pi,"\u02DD","\\H"),J(Hn,Be,pi,"\u25EF","\\textcircled");var Ri={"--":!0,"---":!0,"``":!0,"''":!0};J(Hn,Be,Jt,"\u2013","--",!0),J(Hn,Be,Jt,"\u2013","\\textendash"),J(Hn,Be,Jt,"\u2014","---",!0),J(Hn,Be,Jt,"\u2014","\\textemdash"),J(Hn,Be,Jt,"\u2018","`",!0),J(Hn,Be,Jt,"\u2018","\\textquoteleft"),J(Hn,Be,Jt,"\u2019","'",!0),J(Hn,Be,Jt,"\u2019","\\textquoteright"),J(Hn,Be,Jt,"\u201C","``",!0),J(Hn,Be,Jt,"\u201C","\\textquotedblleft"),J(Hn,Be,Jt,"\u201D","''",!0),J(Hn,Be,Jt,"\u201D","\\textquotedblright"),J(oe,Be,Jt,"\xB0","\\degree",!0),J(Hn,Be,Jt,"\xB0","\\degree"),J(Hn,Be,Jt,"\xB0","\\textdegree",!0),J(oe,Be,Jt,"\xA3","\\pounds"),J(oe,Be,Jt,"\xA3","\\mathsterling",!0),J(Hn,Be,Jt,"\xA3","\\pounds"),J(Hn,Be,Jt,"\xA3","\\textsterling",!0),J(oe,Et,Jt,"\u2720","\\maltese"),J(Hn,Et,Jt,"\u2720","\\maltese");for(var Ci='0123456789/@."',mr=0;mr0)return da(ae,bn,Z,S,Y.concat(Bn));if(pt){var Qn,ki;if(pt==="boldsymbol"){var Ii=Ya(ae,Z,S,Y,D);Qn=Ii.fontName,ki=[Ii.fontClass]}else ct?(Qn=po[pt].fontName,ki=[pt]):(Qn=Pr(pt,S.fontWeight,S.fontShape),ki=[pt,S.fontWeight,S.fontShape]);if(jo(ae,Qn,Z).metrics)return da(ae,Qn,Z,S,Y.concat(ki));if(Ri.hasOwnProperty(ae)&&Qn.slice(0,10)==="Typewriter"){for(var $i=[],Ar=0;Ar{if(Gn(T.classes)!==Gn(m.classes)||T.skew!==m.skew||T.maxFontSize!==m.maxFontSize)return!1;if(T.classes.length===1){var S=T.classes[0];if(S==="mbin"||S==="mord")return!1}for(var D in T.style)if(T.style.hasOwnProperty(D)&&T.style[D]!==m.style[D])return!1;for(var Z in m.style)if(m.style.hasOwnProperty(Z)&&T.style[Z]!==m.style[Z])return!1;return!0},cs=T=>{for(var m=0;mS&&(S=Y.height),Y.depth>D&&(D=Y.depth),Y.maxFontSize>Z&&(Z=Y.maxFontSize)}m.height=S,m.depth=D,m.maxFontSize=Z},Go=function(m,S,D,Z){var ae=new L(m,S,D,Z);return Za(ae),ae},Wt=(T,m,S,D)=>new L(T,m,S,D),Ba=function(m,S,D){var Z=Go([m],[],S);return Z.height=Math.max(D||S.fontMetrics().defaultRuleThickness,S.minRuleThickness),Z.style.borderBottomWidth=Ot(Z.height),Z.maxFontSize=1,Z},eu=function(m,S,D,Z){var ae=new Lt(m,S,D,Z);return Za(ae),ae},ol=function(m){var S=new Ir(m);return Za(S),S},fo=function(m,S){return m instanceof Ir?Go([],[m],S):m},Ao=function(m){if(m.positionType==="individualShift"){for(var S=m.children,D=[S[0]],Z=-S[0].shift-S[0].elem.depth,ae=Z,Y=1;Y{var S=Go(["mspace"],[],m),D=Ut(T,m);return S.style.marginRight=Ot(D),S},Pr=function(m,S,D){var Z="";switch(m){case"amsrm":Z="AMS";break;case"textrm":Z="Main";break;case"textsf":Z="SansSerif";break;case"texttt":Z="Typewriter";break;default:Z=m}var ae;return S==="textbf"&&D==="textit"?ae="BoldItalic":S==="textbf"?ae="Bold":S==="textit"?ae="Italic":ae="Regular",Z+"-"+ae},po={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ea={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xr=function(m,S){var[D,Z,ae]=Ea[m],Y=new ui(D),ct=new Cn([Y],{width:Ot(Z),height:Ot(ae),style:"width:"+Ot(Z),viewBox:"0 0 "+1e3*Z+" "+1e3*ae,preserveAspectRatio:"xMinYMin"}),pt=Wt(["overlay"],[ct],S);return pt.height=ae,pt.style.height=Ot(ae),pt.style.width=Ot(Z),pt},Sn={fontMap:po,makeSymbol:da,mathsym:Ta,makeSpan:Go,makeSvgSpan:Wt,makeLineSpan:Ba,makeAnchor:eu,makeFragment:ol,wrapFragment:fo,makeVList:vo,makeOrd:ns,makeGlue:Mt,staticSvg:xr,svgData:Ea,tryCombineChars:cs},hr={number:3,unit:"mu"},mi={number:4,unit:"mu"},Vo={number:5,unit:"mu"},ga={mord:{mop:hr,mbin:mi,mrel:Vo,minner:hr},mop:{mord:hr,mop:hr,mrel:Vo,minner:hr},mbin:{mord:mi,mop:mi,mopen:mi,minner:mi},mrel:{mord:Vo,mop:Vo,mopen:Vo,minner:Vo},mopen:{},mclose:{mop:hr,mbin:mi,mrel:Vo,minner:hr},mpunct:{mord:hr,mop:hr,mrel:Vo,mopen:hr,mclose:hr,mpunct:hr,minner:hr},minner:{mord:hr,mop:hr,mbin:mi,mrel:Vo,mopen:hr,mpunct:hr,minner:hr}},is={mord:{mop:hr},mop:{mord:hr,mop:hr},mbin:{},mrel:{},mopen:{},mclose:{mop:hr},mpunct:{},minner:{mop:hr}},Rs={},Ns={},si={};function Hi(T){for(var{type:m,names:S,props:D,handler:Z,htmlBuilder:ae,mathmlBuilder:Y}=T,ct={type:m,numArgs:D.numArgs,argTypes:D.argTypes,allowedInArgument:!!D.allowedInArgument,allowedInText:!!D.allowedInText,allowedInMath:D.allowedInMath===void 0?!0:D.allowedInMath,numOptionalArgs:D.numOptionalArgs||0,infix:!!D.infix,primitive:!!D.primitive,handler:Z},pt=0;pt{var Hr=Ar.classes[0],$r=$i.classes[0];Hr==="mbin"&&N.contains(al,$r)?Ar.classes[0]="mord":$r==="mbin"&&N.contains(Dr,Hr)&&($i.classes[0]="mord")},{node:Qn},ki,Ii),os(ae,($i,Ar)=>{var Hr=Oa(Ar),$r=Oa($i),No=Hr&&$r?$i.hasClass("mtight")?is[Hr][$r]:ga[Hr][$r]:null;if(No)return Sn.makeGlue(No,bn)},{node:Qn},ki,Ii),ae},os=function T(m,S,D,Z,ae){Z&&m.push(Z);for(var Y=0;Yki=>{m.splice(Qn+1,0,ki),Y++})(Y)}Z&&m.pop()},Ol=function(m){return m instanceof Ir||m instanceof Lt||m instanceof L&&m.hasClass("enclosing")?m:null},Xa=function T(m,S){var D=Ol(m);if(D){var Z=D.children;if(Z.length){if(S==="right")return T(Z[Z.length-1],"right");if(S==="left")return T(Z[0],"left")}}return m},Oa=function(m,S){return m?(S&&(m=Xa(m,S)),Ps[m.classes[0]]||null):null},ml=function(m,S){var D=["nulldelimiter"].concat(m.baseSizingClasses());return rs(S.concat(D))},Xo=function(m,S,D){if(!m)return rs();if(Ns[m.type]){var Z=Ns[m.type](m,S);if(D&&S.size!==D.size){Z=rs(S.sizingClasses(D),[Z],S);var ae=S.sizeMultiplier/D.sizeMultiplier;Z.height*=ae,Z.depth*=ae}return Z}else throw new Ft("Got group of unknown type: '"+m.type+"'")};function js(T,m){var S=rs(["base"],T,m),D=rs(["strut"]);return D.style.height=Ot(S.height+S.depth),S.depth&&(D.style.verticalAlign=Ot(-S.depth)),S.children.unshift(D),S}function wu(T,m){var S=null;T.length===1&&T[0].type==="tag"&&(S=T[0].tag,T=T[0].body);var D=Ho(T,m,"root"),Z;D.length===2&&D[1].hasClass("tag")&&(Z=D.pop());for(var ae=[],Y=[],ct=0;ct0&&(ae.push(js(Y,m)),Y=[]),ae.push(D[ct]));Y.length>0&&ae.push(js(Y,m));var bn;S?(bn=js(Ho(S,m,!0)),bn.classes=["tag"],ae.push(bn)):Z&&ae.push(Z);var Bn=rs(["katex-html"],ae);if(Bn.setAttribute("aria-hidden","true"),bn){var Qn=bn.children[0];Qn.style.height=Ot(Bn.height+Bn.depth),Bn.depth&&(Qn.style.verticalAlign=Ot(-Bn.depth))}return Bn}function Ll(T){return new Ir(T)}class as{constructor(m,S,D){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=m,this.attributes={},this.children=S||[],this.classes=D||[]}setAttribute(m,S){this.attributes[m]=S}getAttribute(m){return this.attributes[m]}toNode(){var m=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var S in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,S)&&m.setAttribute(S,this.attributes[S]);this.classes.length>0&&(m.className=Gn(this.classes));for(var D=0;D0&&(m+=' class ="'+N.escape(Gn(this.classes))+'"'),m+=">";for(var D=0;D",m}toText(){return this.children.map(m=>m.toText()).join("")}}class Fa{constructor(m){this.text=void 0,this.text=m}toNode(){return document.createTextNode(this.text)}toMarkup(){return N.escape(this.toText())}toText(){return this.text}}class Gs{constructor(m){this.width=void 0,this.character=void 0,this.width=m,m>=.05555&&m<=.05556?this.character="\u200A":m>=.1666&&m<=.1667?this.character="\u2009":m>=.2222&&m<=.2223?this.character="\u2005":m>=.2777&&m<=.2778?this.character="\u2005\u200A":m>=-.05556&&m<=-.05555?this.character="\u200A\u2063":m>=-.1667&&m<=-.1666?this.character="\u2009\u2063":m>=-.2223&&m<=-.2222?this.character="\u205F\u2063":m>=-.2778&&m<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var m=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return m.setAttribute("width",Ot(this.width)),m}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Vi={MathNode:as,TextNode:Fa,SpaceNode:Gs,newDocumentFragment:Ll},ks=function(m,S,D){return Ui[S][m]&&Ui[S][m].replace&&m.charCodeAt(0)!==55349&&!(Ri.hasOwnProperty(m)&&D&&(D.fontFamily&&D.fontFamily.slice(4,6)==="tt"||D.font&&D.font.slice(4,6)==="tt"))&&(m=Ui[S][m].replace),new Vi.TextNode(m)},Rl=function(m){return m.length===1?m[0]:new Vi.MathNode("mrow",m)},Wr=function(m,S){if(S.fontFamily==="texttt")return"monospace";if(S.fontFamily==="textsf")return S.fontShape==="textit"&&S.fontWeight==="textbf"?"sans-serif-bold-italic":S.fontShape==="textit"?"sans-serif-italic":S.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(S.fontShape==="textit"&&S.fontWeight==="textbf")return"bold-italic";if(S.fontShape==="textit")return"italic";if(S.fontWeight==="textbf")return"bold";var D=S.font;if(!D||D==="mathnormal")return null;var Z=m.mode;if(D==="mathit")return"italic";if(D==="boldsymbol")return m.type==="textord"?"bold":"bold-italic";if(D==="mathbf")return"bold";if(D==="mathbb")return"double-struck";if(D==="mathsfit")return"sans-serif-italic";if(D==="mathfrak")return"fraktur";if(D==="mathscr"||D==="mathcal")return"script";if(D==="mathsf")return"sans-serif";if(D==="mathtt")return"monospace";var ae=m.text;if(N.contains(["\\imath","\\jmath"],ae))return null;Ui[Z][ae]&&Ui[Z][ae].replace&&(ae=Ui[Z][ae].replace);var Y=Sn.fontMap[D].fontName;return dt(ae,Y,Z)?Sn.fontMap[D].variant:null};function wo(T){if(!T)return!1;if(T.type==="mi"&&T.children.length===1){var m=T.children[0];return m instanceof Fa&&m.text==="."}else if(T.type==="mo"&&T.children.length===1&&T.getAttribute("separator")==="true"&&T.getAttribute("lspace")==="0em"&&T.getAttribute("rspace")==="0em"){var S=T.children[0];return S instanceof Fa&&S.text===","}else return!1}var fa=function(m,S,D){if(m.length===1){var Z=ro(m[0],S);return D&&Z instanceof as&&Z.type==="mo"&&(Z.setAttribute("lspace","0em"),Z.setAttribute("rspace","0em")),[Z]}for(var ae=[],Y,ct=0;ct=1&&(Y.type==="mn"||wo(Y))){var bn=pt.children[0];bn instanceof as&&bn.type==="mn"&&(bn.children=[...Y.children,...bn.children],ae.pop())}else if(Y.type==="mi"&&Y.children.length===1){var Bn=Y.children[0];if(Bn instanceof Fa&&Bn.text==="\u0338"&&(pt.type==="mo"||pt.type==="mi"||pt.type==="mn")){var Qn=pt.children[0];Qn instanceof Fa&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),ae.pop())}}}ae.push(pt),Y=pt}return ae},oa=function(m,S,D){return Rl(fa(m,S,D))},ro=function(m,S){if(!m)return new Vi.MathNode("mrow");if(si[m.type]){var D=si[m.type](m,S);return D}else throw new Ft("Got group of unknown type: '"+m.type+"'")};function aa(T,m,S,D,Z){var ae=fa(T,S),Y;ae.length===1&&ae[0]instanceof as&&N.contains(["mrow","mtable"],ae[0].type)?Y=ae[0]:Y=new Vi.MathNode("mrow",ae);var ct=new Vi.MathNode("annotation",[new Vi.TextNode(m)]);ct.setAttribute("encoding","application/x-tex");var pt=new Vi.MathNode("semantics",[Y,ct]),bn=new Vi.MathNode("math",[pt]);bn.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),D&&bn.setAttribute("display","block");var Bn=Z?"katex":"katex-mathml";return Sn.makeSpan([Bn],[bn])}var va=function(m){return new kn({style:m.displayMode?On.DISPLAY:On.TEXT,maxSize:m.maxSize,minRuleThickness:m.minRuleThickness})},La=function(m,S){if(S.displayMode){var D=["katex-display"];S.leqno&&D.push("leqno"),S.fleqn&&D.push("fleqn"),m=Sn.makeSpan(D,[m])}return m},Aa=function(m,S,D){var Z=va(D),ae;if(D.output==="mathml")return aa(m,S,Z,D.displayMode,!0);if(D.output==="html"){var Y=wu(m,Z);ae=Sn.makeSpan(["katex"],[Y])}else{var ct=aa(m,S,Z,D.displayMode,!1),pt=wu(m,Z);ae=Sn.makeSpan(["katex"],[ct,pt])}return La(ae,D)},Gl=function(m,S,D){var Z=va(D),ae=wu(m,Z),Y=Sn.makeSpan(["katex"],[ae]);return La(Y,D)},Ys={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},ka=function(m){var S=new Vi.MathNode("mo",[new Vi.TextNode(Ys[m.replace(/^\\/,"")])]);return S.setAttribute("stretchy","true"),S},hc={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Zu=function(m){return m.type==="ordgroup"?m.body.length:1},uu=function(m,S){function D(){var ct=4e5,pt=m.label.slice(1);if(N.contains(["widehat","widecheck","widetilde","utilde"],pt)){var bn=m,Bn=Zu(bn.base),Qn,ki,Ii;if(Bn>5)pt==="widehat"||pt==="widecheck"?(Qn=420,ct=2364,Ii=.42,ki=pt+"4"):(Qn=312,ct=2340,Ii=.34,ki="tilde4");else{var $i=[1,1,2,2,3,3][Bn];pt==="widehat"||pt==="widecheck"?(ct=[0,1062,2364,2364,2364][$i],Qn=[0,239,300,360,420][$i],Ii=[0,.24,.3,.3,.36,.42][$i],ki=pt+$i):(ct=[0,600,1033,2339,2340][$i],Qn=[0,260,286,306,312][$i],Ii=[0,.26,.286,.3,.306,.34][$i],ki="tilde"+$i)}var Ar=new ui(ki),Hr=new Cn([Ar],{width:"100%",height:Ot(Ii),viewBox:"0 0 "+ct+" "+Qn,preserveAspectRatio:"none"});return{span:Sn.makeSvgSpan([],[Hr],S),minWidth:0,height:Ii}}else{var $r=[],No=hc[pt],[Wo,Da,ta]=No,Ko=ta/1e3,pa=Wo.length,hs,ca;if(pa===1){var bl=No[3];hs=["hide-tail"],ca=[bl]}else if(pa===2)hs=["halfarrow-left","halfarrow-right"],ca=["xMinYMin","xMaxYMin"];else if(pa===3)hs=["brace-left","brace-center","brace-right"],ca=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+pa+" children.");for(var Us=0;Us0&&(Z.style.minWidth=Ot(ae)),Z},sr=function(m,S,D,Z,ae){var Y,ct=m.height+m.depth+D+Z;if(/fbox|color|angl/.test(S)){if(Y=Sn.makeSpan(["stretchy",S],[],ae),S==="fbox"){var pt=ae.color&&ae.getColor();pt&&(Y.style.borderColor=pt)}}else{var bn=[];/^[bx]cancel$/.test(S)&&bn.push(new Nn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(S)&&bn.push(new Nn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Bn=new Cn(bn,{width:"100%",height:Ot(ct)});Y=Sn.makeSvgSpan([],[Bn],ae)}return Y.height=ct,Y.style.height=Ot(ct),Y},Ws={encloseSpan:sr,mathMLnode:ka,svgSpan:uu};function qe(T,m){if(!T||T.type!==m)throw new Error("Expected node of type "+m+", but got "+(T?"node of type "+T.type:String(T)));return T}function Pn(T){var m=Cu(T);if(!m)throw new Error("Expected node of symbol group type, but got "+(T?"node of type "+T.type:String(T)));return m}function Cu(T){return T&&(T.type==="atom"||Kt.hasOwnProperty(T.type))?T:null}var Yu=(T,m)=>{var S,D,Z;T&&T.type==="supsub"?(D=qe(T.base,"accent"),S=D.base,T.base=S,Z=Li(Xo(T,m)),T.base=D):(D=qe(T,"accent"),S=D.base);var ae=Xo(S,m.havingCrampedStyle()),Y=D.isShifty&&N.isCharacterBox(S),ct=0;if(Y){var pt=N.getBaseElem(S),bn=Xo(pt,m.havingCrampedStyle());ct=st(bn).skew}var Bn=D.label==="\\c",Qn=Bn?ae.height+ae.depth:Math.min(ae.height,m.fontMetrics().xHeight),ki;if(D.isStretchy)ki=Ws.svgSpan(D,m),ki=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ae},{type:"elem",elem:ki,wrapperClasses:["svg-align"],wrapperStyle:ct>0?{width:"calc(100% - "+Ot(2*ct)+")",marginLeft:Ot(2*ct)}:void 0}]},m);else{var Ii,$i;D.label==="\\vec"?(Ii=Sn.staticSvg("vec",m),$i=Sn.svgData.vec[1]):(Ii=Sn.makeOrd({mode:D.mode,text:D.label},m,"textord"),Ii=st(Ii),Ii.italic=0,$i=Ii.width,Bn&&(Qn+=Ii.depth)),ki=Sn.makeSpan(["accent-body"],[Ii]);var Ar=D.label==="\\textcircled";Ar&&(ki.classes.push("accent-full"),Qn=ae.height);var Hr=ct;Ar||(Hr-=$i/2),ki.style.left=Ot(Hr),D.label==="\\textcircled"&&(ki.style.top=".2em"),ki=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ae},{type:"kern",size:-Qn},{type:"elem",elem:ki}]},m)}var $r=Sn.makeSpan(["mord","accent"],[ki],m);return Z?(Z.children[0]=$r,Z.height=Math.max($r.height,Z.height),Z.classes[0]="mord",Z):$r},Dl=(T,m)=>{var S=T.isStretchy?Ws.mathMLnode(T.label):new Vi.MathNode("mo",[ks(T.label,T.mode)]),D=new Vi.MathNode("mover",[ro(T.base,m),S]);return D.setAttribute("accent","true"),D},Pl=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(T=>"\\"+T).join("|"));Hi({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(T,m)=>{var S=As(m[0]),D=!Pl.test(T.funcName),Z=!D||T.funcName==="\\widehat"||T.funcName==="\\widetilde"||T.funcName==="\\widecheck";return{type:"accent",mode:T.parser.mode,label:T.funcName,isStretchy:D,isShifty:Z,base:S}},htmlBuilder:Yu,mathmlBuilder:Dl}),Hi({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(T,m)=>{var S=m[0],D=T.parser.mode;return D==="math"&&(T.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+T.funcName+" works only in text mode"),D="text"),{type:"accent",mode:D,label:T.funcName,isStretchy:!1,isShifty:!0,base:S}},htmlBuilder:Yu,mathmlBuilder:Dl}),Hi({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0];return{type:"accentUnder",mode:S.mode,label:D,base:Z}},htmlBuilder:(T,m)=>{var S=Xo(T.base,m),D=Ws.svgSpan(T,m),Z=T.label==="\\utilde"?.12:0,ae=Sn.makeVList({positionType:"top",positionData:S.height,children:[{type:"elem",elem:D,wrapperClasses:["svg-align"]},{type:"kern",size:Z},{type:"elem",elem:S}]},m);return Sn.makeSpan(["mord","accentunder"],[ae],m)},mathmlBuilder:(T,m)=>{var S=Ws.mathMLnode(T.label),D=new Vi.MathNode("munder",[ro(T.base,m),S]);return D.setAttribute("accentunder","true"),D}});var gl=T=>{var m=new Vi.MathNode("mpadded",T?[T]:[]);return m.setAttribute("width","+0.6em"),m.setAttribute("lspace","0.3em"),m};Hi({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(T,m,S){var{parser:D,funcName:Z}=T;return{type:"xArrow",mode:D.mode,label:Z,body:m[0],below:S[0]}},htmlBuilder(T,m){var S=m.style,D=m.havingStyle(S.sup()),Z=Sn.wrapFragment(Xo(T.body,D,m),m),ae=T.label.slice(0,2)==="\\x"?"x":"cd";Z.classes.push(ae+"-arrow-pad");var Y;T.below&&(D=m.havingStyle(S.sub()),Y=Sn.wrapFragment(Xo(T.below,D,m),m),Y.classes.push(ae+"-arrow-pad"));var ct=Ws.svgSpan(T,m),pt=-m.fontMetrics().axisHeight+.5*ct.height,bn=-m.fontMetrics().axisHeight-.5*ct.height-.111;(Z.depth>.25||T.label==="\\xleftequilibrium")&&(bn-=Z.depth);var Bn;if(Y){var Qn=-m.fontMetrics().axisHeight+Y.height+.5*ct.height+.111;Bn=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Z,shift:bn},{type:"elem",elem:ct,shift:pt},{type:"elem",elem:Y,shift:Qn}]},m)}else Bn=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Z,shift:bn},{type:"elem",elem:ct,shift:pt}]},m);return Bn.children[0].children[0].children[1].classes.push("svg-align"),Sn.makeSpan(["mrel","x-arrow"],[Bn],m)},mathmlBuilder(T,m){var S=Ws.mathMLnode(T.label);S.setAttribute("minsize",T.label.charAt(0)==="x"?"1.75em":"3.0em");var D;if(T.body){var Z=gl(ro(T.body,m));if(T.below){var ae=gl(ro(T.below,m));D=new Vi.MathNode("munderover",[S,ae,Z])}else D=new Vi.MathNode("mover",[S,Z])}else if(T.below){var Y=gl(ro(T.below,m));D=new Vi.MathNode("munder",[S,Y])}else D=gl(),D=new Vi.MathNode("mover",[S,D]);return D}});var Xu=Sn.makeSpan;function cu(T,m){var S=Ho(T.body,m,!0);return Xu([T.mclass],S,m)}function Ia(T,m){var S,D=fa(T.body,m);return T.mclass==="minner"?S=new Vi.MathNode("mpadded",D):T.mclass==="mord"?T.isCharacterBox?(S=D[0],S.type="mi"):S=new Vi.MathNode("mi",D):(T.isCharacterBox?(S=D[0],S.type="mo"):S=new Vi.MathNode("mo",D),T.mclass==="mbin"?(S.attributes.lspace="0.22em",S.attributes.rspace="0.22em"):T.mclass==="mpunct"?(S.attributes.lspace="0em",S.attributes.rspace="0.17em"):T.mclass==="mopen"||T.mclass==="mclose"?(S.attributes.lspace="0em",S.attributes.rspace="0em"):T.mclass==="minner"&&(S.attributes.lspace="0.0556em",S.attributes.width="+0.1111em")),S}Hi({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(T,m){var{parser:S,funcName:D}=T,Z=m[0];return{type:"mclass",mode:S.mode,mclass:"m"+D.slice(5),body:Yo(Z),isCharacterBox:N.isCharacterBox(Z)}},htmlBuilder:cu,mathmlBuilder:Ia});var Lr=T=>{var m=T.type==="ordgroup"&&T.body.length?T.body[0]:T;return m.type==="atom"&&(m.family==="bin"||m.family==="rel")?"m"+m.family:"mord"};Hi({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(T,m){var{parser:S}=T;return{type:"mclass",mode:S.mode,mclass:Lr(m[0]),body:Yo(m[1]),isCharacterBox:N.isCharacterBox(m[1])}}}),Hi({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(T,m){var{parser:S,funcName:D}=T,Z=m[1],ae=m[0],Y;D!=="\\stackrel"?Y=Lr(Z):Y="mrel";var ct={type:"op",mode:Z.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:D!=="\\stackrel",body:Yo(Z)},pt={type:"supsub",mode:ae.mode,base:ct,sup:D==="\\underset"?null:ae,sub:D==="\\underset"?ae:null};return{type:"mclass",mode:S.mode,mclass:Y,body:[pt],isCharacterBox:N.isCharacterBox(pt)}},htmlBuilder:cu,mathmlBuilder:Ia}),Hi({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(T,m){var{parser:S}=T;return{type:"pmb",mode:S.mode,mclass:Lr(m[0]),body:Yo(m[0])}},htmlBuilder(T,m){var S=Ho(T.body,m,!0),D=Sn.makeSpan([T.mclass],S,m);return D.style.textShadow="0.02em 0.01em 0.04px",D},mathmlBuilder(T,m){var S=fa(T.body,m),D=new Vi.MathNode("mstyle",S);return D.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),D}});var Fs={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},gs=()=>({type:"styling",body:[],mode:"math",style:"display"}),xo=T=>T.type==="textord"&&T.text==="@",so=(T,m)=>(T.type==="mathord"||T.type==="atom")&&T.text===m;function Ha(T,m,S){var D=Fs[T];switch(D){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return S.callFunction(D,[m[0]],[m[1]]);case"\\uparrow":case"\\downarrow":{var Z=S.callFunction("\\\\cdleft",[m[0]],[]),ae={type:"atom",text:D,mode:"math",family:"rel"},Y=S.callFunction("\\Big",[ae],[]),ct=S.callFunction("\\\\cdright",[m[1]],[]),pt={type:"ordgroup",mode:"math",body:[Z,Y,ct]};return S.callFunction("\\\\cdparent",[pt],[])}case"\\\\cdlongequal":return S.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var bn={type:"textord",text:"\\Vert",mode:"math"};return S.callFunction("\\Big",[bn],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Vs(T){var m=[];for(T.gullet.beginGroup(),T.gullet.macros.set("\\cr","\\\\\\relax"),T.gullet.beginGroup();;){m.push(T.parseExpression(!1,"\\\\")),T.gullet.endGroup(),T.gullet.beginGroup();var S=T.fetch().text;if(S==="&"||S==="\\\\")T.consume();else if(S==="\\end"){m[m.length-1].length===0&&m.pop();break}else throw new Ft("Expected \\\\ or \\cr or \\end",T.nextToken)}for(var D=[],Z=[D],ae=0;ae-1))if("<>AV".indexOf(bn)>-1)for(var Qn=0;Qn<2;Qn++){for(var ki=!0,Ii=pt+1;IiAV=|." after @',Y[pt]);var $i=Ha(bn,Bn,T),Ar={type:"styling",body:[$i],mode:"math",style:"display"};D.push(Ar),ct=gs()}ae%2===0?D.push(ct):D.shift(),D=[],Z.push(D)}T.gullet.endGroup(),T.gullet.endGroup();var Hr=new Array(Z[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:Z,arraystretch:1,addJot:!0,rowGaps:[null],cols:Hr,colSeparationType:"CD",hLinesBeforeRow:new Array(Z.length+1).fill([])}}Hi({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(T,m){var{parser:S,funcName:D}=T;return{type:"cdlabel",mode:S.mode,side:D.slice(4),label:m[0]}},htmlBuilder(T,m){var S=m.havingStyle(m.style.sup()),D=Sn.wrapFragment(Xo(T.label,S,m),m);return D.classes.push("cd-label-"+T.side),D.style.bottom=Ot(.8-D.depth),D.height=0,D.depth=0,D},mathmlBuilder(T,m){var S=new Vi.MathNode("mrow",[ro(T.label,m)]);return S=new Vi.MathNode("mpadded",[S]),S.setAttribute("width","0"),T.side==="left"&&S.setAttribute("lspace","-1width"),S.setAttribute("voffset","0.7em"),S=new Vi.MathNode("mstyle",[S]),S.setAttribute("displaystyle","false"),S.setAttribute("scriptlevel","1"),S}}),Hi({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(T,m){var{parser:S}=T;return{type:"cdlabelparent",mode:S.mode,fragment:m[0]}},htmlBuilder(T,m){var S=Sn.wrapFragment(Xo(T.fragment,m),m);return S.classes.push("cd-vert-arrow"),S},mathmlBuilder(T,m){return new Vi.MathNode("mrow",[ro(T.fragment,m)])}}),Hi({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(T,m){for(var{parser:S}=T,D=qe(m[0],"ordgroup"),Z=D.body,ae="",Y=0;Y=1114111)throw new Ft("\\@char with invalid code point "+ae);return pt<=65535?bn=String.fromCharCode(pt):(pt-=65536,bn=String.fromCharCode((pt>>10)+55296,(pt&1023)+56320)),{type:"textord",mode:S.mode,text:bn}}});var sa=(T,m)=>{var S=Ho(T.body,m.withColor(T.color),!1);return Sn.makeFragment(S)},Ks=(T,m)=>{var S=fa(T.body,m.withColor(T.color)),D=new Vi.MathNode("mstyle",S);return D.setAttribute("mathcolor",T.color),D};Hi({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(T,m){var{parser:S}=T,D=qe(m[0],"color-token").color,Z=m[1];return{type:"color",mode:S.mode,color:D,body:Yo(Z)}},htmlBuilder:sa,mathmlBuilder:Ks}),Hi({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(T,m){var{parser:S,breakOnTokenText:D}=T,Z=qe(m[0],"color-token").color;S.gullet.macros.set("\\current@color",Z);var ae=S.parseExpression(!0,D);return{type:"color",mode:S.mode,color:Z,body:ae}},htmlBuilder:sa,mathmlBuilder:Ks}),Hi({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(T,m,S){var{parser:D}=T,Z=D.gullet.future().text==="["?D.parseSizeGroup(!0):null,ae=!D.settings.displayMode||!D.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:D.mode,newLine:ae,size:Z&&qe(Z,"size").value}},htmlBuilder(T,m){var S=Sn.makeSpan(["mspace"],[],m);return T.newLine&&(S.classes.push("newline"),T.size&&(S.style.marginTop=Ot(Ut(T.size,m)))),S},mathmlBuilder(T,m){var S=new Vi.MathNode("mspace");return T.newLine&&(S.setAttribute("linebreak","newline"),T.size&&S.setAttribute("height",Ot(Ut(T.size,m)))),S}});var ss={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},hu=T=>{var m=T.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(m))throw new Ft("Expected a control sequence",T);return m},Bo=T=>{var m=T.gullet.popToken();return m.text==="="&&(m=T.gullet.popToken(),m.text===" "&&(m=T.gullet.popToken())),m},Es=(T,m,S,D)=>{var Z=T.gullet.macros.get(S.text);Z==null&&(S.noexpand=!0,Z={tokens:[S],numArgs:0,unexpandable:!T.gullet.isExpandable(S.text)}),T.gullet.macros.set(m,Z,D)};Hi({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(T){var{parser:m,funcName:S}=T;m.consumeSpaces();var D=m.fetch();if(ss[D.text])return(S==="\\global"||S==="\\\\globallong")&&(D.text=ss[D.text]),qe(m.parseFunction(),"internal");throw new Ft("Invalid token after macro prefix",D)}}),Hi({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(T){var{parser:m,funcName:S}=T,D=m.gullet.popToken(),Z=D.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Z))throw new Ft("Expected a control sequence",D);for(var ae=0,Y,ct=[[]];m.gullet.future().text!=="{";)if(D=m.gullet.popToken(),D.text==="#"){if(m.gullet.future().text==="{"){Y=m.gullet.future(),ct[ae].push("{");break}if(D=m.gullet.popToken(),!/^[1-9]$/.test(D.text))throw new Ft('Invalid argument number "'+D.text+'"');if(parseInt(D.text)!==ae+1)throw new Ft('Argument number "'+D.text+'" out of order');ae++,ct.push([])}else{if(D.text==="EOF")throw new Ft("Expected a macro definition");ct[ae].push(D.text)}var{tokens:pt}=m.gullet.consumeArg();return Y&&pt.unshift(Y),(S==="\\edef"||S==="\\xdef")&&(pt=m.gullet.expandTokens(pt),pt.reverse()),m.gullet.macros.set(Z,{tokens:pt,numArgs:ae,delimiters:ct},S===ss[S]),{type:"internal",mode:m.mode}}}),Hi({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(T){var{parser:m,funcName:S}=T,D=hu(m.gullet.popToken());m.gullet.consumeSpaces();var Z=Bo(m);return Es(m,D,Z,S==="\\\\globallet"),{type:"internal",mode:m.mode}}}),Hi({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(T){var{parser:m,funcName:S}=T,D=hu(m.gullet.popToken()),Z=m.gullet.popToken(),ae=m.gullet.popToken();return Es(m,D,ae,S==="\\\\globalfuture"),m.gullet.pushToken(ae),m.gullet.pushToken(Z),{type:"internal",mode:m.mode}}});var So=function(m,S,D){var Z=Ui.math[m]&&Ui.math[m].replace,ae=dt(Z||m,S,D);if(!ae)throw new Error("Unsupported symbol "+m+" and font size "+S+".");return ae},Jo=function(m,S,D,Z){var ae=D.havingBaseStyle(S),Y=Sn.makeSpan(Z.concat(ae.sizingClasses(D)),[m],D),ct=ae.sizeMultiplier/D.sizeMultiplier;return Y.height*=ct,Y.depth*=ct,Y.maxFontSize=ae.sizeMultiplier,Y},na=function(m,S,D){var Z=S.havingBaseStyle(D),ae=(1-S.sizeMultiplier/Z.sizeMultiplier)*S.fontMetrics().axisHeight;m.classes.push("delimcenter"),m.style.top=Ot(ae),m.height-=ae,m.depth+=ae},wa=function(m,S,D,Z,ae,Y){var ct=Sn.makeSymbol(m,"Main-Regular",ae,Z),pt=Jo(ct,S,Z,Y);return D&&na(pt,Z,S),pt},_o=function(m,S,D,Z){return Sn.makeSymbol(m,"Size"+S+"-Regular",D,Z)},du=function(m,S,D,Z,ae,Y){var ct=_o(m,S,ae,Z),pt=Jo(Sn.makeSpan(["delimsizing","size"+S],[ct],Z),On.TEXT,Z,Y);return D&&na(pt,Z,On.TEXT),pt},Mr=function(m,S,D){var Z;S==="Size1-Regular"?Z="delim-size1":Z="delim-size4";var ae=Sn.makeSpan(["delimsizinginner",Z],[Sn.makeSpan([],[Sn.makeSymbol(m,S,D)])]);return{type:"elem",elem:ae}},sl=function(m,S,D){var Z=no["Size4-Regular"][m.charCodeAt(0)]?no["Size4-Regular"][m.charCodeAt(0)][4]:no["Size1-Regular"][m.charCodeAt(0)][4],ae=new ui("inner",wr(m,Math.round(1e3*S))),Y=new Cn([ae],{width:Ot(Z),height:Ot(S),style:"width:"+Ot(Z),viewBox:"0 0 "+1e3*Z+" "+Math.round(1e3*S),preserveAspectRatio:"xMinYMin"}),ct=Sn.makeSvgSpan([],[Y],D);return ct.height=S,ct.style.height=Ot(S),ct.style.width=Ot(Z),{type:"elem",elem:ct}},Co=.008,Qu={type:"kern",size:-1*Co},Ju=["|","\\lvert","\\rvert","\\vert"],qu=["\\|","\\lVert","\\rVert","\\Vert"],wc=function(m,S,D,Z,ae,Y){var ct,pt,bn,Bn,Qn="",ki=0;ct=bn=Bn=m,pt=null;var Ii="Size1-Regular";m==="\\uparrow"?bn=Bn="\u23D0":m==="\\Uparrow"?bn=Bn="\u2016":m==="\\downarrow"?ct=bn="\u23D0":m==="\\Downarrow"?ct=bn="\u2016":m==="\\updownarrow"?(ct="\\uparrow",bn="\u23D0",Bn="\\downarrow"):m==="\\Updownarrow"?(ct="\\Uparrow",bn="\u2016",Bn="\\Downarrow"):N.contains(Ju,m)?(bn="\u2223",Qn="vert",ki=333):N.contains(qu,m)?(bn="\u2225",Qn="doublevert",ki=556):m==="["||m==="\\lbrack"?(ct="\u23A1",bn="\u23A2",Bn="\u23A3",Ii="Size4-Regular",Qn="lbrack",ki=667):m==="]"||m==="\\rbrack"?(ct="\u23A4",bn="\u23A5",Bn="\u23A6",Ii="Size4-Regular",Qn="rbrack",ki=667):m==="\\lfloor"||m==="\u230A"?(bn=ct="\u23A2",Bn="\u23A3",Ii="Size4-Regular",Qn="lfloor",ki=667):m==="\\lceil"||m==="\u2308"?(ct="\u23A1",bn=Bn="\u23A2",Ii="Size4-Regular",Qn="lceil",ki=667):m==="\\rfloor"||m==="\u230B"?(bn=ct="\u23A5",Bn="\u23A6",Ii="Size4-Regular",Qn="rfloor",ki=667):m==="\\rceil"||m==="\u2309"?(ct="\u23A4",bn=Bn="\u23A5",Ii="Size4-Regular",Qn="rceil",ki=667):m==="("||m==="\\lparen"?(ct="\u239B",bn="\u239C",Bn="\u239D",Ii="Size4-Regular",Qn="lparen",ki=875):m===")"||m==="\\rparen"?(ct="\u239E",bn="\u239F",Bn="\u23A0",Ii="Size4-Regular",Qn="rparen",ki=875):m==="\\{"||m==="\\lbrace"?(ct="\u23A7",pt="\u23A8",Bn="\u23A9",bn="\u23AA",Ii="Size4-Regular"):m==="\\}"||m==="\\rbrace"?(ct="\u23AB",pt="\u23AC",Bn="\u23AD",bn="\u23AA",Ii="Size4-Regular"):m==="\\lgroup"||m==="\u27EE"?(ct="\u23A7",Bn="\u23A9",bn="\u23AA",Ii="Size4-Regular"):m==="\\rgroup"||m==="\u27EF"?(ct="\u23AB",Bn="\u23AD",bn="\u23AA",Ii="Size4-Regular"):m==="\\lmoustache"||m==="\u23B0"?(ct="\u23A7",Bn="\u23AD",bn="\u23AA",Ii="Size4-Regular"):(m==="\\rmoustache"||m==="\u23B1")&&(ct="\u23AB",Bn="\u23A9",bn="\u23AA",Ii="Size4-Regular");var $i=So(ct,Ii,ae),Ar=$i.height+$i.depth,Hr=So(bn,Ii,ae),$r=Hr.height+Hr.depth,No=So(Bn,Ii,ae),Wo=No.height+No.depth,Da=0,ta=1;if(pt!==null){var Ko=So(pt,Ii,ae);Da=Ko.height+Ko.depth,ta=2}var pa=Ar+Wo+Da,hs=Math.max(0,Math.ceil((S-pa)/(ta*$r))),ca=pa+hs*ta*$r,bl=Z.fontMetrics().axisHeight;D&&(bl*=Z.sizeMultiplier);var Us=ca/2-bl,ds=[];if(Qn.length>0){var Is=ca-Ar-Wo,ul=Math.round(ca*1e3),Kl=yo(Qn,Math.round(Is*1e3)),_s=new ui(Qn,Kl),Au=(ki/1e3).toFixed(3)+"em",ec=(ul/1e3).toFixed(3)+"em",Pc=new Cn([_s],{width:Au,height:ec,viewBox:"0 0 "+ki+" "+ul}),Fl=Sn.makeSvgSpan([],[Pc],Z);Fl.height=ul/1e3,Fl.style.width=Au,Fl.style.height=ec,ds.push({type:"elem",elem:Fl})}else{if(ds.push(Mr(Bn,Ii,ae)),ds.push(Qu),pt===null){var bs=ca-Ar-Wo+2*Co;ds.push(sl(bn,bs,Z))}else{var Bl=(ca-Ar-Wo-Da)/2+2*Co;ds.push(sl(bn,Bl,Z)),ds.push(Qu),ds.push(Mr(pt,Ii,ae)),ds.push(Qu),ds.push(sl(bn,Bl,Z))}ds.push(Qu),ds.push(Mr(ct,Ii,ae))}var Qa=Z.havingBaseStyle(On.TEXT),qo=Sn.makeVList({positionType:"bottom",positionData:Us,children:ds},Qa);return Jo(Sn.makeSpan(["delimsizing","mult"],[qo],Qa),On.TEXT,Z,Y)},_u=80,Xs=.08,Qs=function(m,S,D,Z,ae){var Y=Er(m,Z,D),ct=new ui(m,Y),pt=new Cn([ct],{width:"400em",height:Ot(S),viewBox:"0 0 400000 "+D,preserveAspectRatio:"xMinYMin slice"});return Sn.makeSvgSpan(["hide-tail"],[pt],ae)},ko=function(m,S){var D=S.havingBaseSizing(),Z=pu("\\surd",m*D.sizeMultiplier,Zs,D),ae=D.sizeMultiplier,Y=Math.max(0,S.minRuleThickness-S.fontMetrics().sqrtRuleThickness),ct,pt=0,bn=0,Bn=0,Qn;return Z.type==="small"?(Bn=1e3+1e3*Y+_u,m<1?ae=1:m<1.4&&(ae=.7),pt=(1+Y+Xs)/ae,bn=(1+Y)/ae,ct=Qs("sqrtMain",pt,Bn,Y,S),ct.style.minWidth="0.853em",Qn=.833/ae):Z.type==="large"?(Bn=(1e3+_u)*vl[Z.size],bn=(vl[Z.size]+Y)/ae,pt=(vl[Z.size]+Y+Xs)/ae,ct=Qs("sqrtSize"+Z.size,pt,Bn,Y,S),ct.style.minWidth="1.02em",Qn=1/ae):(pt=m+Y+Xs,bn=m+Y,Bn=Math.floor(1e3*m+Y)+_u,ct=Qs("sqrtTall",pt,Bn,Y,S),ct.style.minWidth="0.742em",Qn=1.056),ct.height=bn,ct.style.height=Ot(pt),{span:ct,advanceWidth:Qn,ruleWidth:(S.fontMetrics().sqrtRuleThickness+Y)*ae}},Bs=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],dc=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],tu=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],vl=[0,1.2,1.8,2.4,3],yl=function(m,S,D,Z,ae){if(m==="<"||m==="\\lt"||m==="\u27E8"?m="\\langle":(m===">"||m==="\\gt"||m==="\u27E9")&&(m="\\rangle"),N.contains(Bs,m)||N.contains(tu,m))return du(m,S,!1,D,Z,ae);if(N.contains(dc,m))return wc(m,vl[S],!1,D,Z,ae);throw new Ft("Illegal delimiter: '"+m+"'")},Js=[{type:"small",style:On.SCRIPTSCRIPT},{type:"small",style:On.SCRIPT},{type:"small",style:On.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Wl=[{type:"small",style:On.SCRIPTSCRIPT},{type:"small",style:On.SCRIPT},{type:"small",style:On.TEXT},{type:"stack"}],Zs=[{type:"small",style:On.SCRIPTSCRIPT},{type:"small",style:On.SCRIPT},{type:"small",style:On.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fu=function(m){if(m.type==="small")return"Main-Regular";if(m.type==="large")return"Size"+m.size+"-Regular";if(m.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+m.type+"' here.")},pu=function(m,S,D,Z){for(var ae=Math.min(2,3-Z.style.size),Y=ae;YS)return D[Y]}return D[D.length-1]},Tu=function(m,S,D,Z,ae,Y){m==="<"||m==="\\lt"||m==="\u27E8"?m="\\langle":(m===">"||m==="\\gt"||m==="\u27E9")&&(m="\\rangle");var ct;N.contains(tu,m)?ct=Js:N.contains(Bs,m)?ct=Zs:ct=Wl;var pt=pu(m,S,ct,Z);return pt.type==="small"?wa(m,pt.style,D,Z,ae,Y):pt.type==="large"?du(m,pt.size,D,Z,ae,Y):wc(m,S,D,Z,ae,Y)},Nu=function(m,S,D,Z,ae,Y){var ct=Z.fontMetrics().axisHeight*Z.sizeMultiplier,pt=901,bn=5/Z.fontMetrics().ptPerEm,Bn=Math.max(S-ct,D+ct),Qn=Math.max(Bn/500*pt,2*Bn-bn);return Tu(m,Qn,!0,Z,ae,Y)},ll={sqrtImage:ko,sizedDelim:yl,sizeToMaxHeight:vl,customSizedDelim:Tu,leftRightDelim:Nu},vs={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Vl=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function zu(T,m){var S=Cu(T);if(S&&N.contains(Vl,S.text))return S;throw S?new Ft("Invalid delimiter '"+S.text+"' after '"+m.funcName+"'",T):new Ft("Invalid delimiter type '"+T.type+"'",T)}Hi({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(T,m)=>{var S=zu(m[0],T);return{type:"delimsizing",mode:T.parser.mode,size:vs[T.funcName].size,mclass:vs[T.funcName].mclass,delim:S.text}},htmlBuilder:(T,m)=>T.delim==="."?Sn.makeSpan([T.mclass]):ll.sizedDelim(T.delim,T.size,m,T.mode,[T.mclass]),mathmlBuilder:T=>{var m=[];T.delim!=="."&&m.push(ks(T.delim,T.mode));var S=new Vi.MathNode("mo",m);T.mclass==="mopen"||T.mclass==="mclose"?S.setAttribute("fence","true"):S.setAttribute("fence","false"),S.setAttribute("stretchy","true");var D=Ot(ll.sizeToMaxHeight[T.size]);return S.setAttribute("minsize",D),S.setAttribute("maxsize",D),S}});function Ee(T){if(!T.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Hi({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(T,m)=>{var S=T.parser.gullet.macros.get("\\current@color");if(S&&typeof S!="string")throw new Ft("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:T.parser.mode,delim:zu(m[0],T).text,color:S}}}),Hi({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(T,m)=>{var S=zu(m[0],T),D=T.parser;++D.leftrightDepth;var Z=D.parseExpression(!1);--D.leftrightDepth,D.expect("\\right",!1);var ae=qe(D.parseFunction(),"leftright-right");return{type:"leftright",mode:D.mode,body:Z,left:S.text,right:ae.delim,rightColor:ae.color}},htmlBuilder:(T,m)=>{Ee(T);for(var S=Ho(T.body,m,!0,["mopen","mclose"]),D=0,Z=0,ae=!1,Y=0;Y{Ee(T);var S=fa(T.body,m);if(T.left!=="."){var D=new Vi.MathNode("mo",[ks(T.left,T.mode)]);D.setAttribute("fence","true"),S.unshift(D)}if(T.right!=="."){var Z=new Vi.MathNode("mo",[ks(T.right,T.mode)]);Z.setAttribute("fence","true"),T.rightColor&&Z.setAttribute("mathcolor",T.rightColor),S.push(Z)}return Rl(S)}}),Hi({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(T,m)=>{var S=zu(m[0],T);if(!T.parser.leftrightDepth)throw new Ft("\\middle without preceding \\left",S);return{type:"middle",mode:T.parser.mode,delim:S.text}},htmlBuilder:(T,m)=>{var S;if(T.delim===".")S=ml(m,[]);else{S=ll.sizedDelim(T.delim,1,m,T.mode,[]);var D={delim:T.delim,options:m};S.isMiddle=D}return S},mathmlBuilder:(T,m)=>{var S=T.delim==="\\vert"||T.delim==="|"?ks("|","text"):ks(T.delim,T.mode),D=new Vi.MathNode("mo",[S]);return D.setAttribute("fence","true"),D.setAttribute("lspace","0.05em"),D.setAttribute("rspace","0.05em"),D}});var Le=(T,m)=>{var S=Sn.wrapFragment(Xo(T.body,m),m),D=T.label.slice(1),Z=m.sizeMultiplier,ae,Y=0,ct=N.isCharacterBox(T.body);if(D==="sout")ae=Sn.makeSpan(["stretchy","sout"]),ae.height=m.fontMetrics().defaultRuleThickness/Z,Y=-.5*m.fontMetrics().xHeight;else if(D==="phase"){var pt=Ut({number:.6,unit:"pt"},m),bn=Ut({number:.35,unit:"ex"},m),Bn=m.havingBaseSizing();Z=Z/Bn.sizeMultiplier;var Qn=S.height+S.depth+pt+bn;S.style.paddingLeft=Ot(Qn/2+pt);var ki=Math.floor(1e3*Qn*Z),Ii=U(ki),$i=new Cn([new ui("phase",Ii)],{width:"400em",height:Ot(ki/1e3),viewBox:"0 0 400000 "+ki,preserveAspectRatio:"xMinYMin slice"});ae=Sn.makeSvgSpan(["hide-tail"],[$i],m),ae.style.height=Ot(Qn),Y=S.depth+pt+bn}else{/cancel/.test(D)?ct||S.classes.push("cancel-pad"):D==="angl"?S.classes.push("anglpad"):S.classes.push("boxpad");var Ar=0,Hr=0,$r=0;/box/.test(D)?($r=Math.max(m.fontMetrics().fboxrule,m.minRuleThickness),Ar=m.fontMetrics().fboxsep+(D==="colorbox"?0:$r),Hr=Ar):D==="angl"?($r=Math.max(m.fontMetrics().defaultRuleThickness,m.minRuleThickness),Ar=4*$r,Hr=Math.max(0,.25-S.depth)):(Ar=ct?.2:0,Hr=Ar),ae=Ws.encloseSpan(S,D,Ar,Hr,m),/fbox|boxed|fcolorbox/.test(D)?(ae.style.borderStyle="solid",ae.style.borderWidth=Ot($r)):D==="angl"&&$r!==.049&&(ae.style.borderTopWidth=Ot($r),ae.style.borderRightWidth=Ot($r)),Y=S.depth+Hr,T.backgroundColor&&(ae.style.backgroundColor=T.backgroundColor,T.borderColor&&(ae.style.borderColor=T.borderColor))}var No;if(T.backgroundColor)No=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ae,shift:Y},{type:"elem",elem:S,shift:0}]},m);else{var Wo=/cancel|phase/.test(D)?["svg-align"]:[];No=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:S,shift:0},{type:"elem",elem:ae,shift:Y,wrapperClasses:Wo}]},m)}return/cancel/.test(D)&&(No.height=S.height,No.depth=S.depth),/cancel/.test(D)&&!ct?Sn.makeSpan(["mord","cancel-lap"],[No],m):Sn.makeSpan(["mord"],[No],m)},ht=(T,m)=>{var S=0,D=new Vi.MathNode(T.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ro(T.body,m)]);switch(T.label){case"\\cancel":D.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":D.setAttribute("notation","downdiagonalstrike");break;case"\\phase":D.setAttribute("notation","phasorangle");break;case"\\sout":D.setAttribute("notation","horizontalstrike");break;case"\\fbox":D.setAttribute("notation","box");break;case"\\angl":D.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(S=m.fontMetrics().fboxsep*m.fontMetrics().ptPerEm,D.setAttribute("width","+"+2*S+"pt"),D.setAttribute("height","+"+2*S+"pt"),D.setAttribute("lspace",S+"pt"),D.setAttribute("voffset",S+"pt"),T.label==="\\fcolorbox"){var Z=Math.max(m.fontMetrics().fboxrule,m.minRuleThickness);D.setAttribute("style","border: "+Z+"em solid "+String(T.borderColor))}break;case"\\xcancel":D.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return T.backgroundColor&&D.setAttribute("mathbackground",T.backgroundColor),D};Hi({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(T,m,S){var{parser:D,funcName:Z}=T,ae=qe(m[0],"color-token").color,Y=m[1];return{type:"enclose",mode:D.mode,label:Z,backgroundColor:ae,body:Y}},htmlBuilder:Le,mathmlBuilder:ht}),Hi({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(T,m,S){var{parser:D,funcName:Z}=T,ae=qe(m[0],"color-token").color,Y=qe(m[1],"color-token").color,ct=m[2];return{type:"enclose",mode:D.mode,label:Z,backgroundColor:Y,borderColor:ae,body:ct}},htmlBuilder:Le,mathmlBuilder:ht}),Hi({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(T,m){var{parser:S}=T;return{type:"enclose",mode:S.mode,label:"\\fbox",body:m[0]}}}),Hi({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(T,m){var{parser:S,funcName:D}=T,Z=m[0];return{type:"enclose",mode:S.mode,label:D,body:Z}},htmlBuilder:Le,mathmlBuilder:ht}),Hi({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(T,m){var{parser:S}=T;return{type:"enclose",mode:S.mode,label:"\\angl",body:m[0]}}});var bt={};function Bt(T){for(var{type:m,names:S,props:D,handler:Z,htmlBuilder:ae,mathmlBuilder:Y}=T,ct={type:m,numArgs:D.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Z},pt=0;pt{var m=T.parser.settings;if(!m.displayMode)throw new Ft("{"+T.envName+"} can be used only in display mode.")};function zn(T){if(T.indexOf("ed")===-1)return T.indexOf("*")===-1}function $n(T,m,S){var{hskipBeforeAndAfter:D,addJot:Z,cols:ae,arraystretch:Y,colSeparationType:ct,autoTag:pt,singleRow:bn,emptySingleRow:Bn,maxNumCols:Qn,leqno:ki}=m;if(T.gullet.beginGroup(),bn||T.gullet.macros.set("\\cr","\\\\\\relax"),!Y){var Ii=T.gullet.expandMacroAsText("\\arraystretch");if(Ii==null)Y=1;else if(Y=parseFloat(Ii),!Y||Y<0)throw new Ft("Invalid \\arraystretch: "+Ii)}T.gullet.beginGroup();var $i=[],Ar=[$i],Hr=[],$r=[],No=pt!=null?[]:void 0;function Wo(){pt&&T.gullet.macros.set("\\@eqnsw","1",!0)}function Da(){No&&(T.gullet.macros.get("\\df@tag")?(No.push(T.subparse([new an("\\df@tag")])),T.gullet.macros.set("\\df@tag",void 0,!0)):No.push(!!pt&&T.gullet.macros.get("\\@eqnsw")==="1"))}for(Wo(),$r.push(yn(T));;){var ta=T.parseExpression(!1,bn?"\\end":"\\\\");T.gullet.endGroup(),T.gullet.beginGroup(),ta={type:"ordgroup",mode:T.mode,body:ta},S&&(ta={type:"styling",mode:T.mode,style:S,body:[ta]}),$i.push(ta);var Ko=T.fetch().text;if(Ko==="&"){if(Qn&&$i.length===Qn){if(bn||ct)throw new Ft("Too many tab characters: &",T.nextToken);T.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}T.consume()}else if(Ko==="\\end"){Da(),$i.length===1&&ta.type==="styling"&&ta.body[0].body.length===0&&(Ar.length>1||!Bn)&&Ar.pop(),$r.length0&&(Wo+=.25),bn.push({pos:Wo,isDashed:hh[dh]})}for(Da(Y[0]),D=0;D0&&(Us+=No,pahh))for(D=0;D=ct)){var qs=void 0;(Z>0||m.hskipBeforeAndAfter)&&(qs=N.deflt(Bl.pregap,ki),qs!==0&&(Kl=Sn.makeSpan(["arraycolsep"],[]),Kl.style.width=Ot(qs),ul.push(Kl)));var el=[];for(D=0;D0){for(var mu=Sn.makeLineSpan("hline",S,Bn),tc=Sn.makeLineSpan("hdashline",S,Bn),ch=[{type:"elem",elem:pt,shift:0}];bn.length>0;){var Bh=bn.pop(),_h=Bh.pos-ds;Bh.isDashed?ch.push({type:"elem",elem:tc,shift:_h}):ch.push({type:"elem",elem:mu,shift:_h})}pt=Sn.makeVList({positionType:"individualShift",children:ch},S)}if(Au.length===0)return Sn.makeSpan(["mord"],[pt],S);var Tc=Sn.makeVList({positionType:"individualShift",children:Au},S);return Tc=Sn.makeSpan(["tag"],[Tc],S),Sn.makeFragment([pt,Tc])},yi={c:"center ",l:"left ",r:"right "},ei=function(m,S){for(var D=[],Z=new Vi.MathNode("mtd",[],["mtr-glue"]),ae=new Vi.MathNode("mtd",[],["mml-eqn-num"]),Y=0;Y0){var $i=m.cols,Ar="",Hr=!1,$r=0,No=$i.length;$i[0].type==="separator"&&(ki+="top ",$r=1),$i[$i.length-1].type==="separator"&&(ki+="bottom ",No-=1);for(var Wo=$r;Wo0?"left ":"",ki+=hs[hs.length-1].length>0?"right ":"";for(var ca=1;ca-1?"alignat":"align",ae=m.envName==="split",Y=$n(m.parser,{cols:D,addJot:!0,autoTag:ae?void 0:zn(m.envName),emptySingleRow:!0,colSeparationType:Z,maxNumCols:ae?2:void 0,leqno:m.parser.settings.leqno},"display"),ct,pt=0,bn={type:"ordgroup",mode:m.mode,body:[]};if(S[0]&&S[0].type==="ordgroup"){for(var Bn="",Qn=0;Qn0&&Ii&&(Hr=1),D[$i]={type:"align",align:Ar,pregap:Hr,postgap:0}}return Y.colSeparationType=Ii?"align":"alignat",Y};Bt({type:"array",names:["array","darray"],props:{numArgs:1},handler(T,m){var S=Cu(m[0]),D=S?[m[0]]:qe(m[0],"ordgroup").body,Z=D.map(function(Y){var ct=Pn(Y),pt=ct.text;if("lcr".indexOf(pt)!==-1)return{type:"align",align:pt};if(pt==="|")return{type:"separator",separator:"|"};if(pt===":")return{type:"separator",separator:":"};throw new Ft("Unknown column alignment: "+pt,Y)}),ae={cols:Z,hskipBeforeAndAfter:!0,maxNumCols:Z.length};return $n(T.parser,ae,jn(T.envName))},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(T){var m={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[T.envName.replace("*","")],S="c",D={hskipBeforeAndAfter:!1,cols:[{type:"align",align:S}]};if(T.envName.charAt(T.envName.length-1)==="*"){var Z=T.parser;if(Z.consumeSpaces(),Z.fetch().text==="["){if(Z.consume(),Z.consumeSpaces(),S=Z.fetch().text,"lcr".indexOf(S)===-1)throw new Ft("Expected l or c or r",Z.nextToken);Z.consume(),Z.consumeSpaces(),Z.expect("]"),Z.consume(),D.cols=[{type:"align",align:S}]}}var ae=$n(T.parser,D,jn(T.envName)),Y=Math.max(0,...ae.body.map(ct=>ct.length));return ae.cols=new Array(Y).fill({type:"align",align:S}),m?{type:"leftright",mode:T.mode,body:[ae],left:m[0],right:m[1],rightColor:void 0}:ae},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(T){var m={arraystretch:.5},S=$n(T.parser,m,"script");return S.colSeparationType="small",S},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["subarray"],props:{numArgs:1},handler(T,m){var S=Cu(m[0]),D=S?[m[0]]:qe(m[0],"ordgroup").body,Z=D.map(function(Y){var ct=Pn(Y),pt=ct.text;if("lc".indexOf(pt)!==-1)return{type:"align",align:pt};throw new Ft("Unknown column alignment: "+pt,Y)});if(Z.length>1)throw new Ft("{subarray} can contain only one column");var ae={cols:Z,hskipBeforeAndAfter:!1,arraystretch:.5};if(ae=$n(T.parser,ae,"script"),ae.body.length>0&&ae.body[0].length>1)throw new Ft("{subarray} can contain only one column");return ae},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(T){var m={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},S=$n(T.parser,m,jn(T.envName));return{type:"leftright",mode:T.mode,body:[S],left:T.envName.indexOf("r")>-1?".":"\\{",right:T.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ji,htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(T){N.contains(["gather","gather*"],T.envName)&&sn(T);var m={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:zn(T.envName),emptySingleRow:!0,leqno:T.parser.settings.leqno};return $n(T.parser,m,"display")},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ji,htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(T){sn(T);var m={autoTag:zn(T.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:T.parser.settings.leqno};return $n(T.parser,m,"display")},htmlBuilder:gi,mathmlBuilder:ei}),Bt({type:"array",names:["CD"],props:{numArgs:0},handler(T){return sn(T),Vs(T.parser)},htmlBuilder:gi,mathmlBuilder:ei}),ve("\\nonumber","\\gdef\\@eqnsw{0}"),ve("\\notag","\\nonumber"),Hi({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(T,m){throw new Ft(T.funcName+" valid only within array environment")}});var ci=bt;Hi({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(T,m){var{parser:S,funcName:D}=T,Z=m[0];if(Z.type!=="ordgroup")throw new Ft("Invalid environment name",Z);for(var ae="",Y=0;Y{var S=T.font,D=m.withFont(S);return Xo(T.body,D)},E=(T,m)=>{var S=T.font,D=m.withFont(S);return ro(T.body,D)},B={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Hi({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=As(m[0]),ae=D;return ae in B&&(ae=B[ae]),{type:"font",mode:S.mode,font:ae.slice(1),body:Z}},htmlBuilder:Gi,mathmlBuilder:E}),Hi({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(T,m)=>{var{parser:S}=T,D=m[0],Z=N.isCharacterBox(D);return{type:"mclass",mode:S.mode,mclass:Lr(D),body:[{type:"font",mode:S.mode,font:"boldsymbol",body:D}],isCharacterBox:Z}}}),Hi({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(T,m)=>{var{parser:S,funcName:D,breakOnTokenText:Z}=T,{mode:ae}=S,Y=S.parseExpression(!0,Z),ct="math"+D.slice(1);return{type:"font",mode:ae,font:ct,body:{type:"ordgroup",mode:S.mode,body:Y}}},htmlBuilder:Gi,mathmlBuilder:E});var W=(T,m)=>{var S=m;return T==="display"?S=S.id>=On.SCRIPT.id?S.text():On.DISPLAY:T==="text"&&S.size===On.DISPLAY.size?S=On.TEXT:T==="script"?S=On.SCRIPT:T==="scriptscript"&&(S=On.SCRIPTSCRIPT),S},q=(T,m)=>{var S=W(T.size,m.style),D=S.fracNum(),Z=S.fracDen(),ae;ae=m.havingStyle(D);var Y=Xo(T.numer,ae,m);if(T.continued){var ct=8.5/m.fontMetrics().ptPerEm,pt=3.5/m.fontMetrics().ptPerEm;Y.height=Y.height0?$i=3*ki:$i=7*ki,Ar=m.fontMetrics().denom1):(Qn>0?(Ii=m.fontMetrics().num2,$i=ki):(Ii=m.fontMetrics().num3,$i=3*ki),Ar=m.fontMetrics().denom2);var Hr;if(Bn){var No=m.fontMetrics().axisHeight;Ii-Y.depth-(No+.5*Qn)<$i&&(Ii+=$i-(Ii-Y.depth-(No+.5*Qn))),No-.5*Qn-(bn.height-Ar)<$i&&(Ar+=$i-(No-.5*Qn-(bn.height-Ar)));var Wo=-(No-.5*Qn);Hr=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:bn,shift:Ar},{type:"elem",elem:Bn,shift:Wo},{type:"elem",elem:Y,shift:-Ii}]},m)}else{var $r=Ii-Y.depth-(bn.height-Ar);$r<$i&&(Ii+=.5*($i-$r),Ar+=.5*($i-$r)),Hr=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:bn,shift:Ar},{type:"elem",elem:Y,shift:-Ii}]},m)}ae=m.havingStyle(S),Hr.height*=ae.sizeMultiplier/m.sizeMultiplier,Hr.depth*=ae.sizeMultiplier/m.sizeMultiplier;var Da;S.size===On.DISPLAY.size?Da=m.fontMetrics().delim1:S.size===On.SCRIPTSCRIPT.size?Da=m.havingStyle(On.SCRIPT).fontMetrics().delim2:Da=m.fontMetrics().delim2;var ta,Ko;return T.leftDelim==null?ta=ml(m,["mopen"]):ta=ll.customSizedDelim(T.leftDelim,Da,!0,m.havingStyle(S),T.mode,["mopen"]),T.continued?Ko=Sn.makeSpan([]):T.rightDelim==null?Ko=ml(m,["mclose"]):Ko=ll.customSizedDelim(T.rightDelim,Da,!0,m.havingStyle(S),T.mode,["mclose"]),Sn.makeSpan(["mord"].concat(ae.sizingClasses(m)),[ta,Sn.makeSpan(["mfrac"],[Hr]),Ko],m)},pe=(T,m)=>{var S=new Vi.MathNode("mfrac",[ro(T.numer,m),ro(T.denom,m)]);if(!T.hasBarLine)S.setAttribute("linethickness","0px");else if(T.barSize){var D=Ut(T.barSize,m);S.setAttribute("linethickness",Ot(D))}var Z=W(T.size,m.style);if(Z.size!==m.style.size){S=new Vi.MathNode("mstyle",[S]);var ae=Z.size===On.DISPLAY.size?"true":"false";S.setAttribute("displaystyle",ae),S.setAttribute("scriptlevel","0")}if(T.leftDelim!=null||T.rightDelim!=null){var Y=[];if(T.leftDelim!=null){var ct=new Vi.MathNode("mo",[new Vi.TextNode(T.leftDelim.replace("\\",""))]);ct.setAttribute("fence","true"),Y.push(ct)}if(Y.push(S),T.rightDelim!=null){var pt=new Vi.MathNode("mo",[new Vi.TextNode(T.rightDelim.replace("\\",""))]);pt.setAttribute("fence","true"),Y.push(pt)}return Rl(Y)}return S};Hi({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0],ae=m[1],Y,ct=null,pt=null,bn="auto";switch(D){case"\\dfrac":case"\\frac":case"\\tfrac":Y=!0;break;case"\\\\atopfrac":Y=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Y=!1,ct="(",pt=")";break;case"\\\\bracefrac":Y=!1,ct="\\{",pt="\\}";break;case"\\\\brackfrac":Y=!1,ct="[",pt="]";break;default:throw new Error("Unrecognized genfrac command")}switch(D){case"\\dfrac":case"\\dbinom":bn="display";break;case"\\tfrac":case"\\tbinom":bn="text";break}return{type:"genfrac",mode:S.mode,continued:!1,numer:Z,denom:ae,hasBarLine:Y,leftDelim:ct,rightDelim:pt,size:bn,barSize:null}},htmlBuilder:q,mathmlBuilder:pe}),Hi({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0],ae=m[1];return{type:"genfrac",mode:S.mode,continued:!0,numer:Z,denom:ae,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Hi({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(T){var{parser:m,funcName:S,token:D}=T,Z;switch(S){case"\\over":Z="\\frac";break;case"\\choose":Z="\\binom";break;case"\\atop":Z="\\\\atopfrac";break;case"\\brace":Z="\\\\bracefrac";break;case"\\brack":Z="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:m.mode,replaceWith:Z,token:D}}});var Ce=["display","text","script","scriptscript"],$e=function(m){var S=null;return m.length>0&&(S=m,S=S==="."?null:S),S};Hi({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(T,m){var{parser:S}=T,D=m[4],Z=m[5],ae=As(m[0]),Y=ae.type==="atom"&&ae.family==="open"?$e(ae.text):null,ct=As(m[1]),pt=ct.type==="atom"&&ct.family==="close"?$e(ct.text):null,bn=qe(m[2],"size"),Bn,Qn=null;bn.isBlank?Bn=!0:(Qn=bn.value,Bn=Qn.number>0);var ki="auto",Ii=m[3];if(Ii.type==="ordgroup"){if(Ii.body.length>0){var $i=qe(Ii.body[0],"textord");ki=Ce[Number($i.text)]}}else Ii=qe(Ii,"textord"),ki=Ce[Number(Ii.text)];return{type:"genfrac",mode:S.mode,numer:D,denom:Z,continued:!1,hasBarLine:Bn,barSize:Qn,leftDelim:Y,rightDelim:pt,size:ki}},htmlBuilder:q,mathmlBuilder:pe}),Hi({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(T,m){var{parser:S,funcName:D,token:Z}=T;return{type:"infix",mode:S.mode,replaceWith:"\\\\abovefrac",size:qe(m[0],"size").value,token:Z}}}),Hi({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0],ae=j(qe(m[1],"infix").size),Y=m[2],ct=ae.number>0;return{type:"genfrac",mode:S.mode,numer:Z,denom:Y,continued:!1,hasBarLine:ct,barSize:ae,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:q,mathmlBuilder:pe});var it=(T,m)=>{var S=m.style,D,Z;T.type==="supsub"?(D=T.sup?Xo(T.sup,m.havingStyle(S.sup()),m):Xo(T.sub,m.havingStyle(S.sub()),m),Z=qe(T.base,"horizBrace")):Z=qe(T,"horizBrace");var ae=Xo(Z.base,m.havingBaseStyle(On.DISPLAY)),Y=Ws.svgSpan(Z,m),ct;if(Z.isOver?(ct=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ae},{type:"kern",size:.1},{type:"elem",elem:Y}]},m),ct.children[0].children[0].children[1].classes.push("svg-align")):(ct=Sn.makeVList({positionType:"bottom",positionData:ae.depth+.1+Y.height,children:[{type:"elem",elem:Y},{type:"kern",size:.1},{type:"elem",elem:ae}]},m),ct.children[0].children[0].children[0].classes.push("svg-align")),D){var pt=Sn.makeSpan(["mord",Z.isOver?"mover":"munder"],[ct],m);Z.isOver?ct=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pt},{type:"kern",size:.2},{type:"elem",elem:D}]},m):ct=Sn.makeVList({positionType:"bottom",positionData:pt.depth+.2+D.height+D.depth,children:[{type:"elem",elem:D},{type:"kern",size:.2},{type:"elem",elem:pt}]},m)}return Sn.makeSpan(["mord",Z.isOver?"mover":"munder"],[ct],m)},$t=(T,m)=>{var S=Ws.mathMLnode(T.label);return new Vi.MathNode(T.isOver?"mover":"munder",[ro(T.base,m),S])};Hi({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(T,m){var{parser:S,funcName:D}=T;return{type:"horizBrace",mode:S.mode,label:D,isOver:/^\\over/.test(D),base:m[0]}},htmlBuilder:it,mathmlBuilder:$t}),Hi({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(T,m)=>{var{parser:S}=T,D=m[1],Z=qe(m[0],"url").url;return S.settings.isTrusted({command:"\\href",url:Z})?{type:"href",mode:S.mode,href:Z,body:Yo(D)}:S.formatUnsupportedCmd("\\href")},htmlBuilder:(T,m)=>{var S=Ho(T.body,m,!1);return Sn.makeAnchor(T.href,[],S,m)},mathmlBuilder:(T,m)=>{var S=oa(T.body,m);return S instanceof as||(S=new as("mrow",[S])),S.setAttribute("href",T.href),S}}),Hi({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(T,m)=>{var{parser:S}=T,D=qe(m[0],"url").url;if(!S.settings.isTrusted({command:"\\url",url:D}))return S.formatUnsupportedCmd("\\url");for(var Z=[],ae=0;ae{var{parser:S,funcName:D,token:Z}=T,ae=qe(m[0],"raw").string,Y=m[1];S.settings.strict&&S.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var ct,pt={};switch(D){case"\\htmlClass":pt.class=ae,ct={command:"\\htmlClass",class:ae};break;case"\\htmlId":pt.id=ae,ct={command:"\\htmlId",id:ae};break;case"\\htmlStyle":pt.style=ae,ct={command:"\\htmlStyle",style:ae};break;case"\\htmlData":{for(var bn=ae.split(","),Bn=0;Bn{var S=Ho(T.body,m,!1),D=["enclosing"];T.attributes.class&&D.push(...T.attributes.class.trim().split(/\s+/));var Z=Sn.makeSpan(D,S,m);for(var ae in T.attributes)ae!=="class"&&T.attributes.hasOwnProperty(ae)&&Z.setAttribute(ae,T.attributes[ae]);return Z},mathmlBuilder:(T,m)=>oa(T.body,m)}),Hi({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(T,m)=>{var{parser:S}=T;return{type:"htmlmathml",mode:S.mode,html:Yo(m[0]),mathml:Yo(m[1])}},htmlBuilder:(T,m)=>{var S=Ho(T.html,m,!1);return Sn.makeFragment(S)},mathmlBuilder:(T,m)=>oa(T.mathml,m)});var Dt=function(m){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(m))return{number:+m,unit:"bp"};var S=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(m);if(!S)throw new Ft("Invalid size: '"+m+"' in \\includegraphics");var D={number:+(S[1]+S[2]),unit:S[3]};if(!Ve(D))throw new Ft("Invalid unit: '"+D.unit+"' in \\includegraphics.");return D};Hi({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(T,m,S)=>{var{parser:D}=T,Z={number:0,unit:"em"},ae={number:.9,unit:"em"},Y={number:0,unit:"em"},ct="";if(S[0])for(var pt=qe(S[0],"raw").string,bn=pt.split(","),Bn=0;Bn{var S=Ut(T.height,m),D=0;T.totalheight.number>0&&(D=Ut(T.totalheight,m)-S);var Z=0;T.width.number>0&&(Z=Ut(T.width,m));var ae={height:Ot(S+D)};Z>0&&(ae.width=Ot(Z)),D>0&&(ae.verticalAlign=Ot(-D));var Y=new Qt(T.src,T.alt,ae);return Y.height=S,Y.depth=D,Y},mathmlBuilder:(T,m)=>{var S=new Vi.MathNode("mglyph",[]);S.setAttribute("alt",T.alt);var D=Ut(T.height,m),Z=0;if(T.totalheight.number>0&&(Z=Ut(T.totalheight,m)-D,S.setAttribute("valign",Ot(-Z))),S.setAttribute("height",Ot(D+Z)),T.width.number>0){var ae=Ut(T.width,m);S.setAttribute("width",Ot(ae))}return S.setAttribute("src",T.src),S}}),Hi({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(T,m){var{parser:S,funcName:D}=T,Z=qe(m[0],"size");if(S.settings.strict){var ae=D[1]==="m",Y=Z.value.unit==="mu";ae?(Y||S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" supports only mu units, "+("not "+Z.value.unit+" units")),S.mode!=="math"&&S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" works only in math mode")):Y&&S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" doesn't support mu units")}return{type:"kern",mode:S.mode,dimension:Z.value}},htmlBuilder(T,m){return Sn.makeGlue(T.dimension,m)},mathmlBuilder(T,m){var S=Ut(T.dimension,m);return new Vi.SpaceNode(S)}}),Hi({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0];return{type:"lap",mode:S.mode,alignment:D.slice(5),body:Z}},htmlBuilder:(T,m)=>{var S;T.alignment==="clap"?(S=Sn.makeSpan([],[Xo(T.body,m)]),S=Sn.makeSpan(["inner"],[S],m)):S=Sn.makeSpan(["inner"],[Xo(T.body,m)]);var D=Sn.makeSpan(["fix"],[]),Z=Sn.makeSpan([T.alignment],[S,D],m),ae=Sn.makeSpan(["strut"]);return ae.style.height=Ot(Z.height+Z.depth),Z.depth&&(ae.style.verticalAlign=Ot(-Z.depth)),Z.children.unshift(ae),Z=Sn.makeSpan(["thinbox"],[Z],m),Sn.makeSpan(["mord","vbox"],[Z],m)},mathmlBuilder:(T,m)=>{var S=new Vi.MathNode("mpadded",[ro(T.body,m)]);if(T.alignment!=="rlap"){var D=T.alignment==="llap"?"-1":"-0.5";S.setAttribute("lspace",D+"width")}return S.setAttribute("width","0px"),S}}),Hi({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(T,m){var{funcName:S,parser:D}=T,Z=D.mode;D.switchMode("math");var ae=S==="\\("?"\\)":"$",Y=D.parseExpression(!1,ae);return D.expect(ae),D.switchMode(Z),{type:"styling",mode:D.mode,style:"text",body:Y}}}),Hi({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(T,m){throw new Ft("Mismatched "+T.funcName)}});var ft=(T,m)=>{switch(m.style.size){case On.DISPLAY.size:return T.display;case On.TEXT.size:return T.text;case On.SCRIPT.size:return T.script;case On.SCRIPTSCRIPT.size:return T.scriptscript;default:return T.text}};Hi({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(T,m)=>{var{parser:S}=T;return{type:"mathchoice",mode:S.mode,display:Yo(m[0]),text:Yo(m[1]),script:Yo(m[2]),scriptscript:Yo(m[3])}},htmlBuilder:(T,m)=>{var S=ft(T,m),D=Ho(S,m,!1);return Sn.makeFragment(D)},mathmlBuilder:(T,m)=>{var S=ft(T,m);return oa(S,m)}});var Yt=(T,m,S,D,Z,ae,Y)=>{T=Sn.makeSpan([],[T]);var ct=S&&N.isCharacterBox(S),pt,bn;if(m){var Bn=Xo(m,D.havingStyle(Z.sup()),D);bn={elem:Bn,kern:Math.max(D.fontMetrics().bigOpSpacing1,D.fontMetrics().bigOpSpacing3-Bn.depth)}}if(S){var Qn=Xo(S,D.havingStyle(Z.sub()),D);pt={elem:Qn,kern:Math.max(D.fontMetrics().bigOpSpacing2,D.fontMetrics().bigOpSpacing4-Qn.height)}}var ki;if(bn&&pt){var Ii=D.fontMetrics().bigOpSpacing5+pt.elem.height+pt.elem.depth+pt.kern+T.depth+Y;ki=Sn.makeVList({positionType:"bottom",positionData:Ii,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:pt.elem,marginLeft:Ot(-ae)},{type:"kern",size:pt.kern},{type:"elem",elem:T},{type:"kern",size:bn.kern},{type:"elem",elem:bn.elem,marginLeft:Ot(ae)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else if(pt){var $i=T.height-Y;ki=Sn.makeVList({positionType:"top",positionData:$i,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:pt.elem,marginLeft:Ot(-ae)},{type:"kern",size:pt.kern},{type:"elem",elem:T}]},D)}else if(bn){var Ar=T.depth+Y;ki=Sn.makeVList({positionType:"bottom",positionData:Ar,children:[{type:"elem",elem:T},{type:"kern",size:bn.kern},{type:"elem",elem:bn.elem,marginLeft:Ot(ae)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else return T;var Hr=[ki];if(pt&&ae!==0&&!ct){var $r=Sn.makeSpan(["mspace"],[],D);$r.style.marginRight=Ot(ae),Hr.unshift($r)}return Sn.makeSpan(["mop","op-limits"],Hr,D)},en=["\\smallint"],_t=(T,m)=>{var S,D,Z=!1,ae;T.type==="supsub"?(S=T.sup,D=T.sub,ae=qe(T.base,"op"),Z=!0):ae=qe(T,"op");var Y=m.style,ct=!1;Y.size===On.DISPLAY.size&&ae.symbol&&!N.contains(en,ae.name)&&(ct=!0);var pt;if(ae.symbol){var bn=ct?"Size2-Regular":"Size1-Regular",Bn="";if((ae.name==="\\oiint"||ae.name==="\\oiiint")&&(Bn=ae.name.slice(1),ae.name=Bn==="oiint"?"\\iint":"\\iiint"),pt=Sn.makeSymbol(ae.name,bn,"math",m,["mop","op-symbol",ct?"large-op":"small-op"]),Bn.length>0){var Qn=pt.italic,ki=Sn.staticSvg(Bn+"Size"+(ct?"2":"1"),m);pt=Sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pt,shift:0},{type:"elem",elem:ki,shift:ct?.08:0}]},m),ae.name="\\"+Bn,pt.classes.unshift("mop"),pt.italic=Qn}}else if(ae.body){var Ii=Ho(ae.body,m,!0);Ii.length===1&&Ii[0]instanceof vn?(pt=Ii[0],pt.classes[0]="mop"):pt=Sn.makeSpan(["mop"],Ii,m)}else{for(var $i=[],Ar=1;Ar{var S;if(T.symbol)S=new as("mo",[ks(T.name,T.mode)]),N.contains(en,T.name)&&S.setAttribute("largeop","false");else if(T.body)S=new as("mo",fa(T.body,m));else{S=new as("mi",[new Fa(T.name.slice(1))]);var D=new as("mo",[ks("\u2061","text")]);T.parentIsSupSub?S=new as("mrow",[S,D]):S=Ll([S,D])}return S},li={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Hi({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=D;return Z.length===1&&(Z=li[Z]),{type:"op",mode:S.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Z}},htmlBuilder:_t,mathmlBuilder:Si}),Hi({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(T,m)=>{var{parser:S}=T,D=m[0];return{type:"op",mode:S.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Yo(D)}},htmlBuilder:_t,mathmlBuilder:Si});var lr={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Hi({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(T){var{parser:m,funcName:S}=T;return{type:"op",mode:m.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:S}},htmlBuilder:_t,mathmlBuilder:Si}),Hi({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(T){var{parser:m,funcName:S}=T;return{type:"op",mode:m.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:S}},htmlBuilder:_t,mathmlBuilder:Si}),Hi({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(T){var{parser:m,funcName:S}=T,D=S;return D.length===1&&(D=lr[D]),{type:"op",mode:m.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:D}},htmlBuilder:_t,mathmlBuilder:Si});var Ni=(T,m)=>{var S,D,Z=!1,ae;T.type==="supsub"?(S=T.sup,D=T.sub,ae=qe(T.base,"operatorname"),Z=!0):ae=qe(T,"operatorname");var Y;if(ae.body.length>0){for(var ct=ae.body.map(Qn=>{var ki=Qn.text;return typeof ki=="string"?{type:"textord",mode:Qn.mode,text:ki}:Qn}),pt=Ho(ct,m.withFont("mathrm"),!0),bn=0;bn{for(var S=fa(T.body,m.withFont("mathrm")),D=!0,Z=0;ZBn.toText()).join("");S=[new Vi.TextNode(ct)]}var pt=new Vi.MathNode("mi",S);pt.setAttribute("mathvariant","normal");var bn=new Vi.MathNode("mo",[ks("\u2061","text")]);return T.parentIsSupSub?new Vi.MathNode("mrow",[pt,bn]):Vi.newDocumentFragment([pt,bn])};Hi({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(T,m)=>{var{parser:S,funcName:D}=T,Z=m[0];return{type:"operatorname",mode:S.mode,body:Yo(Z),alwaysHandleSupSub:D==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ni,mathmlBuilder:Or}),ve("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ea({type:"ordgroup",htmlBuilder(T,m){return T.semisimple?Sn.makeFragment(Ho(T.body,m,!1)):Sn.makeSpan(["mord"],Ho(T.body,m,!0),m)},mathmlBuilder(T,m){return oa(T.body,m,!0)}}),Hi({type:"overline",names:["\\overline"],props:{numArgs:1},handler(T,m){var{parser:S}=T,D=m[0];return{type:"overline",mode:S.mode,body:D}},htmlBuilder(T,m){var S=Xo(T.body,m.havingCrampedStyle()),D=Sn.makeLineSpan("overline-line",m),Z=m.fontMetrics().defaultRuleThickness,ae=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:S},{type:"kern",size:3*Z},{type:"elem",elem:D},{type:"kern",size:Z}]},m);return Sn.makeSpan(["mord","overline"],[ae],m)},mathmlBuilder(T,m){var S=new Vi.MathNode("mo",[new Vi.TextNode("\u203E")]);S.setAttribute("stretchy","true");var D=new Vi.MathNode("mover",[ro(T.body,m),S]);return D.setAttribute("accent","true"),D}}),Hi({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(T,m)=>{var{parser:S}=T,D=m[0];return{type:"phantom",mode:S.mode,body:Yo(D)}},htmlBuilder:(T,m)=>{var S=Ho(T.body,m.withPhantom(),!1);return Sn.makeFragment(S)},mathmlBuilder:(T,m)=>{var S=fa(T.body,m);return new Vi.MathNode("mphantom",S)}}),Hi({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(T,m)=>{var{parser:S}=T,D=m[0];return{type:"hphantom",mode:S.mode,body:D}},htmlBuilder:(T,m)=>{var S=Sn.makeSpan([],[Xo(T.body,m.withPhantom())]);if(S.height=0,S.depth=0,S.children)for(var D=0;D{var S=fa(Yo(T.body),m),D=new Vi.MathNode("mphantom",S),Z=new Vi.MathNode("mpadded",[D]);return Z.setAttribute("height","0px"),Z.setAttribute("depth","0px"),Z}}),Hi({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(T,m)=>{var{parser:S}=T,D=m[0];return{type:"vphantom",mode:S.mode,body:D}},htmlBuilder:(T,m)=>{var S=Sn.makeSpan(["inner"],[Xo(T.body,m.withPhantom())]),D=Sn.makeSpan(["fix"],[]);return Sn.makeSpan(["mord","rlap"],[S,D],m)},mathmlBuilder:(T,m)=>{var S=fa(Yo(T.body),m),D=new Vi.MathNode("mphantom",S),Z=new Vi.MathNode("mpadded",[D]);return Z.setAttribute("width","0px"),Z}}),Hi({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(T,m){var{parser:S}=T,D=qe(m[0],"size").value,Z=m[1];return{type:"raisebox",mode:S.mode,dy:D,body:Z}},htmlBuilder(T,m){var S=Xo(T.body,m),D=Ut(T.dy,m);return Sn.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:S}]},m)},mathmlBuilder(T,m){var S=new Vi.MathNode("mpadded",[ro(T.body,m)]),D=T.dy.number+T.dy.unit;return S.setAttribute("voffset",D),S}}),Hi({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(T){var{parser:m}=T;return{type:"internal",mode:m.mode}}}),Hi({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(T,m,S){var{parser:D}=T,Z=S[0],ae=qe(m[0],"size"),Y=qe(m[1],"size");return{type:"rule",mode:D.mode,shift:Z&&qe(Z,"size").value,width:ae.value,height:Y.value}},htmlBuilder(T,m){var S=Sn.makeSpan(["mord","rule"],[],m),D=Ut(T.width,m),Z=Ut(T.height,m),ae=T.shift?Ut(T.shift,m):0;return S.style.borderRightWidth=Ot(D),S.style.borderTopWidth=Ot(Z),S.style.bottom=Ot(ae),S.width=D,S.height=Z+ae,S.depth=-ae,S.maxFontSize=Z*1.125*m.sizeMultiplier,S},mathmlBuilder(T,m){var S=Ut(T.width,m),D=Ut(T.height,m),Z=T.shift?Ut(T.shift,m):0,ae=m.color&&m.getColor()||"black",Y=new Vi.MathNode("mspace");Y.setAttribute("mathbackground",ae),Y.setAttribute("width",Ot(S)),Y.setAttribute("height",Ot(D));var ct=new Vi.MathNode("mpadded",[Y]);return Z>=0?ct.setAttribute("height",Ot(Z)):(ct.setAttribute("height",Ot(Z)),ct.setAttribute("depth",Ot(-Z))),ct.setAttribute("voffset",Ot(Z)),ct}});function Zi(T,m,S){for(var D=Ho(T,m,!1),Z=m.sizeMultiplier/S.sizeMultiplier,ae=0;ae{var S=m.havingSize(T.size);return Zi(T.body,S,m)};Hi({type:"sizing",names:oo,props:{numArgs:0,allowedInText:!0},handler:(T,m)=>{var{breakOnTokenText:S,funcName:D,parser:Z}=T,ae=Z.parseExpression(!1,S);return{type:"sizing",mode:Z.mode,size:oo.indexOf(D)+1,body:ae}},htmlBuilder:lo,mathmlBuilder:(T,m)=>{var S=m.havingSize(T.size),D=fa(T.body,S),Z=new Vi.MathNode("mstyle",D);return Z.setAttribute("mathsize",Ot(S.sizeMultiplier)),Z}}),Hi({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(T,m,S)=>{var{parser:D}=T,Z=!1,ae=!1,Y=S[0]&&qe(S[0],"ordgroup");if(Y)for(var ct="",pt=0;pt{var S=Sn.makeSpan([],[Xo(T.body,m)]);if(!T.smashHeight&&!T.smashDepth)return S;if(T.smashHeight&&(S.height=0,S.children))for(var D=0;D{var S=new Vi.MathNode("mpadded",[ro(T.body,m)]);return T.smashHeight&&S.setAttribute("height","0px"),T.smashDepth&&S.setAttribute("depth","0px"),S}}),Hi({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(T,m,S){var{parser:D}=T,Z=S[0],ae=m[0];return{type:"sqrt",mode:D.mode,body:ae,index:Z}},htmlBuilder(T,m){var S=Xo(T.body,m.havingCrampedStyle());S.height===0&&(S.height=m.fontMetrics().xHeight),S=Sn.wrapFragment(S,m);var D=m.fontMetrics(),Z=D.defaultRuleThickness,ae=Z;m.style.idS.height+S.depth+Y&&(Y=(Y+Qn-S.height-S.depth)/2);var ki=pt.height-S.height-Y-bn;S.style.paddingLeft=Ot(Bn);var Ii=Sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:S,wrapperClasses:["svg-align"]},{type:"kern",size:-(S.height+ki)},{type:"elem",elem:pt},{type:"kern",size:bn}]},m);if(T.index){var $i=m.havingStyle(On.SCRIPTSCRIPT),Ar=Xo(T.index,$i,m),Hr=.6*(Ii.height-Ii.depth),$r=Sn.makeVList({positionType:"shift",positionData:-Hr,children:[{type:"elem",elem:Ar}]},m),No=Sn.makeSpan(["root"],[$r]);return Sn.makeSpan(["mord","sqrt"],[No,Ii],m)}else return Sn.makeSpan(["mord","sqrt"],[Ii],m)},mathmlBuilder(T,m){var{body:S,index:D}=T;return D?new Vi.MathNode("mroot",[ro(S,m),ro(D,m)]):new Vi.MathNode("msqrt",[ro(S,m)])}});var ii={display:On.DISPLAY,text:On.TEXT,script:On.SCRIPT,scriptscript:On.SCRIPTSCRIPT};Hi({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(T,m){var{breakOnTokenText:S,funcName:D,parser:Z}=T,ae=Z.parseExpression(!0,S),Y=D.slice(1,D.length-5);return{type:"styling",mode:Z.mode,style:Y,body:ae}},htmlBuilder(T,m){var S=ii[T.style],D=m.havingStyle(S).withFont("");return Zi(T.body,D,m)},mathmlBuilder(T,m){var S=ii[T.style],D=m.havingStyle(S),Z=fa(T.body,D),ae=new Vi.MathNode("mstyle",Z),Y={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},ct=Y[T.style];return ae.setAttribute("scriptlevel",ct[0]),ae.setAttribute("displaystyle",ct[1]),ae}});var qi=function(m,S){var D=m.base;if(D)if(D.type==="op"){var Z=D.limits&&(S.style.size===On.DISPLAY.size||D.alwaysHandleSupSub);return Z?_t:null}else if(D.type==="operatorname"){var ae=D.alwaysHandleSupSub&&(S.style.size===On.DISPLAY.size||D.limits);return ae?Ni:null}else{if(D.type==="accent")return N.isCharacterBox(D.base)?Yu:null;if(D.type==="horizBrace"){var Y=!m.sub;return Y===D.isOver?it:null}else return null}else return null};ea({type:"supsub",htmlBuilder(T,m){var S=qi(T,m);if(S)return S(T,m);var{base:D,sup:Z,sub:ae}=T,Y=Xo(D,m),ct,pt,bn=m.fontMetrics(),Bn=0,Qn=0,ki=D&&N.isCharacterBox(D);if(Z){var Ii=m.havingStyle(m.style.sup());ct=Xo(Z,Ii,m),ki||(Bn=Y.height-Ii.fontMetrics().supDrop*Ii.sizeMultiplier/m.sizeMultiplier)}if(ae){var $i=m.havingStyle(m.style.sub());pt=Xo(ae,$i,m),ki||(Qn=Y.depth+$i.fontMetrics().subDrop*$i.sizeMultiplier/m.sizeMultiplier)}var Ar;m.style===On.DISPLAY?Ar=bn.sup1:m.style.cramped?Ar=bn.sup3:Ar=bn.sup2;var Hr=m.sizeMultiplier,$r=Ot(.5/bn.ptPerEm/Hr),No=null;if(pt){var Wo=T.base&&T.base.type==="op"&&T.base.name&&(T.base.name==="\\oiint"||T.base.name==="\\oiiint");(Y instanceof vn||Wo)&&(No=Ot(-Y.italic))}var Da;if(ct&&pt){Bn=Math.max(Bn,Ar,ct.depth+.25*bn.xHeight),Qn=Math.max(Qn,bn.sub2);var ta=bn.defaultRuleThickness,Ko=4*ta;if(Bn-ct.depth-(pt.height-Qn)0&&(Bn+=pa,Qn-=pa)}var hs=[{type:"elem",elem:pt,shift:Qn,marginRight:$r,marginLeft:No},{type:"elem",elem:ct,shift:-Bn,marginRight:$r}];Da=Sn.makeVList({positionType:"individualShift",children:hs},m)}else if(pt){Qn=Math.max(Qn,bn.sub1,pt.height-.8*bn.xHeight);var ca=[{type:"elem",elem:pt,marginLeft:No,marginRight:$r}];Da=Sn.makeVList({positionType:"shift",positionData:Qn,children:ca},m)}else if(ct)Bn=Math.max(Bn,Ar,ct.depth+.25*bn.xHeight),Da=Sn.makeVList({positionType:"shift",positionData:-Bn,children:[{type:"elem",elem:ct,marginRight:$r}]},m);else throw new Error("supsub must have either sup or sub.");var bl=Oa(Y,"right")||"mord";return Sn.makeSpan([bl],[Y,Sn.makeSpan(["msupsub"],[Da])],m)},mathmlBuilder(T,m){var S=!1,D,Z;T.base&&T.base.type==="horizBrace"&&(Z=!!T.sup,Z===T.base.isOver&&(S=!0,D=T.base.isOver)),T.base&&(T.base.type==="op"||T.base.type==="operatorname")&&(T.base.parentIsSupSub=!0);var ae=[ro(T.base,m)];T.sub&&ae.push(ro(T.sub,m)),T.sup&&ae.push(ro(T.sup,m));var Y;if(S)Y=D?"mover":"munder";else if(T.sub)if(T.sup){var bn=T.base;bn&&bn.type==="op"&&bn.limits&&m.style===On.DISPLAY||bn&&bn.type==="operatorname"&&bn.alwaysHandleSupSub&&(m.style===On.DISPLAY||bn.limits)?Y="munderover":Y="msubsup"}else{var pt=T.base;pt&&pt.type==="op"&&pt.limits&&(m.style===On.DISPLAY||pt.alwaysHandleSupSub)||pt&&pt.type==="operatorname"&&pt.alwaysHandleSupSub&&(pt.limits||m.style===On.DISPLAY)?Y="munder":Y="msub"}else{var ct=T.base;ct&&ct.type==="op"&&ct.limits&&(m.style===On.DISPLAY||ct.alwaysHandleSupSub)||ct&&ct.type==="operatorname"&&ct.alwaysHandleSupSub&&(ct.limits||m.style===On.DISPLAY)?Y="mover":Y="msup"}return new Vi.MathNode(Y,ae)}}),ea({type:"atom",htmlBuilder(T,m){return Sn.mathsym(T.text,T.mode,m,["m"+T.family])},mathmlBuilder(T,m){var S=new Vi.MathNode("mo",[ks(T.text,T.mode)]);if(T.family==="bin"){var D=Wr(T,m);D==="bold-italic"&&S.setAttribute("mathvariant",D)}else T.family==="punct"?S.setAttribute("separator","true"):(T.family==="open"||T.family==="close")&&S.setAttribute("stretchy","false");return S}});var Xr={mi:"italic",mn:"normal",mtext:"normal"};ea({type:"mathord",htmlBuilder(T,m){return Sn.makeOrd(T,m,"mathord")},mathmlBuilder(T,m){var S=new Vi.MathNode("mi",[ks(T.text,T.mode,m)]),D=Wr(T,m)||"italic";return D!==Xr[S.type]&&S.setAttribute("mathvariant",D),S}}),ea({type:"textord",htmlBuilder(T,m){return Sn.makeOrd(T,m,"textord")},mathmlBuilder(T,m){var S=ks(T.text,T.mode,m),D=Wr(T,m)||"normal",Z;return T.mode==="text"?Z=new Vi.MathNode("mtext",[S]):/[0-9]/.test(T.text)?Z=new Vi.MathNode("mn",[S]):T.text==="\\prime"?Z=new Vi.MathNode("mo",[S]):Z=new Vi.MathNode("mi",[S]),D!==Xr[Z.type]&&Z.setAttribute("mathvariant",D),Z}});var qr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},io={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ea({type:"spacing",htmlBuilder(T,m){if(io.hasOwnProperty(T.text)){var S=io[T.text].className||"";if(T.mode==="text"){var D=Sn.makeOrd(T,m,"textord");return D.classes.push(S),D}else return Sn.makeSpan(["mspace",S],[Sn.mathsym(T.text,T.mode,m)],m)}else{if(qr.hasOwnProperty(T.text))return Sn.makeSpan(["mspace",qr[T.text]],[],m);throw new Ft('Unknown type of space "'+T.text+'"')}},mathmlBuilder(T,m){var S;if(io.hasOwnProperty(T.text))S=new Vi.MathNode("mtext",[new Vi.TextNode("\xA0")]);else{if(qr.hasOwnProperty(T.text))return new Vi.MathNode("mspace");throw new Ft('Unknown type of space "'+T.text+'"')}return S}});var Io=()=>{var T=new Vi.MathNode("mtd",[]);return T.setAttribute("width","50%"),T};ea({type:"tag",mathmlBuilder(T,m){var S=new Vi.MathNode("mtable",[new Vi.MathNode("mtr",[Io(),new Vi.MathNode("mtd",[oa(T.body,m)]),Io(),new Vi.MathNode("mtd",[oa(T.tag,m)])])]);return S.setAttribute("width","100%"),S}});var ir={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oi={"\\textbf":"textbf","\\textmd":"textmd"},Yi={"\\textit":"textit","\\textup":"textup"},Di=(T,m)=>{var S=T.font;if(S){if(ir[S])return m.withTextFontFamily(ir[S]);if(Oi[S])return m.withTextFontWeight(Oi[S]);if(S==="\\emph")return m.fontShape==="textit"?m.withTextFontShape("textup"):m.withTextFontShape("textit")}else return m;return m.withTextFontShape(Yi[S])};Hi({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(T,m){var{parser:S,funcName:D}=T,Z=m[0];return{type:"text",mode:S.mode,body:Yo(Z),font:D}},htmlBuilder(T,m){var S=Di(T,m),D=Ho(T.body,S,!0);return Sn.makeSpan(["mord","text"],D,S)},mathmlBuilder(T,m){var S=Di(T,m);return oa(T.body,S)}}),Hi({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(T,m){var{parser:S}=T;return{type:"underline",mode:S.mode,body:m[0]}},htmlBuilder(T,m){var S=Xo(T.body,m),D=Sn.makeLineSpan("underline-line",m),Z=m.fontMetrics().defaultRuleThickness,ae=Sn.makeVList({positionType:"top",positionData:S.height,children:[{type:"kern",size:Z},{type:"elem",elem:D},{type:"kern",size:3*Z},{type:"elem",elem:S}]},m);return Sn.makeSpan(["mord","underline"],[ae],m)},mathmlBuilder(T,m){var S=new Vi.MathNode("mo",[new Vi.TextNode("\u203E")]);S.setAttribute("stretchy","true");var D=new Vi.MathNode("munder",[ro(T.body,m),S]);return D.setAttribute("accentunder","true"),D}}),Hi({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(T,m){var{parser:S}=T;return{type:"vcenter",mode:S.mode,body:m[0]}},htmlBuilder(T,m){var S=Xo(T.body,m),D=m.fontMetrics().axisHeight,Z=.5*(S.height-D-(S.depth+D));return Sn.makeVList({positionType:"shift",positionData:Z,children:[{type:"elem",elem:S}]},m)},mathmlBuilder(T,m){return new Vi.MathNode("mpadded",[ro(T.body,m)],["vcenter"])}}),Hi({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(T,m,S){throw new Ft("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(T,m){for(var S=Vr(T),D=[],Z=m.havingStyle(m.style.text()),ae=0;aeT.body.replace(/ /g,T.star?"\u2423":"\xA0"),Xi=Rs,_r=`[ \r - ]`,uo="\\\\[a-zA-Z@]+",rn="\\\\[^\uD800-\uDFFF]",ya="("+uo+")"+_r+"*",ba=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class kr{constructor(m){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=m,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(m){return T.contains(this.classes,m)}toNode(){for(var m=document.createDocumentFragment(),S=0;SS.toText();return this.children.map(m).join("")}}var no={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},rr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Bi={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function yi(A,m){no[A]=m}function ht(A,m,S){if(!no[m])throw new Error("Font metrics not found for font: "+m+".");var D=A.charCodeAt(0),Z=no[m][D];if(!Z&&A[0]in Bi&&(D=Bi[A[0]].charCodeAt(0),Z=no[m][D]),!Z&&S==="text"&&Ii(D)&&(Z=no[m][77]),Z)return{depth:Z[0],height:Z[1],italic:Z[2],skew:Z[3],width:Z[4]}}var _n={};function Vn(A){var m;if(A>=5?m=0:A>=3?m=1:m=2,!_n[m]){var S=_n[m]={cssEmPerMu:rr.quad[m]/18};for(var D in rr)rr.hasOwnProperty(D)&&(S[D]=rr[D][m])}return _n[m]}var pt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ke=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vn=function(m,S){return S.size<2?m:pt[m-1][S.size-1]};class Fn{constructor(m){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=m.style,this.color=m.color,this.size=m.size||Fn.BASESIZE,this.textSize=m.textSize||this.size,this.phantom=!!m.phantom,this.font=m.font||"",this.fontFamily=m.fontFamily||"",this.fontWeight=m.fontWeight||"",this.fontShape=m.fontShape||"",this.sizeMultiplier=Ke[this.size-1],this.maxSize=m.maxSize,this.minRuleThickness=m.minRuleThickness,this._fontMetrics=void 0}extend(m){var S={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var D in m)m.hasOwnProperty(D)&&(S[D]=m[D]);return new Fn(S)}havingStyle(m){return this.style===m?this:this.extend({style:m,size:vn(this.textSize,m)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(m){return this.size===m&&this.textSize===m?this:this.extend({style:this.style.text(),size:m,textSize:m,sizeMultiplier:Ke[m-1]})}havingBaseStyle(m){m=m||this.style.text();var S=vn(Fn.BASESIZE,m);return this.size===S&&this.textSize===Fn.BASESIZE&&this.style===m?this:this.extend({style:m,size:S})}havingBaseSizing(){var m;switch(this.style.id){case 4:case 5:m=3;break;case 6:case 7:m=1;break;default:m=6}return this.extend({style:this.style.text(),size:m})}withColor(m){return this.extend({color:m})}withPhantom(){return this.extend({phantom:!0})}withFont(m){return this.extend({font:m})}withTextFontFamily(m){return this.extend({fontFamily:m,font:""})}withTextFontWeight(m){return this.extend({fontWeight:m,font:""})}withTextFontShape(m){return this.extend({fontShape:m,font:""})}sizingClasses(m){return m.size!==this.size?["sizing","reset-size"+m.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Fn.BASESIZE?["sizing","reset-size"+this.size,"size"+Fn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Vn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Fn.BASESIZE=6;var on={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Nt={ex:!0,em:!0,mu:!0},Ve=function(m){return typeof m!="string"&&(m=m.unit),m in on||m in Nt||m==="ex"},Ut=function(m,S){var D;if(m.unit in on)D=on[m.unit]/S.fontMetrics().ptPerEm/S.sizeMultiplier;else if(m.unit==="mu")D=S.fontMetrics().cssEmPerMu;else{var Z;if(S.style.isTight()?Z=S.havingStyle(S.style.text()):Z=S,m.unit==="ex")D=Z.fontMetrics().xHeight;else if(m.unit==="em")D=Z.fontMetrics().quad;else throw new Ft("Invalid unit: '"+m.unit+"'");Z!==S&&(D*=Z.sizeMultiplier/S.sizeMultiplier)}return Math.min(m.number*D,S.maxSize)},Lt=function(m){return+m.toFixed(4)+"em"},Wn=function(m){return m.filter(S=>S).join(" ")},ot=function(m,S,D){if(this.classes=m||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=D||{},S){S.style.isTight()&&this.classes.push("mtight");var Z=S.getColor();Z&&(this.style.color=Z)}},fn=function(m){var S=document.createElement(m);S.className=Wn(this.classes);for(var D in this.style)this.style.hasOwnProperty(D)&&(S.style[D]=this.style[D]);for(var Z in this.attributes)this.attributes.hasOwnProperty(Z)&&S.setAttribute(Z,this.attributes[Z]);for(var se=0;se/=\x00-\x1f]/,je=function(m){var S="<"+m;this.classes.length&&(S+=' class="'+T.escape(Wn(this.classes))+'"');var D="";for(var Z in this.style)this.style.hasOwnProperty(Z)&&(D+=T.hyphenate(Z)+":"+this.style[Z]+";");D&&(S+=' style="'+T.escape(D)+'"');for(var se in this.attributes)if(this.attributes.hasOwnProperty(se)){if(vt.test(se))throw new Ft("Invalid attribute name '"+se+"'");S+=" "+se+'="'+T.escape(this.attributes[se])+'"'}S+=">";for(var Y=0;Y",S};class L{constructor(m,S,D,Z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,m,D,Z),this.children=S||[]}setAttribute(m,S){this.attributes[m]=S}hasClass(m){return T.contains(this.classes,m)}toNode(){return fn.call(this,"span")}toMarkup(){return je.call(this,"span")}}class Rt{constructor(m,S,D,Z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,S,Z),this.children=D||[],this.setAttribute("href",m)}setAttribute(m,S){this.attributes[m]=S}hasClass(m){return T.contains(this.classes,m)}toNode(){return fn.call(this,"a")}toMarkup(){return je.call(this,"a")}}class Jt{constructor(m,S,D){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=S,this.src=m,this.classes=["mord"],this.style=D}hasClass(m){return T.contains(this.classes,m)}toNode(){var m=document.createElement("img");m.src=this.src,m.alt=this.alt,m.className="mord";for(var S in this.style)this.style.hasOwnProperty(S)&&(m.style[S]=this.style[S]);return m}toMarkup(){var m=''+T.escape(this.alt)+'0&&(S=document.createElement("span"),S.style.marginRight=Lt(this.italic)),this.classes.length>0&&(S=S||document.createElement("span"),S.className=Wn(this.classes));for(var D in this.style)this.style.hasOwnProperty(D)&&(S=S||document.createElement("span"),S.style[D]=this.style[D]);return S?(S.appendChild(m),S):m}toMarkup(){var m=!1,S="0&&(D+="margin-right:"+this.italic+"em;");for(var Z in this.style)this.style.hasOwnProperty(Z)&&(D+=T.hyphenate(Z)+":"+this.style[Z]+";");D&&(m=!0,S+=' style="'+T.escape(D)+'"');var se=T.escape(this.text);return m?(S+=">",S+=se,S+="",S):se}}class An{constructor(m,S){this.children=void 0,this.attributes=void 0,this.children=m||[],this.attributes=S||{}}toNode(){var m="http://www.w3.org/2000/svg",S=document.createElementNS(m,"svg");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&S.setAttribute(D,this.attributes[D]);for(var Z=0;Z':''}}class Nn{constructor(m){this.attributes=void 0,this.attributes=m||{}}toNode(){var m="http://www.w3.org/2000/svg",S=document.createElementNS(m,"line");for(var D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&S.setAttribute(D,this.attributes[D]);return S}toMarkup(){var m=" but got "+String(A)+".")}var Yi={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},zi={math:{},text:{}};function q(A,m,S,D,Z,se){zi[A][Z]={font:m,group:S,replace:D},se&&D&&(zi[A][D]=zi[A][Z])}var oe="math",Hn="text",Be="main",Tt="ams",fi="accent-token",Ln="bin",Fi="close",qt="inner",xi="mathord",Xt="op-token",Li="open",Yr="punct",Mt="rel",Qr="spacing",tn="textord";q(oe,Be,Mt,"\u2261","\\equiv",!0),q(oe,Be,Mt,"\u227A","\\prec",!0),q(oe,Be,Mt,"\u227B","\\succ",!0),q(oe,Be,Mt,"\u223C","\\sim",!0),q(oe,Be,Mt,"\u22A5","\\perp"),q(oe,Be,Mt,"\u2AAF","\\preceq",!0),q(oe,Be,Mt,"\u2AB0","\\succeq",!0),q(oe,Be,Mt,"\u2243","\\simeq",!0),q(oe,Be,Mt,"\u2223","\\mid",!0),q(oe,Be,Mt,"\u226A","\\ll",!0),q(oe,Be,Mt,"\u226B","\\gg",!0),q(oe,Be,Mt,"\u224D","\\asymp",!0),q(oe,Be,Mt,"\u2225","\\parallel"),q(oe,Be,Mt,"\u22C8","\\bowtie",!0),q(oe,Be,Mt,"\u2323","\\smile",!0),q(oe,Be,Mt,"\u2291","\\sqsubseteq",!0),q(oe,Be,Mt,"\u2292","\\sqsupseteq",!0),q(oe,Be,Mt,"\u2250","\\doteq",!0),q(oe,Be,Mt,"\u2322","\\frown",!0),q(oe,Be,Mt,"\u220B","\\ni",!0),q(oe,Be,Mt,"\u221D","\\propto",!0),q(oe,Be,Mt,"\u22A2","\\vdash",!0),q(oe,Be,Mt,"\u22A3","\\dashv",!0),q(oe,Be,Mt,"\u220B","\\owns"),q(oe,Be,Yr,".","\\ldotp"),q(oe,Be,Yr,"\u22C5","\\cdotp"),q(oe,Be,tn,"#","\\#"),q(Hn,Be,tn,"#","\\#"),q(oe,Be,tn,"&","\\&"),q(Hn,Be,tn,"&","\\&"),q(oe,Be,tn,"\u2135","\\aleph",!0),q(oe,Be,tn,"\u2200","\\forall",!0),q(oe,Be,tn,"\u210F","\\hbar",!0),q(oe,Be,tn,"\u2203","\\exists",!0),q(oe,Be,tn,"\u2207","\\nabla",!0),q(oe,Be,tn,"\u266D","\\flat",!0),q(oe,Be,tn,"\u2113","\\ell",!0),q(oe,Be,tn,"\u266E","\\natural",!0),q(oe,Be,tn,"\u2663","\\clubsuit",!0),q(oe,Be,tn,"\u2118","\\wp",!0),q(oe,Be,tn,"\u266F","\\sharp",!0),q(oe,Be,tn,"\u2662","\\diamondsuit",!0),q(oe,Be,tn,"\u211C","\\Re",!0),q(oe,Be,tn,"\u2661","\\heartsuit",!0),q(oe,Be,tn,"\u2111","\\Im",!0),q(oe,Be,tn,"\u2660","\\spadesuit",!0),q(oe,Be,tn,"\xA7","\\S",!0),q(Hn,Be,tn,"\xA7","\\S"),q(oe,Be,tn,"\xB6","\\P",!0),q(Hn,Be,tn,"\xB6","\\P"),q(oe,Be,tn,"\u2020","\\dag"),q(Hn,Be,tn,"\u2020","\\dag"),q(Hn,Be,tn,"\u2020","\\textdagger"),q(oe,Be,tn,"\u2021","\\ddag"),q(Hn,Be,tn,"\u2021","\\ddag"),q(Hn,Be,tn,"\u2021","\\textdaggerdbl"),q(oe,Be,Fi,"\u23B1","\\rmoustache",!0),q(oe,Be,Li,"\u23B0","\\lmoustache",!0),q(oe,Be,Fi,"\u27EF","\\rgroup",!0),q(oe,Be,Li,"\u27EE","\\lgroup",!0),q(oe,Be,Ln,"\u2213","\\mp",!0),q(oe,Be,Ln,"\u2296","\\ominus",!0),q(oe,Be,Ln,"\u228E","\\uplus",!0),q(oe,Be,Ln,"\u2293","\\sqcap",!0),q(oe,Be,Ln,"\u2217","\\ast"),q(oe,Be,Ln,"\u2294","\\sqcup",!0),q(oe,Be,Ln,"\u25EF","\\bigcirc",!0),q(oe,Be,Ln,"\u2219","\\bullet",!0),q(oe,Be,Ln,"\u2021","\\ddagger"),q(oe,Be,Ln,"\u2240","\\wr",!0),q(oe,Be,Ln,"\u2A3F","\\amalg"),q(oe,Be,Ln,"&","\\And"),q(oe,Be,Mt,"\u27F5","\\longleftarrow",!0),q(oe,Be,Mt,"\u21D0","\\Leftarrow",!0),q(oe,Be,Mt,"\u27F8","\\Longleftarrow",!0),q(oe,Be,Mt,"\u27F6","\\longrightarrow",!0),q(oe,Be,Mt,"\u21D2","\\Rightarrow",!0),q(oe,Be,Mt,"\u27F9","\\Longrightarrow",!0),q(oe,Be,Mt,"\u2194","\\leftrightarrow",!0),q(oe,Be,Mt,"\u27F7","\\longleftrightarrow",!0),q(oe,Be,Mt,"\u21D4","\\Leftrightarrow",!0),q(oe,Be,Mt,"\u27FA","\\Longleftrightarrow",!0),q(oe,Be,Mt,"\u21A6","\\mapsto",!0),q(oe,Be,Mt,"\u27FC","\\longmapsto",!0),q(oe,Be,Mt,"\u2197","\\nearrow",!0),q(oe,Be,Mt,"\u21A9","\\hookleftarrow",!0),q(oe,Be,Mt,"\u21AA","\\hookrightarrow",!0),q(oe,Be,Mt,"\u2198","\\searrow",!0),q(oe,Be,Mt,"\u21BC","\\leftharpoonup",!0),q(oe,Be,Mt,"\u21C0","\\rightharpoonup",!0),q(oe,Be,Mt,"\u2199","\\swarrow",!0),q(oe,Be,Mt,"\u21BD","\\leftharpoondown",!0),q(oe,Be,Mt,"\u21C1","\\rightharpoondown",!0),q(oe,Be,Mt,"\u2196","\\nwarrow",!0),q(oe,Be,Mt,"\u21CC","\\rightleftharpoons",!0),q(oe,Tt,Mt,"\u226E","\\nless",!0),q(oe,Tt,Mt,"\uE010","\\@nleqslant"),q(oe,Tt,Mt,"\uE011","\\@nleqq"),q(oe,Tt,Mt,"\u2A87","\\lneq",!0),q(oe,Tt,Mt,"\u2268","\\lneqq",!0),q(oe,Tt,Mt,"\uE00C","\\@lvertneqq"),q(oe,Tt,Mt,"\u22E6","\\lnsim",!0),q(oe,Tt,Mt,"\u2A89","\\lnapprox",!0),q(oe,Tt,Mt,"\u2280","\\nprec",!0),q(oe,Tt,Mt,"\u22E0","\\npreceq",!0),q(oe,Tt,Mt,"\u22E8","\\precnsim",!0),q(oe,Tt,Mt,"\u2AB9","\\precnapprox",!0),q(oe,Tt,Mt,"\u2241","\\nsim",!0),q(oe,Tt,Mt,"\uE006","\\@nshortmid"),q(oe,Tt,Mt,"\u2224","\\nmid",!0),q(oe,Tt,Mt,"\u22AC","\\nvdash",!0),q(oe,Tt,Mt,"\u22AD","\\nvDash",!0),q(oe,Tt,Mt,"\u22EA","\\ntriangleleft"),q(oe,Tt,Mt,"\u22EC","\\ntrianglelefteq",!0),q(oe,Tt,Mt,"\u228A","\\subsetneq",!0),q(oe,Tt,Mt,"\uE01A","\\@varsubsetneq"),q(oe,Tt,Mt,"\u2ACB","\\subsetneqq",!0),q(oe,Tt,Mt,"\uE017","\\@varsubsetneqq"),q(oe,Tt,Mt,"\u226F","\\ngtr",!0),q(oe,Tt,Mt,"\uE00F","\\@ngeqslant"),q(oe,Tt,Mt,"\uE00E","\\@ngeqq"),q(oe,Tt,Mt,"\u2A88","\\gneq",!0),q(oe,Tt,Mt,"\u2269","\\gneqq",!0),q(oe,Tt,Mt,"\uE00D","\\@gvertneqq"),q(oe,Tt,Mt,"\u22E7","\\gnsim",!0),q(oe,Tt,Mt,"\u2A8A","\\gnapprox",!0),q(oe,Tt,Mt,"\u2281","\\nsucc",!0),q(oe,Tt,Mt,"\u22E1","\\nsucceq",!0),q(oe,Tt,Mt,"\u22E9","\\succnsim",!0),q(oe,Tt,Mt,"\u2ABA","\\succnapprox",!0),q(oe,Tt,Mt,"\u2246","\\ncong",!0),q(oe,Tt,Mt,"\uE007","\\@nshortparallel"),q(oe,Tt,Mt,"\u2226","\\nparallel",!0),q(oe,Tt,Mt,"\u22AF","\\nVDash",!0),q(oe,Tt,Mt,"\u22EB","\\ntriangleright"),q(oe,Tt,Mt,"\u22ED","\\ntrianglerighteq",!0),q(oe,Tt,Mt,"\uE018","\\@nsupseteqq"),q(oe,Tt,Mt,"\u228B","\\supsetneq",!0),q(oe,Tt,Mt,"\uE01B","\\@varsupsetneq"),q(oe,Tt,Mt,"\u2ACC","\\supsetneqq",!0),q(oe,Tt,Mt,"\uE019","\\@varsupsetneqq"),q(oe,Tt,Mt,"\u22AE","\\nVdash",!0),q(oe,Tt,Mt,"\u2AB5","\\precneqq",!0),q(oe,Tt,Mt,"\u2AB6","\\succneqq",!0),q(oe,Tt,Mt,"\uE016","\\@nsubseteqq"),q(oe,Tt,Ln,"\u22B4","\\unlhd"),q(oe,Tt,Ln,"\u22B5","\\unrhd"),q(oe,Tt,Mt,"\u219A","\\nleftarrow",!0),q(oe,Tt,Mt,"\u219B","\\nrightarrow",!0),q(oe,Tt,Mt,"\u21CD","\\nLeftarrow",!0),q(oe,Tt,Mt,"\u21CF","\\nRightarrow",!0),q(oe,Tt,Mt,"\u21AE","\\nleftrightarrow",!0),q(oe,Tt,Mt,"\u21CE","\\nLeftrightarrow",!0),q(oe,Tt,Mt,"\u25B3","\\vartriangle"),q(oe,Tt,tn,"\u210F","\\hslash"),q(oe,Tt,tn,"\u25BD","\\triangledown"),q(oe,Tt,tn,"\u25CA","\\lozenge"),q(oe,Tt,tn,"\u24C8","\\circledS"),q(oe,Tt,tn,"\xAE","\\circledR"),q(Hn,Tt,tn,"\xAE","\\circledR"),q(oe,Tt,tn,"\u2221","\\measuredangle",!0),q(oe,Tt,tn,"\u2204","\\nexists"),q(oe,Tt,tn,"\u2127","\\mho"),q(oe,Tt,tn,"\u2132","\\Finv",!0),q(oe,Tt,tn,"\u2141","\\Game",!0),q(oe,Tt,tn,"\u2035","\\backprime"),q(oe,Tt,tn,"\u25B2","\\blacktriangle"),q(oe,Tt,tn,"\u25BC","\\blacktriangledown"),q(oe,Tt,tn,"\u25A0","\\blacksquare"),q(oe,Tt,tn,"\u29EB","\\blacklozenge"),q(oe,Tt,tn,"\u2605","\\bigstar"),q(oe,Tt,tn,"\u2222","\\sphericalangle",!0),q(oe,Tt,tn,"\u2201","\\complement",!0),q(oe,Tt,tn,"\xF0","\\eth",!0),q(Hn,Be,tn,"\xF0","\xF0"),q(oe,Tt,tn,"\u2571","\\diagup"),q(oe,Tt,tn,"\u2572","\\diagdown"),q(oe,Tt,tn,"\u25A1","\\square"),q(oe,Tt,tn,"\u25A1","\\Box"),q(oe,Tt,tn,"\u25CA","\\Diamond"),q(oe,Tt,tn,"\xA5","\\yen",!0),q(Hn,Tt,tn,"\xA5","\\yen",!0),q(oe,Tt,tn,"\u2713","\\checkmark",!0),q(Hn,Tt,tn,"\u2713","\\checkmark"),q(oe,Tt,tn,"\u2136","\\beth",!0),q(oe,Tt,tn,"\u2138","\\daleth",!0),q(oe,Tt,tn,"\u2137","\\gimel",!0),q(oe,Tt,tn,"\u03DD","\\digamma",!0),q(oe,Tt,tn,"\u03F0","\\varkappa"),q(oe,Tt,Li,"\u250C","\\@ulcorner",!0),q(oe,Tt,Fi,"\u2510","\\@urcorner",!0),q(oe,Tt,Li,"\u2514","\\@llcorner",!0),q(oe,Tt,Fi,"\u2518","\\@lrcorner",!0),q(oe,Tt,Mt,"\u2266","\\leqq",!0),q(oe,Tt,Mt,"\u2A7D","\\leqslant",!0),q(oe,Tt,Mt,"\u2A95","\\eqslantless",!0),q(oe,Tt,Mt,"\u2272","\\lesssim",!0),q(oe,Tt,Mt,"\u2A85","\\lessapprox",!0),q(oe,Tt,Mt,"\u224A","\\approxeq",!0),q(oe,Tt,Ln,"\u22D6","\\lessdot"),q(oe,Tt,Mt,"\u22D8","\\lll",!0),q(oe,Tt,Mt,"\u2276","\\lessgtr",!0),q(oe,Tt,Mt,"\u22DA","\\lesseqgtr",!0),q(oe,Tt,Mt,"\u2A8B","\\lesseqqgtr",!0),q(oe,Tt,Mt,"\u2251","\\doteqdot"),q(oe,Tt,Mt,"\u2253","\\risingdotseq",!0),q(oe,Tt,Mt,"\u2252","\\fallingdotseq",!0),q(oe,Tt,Mt,"\u223D","\\backsim",!0),q(oe,Tt,Mt,"\u22CD","\\backsimeq",!0),q(oe,Tt,Mt,"\u2AC5","\\subseteqq",!0),q(oe,Tt,Mt,"\u22D0","\\Subset",!0),q(oe,Tt,Mt,"\u228F","\\sqsubset",!0),q(oe,Tt,Mt,"\u227C","\\preccurlyeq",!0),q(oe,Tt,Mt,"\u22DE","\\curlyeqprec",!0),q(oe,Tt,Mt,"\u227E","\\precsim",!0),q(oe,Tt,Mt,"\u2AB7","\\precapprox",!0),q(oe,Tt,Mt,"\u22B2","\\vartriangleleft"),q(oe,Tt,Mt,"\u22B4","\\trianglelefteq"),q(oe,Tt,Mt,"\u22A8","\\vDash",!0),q(oe,Tt,Mt,"\u22AA","\\Vvdash",!0),q(oe,Tt,Mt,"\u2323","\\smallsmile"),q(oe,Tt,Mt,"\u2322","\\smallfrown"),q(oe,Tt,Mt,"\u224F","\\bumpeq",!0),q(oe,Tt,Mt,"\u224E","\\Bumpeq",!0),q(oe,Tt,Mt,"\u2267","\\geqq",!0),q(oe,Tt,Mt,"\u2A7E","\\geqslant",!0),q(oe,Tt,Mt,"\u2A96","\\eqslantgtr",!0),q(oe,Tt,Mt,"\u2273","\\gtrsim",!0),q(oe,Tt,Mt,"\u2A86","\\gtrapprox",!0),q(oe,Tt,Ln,"\u22D7","\\gtrdot"),q(oe,Tt,Mt,"\u22D9","\\ggg",!0),q(oe,Tt,Mt,"\u2277","\\gtrless",!0),q(oe,Tt,Mt,"\u22DB","\\gtreqless",!0),q(oe,Tt,Mt,"\u2A8C","\\gtreqqless",!0),q(oe,Tt,Mt,"\u2256","\\eqcirc",!0),q(oe,Tt,Mt,"\u2257","\\circeq",!0),q(oe,Tt,Mt,"\u225C","\\triangleq",!0),q(oe,Tt,Mt,"\u223C","\\thicksim"),q(oe,Tt,Mt,"\u2248","\\thickapprox"),q(oe,Tt,Mt,"\u2AC6","\\supseteqq",!0),q(oe,Tt,Mt,"\u22D1","\\Supset",!0),q(oe,Tt,Mt,"\u2290","\\sqsupset",!0),q(oe,Tt,Mt,"\u227D","\\succcurlyeq",!0),q(oe,Tt,Mt,"\u22DF","\\curlyeqsucc",!0),q(oe,Tt,Mt,"\u227F","\\succsim",!0),q(oe,Tt,Mt,"\u2AB8","\\succapprox",!0),q(oe,Tt,Mt,"\u22B3","\\vartriangleright"),q(oe,Tt,Mt,"\u22B5","\\trianglerighteq"),q(oe,Tt,Mt,"\u22A9","\\Vdash",!0),q(oe,Tt,Mt,"\u2223","\\shortmid"),q(oe,Tt,Mt,"\u2225","\\shortparallel"),q(oe,Tt,Mt,"\u226C","\\between",!0),q(oe,Tt,Mt,"\u22D4","\\pitchfork",!0),q(oe,Tt,Mt,"\u221D","\\varpropto"),q(oe,Tt,Mt,"\u25C0","\\blacktriangleleft"),q(oe,Tt,Mt,"\u2234","\\therefore",!0),q(oe,Tt,Mt,"\u220D","\\backepsilon"),q(oe,Tt,Mt,"\u25B6","\\blacktriangleright"),q(oe,Tt,Mt,"\u2235","\\because",!0),q(oe,Tt,Mt,"\u22D8","\\llless"),q(oe,Tt,Mt,"\u22D9","\\gggtr"),q(oe,Tt,Ln,"\u22B2","\\lhd"),q(oe,Tt,Ln,"\u22B3","\\rhd"),q(oe,Tt,Mt,"\u2242","\\eqsim",!0),q(oe,Be,Mt,"\u22C8","\\Join"),q(oe,Tt,Mt,"\u2251","\\Doteq",!0),q(oe,Tt,Ln,"\u2214","\\dotplus",!0),q(oe,Tt,Ln,"\u2216","\\smallsetminus"),q(oe,Tt,Ln,"\u22D2","\\Cap",!0),q(oe,Tt,Ln,"\u22D3","\\Cup",!0),q(oe,Tt,Ln,"\u2A5E","\\doublebarwedge",!0),q(oe,Tt,Ln,"\u229F","\\boxminus",!0),q(oe,Tt,Ln,"\u229E","\\boxplus",!0),q(oe,Tt,Ln,"\u22C7","\\divideontimes",!0),q(oe,Tt,Ln,"\u22C9","\\ltimes",!0),q(oe,Tt,Ln,"\u22CA","\\rtimes",!0),q(oe,Tt,Ln,"\u22CB","\\leftthreetimes",!0),q(oe,Tt,Ln,"\u22CC","\\rightthreetimes",!0),q(oe,Tt,Ln,"\u22CF","\\curlywedge",!0),q(oe,Tt,Ln,"\u22CE","\\curlyvee",!0),q(oe,Tt,Ln,"\u229D","\\circleddash",!0),q(oe,Tt,Ln,"\u229B","\\circledast",!0),q(oe,Tt,Ln,"\u22C5","\\centerdot"),q(oe,Tt,Ln,"\u22BA","\\intercal",!0),q(oe,Tt,Ln,"\u22D2","\\doublecap"),q(oe,Tt,Ln,"\u22D3","\\doublecup"),q(oe,Tt,Ln,"\u22A0","\\boxtimes",!0),q(oe,Tt,Mt,"\u21E2","\\dashrightarrow",!0),q(oe,Tt,Mt,"\u21E0","\\dashleftarrow",!0),q(oe,Tt,Mt,"\u21C7","\\leftleftarrows",!0),q(oe,Tt,Mt,"\u21C6","\\leftrightarrows",!0),q(oe,Tt,Mt,"\u21DA","\\Lleftarrow",!0),q(oe,Tt,Mt,"\u219E","\\twoheadleftarrow",!0),q(oe,Tt,Mt,"\u21A2","\\leftarrowtail",!0),q(oe,Tt,Mt,"\u21AB","\\looparrowleft",!0),q(oe,Tt,Mt,"\u21CB","\\leftrightharpoons",!0),q(oe,Tt,Mt,"\u21B6","\\curvearrowleft",!0),q(oe,Tt,Mt,"\u21BA","\\circlearrowleft",!0),q(oe,Tt,Mt,"\u21B0","\\Lsh",!0),q(oe,Tt,Mt,"\u21C8","\\upuparrows",!0),q(oe,Tt,Mt,"\u21BF","\\upharpoonleft",!0),q(oe,Tt,Mt,"\u21C3","\\downharpoonleft",!0),q(oe,Be,Mt,"\u22B6","\\origof",!0),q(oe,Be,Mt,"\u22B7","\\imageof",!0),q(oe,Tt,Mt,"\u22B8","\\multimap",!0),q(oe,Tt,Mt,"\u21AD","\\leftrightsquigarrow",!0),q(oe,Tt,Mt,"\u21C9","\\rightrightarrows",!0),q(oe,Tt,Mt,"\u21C4","\\rightleftarrows",!0),q(oe,Tt,Mt,"\u21A0","\\twoheadrightarrow",!0),q(oe,Tt,Mt,"\u21A3","\\rightarrowtail",!0),q(oe,Tt,Mt,"\u21AC","\\looparrowright",!0),q(oe,Tt,Mt,"\u21B7","\\curvearrowright",!0),q(oe,Tt,Mt,"\u21BB","\\circlearrowright",!0),q(oe,Tt,Mt,"\u21B1","\\Rsh",!0),q(oe,Tt,Mt,"\u21CA","\\downdownarrows",!0),q(oe,Tt,Mt,"\u21BE","\\upharpoonright",!0),q(oe,Tt,Mt,"\u21C2","\\downharpoonright",!0),q(oe,Tt,Mt,"\u21DD","\\rightsquigarrow",!0),q(oe,Tt,Mt,"\u21DD","\\leadsto"),q(oe,Tt,Mt,"\u21DB","\\Rrightarrow",!0),q(oe,Tt,Mt,"\u21BE","\\restriction"),q(oe,Be,tn,"\u2018","`"),q(oe,Be,tn,"$","\\$"),q(Hn,Be,tn,"$","\\$"),q(Hn,Be,tn,"$","\\textdollar"),q(oe,Be,tn,"%","\\%"),q(Hn,Be,tn,"%","\\%"),q(oe,Be,tn,"_","\\_"),q(Hn,Be,tn,"_","\\_"),q(Hn,Be,tn,"_","\\textunderscore"),q(oe,Be,tn,"\u2220","\\angle",!0),q(oe,Be,tn,"\u221E","\\infty",!0),q(oe,Be,tn,"\u2032","\\prime"),q(oe,Be,tn,"\u25B3","\\triangle"),q(oe,Be,tn,"\u0393","\\Gamma",!0),q(oe,Be,tn,"\u0394","\\Delta",!0),q(oe,Be,tn,"\u0398","\\Theta",!0),q(oe,Be,tn,"\u039B","\\Lambda",!0),q(oe,Be,tn,"\u039E","\\Xi",!0),q(oe,Be,tn,"\u03A0","\\Pi",!0),q(oe,Be,tn,"\u03A3","\\Sigma",!0),q(oe,Be,tn,"\u03A5","\\Upsilon",!0),q(oe,Be,tn,"\u03A6","\\Phi",!0),q(oe,Be,tn,"\u03A8","\\Psi",!0),q(oe,Be,tn,"\u03A9","\\Omega",!0),q(oe,Be,tn,"A","\u0391"),q(oe,Be,tn,"B","\u0392"),q(oe,Be,tn,"E","\u0395"),q(oe,Be,tn,"Z","\u0396"),q(oe,Be,tn,"H","\u0397"),q(oe,Be,tn,"I","\u0399"),q(oe,Be,tn,"K","\u039A"),q(oe,Be,tn,"M","\u039C"),q(oe,Be,tn,"N","\u039D"),q(oe,Be,tn,"O","\u039F"),q(oe,Be,tn,"P","\u03A1"),q(oe,Be,tn,"T","\u03A4"),q(oe,Be,tn,"X","\u03A7"),q(oe,Be,tn,"\xAC","\\neg",!0),q(oe,Be,tn,"\xAC","\\lnot"),q(oe,Be,tn,"\u22A4","\\top"),q(oe,Be,tn,"\u22A5","\\bot"),q(oe,Be,tn,"\u2205","\\emptyset"),q(oe,Tt,tn,"\u2205","\\varnothing"),q(oe,Be,xi,"\u03B1","\\alpha",!0),q(oe,Be,xi,"\u03B2","\\beta",!0),q(oe,Be,xi,"\u03B3","\\gamma",!0),q(oe,Be,xi,"\u03B4","\\delta",!0),q(oe,Be,xi,"\u03F5","\\epsilon",!0),q(oe,Be,xi,"\u03B6","\\zeta",!0),q(oe,Be,xi,"\u03B7","\\eta",!0),q(oe,Be,xi,"\u03B8","\\theta",!0),q(oe,Be,xi,"\u03B9","\\iota",!0),q(oe,Be,xi,"\u03BA","\\kappa",!0),q(oe,Be,xi,"\u03BB","\\lambda",!0),q(oe,Be,xi,"\u03BC","\\mu",!0),q(oe,Be,xi,"\u03BD","\\nu",!0),q(oe,Be,xi,"\u03BE","\\xi",!0),q(oe,Be,xi,"\u03BF","\\omicron",!0),q(oe,Be,xi,"\u03C0","\\pi",!0),q(oe,Be,xi,"\u03C1","\\rho",!0),q(oe,Be,xi,"\u03C3","\\sigma",!0),q(oe,Be,xi,"\u03C4","\\tau",!0),q(oe,Be,xi,"\u03C5","\\upsilon",!0),q(oe,Be,xi,"\u03D5","\\phi",!0),q(oe,Be,xi,"\u03C7","\\chi",!0),q(oe,Be,xi,"\u03C8","\\psi",!0),q(oe,Be,xi,"\u03C9","\\omega",!0),q(oe,Be,xi,"\u03B5","\\varepsilon",!0),q(oe,Be,xi,"\u03D1","\\vartheta",!0),q(oe,Be,xi,"\u03D6","\\varpi",!0),q(oe,Be,xi,"\u03F1","\\varrho",!0),q(oe,Be,xi,"\u03C2","\\varsigma",!0),q(oe,Be,xi,"\u03C6","\\varphi",!0),q(oe,Be,Ln,"\u2217","*",!0),q(oe,Be,Ln,"+","+"),q(oe,Be,Ln,"\u2212","-",!0),q(oe,Be,Ln,"\u22C5","\\cdot",!0),q(oe,Be,Ln,"\u2218","\\circ",!0),q(oe,Be,Ln,"\xF7","\\div",!0),q(oe,Be,Ln,"\xB1","\\pm",!0),q(oe,Be,Ln,"\xD7","\\times",!0),q(oe,Be,Ln,"\u2229","\\cap",!0),q(oe,Be,Ln,"\u222A","\\cup",!0),q(oe,Be,Ln,"\u2216","\\setminus",!0),q(oe,Be,Ln,"\u2227","\\land"),q(oe,Be,Ln,"\u2228","\\lor"),q(oe,Be,Ln,"\u2227","\\wedge",!0),q(oe,Be,Ln,"\u2228","\\vee",!0),q(oe,Be,tn,"\u221A","\\surd"),q(oe,Be,Li,"\u27E8","\\langle",!0),q(oe,Be,Li,"\u2223","\\lvert"),q(oe,Be,Li,"\u2225","\\lVert"),q(oe,Be,Fi,"?","?"),q(oe,Be,Fi,"!","!"),q(oe,Be,Fi,"\u27E9","\\rangle",!0),q(oe,Be,Fi,"\u2223","\\rvert"),q(oe,Be,Fi,"\u2225","\\rVert"),q(oe,Be,Mt,"=","="),q(oe,Be,Mt,":",":"),q(oe,Be,Mt,"\u2248","\\approx",!0),q(oe,Be,Mt,"\u2245","\\cong",!0),q(oe,Be,Mt,"\u2265","\\ge"),q(oe,Be,Mt,"\u2265","\\geq",!0),q(oe,Be,Mt,"\u2190","\\gets"),q(oe,Be,Mt,">","\\gt",!0),q(oe,Be,Mt,"\u2208","\\in",!0),q(oe,Be,Mt,"\uE020","\\@not"),q(oe,Be,Mt,"\u2282","\\subset",!0),q(oe,Be,Mt,"\u2283","\\supset",!0),q(oe,Be,Mt,"\u2286","\\subseteq",!0),q(oe,Be,Mt,"\u2287","\\supseteq",!0),q(oe,Tt,Mt,"\u2288","\\nsubseteq",!0),q(oe,Tt,Mt,"\u2289","\\nsupseteq",!0),q(oe,Be,Mt,"\u22A8","\\models"),q(oe,Be,Mt,"\u2190","\\leftarrow",!0),q(oe,Be,Mt,"\u2264","\\le"),q(oe,Be,Mt,"\u2264","\\leq",!0),q(oe,Be,Mt,"<","\\lt",!0),q(oe,Be,Mt,"\u2192","\\rightarrow",!0),q(oe,Be,Mt,"\u2192","\\to"),q(oe,Tt,Mt,"\u2271","\\ngeq",!0),q(oe,Tt,Mt,"\u2270","\\nleq",!0),q(oe,Be,Qr,"\xA0","\\ "),q(oe,Be,Qr,"\xA0","\\space"),q(oe,Be,Qr,"\xA0","\\nobreakspace"),q(Hn,Be,Qr,"\xA0","\\ "),q(Hn,Be,Qr,"\xA0"," "),q(Hn,Be,Qr,"\xA0","\\space"),q(Hn,Be,Qr,"\xA0","\\nobreakspace"),q(oe,Be,Qr,null,"\\nobreak"),q(oe,Be,Qr,null,"\\allowbreak"),q(oe,Be,Yr,",",","),q(oe,Be,Yr,";",";"),q(oe,Tt,Ln,"\u22BC","\\barwedge",!0),q(oe,Tt,Ln,"\u22BB","\\veebar",!0),q(oe,Be,Ln,"\u2299","\\odot",!0),q(oe,Be,Ln,"\u2295","\\oplus",!0),q(oe,Be,Ln,"\u2297","\\otimes",!0),q(oe,Be,tn,"\u2202","\\partial",!0),q(oe,Be,Ln,"\u2298","\\oslash",!0),q(oe,Tt,Ln,"\u229A","\\circledcirc",!0),q(oe,Tt,Ln,"\u22A1","\\boxdot",!0),q(oe,Be,Ln,"\u25B3","\\bigtriangleup"),q(oe,Be,Ln,"\u25BD","\\bigtriangledown"),q(oe,Be,Ln,"\u2020","\\dagger"),q(oe,Be,Ln,"\u22C4","\\diamond"),q(oe,Be,Ln,"\u22C6","\\star"),q(oe,Be,Ln,"\u25C3","\\triangleleft"),q(oe,Be,Ln,"\u25B9","\\triangleright"),q(oe,Be,Li,"{","\\{"),q(Hn,Be,tn,"{","\\{"),q(Hn,Be,tn,"{","\\textbraceleft"),q(oe,Be,Fi,"}","\\}"),q(Hn,Be,tn,"}","\\}"),q(Hn,Be,tn,"}","\\textbraceright"),q(oe,Be,Li,"{","\\lbrace"),q(oe,Be,Fi,"}","\\rbrace"),q(oe,Be,Li,"[","\\lbrack",!0),q(Hn,Be,tn,"[","\\lbrack",!0),q(oe,Be,Fi,"]","\\rbrack",!0),q(Hn,Be,tn,"]","\\rbrack",!0),q(oe,Be,Li,"(","\\lparen",!0),q(oe,Be,Fi,")","\\rparen",!0),q(Hn,Be,tn,"<","\\textless",!0),q(Hn,Be,tn,">","\\textgreater",!0),q(oe,Be,Li,"\u230A","\\lfloor",!0),q(oe,Be,Fi,"\u230B","\\rfloor",!0),q(oe,Be,Li,"\u2308","\\lceil",!0),q(oe,Be,Fi,"\u2309","\\rceil",!0),q(oe,Be,tn,"\\","\\backslash"),q(oe,Be,tn,"\u2223","|"),q(oe,Be,tn,"\u2223","\\vert"),q(Hn,Be,tn,"|","\\textbar",!0),q(oe,Be,tn,"\u2225","\\|"),q(oe,Be,tn,"\u2225","\\Vert"),q(Hn,Be,tn,"\u2225","\\textbardbl"),q(Hn,Be,tn,"~","\\textasciitilde"),q(Hn,Be,tn,"\\","\\textbackslash"),q(Hn,Be,tn,"^","\\textasciicircum"),q(oe,Be,Mt,"\u2191","\\uparrow",!0),q(oe,Be,Mt,"\u21D1","\\Uparrow",!0),q(oe,Be,Mt,"\u2193","\\downarrow",!0),q(oe,Be,Mt,"\u21D3","\\Downarrow",!0),q(oe,Be,Mt,"\u2195","\\updownarrow",!0),q(oe,Be,Mt,"\u21D5","\\Updownarrow",!0),q(oe,Be,Xt,"\u2210","\\coprod"),q(oe,Be,Xt,"\u22C1","\\bigvee"),q(oe,Be,Xt,"\u22C0","\\bigwedge"),q(oe,Be,Xt,"\u2A04","\\biguplus"),q(oe,Be,Xt,"\u22C2","\\bigcap"),q(oe,Be,Xt,"\u22C3","\\bigcup"),q(oe,Be,Xt,"\u222B","\\int"),q(oe,Be,Xt,"\u222B","\\intop"),q(oe,Be,Xt,"\u222C","\\iint"),q(oe,Be,Xt,"\u222D","\\iiint"),q(oe,Be,Xt,"\u220F","\\prod"),q(oe,Be,Xt,"\u2211","\\sum"),q(oe,Be,Xt,"\u2A02","\\bigotimes"),q(oe,Be,Xt,"\u2A01","\\bigoplus"),q(oe,Be,Xt,"\u2A00","\\bigodot"),q(oe,Be,Xt,"\u222E","\\oint"),q(oe,Be,Xt,"\u222F","\\oiint"),q(oe,Be,Xt,"\u2230","\\oiiint"),q(oe,Be,Xt,"\u2A06","\\bigsqcup"),q(oe,Be,Xt,"\u222B","\\smallint"),q(Hn,Be,qt,"\u2026","\\textellipsis"),q(oe,Be,qt,"\u2026","\\mathellipsis"),q(Hn,Be,qt,"\u2026","\\ldots",!0),q(oe,Be,qt,"\u2026","\\ldots",!0),q(oe,Be,qt,"\u22EF","\\@cdots",!0),q(oe,Be,qt,"\u22F1","\\ddots",!0),q(oe,Be,tn,"\u22EE","\\varvdots"),q(Hn,Be,tn,"\u22EE","\\varvdots"),q(oe,Be,fi,"\u02CA","\\acute"),q(oe,Be,fi,"\u02CB","\\grave"),q(oe,Be,fi,"\xA8","\\ddot"),q(oe,Be,fi,"~","\\tilde"),q(oe,Be,fi,"\u02C9","\\bar"),q(oe,Be,fi,"\u02D8","\\breve"),q(oe,Be,fi,"\u02C7","\\check"),q(oe,Be,fi,"^","\\hat"),q(oe,Be,fi,"\u20D7","\\vec"),q(oe,Be,fi,"\u02D9","\\dot"),q(oe,Be,fi,"\u02DA","\\mathring"),q(oe,Be,xi,"\uE131","\\@imath"),q(oe,Be,xi,"\uE237","\\@jmath"),q(oe,Be,tn,"\u0131","\u0131"),q(oe,Be,tn,"\u0237","\u0237"),q(Hn,Be,tn,"\u0131","\\i",!0),q(Hn,Be,tn,"\u0237","\\j",!0),q(Hn,Be,tn,"\xDF","\\ss",!0),q(Hn,Be,tn,"\xE6","\\ae",!0),q(Hn,Be,tn,"\u0153","\\oe",!0),q(Hn,Be,tn,"\xF8","\\o",!0),q(Hn,Be,tn,"\xC6","\\AE",!0),q(Hn,Be,tn,"\u0152","\\OE",!0),q(Hn,Be,tn,"\xD8","\\O",!0),q(Hn,Be,fi,"\u02CA","\\'"),q(Hn,Be,fi,"\u02CB","\\`"),q(Hn,Be,fi,"\u02C6","\\^"),q(Hn,Be,fi,"\u02DC","\\~"),q(Hn,Be,fi,"\u02C9","\\="),q(Hn,Be,fi,"\u02D8","\\u"),q(Hn,Be,fi,"\u02D9","\\."),q(Hn,Be,fi,"\xB8","\\c"),q(Hn,Be,fi,"\u02DA","\\r"),q(Hn,Be,fi,"\u02C7","\\v"),q(Hn,Be,fi,"\xA8",'\\"'),q(Hn,Be,fi,"\u02DD","\\H"),q(Hn,Be,fi,"\u25EF","\\textcircled");var Oi={"--":!0,"---":!0,"``":!0,"''":!0};q(Hn,Be,tn,"\u2013","--",!0),q(Hn,Be,tn,"\u2013","\\textendash"),q(Hn,Be,tn,"\u2014","---",!0),q(Hn,Be,tn,"\u2014","\\textemdash"),q(Hn,Be,tn,"\u2018","`",!0),q(Hn,Be,tn,"\u2018","\\textquoteleft"),q(Hn,Be,tn,"\u2019","'",!0),q(Hn,Be,tn,"\u2019","\\textquoteright"),q(Hn,Be,tn,"\u201C","``",!0),q(Hn,Be,tn,"\u201C","\\textquotedblleft"),q(Hn,Be,tn,"\u201D","''",!0),q(Hn,Be,tn,"\u201D","\\textquotedblright"),q(oe,Be,tn,"\xB0","\\degree",!0),q(Hn,Be,tn,"\xB0","\\degree"),q(Hn,Be,tn,"\xB0","\\textdegree",!0),q(oe,Be,tn,"\xA3","\\pounds"),q(oe,Be,tn,"\xA3","\\mathsterling",!0),q(Hn,Be,tn,"\xA3","\\pounds"),q(Hn,Be,tn,"\xA3","\\textsterling",!0),q(oe,Tt,tn,"\u2720","\\maltese"),q(Hn,Tt,tn,"\u2720","\\maltese");for(var Ei='0123456789/@."',or=0;or0)return oa(se,Sn,Z,S,Y.concat(Bn));if(ft){var Qn,Ti;if(ft==="boldsymbol"){var Ni=$a(se,Z,S,Y,D);Qn=Ni.fontName,Ti=[Ni.fontClass]}else ct?(Qn=co[ft].fontName,Ti=[ft]):(Qn=Pr(ft,S.fontWeight,S.fontShape),Ti=[ft,S.fontWeight,S.fontShape]);if(Uo(se,Qn,Z).metrics)return oa(se,Qn,Z,S,Y.concat(Ti));if(Oi.hasOwnProperty(se)&&Qn.slice(0,10)==="Typewriter"){for(var $i=[],Nr=0;Nr{if(Wn(A.classes)!==Wn(m.classes)||A.skew!==m.skew||A.maxFontSize!==m.maxFontSize)return!1;if(A.classes.length===1){var S=A.classes[0];if(S==="mbin"||S==="mord")return!1}for(var D in A.style)if(A.style.hasOwnProperty(D)&&A.style[D]!==m.style[D])return!1;for(var Z in m.style)if(m.style.hasOwnProperty(Z)&&A.style[Z]!==m.style[Z])return!1;return!0},ss=A=>{for(var m=0;mS&&(S=Y.height),Y.depth>D&&(D=Y.depth),Y.maxFontSize>Z&&(Z=Y.maxFontSize)}m.height=S,m.depth=D,m.maxFontSize=Z},Go=function(m,S,D,Z){var se=new L(m,S,D,Z);return Ua(se),se},Zt=(A,m,S,D)=>new L(A,m,S,D),Pa=function(m,S,D){var Z=Go([m],[],S);return Z.height=Math.max(D||S.fontMetrics().defaultRuleThickness,S.minRuleThickness),Z.style.borderBottomWidth=Lt(Z.height),Z.maxFontSize=1,Z},ql=function(m,S,D,Z){var se=new Rt(m,S,D,Z);return Ua(se),se},nl=function(m){var S=new kr(m);return Ua(S),S},uo=function(m,S){return m instanceof kr?Go([],[m],S):m},No=function(m){if(m.positionType==="individualShift"){for(var S=m.children,D=[S[0]],Z=-S[0].shift-S[0].elem.depth,se=Z,Y=1;Y{var S=Go(["mspace"],[],m),D=Ut(A,m);return S.style.marginRight=Lt(D),S},Pr=function(m,S,D){var Z="";switch(m){case"amsrm":Z="AMS";break;case"textrm":Z="Main";break;case"textsf":Z="SansSerif";break;case"texttt":Z="Typewriter";break;default:Z=m}var se;return S==="textbf"&&D==="textit"?se="BoldItalic":S==="textbf"?se="Bold":S==="textit"?se="Italic":se="Regular",Z+"-"+se},co={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},xa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xr=function(m,S){var[D,Z,se]=xa[m],Y=new li(D),ct=new An([Y],{width:Lt(Z),height:Lt(se),style:"width:"+Lt(Z),viewBox:"0 0 "+1e3*Z+" "+1e3*se,preserveAspectRatio:"xMinYMin"}),ft=Zt(["overlay"],[ct],S);return ft.height=se,ft.style.height=Lt(se),ft.style.width=Lt(Z),ft},wn={fontMap:co,makeSymbol:oa,mathsym:ma,makeSpan:Go,makeSvgSpan:Zt,makeLineSpan:Pa,makeAnchor:ql,makeFragment:nl,wrapFragment:uo,makeVList:go,makeOrd:is,makeGlue:Ot,staticSvg:xr,svgData:xa,tryCombineChars:ss},ar={number:3,unit:"mu"},mi={number:4,unit:"mu"},Wo={number:5,unit:"mu"},ga={mord:{mop:ar,mbin:mi,mrel:Wo,minner:ar},mop:{mord:ar,mop:ar,mrel:Wo,minner:ar},mbin:{mord:mi,mop:mi,mopen:mi,minner:mi},mrel:{mord:Wo,mop:Wo,mopen:Wo,minner:Wo},mopen:{},mclose:{mop:ar,mbin:mi,mrel:Wo,minner:ar},mpunct:{mord:ar,mop:ar,mrel:Wo,mopen:ar,mclose:ar,mpunct:ar,minner:ar},minner:{mord:ar,mop:ar,mbin:mi,mrel:Wo,mopen:ar,mpunct:ar,minner:ar}},Ja={mord:{mop:ar},mop:{mord:ar,mop:ar},mbin:{},mrel:{},mopen:{},mclose:{mop:ar},mpunct:{},minner:{mop:ar}},Ms={},Ss={},ai={};function Ui(A){for(var{type:m,names:S,props:D,handler:Z,htmlBuilder:se,mathmlBuilder:Y}=A,ct={type:m,numArgs:D.numArgs,argTypes:D.argTypes,allowedInArgument:!!D.allowedInArgument,allowedInText:!!D.allowedInText,allowedInMath:D.allowedInMath===void 0?!0:D.allowedInMath,numOptionalArgs:D.numOptionalArgs||0,infix:!!D.infix,primitive:!!D.primitive,handler:Z},ft=0;ft{var $r=Nr.classes[0],jr=$i.classes[0];$r==="mbin"&&T.contains(dl,jr)?Nr.classes[0]="mord":jr==="mbin"&&T.contains(Rr,$r)&&($i.classes[0]="mord")},{node:Qn},Ti,Ni),Ia(se,($i,Nr)=>{var $r=qa(Nr),jr=qa($i),To=$r&&jr?$i.hasClass("mtight")?Ja[$r][jr]:ga[$r][jr]:null;if(To)return wn.makeGlue(To,Sn)},{node:Qn},Ti,Ni),se},Ia=function A(m,S,D,Z,se){Z&&m.push(Z);for(var Y=0;YTi=>{m.splice(Qn+1,0,Ti),Y++})(Y)}Z&&m.pop()},fl=function(m){return m instanceof kr||m instanceof Rt||m instanceof L&&m.hasClass("enclosing")?m:null},ja=function A(m,S){var D=fl(m);if(D){var Z=D.children;if(Z.length){if(S==="right")return A(Z[Z.length-1],"right");if(S==="left")return A(Z[0],"left")}}return m},qa=function(m,S){return m?(S&&(m=ja(m,S)),Os[m.classes[0]]||null):null},Rl=function(m,S){var D=["nulldelimiter"].concat(m.baseSizingClasses());return rs(S.concat(D))},_o=function(m,S,D){if(!m)return rs();if(Ss[m.type]){var Z=Ss[m.type](m,S);if(D&&S.size!==D.size){Z=rs(S.sizingClasses(D),[Z],S);var se=S.sizeMultiplier/D.sizeMultiplier;Z.height*=se,Z.depth*=se}return Z}else throw new Ft("Got group of unknown type: '"+m.type+"'")};function il(A,m){var S=rs(["base"],A,m),D=rs(["strut"]);return D.style.height=Lt(S.height+S.depth),S.depth&&(D.style.verticalAlign=Lt(-S.depth)),S.children.unshift(D),S}function rl(A,m){var S=null;A.length===1&&A[0].type==="tag"&&(S=A[0].tag,A=A[0].body);var D=Bo(A,m,"root"),Z;D.length===2&&D[1].hasClass("tag")&&(Z=D.pop());for(var se=[],Y=[],ct=0;ct0&&(se.push(il(Y,m)),Y=[]),se.push(D[ct]));Y.length>0&&se.push(il(Y,m));var Sn;S?(Sn=il(Bo(S,m,!0)),Sn.classes=["tag"],se.push(Sn)):Z&&se.push(Z);var Bn=rs(["katex-html"],se);if(Bn.setAttribute("aria-hidden","true"),Sn){var Qn=Sn.children[0];Qn.style.height=Lt(Bn.height+Bn.depth),Bn.depth&&(Qn.style.verticalAlign=Lt(-Bn.depth))}return Bn}function hu(A){return new kr(A)}class Ga{constructor(m,S,D){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=m,this.attributes={},this.children=S||[],this.classes=D||[]}setAttribute(m,S){this.attributes[m]=S}getAttribute(m){return this.attributes[m]}toNode(){var m=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var S in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,S)&&m.setAttribute(S,this.attributes[S]);this.classes.length>0&&(m.className=Wn(this.classes));for(var D=0;D0&&(m+=' class ="'+T.escape(Wn(this.classes))+'"'),m+=">";for(var D=0;D",m}toText(){return this.children.map(m=>m.toText()).join("")}}class os{constructor(m){this.text=void 0,this.text=m}toNode(){return document.createTextNode(this.text)}toMarkup(){return T.escape(this.toText())}toText(){return this.text}}class _s{constructor(m){this.width=void 0,this.character=void 0,this.width=m,m>=.05555&&m<=.05556?this.character="\u200A":m>=.1666&&m<=.1667?this.character="\u2009":m>=.2222&&m<=.2223?this.character="\u2005":m>=.2777&&m<=.2778?this.character="\u2005\u200A":m>=-.05556&&m<=-.05555?this.character="\u200A\u2063":m>=-.1667&&m<=-.1666?this.character="\u2009\u2063":m>=-.2223&&m<=-.2222?this.character="\u205F\u2063":m>=-.2778&&m<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var m=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return m.setAttribute("width",Lt(this.width)),m}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Vi={MathNode:Ga,TextNode:os,SpaceNode:_s,newDocumentFragment:hu},Cs=function(m,S,D){return zi[S][m]&&zi[S][m].replace&&m.charCodeAt(0)!==55349&&!(Oi.hasOwnProperty(m)&&D&&(D.fontFamily&&D.fontFamily.slice(4,6)==="tt"||D.font&&D.font.slice(4,6)==="tt"))&&(m=zi[S][m].replace),new Vi.TextNode(m)},jl=function(m){return m.length===1?m[0]:new Vi.MathNode("mrow",m)},Kr=function(m,S){if(S.fontFamily==="texttt")return"monospace";if(S.fontFamily==="textsf")return S.fontShape==="textit"&&S.fontWeight==="textbf"?"sans-serif-bold-italic":S.fontShape==="textit"?"sans-serif-italic":S.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(S.fontShape==="textit"&&S.fontWeight==="textbf")return"bold-italic";if(S.fontShape==="textit")return"italic";if(S.fontWeight==="textbf")return"bold";var D=S.font;if(!D||D==="mathnormal")return null;var Z=m.mode;if(D==="mathit")return"italic";if(D==="boldsymbol")return m.type==="textord"?"bold":"bold-italic";if(D==="mathbf")return"bold";if(D==="mathbb")return"double-struck";if(D==="mathsfit")return"sans-serif-italic";if(D==="mathfrak")return"fraktur";if(D==="mathscr"||D==="mathcal")return"script";if(D==="mathsf")return"sans-serif";if(D==="mathtt")return"monospace";var se=m.text;if(T.contains(["\\imath","\\jmath"],se))return null;zi[Z][se]&&zi[Z][se].replace&&(se=zi[Z][se].replace);var Y=wn.fontMap[D].fontName;return ht(se,Y,Z)?wn.fontMap[D].variant:null};function wo(A){if(!A)return!1;if(A.type==="mi"&&A.children.length===1){var m=A.children[0];return m instanceof os&&m.text==="."}else if(A.type==="mo"&&A.children.length===1&&A.getAttribute("separator")==="true"&&A.getAttribute("lspace")==="0em"&&A.getAttribute("rspace")==="0em"){var S=A.children[0];return S instanceof os&&S.text===","}else return!1}var ha=function(m,S,D){if(m.length===1){var Z=ro(m[0],S);return D&&Z instanceof Ga&&Z.type==="mo"&&(Z.setAttribute("lspace","0em"),Z.setAttribute("rspace","0em")),[Z]}for(var se=[],Y,ct=0;ct=1&&(Y.type==="mn"||wo(Y))){var Sn=ft.children[0];Sn instanceof Ga&&Sn.type==="mn"&&(Sn.children=[...Y.children,...Sn.children],se.pop())}else if(Y.type==="mi"&&Y.children.length===1){var Bn=Y.children[0];if(Bn instanceof os&&Bn.text==="\u0338"&&(ft.type==="mo"||ft.type==="mi"||ft.type==="mn")){var Qn=ft.children[0];Qn instanceof os&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),se.pop())}}}se.push(ft),Y=ft}return se},aa=function(m,S,D){return jl(ha(m,S,D))},ro=function(m,S){if(!m)return new Vi.MathNode("mrow");if(ai[m.type]){var D=ai[m.type](m,S);return D}else throw new Ft("Got group of unknown type: '"+m.type+"'")};function ia(A,m,S,D,Z){var se=ha(A,S),Y;se.length===1&&se[0]instanceof Ga&&T.contains(["mrow","mtable"],se[0].type)?Y=se[0]:Y=new Vi.MathNode("mrow",se);var ct=new Vi.MathNode("annotation",[new Vi.TextNode(m)]);ct.setAttribute("encoding","application/x-tex");var ft=new Vi.MathNode("semantics",[Y,ct]),Sn=new Vi.MathNode("math",[ft]);Sn.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),D&&Sn.setAttribute("display","block");var Bn=Z?"katex":"katex-mathml";return wn.makeSpan([Bn],[Sn])}var va=function(m){return new Fn({style:m.displayMode?yn.DISPLAY:yn.TEXT,maxSize:m.maxSize,minRuleThickness:m.minRuleThickness})},Ma=function(m,S){if(S.displayMode){var D=["katex-display"];S.leqno&&D.push("leqno"),S.fleqn&&D.push("fleqn"),m=wn.makeSpan(D,[m])}return m},Oa=function(m,S,D){var Z=va(D),se;if(D.output==="mathml")return ia(m,S,Z,D.displayMode,!0);if(D.output==="html"){var Y=rl(m,Z);se=wn.makeSpan(["katex"],[Y])}else{var ct=ia(m,S,Z,D.displayMode,!1),ft=rl(m,Z);se=wn.makeSpan(["katex"],[ct,ft])}return Ma(se,D)},Gl=function(m,S,D){var Z=va(D),se=rl(m,Z),Y=wn.makeSpan(["katex"],[se]);return Ma(Y,D)},Vs={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},wa=function(m){var S=new Vi.MathNode("mo",[new Vi.TextNode(Vs[m.replace(/^\\/,"")])]);return S.setAttribute("stretchy","true"),S},hc={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},zu=function(m){return m.type==="ordgroup"?m.body.length:1},du=function(m,S){function D(){var ct=4e5,ft=m.label.slice(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],ft)){var Sn=m,Bn=zu(Sn.base),Qn,Ti,Ni;if(Bn>5)ft==="widehat"||ft==="widecheck"?(Qn=420,ct=2364,Ni=.42,Ti=ft+"4"):(Qn=312,ct=2340,Ni=.34,Ti="tilde4");else{var $i=[1,1,2,2,3,3][Bn];ft==="widehat"||ft==="widecheck"?(ct=[0,1062,2364,2364,2364][$i],Qn=[0,239,300,360,420][$i],Ni=[0,.24,.3,.3,.36,.42][$i],Ti=ft+$i):(ct=[0,600,1033,2339,2340][$i],Qn=[0,260,286,306,312][$i],Ni=[0,.26,.286,.3,.306,.34][$i],Ti="tilde"+$i)}var Nr=new li(Ti),$r=new An([Nr],{width:"100%",height:Lt(Ni),viewBox:"0 0 "+ct+" "+Qn,preserveAspectRatio:"none"});return{span:wn.makeSvgSpan([],[$r],S),minWidth:0,height:Ni}}else{var jr=[],To=hc[ft],[jo,Ra,na]=To,Yo=na/1e3,fa=jo.length,ls,ua;if(fa===1){var Sl=To[3];ls=["hide-tail"],ua=[Sl]}else if(fa===2)ls=["halfarrow-left","halfarrow-right"],ua=["xMinYMin","xMaxYMin"];else if(fa===3)ls=["brace-left","brace-center","brace-right"],ua=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+fa+" children.");for(var Us=0;Us0&&(Z.style.minWidth=Lt(se)),Z},nr=function(m,S,D,Z,se){var Y,ct=m.height+m.depth+D+Z;if(/fbox|color|angl/.test(S)){if(Y=wn.makeSpan(["stretchy",S],[],se),S==="fbox"){var ft=se.color&&se.getColor();ft&&(Y.style.borderColor=ft)}}else{var Sn=[];/^[bx]cancel$/.test(S)&&Sn.push(new Nn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(S)&&Sn.push(new Nn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Bn=new An(Sn,{width:"100%",height:Lt(ct)});Y=wn.makeSvgSpan([],[Bn],se)}return Y.height=ct,Y.style.height=Lt(ct),Y},Ks={encloseSpan:nr,mathMLnode:wa,svgSpan:du};function qe(A,m){if(!A||A.type!==m)throw new Error("Expected node of type "+m+", but got "+(A?"node of type "+A.type:String(A)));return A}function Dn(A){var m=Cu(A);if(!m)throw new Error("Expected node of symbol group type, but got "+(A?"node of type "+A.type:String(A)));return m}function Cu(A){return A&&(A.type==="atom"||Yt.hasOwnProperty(A.type))?A:null}var Yu=(A,m)=>{var S,D,Z;A&&A.type==="supsub"?(D=qe(A.base,"accent"),S=D.base,A.base=S,Z=Mi(_o(A,m)),A.base=D):(D=qe(A,"accent"),S=D.base);var se=_o(S,m.havingCrampedStyle()),Y=D.isShifty&&T.isCharacterBox(S),ct=0;if(Y){var ft=T.getBaseElem(S),Sn=_o(ft,m.havingCrampedStyle());ct=st(Sn).skew}var Bn=D.label==="\\c",Qn=Bn?se.height+se.depth:Math.min(se.height,m.fontMetrics().xHeight),Ti;if(D.isStretchy)Ti=Ks.svgSpan(D,m),Ti=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:se},{type:"elem",elem:Ti,wrapperClasses:["svg-align"],wrapperStyle:ct>0?{width:"calc(100% - "+Lt(2*ct)+")",marginLeft:Lt(2*ct)}:void 0}]},m);else{var Ni,$i;D.label==="\\vec"?(Ni=wn.staticSvg("vec",m),$i=wn.svgData.vec[1]):(Ni=wn.makeOrd({mode:D.mode,text:D.label},m,"textord"),Ni=st(Ni),Ni.italic=0,$i=Ni.width,Bn&&(Qn+=Ni.depth)),Ti=wn.makeSpan(["accent-body"],[Ni]);var Nr=D.label==="\\textcircled";Nr&&(Ti.classes.push("accent-full"),Qn=se.height);var $r=ct;Nr||($r-=$i/2),Ti.style.left=Lt($r),D.label==="\\textcircled"&&(Ti.style.top=".2em"),Ti=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:se},{type:"kern",size:-Qn},{type:"elem",elem:Ti}]},m)}var jr=wn.makeSpan(["mord","accent"],[Ti],m);return Z?(Z.children[0]=jr,Z.height=Math.max(jr.height,Z.height),Z.classes[0]="mord",Z):jr},pl=(A,m)=>{var S=A.isStretchy?Ks.mathMLnode(A.label):new Vi.MathNode("mo",[Cs(A.label,A.mode)]),D=new Vi.MathNode("mover",[ro(A.base,m),S]);return D.setAttribute("accent","true"),D},ml=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(A=>"\\"+A).join("|"));Ui({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(A,m)=>{var S=Es(m[0]),D=!ml.test(A.funcName),Z=!D||A.funcName==="\\widehat"||A.funcName==="\\widetilde"||A.funcName==="\\widecheck";return{type:"accent",mode:A.parser.mode,label:A.funcName,isStretchy:D,isShifty:Z,base:S}},htmlBuilder:Yu,mathmlBuilder:pl}),Ui({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(A,m)=>{var S=m[0],D=A.parser.mode;return D==="math"&&(A.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+A.funcName+" works only in text mode"),D="text"),{type:"accent",mode:D,label:A.funcName,isStretchy:!1,isShifty:!0,base:S}},htmlBuilder:Yu,mathmlBuilder:pl}),Ui({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0];return{type:"accentUnder",mode:S.mode,label:D,base:Z}},htmlBuilder:(A,m)=>{var S=_o(A.base,m),D=Ks.svgSpan(A,m),Z=A.label==="\\utilde"?.12:0,se=wn.makeVList({positionType:"top",positionData:S.height,children:[{type:"elem",elem:D,wrapperClasses:["svg-align"]},{type:"kern",size:Z},{type:"elem",elem:S}]},m);return wn.makeSpan(["mord","accentunder"],[se],m)},mathmlBuilder:(A,m)=>{var S=Ks.mathMLnode(A.label),D=new Vi.MathNode("munder",[ro(A.base,m),S]);return D.setAttribute("accentunder","true"),D}});var gl=A=>{var m=new Vi.MathNode("mpadded",A?[A]:[]);return m.setAttribute("width","+0.6em"),m.setAttribute("lspace","0.3em"),m};Ui({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(A,m,S){var{parser:D,funcName:Z}=A;return{type:"xArrow",mode:D.mode,label:Z,body:m[0],below:S[0]}},htmlBuilder(A,m){var S=m.style,D=m.havingStyle(S.sup()),Z=wn.wrapFragment(_o(A.body,D,m),m),se=A.label.slice(0,2)==="\\x"?"x":"cd";Z.classes.push(se+"-arrow-pad");var Y;A.below&&(D=m.havingStyle(S.sub()),Y=wn.wrapFragment(_o(A.below,D,m),m),Y.classes.push(se+"-arrow-pad"));var ct=Ks.svgSpan(A,m),ft=-m.fontMetrics().axisHeight+.5*ct.height,Sn=-m.fontMetrics().axisHeight-.5*ct.height-.111;(Z.depth>.25||A.label==="\\xleftequilibrium")&&(Sn-=Z.depth);var Bn;if(Y){var Qn=-m.fontMetrics().axisHeight+Y.height+.5*ct.height+.111;Bn=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Z,shift:Sn},{type:"elem",elem:ct,shift:ft},{type:"elem",elem:Y,shift:Qn}]},m)}else Bn=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Z,shift:Sn},{type:"elem",elem:ct,shift:ft}]},m);return Bn.children[0].children[0].children[1].classes.push("svg-align"),wn.makeSpan(["mrel","x-arrow"],[Bn],m)},mathmlBuilder(A,m){var S=Ks.mathMLnode(A.label);S.setAttribute("minsize",A.label.charAt(0)==="x"?"1.75em":"3.0em");var D;if(A.body){var Z=gl(ro(A.body,m));if(A.below){var se=gl(ro(A.below,m));D=new Vi.MathNode("munderover",[S,se,Z])}else D=new Vi.MathNode("mover",[S,Z])}else if(A.below){var Y=gl(ro(A.below,m));D=new Vi.MathNode("munder",[S,Y])}else D=gl(),D=new Vi.MathNode("mover",[S,D]);return D}});var Xu=wn.makeSpan;function Tu(A,m){var S=Bo(A.body,m,!0);return Xu([A.mclass],S,m)}function Ca(A,m){var S,D=ha(A.body,m);return A.mclass==="minner"?S=new Vi.MathNode("mpadded",D):A.mclass==="mord"?A.isCharacterBox?(S=D[0],S.type="mi"):S=new Vi.MathNode("mi",D):(A.isCharacterBox?(S=D[0],S.type="mo"):S=new Vi.MathNode("mo",D),A.mclass==="mbin"?(S.attributes.lspace="0.22em",S.attributes.rspace="0.22em"):A.mclass==="mpunct"?(S.attributes.lspace="0em",S.attributes.rspace="0.17em"):A.mclass==="mopen"||A.mclass==="mclose"?(S.attributes.lspace="0em",S.attributes.rspace="0em"):A.mclass==="minner"&&(S.attributes.lspace="0.0556em",S.attributes.width="+0.1111em")),S}Ui({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(A,m){var{parser:S,funcName:D}=A,Z=m[0];return{type:"mclass",mode:S.mode,mclass:"m"+D.slice(5),body:Vo(Z),isCharacterBox:T.isCharacterBox(Z)}},htmlBuilder:Tu,mathmlBuilder:Ca});var Dr=A=>{var m=A.type==="ordgroup"&&A.body.length?A.body[0]:A;return m.type==="atom"&&(m.family==="bin"||m.family==="rel")?"m"+m.family:"mord"};Ui({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(A,m){var{parser:S}=A;return{type:"mclass",mode:S.mode,mclass:Dr(m[0]),body:Vo(m[1]),isCharacterBox:T.isCharacterBox(m[1])}}}),Ui({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(A,m){var{parser:S,funcName:D}=A,Z=m[1],se=m[0],Y;D!=="\\stackrel"?Y=Dr(Z):Y="mrel";var ct={type:"op",mode:Z.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:D!=="\\stackrel",body:Vo(Z)},ft={type:"supsub",mode:se.mode,base:ct,sup:D==="\\underset"?null:se,sub:D==="\\underset"?se:null};return{type:"mclass",mode:S.mode,mclass:Y,body:[ft],isCharacterBox:T.isCharacterBox(ft)}},htmlBuilder:Tu,mathmlBuilder:Ca}),Ui({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(A,m){var{parser:S}=A;return{type:"pmb",mode:S.mode,mclass:Dr(m[0]),body:Vo(m[0])}},htmlBuilder(A,m){var S=Bo(A.body,m,!0),D=wn.makeSpan([A.mclass],S,m);return D.style.textShadow="0.02em 0.01em 0.04px",D},mathmlBuilder(A,m){var S=ha(A.body,m),D=new Vi.MathNode("mstyle",S);return D.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),D}});var fs={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},as=()=>({type:"styling",body:[],mode:"math",style:"display"}),Eo=A=>A.type==="textord"&&A.text==="@",vo=(A,m)=>(A.type==="mathord"||A.type==="atom")&&A.text===m;function Wa(A,m,S){var D=fs[A];switch(D){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return S.callFunction(D,[m[0]],[m[1]]);case"\\uparrow":case"\\downarrow":{var Z=S.callFunction("\\\\cdleft",[m[0]],[]),se={type:"atom",text:D,mode:"math",family:"rel"},Y=S.callFunction("\\Big",[se],[]),ct=S.callFunction("\\\\cdright",[m[1]],[]),ft={type:"ordgroup",mode:"math",body:[Z,Y,ct]};return S.callFunction("\\\\cdparent",[ft],[])}case"\\\\cdlongequal":return S.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Sn={type:"textord",text:"\\Vert",mode:"math"};return S.callFunction("\\Big",[Sn],[])}default:return{type:"textord",text:" ",mode:"math"}}}function js(A){var m=[];for(A.gullet.beginGroup(),A.gullet.macros.set("\\cr","\\\\\\relax"),A.gullet.beginGroup();;){m.push(A.parseExpression(!1,"\\\\")),A.gullet.endGroup(),A.gullet.beginGroup();var S=A.fetch().text;if(S==="&"||S==="\\\\")A.consume();else if(S==="\\end"){m[m.length-1].length===0&&m.pop();break}else throw new Ft("Expected \\\\ or \\cr or \\end",A.nextToken)}for(var D=[],Z=[D],se=0;se-1))if("<>AV".indexOf(Sn)>-1)for(var Qn=0;Qn<2;Qn++){for(var Ti=!0,Ni=ft+1;NiAV=|." after @',Y[ft]);var $i=Wa(Sn,Bn,A),Nr={type:"styling",body:[$i],mode:"math",style:"display"};D.push(Nr),ct=as()}se%2===0?D.push(ct):D.shift(),D=[],Z.push(D)}A.gullet.endGroup(),A.gullet.endGroup();var $r=new Array(Z[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:Z,arraystretch:1,addJot:!0,rowGaps:[null],cols:$r,colSeparationType:"CD",hLinesBeforeRow:new Array(Z.length+1).fill([])}}Ui({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(A,m){var{parser:S,funcName:D}=A;return{type:"cdlabel",mode:S.mode,side:D.slice(4),label:m[0]}},htmlBuilder(A,m){var S=m.havingStyle(m.style.sup()),D=wn.wrapFragment(_o(A.label,S,m),m);return D.classes.push("cd-label-"+A.side),D.style.bottom=Lt(.8-D.depth),D.height=0,D.depth=0,D},mathmlBuilder(A,m){var S=new Vi.MathNode("mrow",[ro(A.label,m)]);return S=new Vi.MathNode("mpadded",[S]),S.setAttribute("width","0"),A.side==="left"&&S.setAttribute("lspace","-1width"),S.setAttribute("voffset","0.7em"),S=new Vi.MathNode("mstyle",[S]),S.setAttribute("displaystyle","false"),S.setAttribute("scriptlevel","1"),S}}),Ui({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(A,m){var{parser:S}=A;return{type:"cdlabelparent",mode:S.mode,fragment:m[0]}},htmlBuilder(A,m){var S=wn.wrapFragment(_o(A.fragment,m),m);return S.classes.push("cd-vert-arrow"),S},mathmlBuilder(A,m){return new Vi.MathNode("mrow",[ro(A.fragment,m)])}}),Ui({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(A,m){for(var{parser:S}=A,D=qe(m[0],"ordgroup"),Z=D.body,se="",Y=0;Y=1114111)throw new Ft("\\@char with invalid code point "+se);return ft<=65535?Sn=String.fromCharCode(ft):(ft-=65536,Sn=String.fromCharCode((ft>>10)+55296,(ft&1023)+56320)),{type:"textord",mode:S.mode,text:Sn}}});var sa=(A,m)=>{var S=Bo(A.body,m.withColor(A.color),!1);return wn.makeFragment(S)},Gs=(A,m)=>{var S=ha(A.body,m.withColor(A.color)),D=new Vi.MathNode("mstyle",S);return D.setAttribute("mathcolor",A.color),D};Ui({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(A,m){var{parser:S}=A,D=qe(m[0],"color-token").color,Z=m[1];return{type:"color",mode:S.mode,color:D,body:Vo(Z)}},htmlBuilder:sa,mathmlBuilder:Gs}),Ui({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(A,m){var{parser:S,breakOnTokenText:D}=A,Z=qe(m[0],"color-token").color;S.gullet.macros.set("\\current@color",Z);var se=S.parseExpression(!0,D);return{type:"color",mode:S.mode,color:Z,body:se}},htmlBuilder:sa,mathmlBuilder:Gs}),Ui({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(A,m,S){var{parser:D}=A,Z=D.gullet.future().text==="["?D.parseSizeGroup(!0):null,se=!D.settings.displayMode||!D.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:D.mode,newLine:se,size:Z&&qe(Z,"size").value}},htmlBuilder(A,m){var S=wn.makeSpan(["mspace"],[],m);return A.newLine&&(S.classes.push("newline"),A.size&&(S.style.marginTop=Lt(Ut(A.size,m)))),S},mathmlBuilder(A,m){var S=new Vi.MathNode("mspace");return A.newLine&&(S.setAttribute("linebreak","newline"),A.size&&S.setAttribute("height",Lt(Ut(A.size,m)))),S}});var Va={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},eu=A=>{var m=A.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(m))throw new Ft("Expected a control sequence",A);return m},Ro=A=>{var m=A.gullet.popToken();return m.text==="="&&(m=A.gullet.popToken(),m.text===" "&&(m=A.gullet.popToken())),m},vs=(A,m,S,D)=>{var Z=A.gullet.macros.get(S.text);Z==null&&(S.noexpand=!0,Z={tokens:[S],numArgs:0,unexpandable:!A.gullet.isExpandable(S.text)}),A.gullet.macros.set(m,Z,D)};Ui({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(A){var{parser:m,funcName:S}=A;m.consumeSpaces();var D=m.fetch();if(Va[D.text])return(S==="\\global"||S==="\\\\globallong")&&(D.text=Va[D.text]),qe(m.parseFunction(),"internal");throw new Ft("Invalid token after macro prefix",D)}}),Ui({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(A){var{parser:m,funcName:S}=A,D=m.gullet.popToken(),Z=D.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Z))throw new Ft("Expected a control sequence",D);for(var se=0,Y,ct=[[]];m.gullet.future().text!=="{";)if(D=m.gullet.popToken(),D.text==="#"){if(m.gullet.future().text==="{"){Y=m.gullet.future(),ct[se].push("{");break}if(D=m.gullet.popToken(),!/^[1-9]$/.test(D.text))throw new Ft('Invalid argument number "'+D.text+'"');if(parseInt(D.text)!==se+1)throw new Ft('Argument number "'+D.text+'" out of order');se++,ct.push([])}else{if(D.text==="EOF")throw new Ft("Expected a macro definition");ct[se].push(D.text)}var{tokens:ft}=m.gullet.consumeArg();return Y&&ft.unshift(Y),(S==="\\edef"||S==="\\xdef")&&(ft=m.gullet.expandTokens(ft),ft.reverse()),m.gullet.macros.set(Z,{tokens:ft,numArgs:se,delimiters:ct},S===Va[S]),{type:"internal",mode:m.mode}}}),Ui({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(A){var{parser:m,funcName:S}=A,D=eu(m.gullet.popToken());m.gullet.consumeSpaces();var Z=Ro(m);return vs(m,D,Z,S==="\\\\globallet"),{type:"internal",mode:m.mode}}}),Ui({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(A){var{parser:m,funcName:S}=A,D=eu(m.gullet.popToken()),Z=m.gullet.popToken(),se=m.gullet.popToken();return vs(m,D,se,S==="\\\\globalfuture"),m.gullet.pushToken(se),m.gullet.pushToken(Z),{type:"internal",mode:m.mode}}});var So=function(m,S,D){var Z=zi.math[m]&&zi.math[m].replace,se=ht(Z||m,S,D);if(!se)throw new Error("Unsupported symbol "+m+" and font size "+S+".");return se},Ko=function(m,S,D,Z){var se=D.havingBaseStyle(S),Y=wn.makeSpan(Z.concat(se.sizingClasses(D)),[m],D),ct=se.sizeMultiplier/D.sizeMultiplier;return Y.height*=ct,Y.depth*=ct,Y.maxFontSize=se.sizeMultiplier,Y},la=function(m,S,D){var Z=S.havingBaseStyle(D),se=(1-S.sizeMultiplier/Z.sizeMultiplier)*S.fontMetrics().axisHeight;m.classes.push("delimcenter"),m.style.top=Lt(se),m.height-=se,m.depth+=se},La=function(m,S,D,Z,se,Y){var ct=wn.makeSymbol(m,"Main-Regular",se,Z),ft=Ko(ct,S,Z,Y);return D&&la(ft,Z,S),ft},yo=function(m,S,D,Z){return wn.makeSymbol(m,"Size"+S+"-Regular",D,Z)},fu=function(m,S,D,Z,se,Y){var ct=yo(m,S,se,Z),ft=Ko(wn.makeSpan(["delimsizing","size"+S],[ct],Z),yn.TEXT,Z,Y);return D&&la(ft,Z,yn.TEXT),ft},Ir=function(m,S,D){var Z;S==="Size1-Regular"?Z="delim-size1":Z="delim-size4";var se=wn.makeSpan(["delimsizinginner",Z],[wn.makeSpan([],[wn.makeSymbol(m,S,D)])]);return{type:"elem",elem:se}},dc=function(m,S,D){var Z=no["Size4-Regular"][m.charCodeAt(0)]?no["Size4-Regular"][m.charCodeAt(0)][4]:no["Size1-Regular"][m.charCodeAt(0)][4],se=new li("inner",wr(m,Math.round(1e3*S))),Y=new An([se],{width:Lt(Z),height:Lt(S),style:"width:"+Lt(Z),viewBox:"0 0 "+1e3*Z+" "+Math.round(1e3*S),preserveAspectRatio:"xMinYMin"}),ct=wn.makeSvgSpan([],[Y],D);return ct.height=S,ct.style.height=Lt(S),ct.style.width=Lt(Z),{type:"elem",elem:ct}},Co=.008,Qu={type:"kern",size:-1*Co},Ju=["|","\\lvert","\\rvert","\\vert"],tu=["\\|","\\lVert","\\rVert","\\Vert"],wc=function(m,S,D,Z,se,Y){var ct,ft,Sn,Bn,Qn="",Ti=0;ct=Sn=Bn=m,ft=null;var Ni="Size1-Regular";m==="\\uparrow"?Sn=Bn="\u23D0":m==="\\Uparrow"?Sn=Bn="\u2016":m==="\\downarrow"?ct=Sn="\u23D0":m==="\\Downarrow"?ct=Sn="\u2016":m==="\\updownarrow"?(ct="\\uparrow",Sn="\u23D0",Bn="\\downarrow"):m==="\\Updownarrow"?(ct="\\Uparrow",Sn="\u2016",Bn="\\Downarrow"):T.contains(Ju,m)?(Sn="\u2223",Qn="vert",Ti=333):T.contains(tu,m)?(Sn="\u2225",Qn="doublevert",Ti=556):m==="["||m==="\\lbrack"?(ct="\u23A1",Sn="\u23A2",Bn="\u23A3",Ni="Size4-Regular",Qn="lbrack",Ti=667):m==="]"||m==="\\rbrack"?(ct="\u23A4",Sn="\u23A5",Bn="\u23A6",Ni="Size4-Regular",Qn="rbrack",Ti=667):m==="\\lfloor"||m==="\u230A"?(Sn=ct="\u23A2",Bn="\u23A3",Ni="Size4-Regular",Qn="lfloor",Ti=667):m==="\\lceil"||m==="\u2308"?(ct="\u23A1",Sn=Bn="\u23A2",Ni="Size4-Regular",Qn="lceil",Ti=667):m==="\\rfloor"||m==="\u230B"?(Sn=ct="\u23A5",Bn="\u23A6",Ni="Size4-Regular",Qn="rfloor",Ti=667):m==="\\rceil"||m==="\u2309"?(ct="\u23A4",Sn=Bn="\u23A5",Ni="Size4-Regular",Qn="rceil",Ti=667):m==="("||m==="\\lparen"?(ct="\u239B",Sn="\u239C",Bn="\u239D",Ni="Size4-Regular",Qn="lparen",Ti=875):m===")"||m==="\\rparen"?(ct="\u239E",Sn="\u239F",Bn="\u23A0",Ni="Size4-Regular",Qn="rparen",Ti=875):m==="\\{"||m==="\\lbrace"?(ct="\u23A7",ft="\u23A8",Bn="\u23A9",Sn="\u23AA",Ni="Size4-Regular"):m==="\\}"||m==="\\rbrace"?(ct="\u23AB",ft="\u23AC",Bn="\u23AD",Sn="\u23AA",Ni="Size4-Regular"):m==="\\lgroup"||m==="\u27EE"?(ct="\u23A7",Bn="\u23A9",Sn="\u23AA",Ni="Size4-Regular"):m==="\\rgroup"||m==="\u27EF"?(ct="\u23AB",Bn="\u23AD",Sn="\u23AA",Ni="Size4-Regular"):m==="\\lmoustache"||m==="\u23B0"?(ct="\u23A7",Bn="\u23AD",Sn="\u23AA",Ni="Size4-Regular"):(m==="\\rmoustache"||m==="\u23B1")&&(ct="\u23AB",Bn="\u23A9",Sn="\u23AA",Ni="Size4-Regular");var $i=So(ct,Ni,se),Nr=$i.height+$i.depth,$r=So(Sn,Ni,se),jr=$r.height+$r.depth,To=So(Bn,Ni,se),jo=To.height+To.depth,Ra=0,na=1;if(ft!==null){var Yo=So(ft,Ni,se);Ra=Yo.height+Yo.depth,na=2}var fa=Nr+jo+Ra,ls=Math.max(0,Math.ceil((S-fa)/(na*jr))),ua=fa+ls*na*jr,Sl=Z.fontMetrics().axisHeight;D&&(Sl*=Z.sizeMultiplier);var Us=ua/2-Sl,us=[];if(Qn.length>0){var Ns=ua-Nr-jo,al=Math.round(ua*1e3),Vl=xo(Qn,Math.round(Ns*1e3)),Fs=new li(Qn,Vl),ku=(Ti/1e3).toFixed(3)+"em",ec=(al/1e3).toFixed(3)+"em",Pc=new An([Fs],{width:ku,height:ec,viewBox:"0 0 "+Ti+" "+al}),Pl=wn.makeSvgSpan([],[Pc],Z);Pl.height=al/1e3,Pl.style.width=ku,Pl.style.height=ec,us.push({type:"elem",elem:Pl})}else{if(us.push(Ir(Bn,Ni,se)),us.push(Qu),ft===null){var ps=ua-Nr-jo+2*Co;us.push(dc(Sn,ps,Z))}else{var Fl=(ua-Nr-jo-Ra)/2+2*Co;us.push(dc(Sn,Fl,Z)),us.push(Qu),us.push(Ir(ft,Ni,se)),us.push(Qu),us.push(dc(Sn,Fl,Z))}us.push(Qu),us.push(Ir(ct,Ni,se))}var Ka=Z.havingBaseStyle(yn.TEXT),ea=wn.makeVList({positionType:"bottom",positionData:Us,children:us},Ka);return Ko(wn.makeSpan(["delimsizing","mult"],[ea],Ka),yn.TEXT,Z,Y)},Uu=80,vl=.08,Zs=function(m,S,D,Z,se){var Y=Er(m,Z,D),ct=new li(m,Y),ft=new An([ct],{width:"400em",height:Lt(S),viewBox:"0 0 400000 "+D,preserveAspectRatio:"xMinYMin slice"});return wn.makeSvgSpan(["hide-tail"],[ft],se)},Ao=function(m,S){var D=S.havingBaseSizing(),Z=mu("\\surd",m*D.sizeMultiplier,Ys,D),se=D.sizeMultiplier,Y=Math.max(0,S.minRuleThickness-S.fontMetrics().sqrtRuleThickness),ct,ft=0,Sn=0,Bn=0,Qn;return Z.type==="small"?(Bn=1e3+1e3*Y+Uu,m<1?se=1:m<1.4&&(se=.7),ft=(1+Y+vl)/se,Sn=(1+Y)/se,ct=Zs("sqrtMain",ft,Bn,Y,S),ct.style.minWidth="0.853em",Qn=.833/se):Z.type==="large"?(Bn=(1e3+Uu)*yl[Z.size],Sn=(yl[Z.size]+Y)/se,ft=(yl[Z.size]+Y+vl)/se,ct=Zs("sqrtSize"+Z.size,ft,Bn,Y,S),ct.style.minWidth="1.02em",Qn=1/se):(ft=m+Y+vl,Sn=m+Y,Bn=Math.floor(1e3*m+Y)+Uu,ct=Zs("sqrtTall",ft,Bn,Y,S),ct.style.minWidth="0.742em",Qn=1.056),ct.height=Sn,ct.style.height=Lt(ft),{span:ct,advanceWidth:Qn,ruleWidth:(S.fontMetrics().sqrtRuleThickness+Y)*se}},Ls=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],qu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Dl=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yl=[0,1.2,1.8,2.4,3],bl=function(m,S,D,Z,se){if(m==="<"||m==="\\lt"||m==="\u27E8"?m="\\langle":(m===">"||m==="\\gt"||m==="\u27E9")&&(m="\\rangle"),T.contains(Ls,m)||T.contains(Dl,m))return fu(m,S,!1,D,Z,se);if(T.contains(qu,m))return wc(m,yl[S],!1,D,Z,se);throw new Ft("Illegal delimiter: '"+m+"'")},xl=[{type:"small",style:yn.SCRIPTSCRIPT},{type:"small",style:yn.SCRIPT},{type:"small",style:yn.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],pu=[{type:"small",style:yn.SCRIPTSCRIPT},{type:"small",style:yn.SCRIPT},{type:"small",style:yn.TEXT},{type:"stack"}],Ys=[{type:"small",style:yn.SCRIPTSCRIPT},{type:"small",style:yn.SCRIPT},{type:"small",style:yn.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Wl=function(m){if(m.type==="small")return"Main-Regular";if(m.type==="large")return"Size"+m.size+"-Regular";if(m.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+m.type+"' here.")},mu=function(m,S,D,Z){for(var se=Math.min(2,3-Z.style.size),Y=se;YS)return D[Y]}return D[D.length-1]},nu=function(m,S,D,Z,se,Y){m==="<"||m==="\\lt"||m==="\u27E8"?m="\\langle":(m===">"||m==="\\gt"||m==="\u27E9")&&(m="\\rangle");var ct;T.contains(Dl,m)?ct=xl:T.contains(Ls,m)?ct=Ys:ct=pu;var ft=mu(m,S,ct,Z);return ft.type==="small"?La(m,ft.style,D,Z,se,Y):ft.type==="large"?fu(m,ft.size,D,Z,se,Y):wc(m,S,D,Z,se,Y)},Nu=function(m,S,D,Z,se,Y){var ct=Z.fontMetrics().axisHeight*Z.sizeMultiplier,ft=901,Sn=5/Z.fontMetrics().ptPerEm,Bn=Math.max(S-ct,D+ct),Qn=Math.max(Bn/500*ft,2*Bn-Sn);return nu(m,Qn,!0,Z,se,Y)},Ws={sqrtImage:Ao,sizedDelim:bl,sizeToMaxHeight:yl,customSizedDelim:nu,leftRightDelim:Nu},ys={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},iu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Au(A,m){var S=Cu(A);if(S&&T.contains(iu,S.text))return S;throw S?new Ft("Invalid delimiter '"+S.text+"' after '"+m.funcName+"'",A):new Ft("Invalid delimiter type '"+A.type+"'",A)}Ui({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(A,m)=>{var S=Au(m[0],A);return{type:"delimsizing",mode:A.parser.mode,size:ys[A.funcName].size,mclass:ys[A.funcName].mclass,delim:S.text}},htmlBuilder:(A,m)=>A.delim==="."?wn.makeSpan([A.mclass]):Ws.sizedDelim(A.delim,A.size,m,A.mode,[A.mclass]),mathmlBuilder:A=>{var m=[];A.delim!=="."&&m.push(Cs(A.delim,A.mode));var S=new Vi.MathNode("mo",m);A.mclass==="mopen"||A.mclass==="mclose"?S.setAttribute("fence","true"):S.setAttribute("fence","false"),S.setAttribute("stretchy","true");var D=Lt(Ws.sizeToMaxHeight[A.size]);return S.setAttribute("minsize",D),S.setAttribute("maxsize",D),S}});function Ee(A){if(!A.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ui({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(A,m)=>{var S=A.parser.gullet.macros.get("\\current@color");if(S&&typeof S!="string")throw new Ft("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:A.parser.mode,delim:Au(m[0],A).text,color:S}}}),Ui({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(A,m)=>{var S=Au(m[0],A),D=A.parser;++D.leftrightDepth;var Z=D.parseExpression(!1);--D.leftrightDepth,D.expect("\\right",!1);var se=qe(D.parseFunction(),"leftright-right");return{type:"leftright",mode:D.mode,body:Z,left:S.text,right:se.delim,rightColor:se.color}},htmlBuilder:(A,m)=>{Ee(A);for(var S=Bo(A.body,m,!0,["mopen","mclose"]),D=0,Z=0,se=!1,Y=0;Y{Ee(A);var S=ha(A.body,m);if(A.left!=="."){var D=new Vi.MathNode("mo",[Cs(A.left,A.mode)]);D.setAttribute("fence","true"),S.unshift(D)}if(A.right!=="."){var Z=new Vi.MathNode("mo",[Cs(A.right,A.mode)]);Z.setAttribute("fence","true"),A.rightColor&&Z.setAttribute("mathcolor",A.rightColor),S.push(Z)}return jl(S)}}),Ui({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(A,m)=>{var S=Au(m[0],A);if(!A.parser.leftrightDepth)throw new Ft("\\middle without preceding \\left",S);return{type:"middle",mode:A.parser.mode,delim:S.text}},htmlBuilder:(A,m)=>{var S;if(A.delim===".")S=Rl(m,[]);else{S=Ws.sizedDelim(A.delim,1,m,A.mode,[]);var D={delim:A.delim,options:m};S.isMiddle=D}return S},mathmlBuilder:(A,m)=>{var S=A.delim==="\\vert"||A.delim==="|"?Cs("|","text"):Cs(A.delim,A.mode),D=new Vi.MathNode("mo",[S]);return D.setAttribute("fence","true"),D.setAttribute("lspace","0.05em"),D.setAttribute("rspace","0.05em"),D}});var Re=(A,m)=>{var S=wn.wrapFragment(_o(A.body,m),m),D=A.label.slice(1),Z=m.sizeMultiplier,se,Y=0,ct=T.isCharacterBox(A.body);if(D==="sout")se=wn.makeSpan(["stretchy","sout"]),se.height=m.fontMetrics().defaultRuleThickness/Z,Y=-.5*m.fontMetrics().xHeight;else if(D==="phase"){var ft=Ut({number:.6,unit:"pt"},m),Sn=Ut({number:.35,unit:"ex"},m),Bn=m.havingBaseSizing();Z=Z/Bn.sizeMultiplier;var Qn=S.height+S.depth+ft+Sn;S.style.paddingLeft=Lt(Qn/2+ft);var Ti=Math.floor(1e3*Qn*Z),Ni=U(Ti),$i=new An([new li("phase",Ni)],{width:"400em",height:Lt(Ti/1e3),viewBox:"0 0 400000 "+Ti,preserveAspectRatio:"xMinYMin slice"});se=wn.makeSvgSpan(["hide-tail"],[$i],m),se.style.height=Lt(Qn),Y=S.depth+ft+Sn}else{/cancel/.test(D)?ct||S.classes.push("cancel-pad"):D==="angl"?S.classes.push("anglpad"):S.classes.push("boxpad");var Nr=0,$r=0,jr=0;/box/.test(D)?(jr=Math.max(m.fontMetrics().fboxrule,m.minRuleThickness),Nr=m.fontMetrics().fboxsep+(D==="colorbox"?0:jr),$r=Nr):D==="angl"?(jr=Math.max(m.fontMetrics().defaultRuleThickness,m.minRuleThickness),Nr=4*jr,$r=Math.max(0,.25-S.depth)):(Nr=ct?.2:0,$r=Nr),se=Ks.encloseSpan(S,D,Nr,$r,m),/fbox|boxed|fcolorbox/.test(D)?(se.style.borderStyle="solid",se.style.borderWidth=Lt(jr)):D==="angl"&&jr!==.049&&(se.style.borderTopWidth=Lt(jr),se.style.borderRightWidth=Lt(jr)),Y=S.depth+$r,A.backgroundColor&&(se.style.backgroundColor=A.backgroundColor,A.borderColor&&(se.style.borderColor=A.borderColor))}var To;if(A.backgroundColor)To=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:se,shift:Y},{type:"elem",elem:S,shift:0}]},m);else{var jo=/cancel|phase/.test(D)?["svg-align"]:[];To=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:S,shift:0},{type:"elem",elem:se,shift:Y,wrapperClasses:jo}]},m)}return/cancel/.test(D)&&(To.height=S.height,To.depth=S.depth),/cancel/.test(D)&&!ct?wn.makeSpan(["mord","cancel-lap"],[To],m):wn.makeSpan(["mord"],[To],m)},dt=(A,m)=>{var S=0,D=new Vi.MathNode(A.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ro(A.body,m)]);switch(A.label){case"\\cancel":D.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":D.setAttribute("notation","downdiagonalstrike");break;case"\\phase":D.setAttribute("notation","phasorangle");break;case"\\sout":D.setAttribute("notation","horizontalstrike");break;case"\\fbox":D.setAttribute("notation","box");break;case"\\angl":D.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(S=m.fontMetrics().fboxsep*m.fontMetrics().ptPerEm,D.setAttribute("width","+"+2*S+"pt"),D.setAttribute("height","+"+2*S+"pt"),D.setAttribute("lspace",S+"pt"),D.setAttribute("voffset",S+"pt"),A.label==="\\fcolorbox"){var Z=Math.max(m.fontMetrics().fboxrule,m.minRuleThickness);D.setAttribute("style","border: "+Z+"em solid "+String(A.borderColor))}break;case"\\xcancel":D.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return A.backgroundColor&&D.setAttribute("mathbackground",A.backgroundColor),D};Ui({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(A,m,S){var{parser:D,funcName:Z}=A,se=qe(m[0],"color-token").color,Y=m[1];return{type:"enclose",mode:D.mode,label:Z,backgroundColor:se,body:Y}},htmlBuilder:Re,mathmlBuilder:dt}),Ui({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(A,m,S){var{parser:D,funcName:Z}=A,se=qe(m[0],"color-token").color,Y=qe(m[1],"color-token").color,ct=m[2];return{type:"enclose",mode:D.mode,label:Z,backgroundColor:Y,borderColor:se,body:ct}},htmlBuilder:Re,mathmlBuilder:dt}),Ui({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(A,m){var{parser:S}=A;return{type:"enclose",mode:S.mode,label:"\\fbox",body:m[0]}}}),Ui({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(A,m){var{parser:S,funcName:D}=A,Z=m[0];return{type:"enclose",mode:S.mode,label:D,body:Z}},htmlBuilder:Re,mathmlBuilder:dt}),Ui({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(A,m){var{parser:S}=A;return{type:"enclose",mode:S.mode,label:"\\angl",body:m[0]}}});var bt={};function _t(A){for(var{type:m,names:S,props:D,handler:Z,htmlBuilder:se,mathmlBuilder:Y}=A,ct={type:m,numArgs:D.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Z},ft=0;ft{var m=A.parser.settings;if(!m.displayMode)throw new Ft("{"+A.envName+"} can be used only in display mode.")};function zn(A){if(A.indexOf("ed")===-1)return A.indexOf("*")===-1}function jn(A,m,S){var{hskipBeforeAndAfter:D,addJot:Z,cols:se,arraystretch:Y,colSeparationType:ct,autoTag:ft,singleRow:Sn,emptySingleRow:Bn,maxNumCols:Qn,leqno:Ti}=m;if(A.gullet.beginGroup(),Sn||A.gullet.macros.set("\\cr","\\\\\\relax"),!Y){var Ni=A.gullet.expandMacroAsText("\\arraystretch");if(Ni==null)Y=1;else if(Y=parseFloat(Ni),!Y||Y<0)throw new Ft("Invalid \\arraystretch: "+Ni)}A.gullet.beginGroup();var $i=[],Nr=[$i],$r=[],jr=[],To=ft!=null?[]:void 0;function jo(){ft&&A.gullet.macros.set("\\@eqnsw","1",!0)}function Ra(){To&&(A.gullet.macros.get("\\df@tag")?(To.push(A.subparse([new sn("\\df@tag")])),A.gullet.macros.set("\\df@tag",void 0,!0)):To.push(!!ft&&A.gullet.macros.get("\\@eqnsw")==="1"))}for(jo(),jr.push(bn(A));;){var na=A.parseExpression(!1,Sn?"\\end":"\\\\");A.gullet.endGroup(),A.gullet.beginGroup(),na={type:"ordgroup",mode:A.mode,body:na},S&&(na={type:"styling",mode:A.mode,style:S,body:[na]}),$i.push(na);var Yo=A.fetch().text;if(Yo==="&"){if(Qn&&$i.length===Qn){if(Sn||ct)throw new Ft("Too many tab characters: &",A.nextToken);A.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}A.consume()}else if(Yo==="\\end"){Ra(),$i.length===1&&na.type==="styling"&&na.body[0].body.length===0&&(Nr.length>1||!Bn)&&Nr.pop(),jr.length0&&(jo+=.25),Sn.push({pos:jo,isDashed:hh[dh]})}for(Ra(Y[0]),D=0;D0&&(Us+=To,fahh))for(D=0;D=ct)){var Xs=void 0;(Z>0||m.hskipBeforeAndAfter)&&(Xs=T.deflt(Fl.pregap,Ti),Xs!==0&&(Vl=wn.makeSpan(["arraycolsep"],[]),Vl.style.width=Lt(Xs),al.push(Vl)));var Qs=[];for(D=0;D0){for(var gu=wn.makeLineSpan("hline",S,Bn),tc=wn.makeLineSpan("hdashline",S,Bn),ch=[{type:"elem",elem:ft,shift:0}];Sn.length>0;){var Bh=Sn.pop(),_h=Bh.pos-us;Bh.isDashed?ch.push({type:"elem",elem:tc,shift:_h}):ch.push({type:"elem",elem:gu,shift:_h})}ft=wn.makeVList({positionType:"individualShift",children:ch},S)}if(ku.length===0)return wn.makeSpan(["mord"],[ft],S);var Tc=wn.makeVList({positionType:"individualShift",children:ku},S);return Tc=wn.makeSpan(["tag"],[Tc],S),wn.makeFragment([ft,Tc])},gi={c:"center ",l:"left ",r:"right "},ti=function(m,S){for(var D=[],Z=new Vi.MathNode("mtd",[],["mtr-glue"]),se=new Vi.MathNode("mtd",[],["mml-eqn-num"]),Y=0;Y0){var $i=m.cols,Nr="",$r=!1,jr=0,To=$i.length;$i[0].type==="separator"&&(Ti+="top ",jr=1),$i[$i.length-1].type==="separator"&&(Ti+="bottom ",To-=1);for(var jo=jr;jo0?"left ":"",Ti+=ls[ls.length-1].length>0?"right ":"";for(var ua=1;ua-1?"alignat":"align",se=m.envName==="split",Y=jn(m.parser,{cols:D,addJot:!0,autoTag:se?void 0:zn(m.envName),emptySingleRow:!0,colSeparationType:Z,maxNumCols:se?2:void 0,leqno:m.parser.settings.leqno},"display"),ct,ft=0,Sn={type:"ordgroup",mode:m.mode,body:[]};if(S[0]&&S[0].type==="ordgroup"){for(var Bn="",Qn=0;Qn0&&Ni&&($r=1),D[$i]={type:"align",align:Nr,pregap:$r,postgap:0}}return Y.colSeparationType=Ni?"align":"alignat",Y};_t({type:"array",names:["array","darray"],props:{numArgs:1},handler(A,m){var S=Cu(m[0]),D=S?[m[0]]:qe(m[0],"ordgroup").body,Z=D.map(function(Y){var ct=Dn(Y),ft=ct.text;if("lcr".indexOf(ft)!==-1)return{type:"align",align:ft};if(ft==="|")return{type:"separator",separator:"|"};if(ft===":")return{type:"separator",separator:":"};throw new Ft("Unknown column alignment: "+ft,Y)}),se={cols:Z,hskipBeforeAndAfter:!0,maxNumCols:Z.length};return jn(A.parser,se,$n(A.envName))},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(A){var m={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[A.envName.replace("*","")],S="c",D={hskipBeforeAndAfter:!1,cols:[{type:"align",align:S}]};if(A.envName.charAt(A.envName.length-1)==="*"){var Z=A.parser;if(Z.consumeSpaces(),Z.fetch().text==="["){if(Z.consume(),Z.consumeSpaces(),S=Z.fetch().text,"lcr".indexOf(S)===-1)throw new Ft("Expected l or c or r",Z.nextToken);Z.consume(),Z.consumeSpaces(),Z.expect("]"),Z.consume(),D.cols=[{type:"align",align:S}]}}var se=jn(A.parser,D,$n(A.envName)),Y=Math.max(0,...se.body.map(ct=>ct.length));return se.cols=new Array(Y).fill({type:"align",align:S}),m?{type:"leftright",mode:A.mode,body:[se],left:m[0],right:m[1],rightColor:void 0}:se},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(A){var m={arraystretch:.5},S=jn(A.parser,m,"script");return S.colSeparationType="small",S},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["subarray"],props:{numArgs:1},handler(A,m){var S=Cu(m[0]),D=S?[m[0]]:qe(m[0],"ordgroup").body,Z=D.map(function(Y){var ct=Dn(Y),ft=ct.text;if("lc".indexOf(ft)!==-1)return{type:"align",align:ft};throw new Ft("Unknown column alignment: "+ft,Y)});if(Z.length>1)throw new Ft("{subarray} can contain only one column");var se={cols:Z,hskipBeforeAndAfter:!1,arraystretch:.5};if(se=jn(A.parser,se,"script"),se.body.length>0&&se.body[0].length>1)throw new Ft("{subarray} can contain only one column");return se},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(A){var m={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},S=jn(A.parser,m,$n(A.envName));return{type:"leftright",mode:A.mode,body:[S],left:A.envName.indexOf("r")>-1?".":"\\{",right:A.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:E,htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(A){T.contains(["gather","gather*"],A.envName)&&ln(A);var m={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:zn(A.envName),emptySingleRow:!0,leqno:A.parser.settings.leqno};return jn(A.parser,m,"display")},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:E,htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(A){ln(A);var m={autoTag:zn(A.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:A.parser.settings.leqno};return jn(A.parser,m,"display")},htmlBuilder:hi,mathmlBuilder:ti}),_t({type:"array",names:["CD"],props:{numArgs:0},handler(A){return ln(A),js(A.parser)},htmlBuilder:hi,mathmlBuilder:ti}),ve("\\nonumber","\\gdef\\@eqnsw{0}"),ve("\\notag","\\nonumber"),Ui({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(A,m){throw new Ft(A.funcName+" valid only within array environment")}});var P=bt;Ui({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(A,m){var{parser:S,funcName:D}=A,Z=m[0];if(Z.type!=="ordgroup")throw new Ft("Invalid environment name",Z);for(var se="",Y=0;Y{var S=A.font,D=m.withFont(S);return _o(A.body,D)},J=(A,m)=>{var S=A.font,D=m.withFont(S);return ro(A.body,D)},ge={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ui({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=Es(m[0]),se=D;return se in ge&&(se=ge[se]),{type:"font",mode:S.mode,font:se.slice(1),body:Z}},htmlBuilder:W,mathmlBuilder:J}),Ui({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(A,m)=>{var{parser:S}=A,D=m[0],Z=T.isCharacterBox(D);return{type:"mclass",mode:S.mode,mclass:Dr(D),body:[{type:"font",mode:S.mode,font:"boldsymbol",body:D}],isCharacterBox:Z}}}),Ui({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(A,m)=>{var{parser:S,funcName:D,breakOnTokenText:Z}=A,{mode:se}=S,Y=S.parseExpression(!0,Z),ct="math"+D.slice(1);return{type:"font",mode:se,font:ct,body:{type:"ordgroup",mode:S.mode,body:Y}}},htmlBuilder:W,mathmlBuilder:J});var Te=(A,m)=>{var S=m;return A==="display"?S=S.id>=yn.SCRIPT.id?S.text():yn.DISPLAY:A==="text"&&S.size===yn.DISPLAY.size?S=yn.TEXT:A==="script"?S=yn.SCRIPT:A==="scriptscript"&&(S=yn.SCRIPTSCRIPT),S},He=(A,m)=>{var S=Te(A.size,m.style),D=S.fracNum(),Z=S.fracDen(),se;se=m.havingStyle(D);var Y=_o(A.numer,se,m);if(A.continued){var ct=8.5/m.fontMetrics().ptPerEm,ft=3.5/m.fontMetrics().ptPerEm;Y.height=Y.height0?$i=3*Ti:$i=7*Ti,Nr=m.fontMetrics().denom1):(Qn>0?(Ni=m.fontMetrics().num2,$i=Ti):(Ni=m.fontMetrics().num3,$i=3*Ti),Nr=m.fontMetrics().denom2);var $r;if(Bn){var To=m.fontMetrics().axisHeight;Ni-Y.depth-(To+.5*Qn)<$i&&(Ni+=$i-(Ni-Y.depth-(To+.5*Qn))),To-.5*Qn-(Sn.height-Nr)<$i&&(Nr+=$i-(To-.5*Qn-(Sn.height-Nr)));var jo=-(To-.5*Qn);$r=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Sn,shift:Nr},{type:"elem",elem:Bn,shift:jo},{type:"elem",elem:Y,shift:-Ni}]},m)}else{var jr=Ni-Y.depth-(Sn.height-Nr);jr<$i&&(Ni+=.5*($i-jr),Nr+=.5*($i-jr)),$r=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Sn,shift:Nr},{type:"elem",elem:Y,shift:-Ni}]},m)}se=m.havingStyle(S),$r.height*=se.sizeMultiplier/m.sizeMultiplier,$r.depth*=se.sizeMultiplier/m.sizeMultiplier;var Ra;S.size===yn.DISPLAY.size?Ra=m.fontMetrics().delim1:S.size===yn.SCRIPTSCRIPT.size?Ra=m.havingStyle(yn.SCRIPT).fontMetrics().delim2:Ra=m.fontMetrics().delim2;var na,Yo;return A.leftDelim==null?na=Rl(m,["mopen"]):na=Ws.customSizedDelim(A.leftDelim,Ra,!0,m.havingStyle(S),A.mode,["mopen"]),A.continued?Yo=wn.makeSpan([]):A.rightDelim==null?Yo=Rl(m,["mclose"]):Yo=Ws.customSizedDelim(A.rightDelim,Ra,!0,m.havingStyle(S),A.mode,["mclose"]),wn.makeSpan(["mord"].concat(se.sizingClasses(m)),[na,wn.makeSpan(["mfrac"],[$r]),Yo],m)},it=(A,m)=>{var S=new Vi.MathNode("mfrac",[ro(A.numer,m),ro(A.denom,m)]);if(!A.hasBarLine)S.setAttribute("linethickness","0px");else if(A.barSize){var D=Ut(A.barSize,m);S.setAttribute("linethickness",Lt(D))}var Z=Te(A.size,m.style);if(Z.size!==m.style.size){S=new Vi.MathNode("mstyle",[S]);var se=Z.size===yn.DISPLAY.size?"true":"false";S.setAttribute("displaystyle",se),S.setAttribute("scriptlevel","0")}if(A.leftDelim!=null||A.rightDelim!=null){var Y=[];if(A.leftDelim!=null){var ct=new Vi.MathNode("mo",[new Vi.TextNode(A.leftDelim.replace("\\",""))]);ct.setAttribute("fence","true"),Y.push(ct)}if(Y.push(S),A.rightDelim!=null){var ft=new Vi.MathNode("mo",[new Vi.TextNode(A.rightDelim.replace("\\",""))]);ft.setAttribute("fence","true"),Y.push(ft)}return jl(Y)}return S};Ui({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0],se=m[1],Y,ct=null,ft=null,Sn="auto";switch(D){case"\\dfrac":case"\\frac":case"\\tfrac":Y=!0;break;case"\\\\atopfrac":Y=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Y=!1,ct="(",ft=")";break;case"\\\\bracefrac":Y=!1,ct="\\{",ft="\\}";break;case"\\\\brackfrac":Y=!1,ct="[",ft="]";break;default:throw new Error("Unrecognized genfrac command")}switch(D){case"\\dfrac":case"\\dbinom":Sn="display";break;case"\\tfrac":case"\\tbinom":Sn="text";break}return{type:"genfrac",mode:S.mode,continued:!1,numer:Z,denom:se,hasBarLine:Y,leftDelim:ct,rightDelim:ft,size:Sn,barSize:null}},htmlBuilder:He,mathmlBuilder:it}),Ui({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0],se=m[1];return{type:"genfrac",mode:S.mode,continued:!0,numer:Z,denom:se,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ui({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(A){var{parser:m,funcName:S,token:D}=A,Z;switch(S){case"\\over":Z="\\frac";break;case"\\choose":Z="\\binom";break;case"\\atop":Z="\\\\atopfrac";break;case"\\brace":Z="\\\\bracefrac";break;case"\\brack":Z="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:m.mode,replaceWith:Z,token:D}}});var jt=["display","text","script","scriptscript"],Qt=function(m){var S=null;return m.length>0&&(S=m,S=S==="."?null:S),S};Ui({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(A,m){var{parser:S}=A,D=m[4],Z=m[5],se=Es(m[0]),Y=se.type==="atom"&&se.family==="open"?Qt(se.text):null,ct=Es(m[1]),ft=ct.type==="atom"&&ct.family==="close"?Qt(ct.text):null,Sn=qe(m[2],"size"),Bn,Qn=null;Sn.isBlank?Bn=!0:(Qn=Sn.value,Bn=Qn.number>0);var Ti="auto",Ni=m[3];if(Ni.type==="ordgroup"){if(Ni.body.length>0){var $i=qe(Ni.body[0],"textord");Ti=jt[Number($i.text)]}}else Ni=qe(Ni,"textord"),Ti=jt[Number(Ni.text)];return{type:"genfrac",mode:S.mode,numer:D,denom:Z,continued:!1,hasBarLine:Bn,barSize:Qn,leftDelim:Y,rightDelim:ft,size:Ti}},htmlBuilder:He,mathmlBuilder:it}),Ui({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(A,m){var{parser:S,funcName:D,token:Z}=A;return{type:"infix",mode:S.mode,replaceWith:"\\\\abovefrac",size:qe(m[0],"size").value,token:Z}}}),Ui({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0],se=j(qe(m[1],"infix").size),Y=m[2],ct=se.number>0;return{type:"genfrac",mode:S.mode,numer:Z,denom:Y,continued:!1,hasBarLine:ct,barSize:se,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:He,mathmlBuilder:it});var yt=(A,m)=>{var S=m.style,D,Z;A.type==="supsub"?(D=A.sup?_o(A.sup,m.havingStyle(S.sup()),m):_o(A.sub,m.havingStyle(S.sub()),m),Z=qe(A.base,"horizBrace")):Z=qe(A,"horizBrace");var se=_o(Z.base,m.havingBaseStyle(yn.DISPLAY)),Y=Ks.svgSpan(Z,m),ct;if(Z.isOver?(ct=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:se},{type:"kern",size:.1},{type:"elem",elem:Y}]},m),ct.children[0].children[0].children[1].classes.push("svg-align")):(ct=wn.makeVList({positionType:"bottom",positionData:se.depth+.1+Y.height,children:[{type:"elem",elem:Y},{type:"kern",size:.1},{type:"elem",elem:se}]},m),ct.children[0].children[0].children[0].classes.push("svg-align")),D){var ft=wn.makeSpan(["mord",Z.isOver?"mover":"munder"],[ct],m);Z.isOver?ct=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ft},{type:"kern",size:.2},{type:"elem",elem:D}]},m):ct=wn.makeVList({positionType:"bottom",positionData:ft.depth+.2+D.height+D.depth,children:[{type:"elem",elem:D},{type:"kern",size:.2},{type:"elem",elem:ft}]},m)}return wn.makeSpan(["mord",Z.isOver?"mover":"munder"],[ct],m)},en=(A,m)=>{var S=Ks.mathMLnode(A.label);return new Vi.MathNode(A.isOver?"mover":"munder",[ro(A.base,m),S])};Ui({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(A,m){var{parser:S,funcName:D}=A;return{type:"horizBrace",mode:S.mode,label:D,isOver:/^\\over/.test(D),base:m[0]}},htmlBuilder:yt,mathmlBuilder:en}),Ui({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(A,m)=>{var{parser:S}=A,D=m[1],Z=qe(m[0],"url").url;return S.settings.isTrusted({command:"\\href",url:Z})?{type:"href",mode:S.mode,href:Z,body:Vo(D)}:S.formatUnsupportedCmd("\\href")},htmlBuilder:(A,m)=>{var S=Bo(A.body,m,!1);return wn.makeAnchor(A.href,[],S,m)},mathmlBuilder:(A,m)=>{var S=aa(A.body,m);return S instanceof Ga||(S=new Ga("mrow",[S])),S.setAttribute("href",A.href),S}}),Ui({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(A,m)=>{var{parser:S}=A,D=qe(m[0],"url").url;if(!S.settings.isTrusted({command:"\\url",url:D}))return S.formatUnsupportedCmd("\\url");for(var Z=[],se=0;se{var{parser:S,funcName:D,token:Z}=A,se=qe(m[0],"raw").string,Y=m[1];S.settings.strict&&S.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var ct,ft={};switch(D){case"\\htmlClass":ft.class=se,ct={command:"\\htmlClass",class:se};break;case"\\htmlId":ft.id=se,ct={command:"\\htmlId",id:se};break;case"\\htmlStyle":ft.style=se,ct={command:"\\htmlStyle",style:se};break;case"\\htmlData":{for(var Sn=se.split(","),Bn=0;Bn{var S=Bo(A.body,m,!1),D=["enclosing"];A.attributes.class&&D.push(...A.attributes.class.trim().split(/\s+/));var Z=wn.makeSpan(D,S,m);for(var se in A.attributes)se!=="class"&&A.attributes.hasOwnProperty(se)&&Z.setAttribute(se,A.attributes[se]);return Z},mathmlBuilder:(A,m)=>aa(A.body,m)}),Ui({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(A,m)=>{var{parser:S}=A;return{type:"htmlmathml",mode:S.mode,html:Vo(m[0]),mathml:Vo(m[1])}},htmlBuilder:(A,m)=>{var S=Bo(A.html,m,!1);return wn.makeFragment(S)},mathmlBuilder:(A,m)=>aa(A.mathml,m)});var Gt=function(m){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(m))return{number:+m,unit:"bp"};var S=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(m);if(!S)throw new Ft("Invalid size: '"+m+"' in \\includegraphics");var D={number:+(S[1]+S[2]),unit:S[3]};if(!Ve(D))throw new Ft("Invalid unit: '"+D.unit+"' in \\includegraphics.");return D};Ui({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(A,m,S)=>{var{parser:D}=A,Z={number:0,unit:"em"},se={number:.9,unit:"em"},Y={number:0,unit:"em"},ct="";if(S[0])for(var ft=qe(S[0],"raw").string,Sn=ft.split(","),Bn=0;Bn{var S=Ut(A.height,m),D=0;A.totalheight.number>0&&(D=Ut(A.totalheight,m)-S);var Z=0;A.width.number>0&&(Z=Ut(A.width,m));var se={height:Lt(S+D)};Z>0&&(se.width=Lt(Z)),D>0&&(se.verticalAlign=Lt(-D));var Y=new Jt(A.src,A.alt,se);return Y.height=S,Y.depth=D,Y},mathmlBuilder:(A,m)=>{var S=new Vi.MathNode("mglyph",[]);S.setAttribute("alt",A.alt);var D=Ut(A.height,m),Z=0;if(A.totalheight.number>0&&(Z=Ut(A.totalheight,m)-D,S.setAttribute("valign",Lt(-Z))),S.setAttribute("height",Lt(D+Z)),A.width.number>0){var se=Ut(A.width,m);S.setAttribute("width",Lt(se))}return S.setAttribute("src",A.src),S}}),Ui({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(A,m){var{parser:S,funcName:D}=A,Z=qe(m[0],"size");if(S.settings.strict){var se=D[1]==="m",Y=Z.value.unit==="mu";se?(Y||S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" supports only mu units, "+("not "+Z.value.unit+" units")),S.mode!=="math"&&S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" works only in math mode")):Y&&S.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" doesn't support mu units")}return{type:"kern",mode:S.mode,dimension:Z.value}},htmlBuilder(A,m){return wn.makeGlue(A.dimension,m)},mathmlBuilder(A,m){var S=Ut(A.dimension,m);return new Vi.SpaceNode(S)}}),Ui({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0];return{type:"lap",mode:S.mode,alignment:D.slice(5),body:Z}},htmlBuilder:(A,m)=>{var S;A.alignment==="clap"?(S=wn.makeSpan([],[_o(A.body,m)]),S=wn.makeSpan(["inner"],[S],m)):S=wn.makeSpan(["inner"],[_o(A.body,m)]);var D=wn.makeSpan(["fix"],[]),Z=wn.makeSpan([A.alignment],[S,D],m),se=wn.makeSpan(["strut"]);return se.style.height=Lt(Z.height+Z.depth),Z.depth&&(se.style.verticalAlign=Lt(-Z.depth)),Z.children.unshift(se),Z=wn.makeSpan(["thinbox"],[Z],m),wn.makeSpan(["mord","vbox"],[Z],m)},mathmlBuilder:(A,m)=>{var S=new Vi.MathNode("mpadded",[ro(A.body,m)]);if(A.alignment!=="rlap"){var D=A.alignment==="llap"?"-1":"-0.5";S.setAttribute("lspace",D+"width")}return S.setAttribute("width","0px"),S}}),Ui({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(A,m){var{funcName:S,parser:D}=A,Z=D.mode;D.switchMode("math");var se=S==="\\("?"\\)":"$",Y=D.parseExpression(!1,se);return D.expect(se),D.switchMode(Z),{type:"styling",mode:D.mode,style:"text",body:Y}}}),Ui({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(A,m){throw new Ft("Mismatched "+A.funcName)}});var wt=(A,m)=>{switch(m.style.size){case yn.DISPLAY.size:return A.display;case yn.TEXT.size:return A.text;case yn.SCRIPT.size:return A.script;case yn.SCRIPTSCRIPT.size:return A.scriptscript;default:return A.text}};Ui({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(A,m)=>{var{parser:S}=A;return{type:"mathchoice",mode:S.mode,display:Vo(m[0]),text:Vo(m[1]),script:Vo(m[2]),scriptscript:Vo(m[3])}},htmlBuilder:(A,m)=>{var S=wt(A,m),D=Bo(S,m,!1);return wn.makeFragment(D)},mathmlBuilder:(A,m)=>{var S=wt(A,m);return aa(S,m)}});var ii=(A,m,S,D,Z,se,Y)=>{A=wn.makeSpan([],[A]);var ct=S&&T.isCharacterBox(S),ft,Sn;if(m){var Bn=_o(m,D.havingStyle(Z.sup()),D);Sn={elem:Bn,kern:Math.max(D.fontMetrics().bigOpSpacing1,D.fontMetrics().bigOpSpacing3-Bn.depth)}}if(S){var Qn=_o(S,D.havingStyle(Z.sub()),D);ft={elem:Qn,kern:Math.max(D.fontMetrics().bigOpSpacing2,D.fontMetrics().bigOpSpacing4-Qn.height)}}var Ti;if(Sn&&ft){var Ni=D.fontMetrics().bigOpSpacing5+ft.elem.height+ft.elem.depth+ft.kern+A.depth+Y;Ti=wn.makeVList({positionType:"bottom",positionData:Ni,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:ft.elem,marginLeft:Lt(-se)},{type:"kern",size:ft.kern},{type:"elem",elem:A},{type:"kern",size:Sn.kern},{type:"elem",elem:Sn.elem,marginLeft:Lt(se)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else if(ft){var $i=A.height-Y;Ti=wn.makeVList({positionType:"top",positionData:$i,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:ft.elem,marginLeft:Lt(-se)},{type:"kern",size:ft.kern},{type:"elem",elem:A}]},D)}else if(Sn){var Nr=A.depth+Y;Ti=wn.makeVList({positionType:"bottom",positionData:Nr,children:[{type:"elem",elem:A},{type:"kern",size:Sn.kern},{type:"elem",elem:Sn.elem,marginLeft:Lt(se)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else return A;var $r=[Ti];if(ft&&se!==0&&!ct){var jr=wn.makeSpan(["mspace"],[],D);jr.style.marginRight=Lt(se),$r.unshift(jr)}return wn.makeSpan(["mop","op-limits"],$r,D)},ki=["\\smallint"],ji=(A,m)=>{var S,D,Z=!1,se;A.type==="supsub"?(S=A.sup,D=A.sub,se=qe(A.base,"op"),Z=!0):se=qe(A,"op");var Y=m.style,ct=!1;Y.size===yn.DISPLAY.size&&se.symbol&&!T.contains(ki,se.name)&&(ct=!0);var ft;if(se.symbol){var Sn=ct?"Size2-Regular":"Size1-Regular",Bn="";if((se.name==="\\oiint"||se.name==="\\oiiint")&&(Bn=se.name.slice(1),se.name=Bn==="oiint"?"\\iint":"\\iiint"),ft=wn.makeSymbol(se.name,Sn,"math",m,["mop","op-symbol",ct?"large-op":"small-op"]),Bn.length>0){var Qn=ft.italic,Ti=wn.staticSvg(Bn+"Size"+(ct?"2":"1"),m);ft=wn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ft,shift:0},{type:"elem",elem:Ti,shift:ct?.08:0}]},m),se.name="\\"+Bn,ft.classes.unshift("mop"),ft.italic=Qn}}else if(se.body){var Ni=Bo(se.body,m,!0);Ni.length===1&&Ni[0]instanceof xn?(ft=Ni[0],ft.classes[0]="mop"):ft=wn.makeSpan(["mop"],Ni,m)}else{for(var $i=[],Nr=1;Nr{var S;if(A.symbol)S=new Ga("mo",[Cs(A.name,A.mode)]),T.contains(ki,A.name)&&S.setAttribute("largeop","false");else if(A.body)S=new Ga("mo",ha(A.body,m));else{S=new Ga("mi",[new os(A.name.slice(1))]);var D=new Ga("mo",[Cs("\u2061","text")]);A.parentIsSupSub?S=new Ga("mrow",[S,D]):S=hu([S,D])}return S},vi={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ui({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=D;return Z.length===1&&(Z=vi[Z]),{type:"op",mode:S.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Z}},htmlBuilder:ji,mathmlBuilder:si}),Ui({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(A,m)=>{var{parser:S}=A,D=m[0];return{type:"op",mode:S.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vo(D)}},htmlBuilder:ji,mathmlBuilder:si});var Pi={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ui({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(A){var{parser:m,funcName:S}=A;return{type:"op",mode:m.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:S}},htmlBuilder:ji,mathmlBuilder:si}),Ui({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(A){var{parser:m,funcName:S}=A;return{type:"op",mode:m.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:S}},htmlBuilder:ji,mathmlBuilder:si}),Ui({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(A){var{parser:m,funcName:S}=A,D=S;return D.length===1&&(D=Pi[D]),{type:"op",mode:m.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:D}},htmlBuilder:ji,mathmlBuilder:si});var Mr=(A,m)=>{var S,D,Z=!1,se;A.type==="supsub"?(S=A.sup,D=A.sub,se=qe(A.base,"operatorname"),Z=!0):se=qe(A,"operatorname");var Y;if(se.body.length>0){for(var ct=se.body.map(Qn=>{var Ti=Qn.text;return typeof Ti=="string"?{type:"textord",mode:Qn.mode,text:Ti}:Qn}),ft=Bo(ct,m.withFont("mathrm"),!0),Sn=0;Sn{for(var S=ha(A.body,m.withFont("mathrm")),D=!0,Z=0;ZBn.toText()).join("");S=[new Vi.TextNode(ct)]}var ft=new Vi.MathNode("mi",S);ft.setAttribute("mathvariant","normal");var Sn=new Vi.MathNode("mo",[Cs("\u2061","text")]);return A.parentIsSupSub?new Vi.MathNode("mrow",[ft,Sn]):Vi.newDocumentFragment([ft,Sn])};Ui({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(A,m)=>{var{parser:S,funcName:D}=A,Z=m[0];return{type:"operatorname",mode:S.mode,body:Vo(Z),alwaysHandleSupSub:D==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Mr,mathmlBuilder:Xr}),ve("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Jo({type:"ordgroup",htmlBuilder(A,m){return A.semisimple?wn.makeFragment(Bo(A.body,m,!1)):wn.makeSpan(["mord"],Bo(A.body,m,!0),m)},mathmlBuilder(A,m){return aa(A.body,m,!0)}}),Ui({type:"overline",names:["\\overline"],props:{numArgs:1},handler(A,m){var{parser:S}=A,D=m[0];return{type:"overline",mode:S.mode,body:D}},htmlBuilder(A,m){var S=_o(A.body,m.havingCrampedStyle()),D=wn.makeLineSpan("overline-line",m),Z=m.fontMetrics().defaultRuleThickness,se=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:S},{type:"kern",size:3*Z},{type:"elem",elem:D},{type:"kern",size:Z}]},m);return wn.makeSpan(["mord","overline"],[se],m)},mathmlBuilder(A,m){var S=new Vi.MathNode("mo",[new Vi.TextNode("\u203E")]);S.setAttribute("stretchy","true");var D=new Vi.MathNode("mover",[ro(A.body,m),S]);return D.setAttribute("accent","true"),D}}),Ui({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(A,m)=>{var{parser:S}=A,D=m[0];return{type:"phantom",mode:S.mode,body:Vo(D)}},htmlBuilder:(A,m)=>{var S=Bo(A.body,m.withPhantom(),!1);return wn.makeFragment(S)},mathmlBuilder:(A,m)=>{var S=ha(A.body,m);return new Vi.MathNode("mphantom",S)}}),Ui({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(A,m)=>{var{parser:S}=A,D=m[0];return{type:"hphantom",mode:S.mode,body:D}},htmlBuilder:(A,m)=>{var S=wn.makeSpan([],[_o(A.body,m.withPhantom())]);if(S.height=0,S.depth=0,S.children)for(var D=0;D{var S=ha(Vo(A.body),m),D=new Vi.MathNode("mphantom",S),Z=new Vi.MathNode("mpadded",[D]);return Z.setAttribute("height","0px"),Z.setAttribute("depth","0px"),Z}}),Ui({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(A,m)=>{var{parser:S}=A,D=m[0];return{type:"vphantom",mode:S.mode,body:D}},htmlBuilder:(A,m)=>{var S=wn.makeSpan(["inner"],[_o(A.body,m.withPhantom())]),D=wn.makeSpan(["fix"],[]);return wn.makeSpan(["mord","rlap"],[S,D],m)},mathmlBuilder:(A,m)=>{var S=ha(Vo(A.body),m),D=new Vi.MathNode("mphantom",S),Z=new Vi.MathNode("mpadded",[D]);return Z.setAttribute("width","0px"),Z}}),Ui({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(A,m){var{parser:S}=A,D=qe(m[0],"size").value,Z=m[1];return{type:"raisebox",mode:S.mode,dy:D,body:Z}},htmlBuilder(A,m){var S=_o(A.body,m),D=Ut(A.dy,m);return wn.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:S}]},m)},mathmlBuilder(A,m){var S=new Vi.MathNode("mpadded",[ro(A.body,m)]),D=A.dy.number+A.dy.unit;return S.setAttribute("voffset",D),S}}),Ui({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(A){var{parser:m}=A;return{type:"internal",mode:m.mode}}}),Ui({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(A,m,S){var{parser:D}=A,Z=S[0],se=qe(m[0],"size"),Y=qe(m[1],"size");return{type:"rule",mode:D.mode,shift:Z&&qe(Z,"size").value,width:se.value,height:Y.value}},htmlBuilder(A,m){var S=wn.makeSpan(["mord","rule"],[],m),D=Ut(A.width,m),Z=Ut(A.height,m),se=A.shift?Ut(A.shift,m):0;return S.style.borderRightWidth=Lt(D),S.style.borderTopWidth=Lt(Z),S.style.bottom=Lt(se),S.width=D,S.height=Z+se,S.depth=-se,S.maxFontSize=Z*1.125*m.sizeMultiplier,S},mathmlBuilder(A,m){var S=Ut(A.width,m),D=Ut(A.height,m),Z=A.shift?Ut(A.shift,m):0,se=m.color&&m.getColor()||"black",Y=new Vi.MathNode("mspace");Y.setAttribute("mathbackground",se),Y.setAttribute("width",Lt(S)),Y.setAttribute("height",Lt(D));var ct=new Vi.MathNode("mpadded",[Y]);return Z>=0?ct.setAttribute("height",Lt(Z)):(ct.setAttribute("height",Lt(Z)),ct.setAttribute("depth",Lt(-Z))),ct.setAttribute("voffset",Lt(Z)),ct}});function ui(A,m,S){for(var D=Bo(A,m,!1),Z=m.sizeMultiplier/S.sizeMultiplier,se=0;se{var S=m.havingSize(A.size);return ui(A.body,S,m)};Ui({type:"sizing",names:io,props:{numArgs:0,allowedInText:!0},handler:(A,m)=>{var{breakOnTokenText:S,funcName:D,parser:Z}=A,se=Z.parseExpression(!1,S);return{type:"sizing",mode:Z.mode,size:io.indexOf(D)+1,body:se}},htmlBuilder:bo,mathmlBuilder:(A,m)=>{var S=m.havingSize(A.size),D=ha(A.body,S),Z=new Vi.MathNode("mstyle",D);return Z.setAttribute("mathsize",Lt(S.sizeMultiplier)),Z}}),Ui({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(A,m,S)=>{var{parser:D}=A,Z=!1,se=!1,Y=S[0]&&qe(S[0],"ordgroup");if(Y)for(var ct="",ft=0;ft{var S=wn.makeSpan([],[_o(A.body,m)]);if(!A.smashHeight&&!A.smashDepth)return S;if(A.smashHeight&&(S.height=0,S.children))for(var D=0;D{var S=new Vi.MathNode("mpadded",[ro(A.body,m)]);return A.smashHeight&&S.setAttribute("height","0px"),A.smashDepth&&S.setAttribute("depth","0px"),S}}),Ui({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(A,m,S){var{parser:D}=A,Z=S[0],se=m[0];return{type:"sqrt",mode:D.mode,body:se,index:Z}},htmlBuilder(A,m){var S=_o(A.body,m.havingCrampedStyle());S.height===0&&(S.height=m.fontMetrics().xHeight),S=wn.wrapFragment(S,m);var D=m.fontMetrics(),Z=D.defaultRuleThickness,se=Z;m.style.idS.height+S.depth+Y&&(Y=(Y+Qn-S.height-S.depth)/2);var Ti=ft.height-S.height-Y-Sn;S.style.paddingLeft=Lt(Bn);var Ni=wn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:S,wrapperClasses:["svg-align"]},{type:"kern",size:-(S.height+Ti)},{type:"elem",elem:ft},{type:"kern",size:Sn}]},m);if(A.index){var $i=m.havingStyle(yn.SCRIPTSCRIPT),Nr=_o(A.index,$i,m),$r=.6*(Ni.height-Ni.depth),jr=wn.makeVList({positionType:"shift",positionData:-$r,children:[{type:"elem",elem:Nr}]},m),To=wn.makeSpan(["root"],[jr]);return wn.makeSpan(["mord","sqrt"],[To,Ni],m)}else return wn.makeSpan(["mord","sqrt"],[Ni],m)},mathmlBuilder(A,m){var{body:S,index:D}=A;return D?new Vi.MathNode("mroot",[ro(S,m),ro(D,m)]):new Vi.MathNode("msqrt",[ro(S,m)])}});var dr={display:yn.DISPLAY,text:yn.TEXT,script:yn.SCRIPT,scriptscript:yn.SCRIPTSCRIPT};Ui({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(A,m){var{breakOnTokenText:S,funcName:D,parser:Z}=A,se=Z.parseExpression(!0,S),Y=D.slice(1,D.length-5);return{type:"styling",mode:Z.mode,style:Y,body:se}},htmlBuilder(A,m){var S=dr[A.style],D=m.havingStyle(S).withFont("");return ui(A.body,D,m)},mathmlBuilder(A,m){var S=dr[A.style],D=m.havingStyle(S),Z=ha(A.body,D),se=new Vi.MathNode("mstyle",Z),Y={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},ct=Y[A.style];return se.setAttribute("scriptlevel",ct[0]),se.setAttribute("displaystyle",ct[1]),se}});var Qi=function(m,S){var D=m.base;if(D)if(D.type==="op"){var Z=D.limits&&(S.style.size===yn.DISPLAY.size||D.alwaysHandleSupSub);return Z?ji:null}else if(D.type==="operatorname"){var se=D.alwaysHandleSupSub&&(S.style.size===yn.DISPLAY.size||D.limits);return se?Mr:null}else{if(D.type==="accent")return T.isCharacterBox(D.base)?Yu:null;if(D.type==="horizBrace"){var Y=!m.sub;return Y===D.isOver?yt:null}else return null}else return null};Jo({type:"supsub",htmlBuilder(A,m){var S=Qi(A,m);if(S)return S(A,m);var{base:D,sup:Z,sub:se}=A,Y=_o(D,m),ct,ft,Sn=m.fontMetrics(),Bn=0,Qn=0,Ti=D&&T.isCharacterBox(D);if(Z){var Ni=m.havingStyle(m.style.sup());ct=_o(Z,Ni,m),Ti||(Bn=Y.height-Ni.fontMetrics().supDrop*Ni.sizeMultiplier/m.sizeMultiplier)}if(se){var $i=m.havingStyle(m.style.sub());ft=_o(se,$i,m),Ti||(Qn=Y.depth+$i.fontMetrics().subDrop*$i.sizeMultiplier/m.sizeMultiplier)}var Nr;m.style===yn.DISPLAY?Nr=Sn.sup1:m.style.cramped?Nr=Sn.sup3:Nr=Sn.sup2;var $r=m.sizeMultiplier,jr=Lt(.5/Sn.ptPerEm/$r),To=null;if(ft){var jo=A.base&&A.base.type==="op"&&A.base.name&&(A.base.name==="\\oiint"||A.base.name==="\\oiiint");(Y instanceof xn||jo)&&(To=Lt(-Y.italic))}var Ra;if(ct&&ft){Bn=Math.max(Bn,Nr,ct.depth+.25*Sn.xHeight),Qn=Math.max(Qn,Sn.sub2);var na=Sn.defaultRuleThickness,Yo=4*na;if(Bn-ct.depth-(ft.height-Qn)0&&(Bn+=fa,Qn-=fa)}var ls=[{type:"elem",elem:ft,shift:Qn,marginRight:jr,marginLeft:To},{type:"elem",elem:ct,shift:-Bn,marginRight:jr}];Ra=wn.makeVList({positionType:"individualShift",children:ls},m)}else if(ft){Qn=Math.max(Qn,Sn.sub1,ft.height-.8*Sn.xHeight);var ua=[{type:"elem",elem:ft,marginLeft:To,marginRight:jr}];Ra=wn.makeVList({positionType:"shift",positionData:Qn,children:ua},m)}else if(ct)Bn=Math.max(Bn,Nr,ct.depth+.25*Sn.xHeight),Ra=wn.makeVList({positionType:"shift",positionData:-Bn,children:[{type:"elem",elem:ct,marginRight:jr}]},m);else throw new Error("supsub must have either sup or sub.");var Sl=qa(Y,"right")||"mord";return wn.makeSpan([Sl],[Y,wn.makeSpan(["msupsub"],[Ra])],m)},mathmlBuilder(A,m){var S=!1,D,Z;A.base&&A.base.type==="horizBrace"&&(Z=!!A.sup,Z===A.base.isOver&&(S=!0,D=A.base.isOver)),A.base&&(A.base.type==="op"||A.base.type==="operatorname")&&(A.base.parentIsSupSub=!0);var se=[ro(A.base,m)];A.sub&&se.push(ro(A.sub,m)),A.sup&&se.push(ro(A.sup,m));var Y;if(S)Y=D?"mover":"munder";else if(A.sub)if(A.sup){var Sn=A.base;Sn&&Sn.type==="op"&&Sn.limits&&m.style===yn.DISPLAY||Sn&&Sn.type==="operatorname"&&Sn.alwaysHandleSupSub&&(m.style===yn.DISPLAY||Sn.limits)?Y="munderover":Y="msubsup"}else{var ft=A.base;ft&&ft.type==="op"&&ft.limits&&(m.style===yn.DISPLAY||ft.alwaysHandleSupSub)||ft&&ft.type==="operatorname"&&ft.alwaysHandleSupSub&&(ft.limits||m.style===yn.DISPLAY)?Y="munder":Y="msub"}else{var ct=A.base;ct&&ct.type==="op"&&ct.limits&&(m.style===yn.DISPLAY||ct.alwaysHandleSupSub)||ct&&ct.type==="operatorname"&&ct.alwaysHandleSupSub&&(ct.limits||m.style===yn.DISPLAY)?Y="mover":Y="msup"}return new Vi.MathNode(Y,se)}}),Jo({type:"atom",htmlBuilder(A,m){return wn.mathsym(A.text,A.mode,m,["m"+A.family])},mathmlBuilder(A,m){var S=new Vi.MathNode("mo",[Cs(A.text,A.mode)]);if(A.family==="bin"){var D=Kr(A,m);D==="bold-italic"&&S.setAttribute("mathvariant",D)}else A.family==="punct"?S.setAttribute("separator","true"):(A.family==="open"||A.family==="close")&&S.setAttribute("stretchy","false");return S}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Jo({type:"mathord",htmlBuilder(A,m){return wn.makeOrd(A,m,"mathord")},mathmlBuilder(A,m){var S=new Vi.MathNode("mi",[Cs(A.text,A.mode,m)]),D=Kr(A,m)||"italic";return D!==oo[S.type]&&S.setAttribute("mathvariant",D),S}}),Jo({type:"textord",htmlBuilder(A,m){return wn.makeOrd(A,m,"textord")},mathmlBuilder(A,m){var S=Cs(A.text,A.mode,m),D=Kr(A,m)||"normal",Z;return A.mode==="text"?Z=new Vi.MathNode("mtext",[S]):/[0-9]/.test(A.text)?Z=new Vi.MathNode("mn",[S]):A.text==="\\prime"?Z=new Vi.MathNode("mo",[S]):Z=new Vi.MathNode("mi",[S]),D!==oo[Z.type]&&Z.setAttribute("mathvariant",D),Z}});var to={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Jo({type:"spacing",htmlBuilder(A,m){if(pr.hasOwnProperty(A.text)){var S=pr[A.text].className||"";if(A.mode==="text"){var D=wn.makeOrd(A,m,"textord");return D.classes.push(S),D}else return wn.makeSpan(["mspace",S],[wn.mathsym(A.text,A.mode,m)],m)}else{if(to.hasOwnProperty(A.text))return wn.makeSpan(["mspace",to[A.text]],[],m);throw new Ft('Unknown type of space "'+A.text+'"')}},mathmlBuilder(A,m){var S;if(pr.hasOwnProperty(A.text))S=new Vi.MathNode("mtext",[new Vi.TextNode("\xA0")]);else{if(to.hasOwnProperty(A.text))return new Vi.MathNode("mspace");throw new Ft('Unknown type of space "'+A.text+'"')}return S}});var _r=()=>{var A=new Vi.MathNode("mtd",[]);return A.setAttribute("width","50%"),A};Jo({type:"tag",mathmlBuilder(A,m){var S=new Vi.MathNode("mtable",[new Vi.MathNode("mtr",[_r(),new Vi.MathNode("mtd",[aa(A.body,m)]),_r(),new Vi.MathNode("mtd",[aa(A.tag,m)])])]);return S.setAttribute("width","100%"),S}});var Gi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ir={"\\textbf":"textbf","\\textmd":"textmd"},vr={"\\textit":"textit","\\textup":"textup"},sr=(A,m)=>{var S=A.font;if(S){if(Gi[S])return m.withTextFontFamily(Gi[S]);if(ir[S])return m.withTextFontWeight(ir[S]);if(S==="\\emph")return m.fontShape==="textit"?m.withTextFontShape("textup"):m.withTextFontShape("textit")}else return m;return m.withTextFontShape(vr[S])};Ui({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(A,m){var{parser:S,funcName:D}=A,Z=m[0];return{type:"text",mode:S.mode,body:Vo(Z),font:D}},htmlBuilder(A,m){var S=sr(A,m),D=Bo(A.body,S,!0);return wn.makeSpan(["mord","text"],D,S)},mathmlBuilder(A,m){var S=sr(A,m);return aa(A.body,S)}}),Ui({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(A,m){var{parser:S}=A;return{type:"underline",mode:S.mode,body:m[0]}},htmlBuilder(A,m){var S=_o(A.body,m),D=wn.makeLineSpan("underline-line",m),Z=m.fontMetrics().defaultRuleThickness,se=wn.makeVList({positionType:"top",positionData:S.height,children:[{type:"kern",size:Z},{type:"elem",elem:D},{type:"kern",size:3*Z},{type:"elem",elem:S}]},m);return wn.makeSpan(["mord","underline"],[se],m)},mathmlBuilder(A,m){var S=new Vi.MathNode("mo",[new Vi.TextNode("\u203E")]);S.setAttribute("stretchy","true");var D=new Vi.MathNode("munder",[ro(A.body,m),S]);return D.setAttribute("accentunder","true"),D}}),Ui({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(A,m){var{parser:S}=A;return{type:"vcenter",mode:S.mode,body:m[0]}},htmlBuilder(A,m){var S=_o(A.body,m),D=m.fontMetrics().axisHeight,Z=.5*(S.height-D-(S.depth+D));return wn.makeVList({positionType:"shift",positionData:Z,children:[{type:"elem",elem:S}]},m)},mathmlBuilder(A,m){return new Vi.MathNode("mpadded",[ro(A.body,m)],["vcenter"])}}),Ui({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(A,m,S){throw new Ft("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(A,m){for(var S=ho(A),D=[],Z=m.havingStyle(m.style.text()),se=0;seA.body.replace(/ /g,A.star?"\u2423":"\xA0"),$t=Ms,zr=`[ \r + ]`,fo="\\\\[a-zA-Z@]+",un="\\\\[^\uD800-\uDFFF]",da="("+fo+")"+zr+"*",Ta=`\\\\( |[ \r ]+ -?)[ \r ]*`,wn="[\u0300-\u036F]",mo=new RegExp(wn+"+$"),_a="("+_r+"+)|"+(ba+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(wn+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(wn+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+ya)+("|"+rn+")");class la{constructor(m,S){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=m,this.settings=S,this.tokenRegex=new RegExp(_a,"g"),this.catcodes={"%":14,"~":13}}setCatcode(m,S){this.catcodes[m]=S}lex(){var m=this.input,S=this.tokenRegex.lastIndex;if(S===m.length)return new an("EOF",new St(this,S,S));var D=this.tokenRegex.exec(m);if(D===null||D.index!==S)throw new Ft("Unexpected character: '"+m[S]+"'",new an(m[S],new St(this,S,S+1)));var Z=D[6]||D[3]||(D[2]?"\\ ":" ");if(this.catcodes[Z]===14){var ae=m.indexOf(` -`,this.tokenRegex.lastIndex);return ae===-1?(this.tokenRegex.lastIndex=m.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=ae+1,this.lex()}return new an(Z,new St(this,S,this.tokenRegex.lastIndex))}}class za{constructor(m,S){m===void 0&&(m={}),S===void 0&&(S={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=S,this.builtins=m,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ft("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var m=this.undefStack.pop();for(var S in m)m.hasOwnProperty(S)&&(m[S]==null?delete this.current[S]:this.current[S]=m[S])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(m){return this.current.hasOwnProperty(m)||this.builtins.hasOwnProperty(m)}get(m){return this.current.hasOwnProperty(m)?this.current[m]:this.builtins[m]}set(m,S,D){if(D===void 0&&(D=!1),D){for(var Z=0;Z0&&(this.undefStack[this.undefStack.length-1][m]=S)}else{var ae=this.undefStack[this.undefStack.length-1];ae&&!ae.hasOwnProperty(m)&&(ae[m]=this.current[m])}S==null?delete this.current[m]:this.current[m]=S}}var $a=Rt;ve("\\noexpand",function(T){var m=T.popToken();return T.isExpandable(m.text)&&(m.noexpand=!0,m.treatAsRelax=!0),{tokens:[m],numArgs:0}}),ve("\\expandafter",function(T){var m=T.popToken();return T.expandOnce(!0),{tokens:[m],numArgs:0}}),ve("\\@firstoftwo",function(T){var m=T.consumeArgs(2);return{tokens:m[0],numArgs:0}}),ve("\\@secondoftwo",function(T){var m=T.consumeArgs(2);return{tokens:m[1],numArgs:0}}),ve("\\@ifnextchar",function(T){var m=T.consumeArgs(3);T.consumeSpaces();var S=T.future();return m[0].length===1&&m[0][0].text===S.text?{tokens:m[1],numArgs:0}:{tokens:m[2],numArgs:0}}),ve("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ve("\\TextOrMath",function(T){var m=T.consumeArgs(2);return T.mode==="text"?{tokens:m[0],numArgs:0}:{tokens:m[1],numArgs:0}});var Ro={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ve("\\char",function(T){var m=T.popToken(),S,D="";if(m.text==="'")S=8,m=T.popToken();else if(m.text==='"')S=16,m=T.popToken();else if(m.text==="`")if(m=T.popToken(),m.text[0]==="\\")D=m.text.charCodeAt(1);else{if(m.text==="EOF")throw new Ft("\\char` missing argument");D=m.text.charCodeAt(0)}else S=10;if(S){if(D=Ro[m.text],D==null||D>=S)throw new Ft("Invalid base-"+S+" digit "+m.text);for(var Z;(Z=Ro[T.future().text])!=null&&Z{var Z=T.consumeArg().tokens;if(Z.length!==1)throw new Ft("\\newcommand's first argument must be a macro name");var ae=Z[0].text,Y=T.isDefined(ae);if(Y&&!m)throw new Ft("\\newcommand{"+ae+"} attempting to redefine "+(ae+"; use \\renewcommand"));if(!Y&&!S)throw new Ft("\\renewcommand{"+ae+"} when command "+ae+" does not yet exist; use \\newcommand");var ct=0;if(Z=T.consumeArg().tokens,Z.length===1&&Z[0].text==="["){for(var pt="",bn=T.expandNextToken();bn.text!=="]"&&bn.text!=="EOF";)pt+=bn.text,bn=T.expandNextToken();if(!pt.match(/^\s*[0-9]+\s*$/))throw new Ft("Invalid number of arguments: "+pt);ct=parseInt(pt),Z=T.consumeArg().tokens}return Y&&D||T.macros.set(ae,{tokens:Z,numArgs:ct}),""};ve("\\newcommand",T=>To(T,!1,!0,!1)),ve("\\renewcommand",T=>To(T,!0,!1,!1)),ve("\\providecommand",T=>To(T,!0,!0,!0)),ve("\\message",T=>{var m=T.consumeArgs(1)[0];return console.log(m.reverse().map(S=>S.text).join("")),""}),ve("\\errmessage",T=>{var m=T.consumeArgs(1)[0];return console.error(m.reverse().map(S=>S.text).join("")),""}),ve("\\show",T=>{var m=T.popToken(),S=m.text;return console.log(m,T.macros.get(S),Xi[S],Ui.math[S],Ui.text[S]),""}),ve("\\bgroup","{"),ve("\\egroup","}"),ve("~","\\nobreakspace"),ve("\\lq","`"),ve("\\rq","'"),ve("\\aa","\\r a"),ve("\\AA","\\r A"),ve("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ve("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ve("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ve("\u212C","\\mathscr{B}"),ve("\u2130","\\mathscr{E}"),ve("\u2131","\\mathscr{F}"),ve("\u210B","\\mathscr{H}"),ve("\u2110","\\mathscr{I}"),ve("\u2112","\\mathscr{L}"),ve("\u2133","\\mathscr{M}"),ve("\u211B","\\mathscr{R}"),ve("\u212D","\\mathfrak{C}"),ve("\u210C","\\mathfrak{H}"),ve("\u2128","\\mathfrak{Z}"),ve("\\Bbbk","\\Bbb{k}"),ve("\xB7","\\cdotp"),ve("\\llap","\\mathllap{\\textrm{#1}}"),ve("\\rlap","\\mathrlap{\\textrm{#1}}"),ve("\\clap","\\mathclap{\\textrm{#1}}"),ve("\\mathstrut","\\vphantom{(}"),ve("\\underbar","\\underline{\\text{#1}}"),ve("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ve("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ve("\\ne","\\neq"),ve("\u2260","\\neq"),ve("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ve("\u2209","\\notin"),ve("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ve("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ve("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ve("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ve("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ve("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ve("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ve("\u27C2","\\perp"),ve("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ve("\u220C","\\notni"),ve("\u231C","\\ulcorner"),ve("\u231D","\\urcorner"),ve("\u231E","\\llcorner"),ve("\u231F","\\lrcorner"),ve("\xA9","\\copyright"),ve("\xAE","\\textregistered"),ve("\uFE0F","\\textregistered"),ve("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),ve("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),ve("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),ve("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),ve("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),ve("\u22EE","\\vdots"),ve("\\varGamma","\\mathit{\\Gamma}"),ve("\\varDelta","\\mathit{\\Delta}"),ve("\\varTheta","\\mathit{\\Theta}"),ve("\\varLambda","\\mathit{\\Lambda}"),ve("\\varXi","\\mathit{\\Xi}"),ve("\\varPi","\\mathit{\\Pi}"),ve("\\varSigma","\\mathit{\\Sigma}"),ve("\\varUpsilon","\\mathit{\\Upsilon}"),ve("\\varPhi","\\mathit{\\Phi}"),ve("\\varPsi","\\mathit{\\Psi}"),ve("\\varOmega","\\mathit{\\Omega}"),ve("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ve("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),ve("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ve("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ve("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ve("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),ve("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),ve("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Mo={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ve("\\dots",function(T){var m="\\dotso",S=T.expandAfterFuture().text;return S in Mo?m=Mo[S]:(S.slice(0,4)==="\\not"||S in Ui.math&&N.contains(["bin","rel"],Ui.math[S].group))&&(m="\\dotsb"),m});var ia={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ve("\\dotso",function(T){var m=T.future().text;return m in ia?"\\ldots\\,":"\\ldots"}),ve("\\dotsc",function(T){var m=T.future().text;return m in ia&&m!==","?"\\ldots\\,":"\\ldots"}),ve("\\cdots",function(T){var m=T.future().text;return m in ia?"\\@cdots\\,":"\\@cdots"}),ve("\\dotsb","\\cdots"),ve("\\dotsm","\\cdots"),ve("\\dotsi","\\!\\cdots"),ve("\\dotsx","\\ldots\\,"),ve("\\DOTSI","\\relax"),ve("\\DOTSB","\\relax"),ve("\\DOTSX","\\relax"),ve("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ve("\\,","\\tmspace+{3mu}{.1667em}"),ve("\\thinspace","\\,"),ve("\\>","\\mskip{4mu}"),ve("\\:","\\tmspace+{4mu}{.2222em}"),ve("\\medspace","\\:"),ve("\\;","\\tmspace+{5mu}{.2777em}"),ve("\\thickspace","\\;"),ve("\\!","\\tmspace-{3mu}{.1667em}"),ve("\\negthinspace","\\!"),ve("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ve("\\negthickspace","\\tmspace-{5mu}{.277em}"),ve("\\enspace","\\kern.5em "),ve("\\enskip","\\hskip.5em\\relax"),ve("\\quad","\\hskip1em\\relax"),ve("\\qquad","\\hskip2em\\relax"),ve("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ve("\\tag@paren","\\tag@literal{({#1})}"),ve("\\tag@literal",T=>{if(T.macros.get("\\df@tag"))throw new Ft("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ve("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ve("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ve("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ve("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ve("\\newline","\\\\\\relax"),ve("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ja=Ot(no["Main-Regular"][84][1]-.7*no["Main-Regular"][65][1]);ve("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ja+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ve("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ja+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ve("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ve("\\@hspace","\\hskip #1\\relax"),ve("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ve("\\ordinarycolon",":"),ve("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ve("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ve("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ve("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ve("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ve("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ve("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ve("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ve("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ve("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ve("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ve("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ve("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ve("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ve("\u2237","\\dblcolon"),ve("\u2239","\\eqcolon"),ve("\u2254","\\coloneqq"),ve("\u2255","\\eqqcolon"),ve("\u2A74","\\Coloneqq"),ve("\\ratio","\\vcentcolon"),ve("\\coloncolon","\\dblcolon"),ve("\\colonequals","\\coloneqq"),ve("\\coloncolonequals","\\Coloneqq"),ve("\\equalscolon","\\eqqcolon"),ve("\\equalscoloncolon","\\Eqqcolon"),ve("\\colonminus","\\coloneq"),ve("\\coloncolonminus","\\Coloneq"),ve("\\minuscolon","\\eqcolon"),ve("\\minuscoloncolon","\\Eqcolon"),ve("\\coloncolonapprox","\\Colonapprox"),ve("\\coloncolonsim","\\Colonsim"),ve("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ve("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ve("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ve("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ve("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ve("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ve("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ve("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),ve("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),ve("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),ve("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),ve("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),ve("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),ve("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ve("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ve("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ve("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ve("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ve("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ve("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ve("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ve("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ve("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ve("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ve("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ve("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ve("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ve("\\imath","\\html@mathml{\\@imath}{\u0131}"),ve("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),ve("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ve("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ve("\u27E6","\\llbracket"),ve("\u27E7","\\rrbracket"),ve("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ve("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ve("\u2983","\\lBrace"),ve("\u2984","\\rBrace"),ve("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),ve("\u29B5","\\minuso"),ve("\\darr","\\downarrow"),ve("\\dArr","\\Downarrow"),ve("\\Darr","\\Downarrow"),ve("\\lang","\\langle"),ve("\\rang","\\rangle"),ve("\\uarr","\\uparrow"),ve("\\uArr","\\Uparrow"),ve("\\Uarr","\\Uparrow"),ve("\\N","\\mathbb{N}"),ve("\\R","\\mathbb{R}"),ve("\\Z","\\mathbb{Z}"),ve("\\alef","\\aleph"),ve("\\alefsym","\\aleph"),ve("\\Alpha","\\mathrm{A}"),ve("\\Beta","\\mathrm{B}"),ve("\\bull","\\bullet"),ve("\\Chi","\\mathrm{X}"),ve("\\clubs","\\clubsuit"),ve("\\cnums","\\mathbb{C}"),ve("\\Complex","\\mathbb{C}"),ve("\\Dagger","\\ddagger"),ve("\\diamonds","\\diamondsuit"),ve("\\empty","\\emptyset"),ve("\\Epsilon","\\mathrm{E}"),ve("\\Eta","\\mathrm{H}"),ve("\\exist","\\exists"),ve("\\harr","\\leftrightarrow"),ve("\\hArr","\\Leftrightarrow"),ve("\\Harr","\\Leftrightarrow"),ve("\\hearts","\\heartsuit"),ve("\\image","\\Im"),ve("\\infin","\\infty"),ve("\\Iota","\\mathrm{I}"),ve("\\isin","\\in"),ve("\\Kappa","\\mathrm{K}"),ve("\\larr","\\leftarrow"),ve("\\lArr","\\Leftarrow"),ve("\\Larr","\\Leftarrow"),ve("\\lrarr","\\leftrightarrow"),ve("\\lrArr","\\Leftrightarrow"),ve("\\Lrarr","\\Leftrightarrow"),ve("\\Mu","\\mathrm{M}"),ve("\\natnums","\\mathbb{N}"),ve("\\Nu","\\mathrm{N}"),ve("\\Omicron","\\mathrm{O}"),ve("\\plusmn","\\pm"),ve("\\rarr","\\rightarrow"),ve("\\rArr","\\Rightarrow"),ve("\\Rarr","\\Rightarrow"),ve("\\real","\\Re"),ve("\\reals","\\mathbb{R}"),ve("\\Reals","\\mathbb{R}"),ve("\\Rho","\\mathrm{P}"),ve("\\sdot","\\cdot"),ve("\\sect","\\S"),ve("\\spades","\\spadesuit"),ve("\\sub","\\subset"),ve("\\sube","\\subseteq"),ve("\\supe","\\supseteq"),ve("\\Tau","\\mathrm{T}"),ve("\\thetasym","\\vartheta"),ve("\\weierp","\\wp"),ve("\\Zeta","\\mathrm{Z}"),ve("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ve("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ve("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ve("\\bra","\\mathinner{\\langle{#1}|}"),ve("\\ket","\\mathinner{|{#1}\\rangle}"),ve("\\braket","\\mathinner{\\langle{#1}\\rangle}"),ve("\\Bra","\\left\\langle#1\\right|"),ve("\\Ket","\\left|#1\\right\\rangle");var d=T=>m=>{var S=m.consumeArg().tokens,D=m.consumeArg().tokens,Z=m.consumeArg().tokens,ae=m.consumeArg().tokens,Y=m.macros.get("|"),ct=m.macros.get("\\|");m.macros.beginGroup();var pt=Qn=>ki=>{T&&(ki.macros.set("|",Y),Z.length&&ki.macros.set("\\|",ct));var Ii=Qn;if(!Qn&&Z.length){var $i=ki.future();$i.text==="|"&&(ki.popToken(),Ii=!0)}return{tokens:Ii?Z:D,numArgs:0}};m.macros.set("|",pt(!1)),Z.length&&m.macros.set("\\|",pt(!0));var bn=m.consumeArg().tokens,Bn=m.expandTokens([...ae,...bn,...S]);return m.macros.endGroup(),{tokens:Bn.reverse(),numArgs:0}};ve("\\bra@ket",d(!1)),ve("\\bra@set",d(!0)),ve("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),ve("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),ve("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),ve("\\angln","{\\angl n}"),ve("\\blue","\\textcolor{##6495ed}{#1}"),ve("\\orange","\\textcolor{##ffa500}{#1}"),ve("\\pink","\\textcolor{##ff00af}{#1}"),ve("\\red","\\textcolor{##df0030}{#1}"),ve("\\green","\\textcolor{##28ae7b}{#1}"),ve("\\gray","\\textcolor{gray}{#1}"),ve("\\purple","\\textcolor{##9d38bd}{#1}"),ve("\\blueA","\\textcolor{##ccfaff}{#1}"),ve("\\blueB","\\textcolor{##80f6ff}{#1}"),ve("\\blueC","\\textcolor{##63d9ea}{#1}"),ve("\\blueD","\\textcolor{##11accd}{#1}"),ve("\\blueE","\\textcolor{##0c7f99}{#1}"),ve("\\tealA","\\textcolor{##94fff5}{#1}"),ve("\\tealB","\\textcolor{##26edd5}{#1}"),ve("\\tealC","\\textcolor{##01d1c1}{#1}"),ve("\\tealD","\\textcolor{##01a995}{#1}"),ve("\\tealE","\\textcolor{##208170}{#1}"),ve("\\greenA","\\textcolor{##b6ffb0}{#1}"),ve("\\greenB","\\textcolor{##8af281}{#1}"),ve("\\greenC","\\textcolor{##74cf70}{#1}"),ve("\\greenD","\\textcolor{##1fab54}{#1}"),ve("\\greenE","\\textcolor{##0d923f}{#1}"),ve("\\goldA","\\textcolor{##ffd0a9}{#1}"),ve("\\goldB","\\textcolor{##ffbb71}{#1}"),ve("\\goldC","\\textcolor{##ff9c39}{#1}"),ve("\\goldD","\\textcolor{##e07d10}{#1}"),ve("\\goldE","\\textcolor{##a75a05}{#1}"),ve("\\redA","\\textcolor{##fca9a9}{#1}"),ve("\\redB","\\textcolor{##ff8482}{#1}"),ve("\\redC","\\textcolor{##f9685d}{#1}"),ve("\\redD","\\textcolor{##e84d39}{#1}"),ve("\\redE","\\textcolor{##bc2612}{#1}"),ve("\\maroonA","\\textcolor{##ffbde0}{#1}"),ve("\\maroonB","\\textcolor{##ff92c6}{#1}"),ve("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ve("\\maroonD","\\textcolor{##ca337c}{#1}"),ve("\\maroonE","\\textcolor{##9e034e}{#1}"),ve("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ve("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ve("\\purpleC","\\textcolor{##aa87ff}{#1}"),ve("\\purpleD","\\textcolor{##7854ab}{#1}"),ve("\\purpleE","\\textcolor{##543b78}{#1}"),ve("\\mintA","\\textcolor{##f5f9e8}{#1}"),ve("\\mintB","\\textcolor{##edf2df}{#1}"),ve("\\mintC","\\textcolor{##e0e5cc}{#1}"),ve("\\grayA","\\textcolor{##f6f7f7}{#1}"),ve("\\grayB","\\textcolor{##f0f1f2}{#1}"),ve("\\grayC","\\textcolor{##e3e5e6}{#1}"),ve("\\grayD","\\textcolor{##d6d8da}{#1}"),ve("\\grayE","\\textcolor{##babec2}{#1}"),ve("\\grayF","\\textcolor{##888d93}{#1}"),ve("\\grayG","\\textcolor{##626569}{#1}"),ve("\\grayH","\\textcolor{##3b3e40}{#1}"),ve("\\grayI","\\textcolor{##21242c}{#1}"),ve("\\kaBlue","\\textcolor{##314453}{#1}"),ve("\\kaGreen","\\textcolor{##71B307}{#1}");var g={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class K{constructor(m,S,D){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=S,this.expansionCount=0,this.feed(m),this.macros=new za($a,S.macros),this.mode=D,this.stack=[]}feed(m){this.lexer=new la(m,this.settings)}switchMode(m){this.mode=m}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(m){this.stack.push(m)}pushTokens(m){this.stack.push(...m)}scanArgument(m){var S,D,Z;if(m){if(this.consumeSpaces(),this.future().text!=="[")return null;S=this.popToken(),{tokens:Z,end:D}=this.consumeArg(["]"])}else({tokens:Z,start:S,end:D}=this.consumeArg());return this.pushToken(new an("EOF",D.loc)),this.pushTokens(Z),S.range(D,"")}consumeSpaces(){for(;;){var m=this.future();if(m.text===" ")this.stack.pop();else break}}consumeArg(m){var S=[],D=m&&m.length>0;D||this.consumeSpaces();var Z=this.future(),ae,Y=0,ct=0;do{if(ae=this.popToken(),S.push(ae),ae.text==="{")++Y;else if(ae.text==="}"){if(--Y,Y===-1)throw new Ft("Extra }",ae)}else if(ae.text==="EOF")throw new Ft("Unexpected end of input in a macro argument, expected '"+(m&&D?m[ct]:"}")+"'",ae);if(m&&D)if((Y===0||Y===1&&m[ct]==="{")&&ae.text===m[ct]){if(++ct,ct===m.length){S.splice(-ct,ct);break}}else ct=0}while(Y!==0||D);return Z.text==="{"&&S[S.length-1].text==="}"&&(S.pop(),S.shift()),S.reverse(),{tokens:S,start:Z,end:ae}}consumeArgs(m,S){if(S){if(S.length!==m+1)throw new Ft("The length of delimiters doesn't match the number of args!");for(var D=S[0],Z=0;Zthis.settings.maxExpand)throw new Ft("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(m){var S=this.popToken(),D=S.text,Z=S.noexpand?null:this._getExpansion(D);if(Z==null||m&&Z.unexpandable){if(m&&Z==null&&D[0]==="\\"&&!this.isDefined(D))throw new Ft("Undefined control sequence: "+D);return this.pushToken(S),!1}this.countExpansion(1);var ae=Z.tokens,Y=this.consumeArgs(Z.numArgs,Z.delimiters);if(Z.numArgs){ae=ae.slice();for(var ct=ae.length-1;ct>=0;--ct){var pt=ae[ct];if(pt.text==="#"){if(ct===0)throw new Ft("Incomplete placeholder at end of macro body",pt);if(pt=ae[--ct],pt.text==="#")ae.splice(ct+1,1);else if(/^[1-9]$/.test(pt.text))ae.splice(ct,2,...Y[+pt.text-1]);else throw new Ft("Not a valid argument number",pt)}}}return this.pushTokens(ae),ae.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var m=this.stack.pop();return m.treatAsRelax&&(m.text="\\relax"),m}throw new Error}expandMacro(m){return this.macros.has(m)?this.expandTokens([new an(m)]):void 0}expandTokens(m){var S=[],D=this.stack.length;for(this.pushTokens(m);this.stack.length>D;)if(this.expandOnce(!0)===!1){var Z=this.stack.pop();Z.treatAsRelax&&(Z.noexpand=!1,Z.treatAsRelax=!1),S.push(Z)}return this.countExpansion(S.length),S}expandMacroAsText(m){var S=this.expandMacro(m);return S&&S.map(D=>D.text).join("")}_getExpansion(m){var S=this.macros.get(m);if(S==null)return S;if(m.length===1){var D=this.lexer.catcodes[m];if(D!=null&&D!==13)return}var Z=typeof S=="function"?S(this):S;if(typeof Z=="string"){var ae=0;if(Z.indexOf("#")!==-1)for(var Y=Z.replace(/##/g,"");Y.indexOf("#"+(ae+1))!==-1;)++ae;for(var ct=new la(Z,this.settings),pt=[],bn=ct.lex();bn.text!=="EOF";)pt.push(bn),bn=ct.lex();pt.reverse();var Bn={tokens:pt,numArgs:ae};return Bn}return Z}isDefined(m){return this.macros.has(m)||Xi.hasOwnProperty(m)||Ui.math.hasOwnProperty(m)||Ui.text.hasOwnProperty(m)||g.hasOwnProperty(m)}isExpandable(m){var S=this.macros.get(m);return S!=null?typeof S=="string"||typeof S=="function"||!S.unexpandable:Xi.hasOwnProperty(m)&&!Xi[m].primitive}}var tt=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,mn=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Zn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Ti={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class Tr{constructor(m,S){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new K(m,S,this.mode),this.settings=S,this.leftrightDepth=0}expect(m,S){if(S===void 0&&(S=!0),this.fetch().text!==m)throw new Ft("Expected '"+m+"', got '"+this.fetch().text+"'",this.fetch());S&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(m){this.mode=m,this.gullet.switchMode(m)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var m=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),m}finally{this.gullet.endGroups()}}subparse(m){var S=this.nextToken;this.consume(),this.gullet.pushToken(new an("}")),this.gullet.pushTokens(m);var D=this.parseExpression(!1);return this.expect("}"),this.nextToken=S,D}parseExpression(m,S){for(var D=[];;){this.mode==="math"&&this.consumeSpaces();var Z=this.fetch();if(Tr.endOfExpression.indexOf(Z.text)!==-1||S&&Z.text===S||m&&Xi[Z.text]&&Xi[Z.text].infix)break;var ae=this.parseAtom(S);if(ae){if(ae.type==="internal")continue}else break;D.push(ae)}return this.mode==="text"&&this.formLigatures(D),this.handleInfixNodes(D)}handleInfixNodes(m){for(var S=-1,D,Z=0;Z=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+S[0]+'" used in math mode',m);var ct=Ui[this.mode][S].group,pt=St.range(m),bn;if(Qi.hasOwnProperty(ct)){var Bn=ct;bn={type:"atom",mode:this.mode,family:Bn,loc:pt,text:S}}else bn={type:ct,mode:this.mode,loc:pt,text:S};Y=bn}else if(S.charCodeAt(0)>=128)this.settings.strict&&(dn(S.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+S[0]+'" used in math mode',m):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+S[0]+'"'+(" ("+S.charCodeAt(0)+")"),m)),Y={type:"textord",mode:"text",loc:St.range(m),text:S};else return null;if(this.consume(),ae)for(var Qn=0;Qn-1&&Zn<=g.length){let Ti=0;for(;;){let Tr=K[Ti];if(Tr===void 0){const Ur=de(g,K[Ti-1]);Tr=Ur===-1?g.length+1:Ur+1,K[Ti]=Tr}if(Tr>Zn)return{line:Ti+1,column:Zn-(Ti>0?K[Ti-1]:0)+1,offset:Zn};Ti++}}}function mn(Zn){if(Zn&&typeof Zn.line=="number"&&typeof Zn.column=="number"&&!Number.isNaN(Zn.line)&&!Number.isNaN(Zn.column)){for(;K.length1?K[Zn.line-2]:0)+Zn.column-1;if(Ti4&&K.slice(0,4)==="data"&&In.test(g)){if(g.charAt(4)==="-"){const Zn=g.slice(5).replace(Mn,j);tt="data"+Zn.charAt(0).toUpperCase()+Zn.slice(1)}else{const Zn=g.slice(4);if(!Mn.test(Zn)){let Ti=Zn.replace(re,k);Ti.charAt(0)!=="-"&&(Ti="-"+Ti),g="data"+Ti}}mn=wt}return new mn(tt,g)}function k(d){return"-"+d.toLowerCase()}function j(d){return d.charAt(1).toUpperCase()}var X=h(71523);const N={}.hasOwnProperty;function _e(d,g){const K=g||{};function tt(mn,...Zn){let Ti=tt.invalid;const Tr=tt.handlers;if(mn&&N.call(mn,d)){const Ur=String(mn[d]);Ti=N.call(Tr,Ur)?Tr[Ur]:tt.unknown}if(Ti)return Ti.call(this,mn,...Zn)}return tt.handlers=K.handlers||{},tt.invalid=K.invalid,tt.unknown=K.unknown,tt}const Nt={},He={}.hasOwnProperty,De=_e("type",{handlers:{root:ut,element:jt,text:fn,comment:qt,doctype:Tt}});function gt(d,g){const tt=(g||Nt).space;return De(d,tt==="svg"?Jn:ni)}function ut(d,g){const K={nodeName:"#document",mode:(d.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return K.childNodes=nn(d.children,K,g),et(d,K),K}function nt(d,g){const K={nodeName:"#document-fragment",childNodes:[]};return K.childNodes=nn(d.children,K,g),et(d,K),K}function Tt(d){const g={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return et(d,g),g}function fn(d){const g={nodeName:"#text",value:d.value,parentNode:null};return et(d,g),g}function qt(d){const g={nodeName:"#comment",data:d.value,parentNode:null};return et(d,g),g}function jt(d,g){const K=g;let tt=K;d.type==="element"&&d.tagName.toLowerCase()==="svg"&&K.space==="html"&&(tt=Jn);const mn=[];let Zn;if(d.properties){for(Zn in d.properties)if(Zn!=="children"&&He.call(d.properties,Zn)){const Ur=cn(tt,Zn,d.properties[Zn]);Ur&&mn.push(Ur)}}const Ti=tt.space;(0,O.ok)(Ti);const Tr={nodeName:d.tagName,tagName:d.tagName,attrs:mn,namespaceURI:ce.t[Ti],childNodes:[],parentNode:null};return Tr.childNodes=nn(d.children,Tr,tt),et(d,Tr),d.tagName==="template"&&d.content&&(Tr.content=nt(d.content,tt)),Tr}function cn(d,g,K){const tt=z(d,g);if(K===!1||K===null||K===void 0||typeof K=="number"&&Number.isNaN(K)||!K&&tt.boolean)return;Array.isArray(K)&&(K=tt.commaSeparated?(0,xe.P)(K):(0,X.P)(K));const mn={name:tt.attribute,value:K===!0?"":String(K)};if(tt.space&&tt.space!=="html"&&tt.space!=="svg"){const Zn=mn.name.indexOf(":");Zn<0?mn.prefix="":(mn.name=mn.name.slice(Zn+1),mn.prefix=tt.attribute.slice(0,Zn)),mn.namespace=ce.t[tt.space]}return mn}function nn(d,g,K){let tt=-1;const mn=[];if(d)for(;++tt=55296&&d<=57343}function Yn(d){return d>=56320&&d<=57343}function wi(d,g){return(d-55296)*1024+9216+g}function vi(d){return d!==32&&d!==10&&d!==13&&d!==9&&d!==12&&d>=1&&d<=31||d>=127&&d<=159}function dn(d){return d>=64976&&d<=65007||hn.has(d)}var ln;(function(d){d.controlCharacterInInputStream="control-character-in-input-stream",d.noncharacterInInputStream="noncharacter-in-input-stream",d.surrogateInInputStream="surrogate-in-input-stream",d.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",d.endTagWithAttributes="end-tag-with-attributes",d.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",d.unexpectedSolidusInTag="unexpected-solidus-in-tag",d.unexpectedNullCharacter="unexpected-null-character",d.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",d.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",d.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",d.missingEndTagName="missing-end-tag-name",d.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",d.unknownNamedCharacterReference="unknown-named-character-reference",d.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",d.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",d.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",d.eofBeforeTagName="eof-before-tag-name",d.eofInTag="eof-in-tag",d.missingAttributeValue="missing-attribute-value",d.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",d.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",d.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",d.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",d.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",d.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",d.missingDoctypePublicIdentifier="missing-doctype-public-identifier",d.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",d.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",d.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",d.cdataInHtmlContent="cdata-in-html-content",d.incorrectlyOpenedComment="incorrectly-opened-comment",d.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",d.eofInDoctype="eof-in-doctype",d.nestedComment="nested-comment",d.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",d.eofInComment="eof-in-comment",d.incorrectlyClosedComment="incorrectly-closed-comment",d.eofInCdata="eof-in-cdata",d.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",d.nullCharacterReference="null-character-reference",d.surrogateCharacterReference="surrogate-character-reference",d.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",d.controlCharacterReference="control-character-reference",d.noncharacterCharacterReference="noncharacter-character-reference",d.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",d.missingDoctypeName="missing-doctype-name",d.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",d.duplicateAttribute="duplicate-attribute",d.nonConformingDoctype="non-conforming-doctype",d.missingDoctype="missing-doctype",d.misplacedDoctype="misplaced-doctype",d.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",d.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",d.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",d.openElementsLeftAfterEof="open-elements-left-after-eof",d.abandonedHeadElementChild="abandoned-head-element-child",d.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",d.nestedNoscriptInHead="nested-noscript-in-head",d.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ln||(ln={}));const gr=65536;class er{constructor(g){this.handler=g,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=gr,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(g,K){const{line:tt,col:mn,offset:Zn}=this,Ti=mn+K,Tr=Zn+K;return{code:g,startLine:tt,endLine:tt,startCol:Ti,endCol:Ti,startOffset:Tr,endOffset:Tr}}_err(g){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(g,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(g){if(this.pos!==this.html.length-1){const K=this.html.charCodeAt(this.pos+1);if(Yn(K))return this.pos++,this._addGap(),wi(g,K)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ze.EOF;return this._err(ln.surrogateInInputStream),g}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(g,K){this.html.length>0?this.html+=g:this.html=g,this.endOfChunkHit=!1,this.lastChunkWritten=K}insertHtmlAtCurrentPos(g){this.html=this.html.substring(0,this.pos+1)+g+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(g,K){if(this.pos+g.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(K)return this.html.startsWith(g,this.pos);for(let tt=0;tt=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ze.EOF;const tt=this.html.charCodeAt(K);return tt===ze.CARRIAGE_RETURN?ze.LINE_FEED:tt}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ze.EOF;let g=this.html.charCodeAt(this.pos);return g===ze.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,ze.LINE_FEED):g===ze.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,On(g)&&(g=this._processSurrogate(g)),this.handler.onParseError===null||g>31&&g<127||g===ze.LINE_FEED||g===ze.CARRIAGE_RETURN||g>159&&g<64976||this._checkForProblematicCharacters(g),g)}_checkForProblematicCharacters(g){vi(g)?this._err(ln.controlCharacterInInputStream):dn(g)&&this._err(ln.noncharacterInInputStream)}retreat(g){for(this.pos-=g;this.pos=0;K--)if(d.attrs[K].name===g)return d.attrs[K].value;return null}var pr=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(d=>d.charCodeAt(0))),U=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(d=>d.charCodeAt(0))),yr;const Er=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wr=(yr=String.fromCodePoint)!==null&&yr!==void 0?yr:function(d){let g="";return d>65535&&(d-=65536,g+=String.fromCharCode(d>>>10&1023|55296),d=56320|d&1023),g+=String.fromCharCode(d),g};function eo(d){var g;return d>=55296&&d<=57343||d>1114111?65533:(g=Er.get(d))!==null&&g!==void 0?g:d}function yo(d){return wr(eo(d))}var Ir;(function(d){d[d.NUM=35]="NUM",d[d.SEMI=59]="SEMI",d[d.EQUALS=61]="EQUALS",d[d.ZERO=48]="ZERO",d[d.NINE=57]="NINE",d[d.LOWER_A=97]="LOWER_A",d[d.LOWER_F=102]="LOWER_F",d[d.LOWER_X=120]="LOWER_X",d[d.LOWER_Z=122]="LOWER_Z",d[d.UPPER_A=65]="UPPER_A",d[d.UPPER_F=70]="UPPER_F",d[d.UPPER_Z=90]="UPPER_Z"})(Ir||(Ir={}));const no=32;var ur;(function(d){d[d.VALUE_LENGTH=49152]="VALUE_LENGTH",d[d.BRANCH_LENGTH=16256]="BRANCH_LENGTH",d[d.JUMP_TABLE=127]="JUMP_TABLE"})(ur||(ur={}));function zi(d){return d>=Ir.ZERO&&d<=Ir.NINE}function xi(d){return d>=Ir.UPPER_A&&d<=Ir.UPPER_F||d>=Ir.LOWER_A&&d<=Ir.LOWER_F}function dt(d){return d>=Ir.UPPER_A&&d<=Ir.UPPER_Z||d>=Ir.LOWER_A&&d<=Ir.LOWER_Z||zi(d)}function _n(d){return d===Ir.EQUALS||dt(d)}var Wn;(function(d){d[d.EntityStart=0]="EntityStart",d[d.NumericStart=1]="NumericStart",d[d.NumericDecimal=2]="NumericDecimal",d[d.NumericHex=3]="NumericHex",d[d.NamedEntity=4]="NamedEntity"})(Wn||(Wn={}));var yt;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict",d[d.Attribute=2]="Attribute"})(yt||(yt={}));class Ke{constructor(g,K,tt){this.decodeTree=g,this.emitCodePoint=K,this.errors=tt,this.state=Wn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yt.Strict}startEntity(g){this.decodeMode=g,this.state=Wn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(g,K){switch(this.state){case Wn.EntityStart:return g.charCodeAt(K)===Ir.NUM?(this.state=Wn.NumericStart,this.consumed+=1,this.stateNumericStart(g,K+1)):(this.state=Wn.NamedEntity,this.stateNamedEntity(g,K));case Wn.NumericStart:return this.stateNumericStart(g,K);case Wn.NumericDecimal:return this.stateNumericDecimal(g,K);case Wn.NumericHex:return this.stateNumericHex(g,K);case Wn.NamedEntity:return this.stateNamedEntity(g,K)}}stateNumericStart(g,K){return K>=g.length?-1:(g.charCodeAt(K)|no)===Ir.LOWER_X?(this.state=Wn.NumericHex,this.consumed+=1,this.stateNumericHex(g,K+1)):(this.state=Wn.NumericDecimal,this.stateNumericDecimal(g,K))}addToNumericResult(g,K,tt,mn){if(K!==tt){const Zn=tt-K;this.result=this.result*Math.pow(mn,Zn)+parseInt(g.substr(K,Zn),mn),this.consumed+=Zn}}stateNumericHex(g,K){const tt=K;for(;K>14;for(;K>14,Zn!==0){if(Ti===Ir.SEMI)return this.emitNamedEntityData(this.treeIndex,Zn,this.consumed+this.excess);this.decodeMode!==yt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var g;const{result:K,decodeTree:tt}=this,mn=(tt[K]&ur.VALUE_LENGTH)>>14;return this.emitNamedEntityData(K,mn,this.consumed),(g=this.errors)===null||g===void 0||g.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(g,K,tt){const{decodeTree:mn}=this;return this.emitCodePoint(K===1?mn[g]&~ur.VALUE_LENGTH:mn[g+1],tt),K===3&&this.emitCodePoint(mn[g+2],tt),tt}end(){var g;switch(this.state){case Wn.NamedEntity:return this.result!==0&&(this.decodeMode!==yt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Wn.NumericDecimal:return this.emitNumericEntity(0,2);case Wn.NumericHex:return this.emitNumericEntity(0,3);case Wn.NumericStart:return(g=this.errors)===null||g===void 0||g.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Wn.EntityStart:return 0}}}function gn(d){let g="";const K=new Ke(d,tt=>g+=wr(tt));return function(mn,Zn){let Ti=0,Tr=0;for(;(Tr=mn.indexOf("&",Tr))>=0;){g+=mn.slice(Ti,Tr),K.startEntity(Zn);const Kr=K.write(mn,Tr+1);if(Kr<0){Ti=Tr+K.end();break}Ti=Tr+Kr,Tr=Kr===0?Ti+1:Ti}const Ur=g+mn.slice(Ti);return g="",Ur}}function kn(d,g,K,tt){const mn=(g&ur.BRANCH_LENGTH)>>7,Zn=g&ur.JUMP_TABLE;if(mn===0)return Zn!==0&&tt===Zn?K:-1;if(Zn){const Ur=tt-Zn;return Ur<0||Ur>=mn?-1:d[K+Ur]-1}let Ti=K,Tr=Ti+mn-1;for(;Ti<=Tr;){const Ur=Ti+Tr>>>1,Kr=d[Ur];if(Krtt)Tr=Ur-1;else return d[Ur+mn]}return-1}const on=gn(pr),Ct=gn(U);function Ve(d,g=yt.Legacy){return on(d,g)}function Ut(d){return on(d,yt.Attribute)}function Ot(d){return on(d,yt.Strict)}function Gn(d){return Ct(d,yt.Strict)}var ot;(function(d){d.HTML="http://www.w3.org/1999/xhtml",d.MATHML="http://www.w3.org/1998/Math/MathML",d.SVG="http://www.w3.org/2000/svg",d.XLINK="http://www.w3.org/1999/xlink",d.XML="http://www.w3.org/XML/1998/namespace",d.XMLNS="http://www.w3.org/2000/xmlns/"})(ot||(ot={}));var un;(function(d){d.TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size"})(un||(un={}));var vt;(function(d){d.NO_QUIRKS="no-quirks",d.QUIRKS="quirks",d.LIMITED_QUIRKS="limited-quirks"})(vt||(vt={}));var je;(function(d){d.A="a",d.ADDRESS="address",d.ANNOTATION_XML="annotation-xml",d.APPLET="applet",d.AREA="area",d.ARTICLE="article",d.ASIDE="aside",d.B="b",d.BASE="base",d.BASEFONT="basefont",d.BGSOUND="bgsound",d.BIG="big",d.BLOCKQUOTE="blockquote",d.BODY="body",d.BR="br",d.BUTTON="button",d.CAPTION="caption",d.CENTER="center",d.CODE="code",d.COL="col",d.COLGROUP="colgroup",d.DD="dd",d.DESC="desc",d.DETAILS="details",d.DIALOG="dialog",d.DIR="dir",d.DIV="div",d.DL="dl",d.DT="dt",d.EM="em",d.EMBED="embed",d.FIELDSET="fieldset",d.FIGCAPTION="figcaption",d.FIGURE="figure",d.FONT="font",d.FOOTER="footer",d.FOREIGN_OBJECT="foreignObject",d.FORM="form",d.FRAME="frame",d.FRAMESET="frameset",d.H1="h1",d.H2="h2",d.H3="h3",d.H4="h4",d.H5="h5",d.H6="h6",d.HEAD="head",d.HEADER="header",d.HGROUP="hgroup",d.HR="hr",d.HTML="html",d.I="i",d.IMG="img",d.IMAGE="image",d.INPUT="input",d.IFRAME="iframe",d.KEYGEN="keygen",d.LABEL="label",d.LI="li",d.LINK="link",d.LISTING="listing",d.MAIN="main",d.MALIGNMARK="malignmark",d.MARQUEE="marquee",d.MATH="math",d.MENU="menu",d.META="meta",d.MGLYPH="mglyph",d.MI="mi",d.MO="mo",d.MN="mn",d.MS="ms",d.MTEXT="mtext",d.NAV="nav",d.NOBR="nobr",d.NOFRAMES="noframes",d.NOEMBED="noembed",d.NOSCRIPT="noscript",d.OBJECT="object",d.OL="ol",d.OPTGROUP="optgroup",d.OPTION="option",d.P="p",d.PARAM="param",d.PLAINTEXT="plaintext",d.PRE="pre",d.RB="rb",d.RP="rp",d.RT="rt",d.RTC="rtc",d.RUBY="ruby",d.S="s",d.SCRIPT="script",d.SEARCH="search",d.SECTION="section",d.SELECT="select",d.SOURCE="source",d.SMALL="small",d.SPAN="span",d.STRIKE="strike",d.STRONG="strong",d.STYLE="style",d.SUB="sub",d.SUMMARY="summary",d.SUP="sup",d.TABLE="table",d.TBODY="tbody",d.TEMPLATE="template",d.TEXTAREA="textarea",d.TFOOT="tfoot",d.TD="td",d.TH="th",d.THEAD="thead",d.TITLE="title",d.TR="tr",d.TRACK="track",d.TT="tt",d.U="u",d.UL="ul",d.SVG="svg",d.VAR="var",d.WBR="wbr",d.XMP="xmp"})(je||(je={}));var L;(function(d){d[d.UNKNOWN=0]="UNKNOWN",d[d.A=1]="A",d[d.ADDRESS=2]="ADDRESS",d[d.ANNOTATION_XML=3]="ANNOTATION_XML",d[d.APPLET=4]="APPLET",d[d.AREA=5]="AREA",d[d.ARTICLE=6]="ARTICLE",d[d.ASIDE=7]="ASIDE",d[d.B=8]="B",d[d.BASE=9]="BASE",d[d.BASEFONT=10]="BASEFONT",d[d.BGSOUND=11]="BGSOUND",d[d.BIG=12]="BIG",d[d.BLOCKQUOTE=13]="BLOCKQUOTE",d[d.BODY=14]="BODY",d[d.BR=15]="BR",d[d.BUTTON=16]="BUTTON",d[d.CAPTION=17]="CAPTION",d[d.CENTER=18]="CENTER",d[d.CODE=19]="CODE",d[d.COL=20]="COL",d[d.COLGROUP=21]="COLGROUP",d[d.DD=22]="DD",d[d.DESC=23]="DESC",d[d.DETAILS=24]="DETAILS",d[d.DIALOG=25]="DIALOG",d[d.DIR=26]="DIR",d[d.DIV=27]="DIV",d[d.DL=28]="DL",d[d.DT=29]="DT",d[d.EM=30]="EM",d[d.EMBED=31]="EMBED",d[d.FIELDSET=32]="FIELDSET",d[d.FIGCAPTION=33]="FIGCAPTION",d[d.FIGURE=34]="FIGURE",d[d.FONT=35]="FONT",d[d.FOOTER=36]="FOOTER",d[d.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",d[d.FORM=38]="FORM",d[d.FRAME=39]="FRAME",d[d.FRAMESET=40]="FRAMESET",d[d.H1=41]="H1",d[d.H2=42]="H2",d[d.H3=43]="H3",d[d.H4=44]="H4",d[d.H5=45]="H5",d[d.H6=46]="H6",d[d.HEAD=47]="HEAD",d[d.HEADER=48]="HEADER",d[d.HGROUP=49]="HGROUP",d[d.HR=50]="HR",d[d.HTML=51]="HTML",d[d.I=52]="I",d[d.IMG=53]="IMG",d[d.IMAGE=54]="IMAGE",d[d.INPUT=55]="INPUT",d[d.IFRAME=56]="IFRAME",d[d.KEYGEN=57]="KEYGEN",d[d.LABEL=58]="LABEL",d[d.LI=59]="LI",d[d.LINK=60]="LINK",d[d.LISTING=61]="LISTING",d[d.MAIN=62]="MAIN",d[d.MALIGNMARK=63]="MALIGNMARK",d[d.MARQUEE=64]="MARQUEE",d[d.MATH=65]="MATH",d[d.MENU=66]="MENU",d[d.META=67]="META",d[d.MGLYPH=68]="MGLYPH",d[d.MI=69]="MI",d[d.MO=70]="MO",d[d.MN=71]="MN",d[d.MS=72]="MS",d[d.MTEXT=73]="MTEXT",d[d.NAV=74]="NAV",d[d.NOBR=75]="NOBR",d[d.NOFRAMES=76]="NOFRAMES",d[d.NOEMBED=77]="NOEMBED",d[d.NOSCRIPT=78]="NOSCRIPT",d[d.OBJECT=79]="OBJECT",d[d.OL=80]="OL",d[d.OPTGROUP=81]="OPTGROUP",d[d.OPTION=82]="OPTION",d[d.P=83]="P",d[d.PARAM=84]="PARAM",d[d.PLAINTEXT=85]="PLAINTEXT",d[d.PRE=86]="PRE",d[d.RB=87]="RB",d[d.RP=88]="RP",d[d.RT=89]="RT",d[d.RTC=90]="RTC",d[d.RUBY=91]="RUBY",d[d.S=92]="S",d[d.SCRIPT=93]="SCRIPT",d[d.SEARCH=94]="SEARCH",d[d.SECTION=95]="SECTION",d[d.SELECT=96]="SELECT",d[d.SOURCE=97]="SOURCE",d[d.SMALL=98]="SMALL",d[d.SPAN=99]="SPAN",d[d.STRIKE=100]="STRIKE",d[d.STRONG=101]="STRONG",d[d.STYLE=102]="STYLE",d[d.SUB=103]="SUB",d[d.SUMMARY=104]="SUMMARY",d[d.SUP=105]="SUP",d[d.TABLE=106]="TABLE",d[d.TBODY=107]="TBODY",d[d.TEMPLATE=108]="TEMPLATE",d[d.TEXTAREA=109]="TEXTAREA",d[d.TFOOT=110]="TFOOT",d[d.TD=111]="TD",d[d.TH=112]="TH",d[d.THEAD=113]="THEAD",d[d.TITLE=114]="TITLE",d[d.TR=115]="TR",d[d.TRACK=116]="TRACK",d[d.TT=117]="TT",d[d.U=118]="U",d[d.UL=119]="UL",d[d.SVG=120]="SVG",d[d.VAR=121]="VAR",d[d.WBR=122]="WBR",d[d.XMP=123]="XMP"})(L||(L={}));const Lt=new Map([[je.A,L.A],[je.ADDRESS,L.ADDRESS],[je.ANNOTATION_XML,L.ANNOTATION_XML],[je.APPLET,L.APPLET],[je.AREA,L.AREA],[je.ARTICLE,L.ARTICLE],[je.ASIDE,L.ASIDE],[je.B,L.B],[je.BASE,L.BASE],[je.BASEFONT,L.BASEFONT],[je.BGSOUND,L.BGSOUND],[je.BIG,L.BIG],[je.BLOCKQUOTE,L.BLOCKQUOTE],[je.BODY,L.BODY],[je.BR,L.BR],[je.BUTTON,L.BUTTON],[je.CAPTION,L.CAPTION],[je.CENTER,L.CENTER],[je.CODE,L.CODE],[je.COL,L.COL],[je.COLGROUP,L.COLGROUP],[je.DD,L.DD],[je.DESC,L.DESC],[je.DETAILS,L.DETAILS],[je.DIALOG,L.DIALOG],[je.DIR,L.DIR],[je.DIV,L.DIV],[je.DL,L.DL],[je.DT,L.DT],[je.EM,L.EM],[je.EMBED,L.EMBED],[je.FIELDSET,L.FIELDSET],[je.FIGCAPTION,L.FIGCAPTION],[je.FIGURE,L.FIGURE],[je.FONT,L.FONT],[je.FOOTER,L.FOOTER],[je.FOREIGN_OBJECT,L.FOREIGN_OBJECT],[je.FORM,L.FORM],[je.FRAME,L.FRAME],[je.FRAMESET,L.FRAMESET],[je.H1,L.H1],[je.H2,L.H2],[je.H3,L.H3],[je.H4,L.H4],[je.H5,L.H5],[je.H6,L.H6],[je.HEAD,L.HEAD],[je.HEADER,L.HEADER],[je.HGROUP,L.HGROUP],[je.HR,L.HR],[je.HTML,L.HTML],[je.I,L.I],[je.IMG,L.IMG],[je.IMAGE,L.IMAGE],[je.INPUT,L.INPUT],[je.IFRAME,L.IFRAME],[je.KEYGEN,L.KEYGEN],[je.LABEL,L.LABEL],[je.LI,L.LI],[je.LINK,L.LINK],[je.LISTING,L.LISTING],[je.MAIN,L.MAIN],[je.MALIGNMARK,L.MALIGNMARK],[je.MARQUEE,L.MARQUEE],[je.MATH,L.MATH],[je.MENU,L.MENU],[je.META,L.META],[je.MGLYPH,L.MGLYPH],[je.MI,L.MI],[je.MO,L.MO],[je.MN,L.MN],[je.MS,L.MS],[je.MTEXT,L.MTEXT],[je.NAV,L.NAV],[je.NOBR,L.NOBR],[je.NOFRAMES,L.NOFRAMES],[je.NOEMBED,L.NOEMBED],[je.NOSCRIPT,L.NOSCRIPT],[je.OBJECT,L.OBJECT],[je.OL,L.OL],[je.OPTGROUP,L.OPTGROUP],[je.OPTION,L.OPTION],[je.P,L.P],[je.PARAM,L.PARAM],[je.PLAINTEXT,L.PLAINTEXT],[je.PRE,L.PRE],[je.RB,L.RB],[je.RP,L.RP],[je.RT,L.RT],[je.RTC,L.RTC],[je.RUBY,L.RUBY],[je.S,L.S],[je.SCRIPT,L.SCRIPT],[je.SEARCH,L.SEARCH],[je.SECTION,L.SECTION],[je.SELECT,L.SELECT],[je.SOURCE,L.SOURCE],[je.SMALL,L.SMALL],[je.SPAN,L.SPAN],[je.STRIKE,L.STRIKE],[je.STRONG,L.STRONG],[je.STYLE,L.STYLE],[je.SUB,L.SUB],[je.SUMMARY,L.SUMMARY],[je.SUP,L.SUP],[je.TABLE,L.TABLE],[je.TBODY,L.TBODY],[je.TEMPLATE,L.TEMPLATE],[je.TEXTAREA,L.TEXTAREA],[je.TFOOT,L.TFOOT],[je.TD,L.TD],[je.TH,L.TH],[je.THEAD,L.THEAD],[je.TITLE,L.TITLE],[je.TR,L.TR],[je.TRACK,L.TRACK],[je.TT,L.TT],[je.U,L.U],[je.UL,L.UL],[je.SVG,L.SVG],[je.VAR,L.VAR],[je.WBR,L.WBR],[je.XMP,L.XMP]]);function Qt(d){var g;return(g=Lt.get(d))!==null&&g!==void 0?g:L.UNKNOWN}const mt=L,vn={[ot.HTML]:new Set([mt.ADDRESS,mt.APPLET,mt.AREA,mt.ARTICLE,mt.ASIDE,mt.BASE,mt.BASEFONT,mt.BGSOUND,mt.BLOCKQUOTE,mt.BODY,mt.BR,mt.BUTTON,mt.CAPTION,mt.CENTER,mt.COL,mt.COLGROUP,mt.DD,mt.DETAILS,mt.DIR,mt.DIV,mt.DL,mt.DT,mt.EMBED,mt.FIELDSET,mt.FIGCAPTION,mt.FIGURE,mt.FOOTER,mt.FORM,mt.FRAME,mt.FRAMESET,mt.H1,mt.H2,mt.H3,mt.H4,mt.H5,mt.H6,mt.HEAD,mt.HEADER,mt.HGROUP,mt.HR,mt.HTML,mt.IFRAME,mt.IMG,mt.INPUT,mt.LI,mt.LINK,mt.LISTING,mt.MAIN,mt.MARQUEE,mt.MENU,mt.META,mt.NAV,mt.NOEMBED,mt.NOFRAMES,mt.NOSCRIPT,mt.OBJECT,mt.OL,mt.P,mt.PARAM,mt.PLAINTEXT,mt.PRE,mt.SCRIPT,mt.SECTION,mt.SELECT,mt.SOURCE,mt.STYLE,mt.SUMMARY,mt.TABLE,mt.TBODY,mt.TD,mt.TEMPLATE,mt.TEXTAREA,mt.TFOOT,mt.TH,mt.THEAD,mt.TITLE,mt.TR,mt.TRACK,mt.UL,mt.WBR,mt.XMP]),[ot.MATHML]:new Set([mt.MI,mt.MO,mt.MN,mt.MS,mt.MTEXT,mt.ANNOTATION_XML]),[ot.SVG]:new Set([mt.TITLE,mt.FOREIGN_OBJECT,mt.DESC]),[ot.XLINK]:new Set,[ot.XML]:new Set,[ot.XMLNS]:new Set},Cn=new Set([mt.H1,mt.H2,mt.H3,mt.H4,mt.H5,mt.H6]),ui=new Set([je.STYLE,je.SCRIPT,je.XMP,je.IFRAME,je.NOEMBED,je.NOFRAMES,je.PLAINTEXT]);function Nn(d,g){return ui.has(d)||g&&d===je.NOSCRIPT}var st;(function(d){d[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(st||(st={}));const Li={DATA:st.DATA,RCDATA:st.RCDATA,RAWTEXT:st.RAWTEXT,SCRIPT_DATA:st.SCRIPT_DATA,PLAINTEXT:st.PLAINTEXT,CDATA_SECTION:st.CDATA_SECTION};function Qi(d){return d>=ze.DIGIT_0&&d<=ze.DIGIT_9}function Kt(d){return d>=ze.LATIN_CAPITAL_A&&d<=ze.LATIN_CAPITAL_Z}function Ui(d){return d>=ze.LATIN_SMALL_A&&d<=ze.LATIN_SMALL_Z}function J(d){return Ui(d)||Kt(d)}function oe(d){return J(d)||Qi(d)}function Hn(d){return d+32}function Be(d){return d===ze.SPACE||d===ze.LINE_FEED||d===ze.TABULATION||d===ze.FORM_FEED}function Et(d){return Be(d)||d===ze.SOLIDUS||d===ze.GREATER_THAN_SIGN}function pi(d){return d===ze.NULL?ln.nullCharacterReference:d>1114111?ln.characterReferenceOutsideUnicodeRange:On(d)?ln.surrogateCharacterReference:dn(d)?ln.noncharacterCharacterReference:vi(d)||d===ze.CARRIAGE_RETURN?ln.controlCharacterReference:null}class Rn{constructor(g,K){this.options=g,this.handler=K,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=st.DATA,this.returnState=st.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new er(K),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ke(pr,(tt,mn)=>{this.preprocessor.pos=this.entityStartPos+mn-1,this._flushCodePointConsumedAsCharacterReference(tt)},K.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ln.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:tt=>{this._err(ln.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+tt)},validateNumericCharacterReference:tt=>{const mn=pi(tt);mn&&this._err(mn,1)}}:void 0)}_err(g,K=0){var tt,mn;(mn=(tt=this.handler).onParseError)===null||mn===void 0||mn.call(tt,this.preprocessor.getError(g,K))}getCurrentLocation(g){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-g,startOffset:this.preprocessor.offset-g,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const g=this._consume();this._ensureHibernation()||this._callState(g)}this.inLoop=!1}}pause(){this.paused=!0}resume(g){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||g==null||g())}write(g,K,tt){this.active=!0,this.preprocessor.write(g,K),this._runParsingLoop(),this.paused||tt==null||tt()}insertHtmlAtCurrentPos(g){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(g),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(g){this.consumedAfterSnapshot+=g;for(let K=0;K0&&this._err(ln.endTagWithAttributes),g.selfClosing&&this._err(ln.endTagWithTrailingSolidus),this.handler.onEndTag(g)),this.preprocessor.dropParsedChunk()}emitCurrentComment(g){this.prepareToken(g),this.handler.onComment(g),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(g){this.prepareToken(g),this.handler.onDoctype(g),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(g){if(this.currentCharacterToken){switch(g&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=g.startLine,this.currentCharacterToken.location.endCol=g.startCol,this.currentCharacterToken.location.endOffset=g.startOffset),this.currentCharacterToken.type){case ti.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ti.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ti.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const g=this.getCurrentLocation(0);g&&(g.endLine=g.startLine,g.endCol=g.startCol,g.endOffset=g.startOffset),this._emitCurrentCharacterToken(g),this.handler.onEof({type:ti.EOF,location:g}),this.active=!1}_appendCharToCurrentCharacterToken(g,K){if(this.currentCharacterToken)if(this.currentCharacterToken.type===g){this.currentCharacterToken.chars+=K;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(g,K)}_emitCodePoint(g){const K=Be(g)?ti.WHITESPACE_CHARACTER:g===ze.NULL?ti.NULL_CHARACTER:ti.CHARACTER;this._appendCharToCurrentCharacterToken(K,String.fromCodePoint(g))}_emitChars(g){this._appendCharToCurrentCharacterToken(ti.CHARACTER,g)}_startCharacterReference(){this.returnState=this.state,this.state=st.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?yt.Attribute:yt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===st.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===st.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===st.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(g){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(g):this._emitCodePoint(g)}_callState(g){switch(this.state){case st.DATA:{this._stateData(g);break}case st.RCDATA:{this._stateRcdata(g);break}case st.RAWTEXT:{this._stateRawtext(g);break}case st.SCRIPT_DATA:{this._stateScriptData(g);break}case st.PLAINTEXT:{this._statePlaintext(g);break}case st.TAG_OPEN:{this._stateTagOpen(g);break}case st.END_TAG_OPEN:{this._stateEndTagOpen(g);break}case st.TAG_NAME:{this._stateTagName(g);break}case st.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(g);break}case st.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(g);break}case st.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(g);break}case st.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(g);break}case st.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(g);break}case st.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(g);break}case st.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(g);break}case st.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(g);break}case st.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(g);break}case st.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(g);break}case st.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(g);break}case st.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(g);break}case st.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(g);break}case st.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(g);break}case st.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(g);break}case st.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(g);break}case st.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(g);break}case st.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(g);break}case st.ATTRIBUTE_NAME:{this._stateAttributeName(g);break}case st.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(g);break}case st.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(g);break}case st.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(g);break}case st.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(g);break}case st.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(g);break}case st.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(g);break}case st.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(g);break}case st.BOGUS_COMMENT:{this._stateBogusComment(g);break}case st.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(g);break}case st.COMMENT_START:{this._stateCommentStart(g);break}case st.COMMENT_START_DASH:{this._stateCommentStartDash(g);break}case st.COMMENT:{this._stateComment(g);break}case st.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(g);break}case st.COMMENT_END_DASH:{this._stateCommentEndDash(g);break}case st.COMMENT_END:{this._stateCommentEnd(g);break}case st.COMMENT_END_BANG:{this._stateCommentEndBang(g);break}case st.DOCTYPE:{this._stateDoctype(g);break}case st.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(g);break}case st.DOCTYPE_NAME:{this._stateDoctypeName(g);break}case st.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(g);break}case st.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(g);break}case st.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(g);break}case st.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(g);break}case st.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(g);break}case st.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(g);break}case st.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(g);break}case st.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(g);break}case st.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(g);break}case st.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(g);break}case st.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(g);break}case st.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(g);break}case st.BOGUS_DOCTYPE:{this._stateBogusDoctype(g);break}case st.CDATA_SECTION:{this._stateCdataSection(g);break}case st.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(g);break}case st.CDATA_SECTION_END:{this._stateCdataSectionEnd(g);break}case st.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case st.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(g);break}default:throw new Error("Unknown state")}}_stateData(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.TAG_OPEN;break}case ze.AMPERSAND:{this._startCharacterReference();break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this._emitCodePoint(g);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateRcdata(g){switch(g){case ze.AMPERSAND:{this._startCharacterReference();break}case ze.LESS_THAN_SIGN:{this.state=st.RCDATA_LESS_THAN_SIGN;break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this._emitChars(tn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateRawtext(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.RAWTEXT_LESS_THAN_SIGN;break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this._emitChars(tn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateScriptData(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.SCRIPT_DATA_LESS_THAN_SIGN;break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this._emitChars(tn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_statePlaintext(g){switch(g){case ze.NULL:{this._err(ln.unexpectedNullCharacter),this._emitChars(tn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateTagOpen(g){if(J(g))this._createStartTagToken(),this.state=st.TAG_NAME,this._stateTagName(g);else switch(g){case ze.EXCLAMATION_MARK:{this.state=st.MARKUP_DECLARATION_OPEN;break}case ze.SOLIDUS:{this.state=st.END_TAG_OPEN;break}case ze.QUESTION_MARK:{this._err(ln.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=st.BOGUS_COMMENT,this._stateBogusComment(g);break}case ze.EOF:{this._err(ln.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ln.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=st.DATA,this._stateData(g)}}_stateEndTagOpen(g){if(J(g))this._createEndTagToken(),this.state=st.TAG_NAME,this._stateTagName(g);else switch(g){case ze.GREATER_THAN_SIGN:{this._err(ln.missingEndTagName),this.state=st.DATA;break}case ze.EOF:{this._err(ln.eofBeforeTagName),this._emitChars("");break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this.state=st.SCRIPT_DATA_ESCAPED,this._emitChars(tn);break}case ze.EOF:{this._err(ln.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=st.SCRIPT_DATA_ESCAPED,this._emitCodePoint(g)}}_stateScriptDataEscapedLessThanSign(g){g===ze.SOLIDUS?this.state=st.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:J(g)?(this._emitChars("<"),this.state=st.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(g)):(this._emitChars("<"),this.state=st.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(g))}_stateScriptDataEscapedEndTagOpen(g){J(g)?(this.state=st.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(g)):(this._emitChars("");break}case ze.NULL:{this._err(ln.unexpectedNullCharacter),this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(tn);break}case ze.EOF:{this._err(ln.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(g)}}_stateScriptDataDoubleEscapedLessThanSign(g){g===ze.SOLIDUS?(this.state=st.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(g))}_stateScriptDataDoubleEscapeEnd(g){if(this.preprocessor.startsWith(Un.SCRIPT,!1)&&Et(this.preprocessor.peek(Un.SCRIPT.length))){this._emitCodePoint(g);for(let K=0;K0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(g,!0)}replace(g,K){const tt=this._indexOf(g);this.items[tt]=K,tt===this.stackTop&&(this.current=K)}insertAfter(g,K,tt){const mn=this._indexOf(g)+1;this.items.splice(mn,0,K),this.tagIDs.splice(mn,0,tt),this.stackTop++,mn===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,mn===this.stackTop)}popUntilTagNamePopped(g){let K=this.stackTop+1;do K=this.tagIDs.lastIndexOf(g,K-1);while(K>0&&this.treeAdapter.getNamespaceURI(this.items[K])!==ot.HTML);this.shortenToLength(K<0?0:K)}shortenToLength(g){for(;this.stackTop>=g;){const K=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(K,this.stackTop=0;tt--)if(g.has(this.tagIDs[tt])&&this.treeAdapter.getNamespaceURI(this.items[tt])===K)return tt;return-1}clearBackTo(g,K){const tt=this._indexOfTagNames(g,K);this.shortenToLength(tt+1)}clearBackToTableContext(){this.clearBackTo(Ri,ot.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Jt,ot.HTML)}clearBackToTableRowContext(){this.clearBackTo(Jr,ot.HTML)}remove(g){const K=this._indexOf(g);K>=0&&(K===this.stackTop?this.pop():(this.items.splice(K,1),this.tagIDs.splice(K,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(g,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===L.BODY?this.items[1]:null}contains(g){return this._indexOf(g)>-1}getCommonAncestor(g){const K=this._indexOf(g)-1;return K>=0?this.items[K]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===L.HTML}hasInDynamicScope(g,K){for(let tt=this.stackTop;tt>=0;tt--){const mn=this.tagIDs[tt];switch(this.treeAdapter.getNamespaceURI(this.items[tt])){case ot.HTML:{if(mn===g)return!0;if(K.has(mn))return!1;break}case ot.SVG:{if(It.has(mn))return!1;break}case ot.MATHML:{if(Yr.has(mn))return!1;break}}}return!0}hasInScope(g){return this.hasInDynamicScope(g,Ei)}hasInListItemScope(g){return this.hasInDynamicScope(g,Zt)}hasInButtonScope(g){return this.hasInDynamicScope(g,Pi)}hasNumberedHeaderInScope(){for(let g=this.stackTop;g>=0;g--){const K=this.tagIDs[g];switch(this.treeAdapter.getNamespaceURI(this.items[g])){case ot.HTML:{if(Cn.has(K))return!0;if(Ei.has(K))return!1;break}case ot.SVG:{if(It.has(K))return!1;break}case ot.MATHML:{if(Yr.has(K))return!1;break}}}return!0}hasInTableScope(g){for(let K=this.stackTop;K>=0;K--)if(this.treeAdapter.getNamespaceURI(this.items[K])===ot.HTML)switch(this.tagIDs[K]){case g:return!0;case L.TABLE:case L.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let g=this.stackTop;g>=0;g--)if(this.treeAdapter.getNamespaceURI(this.items[g])===ot.HTML)switch(this.tagIDs[g]){case L.TBODY:case L.THEAD:case L.TFOOT:return!0;case L.TABLE:case L.HTML:return!1}return!0}hasInSelectScope(g){for(let K=this.stackTop;K>=0;K--)if(this.treeAdapter.getNamespaceURI(this.items[K])===ot.HTML)switch(this.tagIDs[K]){case g:return!0;case L.OPTION:case L.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;_i.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Xt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(g){for(;this.currentTagId!==g&&Xt.has(this.currentTagId);)this.pop()}}const ar=3;var Kn;(function(d){d[d.Marker=0]="Marker",d[d.Element=1]="Element"})(Kn||(Kn={}));const he={type:Kn.Marker};class vr{constructor(g){this.treeAdapter=g,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(g,K){const tt=[],mn=K.length,Zn=this.treeAdapter.getTagName(g),Ti=this.treeAdapter.getNamespaceURI(g);for(let Tr=0;Tr[Ti.name,Ti.value]));let Zn=0;for(let Ti=0;Timn.get(Ur.name)===Ur.value)&&(Zn+=1,Zn>=ar&&this.entries.splice(Tr.idx,1))}}insertMarker(){this.entries.unshift(he)}pushElement(g,K){this._ensureNoahArkCondition(g),this.entries.unshift({type:Kn.Element,element:g,token:K})}insertElementAfterBookmark(g,K){const tt=this.entries.indexOf(this.bookmark);this.entries.splice(tt,0,{type:Kn.Element,element:g,token:K})}removeEntry(g){const K=this.entries.indexOf(g);K>=0&&this.entries.splice(K,1)}clearToLastMarker(){const g=this.entries.indexOf(he);g>=0?this.entries.splice(0,g+1):this.entries.length=0}getElementEntryInScopeWithTagName(g){const K=this.entries.find(tt=>tt.type===Kn.Marker||this.treeAdapter.getTagName(tt.element)===g);return K&&K.type===Kn.Element?K:null}getElementEntry(g){return this.entries.find(K=>K.type===Kn.Element&&K.element===g)}}const Cr={createDocument(){return{nodeName:"#document",mode:vt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(d,g,K){return{nodeName:d,tagName:d,attrs:K,namespaceURI:g,childNodes:[],parentNode:null}},createCommentNode(d){return{nodeName:"#comment",data:d,parentNode:null}},createTextNode(d){return{nodeName:"#text",value:d,parentNode:null}},appendChild(d,g){d.childNodes.push(g),g.parentNode=d},insertBefore(d,g,K){const tt=d.childNodes.indexOf(K);d.childNodes.splice(tt,0,g),g.parentNode=d},setTemplateContent(d,g){d.content=g},getTemplateContent(d){return d.content},setDocumentType(d,g,K,tt){const mn=d.childNodes.find(Zn=>Zn.nodeName==="#documentType");if(mn)mn.name=g,mn.publicId=K,mn.systemId=tt;else{const Zn={nodeName:"#documentType",name:g,publicId:K,systemId:tt,parentNode:null};Cr.appendChild(d,Zn)}},setDocumentMode(d,g){d.mode=g},getDocumentMode(d){return d.mode},detachNode(d){if(d.parentNode){const g=d.parentNode.childNodes.indexOf(d);d.parentNode.childNodes.splice(g,1),d.parentNode=null}},insertText(d,g){if(d.childNodes.length>0){const K=d.childNodes[d.childNodes.length-1];if(Cr.isTextNode(K)){K.value+=g;return}}Cr.appendChild(d,Cr.createTextNode(g))},insertTextBefore(d,g,K){const tt=d.childNodes[d.childNodes.indexOf(K)-1];tt&&Cr.isTextNode(tt)?tt.value+=g:Cr.insertBefore(d,Cr.createTextNode(g),K)},adoptAttributes(d,g){const K=new Set(d.attrs.map(tt=>tt.name));for(let tt=0;ttd.startsWith(K))}function to(d){return d.name===dr&&d.publicId===null&&(d.systemId===null||d.systemId===Br)}function Fo(d){if(d.name!==dr)return vt.QUIRKS;const{systemId:g}=d;if(g&&g.toLowerCase()===Ji)return vt.QUIRKS;let{publicId:K}=d;if(K!==null){if(K=K.toLowerCase(),cr.has(K))return vt.QUIRKS;let tt=g===null?Mi:Fi;if(Gr(K,tt))return vt.QUIRKS;if(tt=g===null?Ki:Rr,Gr(K,tt))return vt.LIMITED_QUIRKS}return vt.NO_QUIRKS}const fi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ma="definitionurl",jo="definitionURL",da=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(d=>[d.toLowerCase(),d])),Ta=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ot.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ot.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ot.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ot.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ot.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ot.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ot.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ot.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ot.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ot.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ot.XMLNS}]]),Ya=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(d=>[d.toLowerCase(),d])),ns=new Set([L.B,L.BIG,L.BLOCKQUOTE,L.BODY,L.BR,L.CENTER,L.CODE,L.DD,L.DIV,L.DL,L.DT,L.EM,L.EMBED,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HR,L.I,L.IMG,L.LI,L.LISTING,L.MENU,L.META,L.NOBR,L.OL,L.P,L.PRE,L.RUBY,L.S,L.SMALL,L.SPAN,L.STRONG,L.STRIKE,L.SUB,L.SUP,L.TABLE,L.TT,L.U,L.UL,L.VAR]);function Na(d){const g=d.tagID;return g===L.FONT&&d.attrs.some(({name:tt})=>tt===un.COLOR||tt===un.SIZE||tt===un.FACE)||ns.has(g)}function cs(d){for(let g=0;g0&&this._setContextModes(g,K)}onItemPop(g,K){var tt,mn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(g,this.currentToken),(mn=(tt=this.treeAdapter).onItemPop)===null||mn===void 0||mn.call(tt,g,this.openElements.current),K){let Zn,Ti;this.openElements.stackTop===0&&this.fragmentContext?(Zn=this.fragmentContext,Ti=this.fragmentContextID):{current:Zn,currentTagId:Ti}=this.openElements,this._setContextModes(Zn,Ti)}}_setContextModes(g,K){const tt=g===this.document||this.treeAdapter.getNamespaceURI(g)===ot.HTML;this.currentNotInHTML=!tt,this.tokenizer.inForeignNode=!tt&&!this._isIntegrationPoint(K,g)}_switchToTextParsing(g,K){this._insertElement(g,ot.HTML),this.tokenizer.state=K,this.originalInsertionMode=this.insertionMode,this.insertionMode=Mt.TEXT}switchToPlaintextParsing(){this.insertionMode=Mt.TEXT,this.originalInsertionMode=Mt.IN_BODY,this.tokenizer.state=Li.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let g=this.fragmentContext;for(;g;){if(this.treeAdapter.getTagName(g)===je.FORM){this.formElement=g;break}g=this.treeAdapter.getParentNode(g)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ot.HTML))switch(this.fragmentContextID){case L.TITLE:case L.TEXTAREA:{this.tokenizer.state=Li.RCDATA;break}case L.STYLE:case L.XMP:case L.IFRAME:case L.NOEMBED:case L.NOFRAMES:case L.NOSCRIPT:{this.tokenizer.state=Li.RAWTEXT;break}case L.SCRIPT:{this.tokenizer.state=Li.SCRIPT_DATA;break}case L.PLAINTEXT:{this.tokenizer.state=Li.PLAINTEXT;break}default:}}_setDocumentType(g){const K=g.name||"",tt=g.publicId||"",mn=g.systemId||"";if(this.treeAdapter.setDocumentType(this.document,K,tt,mn),g.location){const Ti=this.treeAdapter.getChildNodes(this.document).find(Tr=>this.treeAdapter.isDocumentTypeNode(Tr));Ti&&this.treeAdapter.setNodeSourceCodeLocation(Ti,g.location)}}_attachElementToTree(g,K){if(this.options.sourceCodeLocationInfo){const tt=K&&cd(Uo({},K),{startTag:K});this.treeAdapter.setNodeSourceCodeLocation(g,tt)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(g);else{const tt=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(tt,g)}}_appendElement(g,K){const tt=this.treeAdapter.createElement(g.tagName,K,g.attrs);this._attachElementToTree(tt,g.location)}_insertElement(g,K){const tt=this.treeAdapter.createElement(g.tagName,K,g.attrs);this._attachElementToTree(tt,g.location),this.openElements.push(tt,g.tagID)}_insertFakeElement(g,K){const tt=this.treeAdapter.createElement(g,ot.HTML,[]);this._attachElementToTree(tt,null),this.openElements.push(tt,K)}_insertTemplate(g){const K=this.treeAdapter.createElement(g.tagName,ot.HTML,g.attrs),tt=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(K,tt),this._attachElementToTree(K,g.location),this.openElements.push(K,g.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(tt,null)}_insertFakeRootElement(){const g=this.treeAdapter.createElement(je.HTML,ot.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(g,null),this.treeAdapter.appendChild(this.openElements.current,g),this.openElements.push(g,L.HTML)}_appendCommentNode(g,K){const tt=this.treeAdapter.createCommentNode(g.data);this.treeAdapter.appendChild(K,tt),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(tt,g.location)}_insertCharacters(g){let K,tt;if(this._shouldFosterParentOnInsertion()?({parent:K,beforeElement:tt}=this._findFosterParentingLocation(),tt?this.treeAdapter.insertTextBefore(K,g.chars,tt):this.treeAdapter.insertText(K,g.chars)):(K=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(K,g.chars)),!g.location)return;const mn=this.treeAdapter.getChildNodes(K),Zn=tt?mn.lastIndexOf(tt):mn.length,Ti=mn[Zn-1];if(this.treeAdapter.getNodeSourceCodeLocation(Ti)){const{endLine:Ur,endCol:Kr,endOffset:Ra}=g.location;this.treeAdapter.updateNodeSourceCodeLocation(Ti,{endLine:Ur,endCol:Kr,endOffset:Ra})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ti,g.location)}_adoptNodes(g,K){for(let tt=this.treeAdapter.getFirstChild(g);tt;tt=this.treeAdapter.getFirstChild(g))this.treeAdapter.detachNode(tt),this.treeAdapter.appendChild(K,tt)}_setEndLocation(g,K){if(this.treeAdapter.getNodeSourceCodeLocation(g)&&K.location){const tt=K.location,mn=this.treeAdapter.getTagName(g),Zn=K.type===ti.END_TAG&&mn===K.tagName?{endTag:Uo({},tt),endLine:tt.endLine,endCol:tt.endCol,endOffset:tt.endOffset}:{endLine:tt.startLine,endCol:tt.startCol,endOffset:tt.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(g,Zn)}}shouldProcessStartTagTokenInForeignContent(g){if(!this.currentNotInHTML)return!1;let K,tt;return this.openElements.stackTop===0&&this.fragmentContext?(K=this.fragmentContext,tt=this.fragmentContextID):{current:K,currentTagId:tt}=this.openElements,g.tagID===L.SVG&&this.treeAdapter.getTagName(K)===je.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(K)===ot.MATHML?!1:this.tokenizer.inForeignNode||(g.tagID===L.MGLYPH||g.tagID===L.MALIGNMARK)&&!this._isIntegrationPoint(tt,K,ot.HTML)}_processToken(g){switch(g.type){case ti.CHARACTER:{this.onCharacter(g);break}case ti.NULL_CHARACTER:{this.onNullCharacter(g);break}case ti.COMMENT:{this.onComment(g);break}case ti.DOCTYPE:{this.onDoctype(g);break}case ti.START_TAG:{this._processStartTag(g);break}case ti.END_TAG:{this.onEndTag(g);break}case ti.EOF:{this.onEof(g);break}case ti.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(g);break}}}_isIntegrationPoint(g,K,tt){const mn=this.treeAdapter.getNamespaceURI(K),Zn=this.treeAdapter.getAttrList(K);return ol(g,mn,Zn,tt)}_reconstructActiveFormattingElements(){const g=this.activeFormattingElements.entries.length;if(g){const K=this.activeFormattingElements.entries.findIndex(mn=>mn.type===Kn.Marker||this.openElements.contains(mn.element)),tt=K<0?g-1:K-1;for(let mn=tt;mn>=0;mn--){const Zn=this.activeFormattingElements.entries[mn];this._insertElement(Zn.token,this.treeAdapter.getNamespaceURI(Zn.element)),Zn.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Mt.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(L.P),this.openElements.popUntilTagNamePopped(L.P)}_resetInsertionMode(){for(let g=this.openElements.stackTop;g>=0;g--)switch(g===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[g]){case L.TR:{this.insertionMode=Mt.IN_ROW;return}case L.TBODY:case L.THEAD:case L.TFOOT:{this.insertionMode=Mt.IN_TABLE_BODY;return}case L.CAPTION:{this.insertionMode=Mt.IN_CAPTION;return}case L.COLGROUP:{this.insertionMode=Mt.IN_COLUMN_GROUP;return}case L.TABLE:{this.insertionMode=Mt.IN_TABLE;return}case L.BODY:{this.insertionMode=Mt.IN_BODY;return}case L.FRAMESET:{this.insertionMode=Mt.IN_FRAMESET;return}case L.SELECT:{this._resetInsertionModeForSelect(g);return}case L.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case L.HTML:{this.insertionMode=this.headElement?Mt.AFTER_HEAD:Mt.BEFORE_HEAD;return}case L.TD:case L.TH:{if(g>0){this.insertionMode=Mt.IN_CELL;return}break}case L.HEAD:{if(g>0){this.insertionMode=Mt.IN_HEAD;return}break}}this.insertionMode=Mt.IN_BODY}_resetInsertionModeForSelect(g){if(g>0)for(let K=g-1;K>0;K--){const tt=this.openElements.tagIDs[K];if(tt===L.TEMPLATE)break;if(tt===L.TABLE){this.insertionMode=Mt.IN_SELECT_IN_TABLE;return}}this.insertionMode=Mt.IN_SELECT}_isElementCausesFosterParenting(g){return po.has(g)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let g=this.openElements.stackTop;g>=0;g--){const K=this.openElements.items[g];switch(this.openElements.tagIDs[g]){case L.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(K)===ot.HTML)return{parent:this.treeAdapter.getTemplateContent(K),beforeElement:null};break}case L.TABLE:{const tt=this.treeAdapter.getParentNode(K);return tt?{parent:tt,beforeElement:K}:{parent:this.openElements.items[g-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(g){const K=this._findFosterParentingLocation();K.beforeElement?this.treeAdapter.insertBefore(K.parent,g,K.beforeElement):this.treeAdapter.appendChild(K.parent,g)}_isSpecialElement(g,K){const tt=this.treeAdapter.getNamespaceURI(g);return vn[tt].has(K)}onCharacter(g){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){E(this,g);return}switch(this.insertionMode){case Mt.INITIAL:{Yo(this,g);break}case Mt.BEFORE_HTML:{al(this,g);break}case Mt.BEFORE_HEAD:{Ho(this,g);break}case Mt.IN_HEAD:{Oa(this,g);break}case Mt.IN_HEAD_NO_SCRIPT:{js(this,g);break}case Mt.AFTER_HEAD:{as(this,g);break}case Mt.IN_BODY:case Mt.IN_CAPTION:case Mt.IN_CELL:case Mt.IN_TEMPLATE:{Vi(this,g);break}case Mt.TEXT:case Mt.IN_SELECT:case Mt.IN_SELECT_IN_TABLE:{this._insertCharacters(g);break}case Mt.IN_TABLE:case Mt.IN_TABLE_BODY:case Mt.IN_ROW:{Mr(this,g);break}case Mt.IN_TABLE_TEXT:{tu(this,g);break}case Mt.IN_COLUMN_GROUP:{pu(this,g);break}case Mt.AFTER_BODY:{zn(this,g);break}case Mt.AFTER_AFTER_BODY:{ji(this,g);break}default:}}onNullCharacter(g){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Gi(this,g);return}switch(this.insertionMode){case Mt.INITIAL:{Yo(this,g);break}case Mt.BEFORE_HTML:{al(this,g);break}case Mt.BEFORE_HEAD:{Ho(this,g);break}case Mt.IN_HEAD:{Oa(this,g);break}case Mt.IN_HEAD_NO_SCRIPT:{js(this,g);break}case Mt.AFTER_HEAD:{as(this,g);break}case Mt.TEXT:{this._insertCharacters(g);break}case Mt.IN_TABLE:case Mt.IN_TABLE_BODY:case Mt.IN_ROW:{Mr(this,g);break}case Mt.IN_COLUMN_GROUP:{pu(this,g);break}case Mt.AFTER_BODY:{zn(this,g);break}case Mt.AFTER_AFTER_BODY:{ji(this,g);break}default:}}onComment(g){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ns(this,g);return}switch(this.insertionMode){case Mt.INITIAL:case Mt.BEFORE_HTML:case Mt.BEFORE_HEAD:case Mt.IN_HEAD:case Mt.IN_HEAD_NO_SCRIPT:case Mt.AFTER_HEAD:case Mt.IN_BODY:case Mt.IN_TABLE:case Mt.IN_CAPTION:case Mt.IN_COLUMN_GROUP:case Mt.IN_TABLE_BODY:case Mt.IN_ROW:case Mt.IN_CELL:case Mt.IN_SELECT:case Mt.IN_SELECT_IN_TABLE:case Mt.IN_TEMPLATE:case Mt.IN_FRAMESET:case Mt.AFTER_FRAMESET:{Ns(this,g);break}case Mt.IN_TABLE_TEXT:{vl(this,g);break}case Mt.AFTER_BODY:{si(this,g);break}case Mt.AFTER_AFTER_BODY:case Mt.AFTER_AFTER_FRAMESET:{Hi(this,g);break}default:}}onDoctype(g){switch(this.skipNextNewLine=!1,this.insertionMode){case Mt.INITIAL:{As(this,g);break}case Mt.BEFORE_HEAD:case Mt.IN_HEAD:case Mt.IN_HEAD_NO_SCRIPT:case Mt.AFTER_HEAD:{this._err(g,ln.misplacedDoctype);break}case Mt.IN_TABLE_TEXT:{vl(this,g);break}default:}}onStartTag(g){this.skipNextNewLine=!1,this.currentToken=g,this._processStartTag(g),g.selfClosing&&!g.ackSelfClosing&&this._err(g,ln.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(g){this.shouldProcessStartTagTokenInForeignContent(g)?W(this,g):this._startTagOutsideForeignContent(g)}_startTagOutsideForeignContent(g){switch(this.insertionMode){case Mt.INITIAL:{Yo(this,g);break}case Mt.BEFORE_HTML:{rs(this,g);break}case Mt.BEFORE_HEAD:{Ds(this,g);break}case Mt.IN_HEAD:{os(this,g);break}case Mt.IN_HEAD_NO_SCRIPT:{ml(this,g);break}case Mt.AFTER_HEAD:{wu(this,g);break}case Mt.IN_BODY:{xo(this,g);break}case Mt.IN_TABLE:{Qs(this,g);break}case Mt.IN_TABLE_TEXT:{vl(this,g);break}case Mt.IN_CAPTION:{Js(this,g);break}case Mt.IN_COLUMN_GROUP:{Zs(this,g);break}case Mt.IN_TABLE_BODY:{Tu(this,g);break}case Mt.IN_ROW:{ll(this,g);break}case Mt.IN_CELL:{Vl(this,g);break}case Mt.IN_SELECT:{Ee(this,g);break}case Mt.IN_SELECT_IN_TABLE:{ht(this,g);break}case Mt.IN_TEMPLATE:{Bt(this,g);break}case Mt.AFTER_BODY:{yn(this,g);break}case Mt.IN_FRAMESET:{$n(this,g);break}case Mt.AFTER_FRAMESET:{gi(this,g);break}case Mt.AFTER_AFTER_BODY:{ei(this,g);break}case Mt.AFTER_AFTER_FRAMESET:{ci(this,g);break}default:}}onEndTag(g){this.skipNextNewLine=!1,this.currentToken=g,this.currentNotInHTML?q(this,g):this._endTagOutsideForeignContent(g)}_endTagOutsideForeignContent(g){switch(this.insertionMode){case Mt.INITIAL:{Yo(this,g);break}case Mt.BEFORE_HTML:{Dr(this,g);break}case Mt.BEFORE_HEAD:{Ps(this,g);break}case Mt.IN_HEAD:{Ol(this,g);break}case Mt.IN_HEAD_NO_SCRIPT:{Xo(this,g);break}case Mt.AFTER_HEAD:{Ll(this,g);break}case Mt.IN_BODY:{na(this,g);break}case Mt.TEXT:{_o(this,g);break}case Mt.IN_TABLE:{ko(this,g);break}case Mt.IN_TABLE_TEXT:{vl(this,g);break}case Mt.IN_CAPTION:{Wl(this,g);break}case Mt.IN_COLUMN_GROUP:{fu(this,g);break}case Mt.IN_TABLE_BODY:{Nu(this,g);break}case Mt.IN_ROW:{vs(this,g);break}case Mt.IN_CELL:{zu(this,g);break}case Mt.IN_SELECT:{Le(this,g);break}case Mt.IN_SELECT_IN_TABLE:{bt(this,g);break}case Mt.IN_TEMPLATE:{Rt(this,g);break}case Mt.AFTER_BODY:{sn(this,g);break}case Mt.IN_FRAMESET:{jn(this,g);break}case Mt.AFTER_FRAMESET:{yi(this,g);break}case Mt.AFTER_AFTER_BODY:{ji(this,g);break}default:}}onEof(g){switch(this.insertionMode){case Mt.INITIAL:{Yo(this,g);break}case Mt.BEFORE_HTML:{al(this,g);break}case Mt.BEFORE_HEAD:{Ho(this,g);break}case Mt.IN_HEAD:{Oa(this,g);break}case Mt.IN_HEAD_NO_SCRIPT:{js(this,g);break}case Mt.AFTER_HEAD:{as(this,g);break}case Mt.IN_BODY:case Mt.IN_TABLE:case Mt.IN_CAPTION:case Mt.IN_COLUMN_GROUP:case Mt.IN_TABLE_BODY:case Mt.IN_ROW:case Mt.IN_CELL:case Mt.IN_SELECT:case Mt.IN_SELECT_IN_TABLE:{wa(this,g);break}case Mt.TEXT:{du(this,g);break}case Mt.IN_TABLE_TEXT:{vl(this,g);break}case Mt.IN_TEMPLATE:{ve(this,g);break}case Mt.AFTER_BODY:case Mt.IN_FRAMESET:case Mt.AFTER_FRAMESET:case Mt.AFTER_AFTER_BODY:case Mt.AFTER_AFTER_FRAMESET:{ea(this,g);break}default:}}onWhitespaceCharacter(g){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,g.chars.charCodeAt(0)===ze.LINE_FEED)){if(g.chars.length===1)return;g.chars=g.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(g);return}switch(this.insertionMode){case Mt.IN_HEAD:case Mt.IN_HEAD_NO_SCRIPT:case Mt.AFTER_HEAD:case Mt.TEXT:case Mt.IN_COLUMN_GROUP:case Mt.IN_SELECT:case Mt.IN_SELECT_IN_TABLE:case Mt.IN_FRAMESET:case Mt.AFTER_FRAMESET:{this._insertCharacters(g);break}case Mt.IN_BODY:case Mt.IN_CAPTION:case Mt.IN_CELL:case Mt.IN_TEMPLATE:case Mt.AFTER_BODY:case Mt.AFTER_AFTER_BODY:case Mt.AFTER_AFTER_FRAMESET:{Gs(this,g);break}case Mt.IN_TABLE:case Mt.IN_TABLE_BODY:case Mt.IN_ROW:{Mr(this,g);break}case Mt.IN_TABLE_TEXT:{dc(this,g);break}default:}}}function Sn(d,g){let K=d.activeFormattingElements.getElementEntryInScopeWithTagName(g.tagName);return K?d.openElements.contains(K.element)?d.openElements.hasInScope(g.tagID)||(K=null):(d.activeFormattingElements.removeEntry(K),K=null):Jo(d,g),K}function hr(d,g){let K=null,tt=d.openElements.stackTop;for(;tt>=0;tt--){const mn=d.openElements.items[tt];if(mn===g.element)break;d._isSpecialElement(mn,d.openElements.tagIDs[tt])&&(K=mn)}return K||(d.openElements.shortenToLength(tt<0?0:tt),d.activeFormattingElements.removeEntry(g)),K}function mi(d,g,K){let tt=g,mn=d.openElements.getCommonAncestor(g);for(let Zn=0,Ti=mn;Ti!==K;Zn++,Ti=mn){mn=d.openElements.getCommonAncestor(Ti);const Tr=d.activeFormattingElements.getElementEntry(Ti),Ur=Tr&&Zn>=vo;!Tr||Ur?(Ur&&d.activeFormattingElements.removeEntry(Tr),d.openElements.remove(Ti)):(Ti=Vo(d,Tr),tt===g&&(d.activeFormattingElements.bookmark=Tr),d.treeAdapter.detachNode(tt),d.treeAdapter.appendChild(Ti,tt),tt=Ti)}return tt}function Vo(d,g){const K=d.treeAdapter.getNamespaceURI(g.element),tt=d.treeAdapter.createElement(g.token.tagName,K,g.token.attrs);return d.openElements.replace(g.element,tt),g.element=tt,tt}function ga(d,g,K){const tt=d.treeAdapter.getTagName(g),mn=Qt(tt);if(d._isElementCausesFosterParenting(mn))d._fosterParentElement(K);else{const Zn=d.treeAdapter.getNamespaceURI(g);mn===L.TEMPLATE&&Zn===ot.HTML&&(g=d.treeAdapter.getTemplateContent(g)),d.treeAdapter.appendChild(g,K)}}function is(d,g,K){const tt=d.treeAdapter.getNamespaceURI(K.element),{token:mn}=K,Zn=d.treeAdapter.createElement(mn.tagName,tt,mn.attrs);d._adoptNodes(g,Zn),d.treeAdapter.appendChild(g,Zn),d.activeFormattingElements.insertElementAfterBookmark(Zn,mn),d.activeFormattingElements.removeEntry(K),d.openElements.remove(K.element),d.openElements.insertAfter(g,Zn,mn.tagID)}function Rs(d,g){for(let K=0;K=K;tt--)d._setEndLocation(d.openElements.items[tt],g);if(!d.fragmentContext&&d.openElements.stackTop>=0){const tt=d.openElements.items[0],mn=d.treeAdapter.getNodeSourceCodeLocation(tt);if(mn&&!mn.endTag&&(d._setEndLocation(tt,g),d.openElements.stackTop>=1)){const Zn=d.openElements.items[1],Ti=d.treeAdapter.getNodeSourceCodeLocation(Zn);Ti&&!Ti.endTag&&d._setEndLocation(Zn,g)}}}}function As(d,g){d._setDocumentType(g);const K=g.forceQuirks?vt.QUIRKS:Fo(g);to(g)||d._err(g,ln.nonConformingDoctype),d.treeAdapter.setDocumentMode(d.document,K),d.insertionMode=Mt.BEFORE_HTML}function Yo(d,g){d._err(g,ln.missingDoctype,!0),d.treeAdapter.setDocumentMode(d.document,vt.QUIRKS),d.insertionMode=Mt.BEFORE_HTML,d._processToken(g)}function rs(d,g){g.tagID===L.HTML?(d._insertElement(g,ot.HTML),d.insertionMode=Mt.BEFORE_HEAD):al(d,g)}function Dr(d,g){const K=g.tagID;(K===L.HTML||K===L.HEAD||K===L.BODY||K===L.BR)&&al(d,g)}function al(d,g){d._insertFakeRootElement(),d.insertionMode=Mt.BEFORE_HEAD,d._processToken(g)}function Ds(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.HEAD:{d._insertElement(g,ot.HTML),d.headElement=d.openElements.current,d.insertionMode=Mt.IN_HEAD;break}default:Ho(d,g)}}function Ps(d,g){const K=g.tagID;K===L.HEAD||K===L.BODY||K===L.HTML||K===L.BR?Ho(d,g):d._err(g,ln.endTagWithoutMatchingOpenElement)}function Ho(d,g){d._insertFakeElement(je.HEAD,L.HEAD),d.headElement=d.openElements.current,d.insertionMode=Mt.IN_HEAD,d._processToken(g)}function os(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:{d._appendElement(g,ot.HTML),g.ackSelfClosing=!0;break}case L.TITLE:{d._switchToTextParsing(g,Li.RCDATA);break}case L.NOSCRIPT:{d.options.scriptingEnabled?d._switchToTextParsing(g,Li.RAWTEXT):(d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_HEAD_NO_SCRIPT);break}case L.NOFRAMES:case L.STYLE:{d._switchToTextParsing(g,Li.RAWTEXT);break}case L.SCRIPT:{d._switchToTextParsing(g,Li.SCRIPT_DATA);break}case L.TEMPLATE:{d._insertTemplate(g),d.activeFormattingElements.insertMarker(),d.framesetOk=!1,d.insertionMode=Mt.IN_TEMPLATE,d.tmplInsertionModeStack.unshift(Mt.IN_TEMPLATE);break}case L.HEAD:{d._err(g,ln.misplacedStartTagForHeadElement);break}default:Oa(d,g)}}function Ol(d,g){switch(g.tagID){case L.HEAD:{d.openElements.pop(),d.insertionMode=Mt.AFTER_HEAD;break}case L.BODY:case L.BR:case L.HTML:{Oa(d,g);break}case L.TEMPLATE:{Xa(d,g);break}default:d._err(g,ln.endTagWithoutMatchingOpenElement)}}function Xa(d,g){d.openElements.tmplCount>0?(d.openElements.generateImpliedEndTagsThoroughly(),d.openElements.currentTagId!==L.TEMPLATE&&d._err(g,ln.closingOfElementWithOpenChildElements),d.openElements.popUntilTagNamePopped(L.TEMPLATE),d.activeFormattingElements.clearToLastMarker(),d.tmplInsertionModeStack.shift(),d._resetInsertionMode()):d._err(g,ln.endTagWithoutMatchingOpenElement)}function Oa(d,g){d.openElements.pop(),d.insertionMode=Mt.AFTER_HEAD,d._processToken(g)}function ml(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.BASEFONT:case L.BGSOUND:case L.HEAD:case L.LINK:case L.META:case L.NOFRAMES:case L.STYLE:{os(d,g);break}case L.NOSCRIPT:{d._err(g,ln.nestedNoscriptInHead);break}default:js(d,g)}}function Xo(d,g){switch(g.tagID){case L.NOSCRIPT:{d.openElements.pop(),d.insertionMode=Mt.IN_HEAD;break}case L.BR:{js(d,g);break}default:d._err(g,ln.endTagWithoutMatchingOpenElement)}}function js(d,g){const K=g.type===ti.EOF?ln.openElementsLeftAfterEof:ln.disallowedContentInNoscriptInHead;d._err(g,K),d.openElements.pop(),d.insertionMode=Mt.IN_HEAD,d._processToken(g)}function wu(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.BODY:{d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=Mt.IN_BODY;break}case L.FRAMESET:{d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_FRAMESET;break}case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:case L.NOFRAMES:case L.SCRIPT:case L.STYLE:case L.TEMPLATE:case L.TITLE:{d._err(g,ln.abandonedHeadElementChild),d.openElements.push(d.headElement,L.HEAD),os(d,g),d.openElements.remove(d.headElement);break}case L.HEAD:{d._err(g,ln.misplacedStartTagForHeadElement);break}default:as(d,g)}}function Ll(d,g){switch(g.tagID){case L.BODY:case L.HTML:case L.BR:{as(d,g);break}case L.TEMPLATE:{Xa(d,g);break}default:d._err(g,ln.endTagWithoutMatchingOpenElement)}}function as(d,g){d._insertFakeElement(je.BODY,L.BODY),d.insertionMode=Mt.IN_BODY,Fa(d,g)}function Fa(d,g){switch(g.type){case ti.CHARACTER:{Vi(d,g);break}case ti.WHITESPACE_CHARACTER:{Gs(d,g);break}case ti.COMMENT:{Ns(d,g);break}case ti.START_TAG:{xo(d,g);break}case ti.END_TAG:{na(d,g);break}case ti.EOF:{wa(d,g);break}default:}}function Gs(d,g){d._reconstructActiveFormattingElements(),d._insertCharacters(g)}function Vi(d,g){d._reconstructActiveFormattingElements(),d._insertCharacters(g),d.framesetOk=!1}function ks(d,g){d.openElements.tmplCount===0&&d.treeAdapter.adoptAttributes(d.openElements.items[0],g.attrs)}function Rl(d,g){const K=d.openElements.tryPeekProperlyNestedBodyElement();K&&d.openElements.tmplCount===0&&(d.framesetOk=!1,d.treeAdapter.adoptAttributes(K,g.attrs))}function Wr(d,g){const K=d.openElements.tryPeekProperlyNestedBodyElement();d.framesetOk&&K&&(d.treeAdapter.detachNode(K),d.openElements.popAllUpToHtmlElement(),d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_FRAMESET)}function wo(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML)}function fa(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),Cn.has(d.openElements.currentTagId)&&d.openElements.pop(),d._insertElement(g,ot.HTML)}function oa(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.skipNextNewLine=!0,d.framesetOk=!1}function ro(d,g){const K=d.openElements.tmplCount>0;(!d.formElement||K)&&(d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),K||(d.formElement=d.openElements.current))}function aa(d,g){d.framesetOk=!1;const K=g.tagID;for(let tt=d.openElements.stackTop;tt>=0;tt--){const mn=d.openElements.tagIDs[tt];if(K===L.LI&&mn===L.LI||(K===L.DD||K===L.DT)&&(mn===L.DD||mn===L.DT)){d.openElements.generateImpliedEndTagsWithExclusion(mn),d.openElements.popUntilTagNamePopped(mn);break}if(mn!==L.ADDRESS&&mn!==L.DIV&&mn!==L.P&&d._isSpecialElement(d.openElements.items[tt],mn))break}d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML)}function va(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.tokenizer.state=Li.PLAINTEXT}function La(d,g){d.openElements.hasInScope(L.BUTTON)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(L.BUTTON)),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.framesetOk=!1}function Aa(d,g){const K=d.activeFormattingElements.getElementEntryInScopeWithTagName(je.A);K&&(Rs(d,g),d.openElements.remove(K.element),d.activeFormattingElements.removeEntry(K)),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function Gl(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function Ys(d,g){d._reconstructActiveFormattingElements(),d.openElements.hasInScope(L.NOBR)&&(Rs(d,g),d._reconstructActiveFormattingElements()),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function ka(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.insertMarker(),d.framesetOk=!1}function hc(d,g){d.treeAdapter.getDocumentMode(d.document)!==vt.QUIRKS&&d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=Mt.IN_TABLE}function Zu(d,g){d._reconstructActiveFormattingElements(),d._appendElement(g,ot.HTML),d.framesetOk=!1,g.ackSelfClosing=!0}function uu(d){const g=Nr(d,un.TYPE);return g!=null&&g.toLowerCase()===fo}function sr(d,g){d._reconstructActiveFormattingElements(),d._appendElement(g,ot.HTML),uu(g)||(d.framesetOk=!1),g.ackSelfClosing=!0}function Ws(d,g){d._appendElement(g,ot.HTML),g.ackSelfClosing=!0}function qe(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._appendElement(g,ot.HTML),d.framesetOk=!1,g.ackSelfClosing=!0}function Pn(d,g){g.tagName=je.IMG,g.tagID=L.IMG,Zu(d,g)}function Cu(d,g){d._insertElement(g,ot.HTML),d.skipNextNewLine=!0,d.tokenizer.state=Li.RCDATA,d.originalInsertionMode=d.insertionMode,d.framesetOk=!1,d.insertionMode=Mt.TEXT}function Yu(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._reconstructActiveFormattingElements(),d.framesetOk=!1,d._switchToTextParsing(g,Li.RAWTEXT)}function Dl(d,g){d.framesetOk=!1,d._switchToTextParsing(g,Li.RAWTEXT)}function Pl(d,g){d._switchToTextParsing(g,Li.RAWTEXT)}function gl(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=d.insertionMode===Mt.IN_TABLE||d.insertionMode===Mt.IN_CAPTION||d.insertionMode===Mt.IN_TABLE_BODY||d.insertionMode===Mt.IN_ROW||d.insertionMode===Mt.IN_CELL?Mt.IN_SELECT_IN_TABLE:Mt.IN_SELECT}function Xu(d,g){d.openElements.currentTagId===L.OPTION&&d.openElements.pop(),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML)}function cu(d,g){d.openElements.hasInScope(L.RUBY)&&d.openElements.generateImpliedEndTags(),d._insertElement(g,ot.HTML)}function Ia(d,g){d.openElements.hasInScope(L.RUBY)&&d.openElements.generateImpliedEndTagsWithExclusion(L.RTC),d._insertElement(g,ot.HTML)}function Lr(d,g){d._reconstructActiveFormattingElements(),cs(g),Go(g),g.selfClosing?d._appendElement(g,ot.MATHML):d._insertElement(g,ot.MATHML),g.ackSelfClosing=!0}function Fs(d,g){d._reconstructActiveFormattingElements(),Za(g),Go(g),g.selfClosing?d._appendElement(g,ot.SVG):d._insertElement(g,ot.SVG),g.ackSelfClosing=!0}function gs(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML)}function xo(d,g){switch(g.tagID){case L.I:case L.S:case L.B:case L.U:case L.EM:case L.TT:case L.BIG:case L.CODE:case L.FONT:case L.SMALL:case L.STRIKE:case L.STRONG:{Gl(d,g);break}case L.A:{Aa(d,g);break}case L.H1:case L.H2:case L.H3:case L.H4:case L.H5:case L.H6:{fa(d,g);break}case L.P:case L.DL:case L.OL:case L.UL:case L.DIV:case L.DIR:case L.NAV:case L.MAIN:case L.MENU:case L.ASIDE:case L.CENTER:case L.FIGURE:case L.FOOTER:case L.HEADER:case L.HGROUP:case L.DIALOG:case L.DETAILS:case L.ADDRESS:case L.ARTICLE:case L.SEARCH:case L.SECTION:case L.SUMMARY:case L.FIELDSET:case L.BLOCKQUOTE:case L.FIGCAPTION:{wo(d,g);break}case L.LI:case L.DD:case L.DT:{aa(d,g);break}case L.BR:case L.IMG:case L.WBR:case L.AREA:case L.EMBED:case L.KEYGEN:{Zu(d,g);break}case L.HR:{qe(d,g);break}case L.RB:case L.RTC:{cu(d,g);break}case L.RT:case L.RP:{Ia(d,g);break}case L.PRE:case L.LISTING:{oa(d,g);break}case L.XMP:{Yu(d,g);break}case L.SVG:{Fs(d,g);break}case L.HTML:{ks(d,g);break}case L.BASE:case L.LINK:case L.META:case L.STYLE:case L.TITLE:case L.SCRIPT:case L.BGSOUND:case L.BASEFONT:case L.TEMPLATE:{os(d,g);break}case L.BODY:{Rl(d,g);break}case L.FORM:{ro(d,g);break}case L.NOBR:{Ys(d,g);break}case L.MATH:{Lr(d,g);break}case L.TABLE:{hc(d,g);break}case L.INPUT:{sr(d,g);break}case L.PARAM:case L.TRACK:case L.SOURCE:{Ws(d,g);break}case L.IMAGE:{Pn(d,g);break}case L.BUTTON:{La(d,g);break}case L.APPLET:case L.OBJECT:case L.MARQUEE:{ka(d,g);break}case L.IFRAME:{Dl(d,g);break}case L.SELECT:{gl(d,g);break}case L.OPTION:case L.OPTGROUP:{Xu(d,g);break}case L.NOEMBED:case L.NOFRAMES:{Pl(d,g);break}case L.FRAMESET:{Wr(d,g);break}case L.TEXTAREA:{Cu(d,g);break}case L.NOSCRIPT:{d.options.scriptingEnabled?Pl(d,g):gs(d,g);break}case L.PLAINTEXT:{va(d,g);break}case L.COL:case L.TH:case L.TD:case L.TR:case L.HEAD:case L.FRAME:case L.TBODY:case L.TFOOT:case L.THEAD:case L.CAPTION:case L.COLGROUP:break;default:gs(d,g)}}function so(d,g){if(d.openElements.hasInScope(L.BODY)&&(d.insertionMode=Mt.AFTER_BODY,d.options.sourceCodeLocationInfo)){const K=d.openElements.tryPeekProperlyNestedBodyElement();K&&d._setEndLocation(K,g)}}function Ha(d,g){d.openElements.hasInScope(L.BODY)&&(d.insertionMode=Mt.AFTER_BODY,sn(d,g))}function Vs(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(K))}function sa(d){const g=d.openElements.tmplCount>0,{formElement:K}=d;g||(d.formElement=null),(K||g)&&d.openElements.hasInScope(L.FORM)&&(d.openElements.generateImpliedEndTags(),g?d.openElements.popUntilTagNamePopped(L.FORM):K&&d.openElements.remove(K))}function Ks(d){d.openElements.hasInButtonScope(L.P)||d._insertFakeElement(je.P,L.P),d._closePElement()}function ss(d){d.openElements.hasInListItemScope(L.LI)&&(d.openElements.generateImpliedEndTagsWithExclusion(L.LI),d.openElements.popUntilTagNamePopped(L.LI))}function hu(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTagsWithExclusion(K),d.openElements.popUntilTagNamePopped(K))}function Bo(d){d.openElements.hasNumberedHeaderInScope()&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilNumberedHeaderPopped())}function Es(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(K),d.activeFormattingElements.clearToLastMarker())}function So(d){d._reconstructActiveFormattingElements(),d._insertFakeElement(je.BR,L.BR),d.openElements.pop(),d.framesetOk=!1}function Jo(d,g){const K=g.tagName,tt=g.tagID;for(let mn=d.openElements.stackTop;mn>0;mn--){const Zn=d.openElements.items[mn],Ti=d.openElements.tagIDs[mn];if(tt===Ti&&(tt!==L.UNKNOWN||d.treeAdapter.getTagName(Zn)===K)){d.openElements.generateImpliedEndTagsWithExclusion(tt),d.openElements.stackTop>=mn&&d.openElements.shortenToLength(mn);break}if(d._isSpecialElement(Zn,Ti))break}}function na(d,g){switch(g.tagID){case L.A:case L.B:case L.I:case L.S:case L.U:case L.EM:case L.TT:case L.BIG:case L.CODE:case L.FONT:case L.NOBR:case L.SMALL:case L.STRIKE:case L.STRONG:{Rs(d,g);break}case L.P:{Ks(d);break}case L.DL:case L.UL:case L.OL:case L.DIR:case L.DIV:case L.NAV:case L.PRE:case L.MAIN:case L.MENU:case L.ASIDE:case L.BUTTON:case L.CENTER:case L.FIGURE:case L.FOOTER:case L.HEADER:case L.HGROUP:case L.DIALOG:case L.ADDRESS:case L.ARTICLE:case L.DETAILS:case L.SEARCH:case L.SECTION:case L.SUMMARY:case L.LISTING:case L.FIELDSET:case L.BLOCKQUOTE:case L.FIGCAPTION:{Vs(d,g);break}case L.LI:{ss(d);break}case L.DD:case L.DT:{hu(d,g);break}case L.H1:case L.H2:case L.H3:case L.H4:case L.H5:case L.H6:{Bo(d);break}case L.BR:{So(d);break}case L.BODY:{so(d,g);break}case L.HTML:{Ha(d,g);break}case L.FORM:{sa(d);break}case L.APPLET:case L.OBJECT:case L.MARQUEE:{Es(d,g);break}case L.TEMPLATE:{Xa(d,g);break}default:Jo(d,g)}}function wa(d,g){d.tmplInsertionModeStack.length>0?ve(d,g):ea(d,g)}function _o(d,g){var K;g.tagID===L.SCRIPT&&((K=d.scriptHandler)===null||K===void 0||K.call(d,d.openElements.current)),d.openElements.pop(),d.insertionMode=d.originalInsertionMode}function du(d,g){d._err(g,ln.eofInElementThatCanContainOnlyText),d.openElements.pop(),d.insertionMode=d.originalInsertionMode,d.onEof(g)}function Mr(d,g){if(po.has(d.openElements.currentTagId))switch(d.pendingCharacterTokens.length=0,d.hasNonWhitespacePendingCharacterToken=!1,d.originalInsertionMode=d.insertionMode,d.insertionMode=Mt.IN_TABLE_TEXT,g.type){case ti.CHARACTER:{tu(d,g);break}case ti.WHITESPACE_CHARACTER:{dc(d,g);break}}else Bs(d,g)}function sl(d,g){d.openElements.clearBackToTableContext(),d.activeFormattingElements.insertMarker(),d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_CAPTION}function Co(d,g){d.openElements.clearBackToTableContext(),d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_COLUMN_GROUP}function Qu(d,g){d.openElements.clearBackToTableContext(),d._insertFakeElement(je.COLGROUP,L.COLGROUP),d.insertionMode=Mt.IN_COLUMN_GROUP,Zs(d,g)}function Ju(d,g){d.openElements.clearBackToTableContext(),d._insertElement(g,ot.HTML),d.insertionMode=Mt.IN_TABLE_BODY}function qu(d,g){d.openElements.clearBackToTableContext(),d._insertFakeElement(je.TBODY,L.TBODY),d.insertionMode=Mt.IN_TABLE_BODY,Tu(d,g)}function wc(d,g){d.openElements.hasInTableScope(L.TABLE)&&(d.openElements.popUntilTagNamePopped(L.TABLE),d._resetInsertionMode(),d._processStartTag(g))}function _u(d,g){uu(g)?d._appendElement(g,ot.HTML):Bs(d,g),g.ackSelfClosing=!0}function Xs(d,g){!d.formElement&&d.openElements.tmplCount===0&&(d._insertElement(g,ot.HTML),d.formElement=d.openElements.current,d.openElements.pop())}function Qs(d,g){switch(g.tagID){case L.TD:case L.TH:case L.TR:{qu(d,g);break}case L.STYLE:case L.SCRIPT:case L.TEMPLATE:{os(d,g);break}case L.COL:{Qu(d,g);break}case L.FORM:{Xs(d,g);break}case L.TABLE:{wc(d,g);break}case L.TBODY:case L.TFOOT:case L.THEAD:{Ju(d,g);break}case L.INPUT:{_u(d,g);break}case L.CAPTION:{sl(d,g);break}case L.COLGROUP:{Co(d,g);break}default:Bs(d,g)}}function ko(d,g){switch(g.tagID){case L.TABLE:{d.openElements.hasInTableScope(L.TABLE)&&(d.openElements.popUntilTagNamePopped(L.TABLE),d._resetInsertionMode());break}case L.TEMPLATE:{Xa(d,g);break}case L.BODY:case L.CAPTION:case L.COL:case L.COLGROUP:case L.HTML:case L.TBODY:case L.TD:case L.TFOOT:case L.TH:case L.THEAD:case L.TR:break;default:Bs(d,g)}}function Bs(d,g){const K=d.fosterParentingEnabled;d.fosterParentingEnabled=!0,Fa(d,g),d.fosterParentingEnabled=K}function dc(d,g){d.pendingCharacterTokens.push(g)}function tu(d,g){d.pendingCharacterTokens.push(g),d.hasNonWhitespacePendingCharacterToken=!0}function vl(d,g){let K=0;if(d.hasNonWhitespacePendingCharacterToken)for(;K0&&d.openElements.currentTagId===L.OPTION&&d.openElements.tagIDs[d.openElements.stackTop-1]===L.OPTGROUP&&d.openElements.pop(),d.openElements.currentTagId===L.OPTGROUP&&d.openElements.pop();break}case L.OPTION:{d.openElements.currentTagId===L.OPTION&&d.openElements.pop();break}case L.SELECT:{d.openElements.hasInSelectScope(L.SELECT)&&(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode());break}case L.TEMPLATE:{Xa(d,g);break}default:}}function ht(d,g){const K=g.tagID;K===L.CAPTION||K===L.TABLE||K===L.TBODY||K===L.TFOOT||K===L.THEAD||K===L.TR||K===L.TD||K===L.TH?(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode(),d._processStartTag(g)):Ee(d,g)}function bt(d,g){const K=g.tagID;K===L.CAPTION||K===L.TABLE||K===L.TBODY||K===L.TFOOT||K===L.THEAD||K===L.TR||K===L.TD||K===L.TH?d.openElements.hasInTableScope(K)&&(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode(),d.onEndTag(g)):Le(d,g)}function Bt(d,g){switch(g.tagID){case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:case L.NOFRAMES:case L.SCRIPT:case L.STYLE:case L.TEMPLATE:case L.TITLE:{os(d,g);break}case L.CAPTION:case L.COLGROUP:case L.TBODY:case L.TFOOT:case L.THEAD:{d.tmplInsertionModeStack[0]=Mt.IN_TABLE,d.insertionMode=Mt.IN_TABLE,Qs(d,g);break}case L.COL:{d.tmplInsertionModeStack[0]=Mt.IN_COLUMN_GROUP,d.insertionMode=Mt.IN_COLUMN_GROUP,Zs(d,g);break}case L.TR:{d.tmplInsertionModeStack[0]=Mt.IN_TABLE_BODY,d.insertionMode=Mt.IN_TABLE_BODY,Tu(d,g);break}case L.TD:case L.TH:{d.tmplInsertionModeStack[0]=Mt.IN_ROW,d.insertionMode=Mt.IN_ROW,ll(d,g);break}default:d.tmplInsertionModeStack[0]=Mt.IN_BODY,d.insertionMode=Mt.IN_BODY,xo(d,g)}}function Rt(d,g){g.tagID===L.TEMPLATE&&Xa(d,g)}function ve(d,g){d.openElements.tmplCount>0?(d.openElements.popUntilTagNamePopped(L.TEMPLATE),d.activeFormattingElements.clearToLastMarker(),d.tmplInsertionModeStack.shift(),d._resetInsertionMode(),d.onEof(g)):ea(d,g)}function yn(d,g){g.tagID===L.HTML?xo(d,g):zn(d,g)}function sn(d,g){var K;if(g.tagID===L.HTML){if(d.fragmentContext||(d.insertionMode=Mt.AFTER_AFTER_BODY),d.options.sourceCodeLocationInfo&&d.openElements.tagIDs[0]===L.HTML){d._setEndLocation(d.openElements.items[0],g);const tt=d.openElements.items[1];tt&&!(!((K=d.treeAdapter.getNodeSourceCodeLocation(tt))===null||K===void 0)&&K.endTag)&&d._setEndLocation(tt,g)}}else zn(d,g)}function zn(d,g){d.insertionMode=Mt.IN_BODY,Fa(d,g)}function $n(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.FRAMESET:{d._insertElement(g,ot.HTML);break}case L.FRAME:{d._appendElement(g,ot.HTML),g.ackSelfClosing=!0;break}case L.NOFRAMES:{os(d,g);break}default:}}function jn(d,g){g.tagID===L.FRAMESET&&!d.openElements.isRootHtmlElementCurrent()&&(d.openElements.pop(),!d.fragmentContext&&d.openElements.currentTagId!==L.FRAMESET&&(d.insertionMode=Mt.AFTER_FRAMESET))}function gi(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.NOFRAMES:{os(d,g);break}default:}}function yi(d,g){g.tagID===L.HTML&&(d.insertionMode=Mt.AFTER_AFTER_FRAMESET)}function ei(d,g){g.tagID===L.HTML?xo(d,g):ji(d,g)}function ji(d,g){d.insertionMode=Mt.IN_BODY,Fa(d,g)}function ci(d,g){switch(g.tagID){case L.HTML:{xo(d,g);break}case L.NOFRAMES:{os(d,g);break}default:}}function Gi(d,g){g.chars=tn,d._insertCharacters(g)}function E(d,g){d._insertCharacters(g),d.framesetOk=!1}function B(d){for(;d.treeAdapter.getNamespaceURI(d.openElements.current)!==ot.HTML&&!d._isIntegrationPoint(d.openElements.currentTagId,d.openElements.current);)d.openElements.pop()}function W(d,g){if(Na(g))B(d),d._startTagOutsideForeignContent(g);else{const K=d._getAdjustedCurrentElement(),tt=d.treeAdapter.getNamespaceURI(K);tt===ot.MATHML?cs(g):tt===ot.SVG&&(Wt(g),Za(g)),Go(g),g.selfClosing?d._appendElement(g,tt):d._insertElement(g,tt),g.ackSelfClosing=!0}}function q(d,g){if(g.tagID===L.P||g.tagID===L.BR){B(d),d._endTagOutsideForeignContent(g);return}for(let K=d.openElements.stackTop;K>0;K--){const tt=d.openElements.items[K];if(d.treeAdapter.getNamespaceURI(tt)===ot.HTML){d._endTagOutsideForeignContent(g);break}const mn=d.treeAdapter.getTagName(tt);if(mn.toLowerCase()===g.tagName){g.tagName=mn,d.openElements.shortenToLength(K);break}}}const pe=/["&'<>$\x80-\uFFFF]/g,Ce=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),$e=String.prototype.codePointAt!=null?(d,g)=>d.codePointAt(g):(d,g)=>(d.charCodeAt(g)&64512)===55296?(d.charCodeAt(g)-55296)*1024+d.charCodeAt(g+1)-56320+65536:d.charCodeAt(g);function it(d){let g="",K=0,tt;for(;(tt=pe.exec(d))!==null;){const mn=tt.index,Zn=d.charCodeAt(mn),Ti=Ce.get(Zn);Ti!==void 0?(g+=d.substring(K,mn)+Ti,K=mn+1):(g+=`${d.substring(K,mn)}&#x${$e(d,mn).toString(16)};`,K=pe.lastIndex+=+((Zn&64512)===55296))}return g+d.substr(K)}const $t=null;function Dt(d,g){return function(tt){let mn,Zn=0,Ti="";for(;mn=d.exec(tt);)Zn!==mn.index&&(Ti+=tt.substring(Zn,mn.index)),Ti+=g.get(mn[0].charCodeAt(0)),Zn=mn.index+1;return Ti+tt.substring(Zn)}}const ft=Dt(/[&<>'"]/g,Ce),Yt=Dt(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),en=Dt(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),_t=new Set([je.AREA,je.BASE,je.BASEFONT,je.BGSOUND,je.BR,je.COL,je.EMBED,je.FRAME,je.HR,je.IMG,je.INPUT,je.KEYGEN,je.LINK,je.META,je.PARAM,je.SOURCE,je.TRACK,je.WBR]);function Si(d,g){return g.treeAdapter.isElementNode(d)&&g.treeAdapter.getNamespaceURI(d)===NS.HTML&&_t.has(g.treeAdapter.getTagName(d))}const li={treeAdapter:Cr,scriptingEnabled:!0};function lr(d,g){const K=Uo(Uo({},li),g);return Si(d,K)?"":Or(d,K)}function Ni(d,g){const K=Uo(Uo({},li),g);return Zi(d,K)}function Or(d,g){let K="";const tt=g.treeAdapter.isElementNode(d)&&g.treeAdapter.getTagName(d)===$.TEMPLATE&&g.treeAdapter.getNamespaceURI(d)===NS.HTML?g.treeAdapter.getTemplateContent(d):d,mn=g.treeAdapter.getChildNodes(tt);if(mn)for(const Zn of mn)K+=Zi(Zn,g);return K}function Zi(d,g){return g.treeAdapter.isElementNode(d)?oo(d,g):g.treeAdapter.isTextNode(d)?ii(d,g):g.treeAdapter.isCommentNode(d)?qi(d,g):g.treeAdapter.isDocumentTypeNode(d)?Xr(d,g):""}function oo(d,g){const K=g.treeAdapter.getTagName(d);return`<${K}${lo(d,g)}>${Si(d,g)?"":`${Or(d,g)}`}`}function lo(d,{treeAdapter:g}){let K="";for(const tt of g.getAttrList(d)){if(K+=" ",tt.namespace)switch(tt.namespace){case NS.XML:{K+=`xml:${tt.name}`;break}case NS.XMLNS:{tt.name!=="xmlns"&&(K+="xmlns:"),K+=tt.name;break}case NS.XLINK:{K+=`xlink:${tt.name}`;break}default:K+=`${tt.prefix}:${tt.name}`}else K+=tt.name;K+=`="${escapeAttribute(tt.value)}"`}return K}function ii(d,g){const{treeAdapter:K}=g,tt=K.getTextNodeContent(d),mn=K.getParentNode(d),Zn=mn&&K.isElementNode(mn)&&K.getTagName(mn);return Zn&&K.getNamespaceURI(mn)===NS.HTML&&hasUnescapedText(Zn,g.scriptingEnabled)?tt:escapeText(tt)}function qi(d,{treeAdapter:g}){return``}function Xr(d,{treeAdapter:g}){return``}function qr(d,g){return Parser.parse(d,g)}function io(d,g,K){typeof d=="string"&&(K=g,g=d,d=null);const tt=Parser.getFragmentParser(d,K);return tt.tokenizer.write(g,!0),tt.getFragment()}var Io=h(17970),ir=h(10528);const Oi=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Yi=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Di={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vr(d,g){const K=To(d),tt=_e("type",{handlers:{root:_r,element:uo,text:rn,comment:wn,doctype:ya,raw:mo},unknown:_a}),mn={parser:K?new xr(Di):xr.getFragmentParser(void 0,Di),handle(Tr){tt(Tr,mn)},stitches:!1,options:g||{}};tt(d,mn),la(mn,(0,Io.Pk)());const Zn=K?mn.parser.document:mn.parser.getFragment(),Ti=we(Zn,{file:mn.options.file});return mn.stitches&&(0,ir.Vn)(Ti,"comment",function(Tr,Ur,Kr){const Ra=Tr;if(Ra.value.stitch&&Kr&&Ur!==void 0){const xa=Kr.children;return xa[Ur]=Ra.value.stitch,Ur}}),Ti.type==="root"&&Ti.children.length===1&&Ti.children[0].type===d.type?Ti.children[0]:Ti}function Xi(d,g){let K=-1;if(d)for(;++K4&&(g.parser.tokenizer.state=0);const K={type:ti.CHARACTER,chars:d.value,location:Mo(d)};la(g,(0,Io.Pk)(d)),g.parser.currentToken=K,g.parser._processToken(g.parser.currentToken)}function ya(d,g){const K={type:ti.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Mo(d)};la(g,(0,Io.Pk)(d)),g.parser.currentToken=K,g.parser._processToken(g.parser.currentToken)}function ba(d,g){g.stitches=!0;const K=ia(d);if("children"in d&&"children"in K){const tt=Vr({type:"root",children:d.children},g.options);K.children=tt.children}wn({type:"comment",value:{stitch:K}},g)}function wn(d,g){const K=d.value,tt={type:ti.COMMENT,data:K,location:Mo(d)};la(g,(0,Io.Pk)(d)),g.parser.currentToken=tt,g.parser._processToken(g.parser.currentToken)}function mo(d,g){if(g.parser.tokenizer.preprocessor.html="",g.parser.tokenizer.preprocessor.pos=-1,g.parser.tokenizer.preprocessor.lastGapPos=-2,g.parser.tokenizer.preprocessor.gapStack=[],g.parser.tokenizer.preprocessor.skipNextNewLine=!1,g.parser.tokenizer.preprocessor.lastChunkWritten=!1,g.parser.tokenizer.preprocessor.endOfChunkHit=!1,g.parser.tokenizer.preprocessor.isEol=!1,za(g,(0,Io.Pk)(d)),g.parser.tokenizer.write(g.options.tagfilter?d.value.replace(Oi,"<$1$2"):d.value,!1),g.parser.tokenizer._runParsingLoop(),g.parser.tokenizer.state===72||g.parser.tokenizer.state===78){g.parser.tokenizer.preprocessor.lastChunkWritten=!0;const K=g.parser.tokenizer._consume();g.parser.tokenizer._callState(K)}}function _a(d,g){const K=d;if(g.options.passThrough&&g.options.passThrough.includes(K.type))ba(K,g);else{let tt="";throw Yi.has(K.type)&&(tt=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+K.type+"` node"+tt)}}function la(d,g){za(d,g);const K=d.parser.tokenizer.currentCharacterToken;K&&K.location&&(K.location.endLine=d.parser.tokenizer.preprocessor.line,K.location.endCol=d.parser.tokenizer.preprocessor.col+1,K.location.endOffset=d.parser.tokenizer.preprocessor.offset+1,d.parser.currentToken=K,d.parser._processToken(d.parser.currentToken)),d.parser.tokenizer.paused=!1,d.parser.tokenizer.inLoop=!1,d.parser.tokenizer.active=!1,d.parser.tokenizer.returnState=Li.DATA,d.parser.tokenizer.charRefCode=-1,d.parser.tokenizer.consumedAfterSnapshot=-1,d.parser.tokenizer.currentLocation=null,d.parser.tokenizer.currentCharacterToken=null,d.parser.tokenizer.currentToken=null,d.parser.tokenizer.currentAttr={name:"",value:""}}function za(d,g){if(g&&g.offset!==void 0){const K={startLine:g.line,startCol:g.column,startOffset:g.offset,endLine:-1,endCol:-1,endOffset:-1};d.parser.tokenizer.preprocessor.lineStartPos=-g.column+1,d.parser.tokenizer.preprocessor.droppedBufferSize=g.offset,d.parser.tokenizer.preprocessor.line=g.line,d.parser.tokenizer.currentLocation=K}}function $a(d,g){const K=d.tagName.toLowerCase();if(g.parser.tokenizer.state===Li.PLAINTEXT)return;la(g,(0,Io.Pk)(d));const tt=g.parser.openElements.current;let mn="namespaceURI"in tt?tt.namespaceURI:ce.t.html;mn===ce.t.html&&K==="svg"&&(mn=ce.t.svg);const Zn=gt(cd(Uo({},d),{children:[]}),{space:mn===ce.t.svg?"svg":"html"}),Ti={type:ti.START_TAG,tagName:K,tagID:Qt(K),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in Zn?Zn.attrs:[],location:Mo(d)};g.parser.currentToken=Ti,g.parser._processToken(g.parser.currentToken),g.parser.tokenizer.lastStartTagName=K}function Ro(d,g){const K=d.tagName.toLowerCase();if(!g.parser.tokenizer.inForeignNode&&zt.includes(K)||g.parser.tokenizer.state===Li.PLAINTEXT)return;la(g,(0,Io.rb)(d));const tt={type:ti.END_TAG,tagName:K,tagID:Qt(K),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Mo(d)};g.parser.currentToken=tt,g.parser._processToken(g.parser.currentToken),K===g.parser.tokenizer.lastStartTagName&&(g.parser.tokenizer.state===Li.RCDATA||g.parser.tokenizer.state===Li.RAWTEXT||g.parser.tokenizer.state===Li.SCRIPT_DATA)&&(g.parser.tokenizer.state=Li.DATA)}function To(d){const g=d.type==="root"?d.children[0]:d;return!!(g&&(g.type==="doctype"||g.type==="element"&&g.tagName.toLowerCase()==="html"))}function Mo(d){const g=(0,Io.Pk)(d)||{line:void 0,column:void 0,offset:void 0},K=(0,Io.rb)(d)||{line:void 0,column:void 0,offset:void 0};return{startLine:g.line,startCol:g.column,startOffset:g.offset,endLine:K.line,endCol:K.column,endOffset:K.offset}}function ia(d){return"children"in d?(0,I.ZP)(cd(Uo({},d),{children:[]})):(0,I.ZP)(d)}function ja(d){return function(g,K){return Vr(g,cd(Uo({},d),{file:K}))}}},30084:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ae}});var v=h(87342);function I(Re,fe){const me=String(Re);let xe=me.indexOf(fe),ge=xe,ke=0,ee=0;if(typeof fe!="string")throw new TypeError("Expected substring");for(;xe!==-1;)xe===ge?++ke>ee&&(ee=ke):ke=1,ge=xe+fe.length,xe=me.indexOf(fe,ge);return ee}function O(){return{enter:{mathFlow:Re,mathFlowFenceMeta:fe,mathText:ke},exit:{mathFlow:ge,mathFlowFence:xe,mathFlowFenceMeta:me,mathFlowValue:Ne,mathText:ee,mathTextData:Ne}};function Re(Ie){const Fe={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[Fe]}},Ie)}function fe(){this.buffer()}function me(){const Ie=this.resume(),Fe=this.stack[this.stack.length-1];(0,v.ok)(Fe.type==="math"),Fe.meta=Ie}function xe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function ge(Ie){const Fe=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),Xe=this.stack[this.stack.length-1];(0,v.ok)(Xe.type==="math"),this.exit(Ie),Xe.value=Fe;const Ye=Xe.data.hChildren[0];(0,v.ok)(Ye.type==="element"),(0,v.ok)(Ye.tagName==="code"),Ye.children.push({type:"text",value:Fe}),this.data.mathFlowInside=void 0}function ke(Ie){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},Ie),this.buffer()}function ee(Ie){const Fe=this.resume(),Xe=this.stack[this.stack.length-1];(0,v.ok)(Xe.type==="inlineMath"),this.exit(Ie),Xe.value=Fe,Xe.data.hChildren.push({type:"text",value:Fe})}function Ne(Ie){this.config.enter.data.call(this,Ie),this.config.exit.data.call(this,Ie)}}function F(Re){let fe=(Re||{}).singleDollarTextMath;return fe==null&&(fe=!0),xe.peek=ge,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` -`,inConstruct:"mathFlowMeta"},{character:"$",after:fe?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:me,inlineMath:xe}};function me(ke,ee,Ne,Ie){const Fe=ke.value||"",Xe=Ne.createTracker(Ie),Ye="$".repeat(Math.max(I(Fe,"$")+1,2)),ie=Ne.enter("mathFlow");let lt=Xe.move(Ye);if(ke.meta){const We=Ne.enter("mathFlowMeta");lt+=Xe.move(Ne.safe(ke.meta,Uo({after:` -`,before:lt,encode:["$"]},Xe.current()))),We()}return lt+=Xe.move(` -`),Fe&&(lt+=Xe.move(Fe+` -`)),lt+=Xe.move(Ye),ie(),lt}function xe(ke,ee,Ne){let Ie=ke.value||"",Fe=1;for(fe||Fe++;new RegExp("(^|[^$])"+"\\$".repeat(Fe)+"([^$]|$)").test(Ie);)Fe++;const Xe="$".repeat(Fe);/[^ \r\n]/.test(Ie)&&(/^[ \r\n]/.test(Ie)&&/[ \r\n]$/.test(Ie)||/^\$|\$$/.test(Ie))&&(Ie=" "+Ie+" ");let Ye=-1;for(;++Yetypeof ce=="object"&&ce!=null&&ce.nodeType===1,I=(ce,te)=>(!te||ce!=="hidden")&&ce!=="visible"&&ce!=="clip",O=(ce,te)=>{if(ce.clientHeight{const Qe=(Oe=>{if(!Oe.ownerDocument||!Oe.ownerDocument.defaultView)return null;try{return Oe.ownerDocument.defaultView.frameElement}catch(Te){return null}})(we);return!!Qe&&(Qe.clientHeightOete||Oe>ce&&Te=te&&Ae>=Me?Oe-ce-we:Te>te&&AeMe?Te-te+Qe:0,G=ce=>{const te=ce.parentElement;return te==null?ce.getRootNode().host||null:te},P=(ce,te)=>{var Me,we,Qe,Oe;if(typeof document=="undefined")return[];const{scrollMode:Te,block:Ae,inline:Re,boundary:fe,skipOverflowHiddenElements:me}=te,xe=typeof fe=="function"?fe:Vt=>Vt!==fe;if(!v(ce))throw new TypeError("Invalid target");const ge=document.scrollingElement||document.documentElement,ke=[];let ee=ce;for(;v(ee)&&xe(ee);){if(ee=G(ee),ee===ge){ke.push(ee);break}ee!=null&&ee===document.body&&O(ee)&&!O(document.documentElement)||ee!=null&&O(ee,me)&&ke.push(ee)}const Ne=(we=(Me=window.visualViewport)==null?void 0:Me.width)!=null?we:innerWidth,Ie=(Oe=(Qe=window.visualViewport)==null?void 0:Qe.height)!=null?Oe:innerHeight,{scrollX:Fe,scrollY:Xe}=window,{height:Ye,width:ie,top:lt,right:We,bottom:Pt,left:xt}=ce.getBoundingClientRect(),{top:kt,right:wt,bottom:En,left:Je}=(Vt=>{const St=window.getComputedStyle(Vt);return{top:parseFloat(St.scrollMarginTop)||0,right:parseFloat(St.scrollMarginRight)||0,bottom:parseFloat(St.scrollMarginBottom)||0,left:parseFloat(St.scrollMarginLeft)||0}})(ce);let se=Ae==="start"||Ae==="nearest"?lt-kt:Ae==="end"?Pt+En:lt+Ye/2-kt+En,ue=Re==="center"?xt+ie/2-Je+wt:Re==="end"?We+wt:xt-Je;const Ht=[];for(let Vt=0;Vt=0&&xt>=0&&Pt<=Ie&&We<=Ne&&(St===ge&&!O(St)||lt>=ai&&Pt<=ni&&xt>=Jn&&We<=Ln))return Ht;const In=getComputedStyle(St),Mn=parseInt(In.borderLeftWidth,10),re=parseInt(In.borderTopWidth,10),z=parseInt(In.borderRightWidth,10),k=parseInt(In.borderBottomWidth,10);let j=0,X=0;const N="offsetWidth"in St?St.offsetWidth-St.clientWidth-Mn-z:0,_e="offsetHeight"in St?St.offsetHeight-St.clientHeight-re-k:0,Nt="offsetWidth"in St?St.offsetWidth===0?0:Ft/St.offsetWidth:0,He="offsetHeight"in St?St.offsetHeight===0?0:an/St.offsetHeight:0;if(ge===St)j=Ae==="start"?se:Ae==="end"?se-Ie:Ae==="nearest"?F(Xe,Xe+Ie,Ie,re,k,Xe+se,Xe+se+Ye,Ye):se-Ie/2,X=Re==="start"?ue:Re==="center"?ue-Ne/2:Re==="end"?ue-Ne:F(Fe,Fe+Ne,Ne,Mn,z,Fe+ue,Fe+ue+ie,ie),j=Math.max(0,j+Xe),X=Math.max(0,X+Fe);else{j=Ae==="start"?se-ai-re:Ae==="end"?se-ni+k+_e:Ae==="nearest"?F(ai,ni,an,re,k+_e,se,se+Ye,Ye):se-(ai+an/2)+_e/2,X=Re==="start"?ue-Jn-Mn:Re==="center"?ue-(Jn+Ft/2)+N/2:Re==="end"?ue-Ln+z+N:F(Jn,Ln,Ft,Mn,z+N,ue,ue+ie,ie);const{scrollLeft:De,scrollTop:gt}=St;j=He===0?0:Math.max(0,Math.min(gt+j/He,St.scrollHeight-an/He+_e)),X=Nt===0?0:Math.max(0,Math.min(De+X/Nt,St.scrollWidth-Ft/Nt+N)),se+=gt-j,ue+=De-X}Ht.push({el:St,top:j,left:X})}return Ht},M=ce=>ce===!1?{block:"end",inline:"nearest"}:(te=>te===Object(te)&&Object.keys(te).length!==0)(ce)?ce:{block:"start",inline:"nearest"};function de(ce,te){if(!ce.isConnected||!(Qe=>{let Oe=Qe;for(;Oe&&Oe.parentNode;){if(Oe.parentNode===document)return!0;Oe=Oe.parentNode instanceof ShadowRoot?Oe.parentNode.host:Oe.parentNode}return!1})(ce))return;const Me=(Qe=>{const Oe=window.getComputedStyle(Qe);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(ce);if((Qe=>typeof Qe=="object"&&typeof Qe.behavior=="function")(te))return te.behavior(P(ce,te));const we=typeof te=="boolean"||te==null?void 0:te.behavior;for(const{el:Qe,top:Oe,left:Te}of P(ce,M(te))){const Ae=Oe-Me.top+Me.bottom,Re=Te-Me.left+Me.right;Qe.scroll({top:Ae,left:Re,behavior:we})}}},71523:function(Q,C,h){"use strict";h.d(C,{P:function(){return I},Q:function(){return v}});function v(O){const F=String(O||"").trim();return F?F.split(/[ \t\n\r\f]+/g):[]}function I(O){return O.join(" ").trim()}},10502:function(Q,C,h){"use strict";h.d(C,{O:function(){return I}});const v=function(ce,te,Me,we,Qe){const Oe=I(te);if(Me!=null&&(typeof Me!="number"||Me<0||Me===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(we!=null&&(!v(we)||!we.children))throw new Error("Expected parent node");if(we==null!=(Me==null))throw new Error("Expected both parent and index");return de(ce)?Oe.call(Qe,ce,Me,we):!1},I=function(ce){if(ce==null)return M;if(typeof ce=="function")return P(ce);if(typeof ce=="object")return Array.isArray(ce)?O(ce):F(ce);if(typeof ce=="string")return G(ce);throw new Error("Expected function, string, or object as test")};function O(ce){const te=[];let Me=-1;for(;++Me0&&typeof de.column=="number"&&de.column>0)return{line:de.line,column:de.column,offset:typeof de.offset=="number"&&de.offset>-1?de.offset:void 0}}}function F(G){const P=I(G),M=v(G);if(P&&M)return{start:P,end:M}}},2348:function(Q,C,h){"use strict";h.d(C,{AM:function(){return P},S4:function(){return M}});var v=h(10502);function I(ce){return ce}const O=[],F=!0,G=!1,P="skip";function M(ce,te,Me,we){let Qe;typeof te=="function"&&typeof Me!="function"?(we=Me,Me=te):Qe=te;const Oe=(0,v.O)(Qe),Te=we?-1:1;Ae(ce,void 0,[])();function Ae(Re,fe,me){const xe=Re&&typeof Re=="object"?Re:{};if(typeof xe.type=="string"){const ke=typeof xe.tagName=="string"?xe.tagName:typeof xe.name=="string"?xe.name:void 0;Object.defineProperty(ge,"name",{value:"node ("+(Re.type+(ke?"<"+ke+">":""))+")"})}return ge;function ge(){let ke=O,ee,Ne,Ie;if((!te||Oe(Re,fe,me[me.length-1]||void 0))&&(ke=de(Me(Re,me)),ke[0]===G))return ke;if("children"in Re&&Re.children){const Fe=Re;if(Fe.children&&ke[0]!==P)for(Ne=(we?Fe.children.length:-1)+Te,Ie=me.concat(Fe);Ne>-1&&Ne","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(Q){"use strict";Q.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); +?)[ \r ]*`,es="[\u0300-\u036F]",Fo=new RegExp(es+"+$"),qo="("+zr+"+)|"+(Ta+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(es+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(es+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+da)+("|"+un+")");class ta{constructor(m,S){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=m,this.settings=S,this.tokenRegex=new RegExp(qo,"g"),this.catcodes={"%":14,"~":13}}setCatcode(m,S){this.catcodes[m]=S}lex(){var m=this.input,S=this.tokenRegex.lastIndex;if(S===m.length)return new sn("EOF",new St(this,S,S));var D=this.tokenRegex.exec(m);if(D===null||D.index!==S)throw new Ft("Unexpected character: '"+m[S]+"'",new sn(m[S],new St(this,S,S+1)));var Z=D[6]||D[3]||(D[2]?"\\ ":" ");if(this.catcodes[Z]===14){var se=m.indexOf(` +`,this.tokenRegex.lastIndex);return se===-1?(this.tokenRegex.lastIndex=m.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=se+1,this.lex()}return new sn(Z,new St(this,S,this.tokenRegex.lastIndex))}}class ya{constructor(m,S){m===void 0&&(m={}),S===void 0&&(S={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=S,this.builtins=m,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ft("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var m=this.undefStack.pop();for(var S in m)m.hasOwnProperty(S)&&(m[S]==null?delete this.current[S]:this.current[S]=m[S])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(m){return this.current.hasOwnProperty(m)||this.builtins.hasOwnProperty(m)}get(m){return this.current.hasOwnProperty(m)?this.current[m]:this.builtins[m]}set(m,S,D){if(D===void 0&&(D=!1),D){for(var Z=0;Z0&&(this.undefStack[this.undefStack.length-1][m]=S)}else{var se=this.undefStack[this.undefStack.length-1];se&&!se.hasOwnProperty(m)&&(se[m]=this.current[m])}S==null?delete this.current[m]:this.current[m]=S}}var zs=Dt;ve("\\noexpand",function(A){var m=A.popToken();return A.isExpandable(m.text)&&(m.noexpand=!0,m.treatAsRelax=!0),{tokens:[m],numArgs:0}}),ve("\\expandafter",function(A){var m=A.popToken();return A.expandOnce(!0),{tokens:[m],numArgs:0}}),ve("\\@firstoftwo",function(A){var m=A.consumeArgs(2);return{tokens:m[0],numArgs:0}}),ve("\\@secondoftwo",function(A){var m=A.consumeArgs(2);return{tokens:m[1],numArgs:0}}),ve("\\@ifnextchar",function(A){var m=A.consumeArgs(3);A.consumeSpaces();var S=A.future();return m[0].length===1&&m[0][0].text===S.text?{tokens:m[1],numArgs:0}:{tokens:m[2],numArgs:0}}),ve("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ve("\\TextOrMath",function(A){var m=A.consumeArgs(2);return A.mode==="text"?{tokens:m[0],numArgs:0}:{tokens:m[1],numArgs:0}});var ko={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ve("\\char",function(A){var m=A.popToken(),S,D="";if(m.text==="'")S=8,m=A.popToken();else if(m.text==='"')S=16,m=A.popToken();else if(m.text==="`")if(m=A.popToken(),m.text[0]==="\\")D=m.text.charCodeAt(1);else{if(m.text==="EOF")throw new Ft("\\char` missing argument");D=m.text.charCodeAt(0)}else S=10;if(S){if(D=ko[m.text],D==null||D>=S)throw new Ft("Invalid base-"+S+" digit "+m.text);for(var Z;(Z=ko[A.future().text])!=null&&Z{var Z=A.consumeArg().tokens;if(Z.length!==1)throw new Ft("\\newcommand's first argument must be a macro name");var se=Z[0].text,Y=A.isDefined(se);if(Y&&!m)throw new Ft("\\newcommand{"+se+"} attempting to redefine "+(se+"; use \\renewcommand"));if(!Y&&!S)throw new Ft("\\renewcommand{"+se+"} when command "+se+" does not yet exist; use \\newcommand");var ct=0;if(Z=A.consumeArg().tokens,Z.length===1&&Z[0].text==="["){for(var ft="",Sn=A.expandNextToken();Sn.text!=="]"&&Sn.text!=="EOF";)ft+=Sn.text,Sn=A.expandNextToken();if(!ft.match(/^\s*[0-9]+\s*$/))throw new Ft("Invalid number of arguments: "+ft);ct=parseInt(ft),Z=A.consumeArg().tokens}return Y&&D||A.macros.set(se,{tokens:Z,numArgs:ct}),""};ve("\\newcommand",A=>Ho(A,!1,!0,!1)),ve("\\renewcommand",A=>Ho(A,!0,!1,!1)),ve("\\providecommand",A=>Ho(A,!0,!0,!0)),ve("\\message",A=>{var m=A.consumeArgs(1)[0];return console.log(m.reverse().map(S=>S.text).join("")),""}),ve("\\errmessage",A=>{var m=A.consumeArgs(1)[0];return console.error(m.reverse().map(S=>S.text).join("")),""}),ve("\\show",A=>{var m=A.popToken(),S=m.text;return console.log(m,A.macros.get(S),$t[S],zi.math[S],zi.text[S]),""}),ve("\\bgroup","{"),ve("\\egroup","}"),ve("~","\\nobreakspace"),ve("\\lq","`"),ve("\\rq","'"),ve("\\aa","\\r a"),ve("\\AA","\\r A"),ve("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ve("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ve("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ve("\u212C","\\mathscr{B}"),ve("\u2130","\\mathscr{E}"),ve("\u2131","\\mathscr{F}"),ve("\u210B","\\mathscr{H}"),ve("\u2110","\\mathscr{I}"),ve("\u2112","\\mathscr{L}"),ve("\u2133","\\mathscr{M}"),ve("\u211B","\\mathscr{R}"),ve("\u212D","\\mathfrak{C}"),ve("\u210C","\\mathfrak{H}"),ve("\u2128","\\mathfrak{Z}"),ve("\\Bbbk","\\Bbb{k}"),ve("\xB7","\\cdotp"),ve("\\llap","\\mathllap{\\textrm{#1}}"),ve("\\rlap","\\mathrlap{\\textrm{#1}}"),ve("\\clap","\\mathclap{\\textrm{#1}}"),ve("\\mathstrut","\\vphantom{(}"),ve("\\underbar","\\underline{\\text{#1}}"),ve("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ve("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ve("\\ne","\\neq"),ve("\u2260","\\neq"),ve("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ve("\u2209","\\notin"),ve("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ve("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ve("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ve("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ve("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ve("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ve("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ve("\u27C2","\\perp"),ve("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ve("\u220C","\\notni"),ve("\u231C","\\ulcorner"),ve("\u231D","\\urcorner"),ve("\u231E","\\llcorner"),ve("\u231F","\\lrcorner"),ve("\xA9","\\copyright"),ve("\xAE","\\textregistered"),ve("\uFE0F","\\textregistered"),ve("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),ve("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),ve("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),ve("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),ve("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),ve("\u22EE","\\vdots"),ve("\\varGamma","\\mathit{\\Gamma}"),ve("\\varDelta","\\mathit{\\Delta}"),ve("\\varTheta","\\mathit{\\Theta}"),ve("\\varLambda","\\mathit{\\Lambda}"),ve("\\varXi","\\mathit{\\Xi}"),ve("\\varPi","\\mathit{\\Pi}"),ve("\\varSigma","\\mathit{\\Sigma}"),ve("\\varUpsilon","\\mathit{\\Upsilon}"),ve("\\varPhi","\\mathit{\\Phi}"),ve("\\varPsi","\\mathit{\\Psi}"),ve("\\varOmega","\\mathit{\\Omega}"),ve("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ve("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),ve("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ve("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ve("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ve("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),ve("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),ve("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Zo={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ve("\\dots",function(A){var m="\\dotso",S=A.expandAfterFuture().text;return S in Zo?m=Zo[S]:(S.slice(0,4)==="\\not"||S in zi.math&&T.contains(["bin","rel"],zi.math[S].group))&&(m="\\dotsb"),m});var Sa={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ve("\\dotso",function(A){var m=A.future().text;return m in Sa?"\\ldots\\,":"\\ldots"}),ve("\\dotsc",function(A){var m=A.future().text;return m in Sa&&m!==","?"\\ldots\\,":"\\ldots"}),ve("\\cdots",function(A){var m=A.future().text;return m in Sa?"\\@cdots\\,":"\\@cdots"}),ve("\\dotsb","\\cdots"),ve("\\dotsm","\\cdots"),ve("\\dotsi","\\!\\cdots"),ve("\\dotsx","\\ldots\\,"),ve("\\DOTSI","\\relax"),ve("\\DOTSB","\\relax"),ve("\\DOTSX","\\relax"),ve("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ve("\\,","\\tmspace+{3mu}{.1667em}"),ve("\\thinspace","\\,"),ve("\\>","\\mskip{4mu}"),ve("\\:","\\tmspace+{4mu}{.2222em}"),ve("\\medspace","\\:"),ve("\\;","\\tmspace+{5mu}{.2777em}"),ve("\\thickspace","\\;"),ve("\\!","\\tmspace-{3mu}{.1667em}"),ve("\\negthinspace","\\!"),ve("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ve("\\negthickspace","\\tmspace-{5mu}{.277em}"),ve("\\enspace","\\kern.5em "),ve("\\enskip","\\hskip.5em\\relax"),ve("\\quad","\\hskip1em\\relax"),ve("\\qquad","\\hskip2em\\relax"),ve("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ve("\\tag@paren","\\tag@literal{({#1})}"),ve("\\tag@literal",A=>{if(A.macros.get("\\df@tag"))throw new Ft("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ve("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ve("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ve("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ve("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ve("\\newline","\\\\\\relax"),ve("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ha=Lt(no["Main-Regular"][84][1]-.7*no["Main-Regular"][65][1]);ve("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ve("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ve("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ve("\\@hspace","\\hskip #1\\relax"),ve("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ve("\\ordinarycolon",":"),ve("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ve("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ve("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ve("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ve("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ve("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ve("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ve("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ve("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ve("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ve("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ve("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ve("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ve("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ve("\u2237","\\dblcolon"),ve("\u2239","\\eqcolon"),ve("\u2254","\\coloneqq"),ve("\u2255","\\eqqcolon"),ve("\u2A74","\\Coloneqq"),ve("\\ratio","\\vcentcolon"),ve("\\coloncolon","\\dblcolon"),ve("\\colonequals","\\coloneqq"),ve("\\coloncolonequals","\\Coloneqq"),ve("\\equalscolon","\\eqqcolon"),ve("\\equalscoloncolon","\\Eqqcolon"),ve("\\colonminus","\\coloneq"),ve("\\coloncolonminus","\\Coloneq"),ve("\\minuscolon","\\eqcolon"),ve("\\minuscoloncolon","\\Eqcolon"),ve("\\coloncolonapprox","\\Colonapprox"),ve("\\coloncolonsim","\\Colonsim"),ve("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ve("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ve("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ve("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ve("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ve("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ve("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ve("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),ve("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),ve("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),ve("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),ve("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),ve("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),ve("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ve("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ve("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ve("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ve("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ve("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ve("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ve("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ve("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ve("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ve("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ve("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ve("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ve("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ve("\\imath","\\html@mathml{\\@imath}{\u0131}"),ve("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),ve("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ve("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ve("\u27E6","\\llbracket"),ve("\u27E7","\\rrbracket"),ve("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ve("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ve("\u2983","\\lBrace"),ve("\u2984","\\rBrace"),ve("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),ve("\u29B5","\\minuso"),ve("\\darr","\\downarrow"),ve("\\dArr","\\Downarrow"),ve("\\Darr","\\Downarrow"),ve("\\lang","\\langle"),ve("\\rang","\\rangle"),ve("\\uarr","\\uparrow"),ve("\\uArr","\\Uparrow"),ve("\\Uarr","\\Uparrow"),ve("\\N","\\mathbb{N}"),ve("\\R","\\mathbb{R}"),ve("\\Z","\\mathbb{Z}"),ve("\\alef","\\aleph"),ve("\\alefsym","\\aleph"),ve("\\Alpha","\\mathrm{A}"),ve("\\Beta","\\mathrm{B}"),ve("\\bull","\\bullet"),ve("\\Chi","\\mathrm{X}"),ve("\\clubs","\\clubsuit"),ve("\\cnums","\\mathbb{C}"),ve("\\Complex","\\mathbb{C}"),ve("\\Dagger","\\ddagger"),ve("\\diamonds","\\diamondsuit"),ve("\\empty","\\emptyset"),ve("\\Epsilon","\\mathrm{E}"),ve("\\Eta","\\mathrm{H}"),ve("\\exist","\\exists"),ve("\\harr","\\leftrightarrow"),ve("\\hArr","\\Leftrightarrow"),ve("\\Harr","\\Leftrightarrow"),ve("\\hearts","\\heartsuit"),ve("\\image","\\Im"),ve("\\infin","\\infty"),ve("\\Iota","\\mathrm{I}"),ve("\\isin","\\in"),ve("\\Kappa","\\mathrm{K}"),ve("\\larr","\\leftarrow"),ve("\\lArr","\\Leftarrow"),ve("\\Larr","\\Leftarrow"),ve("\\lrarr","\\leftrightarrow"),ve("\\lrArr","\\Leftrightarrow"),ve("\\Lrarr","\\Leftrightarrow"),ve("\\Mu","\\mathrm{M}"),ve("\\natnums","\\mathbb{N}"),ve("\\Nu","\\mathrm{N}"),ve("\\Omicron","\\mathrm{O}"),ve("\\plusmn","\\pm"),ve("\\rarr","\\rightarrow"),ve("\\rArr","\\Rightarrow"),ve("\\Rarr","\\Rightarrow"),ve("\\real","\\Re"),ve("\\reals","\\mathbb{R}"),ve("\\Reals","\\mathbb{R}"),ve("\\Rho","\\mathrm{P}"),ve("\\sdot","\\cdot"),ve("\\sect","\\S"),ve("\\spades","\\spadesuit"),ve("\\sub","\\subset"),ve("\\sube","\\subseteq"),ve("\\supe","\\supseteq"),ve("\\Tau","\\mathrm{T}"),ve("\\thetasym","\\vartheta"),ve("\\weierp","\\wp"),ve("\\Zeta","\\mathrm{Z}"),ve("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ve("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ve("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ve("\\bra","\\mathinner{\\langle{#1}|}"),ve("\\ket","\\mathinner{|{#1}\\rangle}"),ve("\\braket","\\mathinner{\\langle{#1}\\rangle}"),ve("\\Bra","\\left\\langle#1\\right|"),ve("\\Ket","\\left|#1\\right\\rangle");var d=A=>m=>{var S=m.consumeArg().tokens,D=m.consumeArg().tokens,Z=m.consumeArg().tokens,se=m.consumeArg().tokens,Y=m.macros.get("|"),ct=m.macros.get("\\|");m.macros.beginGroup();var ft=Qn=>Ti=>{A&&(Ti.macros.set("|",Y),Z.length&&Ti.macros.set("\\|",ct));var Ni=Qn;if(!Qn&&Z.length){var $i=Ti.future();$i.text==="|"&&(Ti.popToken(),Ni=!0)}return{tokens:Ni?Z:D,numArgs:0}};m.macros.set("|",ft(!1)),Z.length&&m.macros.set("\\|",ft(!0));var Sn=m.consumeArg().tokens,Bn=m.expandTokens([...se,...Sn,...S]);return m.macros.endGroup(),{tokens:Bn.reverse(),numArgs:0}};ve("\\bra@ket",d(!1)),ve("\\bra@set",d(!0)),ve("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),ve("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),ve("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),ve("\\angln","{\\angl n}"),ve("\\blue","\\textcolor{##6495ed}{#1}"),ve("\\orange","\\textcolor{##ffa500}{#1}"),ve("\\pink","\\textcolor{##ff00af}{#1}"),ve("\\red","\\textcolor{##df0030}{#1}"),ve("\\green","\\textcolor{##28ae7b}{#1}"),ve("\\gray","\\textcolor{gray}{#1}"),ve("\\purple","\\textcolor{##9d38bd}{#1}"),ve("\\blueA","\\textcolor{##ccfaff}{#1}"),ve("\\blueB","\\textcolor{##80f6ff}{#1}"),ve("\\blueC","\\textcolor{##63d9ea}{#1}"),ve("\\blueD","\\textcolor{##11accd}{#1}"),ve("\\blueE","\\textcolor{##0c7f99}{#1}"),ve("\\tealA","\\textcolor{##94fff5}{#1}"),ve("\\tealB","\\textcolor{##26edd5}{#1}"),ve("\\tealC","\\textcolor{##01d1c1}{#1}"),ve("\\tealD","\\textcolor{##01a995}{#1}"),ve("\\tealE","\\textcolor{##208170}{#1}"),ve("\\greenA","\\textcolor{##b6ffb0}{#1}"),ve("\\greenB","\\textcolor{##8af281}{#1}"),ve("\\greenC","\\textcolor{##74cf70}{#1}"),ve("\\greenD","\\textcolor{##1fab54}{#1}"),ve("\\greenE","\\textcolor{##0d923f}{#1}"),ve("\\goldA","\\textcolor{##ffd0a9}{#1}"),ve("\\goldB","\\textcolor{##ffbb71}{#1}"),ve("\\goldC","\\textcolor{##ff9c39}{#1}"),ve("\\goldD","\\textcolor{##e07d10}{#1}"),ve("\\goldE","\\textcolor{##a75a05}{#1}"),ve("\\redA","\\textcolor{##fca9a9}{#1}"),ve("\\redB","\\textcolor{##ff8482}{#1}"),ve("\\redC","\\textcolor{##f9685d}{#1}"),ve("\\redD","\\textcolor{##e84d39}{#1}"),ve("\\redE","\\textcolor{##bc2612}{#1}"),ve("\\maroonA","\\textcolor{##ffbde0}{#1}"),ve("\\maroonB","\\textcolor{##ff92c6}{#1}"),ve("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ve("\\maroonD","\\textcolor{##ca337c}{#1}"),ve("\\maroonE","\\textcolor{##9e034e}{#1}"),ve("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ve("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ve("\\purpleC","\\textcolor{##aa87ff}{#1}"),ve("\\purpleD","\\textcolor{##7854ab}{#1}"),ve("\\purpleE","\\textcolor{##543b78}{#1}"),ve("\\mintA","\\textcolor{##f5f9e8}{#1}"),ve("\\mintB","\\textcolor{##edf2df}{#1}"),ve("\\mintC","\\textcolor{##e0e5cc}{#1}"),ve("\\grayA","\\textcolor{##f6f7f7}{#1}"),ve("\\grayB","\\textcolor{##f0f1f2}{#1}"),ve("\\grayC","\\textcolor{##e3e5e6}{#1}"),ve("\\grayD","\\textcolor{##d6d8da}{#1}"),ve("\\grayE","\\textcolor{##babec2}{#1}"),ve("\\grayF","\\textcolor{##888d93}{#1}"),ve("\\grayG","\\textcolor{##626569}{#1}"),ve("\\grayH","\\textcolor{##3b3e40}{#1}"),ve("\\grayI","\\textcolor{##21242c}{#1}"),ve("\\kaBlue","\\textcolor{##314453}{#1}"),ve("\\kaGreen","\\textcolor{##71B307}{#1}");var g={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class K{constructor(m,S,D){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=S,this.expansionCount=0,this.feed(m),this.macros=new ya(zs,S.macros),this.mode=D,this.stack=[]}feed(m){this.lexer=new ta(m,this.settings)}switchMode(m){this.mode=m}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(m){this.stack.push(m)}pushTokens(m){this.stack.push(...m)}scanArgument(m){var S,D,Z;if(m){if(this.consumeSpaces(),this.future().text!=="[")return null;S=this.popToken(),{tokens:Z,end:D}=this.consumeArg(["]"])}else({tokens:Z,start:S,end:D}=this.consumeArg());return this.pushToken(new sn("EOF",D.loc)),this.pushTokens(Z),S.range(D,"")}consumeSpaces(){for(;;){var m=this.future();if(m.text===" ")this.stack.pop();else break}}consumeArg(m){var S=[],D=m&&m.length>0;D||this.consumeSpaces();var Z=this.future(),se,Y=0,ct=0;do{if(se=this.popToken(),S.push(se),se.text==="{")++Y;else if(se.text==="}"){if(--Y,Y===-1)throw new Ft("Extra }",se)}else if(se.text==="EOF")throw new Ft("Unexpected end of input in a macro argument, expected '"+(m&&D?m[ct]:"}")+"'",se);if(m&&D)if((Y===0||Y===1&&m[ct]==="{")&&se.text===m[ct]){if(++ct,ct===m.length){S.splice(-ct,ct);break}}else ct=0}while(Y!==0||D);return Z.text==="{"&&S[S.length-1].text==="}"&&(S.pop(),S.shift()),S.reverse(),{tokens:S,start:Z,end:se}}consumeArgs(m,S){if(S){if(S.length!==m+1)throw new Ft("The length of delimiters doesn't match the number of args!");for(var D=S[0],Z=0;Zthis.settings.maxExpand)throw new Ft("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(m){var S=this.popToken(),D=S.text,Z=S.noexpand?null:this._getExpansion(D);if(Z==null||m&&Z.unexpandable){if(m&&Z==null&&D[0]==="\\"&&!this.isDefined(D))throw new Ft("Undefined control sequence: "+D);return this.pushToken(S),!1}this.countExpansion(1);var se=Z.tokens,Y=this.consumeArgs(Z.numArgs,Z.delimiters);if(Z.numArgs){se=se.slice();for(var ct=se.length-1;ct>=0;--ct){var ft=se[ct];if(ft.text==="#"){if(ct===0)throw new Ft("Incomplete placeholder at end of macro body",ft);if(ft=se[--ct],ft.text==="#")se.splice(ct+1,1);else if(/^[1-9]$/.test(ft.text))se.splice(ct,2,...Y[+ft.text-1]);else throw new Ft("Not a valid argument number",ft)}}}return this.pushTokens(se),se.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var m=this.stack.pop();return m.treatAsRelax&&(m.text="\\relax"),m}throw new Error}expandMacro(m){return this.macros.has(m)?this.expandTokens([new sn(m)]):void 0}expandTokens(m){var S=[],D=this.stack.length;for(this.pushTokens(m);this.stack.length>D;)if(this.expandOnce(!0)===!1){var Z=this.stack.pop();Z.treatAsRelax&&(Z.noexpand=!1,Z.treatAsRelax=!1),S.push(Z)}return this.countExpansion(S.length),S}expandMacroAsText(m){var S=this.expandMacro(m);return S&&S.map(D=>D.text).join("")}_getExpansion(m){var S=this.macros.get(m);if(S==null)return S;if(m.length===1){var D=this.lexer.catcodes[m];if(D!=null&&D!==13)return}var Z=typeof S=="function"?S(this):S;if(typeof Z=="string"){var se=0;if(Z.indexOf("#")!==-1)for(var Y=Z.replace(/##/g,"");Y.indexOf("#"+(se+1))!==-1;)++se;for(var ct=new ta(Z,this.settings),ft=[],Sn=ct.lex();Sn.text!=="EOF";)ft.push(Sn),Sn=ct.lex();ft.reverse();var Bn={tokens:ft,numArgs:se};return Bn}return Z}isDefined(m){return this.macros.has(m)||$t.hasOwnProperty(m)||zi.math.hasOwnProperty(m)||zi.text.hasOwnProperty(m)||g.hasOwnProperty(m)}isExpandable(m){var S=this.macros.get(m);return S!=null?typeof S=="string"||typeof S=="function"||!S.unexpandable:$t.hasOwnProperty(m)&&!$t[m].primitive}}var nt=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,gn=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Yn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},wi={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class Cr{constructor(m,S){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new K(m,S,this.mode),this.settings=S,this.leftrightDepth=0}expect(m,S){if(S===void 0&&(S=!0),this.fetch().text!==m)throw new Ft("Expected '"+m+"', got '"+this.fetch().text+"'",this.fetch());S&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(m){this.mode=m,this.gullet.switchMode(m)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var m=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),m}finally{this.gullet.endGroups()}}subparse(m){var S=this.nextToken;this.consume(),this.gullet.pushToken(new sn("}")),this.gullet.pushTokens(m);var D=this.parseExpression(!1);return this.expect("}"),this.nextToken=S,D}parseExpression(m,S){for(var D=[];;){this.mode==="math"&&this.consumeSpaces();var Z=this.fetch();if(Cr.endOfExpression.indexOf(Z.text)!==-1||S&&Z.text===S||m&&$t[Z.text]&&$t[Z.text].infix)break;var se=this.parseAtom(S);if(se){if(se.type==="internal")continue}else break;D.push(se)}return this.mode==="text"&&this.formLigatures(D),this.handleInfixNodes(D)}handleInfixNodes(m){for(var S=-1,D,Z=0;Z=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+S[0]+'" used in math mode',m);var ct=zi[this.mode][S].group,ft=St.range(m),Sn;if(Yi.hasOwnProperty(ct)){var Bn=ct;Sn={type:"atom",mode:this.mode,family:Bn,loc:ft,text:S}}else Sn={type:ct,mode:this.mode,loc:ft,text:S};Y=Sn}else if(S.charCodeAt(0)>=128)this.settings.strict&&(Ii(S.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+S[0]+'" used in math mode',m):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+S[0]+'"'+(" ("+S.charCodeAt(0)+")"),m)),Y={type:"textord",mode:"text",loc:St.range(m),text:S};else return null;if(this.consume(),se)for(var Qn=0;Qn-1&&Yn<=g.length){let wi=0;for(;;){let Cr=K[wi];if(Cr===void 0){const Hr=de(g,K[wi-1]);Cr=Hr===-1?g.length+1:Hr+1,K[wi]=Cr}if(Cr>Yn)return{line:wi+1,column:Yn-(wi>0?K[wi-1]:0)+1,offset:Yn};wi++}}}function gn(Yn){if(Yn&&typeof Yn.line=="number"&&typeof Yn.column=="number"&&!Number.isNaN(Yn.line)&&!Number.isNaN(Yn.column)){for(;K.length1?K[Yn.line-2]:0)+Yn.column-1;if(wi4&&K.slice(0,4)==="data"&&Mn.test(g)){if(g.charAt(4)==="-"){const Yn=g.slice(5).replace(In,j);nt="data"+Yn.charAt(0).toUpperCase()+Yn.slice(1)}else{const Yn=g.slice(4);if(!In.test(Yn)){let wi=Yn.replace(ie,k);wi.charAt(0)!=="-"&&(wi="-"+wi),g="data"+wi}}gn=Ct}return new gn(nt,g)}function k(d){return"-"+d.toLowerCase()}function j(d){return d.charAt(1).toUpperCase()}var X=h(71523);const T={}.hasOwnProperty;function _e(d,g){const K=g||{};function nt(gn,...Yn){let wi=nt.invalid;const Cr=nt.handlers;if(gn&&T.call(gn,d)){const Hr=String(gn[d]);wi=T.call(Cr,Hr)?Cr[Hr]:nt.unknown}if(wi)return wi.call(this,gn,...Yn)}return nt.handlers=K.handlers||{},nt.invalid=K.invalid,nt.unknown=K.unknown,nt}const It={},$e={}.hasOwnProperty,De=_e("type",{handlers:{root:ut,element:Kt,text:pn,comment:nn,doctype:Et}});function gt(d,g){const nt=(g||It).space;return De(d,nt==="svg"?Jn:ni)}function ut(d,g){const K={nodeName:"#document",mode:(d.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return K.childNodes=an(d.children,K,g),et(d,K),K}function tt(d,g){const K={nodeName:"#document-fragment",childNodes:[]};return K.childNodes=an(d.children,K,g),et(d,K),K}function Et(d){const g={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return et(d,g),g}function pn(d){const g={nodeName:"#text",value:d.value,parentNode:null};return et(d,g),g}function nn(d){const g={nodeName:"#comment",data:d.value,parentNode:null};return et(d,g),g}function Kt(d,g){const K=g;let nt=K;d.type==="element"&&d.tagName.toLowerCase()==="svg"&&K.space==="html"&&(nt=Jn);const gn=[];let Yn;if(d.properties){for(Yn in d.properties)if(Yn!=="children"&&$e.call(d.properties,Yn)){const Hr=hn(nt,Yn,d.properties[Yn]);Hr&&gn.push(Hr)}}const wi=nt.space;(0,O.ok)(wi);const Cr={nodeName:d.tagName,tagName:d.tagName,attrs:gn,namespaceURI:ae.t[wi],childNodes:[],parentNode:null};return Cr.childNodes=an(d.children,Cr,nt),et(d,Cr),d.tagName==="template"&&d.content&&(Cr.content=tt(d.content,nt)),Cr}function hn(d,g,K){const nt=z(d,g);if(K===!1||K===null||K===void 0||typeof K=="number"&&Number.isNaN(K)||!K&&nt.boolean)return;Array.isArray(K)&&(K=nt.commaSeparated?(0,xe.P)(K):(0,X.P)(K));const gn={name:nt.attribute,value:K===!0?"":String(K)};if(nt.space&&nt.space!=="html"&&nt.space!=="svg"){const Yn=gn.name.indexOf(":");Yn<0?gn.prefix="":(gn.name=gn.name.slice(Yn+1),gn.prefix=nt.attribute.slice(0,Yn)),gn.namespace=ae.t[nt.space]}return gn}function an(d,g,K){let nt=-1;const gn=[];if(d)for(;++nt=55296&&d<=57343}function Bt(d){return d>=56320&&d<=57343}function Si(d,g){return(d-55296)*1024+9216+g}function _i(d){return d!==32&&d!==10&&d!==13&&d!==9&&d!==12&&d>=1&&d<=31||d>=127&&d<=159}function Ii(d){return d>=64976&&d<=65007||dn.has(d)}var cn;(function(d){d.controlCharacterInInputStream="control-character-in-input-stream",d.noncharacterInInputStream="noncharacter-in-input-stream",d.surrogateInInputStream="surrogate-in-input-stream",d.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",d.endTagWithAttributes="end-tag-with-attributes",d.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",d.unexpectedSolidusInTag="unexpected-solidus-in-tag",d.unexpectedNullCharacter="unexpected-null-character",d.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",d.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",d.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",d.missingEndTagName="missing-end-tag-name",d.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",d.unknownNamedCharacterReference="unknown-named-character-reference",d.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",d.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",d.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",d.eofBeforeTagName="eof-before-tag-name",d.eofInTag="eof-in-tag",d.missingAttributeValue="missing-attribute-value",d.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",d.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",d.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",d.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",d.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",d.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",d.missingDoctypePublicIdentifier="missing-doctype-public-identifier",d.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",d.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",d.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",d.cdataInHtmlContent="cdata-in-html-content",d.incorrectlyOpenedComment="incorrectly-opened-comment",d.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",d.eofInDoctype="eof-in-doctype",d.nestedComment="nested-comment",d.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",d.eofInComment="eof-in-comment",d.incorrectlyClosedComment="incorrectly-closed-comment",d.eofInCdata="eof-in-cdata",d.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",d.nullCharacterReference="null-character-reference",d.surrogateCharacterReference="surrogate-character-reference",d.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",d.controlCharacterReference="control-character-reference",d.noncharacterCharacterReference="noncharacter-character-reference",d.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",d.missingDoctypeName="missing-doctype-name",d.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",d.duplicateAttribute="duplicate-attribute",d.nonConformingDoctype="non-conforming-doctype",d.missingDoctype="missing-doctype",d.misplacedDoctype="misplaced-doctype",d.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",d.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",d.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",d.openElementsLeftAfterEof="open-elements-left-after-eof",d.abandonedHeadElementChild="abandoned-head-element-child",d.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",d.nestedNoscriptInHead="nested-noscript-in-head",d.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(cn||(cn={}));const fr=65536;class Xi{constructor(g){this.handler=g,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=fr,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(g,K){const{line:nt,col:gn,offset:Yn}=this,wi=gn+K,Cr=Yn+K;return{code:g,startLine:nt,endLine:nt,startCol:wi,endCol:wi,startOffset:Cr,endOffset:Cr}}_err(g){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(g,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(g){if(this.pos!==this.html.length-1){const K=this.html.charCodeAt(this.pos+1);if(Bt(K))return this.pos++,this._addGap(),Si(g,K)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ze.EOF;return this._err(cn.surrogateInInputStream),g}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(g,K){this.html.length>0?this.html+=g:this.html=g,this.endOfChunkHit=!1,this.lastChunkWritten=K}insertHtmlAtCurrentPos(g){this.html=this.html.substring(0,this.pos+1)+g+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(g,K){if(this.pos+g.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(K)return this.html.startsWith(g,this.pos);for(let nt=0;nt=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ze.EOF;const nt=this.html.charCodeAt(K);return nt===ze.CARRIAGE_RETURN?ze.LINE_FEED:nt}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ze.EOF;let g=this.html.charCodeAt(this.pos);return g===ze.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,ze.LINE_FEED):g===ze.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,yn(g)&&(g=this._processSurrogate(g)),this.handler.onParseError===null||g>31&&g<127||g===ze.LINE_FEED||g===ze.CARRIAGE_RETURN||g>159&&g<64976||this._checkForProblematicCharacters(g),g)}_checkForProblematicCharacters(g){_i(g)?this._err(cn.controlCharacterInInputStream):Ii(g)&&this._err(cn.noncharacterInInputStream)}retreat(g){for(this.pos-=g;this.pos=0;K--)if(d.attrs[K].name===g)return d.attrs[K].value;return null}var ur=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(d=>d.charCodeAt(0))),U=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(d=>d.charCodeAt(0))),mr;const Er=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wr=(mr=String.fromCodePoint)!==null&&mr!==void 0?mr:function(d){let g="";return d>65535&&(d-=65536,g+=String.fromCharCode(d>>>10&1023|55296),d=56320|d&1023),g+=String.fromCharCode(d),g};function qr(d){var g;return d>=55296&&d<=57343||d>1114111?65533:(g=Er.get(d))!==null&&g!==void 0?g:d}function xo(d){return wr(qr(d))}var kr;(function(d){d[d.NUM=35]="NUM",d[d.SEMI=59]="SEMI",d[d.EQUALS=61]="EQUALS",d[d.ZERO=48]="ZERO",d[d.NINE=57]="NINE",d[d.LOWER_A=97]="LOWER_A",d[d.LOWER_F=102]="LOWER_F",d[d.LOWER_X=120]="LOWER_X",d[d.LOWER_Z=122]="LOWER_Z",d[d.UPPER_A=65]="UPPER_A",d[d.UPPER_F=70]="UPPER_F",d[d.UPPER_Z=90]="UPPER_Z"})(kr||(kr={}));const no=32;var rr;(function(d){d[d.VALUE_LENGTH=49152]="VALUE_LENGTH",d[d.BRANCH_LENGTH=16256]="BRANCH_LENGTH",d[d.JUMP_TABLE=127]="JUMP_TABLE"})(rr||(rr={}));function Bi(d){return d>=kr.ZERO&&d<=kr.NINE}function yi(d){return d>=kr.UPPER_A&&d<=kr.UPPER_F||d>=kr.LOWER_A&&d<=kr.LOWER_F}function ht(d){return d>=kr.UPPER_A&&d<=kr.UPPER_Z||d>=kr.LOWER_A&&d<=kr.LOWER_Z||Bi(d)}function _n(d){return d===kr.EQUALS||ht(d)}var Vn;(function(d){d[d.EntityStart=0]="EntityStart",d[d.NumericStart=1]="NumericStart",d[d.NumericDecimal=2]="NumericDecimal",d[d.NumericHex=3]="NumericHex",d[d.NamedEntity=4]="NamedEntity"})(Vn||(Vn={}));var pt;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict",d[d.Attribute=2]="Attribute"})(pt||(pt={}));class Ke{constructor(g,K,nt){this.decodeTree=g,this.emitCodePoint=K,this.errors=nt,this.state=Vn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=pt.Strict}startEntity(g){this.decodeMode=g,this.state=Vn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(g,K){switch(this.state){case Vn.EntityStart:return g.charCodeAt(K)===kr.NUM?(this.state=Vn.NumericStart,this.consumed+=1,this.stateNumericStart(g,K+1)):(this.state=Vn.NamedEntity,this.stateNamedEntity(g,K));case Vn.NumericStart:return this.stateNumericStart(g,K);case Vn.NumericDecimal:return this.stateNumericDecimal(g,K);case Vn.NumericHex:return this.stateNumericHex(g,K);case Vn.NamedEntity:return this.stateNamedEntity(g,K)}}stateNumericStart(g,K){return K>=g.length?-1:(g.charCodeAt(K)|no)===kr.LOWER_X?(this.state=Vn.NumericHex,this.consumed+=1,this.stateNumericHex(g,K+1)):(this.state=Vn.NumericDecimal,this.stateNumericDecimal(g,K))}addToNumericResult(g,K,nt,gn){if(K!==nt){const Yn=nt-K;this.result=this.result*Math.pow(gn,Yn)+parseInt(g.substr(K,Yn),gn),this.consumed+=Yn}}stateNumericHex(g,K){const nt=K;for(;K>14;for(;K>14,Yn!==0){if(wi===kr.SEMI)return this.emitNamedEntityData(this.treeIndex,Yn,this.consumed+this.excess);this.decodeMode!==pt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var g;const{result:K,decodeTree:nt}=this,gn=(nt[K]&rr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(K,gn,this.consumed),(g=this.errors)===null||g===void 0||g.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(g,K,nt){const{decodeTree:gn}=this;return this.emitCodePoint(K===1?gn[g]&~rr.VALUE_LENGTH:gn[g+1],nt),K===3&&this.emitCodePoint(gn[g+2],nt),nt}end(){var g;switch(this.state){case Vn.NamedEntity:return this.result!==0&&(this.decodeMode!==pt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Vn.NumericDecimal:return this.emitNumericEntity(0,2);case Vn.NumericHex:return this.emitNumericEntity(0,3);case Vn.NumericStart:return(g=this.errors)===null||g===void 0||g.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Vn.EntityStart:return 0}}}function vn(d){let g="";const K=new Ke(d,nt=>g+=wr(nt));return function(gn,Yn){let wi=0,Cr=0;for(;(Cr=gn.indexOf("&",Cr))>=0;){g+=gn.slice(wi,Cr),K.startEntity(Yn);const Gn=K.write(gn,Cr+1);if(Gn<0){wi=Cr+K.end();break}wi=Cr+Gn,Cr=Gn===0?wi+1:wi}const Hr=g+gn.slice(wi);return g="",Hr}}function Fn(d,g,K,nt){const gn=(g&rr.BRANCH_LENGTH)>>7,Yn=g&rr.JUMP_TABLE;if(gn===0)return Yn!==0&&nt===Yn?K:-1;if(Yn){const Hr=nt-Yn;return Hr<0||Hr>=gn?-1:d[K+Hr]-1}let wi=K,Cr=wi+gn-1;for(;wi<=Cr;){const Hr=wi+Cr>>>1,Gn=d[Hr];if(Gnnt)Cr=Hr-1;else return d[Hr+gn]}return-1}const on=vn(ur),Nt=vn(U);function Ve(d,g=pt.Legacy){return on(d,g)}function Ut(d){return on(d,pt.Attribute)}function Lt(d){return on(d,pt.Strict)}function Wn(d){return Nt(d,pt.Strict)}var ot;(function(d){d.HTML="http://www.w3.org/1999/xhtml",d.MATHML="http://www.w3.org/1998/Math/MathML",d.SVG="http://www.w3.org/2000/svg",d.XLINK="http://www.w3.org/1999/xlink",d.XML="http://www.w3.org/XML/1998/namespace",d.XMLNS="http://www.w3.org/2000/xmlns/"})(ot||(ot={}));var fn;(function(d){d.TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size"})(fn||(fn={}));var vt;(function(d){d.NO_QUIRKS="no-quirks",d.QUIRKS="quirks",d.LIMITED_QUIRKS="limited-quirks"})(vt||(vt={}));var je;(function(d){d.A="a",d.ADDRESS="address",d.ANNOTATION_XML="annotation-xml",d.APPLET="applet",d.AREA="area",d.ARTICLE="article",d.ASIDE="aside",d.B="b",d.BASE="base",d.BASEFONT="basefont",d.BGSOUND="bgsound",d.BIG="big",d.BLOCKQUOTE="blockquote",d.BODY="body",d.BR="br",d.BUTTON="button",d.CAPTION="caption",d.CENTER="center",d.CODE="code",d.COL="col",d.COLGROUP="colgroup",d.DD="dd",d.DESC="desc",d.DETAILS="details",d.DIALOG="dialog",d.DIR="dir",d.DIV="div",d.DL="dl",d.DT="dt",d.EM="em",d.EMBED="embed",d.FIELDSET="fieldset",d.FIGCAPTION="figcaption",d.FIGURE="figure",d.FONT="font",d.FOOTER="footer",d.FOREIGN_OBJECT="foreignObject",d.FORM="form",d.FRAME="frame",d.FRAMESET="frameset",d.H1="h1",d.H2="h2",d.H3="h3",d.H4="h4",d.H5="h5",d.H6="h6",d.HEAD="head",d.HEADER="header",d.HGROUP="hgroup",d.HR="hr",d.HTML="html",d.I="i",d.IMG="img",d.IMAGE="image",d.INPUT="input",d.IFRAME="iframe",d.KEYGEN="keygen",d.LABEL="label",d.LI="li",d.LINK="link",d.LISTING="listing",d.MAIN="main",d.MALIGNMARK="malignmark",d.MARQUEE="marquee",d.MATH="math",d.MENU="menu",d.META="meta",d.MGLYPH="mglyph",d.MI="mi",d.MO="mo",d.MN="mn",d.MS="ms",d.MTEXT="mtext",d.NAV="nav",d.NOBR="nobr",d.NOFRAMES="noframes",d.NOEMBED="noembed",d.NOSCRIPT="noscript",d.OBJECT="object",d.OL="ol",d.OPTGROUP="optgroup",d.OPTION="option",d.P="p",d.PARAM="param",d.PLAINTEXT="plaintext",d.PRE="pre",d.RB="rb",d.RP="rp",d.RT="rt",d.RTC="rtc",d.RUBY="ruby",d.S="s",d.SCRIPT="script",d.SEARCH="search",d.SECTION="section",d.SELECT="select",d.SOURCE="source",d.SMALL="small",d.SPAN="span",d.STRIKE="strike",d.STRONG="strong",d.STYLE="style",d.SUB="sub",d.SUMMARY="summary",d.SUP="sup",d.TABLE="table",d.TBODY="tbody",d.TEMPLATE="template",d.TEXTAREA="textarea",d.TFOOT="tfoot",d.TD="td",d.TH="th",d.THEAD="thead",d.TITLE="title",d.TR="tr",d.TRACK="track",d.TT="tt",d.U="u",d.UL="ul",d.SVG="svg",d.VAR="var",d.WBR="wbr",d.XMP="xmp"})(je||(je={}));var L;(function(d){d[d.UNKNOWN=0]="UNKNOWN",d[d.A=1]="A",d[d.ADDRESS=2]="ADDRESS",d[d.ANNOTATION_XML=3]="ANNOTATION_XML",d[d.APPLET=4]="APPLET",d[d.AREA=5]="AREA",d[d.ARTICLE=6]="ARTICLE",d[d.ASIDE=7]="ASIDE",d[d.B=8]="B",d[d.BASE=9]="BASE",d[d.BASEFONT=10]="BASEFONT",d[d.BGSOUND=11]="BGSOUND",d[d.BIG=12]="BIG",d[d.BLOCKQUOTE=13]="BLOCKQUOTE",d[d.BODY=14]="BODY",d[d.BR=15]="BR",d[d.BUTTON=16]="BUTTON",d[d.CAPTION=17]="CAPTION",d[d.CENTER=18]="CENTER",d[d.CODE=19]="CODE",d[d.COL=20]="COL",d[d.COLGROUP=21]="COLGROUP",d[d.DD=22]="DD",d[d.DESC=23]="DESC",d[d.DETAILS=24]="DETAILS",d[d.DIALOG=25]="DIALOG",d[d.DIR=26]="DIR",d[d.DIV=27]="DIV",d[d.DL=28]="DL",d[d.DT=29]="DT",d[d.EM=30]="EM",d[d.EMBED=31]="EMBED",d[d.FIELDSET=32]="FIELDSET",d[d.FIGCAPTION=33]="FIGCAPTION",d[d.FIGURE=34]="FIGURE",d[d.FONT=35]="FONT",d[d.FOOTER=36]="FOOTER",d[d.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",d[d.FORM=38]="FORM",d[d.FRAME=39]="FRAME",d[d.FRAMESET=40]="FRAMESET",d[d.H1=41]="H1",d[d.H2=42]="H2",d[d.H3=43]="H3",d[d.H4=44]="H4",d[d.H5=45]="H5",d[d.H6=46]="H6",d[d.HEAD=47]="HEAD",d[d.HEADER=48]="HEADER",d[d.HGROUP=49]="HGROUP",d[d.HR=50]="HR",d[d.HTML=51]="HTML",d[d.I=52]="I",d[d.IMG=53]="IMG",d[d.IMAGE=54]="IMAGE",d[d.INPUT=55]="INPUT",d[d.IFRAME=56]="IFRAME",d[d.KEYGEN=57]="KEYGEN",d[d.LABEL=58]="LABEL",d[d.LI=59]="LI",d[d.LINK=60]="LINK",d[d.LISTING=61]="LISTING",d[d.MAIN=62]="MAIN",d[d.MALIGNMARK=63]="MALIGNMARK",d[d.MARQUEE=64]="MARQUEE",d[d.MATH=65]="MATH",d[d.MENU=66]="MENU",d[d.META=67]="META",d[d.MGLYPH=68]="MGLYPH",d[d.MI=69]="MI",d[d.MO=70]="MO",d[d.MN=71]="MN",d[d.MS=72]="MS",d[d.MTEXT=73]="MTEXT",d[d.NAV=74]="NAV",d[d.NOBR=75]="NOBR",d[d.NOFRAMES=76]="NOFRAMES",d[d.NOEMBED=77]="NOEMBED",d[d.NOSCRIPT=78]="NOSCRIPT",d[d.OBJECT=79]="OBJECT",d[d.OL=80]="OL",d[d.OPTGROUP=81]="OPTGROUP",d[d.OPTION=82]="OPTION",d[d.P=83]="P",d[d.PARAM=84]="PARAM",d[d.PLAINTEXT=85]="PLAINTEXT",d[d.PRE=86]="PRE",d[d.RB=87]="RB",d[d.RP=88]="RP",d[d.RT=89]="RT",d[d.RTC=90]="RTC",d[d.RUBY=91]="RUBY",d[d.S=92]="S",d[d.SCRIPT=93]="SCRIPT",d[d.SEARCH=94]="SEARCH",d[d.SECTION=95]="SECTION",d[d.SELECT=96]="SELECT",d[d.SOURCE=97]="SOURCE",d[d.SMALL=98]="SMALL",d[d.SPAN=99]="SPAN",d[d.STRIKE=100]="STRIKE",d[d.STRONG=101]="STRONG",d[d.STYLE=102]="STYLE",d[d.SUB=103]="SUB",d[d.SUMMARY=104]="SUMMARY",d[d.SUP=105]="SUP",d[d.TABLE=106]="TABLE",d[d.TBODY=107]="TBODY",d[d.TEMPLATE=108]="TEMPLATE",d[d.TEXTAREA=109]="TEXTAREA",d[d.TFOOT=110]="TFOOT",d[d.TD=111]="TD",d[d.TH=112]="TH",d[d.THEAD=113]="THEAD",d[d.TITLE=114]="TITLE",d[d.TR=115]="TR",d[d.TRACK=116]="TRACK",d[d.TT=117]="TT",d[d.U=118]="U",d[d.UL=119]="UL",d[d.SVG=120]="SVG",d[d.VAR=121]="VAR",d[d.WBR=122]="WBR",d[d.XMP=123]="XMP"})(L||(L={}));const Rt=new Map([[je.A,L.A],[je.ADDRESS,L.ADDRESS],[je.ANNOTATION_XML,L.ANNOTATION_XML],[je.APPLET,L.APPLET],[je.AREA,L.AREA],[je.ARTICLE,L.ARTICLE],[je.ASIDE,L.ASIDE],[je.B,L.B],[je.BASE,L.BASE],[je.BASEFONT,L.BASEFONT],[je.BGSOUND,L.BGSOUND],[je.BIG,L.BIG],[je.BLOCKQUOTE,L.BLOCKQUOTE],[je.BODY,L.BODY],[je.BR,L.BR],[je.BUTTON,L.BUTTON],[je.CAPTION,L.CAPTION],[je.CENTER,L.CENTER],[je.CODE,L.CODE],[je.COL,L.COL],[je.COLGROUP,L.COLGROUP],[je.DD,L.DD],[je.DESC,L.DESC],[je.DETAILS,L.DETAILS],[je.DIALOG,L.DIALOG],[je.DIR,L.DIR],[je.DIV,L.DIV],[je.DL,L.DL],[je.DT,L.DT],[je.EM,L.EM],[je.EMBED,L.EMBED],[je.FIELDSET,L.FIELDSET],[je.FIGCAPTION,L.FIGCAPTION],[je.FIGURE,L.FIGURE],[je.FONT,L.FONT],[je.FOOTER,L.FOOTER],[je.FOREIGN_OBJECT,L.FOREIGN_OBJECT],[je.FORM,L.FORM],[je.FRAME,L.FRAME],[je.FRAMESET,L.FRAMESET],[je.H1,L.H1],[je.H2,L.H2],[je.H3,L.H3],[je.H4,L.H4],[je.H5,L.H5],[je.H6,L.H6],[je.HEAD,L.HEAD],[je.HEADER,L.HEADER],[je.HGROUP,L.HGROUP],[je.HR,L.HR],[je.HTML,L.HTML],[je.I,L.I],[je.IMG,L.IMG],[je.IMAGE,L.IMAGE],[je.INPUT,L.INPUT],[je.IFRAME,L.IFRAME],[je.KEYGEN,L.KEYGEN],[je.LABEL,L.LABEL],[je.LI,L.LI],[je.LINK,L.LINK],[je.LISTING,L.LISTING],[je.MAIN,L.MAIN],[je.MALIGNMARK,L.MALIGNMARK],[je.MARQUEE,L.MARQUEE],[je.MATH,L.MATH],[je.MENU,L.MENU],[je.META,L.META],[je.MGLYPH,L.MGLYPH],[je.MI,L.MI],[je.MO,L.MO],[je.MN,L.MN],[je.MS,L.MS],[je.MTEXT,L.MTEXT],[je.NAV,L.NAV],[je.NOBR,L.NOBR],[je.NOFRAMES,L.NOFRAMES],[je.NOEMBED,L.NOEMBED],[je.NOSCRIPT,L.NOSCRIPT],[je.OBJECT,L.OBJECT],[je.OL,L.OL],[je.OPTGROUP,L.OPTGROUP],[je.OPTION,L.OPTION],[je.P,L.P],[je.PARAM,L.PARAM],[je.PLAINTEXT,L.PLAINTEXT],[je.PRE,L.PRE],[je.RB,L.RB],[je.RP,L.RP],[je.RT,L.RT],[je.RTC,L.RTC],[je.RUBY,L.RUBY],[je.S,L.S],[je.SCRIPT,L.SCRIPT],[je.SEARCH,L.SEARCH],[je.SECTION,L.SECTION],[je.SELECT,L.SELECT],[je.SOURCE,L.SOURCE],[je.SMALL,L.SMALL],[je.SPAN,L.SPAN],[je.STRIKE,L.STRIKE],[je.STRONG,L.STRONG],[je.STYLE,L.STYLE],[je.SUB,L.SUB],[je.SUMMARY,L.SUMMARY],[je.SUP,L.SUP],[je.TABLE,L.TABLE],[je.TBODY,L.TBODY],[je.TEMPLATE,L.TEMPLATE],[je.TEXTAREA,L.TEXTAREA],[je.TFOOT,L.TFOOT],[je.TD,L.TD],[je.TH,L.TH],[je.THEAD,L.THEAD],[je.TITLE,L.TITLE],[je.TR,L.TR],[je.TRACK,L.TRACK],[je.TT,L.TT],[je.U,L.U],[je.UL,L.UL],[je.SVG,L.SVG],[je.VAR,L.VAR],[je.WBR,L.WBR],[je.XMP,L.XMP]]);function Jt(d){var g;return(g=Rt.get(d))!==null&&g!==void 0?g:L.UNKNOWN}const mt=L,xn={[ot.HTML]:new Set([mt.ADDRESS,mt.APPLET,mt.AREA,mt.ARTICLE,mt.ASIDE,mt.BASE,mt.BASEFONT,mt.BGSOUND,mt.BLOCKQUOTE,mt.BODY,mt.BR,mt.BUTTON,mt.CAPTION,mt.CENTER,mt.COL,mt.COLGROUP,mt.DD,mt.DETAILS,mt.DIR,mt.DIV,mt.DL,mt.DT,mt.EMBED,mt.FIELDSET,mt.FIGCAPTION,mt.FIGURE,mt.FOOTER,mt.FORM,mt.FRAME,mt.FRAMESET,mt.H1,mt.H2,mt.H3,mt.H4,mt.H5,mt.H6,mt.HEAD,mt.HEADER,mt.HGROUP,mt.HR,mt.HTML,mt.IFRAME,mt.IMG,mt.INPUT,mt.LI,mt.LINK,mt.LISTING,mt.MAIN,mt.MARQUEE,mt.MENU,mt.META,mt.NAV,mt.NOEMBED,mt.NOFRAMES,mt.NOSCRIPT,mt.OBJECT,mt.OL,mt.P,mt.PARAM,mt.PLAINTEXT,mt.PRE,mt.SCRIPT,mt.SECTION,mt.SELECT,mt.SOURCE,mt.STYLE,mt.SUMMARY,mt.TABLE,mt.TBODY,mt.TD,mt.TEMPLATE,mt.TEXTAREA,mt.TFOOT,mt.TH,mt.THEAD,mt.TITLE,mt.TR,mt.TRACK,mt.UL,mt.WBR,mt.XMP]),[ot.MATHML]:new Set([mt.MI,mt.MO,mt.MN,mt.MS,mt.MTEXT,mt.ANNOTATION_XML]),[ot.SVG]:new Set([mt.TITLE,mt.FOREIGN_OBJECT,mt.DESC]),[ot.XLINK]:new Set,[ot.XML]:new Set,[ot.XMLNS]:new Set},An=new Set([mt.H1,mt.H2,mt.H3,mt.H4,mt.H5,mt.H6]),li=new Set([je.STYLE,je.SCRIPT,je.XMP,je.IFRAME,je.NOEMBED,je.NOFRAMES,je.PLAINTEXT]);function Nn(d,g){return li.has(d)||g&&d===je.NOSCRIPT}var st;(function(d){d[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(st||(st={}));const Mi={DATA:st.DATA,RCDATA:st.RCDATA,RAWTEXT:st.RAWTEXT,SCRIPT_DATA:st.SCRIPT_DATA,PLAINTEXT:st.PLAINTEXT,CDATA_SECTION:st.CDATA_SECTION};function Yi(d){return d>=ze.DIGIT_0&&d<=ze.DIGIT_9}function Yt(d){return d>=ze.LATIN_CAPITAL_A&&d<=ze.LATIN_CAPITAL_Z}function zi(d){return d>=ze.LATIN_SMALL_A&&d<=ze.LATIN_SMALL_Z}function q(d){return zi(d)||Yt(d)}function oe(d){return q(d)||Yi(d)}function Hn(d){return d+32}function Be(d){return d===ze.SPACE||d===ze.LINE_FEED||d===ze.TABULATION||d===ze.FORM_FEED}function Tt(d){return Be(d)||d===ze.SOLIDUS||d===ze.GREATER_THAN_SIGN}function fi(d){return d===ze.NULL?cn.nullCharacterReference:d>1114111?cn.characterReferenceOutsideUnicodeRange:yn(d)?cn.surrogateCharacterReference:Ii(d)?cn.noncharacterCharacterReference:_i(d)||d===ze.CARRIAGE_RETURN?cn.controlCharacterReference:null}class Ln{constructor(g,K){this.options=g,this.handler=K,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=st.DATA,this.returnState=st.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Xi(K),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ke(ur,(nt,gn)=>{this.preprocessor.pos=this.entityStartPos+gn-1,this._flushCodePointConsumedAsCharacterReference(nt)},K.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(cn.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:nt=>{this._err(cn.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+nt)},validateNumericCharacterReference:nt=>{const gn=fi(nt);gn&&this._err(gn,1)}}:void 0)}_err(g,K=0){var nt,gn;(gn=(nt=this.handler).onParseError)===null||gn===void 0||gn.call(nt,this.preprocessor.getError(g,K))}getCurrentLocation(g){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-g,startOffset:this.preprocessor.offset-g,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const g=this._consume();this._ensureHibernation()||this._callState(g)}this.inLoop=!1}}pause(){this.paused=!0}resume(g){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||g==null||g())}write(g,K,nt){this.active=!0,this.preprocessor.write(g,K),this._runParsingLoop(),this.paused||nt==null||nt()}insertHtmlAtCurrentPos(g){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(g),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(g){this.consumedAfterSnapshot+=g;for(let K=0;K0&&this._err(cn.endTagWithAttributes),g.selfClosing&&this._err(cn.endTagWithTrailingSolidus),this.handler.onEndTag(g)),this.preprocessor.dropParsedChunk()}emitCurrentComment(g){this.prepareToken(g),this.handler.onComment(g),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(g){this.prepareToken(g),this.handler.onDoctype(g),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(g){if(this.currentCharacterToken){switch(g&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=g.startLine,this.currentCharacterToken.location.endCol=g.startCol,this.currentCharacterToken.location.endOffset=g.startOffset),this.currentCharacterToken.type){case ei.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ei.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ei.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const g=this.getCurrentLocation(0);g&&(g.endLine=g.startLine,g.endCol=g.startCol,g.endOffset=g.startOffset),this._emitCurrentCharacterToken(g),this.handler.onEof({type:ei.EOF,location:g}),this.active=!1}_appendCharToCurrentCharacterToken(g,K){if(this.currentCharacterToken)if(this.currentCharacterToken.type===g){this.currentCharacterToken.chars+=K;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(g,K)}_emitCodePoint(g){const K=Be(g)?ei.WHITESPACE_CHARACTER:g===ze.NULL?ei.NULL_CHARACTER:ei.CHARACTER;this._appendCharToCurrentCharacterToken(K,String.fromCodePoint(g))}_emitChars(g){this._appendCharToCurrentCharacterToken(ei.CHARACTER,g)}_startCharacterReference(){this.returnState=this.state,this.state=st.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?pt.Attribute:pt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===st.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===st.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===st.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(g){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(g):this._emitCodePoint(g)}_callState(g){switch(this.state){case st.DATA:{this._stateData(g);break}case st.RCDATA:{this._stateRcdata(g);break}case st.RAWTEXT:{this._stateRawtext(g);break}case st.SCRIPT_DATA:{this._stateScriptData(g);break}case st.PLAINTEXT:{this._statePlaintext(g);break}case st.TAG_OPEN:{this._stateTagOpen(g);break}case st.END_TAG_OPEN:{this._stateEndTagOpen(g);break}case st.TAG_NAME:{this._stateTagName(g);break}case st.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(g);break}case st.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(g);break}case st.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(g);break}case st.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(g);break}case st.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(g);break}case st.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(g);break}case st.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(g);break}case st.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(g);break}case st.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(g);break}case st.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(g);break}case st.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(g);break}case st.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(g);break}case st.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(g);break}case st.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(g);break}case st.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(g);break}case st.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(g);break}case st.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(g);break}case st.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(g);break}case st.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(g);break}case st.ATTRIBUTE_NAME:{this._stateAttributeName(g);break}case st.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(g);break}case st.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(g);break}case st.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(g);break}case st.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(g);break}case st.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(g);break}case st.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(g);break}case st.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(g);break}case st.BOGUS_COMMENT:{this._stateBogusComment(g);break}case st.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(g);break}case st.COMMENT_START:{this._stateCommentStart(g);break}case st.COMMENT_START_DASH:{this._stateCommentStartDash(g);break}case st.COMMENT:{this._stateComment(g);break}case st.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(g);break}case st.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(g);break}case st.COMMENT_END_DASH:{this._stateCommentEndDash(g);break}case st.COMMENT_END:{this._stateCommentEnd(g);break}case st.COMMENT_END_BANG:{this._stateCommentEndBang(g);break}case st.DOCTYPE:{this._stateDoctype(g);break}case st.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(g);break}case st.DOCTYPE_NAME:{this._stateDoctypeName(g);break}case st.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(g);break}case st.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(g);break}case st.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(g);break}case st.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(g);break}case st.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(g);break}case st.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(g);break}case st.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(g);break}case st.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(g);break}case st.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(g);break}case st.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(g);break}case st.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(g);break}case st.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(g);break}case st.BOGUS_DOCTYPE:{this._stateBogusDoctype(g);break}case st.CDATA_SECTION:{this._stateCdataSection(g);break}case st.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(g);break}case st.CDATA_SECTION_END:{this._stateCdataSectionEnd(g);break}case st.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case st.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(g);break}default:throw new Error("Unknown state")}}_stateData(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.TAG_OPEN;break}case ze.AMPERSAND:{this._startCharacterReference();break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this._emitCodePoint(g);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateRcdata(g){switch(g){case ze.AMPERSAND:{this._startCharacterReference();break}case ze.LESS_THAN_SIGN:{this.state=st.RCDATA_LESS_THAN_SIGN;break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this._emitChars(rn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateRawtext(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.RAWTEXT_LESS_THAN_SIGN;break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this._emitChars(rn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateScriptData(g){switch(g){case ze.LESS_THAN_SIGN:{this.state=st.SCRIPT_DATA_LESS_THAN_SIGN;break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this._emitChars(rn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_statePlaintext(g){switch(g){case ze.NULL:{this._err(cn.unexpectedNullCharacter),this._emitChars(rn);break}case ze.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(g)}}_stateTagOpen(g){if(q(g))this._createStartTagToken(),this.state=st.TAG_NAME,this._stateTagName(g);else switch(g){case ze.EXCLAMATION_MARK:{this.state=st.MARKUP_DECLARATION_OPEN;break}case ze.SOLIDUS:{this.state=st.END_TAG_OPEN;break}case ze.QUESTION_MARK:{this._err(cn.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=st.BOGUS_COMMENT,this._stateBogusComment(g);break}case ze.EOF:{this._err(cn.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(cn.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=st.DATA,this._stateData(g)}}_stateEndTagOpen(g){if(q(g))this._createEndTagToken(),this.state=st.TAG_NAME,this._stateTagName(g);else switch(g){case ze.GREATER_THAN_SIGN:{this._err(cn.missingEndTagName),this.state=st.DATA;break}case ze.EOF:{this._err(cn.eofBeforeTagName),this._emitChars("");break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this.state=st.SCRIPT_DATA_ESCAPED,this._emitChars(rn);break}case ze.EOF:{this._err(cn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=st.SCRIPT_DATA_ESCAPED,this._emitCodePoint(g)}}_stateScriptDataEscapedLessThanSign(g){g===ze.SOLIDUS?this.state=st.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:q(g)?(this._emitChars("<"),this.state=st.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(g)):(this._emitChars("<"),this.state=st.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(g))}_stateScriptDataEscapedEndTagOpen(g){q(g)?(this.state=st.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(g)):(this._emitChars("");break}case ze.NULL:{this._err(cn.unexpectedNullCharacter),this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(rn);break}case ze.EOF:{this._err(cn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(g)}}_stateScriptDataDoubleEscapedLessThanSign(g){g===ze.SOLIDUS?(this.state=st.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=st.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(g))}_stateScriptDataDoubleEscapeEnd(g){if(this.preprocessor.startsWith(Un.SCRIPT,!1)&&Tt(this.preprocessor.peek(Un.SCRIPT.length))){this._emitCodePoint(g);for(let K=0;K0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(g,!0)}replace(g,K){const nt=this._indexOf(g);this.items[nt]=K,nt===this.stackTop&&(this.current=K)}insertAfter(g,K,nt){const gn=this._indexOf(g)+1;this.items.splice(gn,0,K),this.tagIDs.splice(gn,0,nt),this.stackTop++,gn===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,gn===this.stackTop)}popUntilTagNamePopped(g){let K=this.stackTop+1;do K=this.tagIDs.lastIndexOf(g,K-1);while(K>0&&this.treeAdapter.getNamespaceURI(this.items[K])!==ot.HTML);this.shortenToLength(K<0?0:K)}shortenToLength(g){for(;this.stackTop>=g;){const K=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(K,this.stackTop=0;nt--)if(g.has(this.tagIDs[nt])&&this.treeAdapter.getNamespaceURI(this.items[nt])===K)return nt;return-1}clearBackTo(g,K){const nt=this._indexOfTagNames(g,K);this.shortenToLength(nt+1)}clearBackToTableContext(){this.clearBackTo(Oi,ot.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tn,ot.HTML)}clearBackToTableRowContext(){this.clearBackTo(Qr,ot.HTML)}remove(g){const K=this._indexOf(g);K>=0&&(K===this.stackTop?this.pop():(this.items.splice(K,1),this.tagIDs.splice(K,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(g,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===L.BODY?this.items[1]:null}contains(g){return this._indexOf(g)>-1}getCommonAncestor(g){const K=this._indexOf(g)-1;return K>=0?this.items[K]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===L.HTML}hasInDynamicScope(g,K){for(let nt=this.stackTop;nt>=0;nt--){const gn=this.tagIDs[nt];switch(this.treeAdapter.getNamespaceURI(this.items[nt])){case ot.HTML:{if(gn===g)return!0;if(K.has(gn))return!1;break}case ot.SVG:{if(Mt.has(gn))return!1;break}case ot.MATHML:{if(Yr.has(gn))return!1;break}}}return!0}hasInScope(g){return this.hasInDynamicScope(g,xi)}hasInListItemScope(g){return this.hasInDynamicScope(g,Xt)}hasInButtonScope(g){return this.hasInDynamicScope(g,Li)}hasNumberedHeaderInScope(){for(let g=this.stackTop;g>=0;g--){const K=this.tagIDs[g];switch(this.treeAdapter.getNamespaceURI(this.items[g])){case ot.HTML:{if(An.has(K))return!0;if(xi.has(K))return!1;break}case ot.SVG:{if(Mt.has(K))return!1;break}case ot.MATHML:{if(Yr.has(K))return!1;break}}}return!0}hasInTableScope(g){for(let K=this.stackTop;K>=0;K--)if(this.treeAdapter.getNamespaceURI(this.items[K])===ot.HTML)switch(this.tagIDs[K]){case g:return!0;case L.TABLE:case L.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let g=this.stackTop;g>=0;g--)if(this.treeAdapter.getNamespaceURI(this.items[g])===ot.HTML)switch(this.tagIDs[g]){case L.TBODY:case L.THEAD:case L.TFOOT:return!0;case L.TABLE:case L.HTML:return!1}return!0}hasInSelectScope(g){for(let K=this.stackTop;K>=0;K--)if(this.treeAdapter.getNamespaceURI(this.items[K])===ot.HTML)switch(this.tagIDs[K]){case g:return!0;case L.OPTION:case L.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;Fi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;qt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(g){for(;this.currentTagId!==g&&qt.has(this.currentTagId);)this.pop()}}const tr=3;var Zn;(function(d){d[d.Marker=0]="Marker",d[d.Element=1]="Element"})(Zn||(Zn={}));const he={type:Zn.Marker};class gr{constructor(g){this.treeAdapter=g,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(g,K){const nt=[],gn=K.length,Yn=this.treeAdapter.getTagName(g),wi=this.treeAdapter.getNamespaceURI(g);for(let Cr=0;Cr[wi.name,wi.value]));let Yn=0;for(let wi=0;wign.get(Hr.name)===Hr.value)&&(Yn+=1,Yn>=tr&&this.entries.splice(Cr.idx,1))}}insertMarker(){this.entries.unshift(he)}pushElement(g,K){this._ensureNoahArkCondition(g),this.entries.unshift({type:Zn.Element,element:g,token:K})}insertElementAfterBookmark(g,K){const nt=this.entries.indexOf(this.bookmark);this.entries.splice(nt,0,{type:Zn.Element,element:g,token:K})}removeEntry(g){const K=this.entries.indexOf(g);K>=0&&this.entries.splice(K,1)}clearToLastMarker(){const g=this.entries.indexOf(he);g>=0?this.entries.splice(0,g+1):this.entries.length=0}getElementEntryInScopeWithTagName(g){const K=this.entries.find(nt=>nt.type===Zn.Marker||this.treeAdapter.getTagName(nt.element)===g);return K&&K.type===Zn.Element?K:null}getElementEntry(g){return this.entries.find(K=>K.type===Zn.Element&&K.element===g)}}const br={createDocument(){return{nodeName:"#document",mode:vt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(d,g,K){return{nodeName:d,tagName:d,attrs:K,namespaceURI:g,childNodes:[],parentNode:null}},createCommentNode(d){return{nodeName:"#comment",data:d,parentNode:null}},createTextNode(d){return{nodeName:"#text",value:d,parentNode:null}},appendChild(d,g){d.childNodes.push(g),g.parentNode=d},insertBefore(d,g,K){const nt=d.childNodes.indexOf(K);d.childNodes.splice(nt,0,g),g.parentNode=d},setTemplateContent(d,g){d.content=g},getTemplateContent(d){return d.content},setDocumentType(d,g,K,nt){const gn=d.childNodes.find(Yn=>Yn.nodeName==="#documentType");if(gn)gn.name=g,gn.publicId=K,gn.systemId=nt;else{const Yn={nodeName:"#documentType",name:g,publicId:K,systemId:nt,parentNode:null};br.appendChild(d,Yn)}},setDocumentMode(d,g){d.mode=g},getDocumentMode(d){return d.mode},detachNode(d){if(d.parentNode){const g=d.parentNode.childNodes.indexOf(d);d.parentNode.childNodes.splice(g,1),d.parentNode=null}},insertText(d,g){if(d.childNodes.length>0){const K=d.childNodes[d.childNodes.length-1];if(br.isTextNode(K)){K.value+=g;return}}br.appendChild(d,br.createTextNode(g))},insertTextBefore(d,g,K){const nt=d.childNodes[d.childNodes.indexOf(K)-1];nt&&br.isTextNode(nt)?nt.value+=g:br.insertBefore(d,br.createTextNode(g),K)},adoptAttributes(d,g){const K=new Set(d.attrs.map(nt=>nt.name));for(let nt=0;ntd.startsWith(K))}function eo(d){return d.name===cr&&d.publicId===null&&(d.systemId===null||d.systemId===Br)}function Lo(d){if(d.name!==cr)return vt.QUIRKS;const{systemId:g}=d;if(g&&g.toLowerCase()===Zi)return vt.QUIRKS;let{publicId:K}=d;if(K!==null){if(K=K.toLowerCase(),hr.has(K))return vt.QUIRKS;let nt=g===null?Ai:Ri;if(Wr(K,nt))return vt.QUIRKS;if(nt=g===null?Ki:Lr,Wr(K,nt))return vt.LIMITED_QUIRKS}return vt.NO_QUIRKS}const pi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pa="definitionurl",Uo="definitionURL",oa=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(d=>[d.toLowerCase(),d])),ma=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ot.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ot.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ot.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ot.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ot.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ot.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ot.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ot.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ot.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ot.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ot.XMLNS}]]),$a=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(d=>[d.toLowerCase(),d])),is=new Set([L.B,L.BIG,L.BLOCKQUOTE,L.BODY,L.BR,L.CENTER,L.CODE,L.DD,L.DIV,L.DL,L.DT,L.EM,L.EMBED,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HR,L.I,L.IMG,L.LI,L.LISTING,L.MENU,L.META,L.NOBR,L.OL,L.P,L.PRE,L.RUBY,L.S,L.SMALL,L.SPAN,L.STRONG,L.STRIKE,L.SUB,L.SUP,L.TABLE,L.TT,L.U,L.UL,L.VAR]);function ka(d){const g=d.tagID;return g===L.FONT&&d.attrs.some(({name:nt})=>nt===fn.COLOR||nt===fn.SIZE||nt===fn.FACE)||is.has(g)}function ss(d){for(let g=0;g0&&this._setContextModes(g,K)}onItemPop(g,K){var nt,gn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(g,this.currentToken),(gn=(nt=this.treeAdapter).onItemPop)===null||gn===void 0||gn.call(nt,g,this.openElements.current),K){let Yn,wi;this.openElements.stackTop===0&&this.fragmentContext?(Yn=this.fragmentContext,wi=this.fragmentContextID):{current:Yn,currentTagId:wi}=this.openElements,this._setContextModes(Yn,wi)}}_setContextModes(g,K){const nt=g===this.document||this.treeAdapter.getNamespaceURI(g)===ot.HTML;this.currentNotInHTML=!nt,this.tokenizer.inForeignNode=!nt&&!this._isIntegrationPoint(K,g)}_switchToTextParsing(g,K){this._insertElement(g,ot.HTML),this.tokenizer.state=K,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ot.TEXT}switchToPlaintextParsing(){this.insertionMode=Ot.TEXT,this.originalInsertionMode=Ot.IN_BODY,this.tokenizer.state=Mi.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let g=this.fragmentContext;for(;g;){if(this.treeAdapter.getTagName(g)===je.FORM){this.formElement=g;break}g=this.treeAdapter.getParentNode(g)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ot.HTML))switch(this.fragmentContextID){case L.TITLE:case L.TEXTAREA:{this.tokenizer.state=Mi.RCDATA;break}case L.STYLE:case L.XMP:case L.IFRAME:case L.NOEMBED:case L.NOFRAMES:case L.NOSCRIPT:{this.tokenizer.state=Mi.RAWTEXT;break}case L.SCRIPT:{this.tokenizer.state=Mi.SCRIPT_DATA;break}case L.PLAINTEXT:{this.tokenizer.state=Mi.PLAINTEXT;break}default:}}_setDocumentType(g){const K=g.name||"",nt=g.publicId||"",gn=g.systemId||"";if(this.treeAdapter.setDocumentType(this.document,K,nt,gn),g.location){const wi=this.treeAdapter.getChildNodes(this.document).find(Cr=>this.treeAdapter.isDocumentTypeNode(Cr));wi&&this.treeAdapter.setNodeSourceCodeLocation(wi,g.location)}}_attachElementToTree(g,K){if(this.options.sourceCodeLocationInfo){const nt=K&&cd(Po({},K),{startTag:K});this.treeAdapter.setNodeSourceCodeLocation(g,nt)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(g);else{const nt=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(nt,g)}}_appendElement(g,K){const nt=this.treeAdapter.createElement(g.tagName,K,g.attrs);this._attachElementToTree(nt,g.location)}_insertElement(g,K){const nt=this.treeAdapter.createElement(g.tagName,K,g.attrs);this._attachElementToTree(nt,g.location),this.openElements.push(nt,g.tagID)}_insertFakeElement(g,K){const nt=this.treeAdapter.createElement(g,ot.HTML,[]);this._attachElementToTree(nt,null),this.openElements.push(nt,K)}_insertTemplate(g){const K=this.treeAdapter.createElement(g.tagName,ot.HTML,g.attrs),nt=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(K,nt),this._attachElementToTree(K,g.location),this.openElements.push(K,g.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(nt,null)}_insertFakeRootElement(){const g=this.treeAdapter.createElement(je.HTML,ot.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(g,null),this.treeAdapter.appendChild(this.openElements.current,g),this.openElements.push(g,L.HTML)}_appendCommentNode(g,K){const nt=this.treeAdapter.createCommentNode(g.data);this.treeAdapter.appendChild(K,nt),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(nt,g.location)}_insertCharacters(g){let K,nt;if(this._shouldFosterParentOnInsertion()?({parent:K,beforeElement:nt}=this._findFosterParentingLocation(),nt?this.treeAdapter.insertTextBefore(K,g.chars,nt):this.treeAdapter.insertText(K,g.chars)):(K=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(K,g.chars)),!g.location)return;const gn=this.treeAdapter.getChildNodes(K),Yn=nt?gn.lastIndexOf(nt):gn.length,wi=gn[Yn-1];if(this.treeAdapter.getNodeSourceCodeLocation(wi)){const{endLine:Hr,endCol:Gn,endOffset:Hi}=g.location;this.treeAdapter.updateNodeSourceCodeLocation(wi,{endLine:Hr,endCol:Gn,endOffset:Hi})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(wi,g.location)}_adoptNodes(g,K){for(let nt=this.treeAdapter.getFirstChild(g);nt;nt=this.treeAdapter.getFirstChild(g))this.treeAdapter.detachNode(nt),this.treeAdapter.appendChild(K,nt)}_setEndLocation(g,K){if(this.treeAdapter.getNodeSourceCodeLocation(g)&&K.location){const nt=K.location,gn=this.treeAdapter.getTagName(g),Yn=K.type===ei.END_TAG&&gn===K.tagName?{endTag:Po({},nt),endLine:nt.endLine,endCol:nt.endCol,endOffset:nt.endOffset}:{endLine:nt.startLine,endCol:nt.startCol,endOffset:nt.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(g,Yn)}}shouldProcessStartTagTokenInForeignContent(g){if(!this.currentNotInHTML)return!1;let K,nt;return this.openElements.stackTop===0&&this.fragmentContext?(K=this.fragmentContext,nt=this.fragmentContextID):{current:K,currentTagId:nt}=this.openElements,g.tagID===L.SVG&&this.treeAdapter.getTagName(K)===je.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(K)===ot.MATHML?!1:this.tokenizer.inForeignNode||(g.tagID===L.MGLYPH||g.tagID===L.MALIGNMARK)&&!this._isIntegrationPoint(nt,K,ot.HTML)}_processToken(g){switch(g.type){case ei.CHARACTER:{this.onCharacter(g);break}case ei.NULL_CHARACTER:{this.onNullCharacter(g);break}case ei.COMMENT:{this.onComment(g);break}case ei.DOCTYPE:{this.onDoctype(g);break}case ei.START_TAG:{this._processStartTag(g);break}case ei.END_TAG:{this.onEndTag(g);break}case ei.EOF:{this.onEof(g);break}case ei.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(g);break}}}_isIntegrationPoint(g,K,nt){const gn=this.treeAdapter.getNamespaceURI(K),Yn=this.treeAdapter.getAttrList(K);return nl(g,gn,Yn,nt)}_reconstructActiveFormattingElements(){const g=this.activeFormattingElements.entries.length;if(g){const K=this.activeFormattingElements.entries.findIndex(gn=>gn.type===Zn.Marker||this.openElements.contains(gn.element)),nt=K<0?g-1:K-1;for(let gn=nt;gn>=0;gn--){const Yn=this.activeFormattingElements.entries[gn];this._insertElement(Yn.token,this.treeAdapter.getNamespaceURI(Yn.element)),Yn.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ot.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(L.P),this.openElements.popUntilTagNamePopped(L.P)}_resetInsertionMode(){for(let g=this.openElements.stackTop;g>=0;g--)switch(g===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[g]){case L.TR:{this.insertionMode=Ot.IN_ROW;return}case L.TBODY:case L.THEAD:case L.TFOOT:{this.insertionMode=Ot.IN_TABLE_BODY;return}case L.CAPTION:{this.insertionMode=Ot.IN_CAPTION;return}case L.COLGROUP:{this.insertionMode=Ot.IN_COLUMN_GROUP;return}case L.TABLE:{this.insertionMode=Ot.IN_TABLE;return}case L.BODY:{this.insertionMode=Ot.IN_BODY;return}case L.FRAMESET:{this.insertionMode=Ot.IN_FRAMESET;return}case L.SELECT:{this._resetInsertionModeForSelect(g);return}case L.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case L.HTML:{this.insertionMode=this.headElement?Ot.AFTER_HEAD:Ot.BEFORE_HEAD;return}case L.TD:case L.TH:{if(g>0){this.insertionMode=Ot.IN_CELL;return}break}case L.HEAD:{if(g>0){this.insertionMode=Ot.IN_HEAD;return}break}}this.insertionMode=Ot.IN_BODY}_resetInsertionModeForSelect(g){if(g>0)for(let K=g-1;K>0;K--){const nt=this.openElements.tagIDs[K];if(nt===L.TEMPLATE)break;if(nt===L.TABLE){this.insertionMode=Ot.IN_SELECT_IN_TABLE;return}}this.insertionMode=Ot.IN_SELECT}_isElementCausesFosterParenting(g){return co.has(g)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let g=this.openElements.stackTop;g>=0;g--){const K=this.openElements.items[g];switch(this.openElements.tagIDs[g]){case L.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(K)===ot.HTML)return{parent:this.treeAdapter.getTemplateContent(K),beforeElement:null};break}case L.TABLE:{const nt=this.treeAdapter.getParentNode(K);return nt?{parent:nt,beforeElement:K}:{parent:this.openElements.items[g-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(g){const K=this._findFosterParentingLocation();K.beforeElement?this.treeAdapter.insertBefore(K.parent,g,K.beforeElement):this.treeAdapter.appendChild(K.parent,g)}_isSpecialElement(g,K){const nt=this.treeAdapter.getNamespaceURI(g);return xn[nt].has(K)}onCharacter(g){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){J(this,g);return}switch(this.insertionMode){case Ot.INITIAL:{Vo(this,g);break}case Ot.BEFORE_HTML:{dl(this,g);break}case Ot.BEFORE_HEAD:{Bo(this,g);break}case Ot.IN_HEAD:{qa(this,g);break}case Ot.IN_HEAD_NO_SCRIPT:{il(this,g);break}case Ot.AFTER_HEAD:{Ga(this,g);break}case Ot.IN_BODY:case Ot.IN_CAPTION:case Ot.IN_CELL:case Ot.IN_TEMPLATE:{Vi(this,g);break}case Ot.TEXT:case Ot.IN_SELECT:case Ot.IN_SELECT_IN_TABLE:{this._insertCharacters(g);break}case Ot.IN_TABLE:case Ot.IN_TABLE_BODY:case Ot.IN_ROW:{Ir(this,g);break}case Ot.IN_TABLE_TEXT:{Dl(this,g);break}case Ot.IN_COLUMN_GROUP:{mu(this,g);break}case Ot.AFTER_BODY:{zn(this,g);break}case Ot.AFTER_AFTER_BODY:{E(this,g);break}default:}}onNullCharacter(g){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){W(this,g);return}switch(this.insertionMode){case Ot.INITIAL:{Vo(this,g);break}case Ot.BEFORE_HTML:{dl(this,g);break}case Ot.BEFORE_HEAD:{Bo(this,g);break}case Ot.IN_HEAD:{qa(this,g);break}case Ot.IN_HEAD_NO_SCRIPT:{il(this,g);break}case Ot.AFTER_HEAD:{Ga(this,g);break}case Ot.TEXT:{this._insertCharacters(g);break}case Ot.IN_TABLE:case Ot.IN_TABLE_BODY:case Ot.IN_ROW:{Ir(this,g);break}case Ot.IN_COLUMN_GROUP:{mu(this,g);break}case Ot.AFTER_BODY:{zn(this,g);break}case Ot.AFTER_AFTER_BODY:{E(this,g);break}default:}}onComment(g){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ss(this,g);return}switch(this.insertionMode){case Ot.INITIAL:case Ot.BEFORE_HTML:case Ot.BEFORE_HEAD:case Ot.IN_HEAD:case Ot.IN_HEAD_NO_SCRIPT:case Ot.AFTER_HEAD:case Ot.IN_BODY:case Ot.IN_TABLE:case Ot.IN_CAPTION:case Ot.IN_COLUMN_GROUP:case Ot.IN_TABLE_BODY:case Ot.IN_ROW:case Ot.IN_CELL:case Ot.IN_SELECT:case Ot.IN_SELECT_IN_TABLE:case Ot.IN_TEMPLATE:case Ot.IN_FRAMESET:case Ot.AFTER_FRAMESET:{Ss(this,g);break}case Ot.IN_TABLE_TEXT:{yl(this,g);break}case Ot.AFTER_BODY:{ai(this,g);break}case Ot.AFTER_AFTER_BODY:case Ot.AFTER_AFTER_FRAMESET:{Ui(this,g);break}default:}}onDoctype(g){switch(this.skipNextNewLine=!1,this.insertionMode){case Ot.INITIAL:{Es(this,g);break}case Ot.BEFORE_HEAD:case Ot.IN_HEAD:case Ot.IN_HEAD_NO_SCRIPT:case Ot.AFTER_HEAD:{this._err(g,cn.misplacedDoctype);break}case Ot.IN_TABLE_TEXT:{yl(this,g);break}default:}}onStartTag(g){this.skipNextNewLine=!1,this.currentToken=g,this._processStartTag(g),g.selfClosing&&!g.ackSelfClosing&&this._err(g,cn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(g){this.shouldProcessStartTagTokenInForeignContent(g)?Te(this,g):this._startTagOutsideForeignContent(g)}_startTagOutsideForeignContent(g){switch(this.insertionMode){case Ot.INITIAL:{Vo(this,g);break}case Ot.BEFORE_HTML:{rs(this,g);break}case Ot.BEFORE_HEAD:{ws(this,g);break}case Ot.IN_HEAD:{Ia(this,g);break}case Ot.IN_HEAD_NO_SCRIPT:{Rl(this,g);break}case Ot.AFTER_HEAD:{rl(this,g);break}case Ot.IN_BODY:{Eo(this,g);break}case Ot.IN_TABLE:{Zs(this,g);break}case Ot.IN_TABLE_TEXT:{yl(this,g);break}case Ot.IN_CAPTION:{xl(this,g);break}case Ot.IN_COLUMN_GROUP:{Ys(this,g);break}case Ot.IN_TABLE_BODY:{nu(this,g);break}case Ot.IN_ROW:{Ws(this,g);break}case Ot.IN_CELL:{iu(this,g);break}case Ot.IN_SELECT:{Ee(this,g);break}case Ot.IN_SELECT_IN_TABLE:{dt(this,g);break}case Ot.IN_TEMPLATE:{_t(this,g);break}case Ot.AFTER_BODY:{bn(this,g);break}case Ot.IN_FRAMESET:{jn(this,g);break}case Ot.AFTER_FRAMESET:{hi(this,g);break}case Ot.AFTER_AFTER_BODY:{ti(this,g);break}case Ot.AFTER_AFTER_FRAMESET:{P(this,g);break}default:}}onEndTag(g){this.skipNextNewLine=!1,this.currentToken=g,this.currentNotInHTML?He(this,g):this._endTagOutsideForeignContent(g)}_endTagOutsideForeignContent(g){switch(this.insertionMode){case Ot.INITIAL:{Vo(this,g);break}case Ot.BEFORE_HTML:{Rr(this,g);break}case Ot.BEFORE_HEAD:{Os(this,g);break}case Ot.IN_HEAD:{fl(this,g);break}case Ot.IN_HEAD_NO_SCRIPT:{_o(this,g);break}case Ot.AFTER_HEAD:{hu(this,g);break}case Ot.IN_BODY:{la(this,g);break}case Ot.TEXT:{yo(this,g);break}case Ot.IN_TABLE:{Ao(this,g);break}case Ot.IN_TABLE_TEXT:{yl(this,g);break}case Ot.IN_CAPTION:{pu(this,g);break}case Ot.IN_COLUMN_GROUP:{Wl(this,g);break}case Ot.IN_TABLE_BODY:{Nu(this,g);break}case Ot.IN_ROW:{ys(this,g);break}case Ot.IN_CELL:{Au(this,g);break}case Ot.IN_SELECT:{Re(this,g);break}case Ot.IN_SELECT_IN_TABLE:{bt(this,g);break}case Ot.IN_TEMPLATE:{Dt(this,g);break}case Ot.AFTER_BODY:{ln(this,g);break}case Ot.IN_FRAMESET:{$n(this,g);break}case Ot.AFTER_FRAMESET:{gi(this,g);break}case Ot.AFTER_AFTER_BODY:{E(this,g);break}default:}}onEof(g){switch(this.insertionMode){case Ot.INITIAL:{Vo(this,g);break}case Ot.BEFORE_HTML:{dl(this,g);break}case Ot.BEFORE_HEAD:{Bo(this,g);break}case Ot.IN_HEAD:{qa(this,g);break}case Ot.IN_HEAD_NO_SCRIPT:{il(this,g);break}case Ot.AFTER_HEAD:{Ga(this,g);break}case Ot.IN_BODY:case Ot.IN_TABLE:case Ot.IN_CAPTION:case Ot.IN_COLUMN_GROUP:case Ot.IN_TABLE_BODY:case Ot.IN_ROW:case Ot.IN_CELL:case Ot.IN_SELECT:case Ot.IN_SELECT_IN_TABLE:{La(this,g);break}case Ot.TEXT:{fu(this,g);break}case Ot.IN_TABLE_TEXT:{yl(this,g);break}case Ot.IN_TEMPLATE:{ve(this,g);break}case Ot.AFTER_BODY:case Ot.IN_FRAMESET:case Ot.AFTER_FRAMESET:case Ot.AFTER_AFTER_BODY:case Ot.AFTER_AFTER_FRAMESET:{Jo(this,g);break}default:}}onWhitespaceCharacter(g){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,g.chars.charCodeAt(0)===ze.LINE_FEED)){if(g.chars.length===1)return;g.chars=g.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(g);return}switch(this.insertionMode){case Ot.IN_HEAD:case Ot.IN_HEAD_NO_SCRIPT:case Ot.AFTER_HEAD:case Ot.TEXT:case Ot.IN_COLUMN_GROUP:case Ot.IN_SELECT:case Ot.IN_SELECT_IN_TABLE:case Ot.IN_FRAMESET:case Ot.AFTER_FRAMESET:{this._insertCharacters(g);break}case Ot.IN_BODY:case Ot.IN_CAPTION:case Ot.IN_CELL:case Ot.IN_TEMPLATE:case Ot.AFTER_BODY:case Ot.AFTER_AFTER_BODY:case Ot.AFTER_AFTER_FRAMESET:{_s(this,g);break}case Ot.IN_TABLE:case Ot.IN_TABLE_BODY:case Ot.IN_ROW:{Ir(this,g);break}case Ot.IN_TABLE_TEXT:{qu(this,g);break}default:}}}function wn(d,g){let K=d.activeFormattingElements.getElementEntryInScopeWithTagName(g.tagName);return K?d.openElements.contains(K.element)?d.openElements.hasInScope(g.tagID)||(K=null):(d.activeFormattingElements.removeEntry(K),K=null):Ko(d,g),K}function ar(d,g){let K=null,nt=d.openElements.stackTop;for(;nt>=0;nt--){const gn=d.openElements.items[nt];if(gn===g.element)break;d._isSpecialElement(gn,d.openElements.tagIDs[nt])&&(K=gn)}return K||(d.openElements.shortenToLength(nt<0?0:nt),d.activeFormattingElements.removeEntry(g)),K}function mi(d,g,K){let nt=g,gn=d.openElements.getCommonAncestor(g);for(let Yn=0,wi=gn;wi!==K;Yn++,wi=gn){gn=d.openElements.getCommonAncestor(wi);const Cr=d.activeFormattingElements.getElementEntry(wi),Hr=Cr&&Yn>=go;!Cr||Hr?(Hr&&d.activeFormattingElements.removeEntry(Cr),d.openElements.remove(wi)):(wi=Wo(d,Cr),nt===g&&(d.activeFormattingElements.bookmark=Cr),d.treeAdapter.detachNode(nt),d.treeAdapter.appendChild(wi,nt),nt=wi)}return nt}function Wo(d,g){const K=d.treeAdapter.getNamespaceURI(g.element),nt=d.treeAdapter.createElement(g.token.tagName,K,g.token.attrs);return d.openElements.replace(g.element,nt),g.element=nt,nt}function ga(d,g,K){const nt=d.treeAdapter.getTagName(g),gn=Jt(nt);if(d._isElementCausesFosterParenting(gn))d._fosterParentElement(K);else{const Yn=d.treeAdapter.getNamespaceURI(g);gn===L.TEMPLATE&&Yn===ot.HTML&&(g=d.treeAdapter.getTemplateContent(g)),d.treeAdapter.appendChild(g,K)}}function Ja(d,g,K){const nt=d.treeAdapter.getNamespaceURI(K.element),{token:gn}=K,Yn=d.treeAdapter.createElement(gn.tagName,nt,gn.attrs);d._adoptNodes(g,Yn),d.treeAdapter.appendChild(g,Yn),d.activeFormattingElements.insertElementAfterBookmark(Yn,gn),d.activeFormattingElements.removeEntry(K),d.openElements.remove(K.element),d.openElements.insertAfter(g,Yn,gn.tagID)}function Ms(d,g){for(let K=0;K=K;nt--)d._setEndLocation(d.openElements.items[nt],g);if(!d.fragmentContext&&d.openElements.stackTop>=0){const nt=d.openElements.items[0],gn=d.treeAdapter.getNodeSourceCodeLocation(nt);if(gn&&!gn.endTag&&(d._setEndLocation(nt,g),d.openElements.stackTop>=1)){const Yn=d.openElements.items[1],wi=d.treeAdapter.getNodeSourceCodeLocation(Yn);wi&&!wi.endTag&&d._setEndLocation(Yn,g)}}}}function Es(d,g){d._setDocumentType(g);const K=g.forceQuirks?vt.QUIRKS:Lo(g);eo(g)||d._err(g,cn.nonConformingDoctype),d.treeAdapter.setDocumentMode(d.document,K),d.insertionMode=Ot.BEFORE_HTML}function Vo(d,g){d._err(g,cn.missingDoctype,!0),d.treeAdapter.setDocumentMode(d.document,vt.QUIRKS),d.insertionMode=Ot.BEFORE_HTML,d._processToken(g)}function rs(d,g){g.tagID===L.HTML?(d._insertElement(g,ot.HTML),d.insertionMode=Ot.BEFORE_HEAD):dl(d,g)}function Rr(d,g){const K=g.tagID;(K===L.HTML||K===L.HEAD||K===L.BODY||K===L.BR)&&dl(d,g)}function dl(d,g){d._insertFakeRootElement(),d.insertionMode=Ot.BEFORE_HEAD,d._processToken(g)}function ws(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.HEAD:{d._insertElement(g,ot.HTML),d.headElement=d.openElements.current,d.insertionMode=Ot.IN_HEAD;break}default:Bo(d,g)}}function Os(d,g){const K=g.tagID;K===L.HEAD||K===L.BODY||K===L.HTML||K===L.BR?Bo(d,g):d._err(g,cn.endTagWithoutMatchingOpenElement)}function Bo(d,g){d._insertFakeElement(je.HEAD,L.HEAD),d.headElement=d.openElements.current,d.insertionMode=Ot.IN_HEAD,d._processToken(g)}function Ia(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:{d._appendElement(g,ot.HTML),g.ackSelfClosing=!0;break}case L.TITLE:{d._switchToTextParsing(g,Mi.RCDATA);break}case L.NOSCRIPT:{d.options.scriptingEnabled?d._switchToTextParsing(g,Mi.RAWTEXT):(d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_HEAD_NO_SCRIPT);break}case L.NOFRAMES:case L.STYLE:{d._switchToTextParsing(g,Mi.RAWTEXT);break}case L.SCRIPT:{d._switchToTextParsing(g,Mi.SCRIPT_DATA);break}case L.TEMPLATE:{d._insertTemplate(g),d.activeFormattingElements.insertMarker(),d.framesetOk=!1,d.insertionMode=Ot.IN_TEMPLATE,d.tmplInsertionModeStack.unshift(Ot.IN_TEMPLATE);break}case L.HEAD:{d._err(g,cn.misplacedStartTagForHeadElement);break}default:qa(d,g)}}function fl(d,g){switch(g.tagID){case L.HEAD:{d.openElements.pop(),d.insertionMode=Ot.AFTER_HEAD;break}case L.BODY:case L.BR:case L.HTML:{qa(d,g);break}case L.TEMPLATE:{ja(d,g);break}default:d._err(g,cn.endTagWithoutMatchingOpenElement)}}function ja(d,g){d.openElements.tmplCount>0?(d.openElements.generateImpliedEndTagsThoroughly(),d.openElements.currentTagId!==L.TEMPLATE&&d._err(g,cn.closingOfElementWithOpenChildElements),d.openElements.popUntilTagNamePopped(L.TEMPLATE),d.activeFormattingElements.clearToLastMarker(),d.tmplInsertionModeStack.shift(),d._resetInsertionMode()):d._err(g,cn.endTagWithoutMatchingOpenElement)}function qa(d,g){d.openElements.pop(),d.insertionMode=Ot.AFTER_HEAD,d._processToken(g)}function Rl(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.BASEFONT:case L.BGSOUND:case L.HEAD:case L.LINK:case L.META:case L.NOFRAMES:case L.STYLE:{Ia(d,g);break}case L.NOSCRIPT:{d._err(g,cn.nestedNoscriptInHead);break}default:il(d,g)}}function _o(d,g){switch(g.tagID){case L.NOSCRIPT:{d.openElements.pop(),d.insertionMode=Ot.IN_HEAD;break}case L.BR:{il(d,g);break}default:d._err(g,cn.endTagWithoutMatchingOpenElement)}}function il(d,g){const K=g.type===ei.EOF?cn.openElementsLeftAfterEof:cn.disallowedContentInNoscriptInHead;d._err(g,K),d.openElements.pop(),d.insertionMode=Ot.IN_HEAD,d._processToken(g)}function rl(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.BODY:{d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=Ot.IN_BODY;break}case L.FRAMESET:{d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_FRAMESET;break}case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:case L.NOFRAMES:case L.SCRIPT:case L.STYLE:case L.TEMPLATE:case L.TITLE:{d._err(g,cn.abandonedHeadElementChild),d.openElements.push(d.headElement,L.HEAD),Ia(d,g),d.openElements.remove(d.headElement);break}case L.HEAD:{d._err(g,cn.misplacedStartTagForHeadElement);break}default:Ga(d,g)}}function hu(d,g){switch(g.tagID){case L.BODY:case L.HTML:case L.BR:{Ga(d,g);break}case L.TEMPLATE:{ja(d,g);break}default:d._err(g,cn.endTagWithoutMatchingOpenElement)}}function Ga(d,g){d._insertFakeElement(je.BODY,L.BODY),d.insertionMode=Ot.IN_BODY,os(d,g)}function os(d,g){switch(g.type){case ei.CHARACTER:{Vi(d,g);break}case ei.WHITESPACE_CHARACTER:{_s(d,g);break}case ei.COMMENT:{Ss(d,g);break}case ei.START_TAG:{Eo(d,g);break}case ei.END_TAG:{la(d,g);break}case ei.EOF:{La(d,g);break}default:}}function _s(d,g){d._reconstructActiveFormattingElements(),d._insertCharacters(g)}function Vi(d,g){d._reconstructActiveFormattingElements(),d._insertCharacters(g),d.framesetOk=!1}function Cs(d,g){d.openElements.tmplCount===0&&d.treeAdapter.adoptAttributes(d.openElements.items[0],g.attrs)}function jl(d,g){const K=d.openElements.tryPeekProperlyNestedBodyElement();K&&d.openElements.tmplCount===0&&(d.framesetOk=!1,d.treeAdapter.adoptAttributes(K,g.attrs))}function Kr(d,g){const K=d.openElements.tryPeekProperlyNestedBodyElement();d.framesetOk&&K&&(d.treeAdapter.detachNode(K),d.openElements.popAllUpToHtmlElement(),d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_FRAMESET)}function wo(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML)}function ha(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),An.has(d.openElements.currentTagId)&&d.openElements.pop(),d._insertElement(g,ot.HTML)}function aa(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.skipNextNewLine=!0,d.framesetOk=!1}function ro(d,g){const K=d.openElements.tmplCount>0;(!d.formElement||K)&&(d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),K||(d.formElement=d.openElements.current))}function ia(d,g){d.framesetOk=!1;const K=g.tagID;for(let nt=d.openElements.stackTop;nt>=0;nt--){const gn=d.openElements.tagIDs[nt];if(K===L.LI&&gn===L.LI||(K===L.DD||K===L.DT)&&(gn===L.DD||gn===L.DT)){d.openElements.generateImpliedEndTagsWithExclusion(gn),d.openElements.popUntilTagNamePopped(gn);break}if(gn!==L.ADDRESS&&gn!==L.DIV&&gn!==L.P&&d._isSpecialElement(d.openElements.items[nt],gn))break}d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML)}function va(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.tokenizer.state=Mi.PLAINTEXT}function Ma(d,g){d.openElements.hasInScope(L.BUTTON)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(L.BUTTON)),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.framesetOk=!1}function Oa(d,g){const K=d.activeFormattingElements.getElementEntryInScopeWithTagName(je.A);K&&(Ms(d,g),d.openElements.remove(K.element),d.activeFormattingElements.removeEntry(K)),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function Gl(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function Vs(d,g){d._reconstructActiveFormattingElements(),d.openElements.hasInScope(L.NOBR)&&(Ms(d,g),d._reconstructActiveFormattingElements()),d._insertElement(g,ot.HTML),d.activeFormattingElements.pushElement(d.openElements.current,g)}function wa(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.activeFormattingElements.insertMarker(),d.framesetOk=!1}function hc(d,g){d.treeAdapter.getDocumentMode(d.document)!==vt.QUIRKS&&d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=Ot.IN_TABLE}function zu(d,g){d._reconstructActiveFormattingElements(),d._appendElement(g,ot.HTML),d.framesetOk=!1,g.ackSelfClosing=!0}function du(d){const g=Tr(d,fn.TYPE);return g!=null&&g.toLowerCase()===uo}function nr(d,g){d._reconstructActiveFormattingElements(),d._appendElement(g,ot.HTML),du(g)||(d.framesetOk=!1),g.ackSelfClosing=!0}function Ks(d,g){d._appendElement(g,ot.HTML),g.ackSelfClosing=!0}function qe(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._appendElement(g,ot.HTML),d.framesetOk=!1,g.ackSelfClosing=!0}function Dn(d,g){g.tagName=je.IMG,g.tagID=L.IMG,zu(d,g)}function Cu(d,g){d._insertElement(g,ot.HTML),d.skipNextNewLine=!0,d.tokenizer.state=Mi.RCDATA,d.originalInsertionMode=d.insertionMode,d.framesetOk=!1,d.insertionMode=Ot.TEXT}function Yu(d,g){d.openElements.hasInButtonScope(L.P)&&d._closePElement(),d._reconstructActiveFormattingElements(),d.framesetOk=!1,d._switchToTextParsing(g,Mi.RAWTEXT)}function pl(d,g){d.framesetOk=!1,d._switchToTextParsing(g,Mi.RAWTEXT)}function ml(d,g){d._switchToTextParsing(g,Mi.RAWTEXT)}function gl(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML),d.framesetOk=!1,d.insertionMode=d.insertionMode===Ot.IN_TABLE||d.insertionMode===Ot.IN_CAPTION||d.insertionMode===Ot.IN_TABLE_BODY||d.insertionMode===Ot.IN_ROW||d.insertionMode===Ot.IN_CELL?Ot.IN_SELECT_IN_TABLE:Ot.IN_SELECT}function Xu(d,g){d.openElements.currentTagId===L.OPTION&&d.openElements.pop(),d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML)}function Tu(d,g){d.openElements.hasInScope(L.RUBY)&&d.openElements.generateImpliedEndTags(),d._insertElement(g,ot.HTML)}function Ca(d,g){d.openElements.hasInScope(L.RUBY)&&d.openElements.generateImpliedEndTagsWithExclusion(L.RTC),d._insertElement(g,ot.HTML)}function Dr(d,g){d._reconstructActiveFormattingElements(),ss(g),Go(g),g.selfClosing?d._appendElement(g,ot.MATHML):d._insertElement(g,ot.MATHML),g.ackSelfClosing=!0}function fs(d,g){d._reconstructActiveFormattingElements(),Ua(g),Go(g),g.selfClosing?d._appendElement(g,ot.SVG):d._insertElement(g,ot.SVG),g.ackSelfClosing=!0}function as(d,g){d._reconstructActiveFormattingElements(),d._insertElement(g,ot.HTML)}function Eo(d,g){switch(g.tagID){case L.I:case L.S:case L.B:case L.U:case L.EM:case L.TT:case L.BIG:case L.CODE:case L.FONT:case L.SMALL:case L.STRIKE:case L.STRONG:{Gl(d,g);break}case L.A:{Oa(d,g);break}case L.H1:case L.H2:case L.H3:case L.H4:case L.H5:case L.H6:{ha(d,g);break}case L.P:case L.DL:case L.OL:case L.UL:case L.DIV:case L.DIR:case L.NAV:case L.MAIN:case L.MENU:case L.ASIDE:case L.CENTER:case L.FIGURE:case L.FOOTER:case L.HEADER:case L.HGROUP:case L.DIALOG:case L.DETAILS:case L.ADDRESS:case L.ARTICLE:case L.SEARCH:case L.SECTION:case L.SUMMARY:case L.FIELDSET:case L.BLOCKQUOTE:case L.FIGCAPTION:{wo(d,g);break}case L.LI:case L.DD:case L.DT:{ia(d,g);break}case L.BR:case L.IMG:case L.WBR:case L.AREA:case L.EMBED:case L.KEYGEN:{zu(d,g);break}case L.HR:{qe(d,g);break}case L.RB:case L.RTC:{Tu(d,g);break}case L.RT:case L.RP:{Ca(d,g);break}case L.PRE:case L.LISTING:{aa(d,g);break}case L.XMP:{Yu(d,g);break}case L.SVG:{fs(d,g);break}case L.HTML:{Cs(d,g);break}case L.BASE:case L.LINK:case L.META:case L.STYLE:case L.TITLE:case L.SCRIPT:case L.BGSOUND:case L.BASEFONT:case L.TEMPLATE:{Ia(d,g);break}case L.BODY:{jl(d,g);break}case L.FORM:{ro(d,g);break}case L.NOBR:{Vs(d,g);break}case L.MATH:{Dr(d,g);break}case L.TABLE:{hc(d,g);break}case L.INPUT:{nr(d,g);break}case L.PARAM:case L.TRACK:case L.SOURCE:{Ks(d,g);break}case L.IMAGE:{Dn(d,g);break}case L.BUTTON:{Ma(d,g);break}case L.APPLET:case L.OBJECT:case L.MARQUEE:{wa(d,g);break}case L.IFRAME:{pl(d,g);break}case L.SELECT:{gl(d,g);break}case L.OPTION:case L.OPTGROUP:{Xu(d,g);break}case L.NOEMBED:case L.NOFRAMES:{ml(d,g);break}case L.FRAMESET:{Kr(d,g);break}case L.TEXTAREA:{Cu(d,g);break}case L.NOSCRIPT:{d.options.scriptingEnabled?ml(d,g):as(d,g);break}case L.PLAINTEXT:{va(d,g);break}case L.COL:case L.TH:case L.TD:case L.TR:case L.HEAD:case L.FRAME:case L.TBODY:case L.TFOOT:case L.THEAD:case L.CAPTION:case L.COLGROUP:break;default:as(d,g)}}function vo(d,g){if(d.openElements.hasInScope(L.BODY)&&(d.insertionMode=Ot.AFTER_BODY,d.options.sourceCodeLocationInfo)){const K=d.openElements.tryPeekProperlyNestedBodyElement();K&&d._setEndLocation(K,g)}}function Wa(d,g){d.openElements.hasInScope(L.BODY)&&(d.insertionMode=Ot.AFTER_BODY,ln(d,g))}function js(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(K))}function sa(d){const g=d.openElements.tmplCount>0,{formElement:K}=d;g||(d.formElement=null),(K||g)&&d.openElements.hasInScope(L.FORM)&&(d.openElements.generateImpliedEndTags(),g?d.openElements.popUntilTagNamePopped(L.FORM):K&&d.openElements.remove(K))}function Gs(d){d.openElements.hasInButtonScope(L.P)||d._insertFakeElement(je.P,L.P),d._closePElement()}function Va(d){d.openElements.hasInListItemScope(L.LI)&&(d.openElements.generateImpliedEndTagsWithExclusion(L.LI),d.openElements.popUntilTagNamePopped(L.LI))}function eu(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTagsWithExclusion(K),d.openElements.popUntilTagNamePopped(K))}function Ro(d){d.openElements.hasNumberedHeaderInScope()&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilNumberedHeaderPopped())}function vs(d,g){const K=g.tagID;d.openElements.hasInScope(K)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(K),d.activeFormattingElements.clearToLastMarker())}function So(d){d._reconstructActiveFormattingElements(),d._insertFakeElement(je.BR,L.BR),d.openElements.pop(),d.framesetOk=!1}function Ko(d,g){const K=g.tagName,nt=g.tagID;for(let gn=d.openElements.stackTop;gn>0;gn--){const Yn=d.openElements.items[gn],wi=d.openElements.tagIDs[gn];if(nt===wi&&(nt!==L.UNKNOWN||d.treeAdapter.getTagName(Yn)===K)){d.openElements.generateImpliedEndTagsWithExclusion(nt),d.openElements.stackTop>=gn&&d.openElements.shortenToLength(gn);break}if(d._isSpecialElement(Yn,wi))break}}function la(d,g){switch(g.tagID){case L.A:case L.B:case L.I:case L.S:case L.U:case L.EM:case L.TT:case L.BIG:case L.CODE:case L.FONT:case L.NOBR:case L.SMALL:case L.STRIKE:case L.STRONG:{Ms(d,g);break}case L.P:{Gs(d);break}case L.DL:case L.UL:case L.OL:case L.DIR:case L.DIV:case L.NAV:case L.PRE:case L.MAIN:case L.MENU:case L.ASIDE:case L.BUTTON:case L.CENTER:case L.FIGURE:case L.FOOTER:case L.HEADER:case L.HGROUP:case L.DIALOG:case L.ADDRESS:case L.ARTICLE:case L.DETAILS:case L.SEARCH:case L.SECTION:case L.SUMMARY:case L.LISTING:case L.FIELDSET:case L.BLOCKQUOTE:case L.FIGCAPTION:{js(d,g);break}case L.LI:{Va(d);break}case L.DD:case L.DT:{eu(d,g);break}case L.H1:case L.H2:case L.H3:case L.H4:case L.H5:case L.H6:{Ro(d);break}case L.BR:{So(d);break}case L.BODY:{vo(d,g);break}case L.HTML:{Wa(d,g);break}case L.FORM:{sa(d);break}case L.APPLET:case L.OBJECT:case L.MARQUEE:{vs(d,g);break}case L.TEMPLATE:{ja(d,g);break}default:Ko(d,g)}}function La(d,g){d.tmplInsertionModeStack.length>0?ve(d,g):Jo(d,g)}function yo(d,g){var K;g.tagID===L.SCRIPT&&((K=d.scriptHandler)===null||K===void 0||K.call(d,d.openElements.current)),d.openElements.pop(),d.insertionMode=d.originalInsertionMode}function fu(d,g){d._err(g,cn.eofInElementThatCanContainOnlyText),d.openElements.pop(),d.insertionMode=d.originalInsertionMode,d.onEof(g)}function Ir(d,g){if(co.has(d.openElements.currentTagId))switch(d.pendingCharacterTokens.length=0,d.hasNonWhitespacePendingCharacterToken=!1,d.originalInsertionMode=d.insertionMode,d.insertionMode=Ot.IN_TABLE_TEXT,g.type){case ei.CHARACTER:{Dl(d,g);break}case ei.WHITESPACE_CHARACTER:{qu(d,g);break}}else Ls(d,g)}function dc(d,g){d.openElements.clearBackToTableContext(),d.activeFormattingElements.insertMarker(),d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_CAPTION}function Co(d,g){d.openElements.clearBackToTableContext(),d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_COLUMN_GROUP}function Qu(d,g){d.openElements.clearBackToTableContext(),d._insertFakeElement(je.COLGROUP,L.COLGROUP),d.insertionMode=Ot.IN_COLUMN_GROUP,Ys(d,g)}function Ju(d,g){d.openElements.clearBackToTableContext(),d._insertElement(g,ot.HTML),d.insertionMode=Ot.IN_TABLE_BODY}function tu(d,g){d.openElements.clearBackToTableContext(),d._insertFakeElement(je.TBODY,L.TBODY),d.insertionMode=Ot.IN_TABLE_BODY,nu(d,g)}function wc(d,g){d.openElements.hasInTableScope(L.TABLE)&&(d.openElements.popUntilTagNamePopped(L.TABLE),d._resetInsertionMode(),d._processStartTag(g))}function Uu(d,g){du(g)?d._appendElement(g,ot.HTML):Ls(d,g),g.ackSelfClosing=!0}function vl(d,g){!d.formElement&&d.openElements.tmplCount===0&&(d._insertElement(g,ot.HTML),d.formElement=d.openElements.current,d.openElements.pop())}function Zs(d,g){switch(g.tagID){case L.TD:case L.TH:case L.TR:{tu(d,g);break}case L.STYLE:case L.SCRIPT:case L.TEMPLATE:{Ia(d,g);break}case L.COL:{Qu(d,g);break}case L.FORM:{vl(d,g);break}case L.TABLE:{wc(d,g);break}case L.TBODY:case L.TFOOT:case L.THEAD:{Ju(d,g);break}case L.INPUT:{Uu(d,g);break}case L.CAPTION:{dc(d,g);break}case L.COLGROUP:{Co(d,g);break}default:Ls(d,g)}}function Ao(d,g){switch(g.tagID){case L.TABLE:{d.openElements.hasInTableScope(L.TABLE)&&(d.openElements.popUntilTagNamePopped(L.TABLE),d._resetInsertionMode());break}case L.TEMPLATE:{ja(d,g);break}case L.BODY:case L.CAPTION:case L.COL:case L.COLGROUP:case L.HTML:case L.TBODY:case L.TD:case L.TFOOT:case L.TH:case L.THEAD:case L.TR:break;default:Ls(d,g)}}function Ls(d,g){const K=d.fosterParentingEnabled;d.fosterParentingEnabled=!0,os(d,g),d.fosterParentingEnabled=K}function qu(d,g){d.pendingCharacterTokens.push(g)}function Dl(d,g){d.pendingCharacterTokens.push(g),d.hasNonWhitespacePendingCharacterToken=!0}function yl(d,g){let K=0;if(d.hasNonWhitespacePendingCharacterToken)for(;K0&&d.openElements.currentTagId===L.OPTION&&d.openElements.tagIDs[d.openElements.stackTop-1]===L.OPTGROUP&&d.openElements.pop(),d.openElements.currentTagId===L.OPTGROUP&&d.openElements.pop();break}case L.OPTION:{d.openElements.currentTagId===L.OPTION&&d.openElements.pop();break}case L.SELECT:{d.openElements.hasInSelectScope(L.SELECT)&&(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode());break}case L.TEMPLATE:{ja(d,g);break}default:}}function dt(d,g){const K=g.tagID;K===L.CAPTION||K===L.TABLE||K===L.TBODY||K===L.TFOOT||K===L.THEAD||K===L.TR||K===L.TD||K===L.TH?(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode(),d._processStartTag(g)):Ee(d,g)}function bt(d,g){const K=g.tagID;K===L.CAPTION||K===L.TABLE||K===L.TBODY||K===L.TFOOT||K===L.THEAD||K===L.TR||K===L.TD||K===L.TH?d.openElements.hasInTableScope(K)&&(d.openElements.popUntilTagNamePopped(L.SELECT),d._resetInsertionMode(),d.onEndTag(g)):Re(d,g)}function _t(d,g){switch(g.tagID){case L.BASE:case L.BASEFONT:case L.BGSOUND:case L.LINK:case L.META:case L.NOFRAMES:case L.SCRIPT:case L.STYLE:case L.TEMPLATE:case L.TITLE:{Ia(d,g);break}case L.CAPTION:case L.COLGROUP:case L.TBODY:case L.TFOOT:case L.THEAD:{d.tmplInsertionModeStack[0]=Ot.IN_TABLE,d.insertionMode=Ot.IN_TABLE,Zs(d,g);break}case L.COL:{d.tmplInsertionModeStack[0]=Ot.IN_COLUMN_GROUP,d.insertionMode=Ot.IN_COLUMN_GROUP,Ys(d,g);break}case L.TR:{d.tmplInsertionModeStack[0]=Ot.IN_TABLE_BODY,d.insertionMode=Ot.IN_TABLE_BODY,nu(d,g);break}case L.TD:case L.TH:{d.tmplInsertionModeStack[0]=Ot.IN_ROW,d.insertionMode=Ot.IN_ROW,Ws(d,g);break}default:d.tmplInsertionModeStack[0]=Ot.IN_BODY,d.insertionMode=Ot.IN_BODY,Eo(d,g)}}function Dt(d,g){g.tagID===L.TEMPLATE&&ja(d,g)}function ve(d,g){d.openElements.tmplCount>0?(d.openElements.popUntilTagNamePopped(L.TEMPLATE),d.activeFormattingElements.clearToLastMarker(),d.tmplInsertionModeStack.shift(),d._resetInsertionMode(),d.onEof(g)):Jo(d,g)}function bn(d,g){g.tagID===L.HTML?Eo(d,g):zn(d,g)}function ln(d,g){var K;if(g.tagID===L.HTML){if(d.fragmentContext||(d.insertionMode=Ot.AFTER_AFTER_BODY),d.options.sourceCodeLocationInfo&&d.openElements.tagIDs[0]===L.HTML){d._setEndLocation(d.openElements.items[0],g);const nt=d.openElements.items[1];nt&&!(!((K=d.treeAdapter.getNodeSourceCodeLocation(nt))===null||K===void 0)&&K.endTag)&&d._setEndLocation(nt,g)}}else zn(d,g)}function zn(d,g){d.insertionMode=Ot.IN_BODY,os(d,g)}function jn(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.FRAMESET:{d._insertElement(g,ot.HTML);break}case L.FRAME:{d._appendElement(g,ot.HTML),g.ackSelfClosing=!0;break}case L.NOFRAMES:{Ia(d,g);break}default:}}function $n(d,g){g.tagID===L.FRAMESET&&!d.openElements.isRootHtmlElementCurrent()&&(d.openElements.pop(),!d.fragmentContext&&d.openElements.currentTagId!==L.FRAMESET&&(d.insertionMode=Ot.AFTER_FRAMESET))}function hi(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.NOFRAMES:{Ia(d,g);break}default:}}function gi(d,g){g.tagID===L.HTML&&(d.insertionMode=Ot.AFTER_AFTER_FRAMESET)}function ti(d,g){g.tagID===L.HTML?Eo(d,g):E(d,g)}function E(d,g){d.insertionMode=Ot.IN_BODY,os(d,g)}function P(d,g){switch(g.tagID){case L.HTML:{Eo(d,g);break}case L.NOFRAMES:{Ia(d,g);break}default:}}function W(d,g){g.chars=rn,d._insertCharacters(g)}function J(d,g){d._insertCharacters(g),d.framesetOk=!1}function ge(d){for(;d.treeAdapter.getNamespaceURI(d.openElements.current)!==ot.HTML&&!d._isIntegrationPoint(d.openElements.currentTagId,d.openElements.current);)d.openElements.pop()}function Te(d,g){if(ka(g))ge(d),d._startTagOutsideForeignContent(g);else{const K=d._getAdjustedCurrentElement(),nt=d.treeAdapter.getNamespaceURI(K);nt===ot.MATHML?ss(g):nt===ot.SVG&&(Zt(g),Ua(g)),Go(g),g.selfClosing?d._appendElement(g,nt):d._insertElement(g,nt),g.ackSelfClosing=!0}}function He(d,g){if(g.tagID===L.P||g.tagID===L.BR){ge(d),d._endTagOutsideForeignContent(g);return}for(let K=d.openElements.stackTop;K>0;K--){const nt=d.openElements.items[K];if(d.treeAdapter.getNamespaceURI(nt)===ot.HTML){d._endTagOutsideForeignContent(g);break}const gn=d.treeAdapter.getTagName(nt);if(gn.toLowerCase()===g.tagName){g.tagName=gn,d.openElements.shortenToLength(K);break}}}const it=/["&'<>$\x80-\uFFFF]/g,jt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Qt=String.prototype.codePointAt!=null?(d,g)=>d.codePointAt(g):(d,g)=>(d.charCodeAt(g)&64512)===55296?(d.charCodeAt(g)-55296)*1024+d.charCodeAt(g+1)-56320+65536:d.charCodeAt(g);function yt(d){let g="",K=0,nt;for(;(nt=it.exec(d))!==null;){const gn=nt.index,Yn=d.charCodeAt(gn),wi=jt.get(Yn);wi!==void 0?(g+=d.substring(K,gn)+wi,K=gn+1):(g+=`${d.substring(K,gn)}&#x${Qt(d,gn).toString(16)};`,K=it.lastIndex+=+((Yn&64512)===55296))}return g+d.substr(K)}const en=null;function Gt(d,g){return function(nt){let gn,Yn=0,wi="";for(;gn=d.exec(nt);)Yn!==gn.index&&(wi+=nt.substring(Yn,gn.index)),wi+=g.get(gn[0].charCodeAt(0)),Yn=gn.index+1;return wi+nt.substring(Yn)}}const wt=Gt(/[&<>'"]/g,jt),ii=Gt(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),ki=Gt(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),ji=new Set([je.AREA,je.BASE,je.BASEFONT,je.BGSOUND,je.BR,je.COL,je.EMBED,je.FRAME,je.HR,je.IMG,je.INPUT,je.KEYGEN,je.LINK,je.META,je.PARAM,je.SOURCE,je.TRACK,je.WBR]);function si(d,g){return g.treeAdapter.isElementNode(d)&&g.treeAdapter.getNamespaceURI(d)===NS.HTML&&ji.has(g.treeAdapter.getTagName(d))}const vi={treeAdapter:br,scriptingEnabled:!0};function Pi(d,g){const K=Po(Po({},vi),g);return si(d,K)?"":Xr(d,K)}function Mr(d,g){const K=Po(Po({},vi),g);return ui(d,K)}function Xr(d,g){let K="";const nt=g.treeAdapter.isElementNode(d)&&g.treeAdapter.getTagName(d)===$.TEMPLATE&&g.treeAdapter.getNamespaceURI(d)===NS.HTML?g.treeAdapter.getTemplateContent(d):d,gn=g.treeAdapter.getChildNodes(nt);if(gn)for(const Yn of gn)K+=ui(Yn,g);return K}function ui(d,g){return g.treeAdapter.isElementNode(d)?io(d,g):g.treeAdapter.isTextNode(d)?dr(d,g):g.treeAdapter.isCommentNode(d)?Qi(d,g):g.treeAdapter.isDocumentTypeNode(d)?oo(d,g):""}function io(d,g){const K=g.treeAdapter.getTagName(d);return`<${K}${bo(d,g)}>${si(d,g)?"":`${Xr(d,g)}`}`}function bo(d,{treeAdapter:g}){let K="";for(const nt of g.getAttrList(d)){if(K+=" ",nt.namespace)switch(nt.namespace){case NS.XML:{K+=`xml:${nt.name}`;break}case NS.XMLNS:{nt.name!=="xmlns"&&(K+="xmlns:"),K+=nt.name;break}case NS.XLINK:{K+=`xlink:${nt.name}`;break}default:K+=`${nt.prefix}:${nt.name}`}else K+=nt.name;K+=`="${escapeAttribute(nt.value)}"`}return K}function dr(d,g){const{treeAdapter:K}=g,nt=K.getTextNodeContent(d),gn=K.getParentNode(d),Yn=gn&&K.isElementNode(gn)&&K.getTagName(gn);return Yn&&K.getNamespaceURI(gn)===NS.HTML&&hasUnescapedText(Yn,g.scriptingEnabled)?nt:escapeText(nt)}function Qi(d,{treeAdapter:g}){return``}function oo(d,{treeAdapter:g}){return``}function to(d,g){return Parser.parse(d,g)}function pr(d,g,K){typeof d=="string"&&(K=g,g=d,d=null);const nt=Parser.getFragmentParser(d,K);return nt.tokenizer.write(g,!0),nt.getFragment()}var _r=h(17970),Gi=h(10528);const ir=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,vr=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),sr={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function ho(d,g){const K=Ho(d),nt=_e("type",{handlers:{root:zr,element:fo,text:un,comment:es,doctype:da,raw:Fo},unknown:qo}),gn={parser:K?new xr(sr):xr.getFragmentParser(void 0,sr),handle(Cr){nt(Cr,gn)},stitches:!1,options:g||{}};nt(d,gn),ta(gn,(0,_r.Pk)());const Yn=K?gn.parser.document:gn.parser.getFragment(),wi=we(Yn,{file:gn.options.file});return gn.stitches&&(0,Gi.Vn)(wi,"comment",function(Cr,Hr,Gn){const Hi=Cr;if(Hi.value.stitch&&Gn&&Hr!==void 0){const Or=Gn.children;return Or[Hr]=Hi.value.stitch,Hr}}),wi.type==="root"&&wi.children.length===1&&wi.children[0].type===d.type?wi.children[0]:wi}function $t(d,g){let K=-1;if(d)for(;++K4&&(g.parser.tokenizer.state=0);const K={type:ei.CHARACTER,chars:d.value,location:Zo(d)};ta(g,(0,_r.Pk)(d)),g.parser.currentToken=K,g.parser._processToken(g.parser.currentToken)}function da(d,g){const K={type:ei.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Zo(d)};ta(g,(0,_r.Pk)(d)),g.parser.currentToken=K,g.parser._processToken(g.parser.currentToken)}function Ta(d,g){g.stitches=!0;const K=Sa(d);if("children"in d&&"children"in K){const nt=ho({type:"root",children:d.children},g.options);K.children=nt.children}es({type:"comment",value:{stitch:K}},g)}function es(d,g){const K=d.value,nt={type:ei.COMMENT,data:K,location:Zo(d)};ta(g,(0,_r.Pk)(d)),g.parser.currentToken=nt,g.parser._processToken(g.parser.currentToken)}function Fo(d,g){if(g.parser.tokenizer.preprocessor.html="",g.parser.tokenizer.preprocessor.pos=-1,g.parser.tokenizer.preprocessor.lastGapPos=-2,g.parser.tokenizer.preprocessor.gapStack=[],g.parser.tokenizer.preprocessor.skipNextNewLine=!1,g.parser.tokenizer.preprocessor.lastChunkWritten=!1,g.parser.tokenizer.preprocessor.endOfChunkHit=!1,g.parser.tokenizer.preprocessor.isEol=!1,ya(g,(0,_r.Pk)(d)),g.parser.tokenizer.write(g.options.tagfilter?d.value.replace(ir,"<$1$2"):d.value,!1),g.parser.tokenizer._runParsingLoop(),g.parser.tokenizer.state===72||g.parser.tokenizer.state===78){g.parser.tokenizer.preprocessor.lastChunkWritten=!0;const K=g.parser.tokenizer._consume();g.parser.tokenizer._callState(K)}}function qo(d,g){const K=d;if(g.options.passThrough&&g.options.passThrough.includes(K.type))Ta(K,g);else{let nt="";throw vr.has(K.type)&&(nt=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+K.type+"` node"+nt)}}function ta(d,g){ya(d,g);const K=d.parser.tokenizer.currentCharacterToken;K&&K.location&&(K.location.endLine=d.parser.tokenizer.preprocessor.line,K.location.endCol=d.parser.tokenizer.preprocessor.col+1,K.location.endOffset=d.parser.tokenizer.preprocessor.offset+1,d.parser.currentToken=K,d.parser._processToken(d.parser.currentToken)),d.parser.tokenizer.paused=!1,d.parser.tokenizer.inLoop=!1,d.parser.tokenizer.active=!1,d.parser.tokenizer.returnState=Mi.DATA,d.parser.tokenizer.charRefCode=-1,d.parser.tokenizer.consumedAfterSnapshot=-1,d.parser.tokenizer.currentLocation=null,d.parser.tokenizer.currentCharacterToken=null,d.parser.tokenizer.currentToken=null,d.parser.tokenizer.currentAttr={name:"",value:""}}function ya(d,g){if(g&&g.offset!==void 0){const K={startLine:g.line,startCol:g.column,startOffset:g.offset,endLine:-1,endCol:-1,endOffset:-1};d.parser.tokenizer.preprocessor.lineStartPos=-g.column+1,d.parser.tokenizer.preprocessor.droppedBufferSize=g.offset,d.parser.tokenizer.preprocessor.line=g.line,d.parser.tokenizer.currentLocation=K}}function zs(d,g){const K=d.tagName.toLowerCase();if(g.parser.tokenizer.state===Mi.PLAINTEXT)return;ta(g,(0,_r.Pk)(d));const nt=g.parser.openElements.current;let gn="namespaceURI"in nt?nt.namespaceURI:ae.t.html;gn===ae.t.html&&K==="svg"&&(gn=ae.t.svg);const Yn=gt(cd(Po({},d),{children:[]}),{space:gn===ae.t.svg?"svg":"html"}),wi={type:ei.START_TAG,tagName:K,tagID:Jt(K),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in Yn?Yn.attrs:[],location:Zo(d)};g.parser.currentToken=wi,g.parser._processToken(g.parser.currentToken),g.parser.tokenizer.lastStartTagName=K}function ko(d,g){const K=d.tagName.toLowerCase();if(!g.parser.tokenizer.inForeignNode&&zt.includes(K)||g.parser.tokenizer.state===Mi.PLAINTEXT)return;ta(g,(0,_r.rb)(d));const nt={type:ei.END_TAG,tagName:K,tagID:Jt(K),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Zo(d)};g.parser.currentToken=nt,g.parser._processToken(g.parser.currentToken),K===g.parser.tokenizer.lastStartTagName&&(g.parser.tokenizer.state===Mi.RCDATA||g.parser.tokenizer.state===Mi.RAWTEXT||g.parser.tokenizer.state===Mi.SCRIPT_DATA)&&(g.parser.tokenizer.state=Mi.DATA)}function Ho(d){const g=d.type==="root"?d.children[0]:d;return!!(g&&(g.type==="doctype"||g.type==="element"&&g.tagName.toLowerCase()==="html"))}function Zo(d){const g=(0,_r.Pk)(d)||{line:void 0,column:void 0,offset:void 0},K=(0,_r.rb)(d)||{line:void 0,column:void 0,offset:void 0};return{startLine:g.line,startCol:g.column,startOffset:g.offset,endLine:K.line,endCol:K.column,endOffset:K.offset}}function Sa(d){return"children"in d?(0,I.ZP)(cd(Po({},d),{children:[]})):(0,I.ZP)(d)}function Ha(d){return function(g,K){return ho(g,cd(Po({},d),{file:K}))}}},30084:function(Q,C,h){"use strict";h.d(C,{Z:function(){return Ae}});var v=h(87342);function I(Pe,fe){const pe=String(Pe);let xe=pe.indexOf(fe),me=xe,ke=0,ee=0;if(typeof fe!="string")throw new TypeError("Expected substring");for(;xe!==-1;)xe===me?++ke>ee&&(ee=ke):ke=1,me=xe+fe.length,xe=pe.indexOf(fe,me);return ee}function O(){return{enter:{mathFlow:Pe,mathFlowFenceMeta:fe,mathText:ke},exit:{mathFlow:me,mathFlowFence:xe,mathFlowFenceMeta:pe,mathFlowValue:Ne,mathText:ee,mathTextData:Ne}};function Pe(Ie){const Le={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[Le]}},Ie)}function fe(){this.buffer()}function pe(){const Ie=this.resume(),Le=this.stack[this.stack.length-1];(0,v.ok)(Le.type==="math"),Le.meta=Ie}function xe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function me(Ie){const Le=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),Je=this.stack[this.stack.length-1];(0,v.ok)(Je.type==="math"),this.exit(Ie),Je.value=Le;const Ye=Je.data.hChildren[0];(0,v.ok)(Ye.type==="element"),(0,v.ok)(Ye.tagName==="code"),Ye.children.push({type:"text",value:Le}),this.data.mathFlowInside=void 0}function ke(Ie){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},Ie),this.buffer()}function ee(Ie){const Le=this.resume(),Je=this.stack[this.stack.length-1];(0,v.ok)(Je.type==="inlineMath"),this.exit(Ie),Je.value=Le,Je.data.hChildren.push({type:"text",value:Le})}function Ne(Ie){this.config.enter.data.call(this,Ie),this.config.exit.data.call(this,Ie)}}function B(Pe){let fe=(Pe||{}).singleDollarTextMath;return fe==null&&(fe=!0),xe.peek=me,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +`,inConstruct:"mathFlowMeta"},{character:"$",after:fe?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:pe,inlineMath:xe}};function pe(ke,ee,Ne,Ie){const Le=ke.value||"",Je=Ne.createTracker(Ie),Ye="$".repeat(Math.max(I(Le,"$")+1,2)),re=Ne.enter("mathFlow");let lt=Je.move(Ye);if(ke.meta){const We=Ne.enter("mathFlowMeta");lt+=Je.move(Ne.safe(ke.meta,Po({after:` +`,before:lt,encode:["$"]},Je.current()))),We()}return lt+=Je.move(` +`),Le&&(lt+=Je.move(Le+` +`)),lt+=Je.move(Ye),re(),lt}function xe(ke,ee,Ne){let Ie=ke.value||"",Le=1;for(fe||Le++;new RegExp("(^|[^$])"+"\\$".repeat(Le)+"([^$]|$)").test(Ie);)Le++;const Je="$".repeat(Le);/[^ \r\n]/.test(Ie)&&(/^[ \r\n]/.test(Ie)&&/[ \r\n]$/.test(Ie)||/^\$|\$$/.test(Ie))&&(Ie=" "+Ie+" ");let Ye=-1;for(;++Yetypeof ae=="object"&&ae!=null&&ae.nodeType===1,I=(ae,te)=>(!te||ae!=="hidden")&&ae!=="visible"&&ae!=="clip",O=(ae,te)=>{if(ae.clientHeight{const Xe=(Oe=>{if(!Oe.ownerDocument||!Oe.ownerDocument.defaultView)return null;try{return Oe.ownerDocument.defaultView.frameElement}catch(Ce){return null}})(we);return!!Xe&&(Xe.clientHeightOete||Oe>ae&&Ce=te&&Ae>=Me?Oe-ae-we:Ce>te&&AeMe?Ce-te+Xe:0,G=ae=>{const te=ae.parentElement;return te==null?ae.getRootNode().host||null:te},F=(ae,te)=>{var Me,we,Xe,Oe;if(typeof document=="undefined")return[];const{scrollMode:Ce,block:Ae,inline:Pe,boundary:fe,skipOverflowHiddenElements:pe}=te,xe=typeof fe=="function"?fe:Vt=>Vt!==fe;if(!v(ae))throw new TypeError("Invalid target");const me=document.scrollingElement||document.documentElement,ke=[];let ee=ae;for(;v(ee)&&xe(ee);){if(ee=G(ee),ee===me){ke.push(ee);break}ee!=null&&ee===document.body&&O(ee)&&!O(document.documentElement)||ee!=null&&O(ee,pe)&&ke.push(ee)}const Ne=(we=(Me=window.visualViewport)==null?void 0:Me.width)!=null?we:innerWidth,Ie=(Oe=(Xe=window.visualViewport)==null?void 0:Xe.height)!=null?Oe:innerHeight,{scrollX:Le,scrollY:Je}=window,{height:Ye,width:re,top:lt,right:We,bottom:Pt,left:xt}=ae.getBoundingClientRect(),{top:kt,right:Ct,bottom:Cn,left:Qe}=(Vt=>{const St=window.getComputedStyle(Vt);return{top:parseFloat(St.scrollMarginTop)||0,right:parseFloat(St.scrollMarginRight)||0,bottom:parseFloat(St.scrollMarginBottom)||0,left:parseFloat(St.scrollMarginLeft)||0}})(ae);let le=Ae==="start"||Ae==="nearest"?lt-kt:Ae==="end"?Pt+Cn:lt+Ye/2-kt+Cn,ce=Pe==="center"?xt+re/2-Qe+Ct:Pe==="end"?We+Ct:xt-Qe;const Ht=[];for(let Vt=0;Vt=0&&xt>=0&&Pt<=Ie&&We<=Ne&&(St===me&&!O(St)||lt>=oi&&Pt<=ni&&xt>=Jn&&We<=On))return Ht;const Mn=getComputedStyle(St),In=parseInt(Mn.borderLeftWidth,10),ie=parseInt(Mn.borderTopWidth,10),z=parseInt(Mn.borderRightWidth,10),k=parseInt(Mn.borderBottomWidth,10);let j=0,X=0;const T="offsetWidth"in St?St.offsetWidth-St.clientWidth-In-z:0,_e="offsetHeight"in St?St.offsetHeight-St.clientHeight-ie-k:0,It="offsetWidth"in St?St.offsetWidth===0?0:Ft/St.offsetWidth:0,$e="offsetHeight"in St?St.offsetHeight===0?0:sn/St.offsetHeight:0;if(me===St)j=Ae==="start"?le:Ae==="end"?le-Ie:Ae==="nearest"?B(Je,Je+Ie,Ie,ie,k,Je+le,Je+le+Ye,Ye):le-Ie/2,X=Pe==="start"?ce:Pe==="center"?ce-Ne/2:Pe==="end"?ce-Ne:B(Le,Le+Ne,Ne,In,z,Le+ce,Le+ce+re,re),j=Math.max(0,j+Je),X=Math.max(0,X+Le);else{j=Ae==="start"?le-oi-ie:Ae==="end"?le-ni+k+_e:Ae==="nearest"?B(oi,ni,sn,ie,k+_e,le,le+Ye,Ye):le-(oi+sn/2)+_e/2,X=Pe==="start"?ce-Jn-In:Pe==="center"?ce-(Jn+Ft/2)+T/2:Pe==="end"?ce-On+z+T:B(Jn,On,Ft,In,z+T,ce,ce+re,re);const{scrollLeft:De,scrollTop:gt}=St;j=$e===0?0:Math.max(0,Math.min(gt+j/$e,St.scrollHeight-sn/$e+_e)),X=It===0?0:Math.max(0,Math.min(De+X/It,St.scrollWidth-Ft/It+T)),le+=gt-j,ce+=De-X}Ht.push({el:St,top:j,left:X})}return Ht},M=ae=>ae===!1?{block:"end",inline:"nearest"}:(te=>te===Object(te)&&Object.keys(te).length!==0)(ae)?ae:{block:"start",inline:"nearest"};function de(ae,te){if(!ae.isConnected||!(Xe=>{let Oe=Xe;for(;Oe&&Oe.parentNode;){if(Oe.parentNode===document)return!0;Oe=Oe.parentNode instanceof ShadowRoot?Oe.parentNode.host:Oe.parentNode}return!1})(ae))return;const Me=(Xe=>{const Oe=window.getComputedStyle(Xe);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(ae);if((Xe=>typeof Xe=="object"&&typeof Xe.behavior=="function")(te))return te.behavior(F(ae,te));const we=typeof te=="boolean"||te==null?void 0:te.behavior;for(const{el:Xe,top:Oe,left:Ce}of F(ae,M(te))){const Ae=Oe-Me.top+Me.bottom,Pe=Ce-Me.left+Me.right;Xe.scroll({top:Ae,left:Pe,behavior:we})}}},71523:function(Q,C,h){"use strict";h.d(C,{P:function(){return I},Q:function(){return v}});function v(O){const B=String(O||"").trim();return B?B.split(/[ \t\n\r\f]+/g):[]}function I(O){return O.join(" ").trim()}},10502:function(Q,C,h){"use strict";h.d(C,{O:function(){return I}});const v=function(ae,te,Me,we,Xe){const Oe=I(te);if(Me!=null&&(typeof Me!="number"||Me<0||Me===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(we!=null&&(!v(we)||!we.children))throw new Error("Expected parent node");if(we==null!=(Me==null))throw new Error("Expected both parent and index");return de(ae)?Oe.call(Xe,ae,Me,we):!1},I=function(ae){if(ae==null)return M;if(typeof ae=="function")return F(ae);if(typeof ae=="object")return Array.isArray(ae)?O(ae):B(ae);if(typeof ae=="string")return G(ae);throw new Error("Expected function, string, or object as test")};function O(ae){const te=[];let Me=-1;for(;++Me0&&typeof de.column=="number"&&de.column>0)return{line:de.line,column:de.column,offset:typeof de.offset=="number"&&de.offset>-1?de.offset:void 0}}}function B(G){const F=I(G),M=v(G);if(F&&M)return{start:F,end:M}}},2348:function(Q,C,h){"use strict";h.d(C,{AM:function(){return F},S4:function(){return M}});var v=h(10502);function I(ae){return ae}const O=[],B=!0,G=!1,F="skip";function M(ae,te,Me,we){let Xe;typeof te=="function"&&typeof Me!="function"?(we=Me,Me=te):Xe=te;const Oe=(0,v.O)(Xe),Ce=we?-1:1;Ae(ae,void 0,[])();function Ae(Pe,fe,pe){const xe=Pe&&typeof Pe=="object"?Pe:{};if(typeof xe.type=="string"){const ke=typeof xe.tagName=="string"?xe.tagName:typeof xe.name=="string"?xe.name:void 0;Object.defineProperty(me,"name",{value:"node ("+(Pe.type+(ke?"<"+ke+">":""))+")"})}return me;function me(){let ke=O,ee,Ne,Ie;if((!te||Oe(Pe,fe,pe[pe.length-1]||void 0))&&(ke=de(Me(Pe,pe)),ke[0]===G))return ke;if("children"in Pe&&Pe.children){const Le=Pe;if(Le.children&&ke[0]!==F)for(Ne=(we?Le.children.length:-1)+Ce,Ie=pe.concat(Le);Ne>-1&&Ne","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(Q){"use strict";Q.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); }()); \ No newline at end of file diff --git a/layouts__SimpleLayouts.50314851.async.js b/layouts__SimpleLayouts.19139b04.async.js similarity index 99% rename from layouts__SimpleLayouts.50314851.async.js rename to layouts__SimpleLayouts.19139b04.async.js index c005a23bd6..474c74363d 100644 --- a/layouts__SimpleLayouts.50314851.async.js +++ b/layouts__SimpleLayouts.19139b04.async.js @@ -3,7 +3,7 @@ - \u53C2\u8003\u7B54\u6848\uFF1A\u4E3A\u6BCF\u9053\u9898\u63D0\u4F9B\u6B63\u786E\u7684\u7B54\u6848\u3002 - \u9898\u76EE\u89E3\u6790\uFF1A\u8BE6\u7EC6\u89E3\u91CA\u89E3\u7B54\u8FC7\u7A0B\uFF0C\u5206\u6790\u9898\u76EE\u6D89\u53CA\u7684\u77E5\u8BC6\u70B9\u548C\u5E38\u89C1\u9519\u8BEF\u3002 - \u77E5\u8BC6\u70B9\uFF1A\u660E\u786E\u6307\u51FA\u8BE5\u9898\u76EE\u6D89\u53CA\u7684\u5177\u4F53\u77E5\u8BC6\u70B9\uFF08\u5982\uFF1A\u53D8\u91CF\u5B9A\u4E49\uFF09\u3002 -- \u96BE\u5EA6\uFF1A\u63D0\u4F9B\u9898\u76EE\u7684\u96BE\u5EA6\u7EA7\u522B\uFF08\u5982\uFF1A\u7B80\u5355\u3001\u9002\u4E2D\u3001\u56F0\u96BE\uFF09\uFF0C\u6839\u636E\u9898\u76EE\u5185\u5BB9\u8BBE\u5B9A\u5408\u7406\u7684\u96BE\u5EA6\u3002`,{progressOpen:pn,openProgress:Rt,closeProgress:gn,CreateProgressModal:jt}=(0,tt.Z)(),[Oe,Ve]=(0,y.useState)([]),[ut,Ke]=(0,y.useState)(!1),[yt,wt]=(0,y.useState)(Zt),[xe,Mt]=(0,y.useState)([]),[rt,mt]=(0,y.useState)(0),[sn,An]=(0,y.useState)(0),[ln,na]=(0,y.useState)(0),[ia,Sa]=(0,y.useState)(0),[ca,Gn]=(0,y.useState)(0),[Xn,Zn]=(0,y.useState)(!1),ha=()=>{Ke(!0)};(0,y.useImperativeHandle)(Ot,()=>({onClick:ha}));const pa=()=>qe(void 0,null,function*(){var Ht,me,$e;if(wa(yt)){if(yt.length>1e3){Le.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{Le.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!wa(yt)&&!(xe!=null&&xe.length)){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Gt=[{name:"\u5355\u9009\u9898",num:rt||0},{name:"\u591A\u9009\u9898",num:sn||0},{name:"\u5224\u65AD\u9898",num:ln||0},{name:"\u586B\u7A7A\u9898",num:ia||0},{name:"\u7B80\u7B54\u9898",num:ca||0}];if(Gt.reduce((_e,xt)=>_e+xt.num,0)===0){Le.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}const ht={scene_type:6,content:yt,count_arr:Gt.map(_e=>_e.num).join(","),file:(xe==null?void 0:xe[0])||""};Rt(),Ve([]),Zn(!0);const he=new FormData;Object.keys(ht).forEach(_e=>{he.append(_e,ht[_e])});const Ue=yield $t(he);if((Ue==null?void 0:Ue.status)===0)if((me=(Ht=Ue==null?void 0:Ue.data)==null?void 0:Ht.content)!=null&&me.length){gn(100),Ve(($e=Ue==null?void 0:Ue.data)==null?void 0:$e.content);return}else Le.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Zn(!1),gn()}),Pa=Ht=>qe(void 0,null,function*(){var me,$e;const Gt=new FormData;if(Gt.append("scene_type",5),Gt.append("question_data",JSON.stringify(Ht)),Gt.append("count",1),pn)return Promise.reject();Rt();const re=yield $t(Gt);if((re==null?void 0:re.status)===0){if(($e=(me=re==null?void 0:re.data)==null?void 0:me.content)!=null&&$e.length)return gn(100),re;Le.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return gn(),re}),aa=Ht=>qe(void 0,null,function*(){const me=Ht.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(me)==-1?(Le.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):Ht.size/1024/1024>200?(Le.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(xe!=null&&xe.length?ze.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Mt([Ht])}):Mt([Ht]),Promise.reject())}),wa=Ht=>(Ht=Ht||"",Ht=String(Ht),Ht=Ht.replace(/\s+/g,""),Ht);return Xe.createElement(y.Fragment,null,Xe.createElement(ze.default,{centered:!0,open:ut,title:"\u667A\u80FD\u51FA\u9898",width:814,okText:"\u5F00\u59CB\u51FA\u9898",onCancel:()=>Ke(!1),onOk:pa,afterClose:()=>{Fe(),Mt([]),wt(Zt),mt(0),An(0),na(0),Sa(0),Gn(0)}},Xe.createElement("div",{className:pe.tip},"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01"),Xe.createElement("img",{src:Ce,style:{marginTop:-100}}),Xe.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),Xe.createElement(ae.default.TextArea,{style:{height:160},className:"mb20",value:yt,placeholder:"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:Ht=>{wt(Ht.target.value)}}),Xe.createElement(pt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:xe,beforeUpload:aa,className:"mb20",onRemove:()=>Mt([])},Xe.createElement(ie.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},Xe.createElement(Ye.op,{style:{borderRadius:2}},Xe.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),Xe.createElement(Me.Z,{align:"middle",className:"c-black mt20"},Xe.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u6570\u91CF"),Xe.createElement(Me.Z,{gutter:16},Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u5355\u9009\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:rt,onChange:mt,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u591A\u9009\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:sn,onChange:An,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u5224\u65AD\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ln,onChange:na,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u586B\u7A7A\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ia,onChange:Sa,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u7B80\u7B54\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ca,onChange:Gn,style:{marginLeft:"8px"}}))))),Xe.createElement(St.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Xn},Xe.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},Xe.createElement("img",{src:te(36413),alt:"\u667A\u80FD\u51FA\u9898"}),Xe.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),Xe.createElement(Te.Z,{stickyTop:-24,hideWordFeatures:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",dataSource:Oe,mode:1,onCancel:()=>Zn(!1),onSuccess:()=>{Zn(!1),Ke(!1)},headExtraNode:Xe.createElement(Ye.op,{onClick:()=>Zn(!1),className:"ml20",type:"primary",shape:"default"},"\u91CD\u65B0\u751F\u6210"),onExchange:Pa}),Xe.createElement("div",{style:{height:70}})),jt(["\u51FA\u9898\u8981\u6C42\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u667A\u80FD\u51FA\u9898\u4E2D"]))}),bt=te(99064),Yt={bigTips:"bigTips___PGtDh",item:"item___rGzq7",show:"show___a7b2P",mask:"mask___NqkVA"},Lt=te(92310),vt=te.n(Lt),Dn=te(24065),Jt=Object.defineProperty,Pt=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,ot=(Fe,Ot,Zt)=>Ot in Fe?Jt(Fe,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Fe[Ot]=Zt,Re=(Fe,Ot)=>{for(var Zt in Ot||(Ot={}))un.call(Ot,Zt)&&ot(Fe,Zt,Ot[Zt]);if(Pt)for(var Zt of Pt(Ot))fn.call(Ot,Zt)&&ot(Fe,Zt,Ot[Zt]);return Fe},It=(Fe,Ot,Zt)=>new Promise((pn,Rt)=>{var gn=Ve=>{try{Oe(Zt.next(Ve))}catch(ut){Rt(ut)}},jt=Ve=>{try{Oe(Zt.throw(Ve))}catch(ut){Rt(ut)}},Oe=Ve=>Ve.done?pn(Ve.value):Promise.resolve(Ve.value).then(gn,jt);Oe((Zt=Zt.apply(Fe,Ot)).next())});const $t=(...Fe)=>It(void 0,[...Fe],function*(Ot={}){var Zt,pn,Rt,gn;const jt=yield(0,bt.ZP)("/api/intelligent_imports/recognize.json",{method:"post",body:Ot},!0);if((jt==null?void 0:jt.status)!==0)return jt;const Oe=(Zt=jt==null?void 0:jt.data)==null?void 0:Zt.ai_question_record_id;let Ve;do if(Ve=yield(0,bt.ZP)("/api/intelligent_imports/get_ai_question_record.json",{method:"get",params:{ai_question_record_id:Oe}}),((pn=Ve==null?void 0:Ve.data)==null?void 0:pn.status)===1){console.log("\u64CD\u4F5C\u6210\u529F");break}else if(((Rt=Ve==null?void 0:Ve.data)==null?void 0:Rt.status)===0)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(ut=>setTimeout(ut,2e3));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while(((gn=Ve==null?void 0:Ve.data)==null?void 0:gn.status)===0);return Ve});var Cn=()=>{const Fe=(0,we.useLocation)(),[Ot,Zt]=(0,y.useState)(!1);(0,y.useEffect)(()=>{var Ve,ut;if((Ve=Fe.pathname)!=null&&Ve.includes("/problemset")||(ut=Fe.pathname)!=null&&ut.includes("/paperlibrary")){Zt(!0);return}Zt(!1)},[Fe==null?void 0:Fe.pathname]);const pn=[{img:te(56914),name:"\u667A\u80FD\u8BC6\u9898",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898",show:!0,ref:y.createRef(),element:E},{img:te(71614),name:"\u667A\u80FD\u8BC6\u5377",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377",show:!0,ref:y.createRef(),element:ee},{img:te(36413),name:"\u667A\u80FD\u51FA\u9898",des:"\u6839\u636E\u77E5\u8BC6\u70B9\u53CA\u4E0A\u4F20\u7684\u6559\u5B66\u6587\u6863\uFF0C\u81EA\u52A8\u751F\u6210\u5355\u9009\u3001\u591A\u9009\u3001\u5224\u65AD\u3001\u586B\u7A7A\u3001\u7B80\u7B54\u548C\u7F16\u7A0B\u9898\uFF0C\u63D0\u5347\u51FA\u9898\u6548\u7387",show:!0,ref:y.createRef(),element:ft},{img:te(11215),name:"\u4EE5\u9898\u6362\u9898",des:"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6",show:!0,ref:y.createRef(),element:ne.Z},{img:te(13825),name:"\u4EE5\u5377\u6362\u5377",des:"\u6839\u636E\u73B0\u6709\u8BD5\u5377\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u5377\uFF0C\u589E\u52A0\u8BD5\u5377\u7684\u4E30\u5BCC\u5EA6"},{img:te(57655),name:"\u667A\u80FD\u7EA0\u9519",des:"\u81EA\u52A8\u8BC6\u522B\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u9519\u522B\u5B57\u3001\u68C0\u67E5\u8BED\u53E5\u7684\u8FDE\u8D2F\u6027\u4E0E\u8BD5\u9898\u7684\u51C6\u786E\u6027\uFF0C\u53D1\u73B0\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u6F5C\u5728\u9519\u8BEF"}],Rt=Ve=>{const{isDisabledNum:ut,checkNumModal:Ke,checkNum:yt,onClose:wt}=Ve;return y.createElement("div",{className:Yt.bigTips},pn.map((xe,Mt)=>y.createElement("div",{key:Mt,onClick:()=>{var rt,mt;if(xe.show){if(ut){Ke();return}(mt=(rt=xe.ref)==null?void 0:rt.current)==null||mt.onClick()}},className:vt()(Yt.item,(xe==null?void 0:xe.show)&&Yt.show)},y.createElement(Me.Z,{align:"middle"},y.createElement("img",{className:"mr10",src:xe.img,width:24}),y.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},xe.name)),y.createElement("div",{className:"mt10",style:{color:"#434D6C",paddingLeft:34}},xe.des),!(xe!=null&&xe.show)&&y.createElement("div",{className:Yt.mask},"\u656C\u8BF7\u671F\u5F85\uFF5E"),!!(xe!=null&&xe.show)&&y.createElement("div",{onClick:rt=>rt.stopPropagation()}," ",y.createElement(xe.element,{ref:xe.ref,onUpdateNum:yt,onClose:wt})))))},gn=Ve=>{let ut=[];return Ve==null||Ve.forEach(Ke=>{const yt=Ke.id,wt=Ke.think?{reasoning:Ke.think,thinkingEnabled:!0}:{},xe=[{text:Ke.question,key:yt,sender:"user",fileList:[],show:!0},Re({key:yt,loading:!1,sender:"AI",show:!0,source:Ke.answer_source,text:Ke.answer,like:Ke.like,dislike:Ke.dislike,time:Ke.think_time,id:Ke.id},wt)];ut=[...ut,...xe]}),ut},jt="-1",Oe={onAdd:()=>(0,bt.ZP)("/api/course_qna_sessions/create_session.json",{method:"get"}),onGetList:()=>(0,bt.ZP)("/api/course_qna_sessions.json",{method:"get",params:{course_id:jt,by_self:!0}}),onListClick:Ve=>(0,bt.ZP)(`/api/course_qna_sessions/${Ve}.json`,{method:"get",params:{course_id:jt}}),onListDelete:Ve=>(0,bt.ZP)(`/api/course_qna_sessions/${Ve}.json`,{method:"delete",body:{course_id:jt}}),onListDealData:gn};return y.createElement(y.Fragment,null,Ot&&(0,Dn.$O)()&&y.createElement(ce.Z,{showSwitchingModel:!0,showLookHistory:!0,showAddSession:!0,fetchListObject:Oe,headNode:y.createElement(y.Fragment,null,y.createElement("div",{className:"c-grey-333 font22"},y.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u667A\u80FD\u52A9\u6559\u5C0F\u6B4C\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),y.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},y.createElement("span",{style:{paddingLeft:33}}," \u5728\u8BD5\u9898\u5E93/\u8BD5\u5377\u5E93\u6A21\u5757\uFF0C\u6211\u5177\u5907\u6559\u80B2\u5927\u8BED\u8A00\u6A21\u578B\u7684\u5F3A\u5927\u751F\u6210\u80FD\u529B\uFF0C\u901A\u8FC7\u667A\u80FD\u5316\u7684\u51FA\u9898\u548C\u7EC4\u5377\u5DE5\u5177\uFF0C\u4E3A\u60A8\u63D0\u4F9B\u9AD8\u6548\u3001\u7CBE\u51C6\u3001\u4E2A\u6027\u5316\u7684\u8BD5\u9898\u751F\u6210\u670D\u52A1\uFF0C\u652F\u6301\u591A\u5B66\u79D1\u3001\u591A\u9898\u578B\u548C\u4E0D\u540C\u96BE\u6613\u5EA6\uFF0C\u6EE1\u8DB3\u60A8\u7684\u591A\u5143\u5316\u6559\u5B66\u9700\u6C42\u3002"))),headFunctionNode:Rt,fetchData:{course_id:jt,source:"course",is_chat:!0},isCheckRestrictNumber:!0,title:"\u667A\u80FD\u52A9\u6559",fetchUrl:"/api/stream/course_qna_records/chat_messages.json"}))}},44068:function(at,_t,te){"use strict";te.d(_t,{Z:function(){return Pe}});var y=te(59301),ce=te(8591),we=te(54580),pt=te(43418),Le=te(6848),ze=te(92832),Me=te(3113),St=te(71418),Te=te(64165),tt=te(14478),At=te(43428),dt=te(38854),ct=te(92310),oe=te.n(ct),E=te(46739),a=te(77596),x=te(93772),b=te(14179),z=te(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ne=te(11611),ae=te(35328),ie=te(30084),ge=te(50304),Ae=te(59301),Ce=Object.defineProperty,pe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,qe=(ye,Ne,Ze)=>Ne in ye?Ce(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,lt=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))Ye.call(Ne,Ze)&&qe(ye,Ze,Ne[Ze]);if(pe)for(var Ze of pe(Ne))Xe.call(Ne,Ze)&&qe(ye,Ze,Ne[Ze]);return ye},ft=(ye,Ne)=>{var Ze={};for(var Bt in ye)Ye.call(ye,Bt)&&Ne.indexOf(Bt)<0&&(Ze[Bt]=ye[Bt]);if(ye!=null&&pe)for(var Bt of pe(ye))Ne.indexOf(Bt)<0&&Xe.call(ye,Bt)&&(Ze[Bt]=ye[Bt]);return Ze},Yt=({onFinish:ye,value:Ne,streamingStatus:Ze,cancelIndex:Bt,loadImage:Ct})=>{const[Ee,nt]=(0,y.useState)(""),[et,gt]=(0,y.useState)(0),[Be,Qe]=(0,y.useState)(!1),Ge=tn=>tn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),be=()=>{Qe(!0),ye==null||ye()};return(0,y.useEffect)(()=>{const tn=Ct?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +- \u96BE\u5EA6\uFF1A\u63D0\u4F9B\u9898\u76EE\u7684\u96BE\u5EA6\u7EA7\u522B\uFF08\u5982\uFF1A\u7B80\u5355\u3001\u9002\u4E2D\u3001\u56F0\u96BE\uFF09\uFF0C\u6839\u636E\u9898\u76EE\u5185\u5BB9\u8BBE\u5B9A\u5408\u7406\u7684\u96BE\u5EA6\u3002`,{progressOpen:pn,openProgress:Rt,closeProgress:gn,CreateProgressModal:jt}=(0,tt.Z)(),[Oe,Ve]=(0,y.useState)([]),[ut,Ke]=(0,y.useState)(!1),[yt,wt]=(0,y.useState)(Zt),[xe,Mt]=(0,y.useState)([]),[rt,mt]=(0,y.useState)(0),[sn,An]=(0,y.useState)(0),[ln,na]=(0,y.useState)(0),[ia,Sa]=(0,y.useState)(0),[ca,Gn]=(0,y.useState)(0),[Xn,Zn]=(0,y.useState)(!1),ha=()=>{Ke(!0)};(0,y.useImperativeHandle)(Ot,()=>({onClick:ha}));const pa=()=>qe(void 0,null,function*(){var Ht,me,$e;if(wa(yt)){if(yt.length>1e3){Le.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{Le.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!wa(yt)&&!(xe!=null&&xe.length)){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Gt=[{name:"\u5355\u9009\u9898",num:rt||0},{name:"\u591A\u9009\u9898",num:sn||0},{name:"\u5224\u65AD\u9898",num:ln||0},{name:"\u586B\u7A7A\u9898",num:ia||0},{name:"\u7B80\u7B54\u9898",num:ca||0}];if(Gt.reduce((_e,xt)=>_e+xt.num,0)===0){Le.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}const ht={scene_type:6,content:yt,count_arr:Gt.map(_e=>_e.num).join(","),file:(xe==null?void 0:xe[0])||""};Rt(),Ve([]),Zn(!0);const he=new FormData;Object.keys(ht).forEach(_e=>{he.append(_e,ht[_e])});const Ue=yield $t(he);if((Ue==null?void 0:Ue.status)===0)if((me=(Ht=Ue==null?void 0:Ue.data)==null?void 0:Ht.content)!=null&&me.length){gn(100),Ve(($e=Ue==null?void 0:Ue.data)==null?void 0:$e.content);return}else Le.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Zn(!1),gn()}),Pa=Ht=>qe(void 0,null,function*(){var me,$e;const Gt=new FormData;if(Gt.append("scene_type",5),Gt.append("question_data",JSON.stringify(Ht)),Gt.append("count",1),pn)return Promise.reject();Rt();const re=yield $t(Gt);if((re==null?void 0:re.status)===0){if(($e=(me=re==null?void 0:re.data)==null?void 0:me.content)!=null&&$e.length)return gn(100),re;Le.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return gn(),re}),aa=Ht=>qe(void 0,null,function*(){const me=Ht.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(me)==-1?(Le.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):Ht.size/1024/1024>200?(Le.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(xe!=null&&xe.length?ze.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Mt([Ht])}):Mt([Ht]),Promise.reject())}),wa=Ht=>(Ht=Ht||"",Ht=String(Ht),Ht=Ht.replace(/\s+/g,""),Ht);return Xe.createElement(y.Fragment,null,Xe.createElement(ze.default,{centered:!0,open:ut,title:"\u667A\u80FD\u51FA\u9898",width:814,okText:"\u5F00\u59CB\u51FA\u9898",onCancel:()=>Ke(!1),onOk:pa,afterClose:()=>{Fe(),Mt([]),wt(Zt),mt(0),An(0),na(0),Sa(0),Gn(0)}},Xe.createElement("div",{className:pe.tip},"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01"),Xe.createElement("img",{src:Ce,style:{marginTop:-100}}),Xe.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),Xe.createElement(ae.default.TextArea,{style:{height:160},className:"mb20",value:yt,placeholder:"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:Ht=>{wt(Ht.target.value)}}),Xe.createElement(pt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:xe,beforeUpload:aa,className:"mb20",onRemove:()=>Mt([])},Xe.createElement(ie.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},Xe.createElement(Ye.op,{style:{borderRadius:2}},Xe.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),Xe.createElement(Me.Z,{align:"middle",className:"c-black mt20"},Xe.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u6570\u91CF"),Xe.createElement(Me.Z,{gutter:16},Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u5355\u9009\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:rt,onChange:mt,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u591A\u9009\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:sn,onChange:An,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u5224\u65AD\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ln,onChange:na,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u586B\u7A7A\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ia,onChange:Sa,style:{marginLeft:"8px"}})),Xe.createElement(ge.Z,null,Xe.createElement("label",null,"\u7B80\u7B54\u9898"),Xe.createElement(Ae.Z,{min:0,max:10,value:ca,onChange:Gn,style:{marginLeft:"8px"}}))))),Xe.createElement(St.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Xn},Xe.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},Xe.createElement("img",{src:te(36413),alt:"\u667A\u80FD\u51FA\u9898"}),Xe.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),Xe.createElement(Te.Z,{stickyTop:-24,hideWordFeatures:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",dataSource:Oe,mode:1,onCancel:()=>Zn(!1),onSuccess:()=>{Zn(!1),Ke(!1)},headExtraNode:Xe.createElement(Ye.op,{onClick:()=>Zn(!1),className:"ml20",type:"primary",shape:"default"},"\u91CD\u65B0\u751F\u6210"),onExchange:Pa}),Xe.createElement("div",{style:{height:70}})),jt(["\u51FA\u9898\u8981\u6C42\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u667A\u80FD\u51FA\u9898\u4E2D"]))}),bt=te(99064),Yt={bigTips:"bigTips___PGtDh",item:"item___rGzq7",show:"show___a7b2P",mask:"mask___NqkVA"},Lt=te(92310),vt=te.n(Lt),Dn=te(24065),Jt=Object.defineProperty,Pt=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,ot=(Fe,Ot,Zt)=>Ot in Fe?Jt(Fe,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Fe[Ot]=Zt,Re=(Fe,Ot)=>{for(var Zt in Ot||(Ot={}))un.call(Ot,Zt)&&ot(Fe,Zt,Ot[Zt]);if(Pt)for(var Zt of Pt(Ot))fn.call(Ot,Zt)&&ot(Fe,Zt,Ot[Zt]);return Fe},It=(Fe,Ot,Zt)=>new Promise((pn,Rt)=>{var gn=Ve=>{try{Oe(Zt.next(Ve))}catch(ut){Rt(ut)}},jt=Ve=>{try{Oe(Zt.throw(Ve))}catch(ut){Rt(ut)}},Oe=Ve=>Ve.done?pn(Ve.value):Promise.resolve(Ve.value).then(gn,jt);Oe((Zt=Zt.apply(Fe,Ot)).next())});const $t=(...Fe)=>It(void 0,[...Fe],function*(Ot={}){var Zt,pn,Rt,gn;const jt=yield(0,bt.ZP)("/api/intelligent_imports/recognize.json",{method:"post",body:Ot},!0);if((jt==null?void 0:jt.status)!==0)return jt;const Oe=(Zt=jt==null?void 0:jt.data)==null?void 0:Zt.ai_question_record_id;let Ve;do if(Ve=yield(0,bt.ZP)("/api/intelligent_imports/get_ai_question_record.json",{method:"get",params:{ai_question_record_id:Oe}}),((pn=Ve==null?void 0:Ve.data)==null?void 0:pn.status)===1){console.log("\u64CD\u4F5C\u6210\u529F");break}else if(((Rt=Ve==null?void 0:Ve.data)==null?void 0:Rt.status)===0)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(ut=>setTimeout(ut,2e3));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while(((gn=Ve==null?void 0:Ve.data)==null?void 0:gn.status)===0);return Ve});var Cn=()=>{const Fe=(0,we.useLocation)(),[Ot,Zt]=(0,y.useState)(!1);(0,y.useEffect)(()=>{var Ve,ut;if((Ve=Fe.pathname)!=null&&Ve.includes("/problemset")||(ut=Fe.pathname)!=null&&ut.includes("/paperlibrary")){Zt(!0);return}Zt(!1)},[Fe==null?void 0:Fe.pathname]);const pn=[{img:te(56914),name:"\u667A\u80FD\u8BC6\u9898",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898",show:!0,ref:y.createRef(),element:E},{img:te(71614),name:"\u667A\u80FD\u8BC6\u5377",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377",show:!0,ref:y.createRef(),element:ee},{img:te(36413),name:"\u667A\u80FD\u51FA\u9898",des:"\u6839\u636E\u77E5\u8BC6\u70B9\u53CA\u4E0A\u4F20\u7684\u6559\u5B66\u6587\u6863\uFF0C\u81EA\u52A8\u751F\u6210\u5355\u9009\u3001\u591A\u9009\u3001\u5224\u65AD\u3001\u586B\u7A7A\u3001\u7B80\u7B54\u548C\u7F16\u7A0B\u9898\uFF0C\u63D0\u5347\u51FA\u9898\u6548\u7387",show:!0,ref:y.createRef(),element:ft},{img:te(11215),name:"\u4EE5\u9898\u6362\u9898",des:"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6",show:!0,ref:y.createRef(),element:ne.Z},{img:te(13825),name:"\u4EE5\u5377\u6362\u5377",des:"\u6839\u636E\u73B0\u6709\u8BD5\u5377\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u5377\uFF0C\u589E\u52A0\u8BD5\u5377\u7684\u4E30\u5BCC\u5EA6"},{img:te(57655),name:"\u667A\u80FD\u7EA0\u9519",des:"\u81EA\u52A8\u8BC6\u522B\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u9519\u522B\u5B57\u3001\u68C0\u67E5\u8BED\u53E5\u7684\u8FDE\u8D2F\u6027\u4E0E\u8BD5\u9898\u7684\u51C6\u786E\u6027\uFF0C\u53D1\u73B0\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u6F5C\u5728\u9519\u8BEF"}],Rt=Ve=>{const{isDisabledNum:ut,checkNumModal:Ke,checkNum:yt,onClose:wt}=Ve;return y.createElement("div",{className:Yt.bigTips},pn.map((xe,Mt)=>y.createElement("div",{key:Mt,onClick:()=>{var rt,mt;if(xe.show){if(ut){Ke();return}(mt=(rt=xe.ref)==null?void 0:rt.current)==null||mt.onClick()}},className:vt()(Yt.item,(xe==null?void 0:xe.show)&&Yt.show)},y.createElement(Me.Z,{align:"middle"},y.createElement("img",{className:"mr10",src:xe.img,width:24}),y.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},xe.name)),y.createElement("div",{className:"mt10",style:{color:"#434D6C",paddingLeft:34}},xe.des),!(xe!=null&&xe.show)&&y.createElement("div",{className:Yt.mask},"\u656C\u8BF7\u671F\u5F85\uFF5E"),!!(xe!=null&&xe.show)&&y.createElement("div",{onClick:rt=>rt.stopPropagation()}," ",y.createElement(xe.element,{ref:xe.ref,onUpdateNum:yt,onClose:wt})))))},gn=Ve=>{let ut=[];return Ve==null||Ve.forEach(Ke=>{const yt=Ke.id,wt=Ke.think?{reasoning:Ke.think,thinkingEnabled:!0}:{},xe=[{text:Ke.question,key:yt,sender:"user",fileList:[],show:!0},Re({key:yt,loading:!1,sender:"AI",show:!0,source:Ke.answer_source,text:Ke.answer,like:Ke.like,dislike:Ke.dislike,time:Ke.think_time,id:Ke.id},wt)];ut=[...ut,...xe]}),ut},jt="-1",Oe={onAdd:()=>(0,bt.ZP)("/api/course_qna_sessions/create_session.json",{method:"get"}),onGetList:()=>(0,bt.ZP)("/api/course_qna_sessions.json",{method:"get",params:{course_id:jt,by_self:!0}}),onListClick:Ve=>(0,bt.ZP)(`/api/course_qna_sessions/${Ve}.json`,{method:"get",params:{course_id:jt}}),onListDelete:Ve=>(0,bt.ZP)(`/api/course_qna_sessions/${Ve}.json`,{method:"delete",body:{course_id:jt}}),onListDealData:gn};return y.createElement(y.Fragment,null,Ot&&(0,Dn.$O)()&&y.createElement(ce.Z,{showSwitchingModel:!0,showLookHistory:!0,showAddSession:!0,fetchListObject:Oe,headNode:y.createElement(y.Fragment,null,y.createElement("div",{className:"c-grey-333 font22"},y.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u667A\u80FD\u52A9\u6559\u5C0F\u6B4C\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),y.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},y.createElement("span",{style:{paddingLeft:33}}," \u5728\u8BD5\u9898\u5E93/\u8BD5\u5377\u5E93\u6A21\u5757\uFF0C\u6211\u5177\u5907\u6559\u80B2\u5927\u8BED\u8A00\u6A21\u578B\u7684\u5F3A\u5927\u751F\u6210\u80FD\u529B\uFF0C\u901A\u8FC7\u667A\u80FD\u5316\u7684\u51FA\u9898\u548C\u7EC4\u5377\u5DE5\u5177\uFF0C\u4E3A\u60A8\u63D0\u4F9B\u9AD8\u6548\u3001\u7CBE\u51C6\u3001\u4E2A\u6027\u5316\u7684\u8BD5\u9898\u751F\u6210\u670D\u52A1\uFF0C\u652F\u6301\u591A\u5B66\u79D1\u3001\u591A\u9898\u578B\u548C\u4E0D\u540C\u96BE\u6613\u5EA6\uFF0C\u6EE1\u8DB3\u60A8\u7684\u591A\u5143\u5316\u6559\u5B66\u9700\u6C42\u3002"))),headFunctionNode:Rt,fetchData:{course_id:jt,source:"course",is_chat:!0},isCheckRestrictNumber:!0,title:"\u667A\u80FD\u52A9\u6559",fetchUrl:"/api/stream/course_qna_records/chat_messages.json"}))}},44068:function(at,_t,te){"use strict";te.d(_t,{Z:function(){return Pe}});var y=te(59301),ce=te(8591),we=te(54580),pt=te(43418),Le=te(6848),ze=te(92832),Me=te(3113),St=te(71418),Te=te(64165),tt=te(14478),At=te(43428),dt=te(38854),ct=te(92310),oe=te.n(ct),E=te(93628),a=te(77596),x=te(93772),b=te(14179),z=te(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ne=te(11611),ae=te(35328),ie=te(30084),ge=te(50304),Ae=te(59301),Ce=Object.defineProperty,pe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,qe=(ye,Ne,Ze)=>Ne in ye?Ce(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,lt=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))Ye.call(Ne,Ze)&&qe(ye,Ze,Ne[Ze]);if(pe)for(var Ze of pe(Ne))Xe.call(Ne,Ze)&&qe(ye,Ze,Ne[Ze]);return ye},ft=(ye,Ne)=>{var Ze={};for(var Bt in ye)Ye.call(ye,Bt)&&Ne.indexOf(Bt)<0&&(Ze[Bt]=ye[Bt]);if(ye!=null&&pe)for(var Bt of pe(ye))Ne.indexOf(Bt)<0&&Xe.call(ye,Bt)&&(Ze[Bt]=ye[Bt]);return Ze},Yt=({onFinish:ye,value:Ne,streamingStatus:Ze,cancelIndex:Bt,loadImage:Ct})=>{const[Ee,nt]=(0,y.useState)(""),[et,gt]=(0,y.useState)(0),[Be,Qe]=(0,y.useState)(!1),Ge=tn=>tn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),be=()=>{Qe(!0),ye==null||ye()};return(0,y.useEffect)(()=>{const tn=Ct?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${Ne}`:Ne,kt=Ge(tn);if(!Be)if(Ct||!Ze||Bt>0){nt(kt),gt(kt.length),(!Ze||Bt>0)&&!Ct&&be();return}else if(et{nt(kt.slice(0,et+2)),gt(en=>en+2)},on>10?Math.max(500/(on/2),20):50);return()=>clearInterval(Qt)}else Ze||be()},[Ne,Ze,Bt,Ct,et]),(0,y.useMemo)(()=>Ae.createElement("div",{className:`${ee.answer} fadeIn animated`},Ae.createElement(E.UG,{remarkPlugins:[ie.Z],rehypePlugins:[ae.Z,x.Z],components:{code(tn){var kt=tn,{node:on,inline:Qt,className:en,children:En}=kt,hn=ft(kt,["node","inline","className","children"]);const xn=/language-(\w+)/.exec(en||"");return Qt||!xn?Ae.createElement("code",lt({className:en},hn),En):Ae.createElement("div",{className:ee.codeCopy},Ae.createElement(z.CopyToClipboard,{text:String(En).trim(),onCopy:()=>ce.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},Ae.createElement("button",null,"\u590D\u5236")),Ae.createElement(a.Z,lt({style:b.Z,language:xn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},hn),String(En).trim()))},img({node:tn}){var kt;return Ae.createElement(ne.Z,{src:(kt=tn.properties)==null?void 0:kt.src,width:320,onLoad:()=>Ct&&setTimeout(()=>be(),500)})}}},Ze&&etnew Promise((Bt,Ct)=>{var Ee=gt=>{try{et(Ze.next(gt))}catch(Be){Ct(Be)}},nt=gt=>{try{et(Ze.throw(gt))}catch(Be){Ct(Be)}},et=gt=>gt.done?Bt(gt.value):Promise.resolve(gt.value).then(Ee,nt);et((Ze=Ze.apply(ye,Ne)).next())}),Pt=({value:ye="",streamingStatus:Ne,onFinish:Ze,cancelIndex:Bt,time:Ct,loading:Ee,loadAll:nt})=>{const[et,gt]=(0,y.useState)(""),[Be,Qe]=(0,y.useState)(!0),Ge=(0,y.useRef)(ye),be=(0,y.useRef)(Ne),it=(0,y.useRef)(0),tn=(0,y.useRef)(null),[kt,on]=(0,y.useState)(!1),Qt=70;(0,y.useEffect)(()=>{be.current=Ne},[Ne]),(0,y.useEffect)(()=>{Ge.current=ye},[ye]),(0,y.useEffect)(()=>{if(!Ne){gt(Ge.current);return}return on(!0),tn.current=setInterval(en,Qt),()=>{clearInterval(tn.current)}},[]),(0,y.useEffect)(()=>{kt&&(gt(Ge.current),clearInterval(tn.current),on(!1),Ze())},[Bt]);const en=()=>Dn(void 0,null,function*(){const En=Ge.current[it.current];En!==void 0?(gt(hn=>hn+En),it.current++,clearInterval(tn.current),tn.current=setInterval(en,280/(Ge.current.length-it.current))):be.current===!1&&(gt(Ge.current),clearInterval(tn.current),on(!1),Ze())});return vt.createElement("div",{className:`${Lt.reasoning} fadeIn animated`},vt.createElement("div",{className:Lt.btn,onClick:()=>Qe(!Be)},vt.createElement("i",{className:"iconfont icon-shendusikao"}),Ct?vt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Ct," \u79D2\uFF09"):vt.createElement("span",null,"\u601D\u8003\u4E2D..."),Be?vt.createElement("b",{className:"iconfont icon-shouqi6"}):vt.createElement("b",{className:"iconfont icon-zhankai6"})),Ee&&vt.createElement(St.Z,{spinning:!0,className:"mt20"}),Be&&!Ee&&vt.createElement("div",{className:Lt.content},et,kt?vt.createElement("span",{className:"aiBlink"},"__"):""))},un={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},fn=te(81327),ot=Object.defineProperty,Re=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Ut=(ye,Ne,Ze)=>Ne in ye?ot(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,Cn=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))It.call(Ne,Ze)&&Ut(ye,Ze,Ne[Ze]);if(Re)for(var Ze of Re(Ne))$t.call(Ne,Ze)&&Ut(ye,Ze,Ne[Ze]);return ye};const Fe=ye=>React.createElement("svg",Cn({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},ye),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 Ot="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Zt=Object.defineProperty,pn=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,jt=(ye,Ne,Ze)=>Ne in ye?Zt(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,Oe=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))Rt.call(Ne,Ze)&&jt(ye,Ze,Ne[Ze]);if(pn)for(var Ze of pn(Ne))gn.call(Ne,Ze)&&jt(ye,Ze,Ne[Ze]);return ye};const Ve=ye=>React.createElement("svg",Oe({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},ye),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 ut="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wN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4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ke=te(59301),wt=({value:ye,onChange:Ne})=>{const[Ze,Bt]=(0,y.useState)(!1),Ct=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ot},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:ut}],Ee=Ct.find(nt=>nt.key===ye);return Ke.createElement("div",{className:un.select},Ke.createElement(fn.Z,{size:10},Ke.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ke.createElement("div",{className:un.box,onMouseLeave:()=>Bt(!1)},Ke.createElement("div",{className:un.text,onClick:()=>Bt(!0)},Ke.createElement("img",{src:Ee.img,width:20}),Ke.createElement("span",null,Ee.name),Ke.createElement("b",{className:"iconfont icon-zhankai6"})),Ze&&Ke.createElement("div",{className:un.itemWrap},Ke.createElement("aside",null,Ct.map(nt=>Ke.createElement("div",{key:nt.key,className:`${un.item} ${nt.key===ye?un.active:""}`,onClick:et=>{et.stopPropagation(),Ne(nt.key),Bt(!1)}},Ke.createElement("img",{src:nt.img,width:20}),Ke.createElement("span",null,nt.name))))))))},xe={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},Mt=te(99064),rt=te(955),mt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},An=({src:ye,onClick:Ne,topPercentage:Ze=.62,draggableExtraNode:Bt})=>{const Ct=(0,y.useRef)(null),Ee=(0,y.useRef)(!1),nt=(0,y.useRef)(!1),[et,gt]=(0,y.useState)(window.innerHeight*Ze),[Be,Qe]=(0,y.useState)(!1),Ge=10;return(0,y.useEffect)(()=>{if(Ct.current){let be=function(Qt){var en;Ee.current=!0,on=Qt.pageY,kt=Qt.pageY-(((en=Ct.current)==null?void 0:en.getBoundingClientRect().top)||0),(0,rt.kk)("none"),document.onselectstart=function(){return!1}},it=function(){Ee.current&&!nt.current&&Ne&&Ne(),Ee.current=!1,nt.current=!1,(0,rt.kk)("auto"),document.onselectstart=null},tn=function(Qt){var en;if(Ee.current){const hn=Qt.pageY-kt,xn=window.innerHeight-(((en=Ct.current)==null?void 0:en.offsetHeight)||0)-50,zt=50;if(!nt.current&&Math.abs(on-Qt.pageY)>Ge&&(nt.current=!0),nt.current){let oa=Math.max(zt,Math.min(hn,xn));gt(oa)}}},kt=0,on=0;return Ct.current.addEventListener("mousedown",be),document.addEventListener("mousemove",tn),document.addEventListener("mouseup",it),()=>{var Qt,en;(en=(Qt=Ct==null?void 0:Ct.current)==null?void 0:Qt.removeEventListener)==null||en.call(Qt,"mousedown",be),document.removeEventListener("mousemove",tn),document.removeEventListener("mouseup",it)}}},[Ne]),(0,y.useEffect)(()=>{const be=()=>{gt(window.innerHeight*Ze)};return window.addEventListener("resize",be),()=>{window.removeEventListener("resize",be)}},[Ze]),y.createElement("div",{className:mt.draggableImage,style:{top:`${et}px`,display:Be?"none":"block",cursor:Ee.current?"grabbing":"grab"},ref:Ct},Bt,y.createElement("img",{className:mt.img,src:ye,width:60,draggable:"false"}),y.createElement("i",{className:`iconfont icon-tupianguanbi ${mt.close}`,onMouseUp:be=>{be.stopPropagation(),Qe(!0)}}))},ln="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMd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xoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Sa=te(3294),ca=te(86204),Gn=te(85149),Xn=Object.defineProperty,Zn=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,wa=(ye,Ne,Ze)=>Ne in ye?Xn(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,Ht=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))Pa.call(Ne,Ze)&&wa(ye,Ze,Ne[Ze]);if(pa)for(var Ze of pa(Ne))aa.call(Ne,Ze)&&wa(ye,Ze,Ne[Ze]);return ye},me=(ye,Ne)=>Zn(ye,ha(Ne)),$e=(ye,Ne,Ze)=>wa(ye,typeof Ne!="symbol"?Ne+"":Ne,Ze),Gt=(ye,Ne,Ze)=>new Promise((Bt,Ct)=>{var Ee=gt=>{try{et(Ze.next(gt))}catch(Be){Ct(Be)}},nt=gt=>{try{et(Ze.throw(gt))}catch(Be){Ct(Be)}},et=gt=>gt.done?Bt(gt.value):Promise.resolve(gt.value).then(Ee,nt);et((Ze=Ze.apply(ye,Ne)).next())});class re extends ca.EventEmitter{constructor(Ne,Ze){super(),$e(this,"url"),$e(this,"body"),$e(this,"fullContent",""),$e(this,"controller",null),this.url=Ne,this.body=Ze}startStream(){return Gt(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const Ze=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!Ze.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ze.status}`);const Bt=Ze.headers.get("content-type");if(!Bt||!Bt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ct=Ze.body.getReader(),Ee=new TextDecoder("utf-8");for(;;){const{done:nt,value:et}=yield Ct.read();if(nt)break;const Be=Ee.decode(et,{stream:!0}).split(` `);for(const Qe of Be)if(Qe.startsWith("data:")){let Ge=(0,Gn.z)(Qe.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Ge==="[DONE]")break;try{const be=JSON.parse(Ge);be.data&&this.handleData(me(Ht({},be.data),{content:be.data.content.replace(/\\\\/g,"\\")}))}catch(be){console.error("\u89E3\u6790 JSON \u5931\u8D25:",be)}}}this.emit("done",this.fullContent)}catch(Ze){Ze.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ze.message)}})}handleData(Ne){Ne.content&&(this.fullContent+=Ne.content,this.emit("data",{chunk:Ne,full:this.fullContent}))}cancelRequest(){var Ne;(Ne=this.controller)==null||Ne.abort()}}var ht=re,he=te(58617),Ue=te(32050),_e=Object.defineProperty,xt=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,fe=(ye,Ne,Ze)=>Ne in ye?_e(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):ye[Ne]=Ze,je=(ye,Ne)=>{for(var Ze in Ne||(Ne={}))ke.call(Ne,Ze)&&fe(ye,Ze,Ne[Ze]);if(De)for(var Ze of De(Ne))He.call(Ne,Ze)&&fe(ye,Ze,Ne[Ze]);return ye},de=(ye,Ne)=>xt(ye,ue(Ne)),se=(ye,Ne,Ze)=>new Promise((Bt,Ct)=>{var Ee=gt=>{try{et(Ze.next(gt))}catch(Be){Ct(Be)}},nt=gt=>{try{et(Ze.throw(gt))}catch(Be){Ct(Be)}},et=gt=>gt.done?Bt(gt.value):Promise.resolve(gt.value).then(Ee,nt);et((Ze=Ze.apply(ye,Ne)).next())}),Pe=({title:ye="\u5934\u6B4CAI",placeholder:Ne,hideUpload:Ze,hideInputBox:Bt,aiIcon:Ct=ln,userIcon:Ee=na,dragIcon:nt=ia,children:et,fetchUrl:gt,fetchData:Be={},extraAnswerAction:Qe,showDefaultTips:Ge=!0,onOpen:be,onClose:it,loadingOption:tn,showPreference:kt=!1,initMessage:on,customRequest:Qt,visible:en,width:En=1200,isCheckRestrictNumber:hn=!1,headNode:xn,headFunctionNode:zt,showRedraw:oa,showEdit:Yn,promptPropName:Wn="prompt",topPercentage:Nn,showSwitchingModel:Nt=!1,showImageGenerator:dn=!1,showLookHistory:bn=!1,fetchListObject:vn,customPreference:kn,customDataNode:_n,showAddSession:Kn,historyId:Ln,draggableExtraNode:qn,drawerExtraNode:ra,menuExtraFunctionNode:ua,showSceneAwareness:Na=!1})=>{var Fa;const[sa,da]=(0,y.useState)(!1),[ya,ma]=(0,y.useState)("qwen-max"),[Sn,$n]=(0,y.useState)([]),[wn,jn]=(0,y.useState)(!1),[Ba,ga]=(0,y.useState)(!1),[Za,Ea]=(0,y.useState)(!1),[Vn,Ia]=(0,y.useState)([]),[La,_a]=(0,y.useState)(""),[co,to]=(0,y.useState)(0),[Ao,no]=(0,y.useState)(!1),[mo,ea]=(0,y.useState)(null),[On,Qn]=(0,y.useState)(""),Mn=(0,y.useRef)(),Oa=(0,y.useRef)(null),Bn=(0,y.useRef)(null),[Tn,ta]=(0,y.useState)(!1),[Ca,za]=(0,y.useState)(!1),[Va,le]=(0,y.useState)(!1),[Dt,Xt]=(0,y.useState)(!1),[cn,Ft]=(0,y.useState)(0),rn=(0,y.useRef)(null),In=(0,y.useRef)(!1),Kt=(0,y.useRef)(null),[qt,Fn]=(0,y.useState)(void 0),[Un,Jn]=(0,y.useState)(!0),[Hn,Ma]=(0,y.useState)(En-28),[Da,Ta]=(0,y.useState)(!1),[Wa,uo]=(0,y.useState)(!0),[So,No]=(0,y.useState)([]),Po=(0,y.useRef)([]),Fo=(0,y.useRef)(!1),yo=Hn-22,Bo=La==null?void 0:La.split(` diff --git a/p__Classrooms__Lists__Board__index.24d77d68.async.js b/p__Classrooms__Lists__Board__index.eea65b43.async.js similarity index 99% rename from p__Classrooms__Lists__Board__index.24d77d68.async.js rename to p__Classrooms__Lists__Board__index.eea65b43.async.js index 12f403d822..4904660d16 100644 --- a/p__Classrooms__Lists__Board__index.24d77d68.async.js +++ b/p__Classrooms__Lists__Board__index.eea65b43.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[8302],{88010:function(je,Nt){"use strict";Nt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function je(ie,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=ie,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(je.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(je.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(je.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(je.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,a){var E=go.Shape._FigureParameters[ie];return E?E[a]:null},go.Shape.setFigureParameter=function(ie,a,E){if(!(E instanceof je))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[ie];b||(b=[],go.Shape._FigureParameters[ie]=b),b[a]=E};var Nt=[];function ge(ie,a){var E=Nt.pop();return E===void 0?new go.Point(ie,a):(E.x=ie,E.y=a,E)}function ee(){var ie=Nt.pop();return ie===void 0?new go.Point:ie}function ue(ie){Nt.push(ie)}function Ue(ie,a,E,b,y,x,z,te,ne){ne||(ne=new go.Point);var ae=ie-E,se=y-z,de=NaN,pe=NaN;if(ae===0)if(se===0)ie===E&&(de=ie,pe=a);else{var ce=(x-te)/se,Ee=x-ce*y;de=ie,pe=ce*de+Ee}else if(se===0){var Te=(a-b)/ae,rt=a-Te*ie;de=y,pe=Te*de+rt}else{var Te=(a-b)/ae,ce=(x-te)/se,rt=a-Te*ie,Ee=x-ce*y;de=(Ee-rt)/(Te-ce),pe=Te*de+rt}return ne.x=de,ne.y=pe,ne}function mt(ie,a,E,b,y,x,z,te,ne,ae,se,de,pe,ce){var Ee=1-ne,Te=ne,rt=ie*Ee+E*Te,Dt=a*Ee+b*Te,It=E*Ee+y*Te,Rt=b*Ee+x*Te,Ft=y*Ee+z*Te,Xt=x*Ee+te*Te,nt=rt*Ee+It*Te,qt=Dt*Ee+Rt*Te,un=It*Ee+Ft*Te,et=Rt*Ee+Xt*Te,zt=nt*Ee+un*Te,Qt=qt*Ee+et*Te;ae.x=rt,ae.y=Dt,se.x=nt,se.y=qt,de.x=zt,de.y=Qt,pe.x=un,pe.y=et,ce.x=Ft,ce.y=Xt}var xe=new go.Spot(.156,.156),Xe=new go.Spot(.844,.844),we=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new je("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*we,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=xe,y.spot2=Xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,we*a,0,a,(1-we)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,we*E,(1-we)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,we*E,we*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-we)*a,0,0,(1-we)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new je("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),x.spot1=xe,x.spot2=Xe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new je("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new je("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,a,E){var b=ie?ie.parameter1:NaN,y=ie?ie.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,x,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,a,E){var b=we/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,x*E,a,(1-b)*E,(y+b)*a,(x+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,a,E){var b=ie?ie.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var x=a/2,z=E/2,te=Math.atan2(E,a),ne=b-Math.min(Math.cos(te)*b/2,x),ae=b-Math.min(Math.sin(te)*b/2,z),y=new go.Geometry,se=new go.PathFigure(ne,0,!0);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x,.2*E)),se.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,ae)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,a,E-ae)),se.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),se.add(new go.PathSegment(go.PathSegment.Line,x,.8*E)),se.add(new go.PathSegment(go.PathSegment.Line,ne,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E-ae)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new je("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new je("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,we*a,0,a,(.5-we/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+we/2)*E,we*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var x=.2,z=.3,te=0,ne=x*we;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z+.05)*a,(.5-ne+te-.02)*E)),x=.2,z=0,te=-.3,ne=x*we,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),x=.2,z=-.3,te=0,ne=x*we,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,x*a,x*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+x)*a,te*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ie,a,E){var b=.8535533905932737,y=.5*a,x=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-x)*E);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),x=.4,y=we*.4;var ae=ee(),se=ee(),de=ee(),pe=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.42,ae,se,de,pe,pe);var ce=ee(),Ee=ee(),Te=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.58,pe,pe,Te,ce,Ee);var rt=ee(),Dt=ee(),It=ee();mt(z,te+x,z-y,te+x,z-x,te+y,z-x,te,.42,rt,Dt,It,pe,pe);var Rt=ee(),Ft=ee(),Xt=ee();return mt(z,te+x,z-y,te+x,z-x,te+y,z-x,te,.58,pe,pe,Xt,Rt,Ft),ne.add(new go.PathSegment(go.PathSegment.Move,Xt.x*a,Xt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,Rt.x*a,Rt.y*E,Ft.x*a,Ft.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ae.x*a,ae.y*E,se.x*a,se.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Xt.x*a,Xt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,It.x*a,It.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Te.x*a,Te.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,ce.x*a,ce.y*E,Ee.x*a,Ee.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,It.x*a,It.y*E,rt.x*a,rt.y*E,Dt.x*a,Dt.y*E).close()),ue(ae),ue(se),ue(de),ue(pe),ue(ce),ue(Ee),ue(Te),ue(rt),ue(Dt),ue(It),ue(Rt),ue(Ft),ue(Xt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,a,E){var b=new go.Geometry,y=we*.4,x=.4,z=.5,te=.5,ne=ee(),ae=ee(),se=ee(),de=ee(),pe=new go.PathFigure((z-x)*a,te*E,!1);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.44,se,de,ae,ne,ne),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,se.x*a,se.y*E,de.x*a,de.y*E));var ce=ge(ae.x,ae.y);mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.56,ne,ne,ae,se,de);var Ee=ge(ae.x,ae.y);pe.add(new go.PathSegment(go.PathSegment.Line,(ce.x*.1+.95*.9)*a,ce.y*.1*E)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,ce.y*.1*E)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),pe.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*E)),pe.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*E)),pe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,se.x*a,se.y*E,de.x*a,de.y*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),x=.35,y=we*.35;var Te=new go.PathFigure(z*a,(te-x)*E,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E));var rt=new go.PathFigure((z-x)*a,te*E,!1);return b.add(rt),ue(ne),ue(ae),ue(se),ue(de),ue(ce),ue(Ee),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,a,E){var b=new go.Geometry,y=.375,x=0,z=-.125,te=y*we,ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+te+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-te+z)*E,(.5+te+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+te+z)*E,(.5-te+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,x=0,z=-.125,te=y*we;var ne=new go.PathFigure((1-.5+y+x)*a,(.5+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+te+z)*E,(.5+te+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E,(.5-te+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+te+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,a,E){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,a,E){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new je("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new je("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,ae=new go.PathFigure(0,z,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var se=Ue(0,te/E,1,te/E,x/a,1,1,.5,ee());return ne.spot2=new go.Spot(se.x,se.y),ue(se),ne}),go.Shape.setFigureParameter("Arrow2",0,new je("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new je("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var x=a-b,z=(E-y)/2,te=z+y,ne=new go.Geometry,ae=new go.PathFigure(0,z,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var se=Ue(0,te/E,1,te/E,x/a,1,1,.5,ee());return ne.spot2=new go.Spot(se.x,se.y),ue(se),ne}),go.Shape.defineFigureGenerator("Chevron",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new je("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Ue(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ne),z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new je("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new je("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,te=(E-y)/2,ne=te+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,te=0,ne=E):(x=0,z=E,te=0,ne=E));var ae=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var de=Ue(0,.5,.3,te/E,0,x/E,1,x/E,ee());return ae.spot1=new go.Spot(de.x,de.y),de=Ue(.7,ne/E,1,.5,0,z/E,1,z/E,de),ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new je("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new je("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new je("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,te=(E-y)/2,ne=te+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,te=0,ne=E):(x=0,z=E,te=0,ne=E));var ae=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,te)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),ae.spot1=new go.Spot(0,x/E);var de=Ue(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.setFigureParameter("Pointer",0,new je("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var z=Ue(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),ue(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new je("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var z=Ue(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),ue(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new je("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new je("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,x=y+b;b>E&&(y=0,x=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new je("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(0,.9*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var x=new go.PathFigure(0,.9*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(0,b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,we*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,we*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-we*b,(.5+x)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,1*E,0,E-we*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var te=new go.PathFigure(a,b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-we*b,(.5+x)*a,2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-we*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(0,E-b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,we*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,we*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-we*b,(.5+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,E,0,E-we*b));var te=new go.PathFigure(0,E-b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-we*b,(.5-x)*a,E-2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+x)*a,E-2*b,a,E-b-we*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-we*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-we*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,we*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,we*b,0));var te=new go.PathFigure(b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+we*b,0,2*b,(.5-x)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+x)*E,b+we*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(a-b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-we*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-we*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,we*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,we*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var te=new go.PathFigure(a-b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-we*b,0,a-2*b,(.5-x)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+x)*E,a-b-we*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.25*a,.25*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ie,a,E){var b=new go.Geometry,y=.2,x=.1,z=we*y,te=we*x,ne=.5,ae=.1,se=new go.PathFigure(ne*a,(ae+x)*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+x)*E,(ne-y)*a,(ae+te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-x)*E,(ne-y)*a,(ae-te)*E,(ne-z)*a,(ae-x)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-x)*E,(ne+y)*a,(ae-te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+x)*E,(ne+y)*a,(ae+te)*E,(ne+z)*a,(ae+x)*E));var de=.05,pe=we*de;ne=.05,ae=.25;var ce=new go.PathFigure(.5*a,.2*E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,ae=.25,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+de)*a,ae*E,(ne+pe)*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),de=.025,pe=we*de,ne=.825,ae=.35,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),de=.05,pe=we*de,ne=.5,ae=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),de=.025,pe=we*de,ne=.175,ae=.35,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),de=.05,pe=we*de,ne=.05,ae=.25,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E,(ne-pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new je("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var x=new go.PathFigure(.5*a,.5*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var te=new go.PathFigure(a,.1*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+x)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+x)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var te=new go.PathFigure(a,.1*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=we*.2,z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*E,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+x)*a,0,a,(.2-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+x)*E,(.8+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-x)*a,E,0,(.8+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(.1*a,.4*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var x=new go.PathFigure(a,.5*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,x*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b}),go.Shape.defineFigureGenerator("Junction",function(ie,a,E){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=we*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var ae=new go.PathFigure((x+y)*a,(x+y)*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+y)*a,x*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(.5*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*E,a,(x+y)*E,(x+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var x=new go.PathFigure(.2*a,.1*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var te=new go.PathFigure(a,.5*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(0,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var te=new go.PathFigure(a,x*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,x*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(ie,a,E){var b=new go.Geometry,y=we*.1,x=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ae=new go.PathFigure((z+x)*a,te*E,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te-x)*E,(z+x)*a,(te-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.4,z=we*.1,te=.1,ne=.9,ae=.5,se=new go.PathFigure(.8*a,.5*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+x)*E,(.4+y)*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-x)*E));var de=new go.PathFigure((ne+te)*a,ae*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+te)*E,(ne+te)*a,(ae+z)*E,(ne+z)*a,(ae+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,ae*E,(ne-z)*a,(ae+te)*E,(ne-te)*a,(ae+z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-te)*E,(ne-te)*a,(ae-z)*E,(ne-z)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,ae*E,(ne+z)*a,(ae-te)*E,(ne+te)*a,(ae-z)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(te-y)*E,.7*a,(te-x)*E)),y=.1,x=we*.1,z=.9,te=.5;var ae=new go.PathFigure((z-y)*a,te*E,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x+x)*a,(te-y)*E,.8*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+x)*E,(z+x+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.8*a,.5*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(te-y)*E,.7*a,(te-x)*E)),y=.1,x=we*.1,z=.9,te=.5;var se=new go.PathFigure((z-y)*a,te*E,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x)*a,(te-y)*E,.9*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(ie,a,E){var b=new go.Geometry,y=we*.1,x=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+x)*a,0,(z+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=.5,te=.5,ne=new go.PathFigure((z-x)*a,te*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te-x)*E,(z+x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,te*E,z*a,(te-x)*E,z*a,(te+x)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ie,a,E){var b=new go.Geometry,y=a,x=E;a=a*.38,E=E*.6;var z=we*.8,te=.8,ne=0,ae=.5,se=(y-a)/2,de=(x-E)/2,pe=new go.PathFigure(ne*a+se,(ae+te)*E+de,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+se,ae*E+de,ne*a+se,(ae-te)*E+de,(ne-te+z*.5)*a+se,(ae-z)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne-te+z*.5)*a+se,(ae+z)*E+de,ne*a+se,(ae+te)*E+de).close()),z=we*.4,te=.4,ne=.2,ae=.5;var ce=new go.PathFigure(ne*a+se,(ae+te)*E+de,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+se,ae*E+de,ne*a+se,(ae-te)*E+de,(ne-te+z*.5)*a+se,(ae-z)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne-te+z*.5)*a+se,(ae+z)*E+de,ne*a+se,(ae+te)*E+de).close()),z=we*.2,te=.2,ne=.5,ae=.5;var Ee=new go.PathFigure((ne-te)*a+se,ae*E+de,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),z=we*.4,te=.4,ne=.8,ae=.5;var Te=new go.PathFigure(ne*a+se,(ae-te)*E+de,!0);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+se,ae*E+de,ne*a+se,(ae+te)*E+de,(ne+te-z*.5)*a+se,(ae+z)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne+te-z*.5)*a+se,(ae-z)*E+de,ne*a+se,(ae-te)*E+de).close()),z=we*.8,te=.8,ne=1,ae=.5;var rt=new go.PathFigure(ne*a+se,(ae-te)*E+de,!0);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+se,ae*E+de,ne*a+se,(ae+te)*E+de,(ne+te-z*.5)*a+se,(ae+z)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne+te-z*.5)*a+se,(ae-z)*E+de,ne*a+se,(ae-te)*E+de).close()),b}),go.Shape.defineFigureGenerator("Email",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,E,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(ie,a,E){var b=new go.Geometry,y=we*.4,x=.4,z=.5,te=.5,ne=ee(),ae=ee(),se=ee(),de=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.5,ne,ne,ae,se,de);var pe=ge(ae.x,ae.y),ce=new go.PathFigure(ae.x*a,ae.y*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,se.x*a,se.y*E,de.x*a,de.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),mt(z-x,te,z-x,te-y,z-y,te-x,z,te-x,.5,se,de,ae,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,se.x*a,se.y*E,de.x*a,de.y*E)),y=we*.3,x=.3,mt(z-x,te,z-x,te-y,z-y,te-x,z,te-x,.5,se,de,ae,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,de.x*a,de.y*E,se.x*a,se.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.5,ne,ne,ae,se,de),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,de.x*a,de.y*E,se.x*a,se.y*E).close());var ce=new go.PathFigure(.45*a,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ue(ne),ue(ae),ue(se),ue(de),ue(pe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function x(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,a,E){var b=new go.Geometry,y=.5,x=0,z=0,te=y*we,ne=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,se=1,de=.5,pe=.5,ce=0,Ee=new go.PathFigure(ne*a,(1-ae)*E,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,de*E,se*a,.7*E,se*a,de*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+x)*a,(ce+x)*E,(.5+y+x)*a,(.5-te+x)*E,(.5+te+x)*a,(.5-y+x)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*E,(.5-y+x)*a,(.5+te+z)*E,(.5-te+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var x=new go.PathFigure(.45*a,.73*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,ae=Math.PI/4,se=4*(1-Math.cos(ae))/(3*Math.sin(ae)),de=se*.5,pe=z,ce=z,Ee=se*pe,Te=se*ce;x.add(new go.PathSegment(go.PathSegment.Bezier,(te-pe)*a,ne*E,(te-(Ee+pe)/2)*a,(ne+(ce+Te)/2)*E,(te-pe)*a,(ne+Te)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-ce)*E,(te-pe)*a,(ne-Te)*E,(te-Ee)*a,(ne-ce)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(te+pe)*a,ne*E,(te+Ee)*a,(ne-ce)*E,(te+pe)*a,(ne-Te)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+pe)*a,(ne+Te)*E,(te+(Ee+pe)/2)*a,(ne+(ce+Te)/2)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var rt=new go.PathFigure(.2*a,E,!1);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Dt=new go.PathFigure(.8*a,E,!1);return b.add(Dt),Dt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var x=new go.PathFigure(.2*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(.1*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,x*a,x*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var x=new go.PathFigure(.475*a,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=new go.PathFigure(a,y*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+x)*E,(y+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-x)*a,E,0,(y+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-x)*E,(y-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+x)*a,0,a,(y-x)*E));var te=new go.PathFigure(y*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,.15*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var x=new go.PathFigure(0,.2*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var x=new go.PathFigure(.15*a,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=we*.1,ne=.2,ae=.9,se=new go.PathFigure((ne-z)*a,ae*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-te)*E,(ne-te)*a,(ae-z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+te)*a,(ae-z)*E,(ne+z)*a,(ae-te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+te)*E,(ne+te)*a,(ae+z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-te)*a,(ae+z)*E,(ne-z)*a,(ae+te)*E).close()),z=.1,te=we*.1,ne=.8,ae=.9;var de=new go.PathFigure((ne-z)*a,ae*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-te)*E,(ne-te)*a,(ae-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+te)*a,(ae-z)*E,(ne+z)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+te)*E,(ne+te)*a,(ae+z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-te)*a,(ae+z)*E,(ne-z)*a,(ae+te)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,ae=we*.1,se=.1,de=.9,pe=new go.PathFigure((se-ne)*a,de*E,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de-ne)*E,(se-ne)*a,(de-ae)*E,(se-ae)*a,(de-ne)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ne)*a,de*E,(se+ae)*a,(de-ne)*E,(se+ne)*a,(de-ae)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de+ne)*E,(se+ne)*a,(de+ae)*E,(se+ae)*a,(de+ne)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ne)*a,de*E,(se-ae)*a,(de+ne)*E,(se-ne)*a,(de+ae)*E)),ne=.1,ae=we*.1,se=.4,de=.9;var ce=new go.PathFigure((se-ne)*a,de*E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de-ne)*E,(se-ne)*a,(de-ae)*E,(se-ae)*a,(de-ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(se+ne)*a,de*E,(se+ae)*a,(de-ne)*E,(se+ne)*a,(de-ae)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de+ne)*E,(se+ne)*a,(de+ae)*E,(se+ae)*a,(de+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(se-ne)*a,de*E,(se-ae)*a,(de+ne)*E,(se-ne)*a,(de+ae)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var x=new go.PathFigure(.45*a,.7*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var se=.05,de=we*.05,pe=.175,ce=.95,te=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.375,ce=.95,ne=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.625,ce=.95,ae=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.825,ce=.95,Ee=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E).close());var Te=new go.PathFigure(0,E,!1);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=we*.05,ae=.35,se=.775,de=new go.PathFigure((ae-te)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(se-te)*E,(ae-te)*a,(se-ne)*E,(ae-ne)*a,(se-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*a,se*E,(ae+ne)*a,(se-te)*E,(ae+te)*a,(se-ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(se+te)*E,(ae+te)*a,(se+ne)*E,(ae+ne)*a,(se+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*a,se*E,(ae-ne)*a,(se+te)*E,(ae-te)*a,(se+ne)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(ie,a,E){var b=new go.Geometry,y=.3,x=we*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E));var ae=new go.PathFigure(0,.7*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var x=new go.PathFigure(0,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E));var ae=new go.PathFigure(.15*a,.5*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E).close()),y=.05,x=we*.05,z=.5,te=.8;var ae=new go.PathFigure((z-y)*a,te*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var x=new go.PathFigure(0,E*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var x=new go.PathFigure(.126*a,.85*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var x=new go.PathFigure(a*.204,E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,a,E){var b=new go.Geometry,y=8,x=y*we,z=new go.PathFigure(y,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var te=new go.PathFigure(a*.83,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ae=new go.PathFigure(a*.78,E*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*we,x=E*.8,z=new go.Geometry,te=new go.PathFigure(b,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-y,a-y,x)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),te.add(new go.PathSegment(go.PathSegment.Line,b,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var x=new go.PathFigure(a*1,E*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ie,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var x=new go.PathFigure(a*.1,E*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ie,a,E){var b=new go.Geometry,y=15,x=y*we,z=new go.PathFigure(a*.62,E*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.4,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.5,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var x=new go.PathFigure(a*.235,E*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var je={},Nt="5.0",ge={},ee=null,ue=!1,Ue=!1,mt=null,xe=!1,Xe=null,we=null,at=0;at4?parseFloat(Me):5};je.setHTML5Codebase=function(Me,We){we=Me,et(Me,We)},je.setJavaCodebase=je.setJavaCodebaseVersion=je.isCompiledInstalled=je.setPreCompiledScriptPath=je.setPreCompiledResourcePath=function(){},je.setHTML5CodebaseVersion=function(Me,We){var St=parseFloat(Me);if(St!==NaN&&St<5){console.log("The GeoGebra HTML5 codebase version "+St+" is deprecated. Using version latest instead.");return}Xe=Me,un(Me,We)},je.getHTML5CodebaseVersion=function(){return ie},je.getParameters=function(){return ge},je.setFontsCSSURL=function(Me){z=Me},je.setGiacJSURL=function(Me){},je.setJNLPFile=function(Me){Ve=Me},je.setJNLPBaseDir=function(Me){},je.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var We="auto",St=ge.id,Ot,xt=!1,an=0;an=5)return!0;var Me=je.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},je.startAnimation=function(){var Me=je.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},je.stopAnimation=function(){var Me=je.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},je.getAppletObject=function(){var Me=ge.id!==void 0?ge.id:"ggbApplet";return window[Me]},je.resize=function(){};var Ee=function(Me,We,St){var Ot=document.createElement("param");Ot.setAttribute("name",We),Ot.setAttribute("value",St),Me.appendChild(Ot)},Te=function(Me){return Me&&Me!=="false"},rt=function(Me,We,St){ne(ie)<=4.2&&(St=!0);var Ot=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Ot=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var xt=document.createElement("div");xt.classList.add("appletParameters","notranslate");var an=We.width,Se=We.height;if(We.disableAutoScale=We.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():We.disableAutoScale,We.width!==void 0)if(ne(ie)<=4.4)Te(We.showToolBar)&&(We.height-=7),Te(We.showAlgebraInput)&&(We.height-=37),We.width<605&&Te(We.showToolBar)&&(We.width=605,an=605);else{var ft=100;(Te(We.showToolBar)||Te(We.showMenuBar))&&(We.hasOwnProperty("customToolBar")&&(We.customToolbar=We.customToolBar),ft=Te(We.showMenuBar)?245:155),an=5?(We.appletOnLoad=function(Qe){var gt=Me.querySelector(".ggb_preview");gt&>.parentNode.removeChild(gt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(on),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Qe)},Gn||on.appendChild(fa)):xt.appendChild(fa),on.appendChild(xt),Gn||Me.appendChild(on),setTimeout(function(){je.resize()},1)}else{var Je=document.createElement("div");Je.className="applet_scaler",Je.style.position="relative",Je.style.display="block",Je.appendChild(xt),Me.appendChild(Je),We.appletOnLoad=function(Qe){je.resize(),jt(Qe)}}function tt(Qe,gt){gt&&typeof gt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Qe,gt.appletOnLoad):renderGGBElement(Qe),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gt)}function Bt(Qe,gt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Qe,params:gt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Vt){tt(Vt.article,Vt.params)}),html5AppletsToProcess=null)},ne(ie)<5&&(Qe.className+=" geogebraweb")):tt(Qe,gt)}if(Ot){scriptLoadStarted=!0;for(var Re=0;Re0?(pt.remove(),on.attr("id","fullscreencontent").show(),jQuery(jt).append(on),window.dispatchEvent(new Event("resize"))):rt(pt,We,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else _e=Ot,rt(Me,We,!1);if(!window.GGBT_wsf_view)for(Se=0;SeMe/4*3&&(pt=Me/4*3),jt=pt/5.8,ft.setAttribute("src",y),ft.setAttribute("width",pt),ft.setAttribute("height",jt);var on=(Me-pt)/2,Gn=(We-jt)/2;ft.style.left=on+"px",ft.style.top=Gn+"px",xt.appendChild(ft)}}return xt.appendChild(Se),xt},nt=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},qt=["web","webSimple","web3d","tablet","tablet3d","phone"],un=function(Me,We){if(ie=Me,We){et(ie,!0);return}var St=!ue;if(St){var Ot=ne(ie);!isNaN(Ot)&&Ot<4.4&&(St=!1)}var xt,an;window.location.protocol.substr(0,4)==="http"?xt=window.location.protocol:xt="http:";var Se=ie.indexOf("//");Se>0?an=ie:Se===0?an=xt+ie:an="https://www.geogebra.org/apps/5.2.814.0/";for(var ft in qt)if(ie.slice(qt[ft].length*-1)===qt[ft]||ie.slice((qt[ft].length+1)*-1)===qt[ft]+"/"){et(an,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&St&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Te(ge.showToolBar)&&!Te(ge.showMenuBar)&&!Te(ge.showAlgebraInput)&&!Te(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?an+="webSimple/":an+="web3d/",et(an,!1)},et=function(Me,We){if(Me.requirejs){Tt=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),Tt=Me,We===null&&(We=Me.indexOf("http")===-1),He=We,a="web.nocache.js",E=!1;var St=Tt.split("/");St.length>1&&(!We&&St[St.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):qt.indexOf(St[St.length-2])>=0&&(a=St[St.length-2]+".nocache.js")),St=Me.split("/"),ie=St[St.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Ot=parseFloat(ie);Ot!==NaN&&Ot<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ot+" is deprecated. Using version latest instead."),un("5.0",We))},zt=function(Me,We){window.console&&window.console.log&&(!We||typeof We.showLogging=="undefined"||We.showLogging&&We.showLogging!=="false")&&console.log(Me)};ge.material_id!==void 0?de(Qt):Qt();function Qt(){var Me=Nt;Xe!==null?Me=Xe:parseFloat(Me)<5&&(Me="5.0"),un(Me,!1),we!==null&&et(we,He),xe=!0}return je},GGBAppletUtils=function(){"use strict";function je(){return window.GGBT_wsf_edit!==void 0}function Nt(xe,Xe){Xe!=1?(xe.style.transformOrigin="0% 0% 0px",xe.style.webkitTransformOrigin="0% 0% 0px",xe.style.transform="scale("+Xe+","+Xe+")",xe.style.webkitTransform="scale("+Xe+","+Xe+")",xe.style.maxWidth="initial",xe.querySelector(".ggb_preview")!==null&&(xe.querySelector(".ggb_preview").style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(xe.style.transform="none",xe.style.webkitTransform="none")}function ge(xe,Xe,we,at,Ze,Ve){var Tt=null;if(Ve!=null&&Ve!="")for(var He=xe.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+Ve+" ")>-1){Tt=He;break}else He=He.parentNode;var _e=0,ie=0,a=0,E=0,b=0,y=0,x=0;if(Tt)_e=Tt.offsetWidth,ie=Math.max(at?Tt.offsetWidth:0,Tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),a=_e):(_e=window.innerWidth,ie=window.innerHeight,a=window.innerWidth),xe){var z=xe.getBoundingClientRect();z.left>0&&z.left<=_e&&(Ze===void 0||!Ze)&&(document.dir==="rtl"?(b=_e-z.width-z.left,y=a<=480?10:30):(y=z.left,b=a<=480?10:30),E=y+b)}if(xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=xe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,x=40)}}return xe&&((we===void 0||!we)&&Xe>0&&Xe+E<_e?_e=Xe:_e-=E,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we===void 0||!we)&&(ie-=x)),{width:_e,height:ie}}function ee(xe,Xe,we,at,Ze){if(xe.isScreenshoGenerator)return 1;var Ve=at!==void 0&&at,Tt=xe.noScaleMargin!=null&&xe.noScaleMargin,He=function(te){return te&&te!=="false"},_e=He(xe.autoHeight),ie=ge(Xe,xe.width,we,_e,Ve&&window.GGBT_wsf_view||Tt,Ze),a=parseInt(ie.width),E=xe.width,b=xe.height;if(E===void 0){var y=Xe.querySelector(".appletParameters");y&&(E=y.offsetWidth,b=y.offsetHeight)}var x=a/E,z=Ve?1:ie.height/b;return we!==void 0&&!we&&(x=Math.min(1,x),z=Math.min(1,z)),Math.min(x,z)}function ue(xe,Xe,we){var at=1,Ze,Ve=!1;if(xe.hasOwnProperty("allowUpscale")&&(Ve=xe.allowUpscale),xe.hasOwnProperty("scale")&&(at=parseFloat(xe.scale),(isNaN(at)||at===null||at===0)&&(at=1),at>1&&(Ve=!0)),Xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(xe.hasOwnProperty("disableAutoScale")&&xe.disableAutoScale))Ze=ee(xe,Xe,Ve,we,xe.scaleContainerClass);else return at;return Ve&&(!xe.hasOwnProperty("scale")||at===1)?Ze:Math.min(at,Ze)}function Ue(xe){var Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),at=xe.getBoundingClientRect(),Ze=(Xe-at.width)/2,Ve=(we-at.height)/2;Ve<0&&(Ve=0),xe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ze<40?xe.style.left="40px":xe.style.left=Ze+"px",xe.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?xe.style.top="40px":xe.style.top=Ve+"px",xe.style.left=Ze+"px")}function mt(xe,Xe){var we=xe.querySelector(".appletParameters");if(we){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!==we.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(xe)}if(we.parentElement&&/fullscreen/.test(we.parentElement.className))return;var at=ue(Xe,xe);je()&&we.setAttribute("data-param-scale",at);for(var Ze=null,Ve=0;Ve=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(je){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(je){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(je){var Nt=c[je];return Nt==null?null:Nt},r=d,webModule.__errFn=e}function B(){function je(xe){var Xe=xe.lastIndexOf(rb);Xe==-1&&(Xe=xe.length);var we=xe.indexOf(sb);we==-1&&(we=xe.length);var at=xe.lastIndexOf(tb,Math.min(we,Xe));return at>=O?xe.substring(O,at+P):W}function Nt(xe){if(!xe.match(/^\w+:\/\//)){var Xe=o.createElement(ub);Xe.src=xe+vb,xe=je(Xe.src)}return xe}function ge(){var xe=__gwt_getMetaProperty(wb);return xe!=null?xe:W}function ee(){for(var xe=o.getElementsByTagName(_),Xe=O;XeO?xe[xe.length-P].href:W}function Ue(){var xe=o.location;return xe.href==xe.protocol+zb+xe.host+xe.pathname+xe.search+xe.hash}var mt=ge();return mt==W&&(mt=ee()),mt==W&&(mt=ue()),mt==W&&Ue()&&(mt=je(o.location.href)),mt=Nt(mt),mt}function C(je){return je.match(/^\//)||je.match(/^[a-zA-Z]+:\/\//)?je:webModule.__moduleBase+je}function D(){var je=[],Nt=O,ge=[],ee=[];function ue(xe){var Xe=ee[xe](),we=ge[xe];if(Xe in we)return Xe;var at=[];for(var Ze in we)at[we[Ze]]=Ze;throw r&&r(xe,at,Xe),null}if(__gwt_isKnownPropertyValue=function(xe,Xe){return Xe in ge[xe]},webModule.__getPropMap=function(){var xe={};for(var Xe in ge)ge.hasOwnProperty(Xe)&&(xe[Xe]=ue(Xe));return xe},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ue;try{Ue=Cb;var mt=Ue.indexOf(Db);mt!=-1&&(Nt=parseInt(Ue.substring(mt+P),$),Ue=Ue.substring(O,mt))}catch(xe){}return webModule.__softPermutationId=Nt,C(Ue+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(je,Nt,ge){"use strict";ge.d(Nt,{Ax:function(){return mt},Ds:function(){return xe},KI:function(){return we},SI:function(){return Ue},f1:function(){return ue}});var ee=ge(3294);function ue(at){let Ze=!0;if(at.length>0){for(let Ve=0;Vebe in Be?pe(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,Dt=(Be,be)=>{for(var Ne in be||(be={}))Ee.call(be,Ne)&&rt(Be,Ne,be[Ne]);if(ce)for(var Ne of ce(be))Te.call(be,Ne)&&rt(Be,Ne,be[Ne]);return Be},It=(Be,be)=>{var Ne={};for(var bt in Be)Ee.call(Be,bt)&&be.indexOf(bt)<0&&(Ne[bt]=Be[bt]);if(Be!=null&&ce)for(var bt of ce(Be))be.indexOf(bt)<0&&Te.call(Be,bt)&&(Ne[bt]=Be[bt]);return Ne},Ft=({onFinish:Be,value:be,streamingStatus:Ne,cancelIndex:bt,loadImage:At})=>{const[wt,fn]=(0,ee.useState)(""),[Oe,vt]=(0,ee.useState)(0),[dn,wn]=(0,ee.useState)(!1),Mt=yn=>yn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),dt=()=>{wn(!0),Be==null||Be()};return(0,ee.useEffect)(()=>{const yn=At?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[8302],{88010:function(je,Nt){"use strict";Nt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function je(ie,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=ie,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(je.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(je.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(je.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(je.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,a){var E=go.Shape._FigureParameters[ie];return E?E[a]:null},go.Shape.setFigureParameter=function(ie,a,E){if(!(E instanceof je))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[ie];b||(b=[],go.Shape._FigureParameters[ie]=b),b[a]=E};var Nt=[];function ge(ie,a){var E=Nt.pop();return E===void 0?new go.Point(ie,a):(E.x=ie,E.y=a,E)}function ee(){var ie=Nt.pop();return ie===void 0?new go.Point:ie}function ue(ie){Nt.push(ie)}function Ue(ie,a,E,b,y,x,z,te,ne){ne||(ne=new go.Point);var ae=ie-E,se=y-z,de=NaN,pe=NaN;if(ae===0)if(se===0)ie===E&&(de=ie,pe=a);else{var ce=(x-te)/se,Ee=x-ce*y;de=ie,pe=ce*de+Ee}else if(se===0){var Te=(a-b)/ae,rt=a-Te*ie;de=y,pe=Te*de+rt}else{var Te=(a-b)/ae,ce=(x-te)/se,rt=a-Te*ie,Ee=x-ce*y;de=(Ee-rt)/(Te-ce),pe=Te*de+rt}return ne.x=de,ne.y=pe,ne}function mt(ie,a,E,b,y,x,z,te,ne,ae,se,de,pe,ce){var Ee=1-ne,Te=ne,rt=ie*Ee+E*Te,Dt=a*Ee+b*Te,It=E*Ee+y*Te,Rt=b*Ee+x*Te,Ft=y*Ee+z*Te,Xt=x*Ee+te*Te,nt=rt*Ee+It*Te,qt=Dt*Ee+Rt*Te,un=It*Ee+Ft*Te,et=Rt*Ee+Xt*Te,zt=nt*Ee+un*Te,Qt=qt*Ee+et*Te;ae.x=rt,ae.y=Dt,se.x=nt,se.y=qt,de.x=zt,de.y=Qt,pe.x=un,pe.y=et,ce.x=Ft,ce.y=Xt}var xe=new go.Spot(.156,.156),Xe=new go.Spot(.844,.844),we=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new je("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*we,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=xe,y.spot2=Xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(ie,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,we*a,0,a,(1-we)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,we*E,(1-we)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,we*E,we*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-we)*a,0,0,(1-we)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new je("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),x.spot1=xe,x.spot2=Xe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new je("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new je("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,a,E){var b=ie?ie.parameter1:NaN,y=ie?ie.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,x,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,a,E){var b=we/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,x*E,a,(1-b)*E,(y+b)*a,(x+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,a,E){var b=ie?ie.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var x=a/2,z=E/2,te=Math.atan2(E,a),ne=b-Math.min(Math.cos(te)*b/2,x),ae=b-Math.min(Math.sin(te)*b/2,z),y=new go.Geometry,se=new go.PathFigure(ne,0,!0);return y.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x,.2*E)),se.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,ae)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,a,E-ae)),se.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),se.add(new go.PathSegment(go.PathSegment.Line,x,.8*E)),se.add(new go.PathSegment(go.PathSegment.Line,ne,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E-ae)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new je("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new je("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new je("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,we*a,0,a,(.5-we/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+we/2)*E,we*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var x=.2,z=.3,te=0,ne=x*we;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z+.05)*a,(.5-ne+te-.02)*E)),x=.2,z=0,te=-.3,ne=x*we,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),x=.2,z=-.3,te=0,ne=x*we,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+te)*E,(1-.5+x+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-x+te)*E,(.5-x+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+te)*E,(.5-x+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+x+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+x+te)*E,(.5+x+z)*a,(.5+ne+te)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,x*a,x*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+x)*a,te*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ie,a,E){var b=.8535533905932737,y=.5*a,x=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-x)*E);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),x=.4,y=we*.4;var ae=ee(),se=ee(),de=ee(),pe=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.42,ae,se,de,pe,pe);var ce=ee(),Ee=ee(),Te=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.58,pe,pe,Te,ce,Ee);var rt=ee(),Dt=ee(),It=ee();mt(z,te+x,z-y,te+x,z-x,te+y,z-x,te,.42,rt,Dt,It,pe,pe);var Rt=ee(),Ft=ee(),Xt=ee();return mt(z,te+x,z-y,te+x,z-x,te+y,z-x,te,.58,pe,pe,Xt,Rt,Ft),ne.add(new go.PathSegment(go.PathSegment.Move,Xt.x*a,Xt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,Rt.x*a,Rt.y*E,Ft.x*a,Ft.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*E,ae.x*a,ae.y*E,se.x*a,se.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Xt.x*a,Xt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,It.x*a,It.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Te.x*a,Te.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,ce.x*a,ce.y*E,Ee.x*a,Ee.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,It.x*a,It.y*E,rt.x*a,rt.y*E,Dt.x*a,Dt.y*E).close()),ue(ae),ue(se),ue(de),ue(pe),ue(ce),ue(Ee),ue(Te),ue(rt),ue(Dt),ue(It),ue(Rt),ue(Ft),ue(Xt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new je("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,a,E){var b=new go.Geometry,y=we*.4,x=.4,z=.5,te=.5,ne=ee(),ae=ee(),se=ee(),de=ee(),pe=new go.PathFigure((z-x)*a,te*E,!1);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.44,se,de,ae,ne,ne),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,se.x*a,se.y*E,de.x*a,de.y*E));var ce=ge(ae.x,ae.y);mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.56,ne,ne,ae,se,de);var Ee=ge(ae.x,ae.y);pe.add(new go.PathSegment(go.PathSegment.Line,(ce.x*.1+.95*.9)*a,ce.y*.1*E)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,ce.y*.1*E)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),pe.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*E)),pe.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*E)),pe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,se.x*a,se.y*E,de.x*a,de.y*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),x=.35,y=we*.35;var Te=new go.PathFigure(z*a,(te-x)*E,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E));var rt=new go.PathFigure((z-x)*a,te*E,!1);return b.add(rt),ue(ne),ue(ae),ue(se),ue(de),ue(ce),ue(Ee),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,a,E){var b=new go.Geometry,y=.375,x=0,z=-.125,te=y*we,ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+te+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-te+z)*E,(.5+te+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+te+z)*E,(.5-te+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,x=0,z=-.125,te=y*we;var ne=new go.PathFigure((1-.5+y+x)*a,(.5+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+te+z)*E,(.5+te+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E,(.5-te+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+te+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,a,E){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,a,E){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new je("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new je("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,ae=new go.PathFigure(0,z,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var se=Ue(0,te/E,1,te/E,x/a,1,1,.5,ee());return ne.spot2=new go.Spot(se.x,se.y),ue(se),ne}),go.Shape.setFigureParameter("Arrow2",0,new je("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new je("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var x=a-b,z=(E-y)/2,te=z+y,ne=new go.Geometry,ae=new go.PathFigure(0,z,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var se=Ue(0,te/E,1,te/E,x/a,1,1,.5,ee());return ne.spot2=new go.Spot(se.x,se.y),ue(se),ne}),go.Shape.defineFigureGenerator("Chevron",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new je("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Ue(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ne),z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new je("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new je("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,te=(E-y)/2,ne=te+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,te=0,ne=E):(x=0,z=E,te=0,ne=E));var ae=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),se.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var de=Ue(0,.5,.3,te/E,0,x/E,1,x/E,ee());return ae.spot1=new go.Spot(de.x,de.y),de=Ue(.7,ne/E,1,.5,0,z/E,1,z/E,de),ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new je("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new je("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new je("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var y=ie?ie.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,te=(E-y)/2,ne=te+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,te=0,ne=E):(x=0,z=E,te=0,ne=E));var ae=new go.Geometry,se=new go.PathFigure(a,.5*E,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,te)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),se.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),ae.spot1=new go.Spot(0,x/E);var de=Ue(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.setFigureParameter("Pointer",0,new je("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var z=Ue(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),ue(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new je("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var z=Ue(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),ue(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new je("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new je("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,x=y+b;b>E&&(y=0,x=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=Ue(.7,1,1,.5,0,x/E,1,x/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),ue(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new je("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(0,.9*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var x=new go.PathFigure(0,.9*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(0,b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,we*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,we*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-we*b,(.5+x)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,1*E,0,E-we*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var te=new go.PathFigure(a,b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-we*b,(.5+x)*a,2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-we*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(0,E-b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,we*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,we*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-we*b,(.5+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,E,0,E-we*b));var te=new go.PathFigure(0,E-b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-we*b,(.5-x)*a,E-2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+x)*a,E-2*b,a,E-b-we*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-we*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-we*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,we*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,we*b,0));var te=new go.PathFigure(b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+we*b,0,2*b,(.5-x)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+x)*E,b+we*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=we*.5,z=new go.PathFigure(a-b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-we*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-we*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,we*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,we*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var te=new go.PathFigure(a-b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-we*b,0,a-2*b,(.5-x)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+x)*E,a-b-we*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.25*a,.25*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ie,a,E){var b=new go.Geometry,y=.2,x=.1,z=we*y,te=we*x,ne=.5,ae=.1,se=new go.PathFigure(ne*a,(ae+x)*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+x)*E,(ne-y)*a,(ae+te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-x)*E,(ne-y)*a,(ae-te)*E,(ne-z)*a,(ae-x)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-x)*E,(ne+y)*a,(ae-te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+x)*E,(ne+y)*a,(ae+te)*E,(ne+z)*a,(ae+x)*E));var de=.05,pe=we*de;ne=.05,ae=.25;var ce=new go.PathFigure(.5*a,.2*E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,ae=.25,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+de)*a,ae*E,(ne+pe)*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),de=.025,pe=we*de,ne=.825,ae=.35,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),de=.05,pe=we*de,ne=.5,ae=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),de=.025,pe=we*de,ne=.175,ae=.35,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne+de)*a,(ae-pe)*E,(ne+pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-de)*a,ae*E,(ne-pe)*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),de=.05,pe=we*de,ne=.05,ae=.25,ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-de)*E,(ne-de)*a,(ae-pe)*E,(ne-pe)*a,(ae-de)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new je("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,a,E){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var x=new go.PathFigure(.5*a,.5*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var te=new go.PathFigure(a,.1*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+x)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+x)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var te=new go.PathFigure(a,.1*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=we*.2,z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*E,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+x)*a,0,a,(.2-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+x)*E,(.8+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-x)*a,E,0,(.8+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(.1*a,.4*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var x=new go.PathFigure(a,.5*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,x*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b}),go.Shape.defineFigureGenerator("Junction",function(ie,a,E){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=we*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var ae=new go.PathFigure((x+y)*a,(x+y)*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+y)*a,x*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(.5*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*E,a,(x+y)*E,(x+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var x=new go.PathFigure(.2*a,.1*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var te=new go.PathFigure(a,.5*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ie,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(0,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,a,E){var b=new go.Geometry,y=ie?ie.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var te=new go.PathFigure(a,x*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,x*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(ie,a,E){var b=new go.Geometry,y=we*.1,x=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ae=new go.PathFigure((z+x)*a,te*E,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te-x)*E,(z+x)*a,(te-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=we*.4,z=we*.1,te=.1,ne=.9,ae=.5,se=new go.PathFigure(.8*a,.5*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+x)*E,(.4+y)*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,E)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-x)*E));var de=new go.PathFigure((ne+te)*a,ae*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+te)*E,(ne+te)*a,(ae+z)*E,(ne+z)*a,(ae+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,ae*E,(ne-z)*a,(ae+te)*E,(ne-te)*a,(ae+z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-te)*E,(ne-te)*a,(ae-z)*E,(ne-z)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,ae*E,(ne+z)*a,(ae-te)*E,(ne+te)*a,(ae-z)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(te-y)*E,.7*a,(te-x)*E)),y=.1,x=we*.1,z=.9,te=.5;var ae=new go.PathFigure((z-y)*a,te*E,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x+x)*a,(te-y)*E,.8*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+x)*E,(z+x+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.8*a,.5*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(te-y)*E,.7*a,(te-x)*E)),y=.1,x=we*.1,z=.9,te=.5;var se=new go.PathFigure((z-y)*a,te*E,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x)*a,(te-y)*E,.9*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(ie,a,E){var b=new go.Geometry,y=we*.1,x=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+x)*a,0,(z+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,a,E){var b=new go.Geometry,y=we*.5,x=.5,z=.5,te=.5,ne=new go.PathFigure((z-x)*a,te*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-x)*E,(z-x)*a,(te-y)*E,(z-y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te-x)*E,(z+x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,te*E,z*a,(te-x)*E,z*a,(te+x)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ie,a,E){var b=new go.Geometry,y=a,x=E;a=a*.38,E=E*.6;var z=we*.8,te=.8,ne=0,ae=.5,se=(y-a)/2,de=(x-E)/2,pe=new go.PathFigure(ne*a+se,(ae+te)*E+de,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+se,ae*E+de,ne*a+se,(ae-te)*E+de,(ne-te+z*.5)*a+se,(ae-z)*E+de)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne-te+z*.5)*a+se,(ae+z)*E+de,ne*a+se,(ae+te)*E+de).close()),z=we*.4,te=.4,ne=.2,ae=.5;var ce=new go.PathFigure(ne*a+se,(ae+te)*E+de,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+se,ae*E+de,ne*a+se,(ae-te)*E+de,(ne-te+z*.5)*a+se,(ae-z)*E+de)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne-te+z*.5)*a+se,(ae+z)*E+de,ne*a+se,(ae+te)*E+de).close()),z=we*.2,te=.2,ne=.5,ae=.5;var Ee=new go.PathFigure((ne-te)*a+se,ae*E+de,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne-te)*a+se,(ae-z)*E+de,(ne-z)*a+se,(ae-te)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+se,ae*E+de,(ne-z)*a+se,(ae+te)*E+de,(ne-te)*a+se,(ae+z)*E+de)),z=we*.4,te=.4,ne=.8,ae=.5;var Te=new go.PathFigure(ne*a+se,(ae-te)*E+de,!0);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+se,ae*E+de,ne*a+se,(ae+te)*E+de,(ne+te-z*.5)*a+se,(ae+z)*E+de)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne+te-z*.5)*a+se,(ae-z)*E+de,ne*a+se,(ae-te)*E+de).close()),z=we*.8,te=.8,ne=1,ae=.5;var rt=new go.PathFigure(ne*a+se,(ae-te)*E+de,!0);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+se,ae*E+de,(ne+z)*a+se,(ae-te)*E+de,(ne+te)*a+se,(ae-z)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae+te)*E+de,(ne+te)*a+se,(ae+z)*E+de,(ne+z)*a+se,(ae+te)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+se,ae*E+de,ne*a+se,(ae+te)*E+de,(ne+te-z*.5)*a+se,(ae+z)*E+de)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+se,(ae-te)*E+de,(ne+te-z*.5)*a+se,(ae-z)*E+de,ne*a+se,(ae-te)*E+de).close()),b}),go.Shape.defineFigureGenerator("Email",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,E,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(ie,a,E){var b=new go.Geometry,y=we*.4,x=.4,z=.5,te=.5,ne=ee(),ae=ee(),se=ee(),de=ee();mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.5,ne,ne,ae,se,de);var pe=ge(ae.x,ae.y),ce=new go.PathFigure(ae.x*a,ae.y*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,se.x*a,se.y*E,de.x*a,de.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z+x)*a,(te+y)*E,(z+y)*a,(te+x)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,(z-y)*a,(te+x)*E,(z-x)*a,(te+y)*E)),mt(z-x,te,z-x,te-y,z-y,te-x,z,te-x,.5,se,de,ae,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,se.x*a,se.y*E,de.x*a,de.y*E)),y=we*.3,x=.3,mt(z-x,te,z-x,te-y,z-y,te-x,z,te-x,.5,se,de,ae,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,te*E,de.x*a,de.y*E,se.x*a,se.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+x)*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,te*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),mt(z,te-x,z+y,te-x,z+x,te-y,z+x,te,.5,ne,ne,ae,se,de),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*E,de.x*a,de.y*E,se.x*a,se.y*E).close());var ce=new go.PathFigure(.45*a,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ue(ne),ue(ae),ue(se),ue(de),ue(pe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function x(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,a,E){var b=new go.Geometry,y=.5,x=0,z=0,te=y*we,ne=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,se=1,de=.5,pe=.5,ce=0,Ee=new go.PathFigure(ne*a,(1-ae)*E,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,de*E,se*a,.7*E,se*a,de*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+x)*a,(ce+x)*E,(.5+y+x)*a,(.5-te+x)*E,(.5+te+x)*a,(.5-y+x)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-te+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-te+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*E,(.5-y+x)*a,(.5+te+z)*E,(.5-te+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var x=new go.PathFigure(.45*a,.73*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,ae=Math.PI/4,se=4*(1-Math.cos(ae))/(3*Math.sin(ae)),de=se*.5,pe=z,ce=z,Ee=se*pe,Te=se*ce;x.add(new go.PathSegment(go.PathSegment.Bezier,(te-pe)*a,ne*E,(te-(Ee+pe)/2)*a,(ne+(ce+Te)/2)*E,(te-pe)*a,(ne+Te)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-ce)*E,(te-pe)*a,(ne-Te)*E,(te-Ee)*a,(ne-ce)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(te+pe)*a,ne*E,(te+Ee)*a,(ne-ce)*E,(te+pe)*a,(ne-Te)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+pe)*a,(ne+Te)*E,(te+(Ee+pe)/2)*a,(ne+(ce+Te)/2)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var rt=new go.PathFigure(.2*a,E,!1);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Dt=new go.PathFigure(.8*a,E,!1);return b.add(Dt),Dt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var x=new go.PathFigure(.2*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(.1*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,x*a,x*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var x=new go.PathFigure(.475*a,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=new go.PathFigure(a,y*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+x)*E,(y+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-x)*a,E,0,(y+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-x)*E,(y-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+x)*a,0,a,(y-x)*E));var te=new go.PathFigure(y*a,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,.15*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var x=new go.PathFigure(0,.2*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var x=new go.PathFigure(.15*a,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=we*.1,ne=.2,ae=.9,se=new go.PathFigure((ne-z)*a,ae*E,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-te)*E,(ne-te)*a,(ae-z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+te)*a,(ae-z)*E,(ne+z)*a,(ae-te)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+te)*E,(ne+te)*a,(ae+z)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-te)*a,(ae+z)*E,(ne-z)*a,(ae+te)*E).close()),z=.1,te=we*.1,ne=.8,ae=.9;var de=new go.PathFigure((ne-z)*a,ae*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-te)*E,(ne-te)*a,(ae-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+te)*a,(ae-z)*E,(ne+z)*a,(ae-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+te)*E,(ne+te)*a,(ae+z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-te)*a,(ae+z)*E,(ne-z)*a,(ae+te)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,ae=we*.1,se=.1,de=.9,pe=new go.PathFigure((se-ne)*a,de*E,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de-ne)*E,(se-ne)*a,(de-ae)*E,(se-ae)*a,(de-ne)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se+ne)*a,de*E,(se+ae)*a,(de-ne)*E,(se+ne)*a,(de-ae)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de+ne)*E,(se+ne)*a,(de+ae)*E,(se+ae)*a,(de+ne)*E)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(se-ne)*a,de*E,(se-ae)*a,(de+ne)*E,(se-ne)*a,(de+ae)*E)),ne=.1,ae=we*.1,se=.4,de=.9;var ce=new go.PathFigure((se-ne)*a,de*E,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de-ne)*E,(se-ne)*a,(de-ae)*E,(se-ae)*a,(de-ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(se+ne)*a,de*E,(se+ae)*a,(de-ne)*E,(se+ne)*a,(de-ae)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(de+ne)*E,(se+ne)*a,(de+ae)*E,(se+ae)*a,(de+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(se-ne)*a,de*E,(se-ae)*a,(de+ne)*E,(se-ne)*a,(de+ae)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var x=new go.PathFigure(.45*a,.7*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var se=.05,de=we*.05,pe=.175,ce=.95,te=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.375,ce=.95,ne=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.625,ce=.95,ae=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E));var se=.05,de=we*.05,pe=.825,ce=.95,Ee=new go.PathFigure((pe-se)*a,ce*E,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce-se)*E,(pe-se)*a,(ce-de)*E,(pe-de)*a,(ce-se)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe+se)*a,ce*E,(pe+de)*a,(ce-se)*E,(pe+se)*a,(ce-de)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(ce+se)*E,(pe+se)*a,(ce+de)*E,(pe+de)*a,(ce+se)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(pe-se)*a,ce*E,(pe-de)*a,(ce+se)*E,(pe-se)*a,(ce+de)*E).close());var Te=new go.PathFigure(0,E,!1);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=we*.05,ae=.35,se=.775,de=new go.PathFigure((ae-te)*a,se*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(se-te)*E,(ae-te)*a,(se-ne)*E,(ae-ne)*a,(se-te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*a,se*E,(ae+ne)*a,(se-te)*E,(ae+te)*a,(se-ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(se+te)*E,(ae+te)*a,(se+ne)*E,(ae+ne)*a,(se+te)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*a,se*E,(ae-ne)*a,(se+te)*E,(ae-te)*a,(se+ne)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(ie,a,E){var b=new go.Geometry,y=.3,x=we*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E));var ae=new go.PathFigure(0,.7*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var x=new go.PathFigure(0,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E));var ae=new go.PathFigure(.15*a,.5*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(ie,a,E){var b=new go.Geometry,y=.5,x=we*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E).close()),y=.05,x=we*.05,z=.5,te=.8;var ae=new go.PathFigure((z-y)*a,te*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-x)*E,(z-x)*a,(te-y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+x)*a,(te-y)*E,(z+y)*a,(te-x)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+x)*E,(z+x)*a,(te+y)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-x)*a,(te+y)*E,(z-y)*a,(te+x)*E).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var x=new go.PathFigure(0,E*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ie,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var x=new go.PathFigure(.126*a,.85*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var x=new go.PathFigure(a*.204,E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,a,E){var b=new go.Geometry,y=8,x=y*we,z=new go.PathFigure(y,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var te=new go.PathFigure(a*.83,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ae=new go.PathFigure(a*.78,E*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,a,E){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*we,x=E*.8,z=new go.Geometry,te=new go.PathFigure(b,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-y,a-y,x)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),te.add(new go.PathSegment(go.PathSegment.Line,b,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var x=new go.PathFigure(a*1,E*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ie,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var x=new go.PathFigure(a*.1,E*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ie,a,E){var b=new go.Geometry,y=15,x=y*we,z=new go.PathFigure(a*.62,E*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.4,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.5,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var x=new go.PathFigure(a*.235,E*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ie,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var je={},Nt="5.0",ge={},ee=null,ue=!1,Ue=!1,mt=null,xe=!1,Xe=null,we=null,at=0;at4?parseFloat(Me):5};je.setHTML5Codebase=function(Me,We){we=Me,et(Me,We)},je.setJavaCodebase=je.setJavaCodebaseVersion=je.isCompiledInstalled=je.setPreCompiledScriptPath=je.setPreCompiledResourcePath=function(){},je.setHTML5CodebaseVersion=function(Me,We){var St=parseFloat(Me);if(St!==NaN&&St<5){console.log("The GeoGebra HTML5 codebase version "+St+" is deprecated. Using version latest instead.");return}Xe=Me,un(Me,We)},je.getHTML5CodebaseVersion=function(){return ie},je.getParameters=function(){return ge},je.setFontsCSSURL=function(Me){z=Me},je.setGiacJSURL=function(Me){},je.setJNLPFile=function(Me){Ve=Me},je.setJNLPBaseDir=function(Me){},je.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var We="auto",St=ge.id,Ot,xt=!1,an=0;an=5)return!0;var Me=je.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},je.startAnimation=function(){var Me=je.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},je.stopAnimation=function(){var Me=je.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},je.getAppletObject=function(){var Me=ge.id!==void 0?ge.id:"ggbApplet";return window[Me]},je.resize=function(){};var Ee=function(Me,We,St){var Ot=document.createElement("param");Ot.setAttribute("name",We),Ot.setAttribute("value",St),Me.appendChild(Ot)},Te=function(Me){return Me&&Me!=="false"},rt=function(Me,We,St){ne(ie)<=4.2&&(St=!0);var Ot=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Ot=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var xt=document.createElement("div");xt.classList.add("appletParameters","notranslate");var an=We.width,Se=We.height;if(We.disableAutoScale=We.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():We.disableAutoScale,We.width!==void 0)if(ne(ie)<=4.4)Te(We.showToolBar)&&(We.height-=7),Te(We.showAlgebraInput)&&(We.height-=37),We.width<605&&Te(We.showToolBar)&&(We.width=605,an=605);else{var ft=100;(Te(We.showToolBar)||Te(We.showMenuBar))&&(We.hasOwnProperty("customToolBar")&&(We.customToolbar=We.customToolBar),ft=Te(We.showMenuBar)?245:155),an=5?(We.appletOnLoad=function(Qe){var gt=Me.querySelector(".ggb_preview");gt&>.parentNode.removeChild(gt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(on),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Qe)},Gn||on.appendChild(fa)):xt.appendChild(fa),on.appendChild(xt),Gn||Me.appendChild(on),setTimeout(function(){je.resize()},1)}else{var Je=document.createElement("div");Je.className="applet_scaler",Je.style.position="relative",Je.style.display="block",Je.appendChild(xt),Me.appendChild(Je),We.appletOnLoad=function(Qe){je.resize(),jt(Qe)}}function tt(Qe,gt){gt&&typeof gt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Qe,gt.appletOnLoad):renderGGBElement(Qe),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gt)}function Bt(Qe,gt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Qe,params:gt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Vt){tt(Vt.article,Vt.params)}),html5AppletsToProcess=null)},ne(ie)<5&&(Qe.className+=" geogebraweb")):tt(Qe,gt)}if(Ot){scriptLoadStarted=!0;for(var Re=0;Re0?(pt.remove(),on.attr("id","fullscreencontent").show(),jQuery(jt).append(on),window.dispatchEvent(new Event("resize"))):rt(pt,We,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else _e=Ot,rt(Me,We,!1);if(!window.GGBT_wsf_view)for(Se=0;SeMe/4*3&&(pt=Me/4*3),jt=pt/5.8,ft.setAttribute("src",y),ft.setAttribute("width",pt),ft.setAttribute("height",jt);var on=(Me-pt)/2,Gn=(We-jt)/2;ft.style.left=on+"px",ft.style.top=Gn+"px",xt.appendChild(ft)}}return xt.appendChild(Se),xt},nt=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},qt=["web","webSimple","web3d","tablet","tablet3d","phone"],un=function(Me,We){if(ie=Me,We){et(ie,!0);return}var St=!ue;if(St){var Ot=ne(ie);!isNaN(Ot)&&Ot<4.4&&(St=!1)}var xt,an;window.location.protocol.substr(0,4)==="http"?xt=window.location.protocol:xt="http:";var Se=ie.indexOf("//");Se>0?an=ie:Se===0?an=xt+ie:an="https://www.geogebra.org/apps/5.2.814.0/";for(var ft in qt)if(ie.slice(qt[ft].length*-1)===qt[ft]||ie.slice((qt[ft].length+1)*-1)===qt[ft]+"/"){et(an,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&St&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Te(ge.showToolBar)&&!Te(ge.showMenuBar)&&!Te(ge.showAlgebraInput)&&!Te(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?an+="webSimple/":an+="web3d/",et(an,!1)},et=function(Me,We){if(Me.requirejs){Tt=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),Tt=Me,We===null&&(We=Me.indexOf("http")===-1),He=We,a="web.nocache.js",E=!1;var St=Tt.split("/");St.length>1&&(!We&&St[St.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):qt.indexOf(St[St.length-2])>=0&&(a=St[St.length-2]+".nocache.js")),St=Me.split("/"),ie=St[St.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Ot=parseFloat(ie);Ot!==NaN&&Ot<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ot+" is deprecated. Using version latest instead."),un("5.0",We))},zt=function(Me,We){window.console&&window.console.log&&(!We||typeof We.showLogging=="undefined"||We.showLogging&&We.showLogging!=="false")&&console.log(Me)};ge.material_id!==void 0?de(Qt):Qt();function Qt(){var Me=Nt;Xe!==null?Me=Xe:parseFloat(Me)<5&&(Me="5.0"),un(Me,!1),we!==null&&et(we,He),xe=!0}return je},GGBAppletUtils=function(){"use strict";function je(){return window.GGBT_wsf_edit!==void 0}function Nt(xe,Xe){Xe!=1?(xe.style.transformOrigin="0% 0% 0px",xe.style.webkitTransformOrigin="0% 0% 0px",xe.style.transform="scale("+Xe+","+Xe+")",xe.style.webkitTransform="scale("+Xe+","+Xe+")",xe.style.maxWidth="initial",xe.querySelector(".ggb_preview")!==null&&(xe.querySelector(".ggb_preview").style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(xe.style.transform="none",xe.style.webkitTransform="none")}function ge(xe,Xe,we,at,Ze,Ve){var Tt=null;if(Ve!=null&&Ve!="")for(var He=xe.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+Ve+" ")>-1){Tt=He;break}else He=He.parentNode;var _e=0,ie=0,a=0,E=0,b=0,y=0,x=0;if(Tt)_e=Tt.offsetWidth,ie=Math.max(at?Tt.offsetWidth:0,Tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),a=_e):(_e=window.innerWidth,ie=window.innerHeight,a=window.innerWidth),xe){var z=xe.getBoundingClientRect();z.left>0&&z.left<=_e&&(Ze===void 0||!Ze)&&(document.dir==="rtl"?(b=_e-z.width-z.left,y=a<=480?10:30):(y=z.left,b=a<=480?10:30),E=y+b)}if(xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=xe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,x=40)}}return xe&&((we===void 0||!we)&&Xe>0&&Xe+E<_e?_e=Xe:_e-=E,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we===void 0||!we)&&(ie-=x)),{width:_e,height:ie}}function ee(xe,Xe,we,at,Ze){if(xe.isScreenshoGenerator)return 1;var Ve=at!==void 0&&at,Tt=xe.noScaleMargin!=null&&xe.noScaleMargin,He=function(te){return te&&te!=="false"},_e=He(xe.autoHeight),ie=ge(Xe,xe.width,we,_e,Ve&&window.GGBT_wsf_view||Tt,Ze),a=parseInt(ie.width),E=xe.width,b=xe.height;if(E===void 0){var y=Xe.querySelector(".appletParameters");y&&(E=y.offsetWidth,b=y.offsetHeight)}var x=a/E,z=Ve?1:ie.height/b;return we!==void 0&&!we&&(x=Math.min(1,x),z=Math.min(1,z)),Math.min(x,z)}function ue(xe,Xe,we){var at=1,Ze,Ve=!1;if(xe.hasOwnProperty("allowUpscale")&&(Ve=xe.allowUpscale),xe.hasOwnProperty("scale")&&(at=parseFloat(xe.scale),(isNaN(at)||at===null||at===0)&&(at=1),at>1&&(Ve=!0)),Xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(xe.hasOwnProperty("disableAutoScale")&&xe.disableAutoScale))Ze=ee(xe,Xe,Ve,we,xe.scaleContainerClass);else return at;return Ve&&(!xe.hasOwnProperty("scale")||at===1)?Ze:Math.min(at,Ze)}function Ue(xe){var Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),at=xe.getBoundingClientRect(),Ze=(Xe-at.width)/2,Ve=(we-at.height)/2;Ve<0&&(Ve=0),xe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ze<40?xe.style.left="40px":xe.style.left=Ze+"px",xe.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?xe.style.top="40px":xe.style.top=Ve+"px",xe.style.left=Ze+"px")}function mt(xe,Xe){var we=xe.querySelector(".appletParameters");if(we){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!==we.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(xe)}if(we.parentElement&&/fullscreen/.test(we.parentElement.className))return;var at=ue(Xe,xe);je()&&we.setAttribute("data-param-scale",at);for(var Ze=null,Ve=0;Ve=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(je){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(je){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(je){var Nt=c[je];return Nt==null?null:Nt},r=d,webModule.__errFn=e}function B(){function je(xe){var Xe=xe.lastIndexOf(rb);Xe==-1&&(Xe=xe.length);var we=xe.indexOf(sb);we==-1&&(we=xe.length);var at=xe.lastIndexOf(tb,Math.min(we,Xe));return at>=O?xe.substring(O,at+P):W}function Nt(xe){if(!xe.match(/^\w+:\/\//)){var Xe=o.createElement(ub);Xe.src=xe+vb,xe=je(Xe.src)}return xe}function ge(){var xe=__gwt_getMetaProperty(wb);return xe!=null?xe:W}function ee(){for(var xe=o.getElementsByTagName(_),Xe=O;XeO?xe[xe.length-P].href:W}function Ue(){var xe=o.location;return xe.href==xe.protocol+zb+xe.host+xe.pathname+xe.search+xe.hash}var mt=ge();return mt==W&&(mt=ee()),mt==W&&(mt=ue()),mt==W&&Ue()&&(mt=je(o.location.href)),mt=Nt(mt),mt}function C(je){return je.match(/^\//)||je.match(/^[a-zA-Z]+:\/\//)?je:webModule.__moduleBase+je}function D(){var je=[],Nt=O,ge=[],ee=[];function ue(xe){var Xe=ee[xe](),we=ge[xe];if(Xe in we)return Xe;var at=[];for(var Ze in we)at[we[Ze]]=Ze;throw r&&r(xe,at,Xe),null}if(__gwt_isKnownPropertyValue=function(xe,Xe){return Xe in ge[xe]},webModule.__getPropMap=function(){var xe={};for(var Xe in ge)ge.hasOwnProperty(Xe)&&(xe[Xe]=ue(Xe));return xe},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ue;try{Ue=Cb;var mt=Ue.indexOf(Db);mt!=-1&&(Nt=parseInt(Ue.substring(mt+P),$),Ue=Ue.substring(O,mt))}catch(xe){}return webModule.__softPermutationId=Nt,C(Ue+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(je,Nt,ge){"use strict";ge.d(Nt,{Ax:function(){return mt},Ds:function(){return xe},KI:function(){return we},SI:function(){return Ue},f1:function(){return ue}});var ee=ge(3294);function ue(at){let Ze=!0;if(at.length>0){for(let Ve=0;Vebe in Be?pe(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,Dt=(Be,be)=>{for(var Ne in be||(be={}))Ee.call(be,Ne)&&rt(Be,Ne,be[Ne]);if(ce)for(var Ne of ce(be))Te.call(be,Ne)&&rt(Be,Ne,be[Ne]);return Be},It=(Be,be)=>{var Ne={};for(var bt in Be)Ee.call(Be,bt)&&be.indexOf(bt)<0&&(Ne[bt]=Be[bt]);if(Be!=null&&ce)for(var bt of ce(Be))be.indexOf(bt)<0&&Te.call(Be,bt)&&(Ne[bt]=Be[bt]);return Ne},Ft=({onFinish:Be,value:be,streamingStatus:Ne,cancelIndex:bt,loadImage:At})=>{const[wt,fn]=(0,ee.useState)(""),[Oe,vt]=(0,ee.useState)(0),[dn,wn]=(0,ee.useState)(!1),Mt=yn=>yn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),dt=()=>{wn(!0),Be==null||Be()};return(0,ee.useEffect)(()=>{const yn=At?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${be}`:be,Dn=Mt(yn);if(!dn)if(At||!Ne||bt>0){fn(Dn),vt(Dn.length),(!Ne||bt>0)&&!At&&dt();return}else if(Oe{fn(Dn.slice(0,Oe+2)),vt(On=>On+2)},ga>10?Math.max(500/(ga/2),20):50);return()=>clearInterval(Vn)}else Ne||dt()},[be,Ne,bt,At,Oe]),(0,ee.useMemo)(()=>de.createElement("div",{className:`${z.answer} fadeIn animated`},de.createElement(a.UG,{remarkPlugins:[ae.Z],rehypePlugins:[ne.Z,b.Z],components:{code(yn){var Dn=yn,{node:ga,inline:Vn,className:On,children:Rn}=Dn,Kn=It(Dn,["node","inline","className","children"]);const ka=/language-(\w+)/.exec(On||"");return Vn||!ka?de.createElement("code",Dt({className:On},Kn),Rn):de.createElement("div",{className:z.codeCopy},de.createElement(x.CopyToClipboard,{text:String(Rn).trim(),onCopy:()=>ue.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},de.createElement("button",null,"\u590D\u5236")),de.createElement(E.Z,Dt({style:y.Z,language:ka[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Kn),String(Rn).trim()))},img({node:yn}){var Dn;return de.createElement(te.Z,{src:(Dn=yn.properties)==null?void 0:Dn.src,width:320,onLoad:()=>At&&setTimeout(()=>dt(),500)})}}},Ne&&Oenew Promise((bt,At)=>{var wt=vt=>{try{Oe(Ne.next(vt))}catch(dn){At(dn)}},fn=vt=>{try{Oe(Ne.throw(vt))}catch(dn){At(dn)}},Oe=vt=>vt.done?bt(vt.value):Promise.resolve(vt.value).then(wt,fn);Oe((Ne=Ne.apply(Be,be)).next())}),et=({value:Be="",streamingStatus:be,onFinish:Ne,cancelIndex:bt,time:At,loading:wt,loadAll:fn})=>{const[Oe,vt]=(0,ee.useState)(""),[dn,wn]=(0,ee.useState)(!0),Mt=(0,ee.useRef)(Be),dt=(0,ee.useRef)(be),pn=(0,ee.useRef)(0),yn=(0,ee.useRef)(null),[Dn,ga]=(0,ee.useState)(!1),Vn=70;(0,ee.useEffect)(()=>{dt.current=be},[be]),(0,ee.useEffect)(()=>{Mt.current=Be},[Be]),(0,ee.useEffect)(()=>{if(!be){vt(Mt.current);return}return ga(!0),yn.current=setInterval(On,Vn),()=>{clearInterval(yn.current)}},[]),(0,ee.useEffect)(()=>{Dn&&(vt(Mt.current),clearInterval(yn.current),ga(!1),Ne())},[bt]);const On=()=>qt(void 0,null,function*(){const Rn=Mt.current[pn.current];Rn!==void 0?(vt(Kn=>Kn+Rn),pn.current++,clearInterval(yn.current),yn.current=setInterval(On,280/(Mt.current.length-pn.current))):dt.current===!1&&(vt(Mt.current),clearInterval(yn.current),ga(!1),Ne())});return nt.createElement("div",{className:`${Xt.reasoning} fadeIn animated`},nt.createElement("div",{className:Xt.btn,onClick:()=>wn(!dn)},nt.createElement("i",{className:"iconfont icon-shendusikao"}),At?nt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",At," \u79D2\uFF09"):nt.createElement("span",null,"\u601D\u8003\u4E2D..."),dn?nt.createElement("b",{className:"iconfont icon-shouqi6"}):nt.createElement("b",{className:"iconfont icon-zhankai6"})),wt&&nt.createElement(at.Z,{spinning:!0,className:"mt20"}),dn&&!wt&&nt.createElement("div",{className:Xt.content},Oe,Dn?nt.createElement("span",{className:"aiBlink"},"__"):""))},zt={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Qt=ge(81327),Me=Object.defineProperty,We=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,xt=(Be,be,Ne)=>be in Be?Me(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,an=(Be,be)=>{for(var Ne in be||(be={}))St.call(be,Ne)&&xt(Be,Ne,be[Ne]);if(We)for(var Ne of We(be))Ot.call(be,Ne)&&xt(Be,Ne,be[Ne]);return Be};const Se=Be=>React.createElement("svg",an({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Be),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 ft="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",pt=Object.defineProperty,jt=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,fa=(Be,be,Ne)=>be in Be?pt(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,Je=(Be,be)=>{for(var Ne in be||(be={}))on.call(be,Ne)&&fa(Be,Ne,be[Ne]);if(jt)for(var Ne of jt(be))Gn.call(be,Ne)&&fa(Be,Ne,be[Ne]);return Be};const tt=Be=>React.createElement("svg",Je({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Be),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 Bt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuN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IDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Re=ge(59301),lt=({value:Be,onChange:be})=>{const[Ne,bt]=(0,ee.useState)(!1),At=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:ft},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Bt}],wt=At.find(fn=>fn.key===Be);return Re.createElement("div",{className:zt.select},Re.createElement(Qt.Z,{size:10},Re.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Re.createElement("div",{className:zt.box,onMouseLeave:()=>bt(!1)},Re.createElement("div",{className:zt.text,onClick:()=>bt(!0)},Re.createElement("img",{src:wt.img,width:20}),Re.createElement("span",null,wt.name),Re.createElement("b",{className:"iconfont icon-zhankai6"})),Ne&&Re.createElement("div",{className:zt.itemWrap},Re.createElement("aside",null,At.map(fn=>Re.createElement("div",{key:fn.key,className:`${zt.item} ${fn.key===Be?zt.active:""}`,onClick:Oe=>{Oe.stopPropagation(),be(fn.key),bt(!1)}},Re.createElement("img",{src:fn.img,width:20}),Re.createElement("span",null,fn.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",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},ct=ge(99064),Qe=ge(955),gt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},tn=({src:Be,onClick:be,topPercentage:Ne=.62,draggableExtraNode:bt})=>{const At=(0,ee.useRef)(null),wt=(0,ee.useRef)(!1),fn=(0,ee.useRef)(!1),[Oe,vt]=(0,ee.useState)(window.innerHeight*Ne),[dn,wn]=(0,ee.useState)(!1),Mt=10;return(0,ee.useEffect)(()=>{if(At.current){let dt=function(Vn){var On;wt.current=!0,ga=Vn.pageY,Dn=Vn.pageY-(((On=At.current)==null?void 0:On.getBoundingClientRect().top)||0),(0,Qe.kk)("none"),document.onselectstart=function(){return!1}},pn=function(){wt.current&&!fn.current&&be&&be(),wt.current=!1,fn.current=!1,(0,Qe.kk)("auto"),document.onselectstart=null},yn=function(Vn){var On;if(wt.current){const Kn=Vn.pageY-Dn,ka=window.innerHeight-(((On=At.current)==null?void 0:On.offsetHeight)||0)-50,it=50;if(!fn.current&&Math.abs(ga-Vn.pageY)>Mt&&(fn.current=!0),fn.current){let Co=Math.max(it,Math.min(Kn,ka));vt(Co)}}},Dn=0,ga=0;return At.current.addEventListener("mousedown",dt),document.addEventListener("mousemove",yn),document.addEventListener("mouseup",pn),()=>{var Vn,On;(On=(Vn=At==null?void 0:At.current)==null?void 0:Vn.removeEventListener)==null||On.call(Vn,"mousedown",dt),document.removeEventListener("mousemove",yn),document.removeEventListener("mouseup",pn)}}},[be]),(0,ee.useEffect)(()=>{const dt=()=>{vt(window.innerHeight*Ne)};return window.addEventListener("resize",dt),()=>{window.removeEventListener("resize",dt)}},[Ne]),ee.createElement("div",{className:gt.draggableImage,style:{top:`${Oe}px`,display:dn?"none":"block",cursor:wt.current?"grabbing":"grab"},ref:At},bt,ee.createElement("img",{className:gt.img,src:Be,width:60,draggable:"false"}),ee.createElement("i",{className:`iconfont icon-tupianguanbi ${gt.close}`,onMouseUp:dt=>{dt.stopPropagation(),wn(!0)}}))},Yt="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+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Zm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",la=ge(3294),Wn=ge(86204),pa=ge(85149),Sa=Object.defineProperty,Zn=Object.defineProperties,ja=Object.getOwnPropertyDescriptors,Mn=Object.getOwnPropertySymbols,Fa=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Ha=(Be,be,Ne)=>be in Be?Sa(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,ho=(Be,be)=>{for(var Ne in be||(be={}))Fa.call(be,Ne)&&Ha(Be,Ne,be[Ne]);if(Mn)for(var Ne of Mn(be))To.call(be,Ne)&&Ha(Be,Ne,be[Ne]);return Be},Qa=(Be,be)=>Zn(Be,ja(be)),So=(Be,be,Ne)=>Ha(Be,typeof be!="symbol"?be+"":be,Ne),po=(Be,be,Ne)=>new Promise((bt,At)=>{var wt=vt=>{try{Oe(Ne.next(vt))}catch(dn){At(dn)}},fn=vt=>{try{Oe(Ne.throw(vt))}catch(dn){At(dn)}},Oe=vt=>vt.done?bt(vt.value):Promise.resolve(vt.value).then(wt,fn);Oe((Ne=Ne.apply(Be,be)).next())});class vo extends Wn.EventEmitter{constructor(be,Ne){super(),So(this,"url"),So(this,"body"),So(this,"fullContent",""),So(this,"controller",null),this.url=be,this.body=Ne}startStream(){return po(this,null,function*(){this.controller=new AbortController;const{signal:be}=this.controller;try{const Ne=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:be});if(!Ne.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ne.status}`);const bt=Ne.headers.get("content-type");if(!bt||!bt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const At=Ne.body.getReader(),wt=new TextDecoder("utf-8");for(;;){const{done:fn,value:Oe}=yield At.read();if(fn)break;const dn=wt.decode(Oe,{stream:!0}).split(` `);for(const wn of dn)if(wn.startsWith("data:")){let Mt=(0,pa.z)(wn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Mt==="[DONE]")break;try{const dt=JSON.parse(Mt);dt.data&&this.handleData(Qa(ho({},dt.data),{content:dt.data.content.replace(/\\\\/g,"\\")}))}catch(dt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",dt)}}}this.emit("done",this.fullContent)}catch(Ne){Ne.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ne.message)}})}handleData(be){be.content&&(this.fullContent+=be.content,this.emit("data",{chunk:be,full:this.fullContent}))}cancelRequest(){var be;(be=this.controller)==null||be.abort()}}var Ao=vo,bn=ge(58617),Ln=ge(32050),Wo=Object.defineProperty,Zo=Object.defineProperties,or=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,yt=(Be,be,Ne)=>be in Be?Wo(Be,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Be[be]=Ne,Ct=(Be,be)=>{for(var Ne in be||(be={}))ir.call(be,Ne)&&yt(Be,Ne,be[Ne]);if(rr)for(var Ne of rr(be))Vo.call(be,Ne)&&yt(Be,Ne,be[Ne]);return Be},Pe=(Be,be)=>Zo(Be,or(be)),ye=(Be,be,Ne)=>new Promise((bt,At)=>{var wt=vt=>{try{Oe(Ne.next(vt))}catch(dn){At(dn)}},fn=vt=>{try{Oe(Ne.throw(vt))}catch(dn){At(dn)}},Oe=vt=>vt.done?bt(vt.value):Promise.resolve(vt.value).then(wt,fn);Oe((Ne=Ne.apply(Be,be)).next())}),st=({title:Be="\u5934\u6B4CAI",placeholder:be,hideUpload:Ne,hideInputBox:bt,aiIcon:At=Yt,userIcon:wt=ha,dragIcon:fn=aa,children:Oe,fetchUrl:vt,fetchData:dn={},extraAnswerAction:wn,showDefaultTips:Mt=!0,onOpen:dt,onClose:pn,loadingOption:yn,showPreference:Dn=!1,initMessage:ga,customRequest:Vn,visible:On,width:Rn=1200,isCheckRestrictNumber:Kn=!1,headNode:ka,headFunctionNode:it,showRedraw:Co,showEdit:Do,promptPropName:ea="prompt",topPercentage:Un,showSwitchingModel:ut=!1,showImageGenerator:Jt=!1,showLookHistory:Sn=!1,fetchListObject:_t,customPreference:Ea,customDataNode:xa,showAddSession:oo,historyId:ro,draggableExtraNode:Oo,drawerExtraNode:hi,menuExtraFunctionNode:Lr,showSceneAwareness:ri=!1})=>{var Wr;const[hr,Vr]=(0,ee.useState)(!1),[Jo,Jr]=(0,ee.useState)("qwen-max"),[Ro,Sr]=(0,ee.useState)([]),[pr,Ko]=(0,ee.useState)(!1),[Ai,Ho]=(0,ee.useState)(!1),[Ci,Xo]=(0,ee.useState)(!1),[Da,Xa]=(0,ee.useState)([]),[lr,bi]=(0,ee.useState)(""),[Ni,Fi]=(0,ee.useState)(0),[ii,li]=(0,ee.useState)(!1),[gi,cn]=(0,ee.useState)(null),[Ut,mn]=(0,ee.useState)(""),Wt=(0,ee.useRef)(),Xn=(0,ee.useRef)(null),sa=(0,ee.useRef)(null),[Ta,Ba]=(0,ee.useState)(!1),[Ht,qa]=(0,ee.useState)(!1),[bo,io]=(0,ee.useState)(!1),[vr,Nr]=(0,ee.useState)(!1),[gr,qo]=(0,ee.useState)(0),Qo=(0,ee.useRef)(null),Fr=(0,ee.useRef)(!1),Ia=(0,ee.useRef)(null),[xr,Si]=(0,ee.useState)(void 0),[si,pi]=(0,ee.useState)(!0),[di,_o]=(0,ee.useState)(Rn-28),[Pr,zo]=(0,ee.useState)(!1),[Zr,Er]=(0,ee.useState)(!0),[Li,ji]=(0,ee.useState)([]),ui=(0,ee.useRef)([]),xi=(0,ee.useRef)(!1),Kr=di-22,Fe=lr==null?void 0:lr.split(` diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.0a81ac9d.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.0a81ac9d.async.js new file mode 100644 index 0000000000..e60f6ba30d --- /dev/null +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.0a81ac9d.async.js @@ -0,0 +1,14 @@ +(self.webpackChunk=self.webpackChunk||[]).push([[3668],{27812:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},67921:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},61481:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},63524:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},12893:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},32134:function(St,We,s){"use strict";s.d(We,{Z:function(){return o}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},H=B,h=s(7657),y=function(f,c){return W.createElement(h.Z,(0,n.Z)({},f,{ref:c,icon:H}))},w=W.forwardRef(y),o=w},918:function(St,We){"use strict";We.Z={poor_rating:"poor_rating___h5Pkz",title:"title___Kt7fx",content:"content___uWG5Y",row_sty:"row_sty___VNKxj",bottom_line:"bottom_line___o6CYn",row_sty1:"row_sty1___gzdZR",lable_name:"lable_name___XcFiQ",h_lh_40:"h_lh_40___rY3ds",tooltip_icon:"tooltip_icon___Yv0p3",lable_name1:"lable_name1___g8Eds",title_icon:"title_icon___tSQED"}},89529:function(St,We){"use strict";We.Z={flex_box_center:"flex_box_center___iIik3",flex_space_between:"flex_space_between___Q7wj5",flex_box_vertical_center:"flex_box_vertical_center___LFAxO",flex_box_center_end:"flex_box_center_end___SFNWP",flex_box_column:"flex_box_column___aq5d_",form:"form___z6oqV",efficiency:"efficiency___VZgt9",configWorkContainer:"configWorkContainer___gQ6ac",tips:"tips___PkPgo",total:"total___c2k9V",tip1:"tip1___BUn8c",tip2:"tip2___Q8WSw",configworksContainer:"configworksContainer___P0ZE6",content:"content___Mow99",pubColSty:"pubColSty___YePTJ",selectSty:"selectSty___AGg4a",borderSty:"borderSty___qYL9U",delSty:"delSty___kbXe4",delBorder:"delBorder___wV7XA",copHover:"copHover___R3G_x",title_icon:"title_icon___eT6qQ",title:"title___uXYiB",multiple_select:"multiple_select___aCIWH"}},96460:function(St,We,s){"use strict";var n=s(59301),W=Object.defineProperty,B=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(O,f,c)=>f in O?W(O,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):O[f]=c,w=(O,f)=>{for(var c in f||(f={}))H.call(f,c)&&y(O,c,f[c]);if(B)for(var c of B(f))h.call(f,c)&&y(O,c,f[c]);return O};const o=O=>React.createElement("svg",w({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},O),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));We.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2gyOHoiIGZpbGw9IiNGMEEyMjEiLz48cGF0aCBkPSJNNjUgMzJIN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GIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},39020:function(St,We,s){"use strict";var n=s(59301),W=Object.defineProperty,B=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(O,f,c)=>f in O?W(O,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):O[f]=c,w=(O,f)=>{for(var c in f||(f={}))H.call(f,c)&&y(O,c,f[c]);if(B)for(var c of B(f))h.call(f,c)&&y(O,c,f[c]);return O};const o=O=>React.createElement("svg",w({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},O),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));We.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},12393:function(St,We,s){"use strict";s.d(We,{Z:function(){return P}});var n=s(59301),W=s(78241),B=s(8591),H=s(43418),h=s(5083),y=s(92832),w=s(1710),o=s(95237),O=s(43604),f=s(61186),c=s.n(f),D=s(955),E=s(89070),_={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},b=s(92365),r=s(79834),x=(L,Z,I)=>new Promise(($,z)=>{var V=ne=>{try{Q(I.next(ne))}catch(T){z(T)}},i=ne=>{try{Q(I.throw(ne))}catch(T){z(T)}},Q=ne=>ne.done?$(ne.value):Promise.resolve(ne.value).then(V,i);Q((I=I.apply(L,Z)).next())});const F=({dispatch:L,courseEndTime:Z,classroomList:I,successCallback:$=()=>{},visible:z,homeworkIds:V,courseId:i,isBatch:Q,shixunHomeworks:ne})=>{const[T]=W.default.useForm(),[ue,m]=(0,n.useState)(!1),[le,X]=(0,n.useState)(!1),[te,re]=(0,n.useState)(!1),[R,g]=(0,n.useState)([]),[l,p]=(0,n.useState)([]),[M,j]=(0,n.useState)([]),[G,de]=(0,n.useState)([]),[De,Be]=(0,n.useState)([]),[we,Ce]=(0,n.useState)([]),[Ze,ze]=(0,n.useState)([]),[Me,a]=(0,n.useState)([]),[J,d]=(0,n.useState)([]);(0,n.useEffect)(()=>{z?t():u()},[z]);const t=()=>x(void 0,null,function*(){m(!0);const A=yield(0,b.oR)(V[0],{course_id:i});re(A.no_group),Q?(ze(A.all_course_groups),a(A.all_course_groups)):(de(A.late_course_groups),Be(A.late_course_groups),g(A.submit_course_groups),p(A.submit_course_groups)),m(!1),T.setFieldsValue({end_time:c()()})}),e=()=>x(void 0,null,function*(){const A=T.getFieldsValue(),U=c()(A.end_time).format("YYYY-MM-DD HH:mm");if((Q?J.length===0:M.length===0&&we.length===0)&&!te){B.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}X(!0);const ie=yield(0,b.Mc)(i,{no_group:te,homework_ids:V,group_ids:Q?J:M,end_time:U,late_group_ids:Q?J:we});X(!1),ie.status===0&&(u(),B.ZP.success("\u64CD\u4F5C\u6210\u529F"),$(),L({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),u=()=>{j([]),Ce([]),p([]),Be([])};return n.createElement(H.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:_.modalWrapper,width:Q||te?520:760,open:z,confirmLoading:le,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>e(),onCancel:()=>{u(),L({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:_.tips},n.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),n.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),n.createElement(W.default,{form:T,layout:"vertical"},n.createElement(W.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},n.createElement(h.default,{style:{width:"100%"},disabledDate:A=>(0,r.Q8)(A,Z),disabledTime:A=>(0,r.d0)(A),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,D.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!te&&n.createElement(n.Fragment,null,Q?n.createElement("div",null,n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{a(Ze.filter(U=>U.name.indexOf(A.target.value)>-1))}}),n.createElement(w.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{d(A)}},rowKey:"id",pagination:!1,dataSource:Me,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):n.createElement(o.Z,{gutter:24},n.createElement(O.Z,{span:14},n.createElement("div",{className:_.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{p(R.filter(U=>U.name.indexOf(A.target.value)>-1))}}),n.createElement("div",{className:_.tableWrapper},n.createElement(w.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{j(A)}},rowKey:"id",pagination:!1,dataSource:l,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),n.createElement(O.Z,{flex:10,style:{maxWidth:"280px"}},n.createElement("div",{className:_.homeworkType},"\u8865\u4EA4\u622A\u6B62"),n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{Be(G.filter(U=>U.name.indexOf(A.target.value)>-1))}}),n.createElement("div",{className:_.tableWrapper},n.createElement(w.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{Ce(A)}},rowKey:"id",pagination:!1,loading:ue,dataSource:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var P=(0,E.connect)(({shixunHomeworks:L,classroomList:Z})=>({shixunHomeworks:L,classroomList:Z}))(F)},26084:function(St,We,s){"use strict";var n=s(59301),W=s(43418),B=s(8591),H=s(3113),h=s(86129),y=s.n(h),w=s(3294),o=s(955),O=s(99064),f=s(59301),c=Object.defineProperty,D=Object.defineProperties,E=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,x=(I,$,z)=>$ in I?c(I,$,{enumerable:!0,configurable:!0,writable:!0,value:z}):I[$]=z,F=(I,$)=>{for(var z in $||($={}))b.call($,z)&&x(I,z,$[z]);if(_)for(var z of _($))r.call($,z)&&x(I,z,$[z]);return I},P=(I,$)=>D(I,E($)),L=(I,$,z)=>new Promise((V,i)=>{var Q=ue=>{try{T(z.next(ue))}catch(m){i(m)}},ne=ue=>{try{T(z.throw(ue))}catch(m){i(m)}},T=ue=>ue.done?V(ue.value):Promise.resolve(ue.value).then(Q,ne);T((z=z.apply(I,$)).next())});const Z=({files:I=[],name:$,buttonProps:z={},hide:V,onOk:i=()=>{}},Q)=>{const[ne,T]=(0,n.useState)(!1);let ue=(0,n.useRef)(new(y()));(0,n.useImperativeHandle)(Q,()=>({exportReport:m,exportAndCreateUserFolder:X,exportGroupingReport:le}));const m=(l,p="\u9644\u4EF6")=>L(void 0,null,function*(){const M=l||I;T(!0);let j=0,G=0,de=0,De=W.default.info({width:460,title:f.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",p,",",f.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j+1),"/",M==null?void 0:M.length),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{}});function Be(){return L(this,null,function*(){var we,Ce;re({},`${w.Z.API_SERVER}/api/attachments/${(0,o.Jn)((we=M==null?void 0:M[j])==null?void 0:we.id)}?t=${(0,o.Jn)((Ce=M==null?void 0:M[j])==null?void 0:Ce.id,Date.now())}`,(Ze,ze)=>L(this,null,function*(){var Me,a;if(((Me=Ze.target.response)==null?void 0:Me.type)==="application/json"){let t=yield te(Ze.target.response);if(t.message){B.ZP.warning((t==null?void 0:t.message)||"\u4E0B\u8F7D\u51FA\u9519, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),T(!1);return}}let J=new Blob([Ze.target.response],{type:"application/vnd.ms-excel;charset=utf-8"});G=G+J.size;let d=(a=M==null?void 0:M[j])==null?void 0:a.filename;setTimeout(()=>L(this,null,function*(){ue.current.file(d,J),De.update({content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j+1),"/",M==null?void 0:M.length,de>0?f.createElement("span",null,"(\u5DF2\u62C6\u5206",de,"\u4E2Azip\u5305)"):"")}),j===(M==null?void 0:M.length)-1?g(De,de>0?de+1:0):G>900*1024*1024?(de++,G=0,R(de,()=>{j++,Be()})):(j++,Be())}),2600)}))})}Be()}),le=(l,p,M="\u9644\u4EF6")=>L(void 0,null,function*(){T(!0);let j=0;const G=l.flat().length,de=W.default.info({width:460,title:f.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",M,",",f.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j),"/",G),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function De(Ce,Ze){return L(this,null,function*(){const ze=yield(0,O.ZP)(`${w.Z.API_SERVER}/api/attachments/${Ce.id}`,{method:"get"});let Me=new Blob([ze],{type:"application/vnd.ms-excel;charset=utf-8"}),a=Ce.filename;Ze.file(a,Me),j+=1,de.update({content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j),"/",G)})})}for(const Ce of l){const Ze=`${Ce[0].group_name}\u2014\u2014\u7EC4\u957F_${Ce[0].user_name}`,ze=ue.current.folder(Ze);for(const Me of Ce)yield De(Me,ze)}const Be=yield ue.current.generateAsync({type:"blob"}),we=document.createElement("a");we.href=window.URL.createObjectURL(Be),we.download=`${$}.zip`,document.body.appendChild(we),we.click(),document.body.removeChild(we),window.URL.revokeObjectURL(we.href),de.destroy(),T(!1),i(),ue.current=new(y())}),X=(l,p="\u9644\u4EF6",M)=>L(void 0,null,function*(){T(!0);let j=0;const G=l.flat().length,de=W.default.info({width:460,title:f.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",p,",",f.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j),"/",G),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function De(Ce,Ze){return L(this,null,function*(){const ze=yield(0,O.ZP)(`${w.Z.API_SERVER}/api/attachments/${Ce.id}`,{method:"get"});let Me=new Blob([ze],{type:"application/vnd.ms-excel;charset=utf-8"}),a=Ce.filename;Ze.file(a,Me),j+=1,de.update({content:f.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",f.createElement("span",{className:"c-blue"},j),"/",G)})})}for(const Ce of l){const Ze=`${Ce[0].user_name}-${Ce[0].student_id}`,ze=ue.current.folder(Ze);for(const Me of Ce)yield De(Me,ze)}const Be=yield ue.current.generateAsync({type:"blob"}),we=document.createElement("a");we.href=window.URL.createObjectURL(Be),we.download=`${M||$}.zip`,document.body.appendChild(we),we.click(),document.body.removeChild(we),window.URL.revokeObjectURL(we.href),de.destroy(),T(!1),i(),ue.current=new(y())});function te(l){return new Promise(p=>{let M=new FileReader;M.readAsText(l,"utf-8"),M.addEventListener("loadend",()=>{const j=JSON.parse(M.result);p(j)})})}const re=(l,p,M,j)=>{const G=p,de=new window.XMLHttpRequest;return de.withCredentials=!0,de.addEventListener("load",function(De){M(De,de)},!1),de.addEventListener("error",function(De){j&&j(De)},!1),de.responseType="blob",de.open("GET",G),de.send(null),de},R=(l,p)=>{ue.current.generateAsync({type:"blob"}).then(function(M){const j=document.createElement("a");j.href=window.URL.createObjectURL(M),j.download=$+`-${l}.zip`,document.body.appendChild(j);const G=document.createEvent("MouseEvents");G.initEvent("click",!1,!1),j.dispatchEvent(G),document.body.removeChild(j),ue.current=new(y()),p()})},g=(l,p)=>{ue.current.generateAsync({type:"blob"}).then(function(M){const j=document.createElement("a");j.href=window.URL.createObjectURL(M),p>0?j.download=$+`-${p}.zip`:j.download=$+".zip",document.body.appendChild(j);const G=document.createEvent("MouseEvents");G.initEvent("click",!1,!1),j.dispatchEvent(G),document.body.removeChild(j),l.destroy(),T(!1),i(),ue.current=new(y())})};return V?f.createElement(f.Fragment,null):f.createElement(H.ZP,P(F({},z),{onClick:()=>m(),loading:ne}),"\u4E0B\u8F7D")};We.Z=(0,n.forwardRef)(Z)},23765:function(St,We,s){"use strict";s.d(We,{Z:function(){return b}});var n=s(59301),W={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},B=s(92310),H=s.n(B),h=s(23210),y=s(73524),w=s(955),o=s(3294),O=s(99064),f=s(24065),c=s(89070),D=s(8591),E=(r,x,F)=>new Promise((P,L)=>{var Z=z=>{try{$(F.next(z))}catch(V){L(V)}},I=z=>{try{$(F.throw(z))}catch(V){L(V)}},$=z=>z.done?P(z.value):Promise.resolve(z.value).then(Z,I);$((F=F.apply(r,x)).next())});const _=({className:r,style:x,dataSource:F=[],authority:P=!1,callback:L,showDimensions:Z=!0,classroomList:I})=>{var $;const[z,V]=(0,n.useState)({content:"",type:""}),[i,Q]=(0,n.useState)({}),[ne,T]=(0,n.useState)(!1),[ue,m]=(0,n.useState)({title:"",visible:!1,src:"",snapshotData:{}}),le=(0,n.useRef)(),X=g=>E(void 0,null,function*(){if(Q(g),g.file_type==="txt"){const l=yield(0,O.ZP)(g.url,{method:"get",headers:{"Content-Type":"application/xml"}});le.current=l}V({type:g.file_type,content:o.Z.API_SERVER+g.url})}),te=g=>{var l;m({visible:!0,src:o.Z.API_SERVER+g.url,id:g.id,title:g.title,snapshotData:(l=g==null?void 0:g.subitem)==null?void 0:l.settings})},re=g=>E(void 0,null,function*(){var l;V({type:g.file_type,content:o.Z.API_SERVER+((l=g==null?void 0:g.subitem)==null?void 0:l.url)})}),R=()=>{L(),m({visible:!1})};return F!=null&&F.length?n.createElement(n.Fragment,null,n.createElement("div",{className:H()(W.list,r),style:x},F.map((g,l)=>{var p,M,j;return n.createElement("div",{key:l,className:W.row},n.createElement("div",{className:W.title,onClick:()=>X(g)},n.createElement("i",{className:"iconfont icon-fujian1"}),n.createElement("span",{title:g.title},g.title)),n.createElement("div",{className:W.size},g.filesize),n.createElement("div",{className:W.download,onClick:()=>{var G,de;if((0,f.Rm)()&&!((G=I.AssistantObject.normal)!=null&&G.can_download)){D.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,w.Nd)("",`${o.Z.API_SERVER}${(de=g.url)==null?void 0:de.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(g==null?void 0:g.file_type)&&n.createElement("div",{className:W.preview,onClick:()=>X(g)},n.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(g==null?void 0:g.file_type)&&Z&&(P?n.createElement("div",{className:W.annotation,onClick:()=>te(g)},n.createElement("i",{className:"iconfont icon-pizhu"}),(p=g.subitem)!=null&&p.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((M=g.subitem)==null?void 0:M.id)&&n.createElement("div",{className:W.annotation,onClick:()=>re(g)},n.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(g==null?void 0:g.file_type)&&((j=g.subitem)==null?void 0:j.id)&&n.createElement("div",{className:W.download,style:{marginLeft:20},onClick:()=>{var G,de;(0,w.Nd)("",`${o.Z.API_SERVER}${(de=(G=g==null?void 0:g.subitem)==null?void 0:G.url)==null?void 0:de.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(g==null?void 0:g.file_type)&&(0,f.eB)()&&["xlsx","docx","pptx"].includes(g==null?void 0:g.file_sub)&&Z&&n.createElement("div",{className:W.annotation,onClick:()=>{T(!0),X(g)}},n.createElement("i",{className:"iconfont icon-pizhu"}),g.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),g.is_edit&&(0,f.dE)()&&Z&&n.createElement("div",{className:W.annotation,onClick:()=>{X(g)}},n.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),n.createElement(h.Z,{close:!0,data:z==null?void 0:z.content,type:z==null?void 0:z.type,hasMask:!0,disabledDownload:(0,f.Rm)()&&!(($=I.AssistantObject.normal)!=null&&$.can_download),editOffice:ne?"edit":"view",monacoEditor:{value:le.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:P&&Z&&z.type==="image"?()=>te(i):null,onClose:()=>{L(),T(!1),V({content:"",type:""})}}),n.createElement(y.Z,{onOk:R,onClose:()=>m({visible:!1}),data:ue,showFullTools:!0})):null};var b=(0,c.connect)(({classroomList:r})=>({classroomList:r}))(_)},91785:function(St,We,s){"use strict";s.d(We,{Z:function(){return y}});var n=s(43418),W={modal:"modal___VzyKs",content:"content___HhLQS",close:"close___zKaRB"},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABQVJREFUWEfNmXes32MUxj8PagS1QghJiU1pxExsFbUqitoSKzVilEjoHzVj/KEEDYnGbq3aexNiRRGjlMTee8+K432u87u+99ffvPdK7kl+f/3e8bznPec5z3m/oh8WEfMBGwPbAhsCawIrAIvncj8BnwFvAS8CjwMvSPq72+3UzYSIWBE4BjgQ+BZ4FHgOmAN8AhiYzUA9di1gM2A0sDQwHZgqyWM7so4ARsQywFnA3sDVwJWS3uhohxwUEesAhwIHAzcDkyV9026NtgAjYl/gwuKNGw1Skj3Xb4sIe3Jy8brXnSjpplaLNQUYEQsAlwDbeTFJL/cbVYOJEbFBHvox4FhJfzVavyHAiFgEmAk4qPeX9PNggqutFRGLAdcDTrrxkn6r32cegOm5O4DvgEOanWywAOd+VwFLAbvX79cI4GWZgXv83+AqnnQ43WYmkHRU9fB9AGZCnGFuq11rRPSMkRSD4bWIGAacU650tiQzQo/ldZszT60mTi/ApJLXgZ2rCRERnuSY3FHShwMBmQR/Q9LVLEkm+17LxLkPGFmjoCrAS4E/JJ1QN+kpYAvgI2B7SW/3F2Qh+mnA4YVevjc7NGKGiDClLSTp6J6bS/ea9V8pGbVGPc9FxPBy5XcDWwFfAGMkeWxXFhFTgBOBX3KNpxstkDxpJ4xyxak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,closeImageStyle:f,hiddenbutton:c})=>H.createElement(n.default,{centered:!0,destroyOnClose:!0,open:w,footer:null,wrapClassName:W.modal,onCancel:()=>o(!1)},H.createElement("div",{className:W.content},H.createElement("img",{src:O}),c,H.createElement("img",{onClick:()=>o(!1),className:W.close,src:B,style:f})))},57490:function(St,We,s){"use strict";s.d(We,{z:function(){return R},Z:function(){return g}});var n=s(59301),W=s(54580),B=s(8591),H=s(43418),h=s(3113),y=s(3294),w=s(23538),o=Object.defineProperty,O=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,D=(l,p,M)=>p in l?o(l,p,{enumerable:!0,configurable:!0,writable:!0,value:M}):l[p]=M,E=(l,p)=>{for(var M in p||(p={}))f.call(p,M)&&D(l,M,p[M]);if(O)for(var M of O(p))c.call(p,M)&&D(l,M,p[M]);return l},_=(l,p,M)=>new Promise((j,G)=>{var de=we=>{try{Be(M.next(we))}catch(Ce){G(Ce)}},De=we=>{try{Be(M.throw(we))}catch(Ce){G(Ce)}},Be=we=>we.done?j(we.value):Promise.resolve(we.value).then(de,De);Be((M=M.apply(l,p)).next())});const b="\u3000\u3000";function r(l){var p=["Bytes","KB","MB","GB","TB"];if(l==0)return"0 Byte";var M=parseInt(""+Math.floor(Math.log(l)/Math.log(1024)),10);return(l/Math.pow(1024,M)).toFixed(1)+" "+p[M]}var x=({value:l=[],action:p,onChange:M,className:j,maxSize:G=150,title:de="\u6587\u4EF6\u4E0A\u4F20",accept:De=null})=>{const Be={multiple:!1,fileList:l,accept:De,withCredentials:!0,beforeUpload:Ce=>Ce.size/1024/1024(d.name.indexOf(b)===-1&&(d.name=`${d.name}${b}${r(d.size)}`),E({},d))),Ce.file.status==="done"&&((ze=(Ze=Ce.file)==null?void 0:Ze.response)==null?void 0:ze.status)===-1){message.error((a=(Me=Ce.file)==null?void 0:Me.response)==null?void 0:a.message),M([]);return}M(J)},onRemove:Ce=>_(void 0,null,function*(){const Ze=Ce.size/1024/1024;return Ce.status==="uploading"?!0:Ze0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:l.length>0,ghost:!0},de),React.createElement("span",{onClick:we,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",G,"M)"," ")))},F=s(61481),P=s(89392),L=Object.defineProperty,Z=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,z=(l,p,M)=>p in l?L(l,p,{enumerable:!0,configurable:!0,writable:!0,value:M}):l[p]=M,V=(l,p)=>{for(var M in p||(p={}))I.call(p,M)&&z(l,M,p[M]);if(Z)for(var M of Z(p))$.call(p,M)&&z(l,M,p[M]);return l};const i=l=>React.createElement("svg",V({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},l),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Q="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",ne=Object.defineProperty,T=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,le=(l,p,M)=>p in l?ne(l,p,{enumerable:!0,configurable:!0,writable:!0,value:M}):l[p]=M,X=(l,p)=>{for(var M in p||(p={}))ue.call(p,M)&&le(l,M,p[M]);if(T)for(var M of T(p))m.call(p,M)&&le(l,M,p[M]);return l},te=(l,p,M)=>new Promise((j,G)=>{var de=we=>{try{Be(M.next(we))}catch(Ce){G(Ce)}},De=we=>{try{Be(M.throw(we))}catch(Ce){G(Ce)}},Be=we=>we.done?j(we.value):Promise.resolve(we.value).then(de,De);Be((M=M.apply(l,p)).next())});const{Dragger:re}=W.default;function R(l){let p=[];return l&&l.length>0&&(p=l.map(M=>({uid:M.id,id:M.id,name:M.title+b+M.filesize,url:M.url,filesize:M.filesize,status:"done",response:{id:M.id}}))),p}var g=({value:l,onChange:p,action:M,data:j,className:G,maxSize:de=150,title:De="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Be=!1,accept:we="",additionalText:Ce,isDragger:Ze,number:ze=1e3,aloneClear:Me=!1,realTimeRemove:a=!0,uploadText:J,setFileProgress:d,showFileProgress:t})=>{const[e,u]=(0,n.useState)(!1);let[A,U]=(0,n.useState)(l||[]),[k,ie]=(0,n.useState)(1);(0,n.useEffect)(()=>{l&&(k===1&&U([...l]),ie(2),ze===(l==null?void 0:l.length)&&u(!0))},[l]);const ye=()=>{setTimeout(()=>{A.pop(),U([...A])},500)};t&&d(A.some(Re=>Re.status==="uploading"));const Fe={multiple:!0,disabled:e,accept:we,withCredentials:!0,fileList:A,beforeUpload:(Re,Pe)=>{const ot=Re.size/1024/1024;return A.concat(Pe).length>ze?(A.pop(),U([...A]),B.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${ze}\u4E2A\u6587\u4EF6`),Me?Promise.reject():(ye(),!1)):ot=ze?u(!0):u(!1),U([...A]),A=A.map(zt=>{var wt,Rt;return(wt=zt==null?void 0:zt.response)!=null&&wt.id&&(zt.url=(Rt=zt==null?void 0:zt.response)==null?void 0:Rt.url),zt.name.indexOf(b)===-1&&(zt.name=`${zt.name}${b}${r(zt.size)}`),X({},zt)}),console.log("info:",Re,A),p(A)},onRemove:Re=>te(void 0,null,function*(){if(!a)return!0;const Pe=()=>te(void 0,null,function*(){if(Re.response?Re.response.id:Re.id){let Tt=yield(0,w.JZ)(Re.response?Re.response.id:Re.uid);return Promise.resolve(Tt)}else return!0});return Be?new Promise((ot,Tt)=>{H.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>te(void 0,null,function*(){const Jt=yield Pe();B.ZP.success("\u5220\u9664\u6210\u529F"),ot(!0)}),onCancel:()=>ot(!1)})}):yield Pe()})};function be(Re){Re.preventDefault(),Re.stopPropagation()}return n.createElement("div",{className:`multi-upload ${G||""}`},Ze&&n.createElement(re,X({},Fe),n.createElement("p",{className:"ant-upload-drag-icon"},n.createElement(F.Z,null)),n.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",n.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",de,"MB)"," "),Ce),!Ze&&n.createElement(W.default,X({},Fe),n.createElement(h.ZP,{disabled:e,className:"upload_button"},n.createElement("img",{className:"aBtn_img",src:Q}),De),n.createElement("span",{onClick:be,className:"upload_text"},J||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${de}MB)`)))}},85057:function(St,We,s){"use strict";s.d(We,{jL:function(){return h},w9:function(){return de},QD:function(){return Xt},cQ:function(){return l},op:function(){return Tt},O5:function(){return ou},_b:function(){return _n},t7:function(){return F},Gi:function(){return ze},YG:function(){return Ce},qp:function(){return c},vr:function(){return Pn},qE:function(){return wt},Je:function(){return Z},wb:function(){return X},cq:function(){return e},tp:function(){return _}});var n=s(59301),W={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUE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7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",h=({dataSource:et=[],img:qe,imgWidth:ut=346,title:st,sunTitle:Ht,bannerExtraContent:qt})=>n.createElement("div",{className:W.banner},n.createElement("div",{className:W.content},n.createElement("aside",null,n.createElement("p",null,n.createElement("b",null,st),n.createElement("span",null,Ht)),et.length>0&&n.createElement("div",{className:W.btns},et.map((ht,Ut)=>n.createElement("div",{key:Ut,onClick:ht.click},ht.name,ht.sign?n.createElement("img",{src:B,width:39}):null))),qt),qe&&n.createElement("img",{style:{marginTop:33,marginRight:38},src:qe,width:ut}))),y={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},w=s(92310),o=s.n(w),O=s(89392),c=({dataSource:et=[],value:qe,onChange:ut,onTitleChange:st,className:Ht,title:qt,titleWidth:ht=41,style:Ut={},fontColor:pt="#6A7283",showCount:$t})=>{const[Qt,Ct]=(0,n.useState)(0),[yn,hn]=(0,n.useState)(!1),en=(0,n.useRef)(null),vn=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var En;et.length!==0&&(((En=en==null?void 0:en.current)==null?void 0:En.clientHeight)>97?Ct(1):Ct(0)),et.length===0&&Ct(0),hn(!1)},[et]),n.createElement("div",{className:o()(y.row,Ht),style:Ut},n.createElement("div",{onClick:(0,O.throttle)(()=>st==null?void 0:st(),2e3),style:{width:ht,marginTop:yn?12:4},className:`${y.title} ${st?"current":""}`},qt),n.createElement("div",{className:yn?`${y.tagsWrap} ${y.tagsBorderWrap}`:y.tagsWrap},n.createElement("div",{className:y.bar,ref:vn,style:Qt>0?{height:Qt===1?97:"auto",overflow:Qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},n.createElement("div",{className:y.tag,ref:en},et==null?void 0:et.map(En=>n.createElement("span",{onClick:()=>ut(En.id),key:En.id,style:{color:pt},className:qe===En.id?y.active:""},n.createElement("span",{title:En.name,className:y.name},En.name),!!$t&&n.createElement("span",{className:y.num},En.count))))),!!Qt&&n.createElement(n.Fragment,null,Qt===1?n.createElement("div",{onClick:()=>{var En;Ct(2),((En=en==null?void 0:en.current)==null?void 0:En.clientHeight)>245?hn(!0):hn(!1)},className:y.action},"\u5C55\u5F00",n.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):n.createElement("div",{onClick:()=>{vn.current.scrollTop=0,Ct(1),hn(!1)},className:y.action},"\u6536\u8D77",n.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},D={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},_=({dataSource:et=[],value:qe,onChange:ut,className:st,style:Ht={}})=>n.createElement("div",{style:Ht,className:o()(D.tabs,st)},et.map(qt=>n.createElement("span",{onClick:()=>ut(qt.id),className:qe===qt.id?D.active:"",key:qt.id},qt.name))),b={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},r=s(92832),F=({dataSource:et=[],value:qe="",onChange:ut,onInputChange:st=()=>{},className:Ht,style:qt={},placeholder:ht,allowClear:Ut=!1})=>{var pt;const[$t,Qt]=(0,n.useState)(""),[Ct,yn]=(0,n.useState)("");(0,n.useEffect)(()=>{var vn;let En=qe;(vn=JSON.stringify(qe))!=null&&vn.includes("{")&&(Qt(qe.id),En=qe.value||"");try{yn(decodeURIComponent(En||""))}catch(nu){yn(decodeURIComponent(En||""))}},[qe]);const hn=()=>{ut(encodeURIComponent(Ct),$t||null)},en=vn=>{vn!==$t&&(Qt(vn),ut(encodeURIComponent(Ct),vn))};return n.createElement("div",{className:o()(b.input,Ht),style:qt},!!et.length&&n.createElement("div",{className:b.dropdown},n.createElement("div",{className:b.text},(pt=et.find(vn=>vn.id===$t))==null?void 0:pt.name,n.createElement("i",{className:"iconfont icon-zhankai4"}),n.createElement("b",{className:b.b1}),n.createElement("b",{className:b.b2})),n.createElement("div",{className:b.menu},et.map((vn,En)=>n.createElement("div",{key:En,onClick:()=>en(vn.id)},vn.name)))),n.createElement(r.default,{onPressEnter:hn,value:Ct,onChange:vn=>{yn(vn.target.value),st(encodeURIComponent(vn.target.value),$t||null)},bordered:!1,placeholder:ht}),n.createElement("i",{onClick:hn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},P={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Z=({value:et,onChange:qe,className:ut,total:st,pageSize:Ht,style:qt={}})=>{const ht=et<2,Ut=et>=Math.ceil(st/Ht);return st<=Ht?n.createElement(n.Fragment,null):n.createElement("div",{className:o()(P.quickPager,ut),style:qt},n.createElement("div",{onClick:()=>{ht||qe(et-1,"prev")},className:ht?P.disabled:""},"\u4E0A\u4E00\u9875"),n.createElement("div",{onClick:()=>{Ut||qe(et+1,"next")},className:Ut?P.disabled:""},"\u4E0B\u4E00\u9875"))},I={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},$=s(71418),z=s(6848),V=s(13570),i=s(3294),Q=s(955),ne=s(96908),T=s(57177),ue=s(81378),m=s(8797),X=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt})=>{const $t=Math.floor((ht-(ut-1)*st)/ut);return n.createElement($.Z,{spinning:pt},n.createElement("div",{className:o()(I.list,et)},!!qe.length&&qe.map((Qt,Ct)=>{const{name:yn,id:hn,identifier:en,power:vn,cover_image_id:En,pic:nu}=Qt;return n.createElement("div",{className:I.wrap,key:hn,style:{width:$t,marginRight:(1+Ct)%ut===0?0:st+qt,marginBottom:Ht}},n.createElement("a",{target:"_blank",href:`/shixuns/${en}/challenges`,className:I.li,onClick:yu=>{yu.preventDefault(),Ut&&(0,Q.L9)([Ut]),vn&&(0,Q.xg)(`/shixuns/${en}/challenges`)}},n.createElement("div",{className:I.img},n.createElement("img",{className:I.cover,src:`${nu}`}),Qt.is_jupyter&&n.createElement("img",{className:I.sign,src:ne}),Qt.is_jupyter_lab&&n.createElement("img",{className:I.sign,src:T}),Qt.is_unity_3d&&n.createElement("img",{className:I.sign,src:ue})),n.createElement("div",{className:I.name},n.createElement(z.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},n.createElement("span",{className:I.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),n.createElement("div",{className:I.tags},n.createElement(z.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),n.createElement("span",null,Qt.challenges_count))),!!Qt.myshixuns_count&&n.createElement(z.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),n.createElement("span",null,Qt.myshixuns_count))),n.createElement(z.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},n.createElement("span",null,n.createElement("span",null,Qt.level))),n.createElement("div",{className:I.rate},n.createElement(V.Z,{allowHalf:!0,disabled:!0,defaultValue:Qt.score_info}),n.createElement("span",null,"\xA0",Qt.score_info?`${Qt.score_info}\u5206`:"5\u5206")))),!vn&&n.createElement("div",{className:I.lockWrap},n.createElement("img",{src:`${i.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!qe.length&&n.createElement(m.Z,null)))},te={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},re=s(24065),R=s(59301),l=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt,onRemove:$t=()=>{},isCurrent:Qt=!0,showAlias:Ct=!1})=>{const yn=Math.floor((ht-(ut-1)*st)/ut),hn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return R.createElement($.Z,{spinning:pt},R.createElement("div",{className:o()(te.list,et)},!!(qe!=null&&qe.length)&&(qe==null?void 0:qe.map((en,vn)=>{var En;const{name:nu,id:yu,identifier:Qu,featured:Ea,school_name:Yu,image_url:aa,excellent:ga,is_plan:Gu}=en;return R.createElement("div",{key:yu,className:te.wrap,style:{width:yn,marginRight:(1+vn)%ut===0?0:st+qt,marginBottom:Ht}},R.createElement("a",{className:te.li,onClick:su=>{su.preventDefault(),su.stopPropagation(),Ut&&(0,Q.L9)([Ut]),(0,Q.xg)(`/paths/${Qu}`)}},R.createElement("div",{className:te.img},R.createElement("img",{className:te.cover,src:`${aa}`}),Qt&&(0,re.bg)()&&(en==null?void 0:en.studying)&&R.createElement("div",{className:`${te.movebq} user-path-items`,onClick:su=>{su.stopPropagation(),$t(en)}},R.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),R.createElement("span",{className:"c-red"},"\u79FB\u9664")),(En=en==null?void 0:en.subject_tags)==null?void 0:En.map((su,Ou)=>{var fu,Ft;if(Ou===0){const Su=(fu=hn.find(ra=>ra.name==su))==null?void 0:fu.swimg;return R.createElement("img",{className:te.sign,src:Su,style:{left:"-4px"}})}const la=(Ft=hn.find(Su=>Su.name==su))==null?void 0:Ft.ptimg;return R.createElement("img",{className:te.sign,src:la,style:{left:`${48+52*(Ou-1)+2*Ou}px`}})}),R.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(en==null?void 0:en.excellent)&&R.createElement("div",{className:te.bq},"\u5F00\u653E\u8BFE\u7A0B"))),R.createElement("div",{className:te.name},R.createElement(z.Z,{title:Ct&&(en!=null&&en.excellent_alias_name)?R.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${nu}`,R.createElement("br",null),R.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${en==null?void 0:en.excellent_alias_name}`)):nu},R.createElement("span",{className:te.e},Ct&&(en==null?void 0:en.excellent_alias_name)||nu))),R.createElement(z.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Yu}`},R.createElement("div",{className:te.unit},R.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Yu)),R.createElement("div",{className:te.tags},R.createElement("div",null,R.createElement(z.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},R.createElement("span",null,R.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),R.createElement("span",null,en.stages_count))),R.createElement(z.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},R.createElement("span",null,R.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),R.createElement("span",null,en.members_count)))))))})),!qe.length&&R.createElement(m.Z,null)))},p={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7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KdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",j=s(59301),de=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt,handleVery:$t=()=>{}})=>{const Qt=Math.floor((ht-(ut-1)*st)/ut);return j.createElement($.Z,{spinning:pt},j.createElement("div",{className:o()(p.list,et)},!!qe.length&&qe.map((Ct,yn)=>{const{subject_identifier:hn,id:en,identifier:vn,power:En}=Ct,nu=Ct.is_public!=0&&Ct.is_public;return j.createElement("div",{className:p.wrap,key:en,style:{width:Qt,marginRight:(1+yn)%ut===0?0:st+qt,marginBottom:Ht}},j.createElement("a",{className:p.li,onClick:yu=>{yu.preventDefault(),$t(Ct==null?void 0:Ct.first_category_url)}},j.createElement("div",{className:p.top},j.createElement(z.Z,{title:Ct.name},j.createElement("div",{className:p.name},Ct.name)),j.createElement("img",{className:p.img,src:i.Z.IMG_SERVER+"/images/"+Ct.avatar_url}),j.createElement("div",{className:p.text,title:Ct.creator},Ct.creator),hn&&j.createElement("div",{className:p.btns},j.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),j.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),nu&&j.createElement("div",{className:p.sign},"\u516C\u5F00")),j.createElement("div",{className:p.bottom},Ct.visits>0&&j.createElement(z.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},j.createElement("span",null,j.createElement("i",{className:"iconfont icon-liulanyan"}),j.createElement("span",null,Ct.visits))),Ct.course_members_count>0&&j.createElement(z.Z,{title:"\u6210\u5458",placement:"bottom"},j.createElement("span",null,j.createElement("i",{className:"iconfont icon-chengyuan"}),Ct.course_members_count)),Ct.tasks_count>0&&j.createElement(z.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},j.createElement("span",null,j.createElement("i",{className:"iconfont icon-zuoye"}),Ct.tasks_count)),Ct.is_end?j.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):j.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ct.is_accessible&&j.createElement("div",{className:p.lockWrap},j.createElement("img",{src:`${i.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),j.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!qe.length&&j.createElement(m.Z,null)))},De={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Be=s(89070),Ce=({dataSource:et=[],value:qe,onChange:ut,className:st,style:Ht={},tabBarExtraContent:qt})=>n.createElement("div",{className:o()(De.tabs,st),style:Ht},n.createElement("div",{className:De.tabsWrap},et.map((ht,Ut)=>!(ht!=null&&ht.hide)&&n.createElement("aside",{className:De.tab,onClick:()=>{ut(ht.id),ht.link&&Be.history.push(ht.link)},key:Ut},n.createElement("div",{className:qe===ht.id?De.active:""},ht.name),(ht==null?void 0:ht.resetCount)==null&&(ht==null?void 0:ht.total)!==void 0&&n.createElement("span",null,"\uFF08",ht==null?void 0:ht.total,"\uFF09"),(ht==null?void 0:ht.resetCount)!==void 0&&(ht==null?void 0:ht.total)!==void 0&&n.createElement(z.Z,{title:(ht==null?void 0:ht.tip)!=null?ht==null?void 0:ht.tip:""},n.createElement("span",{style:{color:"#9096A3"}},"\uFF08",n.createElement("span",{style:{color:"#000"}},ht==null?void 0:ht.resetCount),"/",n.createElement("span",null,ht==null?void 0:ht.total),"\uFF09"))))),n.createElement("div",{className:De.tabBar},qt)),ze=({className:et,style:qe={},children:ut})=>n.createElement("div",{className:o()(et),style:qe},ut),Me={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},a=s(38854),J=s(20834);const d=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var e=({sortValue:et,dropValue:qe,className:ut,onSort:st,onDrop:Ht,dataSource:qt=d})=>{var ht;return n.createElement("div",{className:o()(Me.orderWrap,ut)},n.createElement(a.Z,{dropdownRender:()=>n.createElement(J.default,null,qt.map((Ut,pt)=>n.createElement(J.default.Item,{key:pt,onClick:()=>Ht(Ut.id)},Ut.name)))},n.createElement("span",{className:Me.orderTextWrap},(ht=qt.find(Ut=>qe===Ut.id))==null?void 0:ht.name)),n.createElement("span",{className:Me.orderIconWrap},n.createElement("span",{className:Me.orderAsc},n.createElement("i",{className:et==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Me.cursorPointer} ${Me.active}`:`iconfont icon-sanjiaoxing-up font12 ${Me.cursorPointer}`,onClick:()=>st(et==="asc"?"desc":"asc")})),n.createElement("span",{className:Me.orderDesc},n.createElement("i",{className:et==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Me.cursorPointer} ${Me.active}`:`iconfont icon-sanjiaoxing-down font12 ${Me.cursorPointer}`,onClick:()=>st(et==="asc"?"desc":"asc")}))))},u={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},A=s(3113),U=Object.defineProperty,k=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Fe=(et,qe,ut)=>qe in et?U(et,qe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):et[qe]=ut,be=(et,qe)=>{for(var ut in qe||(qe={}))ie.call(qe,ut)&&Fe(et,ut,qe[ut]);if(k)for(var ut of k(qe))ye.call(qe,ut)&&Fe(et,ut,qe[ut]);return et},Re=(et,qe)=>{var ut={};for(var st in et)ie.call(et,st)&&qe.indexOf(st)<0&&(ut[st]=et[st]);if(et!=null&&k)for(var st of k(et))qe.indexOf(st)<0&&ye.call(et,st)&&(ut[st]=et[st]);return ut},Pe=(et,qe,ut)=>new Promise((st,Ht)=>{var qt=pt=>{try{Ut(ut.next(pt))}catch($t){Ht($t)}},ht=pt=>{try{Ut(ut.throw(pt))}catch($t){Ht($t)}},Ut=pt=>pt.done?st(pt.value):Promise.resolve(pt.value).then(qt,ht);Ut((ut=ut.apply(et,qe)).next())}),Tt=et=>{var qe=et,{className:ut,style:st,children:Ht,loading:qt=!1,openLoading:ht,onClick:Ut=()=>{},size:pt="middle",shape:$t="round"}=qe,Qt=Re(qe,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ct,yn]=(0,n.useState)(!1);return n.createElement(A.ZP,be({onClick:(0,O.throttle)(hn=>Pe(void 0,null,function*(){ht&&yn(!0);try{yield Ut(hn)}catch(en){console.log("error",en)}ht&&yn(!1)}),2e3,{leading:!0,trailing:!1}),className:o()(u.btn,u[`${pt}-${$t}`],ut),style:st,size:pt,shape:$t,loading:Ct||qt},Qt),Ht)},Jt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},wt=({className:et,style:qe,children:ut=null,onClick:st,title:Ht})=>n.createElement("div",{className:o()(Jt.head,et),style:qe},n.createElement("span",{className:"primary-hover",onClick:st},n.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),n.createElement("b",{title:Ht},Ht),n.createElement("div",{className:Jt.node},ut)),Rt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Xt=({confirmShow:et=!0,confirmTitle:qe,confirmClick:ut,cancelShow:st=!0,cancelTitle:Ht,cancelClick:qt,className:ht,style:Ut,confirmLoading:pt=!1})=>n.createElement("div",{className:o()(Rt.btns,ht),style:Ut},et&&n.createElement(A.ZP,{loading:pt,onClick:ut,type:"primary",className:Rt.confirm},qe),st&&n.createElement(A.ZP,{onClick:qt,className:Rt.cancel},Ht)),sn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Pn=({className:et,style:qe={},LeftContent:ut,children:st,RightContent:Ht})=>n.createElement("div",{className:o()(sn.fixedBottom,et),style:qe},n.createElement("div",{className:sn.wrap},n.createElement("div",{className:sn.left},ut),n.createElement("div",{className:sn.center},st),n.createElement("div",{className:sn.right},Ht))),bn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},_n=({className:et,style:qe={},dataSource:ut=[]})=>n.createElement("div",{className:o()(bn.crumbs,et),style:qe},ut.map((st,Ht)=>HtBe.history.push(st.path)},st.name):n.createElement("span",null,st.name),n.createElement("span",null,"\xA0",">","\xA0")):n.createElement("span",{key:Ht,style:{color:"#5F6368"}},st.name))),mn=s(31797),Ye=Object.defineProperty,pn=Object.defineProperties,xn=Object.getOwnPropertyDescriptors,Sn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,tu=(et,qe,ut)=>qe in et?Ye(et,qe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):et[qe]=ut,ru=(et,qe)=>{for(var ut in qe||(qe={}))Mn.call(qe,ut)&&tu(et,ut,qe[ut]);if(Sn)for(var ut of Sn(qe))Vn.call(qe,ut)&&tu(et,ut,qe[ut]);return et},Nn=(et,qe)=>pn(et,xn(qe)),Fu=(et,qe)=>{var ut={};for(var st in et)Mn.call(et,st)&&qe.indexOf(st)<0&&(ut[st]=et[st]);if(et!=null&&Sn)for(var st of Sn(et))qe.indexOf(st)<0&&Vn.call(et,st)&&(ut[st]=et[st]);return ut};const{Countdown:_u}=mn.default;var ou=et=>{var qe=et,{onChange:ut}=qe,st=Fu(qe,["onChange"]);const[Ht,qt]=(0,n.useState)(null);(0,n.useEffect)(()=>{typeof Ht=="number"&&Ht>=0&&ut(Ht)},[Ht]);const ht=Ut=>{const pt=Math.floor(Ut/1e3);qt(pt)};return n.createElement(_u,Nn(ru({},st),{onChange:ht}))}},58010:function(St,We,s){"use strict";var n=s(59301),W=s(78241),B=s(95237),H=s(43604),h=s(57809),y=s(5871),w=s(6848),o=s(5083),O=s(92832),f=s(89070),c=s(79834),D=s(89529),E=s(59301),_=Object.defineProperty,b=Object.defineProperties,r=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,L=(V,i,Q)=>i in V?_(V,i,{enumerable:!0,configurable:!0,writable:!0,value:Q}):V[i]=Q,Z=(V,i)=>{for(var Q in i||(i={}))F.call(i,Q)&&L(V,Q,i[Q]);if(x)for(var Q of x(i))P.call(i,Q)&&L(V,Q,i[Q]);return V},I=(V,i)=>b(V,r(i)),$=(V,i)=>{var Q={};for(var ne in V)F.call(V,ne)&&i.indexOf(ne)<0&&(Q[ne]=V[ne]);if(V!=null&&x)for(var ne of x(V))i.indexOf(ne)<0&&P.call(V,ne)&&(Q[ne]=V[ne]);return Q};const z=({disabled:V,shixunHomeworks:i,selectOptions:Q,form:ne})=>{const{workSetting:T}=i,[ue,m]=(0,n.useState)([]),le=(0,n.useMemo)(()=>Q==null?void 0:Q.filter(X=>!ue.includes(X.value)),[ue,Q]);return(0,n.useEffect)(()=>{var X;const te=((X=T==null?void 0:T.anonymous_appeal_settings)==null?void 0:X.filter(re=>re.appeal_time))||[];m(te.map(re=>re.group_name))},[T]),E.createElement(W.default.List,{name:"anonymous_appeal_settings"},(X,{add:te,remove:re})=>E.createElement(E.Fragment,null,X.map(R=>{var g;const l=R,{key:p,name:M}=l,j=$(l,["key","name"]),de=ne.getFieldValue(["anonymous_appeal_settings",M]).deleteflag;return E.createElement("div",{key:p},E.createElement(B.Z,{align:"middle",style:{background:"#F6F7F9",padding:"5px 30px"}},E.createElement(H.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left",marginLeft:"54px",color:"#666"}},"\u7533\u8BC9\u89C4\u5219",p+1),E.createElement(H.Z,null,E.createElement(W.default.Item,I(Z({},j),{name:[R.name,"group_name"]}),E.createElement(h.default,{mode:"multiple",disabled:V||!de,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:"245px"},className:D.Z.multiple_select,options:le||[],onSelect:De=>{m(Be=>[...Be,De])},onDeselect:De=>{m(Be=>Be.filter(we=>we!==De))}}))),E.createElement(H.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),E.createElement(H.Z,null,E.createElement(W.default.Item,I(Z({},j),{label:"",name:[R.name,"appeal_penalty"]}),E.createElement(y.Z,{min:0,disabled:V,size:"large",addonAfter:"\u5206",style:{width:"120px"}}))),E.createElement(w.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},E.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${D.Z.title_icon}`})),E.createElement(H.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),E.createElement(H.Z,null,E.createElement(W.default.Item,I(Z({},j),{label:"",name:[R.name,"appeal_time"]}),E.createElement(o.default,{allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",disabled:V,size:"large",disabledDate:De=>(0,c.Q8)(De,T==null?void 0:T.course_end_date),disabledTime:De=>(0,c.d0)(De),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"}))),E.createElement(W.default.Item,I(Z({},j),{name:[M,"deleteflag"]}),E.createElement(O.default,{type:"hidden"})),!V&&X.length<((g=T==null?void 0:T.anonymous_appeal_settings)==null?void 0:g.length)&&E.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{te({deleteflag:!0})}}),p!==0&&!V&&de&&E.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const De=ne.getFieldValue(["anonymous_appeal_settings",M,"group_name"])||[];m(Be=>Be.filter(we=>!De.includes(we))),re(M)}})))})))};We.Z=(0,f.connect)(({shixunHomeworks:V})=>({shixunHomeworks:V}))(z)},33469:function(St,We,s){"use strict";var n=s(59301),W=s(5083),B=s(78241),H=s(95237),h=s(43604),y=s(57809),w=s(8591),o=s(92832),O=s(5871),f=s(6848),c=s(24905),D=s(61186),E=s.n(D),_=s(89070),b=s(79834),r=s(24065),x=s(89529),F=s(59301),P=Object.defineProperty,L=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,V=(m,le,X)=>le in m?P(m,le,{enumerable:!0,configurable:!0,writable:!0,value:X}):m[le]=X,i=(m,le)=>{for(var X in le||(le={}))$.call(le,X)&&V(m,X,le[X]);if(I)for(var X of I(le))z.call(le,X)&&V(m,X,le[X]);return m},Q=(m,le)=>L(m,Z(le)),ne=(m,le)=>{var X={};for(var te in m)$.call(m,te)&&le.indexOf(te)<0&&(X[te]=m[te]);if(m!=null&&I)for(var te of I(m))le.indexOf(te)<0&&z.call(m,te)&&(X[te]=m[te]);return X};const{RangePicker:T}=W.default,ue=({disabled:m,shixunHomeworks:le,selectOptions:X,form:te,data:re,classroomList:R})=>{const{workSetting:g}=le,[l,p]=(0,n.useState)([]),M=(0,n.useMemo)(()=>X==null?void 0:X.filter(G=>!l.includes(G.value)),[l,X]);(0,n.useEffect)(()=>{var G;const de=((G=g==null?void 0:g.anonymous_comment_settings)==null?void 0:G.filter(De=>De.evaluation_end))||[];p(de.map(De=>De.group_name))},[g]);const j=G=>{var de;const De=(de=g==null?void 0:g.anonymous_appeal_settings)==null?void 0:de.find(Be=>Be.group_id===G);return re.anonymous_appeal&&De&&(De==null?void 0:De.appeal_time)!==null};return F.createElement(B.default.List,{name:"anonymous_comment_settings"},(G,{add:de,remove:De})=>F.createElement(F.Fragment,null,G.map(Be=>{var we,Ce;const Ze=Be,{key:ze,name:Me}=Ze,a=ne(Ze,["key","name"]),J=te.getFieldValue(["anonymous_comment_settings",Me]),d=J.deleteflag,t=E()((we=J.evaluation_start)==null?void 0:we[0])<=E()(),e=!d&&t?[!0,j(J==null?void 0:J.group_id)]:[!1,!1];return F.createElement("div",{key:ze,style:{background:"#F6F7F9",padding:"5px 30px"}},F.createElement(H.Z,{align:"top",style:{marginLeft:"53px"}},F.createElement(h.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left"}},"\u533F\u8BC4\u89C4\u5219",ze+1),F.createElement(h.Z,{flex:1},F.createElement(H.Z,{align:"middle",style:{marginBottom:10}},F.createElement(h.Z,{span:8},F.createElement(B.default.Item,Q(i({},a),{name:[Me,"group_name"]}),F.createElement(y.default,{mode:"multiple",disabled:m||!d,className:x.Z.multiple_select,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",options:M||[],onSelect:u=>{p(A=>[...A,u])},onDeselect:u=>{p(A=>A.filter(U=>U!==u))}}))),F.createElement(h.Z,{className:"ml20"},F.createElement(B.default.Item,Q(i({},a),{name:[Me,"evaluation_start"]}),F.createElement(T,{ranges:{\u6B64\u523B:()=>{var u;const A=(u=J==null?void 0:J.evaluation_start)==null?void 0:u[0];return[A?E()(A):E()(),E()()]}},size:"large",style:{width:"500px"},disabled:m||e,allowClear:!1,disabledDate:u=>(0,b.Q8)(u,g==null?void 0:g.course_end_date),disabledTime:u=>(0,b.d0)(u),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",onChange:()=>{var u;if((0,r.Rm)()&&!((u=R.AssistantObject.group)!=null&&u.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(B.default.Item,Q(i({},a),{name:[Me,"deleteflag"]}),F.createElement(o.default,{type:"hidden"})),!m&&G.length<((Ce=g==null?void 0:g.anonymous_comment_settings)==null?void 0:Ce.length)&&F.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{de({deleteflag:!0})}}),ze!==0&&!m&&d&&F.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const u=te.getFieldValue(["anonymous_comment_settings",Me,"group_name"])||[];p(A=>A.filter(U=>!u.includes(U))),De(Me)}})))),F.createElement(H.Z,{align:"middle",style:{marginLeft:"53px"}},F.createElement(h.Z,{style:{width:"75px"}},"\u533F\u8BC4\u6570\u91CF"),F.createElement(h.Z,null,F.createElement(B.default.Item,Q(i({},a),{label:"",colon:!1,name:[Me,"evaluation_num"]}),F.createElement(O.Z,{min:0,size:"large",style:{marginLeft:"5px"},disabled:m||!d&&t}))),F.createElement(f.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},F.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${x.Z.title_icon}`})),F.createElement(h.Z,{style:{width:"75px",marginLeft:"40px"}},"\u7F3A\u8BC4\u6263\u5206"),F.createElement(h.Z,null,F.createElement(B.default.Item,Q(i({},a),{label:"",colon:!1,name:[Me,"absence_penalty"]}),F.createElement(O.Z,{min:0,size:"large",addonAfter:"\u5206",style:{width:"120px"},disabled:m,onChange:u=>{var A;if((0,r.Rm)()&&!((A=R.AssistantObject.group)!=null&&A.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(h.Z,{style:{marginLeft:"40px"}},F.createElement(B.default.Item,Q(i({},a),{name:[Me,"student_comment"],valuePropName:"checked"}),F.createElement(c.default,{disabled:m,onChange:()=>{var u;if((0,r.Rm)()&&!((u=R.AssistantObject.group)!=null&&u.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(h.Z,{className:"ml10"},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605")))})))};We.Z=(0,_.connect)(({shixunHomeworks:m,classroomList:le})=>({shixunHomeworks:m,classroomList:le}))(ue)},65629:function(St,We,s){"use strict";var n=s(89070),W=s(95237),B=s(43604),H=s(5083),h=s(5871),y=s(6848),w=s(61186),o=s.n(w),O=s(79834),f=s(89529),c=s(59301);const D=({data:E,disabled:_,setData:b,shixunHomeworks:r})=>{const{workSetting:x,workList:F}=r;return c.createElement("div",null,c.createElement(W.Z,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},c.createElement(B.Z,{style:{marginLeft:"54px",marginRight:"20px",color:"#666666"}},"\u7ED3\u675F\u65F6\u95F4"),c.createElement(B.Z,null,c.createElement(H.default,{allowClear:!1,style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},size:"large",format:"YYYY-MM-DD HH:mm",disabled:_,disabledDate:P=>(0,O.Q8)(P,x==null?void 0:x.course_end_date),disabledTime:P=>(0,O.d0)(P),value:E.appeal_time?o()(E.appeal_time):"",onChange:(P,L)=>{E.appeal_time=L,b(Object.assign({},E))}})),c.createElement(B.Z,{style:{margin:"0 20px 0 60px",color:"#666666"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),c.createElement(B.Z,null,c.createElement(h.Z,{size:"large",disabled:_,value:E.appeal_penalty,min:0,addonAfter:"\u5206",style:{width:"120px"},onChange:P=>{E.appeal_penalty=P,b(Object.assign({},E))}})),c.createElement(y.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},c.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${f.Z.title_icon}`}))))};We.Z=(0,n.connect)(({shixunHomeworks:E})=>({shixunHomeworks:E}))(D)},47599:function(St,We,s){"use strict";var n=s(5083),W=s(5871),B=s(6848),H=s(24905),h=s(61186),y=s.n(h),w=s(89070),o=s(79834),O=s(89529),f=s(59301);const c=({data:D,setData:E,disabled:_,shixunHomeworks:b})=>{const{workSetting:r}=b,x=y()(r==null?void 0:r.evaluation_start)<=y()(),F=D.anonymous_appeal;return f.createElement("div",null,f.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},f.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u5F00\u59CB\u65F6\u95F4"),f.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:P=>(0,o.Q8)(P,r==null?void 0:r.course_end_date),disabledTime:P=>(0,o.d0)(P),disabled:_||x||F,value:D.evaluation_start?y()(D.evaluation_start):"",onChange:(P,L)=>{D.evaluation_start=L,E(Object.assign({},D))}}),f.createElement("div",{style:{color:"#666666",marginLeft:"60px",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),f.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:P=>(0,o.Q8)(P,r==null?void 0:r.course_end_date,D.evaluation_start),disabledTime:P=>(0,o.d0)(P,y()(D.evaluation_start)),disabled:_||F,value:D.evaluation_end?y()(D.evaluation_end):"",onChange:(P,L)=>{D.evaluation_end=L,E(Object.assign({},D))}})),f.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},f.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u6570\u91CF"),f.createElement(W.Z,{disabled:_||x||F,value:D.evaluation_num,min:0,style:{width:"150px"},size:"large",onChange:P=>{D.evaluation_num=P,E(Object.assign({},D))}}),f.createElement(B.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},f.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${O.Z.title_icon}`})),f.createElement("div",{style:{color:"#666666",marginLeft:"84px",marginRight:"20px"}},"\u7F3A\u8BC4\u6263\u5206"),f.createElement(W.Z,{min:0,disabled:_,style:{width:"150px"},size:"large",addonAfter:"\u5206",value:D.absence_penalty,onChange:P=>{D.absence_penalty=P,E(Object.assign({},D))}})),D.anonymous_comment&&f.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 83px",display:"flex",alignItems:"center"}},f.createElement(H.default,{checked:D.student_comment,disabled:_,onChange:()=>{D.student_comment=!D.student_comment,E(Object.assign({},D))}},f.createElement("span",{style:{fontSize:"14px",color:"#000"}},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))};We.Z=(0,w.connect)(({shixunHomeworks:D})=>({shixunHomeworks:D}))(c)},24571:function(St,We,s){"use strict";s.d(We,{Z:function(){return I}});var n=s(59301),W=s(43418),B=s(8591),H=s(95237),h=s(43604),y=s(3113),w=s(54580),o=s(1710),O={achieveSty:"achieveSty___Joqdh",tip:"tip___qAo3r",labolIcon:"labolIcon___QZ4oX"},f=s(85057),c=s(3294),D=s(99064),E=s(955),_=Object.defineProperty,b=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=($,z,V)=>z in $?_($,z,{enumerable:!0,configurable:!0,writable:!0,value:V}):$[z]=V,P=($,z)=>{for(var V in z||(z={}))r.call(z,V)&&F($,V,z[V]);if(b)for(var V of b(z))x.call(z,V)&&F($,V,z[V]);return $},L=($,z,V)=>new Promise((i,Q)=>{var ne=m=>{try{ue(V.next(m))}catch(le){Q(le)}},T=m=>{try{ue(V.throw(m))}catch(le){Q(le)}},ue=m=>m.done?i(m.value):Promise.resolve(m.value).then(ne,T);ue((V=V.apply($,z)).next())}),I=({visible:$,categoryId:z,getData:V,onCancle:i})=>{var Q,ne;const[T,ue]=(0,n.useState)([]),[m,le]=(0,n.useState)(!1),[X,te]=(0,n.useState)(!1),[re,R]=(0,n.useState)({success_size:0,error_list:[]}),g={withCredentials:!0,maxCount:1,multiple:!1,onRemove:()=>{ue([])},beforeUpload:l=>L(void 0,null,function*(){return ue([l]),!1}),fileList:T,accept:".xlsx"};return n.createElement(n.Fragment,null,n.createElement(W.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",width:690,open:$,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:X,onOk:()=>L(void 0,null,function*(){if(T.length===0){B.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}te(!0);const l=new FormData;l.append("file",T[0]);const p=yield(0,D.ZP)(`/api/homework_commons/${z}/import_external_score.json`,{method:"post",body:l},!0);(p==null?void 0:p.status)===0&&(R(p),i(),V(),le(!0),ue([])),te(!1)}),onCancel:()=>{ue([]),i()}},n.createElement("div",{className:O.achieveSty},n.createElement("div",{className:O.tip},n.createElement("div",null,"1.\u4E0D\u5728\u5B66\u751F\u5217\u8868\u5185\u7684\u5B66\u751F\u4E0D\u652F\u6301\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\uFF1B"),n.createElement("div",null,"2.\u672A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4E4B\u540E\u5C06\u89C6\u4E3A\u5DF2\u5728\u7EBF\u4E0B\u63D0\u4EA4\u4F5C\u4E1A\uFF1B"),n.createElement("div",null,"3.\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4F1A\u5C06\u5DF2\u8BC4\u9605\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u8FDB\u884C\u66F4\u65B0\u3002")),n.createElement(H.Z,{align:"middle",className:"mt20"},n.createElement(h.Z,{className:"mr10"},n.createElement("span",{className:O.labolIcon},"*"),n.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),n.createElement(h.Z,null,n.createElement(y.ZP,{shape:"default",style:{backgroundColor:"#3061D0",color:"#fff"}},n.createElement("a",{className:O.downloadbutton,onClick:l=>{l.stopPropagation(),l.preventDefault(),(0,E.FH)("",c.Z.API_SERVER+`/api/homework_commons/${z}/get_example_excel.json`)}},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C")),n.createElement("span",{className:"ml10",style:{color:"#9096A3"}},"\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9"))),n.createElement("div",{className:"mt10",style:{marginLeft:"74px",height:"120px"}},n.createElement(w.default.Dragger,P({style:{border:"1px dashed rgba(48,97,208,0.3)",backgroundColor:"rgba(48,97,208,0.06)"}},g),n.createElement("div",null,n.createElement(f.op,{shape:"default"},"\u9009\u62E9\u6587\u4EF6")),n.createElement("div",{className:"font12 mt10",style:{color:"#9096A3"}},"\u4E0B\u8F7D\u6A21\u7248\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xlsx"))))),n.createElement(W.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u7ED3\u679C",width:508,open:m,onCancel:()=>{le(!1)},footer:null},n.createElement("div",null,n.createElement("div",{style:{marginTop:"5px",marginBottom:"15px"}},n.createElement("span",null,"\u5BFC\u5165\u6210\u529F",n.createElement("span",{style:{color:"#19CB70"}}," ",re==null?void 0:re.success_size," "),"\u4E2A\u5B66\u751F"),n.createElement("span",{style:{marginLeft:"30px"}},"\u5BFC\u5165\u5931\u8D25",n.createElement("span",{style:{color:"#E30000"}}," ",(Q=re==null?void 0:re.error_list)==null?void 0:Q.length," "),"\u4E2A\u5B66\u751F")),!!((ne=re==null?void 0:re.error_list)!=null&&ne.length)&&n.createElement("div",{className:"mb20"},n.createElement(o.default,{columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name",ellipsis:!0,width:120,render:l=>n.createElement("span",{style:{color:"#000"}},l)},{title:"\u5B66\u53F7/\u5DE5\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,width:120,render:l=>n.createElement("span",{style:{color:"#666"}},l)},{title:"\u5931\u8D25\u539F\u56E0",dataIndex:"info",key:"info",ellipsis:!0,align:"end",render:l=>n.createElement("span",{style:{color:"#000"}},l)}],dataSource:re==null?void 0:re.error_list,pagination:!1,scroll:{y:47*8}})))))}},45633:function(St,We,s){"use strict";var n=s(43418),W=s(8591),B=s(99064),H=s(89070),h=s(24065),y=s(59301),w=(O,f,c)=>new Promise((D,E)=>{var _=x=>{try{r(c.next(x))}catch(F){E(F)}},b=x=>{try{r(c.throw(x))}catch(F){E(F)}},r=x=>x.done?D(x.value):Promise.resolve(x.value).then(_,b);r((c=c.apply(O,f)).next())});const o=({shixunHomeworks:O,dispatch:f,classroomList:c,getData:D})=>y.createElement(n.default,{centered:!0,title:"\u63D0\u793A",open:O.actionTabs.key==="redoShixunModal",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>w(void 0,null,function*(){var E;if((0,h.Rm)()&&!((E=c.AssistantObject.normal)!=null&&E.can_redo)){W.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,B.ZP)(`/api/homework_commons/${O.actionTabs.homework_common_id}/batch_redo_modal.json`,{method:"post",body:{student_work_id:O.actionTabs.student_work_id}})).status===0&&(W.ZP.success("\u64CD\u4F5C\u6210\u529F"),f({type:"shixunHomeworks/setActionTabs",payload:{}}),D())}),onCancel:()=>{f({type:"shixunHomeworks/setActionTabs",payload:{}})}},y.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C",O.actionTabs.isshixun?"\u5B66\u751F\u5B9E\u8BAD":"\u5B66\u751F\u4F5C\u54C1\u63D0\u4EA4","\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),y.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"));We.Z=(0,H.connect)(({shixunHomeworks:O,classroomList:f})=>({shixunHomeworks:O,classroomList:f}))(o)},93982:function(St,We,s){"use strict";s.r(We),s.d(We,{default:function(){return _o}});var n=s(59301),W=s(89070),B=s(49127),H=s(3113),h=s(8591),y=s(43418),w=s(66104),o=s(99313),O=s(27812),f=s(955),c=s(78241),D=s(6848),E=s(95237),_=s(20834),b=s(24905),r=s(43604),x=s(1710),F=s(92832),P=s(38854),L=s(58421),Z=s(5112),I=s(5871),$=s(57809),z=s(71418),V=s(61186),i=s.n(V),Q=s(8797),ne=s(99064),T=Object.defineProperty,ue=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,X=(S,C,v)=>C in S?T(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,te=(S,C)=>{for(var v in C||(C={}))m.call(C,v)&&X(S,v,C[v]);if(ue)for(var v of ue(C))le.call(C,v)&&X(S,v,C[v]);return S},re=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const R=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)();return n.createElement(y.default,{centered:!0,title:"\u63D0\u793A",open:S.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>re(void 0,null,function*(){(yield(0,ne.ZP)(`/api/myshixuns/${S.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:v.coursesId}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getWorkList",payload:te({},S.actionTabs.params)}))}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),n.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var g=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(R),l=s(24065),p=s(59301),M=Object.defineProperty,j=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,De=(S,C,v)=>C in S?M(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Be=(S,C)=>{for(var v in C||(C={}))G.call(C,v)&&De(S,v,C[v]);if(j)for(var v of j(C))de.call(C,v)&&De(S,v,C[v]);return S},we=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Ce=({shixunHomeworks:S,classroomList:C,dispatch:v})=>{const pe=(0,W.useParams)(),[fe,he]=(0,n.useState)(!0),[_e,Ae]=(0,n.useState)(!1),[ae]=c.default.useForm();return p.createElement(p.Fragment,null,p.createElement(y.default,{centered:!0,title:"\u8C03\u5206",open:S.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:_e,onOk:()=>we(void 0,null,function*(){var Ie;if((0,l.Rm)()&&!((Ie=C.AssistantObject.normal)!=null&&Ie.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield ae.validateFields();const ve=ae.getFieldsValue();Ae(!0),(yield(0,ne.ZP)(`/api/student_works/${S.actionTabs.id}/adjust_score.json`,{method:"post",body:Be({},ve)})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae.resetFields(),v({type:"shixunHomeworks/setActionTabs",payload:{}}),v({type:"shixunHomeworks/getWorkList",payload:Be({},S.actionTabs.params)})),Ae(!1)}),onCancel:()=>{v({type:"shixunHomeworks/setActionTabs",payload:{}})}},p.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),p.createElement(c.default,{form:ae,layout:"horizontal"},p.createElement("div",{style:{display:"flex",alignItems:"baseline"}},p.createElement(c.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},p.createElement(I.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),p.createElement("span",{className:"ml10"},"\u5206")),p.createElement("div",null,p.createElement(c.default.Item,{name:"comment"},p.createElement(F.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var Ze=(0,W.connect)(({shixunHomeworks:S,classroomList:C})=>({shixunHomeworks:S,classroomList:C}))(Ce),ze=s(45633),Me=s(46474),a=s(89392),J=s(37906),d=s(85057),t=s(83312),e=s(36708),u=s(59301),A=Object.defineProperty,U=Object.defineProperties,k=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,be=(S,C,v)=>C in S?A(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Re=(S,C)=>{for(var v in C||(C={}))ye.call(C,v)&&be(S,v,C[v]);if(ie)for(var v of ie(C))Fe.call(C,v)&&be(S,v,C[v]);return S},Pe=(S,C)=>U(S,k(C)),ot=(S,C)=>{var v={};for(var pe in S)ye.call(S,pe)&&C.indexOf(pe)<0&&(v[pe]=S[pe]);if(S!=null&&ie)for(var pe of ie(S))C.indexOf(pe)<0&&Fe.call(S,pe)&&(v[pe]=S[pe]);return v},Tt=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Jt=S=>Tt(void 0,null,function*(){return yield(0,ne.ZP)(`/api/student_works/${S.userId}/deal_appeal_score.json`,{method:"post",body:S})});var wt=S=>{var C=S,{task_status:v,new_work_status:pe,shixunHomeworks:fe,course_group:he}=C,_e=ot(C,["task_status","new_work_status","shixunHomeworks","course_group"]),Ae;const ae=(0,W.useParams)(),[Ie]=c.default.useForm(),{workList:ve,workSetting:oe}=fe,[$e,ft]=(0,n.useState)(!1),[ee,je]=(0,n.useState)(null),[nt,it]=(0,n.useState)({search:"",page:1,limit:10,work_status:v!=null?v==0?[0,-1]:[v]:null,new_work_status:pe,status:pe||"",course_group:he}),[,ge,Je,q]=(0,t.U)(e.h$,Re({},ae)),[,_t,Ve,tt]=(0,t.U)(e.cN,{homeworkId:ae==null?void 0:ae.categoryId}),[,,N,It]=(0,t.U)(Jt,{}),[Ge,mt]=(0,n.useState)([]),Vt=()=>{var Ee,He,se;if(v==0)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u672A\u63D0\u4EA4\u4F5C\u54C1");if(v==1)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1");if(v==2)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F",oe!=null&&oe.anonymous_comment||(Ee=ve==null?void 0:ve.homework_status)!=null&&Ee.includes("\u533F\u8BC4\u4E2D")?"\u5EF6\u65F6\u63D0\u4EA4":"\u8865\u4EA4","\u4F5C\u54C1");if(pe==1)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u672A\u533F\u8BC4");if(pe==2)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u533F\u8BC4\u4E2D");if(pe==3)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u5B8C\u6210\u533F\u8BC4");if(pe==4)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},((He=tt==null?void 0:tt.data)==null?void 0:He.count)||0),"\u4F4D\u5B66\u751F\u63D0\u4EA4\u4E86\u7533\u8BC9");if(pe==5)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},((se=tt==null?void 0:tt.data)==null?void 0:se.count)||0),"\u6761\u7533\u8BC9\u8BB0\u5F55\u5F85\u5BA1\u6838")},cn=()=>{var Ee,He;return v?(Ee=[{title:"\u5E8F\u53F7",dataIndex:"id",ellipsis:!0,width:80,render:(se,kt,tn)=>`${((nt==null?void 0:nt.page)-1)*nt.limit+tn+1}`},{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u5206\u73ED",dataIndex:"group_name",ellipsis:!0},v!=0&&{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(se,kt)=>u.createElement(D.Z,{placement:"bottom",title:u.createElement("div",null,"\u6559\u5E08\u8BC4\u5206\uFF1A",kt.teacher_score||"0.0","\u5206",u.createElement("br",null),"\u52A9\u6559\u8BC4\u5206\uFF1A",kt.teaching_asistant_score||"0.0","\u5206",u.createElement("br",null),ve!=null&&ve.anonymous_comment?u.createElement(u.Fragment,null,"\u533F\u8BC4\u8BC4\u5206\uFF1A",kt.student_score||"0.0","\u5206",u.createElement("br",null)):"","\u8FDF\u4EA4\u6263\u5206\uFF1A",kt.late_penalty||"0.0","\u5206",u.createElement("br",null),"\u67E5\u91CD\u6263\u5206\uFF1A",kt.repeat_minus_score||"0.0","\u5206",u.createElement("br",null),ve!=null&&ve.anonymous_comment?u.createElement(u.Fragment,null,"\u7F3A\u8BC4\u6263\u5206\uFF1A",kt.absence_penalty||"0.0","\u5206",u.createElement("br",null)):"","\u6700\u7EC8\u6210\u7EE9\uFF1A",kt.work_score||"0.0","\u5206",u.createElement("br",null),!(ve!=null&&ve.is_jupyter||ve!=null&&ve.is_jupyter_lab)&&u.createElement("div",{onClick:tn=>{Ke(kt)},className:"current",style:{color:"#8bb6fd"}},"\u67E5\u770B\u8BC4\u5206"))},se>0?u.createElement("span",{style:{color:"#ff8100"}},se):se)},v>1&&{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:se=>i()(se).format("YYYY-MM-DD HH:mm")}])==null?void 0:Ee.filter(se=>se):pe==4||pe==5?[{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"real_name",ellipsis:!0,width:80,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:80},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",ellipsis:!0,width:110},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",ellipsis:!0},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:140,render:se=>i()(se).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",dataIndex:"appeal_status",ellipsis:!0,width:140,align:"right",render:(se,kt)=>u.createElement(u.Fragment,null,se==3&&u.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),se==4&&u.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),se==1&&u.createElement(u.Fragment,null,u.createElement(d.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>Tt(void 0,null,function*(){(yield N({userId:kt.student_work_id,score_id:kt.student_works_score_id,status:4})).status===0&&Zt()})},"\u9A73\u56DE"),u.createElement(d.op,{className:"ml20",type:"link",style:{padding:0},onClick:()=>{je(kt),ft(!0)}},"\u63A5\u53D7")))}]:(He=[{title:"\u5E8F\u53F7",dataIndex:"id",ellipsis:!0,width:80,render:(se,kt,tn)=>`${((nt==null?void 0:nt.page)-1)*nt.limit+tn+1}`},{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u5206\u73ED",dataIndex:"group_name",ellipsis:!0},v!=0&&{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(se,kt)=>u.createElement(D.Z,{placement:"bottom",title:u.createElement("div",null,"\u6559\u5E08\u8BC4\u5206\uFF1A",kt.teacher_score||"0.0","\u5206",u.createElement("br",null),"\u52A9\u6559\u8BC4\u5206\uFF1A",kt.teaching_asistant_score||"0.0","\u5206",u.createElement("br",null),ve!=null&&ve.anonymous_comment?u.createElement(u.Fragment,null,"\u533F\u8BC4\u8BC4\u5206\uFF1A",kt.student_score||"0.0","\u5206",u.createElement("br",null)):"","\u8FDF\u4EA4\u6263\u5206\uFF1A",kt.late_penalty||"0.0","\u5206",u.createElement("br",null),"\u67E5\u91CD\u6263\u5206\uFF1A",kt.repeat_minus_score||"0.0","\u5206",u.createElement("br",null),ve!=null&&ve.anonymous_comment?u.createElement(u.Fragment,null,"\u7F3A\u8BC4\u6263\u5206\uFF1A",kt.absence_penalty||"0.0","\u5206",u.createElement("br",null)):"","\u6700\u7EC8\u6210\u7EE9\uFF1A",kt.work_score||"0.0","\u5206",u.createElement("br",null),!(ve!=null&&ve.is_jupyter||ve!=null&&ve.is_jupyter_lab)&&u.createElement("div",{onClick:tn=>{Ke(kt)},className:"current",style:{color:"#8bb6fd"}},"\u67E5\u770B\u8BC4\u5206"))},se>0?u.createElement("span",{style:{color:"#ff8100"}},se):se)},pe==2&&{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:se=>i()(se).format("YYYY-MM-DD HH:mm")},pe==2&&{title:"\u9700\u8BC4\u6570",dataIndex:"need_evaluate",ellipsis:!0},pe==2&&{title:"\u5DF2\u8BC4\u6570",dataIndex:"evaluate_num",ellipsis:!0}])==null?void 0:He.filter(se=>se)},Ke=(Ee={})=>{var He;(Ee!=null&&Ee.id||Ee!=null&&Ee.student_work_id)&&(0,f.xg)(ve.is_jupyter||ve.is_jupyter_lab?`/classrooms/${ae.coursesId}/common_homework/${ae.categoryId}/${Ee.id}/comment`:ae.course_group?`/classrooms/${ae.coursesId}/common_homework/${ae.categoryId}/review/${pe==4?Ee.student_work_id:Ee==null?void 0:Ee.id}?ids=${(He=ae.course_group)==null?void 0:He.toString()}`:`/classrooms/${ae.coursesId}/common_homework/${ae.categoryId}/review/${pe==4?Ee.student_work_id:Ee==null?void 0:Ee.id}`)},Zt=(Ee=nt)=>{const He=Pe(Re({},Ee),{work_status:v!=null?v==0?[0,-1]:[v]:null,new_work_status:pe,status:pe==4?"":1,course_group:he});it(He),pe==4||pe==5?Ve(He):Je(He)};return(0,n.useEffect)(()=>{var Ee;mt((pe==4||pe==5?(Ee=tt==null?void 0:tt.data)==null?void 0:Ee.list:q==null?void 0:q.student_works)||[])},[q,tt]),(0,n.useEffect)(()=>{_e.open&&Zt(),_e.open||(mt([]),it(Pe(Re({},nt),{search:"",page:1,limit:10})),je(null),ft(!1),Ie.resetFields())},[_e.open,nt.page,nt.limit]),(0,n.useEffect)(()=>{console.log(ee)},[ee]),u.createElement(u.Fragment,null,u.createElement(y.default,Re({},_e),u.createElement(E.Z,{wrap:!1,justify:"space-between",align:"middle"},u.createElement(r.Z,null,Vt()),u.createElement(r.Z,null,u.createElement(d.t7,{style:{width:300},value:nt==null?void 0:nt.search,placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onChange:Ee=>{Zt(Pe(Re({},nt),{search:decodeURIComponent(Ee).trim(),page:1}))},onInputChange:Ee=>{it(Pe(Re({},nt),{search:decodeURIComponent(Ee).trim()}))}}))),u.createElement(x.default,{loading:ge||_t,className:"mt20",columns:cn(),locale:{emptyText:u.createElement(Q.Z,null)},dataSource:Ge,pagination:{total:(q==null?void 0:q.work_count)||((Ae=tt==null?void 0:tt.data)==null?void 0:Ae.count)||0,onChange:(Ee,He)=>{it(Pe(Re({},nt),{page:Ee,limit:He}))},current:nt==null?void 0:nt.page,pageSize:nt==null?void 0:nt.limit}})),u.createElement(y.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:$e,centered:!0,destroyOnClose:!0,onCancel:()=>{ft(!1)},maskClosable:!1,width:544,onOk:()=>{Ie.submit()}},u.createElement(c.default,{form:Ie,colon:!1,onFinish:Ee=>Tt(void 0,null,function*(){(yield N(Pe(Re({},Ee),{userId:ee.student_work_id,score_id:ee.student_works_score_id,status:3}))).status===0&&(Zt(),ft(!1))})},u.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),u.createElement(J.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:u.createElement("a",{onClick:()=>{Ke(Pe(Re({},ee),{id:ve.is_jupyter||ve.is_jupyter_lab?ee==null?void 0:ee.id:ee==null?void 0:ee.student_work_id}))}},ee==null?void 0:ee.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:u.createElement("span",{style:{color:"#191919"}},ee==null?void 0:ee.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:u.createElement("span",{style:{color:"#191919"}},ee==null?void 0:ee.score)}]}),u.createElement(E.Z,{className:"mt20",wrap:!1},u.createElement(r.Z,null,u.createElement(c.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},u.createElement(I.Z,{min:1,max:100,step:1}))),u.createElement(r.Z,null,u.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),u.createElement(r.Z,null,u.createElement(c.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},u.createElement(b.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570")))))))},Rt={wrap:"wrap___W0LgL",MdEditor:"MdEditor___cHRH7",workListButtonWrap:"workListButtonWrap___QZZWS",anticon:"anticon___m82JD",workListClass:"workListClass___jvhD1",left:"left______XB",visible:"visible___Z1XhK",status:"status___gJ0dF",tips:"tips___dUSKO",redoBtn:"redoBtn___yd1Bl",scroll:"scroll___kwGSX",codewrap:"codewrap___OuRJd",viewcode:"viewcode___D8Xzb",lefttitle:"lefttitle___cmyHe",export_type_modal_title:"export_type_modal_title___v0LPC",export_type_modal:"export_type_modal___OtCoW",export_type_modal_con:"export_type_modal_con___jYlKl",type_item:"type_item___wLYJg",type_item_active:"type_item_active___xScmP",export_type_modal_waring:"export_type_modal_waring___c88Oc"},Bn=s(12290),Xt=s(84105),sn=s(87395),wn=s(67921),Pn=s(89489),bn=s(78297),Hn=s(39020),_n=s(96460),mn=s(58617),Ye=s(59301),pn=Object.defineProperty,xn=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable,Vn=(S,C,v)=>C in S?pn(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,tu=(S,C)=>{for(var v in C||(C={}))Sn.call(C,v)&&Vn(S,v,C[v]);if(xn)for(var v of xn(C))Mn.call(C,v)&&Vn(S,v,C[v]);return S},ru=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Nn=({shixunHomeworks:S,user:C,loading:v,dispatch:pe})=>{var fe,he,_e,Ae,ae,Ie;const ve=(0,W.useParams)(),{workList:oe}=S,[,$e,ft]=(0,t.U)(e.Gw,{homeworkId:oe==null?void 0:oe.id}),ee=(ge,Je={},q=0)=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":ge||"--",je=[{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,isShow:!0},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0,isShow:!0},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",ellipsis:!0,render:ge=>ge===-1?"\u91CD\u505A\u4E2D":Ye.createElement(f.Uw,{status:ge}),isShow:!0},{title:"\u5F53\u524D\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(ge,Je)=>Ye.createElement(D.Z,{placement:"bottom",title:Ye.createElement("div",null,Ye.createElement("div",null,Je.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${Je.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Ye.createElement("div",null,Je.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${Je.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),oe!=null&&oe.anonymous_comment?Ye.createElement("div",null,Je.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${Je.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Ye.createElement("div",null,Je.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${Je.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Ye.createElement("div",null,Je.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${Je.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),oe!=null&&oe.anonymous_comment?Ye.createElement("div",null,Je.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${Je.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(oe==null?void 0:oe.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${Je.appeal_penalty||"0.0"}\u5206`,Ye.createElement("div",null,Je.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${Je.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(oe!=null&&oe.is_jupyter||oe!=null&&oe.is_jupyter_lab)&&Ye.createElement("div",{onClick:q=>{var _t;q.stopPropagation(),(0,f.xg)(oe.is_jupyter||oe.is_jupyter_lab?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/${Je.id}/comment`:ve.course_group?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${Je.id}?ids=${(_t=ve.course_group)==null?void 0:_t.toString()}`:`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${Je.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ge>0?Ye.createElement("span",{style:{color:"#ff8100"}},ge):ge),isShow:!0},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"redo_count",ellipsis:!0,isShow:!0,render:ee},{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_count",ellipsis:!0,isShow:oe==null?void 0:oe.can_submit,render:(ge,Je={},q=0)=>(oe==null?void 0:oe.work_status)==0?"--":ge||"--"},{title:"\u9700\u8BC4\u6570",dataIndex:"need_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u5DF2\u8BC4\u6570",dataIndex:"user_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u88AB\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",dataIndex:"appeal_deal_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"center",width:80,render:(ge,Je)=>Ye.createElement("a",{onClick:()=>{var q;(q=oe==null?void 0:oe.homework_status)!=null&&q.includes("\u5BFC\u5165")||it(Je,"review")}},"\u67E5\u770B"),isShow:!0}].filter(ge=>ge.isShow),nt=[{title:"\u5E8F\u53F7",dataIndex:"name",ellipsis:!0,width:120,render:(ge,Je,q)=>q+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:ee},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"current_user_work_status",ellipsis:!0,render:ge=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":ge?Ye.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u8BC4"):Ye.createElement("span",{style:{color:"#FF6801"}},"\u672A\u8BC4")},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:ge=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":ge?i()(ge).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee},{title:"\u88AB\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee},{title:"\u88AB\u7533\u8BC9\u5BA1\u6838\u72B6\u6001",dataIndex:"current_user_appeal_status",ellipsis:!0,render:ge=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":ge===1?Ye.createElement("span",{style:{color:"#FF6801"}},"\u5F85\u5BA1\u6838"):ge===-1?"--":Ye.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u5BA1\u6838")},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"right",width:80,render:(ge,Je)=>{var q;return Ye.createElement("a",{onClick:()=>{var _t;if((oe==null?void 0:oe.work_status)==0||(oe==null?void 0:oe.work_status)==-1){h.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}(_t=oe.homework_status)!=null&&_t.includes("\u5BFC\u5165")||it(Je)}},!((q=oe==null?void 0:oe.homework_status)!=null&&q.includes("\u5DF2\u622A\u6B62")&&!(oe!=null&&oe.work_public)&&(0,l.dE)())&&(Je!=null&&Je.current_user_work_status?"\u67E5\u770B":"\u8BC4\u9605"))}}],it=(ge={},Je="")=>{var q;ge!=null&&ge.id&&(0,f.xg)(oe.is_jupyter||oe.is_jupyter_lab?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/${ge.id}/comment`:ve.course_group?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${ge==null?void 0:ge.id}?ids=${(q=ve.course_group)==null?void 0:q.toString()}&review=${Je}`:`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${ge==null?void 0:ge.id}?review=${Je}`)};return Ye.createElement("section",{className:"minH500 bg-white p30",style:{paddingTop:25}},!(oe!=null&&oe.all_member_count)&&!v["shixunHomeworks/getWorkList"]&&(((fe=oe==null?void 0:oe.homework_status)==null?void 0:fe.includes("\u672A\u53D1\u5E03"))||((he=oe==null?void 0:oe.homework_status)==null?void 0:he.includes("\u672A\u5F00\u59CB")))&&Ye.createElement(Q.Z,null),!((_e=oe==null?void 0:oe.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))&&!((Ae=oe==null?void 0:oe.homework_status)!=null&&Ae.includes("\u672A\u5F00\u59CB"))&&Ye.createElement(Ye.Fragment,null,Ye.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ye.createElement(r.Z,null,Ye.createElement("span",{className:"c-grey-333"},"\u6211\u7684\u4F5C\u54C1")),Ye.createElement(r.Z,null,Ye.createElement("span",null,(ae=oe==null?void 0:oe.left_time)==null?void 0:ae.status,Ye.createElement("span",{className:"ml10",style:{color:"#FF9D18"}},(Ie=oe==null?void 0:oe.left_time)==null?void 0:Ie.time)))),(oe==null?void 0:oe.is_shixun)&&!(oe!=null&&oe.open_evaluate)&&!(oe!=null&&oe.is_close_tips)&&Ye.createElement(E.Z,{align:"middle",justify:"space-between",style:{background:"#F5F5F5",borderRadius:4,height:42,padding:"0px 10px",color:"#9096A3"}},Ye.createElement(r.Z,null,Ye.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85\u6559\u5E08\u7684\u8BC4\u5206\u7ED3\u679C\u3002 ")),Ye.createElement(r.Z,null,Ye.createElement("span",{className:"current",onClick:()=>ru(void 0,null,function*(){const ge=yield(0,ne.ZP)(`/api/homework_commons/${ve.categoryId}/close_tips.json`,{method:"post"});(ge==null?void 0:ge.status)===0&&pe({type:"shixunHomeworks/getWorkList",payload:tu({},ve)})})},"X"))),!(oe!=null&&oe.is_shixun)&&(oe==null?void 0:oe.feedback_notice)&&Ye.createElement("div",{className:"font14 mt10",style:{padding:"9px 20px",background:"rgba(255,157,24,0.1)",color:"#FF9D18",display:"flex",alignItems:"center"}},Ye.createElement("i",{className:"iconfont icon-tishi11 font14"}),Ye.createElement("span",{className:"ml10",style:{flex:"1"}},"\u6709\u5B66\u751F\u53CD\u9988\u4E86\u4F5C\u54C1\u95EE\u9898\uFF0C\u8BF7\u53CA\u65F6\u67E5\u770B\u5904\u7406"),$e?Ye.createElement(mn.Z,null):Ye.createElement("i",{className:"iconfont icon-guanbi10 font14 current",style:{color:"#979797"},onClick:()=>ru(void 0,null,function*(){const ge=yield ft({homeworkId:oe==null?void 0:oe.id});(ge==null?void 0:ge.status)===0&&pe({type:"shixunHomeworks/getWorkList",payload:tu({},ve)})})})),Ye.createElement(x.default,{className:"mt20",locale:{emptyText:Ye.createElement(Q.Z,null)},pagination:!1,columns:je,dataSource:[oe]}),(oe==null?void 0:oe.student_anonymous_comment)&&Ye.createElement("div",{className:"mt20"},Ye.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ye.createElement(r.Z,null,"\u5171",Ye.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},(oe==null?void 0:oe.work_count)||0),"\u4EFD\u4F5C\u4E1A\u9700\u8BC4\u9605"),Ye.createElement(r.Z,null,Ye.createElement("i",{className:"iconfont icon-shijian1 c-grey-666 mr10"}),"\u533F\u8BC4\u65F6\u95F4",Ye.createElement("span",{className:"c-grey-333 ml10"},(oe==null?void 0:oe.evaluation_start)&&i()(oe==null?void 0:oe.evaluation_start).format("YYYY-MM-DD HH:mm"),"\u81F3 ",(oe==null?void 0:oe.evaluation_end)&&i()(oe==null?void 0:oe.evaluation_end).format("YYYY-MM-DD HH:mm")))),Ye.createElement(x.default,{className:"mt20",locale:{emptyText:Ye.createElement(Q.Z,null)},columns:nt,dataSource:oe==null?void 0:oe.student_works,pagination:!1}))))};var Fu=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:pe})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:pe}))(Nn),_u=s(24571),Y=s(59301),ou=Object.defineProperty,et=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,qt=(S,C,v)=>C in S?ou(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,ht=(S,C)=>{for(var v in C||(C={}))st.call(C,v)&&qt(S,v,C[v]);if(ut)for(var v of ut(C))Ht.call(C,v)&&qt(S,v,C[v]);return S},Ut=(S,C)=>et(S,qe(C)),pt=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const $t=(0,n.createRef)(),Qt=({shixunHomeworks:S,classroomList:C,loading:v,zip:pe,btnLoading:fe,setBtnLoading:he,dispatch:_e})=>{var Ae,ae,Ie,ve,oe,$e,ft,ee,je,nt,it,ge,Je,q,_t,Ve,tt,N,It,Ge,mt,Vt,cn,Ke;const[Zt]=(0,W.useSearchParams)(),[Ee,He]=(0,n.useState)(ht(ht({},(0,W.useParams)()),{page:Zt.get("page")||1,limit:20})),{workList:se,actionTabs:kt,workSetting:tn}=S,[dn,lt]=(0,n.useState)([]),[Le,Wt]=(0,n.useState)(1),[yt,ln]=(0,n.useState)(),[ct,Ue]=(0,n.useState)(),[Et,me]=(0,n.useState)(),[rt,dt]=(0,n.useState)(),[Ot,Lt]=(0,n.useState)(),[Bt,Gt]=(0,n.useState)(!1),[fn,In]=(0,n.useState)(1),[Fn,On]=(0,n.useState)(!1),[Rn,gn]=(0,n.useState)(!1),[Qn,ju]=(0,n.useState)([]),[ma,$n]=(0,n.useState)(!1),[wu,Kt]=(0,n.useState)(),[pa,zu]=(0,n.useState)(!1),[na,ua]=(0,n.useState)(""),[xe,Oe]=(0,n.useState)(),[an,bt]=(0,n.useState)(),[vt,Yt]=(0,n.useState)(null),[rn,on]=(0,n.useState)(!0),[Pt,Dt]=(0,n.useState)([]),[Nt,nn]=(0,n.useState)([]),[Te,Ne]=(0,n.useState)(0),[Se,xt]=(0,n.useState)({status:!1,visible:!0}),[Yn,mu]=(0,n.useState)(!1),[bu,Nu]=(0,n.useState)(""),[jn]=c.default.useForm(),[Hu,Gn]=(0,n.useState)(!0),[Kn,Ja]=(0,n.useState)(!1);(0,n.useEffect)(()=>{$t&&$t.current&&($t.current.clientHeight>47?xt({status:!0,visible:!0}):xt({status:!1,visible:!0}))},[se.course_group_info&&se.course_group_info.length]),(0,n.useEffect)(()=>{se!=null&&se.course_id&<(se==null?void 0:se.student_works)},[se]);const vu=()=>pt(void 0,null,function*(){const ce=yield _e({type:"shixunHomeworks/getWorkList",payload:ht({},Ee)});(0,l.GJ)()?lt([...ce.student_works]):lt([...ce])});(0,n.useEffect)(()=>{if(Zt.get("page")){let ce=JSON.parse(localStorage.getItem("commonhomeworkkey"))||{};He(ht(ht({},Ee),ce)),ce.task_status=(ce==null?void 0:ce.work_status)||"all",ce.course_group_info=(ce==null?void 0:ce.course_group)||"all",ce.file_status=ce!=null&&ce.file_status?[ce==null?void 0:ce.file_status]:"all",ce.teacher_comment=ce!=null&&ce.teacher_comment?[ce==null?void 0:ce.teacher_comment]:"all",jn.setFieldsValue(ht({},ce))}},[]);function xu(){Wt(1),ln(""),Ue(""),me(""),Lt(""),dt(""),ju([])}const yo=()=>{Ee.page=1;const ce=Object.assign({},jn.getFieldsValue());Object.keys(ce).map(function(ke){switch(ke){case"task_status":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete Ee.work_status,jn.setFieldsValue({task_status:"all"})):(Ee.work_status=ce[ke],jn.setFieldsValue({task_status:Ee.work_status}));break;case"file_status":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete Ee.file_status,jn.setFieldsValue({file_status:"all"})):(Ee.file_status=ce[ke][0],jn.setFieldsValue({file_status:ce[ke]}));break;case"course_group_info":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete Ee.course_group,jn.setFieldsValue({course_group_info:"all"})):(Ee.course_group=ce[ke],jn.setFieldsValue({course_group_info:Ee.course_group}));break;case"teacher_comment":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete Ee.teacher_comment,jn.setFieldsValue({teacher_comment:"all"})):(Ee.teacher_comment=ce[ke][0],jn.setFieldsValue({teacher_comment:ce[ke]}));break}}),vu()},Ao=(ce,ke)=>{Dt(ke.map(un=>(un.course_group_id===ce&&(un.checked=!un.checked),un))),fa(ke)},fa=ce=>{nn(ce.filter(ke=>ke.checked).map(ke=>ke.course_group_id))},Zu=(0,n.useRef)();(0,n.useEffect)(()=>{Zu.current=Nt},[Nt]);const Co=(ce,ke)=>{Ee.page=ce,Ee.limit=ke,vu()},Bo=[{title:"\u5E8F\u53F7",dataIndex:"name",width:"5%",fixed:"left",render:(ce,ke,un)=>ke!=null&&ke.isMe&&(dn!=null&&dn.length)?"\u6211":Ee.limit*(Ee.page-1)+un+1},{title:"\u59D3\u540D",width:"5%",ellipsis:!0,dataIndex:"user_name"},((0,l.GJ)()||(0,l.dE)()&&!(se!=null&&se.anonymous_comment))&&{title:"\u5B66\u53F7",width:"8%",ellipsis:!0,dataIndex:"student_id",sortDirections:["descend","ascend"],sorter:!0,render:ce=>ce},!((0,l.dE)()&&((Ae=se==null?void 0:se.homework_status)!=null&&Ae.includes("\u533F\u8BC4\u4E2D")||(ae=se==null?void 0:se.homework_status)!=null&&ae.includes("\u7533\u8BC9\u4E2D")))&&se.course_group_count!==0&&{title:"\u5206\u73ED",width:"7%",ellipsis:!0,dataIndex:"group_name"},{title:se!=null&&se.is_jupyter_lab||se!=null&&se.is_jupyter?"\u4F5C\u4E1A\u72B6\u6001":"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",width:"12%",render:ce=>ce===-1?"\u91CD\u505A\u4E2D":Y.createElement(f.Uw,{status:ce})},((0,l.GJ)()||(0,l.dE)()&&!(se!=null&&se.anonymous_comment)&&!se.anonymous_appeal||(0,l.dE)()&&((Ie=se.homework_status)==null?void 0:Ie.includes("\u5DF2\u622A\u6B62")))&&{title:"\u6700\u7EC8\u6210\u7EE9",width:"8%",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!0,render:(ce,ke)=>Y.createElement(D.Z,{placement:"bottom",title:Y.createElement("div",null,Y.createElement("div",null,ke.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${ke.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Y.createElement("div",null,ke.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${ke.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),se!=null&&se.anonymous_comment?Y.createElement("div",null,ke.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${ke.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Y.createElement("div",null,ke.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${ke.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Y.createElement("div",null,ke.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${ke.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),se!=null&&se.anonymous_comment?Y.createElement("div",null,ke.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${ke.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(se==null?void 0:se.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${ke.appeal_penalty||"0.0"}\u5206`,Y.createElement("div",null,ke.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${ke.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(se!=null&&se.is_jupyter||se!=null&&se.is_jupyter_lab)&&Y.createElement("div",{onClick:un=>{var lu;un.stopPropagation(),localStorage.setItem("commonhomeworkkey",JSON.stringify(Ee)),(0,f.xg)(se.is_jupyter||se.is_jupyter_lab?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/${ke.id}/comment?page=${Ee.page}`:Ee.course_group?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ke.id}?page=${Ee.page}&ids=${(lu=Ee.course_group)==null?void 0:lu.toString()}`:`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ke.id}?page=${Ee.page}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ce>0?Y.createElement("span",{style:{color:"#ff8100"}},ce):ce)},{title:"\u66F4\u65B0\u65F6\u95F4",width:"10%",dataIndex:"update_time",sortDirections:["descend","ascend"],sorter:!0,render:ce=>ce?i()(ce).format("YYYY-MM-DD HH:mm"):"--"},((0,l.GJ)()||((ve=se==null?void 0:se.homework_status)==null?void 0:ve.includes("\u5DF2\u622A\u6B62")))&&{title:"\u6559\u5E08\u8BC4\u5206",width:"6%",dataIndex:"teacher_score"},((0,l.GJ)()||((oe=se==null?void 0:se.homework_status)==null?void 0:oe.includes("\u5DF2\u622A\u6B62")))&&{title:"\u52A9\u6559\u8BC4\u5206",width:"6%",dataIndex:"teaching_asistant_score"},(se==null?void 0:se.anonymous_comment)&&{title:"\u533F\u8BC4\u8BC4\u5206",width:"6%",dataIndex:"student_score",render:(ce,ke)=>Y.createElement(D.Z,{title:Y.createElement("div",null,Y.createElement("span",null,"\u4F60\u7684\u8BC4\u9605\u5206\u6570\uFF1A",ce,"\u5206"),Y.createElement("br",null),Y.createElement("span",null,"\u533F\u8BC4\u5B8C\u6210\u5EA6\uFF1A",ke.anonymous_comment_rate,"%"))},Y.createElement("span",null,ce))},(se==null?void 0:se.anonymous_comment)&&{title:"\u5DF2\u8BC4\u6570",width:"5%",dataIndex:"user_comment_count",render:ce=>Y.createElement(D.Z,{title:"\u5728\u533F\u8BC4\u671F\u95F4\u8BC4\u9605\u7684\u4F5C\u54C1\u6570\u91CF"},Y.createElement("span",null,ce))},(se==null?void 0:se.anonymous_appeal)&&{title:"\u533F\u8BC4\u7533\u8BC9",width:"8%",dataIndex:"appeal_all_count",render:(ce,ke)=>Y.createElement("div",null,!!ce&&Y.createElement(D.Z,{placement:"bottom",title:`\u5171\u6709${ce}\u6761\u533F\u8BC4\u7533\u8BC9\uFF0C${ke.appeal_deal_count}\u6761\u5F85\u5904\u7406`},Y.createElement("span",{style:{minWidth:"30px",display:"inline-block",textAlign:"center"}},`${ke.appeal_deal_count}/${ce}`)),!ce&&Y.createElement("span",null,"-/-"))},(tn==null?void 0:tn.can_submit)&&{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_size",width:"6%",render:ce=>ce||"- -"},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"redo_count",width:"6%",render:ce=>ce||"- -"},{title:"\u64CD\u4F5C",width:"10%",align:"center",fixed:"right",dataIndex:"action",render:(ce,ke)=>{var un,lu,Ln;return(un=se.homework_status)!=null&&un.includes("\u5BFC\u5165")?Y.createElement("div",{style:{display:"flex",alignItems:"center"}}," ",(0,l.GJ)()&&Y.createElement("a",{onClick:Zn=>{Zn.stopPropagation(),_e({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:ke==null?void 0:ke.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"),Y.createElement("a",{style:{marginLeft:(0,l.GJ)()&&10},onClick:(0,a.debounce)(Zn=>pt(void 0,null,function*(){var zn,hu,Uu,Wu,qa;Zn.stopPropagation();let pu=yield(0,ne.ZP)(`/api/student_works/${ke==null?void 0:ke.id}/passed_condition.json`,{method:"get"});y.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:Y.createElement("div",null,Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",null,Y.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),Y.createElement("span",{style:{marginLeft:10}},(zn=pu==null?void 0:pu.data)==null?void 0:zn.user_name)),Y.createElement("div",{style:{marginLeft:60}},Y.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),Y.createElement("span",{style:{marginLeft:10}},(hu=pu==null?void 0:pu.data)==null?void 0:hu.student_id)),Y.createElement("div",{style:{marginLeft:60}},Y.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),Y.createElement("span",{style:{marginLeft:10}},(Uu=pu==null?void 0:pu.data)==null?void 0:Uu.group_name))),Y.createElement("div",{style:{marginTop:22}},Y.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),Y.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((Wu=pu==null?void 0:pu.data)==null?void 0:Wu.description)||"\u6682\u65E0\u4FE1\u606F")),Y.createElement("div",{style:{marginTop:22,marginBottom:20}},Y.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),Y.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((qa=pu==null?void 0:pu.data)==null?void 0:qa.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):ke.work_status===0&&!(0,l.GJ)()?Y.createElement("div",null,"--"):Y.createElement("div",null,!(0,l.GJ)()&&Y.createElement("div",null,Y.createElement("a",{target:"_blank"},"\u67E5\u770B")),(0,l.GJ)()&&Y.createElement("div",null,Y.createElement(W.Link,{className:"c-blue",target:"_blank",to:se.is_jupyter||se.is_jupyter_lab?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/${ke.id}/comment?page=${Ee.page}`:Ee.course_group?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ke.id}?ids=${(lu=Ee.course_group)==null?void 0:lu.toString()}&page=${Ee.page}`:`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ke.id}?page=${Ee.page}`,onClick:Zn=>{var zn,hu,Uu,Wu;if(localStorage.setItem("commonhomeworkkey",JSON.stringify(Ee)),Zn.stopPropagation(),Ee.course_group?(0,l.Rm)()&&!((hu=(zn=C.AssistantObject)==null?void 0:zn.group)!=null&&hu.can_view):(0,l.Rm)()&&!((Wu=(Uu=C.AssistantObject)==null?void 0:Uu.normal)!=null&&Wu.can_view)){Zn.preventDefault(),h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}},ke.has_comment?"\u5DF2\u8BC4\u9605":"\u8BC4\u9605"),Y.createElement("br",null),Y.createElement(D.Z,{placement:"bottom",title:Y.createElement("p",null,"\u8C03\u6574\u5B66\u751F\u5F53\u524D\u6210\u7EE9",Y.createElement("br",null),"\u5176\u5B83\u5386\u53F2\u8BC4\u5206\u5C06\u5168\u90E8\u5931\u6548")},Y.createElement("a",{className:"c-green",onClick:Zn=>pt(void 0,null,function*(){Zn.preventDefault(),Zn.stopPropagation(),_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8C03\u5206",selectArrs:ke,id:ke.id,params:Ee}})})},"\u8C03\u5206"))),(0,l.GJ)()&&Y.createElement("div",null,ke.work_status!==-1&&ke.work_status!==0&&ke.myshixun_identifier&&((se==null?void 0:se.is_jupyter)||(se==null?void 0:se.is_jupyter_lab))&&Y.createElement(E.Z,{justify:"center"},Y.createElement("a",{onClick:Zn=>pt(void 0,null,function*(){if(Zn.stopPropagation(),zu(!0),on(!0),ua(ke.shixun_url),Oe(ke.id),Yt(ke.evaluation_codes),bt(null),ke.myshixun_identifier){const zn=yield(0,ne.ZP)("/api/jupyters/preview_tpi.json",{method:"get",params:{identifier:ke.myshixun_identifier,student_work_id:ke.id}});zn.status===0&&(bt(zn.html_content),on(!1))}})},"\u67E5\u770B\u4EE3\u7801")),(se!=null&&se.is_new_rule?ke.work_status!==-1&&ke.work_status!==0:ke.work_status!==-1&&ke.work_status!==0&&!((Ln=se==null?void 0:se.homework_status)!=null&&Ln.includes("\u5DF2\u622A\u6B62")))&&Y.createElement(E.Z,{justify:"center"},Y.createElement("span",{className:Rt.redoBtn,onClick:Zn=>{var zn;if(Zn.stopPropagation(),(0,l.Rm)()&&!((zn=C.AssistantObject.normal)!=null&&zn.can_redo)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"shixunHomeworks/setActionTabs",payload:{key:"redoShixunModal",homework_common_id:se.homework_id,student_work_id:ke.id,isshixun:se.is_shixun}})}},"\u6253\u56DE\u91CD\u505A"))))}}].filter(ce=>!!ce),eu=(ce={key:""})=>{_e({type:"shixunHomeworks/setActionTabs",payload:ce})},Do=()=>{var ce;return tn!=null&&tn.anonymous_comment||(ce=se==null?void 0:se.homework_status)!=null&&ce.includes("\u533F\u8BC4\u4E2D")?[{title:"\u5B66\u751F\u4EBA\u6570",dataIndex:"work_count"},{title:"\u672A\u63D0\u4EA4",dataIndex:"not_submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:0})}},ke)},{title:"\u6309\u65F6\u63D0\u4EA4",dataIndex:"submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:1})}},ke)},{title:"\u5EF6\u65F6\u63D0\u4EA4",dataIndex:"delayed_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5EF6\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:2})}},ke)},{title:"\u672A\u533F\u8BC4",dataIndex:"no_evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u533F\u8BC4\u7684\u5B66\u751F\u5217\u8868",new_work_status:1})}},ke)},{title:"\u533F\u8BC4\u4E2D",dataIndex:"in_evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u533F\u8BC4\u4E2D\u7684\u5B66\u751F\u5217\u8868",new_work_status:2})}},ke)},{title:"\u5B8C\u6210\u533F\u8BC4",dataIndex:"evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5B8C\u6210\u533F\u8BC4\u7684\u5B66\u751F\u5217\u8868",new_work_status:3})}},ke)},{title:"\u7533\u8BC9\u6B21\u6570",dataIndex:"review",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u63D0\u4EA4\u7533\u8BC9\u7684\u5B66\u751F\u5217\u8868",new_work_status:4})}},ke)},{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",dataIndex:"under_review",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5F85\u5BA1\u6838\u7533\u8BC9\u5217\u8868",new_work_status:5})}},ke)}]:[{title:"\u5B66\u751F\u4EBA\u6570",dataIndex:"work_count"},{title:"\u672A\u63D0\u4EA4",dataIndex:"not_submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:0})}},ke)},{title:"\u6309\u65F6\u63D0\u4EA4",dataIndex:"submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:1})}},ke)},{title:"\u8865\u4EA4",dataIndex:"delayed_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u8865\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:2})}},ke)}]},Xa=ce=>pt(void 0,null,function*(){he(!0),(yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/student_works/export_normal_word_all.json`,{method:"post",body:{with_edit:ce,student_works_ids:se==null?void 0:se.student_works_ids,with_submit_record:Hu,course_group:[...JSON.parse(sessionStorage.all_student_works_params).course_group]}})).status===0&&(mu(!1),W.history.push(`/classrooms/${Ee==null?void 0:Ee.coursesId}/exportlist/normal_work_list`)),he(!1)}),wo=()=>{var ce,ke,un,lu;return Y.createElement(_.default,null,Y.createElement(_.default.Item,{key:"1"},Y.createElement("span",{onClick:()=>{var Ln;if((0,l.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:se==null?void 0:se.course_group_info,fn:()=>{(0,bn.Iy)(JSON.parse(sessionStorage.all_student_works_params),"normal_work_list")}}})}}," \u5BFC\u51FA\u6210\u7EE9 ")),(se==null?void 0:se.start_permanent)&&Y.createElement(_.default.Item,{onClick:()=>pt(void 0,null,function*(){let Ln=yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/export_workspace_files.json`,{method:"post",body:{is_repeat_export:0}});Ln.status===0&&W.history.push(`/classrooms/${Ee.coursesId}/exportlist/workspace_files`),Ln.status===-3&&(_e({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u590D\u5BFC\u51FA\u63D0\u9192",params:Ee}}),W.history.push(`/classrooms/${Ee.coursesId}/exportlist/workspace_files`))}),key:"4"},"\u5B9E\u9A8C\u6570\u636E"),!((ce=se.homework_status)!=null&&ce.includes("\u5BFC\u5165"))&&(0,l.GJ)()&&((ke=se==null?void 0:se.student_works)==null?void 0:ke.length)>0&&((se==null?void 0:se.is_jupyter)||(se==null?void 0:se.is_jupyter_lab))&&Y.createElement(_.default.Item,{key:"2"},Y.createElement("span",{onClick:Ln=>{var Zn;if((0,l.Rm)()&&!((Zn=C.AssistantObject.normal)!=null&&Zn.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:se==null?void 0:se.course_group_info,fn:()=>{var zn,hu;_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A",type:2}}),(0,f.xg)(`/classrooms/${Ee==null?void 0:Ee.coursesId}/common_homework/${Ee.categoryId}/${(hu=(zn=se==null?void 0:se.student_works)==null?void 0:zn[0])==null?void 0:hu.id}/comment`)}}})}},"\u5B9E\u8BAD\u62A5\u544A")),!((un=se.homework_status)!=null&&un.includes("\u5BFC\u5165"))&&((lu=se==null?void 0:se.student_works)==null?void 0:lu.length)>0&&!(se!=null&&se.is_jupyter_lab)&&!(se!=null&&se.is_jupyter)&&Y.createElement(_.default.Item,{key:"3"},Y.createElement(H.ZP,{loading:fe,style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Ln;if((0,l.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6",course_groups:se==null?void 0:se.course_group_info,fn:()=>{Nu("\u9644\u4EF6"),mu(!0)}}})}},"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6")),Y.createElement(_.default.Item,{key:"5",onClick:()=>{var Ln;if((0,l.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${Ee.coursesId}/exportlist/normal_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return(0,l.dE)()?Y.createElement(Fu,null):Y.createElement("section",{className:`${Rt.wrap} minH500`},Y.createElement("aside",{className:`minH500 bg-white pl30 ${(0,l.GJ)()?"pt30":""} pr30`},!(se!=null&&se.all_member_count)&&!v["shixunHomeworks/getWorkList"]&&((($e=se==null?void 0:se.homework_status)==null?void 0:$e.includes("\u672A\u53D1\u5E03"))||((ft=se==null?void 0:se.homework_status)==null?void 0:ft.includes("\u672A\u5F00\u59CB")))&&Y.createElement(Q.Z,null),Y.createElement("aside",null,!!(se!=null&&se.all_member_count)&&Y.createElement("aside",{className:"mb30"},Y.createElement(c.default,{form:jn,onChange:yo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all",file_status:"all"}},!!((ee=se.teacher_comment)!=null&&ee.length)&&Y.createElement(c.default.Item,{name:"teacher_comment"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(E.Z,null,Y.createElement(r.Z,{flex:"80px",style:{fontSize:14}},"\u4F60\u7684\u8BC4\u9605:"),Y.createElement(r.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")),Y.createElement(r.Z,{flex:"1"},(je=se.teacher_comment)==null?void 0:je.map(ce=>Y.createElement(b.default,{value:ce.id,key:ce.id}," ",ce.name,"(",ce.count,") ")))))),!!((nt=se==null?void 0:se.file_status)!=null&&nt.length)&&(0,l.GJ)()&&Y.createElement(c.default.Item,{name:"file_status"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(E.Z,null,Y.createElement(r.Z,{flex:"80px",style:{fontSize:14}},"\u9644\u4EF6\u72B6\u6001:"),Y.createElement(r.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")),Y.createElement(r.Z,{flex:"1"},(it=se==null?void 0:se.file_status)==null?void 0:it.map(ce=>Y.createElement(b.default,{value:ce.id,key:ce.id},ce.name,"(",ce.count,")")))))),!!((ge=se.task_status)!=null&&ge.length)&&Y.createElement(c.default.Item,{name:"task_status"},Y.createElement(b.default.Group,{value:[],style:{width:"100%"}},Y.createElement(E.Z,null,Y.createElement(r.Z,{flex:"80px",style:{fontSize:14}}," \u4F5C\u54C1\u72B6\u6001: "),Y.createElement(r.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")," "),Y.createElement(r.Z,{flex:"1"},(Je=se.task_status)==null?void 0:Je.map(ce=>Y.createElement(b.default,{name:"task_status",value:ce.id,key:ce.id},ce.name,"(",ce.count,")")))))),!!((q=se.course_group_info)!=null&&q.length)&&Y.createElement(c.default.Item,{name:"course_group_info"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(E.Z,null,Y.createElement(r.Z,{flex:"80px",style:{fontSize:14}},"\u5206\u73ED\u60C5\u51B5:"),Y.createElement(r.Z,{flex:"80px"},Y.createElement(b.default,{value:"all",checked:!Ee.course_group_info},"\u5168\u90E8")),Y.createElement(r.Z,{flex:"1",className:`${Rt.workListClass} ${Se.visible?Rt.visible:""} ${Se.status?"":Rt.status}`},Y.createElement("div",{ref:$t,className:Rt.left},se.course_group_info.map((ce,ke)=>Y.createElement(b.default,{value:ce.course_group_id,key:ce.course_group_id}," ",ce.group_group_name,"(",ce.count,")"))),Se.status&&Y.createElement("div",{className:Rt.tips,onClick:()=>xt(Ut(ht({},Se),{visible:!Se.visible}))},Y.createElement("span",null,Se.visible?"\u5C55\u5F00":"\u6536\u8D77",Se.visible?Y.createElement(Xt.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Y.createElement(sn.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))))),Y.createElement("div",{className:"mt40",style:{marginBottom:"40px"}},Y.createElement("span",{className:"c-grey-333"},"\u4F5C\u4E1A\u6982\u89C8"),Y.createElement(x.default,{className:"mt20",locale:{emptyText:Y.createElement(Q.Z,null)},columns:Do(),dataSource:[se==null?void 0:se.group_data],pagination:!1})),Y.createElement(E.Z,{align:"middle"},Y.createElement(r.Z,{flex:"1"},Y.createElement(E.Z,{align:"middle"},Y.createElement(r.Z,null,Y.createElement(F.default.Search,{style:{width:240},allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ce=>{Ee.page=1,Ee.search=ce.trim(),vu()}})),Y.createElement(r.Z,null,Y.createElement("span",{className:"ml5 c-red"},se.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",se.work_count,"\u4E2A\u5B66\u751F\uFF09"))),Y.createElement(r.Z,{style:{textAlign:"end"},className:Rt.workListButtonWrap},!((_t=se.homework_status)!=null&&_t.includes("\u5BFC\u5165"))&&!(se!=null&&se.is_jupyter||se!=null&&se.is_jupyter_lab)&&Y.createElement(H.ZP,{className:"mr10",onClick:()=>{_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:Ee}})}},"\u6587\u6863\u67E5\u91CD"),!(se!=null&&se.is_new_rule)&&!((Ve=se.homework_status)!=null&&Ve.includes("\u5BFC\u5165"))&&(((tt=se==null?void 0:se.homework_status)==null?void 0:tt.includes("\u63D0\u4EA4\u4E2D"))||((N=se==null?void 0:se.homework_status)==null?void 0:N.includes("\u8865\u4EA4\u4E2D"))||((It=se==null?void 0:se.homework_status)==null?void 0:It.includes("\u8FDB\u884C\u4E2D")))&&Y.createElement(H.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>{var ce;if((0,l.Rm)()&&!((ce=C.AssistantObject.normal)!=null&&ce.can_redo)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}gn(!0),pt(void 0,null,function*(){const un=yield(0,ne.ZP)(`/api/homework_commons/${Ee==null?void 0:Ee.categoryId}/teacher_manage_groups.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});un.status===0&&(console.log("\u53D1\u9001\u8BF7\u6C42\u4E86",un),Dt(un.data.list),fa(un.data.list))})}}," \u4E00\u952E\u6253\u56DE"),!((Ge=se.homework_status)!=null&&Ge.includes("\u5BFC\u5165"))&&Y.createElement(H.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-yijiandianping"}),onClick:()=>{Gt(!0)}},"\u4E00\u952E\u70B9\u8BC4"),((mt=se.homework_status)==null?void 0:mt.includes("\u5DF2\u622A\u6B62"))&&!se.is_jupyter&&!se.is_jupyter_lab&&Y.createElement(H.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-daoruwaibuchengji"}),onClick:()=>{Ja(!0)}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"),Y.createElement(P.Z,{dropdownRender:wo},Y.createElement(H.ZP,{icon:Y.createElement(wn.Z,null)},"\u5BFC\u51FA",Y.createElement(Pn.Z,null))))),(se==null?void 0:se.is_shixun)&&!(se!=null&&se.open_evaluate)&&!(se!=null&&se.is_close_tips)&&Y.createElement(E.Z,{style:{marginTop:"15px",display:"inline-flex",background:"#F5F5F5",borderRadius:4,height:42,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",color:"#9096A3",justifyContent:"space-between"}},Y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206"),Y.createElement("span",{style:{cursor:"pointer"},onClick:()=>pt(void 0,null,function*(){let ce=yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/close_tips.json`,{method:"post"});(ce==null?void 0:ce.status)===0&&_e({type:"shixunHomeworks/getWorkList",payload:ht({},Ee)})})},"X"))),Y.createElement(x.default,{loading:v["shixunHomeworks/getWorkList"],hideOnSinglePage:!0,pagination:!1,size:"middle",style:{cursor:"pointer"},scroll:(se==null?void 0:se.anonymous_comment)&&{x:1300},dataSource:dn,columns:Bo,onRow:(ce,ke)=>({onClick:()=>{var un,lu;(un=se.homework_status)!=null&&un.includes("\u5BFC\u5165")||(localStorage.setItem("commonhomeworkkey",JSON.stringify(Ee)),(0,f.xg)(se.is_jupyter||se.is_jupyter_lab?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/${ce.id}/comment?page=${Ee.page}`:Ee.course_group?`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ce.id}?ids=${(lu=Ee.course_group)==null?void 0:lu.toString()}&page=${Ee.page}`:`/classrooms/${Ee.coursesId}/common_homework/${Ee.categoryId}/review/${ce.id}?page=${Ee.page}`))}}),rowKey:"id",onChange:(ce,ke,un)=>{if(un.order===void 0)switch(un.field){case"student_id":Ee.b_order="desc",Ee.order=un.field;break;default:delete Ee.b_order,delete Ee.order}else Ee.b_order=un.order.replace("end",""),Ee.order=un.field;vu()}}))),Y.createElement("aside",{className:"tc mb50 mt30"},Y.createElement(L.Z,{showSizeChanger:!0,showQuickJumper:!0,onChange:Co,defaultCurrent:parseInt(Ee.page)||1,current:parseInt(Ee.page)||1,defaultPageSize:20,total:S.workList.work_count})),Y.createElement(Ze,null),Y.createElement(g,null),Y.createElement(ze.Z,{getData:vu}),Y.createElement(y.default,{title:"\u4E00\u952E\u8BC4\u9605",open:Bt,centered:!0,onOk:()=>{var ce,ke;if((0,l.Rm)()&&!((ke=(ce=C.AssistantObject)==null?void 0:ce.normal)!=null&&ke.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Le===1){if(yt!==0){if(!yt){h.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}}Gt(!1),On(!0)}else{if(!(Et===0||ct===0)){if(!Et){h.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Et>ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}Gt(!1),On(!0)}},onCancel:()=>{Gt(!1),xu()}},Y.createElement("div",{style:{padding:"32px"}},Y.createElement("div",null,Y.createElement("div",null,Y.createElement("span",{style:{width:"80px"}},"\u8BC4\u9605\u65B9\u5F0F\uFF1A"),Y.createElement(Z.ZP.Group,{value:Le,onChange:ce=>{Wt(ce.target.value)}},Y.createElement(Z.ZP,{value:1},"\u7EDF\u4E00\u5F97\u5206"),Y.createElement(Z.ZP,{value:2},"\u533A\u95F4\u968F\u673A\u5F97\u5206"))),Le===1&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u5F97\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:yt,onChange:ce=>ln(ce)})),Le===2&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:Et,onChange:ce=>me(ce),style:{width:"100px"}}),Y.createElement("span",{style:{width:"80px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:ct,onChange:ce=>Ue(ce),style:{width:"100px"}})),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px",textAlign:"end"}},"\u8BC4\u8BED\uFF1A"),Y.createElement(F.default.TextArea,{value:rt,onChange:ce=>dt(ce.target.value),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"})),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px",textAlign:"end"}},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1\uFF1A"),Y.createElement(F.default.TextArea,{value:Ot,onChange:ce=>Lt(ce.target.value),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Y.createElement(y.default,{title:"\u63D0\u793A",open:Fn,centered:!0,okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>pt(void 0,null,function*(){let ce={};Le===1?ce.score=yt||"0":(ce.min_score=Et||"0",ce.max_score=ct||"0"),ce.comment=rt,ce.hidden_comment=Ot,fn===1?ce.student_work_ids=dn.map(un=>un.id):ce.student_work_ids=dn.filter(un=>!un.has_comment).map(un=>un.id),(yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/batch_add_score.json`,{method:"post",body:ce})).status===0&&(h.ZP.info("\u4FEE\u6539\u6210\u529F"),On(!1),xu(),vu())}),onCancel:()=>{xu(),On(!1)}},Y.createElement("div",{style:{padding:"32px",textAlign:"center"}},Y.createElement("span",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),Y.createElement("br",null),Y.createElement(Z.ZP.Group,{value:fn,onChange:ce=>In(ce.target.value)},Y.createElement(Z.ZP,{value:1},"\u8986\u76D6\u5DF2\u6709\u8BC4\u8BBA"),Y.createElement(Z.ZP,{value:2},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4")))),Y.createElement(y.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:Rn,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>pt(void 0,null,function*(){if(fa(Pt),Le===2&&Zu.current){if(Qn.length<=0){h.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!rt){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ce=yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ee.categoryId,comment:rt,status:Qn,course_group_ids:Zu.current}});ce.status===0&&(Ne(ce.course_group_count),Kt(ce),gn(!1),$n(!0))}else{if(!(Et===0||ct===0)){if(!Et){h.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Et>ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!rt){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ce=yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ee.categoryId,comment:rt,min_score:Et,max_score:ct,course_group_ids:Zu.current}});ce.status===0&&(Ne(ce.course_group_count),Kt(ce),gn(!1),$n(!0))}}),onCancel:()=>{gn(!1),xu()}},Y.createElement("div",{style:{padding:"32px"}},Y.createElement("div",null,Y.createElement("div",{style:{display:"flex",marginBottom:"12px"}},Y.createElement("div",{style:{flexShrink:"0",marginRight:"15px"}}," ",Y.createElement("span",{style:{color:"red"}},"*"),"\u5206\u73ED\uFF1A"),Y.createElement("div",{className:Pt.length>15?Rt.scroll:"",style:{overflowX:"hidden"}},Pt==null?void 0:Pt.map((ce,ke)=>Y.createElement(b.default,{style:{textAlign:"left",margin:"0"},value:ce.course_group_id,key:ce.course_group_id,onChange:()=>{Ao(ce.course_group_id,Pt)},checked:ce.checked},ce.group_group_name,"(",ce.count,")")))),Y.createElement("div",null,Y.createElement("span",{style:{width:"80px"}}," ",Y.createElement("span",{style:{color:"red"}},"*"),"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Y.createElement(Z.ZP.Group,{value:Le,onChange:ce=>{Wt(ce.target.value)}},Y.createElement(Z.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Y.createElement(Z.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),Le===1&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:Et,onChange:ce=>me(ce),style:{width:"100px"}}),Y.createElement("span",{style:{width:"80px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:ct,onChange:ce=>Ue(ce),style:{width:"100px"}})),Le===2&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),Y.createElement(b.default.Group,{onChange:ce=>{ju([...ce])},style:{width:"100%"}},(Vt=se.task_status)==null?void 0:Vt.map((ce,ke)=>Y.createElement(b.default,{name:"task_status",value:ce.id},ce.name,"(",ce.count,")")))),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),Y.createElement(Bn.Z,{className:Rt.MdEditor,onChange:ce=>dt(ce),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Y.createElement(y.default,{open:ma,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>pt(void 0,null,function*(){Le===2?(yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ee.categoryId,comment:rt,status:Qn,course_group_ids:Zu.current}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),xu(),vu(),$n(!1)):(yield(0,ne.ZP)(`/api/homework_commons/${Ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ee.categoryId,comment:rt,min_score:Et,max_score:ct,course_group_ids:Zu.current}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),xu(),vu(),$n(!1))}),onCancel:()=>{xu(),$n(!1)}},Y.createElement("div",{style:{padding:"32px"}},Le===1&&Y.createElement("span",null,"\u786E\u8BA4\u5C06\u9009\u4E2D\u7684",Te,"\u4E2A\u73ED\u7EA7\u4E2D, \u6210\u7EE9\u5728",Et,"-",ct,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Le===2&&Y.createElement("span",null,"\u786E\u8BA4\u5C06",Te,"\u4E2A\u73ED\u7EA7\u4E2D\u4F5C\u4E1A\u72B6\u6001\u5728",(cn=se.task_status)==null?void 0:cn.filter(ce=>Qn==null?void 0:Qn.includes(ce.id)).map(ce=>ce.name).toString(),"\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Y.createElement("br",null),Y.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",wu==null?void 0:wu.count,"\u540D\u5B66\u751F"))),Y.createElement(y.default,{open:pa,width:900,centered:!0,closeIcon:!1,footer:Y.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},Y.createElement("div",null,Y.createElement(H.ZP,{className:"mr20",style:{background:"none"},icon:Y.createElement("i",{className:"iconfont icon-yijiandianping"}),onClick:ce=>{var ke;if(ce.preventDefault(),(0,l.Rm)()&&!((ke=C.AssistantObject.normal)!=null&&ke.can_view)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Me.O5)()&&(0,f.xg)(`${na}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),Y.createElement("span",{className:"mr10"},"\u8C03\u5206"),Y.createElement(I.Z,{min:0,onChange:(0,a.debounce)(ce=>pt(void 0,null,function*(){var ke;if(ln(ce),(0,l.Rm)()&&!((ke=C.AssistantObject.normal)!=null&&ke.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,ne.ZP)(`/api/student_works/${xe}/adjust_score.json`,{method:"post",body:{score:ce}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),_e({type:"shixunHomeworks/getWorkList",payload:ht({},Ee)}))}),2e3)})),Y.createElement(H.ZP,{type:"primary",onClick:ce=>zu(!1)},"\u5173\u95ED")),onOk:()=>pt(void 0,null,function*(){}),onCancel:()=>{zu(!1)}},Y.createElement("div",{className:Rt.viewcode},Y.createElement("div",{className:Rt.lefttitle},"\u67E5\u770B\u4EE3\u7801"),Y.createElement("div",null,Y.createElement("span",{className:"mr10"},"\u6587\u4EF6\u8DEF\u5F84"),vt&&Y.createElement($.default,{style:{width:200},value:(Ke=vt[0])==null?void 0:Ke.path}," ",vt==null?void 0:vt.map(ce=>Y.createElement($.default.Option,{value:ce.path},ce.path))," "))),Y.createElement(z.Z,{spinning:rn},Y.createElement("iframe",{srcDoc:an,style:{border:"none",width:"910px",marginLeft:"-38px",height:"550px"}}))),Y.createElement(y.default,{width:675,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Yn,centered:!0,onCancel:()=>mu(!1),onOk:()=>{bu=="\u9644\u4EF6"?Xa(!1):bu=="\u6279\u6CE8"&&Xa(!0),mu(!1)}},Y.createElement(b.default,{checked:Hu,onChange:ce=>{Gn(ce.target.checked)}},"\u540C\u65F6\u5BFC\u51FA\u5B66\u751F\u63D0\u4EA4\u8BB0\u5F55"),Y.createElement("div",{className:Rt.export_type_modal_title},"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u9644\u4EF6\u7C7B\u578B"),Y.createElement("div",{className:Rt.export_type_modal},Y.createElement("div",{className:Rt.export_type_modal_con},Y.createElement("div",{className:`${Rt.type_item} ${bu=="\u9644\u4EF6"?Rt.type_item_active:""}`,onClick:()=>Nu("\u9644\u4EF6")},Y.createElement("div",{className:`${Rt.img_warp}`},Y.createElement("img",{src:Hn.Z,width:72,height:80})),Y.createElement("span",null,"\u5B66\u751F\u63D0\u4EA4\u7684\u9644\u4EF6")),Y.createElement("div",{className:`${Rt.type_item} ${bu=="\u6279\u6CE8"?Rt.type_item_active:""}`,onClick:()=>Nu("\u6279\u6CE8")},Y.createElement("div",{className:`${Rt.img_warp}`},Y.createElement("img",{src:_n.Z,width:99,height:80})),Y.createElement("span",null,"\u5305\u542B\u6279\u6CE8\u5185\u5BB9\u7684\u9644\u4EF6"))),Y.createElement("div",{className:Rt.export_type_modal_waring},"\u5982\u5B66\u751F\u672A\u4E0A\u4F20\u9644\u4EF6\uFF0C\u4EC5\u4F1A\u5BFC\u51FA\u8BE5\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u9898\u8BB0\u5F55"))),Y.createElement(wt,{title:kt==null?void 0:kt.title,open:(kt==null?void 0:kt.key)=="\u4F5C\u4E1A\u6982\u89C8",task_status:kt==null?void 0:kt.task_status,new_work_status:kt==null?void 0:kt.new_work_status,shixunHomeworks:S,destroyOnClose:!0,centered:!0,onCancel:()=>{eu()},footer:null,width:764,course_group:Ee==null?void 0:Ee.course_group}),Y.createElement(_u.Z,{visible:Kn,getData:vu,categoryId:Ee.categoryId,onCancle:()=>{Ja(!1)}}))};var Ct=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:pe})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:pe}))(Qt),yn=s(3294),hn=s(85149),en=s(23765),vn=Object.defineProperty,En=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,Qu=(S,C,v)=>C in S?vn(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Ea=(S,C)=>{for(var v in C||(C={}))nu.call(C,v)&&Qu(S,v,C[v]);if(En)for(var v of En(C))yu.call(C,v)&&Qu(S,v,C[v]);return S},Yu=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const aa=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)();return n.createElement(y.default,{centered:!0,title:"\u63D0\u793A",open:S.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Yu(void 0,null,function*(){(yield C({type:"shixunHomeworks/deleteReply",payload:{object_id:S.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(h.ZP.success("\u5220\u9664\u6210\u529F"),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getReplyList",payload:Ea({},S.actionTabs.params)}))}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var ga=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(aa),Gu=s(49692),su=s(26227),Ou=s(63524),fu={flex_box_center:"flex_box_center___eQbfr",flex_space_between:"flex_space_between___yYxed",flex_box_vertical_center:"flex_box_vertical_center___hnVLv",flex_box_center_end:"flex_box_center_end___dJtsJ",flex_box_column:"flex_box_column___bbLAL",top:"top___wdmbO",desc:"desc___io462",liked:"liked___lE9CL",likedActive:"likedActive____w2_o",reply:"reply___BEzBQ",replyList:"replyList___m4VYn",comment:"comment___bM8aM",headpic:"headpic___qQASP"},Ft=s(59301),la=Object.defineProperty,Su=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,va=(S,C,v)=>C in S?la(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,uu=(S,C)=>{for(var v in C||(C={}))ra.call(C,v)&&va(S,v,C[v]);if(Su)for(var v of Su(C))$a.call(C,v)&&va(S,v,C[v]);return S},Au=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});i().locale("ZH-cn");const el=({shixunHomeworks:S,classroomList:C,user:v,globalSetting:pe,loading:fe,dispatch:he})=>{const[_e,Ae]=(0,n.useState)(uu({},(0,W.useParams)())),[ae,Ie]=(0,n.useState)(!1),[ve,oe]=(0,n.useState)(-1),[$e,ft]=(0,n.useState)(""),[ee,je]=(0,n.useState)(""),{workList:nt}=S,{detailLeftMenus:it}=C,{replyList:ge,workDetail:Je}=S;_e.page_size=10,(0,n.useEffect)(()=>{he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)}),it.course_modules||he({type:"classroomList/getClassroomLeftMenus",payload:uu({},_e)})},[_e.categoryId]);const q=Ve=>{Ve=Ve!=null&&Ve.includes(".json")?Ve:`${Ve}.json`,y.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ft.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Au(void 0,null,function*(){var tt;const N=yield(0,Gu.$Q)({url:Ve});if(!N)return;h.ZP.success("\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE");const It=yield(0,Gu.Ir)({id:N.shixun_identifier});if(It!=null&&It.game_identifier){(tt=W.history)==null||tt.push(`/tasks/${It.game_identifier}`);return}(It==null?void 0:It.status)===2?q(It==null?void 0:It.message):(It==null?void 0:It.status)===3&&_t(It==null?void 0:It.message)})})},_t=Ve=>{y.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ft.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ve,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return Ft.createElement("section",{className:fu.bg},Ft.createElement(z.Z,{spinning:fe["shixunHomeworks/getWorkDetail"]},Ft.createElement("section",{className:""},Ft.createElement("aside",{className:[fu.desc,"c-black","font14","bg-white"].join(" ")},S.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&Ft.createElement("div",null,Ft.createElement(hn.Z,{value:(Je==null?void 0:Je.description)||"\u6682\u65E0\uFF5E"})),Ft.createElement(en.Z,{authority:(0,l.GJ)(),showDimensions:!1,dataSource:Je==null?void 0:Je.attachments,callback:()=>{he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)})}}),S.actionTabs.key==="\u7F16\u8F91\u4F5C\u4E1A"&&Ft.createElement("aside",{className:["bg-white"].join(" ")},Ft.createElement(Bn.Z,{onChange:Ve=>{ft(Ve)},defaultValue:Je==null?void 0:Je.explanation,height:200,isFocus:!0,watch:!0}),Ft.createElement(E.Z,null,Ft.createElement(r.Z,{span:24,className:"tr"},Ft.createElement(H.ZP,{type:"default",size:"middle",onClick:()=>Au(void 0,null,function*(){he({type:"shixunHomeworks/setActionTabs",payload:{key:""}})})},"\u53D6\u6D88"),Ft.createElement(H.ZP,{type:"primary",size:"middle",className:"ml20",onClick:()=>Au(void 0,null,function*(){$e===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/updateWork",payload:{explanation:$e,categoryId:_e.categoryId}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)}))})},"\u4FDD\u5B58"))))),Ft.createElement("aside",{className:[fu.reply,"bg-white","mt20"].join(" ")},ae&&Ft.createElement(Bn.Z,{onChange:Ve=>{ft(Ve)},height:200,isFocus:!0,watch:!0}),Ft.createElement(E.Z,{onClick:()=>{Ie(!0)}},Ft.createElement(r.Z,{flex:"1",style:{pointerEvents:"none"}},!ae&&Ft.createElement(F.default,{size:"middle",className:"current",placeholder:"\u8BF4\u70B9\u4EC0\u4E48",disabled:!0})),Ft.createElement(r.Z,null,Ft.createElement(H.ZP,{type:"primary",size:"middle",onClick:()=>Au(void 0,null,function*(){if((0,l.Rm)()&&!C.AssistantObject.normal.can_create){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$e===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:_e.categoryId,jour_type:"HomeworkCommon",reply_id:1,notes:$e}}})).status===0&&(h.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),Ie(!1),ft(""))})},"\u53D1\u8868")))),(ge==null?void 0:ge.comments)&&ge.comments!=""&&Ft.createElement("aside",{className:[fu.replyList,"bg-white"].join(" ")},Ft.createElement(z.Z,{spinning:fe["shixunHomeworks/getReplyList"]},ge==null?void 0:ge.comments.map(function(Ve,tt){var N,It,Ge,mt;return Ft.createElement(E.Z,{gutter:[12,12],key:tt},Ft.createElement(r.Z,{flex:"40px"},Ft.createElement("img",{className:fu.headpic,width:"40",src:`${yn.Z.IMG_SERVER}/images/${(N=Ve==null?void 0:Ve.author)==null?void 0:N.image_url}`})),Ft.createElement(r.Z,{flex:"1"},Ft.createElement(E.Z,{align:"middle"},Ft.createElement(r.Z,{span:20},Ft.createElement("span",{className:"c-light-black"},(It=Ve==null?void 0:Ve.author)==null?void 0:It.name),Ft.createElement("span",{className:"c-light-black ml10"},Ve==null?void 0:Ve.time," \u53D1\u5E03")),Ft.createElement(r.Z,{className:"tr",span:4},((0,l.GJ)()||((Ge=v==null?void 0:v.userInfo)==null?void 0:Ge.login)===((mt=Ve==null?void 0:Ve.author)==null?void 0:mt.login))&&Ft.createElement(D.Z,{title:"\u5220\u9664"},Ft.createElement(su.Z,{className:"current",onClick:()=>{he({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:_e,selectArr:Ve}})}}))),Ft.createElement(r.Z,{span:24},Ft.createElement(hn.Z,{value:Ve.content})),Ve.children&&Ft.createElement("aside",{className:fu.comment},Ve.children.map(function(Vt,cn){var Ke,Zt;return Ft.createElement(E.Z,{key:cn},Ft.createElement(r.Z,{span:24},Ft.createElement(E.Z,null,Ft.createElement(r.Z,{flex:"1"},Vt.author.name,Ft.createElement("span",{className:"c-light-black ml10"},Vt==null?void 0:Vt.time)),Ft.createElement(r.Z,null,((0,l.GJ)()||((Ke=v==null?void 0:v.userInfo)==null?void 0:Ke.login)===((Zt=Vt==null?void 0:Vt.author)==null?void 0:Zt.login))&&Ft.createElement(D.Z,{title:"\u5220\u9664"},Ft.createElement(su.Z,{className:"current",onClick:()=>{he({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:_e,selectArr:Vt}})}}))))),Ft.createElement(r.Z,null,Ft.createElement(hn.Z,{value:Vt.content})))})),Ft.createElement(r.Z,{span:24,className:"mt5 c-light-black"},ve===tt&&Ft.createElement("aside",null,Ft.createElement(Bn.Z,{onChange:Vt=>{je(Vt)},height:150,isFocus:!0}),Ft.createElement(E.Z,null,Ft.createElement(r.Z,{span:24,className:"tr"},Ft.createElement(H.ZP,{type:"primary",size:"middle",onClick:()=>Au(this,null,function*(){ee===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:_e.categoryId,jour_type:"HomeworkCommon",m_parent_id:Ve.id,reply_id:1,notes:ee}}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),h.ZP.success("\u53D1\u5E03\u6210\u529F"),oe(-1))})},"\u53D1\u8868")))),ve!==tt&&Ft.createElement("div",{className:"tr"},Ft.createElement("span",{className:"iconfont icon-huifu1 mr5 ml30",onClick:()=>oe(tt)}),!!Ve.user_praise&&Ft.createElement("span",{className:"c-orange"},Ft.createElement(Ou.Z,{className:"mr5 ml30",onClick:()=>Au(this,null,function*(){yield he({type:"shixunHomeworks/replyUnLike",payload:{object_id:Ve.id,object_type:"journals_for_message"}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})})}),!!Ve.praise_count&&Ve.praise_count),!Ve.user_praise&&Ft.createElement("span",null,Ft.createElement(Ou.Z,{className:"mr5 ml30",onClick:()=>Au(this,null,function*(){yield he({type:"shixunHomeworks/replyLike",payload:{object_id:Ve.id,object_type:"journals_for_message"}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})})}),!!Ve.praise_count&&Ve.praise_count))))))}))))),Ft.createElement("aside",{className:"tc mt30 pb30"},Ft.createElement(L.Z,{defaultCurrent:1,total:ge==null?void 0:ge.messages_count,hideOnSinglePage:!0,current:_e.page||1,onChange:Ve=>{_e.page=Ve,he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})}})),Ft.createElement(ga,null))};var tl=(0,W.connect)(({shixunHomeworks:S,classroomList:C,user:v,loading:pe,globalSetting:fe})=>({shixunHomeworks:S,globalSetting:fe,user:v,classroomList:C,loading:pe.effects}))(el),nl=Object.defineProperty,ha=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,Fa=(S,C,v)=>C in S?nl(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,_a=(S,C)=>{for(var v in C||(C={}))ul.call(C,v)&&Fa(S,v,C[v]);if(ha)for(var v of ha(C))al.call(C,v)&&Fa(S,v,C[v]);return S};i().locale("ZH-cn");const ll=({shixunHomeworks:S,classroomList:C,globalSetting:v,loading:pe,dispatch:fe})=>{var he,_e;const Ae=(0,W.useParams)(),{detailLeftMenus:ae}=C,{replyList:Ie,referenceAnswer:ve}=S;return Ae.page_size=10,(0,n.useEffect)(()=>{fe({type:"shixunHomeworks/getReplyList",payload:_a({},Ae)}),fe({type:"shixunHomeworks/getReferenceAnswer",payload:{coursesId:Ae.categoryId}}),ae.course_modules||fe({type:"classroomList/getClassroomLeftMenus",payload:_a({},Ae)})},[Ae.categoryId]),n.createElement("section",{className:"pb30 bg-white pl30 pr30 pt30"},n.createElement("aside",{className:["c-black","font14"].join(" ")},n.createElement("div",null,(ve==null?void 0:ve.reference_answer)&&n.createElement(hn.Z,{value:ve==null?void 0:ve.reference_answer}),!(ve!=null&&ve.reference_answer)&&!((he=ve.attachments)!=null&&he.length)&&n.createElement(Q.Z,null)),(_e=ve==null?void 0:ve.attachments)==null?void 0:_e.map((oe,$e)=>n.createElement("div",null,n.createElement("a",{href:`${yn.Z.API_SERVER}${oe.url}`},n.createElement("span",{className:"iconfont icon-fujian c-green font14"}),n.createElement("span",{className:"ml10 c-black"},oe.title),n.createElement("span",{className:"c-light-black ml20 font12"},oe.filesize))))))};var rl=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,globalSetting:pe})=>({shixunHomeworks:S,globalSetting:pe,classroomList:C,loading:v.effects}))(ll),ol=s(16133),sl=s(12393),An=s(89529),Un=s(59301),Ku=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const il=({shixunHomeworks:S,loading:C,dispatch:v})=>{var pe,fe;const[he,_e]=(0,n.useState)(!0),[Ae,ae]=(0,n.useState)(!1),[Ie,ve]=(0,n.useState)([]),[oe,$e]=(0,n.useState)([]),[ft,ee]=(0,n.useState)([]),[je,nt]=(0,n.useState)([]),[it,ge]=(0,n.useState)(""),Je=(0,W.useParams)();function q(){return Ku(this,null,function*(){let tt=yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators.json`,{method:"get"});$e(tt)})}function _t(){return Ku(this,null,function*(){var tt;let N=yield(0,ne.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/teachers`,{method:"get",params:{homework_id:Je.categoryId,limit:1e3}});(tt=N==null?void 0:N.teacher_list)==null||tt.map(It=>{It.key=It.user_id}),ee(N==null?void 0:N.teacher_list),nt(N==null?void 0:N.teacher_list)})}(0,n.useEffect)(()=>{q(),((0,l.G5)()||(0,l.Rm)())&&_t()},[Je]);const Ve=()=>{};return Un.createElement("section",{className:An.Z.form},Un.createElement(E.Z,{className:An.Z.content,style:{padding:"20px 30px",gap:20}},(pe=oe==null?void 0:oe.data)==null?void 0:pe.map(tt=>Un.createElement(E.Z,{align:"middle",className:`${An.Z.borderSty} ${it===(tt==null?void 0:tt.id)?An.Z.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Un.createElement("span",{className:"c-grey-333"},tt==null?void 0:tt.real_name),(oe==null?void 0:oe.can_edit)&&Un.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${An.Z.delSty}`,onMouseEnter:()=>{ge(tt.id)},onMouseLeave:()=>{ge("")},onClick:()=>Ku(void 0,null,function*(){(yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:tt.id}})).status===0&&(h.ZP.info("\u5220\u9664\u6210\u529F"),q(),_t())})}))),(oe==null?void 0:oe.can_edit)&&Un.createElement(H.ZP,{className:An.Z.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>ae(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005"),!(oe!=null&&oe.can_edit)&&!((fe=oe==null?void 0:oe.data)!=null&&fe.length)&&Un.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005")),Un.createElement(y.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ae,onCancel:()=>ae(!1),onOk:()=>Ku(void 0,null,function*(){if(Ie.length===0){h.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}(yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Ie}})).status===0&&(h.ZP.info("\u6DFB\u52A0\u6210\u529F"),ve([]),q(),_t(),ae(!1))})},Un.createElement("div",null,Un.createElement("div",{style:{display:"flex"}},Un.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Un.createElement(F.default.Search,{onChange:tt=>{ee(je.filter(N=>N.name.indexOf(tt.target.value)>-1))}})),Un.createElement(x.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(tt,N)=>{ve(tt)},selectedRowKeys:Ie,getCheckboxProps:tt=>({disabled:tt.is_collaborator})},pagination:!1,dataSource:ft,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var cl=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(il),Vu=s(78673),dl=s(81327),ml=s(32134),pl=s(12893),fl=s(97177),Xe=s(59301),El=Object.defineProperty,gl=Object.defineProperties,vl=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable,Aa=(S,C,v)=>C in S?El(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Tn=(S,C)=>{for(var v in C||(C={}))hl.call(C,v)&&Aa(S,v,C[v]);if(ya)for(var v of ya(C))Fl.call(C,v)&&Aa(S,v,C[v]);return S},Ju=(S,C)=>gl(S,vl(C)),oa=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const _l=({shixunHomeworks:S,loading:C,globalSetting:v,user:pe,dispatch:fe})=>{var he,_e,Ae,ae,Ie;const ve=(0,W.useParams)(),oe=(0,W.useLocation)(),{verifyModelUser:$e,ContactModalElement:ft}=(0,fl.Z)(),{workSetting:ee,workList:je}=S,[nt,it]=(0,n.useState)(!0),[ge]=c.default.useForm(),[Je,q]=(0,n.useState)(!1),[_t,Ve]=(0,n.useState)(!1),[tt,N]=(0,n.useState)(!1),[It,Ge]=y.default.useModal();let[mt,Vt]=(0,n.useState)([{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}]),[cn,Ke]=(0,n.useState)([]),[Zt,Ee]=(0,n.useState)([]),[He,se]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,teacher_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",is_repeat_minus:"",repeat_setting_score:"",repeat_limit:"",single_score:!0,score_details:[{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}],is_open_ai_review:!1});const kt=((he=je==null?void 0:je.homework_status)==null?void 0:he.includes("\u533F\u8BC4\u4E2D"))||((_e=je==null?void 0:je.homework_status)==null?void 0:_e.includes("\u7533\u8BC9\u4E2D")),tn=((Ae=je==null?void 0:je.homework_status)==null?void 0:Ae.includes("\u533F\u8BC4\u4E2D"))||((ae=je==null?void 0:je.homework_status)==null?void 0:ae.includes("\u7533\u8BC9\u4E2D"))||((Ie=je==null?void 0:je.homework_status)==null?void 0:Ie.includes("\u5DF2\u622A\u6B62"));(0,n.useEffect)(()=>{},[]),(0,n.useEffect)(()=>{it(!(ee!=null&&ee.can_edit))},[ee]),(0,n.useEffect)(()=>{ee!=null&&ee.course_id&&(Object.keys(He).map(function(Ue){Ue.indexOf("proportion")>-1&&(ee[Ue]=(ee[Ue]*100).toFixed(0)),He[Ue]=ee[Ue]}),(!He.allow_late||!He.unified_late)&&(He.late_penalty=5),cn=JSON.parse(JSON.stringify(ee.group_settings.map(Ue=>Ju(Tn({},Ue),{group_name:[Ue.group_name]})).filter(Ue=>Ue.publish_time!==null))),Zt=JSON.parse(JSON.stringify(ee.allow_late_settings.map(Ue=>Ju(Tn({},Ue),{group_name:[Ue.group_name]})).filter(Ue=>Ue.late_time!==null))),mt=JSON.parse(JSON.stringify(ee.score_details.map(Ue=>Tn({},Ue)))),se(Tn({},He)),Vt([...mt]),Ke([...cn]),Ee([...Zt]))},[ee]);const dn=()=>{fe({type:"shixunHomeworks/getWorkSetting",payload:Tn({},ve)})},lt=()=>oa(void 0,null,function*(){Ve(!0);let Ue=!1;if(mt==null||mt.find(me=>{if(me.name===""||me.score===""){Ue=!0;return}}),Ue)return;if(ln().toFixed(2)!=100){h.ZP.warning("\u6574\u4E2A\u4F5C\u4E1A\u6700\u7EC8\u7684\u6EE1\u5206\u503C\u5FC5\u987B\u4E3A100\u5206");return}if(ct(mt)){h.ZP.warning("\u7EF4\u5EA6\u540D\u79F0\u4E0D\u80FD\u91CD\u590D");return}const Et=JSON.parse(JSON.stringify(He));if(Et.categoryId=ve.categoryId,He.unified_setting||cn==null||cn.map(me=>{var rt,dt;if(!me.publish_time||!me.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!me.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");me.group_name=typeof(me==null?void 0:me.group_name)=="string"?[me==null?void 0:me.group_name]:me==null?void 0:me.group_name,console.log("item:0",me,ee.group_settings,cn),me.group_id=(dt=(rt=me==null?void 0:me.group_name)==null?void 0:rt.map(Ot=>{var Lt,Bt;let Gt=(Bt=(Lt=ee.group_settings)==null?void 0:Lt.filter(fn=>(fn==null?void 0:fn.group_name)===Ot))==null?void 0:Bt[0];return console.log("d:",Gt,Ot),Gt==null?void 0:Gt.group_id}))==null?void 0:dt.toString().split(",")}),Et.group_settings=cn,Et.score_details=mt,He.allow_late)if(He.unified_late){if(He.late_penalty===null||He.late_penalty===void 0||He.late_penalty<0||He.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!He.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Zt=Zt==null?void 0:Zt.map(me=>{var rt,dt;if(me.late_penalty===null||me.late_penalty===void 0||me.late_penalty<0||me.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!me.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!me.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return me.group_name=typeof(me==null?void 0:me.group_name)=="string"?[me==null?void 0:me.group_name]:me==null?void 0:me.group_name,me.group_id=(dt=(rt=me==null?void 0:me.group_name)==null?void 0:rt.map(Ot=>{var Lt,Bt;let Gt=(Bt=(Lt=ee.group_settings)==null?void 0:Lt.filter(fn=>(fn==null?void 0:fn.group_name)===Ot))==null?void 0:Bt[0];return Gt==null?void 0:Gt.group_id}))==null?void 0:dt.toString().split(","),me}),Et.allow_late_settings=Zt;Object.keys(Et).map(function(me){me.indexOf("proportion")>-1&&(Et[me]=Et[me]/100)}),JSON.stringify(mt)!==JSON.stringify(ee==null?void 0:ee.score_details)||(ee==null?void 0:ee.single_score)!=(He==null?void 0:He.single_score)?(y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",centered:!0,icon:null,content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u8BC4\u5206\u7EF4\u5EA6\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>oa(void 0,null,function*(){(yield(0,ne.ZP)(`/api/homework_commons/${ve.categoryId}/score_setting_with_normal.json`,{method:"post",body:Tn({},Et)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ee!=null&&ee.have_repeated&&((ee==null?void 0:ee.is_repeat_minus)!==(He==null?void 0:He.is_repeat_minus)||(ee==null?void 0:ee.repeat_setting_score)!==(He==null?void 0:He.repeat_setting_score)||(ee==null?void 0:ee.repeat_limit)!==(He==null?void 0:He.repeat_limit))&&y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u67E5\u91CD\u6263\u5206\u89C4\u5219\uFF0C\u9700\u8981\u91CD\u65B0\u67E5\u91CD\u624D\u80FD\u751F\u6548\uFF0C\u751F\u6548\u540E\u6210\u7EE9\u5C06\u8986\u76D6\u6210\u6700\u65B0\u7684\u6210\u7EE9",cancelText:"\u53D6\u6D88",okText:"\u7ACB\u5373\u67E5\u91CD",onOk:()=>{fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:ve}})}}),dn(),fe({type:"shixunHomeworks/getWorkList",payload:Tn({},ve)}))})}),N(!0)):(yield(0,ne.ZP)(`/api/homework_commons/${ve.categoryId}/score_setting_with_normal.json`,{method:"post",body:Tn({},Et)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ee!=null&&ee.have_repeated&&((ee==null?void 0:ee.is_repeat_minus)!==(He==null?void 0:He.is_repeat_minus)||(ee==null?void 0:ee.repeat_setting_score)!==(He==null?void 0:He.repeat_setting_score)||(ee==null?void 0:ee.repeat_limit)!==(He==null?void 0:He.repeat_limit))&&y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u67E5\u91CD\u6263\u5206\u89C4\u5219\uFF0C\u9700\u8981\u91CD\u65B0\u67E5\u91CD\u624D\u80FD\u751F\u6548\uFF0C\u751F\u6548\u540E\u6210\u7EE9\u5C06\u8986\u76D6\u6210\u6700\u65B0\u7684\u6210\u7EE9",cancelText:"\u53D6\u6D88",okText:"\u7ACB\u5373\u67E5\u91CD",onOk:()=>{fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:ve}})}}),dn(),fe({type:"shixunHomeworks/getWorkList",payload:Tn({},ve)}))}),Le=Xe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Xe.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - ( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Xe.createElement("br",null),Xe.createElement("br",null),"\u6CE8\u610F\uFF1A",Xe.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6\u8BC4\u5206\u9009\u9879\u4E0A\u3002",Xe.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),Wt=Xe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Xe.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% - ( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Xe.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),yt=Ue=>Ue&&Uemt.reduce((Ue,Et)=>Et.score!==""?Ue+Et.score:Ue,0);function ct(Ue){return Ue.some((Et,me)=>Ue.find((dt,Ot)=>dt.name===Et.name&&Ot!==me)!==void 0)}return Xe.createElement("section",{className:An.Z.form},!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement(Xe.Fragment,null,Xe.createElement("div",{className:An.Z.title},"\u667A\u80FD\u8BC4\u9605"),Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Xe.createElement(Vu.Z,{checked:He==null?void 0:He.is_open_ai_review,onChange:Ue=>{$e()&&se(Ju(Tn({},He),{is_open_ai_review:Ue}))}}),Xe.createElement("span",{style:{color:"#333333",margin:"0 10px",fontWeight:"600"}},"\u667A\u80FD\u8BC4\u9605"),Xe.createElement("span",{style:{color:"#CA7720",marginRight:"10px"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u5C31\u53EF\u4EE5\u4F7F\u7528\u667A\u80FD\u8BC4\u9605\u529F\u80FD\uFF0C\u8BA9AI\u52A9\u6559\u5E2E\u52A9\u4F60\u6253\u5206\u548C\u5199\u8BC4\u8BED\uFF09"),Xe.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/38915"},"\u64CD\u4F5C\u8BF4\u660E"))),!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement(Xe.Fragment,null,Xe.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:"30px"}},Xe.createElement("div",{className:An.Z.title},"\u8BC4\u5206\u7EF4\u5EA6"),!He.single_score&&Xe.createElement("div",{style:{marginLeft:"auto"}},Xe.createElement("span",{style:{color:"#666666"},className:"mr10"},"\u5F53\u524D\u6EE1\u5206"),Xe.createElement("span",{style:{color:"#E30000"}},ln().toFixed(2),"\u5206"))),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:He==null?void 0:He.single_score,onChange:Ue=>{He.single_score=Ue.target.value,se(Tn({},He))}},Xe.createElement(Z.ZP,{value:!0},Xe.createElement("span",{style:{color:"#000",marginRight:"40px"}},"\u5355\u7EF4\u5EA6\u8BC4\u5206")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:!1},Xe.createElement("span",{style:{color:"#000"}},"\u591A\u7EF4\u5EA6\u8BC4\u5206"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6559\u5E08\u548C\u52A9\u6559\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u9700\u4F9D\u636E\u9884\u8BBE\u7684\u591A\u4E2A\u8BC4\u5206\u7EF4\u5EA6\u8FDB\u884C\u8BC4\u5206\uFF09"))),!He.single_score&&Xe.createElement(E.Z,{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},mt==null?void 0:mt.map((Ue,Et)=>Xe.createElement(dl.Z,{style:{display:"flex",alignItems:"center",fontSize:14,marginBottom:Et==(mt==null?void 0:mt.length)-1?"0px":"10px"},align:"baseline"},Xe.createElement("span",{style:{marginLeft:"173px",marginRight:"10px"}},"\u7EF4\u5EA6\u540D\u79F0"),Xe.createElement(F.default,{disabled:nt,placeholder:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u540D\u79F0",style:{width:470},size:"large",showCount:!0,maxLength:10,value:Ue==null?void 0:Ue.name,onChange:me=>{mt[Et].name=me.target.value.trim(),Vt([...mt])}}),Xe.createElement("span",{className:"mr10",style:{marginLeft:10}},"\u6EE1\u5206"),Xe.createElement(I.Z,{placeholder:"\u8BF7\u8F93\u5165\u6EE1\u5206\u5206\u503C",style:{width:180,marginRight:10},size:"large",min:.01,max:100,value:Ue==null?void 0:Ue.score,disabled:nt,onChange:me=>{console.log(me),me?(mt[Et].score=Number(me.toFixed(2)),Vt([...mt])):(mt[Et].score="",Vt([...mt]))}}),(mt==null?void 0:mt.length)<5&&!nt&&Xe.createElement(ml.Z,{onClick:()=>{Vt([...mt,{name:"",score:""}])},style:{color:"#2FA34F",marginRight:15}}),Et>1&&!nt&&Xe.createElement(pl.Z,{onClick:()=>{mt.splice(Et,1),console.log(mt),Vt([...mt])},style:{color:"#E30000"}}),!mt[Et].name&&_t&&Xe.createElement("div",{className:An.Z.tip1},"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u540D\u79F0"),!mt[Et].score&&_t&&Xe.createElement("div",{className:An.Z.tip2},"\u8BF7\u8F93\u5165\u6EE1\u5206\u5206\u503C"))))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6559\u5E08\u8BC4\u5206"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:He.teacher_mode,onChange:Ue=>{He.teacher_mode=Ue.target.value,se(Tn({},He))}},Xe.createElement(Z.ZP,{value:1,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5E73\u5747\u8BC4\u5206\u6A21\u5F0F")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:0},Xe.createElement("span",{style:{color:"#000000"}},"\u6700\u7EC8\u8BC4\u5206\u6A21\u5F0F"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u4EE5\u6700\u540E\u4E00\u4F4D\u6559\u5E08\u8BC4\u5206\u7684\u5206\u6570\u4E3A\u51C6\uFF09"))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u52A9\u6559\u8BC4\u5206"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:He.ta_mode,onChange:Ue=>{He.ta_mode=Ue.target.value,se(Tn({},He))}},Xe.createElement(Z.ZP,{value:1,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5E73\u5747\u8BC4\u5206\u6A21\u5F0F")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:0},Xe.createElement("span",{style:{color:"#000000"}},"\u6700\u7EC8\u8BC4\u5206\u6A21\u5F0F"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u4EE5\u6700\u540E\u4E00\u4F4D\u52A9\u6559\u8BC4\u5206\u7684\u5206\u6570\u4E3A\u51C6\uFF09"))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6700\u7EC8\u6210\u7EE9\u6743\u91CD"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:He.final_mode,onChange:Ue=>{He.final_mode=Ue.target.value,se(Tn({},He))}},Xe.createElement(Z.ZP,{value:!0,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5355\u9879\u8BC4\u5206\u4F18\u5148")),Xe.createElement(Z.ZP,{value:!1},Xe.createElement("span",{style:{color:"#000000"}},"\u591A\u9879\u8BC4\u5206\u914D\u6BD4"))),He.final_mode&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",alignItems:"center",marginTop:"1px"}},Xe.createElement("div",{style:{marginLeft:"24px",color:"#333333"}},"\u8BC4\u5206\u4F18\u5148\u7EA7\uFF1A\u6559\u5E08\u8BC4\u5206\u2192\u52A9\u6559\u8BC4\u5206\u2192\u533F\u8BC4\u8BC4\u5206"),Xe.createElement("div",{style:{marginLeft:"24px",color:"#333333",marginTop:20}},"\u89C4\u5219\u8BF4\u660E\uFF1A\u82E5\u5B58\u5728\u6559\u5E08\u8BC4\u5206\uFF0C\u5219\u4EC5\u4EE5\u6559\u5E08\u8BC4\u5206\u4E3A\u51C6\uFF1B\u82E5\u65E0\u6559\u5E08\u8BC4\u5206\uFF0C\u5219\u4F9D\u6B21\u8003\u8651\u52A9\u6559\u8BC4\u5206\u548C\u533F\u8BC4\u8BC4\u5206\uFF0C\u53D6\u6700\u9AD8\u4F18\u5148\u7EA7\u7684\u8BC4\u5206\u4F5C\u4E3A\u6700\u7EC8\u6210\u7EE9\u3002")),!He.final_mode&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},Xe.createElement("div",{style:{marginLeft:"60px"}},"\u6559\u5E08\u8BC4\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 30px 0 10px"},value:He.te_proportion,onChange:Ue=>{He.te_proportion=Ue,se(Object.assign({},He))}}),Xe.createElement("div",null,"\u52A9\u6559\u8BC4\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 30px 0 10px"},value:He.ta_proportion,onChange:Ue=>{He.ta_proportion=Ue,se(Object.assign({},He))}}),Xe.createElement("div",null,"\u5B66\u751F\u533F\u8BC4"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 0 0 10px"},value:He.st_proportion,onChange:Ue=>{He.st_proportion=Ue,se(Object.assign({},He))}}),Xe.createElement("div",{style:{color:"#666"}},"\uFF08\u6309\u7167\u8BC4\u5206\u9879\u5360\u6BD4\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09")),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6587\u6863\u67E5\u91CD\u6263\u5206"),!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px"}},Xe.createElement(b.default,{disabled:nt,onChange:Ue=>{se(Et=>Ju(Tn({},Et),{is_repeat_minus:Ue.target.checked}))}},"\u6587\u6863\u67E5\u91CD\u6263\u5206"),Xe.createElement("span",{style:{fontSize:"14px",color:"#666"}},"\uFF08\u5F00\u542F\u5E76\u4F7F\u7528\u6587\u6863\u67E5\u91CD\u540E\uFF0C\u5C06\u6309\u7167\u89C4\u5219\u6263\u9664\u4F5C\u4E1A\u91CD\u590D\u5B66\u751F\u5206\u6570\uFF09")),(He==null?void 0:He.is_repeat_minus)&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Xe.createElement("div",{style:{marginLeft:"54px"}},"\u67E5\u91CD\u6263\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"\u5206",style:{margin:"0 10px",width:"120px"},value:He.repeat_setting_score,onChange:Ue=>{He.repeat_setting_score=Ue,se(Object.assign({},He))}}),Xe.createElement("div",{style:{color:"#666666"}},"\u5B66\u751F\u5B9E\u9645\u6263\u5206=\u67E5\u91CD\u6263\u5206x\u76F8\u4F3C\u5EA6\u6BD4"),Xe.createElement("div",{style:{marginLeft:"50px"}},"\u6263\u5206\u9600\u503C"),Xe.createElement(I.Z,{disabled:nt,value:He.repeat_limit,size:"large",addonAfter:"%",style:{margin:"0 10px",width:"120px"},onChange:Ue=>{He.repeat_limit=Ue,se(Object.assign({},He))}}),Xe.createElement("div",{style:{color:"#666666"}},"\u5B66\u751F\u76F8\u4F3C\u5EA6\u4F4E\u4E8E\u8FD9\u4E2A\u9608\u503C\u5219\u4E0D\u6263\u5206")),!nt&&Xe.createElement(Xe.Fragment,null,Xe.createElement(H.ZP,{type:"primary",size:"large",className:"mr20",style:{width:"138px",marginTop:"30px"},onClick:lt},"\u4FDD\u5B58"),Xe.createElement(H.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>q(!0)},"\u8BBE\u7F6E\u9ED8\u8BA4\u8BC4\u5206")),Xe.createElement(y.default,{open:Je,title:"\u662F\u5426\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u8BC4\u5206\uFF1F",centered:!0,width:470,onCancel:()=>{q(!1)},onOk:()=>oa(void 0,null,function*(){const Ue=JSON.parse(JSON.stringify(He));Object.keys(Ue).map(function(me){me.indexOf("proportion")>-1&&(Ue[me]=Ue[me]/100)}),(yield(0,ne.ZP)(`/api/courses/${ve.coursesId}/homework_commons/set_default_score_setting.json`,{method:"post",body:{homework_type:1,score_settings:Ue}})).status===0&&(h.ZP.success("\u8BBE\u7F6E\u6210\u529F"),q(!1))})},Xe.createElement("div",null,"\u60A8\u662F\u5426\u8981\u5C06\u5F53\u524D\u8BC4\u5206\u89C4\u5219\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u89C4\u5219\uFF0C\u8BE5\u9ED8\u8BA4\u89C4\u5219\u4EC5\u5E94\u7528\u4E8E\u60A8\u540E\u7EED\u65B0\u5EFA\u7684\u4F5C\u4E1A\uFF0C\u4E14\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u8001\u5E08\u65B0\u5EFA\u4F5C\u4E1A\u7684\u8BC4\u5206\u89C4\u5219\u3002")),ft())};var yl=(0,W.connect)(({shixunHomeworks:S,loading:C,globalSetting:v,user:pe})=>({shixunHomeworks:S,loading:C.effects,globalSetting:v,user:pe}))(_l),jt=s(59301),Al=Object.defineProperty,Cl=Object.defineProperties,Bl=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,wl=Object.prototype.propertyIsEnumerable,Ba=(S,C,v)=>C in S?Al(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Cu=(S,C)=>{for(var v in C||(C={}))Dl.call(C,v)&&Ba(S,v,C[v]);if(Ca)for(var v of Ca(C))wl.call(C,v)&&Ba(S,v,C[v]);return S},Da=(S,C)=>Cl(S,Bl(C));const bl=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)(),{workSetting:pe}=S,[fe,he]=(0,n.useState)(!0);let[_e,Ae]=(0,n.useState)([]),[ae,Ie]=(0,n.useState)([]),[ve,oe]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",personal_score_open:!0,single_score:!0,score_details:[{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}],answer_public_type:3,shared_review:!0,is_score_open:!1,see_comment:!1,see_comment_type:1});(0,n.useEffect)(()=>{he(!(pe!=null&&pe.can_edit))},[pe]),(0,n.useEffect)(()=>{},[]),(0,n.useEffect)(()=>{pe!=null&&pe.course_id&&(Object.keys(ve).map(function(ee){ve[ee]=pe[ee]}),(!ve.allow_late||!ve.unified_late)&&(ve.late_penalty=5),_e=JSON.parse(JSON.stringify(pe.group_settings.map(ee=>Da(Cu({},ee),{group_name:[ee.group_name]})).filter(ee=>ee.publish_time!==null))),ae=JSON.parse(JSON.stringify(pe.allow_late_settings.map(ee=>Da(Cu({},ee),{group_name:[ee.group_name]})).filter(ee=>ee.late_time!==null))),oe(Cu({},ve)),Ae([..._e]),Ie([...ae]))},[pe]);const $e=()=>{C({type:"shixunHomeworks/getWorkSetting",payload:Cu({},v)})},ft=()=>{const ee=JSON.parse(JSON.stringify(ve));if(ee.categoryId=v.categoryId,ve.unified_setting||_e==null||_e.map(je=>{var nt,it;if(!je.publish_time||!je.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!je.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");je.group_name=typeof(je==null?void 0:je.group_name)=="string"?[je==null?void 0:je.group_name]:je==null?void 0:je.group_name,je.group_id=(it=(nt=je==null?void 0:je.group_name)==null?void 0:nt.map(ge=>{var Je,q;let _t=(q=(Je=pe.group_settings)==null?void 0:Je.filter(Ve=>(Ve==null?void 0:Ve.group_name)===ge))==null?void 0:q[0];return _t==null?void 0:_t.group_id}))==null?void 0:it.toString().split(",")}),ee.group_settings=_e,ve.allow_late)if(ve.unified_late){if(ve.late_penalty===null||ve.late_penalty===void 0||ve.late_penalty<0||ve.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ve.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else ae=ae==null?void 0:ae.map(je=>{var nt,it;if(je.late_penalty===null||je.late_penalty===void 0||je.late_penalty<0||je.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!je.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!je.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return je.group_name=typeof(je==null?void 0:je.group_name)=="string"?[je==null?void 0:je.group_name]:je==null?void 0:je.group_name,je.group_id=(it=(nt=je==null?void 0:je.group_name)==null?void 0:nt.map(ge=>{var Je,q;let _t=(q=(Je=pe.group_settings)==null?void 0:Je.filter(Ve=>(Ve==null?void 0:Ve.group_name)===ge))==null?void 0:q[0];return _t==null?void 0:_t.group_id}))==null?void 0:it.toString().split(","),je}),ee.allow_late_settings=ae;Object.keys(ee).map(function(je){je.indexOf("proportion")>-1&&(ee[je]=ee[je]/100)}),C({type:"shixunHomeworks/updateSetting",payload:ee}).then(je=>{je.status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),$e(),C({type:"shixunHomeworks/getWorkList",payload:Cu({},v)}))})};return jt.createElement("section",{className:An.Z.form},jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},"\u6CE8\u610F\uFF1A\u82E5\u65F6\u95F4\u8303\u56F4\u8BBE\u7F6E\u4E3A\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u201D\uFF0C\u5E76\u4E14\u4F5C\u4E1A\u542F\u7528\u4E86\u533F\u8BC4\uFF0C\u5982\u516C\u5F00\u53C2\u8003\u7B54\u6848\u3001\u5B66\u751F\u4F5C\u4E1A\u3001\u5B66\u751F\u6210\u7EE9\u53CA\u6559\u5E08\u8BC4\u9605\u7B49\u529F\u80FD\u5C06\u5728\u533F\u8BC4\u622A\u6B62\u540E\u751F\u6548\u3002"),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ve.answer_public,disabled:fe,onChange:ee=>{ve.answer_public=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u53C2\u8003\u7B54\u6848")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u516C\u5F00\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF09"),ve.answer_public&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u65F6\u95F4\u8303\u56F4"),jt.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",display:"flex",marginLeft:10,alignItems:"center"},disabled:fe,value:ve==null?void 0:ve.answer_public_type,onChange:ee=>{ve.answer_public_type=ee.target.value,oe(Cu({},ve))}},jt.createElement(Z.ZP,{value:1},jt.createElement("span",{style:{color:"#000"}},"\u5B66\u751F\u63D0\u4EA4\u540E")),jt.createElement("br",null),jt.createElement(Z.ZP,{value:2},jt.createElement("span",{style:{color:"#000"}},"\u4F5C\u4E1A\u622A\u6B62\u540E")),jt.createElement(Z.ZP,{value:3},jt.createElement("span",{style:{color:"#000"}},"\u6559\u5E08\u8BC4\u9605\u540E"))))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ve.work_public,disabled:fe,onChange:ee=>{ve.work_public=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u5B66\u751F\u4F5C\u4E1A")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F53\u4F5C\u4E1A\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\u65F6\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u4F5C\u4E1A\uFF09")),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ve.is_score_open,disabled:fe,onChange:ee=>{ve.is_score_open=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u5B66\u751F\u6210\u7EE9")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F53\u4F5C\u4E1A\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\u65F6\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u53EF\u67E5\u770B\u7684\u6210\u7EE9\u8303\u56F4\uFF09"),ve.is_score_open&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u6210\u7EE9\u8303\u56F4"),jt.createElement(b.default,{checked:ve.personal_score_open,style:{marginLeft:10},disabled:fe||ve.score_open,onChange:ee=>{ve.personal_score_open=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u4E2A\u4EBA\u6210\u7EE9")),jt.createElement(b.default,{checked:ve.score_open,disabled:fe,onChange:ee=>{ee.target.checked&&(ve.personal_score_open=!0),ve.score_open=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u6210\u7EE9")))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ve.see_comment,disabled:fe,onChange:ee=>{ve.see_comment=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u6559\u5E08\u8BC4\u9605")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u516C\u5F00\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u6559\u5E08\u53CA\u52A9\u6559\u8BC4\u9605\u5185\u5BB9\u3001\u52A9\u6559\u53EF\u4EE5\u67E5\u770B\u6559\u5E08\u8BC4\u9605\uFF09"),ve.see_comment&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u65F6\u95F4\u8303\u56F4"),jt.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",display:"flex",marginLeft:10,alignItems:"center"},disabled:fe,value:ve==null?void 0:ve.see_comment_type,onChange:ee=>{ve.see_comment_type=ee.target.value,oe(Cu({},ve))}},jt.createElement(Z.ZP,{value:0},jt.createElement("span",{style:{color:"#000",marginRight:"40px"}},"\u4EFB\u610F\u65F6\u95F4")),jt.createElement("br",null),jt.createElement(Z.ZP,{value:1},jt.createElement("span",{style:{color:"#000"}},"\u4F5C\u4E1A\u622A\u6B62\u540E"))))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},jt.createElement(b.default,{checked:ve.shared_review,disabled:fe,onChange:ee=>{ve.shared_review=ee.target.checked,oe(Object.assign({},ve))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u6559\u5E08\u5171\u4EAB\u8BC4\u9605")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u6559\u5E08\u53EF\u4EE5\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u67E5\u770B\u5176\u4ED6\u6559\u5E08\u8BC4\u9605\u5185\u5BB9\uFF0C\u52A9\u6559\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u52A9\u6559\u8BC4\u9605\uFF09")),!fe&&jt.createElement(H.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>ft()},"\u4FDD\u5B58"))};var xl=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(bl),Ol=s(33441),Sl=s(47599),Il=s(33469),Pl=s(65629),kl=s(58010),Xu=s(5383),At=s(59301),Nl=Object.defineProperty,Zl=Object.defineProperties,Ml=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,Tl=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,ba=(S,C,v)=>C in S?Nl(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,iu=(S,C)=>{for(var v in C||(C={}))Tl.call(C,v)&&ba(S,v,C[v]);if(wa)for(var v of wa(C))Rl.call(C,v)&&ba(S,v,C[v]);return S},Iu=(S,C)=>Zl(S,Ml(C)),sa=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Ll=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie,ve,oe,$e;const ft=(0,W.useParams)(),{workSetting:ee,workList:je}=S,[nt,it]=(0,n.useState)(!0);let[ge,Je]=(0,n.useState)([]);const[q,_t]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,anonymous_group:!1});(0,n.useEffect)(()=>{Ke.resetFields(),Zt.resetFields()},[]),(0,n.useEffect)(()=>{it(!(ee!=null&&ee.can_edit))},[ee]),(0,n.useEffect)(()=>{ee!=null&&ee.course_id&&(Object.keys(q).map(function(Le){q[Le]=ee[Le]}),(!q.allow_late||!q.unified_late)&&(q.late_penalty=5),ge=JSON.parse(JSON.stringify(ee.group_settings.map(Le=>Iu(iu({},Le),{group_name:[Le.group_name]})).filter(Le=>Le.publish_time!==null))),_t(iu({},q)),Je([...ge]))},[ee]);const Ve=()=>sa(void 0,null,function*(){yield v({type:"shixunHomeworks/getWorkSetting",payload:iu({},ft)}),Ke.resetFields(),Zt.resetFields()}),[tt,N]=(0,n.useState)(!1),It=()=>sa(void 0,null,function*(){N(!tt);const Le=JSON.parse(JSON.stringify(q));if(Le.categoryId=ft.categoryId,q.unified_setting||ge==null||ge.map(yt=>{var ln,ct;if(!yt.publish_time||!yt.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),N(tt),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!yt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),N(tt),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");yt.group_name=typeof(yt==null?void 0:yt.group_name)=="string"?[yt==null?void 0:yt.group_name]:yt==null?void 0:yt.group_name,yt.group_id=(ct=(ln=yt==null?void 0:yt.group_name)==null?void 0:ln.map(Ue=>{var Et,me;let rt=(me=(Et=ee.group_settings)==null?void 0:Et.filter(dt=>(dt==null?void 0:dt.group_name)===Ue))==null?void 0:me[0];return rt==null?void 0:rt.group_id}))==null?void 0:ct.toString().split(",")}),Le.group_settings=ge,q.evaluation_start){if(q.end_time&&i()(q.evaluation_start)<=i()(q.end_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),N(tt),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4");if(q.late_time&&i()(q.evaluation_start)<=i()(q.late_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),N(tt),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4")}if(Object.keys(Le).map(function(yt){yt.indexOf("proportion")>-1&&(Le[yt]=Le[yt]/100)}),Le.anonymous_comment&&!Le.unified_anonymous_comment){const yt=yield He();Le.anonymous_comment_settings=yt.anonymous_comment_settings,["evaluation_end","evaluation_num","evaluation_start","student_comment","absence_penalty"].forEach(ln=>{Reflect.deleteProperty(Le,ln)})}if(Le.anonymous_appeal&&!Le.unified_anonymous_appeal){const yt=se();Le.anonymous_appeal_settings=yt.anonymous_appeal_settings,["appeal_time","appeal_penalty"].forEach(ln=>{Reflect.deleteProperty(Le,ln)})}(yield(0,ne.ZP)(`/api/homework_commons/${ft.categoryId}/evaluation_setting.json`,{method:"post",body:iu({},Le)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),it(!0),Ve(),v({type:"shixunHomeworks/getWorkList",payload:iu({},ft)})),N(tt)}),Ge=At.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",At.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - (",At.createElement("br",null),"\u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",At.createElement("br",null),At.createElement("br",null),"\u6CE8\u610F",At.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6",At.createElement("br",null),"\u8BC4\u5206\u9009\u9879\u4E0A\u3002",At.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0",At.createElement("br",null),"\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),mt=At.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",At.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% -",At.createElement("br",null),"( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",At.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),Vt=(fe=ee==null?void 0:ee.anonymous_comment_settings)==null?void 0:fe.map(Le=>({label:Le.group_name,value:Le.group_name,id:Le.group_id})),cn=(he=ee==null?void 0:ee.anonymous_appeal_settings)==null?void 0:he.map(Le=>({label:Le.group_name,value:Le.group_name,id:Le.group_id})),[Ke]=c.default.useForm(),[Zt]=c.default.useForm(),Ee=(Le,Wt)=>Le.map(yt=>{var ln;return(ln=Wt.find(ct=>ct.value===yt))==null?void 0:ln.id}),He=()=>sa(void 0,null,function*(){const Le=(0,Xu.Y)(Ke.getFieldsValue(),"YYYY-MM-DD HH:mm"),Wt=(0,a.cloneDeep)(Le);for(const yt of Wt.anonymous_comment_settings||[]){if(!(yt!=null&&yt.evaluation_start))return h.ZP.warning("\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),N(tt),Promise.reject();if(!yt.group_name)return h.ZP.warning("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),N(tt),Promise.reject();yt.evaluation_end=yt==null?void 0:yt.evaluation_start[1],yt.evaluation_start=yt==null?void 0:yt.evaluation_start[0],yt.group_id=Ee(yt.group_name,Vt),Reflect.deleteProperty(yt,"deleteflag")}return Wt}),se=()=>{const Le=(0,Xu.Y)(Zt.getFieldsValue(),"YYYY-MM-DD HH:mm"),Wt=(0,a.cloneDeep)(Le);for(const yt of Wt.anonymous_appeal_settings||[])yt.group_id=Ee(yt.group_name,cn),Reflect.deleteProperty(yt,"deleteflag");return Wt},kt=(Le,Wt)=>{if(Wt==="comment"){const yt=Le==null?void 0:Le.filter(Ue=>Ue.evaluation_end!==null);return yt.length===0?[{deleteflag:!0}]:(0,Xu.M)(yt,["evaluation_start","evaluation_end"]).map(Ue=>Iu(iu({},Ue),{evaluation_start:[Ue.evaluation_start,Ue.evaluation_end],group_name:[Ue.group_name],deleteflag:!1}))}else if(Wt==="appeal"){const yt=Le==null?void 0:Le.filter(Ue=>Ue.appeal_time!==null);return yt.length===0?[{deleteflag:!0}]:(0,Xu.M)(yt,["appeal_time"]).map(Ue=>Iu(iu({},Ue),{group_name:[Ue.group_name],deleteflag:!1}))}},tn=(((_e=ee==null?void 0:ee.homework_status)==null?void 0:_e.includes("\u5DF2\u622A\u6B62"))||(Vt==null?void 0:Vt.length)>0)&&(ee==null?void 0:ee.student_works),dn=((Ae=ee==null?void 0:ee.anonymous_appeal_settings)==null?void 0:Ae.length)>0,lt=(ee==null?void 0:ee.anonymous_comment)&&(ee==null?void 0:ee.unified_anonymous_comment)&&((ae=je==null?void 0:je.homework_status)==null?void 0:ae.includes("\u5DF2\u622A\u6B62"))||dn;return At.createElement("section",{className:An.Z.form},At.createElement("div",{className:An.Z.title},"\u4F5C\u4E1A\u533F\u8BC4"),At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement(Vu.Z,{checked:q.anonymous_comment,disabled:nt||!tn||(ee==null?void 0:ee.anonymous_comment),onChange:()=>{var Le;if((0,l.Rm)()&&!((Le=pe.AssistantObject.normal)!=null&&Le.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.anonymous_comment=!q.anonymous_comment,q.allow_late&&!q.evaluation_start||q.unified_setting&&!q.evaluation_start&&q.end_time&&q.end_time!=""&&(q.evaluation_start=i()(q.end_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),q.evaluation_end=i()(q.end_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")),q.anonymous_comment&&(q.evaluation_num=parseInt(q.evaluation_num)?q.evaluation_num:3,q.absence_penalty=parseInt(q.absence_penalty)?q.absence_penalty:3),_t(Object.assign({},q))}}),At.createElement("div",{style:{fontWeight:600,margin:"0 10px"}},"\u542F\u7528\u533F\u8BC4"),At.createElement("div",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09"),At.createElement(D.Z,{title:At.createElement("div",null,At.createElement("div",null,"\u89C4\u5219"),At.createElement("div",null,"1.\u4F5C\u4E1A\u622A\u6B62\u3001\u8865\u4EA4\u7ED3\u675F\u540E\u624D\u53EF\u5F00\u542F\u533F\u8BC4\uFF0C\u5F00\u542F\u7533\u8BC9\u540E\u4E0D\u53EF\u53D8\u66F4\u533F\u8BC4\u7ED3\u675F\u65F6\u95F4\uFF1B"),At.createElement("div",null,"2.\u6240\u6709\u5B66\u751F\u4E92\u8BC4\uFF1A\u63D0\u4EA4\u4F5C\u54C1\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u6240\u6709\u5B66\u751F\u4E92\u76F8\u533F\u8BC4\uFF1B"),At.createElement("div",null,"3.\u73ED\u7EA7\u5185\u4E92\u8BC4\uFF1A\u540C\u73ED\u7EA7\u63D0\u4EA4\u4F5C\u54C1\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u73ED\u5185\u5B66\u751F\u4E92\u76F8\u533F\u8BC4\u3002"),At.createElement("div",null,"\u6CE8\uFF1A\u4E3A\u786E\u4FDD\u516C\u5E73\uFF0C\u533F\u8BC4\u89C4\u5219\u786E\u5B9A\u540E\u4E0D\u53EF\u518D\u4FEE\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))},At.createElement("i",{className:`iconfont icon-tishixiaowenhao ${An.Z.title_icon}`}))),q.anonymous_comment&&At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},At.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.unified_anonymous_comment,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment),onChange:Le=>{var Wt;if((0,l.Rm)()&&!((Wt=pe.AssistantObject.normal)!=null&&Wt.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(yt=>Iu(iu({},yt),{unified_anonymous_comment:Le.target.value})),Ke.resetFields()}},(ee==null?void 0:ee.unified_setting)&&(ee==null?void 0:ee.unified_late)&&At.createElement(Z.ZP,{value:!0,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment)||!(ee!=null&&ee.manage_all_group)},At.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u7EDF\u4E00\u533F\u8BC4")),((Ie=ee==null?void 0:ee.group_settings)==null?void 0:Ie.length)>0&&At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{color:"#000"}},"\u5206\u73ED\u533F\u8BC4")))),q.anonymous_comment&&q.unified_anonymous_comment&&At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u4E92\u8BC4\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.anonymous_group,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment),onChange:Le=>{if((0,l.Rm)()&&!pe.AssistantObject.normal.can_anonymous_comment){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(Wt=>Iu(iu({},Wt),{anonymous_group:Le.target.value}))}},At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{marginRight:"12px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4")),((ve=ee==null?void 0:ee.group_settings)==null?void 0:ve.length)>0&&At.createElement(Z.ZP,{value:!0,disabled:nt||!(ee!=null&&ee.can_anonymous_group)},At.createElement("span",{style:{color:"#000"}},"\u73ED\u7EA7\u5185\u4E92\u8BC4")))),At.createElement("aside",null,q.anonymous_comment&&At.createElement(At.Fragment,null,q.unified_anonymous_comment?At.createElement(Sl.Z,{data:q,setData:_t,disabled:nt}):At.createElement(c.default,{form:Ke,style:{marginTop:"1px"},autoComplete:"off",initialValues:ee!=null&&ee.unified_anonymous_comment?{anonymous_comment_settings:[{deleteflag:!0}]}:{anonymous_comment_settings:kt(ee==null?void 0:ee.anonymous_comment_settings,"comment")}},At.createElement(Il.Z,{disabled:nt,selectOptions:Vt,form:Ke,data:q}))),At.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u533F\u8BC4\u7533\u8BC9"),At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},At.createElement(Vu.Z,{checked:q.anonymous_appeal,disabled:nt||!lt||(ee==null?void 0:ee.anonymous_appeal),onChange:()=>{if((0,l.Rm)()&&!pe.AssistantObject.normal.can_anonymous_appeal){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.anonymous_appeal=!q.anonymous_appeal,q.anonymous_appeal&&(q.appeal_penalty=q.appeal_penalty?q.appeal_penalty:2),_t(Object.assign({},q))}}),At.createElement("span",{style:{color:"#000000",margin:"0 10px"}},"\u533F\u8BC4\u7533\u8BC9"),At.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),q.anonymous_appeal&&At.createElement(At.Fragment,null,At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement("div",{style:{color:"#666666",marginLeft:"54px",marginRight:"20px"}},"\u7533\u8BC9\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.unified_anonymous_appeal,disabled:nt||(ee==null?void 0:ee.anonymous_appeal),onChange:Le=>{if((0,l.Rm)()&&!pe.AssistantObject.normal.can_anonymous_appeal){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(Wt=>Iu(iu({},Wt),{unified_anonymous_appeal:Le.target.value})),Zt.resetFields()}},(ee==null?void 0:ee.unified_anonymous_comment)&&At.createElement(Z.ZP,{value:!0,disabled:!(ee!=null&&ee.manage_all_group),style:{marginRight:"40px"}},At.createElement("span",{style:{color:"#000000"}},"\u7EDF\u4E00\u7533\u8BC9")),((oe=ee==null?void 0:ee.group_settings)==null?void 0:oe.length)>0&&At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{color:"#000000"}},"\u5206\u73ED\u7533\u8BC9")))),q.unified_anonymous_appeal?At.createElement(Pl.Z,{data:q,setData:_t,disabled:nt}):At.createElement(c.default,{form:Zt,initialValues:ee!=null&&ee.unified_anonymous_appeal?{anonymous_appeal_settings:[{deleteflag:!0}]}:{anonymous_appeal_settings:kt(ee==null?void 0:ee.anonymous_appeal_settings,"appeal")}},At.createElement(kl.Z,{disabled:nt||(0,l.Rm)()&&!(($e=pe.AssistantObject.normal)!=null&&$e.can_anonymous_appeal),selectOptions:cn,form:Zt})))),!nt&&At.createElement(H.ZP,{loading:tt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>It()},"\u4FDD\u5B58"))};var jl=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(Ll),Wn=s(5083),Bu=s(40731),at=s(918),xa=s(38233),zl=s(82438),K=s(59301),Hl=Object.defineProperty,Ul=Object.defineProperties,Wl=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,Sa=(S,C,v)=>C in S?Hl(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Dn=(S,C)=>{for(var v in C||(C={}))Ql.call(C,v)&&Sa(S,v,C[v]);if(Oa)for(var v of Oa(C))Yl.call(C,v)&&Sa(S,v,C[v]);return S},Jn=(S,C)=>Ul(S,Wl(C)),qu=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Gl=S=>qu(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/publish_setting.json`,{method:"post",body:S})}),Kl=S=>qu(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/evaluation_setting.json`,{method:"post",body:S})}),Mu=(S,C)=>S==null?void 0:S.map(v=>{var pe;return(pe=C==null?void 0:C.find(fe=>fe.value===v))==null?void 0:pe.id}),Vl=(S,C)=>{var v;return S=typeof S=="string"?[S]:S,(v=S==null?void 0:S.map(pe=>C==null?void 0:C.find(fe=>{var he;return(he=fe==null?void 0:fe.group_name)==null?void 0:he.includes(pe)})))==null?void 0:v.filter(pe=>pe)},kn=(S,C,v,pe=!1)=>{let fe=null,he=pe?C:Vl(S,C);return he==null||he.forEach((_e,Ae)=>{(Ae==0||v(_e,fe||{}))&&(fe=_e)}),fe},Jl=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie,ve,oe,$e,ft,ee,je,nt,it,ge,Je,q,_t,Ve;const tt=(0,W.useParams)(),{workSetting:N,workList:It}=S,[,Ge,mt]=(0,t.U)(Gl,{categoryId:tt==null?void 0:tt.categoryId,penalty_type:Bu.Q.Number}),[,Vt,cn]=(0,t.U)(Kl,{categoryId:tt==null?void 0:tt.categoryId}),[Ke]=c.default.useForm(),Zt=c.default.useWatch("unified_setting",Ke),Ee=c.default.useWatch("group_settings",Ke),He=c.default.useWatch("allow_late_settings",Ke),se=c.default.useWatch("end_time",Ke),kt=c.default.useWatch("publish_time",Ke),tn=c.default.useWatch("allow_late",Ke),dn=c.default.useWatch("unified_late",Ke),lt=c.default.useWatch("late_time",Ke),Le=c.default.useWatch("anonymous_comment",Ke),Wt=c.default.useWatch("unified_anonymous_comment",Ke),yt=c.default.useWatch("evaluation_start",Ke),ln=c.default.useWatch("anonymous_appeal",Ke),ct=c.default.useWatch("anonymous_comment_settings",Ke),Ue=c.default.useWatch("unified_anonymous_appeal",Ke),Et=c.default.useWatch("anonymous_appeal_settings",Ke),[me,rt]=(0,n.useState)(!1),[dt,Ot]=(0,n.useState)({}),[Lt,Bt]=(0,n.useState)({}),[Gt,fn]=(0,n.useState)({}),[In,Fn]=(0,n.useState)(!1),On=me||(0,l.Rm)()&&!((he=(fe=pe.AssistantObject)==null?void 0:fe.normal)!=null&&he.can_publish),Rn=me||(0,l.Rm)()&&!((Ae=(_e=pe.AssistantObject)==null?void 0:_e.normal)!=null&&Ae.can_late),gn=me||(0,l.Rm)()&&!((Ie=(ae=pe.AssistantObject)==null?void 0:ae.normal)!=null&&Ie.can_anonymous_comment),Qn=me||(0,l.Rm)()&&!((oe=(ve=pe.AssistantObject)==null?void 0:ve.normal)!=null&&oe.can_anonymous_appeal),[ju,ma]=(0,n.useState)([]),$n=(xe,Oe)=>{if(xe!=null&&xe.some(an=>typeof an.group_name!="string")){const an=[];xe==null||xe.forEach(bt=>{var vt;typeof bt.group_name!="string"&&((vt=bt.group_name)==null||vt.forEach(Yt=>{an.push(Jn(Dn({},bt),{group_name:Yt}))}))}),xe=an}return xe==null?void 0:xe.filter(an=>{var bt,vt,Yt;return!((Yt=(vt=(bt=Oe==null?void 0:Oe.map(rn=>rn==null?void 0:rn.group_name))==null?void 0:bt.toString())==null?void 0:vt.split(","))!=null&&Yt.includes(String(an.group_name)))&&an.is_admin})},wu=xe=>{if(xe=="allow_late"){y.default.warning({centered:!0,width:472,icon:null,title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",content:K.createElement(K.Fragment,null,It!=null&&It.is_shixun?K.createElement("div",null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u901A\u5173\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u5219\u4E0D\u6263\u5206\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u901A\u5173\u5219\u4E0D\u6263\u5206\u3002"):K.createElement("div",null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u6210\u529F\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u63D0\u4EA4\u5219\u4E0D\u4F1A\u6263\u5206\u3002"),K.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},K.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u6CE8\u610F\uFF1A\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u4E0D\u53EF\u5173\u95ED\u8865\u4EA4\u3002"))});return}if(xe=="anonymous_comment"){y.default.warning({centered:!0,width:550,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u63D0\u793A",content:K.createElement(K.Fragment,null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u533F\u8BC4\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\u3002",K.createElement("br",null),K.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},K.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u5B66\u751F\u5FC5\u987B\u63D0\u4EA4\u4F5C\u54C1\u624D\u80FD\u53C2\u4E0E\u533F\u8BC4\uFF0C\u82E5\u5B66\u751F\u672A\u80FD\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u5EFA\u8BAE\u542F\u7528\u201C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u201D\u529F\u80FD\uFF0C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002"))});return}if(xe=="anonymous_appeal"){y.default.warning({centered:!0,width:760,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u7533\u8BC9\u63D0\u793A",content:K.createElement(K.Fragment,null,K.createElement("span",{className:"blod"},"\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\u7533\u8BC9"),K.createElement("br",null),"1\u3001\u63A5\u53D7\u5B66\u751F\u7684\u5408\u7406\u7533\u8BC9\uFF1A",K.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u65E0\u6548\uFF0C\u4E0D\u53C2\u4E0E\u6700\u7EC8\u6210\u7EE9\u7684\u8BA1\u7B97\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u5C06\u88AB\u6263\u51CF\u8FDD\u89C4\u533F\u8BC4\u5206",K.createElement("br",null),"2\u3001\u62D2\u7EDD\u5B66\u751F\u7684\u4E0D\u5408\u7406\u7533\u8BC9\uFF1A",K.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u6709\u6548\uFF0C\u4E0D\u5141\u8BB8\u5B66\u751F\u5BF9\u8BE5\u8BC4\u5206\u8BB0\u5F55\u8FDB\u884C\u4E8C\u6B21\u7533\u8BC9\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u4E0D\u4F1A\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206",K.createElement("br",null))});return}if(xe=="unified_late")return"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u8865\u4EA4";if(xe=="unified_anonymous_comment")return Zt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4":"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4";if(xe=="unified_anonymous_appeal")return Zt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":dn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":"\u5DF2\u5F00\u542F\u5206\u73ED\u533F\u8BC4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9";if(xe=="make_up_score")return tn?"\u6263\u5206\u6570\u636E\u6765\u6E90\u4E8E\u8865\u4EA4\u6263\u5206":"\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u672A\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002";if(xe=="submit_num")return"\u82E5\u5B66\u751F\u9700\u8981\u5728\u89C4\u5B9A\u6B21\u6570\u5916\u518D\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u6253\u56DE\u91CD\u505A\u529F\u80FD\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002"},Kt=(xe,Oe={})=>{var an,bt,vt,Yt,rn,on,Pt,Dt,Nt,nn;if(xe=="unified_setting")return On||!((an=It==null?void 0:It.homework_status)!=null&&an.includes("\u672A\u53D1\u5E03"))||!(N!=null&&N.manage_all_group);if(xe=="publish_time")return On||!((bt=It==null?void 0:It.homework_status)!=null&&bt.includes("\u672A\u53D1\u5E03")||(vt=It==null?void 0:It.homework_status)!=null&&vt.includes("\u672A\u5F00\u59CB"));if(xe=="end_time"){const Te=kn([],(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(["group_settings","group_name"].every(Te=>xe==null?void 0:xe.includes(Te)))return On||!(Oe!=null&&Oe.is_admin)||!((Yt=It==null?void 0:It.homework_status)!=null&&Yt.includes("\u672A\u53D1\u5E03"))&&(Oe==null?void 0:Oe.publish_time)&&i()().startOf("second")>=i()((rn=Oe==null?void 0:Oe.publish_time)==null?void 0:rn[0]).startOf("second");if(["group_settings","publish_time"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.allow_late_settings)||[],(Se,xt)=>(Se==null?void 0:Se.late_time)&&(xt==null?void 0:xt.late_time)&&i()(Se==null?void 0:Se.late_time).startOf("second")(Se==null?void 0:Se.evaluation_start)&&(xt==null?void 0:xt.evaluation_start)&&i()(Se==null?void 0:Se.evaluation_start).startOf("second")=i()((Pt=Oe==null?void 0:Oe.publish_time)==null?void 0:Pt[0]).startOf("second"),(N==null?void 0:N.allow_late)&&(Te==null?void 0:Te.late_time)&&i()().startOf("second")>=i()(Oe==null?void 0:Oe.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Ne==null?void 0:Ne.evaluation_start)&&i()().startOf("second")>=i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")]}if(xe=="allow_late"){const Te=((Dt=N==null?void 0:N.allow_late_settings)==null?void 0:Dt.filter(Se=>Se.late_time!==null).map(Se=>{var xt;return(xt=Se==null?void 0:Se.group_id)==null?void 0:xt[0]}))||[],Ne=kn(null,(N==null?void 0:N.group_settings)||[],(Se,xt)=>(Se==null?void 0:Se.end_time)&&(xt==null?void 0:xt.end_time)&&i()(Se==null?void 0:Se.end_time).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||(Te==null?void 0:Te.includes((Nt=Ne==null?void 0:Ne.group_id)==null?void 0:Nt[0]))&&(N==null?void 0:N.allow_late)&&(Ne==null?void 0:Ne.end_time)&&i()().startOf("second")>=i()(Ne==null?void 0:Ne.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(N==null?void 0:N.evaluation_start)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")}if(xe=="unified_late"){const Te=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||Zt===!1}if(xe=="late_penalty"||xe=="late_time")return Rn||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(["allow_late_settings","group_name"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.group_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.end_time)&&(Se==null?void 0:Se.end_time)&&i()(Ne==null?void 0:Ne.end_time).startOf("second")>i()(Se==null?void 0:Se.end_time).startOf("second"));return On||!(Oe!=null&&Oe.is_admin)||(Te==null?void 0:Te.end_time)&&i()().startOf("second")>=i()(Te==null?void 0:Te.end_time).startOf("second")||(Oe==null?void 0:Oe.group_name)&&((nn=Oe==null?void 0:Oe.group_name)==null?void 0:nn.length)&&(N==null?void 0:N.unified_setting)&&(N==null?void 0:N.end_time)&&i()().startOf("second")>=i()(N==null?void 0:N.end_time).startOf("second")}if(["allow_late_settings","late_penalty"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return On||!(Oe!=null&&Oe.is_admin)||(Te==null?void 0:Te.evaluation_start)&&(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(["allow_late_settings","late_time"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(xe=="anonymous_comment"){const Te=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"),!0);return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(xe=="unified_anonymous_comment"){const Te=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.evaluation_start).startOf("second")||!(N!=null&&N.unified_anonymous_comment)&&(N==null?void 0:N.anonymous_comment)&&Te.evaluation_start&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")||dn===!1||Zt===!1}if(xe=="anonymous_group")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||(N==null?void 0:N.anonymous_comment)&&(N==null?void 0:N.evaluation_start)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(xe=="evaluation_start")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(xe=="evaluation_start")return gn;if(xe=="evaluation_end")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)();if(xe=="evaluation_num")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(xe=="absence_penalty")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)();if(["anonymous_comment_settings","group_name"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin)||(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(["anonymous_comment_settings","evaluation_start"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin)||[(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second"),!1]}if(["anonymous_comment_settings","evaluation_num"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin)||(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")}if(["anonymous_comment_settings","absence_penalty"].every(Te=>xe==null?void 0:xe.includes(Te))||["anonymous_comment_settings","student_comment"].every(Te=>xe==null?void 0:xe.includes(Te)))return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin);if(xe=="student_comment")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)();if(xe=="is_open_abnormal_score")return gn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||(N==null?void 0:N.is_open_abnormal_score);if(xe=="anonymous_appeal")return Qn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||N.anonymous_appeal&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(xe=="unified_anonymous_appeal")return Qn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||dn===!1||Zt===!1||Wt==!1;if(xe=="appeal_penalty")return Qn||!(N!=null&&N.can_edit)&&!(0,l.t_)();if(["anonymous_appeal_settings","group_name"].every(Te=>xe==null?void 0:xe.includes(Te))){const Te=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_end)&&(Se==null?void 0:Se.evaluation_end)&&i()(Ne==null?void 0:Ne.evaluation_end).startOf("second")>i()(Se==null?void 0:Se.evaluation_end).startOf("second"));return Qn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin)||(Te==null?void 0:Te.evaluation_end)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_end).startOf("second")}return["anonymous_appeal_settings","appeal_penalty"].every(Te=>xe==null?void 0:xe.includes(Te))?Qn||!(N!=null&&N.can_edit)&&!(0,l.t_)()||!(Oe!=null&&Oe.is_admin):!1},pa=(xe,Oe)=>{var an,bt,vt,Yt,rn,on,Pt,Dt,Nt,nn;if(console.log("handleValuesChange",xe,Oe),v({type:"shixunHomeworks/setActionTabs",payload:{key:"\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"}}),"publish_time"in xe&&(Oe!=null&&Oe.end_time||Ke.setFieldsValue({end_time:i()(Oe==null?void 0:Oe.publish_time).add(7,"days")})),"unified_setting"in xe&&(Oe!=null&&Oe.unified_setting||Ke.setFieldsValue({unified_late:!1,unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_late"in xe&&(Oe!=null&&Oe.unified_late||Ke.setFieldsValue({unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_anonymous_comment"in xe&&(Oe!=null&&Oe.unified_anonymous_comment||Ke.setFieldsValue({unified_anonymous_appeal:!1})),"group_settings"in xe){let Te=[];(an=Oe==null?void 0:Oe.group_settings)==null||an.forEach(Ne=>{Te=[...Te,...(Ne==null?void 0:Ne.group_name)||[]]}),Ke.setFieldsValue({allow_late_settings:((bt=Oe==null?void 0:Oe.allow_late_settings)==null?void 0:bt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Te.includes(xt))})}))||[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:((vt=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:vt.map(Ne=>{var Se,xt;return Jn(Dn({},Ne),{group_name:Ne!=null&&Ne.evaluation_start&&i()().startOf("second")>=i()((Se=Ne==null?void 0:Ne.evaluation_start)==null?void 0:Se[0]).startOf("second")?Ne==null?void 0:Ne.group_name:(xt=Ne==null?void 0:Ne.group_name)==null?void 0:xt.filter(Yn=>Te.includes(Yn))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Yt=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:Yt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Te.includes(xt))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("allow_late_settings"in xe){let Te=[];(rn=Oe==null?void 0:Oe.allow_late_settings)==null||rn.forEach(Ne=>{Te=[...Te,...(Ne==null?void 0:Ne.group_name)||[]]}),Ke.setFieldsValue({anonymous_comment_settings:((on=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:on.map(Ne=>{var Se,xt;return Jn(Dn({},Ne),{group_name:Ne!=null&&Ne.evaluation_start&&i()().startOf("second")>=i()((Se=Ne==null?void 0:Ne.evaluation_start)==null?void 0:Se[0]).startOf("second")?Ne==null?void 0:Ne.group_name:(xt=Ne==null?void 0:Ne.group_name)==null?void 0:xt.filter(Yn=>Te.includes(Yn))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Pt=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:Pt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Te.includes(xt))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("anonymous_comment_settings"in xe){let Te=[];(Dt=Oe==null?void 0:Oe.anonymous_comment_settings)==null||Dt.forEach(Se=>{Te=[...Te,...(Se==null?void 0:Se.group_name)||[]]});let Ne=(Nt=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:Nt.map(Se=>{var xt,Yn,mu,bu,Nu,jn,Hu;return{max:((Yn=(xt=N==null?void 0:N.anonymous_comment_settings)==null?void 0:xt.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:Yn.length)===1?(Nu=(bu=(mu=N==null?void 0:N.anonymous_comment_settings)==null?void 0:mu.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:bu[0])==null?void 0:Nu.all_user_size:(Hu=(jn=N==null?void 0:N.anonymous_comment_settings)==null?void 0:jn.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:Hu.reduce((Gn,Kn)=>(Gn==null?void 0:Gn.all_user_size)+(Kn==null?void 0:Kn.all_user_size))}});ma(Ne),Ke.setFieldsValue({anonymous_appeal_settings:((nn=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:nn.map(Se=>{var xt;return Jn(Dn({},Se),{group_name:(xt=Se==null?void 0:Se.group_name)==null?void 0:xt.filter(Yn=>Te.includes(Yn))})}))||[{is_admin:!0,appeal_penalty:2}]})}Ke.validateFields(),console.log("=====",i()(Oe==null?void 0:Oe.end_time).format("YYYY-MM-DD HH:mm:ss"))},zu=xe=>qu(void 0,null,function*(){var Oe,an,bt,vt;const Yt=xe;Yt.group_settings=(Oe=Yt==null?void 0:Yt.group_settings)==null?void 0:Oe.map(on=>{var Pt,Dt;const Nt=Dn({},on);return Nt.end_time=i()((Pt=Nt==null?void 0:Nt.publish_time)==null?void 0:Pt[1]).startOf("second"),Nt.publish_time=i()((Dt=Nt==null?void 0:Nt.publish_time)==null?void 0:Dt[0]).startOf("second"),Nt.group_name=typeof(Nt==null?void 0:Nt.group_name)=="string"?[Nt==null?void 0:Nt.group_name]:Nt==null?void 0:Nt.group_name,Nt.group_id=Mu(Nt==null?void 0:Nt.group_name,N==null?void 0:N.group_settings),Nt}),Yt.allow_late_settings=(an=Yt==null?void 0:Yt.allow_late_settings)==null?void 0:an.map(on=>{const Pt=Dn({},on);return Pt.group_name=typeof(Pt==null?void 0:Pt.group_name)=="string"?[Pt==null?void 0:Pt.group_name]:Pt==null?void 0:Pt.group_name,Pt.group_id=Mu(Pt==null?void 0:Pt.group_name,N==null?void 0:N.group_settings),Pt}),Yt.anonymous_comment_settings=(bt=Yt==null?void 0:Yt.anonymous_comment_settings)==null?void 0:bt.map(on=>{var Pt,Dt;const Nt=Dn({},on);return Nt.evaluation_end=i()((Pt=Nt==null?void 0:Nt.evaluation_start)==null?void 0:Pt[1]).startOf("second"),Nt.evaluation_start=i()((Dt=Nt==null?void 0:Nt.evaluation_start)==null?void 0:Dt[0]).startOf("second"),Nt.group_name=typeof(Nt==null?void 0:Nt.group_name)=="string"?[Nt==null?void 0:Nt.group_name]:Nt==null?void 0:Nt.group_name,Nt.group_id=Mu(Nt==null?void 0:Nt.group_name,N==null?void 0:N.group_settings),Nt}),Yt.anonymous_appeal_settings=(vt=Yt==null?void 0:Yt.anonymous_appeal_settings)==null?void 0:vt.map(on=>{const Pt=Dn({},on);return Pt.group_name=typeof(Pt==null?void 0:Pt.group_name)=="string"?[Pt==null?void 0:Pt.group_name]:Pt==null?void 0:Pt.group_name,Pt.group_id=Mu(Pt==null?void 0:Pt.group_name,N==null?void 0:N.group_settings),Pt});let rn=yield(0,Gu.Tr)({homework_common_ids:[parseInt(tt==null?void 0:tt.categoryId)],course_id:tt.coursesId,type:"homework_common"});if((rn==null?void 0:rn.student_count)===0){if((yield mt(Dn({},Yt))).status!==0||(yield cn(Dn({},Yt))).status!==0)return;h.ZP.success("\u4FDD\u5B58\u6210\u529F"),na(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}else fn(Yt),Bt(rn)}),na=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Dn({},tt)}),v({type:"shixunHomeworks/getWorkList",payload:Dn({},tt)})};(0,n.useEffect)(()=>{var xe,Oe,an,bt;let vt=(xe=N==null?void 0:N.group_settings)==null?void 0:xe.filter(Dt=>Dt.publish_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],publish_time:(Dt==null?void 0:Dt.publish_time)&&[i()(Dt==null?void 0:Dt.publish_time),i()(Dt==null?void 0:Dt.end_time)]}));vt=(0,f.QE)((vt==null?void 0:vt.length)>0?vt:[]);const Yt=(Oe=N.allow_late_settings)==null?void 0:Oe.filter(Dt=>Dt.late_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],late_time:(Dt==null?void 0:Dt.late_time)&&i()(Dt==null?void 0:Dt.late_time)})),rn=(an=N.anonymous_comment_settings)==null?void 0:an.filter(Dt=>Dt.evaluation_start!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],evaluation_start:(Dt==null?void 0:Dt.evaluation_start)&&[i()(Dt==null?void 0:Dt.evaluation_start),i()(Dt==null?void 0:Dt.evaluation_end)]})),on=(bt=N.anonymous_appeal_settings)==null?void 0:bt.filter(Dt=>Dt.appeal_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name]})),Pt=Jn(Dn({},N),{late_penalty:N!=null&&N.allow_late?N==null?void 0:N.late_penalty:5,evaluation_num:N!=null&&N.evaluation_num?N==null?void 0:N.evaluation_num:3,absence_penalty:N!=null&&N.anonymous_comment?N==null?void 0:N.absence_penalty:3,appeal_penalty:N!=null&&N.anonymous_appeal?N==null?void 0:N.appeal_penalty:2,publish_time:N!=null&&N.publish_time?i()(N==null?void 0:N.publish_time):"",end_time:N!=null&&N.end_time?i()(N==null?void 0:N.end_time):"",late_time:N!=null&&N.late_time?i()(N==null?void 0:N.late_time):"",evaluation_start:N!=null&&N.evaluation_start?i()(N==null?void 0:N.evaluation_start):"",evaluation_end:N!=null&&N.evaluation_end?i()(N==null?void 0:N.evaluation_end):"",group_settings:vt!=null&&vt.length?vt:[{is_admin:!0}],allow_late_settings:Yt!=null&&Yt.length?Yt:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:rn!=null&&rn.length?rn:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:on!=null&&on.length?on:[{is_admin:!0,appeal_penalty:2}]});Ke.setFieldsValue(Pt),Ot(Pt),rt(!(0,l.GJ)()),console.log("workSetting",N)},[N]),(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0}),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Ke==null||Ke.resetFields()}),[]);const ua=(xe,Oe)=>{xe!=null&&xe.group_id||(xe.group_id=Mu(xe==null?void 0:xe.group_name,N==null?void 0:N.group_settings)),v({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:xe,index:Oe,rangePickerDisabled:Kt(["group_settings","publish_time"],Ee==null?void 0:Ee[Oe]),disabledDate:N==null?void 0:N.course_end_date}})};return K.createElement(z.Z,{spinning:!!C["shixunHomeworks/getWorkSetting"]||!!C["shixunHomeworks/getWorkList"]},K.createElement("section",{style:{padding:"30px 50px",background:"#fff",marginTop:4}},K.createElement(c.default,{form:Ke,colon:!1,disabled:me,initialValues:dt,scrollToFirstError:!0,onValuesChange:pa,onFinish:zu},K.createElement("div",{className:`${at.Z.title}`},K.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u6A21\u5F0F\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(E.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line}`},K.createElement(c.default.Item,{className:($e=at.Z)==null?void 0:$e.h_lh_40,name:"unified_setting",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7C7B\u578B"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_setting")},K.createElement(Z.ZP,{value:!0},"\u7EDF\u4E00\u53D1\u5E03"),((ft=N==null?void 0:N.group_settings)==null?void 0:ft.length)>0&&K.createElement(Z.ZP,{value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")))),Zt?K.createElement(E.Z,{className:at.Z.row_sty,style:{padding:"5px 30px"}},K.createElement(r.Z,null,K.createElement(c.default.Item,{label:"\u53D1\u5E03\u65F6\u95F4",name:"publish_time",rules:[{validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"):Promise.resolve()}],normalize:xe=>xe&&i()(xe).startOf("second")},K.createElement(Wn.default,{style:{width:200},size:"large",disabled:Kt("publish_time"),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:xe=>(0,f.Q8)(xe,N==null?void 0:N.course_end_date),disabledTime:xe=>(0,f.d0)(xe),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}}))),K.createElement(r.Z,null,K.createElement(c.default.Item,{style:{marginLeft:40},label:"\u622A\u6B62\u65F6\u95F4",name:"end_time",rules:[{validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Promise.resolve()}],normalize:xe=>xe&&i()(xe).startOf("second")},K.createElement(Wn.default,{style:{width:200},size:"large",disabled:Kt("end_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:xe=>(0,f.Q8)(xe,N==null?void 0:N.course_end_date,i()(kt).add(1,"minutes").format()),disabledTime:xe=>(0,f.d0)(xe,i()(kt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}})))):K.createElement(c.default.List,{name:"group_settings"},(xe,{add:Oe,remove:an})=>xe.map((bt,vt)=>{var Yt,rn,on,Pt,Dt,Nt;return K.createElement(E.Z,{key:bt.key,style:{padding:"5px 14px 5px 30px"}},K.createElement(r.Z,{className:at.Z.lable_name1,style:{minWidth:85,textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",vt+1),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["group_settings","group_name"],Ee==null?void 0:Ee[vt]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",size:"large",fieldNames:{label:"group_name",value:"group_name"},options:(Yt=N==null?void 0:N.group_settings)==null?void 0:Yt.filter(nn=>{var Te,Ne,Se;return!((Se=(Ne=(Te=Ee==null?void 0:Ee.map(xt=>xt==null?void 0:xt.group_name))==null?void 0:Te.toString())==null?void 0:Ne.split(","))!=null&&Se.includes(String(nn.group_name)))&&nn.is_admin}),maxTagCount:4,maxTagPlaceholder:nn=>K.createElement("div",{style:{cursor:"pointer"},onClick:()=>ua(Ee[vt],vt)},"+",nn==null?void 0:nn.length)}))),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml20",name:[bt.name,"publish_time"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F5C\u4E1A\u65F6\u95F4"}]},K.createElement(Wn.default.RangePicker,{style:{width:585},size:"large",disabled:Kt(["group_settings","publish_time"],Ee==null?void 0:Ee[vt]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:nn=>(0,f.Q8)(nn,N==null?void 0:N.course_end_date),disabledTime:nn=>(0,f.d0)(nn),showTime:{format:"HH:mm",defaultValue:[i()((0,f.U6)(),"HH:mm"),i()((0,f.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",onCalendarChange:nn=>{if(nn!=null&&nn[0]&&!(nn!=null&&nn[1])){const Te=Ke.getFieldValue("group_settings");Te[vt].publish_time=[nn[0],i()(nn[0]).add(7,"days")],Ke.setFieldsValue({group_settings:Te})}}}))),!me&&K.createElement(E.Z,{className:(rn=at.Z)==null?void 0:rn.h_lh_40},((Pt=(on=Ee==null?void 0:Ee[vt])==null?void 0:on.group_id)==null?void 0:Pt.length)>1&&K.createElement(r.Z,null,K.createElement(D.Z,{title:"\u89C4\u5219\u62C6\u5206"},K.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>ua(Ee[vt],vt)}))),((Nt=(Dt=N==null?void 0:N.group_settings)==null?void 0:Dt.filter(nn=>{var Te,Ne,Se;return!((Se=(Ne=(Te=Ee==null?void 0:Ee.map(xt=>xt==null?void 0:xt.group_name))==null?void 0:Te.toString())==null?void 0:Ne.split(","))!=null&&Se.includes(String(nn.group_name)))&&nn.is_admin}))==null?void 0:Nt.length)>0&&K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0})}})),vt!=0&&!Kt(["group_settings","group_name"],Ee==null?void 0:Ee[vt])?K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml10",style:{color:"#E30000",opacity:"0.2"}}))))}))),K.createElement(K.Fragment,null,K.createElement("div",{className:`${at.Z.title} mt30`},K.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(E.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(ee=at.Z)==null?void 0:ee.h_lh_40}`,align:"middle"},K.createElement(c.default.Item,{name:"allow_late",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("allow_late")},"\u5F00\u542F\u8865\u4EA4"))),tn&&K.createElement(K.Fragment,null,K.createElement(E.Z,{className:at.Z.row_sty1},K.createElement(r.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u65B9\u5F0F"),K.createElement(c.default.Item,{className:`${(je=at.Z)==null?void 0:je.h_lh_40} ml10`,name:"unified_late",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8865\u4EA4\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_late")},K.createElement(Z.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((nt=N==null?void 0:N.group_settings)==null?void 0:nt.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Zt===!1&&K.createElement(D.Z,{title:wu("unified_late")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),dn?K.createElement("div",{style:{paddingBottom:5}},K.createElement(E.Z,{className:`${at.Z.row_sty1} mb10 mt5`},K.createElement(r.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),K.createElement(r.Z,{style:{margin:"0 10px 0 8px"}},K.createElement(c.default.Item,{name:"late_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:206},min:0,max:100,disabled:Kt("late_penalty")})))),K.createElement(E.Z,{className:at.Z.row_sty1},K.createElement(r.Z,{className:at.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),K.createElement(r.Z,{style:{margin:"0 10px 0 8px"}},K.createElement(c.default.Item,{name:"late_time",rules:[{required:!0,validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(se).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:xe=>xe&&i()(xe).startOf("second")},K.createElement(Wn.default,{style:{width:280},size:"large",disabled:Kt("late_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:xe=>(0,f.Q8)(xe,N==null?void 0:N.course_end_date,i()(se).add(1,"minutes").format()),disabledTime:xe=>(0,f.d0)(xe,i()(se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}}))),K.createElement(r.Z,{style:{color:"#333"}},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):K.createElement(c.default.List,{name:"allow_late_settings"},(xe,{add:Oe,remove:an})=>xe.map((bt,vt)=>{var Yt,rn,on,Pt,Dt,Nt;const nn=se||((on=(rn=kn((Yt=He==null?void 0:He[vt])==null?void 0:Yt.group_name,Ee||[],(Te,Ne)=>{var Se,xt;return i()((Se=Te==null?void 0:Te.publish_time)==null?void 0:Se[1]).startOf("second")>i()((xt=Ne==null?void 0:Ne.publish_time)==null?void 0:xt[1]).startOf("second")}))==null?void 0:rn.publish_time)==null?void 0:on[1]);return K.createElement(E.Z,{key:bt.key,style:{padding:"5px 14px 5px 52px"}},K.createElement(r.Z,{className:at.Z.lable_name1,style:{minWidth:88,textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",vt+1),K.createElement(r.Z,{className:"mr20 ml20"},K.createElement(c.default.Item,{name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["allow_late_settings","group_name"],He==null?void 0:He[vt]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Zt?N==null?void 0:N.group_settings:Ee,[...He||[],...(N==null?void 0:N.anonymous_comment)&&!(N!=null&&N.unified_anonymous_comment)&&((Pt=N==null?void 0:N.anonymous_comment_settings)==null?void 0:Pt.filter(Te=>(Te==null?void 0:Te.evaluation_start)&&i()().startOf("second")>=i()(Te==null?void 0:Te.evaluation_start).startOf("second")))||[]])}))),K.createElement(r.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),K.createElement(r.Z,{className:"mr20 ml10"},K.createElement(c.default.Item,{name:[bt.name,"late_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},K.createElement(I.Z,{min:0,max:100,size:"large",addonAfter:"\u5206",style:{width:150},disabled:Kt(["allow_late_settings","late_penalty"],He==null?void 0:He[vt])}))),K.createElement(r.Z,{className:at.Z.lable_name1},"\u622A\u6B62\u65F6\u95F4"),K.createElement(r.Z,{className:"ml10"},K.createElement(c.default.Item,{name:[bt.name,"late_time"],rules:[{required:!0,validator:(Te,Ne)=>Ne==null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):nn&&i()(Ne).startOf("second")<=i()(nn).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},K.createElement(Wn.default,{disabled:Kt(["allow_late_settings","late_time"],He==null?void 0:He[vt]),style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:Te=>(0,f.Q8)(Te,N==null?void 0:N.course_end_date,i()(nn).add(1,"minutes").format()),disabledTime:Te=>(0,f.d0)(Te,i()(nn).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}}))),!me&&K.createElement(E.Z,{className:(Dt=at.Z)==null?void 0:Dt.h_lh_40},((Nt=$n(Zt?N==null?void 0:N.group_settings:Ee,He))==null?void 0:Nt.length)>0&&K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,late_penalty:5})}})),vt!=0&&!Kt(["allow_late_settings","group_name"],He==null?void 0:He[vt])?K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}}))))}))))),K.createElement(K.Fragment,null,K.createElement("div",{className:`${at.Z.title} mt30`},K.createElement("span",null,"\u4F5C\u4E1A\u533F\u8BC4"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u53EF\u4F7F\u5B66\u751F\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u524D\u63D0\u4E0B\uFF0C\u5BF9\u540C\u5B66\u4F5C\u4E1A\u8FDB\u884C\u533F\u540D\u8BC4\u9605\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(E.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(it=at.Z)==null?void 0:it.h_lh_40}`,align:"middle"},K.createElement(c.default.Item,{name:"anonymous_comment",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("anonymous_comment")},"\u5F00\u542F\u533F\u8BC4"))),Le&&K.createElement(K.Fragment,null,K.createElement(E.Z,{className:`${at.Z.row_sty1} ${!tn&&"mb10"} mt5`},K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"can_make_up",valuePropName:"checked",style:{height:40,lineHeight:"40px"}},K.createElement(b.default,null," ",tn?"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u5E76\u4E14\u6263\u9664\u8865\u4EA4\u6263\u5206":"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u8865\u4EA4\u6263\u5206"," "))),!tn&&K.createElement(r.Z,{className:"mr10"},K.createElement(c.default.Item,{name:"make_up_score"},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",min:0,max:100,style:{width:186}}))),K.createElement(r.Z,null,K.createElement(D.Z,{title:wu("make_up_score")},K.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary"})))),K.createElement("div",{style:{position:"relative"}},K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5 ${at.Z.bottom_line}`},K.createElement(r.Z,{className:at.Z.lable_name},"\u533F\u8BC4\u65B9\u5F0F"),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:`${(ge=at.Z)==null?void 0:ge.h_lh_40} ml10`,name:"unified_anonymous_comment",rules:[{validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65B9\u5F0F"):Promise.resolve()}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_anonymous_comment")},K.createElement(Z.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u533F\u8BC4"),((Je=N==null?void 0:N.group_settings)==null?void 0:Je.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u533F\u8BC4"))))),(dn===!1||Zt===!1)&&K.createElement(D.Z,{title:wu("unified_anonymous_comment")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Wt?K.createElement(K.Fragment,null,K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(r.Z,{className:at.Z.lable_name},"\u4E92\u8BC4\u65B9\u5F0F"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"anonymous_group",className:`${(q=at.Z)==null?void 0:q.h_lh_40} ml10`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E92\u8BC4\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("anonymous_group")},K.createElement(Z.ZP,{value:!1,style:{marginRight:24}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4"),((_t=N==null?void 0:N.group_settings)==null?void 0:_t.length)>0&&K.createElement(Z.ZP,{value:!0},"\u73ED\u7EA7\u5185\u4E92\u8BC4"))))),K.createElement(E.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(r.Z,{className:at.Z.lable_name},"\u5F00\u59CB\u65F6\u95F4"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"evaluation_start",rules:[{required:!0,validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(lt||se).startOf("second")?Promise.reject(lt?"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:xe=>xe&&i()(xe).startOf("second")},K.createElement(Wn.default,{disabled:Kt("evaluation_start"),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",style:{width:270,marginLeft:10},format:"YYYY-MM-DD HH:mm",disabledDate:xe=>(0,f.Q8)(xe,N==null?void 0:N.course_end_date,i()(lt||se).add(1,"minutes").format()),disabledTime:xe=>(0,f.d0)(xe,i()(lt||se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}}))),K.createElement(r.Z,{className:at.Z.lable_name,style:{marginLeft:88}},"\u622A\u6B62\u65F6\u95F4"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"evaluation_end",rules:[{required:!0,validator:(xe,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(yt||lt||se).startOf("second")?Promise.reject(yt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":lt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:xe=>xe&&i()(xe).startOf("second")},K.createElement(Wn.default,{disabled:Kt("evaluation_end"),size:"large",style:{width:270,marginLeft:10},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:xe=>(0,f.Q8)(xe,N==null?void 0:N.course_end_date,i()(yt||lt||se).add(1,"minutes").format()),disabledTime:xe=>(0,f.d0)(xe,i()(yt||lt||se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")}})))),K.createElement(E.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(r.Z,{className:at.Z.lable_name},"\u533F\u8BC4\u6570\u91CF"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"evaluation_num",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},K.createElement(I.Z,{size:"large",min:1,precision:0,max:N==null?void 0:N.all_user_size,style:{width:186,marginLeft:10},disabled:Kt("evaluation_num")}))),K.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u6BCF\u4F4D\u5B66\u751F\u9700\u8981\u533F\u8BC4\u7684\u4F5C\u4E1A\u6570\u91CF\uFF09")),K.createElement(E.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(r.Z,{className:at.Z.lable_name},"\u7F3A\u8BC4\u6263\u5206"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"absence_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",style:{width:186,marginLeft:10},addonAfter:"\u5206",max:100,min:0,disabled:Kt("absence_penalty")}))),K.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u7F3A\u8BC4\u65F6\u5C06\u6263\u9664\u7684\u5206\u503C\uFF09"))):K.createElement(c.default.List,{name:"anonymous_comment_settings"},(xe,{add:Oe,remove:an})=>xe.map((bt,vt)=>{var Yt,rn,on,Pt,Dt,Nt,nn,Te;const Ne=lt||((rn=kn((Yt=ct==null?void 0:ct[vt])==null?void 0:Yt.group_name,He||[],(Se,xt)=>i()(Se==null?void 0:Se.late_time).startOf("second")>i()(xt==null?void 0:xt.late_time).startOf("second")))==null?void 0:rn.late_time)||se||((Dt=(Pt=kn((on=ct==null?void 0:ct[vt])==null?void 0:on.group_name,Ee||[],(Se,xt)=>{var Yn,mu;return i()((Yn=Se==null?void 0:Se.publish_time)==null?void 0:Yn[1]).startOf("second")>i()((mu=xt==null?void 0:xt.publish_time)==null?void 0:mu[1]).startOf("second")}))==null?void 0:Pt.publish_time)==null?void 0:Dt[1]);return K.createElement(E.Z,{key:bt.key,style:{padding:"0px 14px 0px 82px"}},K.createElement(r.Z,{className:at.Z.lable_name1,style:{lineHeight:"40px"}},"\u533F\u8BC4\u89C4\u5219",vt+1),K.createElement(E.Z,{wrap:!1,align:"top",justify:"space-between"},K.createElement(r.Z,null,K.createElement(E.Z,{wrap:!1,align:"top"},K.createElement(r.Z,{className:"mr20 ml15"},K.createElement(c.default.Item,{name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["anonymous_comment_settings","group_name"],ct==null?void 0:ct[vt]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:228},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Zt?N==null?void 0:N.group_settings:Ee,ct)}))),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:[bt.name,"evaluation_start"],rules:[{required:!0,validator:(Se,xt)=>xt==null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65F6\u95F4"):Ne&&i()(xt).startOf("second")<=i()(Ne).startOf("second")?Promise.reject(se?"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},K.createElement(Wn.default.RangePicker,{disabled:Kt(["anonymous_comment_settings","evaluation_start"],ct==null?void 0:ct[vt]),style:{width:580},size:"large",placeholder:["\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4","\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u622A\u6B62\u65F6\u95F4"],disabledDate:Se=>(0,f.Q8)(Se,N==null?void 0:N.course_end_date,i()(Ne).add(1,"minutes").format()),disabledTime:Se=>(0,f.d0)(Se,i()(Ne).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:[i()((0,f.U6)(),"HH:mm"),i()((0,f.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm"})))),K.createElement(E.Z,{wrap:!1,align:"top",style:{padding:"5px 0",position:"relative",left:"-55px"}},K.createElement(r.Z,{className:at.Z.lable_name1,style:{marginRight:4}},"\u533F\u8BC4\u6570\u91CF"),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"evaluation_num"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},K.createElement(I.Z,{max:((Nt=ju==null?void 0:ju[vt])==null?void 0:Nt.max)||100,precision:0,style:{width:203},size:"large",min:1,disabled:Kt(["anonymous_comment_settings","evaluation_num"],ct==null?void 0:ct[vt])}))),K.createElement(r.Z,{className:at.Z.lable_name1,style:{marginLeft:40}},"\u7F3A\u8BC4\u6263\u5206"),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"absence_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{style:{width:186,marginLeft:10},addonAfter:"\u5206",size:"large",min:0,max:100,disabled:Kt(["anonymous_comment_settings","absence_penalty"],ct==null?void 0:ct[vt])}))),!Wt&&K.createElement(r.Z,null,K.createElement(c.default.Item,{style:{marginLeft:40,lineHeight:"40px"},name:[bt.name,"student_comment"],valuePropName:"checked"},K.createElement(b.default,{disabled:Kt(["anonymous_comment_settings","student_comment"],ct==null?void 0:ct[vt])},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))),!me&&K.createElement(E.Z,{className:(nn=at.Z)==null?void 0:nn.h_lh_40},((Te=$n(Zt?N==null?void 0:N.group_settings:Ee,ct))==null?void 0:Te.length)>0&&K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,absence_penalty:3,evaluation_num:3})}})),vt!=0&&!Kt(["anonymous_comment_settings","group_name"],ct==null?void 0:ct[vt])?K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000",opacity:"0.2"}})))))})),K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5 mt5`},K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"is_open_abnormal_score",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("is_open_abnormal_score"),style:{height:40,lineHeight:"40px"}},"\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7"))),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:at.Z.poor_rating,name:"abnormal_score",rules:[{validator:(xe,Oe)=>Oe===0?Promise.reject("\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u6570\u503C\u4E0D\u80FD\u4E3A0"):Promise.resolve()}]},K.createElement(I.Z,{size:"large",style:{width:186},addonAfter:"\u5206",disabled:Kt("student_comment"),min:1,max:100}))),K.createElement(r.Z,null," ",K.createElement("span",{className:"ml10"},"\u5206\u8BA1\u5165",me?"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868":K.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{if(!(N!=null&&N.anonymous_comment)){h.ZP.warning("\u4FDD\u5B58\u542F\u7528\u8BBE\u7F6E\u540E\uFF0C\u70B9\u51FB\u8BE5\u6309\u94AE\u5373\u53EF\u8DF3\u8F6C\u81F3\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868");return}window.open(`/classrooms/${tt==null?void 0:tt.coursesId}/common_homework/${tt==null?void 0:tt.categoryId}/detail?TabsActiveKey=2&tabs=10`)}},"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868")),K.createElement("span",{style:{color:"#666",fontWeight:400}},"\uFF08\u5F00\u542F\u540E\uFF0C\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u8BBE\u7F6E\u6216\u5F97\u5206\u4E0D\u8DB360\u5206\uFF0C\u5747\u81EA\u52A8\u8BA1\u5165\u533F\u8BC4\u5F02\u5E38\u5217\u8868\uFF09"))),Wt&&K.createElement(c.default.Item,{className:`${at.Z.row_sty1} mb5`,name:"student_comment",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("student_comment")},K.createElement(E.Z,{gutter:10},K.createElement(r.Z,null,"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"),K.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u5B8C\u6210\u533F\u8BC4\u540E\uFF0C\u88AB\u533F\u8BC4\u4F5C\u4E1A\u5C06\u6807\u8BB0\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\uFF09")))),K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(c.default.Item,{name:"anonymous_appeal",valuePropName:"checked",className:at.Z.h_lh_40},K.createElement(b.default,{disabled:Kt("anonymous_appeal")},"\u542F\u7528\u533F\u8BC4\u7533\u8BC9")),K.createElement("span",{style:{color:"#666"}},"\uFF08\u5B66\u751F\u7533\u8BC9\u533F\u8BC4\u5F97\u5206\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),ln&&K.createElement("div",{style:{paddingBottom:5}},K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(r.Z,{className:at.Z.lable_name},"\u7533\u8BC9\u65B9\u5F0F"),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",style:{height:40,lineHeight:"40px"},name:"unified_anonymous_appeal",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7533\u8BC9\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_anonymous_appeal")},K.createElement(Z.ZP,{value:!0},"\u7EDF\u4E00\u7533\u8BC9"),((Ve=N==null?void 0:N.group_settings)==null?void 0:Ve.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u7533\u8BC9")))),(dn===!1||Zt===!1||Wt==!1)&&K.createElement(D.Z,{title:wu("unified_anonymous_appeal")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Ue?K.createElement(E.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(r.Z,{className:"c-grey-333 mr10"},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),K.createElement(r.Z,null,K.createElement(c.default.Item,{name:"appeal_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Kt("appeal_penalty")}))),K.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u533F\u8BC4\u88AB\u7533\u8BC9\u6210\u529F\u5C06\u5224\u5B9A\u4E3A\u8FDD\u89C4\u533F\u8BC4\uFF0C\u8BE5\u5B66\u751F\u5C06\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570\uFF09")):K.createElement(c.default.List,{name:"anonymous_appeal_settings"},(xe,{add:Oe,remove:an})=>xe.map((bt,vt)=>{var Yt,rn;return K.createElement(E.Z,{key:bt.key,style:{padding:"5px 14px 5px 82px"}},K.createElement(r.Z,{className:at.Z.lable_name1},"\u7533\u8BC9\u89C4\u5219",vt+1),K.createElement(E.Z,{wrap:!1,align:"top",justify:"space-between"},K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["anonymous_appeal_settings","group_name"],Et==null?void 0:Et[vt]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",size:"large",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Wt?N==null?void 0:N.group_settings:ct,Et)}))),K.createElement(r.Z,{className:`${at.Z.lable_name1} ml20`},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),K.createElement(r.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"appeal_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Kt(["anonymous_appeal_settings","appeal_penalty"],Et==null?void 0:Et[vt])}))),!me&&K.createElement(E.Z,{className:(Yt=at.Z)==null?void 0:Yt.h_lh_40},!!((rn=$n(Wt?N==null?void 0:N.group_settings:ct,Et))!=null&&rn.length)&&K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,appeal_penalty:2})}})),vt!=0&&!Kt(["anonymous_appeal_settings","group_name"],Et==null?void 0:Et[vt])?K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(r.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))))}))))))),((0,l.GJ)()||!(On||Rn||gn))&&K.createElement(H.ZP,{loading:Ge||Vt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{Ke.submit()}},"\u4FDD\u5B58"),K.createElement(zl.Z,{resdata:Lt,type:"shixun",okloading:In,oktext:(Lt==null?void 0:Lt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:xe=>qu(void 0,null,function*(){Fn(!0);let Oe=yield(0,ne.ZP)(`/api/courses/${tt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(tt==null?void 0:tt.categoryId)]}});if(Fn(!1),(Oe==null?void 0:Oe.status)===0){Fn(!0);const an=yield mt(Dn({},Gt));if(Fn(!1),an.status!==0)return;Fn(!0);const bt=yield cn(Dn({},Gt));if(Fn(!1),bt.status!==0)return;h.ZP.success("\u4FDD\u5B58\u6210\u529F"),na(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}})}),K.createElement(xa.Z,{onConfirm:(xe,Oe)=>{Ee.splice(xe,0,...Oe),Ee.splice(xe+Oe.length,1);const an=(0,f.QE)([...Ee]);an.forEach(bt=>{var vt;((vt=bt==null?void 0:bt.publish_time)==null?void 0:vt.length)==2?bt.publish_time=bt.publish_time:bt.publish_time=[i()(bt==null?void 0:bt.publish_time),i()(bt==null?void 0:bt.end_time)]}),Ke.setFieldValue("group_settings",[...an])}})))};var Xl=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(Jl),Eu=s(59301),ql=Object.defineProperty,Ia=Object.getOwnPropertySymbols,$l=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Pa=(S,C,v)=>C in S?ql(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,$u=(S,C)=>{for(var v in C||(C={}))$l.call(C,v)&&Pa(S,v,C[v]);if(Ia)for(var v of Ia(C))er.call(C,v)&&Pa(S,v,C[v]);return S},tr=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const nr=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:pe,user:fe})=>{const he=(0,W.useParams)(),{workSetting:_e}=S,[Ae,ae]=(0,n.useState)(!1),[Ie,ve]=(0,n.useState)(!1),[oe,$e]=(0,n.useState)({start_permanent:!1});(0,n.useEffect)(()=>{ae(!(0,l.GJ)())},[(0,l.GJ)()]);const ft=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:$u({},he)}),v({type:"shixunHomeworks/getWorkList",payload:$u({},he)})};(0,n.useEffect)(()=>{_e!=null&&_e.course_id&&(Object.keys(oe).forEach(je=>{oe[je]=_e[je]}),$e($u({},oe)))},[_e]);const ee=()=>tr(void 0,null,function*(){var je;if(((je=fe==null?void 0:fe.userInfo)==null?void 0:je.user_status)===2){(0,Me.Rd)();return}ve(!0),(yield(0,ne.ZP)(`/api/homework_commons/${he.categoryId}/shiyan_setting.json`,{method:"post",body:$u({},oe)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ft()),ve(!1)});return Eu.createElement("section",{className:An.Z.form},Eu.createElement("div",{className:An.Z.title},"\u4FDD\u5B58\u5B9E\u9A8C\u6570\u636E"),Eu.createElement("div",{className:An.Z.content},Eu.createElement(b.default,{disabled:Ae,checked:oe.start_permanent,onChange:je=>{if(!(0,l.Ny)()){(0,Me.pW)(2);return}oe.start_permanent=je.target.checked,$e(Object.assign({},oe))}},Eu.createElement("span",{className:"c-black"},"\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u5728\u8BFE\u5802\u53EF\u5BFC\u51FA\u5B66\u751F\u5B9E\u9A8C\u6570\u636E",Eu.createElement("a",{target:"_blank",href:yn.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0")))),!Ae&&Eu.createElement(Eu.Fragment,null,Eu.createElement(H.ZP,{type:"primary",size:"large",loading:Ie,style:{width:"138px",marginTop:"30px"},onClick:()=>ee()},"\u4FDD\u5B58")))};var ur=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:pe})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:pe}))(nr),ka=s(50757),cu=s(79834),Qe=s(59301),ar=Object.defineProperty,lr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,Za=(S,C,v)=>C in S?ar(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,au=(S,C)=>{for(var v in C||(C={}))or.call(C,v)&&Za(S,v,C[v]);if(Na)for(var v of Na(C))sr.call(C,v)&&Za(S,v,C[v]);return S},ea=(S,C)=>lr(S,rr(C)),ir=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const{RangePicker:cr}=Wn.default,{Option:ia}=$.default,dr=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie,ve,oe,$e,ft,ee,je,nt;const it=(0,W.useParams)(),{workSetting:ge,workList:Je}=S,[q,_t]=(0,n.useState)(!0);let[Ve,tt]=(0,n.useState)([]),[N,It]=(0,n.useState)([]),[Ge,mt]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,penalty_type:Bu.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,comment_public:!0,score_open:!1,total_score:"",eff_score:"",submit_limit:!1,submit_limit_num:"",must_file:!1,can_submit:!1,submit_num:""});(0,n.useEffect)(()=>{},[]);const[Vt,cn]=(0,n.useState)(!1);(0,n.useEffect)(()=>{ge!=null&&ge.course_id&&(Object.keys(Ge).map(function(me){Ge[me]=ge[me]}),ge.anonymous_comment&&(Ge.unified_late=ge.unified_anonymous_comment,cn(ge.unified_anonymous_comment)),(!Ge.allow_late||!Ge.unified_late)&&(Ge.late_penalty=5),Ge.unified_setting||(Ge.unified_late=!1,Ge.unified_anonymous_comment=!1,Ge.unified_anonymous_appeal=!1),Ve=JSON.parse(JSON.stringify(ge.group_settings.map(me=>ea(au({},me),{group_name:[me.group_name]})).filter(me=>me.publish_time!==null))),N=JSON.parse(JSON.stringify(ge.allow_late_settings.map(me=>ea(au({},me),{group_name:[me.group_name]})).filter(me=>me.late_time!==null))),mt(au({},Ge)),tt(Ve.length?[...Ve]:[{}]),It([...N]))},[ge]),(0,n.useEffect)(()=>{_t(!(0,l.GJ)())},[(0,l.GJ)()]);const Ke=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:au({},it)})},[Zt,Ee]=(0,n.useState)(!1),He=()=>ir(void 0,null,function*(){Ee(!Zt);const me=JSON.parse(JSON.stringify(Ge));if(me.categoryId=it.categoryId,Ge.unified_setting||Ve==null||Ve.map(dt=>{var Ot,Lt;if(!dt.publish_time||!dt.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Ee(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!dt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Ee(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");dt.group_name=typeof(dt==null?void 0:dt.group_name)=="string"?[dt==null?void 0:dt.group_name]:dt==null?void 0:dt.group_name,dt.group_id=(Lt=(Ot=dt==null?void 0:dt.group_name)==null?void 0:Ot.map(Bt=>{var Gt,fn;let In=(fn=(Gt=ge.group_settings)==null?void 0:Gt.filter(Fn=>(Fn==null?void 0:Fn.group_name)===Bt))==null?void 0:fn[0];return In==null?void 0:In.group_id}))==null?void 0:Lt.toString().split(",")}),me.group_settings=Ve,Ge.allow_late)if(Ge.unified_late){if(Ge.late_penalty===null||Ge.late_penalty===void 0||Ge.late_penalty<0||Ge.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Ee(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ge.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Ee(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(i()(Ge.late_time)<=i()(Ge.end_time))throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4"),Ee(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4")}else N=N==null?void 0:N.map(dt=>{var Ot,Lt;if(dt.penalty_type=Bu.Q.Number,dt.late_penalty===null||dt.late_penalty===void 0||dt.late_penalty<0||dt.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Ee(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!dt.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Ee(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!dt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Ee(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return dt.group_name=typeof(dt==null?void 0:dt.group_name)=="string"?[dt==null?void 0:dt.group_name]:dt==null?void 0:dt.group_name,dt.group_id=(Lt=(Ot=dt==null?void 0:dt.group_name)==null?void 0:Ot.map(Bt=>{var Gt,fn;let In=(fn=(Gt=ge.group_settings)==null?void 0:Gt.filter(Fn=>(Fn==null?void 0:Fn.group_name)===Bt))==null?void 0:fn[0];return In==null?void 0:In.group_id}))==null?void 0:Lt.toString().split(","),dt}),me.allow_late_settings=N;if(Ge!=null&&Ge.submit_limit&&!(Ge!=null&&Ge.submit_limit_num)){h.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ee(!1);return}if(Ge!=null&&Ge.can_submit&&!(Ge!=null&&Ge.submit_num)){h.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ee(!1);return}Object.keys(me).map(function(dt){dt.indexOf("proportion")>-1&&(me[dt]=me[dt]/100)}),(yield(0,ne.ZP)(`/api/homework_commons/${it.categoryId}/publish_setting.json`,{method:"post",body:ea(au({},me),{penalty_type:Bu.Q.Number})})).status===0?(Ee(!1),h.ZP.success("\u66F4\u65B0\u6210\u529F"),Ke(),v({type:"shixunHomeworks/getWorkList",payload:au({},it)})):Ee(!1)}),se=Qe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Qe.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - (",Qe.createElement("br",null),"\u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Qe.createElement("br",null),Qe.createElement("br",null),"\u6CE8\u610F",Qe.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6",Qe.createElement("br",null),"\u8BC4\u5206\u9009\u9879\u4E0A\u3002",Qe.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0",Qe.createElement("br",null),"\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),kt=Qe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Qe.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% -",Qe.createElement("br",null),"( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Qe.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),tn=(me,rt,dt="group_id")=>{var Ot;return rt?rt.find(Lt=>Lt[dt]===me):(Ot=ge==null?void 0:ge.group_settings)==null?void 0:Ot.find(Lt=>Lt.group_id[0]===me)},dn=(ge==null?void 0:ge.allow_late)||(ge==null?void 0:ge.anonymous_comment),lt=me=>{var rt,dt;const Ot=tn(me,ge==null?void 0:ge.allow_late_settings,"id"),Lt=tn(me,ge==null?void 0:ge.anonymous_comment_settings),Bt=tn(me);return(ge==null?void 0:ge.allow_late)&&Ot&&i()(Ot==null?void 0:Ot.late_time)<=i()()||(ge==null?void 0:ge.anonymous_comment)&&Lt&&(Lt==null?void 0:Lt.evaluation_start)!==null||((dt=(i()(Bt==null?void 0:Bt.end_time)<=i()()&&((rt=ge==null?void 0:ge.allow_late_settings)==null?void 0:rt.filter(Gt=>Gt.group_id.includes(me))))[0])==null?void 0:dt.late_time)!=null},Le=(fe=ge==null?void 0:ge.allow_late_settings)!=null&&fe.length?(he=ge==null?void 0:ge.allow_late_settings)==null?void 0:he.every(me=>{if(me.evaluation_start)return!0}):!1,Wt=(ge==null?void 0:ge.unified_late)&&(ge==null?void 0:ge.anonymous_comment),yt=ge==null?void 0:ge.anonymous_comment,ln=(0,n.useMemo)(()=>{var me,rt;return ge!=null&&ge.unified_setting?!((me=Je==null?void 0:Je.homework_status)!=null&&me.includes("\u5DF2\u622A\u6B62"))||(ge==null?void 0:ge.allow_late)||(ge==null?void 0:ge.anonymous_comment):!((rt=ge==null?void 0:ge.group_settings)==null?void 0:rt.some(Ot=>i()(Ot.end_time)<=i()()))||(ge==null?void 0:ge.allow_late)||(ge==null?void 0:ge.all_group_late)},[ge,Je]),ct=ge==null?void 0:ge.anonymous_comment,Ue=me=>{if(!me)return!1;const rt=tn(me,ge==null?void 0:ge.anonymous_comment_settings);return(ge==null?void 0:ge.anonymous_comment)&&rt&&(rt==null?void 0:rt.evaluation_start)!==null},Et=me=>{const rt=tn(me,ge==null?void 0:ge.anonymous_comment_settings);return rt&&(rt==null?void 0:rt.evaluation_start)!==null};return Qe.createElement("section",{style:{padding:"30px 50px"}},Qe.createElement("div",{className:`${at.Z.title}`},Qe.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),Qe.createElement(D.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${at.Z.title_icon}`}))),Qe.createElement("div",{className:at.Z.content},Qe.createElement(E.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${at.Z.h_lh_40}`},Qe.createElement(Z.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:q||!((_e=Je==null?void 0:Je.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))||(0,l.Rm)()&&!((ae=(Ae=pe.AssistantObject)==null?void 0:Ae.normal)!=null&&ae.can_publish),value:Ge.unified_setting,onChange:me=>{var rt;if(!((rt=Je==null?void 0:Je.homework_status)!=null&&rt.includes("\u672A\u53D1\u5E03"))){h.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ge.unified_setting=!Ge.unified_setting,Ge.unified_setting||(Ge.unified_late=!1),mt(Object.assign({},Ge)),Ge.unified_setting===!1&&Ve==""){tt(Ve.concat({}));return}Ge.unified_setting&&(tt([]),It([{late_penalty:5}]))}},Qe.createElement(Z.ZP,{value:!0,disabled:!(ge!=null&&ge.manage_all_group)||!(0,l.GJ)()},"\u7EDF\u4E00\u53D1\u5E03"),Qe.createElement(Z.ZP,{disabled:((Ie=ge==null?void 0:ge.group_settings)==null?void 0:Ie.length)===0||!(0,l.GJ)(),value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")),((ve=ge==null?void 0:ge.group_settings)==null?void 0:ve.length)===0&&Qe.createElement("span",{style:{marginLeft:"20px",color:"#333"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Ge.unified_setting&&Qe.createElement("div",{className:at.Z.row_sty,style:{padding:"5px 30px"}},Qe.createElement(E.Z,{align:"middle"},Qe.createElement(r.Z,{style:{color:"#666",marginRight:10}},"\u53D1\u5E03\u65F6\u95F4"),Qe.createElement(r.Z,{className:"ml5"},Qe.createElement(Wn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:me=>(0,cu.Q8)(me,ge==null?void 0:ge.course_end_date),disabledTime:me=>(0,cu.d0)(me),disabled:q||!((oe=Je==null?void 0:Je.homework_status)!=null&&oe.includes("\u672A\u53D1\u5E03")||($e=Je==null?void 0:Je.homework_status)!=null&&$e.includes("\u672A\u5F00\u59CB"))||(0,l.Rm)()&&!((ft=pe.AssistantObject.normal)!=null&&ft.can_publish),value:Ge.publish_time?i()(Ge.publish_time):"",allowClear:!1,onChange:(me,rt)=>{Ge.publish_time=rt,(Ge.end_time==""||!Ge.end_time)&&Ge.unified_setting&&(Ge.end_time=i()(me).add(1,"month").format("YYYY-MM-DD HH:mm:ss"),Ge.end_time=Ge.end_time),mt(Object.assign({},Ge))}})),Qe.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09")),Qe.createElement(E.Z,{align:"middle"},Qe.createElement(r.Z,{style:{marginLeft:40,color:" #666",marginRight:10}},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(r.Z,{className:"ml5"},Qe.createElement(Wn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Le||yt||(ge==null?void 0:ge.allow_late)&&(ge==null?void 0:ge.homework_status.includes("\u5DF2\u622A\u6B62"))||q||(ge==null?void 0:ge.allow_late)&&i()()>=i()(ge==null?void 0:ge.end_time)||(0,l.Rm)()&&!((ee=pe.AssistantObject.normal)!=null&&ee.can_publish),allowClear:!1,disabledDate:me=>(0,cu.Q8)(me,ge==null?void 0:ge.course_end_date,Ge.publish_time),disabledTime:me=>(0,cu.d0)(me,Ge.publish_time),value:Ge.end_time?i()(Ge.end_time):"",onChange:(me,rt)=>{Ge.end_time=rt,mt(Object.assign({},Ge))}})),Qe.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))),!Ge.unified_setting&&Qe.createElement(E.Z,null,Ve&&Ve.map(function(me,rt){var dt,Ot,Lt,Bt;return Qe.createElement(E.Z,{key:rt},Qe.createElement(E.Z,{style:{padding:"5px 14px 5px 52px"}},Qe.createElement(r.Z,{className:at.Z.lable_name1},"\u53D1\u5E03\u89C4\u5219",rt+1),Qe.createElement(r.Z,{flex:1,style:{maxWidth:400}},Qe.createElement($.default,{disabled:q||((dt=Je==null?void 0:Je.homework_status)!=null&&dt.includes("\u672A\u53D1\u5E03")&&me.id||i()(){var fn,In;if((0,l.Rm)()&&!((In=(fn=pe.AssistantObject)==null?void 0:fn.normal)!=null&&In.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ve[rt].group_name=Gt,Ve[rt].group_id=me.group_id;const Fn=(0,a.flattenDeep)(Ve.map(Rn=>Rn.group_name)),On=N.map(Rn=>{let gn=(Rn==null?void 0:Rn.group_name)||[];return ea(au({},Rn),{group_name:(0,a.remove)(gn,Qn=>Fn.includes(Qn))})});It(On),tt(Ve.slice())}},ge.group_settings&&ge.group_settings.map(function(Gt){if(!Ve.map(fn=>fn.group_name).toString().split(",").includes(String(Gt.group_name)))return Qe.createElement(ia,{value:Gt.group_name,key:Gt.id},Gt.group_name)})))),Qe.createElement(r.Z,{style:{padding:"5px 0"}},Qe.createElement(cr,{style:{width:620},size:"large",allowClear:!1,ranges:{\u6B64\u523B:[me.publish_time?i()(me.publish_time):i()(),i()()]},disabled:q||(i()()<=i()((Ot=tn(me.id))==null?void 0:Ot.publish_time)?!1:[!0,lt(me.id)]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Gt=>(0,cu.Q8)(Gt,ge==null?void 0:ge.course_end_date),disabledTime:Gt=>(0,cu.d0)(Gt),showTime:{format:"HH:mm",defaultValue:[i()((0,f.U6)(),"HH:mm"),i()((0,f.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:me.publish_time&&[i()(me.publish_time),i()(me.end_time)],onChange:(Gt,fn)=>{var In,Fn;if((0,l.Rm)()&&!((Fn=(In=pe.AssistantObject)==null?void 0:In.normal)!=null&&Fn.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ve[rt].publish_time=fn[0],Ve[rt].end_time=fn[1],tt([...Ve])}})),!q&&Qe.createElement(r.Z,{className:`${(Lt=at.Z)==null?void 0:Lt.h_lh_40}`,style:{padding:"5px 0"}},Ve.length<((Bt=ge==null?void 0:ge.group_settings)==null?void 0:Bt.length)&&Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{tt(Ve.concat({}))}}),(me!=null&&me.publish_time&&i()(){var Gt,fn;if((0,l.Rm)()&&!((fn=(Gt=pe.AssistantObject)==null?void 0:Gt.normal)!=null&&fn.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const In=(0,a.cloneDeep)(N);In.forEach((Fn,On)=>{Fn.group_name&&(Fn.group_name=Fn.group_name.filter(Rn=>{var gn;return!((gn=Ve[rt].group_name)!=null&&gn.includes(Rn))}))}),Ve=Ve.filter((Fn,On)=>rt!==On),It(In),tt(Ve.slice()),setTimeout(()=>tt(Ve.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))}))),!(Je!=null&&Je.is_shixun)&&Qe.createElement(ka.ZP,{checkMarginLeft:60,disabled:q,value:Ge,onChange:me=>mt(au(au({},Ge),me))}),Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{className:`${at.Z.title} mt30`},Qe.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),Qe.createElement("div",{className:at.Z.content},Qe.createElement(E.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(je=at.Z)==null?void 0:je.h_lh_40}`,align:"middle"},Qe.createElement(Vu.Z,{checked:Ge.allow_late,disabled:Le||q||(ge==null?void 0:ge.allow_late),onChange:me=>{var rt,dt;if((0,l.Rm)()&&!((dt=(rt=pe.AssistantObject)==null?void 0:rt.normal)!=null&&dt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}me&&y.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Qe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Qe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Ge.allow_late=me,N==""&&It([{late_penalty:5}]),mt(au({},Ge))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement(D.Z,{overlayStyle:{width:380,maxWidth:380},title:Qe.createElement("div",{style:{display:"flex",flexFlow:"column"}},Qe.createElement("span",null,"\u8865\u4EA4\u89C4\u5219\u8BF4\u660E"),Qe.createElement("span",null,"\u5F00\u542F\u8865\u4EA4\uFF0C\u5B66\u751F\u53EA\u5728\u8865\u4EA4\u65F6\u95F4\u5185\u624D\u901A\u5173\u5219\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u4E0D\u6263\u5206\uFF1B"),Qe.createElement("span",null,"\u5B66\u751F\u5728\u6B63\u5E38\u4F5C\u4E1A\u89C4\u5B9A\u65F6\u95F4\u5185\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u9636\u6BB5\u518D\u6B21\u901A\u5173\u4E0D\u6263\u5206\u3002"))},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${at.Z.title_icon}`}))),(Ge==null?void 0:Ge.allow_late)&&Qe.createElement("div",{className:"pb5"},Qe.createElement(E.Z,{className:at.Z.row_sty1},Qe.createElement(r.Z,{className:at.Z.lable_name,style:{marginRight:20}},"\u8865\u4EA4\u65B9\u5F0F"),Qe.createElement(Z.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:q,value:Ge.unified_late,onChange:me=>{var rt;if((0,l.Rm)()&&!((rt=pe.AssistantObject.normal)!=null&&rt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.unified_late=me.target.value,N==""&&!me.target.value&&It([{late_penalty:5}]),mt(au({},Ge))}},(Ge==null?void 0:Ge.unified_setting)&&Qe.createElement(Z.ZP,{disabled:(ge==null?void 0:ge.allow_late)||!(ge!=null&&ge.manage_all_group),value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((nt=ge==null?void 0:ge.group_settings)==null?void 0:nt.length)&&Qe.createElement(Z.ZP,{disabled:ge==null?void 0:ge.allow_late,value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ge!=null&&Ge.unified_late?Qe.createElement("div",null,Qe.createElement(E.Z,{wrap:!1,align:"middle",className:`${at.Z.row_sty1} mb10 mt5`},Qe.createElement(r.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(r.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:206},disabled:q||ct,value:Ge.late_penalty,onChange:me=>{var rt;if((0,l.Rm)()&&!((rt=pe.AssistantObject.normal)!=null&&rt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.late_penalty=me,mt(Object.assign({},Ge))}})),Qe.createElement(r.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),Qe.createElement(E.Z,{className:`${at.Z.row_sty1}`},Qe.createElement(r.Z,{className:at.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(r.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(Wn.default,{allowClear:!1,size:"large",style:{width:280},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:q||Wt||Le,value:Ge.late_time?i()(Ge.late_time):"",disabledDate:me=>(0,cu.Q8)(me,ge==null?void 0:ge.course_end_date),disabledTime:me=>(0,cu.d0)(me),onChange:(me,rt)=>{var dt;if((0,l.Rm)()&&!((dt=pe.AssistantObject.normal)!=null&&dt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.late_time=rt,mt(Object.assign({},Ge))}})),Qe.createElement(r.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):N.map(function(me,rt){var dt;return Qe.createElement(E.Z,{key:rt,style:{padding:"5px 14px 5px 52px"}},Qe.createElement(r.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u89C4\u5219",rt+1),Qe.createElement(r.Z,{className:"mr20 ml10"},Qe.createElement($.default,{size:"large",disabled:q||!((dt=Je==null?void 0:Je.homework_status)!=null&&dt.includes("\u672A\u53D1\u5E03"))&&me.id,mode:"multiple",style:{width:250},value:typeof me.group_name=="string"?[me.group_name]:me.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ot=>{var Lt;if((0,l.Rm)()&&!((Lt=pe.AssistantObject.normal)!=null&&Lt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[rt].group_name=Ot,N[rt].group_id=me.group_id,It(N.slice())}},ge.group_settings&&ge.group_settings.map(function(Ot){if(Ge!=null&&Ge.unified_setting&&!N.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!Et(Ot.id))return Qe.createElement(ia,{value:Ot.group_name,key:Ot.id},Ot.group_name);if(Ve.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!N.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!Et(Ot.id))return Qe.createElement(ia,{value:Ot.group_name,key:Ot.id},Ot.group_name)}))),Qe.createElement(r.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(r.Z,{className:"mr20 ml10"},Qe.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:150},min:0,max:100,disabled:q||Ue(me.id),defaultValue:me.late_penalty,onChange:Ot=>{var Lt,Bt;if((0,l.Rm)()&&!((Bt=(Lt=pe.AssistantObject)==null?void 0:Lt.normal)!=null&&Bt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[rt].late_penalty=Ot,N[rt].penalty_type=Bu.Q.Number}})),Qe.createElement(r.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(r.Z,{className:"ml10"},Qe.createElement(Wn.default,{size:"large",disabled:q||Ue(me.id),style:{width:250},showTime:{format:"HH:mm",defaultValue:i()((0,f.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Ot=>(0,cu.Q8)(Ot,ge==null?void 0:ge.course_end_date),disabledTime:Ot=>(0,cu.d0)(Ot),format:"YYYY-MM-DD HH:mm",value:me!=null&&me.late_time?i()(me.late_time):void 0,onChange:(Ot,Lt)=>{var Bt,Gt;if((0,l.Rm)()&&!((Gt=(Bt=pe.AssistantObject)==null?void 0:Bt.normal)!=null&&Gt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[rt].late_time=Lt,It([...N])}})),!q&&Qe.createElement(r.Z,{style:{height:40,lineHeight:"40px"}},Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{It(N.concat({penalty_type:Bu.Q.Number,late_penalty:5}))}}),rt>0&&!me.id?Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{N=N.filter((Ot,Lt)=>rt!==Lt),It(N.slice()),setTimeout(()=>It(N.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))})))),Qe.createElement(H.ZP,{loading:Zt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>He()},"\u4FDD\u5B58"))};var mr=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(dr),Pu=s(59301),pr=Object.defineProperty,fr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,Ta=(S,C,v)=>C in S?pr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Du=(S,C)=>{for(var v in C||(C={}))gr.call(C,v)&&Ta(S,v,C[v]);if(Ma)for(var v of Ma(C))vr.call(C,v)&&Ta(S,v,C[v]);return S},Tu=(S,C)=>fr(S,Er(C)),ca=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const hr=S=>ca(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/publish_setting.json`,{method:"post",body:S})}),Fr=S=>ca(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/evaluation_setting.json`,{method:"post",body:S})}),bo=(S,C)=>S==null?void 0:S.map(v=>{var pe;return(pe=C==null?void 0:C.find(fe=>fe.value===v))==null?void 0:pe.id}),_r=(S,C)=>{var v;return S=typeof S=="string"?[S]:S,(v=S==null?void 0:S.map(pe=>C==null?void 0:C.find(fe=>{var he;return(he=fe==null?void 0:fe.group_name)==null?void 0:he.includes(pe)})))==null?void 0:v.filter(pe=>pe)},xo=(S,C,v,pe=!1)=>{let fe=null,he=pe?C:_r(S,C);return he==null||he.forEach((_e,Ae)=>{(Ae==0||v(_e,fe||{}))&&(fe=_e)}),fe},yr=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie;const ve=(0,W.useParams)(),{workSetting:oe,workList:$e}=S,[,ft,ee]=(0,t.U)(hr,{categoryId:ve==null?void 0:ve.categoryId,penalty_type:Bu.Q.Number}),[,je,nt]=(0,t.U)(Fr,{categoryId:ve==null?void 0:ve.categoryId}),[it]=c.default.useForm(),ge=c.default.useWatch("unified_setting",it),Je=c.default.useWatch("group_settings",it),q=c.default.useWatch("allow_late_settings",it),_t=c.default.useWatch("end_time",it),Ve=c.default.useWatch("publish_time",it),tt=c.default.useWatch("allow_late",it),N=c.default.useWatch("unified_late",it),It=c.default.useWatch("late_time",it),Ge=c.default.useWatch("anonymous_comment",it),mt=c.default.useWatch("unified_anonymous_comment",it),Vt=c.default.useWatch("evaluation_start",it),cn=c.default.useWatch("anonymous_appeal",it),Ke=c.default.useWatch("anonymous_comment_settings",it),Zt=c.default.useWatch("unified_anonymous_appeal",it),Ee=c.default.useWatch("anonymous_appeal_settings",it),[He,se]=(0,n.useState)(!1),[kt,tn]=(0,n.useState)({}),dn=He||(0,l.Rm)()&&!((he=(fe=pe.AssistantObject)==null?void 0:fe.normal)!=null&&he.can_publish),lt=He||(0,l.Rm)()&&!((Ae=(_e=pe.AssistantObject)==null?void 0:_e.normal)!=null&&Ae.can_late),Le=He||(0,l.Rm)()&&!((Ie=(ae=pe.AssistantObject)==null?void 0:ae.normal)!=null&&Ie.can_anonymous_comment),Wt=ln=>ca(void 0,null,function*(){const ct=ln;let Ue=yield(0,ne.ZP)(`/api/homework_commons/${ve==null?void 0:ve.categoryId}/publish_setting_for_submit.json`,{method:"post",body:ct});(Ue==null?void 0:Ue.status)===0&&(h.ZP.success("\u4FDD\u5B58\u6210\u529F"),yt(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}))}),yt=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Du({},ve)}),v({type:"shixunHomeworks/getWorkList",payload:Du({},ve)})};return(0,n.useEffect)(()=>{var ln,ct,Ue,Et;let me=(ln=oe==null?void 0:oe.group_settings)==null?void 0:ln.filter(Bt=>Bt.publish_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],publish_time:(Bt==null?void 0:Bt.publish_time)&&[i()(Bt==null?void 0:Bt.publish_time),i()(Bt==null?void 0:Bt.end_time)]}));me=(0,f.QE)((me==null?void 0:me.length)>0?me:[]);const rt=(ct=oe.allow_late_settings)==null?void 0:ct.filter(Bt=>Bt.late_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],late_time:(Bt==null?void 0:Bt.late_time)&&i()(Bt==null?void 0:Bt.late_time)})),dt=(Ue=oe.anonymous_comment_settings)==null?void 0:Ue.filter(Bt=>Bt.evaluation_start!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],evaluation_start:(Bt==null?void 0:Bt.evaluation_start)&&[i()(Bt==null?void 0:Bt.evaluation_start),i()(Bt==null?void 0:Bt.evaluation_end)]})),Ot=(Et=oe.anonymous_appeal_settings)==null?void 0:Et.filter(Bt=>Bt.appeal_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name]})),Lt=Tu(Du({},oe),{late_penalty:oe!=null&&oe.allow_late?oe==null?void 0:oe.late_penalty:5,evaluation_num:oe!=null&&oe.evaluation_num?oe==null?void 0:oe.evaluation_num:3,absence_penalty:oe!=null&&oe.anonymous_comment?oe==null?void 0:oe.absence_penalty:3,appeal_penalty:oe!=null&&oe.anonymous_appeal?oe==null?void 0:oe.appeal_penalty:2,publish_time:oe!=null&&oe.publish_time?i()(oe==null?void 0:oe.publish_time):"",end_time:oe!=null&&oe.end_time?i()(oe==null?void 0:oe.end_time):"",late_time:oe!=null&&oe.late_time?i()(oe==null?void 0:oe.late_time):"",evaluation_start:oe!=null&&oe.evaluation_start?i()(oe==null?void 0:oe.evaluation_start):"",evaluation_end:oe!=null&&oe.evaluation_end?i()(oe==null?void 0:oe.evaluation_end):"",group_settings:me!=null&&me.length?me:[{is_admin:!0}],allow_late_settings:rt!=null&&rt.length?rt:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:dt!=null&&dt.length?dt:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:Ot!=null&&Ot.length?Ot:[{is_admin:!0,appeal_penalty:2}]});it.setFieldsValue(Lt),tn(Lt),se(!(0,l.GJ)()),console.log("workSetting",oe)},[oe]),(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0}),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),it==null||it.resetFields()}),[]),Pu.createElement(z.Z,{spinning:!!C["shixunHomeworks/getWorkSetting"]||!!C["shixunHomeworks/getWorkList"]},Pu.createElement("section",{style:{padding:"30px 50px",background:"#fff",marginTop:4}},Pu.createElement(c.default,{form:it,colon:!1,disabled:He,initialValues:kt,scrollToFirstError:!0,onFinish:Wt},!($e!=null&&$e.is_shixun)&&Pu.createElement(ka.rU,{form:it})),((0,l.GJ)()||!(dn||lt||Le))&&Pu.createElement(H.ZP,{loading:ft||je,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{it.submit()}},"\u4FDD\u5B58"),Pu.createElement(xa.Z,{onConfirm:(ln,ct)=>{Je.splice(ln,0,...ct),Je.splice(ln+ct.length,1);const Ue=(0,f.QE)([...Je]);Ue.forEach(Et=>{var me;((me=Et==null?void 0:Et.publish_time)==null?void 0:me.length)==2?Et.publish_time=Et.publish_time:Et.publish_time=[i()(Et==null?void 0:Et.publish_time),i()(Et==null?void 0:Et.end_time)]}),it.setFieldValue("group_settings",[...Ue])}})))};var Ar=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(yr),du=s(59301);const Cr=({shixunHomeworks:S,loading:C,dispatch:v})=>{const{workSetting:pe,workList:fe}=S,[he,_e]=(0,n.useState)("1"),Ae=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:pe!=null&&pe.is_new_rule?du.createElement(Xl,null):du.createElement(mr,null)},!(fe!=null&&fe.is_shixun)&&{key:"7",label:"\u63D0\u4EA4\u8BBE\u7F6E",element:du.createElement(Ar,null)},((fe==null?void 0:fe.is_jupyter)||(fe==null?void 0:fe.is_jupyter_lab))&&{key:"6",label:"\u5B9E\u9A8C\u8BBE\u7F6E",element:du.createElement(ur,null)},!(pe!=null&&pe.is_new_rule)&&{key:"2",label:"\u533F\u8BC4\u8BBE\u7F6E",element:du.createElement(jl,null)},{key:"3",label:"\u8BC4\u5206\u8BBE\u7F6E",element:du.createElement(yl,null)},{key:"4",label:"\u516C\u5F00\u8BBE\u7F6E",element:du.createElement(xl,null)},{key:"5",label:"\u534F\u4F5C\u8BBE\u7F6E",element:du.createElement(cl,null)}].filter(ae=>!!ae);return(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0})}),[]),du.createElement("div",{style:{paddingBottom:"50px"}},(Ae==null?void 0:Ae.length)&&du.createElement(Ol.Z,{dataSource:Ae,style:{marginBottom:52}}))};var Br=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(Cr),ku={flex_box_center:"flex_box_center___FJzIA",flex_space_between:"flex_space_between___oLjvQ",flex_box_vertical_center:"flex_box_vertical_center___SoaRH",flex_box_center_end:"flex_box_center_end___ewpDJ",flex_box_column:"flex_box_column___HLvXm",homeworkDetailWrapper:"homeworkDetailWrapper___VAJSJ",title:"title___C63Sm",export:"export___HoqEK",bg:"bg___Ow82a",tabs:"tabs___AQDwR",workListTabWrap:"workListTabWrap___eltpM",workListTabButton:"workListTabButton___kCRZe"},Dr=s(83061),wr=s(26084),br=s(46400),xr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYQAAAGhCAYAAABh3MNWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAIABJREFUeF7svVeTbNmVHraOSVvmlrv+3r7tADQAoskBBmOpmSA1MwyFFCG9U/oxHPl3iYoQHyQFRelVD0NR5INCojiChsAEMINpNNCNbjTaXG/KpzlO8a2119n7nMysyjK3KjNrZ0dH1a08Zu+1z1nfXu5bQVEUBfnP6SWg0guOuwQOtKKW3wL+z3+8BLwEvARmQQKBB4SLWoYq7loc8YBwUSvg7+Ml4CVwtAQ8IJzrEzLO2PIK/1xF7C/mJeAl8Nok4AHhzKJVEJgEBh4QzixifwEvAS+BC5GAB4SpxTxO4U8DBh4QphaxP9BLwEvgUiXgAWFq8U9S/ke5iQAGHhCm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CEkVnM4UUCBQIF+qNAAIQACP2toHB1oECgwMhQIABCAISRWczhRQIFAgX6o0AAhAAI/a2gcHWgQKDAyFAgAEIAhJFZzOFFAgUCBfqjQACEAAj9raBwdaBAoMDIUCAAQgCEkVnM4UUCBQIF+qNAAIQACP2toHB1oECgwMhQIABCAIQYBZLVUPtdIDu9uup2p992H//IcOp1vkiv89fr+esc1ra9bOSqnWImWjHpVp+vd5HsdDCwVb/d6bfdx79tuc8ABt6gBmH+Mvz/9GO98zuA4W27W4wkILQChQAIG7M+17vhhgVQt/v4N2ZWt8ddAQjZAAYDm6wdBQhpQLFeZmAzMCxMbWAroscbbXf6bffx9zhdI3d6p/nr9P3IEaTPF9pxgNAnvcLlgQKBAtuIAgEQepuskQUEnwydpPj1LppO9+1tKsLZgQKBAoOmwHr39qDHsV3utzMAoQFLI3ue4kej+aPkxGUy7ZdUAIXtstTDOHciBQIg9DbrOwIQ2HfQCKy7t6XR/mwA5aAoapt2s+cI4+8E+N3QDOPf7LF3M66tPKdbuvZDt1QhT18aUUcBDHpfATsGEAIo9L44urmi3abseH0XGlrHe/R5wnYff5+vv+0vb6f5dwtK254IA3yBHQUIARQGuHLCrQIFhpACAQT6m5QdBwhGrn5U1f5IHq4OFAgUGDQFAhAMhqI7FhACMAxmAYW7BApsJQUCEAyW+jseEAIwDHZBhbsFCmwGBQIQbAyVAyAk6BpMSRuz0MJdAwUGQYEABIOgYut7BEBoQZsADBu78MLdAwV6oUAAgl6otf5zAyB0oF0AhvUvrnBloEAnCgRG34lCm/t9AITNpffIPS0A5shNaV8vFBh8X+Tb8osDIGz5FGz/AQRQ2Lg5DAx242gb7txMgf8PJKA42v0GvfsAAAAASUVORK5CYII=",Or=Object.defineProperty,Sr=Object.defineProperties,Ir=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,La=(S,C,v)=>C in S?Or(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,gu=(S,C)=>{for(var v in C||(C={}))Pr.call(C,v)&&La(S,v,C[v]);if(Ra)for(var v of Ra(C))kr.call(C,v)&&La(S,v,C[v]);return S},Ru=(S,C)=>Sr(S,Ir(C)),Nr=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Zr=({shixunHomeworks:S,loading:C,dispatch:v})=>{var pe;const fe=(0,W.useParams)(),[he,_e]=(0,n.useState)(gu(gu({},{page:1,limit:20,group_ids:[]}),fe)),{codeReview:Ae}=S,[ae]=c.default.useForm();he.order="code_rate",he.sort="desc",he.category=he.categoryId,(0,n.useEffect)(()=>{Ie()},[he]),(0,n.useEffect)(()=>{S.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Ie()},[S.actionTabs.key]);const Ie=()=>Nr(void 0,null,function*(){(yield v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})).status===-2&&setTimeout(()=>Ie(),1500)}),ve=($e,ft)=>{he.page=$e,he.limit=20,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})},oe=[{title:"\u5E8F\u53F7",dataIndex:"number",render:($e,ft,ee)=>he.limit*(he.page-1)+ee+1},{title:"\u59D3\u540D",dataIndex:"user"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"similar_rate",render:$e=>n.createElement("span",{className:"c-orange"},$e)},{title:"\u64CD\u4F5C",dataInex:"action",render:($e,ft)=>n.createElement("div",null,n.createElement(W.Link,{target:"_blank",to:`/classrooms/${he.coursesId}/common_homework/${he.categoryId}/review_detail/${ft.user_id}`},"\u67E5\u770B"),n.createElement("br",null))}];return n.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},n.createElement(E.Z,null,n.createElement(r.Z,{flex:"1"},n.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Ae.time,n.createElement(H.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{v({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:he}})}},"\u6587\u6863\u67E5\u91CD"))),n.createElement(r.Z,null,n.createElement(F.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:$e=>{he.search=$e,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})},style:{width:200}}),n.createElement("span",{className:"ml5 c-red"}))),(Ae==null?void 0:Ae.status)===-2&&n.createElement("div",{style:{textAlign:"center",margin:"100px 0px",paddingBottom:"100px"}},n.createElement("img",{src:xr}),n.createElement("br",null),n.createElement(H.ZP,{type:"primary",style:{width:"120px",height:"40px"},onClick:()=>{v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})}},"\u5237\u65B0\u9875\u9762")),((pe=Ae.course_groups)==null?void 0:pe.length)>0&&n.createElement(n.Fragment,null,n.createElement(E.Z,null,n.createElement(r.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),n.createElement(r.Z,{flex:"80px"},n.createElement(b.default,{checked:he.group_ids=="",value:"all",onChange:$e=>{delete he.group_ids,he.group_ids=[],he.page=1,_e(gu({},he))}},"\u5168\u90E8")),n.createElement(r.Z,{flex:"1"},Ae.course_groups&&Ae.course_groups.map(($e,ft)=>n.createElement(b.default,{value:$e.id,checked:he.group_ids.includes($e.id),onChange:ee=>{ee.target.checked?he.group_ids.push($e.id):he.group_ids.splice(he.group_ids.indexOf($e.id),1),he.page=1,_e(gu({},he))}},$e.name,"(",$e.members_count,")")))),n.createElement(E.Z,{className:"font14 c-red mt5"},n.createElement(r.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),(Ae==null?void 0:Ae.data)==="\u52A0\u8F7D\u4E2D"&&n.createElement(z.Z,null,n.createElement(br.Z,{message:Ae==null?void 0:Ae.data,type:"info"})),(Ae==null?void 0:Ae.data)==="\u6682\u65E0\u67E5\u91CD\u8BB0\u5F55"||(Ae==null?void 0:Ae.data)==="\u52A0\u8F7D\u4E2D"?"":n.createElement("div",null,n.createElement("p",{className:"mt10"},n.createElement("span",{className:"c-red"},Ae.similar_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u5B66\u5458\uFF08",Ae.total_count,"\u5B66\u5458\uFF09"),n.createElement(x.default,{className:"mt30",pagination:!1,dataSource:Ae.data,columns:oe,onChange:($e,ft,ee)=>{ee.order==="ascend"&&(he.b_order="asc"),ee.order==="descend"&&(he.b_order="desc"),ee.order||delete he.b_order,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})}}),n.createElement("aside",{className:"tc mb50 mt30"},n.createElement(L.Z,{showSizeChanger:!1,onChange:ve,defaultCurrent:he.page||1,current:he.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Ae.copy_reviews_count}))))};var Mr=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(Zr),Tr=Object.defineProperty,Rr=Object.defineProperties,Lr=Object.getOwnPropertyDescriptors,ja=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,za=(S,C,v)=>C in S?Tr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Hr=(S,C)=>{for(var v in C||(C={}))jr.call(C,v)&&za(S,v,C[v]);if(ja)for(var v of ja(C))zr.call(C,v)&&za(S,v,C[v]);return S},Ur=(S,C)=>Rr(S,Lr(C)),Ha=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Wr=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)(),[pe,fe]=(0,n.useState)([]),[he,_e]=(0,n.useState)(!1),[Ae,ae]=(0,n.useState)(!1),[Ie,ve]=(0,n.useState)(!1),[oe,$e]=(0,n.useState)(""),[ft,ee]=(0,n.useState)(!1);(0,n.useEffect)(()=>{S.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(je.resetFields(),fe([]),ae(!0),it()):ae(!1)},[S.actionTabs.key]);const[je]=c.default.useForm();let nt=[];const it=()=>Ha(void 0,null,function*(){_e(!0);const q=yield(0,e.VB)(Ur(Hr({},v),{course_id:v==null?void 0:v.coursesId,id:v==null?void 0:v.categoryId}));fe([...pe,...q==null?void 0:q.data]),$e(q),_e(!1)}),ge=()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}}),ve(!1),_e(!1),fe([]),je.resetFields()},Je=[{title:"",dataIndex:"course_group_id",width:280,render:(q,_t)=>n.createElement(b.default,{disabled:!(_t.work_count>=1),value:String(_t.course_group_id)},_t.course_group_name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"work_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_time",width:130}];return n.createElement(y.default,{centered:!0,title:"\u6587\u6863\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Ae,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Ha(void 0,null,function*(){var q;const _t=je.getFieldsValue();if(((q=_t.group_ids)==null?void 0:q.length)<=0){h.ZP.info("\u8BF7\u9009\u62E9\u8981\u67E5\u8BE2\u7684\u73ED\u7EA7");return}ee(!0);const Ve=yield(0,ne.ZP)(`/api/homework_commons/${v.categoryId}/homework_file_repeat.json`,{method:"get",params:{course_group_id:[..._t.group_ids.map(tt=>Number(tt))]}});ee(!1),Ve.status===0&&(ge(),h.ZP.success("\u64CD\u4F5C\u6210\u529F"),yield C({type:"shixunHomeworks/getWorkList",payload:S.actionTabs.params}),W.history.push(`/classrooms/${v.coursesId}/common_homework/${v.categoryId}/detail?tabs=4`),C({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ft},onCancel:ge},n.createElement("span",null,"\u5F53\u524D\u6587\u6863\u67E5\u91CD\u5206\u6570\u6263\u5206\u4E3A",oe==null?void 0:oe.repeat_setting_score,"\u5206\uFF0C\u5982\u9700\u8C03\u6574\u8BF7\u5728\u201C\u8BBE\u7F6E-\u8BC4\u5206\u8BBE\u7F6E\u201D\u4E2D\u8FDB\u884C\u7F16\u8F91"),S.codeReviewCourse&&n.createElement(c.default,{form:je,initialValues:{group_ids:nt,end_time:i()(i()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},n.createElement("div",{className:"flexd-table-header mt20"},n.createElement(x.default,{pagination:!1,dataSource:[],columns:Je})),n.createElement(c.default.Item,{name:"group_ids"},n.createElement(b.default.Group,{className:"w100"},n.createElement("div",{style:{width:"100%",maxHeight:360,overflow:"auto"}},n.createElement(x.default,{showHeader:!1,columns:Je,dataSource:pe,pagination:!1,loading:he}))))),n.createElement(E.Z,null,n.createElement(r.Z,{className:"ml10"},n.createElement(b.default,{checked:Ie,onChange:q=>{ve(q.target.checked);let _t=[];q.target.checked&&(_t=pe.filter(Ve=>Ve.work_count>=1).map(Ve=>Ve.course_group_id+"")),je.setFieldsValue({group_ids:_t})}},"\u5168\u9009"))))};var Qr=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(Wr),Yr=s(54873),Gr=s(25060),Kr=s(82693),Vr=s(7621),Jr=s(62551),Xr={TabsStyle:"TabsStyle___cT3EC"},Mt=s(59301),qr=Object.defineProperty,$r=Object.defineProperties,eo=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Wa=(S,C,v)=>C in S?qr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Xn=(S,C)=>{for(var v in C||(C={}))to.call(C,v)&&Wa(S,v,C[v]);if(Ua)for(var v of Ua(C))no.call(C,v)&&Wa(S,v,C[v]);return S},qn=(S,C)=>$r(S,eo(C)),ta=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const uo=S=>ta(void 0,null,function*(){return yield(0,ne.ZP)(`/api/student_works/${S.userId}/deal_appeal_score.json`,{method:"post",body:S})}),ao=({globalSetting:S,shixunHomeworks:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie;const ve=(0,W.useParams)(),[oe]=(0,W.useSearchParams)(),{workList:$e,workSetting:ft}=C,[ee]=c.default.useForm(),[je,nt]=(0,n.useState)(!1),[it,ge]=(0,n.useState)(null),[,Je,q,_t]=(0,t.U)(e.cN,{homeworkId:ve==null?void 0:ve.categoryId}),[,Ve,tt,N]=(0,t.U)(e.Qz,{homeworkId:ve==null?void 0:ve.categoryId}),[,It,Ge,mt]=(0,t.U)(e.mQ,{homeworkId:ve==null?void 0:ve.categoryId}),[,,Vt,cn]=(0,t.U)(uo,{}),[Ke,Zt]=(0,n.useState)({activeKey:"1",page:1,limit:10,status:""}),Ee=[{id:"",name:"\u5168\u90E8"},{id:1,name:"\u5F85\u5BA1\u6838"},{id:3,name:"\u63A5\u53D7\u7533\u8BC9"},{id:4,name:"\u9A73\u56DE\u7533\u8BC9"}],He=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(lt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u5B66\u751F\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u53CD\u9988\u95EE\u9898",dataIndex:"content",ellipsis:!0,key:"content"},{title:"\u88AB\u53CD\u9988\u95EE\u9898\u7684\u5B66\u751F",dataIndex:"unfeedback_real_name",key:"unfeedback_real_name",ellipsis:!0,width:180,render:(lt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},lt)},{title:"\u53CD\u9988\u95EE\u9898\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:180,render:lt=>i()(lt).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(lt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},"\u67E5\u770B")}],se=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(lt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"status",ellipsis:!0,key:"status",render:lt=>lt===-1?"\u91CD\u505A\u4E2D":Mt.createElement(f.Uw,{status:lt})},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",key:"student_comment_count",ellipsis:!0,width:100},{title:"\u88AB\u533F\u8BC4\u6700\u5927\u5206\u5DEE",dataIndex:"abnormal_score",key:"abnormal_score",width:180},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"score",key:"score",width:180},{title:"\u533F\u8BC4\u5F02\u5E38\u65F6\u95F4",dataIndex:"abnormal_date",key:"abnormal_date",width:180},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(lt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},"\u67E5\u770B")}],kt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(lt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u7533\u8BC9\u4EBA",ellipsis:!0,dataIndex:"real_name",key:"real_name",width:150,render:(lt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},lt)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:150,key:"unappeal_real_name"},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",key:"score",width:120,ellipsis:!0},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",key:"comment"},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:150,render:lt=>i()(lt).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"appeal_status",key:"appeal_status",width:150,render:(lt,Le)=>Mt.createElement(Mt.Fragment,null,lt==3&&Mt.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),lt==4&&Mt.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),lt==1&&Mt.createElement(Mt.Fragment,null,Mt.createElement(d.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>ta(void 0,null,function*(){(yield Vt({userId:Le.student_work_id,score_id:Le.student_works_score_id,status:4})).status===0&&tn()})},"\u9A73\u56DE"),Mt.createElement(d.op,{openLoading:!0,className:"ml20",type:"link",style:{padding:0},onClick:()=>ta(void 0,null,function*(){ge(Le),nt(!0)})},"\u63A5\u53D7")))}],tn=(lt=Ke)=>{Ke.activeKey=="1"&&tt({page:lt==null?void 0:lt.page,limit:lt==null?void 0:lt.limit}),Ke.activeKey=="2"&&Ge({page:lt==null?void 0:lt.page,limit:lt==null?void 0:lt.limit}),Ke.activeKey=="3"&&q({page:lt==null?void 0:lt.page,limit:lt==null?void 0:lt.limit,status:lt==null?void 0:lt.status})},dn=(lt={})=>{var Le;lt!=null&<.id&&(0,f.xg)($e.is_jupyter||$e.is_jupyter_lab?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/${lt.id}/comment`:ve.course_group?`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${lt.id}?ids=${(Le=ve.course_group)==null?void 0:Le.toString()}`:`/classrooms/${ve.coursesId}/common_homework/${ve.categoryId}/review/${lt.id}`)};return(0,n.useEffect)(()=>{tn(Ke)},[Ke]),(0,n.useEffect)(()=>{console.log("params",ve,oe.get("TabsActiveKey")),Zt(qn(Xn({},Ke),{activeKey:oe.get("TabsActiveKey")||"1"}))},[oe.get("TabsActiveKey")]),Mt.createElement(z.Z,{spinning:Ve||Je||It},Mt.createElement("section",{className:"p30",style:{background:"#fff"}},Mt.createElement(o.default,{destroyInactiveTabPane:!0,className:Xr.TabsStyle,activeKey:Ke.activeKey,onChange:lt=>{Zt(qn(Xn({},Ke),{activeKey:lt,page:1,limit:10}))}},Mt.createElement(o.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"1"},Mt.createElement(x.default,{className:"mt20",locale:{emptyText:Mt.createElement(Q.Z,null)},columns:He,dataSource:((fe=N==null?void 0:N.data)==null?void 0:fe.list)||[],pagination:{total:((he=N==null?void 0:N.data)==null?void 0:he.count)||0,onChange:(lt,Le)=>{Zt(qn(Xn({},Ke),{page:lt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:lt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},lt),"\u6761\u6570\u636E")}})),Mt.createElement(o.default.TabPane,{tab:"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38",key:"2"},Mt.createElement(x.default,{className:"mt20",locale:{emptyText:Mt.createElement(Q.Z,null)},columns:se,dataSource:((_e=mt==null?void 0:mt.data)==null?void 0:_e.list)||[],pagination:{total:((Ae=mt==null?void 0:mt.data)==null?void 0:Ae.count)||0,onChange:(lt,Le)=>{Zt(qn(Xn({},Ke),{page:lt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:lt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},lt),"\u6761\u6570\u636E")}})),Mt.createElement(o.default.TabPane,{tab:"\u533F\u8BC4\u7533\u8BC9",key:"3"},Mt.createElement(d.qp,{title:"\u7533\u8BC9\u72B6\u6001",className:"mt20",value:Ke.status,onChange:lt=>{Zt(qn(Xn({},Ke),{status:lt,page:1}))},dataSource:Ee,titleWidth:60}),Mt.createElement(x.default,{locale:{emptyText:Mt.createElement(Q.Z,null)},columns:kt,dataSource:((ae=_t==null?void 0:_t.data)==null?void 0:ae.list)||[],pagination:{total:((Ie=_t==null?void 0:_t.data)==null?void 0:Ie.count)||0,onChange:(lt,Le)=>{Zt(qn(Xn({},Ke),{page:lt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:lt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},lt),"\u6761\u6570\u636E")}}))),Mt.createElement(y.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:je,centered:!0,destroyOnClose:!0,onCancel:()=>{nt(!1)},maskClosable:!1,width:544,onOk:()=>{ee.submit()}},Mt.createElement(c.default,{form:ee,colon:!1,onFinish:lt=>ta(void 0,null,function*(){(yield Vt(qn(Xn({},lt),{userId:it.student_work_id,score_id:it.student_works_score_id,status:3}))).status===0&&(tn(),nt(!1))})},Mt.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),Mt.createElement(J.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},it),{id:$e.is_jupyter||$e.is_jupyter_lab?it==null?void 0:it.id:it==null?void 0:it.student_work_id}))}},it==null?void 0:it.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:Mt.createElement("span",{style:{color:"#191919"}},it==null?void 0:it.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:Mt.createElement("span",{style:{color:"#191919"}},it==null?void 0:it.score)}]}),Mt.createElement(E.Z,{className:"mt20",wrap:!1},Mt.createElement(r.Z,null,Mt.createElement(c.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},Mt.createElement(I.Z,{min:1,max:100,step:1}))),Mt.createElement(r.Z,null,Mt.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),Mt.createElement(r.Z,null,Mt.createElement(c.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},Mt.createElement(b.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570"))))))))};var lo=(0,W.connect)(({user:S,shixunHomeworks:C,loading:v,globalSetting:pe,classroomList:fe})=>({user:S,shixunHomeworks:C,globalSetting:pe,loading:v.effects,classroomList:fe}))(ao),Cn=s(59301),ro=Object.defineProperty,oo=Object.defineProperties,so=Object.getOwnPropertyDescriptors,Qa=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Ya=(S,C,v)=>C in S?ro(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,da=(S,C)=>{for(var v in C||(C={}))io.call(C,v)&&Ya(S,v,C[v]);if(Qa)for(var v of Qa(C))co.call(C,v)&&Ya(S,v,C[v]);return S},mo=(S,C)=>oo(S,so(C)),po=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const fo=({shixunHomeworks:S,classroomList:C,loading:v,dispatch:pe})=>{const[fe,he]=(0,n.useState)(da(da({},(0,W.useParams)()),{page:1,limit:20})),{workList:_e,workSetting:Ae}=S,[ae,Ie]=(0,n.useState)([]);(0,n.useEffect)(()=>{_e!=null&&_e.course_id&&Ie(_e==null?void 0:_e.student_works)},[_e]),(0,n.useEffect)(()=>{ve()},[]);const ve=()=>po(void 0,null,function*(){const ft=yield pe({type:"shixunHomeworks/getWorkList",payload:mo(da({},fe),{score_open:!0,work_public:!0})});Ie((ft==null?void 0:ft.student_works)||[])}),oe=(ft,ee)=>{fe.page=ft,fe.limit=20,ve()},$e=[{title:"\u59D3\u540D",width:"5%",ellipsis:!0,dataIndex:"user_name"},{title:"\u5B66\u53F7",width:"8%",ellipsis:!0,dataIndex:"student_id",sortDirections:["descend","ascend"],sorter:!0,render:ft=>ft},{title:_e!=null&&_e.is_jupyter_lab||_e!=null&&_e.is_jupyter?"\u4F5C\u4E1A\u72B6\u6001":"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",width:"6%",render:ft=>ft===-1?"\u91CD\u505A\u4E2D":Cn.createElement(f.Uw,{status:ft})},{title:"\u6700\u7EC8\u6210\u7EE9",width:"8%",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!0,render:(ft,ee)=>Cn.createElement(D.Z,{placement:"bottom",title:Cn.createElement("div",null,Cn.createElement("div",null,ee.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${ee.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Cn.createElement("div",null,ee.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${ee.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),_e!=null&&_e.anonymous_comment?Cn.createElement("div",null,ee.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${ee.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Cn.createElement("div",null,ee.late_penalty?`\u8FDF\u4EA4\u6263\u5206\uFF1A${ee.late_penalty}\u5206`:"\u8FDF\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Cn.createElement("div",null,ee.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${ee.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),_e!=null&&_e.anonymous_comment?Cn.createElement("div",null,ee.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${ee.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",Cn.createElement("div",null,ee.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${ee.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(_e!=null&&_e.is_jupyter||_e!=null&&_e.is_jupyter_lab)&&Cn.createElement("div",{onClick:je=>{var nt;je.stopPropagation(),(0,f.xg)(_e.is_jupyter||_e.is_jupyter_lab?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/${ee.id}/comment`:fe.course_group?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ee.id}?ids=${(nt=fe.course_group)==null?void 0:nt.toString()}`:`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ee.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ft>0?Cn.createElement("span",{style:{color:"#ff8100"}},ft):ft)},{title:"\u66F4\u65B0\u65F6\u95F4",width:"10%",dataIndex:"update_time",sortDirections:["descend","ascend"],sorter:!0,render:ft=>ft?i()(ft).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u8BC4\u5206",width:"6%",dataIndex:"student_score",render:(ft,ee)=>Cn.createElement(D.Z,{title:Cn.createElement("div",null,Cn.createElement("span",null,"\u4F60\u7684\u8BC4\u9605\u5206\u6570\uFF1A",ft,"\u5206"),Cn.createElement("br",null),Cn.createElement("span",null,"\u533F\u8BC4\u5B8C\u6210\u5EA6\uFF1A",ee.anonymous_comment_rate,"%"))},Cn.createElement("span",null,ft))},{title:"\u64CD\u4F5C",width:"10%",align:"center",fixed:"right",dataIndex:"action",render:(ft,ee)=>_e!=null&&_e.work_public?Cn.createElement("a",{target:"_blank",onClick:()=>{var je,nt;(je=_e.homework_status)!=null&&je.includes("\u5BFC\u5165")||(0,f.xg)(_e.is_jupyter||_e.is_jupyter_lab?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/${ee.id}/comment`:fe.course_group?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ee.id}?ids=${(nt=fe.course_group)==null?void 0:nt.toString()}`:`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ee.id}`)}},"\u67E5\u770B"):"--"}].filter(ft=>!!ft);return Cn.createElement("div",{className:"p30 bg-white"},Cn.createElement(x.default,{loading:v["shixunHomeworks/getWorkList"],pagination:!1,locale:{emptyText:Cn.createElement(Q.Z,null)},dataSource:ae,columns:$e,onRow:(ft,ee)=>({}),rowKey:"id",onChange:(ft,ee,je)=>{if(je.order===void 0)switch(je.field){case"student_id":fe.b_order="desc",fe.order=je.field;break;default:delete fe.b_order,delete fe.order}else fe.b_order=je.order.replace("end",""),fe.order=je.field;ve()}}),Cn.createElement(L.Z,{showSizeChanger:!1,onChange:oe,hideOnSinglePage:!0,defaultCurrent:fe.page||1,current:fe.page||1,defaultPageSize:20,total:S.workList.work_count}))};var Eo=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:pe})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:pe}))(fo),gt=s(59301),go=Object.defineProperty,Ga=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Ka=(S,C,v)=>C in S?go(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Lu=(S,C)=>{for(var v in C||(C={}))vo.call(C,v)&&Ka(S,v,C[v]);if(Ga)for(var v of Ga(C))ho.call(C,v)&&Ka(S,v,C[v]);return S},Va=(S,C,v)=>new Promise((pe,fe)=>{var he=ae=>{try{Ae(v.next(ae))}catch(Ie){fe(Ie)}},_e=ae=>{try{Ae(v.throw(ae))}catch(Ie){fe(Ie)}},Ae=ae=>ae.done?pe(ae.value):Promise.resolve(ae.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Fo=({globalSetting:S,shixunHomeworks:C,dispatch:v,classroomList:pe})=>{var fe,he,_e,Ae,ae,Ie,ve,oe;const $e=(0,W.useParams)(),ft=(0,W.useLocation)(),[ee]=(0,W.useSearchParams)(),[je,nt]=(0,n.useState)(ee.get("tabs")||"0"),it=(0,n.useRef)(null),[ge,Je]=(0,n.useState)(!1),{workList:q,workSetting:_t}=C,[,,Ve]=(0,t.U)(e.Gw,{homeworkId:q==null?void 0:q.id});ee.get("category_id")&&($e.category=ee.get("category_id")),(0,n.useEffect)(()=>{tt()},[$e.coursesId]),(0,n.useEffect)(()=>{v({type:"classroomList/getAssistantPermissions",payload:{course_id:$e.coursesId}})},[(0,l.bg)()]),(0,n.useEffect)(()=>{new URLSearchParams(ft.search).get("tabs")=="3"&&N()},[]);const tt=()=>{let mt=ee.get("page")&&JSON.parse(localStorage.getItem("commonhomeworkkey"));v({type:"shixunHomeworks/getWorkList",payload:Lu(Lu({},$e),mt)})},N=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Lu({},$e)})},It=[{name:(0,l.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",component:gt.createElement(Ct,{zip:it,btnLoading:ge,setBtnLoading:Je})},{name:"\u516C\u5F00\u4F5C\u54C1",id:"11",component:gt.createElement(Eo,null),hidden:(0,l.GJ)()||!(q!=null&&q.can_public_work)},{name:"\u4F5C\u4E1A\u63CF\u8FF0",id:"1",component:gt.createElement("div",{className:"minH500"},gt.createElement(tl,null))},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",hidden:(fe=q.homework_status)==null?void 0:fe.includes("\u5BFC\u5165"),component:gt.createElement(Jr.Z,null)},{name:"\u6587\u6863\u67E5\u91CD",id:"4",component:gt.createElement(Mr,null),hidden:((he=q.homework_status)==null?void 0:he.includes("\u5BFC\u5165"))||!(0,l.GJ)()||q.is_jupyter||q.is_jupyter_lab},{name:"\u53C2\u8003\u7B54\u6848",id:"2",component:gt.createElement(rl,null),hidden:((_e=q.homework_status)==null?void 0:_e.includes("\u5BFC\u5165"))||!(q!=null&&q.view_answer)||q.is_jupyter||q.is_jupyter_lab},{name:gt.createElement(B.Z,{dot:q==null?void 0:q.appeal_notice,offset:[5,-5]},gt.createElement("span",{style:{color:je=="10"?"":"#b9b8b8"}},"\u533F\u8BC4\u8BE6\u60C5")),id:"10",component:gt.createElement(lo,null),hidden:(0,l.dE)()||!(q!=null&&q.anonymous_comment)},{name:(0,l.GJ)()?"\u8BBE\u7F6E":"\u5F97\u5206\u89C4\u5219",id:"3",component:(Ae=q.homework_status)!=null&&Ae.includes("\u5BFC\u5165")?gt.createElement(Gr.Z,null):gt.createElement(Br,null),hidden:((ae=q.homework_status)==null?void 0:ae.includes("\u5BFC\u5165"))&&(0,l.dE)(),forceRender:!1}].filter(mt=>!mt.hidden),Ge=()=>{var mt,Vt,cn,Ke,Zt,Ee,He,se,kt,tn,dn,lt,Le,Wt,yt,ln;return gt.createElement("div",{className:ku.workListTabButton},(0,l.GJ)()&>.createElement(gt.Fragment,null,(q.is_jupyter||q.is_jupyter_lab)&>.createElement(H.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-shixunxiangmu"}),onClick:()=>(0,f.xg)(`/shixuns/${q.shixun_identifier}/challenges`)},"\u8FDB\u5165\u5B9E\u8BAD"),(((mt=q.homework_status)==null?void 0:mt.includes("\u672A\u53D1\u5E03"))||((Vt=q.homework_status)==null?void 0:Vt.includes("\u672A\u5F00\u59CB")))&>.createElement(H.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:ct=>{ct.preventDefault(),v({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[$e.categoryId],selectArrsAll:[q],params:$e,detail:!0,type:2,manage_all_group:_t==null?void 0:_t.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),!((cn=q.homework_status)!=null&&cn.includes("\u672A\u53D1\u5E03"))&&!((Ke=q.homework_status)!=null&&Ke.includes("\u672A\u5F00\u59CB"))&&!((Zt=q.homework_status)!=null&&Zt.includes("\u5DF2\u622A\u6B62"))&>.createElement(H.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:ct=>{var Ue,Et;if(ct.preventDefault(),(0,l.Rm)()&&!((Et=(Ue=pe.AssistantObject)==null?void 0:Ue.normal)!=null&&Et.can_stop)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}v({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",selectArrs:[$e.categoryId],selectArrsAll:[],params:$e,type:2}})}},"\u7ACB\u5373\u622A\u6B62"),q!=null&&q.is_jupyter_lab||q!=null&&q.is_jupyter?gt.createElement(gt.Fragment,null,je==="1"&>.createElement(H.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ct,Ue;if((0,l.Rm)()&&!((Ue=(ct=pe.AssistantObject)==null?void 0:ct.normal)!=null&&Ue.can_create)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${$e.coursesId}/common_homework/${$e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A")):gt.createElement(gt.Fragment,null,gt.createElement(H.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ct,Ue;if((0,l.Rm)()&&!((Ue=(ct=pe.AssistantObject)==null?void 0:ct.normal)!=null&&Ue.can_create)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${$e.coursesId}/common_homework/${$e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"))),(q!=null&&q.is_jupyter_lab||q!=null&&q.is_jupyter)&&(0,l.dE)()?gt.createElement(H.ZP,{type:"primary",onClick:()=>Va(void 0,null,function*(){(0,Yr.Z)({is_jupyter:q.is_jupyter,is_jupyter_lab:q.is_jupyter_lab,shixunId:q.shixun_identifier,homework_common_id:q.homework_id})})},gt.createElement("i",{className:"iconfont icon-kaiqizhong"}),(Ee=q==null?void 0:q.task_operation)==null?void 0:Ee[0]):!((He=q==null?void 0:q.homework_status)!=null&&He.includes("\u5BFC\u5165"))&>.createElement(gt.Fragment,null,((se=q==null?void 0:q.work_statuses)==null?void 0:se.includes("\u53D6\u6D88\u5173\u8054"))&>.createElement(H.ZP,{type:"primary",onClick:()=>Va(void 0,null,function*(){const ct=yield(0,e.rN)({homeworkId:$e.categoryId});(ct==null?void 0:ct.status)===0&&(h.ZP.success("\u53D6\u6D88\u5173\u8054\u6210\u529F"),v({type:"shixunHomeworks/getWorkList",payload:Lu({},$e)}))})},"\u53D6\u6D88\u5173\u8054"),((kt=q==null?void 0:q.work_statuses)==null?void 0:kt.includes("\u5173\u8054\u9879\u76EE"))&>.createElement(H.ZP,{type:"primary",onClick:()=>{var ct;return(0,f.xg)(`${(ct=S==null?void 0:S.setting)==null?void 0:ct.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),((tn=q==null?void 0:q.work_statuses)==null?void 0:tn.includes("\u5173\u8054\u9879\u76EE"))&>.createElement(H.ZP,{type:"primary",onClick:ct=>{ct.preventDefault(),y.default.confirm({title:"\u5173\u8054\u9879\u76EE",centered:!0,width:600,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:gt.createElement("div",{className:"tc font14"},"\u60A8\u5F53\u524D\u5C1A\u672A\u7BA1\u7406\u4EFB\u4F55\u9879\u76EE\uFF0C\u8BF7\u5148",gt.createElement("a",{onClick:()=>{var Ue;(0,f.xg)(`${(Ue=S==null?void 0:S.setting)==null?void 0:Ue.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),"\u518D\u5173\u8054")})}},"\u5173\u8054\u9879\u76EE"),((dn=q==null?void 0:q.work_statuses)==null?void 0:dn.includes("\u63D0\u4EA4\u4F5C\u54C1"))&>.createElement(H.ZP,{type:"primary",onClick:()=>(0,f.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/post`)},"\u63D0\u4EA4\u4F5C\u54C1"),((lt=q==null?void 0:q.work_statuses)==null?void 0:lt.includes("\u4FEE\u6539\u4F5C\u54C1"))&>.createElement(H.ZP,{type:"primary",onClick:()=>{const ct=()=>{(0,f.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/${q.id}/edit`)};if(_t!=null&&_t.can_submit&&!(_t!=null&&_t.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}ct()}},"\u4FEE\u6539\u4F5C\u54C1"),((Le=q==null?void 0:q.work_statuses)==null?void 0:Le.includes("\u8865\u4EA4\u4F5C\u54C1"))&>.createElement(H.ZP,{type:"primary",onClick:()=>(0,f.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/post`)},"\u8865\u4EA4\u4F5C\u54C1"),(((Wt=q==null?void 0:q.work_statuses)==null?void 0:Wt.includes("\u8865\u4EA4\u9644\u4EF6"))||((yt=q==null?void 0:q.work_statuses)==null?void 0:yt.includes("\u4FEE\u6539\u9644\u4EF6")))&>.createElement(H.ZP,{type:"primary",onClick:()=>{var ct;if(_t!=null&&_t.can_submit&&!(_t!=null&&_t.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}v({type:"classroomList/setActionTabs",payload:{key:"\u8865\u4EA4\u9644\u4EF6",params:$e,selectArrs:Lu({},q),title:(ct=q==null?void 0:q.work_statuses)!=null&&ct.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"}})}},(ln=q==null?void 0:q.work_statuses)!=null&&ln.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6")))};return gt.createElement("section",{className:`${ku.bg} ${ku.homeworkDetailWrapper}`},gt.createElement("div",{className:"edu-container mb30"},q.homework_name&>.createElement("section",{className:"animated fadeIn"},gt.createElement("aside",{className:"mt10"},q.category&>.createElement(w.Z,{separator:">"},gt.createElement(w.Z.Item,null,gt.createElement(W.Link,{to:`/classrooms/${$e==null?void 0:$e.coursesId}/common_homework`},q.course_name)),gt.createElement(w.Z.Item,null,gt.createElement(W.Link,{to:`/classrooms/${$e==null?void 0:$e.coursesId}/common_homework/${((Ie=q.category)==null?void 0:Ie.main)===1?"":q.category.category_id}`},q.category.category_name)),gt.createElement(w.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),gt.createElement("aside",{className:[ku.title,"mt20"].join(" ")},gt.createElement(W.Link,{to:`/classrooms/${q.course_id}/common_homework/${((ve=q.category)==null?void 0:ve.main)===1?"":q.category.category_id}`},gt.createElement(O.Z,{className:"font16 c-black"})),gt.createElement("strong",{className:"font20 ml5"},q.homework_name),gt.createElement(f.VV,{temporary:!0,status:q.homework_status}))),gt.createElement("aside",{className:`mt30 relative ${ku.workListTabWrap}`},gt.createElement(o.default,{destroyInactiveTabPane:!0,type:"card",activeKey:je,tabBarExtraContent:(oe=q.homework_status)!=null&&oe.includes("\u5BFC\u5165")&&(0,l.GJ)()?gt.createElement(H.ZP,{icon:gt.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{v({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:q==null?void 0:q.homework_name,id:q==null?void 0:q.homework_id,type:"normal"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):Ge(),onTabClick:(mt,Vt)=>{parseInt(mt)==3&&N();const cn=()=>{if(parseInt(mt)===2){if(!(q!=null&&q.view_answer)){h.ZP.info("\u672C\u6B21\u4F5C\u4E1A\u8001\u5E08\u672A\u516C\u5F00\u7B54\u6848");return}nt(mt)}else nt(mt)};mt!=="11"&&tt(),C.actionTabs.key=="\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"?y.default.confirm({centered:!0,title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",onOk:()=>{cn(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}}):cn()},className:ku.tabs,items:It.map(mt=>({label:mt.name,key:mt.id,children:mt.component,forceRender:mt.forceRender}))}))),gt.createElement(Dr.Z,null),gt.createElement(Kr.Z,{onOk:()=>{tt()}}),gt.createElement(Vr.Z,{onOk:()=>{tt()}}),gt.createElement(ol.Z,{type:"edit",onCallback:()=>tt(),courseEndTime:q==null?void 0:q.course_end_date}),gt.createElement(sl.Z,{courseEndTime:q==null?void 0:q.course_end_date,successCallback:()=>tt(),visible:pe.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[$e.categoryId],courseId:$e.coursesId,isBatch:!1}),gt.createElement(Qr,null),gt.createElement(wr.Z,{ref:it,hide:!0,name:`${q==null?void 0:q.homework_name}-\u4F5C\u54C1\u9644\u4EF6`,onOk:()=>Je(!1)}))};var _o=(0,W.connect)(({user:S,shixunHomeworks:C,loading:v,globalSetting:pe,classroomList:fe})=>({user:S,shixunHomeworks:C,globalSetting:pe,loading:v.effects,classroomList:fe}))(Fo)},83061:function(St,We,s){"use strict";var n=s(78241),W=s(43418),B=s(8591),H=s(92832),h=s(36708),y=s(89070),w=s(57490),o=s(59301),O=Object.defineProperty,f=Object.defineProperties,c=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(L,Z,I)=>Z in L?O(L,Z,{enumerable:!0,configurable:!0,writable:!0,value:I}):L[Z]=I,r=(L,Z)=>{for(var I in Z||(Z={}))E.call(Z,I)&&b(L,I,Z[I]);if(D)for(var I of D(Z))_.call(Z,I)&&b(L,I,Z[I]);return L},x=(L,Z)=>f(L,c(Z)),F=(L,Z,I)=>new Promise(($,z)=>{var V=ne=>{try{Q(I.next(ne))}catch(T){z(T)}},i=ne=>{try{Q(I.throw(ne))}catch(T){z(T)}},Q=ne=>ne.done?$(ne.value):Promise.resolve(ne.value).then(V,i);Q((I=I.apply(L,Z)).next())});const P=({classroomList:L,loading:Z,dispatch:I,shixunHomeworks:$})=>{const z=(0,y.useParams)(),[V]=n.default.useForm(),{workList:i,workSetting:Q}=$,ne=()=>{I({type:"shixunHomeworks/getWorkSetting",payload:r({},z)}),I({type:"shixunHomeworks/getWorkList",payload:r({},z)})};return o.createElement(W.default,{centered:!0,title:L.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6",open:L.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>F(void 0,null,function*(){const T=()=>F(void 0,null,function*(){var ue;yield V.validateFields();const m=r({},V.getFieldValue()),{selectArrs:le}=L.actionTabs;m.attachment_ids=(ue=m.attachment_ids)==null?void 0:ue.map(te=>te.response.id),(yield(0,h.mz)(x(r({},m),{homeworkId:le.work_id}))).status===0&&(V.resetFields(),I({type:"classroomList/setActionTabs",payload:{}}),ne())});if(Q!=null&&Q.can_submit){if(!(Q!=null&&Q.submit_size)){B.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}W.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:o.createElement(o.Fragment,null,"\u4F60\u8FD8\u6709 ",o.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},Q==null?void 0:Q.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{T()}});return}T()}),onCancel:()=>{V.resetFields(),I({type:"classroomList/setActionTabs",payload:{}})}},o.createElement(n.default,{form:V,initialValues:{}},o.createElement(n.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},o.createElement(w.Z,null)),o.createElement(n.default.Item,{name:"description"},o.createElement(H.default.TextArea,{placeholder:`\u8BF7\u5728\u6B64\u8F93\u5165${L.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6"}\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26`,rows:7}))))};We.Z=(0,y.connect)(({classroomList:L,loading:Z,shixunHomeworks:I})=>({classroomList:L,loading:Z,shixunHomeworks:I}))(P)},16133:function(St,We,s){"use strict";var n=s(59301),W=s(78241),B=s(8591),H=s(43418),h=s(95237),y=s(43604),w=s(5083),o=s(5112),O=s(24905),f=s(61186),c=s.n(f),D=s(99064),E=s(24065),_=s(955),b=s(89070),r=s(59437),x=s(50757),F=s(92365),P=s(79834),L=s(82438),Z=s(49692),I=s(59301),$=Object.defineProperty,z=Object.defineProperties,V=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,T=(re,R,g)=>R in re?$(re,R,{enumerable:!0,configurable:!0,writable:!0,value:g}):re[R]=g,ue=(re,R)=>{for(var g in R||(R={}))Q.call(R,g)&&T(re,g,R[g]);if(i)for(var g of i(R))ne.call(R,g)&&T(re,g,R[g]);return re},m=(re,R)=>z(re,V(R)),le=(re,R)=>{var g={};for(var l in re)Q.call(re,l)&&R.indexOf(l)<0&&(g[l]=re[l]);if(re!=null&&i)for(var l of i(re))R.indexOf(l)<0&&ne.call(re,l)&&(g[l]=re[l]);return g},X=(re,R,g)=>new Promise((l,p)=>{var M=de=>{try{G(g.next(de))}catch(De){p(De)}},j=de=>{try{G(g.throw(de))}catch(De){p(De)}},G=de=>de.done?l(de.value):Promise.resolve(de.value).then(M,j);G((g=g.apply(re,R)).next())});const te=re=>{var R=re,{classroomList:g,dispatch:l,courseEndTime:p}=R,M=le(R,["classroomList","dispatch","courseEndTime"]),j,G,de,De;const Be=(0,b.useParams)(),[we]=W.default.useForm(),[Ce,Ze]=(0,n.useState)(1),[ze,Me]=(0,n.useState)([]),[a,J]=(0,n.useState)(0),[d,t]=(0,n.useState)(2e3),[e,u]=(0,n.useState)(!0),[A,U]=(0,n.useState)(!1),[k,ie]=(0,n.useState)(!1),[ye,Fe]=(0,n.useState)([]),[be,Re]=(0,n.useState)(!0),[Pe,ot]=(0,n.useState)(null),[Tt,Jt]=(0,n.useState)({}),[zt,wt]=(0,n.useState)({});(0,n.useEffect)(()=>{if(g.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(Pn(),Rt(),g.actionTabs.type===2){const Ye=g.actionTabs.selectArrsAll[0];ot({submit_limit:Ye==null?void 0:Ye.submit_limit,submit_limit_num:Ye==null?void 0:Ye.submit_limit_num,must_file:Ye==null?void 0:Ye.must_file,can_submit:Ye==null?void 0:Ye.can_submit,submit_num:Ye==null?void 0:Ye.submit_num}),Re(Ye.unified_setting)}else Re(!1),ot({submit_limit:!1,submit_limit_num:200,must_file:!1,can_submit:!1,submit_num:3})},[g.actionTabs]),(0,n.useEffect)(()=>{if(A){if(k)return;l({type:"classroomList/setActionTabs",payload:{}}),(0,E.GJ)()?l({type:"classroomList/getClassroomTeacherCommonList",payload:m(ue({},g.actionTabs.params),{type:1})}):l({type:"classroomList/getClassroomCommonList",payload:ue({},g.actionTabs.params)})}},[A]);const Rt=Ye=>X(void 0,null,function*(){u(!0);const pn=yield(0,F.c_)(m(ue({},Be),{page:Ye||Ce,limit:2e4,homework_id:g.actionTabs.type===1?"":g.actionTabs.selectArrs[0]}));pn==null||pn.course_groups.map((xn,Sn)=>{xn.key=xn.id,xn.title=xn.name,xn.disabled=xn.is_published}),pn&&(Me([...pn==null?void 0:pn.course_groups]),J(pn==null?void 0:pn.course_groups_count),u(!1),Ye||we.setFieldsValue({publish_time:c()(c()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:c()(c()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Bn=Ye=>{Ze(Ye),Rt(Ye)},Xt=()=>{(0,E.GJ)()?g.actionTabs.detail?(l({type:"shixunHomeworks/setActionTabs",payload:{}}),l({type:"shixunHomeworks/getWorkList",payload:ue({},Be)}),l({type:"shixunHomeworks/getWorkSetting",payload:ue({},Be)})):l({type:"classroomList/getClassroomTeacherCommonList",payload:m(ue({},g.actionTabs.params),{type:1})}):l({type:"classroomList/getClassroomCommonList",payload:ue({},g.actionTabs.params)})},sn=()=>X(void 0,null,function*(){var Ye,pn;if((0,E.Rm)()&&!((Ye=g.AssistantObject.normal)!=null&&Ye.can_publish)){B.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),mn(!1);return}const xn=ue({},we.getFieldsValue());if(xn.end_time<=xn.publish_time){B.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),mn(!1);return}if((ye==null?void 0:ye.length)<=0&&!be&&ze.length>0){B.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}if(Pe!=null&&Pe.submit_limit&&!(Pe!=null&&Pe.submit_limit_num)){B.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}if(Pe!=null&&Pe.can_submit&&!(Pe!=null&&Pe.submit_num)){B.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}let Sn=ue({homework_ids:[...g.actionTabs.selectArrs],group_ids:ye.length>0?ye.map(Vn=>Vn.id):(pn=g.detailCommonHomeworksList)==null?void 0:pn.course_groups,end_time:c()(xn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:c()(xn.publish_time).format("YYYY-MM-DD HH:mm"),unified_setting:!ye.length},Pe),Mn=yield(0,Z.Tr)({homework_common_ids:[...g.actionTabs.selectArrs],course_id:Be.coursesId,type:"homework_common"});(Mn==null?void 0:Mn.student_count)===0?wn(Sn):(wt(Sn),Jt(Mn))}),wn=Ye=>X(void 0,null,function*(){mn(!0);const pn=yield(0,D.ZP)(`/api/courses/${Be.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ue({},Ye)});mn(!1),pn.status===0&&((0,_.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),B.ZP.success("\u53D1\u5E03\u6210\u529F"),l({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),M.onCallback&&M.onCallback(),Xt(),localStorage.getItem("Noviceguide")==="0"||l({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:I.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}}))}),Pn=()=>{Ze(1),Me([]),Fe([])},{detailCommonHomeworksList:bn}=g,Hn=a>Ce*d,[_n,mn]=(0,n.useState)(!1);return I.createElement("div",null,I.createElement(H.default,{width:600,centered:!0,confirmLoading:_n,title:"\u53D1\u5E03\u4F5C\u4E1A",open:g.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:sn,onCancel:()=>{Pn(),Xt(),l({type:"classroomList/setActionTabs",payload:{}})}},I.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",I.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),ze&&I.createElement(W.default,{form:we},I.createElement("div",{style:{paddingLeft:0}},I.createElement(h.Z,{className:"mt30",align:"middle"},I.createElement(y.Z,null,I.createElement(W.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},I.createElement(w.default,{style:{width:170,marginRight:"25px"},disabledDate:Ye=>(0,P.Q8)(Ye,p),disabledTime:Ye=>(0,P.d0)(Ye),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,_.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),I.createElement(y.Z,{className:"ml20"},I.createElement(W.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},I.createElement(w.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,_.U6)(),"HH:mm")},disabledDate:Ye=>(0,P.Q8)(Ye,p,we.getFieldValue("publish_time")),disabledTime:Ye=>(0,P.d0)(Ye,we.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),g.actionTabs.type===2&&I.createElement(h.Z,{style:{marginBottom:"10px"}},I.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),I.createElement(o.ZP.Group,{value:be,onChange:Ye=>{Re(Ye.target.value),Fe([])}},I.createElement(o.ZP,{value:!0,disabled:!g.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),I.createElement(o.ZP,{className:"ml20",disabled:ze.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),ze.length<=0&&g.actionTabs.type===2&&I.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(g.actionTabs.type===1||!be)&&ze.length>0&&I.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},I.createElement("span",{style:{flex:1}},I.createElement(O.default,{checked:ye.length===ze.length,onChange:Ye=>{ye.length===ze.length?Fe([]):Fe(ze.filter(pn=>!pn.is_published))}},"\u5168\u9009")),I.createElement("span",{style:{width:16}}),I.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ye.length||0,"\u4E2A\u5206\u73ED")),(g.actionTabs.type===1||!be)&&ze.length>0&&I.createElement(r.Z,{data:ze,selectedRowKeys:ye,setSelectedRowKeys:Fe})),!((de=(G=(j=g==null?void 0:g.actionTabs)==null?void 0:j.selectArrsAll)==null?void 0:G[0])!=null&&de.is_shixun)&&I.createElement(x.ZP,{value:Pe,onChange:Ye=>ot(ue({},Ye))})),I.createElement(L.Z,{resdata:Tt,type:((De=g.actionTabs.selectArrs)==null?void 0:De.length)===1?"shixun":"shixunpush",okloading:_n,oktext:(Tt==null?void 0:Tt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Ye=>X(void 0,null,function*(){mn(!0);let pn=yield(0,D.ZP)(`/api/courses/${Be.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[...g.actionTabs.selectArrs]}});mn(!1),(pn==null?void 0:pn.status)===0&&wn(zt)})}))};We.Z=(0,b.connect)(({classroomList:re})=>({classroomList:re}))(te)},33441:function(St,We,s){"use strict";s.d(We,{Z:function(){return V}});var n=s(59301),W={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},B=Object.defineProperty,H=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,w=(i,Q,ne)=>Q in i?B(i,Q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):i[Q]=ne,o=(i,Q)=>{for(var ne in Q||(Q={}))h.call(Q,ne)&&w(i,ne,Q[ne]);if(H)for(var ne of H(Q))y.call(Q,ne)&&w(i,ne,Q[ne]);return i};const O=i=>React.createElement("svg",o({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var f="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",c=s(99313),D=s(92310),E=s.n(D),_=s(59301),b=Object.defineProperty,r=Object.defineProperties,x=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,Z=(i,Q,ne)=>Q in i?b(i,Q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):i[Q]=ne,I=(i,Q)=>{for(var ne in Q||(Q={}))P.call(Q,ne)&&Z(i,ne,Q[ne]);if(F)for(var ne of F(Q))L.call(Q,ne)&&Z(i,ne,Q[ne]);return i},$=(i,Q)=>r(i,x(Q)),V=({dataSource:i,className:Q,style:ne})=>{const[T,ue]=(0,n.useState)([]),[m,le]=(0,n.useState)(""),X=(0,n.useRef)("");(0,n.useEffect)(()=>{if(i!=null&&i.length){const R=String(Math.random()).slice(-6),g=i.map(l=>$(I({},l),{key:`${R}-${l.key}`}));ue(g),le(g[0].key)}},[i.length]);const te=R=>{le(R),X.current=R;const g=document.getElementById(R);if(g){const l=g.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:l,behavior:"smooth"})}},re=()=>{const R=T.map(l=>document.getElementById(l.key)),g=window.innerHeight/2;for(const l of R)if(l){const p=l.getBoundingClientRect();if(p.top>=0&&p.top(window.addEventListener("scroll",re),()=>{window.removeEventListener("scroll",re)}),[T]),_.createElement("div",{className:E()(W.anchorNavigation,Q),style:ne},_.createElement(c.default,{items:T,tabBarGutter:60,className:W.tabs,activeKey:m,onChange:te}),T.map(R=>_.createElement("div",{key:R.key,id:R.key,className:W.box},_.createElement("div",{className:W.head},_.createElement("img",{className:"mr10",src:f,alt:"Dot"}),R.label),_.createElement("div",{className:W.element},R.element))))}},62551:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),H=s(99313),h=s(1710),y=s(58421),w=s(89070),o=s(99064),O=s(61186),f=s.n(O),c=s(59301),D=(b,r,x)=>new Promise((F,P)=>{var L=$=>{try{I(x.next($))}catch(z){P(z)}},Z=$=>{try{I(x.throw($))}catch(z){P(z)}},I=$=>$.done?F($.value):Promise.resolve($.value).then(L,Z);I((x=x.apply(b,r)).next())});const{Dragger:E}=W.default,_=({})=>{const b=(0,w.useParams)(),[r]=B.default.useForm(),[x,F]=(0,n.useState)(!0),[P,L]=(0,n.useState)(!1);let[Z,I]=(0,n.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const $=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];function z(){return D(this,null,function*(){let i;L(!0),window.location.href.indexOf("exercise")>-1?i=`/api/exercises/${b==null?void 0:b.categoryId}/redo_logs.json`:i=`/api/homework_commons/${b==null?void 0:b.categoryId}/redo_logs.json`;let Q=yield(0,o.ZP)(i,{method:"get",params:Z});L(!1),(Q==null?void 0:Q.status)===0&&F(Q==null?void 0:Q.data)})}(0,n.useEffect)(()=>{z()},[]);let V=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(i,Q,ne)=>{var T;return(T=$.find(ue=>ue.question_type===i))==null?void 0:T.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(i,Q,ne)=>{var T;return(T=[{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(ue=>ue.id===i))==null?void 0:T.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(i,Q,ne)=>f()(i).format("YYYY-MM-DD HH:mm:ss")}].filter(i=>!!i);return c.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},c.createElement(H.default,{destroyInactiveTabPane:!0,onChange:i=>{Z.type=i,Z.page=1,Z.limit=10,I(Z),z()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:c.createElement(h.default,{className:"mt20",loading:P,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(i,Q,ne)=>f()(i).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:x==null?void 0:x.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:c.createElement(h.default,{className:"mt20",loading:P,columns:V,dataSource:x==null?void 0:x.list,pagination:!1})}].filter(i=>!!i)}),c.createElement(y.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(i,Q)=>{Z.page=i,Z.limit=Q,I(Z),z()},current:Z.page,total:x.count,pageSize:Z.limit,style:{marginTop:20}}))};We.Z=(0,w.connect)(({classroomList:b})=>({classroomList:b}))(_)},7621:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),H=s(43418),h=s(5871),y=s(89070),w=s(99064),o=s(61186),O=s.n(o),f=s(955),c=s(59301),D=Object.defineProperty,E=Object.defineProperties,_=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=(z,V,i)=>V in z?D(z,V,{enumerable:!0,configurable:!0,writable:!0,value:i}):z[V]=i,P=(z,V)=>{for(var i in V||(V={}))r.call(V,i)&&F(z,i,V[i]);if(b)for(var i of b(V))x.call(V,i)&&F(z,i,V[i]);return z},L=(z,V)=>E(z,_(V)),Z=(z,V,i)=>new Promise((Q,ne)=>{var T=le=>{try{m(i.next(le))}catch(X){ne(X)}},ue=le=>{try{m(i.throw(le))}catch(X){ne(X)}},m=le=>le.done?Q(le.value):Promise.resolve(le.value).then(T,ue);m((i=i.apply(z,V)).next())});const{Dragger:I}=W.default,$=({classroomList:z,dispatch:V,onOk:i})=>{const Q=(0,y.useParams)(),[ne]=B.default.useForm(),[T,ue]=(0,n.useState)(),[m,le]=(0,n.useState)(!1),X={height:100,onRemove:()=>{ue("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:te=>Z(void 0,null,function*(){return ue(te),!1})};return(0,n.useEffect)(()=>{ne.setFieldsValue({publish_time:O()(O()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:O()(O()(new Date((0,f.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),c.createElement(H.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:z.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:m},onOk:()=>Z(void 0,null,function*(){ne.submit()}),onCancel:()=>{ne.resetFields(),V({type:"classroomList/setActionTabs",payload:{}})}},c.createElement(B.default,{form:ne,onFinish:te=>Z(void 0,null,function*(){var re,R;console.log("---",z.actionTabs,te,Q);let g=((re=z==null?void 0:z.actionTabs)==null?void 0:re.type)==="exercise"?`/api/exercises/${Q==null?void 0:Q.category}/exercise_user/edit_score.json`:`/api/student_works/${z.actionTabs.id}/edit_score.json`;le(!0);let l=yield(0,w.ZP)(g,{method:"post",body:L(P({},te),{exercise_user_id:((R=z==null?void 0:z.actionTabs)==null?void 0:R.type)==="exercise"?z.actionTabs.id:""})});le(!1),ne.resetFields(),V({type:"classroomList/setActionTabs",payload:{}}),i()})},c.createElement(B.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},c.createElement(h.Z,{min:0,style:{width:"100%"}}))))};We.Z=(0,y.connect)(({classroomList:z})=>({classroomList:z}))($)},25060:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),H=s(3113),h=s(95237),y=s(81327),w=s(5083),o=s(89070),O=s(61186),f=s.n(O),c=s(79834),D=s(99064),E=s(59301),_=(x,F,P)=>new Promise((L,Z)=>{var I=V=>{try{z(P.next(V))}catch(i){Z(i)}},$=V=>{try{z(P.throw(V))}catch(i){Z(i)}},z=V=>V.done?L(V.value):Promise.resolve(V.value).then(I,$);z((P=P.apply(x,F)).next())});const{Dragger:b}=W.default,r=({})=>{const x=(0,o.useParams)(),[F]=B.default.useForm(),[P,L]=(0,n.useState)(!0),[Z,I]=(0,n.useState)(!1);console.log("----",x);function $(){return _(this,null,function*(){var z,V;let i;window.location.href.indexOf("exercise")>-1?i=`/api/exercises/${x==null?void 0:x.categoryId}/get_time_setting.json`:i=`/api/homework_commons/${x==null?void 0:x.categoryId}/get_time_setting.json`;let Q=yield(0,D.ZP)(i,{method:"get"});(Q==null?void 0:Q.status)===0&&F.setFieldsValue({publish_time:f()(f()((z=Q==null?void 0:Q.data)==null?void 0:z.publish_time).format("YYYY-MM-DD HH:mm")),end_time:f()(f()((V=Q==null?void 0:Q.data)==null?void 0:V.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,n.useEffect)(()=>{$()},[]),E.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},E.createElement("div",{style:{textAlign:"end"}},P&&E.createElement(H.ZP,{onClick:()=>{L(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!P&&E.createElement("div",null,E.createElement(H.ZP,{type:"primary",loading:Z,onClick:()=>{F.submit()}},"\u63D0\u4EA4"),E.createElement(H.ZP,{style:{marginLeft:20},onClick:()=>{L(!0)}},"\u53D6\u6D88"))),E.createElement(B.default,{form:F,disabled:P,onFinish:z=>_(void 0,null,function*(){I(!0),console.log("---",window.location.href);let V;window.location.href.indexOf("exercise")>-1?V=`/api/exercises/${x==null?void 0:x.categoryId}/time_setting.json`:V=`/api/homework_commons/${x==null?void 0:x.categoryId}/time_setting.json`;let i=yield(0,D.ZP)(V,{method:"post",body:{publish_time:f()(z.publish_time).format("YYYY-MM-DD HH:mm"),end_time:f()(z.end_time).format("YYYY-MM-DD HH:mm")}});I(!1),(i==null?void 0:i.status)===0&&L(!0)})},E.createElement(h.Z,null,E.createElement(y.Z,null,E.createElement(B.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},E.createElement(w.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:z=>(0,c.Q8)(z),disabledTime:z=>(0,c.d0)(z),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),E.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),E.createElement(h.Z,null,E.createElement(y.Z,null,E.createElement(B.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},E.createElement(w.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:z=>(0,c.Q8)(z,"",F.getFieldValue("publish_time")),disabledTime:z=>(0,c.d0)(z,F.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),E.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};We.Z=(0,o.connect)(({classroomList:x})=>({classroomList:x}))(r)},59437:function(St,We,s){"use strict";s.d(We,{Z:function(){return f}});var n=s(59301),W=s(92832),B=s(24905),H=s(95237),h={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",w=s(8797),o=(c,D,E)=>new Promise((_,b)=>{var r=P=>{try{F(E.next(P))}catch(L){b(L)}},x=P=>{try{F(E.throw(P))}catch(L){b(L)}},F=P=>P.done?_(P.value):Promise.resolve(P.value).then(r,x);F((E=E.apply(c,D)).next())}),f=({data:c,value:D=[],handleChangePage:E,setSelectedRowKeys:_,selectedRowKeys:b,onChange:r=()=>{}})=>{const[x,F]=(0,n.useState)([]),[P,L]=(0,n.useState)([]),[Z,I]=(0,n.useState)([]);let[$,z]=(0,n.useState)(1),[V,i]=(0,n.useState)();return(0,n.useEffect)(()=>{F(c),L([]),I([])},[c]),(0,n.useEffect)(()=>{_&&(L(b),I(b))},[b]),n.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},n.createElement("div",{className:h.leftdiv},n.createElement(W.default.Search,{size:"middle",onChange:Q=>o(void 0,null,function*(){F(c.filter(ne=>{var T;return(T=ne==null?void 0:ne.name)==null?void 0:T.includes(Q.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),x.length===0&&n.createElement(w.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),n.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},n.createElement(B.default.Group,{value:P.map(Q=>`${Q.id}`),onChange:Q=>{_(x.filter(ne=>Q.includes(`${ne.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},x.map((Q,ne)=>n.createElement(H.Z,{key:Q.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},n.createElement(B.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Q.is_published,value:`${Q.id}`},n.createElement("div",{className:h.listClass},n.createElement("span",{className:h.spantitle,style:{width:Q.is_published?"108px":"170px"}},Q.name),Q.is_published&&n.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),n.createElement("div",{className:h.rightdiv},n.createElement(W.default.Search,{onChange:Q=>{I(P.filter(ne=>ne.name.includes(Q.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Z.length===0&&n.createElement(w.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Z.length>0&&n.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},n.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Z.map((Q,ne)=>n.createElement(H.Z,{justify:"space-between",style:{marginTop:"10px"},key:Q.id},n.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Q.name),n.createElement("img",{src:y,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{_(P.filter(T=>`${T.id}`!=`${Q.id}`))}})))))))}},50757:function(St,We,s){"use strict";s.d(We,{Ei:function(){return F},rU:function(){return P},ZP:function(){return Z}});var n=s(59301),W={wrap:"wrap___W3YuU",title:"title___OzKge",exhibition:"exhibition___ugphm",title_icon:"title_icon___QGbm6"},B=s(78241),H=s(24905),h=s(5871),y=s(95237),w=s(43604),o=s(6848),O=s(92310),f=s.n(O),c=s(59301),D=Object.defineProperty,E=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,r=(I,$,z)=>$ in I?D(I,$,{enumerable:!0,configurable:!0,writable:!0,value:z}):I[$]=z,x=(I,$)=>{for(var z in $||($={}))_.call($,z)&&r(I,z,$[z]);if(E)for(var z of E($))b.call($,z)&&r(I,z,$[z]);return I};const F=({value:I,className:$,style:z})=>{const[V,i]=(0,n.useState)("0");(0,n.useEffect)(()=>{if(I){const{submit_limit:ne,must_file:T}=I;if(ne&&T){i("1");return}if(ne&&!T){i("2");return}if(!ne&&T){i("3");return}}},[I]);const Q={1:c.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",c.createElement("span",{className:"ml5 mr5 c-light-primary"},I==null?void 0:I.submit_limit_num),"\u5B57\u7B26\uFF0C\u5E76\u4E14\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002"),2:c.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",c.createElement("span",{className:"ml5 mr5 c-light-primary"},I==null?void 0:I.submit_limit_num),"\u5B57\u7B26"),3:c.createElement("span",null,"\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002")};return V==="0"?c.createElement(c.Fragment,null):c.createElement("section",{className:f()(W.exhibition,$),style:z},c.createElement("span",{className:"c-grey-666 mr10"},"\u63D0\u4EA4\u4F5C\u4E1A\u8981\u6C42\uFF1A"),Q==null?void 0:Q[V])},P=({className:I,style:$,form:z})=>{const V=B.default.useWatch("submit_limit",z),i=B.default.useWatch("can_submit",z);return c.createElement("section",{className:f()(W.wrap,I),style:$},c.createElement("div",{className:`${W.title}`},c.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),c.createElement("div",null,c.createElement("div",{style:{display:"flex",background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},c.createElement(B.default.Item,{name:"can_submit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(H.default,null,"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A")),c.createElement(B.default.Item,{name:"submit_num",rules:i&&[{required:!0,message:"\u8BF7\u586B\u5199\u4F5C\u54C1\u6B21\u6570"}]},c.createElement(h.Z,{precision:0,min:1,disabled:!i,size:"large",addonAfter:"\u6B21",style:{width:223}})),c.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\u5C06\u9650\u5236\u5B66\u751F\u63D0\u4EA4\u4F5C\u4E1A\u6B21\u6570\uFF1B\u6253\u56DE\u91CD\u505A\u540E\u5141\u8BB8\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\uFF1B\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u7528\u5B8C\u6B21\u6570\u7684\u5B66\u751F\u53EF\u989D\u5916\u63D0\u4EA4\u4E00\u6B21\uFF09")),c.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px"}},c.createElement(B.default.Item,{name:"submit_limit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(H.default,null,"\u586B\u5199\u5185\u5BB9\u81F3\u5C11")),c.createElement(B.default.Item,{className:"mr10",name:"submit_limit_num",rules:V&&[{required:!0,message:"\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"}]},c.createElement(h.Z,{precision:0,min:1,disabled:!V,size:"large",addonAfter:"\u5B57",style:{width:223,marginRight:100}}))),c.createElement("div",{style:{background:"#F6F7F9",marginTop:1,padding:"5px 30px"}},c.createElement(B.default.Item,{name:"must_file",valuePropName:"checked",style:{marginLeft:0,lineHeight:"40px"}},c.createElement(H.default,null,"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))),c.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},c.createElement(B.default.Item,{name:"can_deadline_submit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(H.default,null,"\u4F5C\u4E1A\u622A\u6B62\u540E\u5141\u8BB8\u4FEE\u6539\u9644\u4EF6")),c.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4FEE\u6539\u9644\u4EF6\uFF0C\u672A\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5219\u4E0D\u80FD\u4E0A\u4F20\u6216\u4FEE\u6539\u9644\u4EF6\uFF09"))))};var Z=({value:I,onChange:$,className:z,style:V,disabled:i=!1,checkMarginLeft:Q=0})=>{const ne={submit_limit:!1,submit_limit_num:200,must_file:!1},[T,ue]=(0,n.useState)({});(0,n.useEffect)(()=>{if(console.log(I,"value"),!I)return;const le={submit_limit:I==null?void 0:I.submit_limit,submit_limit_num:I==null?void 0:I.submit_limit_num,must_file:I==null?void 0:I.must_file,can_submit:I==null?void 0:I.can_submit,submit_num:I==null?void 0:I.submit_num};ue(x({},le))},[I]);const m=le=>{const X=x(x({},T),le);$(X)};return c.createElement("section",{className:f()(W.wrap,z),style:V},c.createElement("div",{className:`${W.title} mt30`},c.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),c.createElement(y.Z,{style:{background:"#F6F7F9",padding:"5px 30px"}},c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(H.default,{disabled:i,checked:T==null?void 0:T.can_submit,onChange:le=>m({can_submit:le.target.checked})}),c.createElement("span",{className:"ml10",style:{marginRight:18}},"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A"),c.createElement(h.Z,{size:"large",addonAfter:"\u6B21",style:{width:143},precision:0,min:1,disabled:i||!(T!=null&&T.can_submit),value:T==null?void 0:T.submit_num,onChange:le=>m({submit_num:le})}),c.createElement(o.Z,{overlayInnerStyle:{width:520},title:c.createElement("div",null,"1\u3001\u82E5\u672A\u5F00\u542F\u8BE5\u9650\u5236\uFF0C\u5B66\u751F\u53EF\u4EE5\u65E0\u9650\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF1B",c.createElement("br",null),"2\u3001\u82E5\u4F5C\u4E1A\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u5DF2\u7528\u5B8C\u63D0\u4EA4\u6B21\u6570\u7684\u5B66\u751F\uFF0C\u5C06\u83B7\u5F97\u4E00\u6B21\u989D\u5916\u7684\u63D0\u4EA4\u4F5C\u54C1\u673A\u4F1A\uFF1B",c.createElement("br",null),"3\u3001\u82E5\u5B66\u751F\u9700\u8981\u8D85\u51FA\u89C4\u5B9A\u6B21\u6570\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u201C\u6253\u56DE\u91CD\u505A\u201D\u529F\u80FD\uFF0C\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002")},c.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${W.title_icon}`}))),c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(H.default,{style:{marginLeft:Q},disabled:i,checked:T==null?void 0:T.submit_limit,onChange:le=>m({submit_limit:le.target.checked})}),c.createElement("span",{className:"ml10",style:{marginRight:18}},"\u586B\u5199\u5185\u5BB9\u81F3\u5C11"),c.createElement(h.Z,{size:"large",addonAfter:"\u5B57",style:{width:143,marginRight:100},precision:0,min:1,disabled:i||!(T!=null&&T.submit_limit),value:T==null?void 0:T.submit_limit_num,onChange:le=>m({submit_limit_num:le})})),c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(H.default,{style:{marginLeft:Q},disabled:i,checked:T==null?void 0:T.must_file,onChange:le=>m({must_file:le.target.checked})}),c.createElement("span",{className:"ml10"},"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))))}},23538:function(St,We,s){"use strict";s.d(We,{$J:function(){return B},JZ:function(){return h},bN:function(){return w},jP:function(){return y},rO:function(){return H}});var n=s(99064),W=(o,O,f)=>new Promise((c,D)=>{var E=r=>{try{b(f.next(r))}catch(x){D(x)}},_=r=>{try{b(f.throw(r))}catch(x){D(x)}},b=r=>r.done?c(r.value):Promise.resolve(r.value).then(E,_);b((f=f.apply(o,O)).next())});function B(o){return(0,n.U2)(`libraries/${o}.json`)}function H(){return(0,n.U2)("library_tags.json")}function h(o){return W(this,null,function*(){return(yield(0,n.IV)(`attachments/${o}.json`)).status===0})}function y(o){return(0,n.v_)("libraries.json",o)}function w(o,O){return(0,n.gz)(`libraries/${o}.json`,O)}},78297:function(St,We,s){"use strict";s.d(We,{AD:function(){return le},D9:function(){return l},Hp:function(){return $},IM:function(){return M},Iy:function(){return V},KM:function(){return Me},MJ:function(){return z},Ne:function(){return p},ON:function(){return Be},Uj:function(){return Ze},VY:function(){return de},YO:function(){return Ce},YX:function(){return we},Zn:function(){return b},_g:function(){return L},_k:function(){return R},c6:function(){return ue},cr:function(){return r},eV:function(){return m},fi:function(){return x},gh:function(){return ne},hS:function(){return j},iA:function(){return F},j6:function(){return Z},je:function(){return re},jj:function(){return I},kS:function(){return De},o6:function(){return T},pO:function(){return ze},rQ:function(){return X},sA:function(){return Q},xm:function(){return g},xo:function(){return G},y8:function(){return te},yd:function(){return P}});var n=s(92365),W=s(89070),B=s(955),H=s(8591),h=s(3294),y=Object.defineProperty,w=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,f=(a,J,d)=>J in a?y(a,J,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[J]=d,c=(a,J)=>{for(var d in J||(J={}))o.call(J,d)&&f(a,d,J[d]);if(w)for(var d of w(J))O.call(J,d)&&f(a,d,J[d]);return a},D=(a,J,d)=>new Promise((t,e)=>{var u=k=>{try{U(d.next(k))}catch(ie){e(ie)}},A=k=>{try{U(d.throw(k))}catch(ie){e(ie)}},U=k=>k.done?t(k.value):Promise.resolve(k.value).then(u,A);U((d=d.apply(a,J)).next())});const E=()=>{(0,W.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},_=()=>{(0,W.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},b=a=>D(void 0,null,function*(){E(),(yield(0,n.YR)(c({},a))).status===0&&(yield(0,B.QH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_couser_info.json`,query:a}))),_()}),r=a=>D(void 0,null,function*(){const J=yield(0,n.yS)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_member_act_score`);else{if(J.status===-2)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_member_act_score`))}}),x=a=>D(void 0,null,function*(){const J=yield(0,n.W0)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_score`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_score`))}}),F=a=>D(void 0,null,function*(){const J=yield(0,n.Nl)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`))}}),P=a=>D(void 0,null,function*(){const J=yield(0,n.IU)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/export_star_user`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/export_star_user`))}}),L=a=>D(void 0,null,function*(){const J=yield(0,n.td)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else{if(J.status===-2)return J;if(J.status===-3)(0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else if(J.status===-4)return J}}),Z=a=>D(void 0,null,function*(){const J=yield(0,n.QX)(c({},a));if(J.status===0)H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_homework`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_homework`))}}),I=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.o_)(c({},a));d.status===0?(H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),$=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.ZL)(c({},a));d.status===0?(H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),z=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.vV)(c({},a));d.status===0?(H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),V=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.aP)(c({},a));d.status===0?(H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),i=a=>D(void 0,null,function*(){E(),(yield exportCourseWorkListAppendix(c({},a))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${a.categoryId}/works_list.zip`,query:a}))),_()}),Q=a=>D(void 0,null,function*(){E(),yield(0,B.QH)("",h.Z.API_SERVER+`/api/polls/${a.categoryId}/commit_result.xlsx`),_()}),ne=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/attendances/export_xlsx_data.xlsx`,query:a}))}),T=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/video_study_statics.xlsx`,query:a}))}),ue=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_video_study.xlsx`,query:a}))}),m=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_course_students_info.xlsx`,query:a}))}),le=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/school_manages/students.xlsx",query:a}))}),X=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/item_banks/export.xlsx",query:a}))}),te=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:a}))}),re=a=>D(void 0,null,function*(){const J=yield(0,n.Uy)(c({},a));J.status===0?(H.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/exercise_score,export_exercise_users`)):J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/exercise_score,export_exercise_users`))}),R=a=>D(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/export_records/${a.id}.xlsx`,query:a}))}),g=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:a}))}),l=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a==null?void 0:a.coursesId}/${a.menuKey}_statistic.xlsx?${a.checkedList.map(J=>`course_group_id[]=${J}`).join("&")}`,query:a}))}),p=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_training_objectives.xlsx`,query:a}))}),M=a=>D(void 0,null,function*(){yield(0,B.FH)(a==null?void 0:a.name,(0,B.NY)({url:h.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:a}))}),j=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_courses.xlsx`,query:a}))}),G=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_graduation_requirements.xlsx`,query:a}))}),de=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:a}))}),De=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:a}))}),Be=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/examination_banks/${a.id}.json`,query:a}))}),we=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/exercises/${a.categoryId}.json`,query:a}))}),Ce=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/polls/${a==null?void 0:a.id}/commit_result.json`,query:a}))}),Ze=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/paths/get_task_pass.json",query:a}))}),ze=(a,J)=>D(void 0,null,function*(){yield(0,B.FH)(J||"",(0,B.NY)({url:h.Z.API_SERVER+`/api/exercises/${a==null?void 0:a.exercise_id}/consult_exercise.json`,query:a}))}),Me=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/competitions/${a==null?void 0:a.identifier}/competition_commit_records/member_works.xlsx`,query:a}))})},5383:function(St,We,s){"use strict";s.d(We,{M:function(){return y},Y:function(){return h}});var n=s(61186),W=s.n(n),B=s(89392),H=s.n(B);const h=(w,o="YYYY-MM-DD")=>(0,B.cloneDeepWith)(w,f=>{if(f instanceof W())return f.format(o)}),y=(w,o,O)=>{const f=c=>Reflect.toString.call(c)==="[object Object]";if(!f(w)&&!Array.isArray(w))return w;for(const c of Object.keys(w))Array.isArray(w[c])?w[c]=w[c].map(D=>y(D,o,O)):f(w[c])?w[c]=y(w[c],o,O):o.includes(c)&&typeof w[c]=="string"&&(w[c]=O?W()(w[c],O):W()(w[c]));return w}},83312:function(St,We,s){"use strict";s.d(We,{U:function(){return O}});var n=s(59301),W=Object.defineProperty,B=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(f,c,D)=>c in f?W(f,c,{enumerable:!0,configurable:!0,writable:!0,value:D}):f[c]=D,w=(f,c)=>{for(var D in c||(c={}))H.call(c,D)&&y(f,D,c[D]);if(B)for(var D of B(c))h.call(c,D)&&y(f,D,c[D]);return f},o=(f,c,D)=>new Promise((E,_)=>{var b=F=>{try{x(D.next(F))}catch(P){_(P)}},r=F=>{try{x(D.throw(F))}catch(P){_(P)}},x=F=>F.done?E(F.value):Promise.resolve(F.value).then(b,r);x((D=D.apply(f,c)).next())});function O(f,c){const[D,E]=(0,n.useState)(c),[_,b]=(0,n.useState)(!1),[r,x]=(0,n.useState)();return[D,_,(P,L=!1)=>o(this,null,function*(){const Z=L?c:w(w({},D),P);b(!0),E(Z);const I=yield f(Z);return b(!1),x(I),I}),r,x]}},97177:function(St,We,s){"use strict";s.d(We,{Z:function(){return w}});var n=s(59301),W=s.p+"static/modelContact.7a7eb113.png",B=s(91785),H=s(24065),h=s(59301),w=()=>{const[o,O]=(0,n.useState)(!1);return{verifyModelUser:()=>(0,H.$O)()?!0:(O(!0),!1),ContactModalElement:()=>h.createElement(B.Z,{visible:o,setVisible:O,image:W}),contactOpen:o,setContactOpen:O}}},54873:function(St,We,s){"use strict";s.d(We,{_:function(){return c}});var n=s(49692),W=s(43418),B=s(8591),H=s(1710),h=s(955),y=s(59301),w=(D,E,_)=>new Promise((b,r)=>{var x=L=>{try{P(_.next(L))}catch(Z){r(Z)}},F=L=>{try{P(_.throw(L))}catch(Z){r(Z)}},P=L=>L.done?b(L.value):Promise.resolve(L.value).then(x,F);P((_=_.apply(D,E)).next())});const o=D=>w(void 0,[D],function*({is_jupyter:E,is_jupyter_lab:_,shixunId:b,homework_common_id:r,courseId:x}){if(E||_){const P=yield(0,n.BK)({id:b});P!=null&&P.identifier&&(0,h.xg)(`/tasks/${P.identifier}/jupyter?homework_common_id=${r}`);return}const F=yield(0,n.Ir)({id:b,homework_common_id:r});if(F!=null&&F.game_identifier){(0,h.xg)(`/tasks/${x}/${r}/${F.game_identifier}`);return}(F==null?void 0:F.status)===2?O(F==null?void 0:F.message,r,x):(F==null?void 0:F.status)===3?f(F==null?void 0:F.message):(F==null?void 0:F.status)==-3&&(0,h.eF)()}),O=(D,E,_)=>{D=D!=null&&D.includes(".json")?D:`${D}.json`,W.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:y.createElement("div",{className:"tc font16"}," \u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>w(void 0,null,function*(){const b=yield(0,n.$Q)({url:D});if(!b)return;B.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const r=yield(0,n.Ir)({id:b.shixun_identifier,homework_common_id:E});if(r!=null&&r.game_identifier){(0,h.xg)(`/tasks/${_}/${E}/${r.game_identifier}`);return}(r==null?void 0:r.status)===2?O(r==null?void 0:r.message,E,_):(r==null?void 0:r.status)===3&&f(r==null?void 0:r.message)})})},f=D=>{W.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:y.createElement("div",{className:"tc font16"}," \u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",D,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},c=(D,E)=>w(void 0,[D,E],function*(_,{is_jupyter:b,is_jupyter_lab:r}){const x=yield(0,n.WT)(_);if(x.length>1)return W.default.info({icon:null,closable:!0,maskClosable:!0,centered:!0,width:820,okButtonProps:{style:{display:"none"}},title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("div",null,"\u4F60\u5F53\u524D\u6709",x.length,"\u4E2A\u8FDB\u884C\u4E2D\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u4F7F\u7528\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u5728\u4E0B\u65B9\u70B9\u51FB\u5B9E\u8BAD\u4F5C\u4E1A\u540D\u79F0\u8FDB\u5165\u5B9E\u8BAD\u6311\u6218\u9875\u9762\uFF1A"),y.createElement(H.default,{pagination:!1,columns:[{title:"\u8BFE\u5802\u540D\u79F0",dataIndex:"course_name",ellipsis:!0,width:180,align:"center"},{title:"\u4F5C\u4E1A\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:240,align:"center",render(F,P){const{course_identifier:L,id:Z}=P||{};return y.createElement("a",{target:"_blank",href:`/classrooms/${L}/shixun_homework/${Z}/detail`},F)}},{title:"\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",align:"center"},{title:"\u64CD\u4F5C",align:"center",render(F,P){const{course_identifier:L,id:Z,shixun_identifier:I}=P;return y.createElement("div",{style:{cursor:"pointer",color:"#165dff"},onClick:()=>{o({is_jupyter:b,is_jupyter_lab:r,shixunId:I,homework_common_id:Z,courseId:L})}},"\u524D\u5F80\u6311\u6218")}}],dataSource:x,rowKey:"id"}))}),!0;if(x.length===1){const{shixun_identifier:F,id:P,course_identifier:L}=x[0];return o({is_jupyter:b,is_jupyter_lab:r,shixunId:F,homework_common_id:P,courseId:L}),!0}return!1});We.Z=o},46400:function(St,We,s){"use strict";s.d(We,{Z:function(){return te}});var n=s(29679),W=s(19248),B=s(99267),H=s(96512),h=s(78987),y=s(92310),w=s.n(y),o=s(77900),O=s(26112),f=s(59301),c=s(92343),D=s(36355),E=s(17313),_=s(83116);const b=(re,R,g,l,p)=>({backgroundColor:re,border:`${l.lineWidth}px ${l.lineType} ${R}`,[`${p}-icon`]:{color:g}}),r=re=>{const{componentCls:R,motionDurationSlow:g,marginXS:l,marginSM:p,fontSize:M,fontSizeLG:j,lineHeight:G,borderRadiusLG:de,motionEaseInOutCirc:De,withDescriptionIconSize:Be,colorText:we,colorTextHeading:Ce,withDescriptionPadding:Ze,defaultPadding:ze}=re;return{[R]:Object.assign(Object.assign({},(0,E.Wf)(re)),{position:"relative",display:"flex",alignItems:"center",padding:ze,wordWrap:"break-word",borderRadius:de,[`&${R}-rtl`]:{direction:"rtl"},[`${R}-content`]:{flex:1,minWidth:0},[`${R}-icon`]:{marginInlineEnd:l,lineHeight:0},"&-description":{display:"none",fontSize:M,lineHeight:G},"&-message":{color:Ce},[`&${R}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${g} ${De}, opacity ${g} ${De}, + padding-top ${g} ${De}, padding-bottom ${g} ${De}, + margin-bottom ${g} ${De}`},[`&${R}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${R}-with-description`]:{alignItems:"flex-start",padding:Ze,[`${R}-icon`]:{marginInlineEnd:p,fontSize:Be,lineHeight:0},[`${R}-message`]:{display:"block",marginBottom:l,color:Ce,fontSize:j},[`${R}-description`]:{display:"block",color:we}},[`${R}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},x=re=>{const{componentCls:R,colorSuccess:g,colorSuccessBorder:l,colorSuccessBg:p,colorWarning:M,colorWarningBorder:j,colorWarningBg:G,colorError:de,colorErrorBorder:De,colorErrorBg:Be,colorInfo:we,colorInfoBorder:Ce,colorInfoBg:Ze}=re;return{[R]:{"&-success":b(p,l,g,re,R),"&-info":b(Ze,Ce,we,re,R),"&-warning":b(G,j,M,re,R),"&-error":Object.assign(Object.assign({},b(Be,De,de,re,R)),{[`${R}-description > pre`]:{margin:0,padding:0}})}}},F=re=>{const{componentCls:R,iconCls:g,motionDurationMid:l,marginXS:p,fontSizeIcon:M,colorIcon:j,colorIconHover:G}=re;return{[R]:{"&-action":{marginInlineStart:p},[`${R}-close-icon`]:{marginInlineStart:p,padding:0,overflow:"hidden",fontSize:M,lineHeight:`${M}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${g}-close`]:{color:j,transition:`color ${l}`,"&:hover":{color:G}}},"&-close-text":{color:j,transition:`color ${l}`,"&:hover":{color:G}}}}},P=re=>[r(re),x(re),F(re)];var L=(0,_.Z)("Alert",re=>[P(re)],re=>({withDescriptionIconSize:re.fontSizeHeading3,defaultPadding:`${re.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${re.paddingMD}px ${re.paddingContentHorizontalLG}px`})),Z=function(re,R){var g={};for(var l in re)Object.prototype.hasOwnProperty.call(re,l)&&R.indexOf(l)<0&&(g[l]=re[l]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,l=Object.getOwnPropertySymbols(re);p{const{icon:R,prefixCls:g,type:l}=re,p=I[l]||null;return R?(0,c.wm)(R,f.createElement("span",{className:`${g}-icon`},R),()=>({className:w()(`${g}-icon`,{[R.props.className]:R.props.className})})):f.createElement(p,{className:`${g}-icon`})},z=re=>{const{isClosable:R,prefixCls:g,closeIcon:l,handleClose:p}=re,M=l===!0||l===void 0?f.createElement(B.Z,null):l;return R?f.createElement("button",{type:"button",onClick:p,className:`${g}-close-icon`,tabIndex:0},M):null};var i=re=>{const{description:R,prefixCls:g,message:l,banner:p,className:M,rootClassName:j,style:G,onMouseEnter:de,onMouseLeave:De,onClick:Be,afterClose:we,showIcon:Ce,closable:Ze,closeText:ze,closeIcon:Me,action:a}=re,J=Z(re,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[d,t]=f.useState(!1),e=f.useRef(null),{getPrefixCls:u,direction:A,alert:U}=f.useContext(D.E_),k=u("alert",g),[ie,ye]=L(k),Fe=Jt=>{var zt;t(!0),(zt=re.onClose)===null||zt===void 0||zt.call(re,Jt)},be=f.useMemo(()=>re.type!==void 0?re.type:p?"warning":"info",[re.type,p]),Re=f.useMemo(()=>ze?!0:typeof Ze=="boolean"?Ze:Me!==!1&&Me!==null&&Me!==void 0,[ze,Me,Ze]),Pe=p&&Ce===void 0?!0:Ce,ot=w()(k,`${k}-${be}`,{[`${k}-with-description`]:!!R,[`${k}-no-icon`]:!Pe,[`${k}-banner`]:!!p,[`${k}-rtl`]:A==="rtl"},U==null?void 0:U.className,M,j,ye),Tt=(0,O.Z)(J,{aria:!0,data:!0});return ie(f.createElement(o.default,{visible:!d,motionName:`${k}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Jt=>({maxHeight:Jt.offsetHeight}),onLeaveEnd:we},Jt=>{let{className:zt,style:wt}=Jt;return f.createElement("div",Object.assign({ref:e,"data-show":!d,className:w()(ot,zt),style:Object.assign(Object.assign(Object.assign({},U==null?void 0:U.style),G),wt),onMouseEnter:de,onMouseLeave:De,onClick:Be,role:"alert"},Tt),Pe?f.createElement($,{description:R,icon:re.icon,prefixCls:k,type:be}):null,f.createElement("div",{className:`${k}-content`},l?f.createElement("div",{className:`${k}-message`},l):null,R?f.createElement("div",{className:`${k}-description`},R):null),a?f.createElement("div",{className:`${k}-action`},a):null,f.createElement(z,{isClosable:Re,prefixCls:k,closeIcon:ze||Me,handleClose:Fe}))}))},Q=s(6909),ne=s(4771),T=s(9427),ue=s(25440),le=function(re){(0,T.Z)(g,re);var R=(0,ue.Z)(g);function g(){var l;return(0,Q.Z)(this,g),l=R.apply(this,arguments),l.state={error:void 0,info:{componentStack:""}},l}return(0,ne.Z)(g,[{key:"componentDidCatch",value:function(p,M){this.setState({error:p,info:M})}},{key:"render",value:function(){const{message:p,description:M,children:j}=this.props,{error:G,info:de}=this.state,De=de&&de.componentStack?de.componentStack:null,Be=typeof p=="undefined"?(G||"").toString():p,we=typeof M=="undefined"?De:M;return G?f.createElement(i,{type:"error",message:Be,description:f.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},we)}):j}}]),g}(f.Component);const X=i;X.ErrorBoundary=le;var te=X},49127:function(St,We,s){"use strict";s.d(We,{Z:function(){return R}});var n=s(92310),W=s.n(n),B=s(77900),H=s(59301),h=s(36785),y=s(92343),w=s(36355),o=s(93083),O=s(17313),f=s(45157),c=s(37613),D=s(83116);const E=new o.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),_=new o.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),b=new o.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),r=new o.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),x=new o.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),F=new o.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),P=g=>{const{componentCls:l,iconCls:p,antCls:M,badgeShadowSize:j,motionDurationSlow:G,textFontSize:de,textFontSizeSM:De,statusSize:Be,dotSize:we,textFontWeight:Ce,indicatorHeight:Ze,indicatorHeightSM:ze,marginXS:Me}=g,a=`${M}-scroll-number`,J=(0,f.Z)(g,(d,t)=>{let{darkColor:e}=t;return{[`&${l} ${l}-color-${d}`]:{background:e,[`&:not(${l}-count)`]:{color:e}}}});return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(g)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${l}-count`]:{zIndex:g.indicatorZIndex,minWidth:Ze,height:Ze,color:g.badgeTextColor,fontWeight:Ce,fontSize:de,lineHeight:`${Ze}px`,whiteSpace:"nowrap",textAlign:"center",background:g.badgeColor,borderRadius:Ze/2,boxShadow:`0 0 0 ${j}px ${g.badgeShadowColor}`,transition:`background ${g.motionDurationMid}`,a:{color:g.badgeTextColor},"a:hover":{color:g.badgeTextColor},"a:hover &":{background:g.badgeColorHover}},[`${l}-count-sm`]:{minWidth:ze,height:ze,fontSize:De,lineHeight:`${ze}px`,borderRadius:ze/2},[`${l}-multiple-words`]:{padding:`0 ${g.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${l}-dot`]:{zIndex:g.indicatorZIndex,width:we,minWidth:we,height:we,background:g.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${j}px ${g.badgeShadowColor}`},[`${l}-dot${a}`]:{transition:`background ${G}`},[`${l}-count, ${l}-dot, ${a}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${p}-spin`]:{animationName:F,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${l}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${l}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Be,height:Be,verticalAlign:"middle",borderRadius:"50%"},[`${l}-status-success`]:{backgroundColor:g.colorSuccess},[`${l}-status-processing`]:{overflow:"visible",color:g.colorPrimary,backgroundColor:g.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:j,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:E,animationDuration:g.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${l}-status-default`]:{backgroundColor:g.colorTextPlaceholder},[`${l}-status-error`]:{backgroundColor:g.colorError},[`${l}-status-warning`]:{backgroundColor:g.colorWarning},[`${l}-status-text`]:{marginInlineStart:Me,color:g.colorText,fontSize:g.fontSize}}}),J),{[`${l}-zoom-appear, ${l}-zoom-enter`]:{animationName:_,animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseOutBack,animationFillMode:"both"},[`${l}-zoom-leave`]:{animationName:b,animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseOutBack,animationFillMode:"both"},[`&${l}-not-a-wrapper`]:{[`${l}-zoom-appear, ${l}-zoom-enter`]:{animationName:r,animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseOutBack},[`${l}-zoom-leave`]:{animationName:x,animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseOutBack},[`&:not(${l}-status)`]:{verticalAlign:"middle"},[`${a}-custom-component, ${l}-count`]:{transform:"none"},[`${a}-custom-component, ${a}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${a}`]:{overflow:"hidden",[`${a}-only`]:{position:"relative",display:"inline-block",height:Ze,transition:`all ${g.motionDurationSlow} ${g.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${a}-only-unit`]:{height:Ze,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${a}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${l}-count, ${l}-dot, ${a}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},L=g=>{const{fontSize:l,lineHeight:p,lineWidth:M,marginXS:j,colorBorderBg:G}=g,de=Math.round(l*p),De=M,Be=g.colorBgContainer,we=g.colorError,Ce=g.colorErrorHover;return(0,c.TS)(g,{badgeFontHeight:de,badgeShadowSize:De,badgeTextColor:Be,badgeColor:we,badgeColorHover:Ce,badgeShadowColor:G,badgeProcessingDuration:"1.2s",badgeRibbonOffset:j,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},Z=g=>{const{fontSize:l,lineHeight:p,fontSizeSM:M,lineWidth:j}=g;return{indicatorZIndex:"auto",indicatorHeight:Math.round(l*p)-2*j,indicatorHeightSM:l,dotSize:M/2,textFontSize:M,textFontSizeSM:M,textFontWeight:"normal",statusSize:M/2}};var I=(0,D.Z)("Badge",g=>{const l=L(g);return[P(l)]},Z);const $=g=>{const{antCls:l,badgeFontHeight:p,marginXS:M,badgeRibbonOffset:j}=g,G=`${l}-ribbon`,de=`${l}-ribbon-wrapper`,De=(0,f.Z)(g,(Be,we)=>{let{darkColor:Ce}=we;return{[`&${G}-color-${Be}`]:{background:Ce,color:Ce}}});return{[`${de}`]:{position:"relative"},[`${G}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(g)),{position:"absolute",top:M,padding:`0 ${g.paddingXS}px`,color:g.colorPrimary,lineHeight:`${p}px`,whiteSpace:"nowrap",backgroundColor:g.colorPrimary,borderRadius:g.borderRadiusSM,[`${G}-text`]:{color:g.colorTextLightSolid},[`${G}-corner`]:{position:"absolute",top:"100%",width:j,height:j,color:"currentcolor",border:`${j/2}px solid`,transform:g.badgeRibbonCornerTransform,transformOrigin:"top",filter:g.badgeRibbonCornerFilter}}),De),{[`&${G}-placement-end`]:{insetInlineEnd:-j,borderEndEndRadius:0,[`${G}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${G}-placement-start`]:{insetInlineStart:-j,borderEndStartRadius:0,[`${G}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var z=(0,D.Z)(["Badge","Ribbon"],g=>{const l=L(g);return[$(l)]},Z),i=g=>{const{className:l,prefixCls:p,style:M,color:j,children:G,text:de,placement:De="end",rootClassName:Be}=g,{getPrefixCls:we,direction:Ce}=H.useContext(w.E_),Ze=we("ribbon",p),ze=(0,h.o2)(j,!1),Me=W()(Ze,`${Ze}-placement-${De}`,{[`${Ze}-rtl`]:Ce==="rtl",[`${Ze}-color-${j}`]:ze},l),[a,J]=z(Ze),d={},t={};return j&&!ze&&(d.background=j,t.color=j),a(H.createElement("div",{className:W()(`${Ze}-wrapper`,Be,J)},G,H.createElement("div",{className:W()(Me,J),style:Object.assign(Object.assign({},d),M)},H.createElement("span",{className:`${Ze}-text`},de),H.createElement("div",{className:`${Ze}-corner`,style:t}))))};function Q(g){let{prefixCls:l,value:p,current:M,offset:j=0}=g,G;return j&&(G={position:"absolute",top:`${j}00%`,left:0}),H.createElement("span",{style:G,className:W()(`${l}-only-unit`,{current:M})},p)}function ne(g,l,p){let M=g,j=0;for(;(M+10)%10!==l;)M+=p,j+=p;return j}function T(g){const{prefixCls:l,count:p,value:M}=g,j=Number(M),G=Math.abs(p),[de,De]=H.useState(j),[Be,we]=H.useState(G),Ce=()=>{De(j),we(G)};H.useEffect(()=>{const Me=setTimeout(()=>{Ce()},1e3);return()=>{clearTimeout(Me)}},[j]);let Ze,ze;if(de===j||Number.isNaN(j)||Number.isNaN(de))Ze=[H.createElement(Q,Object.assign({},g,{key:j,current:!0}))],ze={transition:"none"};else{Ze=[];const Me=j+10,a=[];for(let t=j;t<=Me;t+=1)a.push(t);const J=a.findIndex(t=>t%10===de);Ze=a.map((t,e)=>{const u=t%10;return H.createElement(Q,Object.assign({},g,{key:t,value:u,offset:e-J,current:e===J}))});const d=Be{const{prefixCls:p,count:M,className:j,motionClassName:G,style:de,title:De,show:Be,component:we="sup",children:Ce}=g,Ze=ue(g,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:ze}=H.useContext(w.E_),Me=ze("scroll-number",p),a=Object.assign(Object.assign({},Ze),{"data-show":Be,style:de,className:W()(Me,j,G),title:De});let J=M;if(M&&Number(M)%1===0){const d=String(M).split("");J=H.createElement("bdi",null,d.map((t,e)=>H.createElement(T,{prefixCls:Me,count:Number(M),value:t,key:d.length-e})))}return de&&de.borderColor&&(a.style=Object.assign(Object.assign({},de),{boxShadow:`0 0 0 1px ${de.borderColor} inset`})),Ce?(0,y.Tm)(Ce,d=>({className:W()(`${Me}-custom-component`,d==null?void 0:d.className,G)})):H.createElement(we,Object.assign({},a,{ref:l}),J)}),X=function(g,l){var p={};for(var M in g)Object.prototype.hasOwnProperty.call(g,M)&&l.indexOf(M)<0&&(p[M]=g[M]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,M=Object.getOwnPropertySymbols(g);j{var p,M,j,G,de;const{prefixCls:De,scrollNumberPrefixCls:Be,children:we,status:Ce,text:Ze,color:ze,count:Me=null,overflowCount:a=99,dot:J=!1,size:d="default",title:t,offset:e,style:u,className:A,rootClassName:U,classNames:k,styles:ie,showZero:ye=!1}=g,Fe=X(g,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:be,direction:Re,badge:Pe}=H.useContext(w.E_),ot=be("badge",De),[Tt,Jt]=I(ot),zt=Me>a?`${a}+`:Me,wt=zt==="0"||zt===0,Rt=Me===null||wt&&!ye,Bn=(Ce!=null||ze!=null)&&Rt,Xt=J&&!wt,sn=Xt?"":zt,wn=(0,H.useMemo)(()=>(sn==null||sn===""||wt&&!ye)&&!Xt,[sn,wt,ye,Xt]),Pn=(0,H.useRef)(Me);wn||(Pn.current=Me);const bn=Pn.current,Hn=(0,H.useRef)(sn);wn||(Hn.current=sn);const _n=Hn.current,mn=(0,H.useRef)(Xt);wn||(mn.current=Xt);const Ye=(0,H.useMemo)(()=>{if(!e)return Object.assign(Object.assign({},Pe==null?void 0:Pe.style),u);const Nn={marginTop:e[1]};return Re==="rtl"?Nn.left=parseInt(e[0],10):Nn.right=-parseInt(e[0],10),Object.assign(Object.assign(Object.assign({},Nn),Pe==null?void 0:Pe.style),u)},[Re,e,u,Pe==null?void 0:Pe.style]),pn=t!=null?t:typeof bn=="string"||typeof bn=="number"?bn:void 0,xn=wn||!Ze?null:H.createElement("span",{className:`${ot}-status-text`},Ze),Sn=!bn||typeof bn!="object"?void 0:(0,y.Tm)(bn,Nn=>({style:Object.assign(Object.assign({},Ye),Nn.style)})),Mn=(0,h.o2)(ze,!1),Vn=W()(k==null?void 0:k.indicator,(p=Pe==null?void 0:Pe.classNames)===null||p===void 0?void 0:p.indicator,{[`${ot}-status-dot`]:Bn,[`${ot}-status-${Ce}`]:!!Ce,[`${ot}-color-${ze}`]:Mn}),tu={};ze&&!Mn&&(tu.color=ze,tu.background=ze);const ru=W()(ot,{[`${ot}-status`]:Bn,[`${ot}-not-a-wrapper`]:!we,[`${ot}-rtl`]:Re==="rtl"},A,U,Pe==null?void 0:Pe.className,(M=Pe==null?void 0:Pe.classNames)===null||M===void 0?void 0:M.root,k==null?void 0:k.root,Jt);if(!we&&Bn){const Nn=Ye.color;return Tt(H.createElement("span",Object.assign({},Fe,{className:ru,style:Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.root),(j=Pe==null?void 0:Pe.styles)===null||j===void 0?void 0:j.root),Ye)}),H.createElement("span",{className:Vn,style:Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.indicator),(G=Pe==null?void 0:Pe.styles)===null||G===void 0?void 0:G.indicator),tu)}),Ze&&H.createElement("span",{style:{color:Nn},className:`${ot}-status-text`},Ze)))}return Tt(H.createElement("span",Object.assign({ref:l},Fe,{className:ru,style:Object.assign(Object.assign({},(de=Pe==null?void 0:Pe.styles)===null||de===void 0?void 0:de.root),ie==null?void 0:ie.root)}),we,H.createElement(B.default,{visible:!wn,motionName:`${ot}-zoom`,motionAppear:!1,motionDeadline:1e3},Nn=>{let{className:Fu,ref:_u}=Nn;var Y,ou;const et=be("scroll-number",Be),qe=mn.current,ut=W()(k==null?void 0:k.indicator,(Y=Pe==null?void 0:Pe.classNames)===null||Y===void 0?void 0:Y.indicator,{[`${ot}-dot`]:qe,[`${ot}-count`]:!qe,[`${ot}-count-sm`]:d==="small",[`${ot}-multiple-words`]:!qe&&_n&&_n.toString().length>1,[`${ot}-status-${Ce}`]:!!Ce,[`${ot}-color-${ze}`]:Mn});let st=Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.indicator),(ou=Pe==null?void 0:Pe.styles)===null||ou===void 0?void 0:ou.indicator),Ye);return ze&&!Mn&&(st=st||{},st.background=ze),H.createElement(le,{prefixCls:et,show:!wn,motionClassName:Fu,className:ut,count:_n,title:pn,style:st,key:"scrollNumber",ref:_u},Sn)}),xn))},re=H.forwardRef(te);re.Ribbon=i;var R=re},66104:function(St,We,s){"use strict";s.d(We,{Z:function(){return le}});var n=s(92310),W=s.n(n),B=s(11592),H=s(26112),h=s(59301),y=s(92343),w=s(36355),o=s(84105),O=s(91857);const f=X=>{let{children:te}=X;const{getPrefixCls:re}=h.useContext(w.E_),R=re("breadcrumb");return h.createElement("li",{className:`${R}-separator`,"aria-hidden":"true"},te===""?te:te||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var c=f,D=function(X,te){var re={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(re[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(X);gte[g]||R)}function _(X,te,re,R){if(re==null)return null;const{className:g,onClick:l}=te,p=D(te,["className","onClick"]),M=Object.assign(Object.assign({},(0,H.Z)(p,{data:!0,aria:!0})),{onClick:l});return R!==void 0?h.createElement("a",Object.assign({},M,{className:W()(`${X}-link`,g),href:R}),re):h.createElement("span",Object.assign({},M,{className:W()(`${X}-link`,g)}),re)}function b(X,te){return(R,g,l,p,M)=>{if(te)return te(R,g,l,p);const j=E(R,g);return _(X,R,j,M)}}var r=function(X,te){var re={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(re[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(X);g{const{prefixCls:te,separator:re="/",children:R,menu:g,overlay:l,dropdownProps:p,href:M}=X,G=(de=>{if(g||l){const De=Object.assign({},p);if(g){const Be=g||{},{items:we}=Be,Ce=r(Be,["items"]);De.menu=Object.assign(Object.assign({},Ce),{items:we==null?void 0:we.map((Ze,ze)=>{var{key:Me,title:a,label:J,path:d}=Ze,t=r(Ze,["key","title","label","path"]);let e=J!=null?J:a;return d&&(e=h.createElement("a",{href:`${M}${d}`},e)),Object.assign(Object.assign({},t),{key:Me!=null?Me:ze,label:e})})})}else l&&(De.overlay=l);return h.createElement(O.Z,Object.assign({placement:"bottom"},De),h.createElement("span",{className:`${te}-overlay-link`},de,h.createElement(o.Z,null)))}return de})(R);return G!=null?h.createElement(h.Fragment,null,h.createElement("li",null,G),re&&h.createElement(c,null,re)):null},F=X=>{const{prefixCls:te,children:re,href:R}=X,g=r(X,["prefixCls","children","href"]),{getPrefixCls:l}=h.useContext(w.E_),p=l("breadcrumb",te);return h.createElement(x,Object.assign({},g,{prefixCls:p}),_(p,g,re,R))};F.__ANT_BREADCRUMB_ITEM=!0;var P=F,L=s(17313),Z=s(83116),I=s(37613);const $=X=>{const{componentCls:te,iconCls:re}=X;return{[te]:Object.assign(Object.assign({},(0,L.Wf)(X)),{color:X.itemColor,fontSize:X.fontSize,[re]:{fontSize:X.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:X.linkColor,transition:`color ${X.motionDurationMid}`,padding:`0 ${X.paddingXXS}px`,borderRadius:X.borderRadiusSM,height:X.lineHeight*X.fontSize,display:"inline-block",marginInline:-X.marginXXS,"&:hover":{color:X.linkHoverColor,backgroundColor:X.colorBgTextHover}},(0,L.Qy)(X)),"li:last-child":{color:X.lastItemColor},[`${te}-separator`]:{marginInline:X.separatorMargin,color:X.separatorColor},[`${te}-link`]:{[` + > ${re} + span, + > ${re} + a + `]:{marginInlineStart:X.marginXXS}},[`${te}-overlay-link`]:{borderRadius:X.borderRadiusSM,height:X.lineHeight*X.fontSize,display:"inline-block",padding:`0 ${X.paddingXXS}px`,marginInline:-X.marginXXS,[`> ${re}`]:{marginInlineStart:X.marginXXS,fontSize:X.fontSizeIcon},"&:hover":{color:X.linkHoverColor,backgroundColor:X.colorBgTextHover,a:{color:X.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${X.componentCls}-rtl`]:{direction:"rtl"}})}};var z=(0,Z.Z)("Breadcrumb",X=>{const te=(0,I.TS)(X,{});return[$(te)]},X=>({itemColor:X.colorTextDescription,lastItemColor:X.colorText,iconFontSize:X.fontSize,linkColor:X.colorTextDescription,linkHoverColor:X.colorText,separatorColor:X.colorTextDescription,separatorMargin:X.marginXS})),V=function(X,te){var re={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(re[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(X);g{var{breadcrumbName:p}=l,M=V(l,["breadcrumbName"]);return Object.assign(Object.assign({},M),{title:p})})}),g}function Q(X,te){return(0,h.useMemo)(()=>X||(te?te.map(i):null),[X,te])}var ne=function(X,te){var re={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(re[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(X);g{if(te===void 0)return te;let re=(te||"").replace(/^\//,"");return Object.keys(X).forEach(R=>{re=re.replace(`:${R}`,X[R])}),re},ue=X=>{const{prefixCls:te,separator:re="/",style:R,className:g,rootClassName:l,routes:p,items:M,children:j,itemRender:G,params:de={}}=X,De=ne(X,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Be,direction:we,breadcrumb:Ce}=h.useContext(w.E_);let Ze;const ze=Be("breadcrumb",te),[Me,a]=z(ze),J=Q(M,p),d=b(ze,G);if(J&&J.length>0){const u=[],A=M||p;Ze=J.map((U,k)=>{const{path:ie,key:ye,type:Fe,menu:be,overlay:Re,onClick:Pe,className:ot,separator:Tt,dropdownProps:Jt}=U,zt=T(de,ie);zt!==void 0&&u.push(zt);const wt=ye!=null?ye:k;if(Fe==="separator")return h.createElement(c,{key:wt},Tt);const Rt={},Bn=k===J.length-1;be?Rt.menu=be:Re&&(Rt.overlay=Re);let{href:Xt}=U;return u.length&&zt!==void 0&&(Xt=`#/${u.join("/")}`),h.createElement(x,Object.assign({key:wt},Rt,(0,H.Z)(U,{data:!0,aria:!0}),{className:ot,dropdownProps:Jt,href:Xt,separator:Bn?"":re,onClick:Pe,prefixCls:ze}),d(U,de,A,u,Xt))})}else if(j){const u=(0,B.Z)(j).length;Ze=(0,B.Z)(j).map((A,U)=>{if(!A)return A;const k=U===u-1;return(0,y.Tm)(A,{separator:k?"":re,key:U})})}const t=W()(ze,Ce==null?void 0:Ce.className,{[`${ze}-rtl`]:we==="rtl"},g,l,a),e=Object.assign(Object.assign({},Ce==null?void 0:Ce.style),R);return Me(h.createElement("nav",Object.assign({className:t,style:e},De),h.createElement("ol",null,Ze)))};ue.Item=P,ue.Separator=c;var m=ue,le=m},37906:function(St,We,s){"use strict";s.d(We,{Z:function(){return R}});var n=s(59301),W=s(92310),B=s.n(W),H=s(69507),h=s(36355),y=s(19716),w=s(8628),O={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},c=n.createContext({}),D=s(11592),E=function(g,l){var p={};for(var M in g)Object.prototype.hasOwnProperty.call(g,M)&&l.indexOf(M)<0&&(p[M]=g[M]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,M=Object.getOwnPropertySymbols(g);j(0,D.Z)(g).map(l=>Object.assign({},l==null?void 0:l.props));function b(g,l,p){const M=n.useMemo(()=>l||_(p),[l,p]);return n.useMemo(()=>M.map(G=>{var{span:de}=G,De=E(G,["span"]);return Object.assign(Object.assign({},De),{span:typeof de=="number"?de:(0,H.m9)(g,de)})}),[M,g])}function r(g,l,p){let M=g;return(p===void 0||p>l)&&(M=Object.assign(Object.assign({},g),{span:l})),M}function x(g,l){const p=[];let M=[],j=l;return g.filter(G=>G).forEach((G,de)=>{const De=G==null?void 0:G.span,Be=De||1;if(de===g.length-1){M.push(r(G,j,De)),p.push(M);return}Be(0,n.useMemo)(()=>x(l,g),[l,g]),Z=g=>{let{children:l}=g;return l};function I(g){return g!=null}var z=g=>{const{itemPrefixCls:l,component:p,span:M,className:j,style:G,labelStyle:de,contentStyle:De,bordered:Be,label:we,content:Ce,colon:Ze}=g,ze=p;return Be?n.createElement(ze,{className:B()({[`${l}-item-label`]:I(we),[`${l}-item-content`]:I(Ce)},j),style:G,colSpan:M},I(we)&&n.createElement("span",{style:de},we),I(Ce)&&n.createElement("span",{style:De},Ce)):n.createElement(ze,{className:B()(`${l}-item`,j),style:G,colSpan:M},n.createElement("div",{className:`${l}-item-container`},(we||we===0)&&n.createElement("span",{className:B()(`${l}-item-label`,{[`${l}-item-no-colon`]:!Ze}),style:de},we),(Ce||Ce===0)&&n.createElement("span",{className:B()(`${l}-item-content`),style:De},Ce)))};function V(g,l,p){let{colon:M,prefixCls:j,bordered:G}=l,{component:de,type:De,showLabel:Be,showContent:we,labelStyle:Ce,contentStyle:Ze}=p;return g.map((ze,Me)=>{let{label:a,children:J,prefixCls:d=j,className:t,style:e,labelStyle:u,contentStyle:A,span:U=1,key:k}=ze;return typeof de=="string"?n.createElement(z,{key:`${De}-${k||Me}`,className:t,style:e,labelStyle:Object.assign(Object.assign({},Ce),u),contentStyle:Object.assign(Object.assign({},Ze),A),span:U,colon:M,component:de,itemPrefixCls:d,bordered:G,label:Be?a:null,content:we?J:null}):[n.createElement(z,{key:`label-${k||Me}`,className:t,style:Object.assign(Object.assign(Object.assign({},Ce),e),u),span:1,colon:M,component:de[0],itemPrefixCls:d,bordered:G,label:a}),n.createElement(z,{key:`content-${k||Me}`,className:t,style:Object.assign(Object.assign(Object.assign({},Ze),e),A),span:U*2-1,component:de[1],itemPrefixCls:d,bordered:G,content:J})]})}var Q=g=>{const l=n.useContext(c),{prefixCls:p,vertical:M,row:j,index:G,bordered:de}=g;return M?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${G}`,className:`${p}-row`},V(j,g,Object.assign({component:"th",type:"label",showLabel:!0},l))),n.createElement("tr",{key:`content-${G}`,className:`${p}-row`},V(j,g,Object.assign({component:"td",type:"content",showContent:!0},l)))):n.createElement("tr",{key:G,className:`${p}-row`},V(j,g,Object.assign({component:de?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},l)))},ne=s(17313),T=s(83116),ue=s(37613);const m=g=>{const{componentCls:l,labelBg:p}=g;return{[`&${l}-bordered`]:{[`> ${l}-view`]:{border:`${g.lineWidth}px ${g.lineType} ${g.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${l}-row`]:{borderBottom:`${g.lineWidth}px ${g.lineType} ${g.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${g.padding}px ${g.paddingLG}px`,borderInlineEnd:`${g.lineWidth}px ${g.lineType} ${g.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${l}-item-label`]:{color:g.colorTextSecondary,backgroundColor:p,"&::after":{display:"none"}}}},[`&${l}-middle`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${g.paddingSM}px ${g.paddingLG}px`}}},[`&${l}-small`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${g.paddingXS}px ${g.padding}px`}}}}}},le=g=>{const{componentCls:l,extraColor:p,itemPaddingBottom:M,colonMarginRight:j,colonMarginLeft:G,titleMarginBottom:de}=g;return{[l]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(g)),m(g)),{"&-rtl":{direction:"rtl"},[`${l}-header`]:{display:"flex",alignItems:"center",marginBottom:de},[`${l}-title`]:Object.assign(Object.assign({},ne.vS),{flex:"auto",color:g.colorText,fontWeight:g.fontWeightStrong,fontSize:g.fontSizeLG,lineHeight:g.lineHeightLG}),[`${l}-extra`]:{marginInlineStart:"auto",color:p,fontSize:g.fontSize},[`${l}-view`]:{width:"100%",borderRadius:g.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${l}-row`]:{"> th, > td":{paddingBottom:M},"&:last-child":{borderBottom:"none"}},[`${l}-item-label`]:{color:g.colorTextTertiary,fontWeight:"normal",fontSize:g.fontSize,lineHeight:g.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${G}px ${j}px`},[`&${l}-item-no-colon::after`]:{content:'""'}},[`${l}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${l}-item-content`]:{display:"table-cell",flex:1,color:g.colorText,fontSize:g.fontSize,lineHeight:g.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${l}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${l}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${l}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${l}-row`]:{"> th, > td":{paddingBottom:g.paddingSM}}},"&-small":{[`${l}-row`]:{"> th, > td":{paddingBottom:g.paddingXS}}}})}};var X=(0,T.Z)("Descriptions",g=>{const l=(0,ue.TS)(g,{});return[le(l)]},g=>({labelBg:g.colorFillAlter,titleMarginBottom:g.fontSizeSM*g.lineHeightSM,itemPaddingBottom:g.padding,colonMarginRight:g.marginXS,colonMarginLeft:g.marginXXS/2,extraColor:g.colorText})),te=function(g,l){var p={};for(var M in g)Object.prototype.hasOwnProperty.call(g,M)&&l.indexOf(M)<0&&(p[M]=g[M]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,M=Object.getOwnPropertySymbols(g);j{const{prefixCls:l,title:p,extra:M,column:j,colon:G=!0,bordered:de,layout:De,children:Be,className:we,rootClassName:Ce,style:Ze,size:ze,labelStyle:Me,contentStyle:a,items:J}=g,d=te(g,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:t,direction:e,descriptions:u}=n.useContext(h.E_),A=t("descriptions",l),U=(0,w.Z)(),k=n.useMemo(()=>{var ot;return typeof j=="number"?j:(ot=(0,H.m9)(U,Object.assign(Object.assign({},O),j)))!==null&&ot!==void 0?ot:3},[U,j]),ie=b(U,J,Be),ye=(0,y.Z)(ze),Fe=P(k,ie),[be,Re]=X(A),Pe=n.useMemo(()=>({labelStyle:Me,contentStyle:a}),[Me,a]);return be(n.createElement(c.Provider,{value:Pe},n.createElement("div",Object.assign({className:B()(A,u==null?void 0:u.className,{[`${A}-${ye}`]:ye&&ye!=="default",[`${A}-bordered`]:!!de,[`${A}-rtl`]:e==="rtl"},we,Ce,Re),style:Object.assign(Object.assign({},u==null?void 0:u.style),Ze)},d),(p||M)&&n.createElement("div",{className:`${A}-header`},p&&n.createElement("div",{className:`${A}-title`},p),M&&n.createElement("div",{className:`${A}-extra`},M)),n.createElement("div",{className:`${A}-view`},n.createElement("table",null,n.createElement("tbody",null,Fe.map((ot,Tt)=>n.createElement(Q,{key:Tt,index:Tt,colon:G,prefixCls:A,vertical:De==="vertical",bordered:de,row:ot}))))))))};re.Item=Z;var R=re},13570:function(St,We,s){"use strict";s.d(We,{Z:function(){return l}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},H=B,h=s(7657),y=function(M,j){return W.createElement(h.Z,(0,n.Z)({},M,{ref:j,icon:H}))},w=W.forwardRef(y),o=w,O=s(92310),f=s.n(O),c=s(400),D=s(33606),E=s(37061),_=s(18929),b=s(10228),r=s(26112);function x(p,M){var j=p.disabled,G=p.prefixCls,de=p.character,De=p.characterRender,Be=p.index,we=p.count,Ce=p.value,Ze=p.allowHalf,ze=p.focused,Me=p.onHover,a=p.onClick,J=function(ie){Me(ie,Be)},d=function(ie){a(ie,Be)},t=function(ie){ie.keyCode===b.Z.ENTER&&a(ie,Be)},e=Be+1,u=new Set([G]);Ce===0&&Be===0&&ze?u.add("".concat(G,"-focused")):Ze&&Ce+.5>=e&&CeBe?"true":"false","aria-posinset":Be+1,"aria-setsize":we,tabIndex:j?-1:0},W.createElement("div",{className:"".concat(G,"-first")},A),W.createElement("div",{className:"".concat(G,"-second")},A)));return De&&(U=De(U,p)),U}var F=W.forwardRef(x);function P(){var p=W.useRef({});function M(G){return p.current[G]}function j(G){return function(de){p.current[G]=de}}return[M,j]}function L(p){var M=p.pageXOffset,j="scrollLeft";if(typeof M!="number"){var G=p.document;M=G.documentElement[j],typeof M!="number"&&(M=G.body[j])}return M}function Z(p){var M,j,G=p.ownerDocument,de=G.body,De=G&&G.documentElement,Be=p.getBoundingClientRect();return M=Be.left,j=Be.top,M-=De.clientLeft||de.clientLeft||0,j-=De.clientTop||de.clientTop||0,{left:M,top:j}}function I(p){var M=Z(p),j=p.ownerDocument,G=j.defaultView||j.parentWindow;return M.left+=L(G),M.left}var $=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function z(p,M){var j,G=p.prefixCls,de=G===void 0?"rc-rate":G,De=p.className,Be=p.defaultValue,we=p.value,Ce=p.count,Ze=Ce===void 0?5:Ce,ze=p.allowHalf,Me=ze===void 0?!1:ze,a=p.allowClear,J=a===void 0?!0:a,d=p.character,t=d===void 0?"\u2605":d,e=p.characterRender,u=p.disabled,A=p.direction,U=A===void 0?"ltr":A,k=p.tabIndex,ie=k===void 0?0:k,ye=p.autoFocus,Fe=p.onHoverChange,be=p.onChange,Re=p.onFocus,Pe=p.onBlur,ot=p.onKeyDown,Tt=p.onMouseLeave,Jt=(0,E.Z)(p,$),zt=P(),wt=(0,D.Z)(zt,2),Rt=wt[0],Bn=wt[1],Xt=W.useRef(null),sn=function(){if(!u){var pt;(pt=Xt.current)===null||pt===void 0||pt.focus()}};W.useImperativeHandle(M,function(){return{focus:sn,blur:function(){if(!u){var pt;(pt=Xt.current)===null||pt===void 0||pt.blur()}}}});var wn=(0,_.Z)(Be||0,{value:we}),Pn=(0,D.Z)(wn,2),bn=Pn[0],Hn=Pn[1],_n=(0,_.Z)(null),mn=(0,D.Z)(_n,2),Ye=mn[0],pn=mn[1],xn=function(pt,$t){var Qt=U==="rtl",Ct=pt+1;if(Me){var yn=Rt(pt),hn=I(yn),en=yn.clientWidth;(Qt&&$t-hn>en/2||!Qt&&$t-hn0&&!Qt||$t===b.Z.RIGHT&&Ct>0&&Qt?(Me?Ct-=.5:Ct-=1,Sn(Ct),pt.preventDefault()):$t===b.Z.LEFT&&Ct{const{componentCls:M}=p;return{[`${M}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:p.marginXS},"> div":{transition:`all ${p.motionDurationMid}, outline 0s`,"&:hover":{transform:p.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${p.lineWidth}px dashed ${p.starColor}`,transform:p.starHoverScale}},"&-first, &-second":{color:p.starBg,transition:`all ${p.motionDurationMid}`,userSelect:"none",[p.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${M}-star-first, &-half ${M}-star-second`]:{opacity:1},[`&-half ${M}-star-first, &-full ${M}-star-second`]:{color:"inherit"}}}},X=p=>({[`&-rtl${p.componentCls}`]:{direction:"rtl"}}),te=p=>{const{componentCls:M}=p;return{[M]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,T.Wf)(p)),{display:"inline-block",margin:0,padding:0,color:p.starColor,fontSize:p.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${M} ${M}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),le(p)),{[`+ ${M}-text`]:{display:"inline-block",marginInlineStart:p.marginXS,fontSize:p.fontSize}}),X(p))}};var re=(0,ue.Z)("Rate",p=>{const M=(0,m.TS)(p,{});return[te(M)]},p=>({starColor:p.yellow6,starSize:p.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:p.colorFillContent})),R=function(p,M){var j={};for(var G in p)Object.prototype.hasOwnProperty.call(p,G)&&M.indexOf(G)<0&&(j[G]=p[G]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,G=Object.getOwnPropertySymbols(p);de{const{prefixCls:j,className:G,rootClassName:de,style:De,tooltips:Be,character:we=W.createElement(o,null)}=p,Ce=R(p,["prefixCls","className","rootClassName","style","tooltips","character"]),Ze=(u,A)=>{let{index:U}=A;return Be?W.createElement(ne.Z,{title:Be[U]},u):u},{getPrefixCls:ze,direction:Me,rate:a}=W.useContext(Q.E_),J=ze("rate",j),[d,t]=re(J),e=Object.assign(Object.assign({},a==null?void 0:a.style),De);return d(W.createElement(i,Object.assign({ref:M,character:we,characterRender:Ze},Ce,{className:f()(G,de,t,a==null?void 0:a.className),style:e,prefixCls:J,direction:Me})))})},61621:function(St,We,s){"use strict";s.d(We,{Z:function(){return t}});var n=s(92310),W=s.n(n),B=s(59301),H=s(36355),h=s(2738),w=e=>{const{prefixCls:u,className:A,style:U,size:k,shape:ie}=e,ye=W()({[`${u}-lg`]:k==="large",[`${u}-sm`]:k==="small"}),Fe=W()({[`${u}-circle`]:ie==="circle",[`${u}-square`]:ie==="square",[`${u}-round`]:ie==="round"}),be=B.useMemo(()=>typeof k=="number"?{width:k,height:k,lineHeight:`${k}px`}:{},[k]);return B.createElement("span",{className:W()(u,ye,Fe,A),style:Object.assign(Object.assign({},be),U)})},o=s(93083),O=s(83116),f=s(37613);const c=new o.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),D=e=>({height:e,lineHeight:`${e}px`}),E=e=>Object.assign({width:e},D(e)),_=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:c,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),b=e=>Object.assign({width:e*5,minWidth:e*5},D(e)),r=e=>{const{skeletonAvatarCls:u,gradientFromColor:A,controlHeight:U,controlHeightLG:k,controlHeightSM:ie}=e;return{[`${u}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:A},E(U)),[`${u}${u}-circle`]:{borderRadius:"50%"},[`${u}${u}-lg`]:Object.assign({},E(k)),[`${u}${u}-sm`]:Object.assign({},E(ie))}},x=e=>{const{controlHeight:u,borderRadiusSM:A,skeletonInputCls:U,controlHeightLG:k,controlHeightSM:ie,gradientFromColor:ye}=e;return{[`${U}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ye,borderRadius:A},b(u)),[`${U}-lg`]:Object.assign({},b(k)),[`${U}-sm`]:Object.assign({},b(ie))}},F=e=>Object.assign({width:e},D(e)),P=e=>{const{skeletonImageCls:u,imageSizeBase:A,gradientFromColor:U,borderRadiusSM:k}=e;return{[`${u}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:U,borderRadius:k},F(A*2)),{[`${u}-path`]:{fill:"#bfbfbf"},[`${u}-svg`]:Object.assign(Object.assign({},F(A)),{maxWidth:A*4,maxHeight:A*4}),[`${u}-svg${u}-svg-circle`]:{borderRadius:"50%"}}),[`${u}${u}-circle`]:{borderRadius:"50%"}}},L=(e,u,A)=>{const{skeletonButtonCls:U}=e;return{[`${A}${U}-circle`]:{width:u,minWidth:u,borderRadius:"50%"},[`${A}${U}-round`]:{borderRadius:u}}},Z=e=>Object.assign({width:e*2,minWidth:e*2},D(e)),I=e=>{const{borderRadiusSM:u,skeletonButtonCls:A,controlHeight:U,controlHeightLG:k,controlHeightSM:ie,gradientFromColor:ye}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${A}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ye,borderRadius:u,width:U*2,minWidth:U*2},Z(U))},L(e,U,A)),{[`${A}-lg`]:Object.assign({},Z(k))}),L(e,k,`${A}-lg`)),{[`${A}-sm`]:Object.assign({},Z(ie))}),L(e,ie,`${A}-sm`))},$=e=>{const{componentCls:u,skeletonAvatarCls:A,skeletonTitleCls:U,skeletonParagraphCls:k,skeletonButtonCls:ie,skeletonInputCls:ye,skeletonImageCls:Fe,controlHeight:be,controlHeightLG:Re,controlHeightSM:Pe,gradientFromColor:ot,padding:Tt,marginSM:Jt,borderRadius:zt,titleHeight:wt,blockRadius:Rt,paragraphLiHeight:Bn,controlHeightXS:Xt,paragraphMarginTop:sn}=e;return{[`${u}`]:{display:"table",width:"100%",[`${u}-header`]:{display:"table-cell",paddingInlineEnd:Tt,verticalAlign:"top",[`${A}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot},E(be)),[`${A}-circle`]:{borderRadius:"50%"},[`${A}-lg`]:Object.assign({},E(Re)),[`${A}-sm`]:Object.assign({},E(Pe))},[`${u}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${U}`]:{width:"100%",height:wt,background:ot,borderRadius:Rt,[`+ ${k}`]:{marginBlockStart:Pe}},[`${k}`]:{padding:0,"> li":{width:"100%",height:Bn,listStyle:"none",background:ot,borderRadius:Rt,"+ li":{marginBlockStart:Xt}}},[`${k}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${u}-content`]:{[`${U}, ${k} > li`]:{borderRadius:zt}}},[`${u}-with-avatar ${u}-content`]:{[`${U}`]:{marginBlockStart:Jt,[`+ ${k}`]:{marginBlockStart:sn}}},[`${u}${u}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},I(e)),r(e)),x(e)),P(e)),[`${u}${u}-block`]:{width:"100%",[`${ie}`]:{width:"100%"},[`${ye}`]:{width:"100%"}},[`${u}${u}-active`]:{[` + ${U}, + ${k} > li, + ${A}, + ${ie}, + ${ye}, + ${Fe} + `]:Object.assign({},_(e))}}};var z=(0,O.Z)("Skeleton",e=>{const{componentCls:u}=e,A=(0,f.TS)(e,{skeletonAvatarCls:`${u}-avatar`,skeletonTitleCls:`${u}-title`,skeletonParagraphCls:`${u}-paragraph`,skeletonButtonCls:`${u}-button`,skeletonInputCls:`${u}-input`,skeletonImageCls:`${u}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[$(A)]},e=>{const{colorFillContent:u,colorFill:A}=e,U=u,k=A;return{color:U,colorGradientEnd:k,gradientFromColor:U,gradientToColor:k,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),i=e=>{const{prefixCls:u,className:A,rootClassName:U,active:k,shape:ie="circle",size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(H.E_),be=Fe("skeleton",u),[Re,Pe]=z(be),ot=(0,h.Z)(e,["prefixCls","className"]),Tt=W()(be,`${be}-element`,{[`${be}-active`]:k},A,U,Pe);return Re(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${be}-avatar`,shape:ie,size:ye},ot))))},ne=e=>{const{prefixCls:u,className:A,rootClassName:U,active:k,block:ie=!1,size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(H.E_),be=Fe("skeleton",u),[Re,Pe]=z(be),ot=(0,h.Z)(e,["prefixCls"]),Tt=W()(be,`${be}-element`,{[`${be}-active`]:k,[`${be}-block`]:ie},A,U,Pe);return Re(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${be}-button`,size:ye},ot))))};const T="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var m=e=>{const{prefixCls:u,className:A,rootClassName:U,style:k,active:ie}=e,{getPrefixCls:ye}=B.useContext(H.E_),Fe=ye("skeleton",u),[be,Re]=z(Fe),Pe=W()(Fe,`${Fe}-element`,{[`${Fe}-active`]:ie},A,U,Re);return be(B.createElement("div",{className:Pe},B.createElement("div",{className:W()(`${Fe}-image`,A),style:k},B.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Fe}-image-svg`},B.createElement("path",{d:T,className:`${Fe}-image-path`})))))},X=e=>{const{prefixCls:u,className:A,rootClassName:U,active:k,block:ie,size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(H.E_),be=Fe("skeleton",u),[Re,Pe]=z(be),ot=(0,h.Z)(e,["prefixCls"]),Tt=W()(be,`${be}-element`,{[`${be}-active`]:k,[`${be}-block`]:ie},A,U,Pe);return Re(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${be}-input`,size:ye},ot))))},te=s(92413),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},R=re,g=s(7657),l=function(u,A){return B.createElement(g.Z,(0,te.Z)({},u,{ref:A,icon:R}))},p=B.forwardRef(l),M=p,G=e=>{const{prefixCls:u,className:A,rootClassName:U,style:k,active:ie,children:ye}=e,{getPrefixCls:Fe}=B.useContext(H.E_),be=Fe("skeleton",u),[Re,Pe]=z(be),ot=W()(be,`${be}-element`,{[`${be}-active`]:ie},Pe,A,U),Tt=ye!=null?ye:B.createElement(M,null);return Re(B.createElement("div",{className:ot},B.createElement("div",{className:W()(`${be}-image`,A),style:k},Tt)))},de=s(26407),Be=e=>{const u=Fe=>{const{width:be,rows:Re=2}=e;if(Array.isArray(be))return be[Fe];if(Re-1===Fe)return be},{prefixCls:A,className:U,style:k,rows:ie}=e,ye=(0,de.Z)(Array(ie)).map((Fe,be)=>B.createElement("li",{key:be,style:{width:u(be)}}));return B.createElement("ul",{className:W()(A,U),style:k},ye)},Ce=e=>{let{prefixCls:u,className:A,width:U,style:k}=e;return B.createElement("h3",{className:W()(u,A),style:Object.assign({width:U},k)})};function Ze(e){return e&&typeof e=="object"?e:{}}function ze(e,u){return e&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Me(e,u){return!e&&u?{width:"38%"}:e&&u?{width:"50%"}:{}}function a(e,u){const A={};return(!e||!u)&&(A.width="61%"),!e&&u?A.rows=3:A.rows=2,A}const J=e=>{const{prefixCls:u,loading:A,className:U,rootClassName:k,style:ie,children:ye,avatar:Fe=!1,title:be=!0,paragraph:Re=!0,active:Pe,round:ot}=e,{getPrefixCls:Tt,direction:Jt,skeleton:zt}=B.useContext(H.E_),wt=Tt("skeleton",u),[Rt,Bn]=z(wt);if(A||!("loading"in e)){const Xt=!!Fe,sn=!!be,wn=!!Re;let Pn;if(Xt){const _n=Object.assign(Object.assign({prefixCls:`${wt}-avatar`},ze(sn,wn)),Ze(Fe));Pn=B.createElement("div",{className:`${wt}-header`},B.createElement(w,Object.assign({},_n)))}let bn;if(sn||wn){let _n;if(sn){const Ye=Object.assign(Object.assign({prefixCls:`${wt}-title`},Me(Xt,wn)),Ze(be));_n=B.createElement(Ce,Object.assign({},Ye))}let mn;if(wn){const Ye=Object.assign(Object.assign({prefixCls:`${wt}-paragraph`},a(Xt,sn)),Ze(Re));mn=B.createElement(Be,Object.assign({},Ye))}bn=B.createElement("div",{className:`${wt}-content`},_n,mn)}const Hn=W()(wt,{[`${wt}-with-avatar`]:Xt,[`${wt}-active`]:Pe,[`${wt}-rtl`]:Jt==="rtl",[`${wt}-round`]:ot},zt==null?void 0:zt.className,U,k,Bn);return Rt(B.createElement("div",{className:Hn,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),ie)},Pn,bn))}return typeof ye!="undefined"?ye:null};J.Button=ne,J.Avatar=i,J.Input=X,J.Image=m,J.Node=G;var d=J,t=d},31797:function(St,We,s){"use strict";s.d(We,{default:function(){return z}});var n=s(59301),W=s(56762),B=s(92343),H=s(92310),h=s.n(H),y=s(36355),w=s(61621),O=V=>{const{value:i,formatter:Q,precision:ne,decimalSeparator:T,groupSeparator:ue="",prefixCls:m}=V;let le;if(typeof Q=="function")le=Q(i);else{const X=String(i),te=X.match(/^(-?)(\d*)(\.(\d+))?$/);if(!te||X==="-")le=X;else{const re=te[1];let R=te[2]||"0",g=te[4]||"";R=R.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof ne=="number"&&(g=g.padEnd(ne,"0").slice(0,ne>0?ne:0)),g&&(g=`${T}${g}`),le=[n.createElement("span",{key:"int",className:`${m}-content-value-int`},re,R),g&&n.createElement("span",{key:"decimal",className:`${m}-content-value-decimal`},g)]}}return n.createElement("span",{className:`${m}-content-value`},le)},f=s(17313),c=s(83116),D=s(37613);const E=V=>{const{componentCls:i,marginXXS:Q,padding:ne,colorTextDescription:T,titleFontSize:ue,colorTextHeading:m,contentFontSize:le,fontFamily:X}=V;return{[`${i}`]:Object.assign(Object.assign({},(0,f.Wf)(V)),{[`${i}-title`]:{marginBottom:Q,color:T,fontSize:ue},[`${i}-skeleton`]:{paddingTop:ne},[`${i}-content`]:{color:m,fontSize:le,fontFamily:X,[`${i}-content-value`]:{display:"inline-block",direction:"ltr"},[`${i}-content-prefix, ${i}-content-suffix`]:{display:"inline-block"},[`${i}-content-prefix`]:{marginInlineEnd:Q},[`${i}-content-suffix`]:{marginInlineStart:Q}}})}};var _=(0,c.Z)("Statistic",V=>{const i=(0,D.TS)(V,{});return[E(i)]},V=>{const{fontSizeHeading3:i,fontSize:Q}=V;return{titleFontSize:Q,contentFontSize:i}}),r=V=>{const{prefixCls:i,className:Q,rootClassName:ne,style:T,valueStyle:ue,value:m=0,title:le,valueRender:X,prefix:te,suffix:re,loading:R=!1,onMouseEnter:g,onMouseLeave:l,decimalSeparator:p=".",groupSeparator:M=","}=V,{getPrefixCls:j,direction:G,statistic:de}=n.useContext(y.E_),De=j("statistic",i),[Be,we]=_(De),Ce=n.createElement(O,Object.assign({decimalSeparator:p,groupSeparator:M,prefixCls:De},V,{value:m})),Ze=h()(De,{[`${De}-rtl`]:G==="rtl"},de==null?void 0:de.className,Q,ne,we);return Be(n.createElement("div",{className:Ze,style:Object.assign(Object.assign({},de==null?void 0:de.style),T),onMouseEnter:g,onMouseLeave:l},le&&n.createElement("div",{className:`${De}-title`},le),n.createElement(w.Z,{paragraph:!1,loading:R,className:`${De}-skeleton`},n.createElement("div",{style:ue,className:`${De}-content`},te&&n.createElement("span",{className:`${De}-content-prefix`},te),X?X(Ce):Ce,re&&n.createElement("span",{className:`${De}-content-suffix`},re)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function F(V,i){let Q=V;const ne=/\[[^\]]*]/g,T=(i.match(ne)||[]).map(X=>X.slice(1,-1)),ue=i.replace(ne,"[]"),m=x.reduce((X,te)=>{let[re,R]=te;if(X.includes(re)){const g=Math.floor(Q/R);return Q-=g*R,X.replace(new RegExp(`${re}+`,"g"),l=>{const p=l.length;return g.toString().padStart(p,"0")})}return X},ue);let le=0;return m.replace(ne,()=>{const X=T[le];return le+=1,X})}function P(V,i){const{format:Q=""}=i,ne=new Date(V).getTime(),T=Date.now(),ue=Math.max(ne-T,0);return F(ue,Q)}const L=1e3/30;function Z(V){return new Date(V).getTime()}const I=V=>{const{value:i,format:Q="HH:mm:ss",onChange:ne,onFinish:T}=V,ue=(0,W.Z)(),m=n.useRef(null),le=()=>{T==null||T(),m.current&&(clearInterval(m.current),m.current=null)},X=()=>{const R=Z(i);R>=Date.now()&&(m.current=setInterval(()=>{ue(),ne==null||ne(R-Date.now()),R(X(),()=>{m.current&&(clearInterval(m.current),m.current=null)}),[i]);const te=(R,g)=>P(R,Object.assign(Object.assign({},g),{format:Q})),re=R=>(0,B.Tm)(R,{title:void 0});return n.createElement(r,Object.assign({},V,{valueRender:re,formatter:te}))};var $=n.memo(I);r.Countdown=$;var z=r},86251:function(St,We){"use strict";We.byteLength=w,We.toByteArray=O,We.fromByteArray=D;for(var s=[],n=[],W=typeof Uint8Array!="undefined"?Uint8Array:Array,B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",H=0,h=B.length;H0)throw new Error("Invalid string. Length must be a multiple of 4");var b=E.indexOf("=");b===-1&&(b=_);var r=b===_?0:4-b%4;return[b,r]}function w(E){var _=y(E),b=_[0],r=_[1];return(b+r)*3/4-r}function o(E,_,b){return(_+b)*3/4-b}function O(E){var _,b=y(E),r=b[0],x=b[1],F=new W(o(E,r,x)),P=0,L=x>0?r-4:r,Z;for(Z=0;Z>16&255,F[P++]=_>>8&255,F[P++]=_&255;return x===2&&(_=n[E.charCodeAt(Z)]<<2|n[E.charCodeAt(Z+1)]>>4,F[P++]=_&255),x===1&&(_=n[E.charCodeAt(Z)]<<10|n[E.charCodeAt(Z+1)]<<4|n[E.charCodeAt(Z+2)]>>2,F[P++]=_>>8&255,F[P++]=_&255),F}function f(E){return s[E>>18&63]+s[E>>12&63]+s[E>>6&63]+s[E&63]}function c(E,_,b){for(var r,x=[],F=_;FL?L:P+F));return r===1?(_=E[b-1],x.push(s[_>>2]+s[_<<4&63]+"==")):r===2&&(_=(E[b-2]<<8)+E[b-1],x.push(s[_>>10]+s[_>>4&63]+s[_<<2&63]+"=")),x.join("")}},19208:function(St,We,s){"use strict";var n;var W=s(86251),B=s(67467),H=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;We.lW=o,n=P,We.h2=50;var h=2147483647;n=h,o.TYPED_ARRAY_SUPPORT=y(),!o.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function y(){try{var d=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(d,t),d.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(d){if(d>h)throw new RangeError('The value "'+d+'" is invalid for option "size"');var t=new Uint8Array(d);return Object.setPrototypeOf(t,o.prototype),t}function o(d,t,e){if(typeof d=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return D(d)}return O(d,t,e)}o.poolSize=8192;function O(d,t,e){if(typeof d=="string")return E(d,t);if(ArrayBuffer.isView(d))return b(d);if(d==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof d);if(Me(d,ArrayBuffer)||d&&Me(d.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Me(d,SharedArrayBuffer)||d&&Me(d.buffer,SharedArrayBuffer)))return r(d,t,e);if(typeof d=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var u=d.valueOf&&d.valueOf();if(u!=null&&u!==d)return o.from(u,t,e);var A=x(d);if(A)return A;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof d[Symbol.toPrimitive]=="function")return o.from(d[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof d)}o.from=function(d,t,e){return O(d,t,e)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function f(d){if(typeof d!="number")throw new TypeError('"size" argument must be of type number');if(d<0)throw new RangeError('The value "'+d+'" is invalid for option "size"')}function c(d,t,e){return f(d),d<=0?w(d):t!==void 0?typeof e=="string"?w(d).fill(t,e):w(d).fill(t):w(d)}o.alloc=function(d,t,e){return c(d,t,e)};function D(d){return f(d),w(d<0?0:F(d)|0)}o.allocUnsafe=function(d){return D(d)},o.allocUnsafeSlow=function(d){return D(d)};function E(d,t){if((typeof t!="string"||t==="")&&(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=L(d,t)|0,u=w(e),A=u.write(d,t);return A!==e&&(u=u.slice(0,A)),u}function _(d){for(var t=d.length<0?0:F(d.length)|0,e=w(t),u=0;u=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return d|0}function P(d){return+d!=d&&(d=0),o.alloc(+d)}o.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==o.prototype},o.compare=function(t,e){if(Me(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),Me(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var u=t.length,A=e.length,U=0,k=Math.min(u,A);UA.length?o.from(k).copy(A,U):Uint8Array.prototype.set.call(A,k,U);else if(o.isBuffer(k))k.copy(A,U);else throw new TypeError('"list" argument must be an Array of Buffers');U+=k.length}return A};function L(d,t){if(o.isBuffer(d))return d.length;if(ArrayBuffer.isView(d)||Me(d,ArrayBuffer))return d.byteLength;if(typeof d!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof d);var e=d.length,u=arguments.length>2&&arguments[2]===!0;if(!u&&e===0)return 0;for(var A=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Be(d).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ze(d).length;default:if(A)return u?-1:Be(d).length;t=(""+t).toLowerCase(),A=!0}}o.byteLength=L;function Z(d,t,e){var u=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(d||(d="utf8");;)switch(d){case"hex":return R(this,t,e);case"utf8":case"utf-8":return m(this,t,e);case"ascii":return te(this,t,e);case"latin1":case"binary":return re(this,t,e);case"base64":return ue(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,t,e);default:if(u)throw new TypeError("Unknown encoding: "+d);d=(d+"").toLowerCase(),u=!0}}o.prototype._isBuffer=!0;function I(d,t,e){var u=d[t];d[t]=d[e],d[e]=u}o.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;ee&&(t+=" ... "),""},H&&(o.prototype[H]=o.prototype.inspect),o.prototype.compare=function(t,e,u,A,U){if(Me(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),u===void 0&&(u=t?t.length:0),A===void 0&&(A=0),U===void 0&&(U=this.length),e<0||u>t.length||A<0||U>this.length)throw new RangeError("out of range index");if(A>=U&&e>=u)return 0;if(A>=U)return-1;if(e>=u)return 1;if(e>>>=0,u>>>=0,A>>>=0,U>>>=0,this===t)return 0;for(var k=U-A,ie=u-e,ye=Math.min(k,ie),Fe=this.slice(A,U),be=t.slice(e,u),Re=0;Re2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,a(e)&&(e=A?0:d.length-1),e<0&&(e=d.length+e),e>=d.length){if(A)return-1;e=d.length-1}else if(e<0)if(A)e=0;else return-1;if(typeof t=="string"&&(t=o.from(t,u)),o.isBuffer(t))return t.length===0?-1:z(d,t,e,u,A);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?A?Uint8Array.prototype.indexOf.call(d,t,e):Uint8Array.prototype.lastIndexOf.call(d,t,e):z(d,[t],e,u,A);throw new TypeError("val must be string, number or Buffer")}function z(d,t,e,u,A){var U=1,k=d.length,ie=t.length;if(u!==void 0&&(u=String(u).toLowerCase(),u==="ucs2"||u==="ucs-2"||u==="utf16le"||u==="utf-16le")){if(d.length<2||t.length<2)return-1;U=2,k/=2,ie/=2,e/=2}function ye(ot,Tt){return U===1?ot[Tt]:ot.readUInt16BE(Tt*U)}var Fe;if(A){var be=-1;for(Fe=e;Fek&&(e=k-ie),Fe=e;Fe>=0;Fe--){for(var Re=!0,Pe=0;PeA&&(u=A)):u=A;var U=t.length;u>U/2&&(u=U/2);for(var k=0;k>>0,isFinite(u)?(u=u>>>0,A===void 0&&(A="utf8")):(A=u,u=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var U=this.length-e;if((u===void 0||u>U)&&(u=U),t.length>0&&(u<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var k=!1;;)switch(A){case"hex":return V(this,t,e,u);case"utf8":case"utf-8":return i(this,t,e,u);case"ascii":case"latin1":case"binary":return Q(this,t,e,u);case"base64":return ne(this,t,e,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,u);default:if(k)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),k=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ue(d,t,e){return t===0&&e===d.length?W.fromByteArray(d):W.fromByteArray(d.slice(t,e))}function m(d,t,e){e=Math.min(d.length,e);for(var u=[],A=t;A239?4:U>223?3:U>191?2:1;if(A+ie<=e){var ye,Fe,be,Re;switch(ie){case 1:U<128&&(k=U);break;case 2:ye=d[A+1],(ye&192)===128&&(Re=(U&31)<<6|ye&63,Re>127&&(k=Re));break;case 3:ye=d[A+1],Fe=d[A+2],(ye&192)===128&&(Fe&192)===128&&(Re=(U&15)<<12|(ye&63)<<6|Fe&63,Re>2047&&(Re<55296||Re>57343)&&(k=Re));break;case 4:ye=d[A+1],Fe=d[A+2],be=d[A+3],(ye&192)===128&&(Fe&192)===128&&(be&192)===128&&(Re=(U&15)<<18|(ye&63)<<12|(Fe&63)<<6|be&63,Re>65535&&Re<1114112&&(k=Re))}}k===null?(k=65533,ie=1):k>65535&&(k-=65536,u.push(k>>>10&1023|55296),k=56320|k&1023),u.push(k),A+=ie}return X(u)}var le=4096;function X(d){var t=d.length;if(t<=le)return String.fromCharCode.apply(String,d);for(var e="",u=0;uu)&&(e=u);for(var A="",U=t;Uu&&(t=u),e<0?(e+=u,e<0&&(e=0)):e>u&&(e=u),ee)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,u){t=t>>>0,e=e>>>0,u||l(t,e,this.length);for(var A=this[t],U=1,k=0;++k>>0,e=e>>>0,u||l(t,e,this.length);for(var A=this[t+--e],U=1;e>0&&(U*=256);)A+=this[t+--e]*U;return A},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t=t>>>0,e||l(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||l(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||l(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||l(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||l(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,u){t=t>>>0,e=e>>>0,u||l(t,e,this.length);for(var A=this[t],U=1,k=0;++k=U&&(A-=Math.pow(2,8*e)),A},o.prototype.readIntBE=function(t,e,u){t=t>>>0,e=e>>>0,u||l(t,e,this.length);for(var A=e,U=1,k=this[t+--A];A>0&&(U*=256);)k+=this[t+--A]*U;return U*=128,k>=U&&(k-=Math.pow(2,8*e)),k},o.prototype.readInt8=function(t,e){return t=t>>>0,e||l(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},o.prototype.readInt16LE=function(t,e){t=t>>>0,e||l(t,2,this.length);var u=this[t]|this[t+1]<<8;return u&32768?u|4294901760:u},o.prototype.readInt16BE=function(t,e){t=t>>>0,e||l(t,2,this.length);var u=this[t+1]|this[t]<<8;return u&32768?u|4294901760:u},o.prototype.readInt32LE=function(t,e){return t=t>>>0,e||l(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t=t>>>0,e||l(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return t=t>>>0,e||l(t,4,this.length),B.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t=t>>>0,e||l(t,4,this.length),B.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||l(t,8,this.length),B.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||l(t,8,this.length),B.read(this,t,!1,52,8)};function p(d,t,e,u,A,U){if(!o.isBuffer(d))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>A||td.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,u,A){if(t=+t,e=e>>>0,u=u>>>0,!A){var U=Math.pow(2,8*u)-1;p(this,t,e,u,U,0)}var k=1,ie=0;for(this[e]=t&255;++ie>>0,u=u>>>0,!A){var U=Math.pow(2,8*u)-1;p(this,t,e,u,U,0)}var k=u-1,ie=1;for(this[e+k]=t&255;--k>=0&&(ie*=256);)this[e+k]=t/ie&255;return e+u},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,1,255,0),this[e]=t&255,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},o.prototype.writeIntLE=function(t,e,u,A){if(t=+t,e=e>>>0,!A){var U=Math.pow(2,8*u-1);p(this,t,e,u,U-1,-U)}var k=0,ie=1,ye=0;for(this[e]=t&255;++k>0)-ye&255;return e+u},o.prototype.writeIntBE=function(t,e,u,A){if(t=+t,e=e>>>0,!A){var U=Math.pow(2,8*u-1);p(this,t,e,u,U-1,-U)}var k=u-1,ie=1,ye=0;for(this[e+k]=t&255;--k>=0&&(ie*=256);)t<0&&ye===0&&this[e+k+1]!==0&&(ye=1),this[e+k]=(t/ie>>0)-ye&255;return e+u},o.prototype.writeInt8=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},o.prototype.writeInt16LE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeInt32LE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,u){return t=+t,e=e>>>0,u||p(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function M(d,t,e,u,A,U){if(e+u>d.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function j(d,t,e,u,A){return t=+t,e=e>>>0,A||M(d,t,e,4,34028234663852886e22,-34028234663852886e22),B.write(d,t,e,u,23,4),e+4}o.prototype.writeFloatLE=function(t,e,u){return j(this,t,e,!0,u)},o.prototype.writeFloatBE=function(t,e,u){return j(this,t,e,!1,u)};function G(d,t,e,u,A){return t=+t,e=e>>>0,A||M(d,t,e,8,17976931348623157e292,-17976931348623157e292),B.write(d,t,e,u,52,8),e+8}o.prototype.writeDoubleLE=function(t,e,u){return G(this,t,e,!0,u)},o.prototype.writeDoubleBE=function(t,e,u){return G(this,t,e,!1,u)},o.prototype.copy=function(t,e,u,A){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(u||(u=0),!A&&A!==0&&(A=this.length),e>=t.length&&(e=t.length),e||(e=0),A>0&&A=this.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("sourceEnd out of bounds");A>this.length&&(A=this.length),t.length-e>>0,u=u===void 0?this.length:u>>>0,t||(t=0);var k;if(typeof t=="number")for(k=e;k55295&&e<57344){if(!A){if(e>56319){(t-=3)>-1&&U.push(239,191,189);continue}else if(k+1===u){(t-=3)>-1&&U.push(239,191,189);continue}A=e;continue}if(e<56320){(t-=3)>-1&&U.push(239,191,189),A=e;continue}e=(A-55296<<10|e-56320)+65536}else A&&(t-=3)>-1&&U.push(239,191,189);if(A=null,e<128){if((t-=1)<0)break;U.push(e)}else if(e<2048){if((t-=2)<0)break;U.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;U.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;U.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return U}function we(d){for(var t=[],e=0;e>8,A=e%256,U.push(A),U.push(u);return U}function Ze(d){return W.toByteArray(De(d))}function ze(d,t,e,u){for(var A=0;A=t.length||A>=d.length);++A)t[A+e]=d[A];return A}function Me(d,t){return d instanceof t||d!=null&&d.constructor!=null&&d.constructor.name!=null&&d.constructor.name===t.name}function a(d){return d!==d}var J=function(){for(var d="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var u=e*16,A=0;A<16;++A)t[u+A]=d[e]+d[A];return t}()},67467:function(St,We){We.read=function(s,n,W,B,H){var h,y,w=H*8-B-1,o=(1<>1,f=-7,c=W?H-1:0,D=W?-1:1,E=s[n+c];for(c+=D,h=E&(1<<-f)-1,E>>=-f,f+=w;f>0;h=h*256+s[n+c],c+=D,f-=8);for(y=h&(1<<-f)-1,h>>=-f,f+=B;f>0;y=y*256+s[n+c],c+=D,f-=8);if(h===0)h=1-O;else{if(h===o)return y?NaN:(E?-1:1)*(1/0);y=y+Math.pow(2,B),h=h-O}return(E?-1:1)*y*Math.pow(2,h-B)},We.write=function(s,n,W,B,H,h){var y,w,o,O=h*8-H-1,f=(1<>1,D=H===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=B?0:h-1,_=B?1:-1,b=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(w=isNaN(n)?1:0,y=f):(y=Math.floor(Math.log(n)/Math.LN2),n*(o=Math.pow(2,-y))<1&&(y--,o*=2),y+c>=1?n+=D/o:n+=D*Math.pow(2,1-c),n*o>=2&&(y++,o/=2),y+c>=f?(w=0,y=f):y+c>=1?(w=(n*o-1)*Math.pow(2,H),y=y+c):(w=n*Math.pow(2,c-1)*Math.pow(2,H),y=0));H>=8;s[W+E]=w&255,E+=_,w/=256,H-=8);for(y=y<0;s[W+E]=y&255,E+=_,y/=256,O-=8);s[W+E-_]|=b*128}},86129:function(St,We,s){var n=s(19208).lW,W=s(97671);(function(B){St.exports=B()})(function(){return function B(H,h,y){function w(f,c){if(!h[f]){if(!H[f]){var D=void 0;if(!c&&D)return require(f,!0);if(o)return o(f,!0);var E=new Error("Cannot find module '"+f+"'");throw E.code="MODULE_NOT_FOUND",E}var _=h[f]={exports:{}};H[f][0].call(_.exports,function(b){var r=H[f][1][b];return w(r||b)},_,_.exports,B,H,h,y)}return h[f].exports}for(var o=void 0,O=0;O>2,_=(3&f)<<4|c>>4,b=1>6:64,r=2>4,c=(15&E)<<4|(_=o.indexOf(O.charAt(r++)))>>2,D=(3&_)<<6|(b=o.indexOf(O.charAt(r++))),P[x++]=f,_!==64&&(P[x++]=c),b!==64&&(P[x++]=D);return P}},{"./support":30,"./utils":32}],2:[function(B,H,h){"use strict";var y=B("./external"),w=B("./stream/DataWorker"),o=B("./stream/Crc32Probe"),O=B("./stream/DataLengthProbe");function f(c,D,E,_,b){this.compressedSize=c,this.uncompressedSize=D,this.crc32=E,this.compression=_,this.compressedContent=b}f.prototype={getContentWorker:function(){var c=new w(y.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new O("data_length")),D=this;return c.on("end",function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new w(y.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},f.createWorkerFrom=function(c,D,E){return c.pipe(new o).pipe(new O("uncompressedSize")).pipe(D.compressWorker(E)).pipe(new O("compressedSize")).withStreamInfo("compression",D)},H.exports=f},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,H,h){"use strict";var y=B("./stream/GenericWorker");h.STORE={magic:"\0\0",compressWorker:function(){return new y("STORE compression")},uncompressWorker:function(){return new y("STORE decompression")}},h.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,H,h){"use strict";var y=B("./utils"),w=function(){for(var o,O=[],f=0;f<256;f++){o=f;for(var c=0;c<8;c++)o=1&o?3988292384^o>>>1:o>>>1;O[f]=o}return O}();H.exports=function(o,O){return o!==void 0&&o.length?y.getTypeOf(o)!=="string"?function(f,c,D,E){var _=w,b=E+D;f^=-1;for(var r=E;r>>8^_[255&(f^c[r])];return-1^f}(0|O,o,o.length,0):function(f,c,D,E){var _=w,b=E+D;f^=-1;for(var r=E;r>>8^_[255&(f^c.charCodeAt(r))];return-1^f}(0|O,o,o.length,0):0}},{"./utils":32}],5:[function(B,H,h){"use strict";h.base64=!1,h.binary=!1,h.dir=!1,h.createFolders=!0,h.date=null,h.compression=null,h.compressionOptions=null,h.comment=null,h.unixPermissions=null,h.dosPermissions=null},{}],6:[function(B,H,h){"use strict";var y=null;y=typeof Promise!="undefined"?Promise:B("lie"),H.exports={Promise:y}},{lie:37}],7:[function(B,H,h){"use strict";var y=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",w=B("pako"),o=B("./utils"),O=B("./stream/GenericWorker"),f=y?"uint8array":"array";function c(D,E){O.call(this,"FlateWorker/"+D),this._pako=null,this._pakoAction=D,this._pakoOptions=E,this.meta={}}h.magic="\b\0",o.inherits(c,O),c.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(f,D.data),!1)},c.prototype.flush=function(){O.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){O.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new w[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(E){D.push({data:E,meta:D.meta})}},h.compressWorker=function(D){return new c("Deflate",D)},h.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,H,h){"use strict";function y(_,b){var r,x="";for(r=0;r>>=8;return x}function w(_,b,r,x,F,P){var L,Z,I=_.file,$=_.compression,z=P!==f.utf8encode,V=o.transformTo("string",P(I.name)),i=o.transformTo("string",f.utf8encode(I.name)),Q=I.comment,ne=o.transformTo("string",P(Q)),T=o.transformTo("string",f.utf8encode(Q)),ue=i.length!==I.name.length,m=T.length!==Q.length,le="",X="",te="",re=I.dir,R=I.date,g={crc32:0,compressedSize:0,uncompressedSize:0};b&&!r||(g.crc32=_.crc32,g.compressedSize=_.compressedSize,g.uncompressedSize=_.uncompressedSize);var l=0;b&&(l|=8),z||!ue&&!m||(l|=2048);var p=0,M=0;re&&(p|=16),F==="UNIX"?(M=798,p|=function(G,de){var De=G;return G||(De=de?16893:33204),(65535&De)<<16}(I.unixPermissions,re)):(M=20,p|=function(G){return 63&(G||0)}(I.dosPermissions)),L=R.getUTCHours(),L<<=6,L|=R.getUTCMinutes(),L<<=5,L|=R.getUTCSeconds()/2,Z=R.getUTCFullYear()-1980,Z<<=4,Z|=R.getUTCMonth()+1,Z<<=5,Z|=R.getUTCDate(),ue&&(X=y(1,1)+y(c(V),4)+i,le+="up"+y(X.length,2)+X),m&&(te=y(1,1)+y(c(ne),4)+T,le+="uc"+y(te.length,2)+te);var j="";return j+=` +\0`,j+=y(l,2),j+=$.magic,j+=y(L,2),j+=y(Z,2),j+=y(g.crc32,4),j+=y(g.compressedSize,4),j+=y(g.uncompressedSize,4),j+=y(V.length,2),j+=y(le.length,2),{fileRecord:D.LOCAL_FILE_HEADER+j+V+le,dirRecord:D.CENTRAL_FILE_HEADER+y(M,2)+j+y(ne.length,2)+"\0\0\0\0"+y(p,4)+y(x,4)+V+le+ne}}var o=B("../utils"),O=B("../stream/GenericWorker"),f=B("../utf8"),c=B("../crc32"),D=B("../signature");function E(_,b,r,x){O.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=r,this.encodeFileName=x,this.streamFiles=_,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(E,O),E.prototype.push=function(_){var b=_.meta.percent||0,r=this.entriesCount,x=this._sources.length;this.accumulate?this.contentBuffer.push(_):(this.bytesWritten+=_.data.length,O.prototype.push.call(this,{data:_.data,meta:{currentFile:this.currentFile,percent:r?(b+100*(r-x-1))/r:100}}))},E.prototype.openedSource=function(_){this.currentSourceOffset=this.bytesWritten,this.currentFile=_.file.name;var b=this.streamFiles&&!_.file.dir;if(b){var r=w(_,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},E.prototype.closedSource=function(_){this.accumulate=!1;var b=this.streamFiles&&!_.file.dir,r=w(_,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),b)this.push({data:function(x){return D.DATA_DESCRIPTOR+y(x.crc32,4)+y(x.compressedSize,4)+y(x.uncompressedSize,4)}(_),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},E.prototype.flush=function(){for(var _=this.bytesWritten,b=0;b=this.index;O--)f=(f<<8)+this.byteAt(O);return this.index+=o,f},readString:function(o){return y.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},H.exports=w},{"../utils":32}],19:[function(B,H,h){"use strict";var y=B("./Uint8ArrayReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.readData=function(o){this.checkOffset(o);var O=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},H.exports=w},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,H,h){"use strict";var y=B("./DataReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},w.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},w.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},w.prototype.readData=function(o){this.checkOffset(o);var O=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},H.exports=w},{"../utils":32,"./DataReader":18}],21:[function(B,H,h){"use strict";var y=B("./ArrayReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var O=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},H.exports=w},{"../utils":32,"./ArrayReader":17}],22:[function(B,H,h){"use strict";var y=B("../utils"),w=B("../support"),o=B("./ArrayReader"),O=B("./StringReader"),f=B("./NodeBufferReader"),c=B("./Uint8ArrayReader");H.exports=function(D){var E=y.getTypeOf(D);return y.checkSupport(E),E!=="string"||w.uint8array?E==="nodebuffer"?new f(D):w.uint8array?new c(y.transformTo("uint8array",D)):new o(y.transformTo("array",D)):new O(D)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,H,h){"use strict";h.LOCAL_FILE_HEADER="PK",h.CENTRAL_FILE_HEADER="PK",h.CENTRAL_DIRECTORY_END="PK",h.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",h.ZIP64_CENTRAL_DIRECTORY_END="PK",h.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,H,h){"use strict";var y=B("./GenericWorker"),w=B("../utils");function o(O){y.call(this,"ConvertWorker to "+O),this.destType=O}w.inherits(o,y),o.prototype.processChunk=function(O){this.push({data:w.transformTo(this.destType,O.data),meta:O.meta})},H.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(B,H,h){"use strict";var y=B("./GenericWorker"),w=B("../crc32");function o(){y.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(o,y),o.prototype.processChunk=function(O){this.streamInfo.crc32=w(O.data,this.streamInfo.crc32||0),this.push(O)},H.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,H,h){"use strict";var y=B("../utils"),w=B("./GenericWorker");function o(O){w.call(this,"DataLengthProbe for "+O),this.propName=O,this.withStreamInfo(O,0)}y.inherits(o,w),o.prototype.processChunk=function(O){if(O){var f=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=f+O.data.length}w.prototype.processChunk.call(this,O)},H.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(B,H,h){"use strict";var y=B("../utils"),w=B("./GenericWorker");function o(O){w.call(this,"DataWorker");var f=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,O.then(function(c){f.dataIsReady=!0,f.data=c,f.max=c&&c.length||0,f.type=y.getTypeOf(c),f.isPaused||f._tickAndRepeat()},function(c){f.error(c)})}y.inherits(o,w),o.prototype.cleanUp=function(){w.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!w.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,y.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(y.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var O=null,f=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":O=this.data.substring(this.index,f);break;case"uint8array":O=this.data.subarray(this.index,f);break;case"array":case"nodebuffer":O=this.data.slice(this.index,f)}return this.index=f,this.push({data:O,meta:{percent:this.max?this.index/this.max*100:0}})},H.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(B,H,h){"use strict";function y(w){this.name=w||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}y.prototype={push:function(w){this.emit("data",w)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(w){this.emit("error",w)}return!0},error:function(w){return!this.isFinished&&(this.isPaused?this.generatedError=w:(this.isFinished=!0,this.emit("error",w),this.previous&&this.previous.error(w),this.cleanUp()),!0)},on:function(w,o){return this._listeners[w].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(w,o){if(this._listeners[w])for(var O=0;O "+w:w}},H.exports=y},{}],29:[function(B,H,h){"use strict";var y=B("../utils"),w=B("./ConvertWorker"),o=B("./GenericWorker"),O=B("../base64"),f=B("../support"),c=B("../external"),D=null;if(f.nodestream)try{D=B("../nodejs/NodejsStreamOutputAdapter")}catch(b){}function E(b,r){return new c.Promise(function(x,F){var P=[],L=b._internalType,Z=b._outputType,I=b._mimeType;b.on("data",function($,z){P.push($),r&&r(z)}).on("error",function($){P=[],F($)}).on("end",function(){try{var $=function(z,V,i){switch(z){case"blob":return y.newBlob(y.transformTo("arraybuffer",V),i);case"base64":return O.encode(V);default:return y.transformTo(z,V)}}(Z,function(z,V){var i,Q=0,ne=null,T=0;for(i=0;i>>6:(x<65536?r[L++]=224|x>>>12:(r[L++]=240|x>>>18,r[L++]=128|x>>>12&63),r[L++]=128|x>>>6&63),r[L++]=128|63&x);return r}(_)},h.utf8decode=function(_){return w.nodebuffer?y.transformTo("nodebuffer",_).toString("utf-8"):function(b){var r,x,F,P,L=b.length,Z=new Array(2*L);for(r=x=0;r>10&1023,Z[x++]=56320|1023&F)}return Z.length!==x&&(Z.subarray?Z=Z.subarray(0,x):Z.length=x),y.applyFromCharCode(Z)}(_=y.transformTo(w.uint8array?"uint8array":"array",_))},y.inherits(D,O),D.prototype.processChunk=function(_){var b=y.transformTo(w.uint8array?"uint8array":"array",_.data);if(this.leftOver&&this.leftOver.length){if(w.uint8array){var r=b;(b=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),b.set(r,this.leftOver.length)}else b=this.leftOver.concat(b);this.leftOver=null}var x=function(P,L){var Z;for((L=L||P.length)>P.length&&(L=P.length),Z=L-1;0<=Z&&(192&P[Z])==128;)Z--;return Z<0||Z===0?L:Z+f[P[Z]]>L?Z:L}(b),F=b;x!==b.length&&(w.uint8array?(F=b.subarray(0,x),this.leftOver=b.subarray(x,b.length)):(F=b.slice(0,x),this.leftOver=b.slice(x,b.length))),this.push({data:h.utf8decode(F),meta:_.meta})},D.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:h.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},h.Utf8DecodeWorker=D,y.inherits(E,O),E.prototype.processChunk=function(_){this.push({data:h.utf8encode(_.data),meta:_.meta})},h.Utf8EncodeWorker=E},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,H,h){"use strict";var y=B("./support"),w=B("./base64"),o=B("./nodejsUtils"),O=B("./external");function f(r){return r}function c(r,x){for(var F=0;F>8;this.dir=!!(16&this.externalFileAttributes),_==0&&(this.dosPermissions=63&this.externalFileAttributes),_==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var _=y(this.extraFields[1].value);this.uncompressedSize===w.MAX_VALUE_32BITS&&(this.uncompressedSize=_.readInt(8)),this.compressedSize===w.MAX_VALUE_32BITS&&(this.compressedSize=_.readInt(8)),this.localHeaderOffset===w.MAX_VALUE_32BITS&&(this.localHeaderOffset=_.readInt(8)),this.diskNumberStart===w.MAX_VALUE_32BITS&&(this.diskNumberStart=_.readInt(4))}},readExtraFields:function(_){var b,r,x,F=_.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});_.index+4>>6:(_<65536?E[x++]=224|_>>>12:(E[x++]=240|_>>>18,E[x++]=128|_>>>12&63),E[x++]=128|_>>>6&63),E[x++]=128|63&_);return E},h.buf2binstring=function(D){return c(D,D.length)},h.binstring2buf=function(D){for(var E=new y.Buf8(D.length),_=0,b=E.length;_>10&1023,P[b++]=56320|1023&r)}return c(P,b)},h.utf8border=function(D,E){var _;for((E=E||D.length)>D.length&&(E=D.length),_=E-1;0<=_&&(192&D[_])==128;)_--;return _<0||_===0?E:_+O[D[_]]>E?_:E}},{"./common":41}],43:[function(B,H,h){"use strict";H.exports=function(y,w,o,O){for(var f=65535&y|0,c=y>>>16&65535|0,D=0;o!==0;){for(o-=D=2e3>>1:w>>>1;o[O]=w}return o}();H.exports=function(w,o,O,f){var c=y,D=f+O;w^=-1;for(var E=f;E>>8^c[255&(w^o[E])];return-1^w}},{}],46:[function(B,H,h){"use strict";var y,w=B("../utils/common"),o=B("./trees"),O=B("./adler32"),f=B("./crc32"),c=B("./messages"),D=0,E=4,_=0,b=-2,r=-1,x=4,F=2,P=8,L=9,Z=286,I=30,$=19,z=2*Z+1,V=15,i=3,Q=258,ne=Q+i+1,T=42,ue=113,m=1,le=2,X=3,te=4;function re(a,J){return a.msg=c[J],J}function R(a){return(a<<1)-(4a.avail_out&&(d=a.avail_out),d!==0&&(w.arraySet(a.output,J.pending_buf,J.pending_out,d,a.next_out),a.next_out+=d,J.pending_out+=d,a.total_out+=d,a.avail_out-=d,J.pending-=d,J.pending===0&&(J.pending_out=0))}function p(a,J){o._tr_flush_block(a,0<=a.block_start?a.block_start:-1,a.strstart-a.block_start,J),a.block_start=a.strstart,l(a.strm)}function M(a,J){a.pending_buf[a.pending++]=J}function j(a,J){a.pending_buf[a.pending++]=J>>>8&255,a.pending_buf[a.pending++]=255&J}function G(a,J){var d,t,e=a.max_chain_length,u=a.strstart,A=a.prev_length,U=a.nice_match,k=a.strstart>a.w_size-ne?a.strstart-(a.w_size-ne):0,ie=a.window,ye=a.w_mask,Fe=a.prev,be=a.strstart+Q,Re=ie[u+A-1],Pe=ie[u+A];a.prev_length>=a.good_match&&(e>>=2),U>a.lookahead&&(U=a.lookahead);do if(ie[(d=J)+A]===Pe&&ie[d+A-1]===Re&&ie[d]===ie[u]&&ie[++d]===ie[u+1]){u+=2,d++;do;while(ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&uk&&--e!=0);return A<=a.lookahead?A:a.lookahead}function de(a){var J,d,t,e,u,A,U,k,ie,ye,Fe=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=Fe+(Fe-ne)){for(w.arraySet(a.window,a.window,Fe,Fe,0),a.match_start-=Fe,a.strstart-=Fe,a.block_start-=Fe,J=d=a.hash_size;t=a.head[--J],a.head[J]=Fe<=t?t-Fe:0,--d;);for(J=d=Fe;t=a.prev[--J],a.prev[J]=Fe<=t?t-Fe:0,--d;);e+=Fe}if(a.strm.avail_in===0)break;if(A=a.strm,U=a.window,k=a.strstart+a.lookahead,ie=e,ye=void 0,ye=A.avail_in,ie=i)for(u=a.strstart-a.insert,a.ins_h=a.window[u],a.ins_h=(a.ins_h<=i&&(a.ins_h=(a.ins_h<=i)if(t=o._tr_tally(a,a.strstart-a.match_start,a.match_length-i),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=i){for(a.match_length--;a.strstart++,a.ins_h=(a.ins_h<=i&&(a.ins_h=(a.ins_h<=i&&a.match_length<=a.prev_length){for(e=a.strstart+a.lookahead-i,t=o._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-i),a.lookahead-=a.prev_length-1,a.prev_length-=2;++a.strstart<=e&&(a.ins_h=(a.ins_h<a.pending_buf_size-5&&(d=a.pending_buf_size-5);;){if(a.lookahead<=1){if(de(a),a.lookahead===0&&J===D)return m;if(a.lookahead===0)break}a.strstart+=a.lookahead,a.lookahead=0;var t=a.block_start+d;if((a.strstart===0||a.strstart>=t)&&(a.lookahead=a.strstart-t,a.strstart=t,p(a,!1),a.strm.avail_out===0)||a.strstart-a.block_start>=a.w_size-ne&&(p(a,!1),a.strm.avail_out===0))return m}return a.insert=0,J===E?(p(a,!0),a.strm.avail_out===0?X:te):(a.strstart>a.block_start&&(p(a,!1),a.strm.avail_out),m)}),new we(4,4,8,4,De),new we(4,5,16,8,De),new we(4,6,32,32,De),new we(4,4,16,16,Be),new we(8,16,32,32,Be),new we(8,16,128,128,Be),new we(8,32,128,256,Be),new we(32,128,258,1024,Be),new we(32,258,258,4096,Be)],h.deflateInit=function(a,J){return Me(a,J,P,15,8,0)},h.deflateInit2=Me,h.deflateReset=ze,h.deflateResetKeep=Ze,h.deflateSetHeader=function(a,J){return a&&a.state?a.state.wrap!==2?b:(a.state.gzhead=J,_):b},h.deflate=function(a,J){var d,t,e,u;if(!a||!a.state||5>8&255),M(t,t.gzhead.time>>16&255),M(t,t.gzhead.time>>24&255),M(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),M(t,255&t.gzhead.os),t.gzhead.extra&&t.gzhead.extra.length&&(M(t,255&t.gzhead.extra.length),M(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(a.adler=f(a.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=69):(M(t,0),M(t,0),M(t,0),M(t,0),M(t,0),M(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),M(t,3),t.status=ue);else{var A=P+(t.w_bits-8<<4)<<8;A|=(2<=t.strategy||t.level<2?0:t.level<6?1:t.level===6?2:3)<<6,t.strstart!==0&&(A|=32),A+=31-A%31,t.status=ue,j(t,A),t.strstart!==0&&(j(t,a.adler>>>16),j(t,65535&a.adler)),a.adler=1}if(t.status===69)if(t.gzhead.extra){for(e=t.pending;t.gzindex<(65535&t.gzhead.extra.length)&&(t.pending!==t.pending_buf_size||(t.gzhead.hcrc&&t.pending>e&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),l(a),e=t.pending,t.pending!==t.pending_buf_size));)M(t,255&t.gzhead.extra[t.gzindex]),t.gzindex++;t.gzhead.hcrc&&t.pending>e&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=73)}else t.status=73;if(t.status===73)if(t.gzhead.name){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),l(a),e=t.pending,t.pending===t.pending_buf_size)){u=1;break}u=t.gzindexe&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),u===0&&(t.gzindex=0,t.status=91)}else t.status=91;if(t.status===91)if(t.gzhead.comment){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),l(a),e=t.pending,t.pending===t.pending_buf_size)){u=1;break}u=t.gzindexe&&(a.adler=f(a.adler,t.pending_buf,t.pending-e,e)),u===0&&(t.status=103)}else t.status=103;if(t.status===103&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&l(a),t.pending+2<=t.pending_buf_size&&(M(t,255&a.adler),M(t,a.adler>>8&255),a.adler=0,t.status=ue)):t.status=ue),t.pending!==0){if(l(a),a.avail_out===0)return t.last_flush=-1,_}else if(a.avail_in===0&&R(J)<=R(d)&&J!==E)return re(a,-5);if(t.status===666&&a.avail_in!==0)return re(a,-5);if(a.avail_in!==0||t.lookahead!==0||J!==D&&t.status!==666){var U=t.strategy===2?function(k,ie){for(var ye;;){if(k.lookahead===0&&(de(k),k.lookahead===0)){if(ie===D)return m;break}if(k.match_length=0,ye=o._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++,ye&&(p(k,!1),k.strm.avail_out===0))return m}return k.insert=0,ie===E?(p(k,!0),k.strm.avail_out===0?X:te):k.last_lit&&(p(k,!1),k.strm.avail_out===0)?m:le}(t,J):t.strategy===3?function(k,ie){for(var ye,Fe,be,Re,Pe=k.window;;){if(k.lookahead<=Q){if(de(k),k.lookahead<=Q&&ie===D)return m;if(k.lookahead===0)break}if(k.match_length=0,k.lookahead>=i&&0k.lookahead&&(k.match_length=k.lookahead)}if(k.match_length>=i?(ye=o._tr_tally(k,1,k.match_length-i),k.lookahead-=k.match_length,k.strstart+=k.match_length,k.match_length=0):(ye=o._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++),ye&&(p(k,!1),k.strm.avail_out===0))return m}return k.insert=0,ie===E?(p(k,!0),k.strm.avail_out===0?X:te):k.last_lit&&(p(k,!1),k.strm.avail_out===0)?m:le}(t,J):y[t.level].func(t,J);if(U!==X&&U!==te||(t.status=666),U===m||U===X)return a.avail_out===0&&(t.last_flush=-1),_;if(U===le&&(J===1?o._tr_align(t):J!==5&&(o._tr_stored_block(t,0,0,!1),J===3&&(g(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),l(a),a.avail_out===0))return t.last_flush=-1,_}return J!==E?_:t.wrap<=0?1:(t.wrap===2?(M(t,255&a.adler),M(t,a.adler>>8&255),M(t,a.adler>>16&255),M(t,a.adler>>24&255),M(t,255&a.total_in),M(t,a.total_in>>8&255),M(t,a.total_in>>16&255),M(t,a.total_in>>24&255)):(j(t,a.adler>>>16),j(t,65535&a.adler)),l(a),0=d.w_size&&(u===0&&(g(d.head),d.strstart=0,d.block_start=0,d.insert=0),ie=new w.Buf8(d.w_size),w.arraySet(ie,J,ye-d.w_size,d.w_size,0),J=ie,ye=d.w_size),A=a.avail_in,U=a.next_in,k=a.input,a.avail_in=ye,a.next_in=0,a.input=J,de(d);d.lookahead>=i;){for(t=d.strstart,e=d.lookahead-(i-1);d.ins_h=(d.ins_h<>>=i=V>>>24,L-=i,(i=V>>>16&255)===0)le[c++]=65535&V;else{if(!(16&i)){if(!(64&i)){V=Z[(65535&V)+(P&(1<>>=i,L-=i),L<15&&(P+=m[O++]<>>=i=V>>>24,L-=i,!(16&(i=V>>>16&255))){if(!(64&i)){V=I[(65535&V)+(P&(1<>>=i,L-=i,(i=c-D)>3,P&=(1<<(L-=Q<<3))-1,y.next_in=O,y.next_out=c,y.avail_in=O>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function P(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new y.Buf16(320),this.work=new y.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function L(T){var ue;return T&&T.state?(ue=T.state,T.total_in=T.total_out=ue.total=0,T.msg="",ue.wrap&&(T.adler=1&ue.wrap),ue.mode=b,ue.last=0,ue.havedict=0,ue.dmax=32768,ue.head=null,ue.hold=0,ue.bits=0,ue.lencode=ue.lendyn=new y.Buf32(r),ue.distcode=ue.distdyn=new y.Buf32(x),ue.sane=1,ue.back=-1,E):_}function Z(T){var ue;return T&&T.state?((ue=T.state).wsize=0,ue.whave=0,ue.wnext=0,L(T)):_}function I(T,ue){var m,le;return T&&T.state?(le=T.state,ue<0?(m=0,ue=-ue):(m=1+(ue>>4),ue<48&&(ue&=15)),ue&&(ue<8||15=te.wsize?(y.arraySet(te.window,ue,m-te.wsize,te.wsize,0),te.wnext=0,te.whave=te.wsize):(le<(X=te.wsize-te.wnext)&&(X=le),y.arraySet(te.window,ue,m-le,X,te.wnext),(le-=X)?(y.arraySet(te.window,ue,m-le,le,0),te.wnext=le,te.whave=te.wsize):(te.wnext+=X,te.wnext===te.wsize&&(te.wnext=0),te.whave>>8&255,m.check=o(m.check,u,2,0),p=l=0,m.mode=2;break}if(m.flags=0,m.head&&(m.head.done=!1),!(1&m.wrap)||(((255&l)<<8)+(l>>8))%31){T.msg="incorrect header check",m.mode=30;break}if((15&l)!=8){T.msg="unknown compression method",m.mode=30;break}if(p-=4,a=8+(15&(l>>>=4)),m.wbits===0)m.wbits=a;else if(a>m.wbits){T.msg="invalid window size",m.mode=30;break}m.dmax=1<>8&1),512&m.flags&&(u[0]=255&l,u[1]=l>>>8&255,m.check=o(m.check,u,2,0)),p=l=0,m.mode=3;case 3:for(;p<32;){if(R===0)break e;R--,l+=le[te++]<>>8&255,u[2]=l>>>16&255,u[3]=l>>>24&255,m.check=o(m.check,u,4,0)),p=l=0,m.mode=4;case 4:for(;p<16;){if(R===0)break e;R--,l+=le[te++]<>8),512&m.flags&&(u[0]=255&l,u[1]=l>>>8&255,m.check=o(m.check,u,2,0)),p=l=0,m.mode=5;case 5:if(1024&m.flags){for(;p<16;){if(R===0)break e;R--,l+=le[te++]<>>8&255,m.check=o(m.check,u,2,0)),p=l=0}else m.head&&(m.head.extra=null);m.mode=6;case 6:if(1024&m.flags&&(R<(G=m.length)&&(G=R),G&&(m.head&&(a=m.head.extra_len-m.length,m.head.extra||(m.head.extra=new Array(m.head.extra_len)),y.arraySet(m.head.extra,le,te,G,a)),512&m.flags&&(m.check=o(m.check,le,G,te)),R-=G,te+=G,m.length-=G),m.length))break e;m.length=0,m.mode=7;case 7:if(2048&m.flags){if(R===0)break e;for(G=0;a=le[te+G++],m.head&&a&&m.length<65536&&(m.head.name+=String.fromCharCode(a)),a&&G>9&1,m.head.done=!0),T.adler=m.check=0,m.mode=12;break;case 10:for(;p<32;){if(R===0)break e;R--,l+=le[te++]<>>=7&p,p-=7&p,m.mode=27;break}for(;p<3;){if(R===0)break e;R--,l+=le[te++]<>>=1)){case 0:m.mode=14;break;case 1:if(Q(m),m.mode=20,ue!==6)break;l>>>=2,p-=2;break e;case 2:m.mode=17;break;case 3:T.msg="invalid block type",m.mode=30}l>>>=2,p-=2;break;case 14:for(l>>>=7&p,p-=7&p;p<32;){if(R===0)break e;R--,l+=le[te++]<>>16^65535)){T.msg="invalid stored block lengths",m.mode=30;break}if(m.length=65535&l,p=l=0,m.mode=15,ue===6)break e;case 15:m.mode=16;case 16:if(G=m.length){if(R>>=5,p-=5,m.ndist=1+(31&l),l>>>=5,p-=5,m.ncode=4+(15&l),l>>>=4,p-=4,286>>=3,p-=3}for(;m.have<19;)m.lens[A[m.have++]]=0;if(m.lencode=m.lendyn,m.lenbits=7,d={bits:m.lenbits},J=f(0,m.lens,0,19,m.lencode,0,m.work,d),m.lenbits=d.bits,J){T.msg="invalid code lengths set",m.mode=30;break}m.have=0,m.mode=19;case 19:for(;m.have>>16&255,Ce=65535&e,!((Be=e>>>24)<=p);){if(R===0)break e;R--,l+=le[te++]<>>=Be,p-=Be,m.lens[m.have++]=Ce;else{if(Ce===16){for(t=Be+2;p>>=Be,p-=Be,m.have===0){T.msg="invalid bit length repeat",m.mode=30;break}a=m.lens[m.have-1],G=3+(3&l),l>>>=2,p-=2}else if(Ce===17){for(t=Be+3;p>>=Be)),l>>>=3,p-=3}else{for(t=Be+7;p>>=Be)),l>>>=7,p-=7}if(m.have+G>m.nlen+m.ndist){T.msg="invalid bit length repeat",m.mode=30;break}for(;G--;)m.lens[m.have++]=a}}if(m.mode===30)break;if(m.lens[256]===0){T.msg="invalid code -- missing end-of-block",m.mode=30;break}if(m.lenbits=9,d={bits:m.lenbits},J=f(c,m.lens,0,m.nlen,m.lencode,0,m.work,d),m.lenbits=d.bits,J){T.msg="invalid literal/lengths set",m.mode=30;break}if(m.distbits=6,m.distcode=m.distdyn,d={bits:m.distbits},J=f(D,m.lens,m.nlen,m.ndist,m.distcode,0,m.work,d),m.distbits=d.bits,J){T.msg="invalid distances set",m.mode=30;break}if(m.mode=20,ue===6)break e;case 20:m.mode=21;case 21:if(6<=R&&258<=g){T.next_out=re,T.avail_out=g,T.next_in=te,T.avail_in=R,m.hold=l,m.bits=p,O(T,j),re=T.next_out,X=T.output,g=T.avail_out,te=T.next_in,le=T.input,R=T.avail_in,l=m.hold,p=m.bits,m.mode===12&&(m.back=-1);break}for(m.back=0;we=(e=m.lencode[l&(1<>>16&255,Ce=65535&e,!((Be=e>>>24)<=p);){if(R===0)break e;R--,l+=le[te++]<>Ze)])>>>16&255,Ce=65535&e,!(Ze+(Be=e>>>24)<=p);){if(R===0)break e;R--,l+=le[te++]<>>=Ze,p-=Ze,m.back+=Ze}if(l>>>=Be,p-=Be,m.back+=Be,m.length=Ce,we===0){m.mode=26;break}if(32&we){m.back=-1,m.mode=12;break}if(64&we){T.msg="invalid literal/length code",m.mode=30;break}m.extra=15&we,m.mode=22;case 22:if(m.extra){for(t=m.extra;p>>=m.extra,p-=m.extra,m.back+=m.extra}m.was=m.length,m.mode=23;case 23:for(;we=(e=m.distcode[l&(1<>>16&255,Ce=65535&e,!((Be=e>>>24)<=p);){if(R===0)break e;R--,l+=le[te++]<>Ze)])>>>16&255,Ce=65535&e,!(Ze+(Be=e>>>24)<=p);){if(R===0)break e;R--,l+=le[te++]<>>=Ze,p-=Ze,m.back+=Ze}if(l>>>=Be,p-=Be,m.back+=Be,64&we){T.msg="invalid distance code",m.mode=30;break}m.offset=Ce,m.extra=15&we,m.mode=24;case 24:if(m.extra){for(t=m.extra;p>>=m.extra,p-=m.extra,m.back+=m.extra}if(m.offset>m.dmax){T.msg="invalid distance too far back",m.mode=30;break}m.mode=25;case 25:if(g===0)break e;if(G=j-g,m.offset>G){if((G=m.offset-G)>m.whave&&m.sane){T.msg="invalid distance too far back",m.mode=30;break}de=G>m.wnext?(G-=m.wnext,m.wsize-G):m.wnext-G,G>m.length&&(G=m.length),De=m.window}else De=X,de=re-m.offset,G=m.length;for(gz?(i=de[De+x[ue]],p[M+x[ue]]):(i=96,0),P=1<>re)+(L-=P)]=V<<24|i<<16|Q|0,L!==0;);for(P=1<>=1;if(P!==0?(l&=P-1,l+=P):l=0,ue++,--j[T]==0){if(T===le)break;T=D[E+x[ue]]}if(X>>7)]}function M(e,u){e.pending_buf[e.pending++]=255&u,e.pending_buf[e.pending++]=u>>>8&255}function j(e,u,A){e.bi_valid>F-A?(e.bi_buf|=u<>F-e.bi_valid,e.bi_valid+=A-F):(e.bi_buf|=u<>>=1,A<<=1,0<--u;);return A>>>1}function De(e,u,A){var U,k,ie=new Array(x+1),ye=0;for(U=1;U<=x;U++)ie[U]=ye=ye+A[U-1]<<1;for(k=0;k<=u;k++){var Fe=e[2*k+1];Fe!==0&&(e[2*k]=de(ie[Fe]++,Fe))}}function Be(e){var u;for(u=0;u>1;1<=A;A--)Ze(e,ie,A);for(k=be;A=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ze(e,ie,1),U=e.heap[1],e.heap[--e.heap_max]=A,e.heap[--e.heap_max]=U,ie[2*k]=ie[2*A]+ie[2*U],e.depth[k]=(e.depth[A]>=e.depth[U]?e.depth[A]:e.depth[U])+1,ie[2*A+1]=ie[2*U+1]=k,e.heap[1]=k++,Ze(e,ie,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(Pe,ot){var Tt,Jt,zt,wt,Rt,Bn,Xt=ot.dyn_tree,sn=ot.max_code,wn=ot.stat_desc.static_tree,Pn=ot.stat_desc.has_stree,bn=ot.stat_desc.extra_bits,Hn=ot.stat_desc.extra_base,_n=ot.stat_desc.max_length,mn=0;for(wt=0;wt<=x;wt++)Pe.bl_count[wt]=0;for(Xt[2*Pe.heap[Pe.heap_max]+1]=0,Tt=Pe.heap_max+1;Tt>=7;k<_;k++)for(R[k]=ie<<7,u=0;u<1<>>=1)if(1&Re&&Fe.dyn_ltree[2*be]!==0)return w;if(Fe.dyn_ltree[18]!==0||Fe.dyn_ltree[20]!==0||Fe.dyn_ltree[26]!==0)return o;for(be=32;be>>3,(ie=e.static_len+3+7>>>3)<=k&&(k=ie)):k=ie=A+5,A+4<=k&&u!==-1?t(e,u,A,U):e.strategy===4||ie===k?(j(e,2+(U?1:0),3),ze(e,ne,T)):(j(e,4+(U?1:0),3),function(Fe,be,Re,Pe){var ot;for(j(Fe,be-257,5),j(Fe,Re-1,5),j(Fe,Pe-4,4),ot=0;ot>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&u,e.pending_buf[e.l_buf+e.last_lit]=255&A,e.last_lit++,u===0?e.dyn_ltree[2*A]++:(e.matches++,u--,e.dyn_ltree[2*(m[A]+D+1)]++,e.dyn_dtree[2*p(u)]++),e.last_lit===e.lit_bufsize-1},h._tr_align=function(e){j(e,2,3),G(e,L,ne),function(u){u.bi_valid===16?(M(u,u.bi_buf),u.bi_buf=0,u.bi_valid=0):8<=u.bi_valid&&(u.pending_buf[u.pending++]=255&u.bi_buf,u.bi_buf>>=8,u.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(B,H,h){"use strict";H.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(B,H,h){(function(y){(function(w,o){"use strict";if(!w.setImmediate){var O,f,c,D,E=1,_={},b=!1,r=w.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(w);x=x&&x.setTimeout?x:w,O={}.toString.call(w.process)==="[object process]"?function(Z){W.nextTick(function(){P(Z)})}:function(){if(w.postMessage&&!w.importScripts){var Z=!0,I=w.onmessage;return w.onmessage=function(){Z=!1},w.postMessage("","*"),w.onmessage=I,Z}}()?(D="setImmediate$"+Math.random()+"$",w.addEventListener?w.addEventListener("message",L,!1):w.attachEvent("onmessage",L),function(Z){w.postMessage(D+Z,"*")}):w.MessageChannel?((c=new MessageChannel).port1.onmessage=function(Z){P(Z.data)},function(Z){c.port2.postMessage(Z)}):r&&"onreadystatechange"in r.createElement("script")?(f=r.documentElement,function(Z){var I=r.createElement("script");I.onreadystatechange=function(){P(Z),I.onreadystatechange=null,f.removeChild(I),I=null},f.appendChild(I)}):function(Z){setTimeout(P,0,Z)},x.setImmediate=function(Z){typeof Z!="function"&&(Z=new Function(""+Z));for(var I=new Array(arguments.length-1),$=0;$E in O?W(O,E,{enumerable:!0,configurable:!0,writable:!0,value:c}):O[E]=c,w=(O,E)=>{for(var c in E||(E={}))z.call(E,c)&&y(O,c,E[c]);if(B)for(var c of B(E))h.call(E,c)&&y(O,c,E[c]);return O};const o=O=>React.createElement("svg",w({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},O),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));We.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2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Th2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},39020:function(St,We,s){"use strict";var n=s(59301),W=Object.defineProperty,B=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(O,E,c)=>E in O?W(O,E,{enumerable:!0,configurable:!0,writable:!0,value:c}):O[E]=c,w=(O,E)=>{for(var c in E||(E={}))z.call(E,c)&&y(O,c,E[c]);if(B)for(var c of B(E))h.call(E,c)&&y(O,c,E[c]);return O};const o=O=>React.createElement("svg",w({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},O),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));We.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},12393:function(St,We,s){"use strict";s.d(We,{Z:function(){return P}});var n=s(59301),W=s(78241),B=s(8591),z=s(43418),h=s(5083),y=s(92832),w=s(1710),o=s(95237),O=s(43604),E=s(61186),c=s.n(E),D=s(955),g=s(89070),_={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},b=s(92365),l=s(79834),x=(L,Z,I)=>new Promise(($,j)=>{var V=ne=>{try{Q(I.next(ne))}catch(T){j(T)}},i=ne=>{try{Q(I.throw(ne))}catch(T){j(T)}},Q=ne=>ne.done?$(ne.value):Promise.resolve(ne.value).then(V,i);Q((I=I.apply(L,Z)).next())});const F=({dispatch:L,courseEndTime:Z,classroomList:I,successCallback:$=()=>{},visible:j,homeworkIds:V,courseId:i,isBatch:Q,shixunHomeworks:ne})=>{const[T]=W.default.useForm(),[ae,p]=(0,n.useState)(!1),[re,X]=(0,n.useState)(!1),[te,le]=(0,n.useState)(!1),[R,f]=(0,n.useState)([]),[r,m]=(0,n.useState)([]),[M,U]=(0,n.useState)([]),[G,ve]=(0,n.useState)([]),[be,Ce]=(0,n.useState)([]),[xe,Be]=(0,n.useState)([]),[Te,He]=(0,n.useState)([]),[Re,a]=(0,n.useState)([]),[J,d]=(0,n.useState)([]);(0,n.useEffect)(()=>{j?t():u()},[j]);const t=()=>x(void 0,null,function*(){p(!0);const A=yield(0,b.oR)(V[0],{course_id:i});le(A.no_group),Q?(He(A.all_course_groups),a(A.all_course_groups)):(ve(A.late_course_groups),Ce(A.late_course_groups),f(A.submit_course_groups),m(A.submit_course_groups)),p(!1),T.setFieldsValue({end_time:c()()})}),e=()=>x(void 0,null,function*(){const A=T.getFieldsValue(),H=c()(A.end_time).format("YYYY-MM-DD HH:mm");if((Q?J.length===0:M.length===0&&xe.length===0)&&!te){B.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}X(!0);const ie=yield(0,b.Mc)(i,{no_group:te,homework_ids:V,group_ids:Q?J:M,end_time:H,late_group_ids:Q?J:xe});X(!1),ie.status===0&&(u(),B.ZP.success("\u64CD\u4F5C\u6210\u529F"),$(),L({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),u=()=>{U([]),Be([]),m([]),Ce([])};return n.createElement(z.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:_.modalWrapper,width:Q||te?520:760,open:j,confirmLoading:re,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>e(),onCancel:()=>{u(),L({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:_.tips},n.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),n.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),n.createElement(W.default,{form:T,layout:"vertical"},n.createElement(W.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},n.createElement(h.default,{style:{width:"100%"},disabledDate:A=>(0,l.Q8)(A,Z),disabledTime:A=>(0,l.d0)(A),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,D.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!te&&n.createElement(n.Fragment,null,Q?n.createElement("div",null,n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{a(Te.filter(H=>H.name.indexOf(A.target.value)>-1))}}),n.createElement(w.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{d(A)}},rowKey:"id",pagination:!1,dataSource:Re,loading:ae,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):n.createElement(o.Z,{gutter:24},n.createElement(O.Z,{span:14},n.createElement("div",{className:_.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{m(R.filter(H=>H.name.indexOf(A.target.value)>-1))}}),n.createElement("div",{className:_.tableWrapper},n.createElement(w.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{U(A)}},rowKey:"id",pagination:!1,dataSource:r,loading:ae,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),n.createElement(O.Z,{flex:10,style:{maxWidth:"280px"}},n.createElement("div",{className:_.homeworkType},"\u8865\u4EA4\u622A\u6B62"),n.createElement(y.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:A=>{Ce(G.filter(H=>H.name.indexOf(A.target.value)>-1))}}),n.createElement("div",{className:_.tableWrapper},n.createElement(w.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:_.antdTable,rowSelection:{type:"checkbox",onChange:A=>{Be(A)}},rowKey:"id",pagination:!1,loading:ae,dataSource:be,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var P=(0,g.connect)(({shixunHomeworks:L,classroomList:Z})=>({shixunHomeworks:L,classroomList:Z}))(F)},26084:function(St,We,s){"use strict";var n=s(59301),W=s(43418),B=s(8591),z=s(3113),h=s(86129),y=s.n(h),w=s(3294),o=s(955),O=s(99064),E=s(59301),c=Object.defineProperty,D=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,x=(I,$,j)=>$ in I?c(I,$,{enumerable:!0,configurable:!0,writable:!0,value:j}):I[$]=j,F=(I,$)=>{for(var j in $||($={}))b.call($,j)&&x(I,j,$[j]);if(_)for(var j of _($))l.call($,j)&&x(I,j,$[j]);return I},P=(I,$)=>D(I,g($)),L=(I,$,j)=>new Promise((V,i)=>{var Q=ae=>{try{T(j.next(ae))}catch(p){i(p)}},ne=ae=>{try{T(j.throw(ae))}catch(p){i(p)}},T=ae=>ae.done?V(ae.value):Promise.resolve(ae.value).then(Q,ne);T((j=j.apply(I,$)).next())});const Z=({files:I=[],name:$,buttonProps:j={},hide:V,onOk:i=()=>{}},Q)=>{const[ne,T]=(0,n.useState)(!1);let ae=(0,n.useRef)(new(y()));(0,n.useImperativeHandle)(Q,()=>({exportReport:p,exportAndCreateUserFolder:re}));const p=(f,r="\u9644\u4EF6")=>L(void 0,null,function*(){const m=f||I;T(!0);let M=0,U=0,G=0,ve=W.default.info({width:460,title:E.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",r,",",E.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:E.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",E.createElement("span",{className:"c-blue"},M+1),"/",m==null?void 0:m.length),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{}});function be(){return L(this,null,function*(){var Ce,xe;te({},`${w.Z.API_SERVER}/api/attachments/${(0,o.Jn)((Ce=m==null?void 0:m[M])==null?void 0:Ce.id)}?t=${(0,o.Jn)((xe=m==null?void 0:m[M])==null?void 0:xe.id,Date.now())}`,(Be,Te)=>L(this,null,function*(){var He,Re;if(((He=Be.target.response)==null?void 0:He.type)==="application/json"){let d=yield X(Be.target.response);if(d.message){B.ZP.warning((d==null?void 0:d.message)||"\u4E0B\u8F7D\u51FA\u9519, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),T(!1);return}}let a=new Blob([Be.target.response],{type:"application/vnd.ms-excel;charset=utf-8"});U=U+a.size;let J=(Re=m==null?void 0:m[M])==null?void 0:Re.filename;setTimeout(()=>L(this,null,function*(){ae.current.file(J,a),ve.update({content:E.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",E.createElement("span",{className:"c-blue"},M+1),"/",m==null?void 0:m.length,G>0?E.createElement("span",null,"(\u5DF2\u62C6\u5206",G,"\u4E2Azip\u5305)"):"")}),M===(m==null?void 0:m.length)-1?R(ve,G>0?G+1:0):U>900*1024*1024?(G++,U=0,le(G,()=>{M++,be()})):(M++,be())}),2600)}))})}be()}),re=(f,r="\u9644\u4EF6",m)=>L(void 0,null,function*(){T(!0);let M=0;const U=f.flat().length,G=W.default.info({width:460,title:E.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",r,",",E.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:E.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",E.createElement("span",{className:"c-blue"},M),"/",U),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function ve(xe,Be){return L(this,null,function*(){const Te=yield(0,O.ZP)(`${w.Z.API_SERVER}/api/attachments/${xe.id}`,{method:"get"});let He=new Blob([Te],{type:"application/vnd.ms-excel;charset=utf-8"}),Re=xe.filename;Be.file(Re,He),M+=1,G.update({content:E.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",E.createElement("span",{className:"c-blue"},M),"/",U)})})}for(const xe of f){const Be=`${xe[0].user_name}-${xe[0].student_id}`,Te=ae.current.folder(Be);for(const He of xe)yield ve(He,Te)}const be=yield ae.current.generateAsync({type:"blob"}),Ce=document.createElement("a");Ce.href=window.URL.createObjectURL(be),Ce.download=`${m||$}.zip`,document.body.appendChild(Ce),Ce.click(),document.body.removeChild(Ce),window.URL.revokeObjectURL(Ce.href),G.destroy(),T(!1),i(),ae.current=new(y())});function X(f){return new Promise(r=>{let m=new FileReader;m.readAsText(f,"utf-8"),m.addEventListener("loadend",()=>{const M=JSON.parse(m.result);r(M)})})}const te=(f,r,m,M)=>{const U=r,G=new window.XMLHttpRequest;return G.withCredentials=!0,G.addEventListener("load",function(ve){m(ve,G)},!1),G.addEventListener("error",function(ve){M&&M(ve)},!1),G.responseType="blob",G.open("GET",U),G.send(null),G},le=(f,r)=>{ae.current.generateAsync({type:"blob"}).then(function(m){const M=document.createElement("a");M.href=window.URL.createObjectURL(m),M.download=$+`-${f}.zip`,document.body.appendChild(M);const U=document.createEvent("MouseEvents");U.initEvent("click",!1,!1),M.dispatchEvent(U),document.body.removeChild(M),ae.current=new(y()),r()})},R=(f,r)=>{ae.current.generateAsync({type:"blob"}).then(function(m){const M=document.createElement("a");M.href=window.URL.createObjectURL(m),r>0?M.download=$+`-${r}.zip`:M.download=$+".zip",document.body.appendChild(M);const U=document.createEvent("MouseEvents");U.initEvent("click",!1,!1),M.dispatchEvent(U),document.body.removeChild(M),f.destroy(),T(!1),i(),ae.current=new(y())})};return V?E.createElement(E.Fragment,null):E.createElement(z.ZP,P(F({},j),{onClick:()=>p(),loading:ne}),"\u4E0B\u8F7D")};We.Z=(0,n.forwardRef)(Z)},23765:function(St,We,s){"use strict";s.d(We,{Z:function(){return b}});var n=s(59301),W={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},B=s(92310),z=s.n(B),h=s(23210),y=s(73524),w=s(955),o=s(3294),O=s(99064),E=s(24065),c=s(89070),D=s(8591),g=(l,x,F)=>new Promise((P,L)=>{var Z=j=>{try{$(F.next(j))}catch(V){L(V)}},I=j=>{try{$(F.throw(j))}catch(V){L(V)}},$=j=>j.done?P(j.value):Promise.resolve(j.value).then(Z,I);$((F=F.apply(l,x)).next())});const _=({className:l,style:x,dataSource:F=[],authority:P=!1,callback:L,showDimensions:Z=!0,classroomList:I})=>{var $;const[j,V]=(0,n.useState)({content:"",type:""}),[i,Q]=(0,n.useState)({}),[ne,T]=(0,n.useState)(!1),[ae,p]=(0,n.useState)({title:"",visible:!1,src:"",snapshotData:{}}),re=(0,n.useRef)(),X=f=>g(void 0,null,function*(){if(Q(f),f.file_type==="txt"){const r=yield(0,O.ZP)(f.url,{method:"get",headers:{"Content-Type":"application/xml"}});re.current=r}V({type:f.file_type,content:o.Z.API_SERVER+f.url})}),te=f=>{var r;p({visible:!0,src:o.Z.API_SERVER+f.url,id:f.id,title:f.title,snapshotData:(r=f==null?void 0:f.subitem)==null?void 0:r.settings})},le=f=>g(void 0,null,function*(){var r;V({type:f.file_type,content:o.Z.API_SERVER+((r=f==null?void 0:f.subitem)==null?void 0:r.url)})}),R=()=>{L(),p({visible:!1})};return F!=null&&F.length?n.createElement(n.Fragment,null,n.createElement("div",{className:z()(W.list,l),style:x},F.map((f,r)=>{var m,M,U;return n.createElement("div",{key:r,className:W.row},n.createElement("div",{className:W.title,onClick:()=>X(f)},n.createElement("i",{className:"iconfont icon-fujian1"}),n.createElement("span",{title:f.title},f.title)),n.createElement("div",{className:W.size},f.filesize),n.createElement("div",{className:W.download,onClick:()=>{var G,ve;if((0,E.Rm)()&&!((G=I.AssistantObject.normal)!=null&&G.can_download)){D.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,w.Nd)("",`${o.Z.API_SERVER}${(ve=f.url)==null?void 0:ve.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(f==null?void 0:f.file_type)&&n.createElement("div",{className:W.preview,onClick:()=>X(f)},n.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(f==null?void 0:f.file_type)&&Z&&(P?n.createElement("div",{className:W.annotation,onClick:()=>te(f)},n.createElement("i",{className:"iconfont icon-pizhu"}),(m=f.subitem)!=null&&m.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((M=f.subitem)==null?void 0:M.id)&&n.createElement("div",{className:W.annotation,onClick:()=>le(f)},n.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(f==null?void 0:f.file_type)&&((U=f.subitem)==null?void 0:U.id)&&n.createElement("div",{className:W.download,style:{marginLeft:20},onClick:()=>{var G,ve;(0,w.Nd)("",`${o.Z.API_SERVER}${(ve=(G=f==null?void 0:f.subitem)==null?void 0:G.url)==null?void 0:ve.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(f==null?void 0:f.file_type)&&(0,E.eB)()&&["xlsx","docx","pptx"].includes(f==null?void 0:f.file_sub)&&Z&&n.createElement("div",{className:W.annotation,onClick:()=>{T(!0),X(f)}},n.createElement("i",{className:"iconfont icon-pizhu"}),f.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),f.is_edit&&(0,E.dE)()&&Z&&n.createElement("div",{className:W.annotation,onClick:()=>{X(f)}},n.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),n.createElement(h.Z,{close:!0,data:j==null?void 0:j.content,type:j==null?void 0:j.type,hasMask:!0,disabledDownload:(0,E.Rm)()&&!(($=I.AssistantObject.normal)!=null&&$.can_download),editOffice:ne?"edit":"view",monacoEditor:{value:re.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:P&&Z&&j.type==="image"?()=>te(i):null,onClose:()=>{L(),T(!1),V({content:"",type:""})}}),n.createElement(y.Z,{onOk:R,onClose:()=>p({visible:!1}),data:ae,showFullTools:!0})):null};var b=(0,c.connect)(({classroomList:l})=>({classroomList:l}))(_)},91785:function(St,We,s){"use strict";s.d(We,{Z:function(){return y}});var n=s(43418),W={modal:"modal___VzyKs",content:"content___HhLQS",close:"close___zKaRB"},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABQVJREFUWEfNmXes32MUxj8PagS1QghJiU1pxExsFbUqitoSKzVilEjoHzVj/KEEDYnGbq3aexNiRRGjlMTee8+K432u87u+99ffvPdK7kl+f/3e8bznPec5z3m/oh8WEfMBGwPbAhsCawIrAIvncj8BnwFvAS8CjwMvSPq72+3UzYSIWBE4BjgQ+BZ4FHgOmAN8AhiYzUA9di1gM2A0sDQwHZgqyWM7so4ARsQywFnA3sDVwJWS3uhohxwUEesAhwIHAzcDkyV9026NtgAjYl/gwuKNGw1Skj3Xb4sIe3Jy8brXnSjpplaLNQU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WxVucr9ypPkpBafVdlsrWtAvDXeVpNkGMGtYnb/UgqT/k1sJsKlgrYA7DzgZ+NW6UNKTbZFVBmTcOiF3LULjh/JmM1aS6amPNRSsCbKh5M//JmWj42pjHei+oWtLTXmNZVoedLQkv+30WkPJnyBc+xo1Te5H7K1aE9+V6mngIcexnXGEf5Jcx3ssmybH67rzNE05wO8l9W3niEwMF38nyKBYRKxSzf62bWflFEO3cU8vmueG7tNHghy6j0eVqx66z291aT80HzDrQA7dJ+A6oEPzEb0J2dY+Q2yUnyGsrKufIT7PzxAWsv3+DPEPkKKBQOOiq+AAAAAASUVORK5CYII=",z=s(59301),y=({visible:w,setVisible:o,image:O,closeImageStyle:E,hiddenbutton:c})=>z.createElement(n.default,{centered:!0,destroyOnClose:!0,open:w,footer:null,wrapClassName:W.modal,onCancel:()=>o(!1)},z.createElement("div",{className:W.content},z.createElement("img",{src:O}),c,z.createElement("img",{onClick:()=>o(!1),className:W.close,src:B,style:E})))},57490:function(St,We,s){"use strict";s.d(We,{z:function(){return R},Z:function(){return f}});var n=s(59301),W=s(54580),B=s(8591),z=s(43418),h=s(3113),y=s(3294),w=s(23538),o=Object.defineProperty,O=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,D=(r,m,M)=>m in r?o(r,m,{enumerable:!0,configurable:!0,writable:!0,value:M}):r[m]=M,g=(r,m)=>{for(var M in m||(m={}))E.call(m,M)&&D(r,M,m[M]);if(O)for(var M of O(m))c.call(m,M)&&D(r,M,m[M]);return r},_=(r,m,M)=>new Promise((U,G)=>{var ve=xe=>{try{Ce(M.next(xe))}catch(Be){G(Be)}},be=xe=>{try{Ce(M.throw(xe))}catch(Be){G(Be)}},Ce=xe=>xe.done?U(xe.value):Promise.resolve(xe.value).then(ve,be);Ce((M=M.apply(r,m)).next())});const b="\u3000\u3000";function l(r){var m=["Bytes","KB","MB","GB","TB"];if(r==0)return"0 Byte";var M=parseInt(""+Math.floor(Math.log(r)/Math.log(1024)),10);return(r/Math.pow(1024,M)).toFixed(1)+" "+m[M]}var x=({value:r=[],action:m,onChange:M,className:U,maxSize:G=150,title:ve="\u6587\u4EF6\u4E0A\u4F20",accept:be=null})=>{const Ce={multiple:!1,fileList:r,accept:be,withCredentials:!0,beforeUpload:Be=>Be.size/1024/1024(d.name.indexOf(b)===-1&&(d.name=`${d.name}${b}${l(d.size)}`),g({},d))),Be.file.status==="done"&&((He=(Te=Be.file)==null?void 0:Te.response)==null?void 0:He.status)===-1){message.error((a=(Re=Be.file)==null?void 0:Re.response)==null?void 0:a.message),M([]);return}M(J)},onRemove:Be=>_(void 0,null,function*(){const Te=Be.size/1024/1024;return Be.status==="uploading"?!0:Te0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:r.length>0,ghost:!0},ve),React.createElement("span",{onClick:xe,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",G,"M)"," ")))},F=s(61481),P=s(89392),L=Object.defineProperty,Z=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,j=(r,m,M)=>m in r?L(r,m,{enumerable:!0,configurable:!0,writable:!0,value:M}):r[m]=M,V=(r,m)=>{for(var M in m||(m={}))I.call(m,M)&&j(r,M,m[M]);if(Z)for(var M of Z(m))$.call(m,M)&&j(r,M,m[M]);return r};const i=r=>React.createElement("svg",V({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},r),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Q="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",ne=Object.defineProperty,T=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,re=(r,m,M)=>m in r?ne(r,m,{enumerable:!0,configurable:!0,writable:!0,value:M}):r[m]=M,X=(r,m)=>{for(var M in m||(m={}))ae.call(m,M)&&re(r,M,m[M]);if(T)for(var M of T(m))p.call(m,M)&&re(r,M,m[M]);return r},te=(r,m,M)=>new Promise((U,G)=>{var ve=xe=>{try{Ce(M.next(xe))}catch(Be){G(Be)}},be=xe=>{try{Ce(M.throw(xe))}catch(Be){G(Be)}},Ce=xe=>xe.done?U(xe.value):Promise.resolve(xe.value).then(ve,be);Ce((M=M.apply(r,m)).next())});const{Dragger:le}=W.default;function R(r){let m=[];return r&&r.length>0&&(m=r.map(M=>({uid:M.id,id:M.id,name:M.title+b+M.filesize,url:M.url,filesize:M.filesize,status:"done",response:{id:M.id}}))),m}var f=({value:r,onChange:m,action:M,data:U,className:G,maxSize:ve=150,title:be="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Ce=!1,accept:xe="",additionalText:Be,isDragger:Te,number:He=1e3,aloneClear:Re=!1,realTimeRemove:a=!0,uploadText:J,setFileProgress:d,showFileProgress:t})=>{const[e,u]=(0,n.useState)(!1);let[A,H]=(0,n.useState)(r||[]),[k,ie]=(0,n.useState)(1);(0,n.useEffect)(()=>{r&&(k===1&&H([...r]),ie(2),He===(r==null?void 0:r.length)&&u(!0))},[r]);const ye=()=>{setTimeout(()=>{A.pop(),H([...A])},500)};t&&d(A.some(Me=>Me.status==="uploading"));const Fe={multiple:!0,disabled:e,accept:xe,withCredentials:!0,fileList:A,beforeUpload:(Me,Pe)=>{const ot=Me.size/1024/1024;return A.concat(Pe).length>He?(A.pop(),H([...A]),B.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${He}\u4E2A\u6587\u4EF6`),Re?Promise.reject():(ye(),!1)):ot=He?u(!0):u(!1),H([...A]),A=A.map(zt=>{var wt,Rt;return(wt=zt==null?void 0:zt.response)!=null&&wt.id&&(zt.url=(Rt=zt==null?void 0:zt.response)==null?void 0:Rt.url),zt.name.indexOf(b)===-1&&(zt.name=`${zt.name}${b}${l(zt.size)}`),X({},zt)}),console.log("info:",Me,A),m(A)},onRemove:Me=>te(void 0,null,function*(){if(!a)return!0;const Pe=()=>te(void 0,null,function*(){if(Me.response?Me.response.id:Me.id){let Tt=yield(0,w.JZ)(Me.response?Me.response.id:Me.uid);return Promise.resolve(Tt)}else return!0});return Ce?new Promise((ot,Tt)=>{z.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>te(void 0,null,function*(){const Jt=yield Pe();B.ZP.success("\u5220\u9664\u6210\u529F"),ot(!0)}),onCancel:()=>ot(!1)})}):yield Pe()})};function De(Me){Me.preventDefault(),Me.stopPropagation()}return n.createElement("div",{className:`multi-upload ${G||""}`},Te&&n.createElement(le,X({},Fe),n.createElement("p",{className:"ant-upload-drag-icon"},n.createElement(F.Z,null)),n.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",n.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",ve,"MB)"," "),Be),!Te&&n.createElement(W.default,X({},Fe),n.createElement(h.ZP,{disabled:e,className:"upload_button"},n.createElement("img",{className:"aBtn_img",src:Q}),be),n.createElement("span",{onClick:De,className:"upload_text"},J||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${ve}MB)`)))}},85057:function(St,We,s){"use strict";s.d(We,{jL:function(){return h},w9:function(){return ve},QD:function(){return Xt},cQ:function(){return r},op:function(){return Tt},O5:function(){return ou},_b:function(){return _n},t7:function(){return F},Gi:function(){return He},YG:function(){return Be},qp:function(){return c},vr:function(){return Pn},qE:function(){return wt},Je:function(){return Z},wb:function(){return X},cq:function(){return e},tp:function(){return _}});var n=s(59301),W={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZ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Bx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",h=({dataSource:et=[],img:qe,imgWidth:ut=346,title:st,sunTitle:Ht,bannerExtraContent:qt})=>n.createElement("div",{className:W.banner},n.createElement("div",{className:W.content},n.createElement("aside",null,n.createElement("p",null,n.createElement("b",null,st),n.createElement("span",null,Ht)),et.length>0&&n.createElement("div",{className:W.btns},et.map((ht,Ut)=>n.createElement("div",{key:Ut,onClick:ht.click},ht.name,ht.sign?n.createElement("img",{src:B,width:39}):null))),qt),qe&&n.createElement("img",{style:{marginTop:33,marginRight:38},src:qe,width:ut}))),y={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},w=s(92310),o=s.n(w),O=s(89392),c=({dataSource:et=[],value:qe,onChange:ut,onTitleChange:st,className:Ht,title:qt,titleWidth:ht=41,style:Ut={},fontColor:pt="#6A7283",showCount:$t})=>{const[Qt,Ct]=(0,n.useState)(0),[yn,hn]=(0,n.useState)(!1),en=(0,n.useRef)(null),vn=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var En;et.length!==0&&(((En=en==null?void 0:en.current)==null?void 0:En.clientHeight)>97?Ct(1):Ct(0)),et.length===0&&Ct(0),hn(!1)},[et]),n.createElement("div",{className:o()(y.row,Ht),style:Ut},n.createElement("div",{onClick:(0,O.throttle)(()=>st==null?void 0:st(),2e3),style:{width:ht,marginTop:yn?12:4},className:`${y.title} ${st?"current":""}`},qt),n.createElement("div",{className:yn?`${y.tagsWrap} ${y.tagsBorderWrap}`:y.tagsWrap},n.createElement("div",{className:y.bar,ref:vn,style:Qt>0?{height:Qt===1?97:"auto",overflow:Qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},n.createElement("div",{className:y.tag,ref:en},et==null?void 0:et.map(En=>n.createElement("span",{onClick:()=>ut(En.id),key:En.id,style:{color:pt},className:qe===En.id?y.active:""},n.createElement("span",{title:En.name,className:y.name},En.name),!!$t&&n.createElement("span",{className:y.num},En.count))))),!!Qt&&n.createElement(n.Fragment,null,Qt===1?n.createElement("div",{onClick:()=>{var En;Ct(2),((En=en==null?void 0:en.current)==null?void 0:En.clientHeight)>245?hn(!0):hn(!1)},className:y.action},"\u5C55\u5F00",n.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):n.createElement("div",{onClick:()=>{vn.current.scrollTop=0,Ct(1),hn(!1)},className:y.action},"\u6536\u8D77",n.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},D={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},_=({dataSource:et=[],value:qe,onChange:ut,className:st,style:Ht={}})=>n.createElement("div",{style:Ht,className:o()(D.tabs,st)},et.map(qt=>n.createElement("span",{onClick:()=>ut(qt.id),className:qe===qt.id?D.active:"",key:qt.id},qt.name))),b={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},l=s(92832),F=({dataSource:et=[],value:qe="",onChange:ut,onInputChange:st=()=>{},className:Ht,style:qt={},placeholder:ht,allowClear:Ut=!1})=>{var pt;const[$t,Qt]=(0,n.useState)(""),[Ct,yn]=(0,n.useState)("");(0,n.useEffect)(()=>{var vn;let En=qe;(vn=JSON.stringify(qe))!=null&&vn.includes("{")&&(Qt(qe.id),En=qe.value||"");try{yn(decodeURIComponent(En||""))}catch(nu){yn(decodeURIComponent(En||""))}},[qe]);const hn=()=>{ut(encodeURIComponent(Ct),$t||null)},en=vn=>{vn!==$t&&(Qt(vn),ut(encodeURIComponent(Ct),vn))};return n.createElement("div",{className:o()(b.input,Ht),style:qt},!!et.length&&n.createElement("div",{className:b.dropdown},n.createElement("div",{className:b.text},(pt=et.find(vn=>vn.id===$t))==null?void 0:pt.name,n.createElement("i",{className:"iconfont icon-zhankai4"}),n.createElement("b",{className:b.b1}),n.createElement("b",{className:b.b2})),n.createElement("div",{className:b.menu},et.map((vn,En)=>n.createElement("div",{key:En,onClick:()=>en(vn.id)},vn.name)))),n.createElement(l.default,{onPressEnter:hn,value:Ct,onChange:vn=>{yn(vn.target.value),st(encodeURIComponent(vn.target.value),$t||null)},bordered:!1,placeholder:ht}),n.createElement("i",{onClick:hn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},P={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Z=({value:et,onChange:qe,className:ut,total:st,pageSize:Ht,style:qt={}})=>{const ht=et<2,Ut=et>=Math.ceil(st/Ht);return st<=Ht?n.createElement(n.Fragment,null):n.createElement("div",{className:o()(P.quickPager,ut),style:qt},n.createElement("div",{onClick:()=>{ht||qe(et-1,"prev")},className:ht?P.disabled:""},"\u4E0A\u4E00\u9875"),n.createElement("div",{onClick:()=>{Ut||qe(et+1,"next")},className:Ut?P.disabled:""},"\u4E0B\u4E00\u9875"))},I={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},$=s(71418),j=s(6848),V=s(13570),i=s(3294),Q=s(955),ne=s(96908),T=s(57177),ae=s(81378),p=s(8797),X=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt})=>{const $t=Math.floor((ht-(ut-1)*st)/ut);return n.createElement($.Z,{spinning:pt},n.createElement("div",{className:o()(I.list,et)},!!qe.length&&qe.map((Qt,Ct)=>{const{name:yn,id:hn,identifier:en,power:vn,cover_image_id:En,pic:nu}=Qt;return n.createElement("div",{className:I.wrap,key:hn,style:{width:$t,marginRight:(1+Ct)%ut===0?0:st+qt,marginBottom:Ht}},n.createElement("a",{target:"_blank",href:`/shixuns/${en}/challenges`,className:I.li,onClick:yu=>{yu.preventDefault(),Ut&&(0,Q.L9)([Ut]),vn&&(0,Q.xg)(`/shixuns/${en}/challenges`)}},n.createElement("div",{className:I.img},n.createElement("img",{className:I.cover,src:`${nu}`}),Qt.is_jupyter&&n.createElement("img",{className:I.sign,src:ne}),Qt.is_jupyter_lab&&n.createElement("img",{className:I.sign,src:T}),Qt.is_unity_3d&&n.createElement("img",{className:I.sign,src:ae})),n.createElement("div",{className:I.name},n.createElement(j.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},n.createElement("span",{className:I.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),n.createElement("div",{className:I.tags},n.createElement(j.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),n.createElement("span",null,Qt.challenges_count))),!!Qt.myshixuns_count&&n.createElement(j.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),n.createElement("span",null,Qt.myshixuns_count))),n.createElement(j.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},n.createElement("span",null,n.createElement("span",null,Qt.level))),n.createElement("div",{className:I.rate},n.createElement(V.Z,{allowHalf:!0,disabled:!0,defaultValue:Qt.score_info}),n.createElement("span",null,"\xA0",Qt.score_info?`${Qt.score_info}\u5206`:"5\u5206")))),!vn&&n.createElement("div",{className:I.lockWrap},n.createElement("img",{src:`${i.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!qe.length&&n.createElement(p.Z,null)))},te={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},le=s(24065),R=s(59301),r=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt,onRemove:$t=()=>{},isCurrent:Qt=!0,showAlias:Ct=!1})=>{const yn=Math.floor((ht-(ut-1)*st)/ut),hn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return R.createElement($.Z,{spinning:pt},R.createElement("div",{className:o()(te.list,et)},!!(qe!=null&&qe.length)&&(qe==null?void 0:qe.map((en,vn)=>{var En;const{name:nu,id:yu,identifier:Qu,featured:Ea,school_name:Yu,image_url:aa,excellent:ga,is_plan:Gu}=en;return R.createElement("div",{key:yu,className:te.wrap,style:{width:yn,marginRight:(1+vn)%ut===0?0:st+qt,marginBottom:Ht}},R.createElement("a",{className:te.li,onClick:su=>{su.preventDefault(),su.stopPropagation(),Ut&&(0,Q.L9)([Ut]),(0,Q.xg)(`/paths/${Qu}`)}},R.createElement("div",{className:te.img},R.createElement("img",{className:te.cover,src:`${aa}`}),Qt&&(0,le.bg)()&&(en==null?void 0:en.studying)&&R.createElement("div",{className:`${te.movebq} user-path-items`,onClick:su=>{su.stopPropagation(),$t(en)}},R.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),R.createElement("span",{className:"c-red"},"\u79FB\u9664")),(En=en==null?void 0:en.subject_tags)==null?void 0:En.map((su,Ou)=>{var fu,Ft;if(Ou===0){const Su=(fu=hn.find(la=>la.name==su))==null?void 0:fu.swimg;return R.createElement("img",{className:te.sign,src:Su,style:{left:"-4px"}})}const ra=(Ft=hn.find(Su=>Su.name==su))==null?void 0:Ft.ptimg;return R.createElement("img",{className:te.sign,src:ra,style:{left:`${48+52*(Ou-1)+2*Ou}px`}})}),R.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(en==null?void 0:en.excellent)&&R.createElement("div",{className:te.bq},"\u5F00\u653E\u8BFE\u7A0B"))),R.createElement("div",{className:te.name},R.createElement(j.Z,{title:Ct&&(en!=null&&en.excellent_alias_name)?R.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${nu}`,R.createElement("br",null),R.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${en==null?void 0:en.excellent_alias_name}`)):nu},R.createElement("span",{className:te.e},Ct&&(en==null?void 0:en.excellent_alias_name)||nu))),R.createElement(j.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Yu}`},R.createElement("div",{className:te.unit},R.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Yu)),R.createElement("div",{className:te.tags},R.createElement("div",null,R.createElement(j.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},R.createElement("span",null,R.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),R.createElement("span",null,en.stages_count))),R.createElement(j.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},R.createElement("span",null,R.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),R.createElement("span",null,en.members_count)))))))})),!qe.length&&R.createElement(p.Z,null)))},m={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziU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9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",U=s(59301),ve=({className:et,dataSource:qe=[],col:ut=4,right:st,bottom:Ht=23,precision:qt=0,wrapWidth:ht=1200,trackEventItems:Ut,loading:pt,handleVery:$t=()=>{}})=>{const Qt=Math.floor((ht-(ut-1)*st)/ut);return U.createElement($.Z,{spinning:pt},U.createElement("div",{className:o()(m.list,et)},!!qe.length&&qe.map((Ct,yn)=>{const{subject_identifier:hn,id:en,identifier:vn,power:En}=Ct,nu=Ct.is_public!=0&&Ct.is_public;return U.createElement("div",{className:m.wrap,key:en,style:{width:Qt,marginRight:(1+yn)%ut===0?0:st+qt,marginBottom:Ht}},U.createElement("a",{className:m.li,onClick:yu=>{yu.preventDefault(),$t(Ct==null?void 0:Ct.first_category_url)}},U.createElement("div",{className:m.top},U.createElement(j.Z,{title:Ct.name},U.createElement("div",{className:m.name},Ct.name)),U.createElement("img",{className:m.img,src:i.Z.IMG_SERVER+"/images/"+Ct.avatar_url}),U.createElement("div",{className:m.text,title:Ct.creator},Ct.creator),hn&&U.createElement("div",{className:m.btns},U.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),U.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),nu&&U.createElement("div",{className:m.sign},"\u516C\u5F00")),U.createElement("div",{className:m.bottom},Ct.visits>0&&U.createElement(j.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-liulanyan"}),U.createElement("span",null,Ct.visits))),Ct.course_members_count>0&&U.createElement(j.Z,{title:"\u6210\u5458",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-chengyuan"}),Ct.course_members_count)),Ct.tasks_count>0&&U.createElement(j.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-zuoye"}),Ct.tasks_count)),Ct.is_end?U.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):U.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ct.is_accessible&&U.createElement("div",{className:m.lockWrap},U.createElement("img",{src:`${i.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),U.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!qe.length&&U.createElement(p.Z,null)))},be={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Ce=s(89070),Be=({dataSource:et=[],value:qe,onChange:ut,className:st,style:Ht={},tabBarExtraContent:qt})=>n.createElement("div",{className:o()(be.tabs,st),style:Ht},n.createElement("div",{className:be.tabsWrap},et.map((ht,Ut)=>!(ht!=null&&ht.hide)&&n.createElement("aside",{className:be.tab,onClick:()=>{ut(ht.id),ht.link&&Ce.history.push(ht.link)},key:Ut},n.createElement("div",{className:qe===ht.id?be.active:""},ht.name),(ht==null?void 0:ht.resetCount)==null&&(ht==null?void 0:ht.total)!==void 0&&n.createElement("span",null,"\uFF08",ht==null?void 0:ht.total,"\uFF09"),(ht==null?void 0:ht.resetCount)!==void 0&&(ht==null?void 0:ht.total)!==void 0&&n.createElement(j.Z,{title:(ht==null?void 0:ht.tip)!=null?ht==null?void 0:ht.tip:""},n.createElement("span",{style:{color:"#9096A3"}},"\uFF08",n.createElement("span",{style:{color:"#000"}},ht==null?void 0:ht.resetCount),"/",n.createElement("span",null,ht==null?void 0:ht.total),"\uFF09"))))),n.createElement("div",{className:be.tabBar},qt)),He=({className:et,style:qe={},children:ut})=>n.createElement("div",{className:o()(et),style:qe},ut),Re={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},a=s(38854),J=s(20834);const d=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var e=({sortValue:et,dropValue:qe,className:ut,onSort:st,onDrop:Ht,dataSource:qt=d})=>{var ht;return n.createElement("div",{className:o()(Re.orderWrap,ut)},n.createElement(a.Z,{dropdownRender:()=>n.createElement(J.default,null,qt.map((Ut,pt)=>n.createElement(J.default.Item,{key:pt,onClick:()=>Ht(Ut.id)},Ut.name)))},n.createElement("span",{className:Re.orderTextWrap},(ht=qt.find(Ut=>qe===Ut.id))==null?void 0:ht.name)),n.createElement("span",{className:Re.orderIconWrap},n.createElement("span",{className:Re.orderAsc},n.createElement("i",{className:et==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer}`,onClick:()=>st(et==="asc"?"desc":"asc")})),n.createElement("span",{className:Re.orderDesc},n.createElement("i",{className:et==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer}`,onClick:()=>st(et==="asc"?"desc":"asc")}))))},u={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},A=s(3113),H=Object.defineProperty,k=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Fe=(et,qe,ut)=>qe in et?H(et,qe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):et[qe]=ut,De=(et,qe)=>{for(var ut in qe||(qe={}))ie.call(qe,ut)&&Fe(et,ut,qe[ut]);if(k)for(var ut of k(qe))ye.call(qe,ut)&&Fe(et,ut,qe[ut]);return et},Me=(et,qe)=>{var ut={};for(var st in et)ie.call(et,st)&&qe.indexOf(st)<0&&(ut[st]=et[st]);if(et!=null&&k)for(var st of k(et))qe.indexOf(st)<0&&ye.call(et,st)&&(ut[st]=et[st]);return ut},Pe=(et,qe,ut)=>new Promise((st,Ht)=>{var qt=pt=>{try{Ut(ut.next(pt))}catch($t){Ht($t)}},ht=pt=>{try{Ut(ut.throw(pt))}catch($t){Ht($t)}},Ut=pt=>pt.done?st(pt.value):Promise.resolve(pt.value).then(qt,ht);Ut((ut=ut.apply(et,qe)).next())}),Tt=et=>{var qe=et,{className:ut,style:st,children:Ht,loading:qt=!1,openLoading:ht,onClick:Ut=()=>{},size:pt="middle",shape:$t="round"}=qe,Qt=Me(qe,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ct,yn]=(0,n.useState)(!1);return n.createElement(A.ZP,De({onClick:(0,O.throttle)(hn=>Pe(void 0,null,function*(){ht&&yn(!0);try{yield Ut(hn)}catch(en){console.log("error",en)}ht&&yn(!1)}),2e3,{leading:!0,trailing:!1}),className:o()(u.btn,u[`${pt}-${$t}`],ut),style:st,size:pt,shape:$t,loading:Ct||qt},Qt),Ht)},Jt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},wt=({className:et,style:qe,children:ut=null,onClick:st,title:Ht})=>n.createElement("div",{className:o()(Jt.head,et),style:qe},n.createElement("span",{className:"primary-hover",onClick:st},n.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),n.createElement("b",{title:Ht},Ht),n.createElement("div",{className:Jt.node},ut)),Rt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Xt=({confirmShow:et=!0,confirmTitle:qe,confirmClick:ut,cancelShow:st=!0,cancelTitle:Ht,cancelClick:qt,className:ht,style:Ut,confirmLoading:pt=!1})=>n.createElement("div",{className:o()(Rt.btns,ht),style:Ut},et&&n.createElement(A.ZP,{loading:pt,onClick:ut,type:"primary",className:Rt.confirm},qe),st&&n.createElement(A.ZP,{onClick:qt,className:Rt.cancel},Ht)),sn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Pn=({className:et,style:qe={},LeftContent:ut,children:st,RightContent:Ht})=>n.createElement("div",{className:o()(sn.fixedBottom,et),style:qe},n.createElement("div",{className:sn.wrap},n.createElement("div",{className:sn.left},ut),n.createElement("div",{className:sn.center},st),n.createElement("div",{className:sn.right},Ht))),bn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},_n=({className:et,style:qe={},dataSource:ut=[]})=>n.createElement("div",{className:o()(bn.crumbs,et),style:qe},ut.map((st,Ht)=>HtCe.history.push(st.path)},st.name):n.createElement("span",null,st.name),n.createElement("span",null,"\xA0",">","\xA0")):n.createElement("span",{key:Ht,style:{color:"#5F6368"}},st.name))),mn=s(31797),Ye=Object.defineProperty,pn=Object.defineProperties,xn=Object.getOwnPropertyDescriptors,Sn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,tu=(et,qe,ut)=>qe in et?Ye(et,qe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):et[qe]=ut,lu=(et,qe)=>{for(var ut in qe||(qe={}))Mn.call(qe,ut)&&tu(et,ut,qe[ut]);if(Sn)for(var ut of Sn(qe))Vn.call(qe,ut)&&tu(et,ut,qe[ut]);return et},Nn=(et,qe)=>pn(et,xn(qe)),Fu=(et,qe)=>{var ut={};for(var st in et)Mn.call(et,st)&&qe.indexOf(st)<0&&(ut[st]=et[st]);if(et!=null&&Sn)for(var st of Sn(et))qe.indexOf(st)<0&&Vn.call(et,st)&&(ut[st]=et[st]);return ut};const{Countdown:_u}=mn.default;var ou=et=>{var qe=et,{onChange:ut}=qe,st=Fu(qe,["onChange"]);const[Ht,qt]=(0,n.useState)(null);(0,n.useEffect)(()=>{typeof Ht=="number"&&Ht>=0&&ut(Ht)},[Ht]);const ht=Ut=>{const pt=Math.floor(Ut/1e3);qt(pt)};return n.createElement(_u,Nn(lu({},st),{onChange:ht}))}},58010:function(St,We,s){"use strict";var n=s(59301),W=s(78241),B=s(95237),z=s(43604),h=s(57809),y=s(5871),w=s(6848),o=s(5083),O=s(92832),E=s(89070),c=s(79834),D=s(89529),g=s(59301),_=Object.defineProperty,b=Object.defineProperties,l=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,L=(V,i,Q)=>i in V?_(V,i,{enumerable:!0,configurable:!0,writable:!0,value:Q}):V[i]=Q,Z=(V,i)=>{for(var Q in i||(i={}))F.call(i,Q)&&L(V,Q,i[Q]);if(x)for(var Q of x(i))P.call(i,Q)&&L(V,Q,i[Q]);return V},I=(V,i)=>b(V,l(i)),$=(V,i)=>{var Q={};for(var ne in V)F.call(V,ne)&&i.indexOf(ne)<0&&(Q[ne]=V[ne]);if(V!=null&&x)for(var ne of x(V))i.indexOf(ne)<0&&P.call(V,ne)&&(Q[ne]=V[ne]);return Q};const j=({disabled:V,shixunHomeworks:i,selectOptions:Q,form:ne})=>{const{workSetting:T}=i,[ae,p]=(0,n.useState)([]),re=(0,n.useMemo)(()=>Q==null?void 0:Q.filter(X=>!ae.includes(X.value)),[ae,Q]);return(0,n.useEffect)(()=>{var X;const te=((X=T==null?void 0:T.anonymous_appeal_settings)==null?void 0:X.filter(le=>le.appeal_time))||[];p(te.map(le=>le.group_name))},[T]),g.createElement(W.default.List,{name:"anonymous_appeal_settings"},(X,{add:te,remove:le})=>g.createElement(g.Fragment,null,X.map(R=>{var f;const r=R,{key:m,name:M}=r,U=$(r,["key","name"]),ve=ne.getFieldValue(["anonymous_appeal_settings",M]).deleteflag;return g.createElement("div",{key:m},g.createElement(B.Z,{align:"middle",style:{background:"#F6F7F9",padding:"5px 30px"}},g.createElement(z.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left",marginLeft:"54px",color:"#666"}},"\u7533\u8BC9\u89C4\u5219",m+1),g.createElement(z.Z,null,g.createElement(W.default.Item,I(Z({},U),{name:[R.name,"group_name"]}),g.createElement(h.default,{mode:"multiple",disabled:V||!ve,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:"245px"},className:D.Z.multiple_select,options:re||[],onSelect:be=>{p(Ce=>[...Ce,be])},onDeselect:be=>{p(Ce=>Ce.filter(xe=>xe!==be))}}))),g.createElement(z.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),g.createElement(z.Z,null,g.createElement(W.default.Item,I(Z({},U),{label:"",name:[R.name,"appeal_penalty"]}),g.createElement(y.Z,{min:0,disabled:V,size:"large",addonAfter:"\u5206",style:{width:"120px"}}))),g.createElement(w.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},g.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${D.Z.title_icon}`})),g.createElement(z.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),g.createElement(z.Z,null,g.createElement(W.default.Item,I(Z({},U),{label:"",name:[R.name,"appeal_time"]}),g.createElement(o.default,{allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",disabled:V,size:"large",disabledDate:be=>(0,c.Q8)(be,T==null?void 0:T.course_end_date),disabledTime:be=>(0,c.d0)(be),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"}))),g.createElement(W.default.Item,I(Z({},U),{name:[M,"deleteflag"]}),g.createElement(O.default,{type:"hidden"})),!V&&X.length<((f=T==null?void 0:T.anonymous_appeal_settings)==null?void 0:f.length)&&g.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{te({deleteflag:!0})}}),m!==0&&!V&&ve&&g.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const be=ne.getFieldValue(["anonymous_appeal_settings",M,"group_name"])||[];p(Ce=>Ce.filter(xe=>!be.includes(xe))),le(M)}})))})))};We.Z=(0,E.connect)(({shixunHomeworks:V})=>({shixunHomeworks:V}))(j)},33469:function(St,We,s){"use strict";var n=s(59301),W=s(5083),B=s(78241),z=s(95237),h=s(43604),y=s(57809),w=s(8591),o=s(92832),O=s(5871),E=s(6848),c=s(24905),D=s(61186),g=s.n(D),_=s(89070),b=s(79834),l=s(24065),x=s(89529),F=s(59301),P=Object.defineProperty,L=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,V=(p,re,X)=>re in p?P(p,re,{enumerable:!0,configurable:!0,writable:!0,value:X}):p[re]=X,i=(p,re)=>{for(var X in re||(re={}))$.call(re,X)&&V(p,X,re[X]);if(I)for(var X of I(re))j.call(re,X)&&V(p,X,re[X]);return p},Q=(p,re)=>L(p,Z(re)),ne=(p,re)=>{var X={};for(var te in p)$.call(p,te)&&re.indexOf(te)<0&&(X[te]=p[te]);if(p!=null&&I)for(var te of I(p))re.indexOf(te)<0&&j.call(p,te)&&(X[te]=p[te]);return X};const{RangePicker:T}=W.default,ae=({disabled:p,shixunHomeworks:re,selectOptions:X,form:te,data:le,classroomList:R})=>{const{workSetting:f}=re,[r,m]=(0,n.useState)([]),M=(0,n.useMemo)(()=>X==null?void 0:X.filter(G=>!r.includes(G.value)),[r,X]);(0,n.useEffect)(()=>{var G;const ve=((G=f==null?void 0:f.anonymous_comment_settings)==null?void 0:G.filter(be=>be.evaluation_end))||[];m(ve.map(be=>be.group_name))},[f]);const U=G=>{var ve;const be=(ve=f==null?void 0:f.anonymous_appeal_settings)==null?void 0:ve.find(Ce=>Ce.group_id===G);return le.anonymous_appeal&&be&&(be==null?void 0:be.appeal_time)!==null};return F.createElement(B.default.List,{name:"anonymous_comment_settings"},(G,{add:ve,remove:be})=>F.createElement(F.Fragment,null,G.map(Ce=>{var xe,Be;const Te=Ce,{key:He,name:Re}=Te,a=ne(Te,["key","name"]),J=te.getFieldValue(["anonymous_comment_settings",Re]),d=J.deleteflag,t=g()((xe=J.evaluation_start)==null?void 0:xe[0])<=g()(),e=!d&&t?[!0,U(J==null?void 0:J.group_id)]:[!1,!1];return F.createElement("div",{key:He,style:{background:"#F6F7F9",padding:"5px 30px"}},F.createElement(z.Z,{align:"top",style:{marginLeft:"53px"}},F.createElement(h.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left"}},"\u533F\u8BC4\u89C4\u5219",He+1),F.createElement(h.Z,{flex:1},F.createElement(z.Z,{align:"middle",style:{marginBottom:10}},F.createElement(h.Z,{span:8},F.createElement(B.default.Item,Q(i({},a),{name:[Re,"group_name"]}),F.createElement(y.default,{mode:"multiple",disabled:p||!d,className:x.Z.multiple_select,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",options:M||[],onSelect:u=>{m(A=>[...A,u])},onDeselect:u=>{m(A=>A.filter(H=>H!==u))}}))),F.createElement(h.Z,{className:"ml20"},F.createElement(B.default.Item,Q(i({},a),{name:[Re,"evaluation_start"]}),F.createElement(T,{ranges:{\u6B64\u523B:()=>{var u;const A=(u=J==null?void 0:J.evaluation_start)==null?void 0:u[0];return[A?g()(A):g()(),g()()]}},size:"large",style:{width:"500px"},disabled:p||e,allowClear:!1,disabledDate:u=>(0,b.Q8)(u,f==null?void 0:f.course_end_date),disabledTime:u=>(0,b.d0)(u),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",onChange:()=>{var u;if((0,l.Rm)()&&!((u=R.AssistantObject.group)!=null&&u.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(B.default.Item,Q(i({},a),{name:[Re,"deleteflag"]}),F.createElement(o.default,{type:"hidden"})),!p&&G.length<((Be=f==null?void 0:f.anonymous_comment_settings)==null?void 0:Be.length)&&F.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{ve({deleteflag:!0})}}),He!==0&&!p&&d&&F.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const u=te.getFieldValue(["anonymous_comment_settings",Re,"group_name"])||[];m(A=>A.filter(H=>!u.includes(H))),be(Re)}})))),F.createElement(z.Z,{align:"middle",style:{marginLeft:"53px"}},F.createElement(h.Z,{style:{width:"75px"}},"\u533F\u8BC4\u6570\u91CF"),F.createElement(h.Z,null,F.createElement(B.default.Item,Q(i({},a),{label:"",colon:!1,name:[Re,"evaluation_num"]}),F.createElement(O.Z,{min:0,size:"large",style:{marginLeft:"5px"},disabled:p||!d&&t}))),F.createElement(E.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},F.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${x.Z.title_icon}`})),F.createElement(h.Z,{style:{width:"75px",marginLeft:"40px"}},"\u7F3A\u8BC4\u6263\u5206"),F.createElement(h.Z,null,F.createElement(B.default.Item,Q(i({},a),{label:"",colon:!1,name:[Re,"absence_penalty"]}),F.createElement(O.Z,{min:0,size:"large",addonAfter:"\u5206",style:{width:"120px"},disabled:p,onChange:u=>{var A;if((0,l.Rm)()&&!((A=R.AssistantObject.group)!=null&&A.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(h.Z,{style:{marginLeft:"40px"}},F.createElement(B.default.Item,Q(i({},a),{name:[Re,"student_comment"],valuePropName:"checked"}),F.createElement(c.default,{disabled:p,onChange:()=>{var u;if((0,l.Rm)()&&!((u=R.AssistantObject.group)!=null&&u.can_anonymous_comment)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),F.createElement(h.Z,{className:"ml10"},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605")))})))};We.Z=(0,_.connect)(({shixunHomeworks:p,classroomList:re})=>({shixunHomeworks:p,classroomList:re}))(ae)},65629:function(St,We,s){"use strict";var n=s(89070),W=s(95237),B=s(43604),z=s(5083),h=s(5871),y=s(6848),w=s(61186),o=s.n(w),O=s(79834),E=s(89529),c=s(59301);const D=({data:g,disabled:_,setData:b,shixunHomeworks:l})=>{const{workSetting:x,workList:F}=l;return c.createElement("div",null,c.createElement(W.Z,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},c.createElement(B.Z,{style:{marginLeft:"54px",marginRight:"20px",color:"#666666"}},"\u7ED3\u675F\u65F6\u95F4"),c.createElement(B.Z,null,c.createElement(z.default,{allowClear:!1,style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},size:"large",format:"YYYY-MM-DD HH:mm",disabled:_,disabledDate:P=>(0,O.Q8)(P,x==null?void 0:x.course_end_date),disabledTime:P=>(0,O.d0)(P),value:g.appeal_time?o()(g.appeal_time):"",onChange:(P,L)=>{g.appeal_time=L,b(Object.assign({},g))}})),c.createElement(B.Z,{style:{margin:"0 20px 0 60px",color:"#666666"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),c.createElement(B.Z,null,c.createElement(h.Z,{size:"large",disabled:_,value:g.appeal_penalty,min:0,addonAfter:"\u5206",style:{width:"120px"},onChange:P=>{g.appeal_penalty=P,b(Object.assign({},g))}})),c.createElement(y.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},c.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${E.Z.title_icon}`}))))};We.Z=(0,n.connect)(({shixunHomeworks:g})=>({shixunHomeworks:g}))(D)},47599:function(St,We,s){"use strict";var n=s(5083),W=s(5871),B=s(6848),z=s(24905),h=s(61186),y=s.n(h),w=s(89070),o=s(79834),O=s(89529),E=s(59301);const c=({data:D,setData:g,disabled:_,shixunHomeworks:b})=>{const{workSetting:l}=b,x=y()(l==null?void 0:l.evaluation_start)<=y()(),F=D.anonymous_appeal;return E.createElement("div",null,E.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},E.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u5F00\u59CB\u65F6\u95F4"),E.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:P=>(0,o.Q8)(P,l==null?void 0:l.course_end_date),disabledTime:P=>(0,o.d0)(P),disabled:_||x||F,value:D.evaluation_start?y()(D.evaluation_start):"",onChange:(P,L)=>{D.evaluation_start=L,g(Object.assign({},D))}}),E.createElement("div",{style:{color:"#666666",marginLeft:"60px",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),E.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:P=>(0,o.Q8)(P,l==null?void 0:l.course_end_date,D.evaluation_start),disabledTime:P=>(0,o.d0)(P,y()(D.evaluation_start)),disabled:_||F,value:D.evaluation_end?y()(D.evaluation_end):"",onChange:(P,L)=>{D.evaluation_end=L,g(Object.assign({},D))}})),E.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},E.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u6570\u91CF"),E.createElement(W.Z,{disabled:_||x||F,value:D.evaluation_num,min:0,style:{width:"150px"},size:"large",onChange:P=>{D.evaluation_num=P,g(Object.assign({},D))}}),E.createElement(B.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},E.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${O.Z.title_icon}`})),E.createElement("div",{style:{color:"#666666",marginLeft:"84px",marginRight:"20px"}},"\u7F3A\u8BC4\u6263\u5206"),E.createElement(W.Z,{min:0,disabled:_,style:{width:"150px"},size:"large",addonAfter:"\u5206",value:D.absence_penalty,onChange:P=>{D.absence_penalty=P,g(Object.assign({},D))}})),D.anonymous_comment&&E.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 83px",display:"flex",alignItems:"center"}},E.createElement(z.default,{checked:D.student_comment,disabled:_,onChange:()=>{D.student_comment=!D.student_comment,g(Object.assign({},D))}},E.createElement("span",{style:{fontSize:"14px",color:"#000"}},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))};We.Z=(0,w.connect)(({shixunHomeworks:D})=>({shixunHomeworks:D}))(c)},24571:function(St,We,s){"use strict";s.d(We,{Z:function(){return I}});var n=s(59301),W=s(43418),B=s(8591),z=s(95237),h=s(43604),y=s(3113),w=s(54580),o=s(1710),O={achieveSty:"achieveSty___Joqdh",tip:"tip___qAo3r",labolIcon:"labolIcon___QZ4oX"},E=s(85057),c=s(3294),D=s(99064),g=s(955),_=Object.defineProperty,b=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=($,j,V)=>j in $?_($,j,{enumerable:!0,configurable:!0,writable:!0,value:V}):$[j]=V,P=($,j)=>{for(var V in j||(j={}))l.call(j,V)&&F($,V,j[V]);if(b)for(var V of b(j))x.call(j,V)&&F($,V,j[V]);return $},L=($,j,V)=>new Promise((i,Q)=>{var ne=p=>{try{ae(V.next(p))}catch(re){Q(re)}},T=p=>{try{ae(V.throw(p))}catch(re){Q(re)}},ae=p=>p.done?i(p.value):Promise.resolve(p.value).then(ne,T);ae((V=V.apply($,j)).next())}),I=({visible:$,categoryId:j,getData:V,onCancle:i})=>{var Q,ne;const[T,ae]=(0,n.useState)([]),[p,re]=(0,n.useState)(!1),[X,te]=(0,n.useState)(!1),[le,R]=(0,n.useState)({success_size:0,error_list:[]}),f={withCredentials:!0,maxCount:1,multiple:!1,onRemove:()=>{ae([])},beforeUpload:r=>L(void 0,null,function*(){return ae([r]),!1}),fileList:T,accept:".xlsx"};return n.createElement(n.Fragment,null,n.createElement(W.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",width:690,open:$,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:X,onOk:()=>L(void 0,null,function*(){if(T.length===0){B.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}te(!0);const r=new FormData;r.append("file",T[0]);const m=yield(0,D.ZP)(`/api/homework_commons/${j}/import_external_score.json`,{method:"post",body:r},!0);(m==null?void 0:m.status)===0&&(R(m),i(),V(),re(!0),ae([])),te(!1)}),onCancel:()=>{ae([]),i()}},n.createElement("div",{className:O.achieveSty},n.createElement("div",{className:O.tip},n.createElement("div",null,"1.\u4E0D\u5728\u5B66\u751F\u5217\u8868\u5185\u7684\u5B66\u751F\u4E0D\u652F\u6301\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\uFF1B"),n.createElement("div",null,"2.\u672A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4E4B\u540E\u5C06\u89C6\u4E3A\u5DF2\u5728\u7EBF\u4E0B\u63D0\u4EA4\u4F5C\u4E1A\uFF1B"),n.createElement("div",null,"3.\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4F1A\u5C06\u5DF2\u8BC4\u9605\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u8FDB\u884C\u66F4\u65B0\u3002")),n.createElement(z.Z,{align:"middle",className:"mt20"},n.createElement(h.Z,{className:"mr10"},n.createElement("span",{className:O.labolIcon},"*"),n.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),n.createElement(h.Z,null,n.createElement(y.ZP,{shape:"default",style:{backgroundColor:"#3061D0",color:"#fff"}},n.createElement("a",{className:O.downloadbutton,onClick:r=>{r.stopPropagation(),r.preventDefault(),(0,g.FH)("",c.Z.API_SERVER+`/api/homework_commons/${j}/get_example_excel.json`)}},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C")),n.createElement("span",{className:"ml10",style:{color:"#9096A3"}},"\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9"))),n.createElement("div",{className:"mt10",style:{marginLeft:"74px",height:"120px"}},n.createElement(w.default.Dragger,P({style:{border:"1px dashed rgba(48,97,208,0.3)",backgroundColor:"rgba(48,97,208,0.06)"}},f),n.createElement("div",null,n.createElement(E.op,{shape:"default"},"\u9009\u62E9\u6587\u4EF6")),n.createElement("div",{className:"font12 mt10",style:{color:"#9096A3"}},"\u4E0B\u8F7D\u6A21\u7248\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xlsx"))))),n.createElement(W.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u7ED3\u679C",width:508,open:p,onCancel:()=>{re(!1)},footer:null},n.createElement("div",null,n.createElement("div",{style:{marginTop:"5px",marginBottom:"15px"}},n.createElement("span",null,"\u5BFC\u5165\u6210\u529F",n.createElement("span",{style:{color:"#19CB70"}}," ",le==null?void 0:le.success_size," "),"\u4E2A\u5B66\u751F"),n.createElement("span",{style:{marginLeft:"30px"}},"\u5BFC\u5165\u5931\u8D25",n.createElement("span",{style:{color:"#E30000"}}," ",(Q=le==null?void 0:le.error_list)==null?void 0:Q.length," "),"\u4E2A\u5B66\u751F")),!!((ne=le==null?void 0:le.error_list)!=null&&ne.length)&&n.createElement("div",{className:"mb20"},n.createElement(o.default,{columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name",ellipsis:!0,width:120,render:r=>n.createElement("span",{style:{color:"#000"}},r)},{title:"\u5B66\u53F7/\u5DE5\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,width:120,render:r=>n.createElement("span",{style:{color:"#666"}},r)},{title:"\u5931\u8D25\u539F\u56E0",dataIndex:"info",key:"info",ellipsis:!0,align:"end",render:r=>n.createElement("span",{style:{color:"#000"}},r)}],dataSource:le==null?void 0:le.error_list,pagination:!1,scroll:{y:47*8}})))))}},45633:function(St,We,s){"use strict";var n=s(43418),W=s(8591),B=s(99064),z=s(89070),h=s(24065),y=s(59301),w=(O,E,c)=>new Promise((D,g)=>{var _=x=>{try{l(c.next(x))}catch(F){g(F)}},b=x=>{try{l(c.throw(x))}catch(F){g(F)}},l=x=>x.done?D(x.value):Promise.resolve(x.value).then(_,b);l((c=c.apply(O,E)).next())});const o=({shixunHomeworks:O,dispatch:E,classroomList:c,getData:D})=>y.createElement(n.default,{centered:!0,title:"\u63D0\u793A",open:O.actionTabs.key==="redoShixunModal",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>w(void 0,null,function*(){var g;if((0,h.Rm)()&&!((g=c.AssistantObject.normal)!=null&&g.can_redo)){W.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,B.ZP)(`/api/homework_commons/${O.actionTabs.homework_common_id}/batch_redo_modal.json`,{method:"post",body:{student_work_id:O.actionTabs.student_work_id}})).status===0&&(W.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),D())}),onCancel:()=>{E({type:"shixunHomeworks/setActionTabs",payload:{}})}},y.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C",O.actionTabs.isshixun?"\u5B66\u751F\u5B9E\u8BAD":"\u5B66\u751F\u4F5C\u54C1\u63D0\u4EA4","\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),y.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"));We.Z=(0,z.connect)(({shixunHomeworks:O,classroomList:E})=>({shixunHomeworks:O,classroomList:E}))(o)},93982:function(St,We,s){"use strict";s.r(We),s.d(We,{default:function(){return _o}});var n=s(59301),W=s(89070),B=s(49127),z=s(3113),h=s(8591),y=s(43418),w=s(66104),o=s(99313),O=s(27812),E=s(955),c=s(78241),D=s(6848),g=s(95237),_=s(20834),b=s(24905),l=s(43604),x=s(1710),F=s(92832),P=s(38854),L=s(58421),Z=s(5112),I=s(5871),$=s(57809),j=s(71418),V=s(61186),i=s.n(V),Q=s(8797),ne=s(99064),T=Object.defineProperty,ae=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,X=(S,C,v)=>C in S?T(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,te=(S,C)=>{for(var v in C||(C={}))p.call(C,v)&&X(S,v,C[v]);if(ae)for(var v of ae(C))re.call(C,v)&&X(S,v,C[v]);return S},le=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const R=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)();return n.createElement(y.default,{centered:!0,title:"\u63D0\u793A",open:S.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>le(void 0,null,function*(){(yield(0,ne.ZP)(`/api/myshixuns/${S.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:v.coursesId}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getWorkList",payload:te({},S.actionTabs.params)}))}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),n.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var f=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(R),r=s(24065),m=s(59301),M=Object.defineProperty,U=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,be=(S,C,v)=>C in S?M(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Ce=(S,C)=>{for(var v in C||(C={}))G.call(C,v)&&be(S,v,C[v]);if(U)for(var v of U(C))ve.call(C,v)&&be(S,v,C[v]);return S},xe=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Be=({shixunHomeworks:S,classroomList:C,dispatch:v})=>{const me=(0,W.useParams)(),[pe,he]=(0,n.useState)(!0),[_e,Ae]=(0,n.useState)(!1),[ue]=c.default.useForm();return m.createElement(m.Fragment,null,m.createElement(y.default,{centered:!0,title:"\u8C03\u5206",open:S.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:_e,onOk:()=>xe(void 0,null,function*(){var Ie;if((0,r.Rm)()&&!((Ie=C.AssistantObject.normal)!=null&&Ie.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield ue.validateFields();const ge=ue.getFieldsValue();Ae(!0),(yield(0,ne.ZP)(`/api/student_works/${S.actionTabs.id}/adjust_score.json`,{method:"post",body:Ce({},ge)})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),ue.resetFields(),v({type:"shixunHomeworks/setActionTabs",payload:{}}),v({type:"shixunHomeworks/getWorkList",payload:Ce({},S.actionTabs.params)})),Ae(!1)}),onCancel:()=>{v({type:"shixunHomeworks/setActionTabs",payload:{}})}},m.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),m.createElement(c.default,{form:ue,layout:"horizontal"},m.createElement("div",{style:{display:"flex",alignItems:"baseline"}},m.createElement(c.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},m.createElement(I.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),m.createElement("span",{className:"ml10"},"\u5206")),m.createElement("div",null,m.createElement(c.default.Item,{name:"comment"},m.createElement(F.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var Te=(0,W.connect)(({shixunHomeworks:S,classroomList:C})=>({shixunHomeworks:S,classroomList:C}))(Be),He=s(45633),Re=s(46474),a=s(89392),J=s(37906),d=s(85057),t=s(83312),e=s(36708),u=s(59301),A=Object.defineProperty,H=Object.defineProperties,k=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,De=(S,C,v)=>C in S?A(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Me=(S,C)=>{for(var v in C||(C={}))ye.call(C,v)&&De(S,v,C[v]);if(ie)for(var v of ie(C))Fe.call(C,v)&&De(S,v,C[v]);return S},Pe=(S,C)=>H(S,k(C)),ot=(S,C)=>{var v={};for(var me in S)ye.call(S,me)&&C.indexOf(me)<0&&(v[me]=S[me]);if(S!=null&&ie)for(var me of ie(S))C.indexOf(me)<0&&Fe.call(S,me)&&(v[me]=S[me]);return v},Tt=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Jt=S=>Tt(void 0,null,function*(){return yield(0,ne.ZP)(`/api/student_works/${S.userId}/deal_appeal_score.json`,{method:"post",body:S})});var wt=S=>{var C=S,{task_status:v,new_work_status:me,shixunHomeworks:pe,course_group:he}=C,_e=ot(C,["task_status","new_work_status","shixunHomeworks","course_group"]),Ae;const ue=(0,W.useParams)(),[Ie]=c.default.useForm(),{workList:ge,workSetting:oe}=pe,[$e,ft]=(0,n.useState)(!1),[ee,je]=(0,n.useState)(null),[nt,it]=(0,n.useState)({search:"",page:1,limit:10,work_status:v!=null?v==0?[0,-1]:[v]:null,new_work_status:me,status:me||"",course_group:he}),[,Ee,Je,q]=(0,t.U)(e.h$,Me({},ue)),[,_t,Ve,tt]=(0,t.U)(e.cN,{homeworkId:ue==null?void 0:ue.categoryId}),[,,N,It]=(0,t.U)(Jt,{}),[Ge,mt]=(0,n.useState)([]),Vt=()=>{var fe,ze,se;if(v==0)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u672A\u63D0\u4EA4\u4F5C\u54C1");if(v==1)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1");if(v==2)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F",oe!=null&&oe.anonymous_comment||(fe=ge==null?void 0:ge.homework_status)!=null&&fe.includes("\u533F\u8BC4\u4E2D")?"\u5EF6\u65F6\u63D0\u4EA4":"\u8865\u4EA4","\u4F5C\u54C1");if(me==1)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u672A\u533F\u8BC4");if(me==2)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u533F\u8BC4\u4E2D");if(me==3)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},(q==null?void 0:q.work_count)||0),"\u4F4D\u5B66\u751F\u5B8C\u6210\u533F\u8BC4");if(me==4)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},((ze=tt==null?void 0:tt.data)==null?void 0:ze.count)||0),"\u4F4D\u5B66\u751F\u63D0\u4EA4\u4E86\u7533\u8BC9");if(me==5)return u.createElement(u.Fragment,null,"\u5171",u.createElement("span",{style:{color:"#DF711C"}},((se=tt==null?void 0:tt.data)==null?void 0:se.count)||0),"\u6761\u7533\u8BC9\u8BB0\u5F55\u5F85\u5BA1\u6838")},cn=()=>{var fe,ze;return v?(fe=[{title:"\u5E8F\u53F7",dataIndex:"id",ellipsis:!0,width:80,render:(se,kt,tn)=>`${((nt==null?void 0:nt.page)-1)*nt.limit+tn+1}`},{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u5206\u73ED",dataIndex:"group_name",ellipsis:!0},v!=0&&{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(se,kt)=>u.createElement(D.Z,{placement:"bottom",title:u.createElement("div",null,"\u6559\u5E08\u8BC4\u5206\uFF1A",kt.teacher_score||"0.0","\u5206",u.createElement("br",null),"\u52A9\u6559\u8BC4\u5206\uFF1A",kt.teaching_asistant_score||"0.0","\u5206",u.createElement("br",null),ge!=null&&ge.anonymous_comment?u.createElement(u.Fragment,null,"\u533F\u8BC4\u8BC4\u5206\uFF1A",kt.student_score||"0.0","\u5206",u.createElement("br",null)):"","\u8FDF\u4EA4\u6263\u5206\uFF1A",kt.late_penalty||"0.0","\u5206",u.createElement("br",null),"\u67E5\u91CD\u6263\u5206\uFF1A",kt.repeat_minus_score||"0.0","\u5206",u.createElement("br",null),ge!=null&&ge.anonymous_comment?u.createElement(u.Fragment,null,"\u7F3A\u8BC4\u6263\u5206\uFF1A",kt.absence_penalty||"0.0","\u5206",u.createElement("br",null)):"","\u6700\u7EC8\u6210\u7EE9\uFF1A",kt.work_score||"0.0","\u5206",u.createElement("br",null),!(ge!=null&&ge.is_jupyter||ge!=null&&ge.is_jupyter_lab)&&u.createElement("div",{onClick:tn=>{Ke(kt)},className:"current",style:{color:"#8bb6fd"}},"\u67E5\u770B\u8BC4\u5206"))},se>0?u.createElement("span",{style:{color:"#ff8100"}},se):se)},v>1&&{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:se=>i()(se).format("YYYY-MM-DD HH:mm")}])==null?void 0:fe.filter(se=>se):me==4||me==5?[{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"real_name",ellipsis:!0,width:80,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:80},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",ellipsis:!0,width:110},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",ellipsis:!0},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:140,render:se=>i()(se).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",dataIndex:"appeal_status",ellipsis:!0,width:140,align:"right",render:(se,kt)=>u.createElement(u.Fragment,null,se==3&&u.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),se==4&&u.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),se==1&&u.createElement(u.Fragment,null,u.createElement(d.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>Tt(void 0,null,function*(){(yield N({userId:kt.student_work_id,score_id:kt.student_works_score_id,status:4})).status===0&&Zt()})},"\u9A73\u56DE"),u.createElement(d.op,{className:"ml20",type:"link",style:{padding:0},onClick:()=>{je(kt),ft(!0)}},"\u63A5\u53D7")))}]:(ze=[{title:"\u5E8F\u53F7",dataIndex:"id",ellipsis:!0,width:80,render:(se,kt,tn)=>`${((nt==null?void 0:nt.page)-1)*nt.limit+tn+1}`},{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:(se,kt)=>u.createElement("a",{onClick:()=>{Ke(kt)}},se)},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u5206\u73ED",dataIndex:"group_name",ellipsis:!0},v!=0&&{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(se,kt)=>u.createElement(D.Z,{placement:"bottom",title:u.createElement("div",null,"\u6559\u5E08\u8BC4\u5206\uFF1A",kt.teacher_score||"0.0","\u5206",u.createElement("br",null),"\u52A9\u6559\u8BC4\u5206\uFF1A",kt.teaching_asistant_score||"0.0","\u5206",u.createElement("br",null),ge!=null&&ge.anonymous_comment?u.createElement(u.Fragment,null,"\u533F\u8BC4\u8BC4\u5206\uFF1A",kt.student_score||"0.0","\u5206",u.createElement("br",null)):"","\u8FDF\u4EA4\u6263\u5206\uFF1A",kt.late_penalty||"0.0","\u5206",u.createElement("br",null),"\u67E5\u91CD\u6263\u5206\uFF1A",kt.repeat_minus_score||"0.0","\u5206",u.createElement("br",null),ge!=null&&ge.anonymous_comment?u.createElement(u.Fragment,null,"\u7F3A\u8BC4\u6263\u5206\uFF1A",kt.absence_penalty||"0.0","\u5206",u.createElement("br",null)):"","\u6700\u7EC8\u6210\u7EE9\uFF1A",kt.work_score||"0.0","\u5206",u.createElement("br",null),!(ge!=null&&ge.is_jupyter||ge!=null&&ge.is_jupyter_lab)&&u.createElement("div",{onClick:tn=>{Ke(kt)},className:"current",style:{color:"#8bb6fd"}},"\u67E5\u770B\u8BC4\u5206"))},se>0?u.createElement("span",{style:{color:"#ff8100"}},se):se)},me==2&&{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:se=>i()(se).format("YYYY-MM-DD HH:mm")},me==2&&{title:"\u9700\u8BC4\u6570",dataIndex:"need_evaluate",ellipsis:!0},me==2&&{title:"\u5DF2\u8BC4\u6570",dataIndex:"evaluate_num",ellipsis:!0}])==null?void 0:ze.filter(se=>se)},Ke=(fe={})=>{var ze;(fe!=null&&fe.id||fe!=null&&fe.student_work_id)&&(0,E.xg)(ge.is_jupyter||ge.is_jupyter_lab?`/classrooms/${ue.coursesId}/common_homework/${ue.categoryId}/${fe.id}/comment`:ue.course_group?`/classrooms/${ue.coursesId}/common_homework/${ue.categoryId}/review/${me==4?fe.student_work_id:fe==null?void 0:fe.id}?ids=${(ze=ue.course_group)==null?void 0:ze.toString()}`:`/classrooms/${ue.coursesId}/common_homework/${ue.categoryId}/review/${me==4?fe.student_work_id:fe==null?void 0:fe.id}`)},Zt=(fe=nt)=>{const ze=Pe(Me({},fe),{work_status:v!=null?v==0?[0,-1]:[v]:null,new_work_status:me,status:me==4?"":1,course_group:he});it(ze),me==4||me==5?Ve(ze):Je(ze)};return(0,n.useEffect)(()=>{var fe;mt((me==4||me==5?(fe=tt==null?void 0:tt.data)==null?void 0:fe.list:q==null?void 0:q.student_works)||[])},[q,tt]),(0,n.useEffect)(()=>{_e.open&&Zt(),_e.open||(mt([]),it(Pe(Me({},nt),{search:"",page:1,limit:10})),je(null),ft(!1),Ie.resetFields())},[_e.open,nt.page,nt.limit]),(0,n.useEffect)(()=>{console.log(ee)},[ee]),u.createElement(u.Fragment,null,u.createElement(y.default,Me({},_e),u.createElement(g.Z,{wrap:!1,justify:"space-between",align:"middle"},u.createElement(l.Z,null,Vt()),u.createElement(l.Z,null,u.createElement(d.t7,{style:{width:300},value:nt==null?void 0:nt.search,placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onChange:fe=>{Zt(Pe(Me({},nt),{search:decodeURIComponent(fe).trim(),page:1}))},onInputChange:fe=>{it(Pe(Me({},nt),{search:decodeURIComponent(fe).trim()}))}}))),u.createElement(x.default,{loading:Ee||_t,className:"mt20",columns:cn(),locale:{emptyText:u.createElement(Q.Z,null)},dataSource:Ge,pagination:{total:(q==null?void 0:q.work_count)||((Ae=tt==null?void 0:tt.data)==null?void 0:Ae.count)||0,onChange:(fe,ze)=>{it(Pe(Me({},nt),{page:fe,limit:ze}))},current:nt==null?void 0:nt.page,pageSize:nt==null?void 0:nt.limit}})),u.createElement(y.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:$e,centered:!0,destroyOnClose:!0,onCancel:()=>{ft(!1)},maskClosable:!1,width:544,onOk:()=>{Ie.submit()}},u.createElement(c.default,{form:Ie,colon:!1,onFinish:fe=>Tt(void 0,null,function*(){(yield N(Pe(Me({},fe),{userId:ee.student_work_id,score_id:ee.student_works_score_id,status:3}))).status===0&&(Zt(),ft(!1))})},u.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),u.createElement(J.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:u.createElement("a",{onClick:()=>{Ke(Pe(Me({},ee),{id:ge.is_jupyter||ge.is_jupyter_lab?ee==null?void 0:ee.id:ee==null?void 0:ee.student_work_id}))}},ee==null?void 0:ee.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:u.createElement("span",{style:{color:"#191919"}},ee==null?void 0:ee.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:u.createElement("span",{style:{color:"#191919"}},ee==null?void 0:ee.score)}]}),u.createElement(g.Z,{className:"mt20",wrap:!1},u.createElement(l.Z,null,u.createElement(c.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},u.createElement(I.Z,{min:1,max:100,step:1}))),u.createElement(l.Z,null,u.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),u.createElement(l.Z,null,u.createElement(c.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},u.createElement(b.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570")))))))},Rt={wrap:"wrap___W0LgL",MdEditor:"MdEditor___cHRH7",workListButtonWrap:"workListButtonWrap___QZZWS",anticon:"anticon___m82JD",workListClass:"workListClass___jvhD1",left:"left______XB",visible:"visible___Z1XhK",status:"status___gJ0dF",tips:"tips___dUSKO",redoBtn:"redoBtn___yd1Bl",scroll:"scroll___kwGSX",codewrap:"codewrap___OuRJd",viewcode:"viewcode___D8Xzb",lefttitle:"lefttitle___cmyHe",export_type_modal_title:"export_type_modal_title___v0LPC",export_type_modal:"export_type_modal___OtCoW",export_type_modal_con:"export_type_modal_con___jYlKl",type_item:"type_item___wLYJg",type_item_active:"type_item_active___xScmP",export_type_modal_waring:"export_type_modal_waring___c88Oc"},Bn=s(12290),Xt=s(84105),sn=s(87395),wn=s(67921),Pn=s(89489),bn=s(78297),Hn=s(39020),_n=s(96460),mn=s(58617),Ye=s(59301),pn=Object.defineProperty,xn=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable,Vn=(S,C,v)=>C in S?pn(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,tu=(S,C)=>{for(var v in C||(C={}))Sn.call(C,v)&&Vn(S,v,C[v]);if(xn)for(var v of xn(C))Mn.call(C,v)&&Vn(S,v,C[v]);return S},lu=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Nn=({shixunHomeworks:S,user:C,loading:v,dispatch:me})=>{var pe,he,_e,Ae,ue,Ie;const ge=(0,W.useParams)(),{workList:oe}=S,[,$e,ft]=(0,t.U)(e.Gw,{homeworkId:oe==null?void 0:oe.id}),ee=(Ee,Je={},q=0)=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":Ee||"--",je=[{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,isShow:!0},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0,isShow:!0},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",ellipsis:!0,render:Ee=>Ee===-1?"\u91CD\u505A\u4E2D":Ye.createElement(E.Uw,{status:Ee}),isShow:!0},{title:"\u5F53\u524D\u6210\u7EE9",dataIndex:"work_score",ellipsis:!0,render:(Ee,Je)=>Ye.createElement(D.Z,{placement:"bottom",title:Ye.createElement("div",null,Ye.createElement("div",null,Je.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${Je.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Ye.createElement("div",null,Je.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${Je.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),oe!=null&&oe.anonymous_comment?Ye.createElement("div",null,Je.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${Je.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Ye.createElement("div",null,Je.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${Je.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Ye.createElement("div",null,Je.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${Je.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),oe!=null&&oe.anonymous_comment?Ye.createElement("div",null,Je.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${Je.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(oe==null?void 0:oe.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${Je.appeal_penalty||"0.0"}\u5206`,Ye.createElement("div",null,Je.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${Je.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(oe!=null&&oe.is_jupyter||oe!=null&&oe.is_jupyter_lab)&&Ye.createElement("div",{onClick:q=>{var _t;q.stopPropagation(),(0,E.xg)(oe.is_jupyter||oe.is_jupyter_lab?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/${Je.id}/comment`:ge.course_group?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${Je.id}?ids=${(_t=ge.course_group)==null?void 0:_t.toString()}`:`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${Je.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},Ee>0?Ye.createElement("span",{style:{color:"#ff8100"}},Ee):Ee),isShow:!0},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"redo_count",ellipsis:!0,isShow:!0,render:ee},{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_count",ellipsis:!0,isShow:oe==null?void 0:oe.can_submit,render:(Ee,Je={},q=0)=>(oe==null?void 0:oe.work_status)==0?"--":Ee||"--"},{title:"\u9700\u8BC4\u6570",dataIndex:"need_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u5DF2\u8BC4\u6570",dataIndex:"user_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u88AB\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",dataIndex:"appeal_deal_count",ellipsis:!0,render:ee,isShow:oe==null?void 0:oe.student_anonymous_comment},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"center",width:80,render:(Ee,Je)=>Ye.createElement("a",{onClick:()=>{var q;(q=oe==null?void 0:oe.homework_status)!=null&&q.includes("\u5BFC\u5165")||it(Je,"review")}},"\u67E5\u770B"),isShow:!0}].filter(Ee=>Ee.isShow),nt=[{title:"\u5E8F\u53F7",dataIndex:"name",ellipsis:!0,width:120,render:(Ee,Je,q)=>q+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,render:ee},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"current_user_work_status",ellipsis:!0,render:Ee=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":Ee?Ye.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u8BC4"):Ye.createElement("span",{style:{color:"#FF6801"}},"\u672A\u8BC4")},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:Ee=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":Ee?i()(Ee).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee},{title:"\u88AB\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee},{title:"\u88AB\u7533\u8BC9\u5BA1\u6838\u72B6\u6001",dataIndex:"current_user_appeal_status",ellipsis:!0,render:Ee=>oe!=null&&oe.can_make_up&&(oe==null?void 0:oe.work_status)==0?"--":Ee===1?Ye.createElement("span",{style:{color:"#FF6801"}},"\u5F85\u5BA1\u6838"):Ee===-1?"--":Ye.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u5BA1\u6838")},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"right",width:80,render:(Ee,Je)=>{var q;return Ye.createElement("a",{onClick:()=>{var _t;if((oe==null?void 0:oe.work_status)==0||(oe==null?void 0:oe.work_status)==-1){h.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}(_t=oe.homework_status)!=null&&_t.includes("\u5BFC\u5165")||it(Je)}},!((q=oe==null?void 0:oe.homework_status)!=null&&q.includes("\u5DF2\u622A\u6B62")&&!(oe!=null&&oe.work_public)&&(0,r.dE)())&&(Je!=null&&Je.current_user_work_status?"\u67E5\u770B":"\u8BC4\u9605"))}}],it=(Ee={},Je="")=>{var q;Ee!=null&&Ee.id&&(0,E.xg)(oe.is_jupyter||oe.is_jupyter_lab?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/${Ee.id}/comment`:ge.course_group?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${Ee==null?void 0:Ee.id}?ids=${(q=ge.course_group)==null?void 0:q.toString()}&review=${Je}`:`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${Ee==null?void 0:Ee.id}?review=${Je}`)};return Ye.createElement("section",{className:"minH500 bg-white p30",style:{paddingTop:25}},!(oe!=null&&oe.all_member_count)&&!v["shixunHomeworks/getWorkList"]&&(((pe=oe==null?void 0:oe.homework_status)==null?void 0:pe.includes("\u672A\u53D1\u5E03"))||((he=oe==null?void 0:oe.homework_status)==null?void 0:he.includes("\u672A\u5F00\u59CB")))&&Ye.createElement(Q.Z,null),!((_e=oe==null?void 0:oe.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))&&!((Ae=oe==null?void 0:oe.homework_status)!=null&&Ae.includes("\u672A\u5F00\u59CB"))&&Ye.createElement(Ye.Fragment,null,Ye.createElement(g.Z,{wrap:!1,align:"middle",justify:"space-between"},Ye.createElement(l.Z,null,Ye.createElement("span",{className:"c-grey-333"},"\u6211\u7684\u4F5C\u54C1")),Ye.createElement(l.Z,null,Ye.createElement("span",null,(ue=oe==null?void 0:oe.left_time)==null?void 0:ue.status,Ye.createElement("span",{className:"ml10",style:{color:"#FF9D18"}},(Ie=oe==null?void 0:oe.left_time)==null?void 0:Ie.time)))),(oe==null?void 0:oe.is_shixun)&&!(oe!=null&&oe.open_evaluate)&&!(oe!=null&&oe.is_close_tips)&&Ye.createElement(g.Z,{align:"middle",justify:"space-between",style:{background:"#F5F5F5",borderRadius:4,height:42,padding:"0px 10px",color:"#9096A3"}},Ye.createElement(l.Z,null,Ye.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85\u6559\u5E08\u7684\u8BC4\u5206\u7ED3\u679C\u3002 ")),Ye.createElement(l.Z,null,Ye.createElement("span",{className:"current",onClick:()=>lu(void 0,null,function*(){const Ee=yield(0,ne.ZP)(`/api/homework_commons/${ge.categoryId}/close_tips.json`,{method:"post"});(Ee==null?void 0:Ee.status)===0&&me({type:"shixunHomeworks/getWorkList",payload:tu({},ge)})})},"X"))),!(oe!=null&&oe.is_shixun)&&(oe==null?void 0:oe.feedback_notice)&&Ye.createElement("div",{className:"font14 mt10",style:{padding:"9px 20px",background:"rgba(255,157,24,0.1)",color:"#FF9D18",display:"flex",alignItems:"center"}},Ye.createElement("i",{className:"iconfont icon-tishi11 font14"}),Ye.createElement("span",{className:"ml10",style:{flex:"1"}},"\u6709\u5B66\u751F\u53CD\u9988\u4E86\u4F5C\u54C1\u95EE\u9898\uFF0C\u8BF7\u53CA\u65F6\u67E5\u770B\u5904\u7406"),$e?Ye.createElement(mn.Z,null):Ye.createElement("i",{className:"iconfont icon-guanbi10 font14 current",style:{color:"#979797"},onClick:()=>lu(void 0,null,function*(){const Ee=yield ft({homeworkId:oe==null?void 0:oe.id});(Ee==null?void 0:Ee.status)===0&&me({type:"shixunHomeworks/getWorkList",payload:tu({},ge)})})})),Ye.createElement(x.default,{className:"mt20",locale:{emptyText:Ye.createElement(Q.Z,null)},pagination:!1,columns:je,dataSource:[oe]}),(oe==null?void 0:oe.student_anonymous_comment)&&Ye.createElement("div",{className:"mt20"},Ye.createElement(g.Z,{wrap:!1,align:"middle",justify:"space-between"},Ye.createElement(l.Z,null,"\u5171",Ye.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},(oe==null?void 0:oe.work_count)||0),"\u4EFD\u4F5C\u4E1A\u9700\u8BC4\u9605"),Ye.createElement(l.Z,null,Ye.createElement("i",{className:"iconfont icon-shijian1 c-grey-666 mr10"}),"\u533F\u8BC4\u65F6\u95F4",Ye.createElement("span",{className:"c-grey-333 ml10"},(oe==null?void 0:oe.evaluation_start)&&i()(oe==null?void 0:oe.evaluation_start).format("YYYY-MM-DD HH:mm"),"\u81F3 ",(oe==null?void 0:oe.evaluation_end)&&i()(oe==null?void 0:oe.evaluation_end).format("YYYY-MM-DD HH:mm")))),Ye.createElement(x.default,{className:"mt20",locale:{emptyText:Ye.createElement(Q.Z,null)},columns:nt,dataSource:oe==null?void 0:oe.student_works,pagination:!1}))))};var Fu=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:me})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:me}))(Nn),_u=s(24571),Y=s(59301),ou=Object.defineProperty,et=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,qt=(S,C,v)=>C in S?ou(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,ht=(S,C)=>{for(var v in C||(C={}))st.call(C,v)&&qt(S,v,C[v]);if(ut)for(var v of ut(C))Ht.call(C,v)&&qt(S,v,C[v]);return S},Ut=(S,C)=>et(S,qe(C)),pt=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const $t=(0,n.createRef)(),Qt=({shixunHomeworks:S,classroomList:C,loading:v,zip:me,btnLoading:pe,setBtnLoading:he,dispatch:_e})=>{var Ae,ue,Ie,ge,oe,$e,ft,ee,je,nt,it,Ee,Je,q,_t,Ve,tt,N,It,Ge,mt,Vt,cn,Ke;const[Zt]=(0,W.useSearchParams)(),[fe,ze]=(0,n.useState)(ht(ht({},(0,W.useParams)()),{page:Zt.get("page")||1,limit:20})),{workList:se,actionTabs:kt,workSetting:tn}=S,[dn,rt]=(0,n.useState)([]),[Le,Wt]=(0,n.useState)(1),[yt,rn]=(0,n.useState)(),[ct,Ue]=(0,n.useState)(),[Et,de]=(0,n.useState)(),[lt,dt]=(0,n.useState)(),[Ot,Lt]=(0,n.useState)(),[Bt,Gt]=(0,n.useState)(!1),[fn,In]=(0,n.useState)(1),[Fn,On]=(0,n.useState)(!1),[Rn,gn]=(0,n.useState)(!1),[Qn,ju]=(0,n.useState)([]),[ma,$n]=(0,n.useState)(!1),[wu,Kt]=(0,n.useState)(),[pa,zu]=(0,n.useState)(!1),[na,ua]=(0,n.useState)(""),[we,Oe]=(0,n.useState)(),[an,bt]=(0,n.useState)(),[vt,Yt]=(0,n.useState)(null),[ln,on]=(0,n.useState)(!0),[Pt,Dt]=(0,n.useState)([]),[Nt,nn]=(0,n.useState)([]),[Ze,Ne]=(0,n.useState)(0),[Se,xt]=(0,n.useState)({status:!1,visible:!0}),[Yn,mu]=(0,n.useState)(!1),[bu,Nu]=(0,n.useState)(""),[jn]=c.default.useForm(),[Hu,Gn]=(0,n.useState)(!0),[Kn,Ja]=(0,n.useState)(!1);(0,n.useEffect)(()=>{$t&&$t.current&&($t.current.clientHeight>47?xt({status:!0,visible:!0}):xt({status:!1,visible:!0}))},[se.course_group_info&&se.course_group_info.length]),(0,n.useEffect)(()=>{se!=null&&se.course_id&&rt(se==null?void 0:se.student_works)},[se]);const vu=()=>pt(void 0,null,function*(){const ce=yield _e({type:"shixunHomeworks/getWorkList",payload:ht({},fe)});(0,r.GJ)()?rt([...ce.student_works]):rt([...ce])});(0,n.useEffect)(()=>{if(Zt.get("page")){let ce=JSON.parse(localStorage.getItem("commonhomeworkkey"))||{};ze(ht(ht({},fe),ce)),ce.task_status=(ce==null?void 0:ce.work_status)||"all",ce.course_group_info=(ce==null?void 0:ce.course_group)||"all",ce.file_status=ce!=null&&ce.file_status?[ce==null?void 0:ce.file_status]:"all",ce.teacher_comment=ce!=null&&ce.teacher_comment?[ce==null?void 0:ce.teacher_comment]:"all",jn.setFieldsValue(ht({},ce))}},[]);function xu(){Wt(1),rn(""),Ue(""),de(""),Lt(""),dt(""),ju([])}const yo=()=>{fe.page=1;const ce=Object.assign({},jn.getFieldsValue());Object.keys(ce).map(function(ke){switch(ke){case"task_status":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete fe.work_status,jn.setFieldsValue({task_status:"all"})):(fe.work_status=ce[ke],jn.setFieldsValue({task_status:fe.work_status}));break;case"file_status":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete fe.file_status,jn.setFieldsValue({file_status:"all"})):(fe.file_status=ce[ke][0],jn.setFieldsValue({file_status:ce[ke]}));break;case"course_group_info":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete fe.course_group,jn.setFieldsValue({course_group_info:"all"})):(fe.course_group=ce[ke],jn.setFieldsValue({course_group_info:fe.course_group}));break;case"teacher_comment":ce[ke].includes("all")||se[ke].length===ce[ke].length||!ce[ke].length?(delete fe.teacher_comment,jn.setFieldsValue({teacher_comment:"all"})):(fe.teacher_comment=ce[ke][0],jn.setFieldsValue({teacher_comment:ce[ke]}));break}}),vu()},Ao=(ce,ke)=>{Dt(ke.map(un=>(un.course_group_id===ce&&(un.checked=!un.checked),un))),fa(ke)},fa=ce=>{nn(ce.filter(ke=>ke.checked).map(ke=>ke.course_group_id))},Zu=(0,n.useRef)();(0,n.useEffect)(()=>{Zu.current=Nt},[Nt]);const Co=(ce,ke)=>{fe.page=ce,fe.limit=ke,vu()},Bo=[{title:"\u5E8F\u53F7",dataIndex:"name",width:"5%",fixed:"left",render:(ce,ke,un)=>ke!=null&&ke.isMe&&(dn!=null&&dn.length)?"\u6211":fe.limit*(fe.page-1)+un+1},{title:"\u59D3\u540D",width:"5%",ellipsis:!0,dataIndex:"user_name"},((0,r.GJ)()||(0,r.dE)()&&!(se!=null&&se.anonymous_comment))&&{title:"\u5B66\u53F7",width:"8%",ellipsis:!0,dataIndex:"student_id",sortDirections:["descend","ascend"],sorter:!0,render:ce=>ce},!((0,r.dE)()&&((Ae=se==null?void 0:se.homework_status)!=null&&Ae.includes("\u533F\u8BC4\u4E2D")||(ue=se==null?void 0:se.homework_status)!=null&&ue.includes("\u7533\u8BC9\u4E2D")))&&se.course_group_count!==0&&{title:"\u5206\u73ED",width:"7%",ellipsis:!0,dataIndex:"group_name"},{title:se!=null&&se.is_jupyter_lab||se!=null&&se.is_jupyter?"\u4F5C\u4E1A\u72B6\u6001":"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",width:"12%",render:ce=>ce===-1?"\u91CD\u505A\u4E2D":Y.createElement(E.Uw,{status:ce})},((0,r.GJ)()||(0,r.dE)()&&!(se!=null&&se.anonymous_comment)&&!se.anonymous_appeal||(0,r.dE)()&&((Ie=se.homework_status)==null?void 0:Ie.includes("\u5DF2\u622A\u6B62")))&&{title:"\u6700\u7EC8\u6210\u7EE9",width:"8%",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!0,render:(ce,ke)=>Y.createElement(D.Z,{placement:"bottom",title:Y.createElement("div",null,Y.createElement("div",null,ke.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${ke.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Y.createElement("div",null,ke.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${ke.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),se!=null&&se.anonymous_comment?Y.createElement("div",null,ke.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${ke.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Y.createElement("div",null,ke.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${ke.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Y.createElement("div",null,ke.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${ke.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),se!=null&&se.anonymous_comment?Y.createElement("div",null,ke.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${ke.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(se==null?void 0:se.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${ke.appeal_penalty||"0.0"}\u5206`,Y.createElement("div",null,ke.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${ke.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(se!=null&&se.is_jupyter||se!=null&&se.is_jupyter_lab)&&Y.createElement("div",{onClick:un=>{var ru;un.stopPropagation(),localStorage.setItem("commonhomeworkkey",JSON.stringify(fe)),(0,E.xg)(se.is_jupyter||se.is_jupyter_lab?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/${ke.id}/comment?page=${fe.page}`:fe.course_group?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ke.id}?page=${fe.page}&ids=${(ru=fe.course_group)==null?void 0:ru.toString()}`:`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ke.id}?page=${fe.page}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ce>0?Y.createElement("span",{style:{color:"#ff8100"}},ce):ce)},{title:"\u66F4\u65B0\u65F6\u95F4",width:"10%",dataIndex:"update_time",sortDirections:["descend","ascend"],sorter:!0,render:ce=>ce?i()(ce).format("YYYY-MM-DD HH:mm"):"--"},((0,r.GJ)()||((ge=se==null?void 0:se.homework_status)==null?void 0:ge.includes("\u5DF2\u622A\u6B62")))&&{title:"\u6559\u5E08\u8BC4\u5206",width:"6%",dataIndex:"teacher_score"},((0,r.GJ)()||((oe=se==null?void 0:se.homework_status)==null?void 0:oe.includes("\u5DF2\u622A\u6B62")))&&{title:"\u52A9\u6559\u8BC4\u5206",width:"6%",dataIndex:"teaching_asistant_score"},(se==null?void 0:se.anonymous_comment)&&{title:"\u533F\u8BC4\u8BC4\u5206",width:"6%",dataIndex:"student_score",render:(ce,ke)=>Y.createElement(D.Z,{title:Y.createElement("div",null,Y.createElement("span",null,"\u4F60\u7684\u8BC4\u9605\u5206\u6570\uFF1A",ce,"\u5206"),Y.createElement("br",null),Y.createElement("span",null,"\u533F\u8BC4\u5B8C\u6210\u5EA6\uFF1A",ke.anonymous_comment_rate,"%"))},Y.createElement("span",null,ce))},(se==null?void 0:se.anonymous_comment)&&{title:"\u5DF2\u8BC4\u6570",width:"5%",dataIndex:"user_comment_count",render:ce=>Y.createElement(D.Z,{title:"\u5728\u533F\u8BC4\u671F\u95F4\u8BC4\u9605\u7684\u4F5C\u54C1\u6570\u91CF"},Y.createElement("span",null,ce))},(se==null?void 0:se.anonymous_appeal)&&{title:"\u533F\u8BC4\u7533\u8BC9",width:"8%",dataIndex:"appeal_all_count",render:(ce,ke)=>Y.createElement("div",null,!!ce&&Y.createElement(D.Z,{placement:"bottom",title:`\u5171\u6709${ce}\u6761\u533F\u8BC4\u7533\u8BC9\uFF0C${ke.appeal_deal_count}\u6761\u5F85\u5904\u7406`},Y.createElement("span",{style:{minWidth:"30px",display:"inline-block",textAlign:"center"}},`${ke.appeal_deal_count}/${ce}`)),!ce&&Y.createElement("span",null,"-/-"))},(tn==null?void 0:tn.can_submit)&&{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_size",width:"6%",render:ce=>ce||"- -"},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"redo_count",width:"6%",render:ce=>ce||"- -"},{title:"\u64CD\u4F5C",width:"10%",align:"center",fixed:"right",dataIndex:"action",render:(ce,ke)=>{var un,ru,Ln;return(un=se.homework_status)!=null&&un.includes("\u5BFC\u5165")?Y.createElement("div",{style:{display:"flex",alignItems:"center"}}," ",(0,r.GJ)()&&Y.createElement("a",{onClick:Zn=>{Zn.stopPropagation(),_e({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:ke==null?void 0:ke.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"),Y.createElement("a",{style:{marginLeft:(0,r.GJ)()&&10},onClick:(0,a.debounce)(Zn=>pt(void 0,null,function*(){var zn,hu,Uu,Wu,qa;Zn.stopPropagation();let pu=yield(0,ne.ZP)(`/api/student_works/${ke==null?void 0:ke.id}/passed_condition.json`,{method:"get"});y.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:Y.createElement("div",null,Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",null,Y.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),Y.createElement("span",{style:{marginLeft:10}},(zn=pu==null?void 0:pu.data)==null?void 0:zn.user_name)),Y.createElement("div",{style:{marginLeft:60}},Y.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),Y.createElement("span",{style:{marginLeft:10}},(hu=pu==null?void 0:pu.data)==null?void 0:hu.student_id)),Y.createElement("div",{style:{marginLeft:60}},Y.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),Y.createElement("span",{style:{marginLeft:10}},(Uu=pu==null?void 0:pu.data)==null?void 0:Uu.group_name))),Y.createElement("div",{style:{marginTop:22}},Y.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),Y.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((Wu=pu==null?void 0:pu.data)==null?void 0:Wu.description)||"\u6682\u65E0\u4FE1\u606F")),Y.createElement("div",{style:{marginTop:22,marginBottom:20}},Y.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),Y.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((qa=pu==null?void 0:pu.data)==null?void 0:qa.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):ke.work_status===0&&!(0,r.GJ)()?Y.createElement("div",null,"--"):Y.createElement("div",null,!(0,r.GJ)()&&Y.createElement("div",null,Y.createElement("a",{target:"_blank"},"\u67E5\u770B")),(0,r.GJ)()&&Y.createElement("div",null,Y.createElement(W.Link,{className:"c-blue",target:"_blank",to:se.is_jupyter||se.is_jupyter_lab?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/${ke.id}/comment?page=${fe.page}`:fe.course_group?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ke.id}?ids=${(ru=fe.course_group)==null?void 0:ru.toString()}&page=${fe.page}`:`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ke.id}?page=${fe.page}`,onClick:Zn=>{var zn,hu,Uu,Wu;if(localStorage.setItem("commonhomeworkkey",JSON.stringify(fe)),Zn.stopPropagation(),fe.course_group?(0,r.Rm)()&&!((hu=(zn=C.AssistantObject)==null?void 0:zn.group)!=null&&hu.can_view):(0,r.Rm)()&&!((Wu=(Uu=C.AssistantObject)==null?void 0:Uu.normal)!=null&&Wu.can_view)){Zn.preventDefault(),h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}},ke.has_comment?"\u5DF2\u8BC4\u9605":"\u8BC4\u9605"),Y.createElement("br",null),Y.createElement(D.Z,{placement:"bottom",title:Y.createElement("p",null,"\u8C03\u6574\u5B66\u751F\u5F53\u524D\u6210\u7EE9",Y.createElement("br",null),"\u5176\u5B83\u5386\u53F2\u8BC4\u5206\u5C06\u5168\u90E8\u5931\u6548")},Y.createElement("a",{className:"c-green",onClick:Zn=>pt(void 0,null,function*(){Zn.preventDefault(),Zn.stopPropagation(),_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8C03\u5206",selectArrs:ke,id:ke.id,params:fe}})})},"\u8C03\u5206"))),(0,r.GJ)()&&Y.createElement("div",null,ke.work_status!==-1&&ke.work_status!==0&&ke.myshixun_identifier&&((se==null?void 0:se.is_jupyter)||(se==null?void 0:se.is_jupyter_lab))&&Y.createElement(g.Z,{justify:"center"},Y.createElement("a",{onClick:Zn=>pt(void 0,null,function*(){if(Zn.stopPropagation(),zu(!0),on(!0),ua(ke.shixun_url),Oe(ke.id),Yt(ke.evaluation_codes),bt(null),ke.myshixun_identifier){const zn=yield(0,ne.ZP)("/api/jupyters/preview_tpi.json",{method:"get",params:{identifier:ke.myshixun_identifier,student_work_id:ke.id}});zn.status===0&&(bt(zn.html_content),on(!1))}})},"\u67E5\u770B\u4EE3\u7801")),(se!=null&&se.is_new_rule?ke.work_status!==-1&&ke.work_status!==0:ke.work_status!==-1&&ke.work_status!==0&&!((Ln=se==null?void 0:se.homework_status)!=null&&Ln.includes("\u5DF2\u622A\u6B62")))&&Y.createElement(g.Z,{justify:"center"},Y.createElement("span",{className:Rt.redoBtn,onClick:Zn=>{var zn;if(Zn.stopPropagation(),(0,r.Rm)()&&!((zn=C.AssistantObject.normal)!=null&&zn.can_redo)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"shixunHomeworks/setActionTabs",payload:{key:"redoShixunModal",homework_common_id:se.homework_id,student_work_id:ke.id,isshixun:se.is_shixun}})}},"\u6253\u56DE\u91CD\u505A"))))}}].filter(ce=>!!ce),eu=(ce={key:""})=>{_e({type:"shixunHomeworks/setActionTabs",payload:ce})},Do=()=>{var ce;return tn!=null&&tn.anonymous_comment||(ce=se==null?void 0:se.homework_status)!=null&&ce.includes("\u533F\u8BC4\u4E2D")?[{title:"\u5B66\u751F\u4EBA\u6570",dataIndex:"work_count"},{title:"\u672A\u63D0\u4EA4",dataIndex:"not_submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:0})}},ke)},{title:"\u6309\u65F6\u63D0\u4EA4",dataIndex:"submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:1})}},ke)},{title:"\u5EF6\u65F6\u63D0\u4EA4",dataIndex:"delayed_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5EF6\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:2})}},ke)},{title:"\u672A\u533F\u8BC4",dataIndex:"no_evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u533F\u8BC4\u7684\u5B66\u751F\u5217\u8868",new_work_status:1})}},ke)},{title:"\u533F\u8BC4\u4E2D",dataIndex:"in_evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u533F\u8BC4\u4E2D\u7684\u5B66\u751F\u5217\u8868",new_work_status:2})}},ke)},{title:"\u5B8C\u6210\u533F\u8BC4",dataIndex:"evaluate",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5B8C\u6210\u533F\u8BC4\u7684\u5B66\u751F\u5217\u8868",new_work_status:3})}},ke)},{title:"\u7533\u8BC9\u6B21\u6570",dataIndex:"review",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u63D0\u4EA4\u7533\u8BC9\u7684\u5B66\u751F\u5217\u8868",new_work_status:4})}},ke)},{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",dataIndex:"under_review",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u5F85\u5BA1\u6838\u7533\u8BC9\u5217\u8868",new_work_status:5})}},ke)}]:[{title:"\u5B66\u751F\u4EBA\u6570",dataIndex:"work_count"},{title:"\u672A\u63D0\u4EA4",dataIndex:"not_submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u672A\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:0})}},ke)},{title:"\u6309\u65F6\u63D0\u4EA4",dataIndex:"submitted_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:1})}},ke)},{title:"\u8865\u4EA4",dataIndex:"delayed_num",render:ke=>Y.createElement("a",{onClick:()=>{eu({key:"\u4F5C\u4E1A\u6982\u89C8",title:"\u8865\u4EA4\u7684\u5B66\u751F\u5217\u8868",task_status:2})}},ke)}]},Xa=ce=>pt(void 0,null,function*(){he(!0),(yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/student_works/export_normal_word_all.json`,{method:"post",body:{with_edit:ce,student_works_ids:se==null?void 0:se.student_works_ids,with_submit_record:Hu,course_group:[...JSON.parse(sessionStorage.all_student_works_params).course_group]}})).status===0&&(mu(!1),W.history.push(`/classrooms/${fe==null?void 0:fe.coursesId}/exportlist/normal_work_list`)),he(!1)}),wo=()=>{var ce,ke,un,ru;return Y.createElement(_.default,null,Y.createElement(_.default.Item,{key:"1"},Y.createElement("span",{onClick:()=>{var Ln;if((0,r.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:se==null?void 0:se.course_group_info,fn:()=>{(0,bn.Iy)(JSON.parse(sessionStorage.all_student_works_params),"normal_work_list")}}})}}," \u5BFC\u51FA\u6210\u7EE9 ")),(se==null?void 0:se.start_permanent)&&Y.createElement(_.default.Item,{onClick:()=>pt(void 0,null,function*(){let Ln=yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/export_workspace_files.json`,{method:"post",body:{is_repeat_export:0}});Ln.status===0&&W.history.push(`/classrooms/${fe.coursesId}/exportlist/workspace_files`),Ln.status===-3&&(_e({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u590D\u5BFC\u51FA\u63D0\u9192",params:fe}}),W.history.push(`/classrooms/${fe.coursesId}/exportlist/workspace_files`))}),key:"4"},"\u5B9E\u9A8C\u6570\u636E"),!((ce=se.homework_status)!=null&&ce.includes("\u5BFC\u5165"))&&(0,r.GJ)()&&((ke=se==null?void 0:se.student_works)==null?void 0:ke.length)>0&&((se==null?void 0:se.is_jupyter)||(se==null?void 0:se.is_jupyter_lab))&&Y.createElement(_.default.Item,{key:"2"},Y.createElement("span",{onClick:Ln=>{var Zn;if((0,r.Rm)()&&!((Zn=C.AssistantObject.normal)!=null&&Zn.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:se==null?void 0:se.course_group_info,fn:()=>{var zn,hu;_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A",type:2}}),(0,E.xg)(`/classrooms/${fe==null?void 0:fe.coursesId}/common_homework/${fe.categoryId}/${(hu=(zn=se==null?void 0:se.student_works)==null?void 0:zn[0])==null?void 0:hu.id}/comment`)}}})}},"\u5B9E\u8BAD\u62A5\u544A")),!((un=se.homework_status)!=null&&un.includes("\u5BFC\u5165"))&&((ru=se==null?void 0:se.student_works)==null?void 0:ru.length)>0&&!(se!=null&&se.is_jupyter_lab)&&!(se!=null&&se.is_jupyter)&&Y.createElement(_.default.Item,{key:"3"},Y.createElement(z.ZP,{loading:pe,style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Ln;if((0,r.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6",course_groups:se==null?void 0:se.course_group_info,fn:()=>{Nu("\u9644\u4EF6"),mu(!0)}}})}},"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6")),Y.createElement(_.default.Item,{key:"5",onClick:()=>{var Ln;if((0,r.Rm)()&&!((Ln=C.AssistantObject.normal)!=null&&Ln.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${fe.coursesId}/exportlist/normal_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return(0,r.dE)()?Y.createElement(Fu,null):Y.createElement("section",{className:`${Rt.wrap} minH500`},Y.createElement("aside",{className:`minH500 bg-white pl30 ${(0,r.GJ)()?"pt30":""} pr30`},!(se!=null&&se.all_member_count)&&!v["shixunHomeworks/getWorkList"]&&((($e=se==null?void 0:se.homework_status)==null?void 0:$e.includes("\u672A\u53D1\u5E03"))||((ft=se==null?void 0:se.homework_status)==null?void 0:ft.includes("\u672A\u5F00\u59CB")))&&Y.createElement(Q.Z,null),Y.createElement("aside",null,!!(se!=null&&se.all_member_count)&&Y.createElement("aside",{className:"mb30"},Y.createElement(c.default,{form:jn,onChange:yo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all",file_status:"all"}},!!((ee=se.teacher_comment)!=null&&ee.length)&&Y.createElement(c.default.Item,{name:"teacher_comment"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(g.Z,null,Y.createElement(l.Z,{flex:"80px",style:{fontSize:14}},"\u4F60\u7684\u8BC4\u9605:"),Y.createElement(l.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")),Y.createElement(l.Z,{flex:"1"},(je=se.teacher_comment)==null?void 0:je.map(ce=>Y.createElement(b.default,{value:ce.id,key:ce.id}," ",ce.name,"(",ce.count,") ")))))),!!((nt=se==null?void 0:se.file_status)!=null&&nt.length)&&(0,r.GJ)()&&Y.createElement(c.default.Item,{name:"file_status"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(g.Z,null,Y.createElement(l.Z,{flex:"80px",style:{fontSize:14}},"\u9644\u4EF6\u72B6\u6001:"),Y.createElement(l.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")),Y.createElement(l.Z,{flex:"1"},(it=se==null?void 0:se.file_status)==null?void 0:it.map(ce=>Y.createElement(b.default,{value:ce.id,key:ce.id},ce.name,"(",ce.count,")")))))),!!((Ee=se.task_status)!=null&&Ee.length)&&Y.createElement(c.default.Item,{name:"task_status"},Y.createElement(b.default.Group,{value:[],style:{width:"100%"}},Y.createElement(g.Z,null,Y.createElement(l.Z,{flex:"80px",style:{fontSize:14}}," \u4F5C\u54C1\u72B6\u6001: "),Y.createElement(l.Z,{flex:"80px"},Y.createElement(b.default,{value:"all"},"\u5168\u90E8")," "),Y.createElement(l.Z,{flex:"1"},(Je=se.task_status)==null?void 0:Je.map(ce=>Y.createElement(b.default,{name:"task_status",value:ce.id,key:ce.id},ce.name,"(",ce.count,")")))))),!!((q=se.course_group_info)!=null&&q.length)&&Y.createElement(c.default.Item,{name:"course_group_info"},Y.createElement(b.default.Group,{style:{width:"100%"}},Y.createElement(g.Z,null,Y.createElement(l.Z,{flex:"80px",style:{fontSize:14}},"\u5206\u73ED\u60C5\u51B5:"),Y.createElement(l.Z,{flex:"80px"},Y.createElement(b.default,{value:"all",checked:!fe.course_group_info},"\u5168\u90E8")),Y.createElement(l.Z,{flex:"1",className:`${Rt.workListClass} ${Se.visible?Rt.visible:""} ${Se.status?"":Rt.status}`},Y.createElement("div",{ref:$t,className:Rt.left},se.course_group_info.map((ce,ke)=>Y.createElement(b.default,{value:ce.course_group_id,key:ce.course_group_id}," ",ce.group_group_name,"(",ce.count,")"))),Se.status&&Y.createElement("div",{className:Rt.tips,onClick:()=>xt(Ut(ht({},Se),{visible:!Se.visible}))},Y.createElement("span",null,Se.visible?"\u5C55\u5F00":"\u6536\u8D77",Se.visible?Y.createElement(Xt.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Y.createElement(sn.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))))),Y.createElement("div",{className:"mt40",style:{marginBottom:"40px"}},Y.createElement("span",{className:"c-grey-333"},"\u4F5C\u4E1A\u6982\u89C8"),Y.createElement(x.default,{className:"mt20",locale:{emptyText:Y.createElement(Q.Z,null)},columns:Do(),dataSource:[se==null?void 0:se.group_data],pagination:!1})),Y.createElement(g.Z,{align:"middle"},Y.createElement(l.Z,{flex:"1"},Y.createElement(g.Z,{align:"middle"},Y.createElement(l.Z,null,Y.createElement(F.default.Search,{style:{width:240},allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ce=>{fe.page=1,fe.search=ce.trim(),vu()}})),Y.createElement(l.Z,null,Y.createElement("span",{className:"ml5 c-red"},se.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",se.work_count,"\u4E2A\u5B66\u751F\uFF09"))),Y.createElement(l.Z,{style:{textAlign:"end"},className:Rt.workListButtonWrap},!((_t=se.homework_status)!=null&&_t.includes("\u5BFC\u5165"))&&!(se!=null&&se.is_jupyter||se!=null&&se.is_jupyter_lab)&&Y.createElement(z.ZP,{className:"mr10",onClick:()=>{_e({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:fe}})}},"\u6587\u6863\u67E5\u91CD"),!(se!=null&&se.is_new_rule)&&!((Ve=se.homework_status)!=null&&Ve.includes("\u5BFC\u5165"))&&(((tt=se==null?void 0:se.homework_status)==null?void 0:tt.includes("\u63D0\u4EA4\u4E2D"))||((N=se==null?void 0:se.homework_status)==null?void 0:N.includes("\u8865\u4EA4\u4E2D"))||((It=se==null?void 0:se.homework_status)==null?void 0:It.includes("\u8FDB\u884C\u4E2D")))&&Y.createElement(z.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>{var ce;if((0,r.Rm)()&&!((ce=C.AssistantObject.normal)!=null&&ce.can_redo)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}gn(!0),pt(void 0,null,function*(){const un=yield(0,ne.ZP)(`/api/homework_commons/${fe==null?void 0:fe.categoryId}/teacher_manage_groups.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});un.status===0&&(console.log("\u53D1\u9001\u8BF7\u6C42\u4E86",un),Dt(un.data.list),fa(un.data.list))})}}," \u4E00\u952E\u6253\u56DE"),!((Ge=se.homework_status)!=null&&Ge.includes("\u5BFC\u5165"))&&Y.createElement(z.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-yijiandianping"}),onClick:()=>{Gt(!0)}},"\u4E00\u952E\u70B9\u8BC4"),((mt=se.homework_status)==null?void 0:mt.includes("\u5DF2\u622A\u6B62"))&&!se.is_jupyter&&!se.is_jupyter_lab&&Y.createElement(z.ZP,{className:"mr20",icon:Y.createElement("i",{className:"iconfont icon-daoruwaibuchengji"}),onClick:()=>{Ja(!0)}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"),Y.createElement(P.Z,{dropdownRender:wo},Y.createElement(z.ZP,{icon:Y.createElement(wn.Z,null)},"\u5BFC\u51FA",Y.createElement(Pn.Z,null))))),(se==null?void 0:se.is_shixun)&&!(se!=null&&se.open_evaluate)&&!(se!=null&&se.is_close_tips)&&Y.createElement(g.Z,{style:{marginTop:"15px",display:"inline-flex",background:"#F5F5F5",borderRadius:4,height:42,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",color:"#9096A3",justifyContent:"space-between"}},Y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206"),Y.createElement("span",{style:{cursor:"pointer"},onClick:()=>pt(void 0,null,function*(){let ce=yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/close_tips.json`,{method:"post"});(ce==null?void 0:ce.status)===0&&_e({type:"shixunHomeworks/getWorkList",payload:ht({},fe)})})},"X"))),Y.createElement(x.default,{loading:v["shixunHomeworks/getWorkList"],hideOnSinglePage:!0,pagination:!1,size:"middle",style:{cursor:"pointer"},scroll:(se==null?void 0:se.anonymous_comment)&&{x:1300},dataSource:dn,columns:Bo,onRow:(ce,ke)=>({onClick:()=>{var un,ru;(un=se.homework_status)!=null&&un.includes("\u5BFC\u5165")||(localStorage.setItem("commonhomeworkkey",JSON.stringify(fe)),(0,E.xg)(se.is_jupyter||se.is_jupyter_lab?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/${ce.id}/comment?page=${fe.page}`:fe.course_group?`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ce.id}?ids=${(ru=fe.course_group)==null?void 0:ru.toString()}&page=${fe.page}`:`/classrooms/${fe.coursesId}/common_homework/${fe.categoryId}/review/${ce.id}?page=${fe.page}`))}}),rowKey:"id",onChange:(ce,ke,un)=>{if(un.order===void 0)switch(un.field){case"student_id":fe.b_order="desc",fe.order=un.field;break;default:delete fe.b_order,delete fe.order}else fe.b_order=un.order.replace("end",""),fe.order=un.field;vu()}}))),Y.createElement("aside",{className:"tc mb50 mt30"},Y.createElement(L.Z,{showSizeChanger:!0,showQuickJumper:!0,onChange:Co,defaultCurrent:parseInt(fe.page)||1,current:parseInt(fe.page)||1,defaultPageSize:20,total:S.workList.work_count})),Y.createElement(Te,null),Y.createElement(f,null),Y.createElement(He.Z,{getData:vu}),Y.createElement(y.default,{title:"\u4E00\u952E\u8BC4\u9605",open:Bt,centered:!0,onOk:()=>{var ce,ke;if((0,r.Rm)()&&!((ke=(ce=C.AssistantObject)==null?void 0:ce.normal)!=null&&ke.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Le===1){if(yt!==0){if(!yt){h.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}}Gt(!1),On(!0)}else{if(!(Et===0||ct===0)){if(!Et){h.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Et>ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}Gt(!1),On(!0)}},onCancel:()=>{Gt(!1),xu()}},Y.createElement("div",{style:{padding:"32px"}},Y.createElement("div",null,Y.createElement("div",null,Y.createElement("span",{style:{width:"80px"}},"\u8BC4\u9605\u65B9\u5F0F\uFF1A"),Y.createElement(Z.ZP.Group,{value:Le,onChange:ce=>{Wt(ce.target.value)}},Y.createElement(Z.ZP,{value:1},"\u7EDF\u4E00\u5F97\u5206"),Y.createElement(Z.ZP,{value:2},"\u533A\u95F4\u968F\u673A\u5F97\u5206"))),Le===1&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u5F97\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:yt,onChange:ce=>rn(ce)})),Le===2&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:Et,onChange:ce=>de(ce),style:{width:"100px"}}),Y.createElement("span",{style:{width:"80px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:ct,onChange:ce=>Ue(ce),style:{width:"100px"}})),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px",textAlign:"end"}},"\u8BC4\u8BED\uFF1A"),Y.createElement(F.default.TextArea,{value:lt,onChange:ce=>dt(ce.target.value),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"})),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px",textAlign:"end"}},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1\uFF1A"),Y.createElement(F.default.TextArea,{value:Ot,onChange:ce=>Lt(ce.target.value),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Y.createElement(y.default,{title:"\u63D0\u793A",open:Fn,centered:!0,okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>pt(void 0,null,function*(){let ce={};Le===1?ce.score=yt||"0":(ce.min_score=Et||"0",ce.max_score=ct||"0"),ce.comment=lt,ce.hidden_comment=Ot,fn===1?ce.student_work_ids=dn.map(un=>un.id):ce.student_work_ids=dn.filter(un=>!un.has_comment).map(un=>un.id),(yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/batch_add_score.json`,{method:"post",body:ce})).status===0&&(h.ZP.info("\u4FEE\u6539\u6210\u529F"),On(!1),xu(),vu())}),onCancel:()=>{xu(),On(!1)}},Y.createElement("div",{style:{padding:"32px",textAlign:"center"}},Y.createElement("span",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),Y.createElement("br",null),Y.createElement(Z.ZP.Group,{value:fn,onChange:ce=>In(ce.target.value)},Y.createElement(Z.ZP,{value:1},"\u8986\u76D6\u5DF2\u6709\u8BC4\u8BBA"),Y.createElement(Z.ZP,{value:2},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4")))),Y.createElement(y.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:Rn,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>pt(void 0,null,function*(){if(fa(Pt),Le===2&&Zu.current){if(Qn.length<=0){h.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!lt){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ce=yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:fe.categoryId,comment:lt,status:Qn,course_group_ids:Zu.current}});ce.status===0&&(Ne(ce.course_group_count),Kt(ce),gn(!1),$n(!0))}else{if(!(Et===0||ct===0)){if(!Et){h.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Et>ct){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!lt){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ce=yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:fe.categoryId,comment:lt,min_score:Et,max_score:ct,course_group_ids:Zu.current}});ce.status===0&&(Ne(ce.course_group_count),Kt(ce),gn(!1),$n(!0))}}),onCancel:()=>{gn(!1),xu()}},Y.createElement("div",{style:{padding:"32px"}},Y.createElement("div",null,Y.createElement("div",{style:{display:"flex",marginBottom:"12px"}},Y.createElement("div",{style:{flexShrink:"0",marginRight:"15px"}}," ",Y.createElement("span",{style:{color:"red"}},"*"),"\u5206\u73ED\uFF1A"),Y.createElement("div",{className:Pt.length>15?Rt.scroll:"",style:{overflowX:"hidden"}},Pt==null?void 0:Pt.map((ce,ke)=>Y.createElement(b.default,{style:{textAlign:"left",margin:"0"},value:ce.course_group_id,key:ce.course_group_id,onChange:()=>{Ao(ce.course_group_id,Pt)},checked:ce.checked},ce.group_group_name,"(",ce.count,")")))),Y.createElement("div",null,Y.createElement("span",{style:{width:"80px"}}," ",Y.createElement("span",{style:{color:"red"}},"*"),"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Y.createElement(Z.ZP.Group,{value:Le,onChange:ce=>{Wt(ce.target.value)}},Y.createElement(Z.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Y.createElement(Z.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),Le===1&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:Et,onChange:ce=>de(ce),style:{width:"100px"}}),Y.createElement("span",{style:{width:"80px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Y.createElement(I.Z,{min:0,max:100,value:ct,onChange:ce=>Ue(ce),style:{width:"100px"}})),Le===2&&Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),Y.createElement(b.default.Group,{onChange:ce=>{ju([...ce])},style:{width:"100%"}},(Vt=se.task_status)==null?void 0:Vt.map((ce,ke)=>Y.createElement(b.default,{name:"task_status",value:ce.id},ce.name,"(",ce.count,")")))),Y.createElement("div",{style:{display:"flex",marginTop:"20px"}},Y.createElement("span",{style:{width:"70px",textAlign:"end"}},Y.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),Y.createElement(Bn.Z,{className:Rt.MdEditor,onChange:ce=>dt(ce),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Y.createElement(y.default,{open:ma,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>pt(void 0,null,function*(){Le===2?(yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:fe.categoryId,comment:lt,status:Qn,course_group_ids:Zu.current}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),xu(),vu(),$n(!1)):(yield(0,ne.ZP)(`/api/homework_commons/${fe.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:fe.categoryId,comment:lt,min_score:Et,max_score:ct,course_group_ids:Zu.current}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),xu(),vu(),$n(!1))}),onCancel:()=>{xu(),$n(!1)}},Y.createElement("div",{style:{padding:"32px"}},Le===1&&Y.createElement("span",null,"\u786E\u8BA4\u5C06\u9009\u4E2D\u7684",Ze,"\u4E2A\u73ED\u7EA7\u4E2D, \u6210\u7EE9\u5728",Et,"-",ct,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Le===2&&Y.createElement("span",null,"\u786E\u8BA4\u5C06",Ze,"\u4E2A\u73ED\u7EA7\u4E2D\u4F5C\u4E1A\u72B6\u6001\u5728",(cn=se.task_status)==null?void 0:cn.filter(ce=>Qn==null?void 0:Qn.includes(ce.id)).map(ce=>ce.name).toString(),"\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Y.createElement("br",null),Y.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",wu==null?void 0:wu.count,"\u540D\u5B66\u751F"))),Y.createElement(y.default,{open:pa,width:900,centered:!0,closeIcon:!1,footer:Y.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},Y.createElement("div",null,Y.createElement(z.ZP,{className:"mr20",style:{background:"none"},icon:Y.createElement("i",{className:"iconfont icon-yijiandianping"}),onClick:ce=>{var ke;if(ce.preventDefault(),(0,r.Rm)()&&!((ke=C.AssistantObject.normal)!=null&&ke.can_view)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Re.O5)()&&(0,E.xg)(`${na}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),Y.createElement("span",{className:"mr10"},"\u8C03\u5206"),Y.createElement(I.Z,{min:0,onChange:(0,a.debounce)(ce=>pt(void 0,null,function*(){var ke;if(rn(ce),(0,r.Rm)()&&!((ke=C.AssistantObject.normal)!=null&&ke.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,ne.ZP)(`/api/student_works/${we}/adjust_score.json`,{method:"post",body:{score:ce}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),_e({type:"shixunHomeworks/getWorkList",payload:ht({},fe)}))}),2e3)})),Y.createElement(z.ZP,{type:"primary",onClick:ce=>zu(!1)},"\u5173\u95ED")),onOk:()=>pt(void 0,null,function*(){}),onCancel:()=>{zu(!1)}},Y.createElement("div",{className:Rt.viewcode},Y.createElement("div",{className:Rt.lefttitle},"\u67E5\u770B\u4EE3\u7801"),Y.createElement("div",null,Y.createElement("span",{className:"mr10"},"\u6587\u4EF6\u8DEF\u5F84"),vt&&Y.createElement($.default,{style:{width:200},value:(Ke=vt[0])==null?void 0:Ke.path}," ",vt==null?void 0:vt.map(ce=>Y.createElement($.default.Option,{value:ce.path},ce.path))," "))),Y.createElement(j.Z,{spinning:ln},Y.createElement("iframe",{srcDoc:an,style:{border:"none",width:"910px",marginLeft:"-38px",height:"550px"}}))),Y.createElement(y.default,{width:675,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Yn,centered:!0,onCancel:()=>mu(!1),onOk:()=>{bu=="\u9644\u4EF6"?Xa(!1):bu=="\u6279\u6CE8"&&Xa(!0),mu(!1)}},Y.createElement(b.default,{checked:Hu,onChange:ce=>{Gn(ce.target.checked)}},"\u540C\u65F6\u5BFC\u51FA\u5B66\u751F\u63D0\u4EA4\u8BB0\u5F55"),Y.createElement("div",{className:Rt.export_type_modal_title},"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u9644\u4EF6\u7C7B\u578B"),Y.createElement("div",{className:Rt.export_type_modal},Y.createElement("div",{className:Rt.export_type_modal_con},Y.createElement("div",{className:`${Rt.type_item} ${bu=="\u9644\u4EF6"?Rt.type_item_active:""}`,onClick:()=>Nu("\u9644\u4EF6")},Y.createElement("div",{className:`${Rt.img_warp}`},Y.createElement("img",{src:Hn.Z,width:72,height:80})),Y.createElement("span",null,"\u5B66\u751F\u63D0\u4EA4\u7684\u9644\u4EF6")),Y.createElement("div",{className:`${Rt.type_item} ${bu=="\u6279\u6CE8"?Rt.type_item_active:""}`,onClick:()=>Nu("\u6279\u6CE8")},Y.createElement("div",{className:`${Rt.img_warp}`},Y.createElement("img",{src:_n.Z,width:99,height:80})),Y.createElement("span",null,"\u5305\u542B\u6279\u6CE8\u5185\u5BB9\u7684\u9644\u4EF6"))),Y.createElement("div",{className:Rt.export_type_modal_waring},"\u5982\u5B66\u751F\u672A\u4E0A\u4F20\u9644\u4EF6\uFF0C\u4EC5\u4F1A\u5BFC\u51FA\u8BE5\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u9898\u8BB0\u5F55"))),Y.createElement(wt,{title:kt==null?void 0:kt.title,open:(kt==null?void 0:kt.key)=="\u4F5C\u4E1A\u6982\u89C8",task_status:kt==null?void 0:kt.task_status,new_work_status:kt==null?void 0:kt.new_work_status,shixunHomeworks:S,destroyOnClose:!0,centered:!0,onCancel:()=>{eu()},footer:null,width:764,course_group:fe==null?void 0:fe.course_group}),Y.createElement(_u.Z,{visible:Kn,getData:vu,categoryId:fe.categoryId,onCancle:()=>{Ja(!1)}}))};var Ct=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:me})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:me}))(Qt),yn=s(3294),hn=s(85149),en=s(23765),vn=Object.defineProperty,En=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,Qu=(S,C,v)=>C in S?vn(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Ea=(S,C)=>{for(var v in C||(C={}))nu.call(C,v)&&Qu(S,v,C[v]);if(En)for(var v of En(C))yu.call(C,v)&&Qu(S,v,C[v]);return S},Yu=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const aa=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)();return n.createElement(y.default,{centered:!0,title:"\u63D0\u793A",open:S.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Yu(void 0,null,function*(){(yield C({type:"shixunHomeworks/deleteReply",payload:{object_id:S.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(h.ZP.success("\u5220\u9664\u6210\u529F"),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getReplyList",payload:Ea({},S.actionTabs.params)}))}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var ga=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(aa),Gu=s(49692),su=s(26227),Ou=s(63524),fu={flex_box_center:"flex_box_center___eQbfr",flex_space_between:"flex_space_between___yYxed",flex_box_vertical_center:"flex_box_vertical_center___hnVLv",flex_box_center_end:"flex_box_center_end___dJtsJ",flex_box_column:"flex_box_column___bbLAL",top:"top___wdmbO",desc:"desc___io462",liked:"liked___lE9CL",likedActive:"likedActive____w2_o",reply:"reply___BEzBQ",replyList:"replyList___m4VYn",comment:"comment___bM8aM",headpic:"headpic___qQASP"},Ft=s(59301),ra=Object.defineProperty,Su=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,va=(S,C,v)=>C in S?ra(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,uu=(S,C)=>{for(var v in C||(C={}))la.call(C,v)&&va(S,v,C[v]);if(Su)for(var v of Su(C))$a.call(C,v)&&va(S,v,C[v]);return S},Au=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});i().locale("ZH-cn");const er=({shixunHomeworks:S,classroomList:C,user:v,globalSetting:me,loading:pe,dispatch:he})=>{const[_e,Ae]=(0,n.useState)(uu({},(0,W.useParams)())),[ue,Ie]=(0,n.useState)(!1),[ge,oe]=(0,n.useState)(-1),[$e,ft]=(0,n.useState)(""),[ee,je]=(0,n.useState)(""),{workList:nt}=S,{detailLeftMenus:it}=C,{replyList:Ee,workDetail:Je}=S;_e.page_size=10,(0,n.useEffect)(()=>{he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)}),it.course_modules||he({type:"classroomList/getClassroomLeftMenus",payload:uu({},_e)})},[_e.categoryId]);const q=Ve=>{Ve=Ve!=null&&Ve.includes(".json")?Ve:`${Ve}.json`,y.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ft.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Au(void 0,null,function*(){var tt;const N=yield(0,Gu.$Q)({url:Ve});if(!N)return;h.ZP.success("\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE");const It=yield(0,Gu.Ir)({id:N.shixun_identifier});if(It!=null&&It.game_identifier){(tt=W.history)==null||tt.push(`/tasks/${It.game_identifier}`);return}(It==null?void 0:It.status)===2?q(It==null?void 0:It.message):(It==null?void 0:It.status)===3&&_t(It==null?void 0:It.message)})})},_t=Ve=>{y.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ft.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ve,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return Ft.createElement("section",{className:fu.bg},Ft.createElement(j.Z,{spinning:pe["shixunHomeworks/getWorkDetail"]},Ft.createElement("section",{className:""},Ft.createElement("aside",{className:[fu.desc,"c-black","font14","bg-white"].join(" ")},S.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&Ft.createElement("div",null,Ft.createElement(hn.Z,{value:(Je==null?void 0:Je.description)||"\u6682\u65E0\uFF5E"})),Ft.createElement(en.Z,{authority:(0,r.GJ)(),showDimensions:!1,dataSource:Je==null?void 0:Je.attachments,callback:()=>{he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)})}}),S.actionTabs.key==="\u7F16\u8F91\u4F5C\u4E1A"&&Ft.createElement("aside",{className:["bg-white"].join(" ")},Ft.createElement(Bn.Z,{onChange:Ve=>{ft(Ve)},defaultValue:Je==null?void 0:Je.explanation,height:200,isFocus:!0,watch:!0}),Ft.createElement(g.Z,null,Ft.createElement(l.Z,{span:24,className:"tr"},Ft.createElement(z.ZP,{type:"default",size:"middle",onClick:()=>Au(void 0,null,function*(){he({type:"shixunHomeworks/setActionTabs",payload:{key:""}})})},"\u53D6\u6D88"),Ft.createElement(z.ZP,{type:"primary",size:"middle",className:"ml20",onClick:()=>Au(void 0,null,function*(){$e===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/updateWork",payload:{explanation:$e,categoryId:_e.categoryId}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),he({type:"shixunHomeworks/getWorkDetail",payload:uu({},_e)}))})},"\u4FDD\u5B58"))))),Ft.createElement("aside",{className:[fu.reply,"bg-white","mt20"].join(" ")},ue&&Ft.createElement(Bn.Z,{onChange:Ve=>{ft(Ve)},height:200,isFocus:!0,watch:!0}),Ft.createElement(g.Z,{onClick:()=>{Ie(!0)}},Ft.createElement(l.Z,{flex:"1",style:{pointerEvents:"none"}},!ue&&Ft.createElement(F.default,{size:"middle",className:"current",placeholder:"\u8BF4\u70B9\u4EC0\u4E48",disabled:!0})),Ft.createElement(l.Z,null,Ft.createElement(z.ZP,{type:"primary",size:"middle",onClick:()=>Au(void 0,null,function*(){if((0,r.Rm)()&&!C.AssistantObject.normal.can_create){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$e===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:_e.categoryId,jour_type:"HomeworkCommon",reply_id:1,notes:$e}}})).status===0&&(h.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),Ie(!1),ft(""))})},"\u53D1\u8868")))),(Ee==null?void 0:Ee.comments)&&Ee.comments!=""&&Ft.createElement("aside",{className:[fu.replyList,"bg-white"].join(" ")},Ft.createElement(j.Z,{spinning:pe["shixunHomeworks/getReplyList"]},Ee==null?void 0:Ee.comments.map(function(Ve,tt){var N,It,Ge,mt;return Ft.createElement(g.Z,{gutter:[12,12],key:tt},Ft.createElement(l.Z,{flex:"40px"},Ft.createElement("img",{className:fu.headpic,width:"40",src:`${yn.Z.IMG_SERVER}/images/${(N=Ve==null?void 0:Ve.author)==null?void 0:N.image_url}`})),Ft.createElement(l.Z,{flex:"1"},Ft.createElement(g.Z,{align:"middle"},Ft.createElement(l.Z,{span:20},Ft.createElement("span",{className:"c-light-black"},(It=Ve==null?void 0:Ve.author)==null?void 0:It.name),Ft.createElement("span",{className:"c-light-black ml10"},Ve==null?void 0:Ve.time," \u53D1\u5E03")),Ft.createElement(l.Z,{className:"tr",span:4},((0,r.GJ)()||((Ge=v==null?void 0:v.userInfo)==null?void 0:Ge.login)===((mt=Ve==null?void 0:Ve.author)==null?void 0:mt.login))&&Ft.createElement(D.Z,{title:"\u5220\u9664"},Ft.createElement(su.Z,{className:"current",onClick:()=>{he({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:_e,selectArr:Ve}})}}))),Ft.createElement(l.Z,{span:24},Ft.createElement(hn.Z,{value:Ve.content})),Ve.children&&Ft.createElement("aside",{className:fu.comment},Ve.children.map(function(Vt,cn){var Ke,Zt;return Ft.createElement(g.Z,{key:cn},Ft.createElement(l.Z,{span:24},Ft.createElement(g.Z,null,Ft.createElement(l.Z,{flex:"1"},Vt.author.name,Ft.createElement("span",{className:"c-light-black ml10"},Vt==null?void 0:Vt.time)),Ft.createElement(l.Z,null,((0,r.GJ)()||((Ke=v==null?void 0:v.userInfo)==null?void 0:Ke.login)===((Zt=Vt==null?void 0:Vt.author)==null?void 0:Zt.login))&&Ft.createElement(D.Z,{title:"\u5220\u9664"},Ft.createElement(su.Z,{className:"current",onClick:()=>{he({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:_e,selectArr:Vt}})}}))))),Ft.createElement(l.Z,null,Ft.createElement(hn.Z,{value:Vt.content})))})),Ft.createElement(l.Z,{span:24,className:"mt5 c-light-black"},ge===tt&&Ft.createElement("aside",null,Ft.createElement(Bn.Z,{onChange:Vt=>{je(Vt)},height:150,isFocus:!0}),Ft.createElement(g.Z,null,Ft.createElement(l.Z,{span:24,className:"tr"},Ft.createElement(z.ZP,{type:"primary",size:"middle",onClick:()=>Au(this,null,function*(){ee===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield he({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:_e.categoryId,jour_type:"HomeworkCommon",m_parent_id:Ve.id,reply_id:1,notes:ee}}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)}),h.ZP.success("\u53D1\u5E03\u6210\u529F"),oe(-1))})},"\u53D1\u8868")))),ge!==tt&&Ft.createElement("div",{className:"tr"},Ft.createElement("span",{className:"iconfont icon-huifu1 mr5 ml30",onClick:()=>oe(tt)}),!!Ve.user_praise&&Ft.createElement("span",{className:"c-orange"},Ft.createElement(Ou.Z,{className:"mr5 ml30",onClick:()=>Au(this,null,function*(){yield he({type:"shixunHomeworks/replyUnLike",payload:{object_id:Ve.id,object_type:"journals_for_message"}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})})}),!!Ve.praise_count&&Ve.praise_count),!Ve.user_praise&&Ft.createElement("span",null,Ft.createElement(Ou.Z,{className:"mr5 ml30",onClick:()=>Au(this,null,function*(){yield he({type:"shixunHomeworks/replyLike",payload:{object_id:Ve.id,object_type:"journals_for_message"}}),he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})})}),!!Ve.praise_count&&Ve.praise_count))))))}))))),Ft.createElement("aside",{className:"tc mt30 pb30"},Ft.createElement(L.Z,{defaultCurrent:1,total:Ee==null?void 0:Ee.messages_count,hideOnSinglePage:!0,current:_e.page||1,onChange:Ve=>{_e.page=Ve,he({type:"shixunHomeworks/getReplyList",payload:uu({},_e)})}})),Ft.createElement(ga,null))};var tr=(0,W.connect)(({shixunHomeworks:S,classroomList:C,user:v,loading:me,globalSetting:pe})=>({shixunHomeworks:S,globalSetting:pe,user:v,classroomList:C,loading:me.effects}))(er),nr=Object.defineProperty,ha=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,Fa=(S,C,v)=>C in S?nr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,_a=(S,C)=>{for(var v in C||(C={}))ur.call(C,v)&&Fa(S,v,C[v]);if(ha)for(var v of ha(C))ar.call(C,v)&&Fa(S,v,C[v]);return S};i().locale("ZH-cn");const rr=({shixunHomeworks:S,classroomList:C,globalSetting:v,loading:me,dispatch:pe})=>{var he,_e;const Ae=(0,W.useParams)(),{detailLeftMenus:ue}=C,{replyList:Ie,referenceAnswer:ge}=S;return Ae.page_size=10,(0,n.useEffect)(()=>{pe({type:"shixunHomeworks/getReplyList",payload:_a({},Ae)}),pe({type:"shixunHomeworks/getReferenceAnswer",payload:{coursesId:Ae.categoryId}}),ue.course_modules||pe({type:"classroomList/getClassroomLeftMenus",payload:_a({},Ae)})},[Ae.categoryId]),n.createElement("section",{className:"pb30 bg-white pl30 pr30 pt30"},n.createElement("aside",{className:["c-black","font14"].join(" ")},n.createElement("div",null,(ge==null?void 0:ge.reference_answer)&&n.createElement(hn.Z,{value:ge==null?void 0:ge.reference_answer}),!(ge!=null&&ge.reference_answer)&&!((he=ge.attachments)!=null&&he.length)&&n.createElement(Q.Z,null)),(_e=ge==null?void 0:ge.attachments)==null?void 0:_e.map((oe,$e)=>n.createElement("div",null,n.createElement("a",{href:`${yn.Z.API_SERVER}${oe.url}`},n.createElement("span",{className:"iconfont icon-fujian c-green font14"}),n.createElement("span",{className:"ml10 c-black"},oe.title),n.createElement("span",{className:"c-light-black ml20 font12"},oe.filesize))))))};var lr=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,globalSetting:me})=>({shixunHomeworks:S,globalSetting:me,classroomList:C,loading:v.effects}))(rr),or=s(16133),sr=s(12393),An=s(89529),Un=s(59301),Ku=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const ir=({shixunHomeworks:S,loading:C,dispatch:v})=>{var me,pe;const[he,_e]=(0,n.useState)(!0),[Ae,ue]=(0,n.useState)(!1),[Ie,ge]=(0,n.useState)([]),[oe,$e]=(0,n.useState)([]),[ft,ee]=(0,n.useState)([]),[je,nt]=(0,n.useState)([]),[it,Ee]=(0,n.useState)(""),Je=(0,W.useParams)();function q(){return Ku(this,null,function*(){let tt=yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators.json`,{method:"get"});$e(tt)})}function _t(){return Ku(this,null,function*(){var tt;let N=yield(0,ne.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/teachers`,{method:"get",params:{homework_id:Je.categoryId,limit:1e3}});(tt=N==null?void 0:N.teacher_list)==null||tt.map(It=>{It.key=It.user_id}),ee(N==null?void 0:N.teacher_list),nt(N==null?void 0:N.teacher_list)})}(0,n.useEffect)(()=>{q(),((0,r.G5)()||(0,r.Rm)())&&_t()},[Je]);const Ve=()=>{};return Un.createElement("section",{className:An.Z.form},Un.createElement(g.Z,{className:An.Z.content,style:{padding:"20px 30px",gap:20}},(me=oe==null?void 0:oe.data)==null?void 0:me.map(tt=>Un.createElement(g.Z,{align:"middle",className:`${An.Z.borderSty} ${it===(tt==null?void 0:tt.id)?An.Z.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Un.createElement("span",{className:"c-grey-333"},tt==null?void 0:tt.real_name),(oe==null?void 0:oe.can_edit)&&Un.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${An.Z.delSty}`,onMouseEnter:()=>{Ee(tt.id)},onMouseLeave:()=>{Ee("")},onClick:()=>Ku(void 0,null,function*(){(yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:tt.id}})).status===0&&(h.ZP.info("\u5220\u9664\u6210\u529F"),q(),_t())})}))),(oe==null?void 0:oe.can_edit)&&Un.createElement(z.ZP,{className:An.Z.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>ue(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005"),!(oe!=null&&oe.can_edit)&&!((pe=oe==null?void 0:oe.data)!=null&&pe.length)&&Un.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005")),Un.createElement(y.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ae,onCancel:()=>ue(!1),onOk:()=>Ku(void 0,null,function*(){if(Ie.length===0){h.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}(yield(0,ne.ZP)(`/api/homework_commons/${Je.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Ie}})).status===0&&(h.ZP.info("\u6DFB\u52A0\u6210\u529F"),ge([]),q(),_t(),ue(!1))})},Un.createElement("div",null,Un.createElement("div",{style:{display:"flex"}},Un.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Un.createElement(F.default.Search,{onChange:tt=>{ee(je.filter(N=>N.name.indexOf(tt.target.value)>-1))}})),Un.createElement(x.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(tt,N)=>{ge(tt)},selectedRowKeys:Ie,getCheckboxProps:tt=>({disabled:tt.is_collaborator})},pagination:!1,dataSource:ft,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var cr=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(ir),Vu=s(78673),dr=s(81327),mr=s(32134),pr=s(12893),fr=s(97177),Xe=s(59301),Er=Object.defineProperty,gr=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,Aa=(S,C,v)=>C in S?Er(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Tn=(S,C)=>{for(var v in C||(C={}))hr.call(C,v)&&Aa(S,v,C[v]);if(ya)for(var v of ya(C))Fr.call(C,v)&&Aa(S,v,C[v]);return S},Ju=(S,C)=>gr(S,vr(C)),oa=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const _r=({shixunHomeworks:S,loading:C,globalSetting:v,user:me,dispatch:pe})=>{var he,_e,Ae,ue,Ie;const ge=(0,W.useParams)(),oe=(0,W.useLocation)(),{verifyModelUser:$e,ContactModalElement:ft}=(0,fr.Z)(),{workSetting:ee,workList:je}=S,[nt,it]=(0,n.useState)(!0),[Ee]=c.default.useForm(),[Je,q]=(0,n.useState)(!1),[_t,Ve]=(0,n.useState)(!1),[tt,N]=(0,n.useState)(!1),[It,Ge]=y.default.useModal();let[mt,Vt]=(0,n.useState)([{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}]),[cn,Ke]=(0,n.useState)([]),[Zt,fe]=(0,n.useState)([]),[ze,se]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,teacher_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",is_repeat_minus:"",repeat_setting_score:"",repeat_limit:"",single_score:!0,score_details:[{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}],is_open_ai_review:!1});const kt=((he=je==null?void 0:je.homework_status)==null?void 0:he.includes("\u533F\u8BC4\u4E2D"))||((_e=je==null?void 0:je.homework_status)==null?void 0:_e.includes("\u7533\u8BC9\u4E2D")),tn=((Ae=je==null?void 0:je.homework_status)==null?void 0:Ae.includes("\u533F\u8BC4\u4E2D"))||((ue=je==null?void 0:je.homework_status)==null?void 0:ue.includes("\u7533\u8BC9\u4E2D"))||((Ie=je==null?void 0:je.homework_status)==null?void 0:Ie.includes("\u5DF2\u622A\u6B62"));(0,n.useEffect)(()=>{},[]),(0,n.useEffect)(()=>{it(!(ee!=null&&ee.can_edit))},[ee]),(0,n.useEffect)(()=>{ee!=null&&ee.course_id&&(Object.keys(ze).map(function(Ue){Ue.indexOf("proportion")>-1&&(ee[Ue]=(ee[Ue]*100).toFixed(0)),ze[Ue]=ee[Ue]}),(!ze.allow_late||!ze.unified_late)&&(ze.late_penalty=5),cn=JSON.parse(JSON.stringify(ee.group_settings.map(Ue=>Ju(Tn({},Ue),{group_name:[Ue.group_name]})).filter(Ue=>Ue.publish_time!==null))),Zt=JSON.parse(JSON.stringify(ee.allow_late_settings.map(Ue=>Ju(Tn({},Ue),{group_name:[Ue.group_name]})).filter(Ue=>Ue.late_time!==null))),mt=JSON.parse(JSON.stringify(ee.score_details.map(Ue=>Tn({},Ue)))),se(Tn({},ze)),Vt([...mt]),Ke([...cn]),fe([...Zt]))},[ee]);const dn=()=>{pe({type:"shixunHomeworks/getWorkSetting",payload:Tn({},ge)})},rt=()=>oa(void 0,null,function*(){Ve(!0);let Ue=!1;if(mt==null||mt.find(de=>{if(de.name===""||de.score===""){Ue=!0;return}}),Ue)return;if(rn().toFixed(2)!=100){h.ZP.warning("\u6574\u4E2A\u4F5C\u4E1A\u6700\u7EC8\u7684\u6EE1\u5206\u503C\u5FC5\u987B\u4E3A100\u5206");return}if(ct(mt)){h.ZP.warning("\u7EF4\u5EA6\u540D\u79F0\u4E0D\u80FD\u91CD\u590D");return}const Et=JSON.parse(JSON.stringify(ze));if(Et.categoryId=ge.categoryId,ze.unified_setting||cn==null||cn.map(de=>{var lt,dt;if(!de.publish_time||!de.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!de.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");de.group_name=typeof(de==null?void 0:de.group_name)=="string"?[de==null?void 0:de.group_name]:de==null?void 0:de.group_name,console.log("item:0",de,ee.group_settings,cn),de.group_id=(dt=(lt=de==null?void 0:de.group_name)==null?void 0:lt.map(Ot=>{var Lt,Bt;let Gt=(Bt=(Lt=ee.group_settings)==null?void 0:Lt.filter(fn=>(fn==null?void 0:fn.group_name)===Ot))==null?void 0:Bt[0];return console.log("d:",Gt,Ot),Gt==null?void 0:Gt.group_id}))==null?void 0:dt.toString().split(",")}),Et.group_settings=cn,Et.score_details=mt,ze.allow_late)if(ze.unified_late){if(ze.late_penalty===null||ze.late_penalty===void 0||ze.late_penalty<0||ze.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ze.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Zt=Zt==null?void 0:Zt.map(de=>{var lt,dt;if(de.late_penalty===null||de.late_penalty===void 0||de.late_penalty<0||de.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!de.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!de.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return de.group_name=typeof(de==null?void 0:de.group_name)=="string"?[de==null?void 0:de.group_name]:de==null?void 0:de.group_name,de.group_id=(dt=(lt=de==null?void 0:de.group_name)==null?void 0:lt.map(Ot=>{var Lt,Bt;let Gt=(Bt=(Lt=ee.group_settings)==null?void 0:Lt.filter(fn=>(fn==null?void 0:fn.group_name)===Ot))==null?void 0:Bt[0];return Gt==null?void 0:Gt.group_id}))==null?void 0:dt.toString().split(","),de}),Et.allow_late_settings=Zt;Object.keys(Et).map(function(de){de.indexOf("proportion")>-1&&(Et[de]=Et[de]/100)}),JSON.stringify(mt)!==JSON.stringify(ee==null?void 0:ee.score_details)||(ee==null?void 0:ee.single_score)!=(ze==null?void 0:ze.single_score)?(y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",centered:!0,icon:null,content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u8BC4\u5206\u7EF4\u5EA6\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",onOk:()=>oa(void 0,null,function*(){(yield(0,ne.ZP)(`/api/homework_commons/${ge.categoryId}/score_setting_with_normal.json`,{method:"post",body:Tn({},Et)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ee!=null&&ee.have_repeated&&((ee==null?void 0:ee.is_repeat_minus)!==(ze==null?void 0:ze.is_repeat_minus)||(ee==null?void 0:ee.repeat_setting_score)!==(ze==null?void 0:ze.repeat_setting_score)||(ee==null?void 0:ee.repeat_limit)!==(ze==null?void 0:ze.repeat_limit))&&y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u67E5\u91CD\u6263\u5206\u89C4\u5219\uFF0C\u9700\u8981\u91CD\u65B0\u67E5\u91CD\u624D\u80FD\u751F\u6548\uFF0C\u751F\u6548\u540E\u6210\u7EE9\u5C06\u8986\u76D6\u6210\u6700\u65B0\u7684\u6210\u7EE9",cancelText:"\u53D6\u6D88",okText:"\u7ACB\u5373\u67E5\u91CD",onOk:()=>{pe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:ge}})}}),dn(),pe({type:"shixunHomeworks/getWorkList",payload:Tn({},ge)}))})}),N(!0)):(yield(0,ne.ZP)(`/api/homework_commons/${ge.categoryId}/score_setting_with_normal.json`,{method:"post",body:Tn({},Et)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ee!=null&&ee.have_repeated&&((ee==null?void 0:ee.is_repeat_minus)!==(ze==null?void 0:ze.is_repeat_minus)||(ee==null?void 0:ee.repeat_setting_score)!==(ze==null?void 0:ze.repeat_setting_score)||(ee==null?void 0:ee.repeat_limit)!==(ze==null?void 0:ze.repeat_limit))&&y.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u67E5\u91CD\u6263\u5206\u89C4\u5219\uFF0C\u9700\u8981\u91CD\u65B0\u67E5\u91CD\u624D\u80FD\u751F\u6548\uFF0C\u751F\u6548\u540E\u6210\u7EE9\u5C06\u8986\u76D6\u6210\u6700\u65B0\u7684\u6210\u7EE9",cancelText:"\u53D6\u6D88",okText:"\u7ACB\u5373\u67E5\u91CD",onOk:()=>{pe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:ge}})}}),dn(),pe({type:"shixunHomeworks/getWorkList",payload:Tn({},ge)}))}),Le=Xe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Xe.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - ( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Xe.createElement("br",null),Xe.createElement("br",null),"\u6CE8\u610F\uFF1A",Xe.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6\u8BC4\u5206\u9009\u9879\u4E0A\u3002",Xe.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),Wt=Xe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Xe.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% - ( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Xe.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),yt=Ue=>Ue&&Uemt.reduce((Ue,Et)=>Et.score!==""?Ue+Et.score:Ue,0);function ct(Ue){return Ue.some((Et,de)=>Ue.find((dt,Ot)=>dt.name===Et.name&&Ot!==de)!==void 0)}return Xe.createElement("section",{className:An.Z.form},!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement(Xe.Fragment,null,Xe.createElement("div",{className:An.Z.title},"\u667A\u80FD\u8BC4\u9605"),Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Xe.createElement(Vu.Z,{checked:ze==null?void 0:ze.is_open_ai_review,onChange:Ue=>{$e()&&se(Ju(Tn({},ze),{is_open_ai_review:Ue}))}}),Xe.createElement("span",{style:{color:"#333333",margin:"0 10px",fontWeight:"600"}},"\u667A\u80FD\u8BC4\u9605"),Xe.createElement("span",{style:{color:"#CA7720",marginRight:"10px"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u5C31\u53EF\u4EE5\u4F7F\u7528\u667A\u80FD\u8BC4\u9605\u529F\u80FD\uFF0C\u8BA9AI\u52A9\u6559\u5E2E\u52A9\u4F60\u6253\u5206\u548C\u5199\u8BC4\u8BED\uFF09"),Xe.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/38915"},"\u64CD\u4F5C\u8BF4\u660E"))),!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement(Xe.Fragment,null,Xe.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:"30px"}},Xe.createElement("div",{className:An.Z.title},"\u8BC4\u5206\u7EF4\u5EA6"),!ze.single_score&&Xe.createElement("div",{style:{marginLeft:"auto"}},Xe.createElement("span",{style:{color:"#666666"},className:"mr10"},"\u5F53\u524D\u6EE1\u5206"),Xe.createElement("span",{style:{color:"#E30000"}},rn().toFixed(2),"\u5206"))),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:ze==null?void 0:ze.single_score,onChange:Ue=>{ze.single_score=Ue.target.value,se(Tn({},ze))}},Xe.createElement(Z.ZP,{value:!0},Xe.createElement("span",{style:{color:"#000",marginRight:"40px"}},"\u5355\u7EF4\u5EA6\u8BC4\u5206")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:!1},Xe.createElement("span",{style:{color:"#000"}},"\u591A\u7EF4\u5EA6\u8BC4\u5206"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6559\u5E08\u548C\u52A9\u6559\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u9700\u4F9D\u636E\u9884\u8BBE\u7684\u591A\u4E2A\u8BC4\u5206\u7EF4\u5EA6\u8FDB\u884C\u8BC4\u5206\uFF09"))),!ze.single_score&&Xe.createElement(g.Z,{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},mt==null?void 0:mt.map((Ue,Et)=>Xe.createElement(dr.Z,{style:{display:"flex",alignItems:"center",fontSize:14,marginBottom:Et==(mt==null?void 0:mt.length)-1?"0px":"10px"},align:"baseline"},Xe.createElement("span",{style:{marginLeft:"173px",marginRight:"10px"}},"\u7EF4\u5EA6\u540D\u79F0"),Xe.createElement(F.default,{disabled:nt,placeholder:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u540D\u79F0",style:{width:470},size:"large",showCount:!0,maxLength:10,value:Ue==null?void 0:Ue.name,onChange:de=>{mt[Et].name=de.target.value.trim(),Vt([...mt])}}),Xe.createElement("span",{className:"mr10",style:{marginLeft:10}},"\u6EE1\u5206"),Xe.createElement(I.Z,{placeholder:"\u8BF7\u8F93\u5165\u6EE1\u5206\u5206\u503C",style:{width:180,marginRight:10},size:"large",min:.01,max:100,value:Ue==null?void 0:Ue.score,disabled:nt,onChange:de=>{console.log(de),de?(mt[Et].score=Number(de.toFixed(2)),Vt([...mt])):(mt[Et].score="",Vt([...mt]))}}),(mt==null?void 0:mt.length)<5&&!nt&&Xe.createElement(mr.Z,{onClick:()=>{Vt([...mt,{name:"",score:""}])},style:{color:"#2FA34F",marginRight:15}}),Et>1&&!nt&&Xe.createElement(pr.Z,{onClick:()=>{mt.splice(Et,1),console.log(mt),Vt([...mt])},style:{color:"#E30000"}}),!mt[Et].name&&_t&&Xe.createElement("div",{className:An.Z.tip1},"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u540D\u79F0"),!mt[Et].score&&_t&&Xe.createElement("div",{className:An.Z.tip2},"\u8BF7\u8F93\u5165\u6EE1\u5206\u5206\u503C"))))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6559\u5E08\u8BC4\u5206"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:ze.teacher_mode,onChange:Ue=>{ze.teacher_mode=Ue.target.value,se(Tn({},ze))}},Xe.createElement(Z.ZP,{value:1,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5E73\u5747\u8BC4\u5206\u6A21\u5F0F")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:0},Xe.createElement("span",{style:{color:"#000000"}},"\u6700\u7EC8\u8BC4\u5206\u6A21\u5F0F"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u4EE5\u6700\u540E\u4E00\u4F4D\u6559\u5E08\u8BC4\u5206\u7684\u5206\u6570\u4E3A\u51C6\uFF09"))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u52A9\u6559\u8BC4\u5206"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:ze.ta_mode,onChange:Ue=>{ze.ta_mode=Ue.target.value,se(Tn({},ze))}},Xe.createElement(Z.ZP,{value:1,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5E73\u5747\u8BC4\u5206\u6A21\u5F0F")),Xe.createElement("br",null),Xe.createElement(Z.ZP,{value:0},Xe.createElement("span",{style:{color:"#000000"}},"\u6700\u7EC8\u8BC4\u5206\u6A21\u5F0F"),Xe.createElement("span",{style:{color:"#666"}},"\uFF08\u4EE5\u6700\u540E\u4E00\u4F4D\u52A9\u6559\u8BC4\u5206\u7684\u5206\u6570\u4E3A\u51C6\uFF09"))),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6700\u7EC8\u6210\u7EE9\u6743\u91CD"),Xe.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:nt,value:ze.final_mode,onChange:Ue=>{ze.final_mode=Ue.target.value,se(Tn({},ze))}},Xe.createElement(Z.ZP,{value:!0,style:{marginRight:"40px"}},Xe.createElement("span",{style:{color:"#000000"}},"\u5355\u9879\u8BC4\u5206\u4F18\u5148")),Xe.createElement(Z.ZP,{value:!1},Xe.createElement("span",{style:{color:"#000000"}},"\u591A\u9879\u8BC4\u5206\u914D\u6BD4"))),ze.final_mode&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",alignItems:"center",marginTop:"1px"}},Xe.createElement("div",{style:{marginLeft:"24px",color:"#333333"}},"\u8BC4\u5206\u4F18\u5148\u7EA7\uFF1A\u6559\u5E08\u8BC4\u5206\u2192\u52A9\u6559\u8BC4\u5206\u2192\u533F\u8BC4\u8BC4\u5206"),Xe.createElement("div",{style:{marginLeft:"24px",color:"#333333",marginTop:20}},"\u89C4\u5219\u8BF4\u660E\uFF1A\u82E5\u5B58\u5728\u6559\u5E08\u8BC4\u5206\uFF0C\u5219\u4EC5\u4EE5\u6559\u5E08\u8BC4\u5206\u4E3A\u51C6\uFF1B\u82E5\u65E0\u6559\u5E08\u8BC4\u5206\uFF0C\u5219\u4F9D\u6B21\u8003\u8651\u52A9\u6559\u8BC4\u5206\u548C\u533F\u8BC4\u8BC4\u5206\uFF0C\u53D6\u6700\u9AD8\u4F18\u5148\u7EA7\u7684\u8BC4\u5206\u4F5C\u4E3A\u6700\u7EC8\u6210\u7EE9\u3002")),!ze.final_mode&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},Xe.createElement("div",{style:{marginLeft:"60px"}},"\u6559\u5E08\u8BC4\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 30px 0 10px"},value:ze.te_proportion,onChange:Ue=>{ze.te_proportion=Ue,se(Object.assign({},ze))}}),Xe.createElement("div",null,"\u52A9\u6559\u8BC4\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 30px 0 10px"},value:ze.ta_proportion,onChange:Ue=>{ze.ta_proportion=Ue,se(Object.assign({},ze))}}),Xe.createElement("div",null,"\u5B66\u751F\u533F\u8BC4"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"%",style:{width:"110px",margin:"0 0 0 10px"},value:ze.st_proportion,onChange:Ue=>{ze.st_proportion=Ue,se(Object.assign({},ze))}}),Xe.createElement("div",{style:{color:"#666"}},"\uFF08\u6309\u7167\u8BC4\u5206\u9879\u5360\u6BD4\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09")),Xe.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u6587\u6863\u67E5\u91CD\u6263\u5206"),!(je!=null&&je.is_jupyter||je!=null&&je.is_jupyter_lab)&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px"}},Xe.createElement(b.default,{disabled:nt,onChange:Ue=>{se(Et=>Ju(Tn({},Et),{is_repeat_minus:Ue.target.checked}))}},"\u6587\u6863\u67E5\u91CD\u6263\u5206"),Xe.createElement("span",{style:{fontSize:"14px",color:"#666"}},"\uFF08\u5F00\u542F\u5E76\u4F7F\u7528\u6587\u6863\u67E5\u91CD\u540E\uFF0C\u5C06\u6309\u7167\u89C4\u5219\u6263\u9664\u4F5C\u4E1A\u91CD\u590D\u5B66\u751F\u5206\u6570\uFF09")),(ze==null?void 0:ze.is_repeat_minus)&&Xe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Xe.createElement("div",{style:{marginLeft:"54px"}},"\u67E5\u91CD\u6263\u5206"),Xe.createElement(I.Z,{disabled:nt,min:0,max:100,size:"large",addonAfter:"\u5206",style:{margin:"0 10px",width:"120px"},value:ze.repeat_setting_score,onChange:Ue=>{ze.repeat_setting_score=Ue,se(Object.assign({},ze))}}),Xe.createElement("div",{style:{color:"#666666"}},"\u5B66\u751F\u5B9E\u9645\u6263\u5206=\u67E5\u91CD\u6263\u5206x\u76F8\u4F3C\u5EA6\u6BD4"),Xe.createElement("div",{style:{marginLeft:"50px"}},"\u6263\u5206\u9600\u503C"),Xe.createElement(I.Z,{disabled:nt,value:ze.repeat_limit,size:"large",addonAfter:"%",style:{margin:"0 10px",width:"120px"},onChange:Ue=>{ze.repeat_limit=Ue,se(Object.assign({},ze))}}),Xe.createElement("div",{style:{color:"#666666"}},"\u5B66\u751F\u76F8\u4F3C\u5EA6\u4F4E\u4E8E\u8FD9\u4E2A\u9608\u503C\u5219\u4E0D\u6263\u5206")),!nt&&Xe.createElement(Xe.Fragment,null,Xe.createElement(z.ZP,{type:"primary",size:"large",className:"mr20",style:{width:"138px",marginTop:"30px"},onClick:rt},"\u4FDD\u5B58"),Xe.createElement(z.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>q(!0)},"\u8BBE\u7F6E\u9ED8\u8BA4\u8BC4\u5206")),Xe.createElement(y.default,{open:Je,title:"\u662F\u5426\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u8BC4\u5206\uFF1F",centered:!0,width:470,onCancel:()=>{q(!1)},onOk:()=>oa(void 0,null,function*(){const Ue=JSON.parse(JSON.stringify(ze));Object.keys(Ue).map(function(de){de.indexOf("proportion")>-1&&(Ue[de]=Ue[de]/100)}),(yield(0,ne.ZP)(`/api/courses/${ge.coursesId}/homework_commons/set_default_score_setting.json`,{method:"post",body:{homework_type:1,score_settings:Ue}})).status===0&&(h.ZP.success("\u8BBE\u7F6E\u6210\u529F"),q(!1))})},Xe.createElement("div",null,"\u60A8\u662F\u5426\u8981\u5C06\u5F53\u524D\u8BC4\u5206\u89C4\u5219\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u89C4\u5219\uFF0C\u8BE5\u9ED8\u8BA4\u89C4\u5219\u4EC5\u5E94\u7528\u4E8E\u60A8\u540E\u7EED\u65B0\u5EFA\u7684\u4F5C\u4E1A\uFF0C\u4E14\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u8001\u5E08\u65B0\u5EFA\u4F5C\u4E1A\u7684\u8BC4\u5206\u89C4\u5219\u3002")),ft())};var yr=(0,W.connect)(({shixunHomeworks:S,loading:C,globalSetting:v,user:me})=>({shixunHomeworks:S,loading:C.effects,globalSetting:v,user:me}))(_r),jt=s(59301),Ar=Object.defineProperty,Cr=Object.defineProperties,Br=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,Ba=(S,C,v)=>C in S?Ar(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Cu=(S,C)=>{for(var v in C||(C={}))Dr.call(C,v)&&Ba(S,v,C[v]);if(Ca)for(var v of Ca(C))wr.call(C,v)&&Ba(S,v,C[v]);return S},Da=(S,C)=>Cr(S,Br(C));const br=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)(),{workSetting:me}=S,[pe,he]=(0,n.useState)(!0);let[_e,Ae]=(0,n.useState)([]),[ue,Ie]=(0,n.useState)([]),[ge,oe]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",personal_score_open:!0,single_score:!0,score_details:[{name:"\u7406\u8BBA\u8BC4\u5206",score:40},{name:"\u5B9E\u8DF5\u8BC4\u5206",score:60}],answer_public_type:3,shared_review:!0,is_score_open:!1,see_comment:!1,see_comment_type:1});(0,n.useEffect)(()=>{he(!(me!=null&&me.can_edit))},[me]),(0,n.useEffect)(()=>{},[]),(0,n.useEffect)(()=>{me!=null&&me.course_id&&(Object.keys(ge).map(function(ee){ge[ee]=me[ee]}),(!ge.allow_late||!ge.unified_late)&&(ge.late_penalty=5),_e=JSON.parse(JSON.stringify(me.group_settings.map(ee=>Da(Cu({},ee),{group_name:[ee.group_name]})).filter(ee=>ee.publish_time!==null))),ue=JSON.parse(JSON.stringify(me.allow_late_settings.map(ee=>Da(Cu({},ee),{group_name:[ee.group_name]})).filter(ee=>ee.late_time!==null))),oe(Cu({},ge)),Ae([..._e]),Ie([...ue]))},[me]);const $e=()=>{C({type:"shixunHomeworks/getWorkSetting",payload:Cu({},v)})},ft=()=>{const ee=JSON.parse(JSON.stringify(ge));if(ee.categoryId=v.categoryId,ge.unified_setting||_e==null||_e.map(je=>{var nt,it;if(!je.publish_time||!je.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!je.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");je.group_name=typeof(je==null?void 0:je.group_name)=="string"?[je==null?void 0:je.group_name]:je==null?void 0:je.group_name,je.group_id=(it=(nt=je==null?void 0:je.group_name)==null?void 0:nt.map(Ee=>{var Je,q;let _t=(q=(Je=me.group_settings)==null?void 0:Je.filter(Ve=>(Ve==null?void 0:Ve.group_name)===Ee))==null?void 0:q[0];return _t==null?void 0:_t.group_id}))==null?void 0:it.toString().split(",")}),ee.group_settings=_e,ge.allow_late)if(ge.unified_late){if(ge.late_penalty===null||ge.late_penalty===void 0||ge.late_penalty<0||ge.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ge.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else ue=ue==null?void 0:ue.map(je=>{var nt,it;if(je.late_penalty===null||je.late_penalty===void 0||je.late_penalty<0||je.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!je.late_time)throw h.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!je.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return je.group_name=typeof(je==null?void 0:je.group_name)=="string"?[je==null?void 0:je.group_name]:je==null?void 0:je.group_name,je.group_id=(it=(nt=je==null?void 0:je.group_name)==null?void 0:nt.map(Ee=>{var Je,q;let _t=(q=(Je=me.group_settings)==null?void 0:Je.filter(Ve=>(Ve==null?void 0:Ve.group_name)===Ee))==null?void 0:q[0];return _t==null?void 0:_t.group_id}))==null?void 0:it.toString().split(","),je}),ee.allow_late_settings=ue;Object.keys(ee).map(function(je){je.indexOf("proportion")>-1&&(ee[je]=ee[je]/100)}),C({type:"shixunHomeworks/updateSetting",payload:ee}).then(je=>{je.status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),$e(),C({type:"shixunHomeworks/getWorkList",payload:Cu({},v)}))})};return jt.createElement("section",{className:An.Z.form},jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},"\u6CE8\u610F\uFF1A\u82E5\u65F6\u95F4\u8303\u56F4\u8BBE\u7F6E\u4E3A\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u201D\uFF0C\u5E76\u4E14\u4F5C\u4E1A\u542F\u7528\u4E86\u533F\u8BC4\uFF0C\u5982\u516C\u5F00\u53C2\u8003\u7B54\u6848\u3001\u5B66\u751F\u4F5C\u4E1A\u3001\u5B66\u751F\u6210\u7EE9\u53CA\u6559\u5E08\u8BC4\u9605\u7B49\u529F\u80FD\u5C06\u5728\u533F\u8BC4\u622A\u6B62\u540E\u751F\u6548\u3002"),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ge.answer_public,disabled:pe,onChange:ee=>{ge.answer_public=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u53C2\u8003\u7B54\u6848")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u516C\u5F00\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF09"),ge.answer_public&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u65F6\u95F4\u8303\u56F4"),jt.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",display:"flex",marginLeft:10,alignItems:"center"},disabled:pe,value:ge==null?void 0:ge.answer_public_type,onChange:ee=>{ge.answer_public_type=ee.target.value,oe(Cu({},ge))}},jt.createElement(Z.ZP,{value:1},jt.createElement("span",{style:{color:"#000"}},"\u5B66\u751F\u63D0\u4EA4\u540E")),jt.createElement("br",null),jt.createElement(Z.ZP,{value:2},jt.createElement("span",{style:{color:"#000"}},"\u4F5C\u4E1A\u622A\u6B62\u540E")),jt.createElement(Z.ZP,{value:3},jt.createElement("span",{style:{color:"#000"}},"\u6559\u5E08\u8BC4\u9605\u540E"))))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ge.work_public,disabled:pe,onChange:ee=>{ge.work_public=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u5B66\u751F\u4F5C\u4E1A")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F53\u4F5C\u4E1A\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\u65F6\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u4F5C\u4E1A\uFF09")),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ge.is_score_open,disabled:pe,onChange:ee=>{ge.is_score_open=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u5B66\u751F\u6210\u7EE9")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F53\u4F5C\u4E1A\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\u65F6\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u53EF\u67E5\u770B\u7684\u6210\u7EE9\u8303\u56F4\uFF09"),ge.is_score_open&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u6210\u7EE9\u8303\u56F4"),jt.createElement(b.default,{checked:ge.personal_score_open,style:{marginLeft:10},disabled:pe||ge.score_open,onChange:ee=>{ge.personal_score_open=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u4E2A\u4EBA\u6210\u7EE9")),jt.createElement(b.default,{checked:ge.score_open,disabled:pe,onChange:ee=>{ee.target.checked&&(ge.personal_score_open=!0),ge.score_open=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u6210\u7EE9")))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},jt.createElement(b.default,{checked:ge.see_comment,disabled:pe,onChange:ee=>{ge.see_comment=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u6559\u5E08\u8BC4\u9605")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u516C\u5F00\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u6559\u5E08\u53CA\u52A9\u6559\u8BC4\u9605\u5185\u5BB9\u3001\u52A9\u6559\u53EF\u4EE5\u67E5\u770B\u6559\u5E08\u8BC4\u9605\uFF09"),ge.see_comment&&jt.createElement("div",{style:{display:"flex",alignItems:"center",padding:"13px 23px",paddingBottom:3}},jt.createElement("span",{style:{color:"#000"}},"\u516C\u5F00\u65F6\u95F4\u8303\u56F4"),jt.createElement(Z.ZP.Group,{style:{background:"#F6F7F9",display:"flex",marginLeft:10,alignItems:"center"},disabled:pe,value:ge==null?void 0:ge.see_comment_type,onChange:ee=>{ge.see_comment_type=ee.target.value,oe(Cu({},ge))}},jt.createElement(Z.ZP,{value:0},jt.createElement("span",{style:{color:"#000",marginRight:"40px"}},"\u4EFB\u610F\u65F6\u95F4")),jt.createElement("br",null),jt.createElement(Z.ZP,{value:1},jt.createElement("span",{style:{color:"#000"}},"\u4F5C\u4E1A\u622A\u6B62\u540E"))))),jt.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},jt.createElement(b.default,{checked:ge.shared_review,disabled:pe,onChange:ee=>{ge.shared_review=ee.target.checked,oe(Object.assign({},ge))}},jt.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u6559\u5E08\u5171\u4EAB\u8BC4\u9605")),jt.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u6559\u5E08\u53EF\u4EE5\u5728\u4F5C\u4E1A\u8BC4\u9605\u9875\u9762\u67E5\u770B\u5176\u4ED6\u6559\u5E08\u8BC4\u9605\u5185\u5BB9\uFF0C\u52A9\u6559\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u52A9\u6559\u8BC4\u9605\uFF09")),!pe&&jt.createElement(z.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>ft()},"\u4FDD\u5B58"))};var xr=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(br),Or=s(33441),Sr=s(47599),Ir=s(33469),Pr=s(65629),kr=s(58010),Xu=s(5383),At=s(59301),Nr=Object.defineProperty,Zr=Object.defineProperties,Mr=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,ba=(S,C,v)=>C in S?Nr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,iu=(S,C)=>{for(var v in C||(C={}))Tr.call(C,v)&&ba(S,v,C[v]);if(wa)for(var v of wa(C))Rr.call(C,v)&&ba(S,v,C[v]);return S},Iu=(S,C)=>Zr(S,Mr(C)),sa=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Lr=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie,ge,oe,$e;const ft=(0,W.useParams)(),{workSetting:ee,workList:je}=S,[nt,it]=(0,n.useState)(!0);let[Ee,Je]=(0,n.useState)([]);const[q,_t]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,anonymous_group:!1});(0,n.useEffect)(()=>{Ke.resetFields(),Zt.resetFields()},[]),(0,n.useEffect)(()=>{it(!(ee!=null&&ee.can_edit))},[ee]),(0,n.useEffect)(()=>{ee!=null&&ee.course_id&&(Object.keys(q).map(function(Le){q[Le]=ee[Le]}),(!q.allow_late||!q.unified_late)&&(q.late_penalty=5),Ee=JSON.parse(JSON.stringify(ee.group_settings.map(Le=>Iu(iu({},Le),{group_name:[Le.group_name]})).filter(Le=>Le.publish_time!==null))),_t(iu({},q)),Je([...Ee]))},[ee]);const Ve=()=>sa(void 0,null,function*(){yield v({type:"shixunHomeworks/getWorkSetting",payload:iu({},ft)}),Ke.resetFields(),Zt.resetFields()}),[tt,N]=(0,n.useState)(!1),It=()=>sa(void 0,null,function*(){N(!tt);const Le=JSON.parse(JSON.stringify(q));if(Le.categoryId=ft.categoryId,q.unified_setting||Ee==null||Ee.map(yt=>{var rn,ct;if(!yt.publish_time||!yt.end_time)throw h.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),N(tt),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!yt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),N(tt),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");yt.group_name=typeof(yt==null?void 0:yt.group_name)=="string"?[yt==null?void 0:yt.group_name]:yt==null?void 0:yt.group_name,yt.group_id=(ct=(rn=yt==null?void 0:yt.group_name)==null?void 0:rn.map(Ue=>{var Et,de;let lt=(de=(Et=ee.group_settings)==null?void 0:Et.filter(dt=>(dt==null?void 0:dt.group_name)===Ue))==null?void 0:de[0];return lt==null?void 0:lt.group_id}))==null?void 0:ct.toString().split(",")}),Le.group_settings=Ee,q.evaluation_start){if(q.end_time&&i()(q.evaluation_start)<=i()(q.end_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),N(tt),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4");if(q.late_time&&i()(q.evaluation_start)<=i()(q.late_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),N(tt),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4")}if(Object.keys(Le).map(function(yt){yt.indexOf("proportion")>-1&&(Le[yt]=Le[yt]/100)}),Le.anonymous_comment&&!Le.unified_anonymous_comment){const yt=yield ze();Le.anonymous_comment_settings=yt.anonymous_comment_settings,["evaluation_end","evaluation_num","evaluation_start","student_comment","absence_penalty"].forEach(rn=>{Reflect.deleteProperty(Le,rn)})}if(Le.anonymous_appeal&&!Le.unified_anonymous_appeal){const yt=se();Le.anonymous_appeal_settings=yt.anonymous_appeal_settings,["appeal_time","appeal_penalty"].forEach(rn=>{Reflect.deleteProperty(Le,rn)})}(yield(0,ne.ZP)(`/api/homework_commons/${ft.categoryId}/evaluation_setting.json`,{method:"post",body:iu({},Le)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),it(!0),Ve(),v({type:"shixunHomeworks/getWorkList",payload:iu({},ft)})),N(tt)}),Ge=At.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",At.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - (",At.createElement("br",null),"\u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",At.createElement("br",null),At.createElement("br",null),"\u6CE8\u610F",At.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6",At.createElement("br",null),"\u8BC4\u5206\u9009\u9879\u4E0A\u3002",At.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0",At.createElement("br",null),"\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),mt=At.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",At.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% -",At.createElement("br",null),"( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",At.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),Vt=(pe=ee==null?void 0:ee.anonymous_comment_settings)==null?void 0:pe.map(Le=>({label:Le.group_name,value:Le.group_name,id:Le.group_id})),cn=(he=ee==null?void 0:ee.anonymous_appeal_settings)==null?void 0:he.map(Le=>({label:Le.group_name,value:Le.group_name,id:Le.group_id})),[Ke]=c.default.useForm(),[Zt]=c.default.useForm(),fe=(Le,Wt)=>Le.map(yt=>{var rn;return(rn=Wt.find(ct=>ct.value===yt))==null?void 0:rn.id}),ze=()=>sa(void 0,null,function*(){const Le=(0,Xu.Y)(Ke.getFieldsValue(),"YYYY-MM-DD HH:mm"),Wt=(0,a.cloneDeep)(Le);for(const yt of Wt.anonymous_comment_settings||[]){if(!(yt!=null&&yt.evaluation_start))return h.ZP.warning("\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),N(tt),Promise.reject();if(!yt.group_name)return h.ZP.warning("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),N(tt),Promise.reject();yt.evaluation_end=yt==null?void 0:yt.evaluation_start[1],yt.evaluation_start=yt==null?void 0:yt.evaluation_start[0],yt.group_id=fe(yt.group_name,Vt),Reflect.deleteProperty(yt,"deleteflag")}return Wt}),se=()=>{const Le=(0,Xu.Y)(Zt.getFieldsValue(),"YYYY-MM-DD HH:mm"),Wt=(0,a.cloneDeep)(Le);for(const yt of Wt.anonymous_appeal_settings||[])yt.group_id=fe(yt.group_name,cn),Reflect.deleteProperty(yt,"deleteflag");return Wt},kt=(Le,Wt)=>{if(Wt==="comment"){const yt=Le==null?void 0:Le.filter(Ue=>Ue.evaluation_end!==null);return yt.length===0?[{deleteflag:!0}]:(0,Xu.M)(yt,["evaluation_start","evaluation_end"]).map(Ue=>Iu(iu({},Ue),{evaluation_start:[Ue.evaluation_start,Ue.evaluation_end],group_name:[Ue.group_name],deleteflag:!1}))}else if(Wt==="appeal"){const yt=Le==null?void 0:Le.filter(Ue=>Ue.appeal_time!==null);return yt.length===0?[{deleteflag:!0}]:(0,Xu.M)(yt,["appeal_time"]).map(Ue=>Iu(iu({},Ue),{group_name:[Ue.group_name],deleteflag:!1}))}},tn=(((_e=ee==null?void 0:ee.homework_status)==null?void 0:_e.includes("\u5DF2\u622A\u6B62"))||(Vt==null?void 0:Vt.length)>0)&&(ee==null?void 0:ee.student_works),dn=((Ae=ee==null?void 0:ee.anonymous_appeal_settings)==null?void 0:Ae.length)>0,rt=(ee==null?void 0:ee.anonymous_comment)&&(ee==null?void 0:ee.unified_anonymous_comment)&&((ue=je==null?void 0:je.homework_status)==null?void 0:ue.includes("\u5DF2\u622A\u6B62"))||dn;return At.createElement("section",{className:An.Z.form},At.createElement("div",{className:An.Z.title},"\u4F5C\u4E1A\u533F\u8BC4"),At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement(Vu.Z,{checked:q.anonymous_comment,disabled:nt||!tn||(ee==null?void 0:ee.anonymous_comment),onChange:()=>{var Le;if((0,r.Rm)()&&!((Le=me.AssistantObject.normal)!=null&&Le.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.anonymous_comment=!q.anonymous_comment,q.allow_late&&!q.evaluation_start||q.unified_setting&&!q.evaluation_start&&q.end_time&&q.end_time!=""&&(q.evaluation_start=i()(q.end_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),q.evaluation_end=i()(q.end_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")),q.anonymous_comment&&(q.evaluation_num=parseInt(q.evaluation_num)?q.evaluation_num:3,q.absence_penalty=parseInt(q.absence_penalty)?q.absence_penalty:3),_t(Object.assign({},q))}}),At.createElement("div",{style:{fontWeight:600,margin:"0 10px"}},"\u542F\u7528\u533F\u8BC4"),At.createElement("div",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09"),At.createElement(D.Z,{title:At.createElement("div",null,At.createElement("div",null,"\u89C4\u5219"),At.createElement("div",null,"1.\u4F5C\u4E1A\u622A\u6B62\u3001\u8865\u4EA4\u7ED3\u675F\u540E\u624D\u53EF\u5F00\u542F\u533F\u8BC4\uFF0C\u5F00\u542F\u7533\u8BC9\u540E\u4E0D\u53EF\u53D8\u66F4\u533F\u8BC4\u7ED3\u675F\u65F6\u95F4\uFF1B"),At.createElement("div",null,"2.\u6240\u6709\u5B66\u751F\u4E92\u8BC4\uFF1A\u63D0\u4EA4\u4F5C\u54C1\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u6240\u6709\u5B66\u751F\u4E92\u76F8\u533F\u8BC4\uFF1B"),At.createElement("div",null,"3.\u73ED\u7EA7\u5185\u4E92\u8BC4\uFF1A\u540C\u73ED\u7EA7\u63D0\u4EA4\u4F5C\u54C1\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u73ED\u5185\u5B66\u751F\u4E92\u76F8\u533F\u8BC4\u3002"),At.createElement("div",null,"\u6CE8\uFF1A\u4E3A\u786E\u4FDD\u516C\u5E73\uFF0C\u533F\u8BC4\u89C4\u5219\u786E\u5B9A\u540E\u4E0D\u53EF\u518D\u4FEE\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))},At.createElement("i",{className:`iconfont icon-tishixiaowenhao ${An.Z.title_icon}`}))),q.anonymous_comment&&At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},At.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.unified_anonymous_comment,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment),onChange:Le=>{var Wt;if((0,r.Rm)()&&!((Wt=me.AssistantObject.normal)!=null&&Wt.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(yt=>Iu(iu({},yt),{unified_anonymous_comment:Le.target.value})),Ke.resetFields()}},(ee==null?void 0:ee.unified_setting)&&(ee==null?void 0:ee.unified_late)&&At.createElement(Z.ZP,{value:!0,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment)||!(ee!=null&&ee.manage_all_group)},At.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u7EDF\u4E00\u533F\u8BC4")),((Ie=ee==null?void 0:ee.group_settings)==null?void 0:Ie.length)>0&&At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{color:"#000"}},"\u5206\u73ED\u533F\u8BC4")))),q.anonymous_comment&&q.unified_anonymous_comment&&At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u4E92\u8BC4\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.anonymous_group,disabled:nt||q.anonymous_appeal||(ee==null?void 0:ee.anonymous_comment),onChange:Le=>{if((0,r.Rm)()&&!me.AssistantObject.normal.can_anonymous_comment){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(Wt=>Iu(iu({},Wt),{anonymous_group:Le.target.value}))}},At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{marginRight:"12px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4")),((ge=ee==null?void 0:ee.group_settings)==null?void 0:ge.length)>0&&At.createElement(Z.ZP,{value:!0,disabled:nt||!(ee!=null&&ee.can_anonymous_group)},At.createElement("span",{style:{color:"#000"}},"\u73ED\u7EA7\u5185\u4E92\u8BC4")))),At.createElement("aside",null,q.anonymous_comment&&At.createElement(At.Fragment,null,q.unified_anonymous_comment?At.createElement(Sr.Z,{data:q,setData:_t,disabled:nt}):At.createElement(c.default,{form:Ke,style:{marginTop:"1px"},autoComplete:"off",initialValues:ee!=null&&ee.unified_anonymous_comment?{anonymous_comment_settings:[{deleteflag:!0}]}:{anonymous_comment_settings:kt(ee==null?void 0:ee.anonymous_comment_settings,"comment")}},At.createElement(Ir.Z,{disabled:nt,selectOptions:Vt,form:Ke,data:q}))),At.createElement("div",{className:An.Z.title,style:{marginTop:"30px"}},"\u533F\u8BC4\u7533\u8BC9"),At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},At.createElement(Vu.Z,{checked:q.anonymous_appeal,disabled:nt||!rt||(ee==null?void 0:ee.anonymous_appeal),onChange:()=>{if((0,r.Rm)()&&!me.AssistantObject.normal.can_anonymous_appeal){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.anonymous_appeal=!q.anonymous_appeal,q.anonymous_appeal&&(q.appeal_penalty=q.appeal_penalty?q.appeal_penalty:2),_t(Object.assign({},q))}}),At.createElement("span",{style:{color:"#000000",margin:"0 10px"}},"\u533F\u8BC4\u7533\u8BC9"),At.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),q.anonymous_appeal&&At.createElement(At.Fragment,null,At.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},At.createElement("div",{style:{color:"#666666",marginLeft:"54px",marginRight:"20px"}},"\u7533\u8BC9\u65B9\u5F0F"),At.createElement(Z.ZP.Group,{value:q.unified_anonymous_appeal,disabled:nt||(ee==null?void 0:ee.anonymous_appeal),onChange:Le=>{if((0,r.Rm)()&&!me.AssistantObject.normal.can_anonymous_appeal){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(Wt=>Iu(iu({},Wt),{unified_anonymous_appeal:Le.target.value})),Zt.resetFields()}},(ee==null?void 0:ee.unified_anonymous_comment)&&At.createElement(Z.ZP,{value:!0,disabled:!(ee!=null&&ee.manage_all_group),style:{marginRight:"40px"}},At.createElement("span",{style:{color:"#000000"}},"\u7EDF\u4E00\u7533\u8BC9")),((oe=ee==null?void 0:ee.group_settings)==null?void 0:oe.length)>0&&At.createElement(Z.ZP,{value:!1},At.createElement("span",{style:{color:"#000000"}},"\u5206\u73ED\u7533\u8BC9")))),q.unified_anonymous_appeal?At.createElement(Pr.Z,{data:q,setData:_t,disabled:nt}):At.createElement(c.default,{form:Zt,initialValues:ee!=null&&ee.unified_anonymous_appeal?{anonymous_appeal_settings:[{deleteflag:!0}]}:{anonymous_appeal_settings:kt(ee==null?void 0:ee.anonymous_appeal_settings,"appeal")}},At.createElement(kr.Z,{disabled:nt||(0,r.Rm)()&&!(($e=me.AssistantObject.normal)!=null&&$e.can_anonymous_appeal),selectOptions:cn,form:Zt})))),!nt&&At.createElement(z.ZP,{loading:tt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>It()},"\u4FDD\u5B58"))};var jr=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(Lr),Wn=s(5083),Bu=s(40731),at=s(918),xa=s(38233),zr=s(82438),K=s(59301),Hr=Object.defineProperty,Ur=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Sa=(S,C,v)=>C in S?Hr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Dn=(S,C)=>{for(var v in C||(C={}))Qr.call(C,v)&&Sa(S,v,C[v]);if(Oa)for(var v of Oa(C))Yr.call(C,v)&&Sa(S,v,C[v]);return S},Jn=(S,C)=>Ur(S,Wr(C)),qu=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Gr=S=>qu(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/publish_setting.json`,{method:"post",body:S})}),Kr=S=>qu(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/evaluation_setting.json`,{method:"post",body:S})}),Mu=(S,C)=>S==null?void 0:S.map(v=>{var me;return(me=C==null?void 0:C.find(pe=>pe.value===v))==null?void 0:me.id}),Vr=(S,C)=>{var v;return S=typeof S=="string"?[S]:S,(v=S==null?void 0:S.map(me=>C==null?void 0:C.find(pe=>{var he;return(he=pe==null?void 0:pe.group_name)==null?void 0:he.includes(me)})))==null?void 0:v.filter(me=>me)},kn=(S,C,v,me=!1)=>{let pe=null,he=me?C:Vr(S,C);return he==null||he.forEach((_e,Ae)=>{(Ae==0||v(_e,pe||{}))&&(pe=_e)}),pe},Jr=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie,ge,oe,$e,ft,ee,je,nt,it,Ee,Je,q,_t,Ve;const tt=(0,W.useParams)(),{workSetting:N,workList:It}=S,[,Ge,mt]=(0,t.U)(Gr,{categoryId:tt==null?void 0:tt.categoryId,penalty_type:Bu.Q.Number}),[,Vt,cn]=(0,t.U)(Kr,{categoryId:tt==null?void 0:tt.categoryId}),[Ke]=c.default.useForm(),Zt=c.default.useWatch("unified_setting",Ke),fe=c.default.useWatch("group_settings",Ke),ze=c.default.useWatch("allow_late_settings",Ke),se=c.default.useWatch("end_time",Ke),kt=c.default.useWatch("publish_time",Ke),tn=c.default.useWatch("allow_late",Ke),dn=c.default.useWatch("unified_late",Ke),rt=c.default.useWatch("late_time",Ke),Le=c.default.useWatch("anonymous_comment",Ke),Wt=c.default.useWatch("unified_anonymous_comment",Ke),yt=c.default.useWatch("evaluation_start",Ke),rn=c.default.useWatch("anonymous_appeal",Ke),ct=c.default.useWatch("anonymous_comment_settings",Ke),Ue=c.default.useWatch("unified_anonymous_appeal",Ke),Et=c.default.useWatch("anonymous_appeal_settings",Ke),[de,lt]=(0,n.useState)(!1),[dt,Ot]=(0,n.useState)({}),[Lt,Bt]=(0,n.useState)({}),[Gt,fn]=(0,n.useState)({}),[In,Fn]=(0,n.useState)(!1),On=de||(0,r.Rm)()&&!((he=(pe=me.AssistantObject)==null?void 0:pe.normal)!=null&&he.can_publish),Rn=de||(0,r.Rm)()&&!((Ae=(_e=me.AssistantObject)==null?void 0:_e.normal)!=null&&Ae.can_late),gn=de||(0,r.Rm)()&&!((Ie=(ue=me.AssistantObject)==null?void 0:ue.normal)!=null&&Ie.can_anonymous_comment),Qn=de||(0,r.Rm)()&&!((oe=(ge=me.AssistantObject)==null?void 0:ge.normal)!=null&&oe.can_anonymous_appeal),[ju,ma]=(0,n.useState)([]),$n=(we,Oe)=>{if(we!=null&&we.some(an=>typeof an.group_name!="string")){const an=[];we==null||we.forEach(bt=>{var vt;typeof bt.group_name!="string"&&((vt=bt.group_name)==null||vt.forEach(Yt=>{an.push(Jn(Dn({},bt),{group_name:Yt}))}))}),we=an}return we==null?void 0:we.filter(an=>{var bt,vt,Yt;return!((Yt=(vt=(bt=Oe==null?void 0:Oe.map(ln=>ln==null?void 0:ln.group_name))==null?void 0:bt.toString())==null?void 0:vt.split(","))!=null&&Yt.includes(String(an.group_name)))&&an.is_admin})},wu=we=>{if(we=="allow_late"){y.default.warning({centered:!0,width:472,icon:null,title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",content:K.createElement(K.Fragment,null,It!=null&&It.is_shixun?K.createElement("div",null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u901A\u5173\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u5219\u4E0D\u6263\u5206\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u901A\u5173\u5219\u4E0D\u6263\u5206\u3002"):K.createElement("div",null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u6210\u529F\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u63D0\u4EA4\u5219\u4E0D\u4F1A\u6263\u5206\u3002"),K.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},K.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u6CE8\u610F\uFF1A\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u4E0D\u53EF\u5173\u95ED\u8865\u4EA4\u3002"))});return}if(we=="anonymous_comment"){y.default.warning({centered:!0,width:550,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u63D0\u793A",content:K.createElement(K.Fragment,null,K.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u533F\u8BC4\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\u3002",K.createElement("br",null),K.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},K.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u5B66\u751F\u5FC5\u987B\u63D0\u4EA4\u4F5C\u54C1\u624D\u80FD\u53C2\u4E0E\u533F\u8BC4\uFF0C\u82E5\u5B66\u751F\u672A\u80FD\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u5EFA\u8BAE\u542F\u7528\u201C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u201D\u529F\u80FD\uFF0C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002"))});return}if(we=="anonymous_appeal"){y.default.warning({centered:!0,width:760,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u7533\u8BC9\u63D0\u793A",content:K.createElement(K.Fragment,null,K.createElement("span",{className:"blod"},"\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\u7533\u8BC9"),K.createElement("br",null),"1\u3001\u63A5\u53D7\u5B66\u751F\u7684\u5408\u7406\u7533\u8BC9\uFF1A",K.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u65E0\u6548\uFF0C\u4E0D\u53C2\u4E0E\u6700\u7EC8\u6210\u7EE9\u7684\u8BA1\u7B97\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u5C06\u88AB\u6263\u51CF\u8FDD\u89C4\u533F\u8BC4\u5206",K.createElement("br",null),"2\u3001\u62D2\u7EDD\u5B66\u751F\u7684\u4E0D\u5408\u7406\u7533\u8BC9\uFF1A",K.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u6709\u6548\uFF0C\u4E0D\u5141\u8BB8\u5B66\u751F\u5BF9\u8BE5\u8BC4\u5206\u8BB0\u5F55\u8FDB\u884C\u4E8C\u6B21\u7533\u8BC9\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u4E0D\u4F1A\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206",K.createElement("br",null))});return}if(we=="unified_late")return"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u8865\u4EA4";if(we=="unified_anonymous_comment")return Zt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4":"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4";if(we=="unified_anonymous_appeal")return Zt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":dn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":"\u5DF2\u5F00\u542F\u5206\u73ED\u533F\u8BC4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9";if(we=="make_up_score")return tn?"\u6263\u5206\u6570\u636E\u6765\u6E90\u4E8E\u8865\u4EA4\u6263\u5206":"\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u672A\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002";if(we=="submit_num")return"\u82E5\u5B66\u751F\u9700\u8981\u5728\u89C4\u5B9A\u6B21\u6570\u5916\u518D\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u6253\u56DE\u91CD\u505A\u529F\u80FD\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002"},Kt=(we,Oe={})=>{var an,bt,vt,Yt,ln,on,Pt,Dt,Nt,nn;if(we=="unified_setting")return On||!((an=It==null?void 0:It.homework_status)!=null&&an.includes("\u672A\u53D1\u5E03"))||!(N!=null&&N.manage_all_group);if(we=="publish_time")return On||!((bt=It==null?void 0:It.homework_status)!=null&&bt.includes("\u672A\u53D1\u5E03")||(vt=It==null?void 0:It.homework_status)!=null&&vt.includes("\u672A\u5F00\u59CB"));if(we=="end_time"){const Ze=kn([],(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(["group_settings","group_name"].every(Ze=>we==null?void 0:we.includes(Ze)))return On||!(Oe!=null&&Oe.is_admin)||!((Yt=It==null?void 0:It.homework_status)!=null&&Yt.includes("\u672A\u53D1\u5E03"))&&(Oe==null?void 0:Oe.publish_time)&&i()().startOf("second")>=i()((ln=Oe==null?void 0:Oe.publish_time)==null?void 0:ln[0]).startOf("second");if(["group_settings","publish_time"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.allow_late_settings)||[],(Se,xt)=>(Se==null?void 0:Se.late_time)&&(xt==null?void 0:xt.late_time)&&i()(Se==null?void 0:Se.late_time).startOf("second")(Se==null?void 0:Se.evaluation_start)&&(xt==null?void 0:xt.evaluation_start)&&i()(Se==null?void 0:Se.evaluation_start).startOf("second")=i()((Pt=Oe==null?void 0:Oe.publish_time)==null?void 0:Pt[0]).startOf("second"),(N==null?void 0:N.allow_late)&&(Ze==null?void 0:Ze.late_time)&&i()().startOf("second")>=i()(Oe==null?void 0:Oe.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Ne==null?void 0:Ne.evaluation_start)&&i()().startOf("second")>=i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")]}if(we=="allow_late"){const Ze=((Dt=N==null?void 0:N.allow_late_settings)==null?void 0:Dt.filter(Se=>Se.late_time!==null).map(Se=>{var xt;return(xt=Se==null?void 0:Se.group_id)==null?void 0:xt[0]}))||[],Ne=kn(null,(N==null?void 0:N.group_settings)||[],(Se,xt)=>(Se==null?void 0:Se.end_time)&&(xt==null?void 0:xt.end_time)&&i()(Se==null?void 0:Se.end_time).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||(Ze==null?void 0:Ze.includes((Nt=Ne==null?void 0:Ne.group_id)==null?void 0:Nt[0]))&&(N==null?void 0:N.allow_late)&&(Ne==null?void 0:Ne.end_time)&&i()().startOf("second")>=i()(Ne==null?void 0:Ne.end_time).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(N==null?void 0:N.evaluation_start)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")}if(we=="unified_late"){const Ze=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.end_time).startOf("second")||Zt===!1}if(we=="late_penalty"||we=="late_time")return Rn||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(["allow_late_settings","group_name"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.group_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.end_time)&&(Se==null?void 0:Se.end_time)&&i()(Ne==null?void 0:Ne.end_time).startOf("second")>i()(Se==null?void 0:Se.end_time).startOf("second"));return On||!(Oe!=null&&Oe.is_admin)||(Ze==null?void 0:Ze.end_time)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.end_time).startOf("second")||(Oe==null?void 0:Oe.group_name)&&((nn=Oe==null?void 0:Oe.group_name)==null?void 0:nn.length)&&(N==null?void 0:N.unified_setting)&&(N==null?void 0:N.end_time)&&i()().startOf("second")>=i()(N==null?void 0:N.end_time).startOf("second")}if(["allow_late_settings","late_penalty"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return On||!(Oe!=null&&Oe.is_admin)||(Ze==null?void 0:Ze.evaluation_start)&&(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(["allow_late_settings","late_time"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(we=="anonymous_comment"){const Ze=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"),!0);return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||(N==null?void 0:N.anonymous_comment)&&(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(we=="unified_anonymous_comment"){const Ze=kn(null,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")=i()(N==null?void 0:N.evaluation_start).startOf("second")||!(N!=null&&N.unified_anonymous_comment)&&(N==null?void 0:N.anonymous_comment)&&Ze.evaluation_start&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")||dn===!1||Zt===!1}if(we=="anonymous_group")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||(N==null?void 0:N.anonymous_comment)&&(N==null?void 0:N.evaluation_start)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(we=="evaluation_start")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||(N==null?void 0:N.anonymous_comment)&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(we=="evaluation_start")return gn;if(we=="evaluation_end")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)();if(we=="evaluation_num")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(we=="absence_penalty")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)();if(["anonymous_comment_settings","group_name"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin)||(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(["anonymous_comment_settings","evaluation_start"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin)||[(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second"),!1]}if(["anonymous_comment_settings","evaluation_num"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_start)&&(Se==null?void 0:Se.evaluation_start)&&i()(Ne==null?void 0:Ne.evaluation_start).startOf("second")>i()(Se==null?void 0:Se.evaluation_start).startOf("second"));return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin)||(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")}if(["anonymous_comment_settings","absence_penalty"].every(Ze=>we==null?void 0:we.includes(Ze))||["anonymous_comment_settings","student_comment"].every(Ze=>we==null?void 0:we.includes(Ze)))return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin);if(we=="student_comment")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)();if(we=="is_open_abnormal_score")return gn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||(N==null?void 0:N.is_open_abnormal_score);if(we=="anonymous_appeal")return Qn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||N.anonymous_appeal&&i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second");if(we=="unified_anonymous_appeal")return Qn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||i()().startOf("second")>=i()(N==null?void 0:N.evaluation_start).startOf("second")||dn===!1||Zt===!1||Wt==!1;if(we=="appeal_penalty")return Qn||!(N!=null&&N.can_edit)&&!(0,r.t_)();if(["anonymous_appeal_settings","group_name"].every(Ze=>we==null?void 0:we.includes(Ze))){const Ze=kn(Oe==null?void 0:Oe.group_name,(N==null?void 0:N.anonymous_comment_settings)||[],(Ne,Se)=>(Ne==null?void 0:Ne.evaluation_end)&&(Se==null?void 0:Se.evaluation_end)&&i()(Ne==null?void 0:Ne.evaluation_end).startOf("second")>i()(Se==null?void 0:Se.evaluation_end).startOf("second"));return Qn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin)||(Ze==null?void 0:Ze.evaluation_end)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_end).startOf("second")}return["anonymous_appeal_settings","appeal_penalty"].every(Ze=>we==null?void 0:we.includes(Ze))?Qn||!(N!=null&&N.can_edit)&&!(0,r.t_)()||!(Oe!=null&&Oe.is_admin):!1},pa=(we,Oe)=>{var an,bt,vt,Yt,ln,on,Pt,Dt,Nt,nn;if(console.log("handleValuesChange",we,Oe),v({type:"shixunHomeworks/setActionTabs",payload:{key:"\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"}}),"publish_time"in we&&(Oe!=null&&Oe.end_time||Ke.setFieldsValue({end_time:i()(Oe==null?void 0:Oe.publish_time).add(7,"days")})),"unified_setting"in we&&(Oe!=null&&Oe.unified_setting||Ke.setFieldsValue({unified_late:!1,unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_late"in we&&(Oe!=null&&Oe.unified_late||Ke.setFieldsValue({unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_anonymous_comment"in we&&(Oe!=null&&Oe.unified_anonymous_comment||Ke.setFieldsValue({unified_anonymous_appeal:!1})),"group_settings"in we){let Ze=[];(an=Oe==null?void 0:Oe.group_settings)==null||an.forEach(Ne=>{Ze=[...Ze,...(Ne==null?void 0:Ne.group_name)||[]]}),Ke.setFieldsValue({allow_late_settings:((bt=Oe==null?void 0:Oe.allow_late_settings)==null?void 0:bt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Ze.includes(xt))})}))||[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:((vt=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:vt.map(Ne=>{var Se,xt;return Jn(Dn({},Ne),{group_name:Ne!=null&&Ne.evaluation_start&&i()().startOf("second")>=i()((Se=Ne==null?void 0:Ne.evaluation_start)==null?void 0:Se[0]).startOf("second")?Ne==null?void 0:Ne.group_name:(xt=Ne==null?void 0:Ne.group_name)==null?void 0:xt.filter(Yn=>Ze.includes(Yn))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Yt=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:Yt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Ze.includes(xt))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("allow_late_settings"in we){let Ze=[];(ln=Oe==null?void 0:Oe.allow_late_settings)==null||ln.forEach(Ne=>{Ze=[...Ze,...(Ne==null?void 0:Ne.group_name)||[]]}),Ke.setFieldsValue({anonymous_comment_settings:((on=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:on.map(Ne=>{var Se,xt;return Jn(Dn({},Ne),{group_name:Ne!=null&&Ne.evaluation_start&&i()().startOf("second")>=i()((Se=Ne==null?void 0:Ne.evaluation_start)==null?void 0:Se[0]).startOf("second")?Ne==null?void 0:Ne.group_name:(xt=Ne==null?void 0:Ne.group_name)==null?void 0:xt.filter(Yn=>Ze.includes(Yn))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Pt=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:Pt.map(Ne=>{var Se;return Jn(Dn({},Ne),{group_name:(Se=Ne==null?void 0:Ne.group_name)==null?void 0:Se.filter(xt=>Ze.includes(xt))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("anonymous_comment_settings"in we){let Ze=[];(Dt=Oe==null?void 0:Oe.anonymous_comment_settings)==null||Dt.forEach(Se=>{Ze=[...Ze,...(Se==null?void 0:Se.group_name)||[]]});let Ne=(Nt=Oe==null?void 0:Oe.anonymous_comment_settings)==null?void 0:Nt.map(Se=>{var xt,Yn,mu,bu,Nu,jn,Hu;return{max:((Yn=(xt=N==null?void 0:N.anonymous_comment_settings)==null?void 0:xt.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:Yn.length)===1?(Nu=(bu=(mu=N==null?void 0:N.anonymous_comment_settings)==null?void 0:mu.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:bu[0])==null?void 0:Nu.all_user_size:(Hu=(jn=N==null?void 0:N.anonymous_comment_settings)==null?void 0:jn.filter(Gn=>{var Kn;return(Kn=Se==null?void 0:Se.group_name)==null?void 0:Kn.includes(Gn==null?void 0:Gn.group_name)}))==null?void 0:Hu.reduce((Gn,Kn)=>(Gn==null?void 0:Gn.all_user_size)+(Kn==null?void 0:Kn.all_user_size))}});ma(Ne),Ke.setFieldsValue({anonymous_appeal_settings:((nn=Oe==null?void 0:Oe.anonymous_appeal_settings)==null?void 0:nn.map(Se=>{var xt;return Jn(Dn({},Se),{group_name:(xt=Se==null?void 0:Se.group_name)==null?void 0:xt.filter(Yn=>Ze.includes(Yn))})}))||[{is_admin:!0,appeal_penalty:2}]})}Ke.validateFields(),console.log("=====",i()(Oe==null?void 0:Oe.end_time).format("YYYY-MM-DD HH:mm:ss"))},zu=we=>qu(void 0,null,function*(){var Oe,an,bt,vt;const Yt=we;Yt.group_settings=(Oe=Yt==null?void 0:Yt.group_settings)==null?void 0:Oe.map(on=>{var Pt,Dt;const Nt=Dn({},on);return Nt.end_time=i()((Pt=Nt==null?void 0:Nt.publish_time)==null?void 0:Pt[1]).startOf("second"),Nt.publish_time=i()((Dt=Nt==null?void 0:Nt.publish_time)==null?void 0:Dt[0]).startOf("second"),Nt.group_name=typeof(Nt==null?void 0:Nt.group_name)=="string"?[Nt==null?void 0:Nt.group_name]:Nt==null?void 0:Nt.group_name,Nt.group_id=Mu(Nt==null?void 0:Nt.group_name,N==null?void 0:N.group_settings),Nt}),Yt.allow_late_settings=(an=Yt==null?void 0:Yt.allow_late_settings)==null?void 0:an.map(on=>{const Pt=Dn({},on);return Pt.group_name=typeof(Pt==null?void 0:Pt.group_name)=="string"?[Pt==null?void 0:Pt.group_name]:Pt==null?void 0:Pt.group_name,Pt.group_id=Mu(Pt==null?void 0:Pt.group_name,N==null?void 0:N.group_settings),Pt}),Yt.anonymous_comment_settings=(bt=Yt==null?void 0:Yt.anonymous_comment_settings)==null?void 0:bt.map(on=>{var Pt,Dt;const Nt=Dn({},on);return Nt.evaluation_end=i()((Pt=Nt==null?void 0:Nt.evaluation_start)==null?void 0:Pt[1]).startOf("second"),Nt.evaluation_start=i()((Dt=Nt==null?void 0:Nt.evaluation_start)==null?void 0:Dt[0]).startOf("second"),Nt.group_name=typeof(Nt==null?void 0:Nt.group_name)=="string"?[Nt==null?void 0:Nt.group_name]:Nt==null?void 0:Nt.group_name,Nt.group_id=Mu(Nt==null?void 0:Nt.group_name,N==null?void 0:N.group_settings),Nt}),Yt.anonymous_appeal_settings=(vt=Yt==null?void 0:Yt.anonymous_appeal_settings)==null?void 0:vt.map(on=>{const Pt=Dn({},on);return Pt.group_name=typeof(Pt==null?void 0:Pt.group_name)=="string"?[Pt==null?void 0:Pt.group_name]:Pt==null?void 0:Pt.group_name,Pt.group_id=Mu(Pt==null?void 0:Pt.group_name,N==null?void 0:N.group_settings),Pt});let ln=yield(0,Gu.Tr)({homework_common_ids:[parseInt(tt==null?void 0:tt.categoryId)],course_id:tt.coursesId,type:"homework_common"});if((ln==null?void 0:ln.student_count)===0){if((yield mt(Dn({},Yt))).status!==0||(yield cn(Dn({},Yt))).status!==0)return;h.ZP.success("\u4FDD\u5B58\u6210\u529F"),na(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}else fn(Yt),Bt(ln)}),na=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Dn({},tt)}),v({type:"shixunHomeworks/getWorkList",payload:Dn({},tt)})};(0,n.useEffect)(()=>{var we,Oe,an,bt;let vt=(we=N==null?void 0:N.group_settings)==null?void 0:we.filter(Dt=>Dt.publish_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],publish_time:(Dt==null?void 0:Dt.publish_time)&&[i()(Dt==null?void 0:Dt.publish_time),i()(Dt==null?void 0:Dt.end_time)]}));vt=(0,E.QE)((vt==null?void 0:vt.length)>0?vt:[]);const Yt=(Oe=N.allow_late_settings)==null?void 0:Oe.filter(Dt=>Dt.late_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],late_time:(Dt==null?void 0:Dt.late_time)&&i()(Dt==null?void 0:Dt.late_time)})),ln=(an=N.anonymous_comment_settings)==null?void 0:an.filter(Dt=>Dt.evaluation_start!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name],evaluation_start:(Dt==null?void 0:Dt.evaluation_start)&&[i()(Dt==null?void 0:Dt.evaluation_start),i()(Dt==null?void 0:Dt.evaluation_end)]})),on=(bt=N.anonymous_appeal_settings)==null?void 0:bt.filter(Dt=>Dt.appeal_time!==null).map(Dt=>Jn(Dn({},Dt),{group_name:[Dt.group_name]})),Pt=Jn(Dn({},N),{late_penalty:N!=null&&N.allow_late?N==null?void 0:N.late_penalty:5,evaluation_num:N!=null&&N.evaluation_num?N==null?void 0:N.evaluation_num:3,absence_penalty:N!=null&&N.anonymous_comment?N==null?void 0:N.absence_penalty:3,appeal_penalty:N!=null&&N.anonymous_appeal?N==null?void 0:N.appeal_penalty:2,publish_time:N!=null&&N.publish_time?i()(N==null?void 0:N.publish_time):"",end_time:N!=null&&N.end_time?i()(N==null?void 0:N.end_time):"",late_time:N!=null&&N.late_time?i()(N==null?void 0:N.late_time):"",evaluation_start:N!=null&&N.evaluation_start?i()(N==null?void 0:N.evaluation_start):"",evaluation_end:N!=null&&N.evaluation_end?i()(N==null?void 0:N.evaluation_end):"",group_settings:vt!=null&&vt.length?vt:[{is_admin:!0}],allow_late_settings:Yt!=null&&Yt.length?Yt:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:ln!=null&&ln.length?ln:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:on!=null&&on.length?on:[{is_admin:!0,appeal_penalty:2}]});Ke.setFieldsValue(Pt),Ot(Pt),lt(!(0,r.GJ)()),console.log("workSetting",N)},[N]),(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0}),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Ke==null||Ke.resetFields()}),[]);const ua=(we,Oe)=>{we!=null&&we.group_id||(we.group_id=Mu(we==null?void 0:we.group_name,N==null?void 0:N.group_settings)),v({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:we,index:Oe,rangePickerDisabled:Kt(["group_settings","publish_time"],fe==null?void 0:fe[Oe]),disabledDate:N==null?void 0:N.course_end_date}})};return K.createElement(j.Z,{spinning:!!C["shixunHomeworks/getWorkSetting"]||!!C["shixunHomeworks/getWorkList"]},K.createElement("section",{style:{padding:"30px 50px",background:"#fff",marginTop:4}},K.createElement(c.default,{form:Ke,colon:!1,disabled:de,initialValues:dt,scrollToFirstError:!0,onValuesChange:pa,onFinish:zu},K.createElement("div",{className:`${at.Z.title}`},K.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u6A21\u5F0F\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(g.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line}`},K.createElement(c.default.Item,{className:($e=at.Z)==null?void 0:$e.h_lh_40,name:"unified_setting",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7C7B\u578B"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_setting")},K.createElement(Z.ZP,{value:!0},"\u7EDF\u4E00\u53D1\u5E03"),((ft=N==null?void 0:N.group_settings)==null?void 0:ft.length)>0&&K.createElement(Z.ZP,{value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")))),Zt?K.createElement(g.Z,{className:at.Z.row_sty,style:{padding:"5px 30px"}},K.createElement(l.Z,null,K.createElement(c.default.Item,{label:"\u53D1\u5E03\u65F6\u95F4",name:"publish_time",rules:[{validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"):Promise.resolve()}],normalize:we=>we&&i()(we).startOf("second")},K.createElement(Wn.default,{style:{width:200},size:"large",disabled:Kt("publish_time"),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:we=>(0,E.Q8)(we,N==null?void 0:N.course_end_date),disabledTime:we=>(0,E.d0)(we),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}}))),K.createElement(l.Z,null,K.createElement(c.default.Item,{style:{marginLeft:40},label:"\u622A\u6B62\u65F6\u95F4",name:"end_time",rules:[{validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Promise.resolve()}],normalize:we=>we&&i()(we).startOf("second")},K.createElement(Wn.default,{style:{width:200},size:"large",disabled:Kt("end_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:we=>(0,E.Q8)(we,N==null?void 0:N.course_end_date,i()(kt).add(1,"minutes").format()),disabledTime:we=>(0,E.d0)(we,i()(kt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}})))):K.createElement(c.default.List,{name:"group_settings"},(we,{add:Oe,remove:an})=>we.map((bt,vt)=>{var Yt,ln,on,Pt,Dt,Nt;return K.createElement(g.Z,{key:bt.key,style:{padding:"5px 14px 5px 30px"}},K.createElement(l.Z,{className:at.Z.lable_name1,style:{minWidth:85,textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",vt+1),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["group_settings","group_name"],fe==null?void 0:fe[vt]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",size:"large",fieldNames:{label:"group_name",value:"group_name"},options:(Yt=N==null?void 0:N.group_settings)==null?void 0:Yt.filter(nn=>{var Ze,Ne,Se;return!((Se=(Ne=(Ze=fe==null?void 0:fe.map(xt=>xt==null?void 0:xt.group_name))==null?void 0:Ze.toString())==null?void 0:Ne.split(","))!=null&&Se.includes(String(nn.group_name)))&&nn.is_admin}),maxTagCount:4,maxTagPlaceholder:nn=>K.createElement("div",{style:{cursor:"pointer"},onClick:()=>ua(fe[vt],vt)},"+",nn==null?void 0:nn.length)}))),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml20",name:[bt.name,"publish_time"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F5C\u4E1A\u65F6\u95F4"}]},K.createElement(Wn.default.RangePicker,{style:{width:585},size:"large",disabled:Kt(["group_settings","publish_time"],fe==null?void 0:fe[vt]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:nn=>(0,E.Q8)(nn,N==null?void 0:N.course_end_date),disabledTime:nn=>(0,E.d0)(nn),showTime:{format:"HH:mm",defaultValue:[i()((0,E.U6)(),"HH:mm"),i()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",onCalendarChange:nn=>{if(nn!=null&&nn[0]&&!(nn!=null&&nn[1])){const Ze=Ke.getFieldValue("group_settings");Ze[vt].publish_time=[nn[0],i()(nn[0]).add(7,"days")],Ke.setFieldsValue({group_settings:Ze})}}}))),!de&&K.createElement(g.Z,{className:(ln=at.Z)==null?void 0:ln.h_lh_40},((Pt=(on=fe==null?void 0:fe[vt])==null?void 0:on.group_id)==null?void 0:Pt.length)>1&&K.createElement(l.Z,null,K.createElement(D.Z,{title:"\u89C4\u5219\u62C6\u5206"},K.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>ua(fe[vt],vt)}))),((Nt=(Dt=N==null?void 0:N.group_settings)==null?void 0:Dt.filter(nn=>{var Ze,Ne,Se;return!((Se=(Ne=(Ze=fe==null?void 0:fe.map(xt=>xt==null?void 0:xt.group_name))==null?void 0:Ze.toString())==null?void 0:Ne.split(","))!=null&&Se.includes(String(nn.group_name)))&&nn.is_admin}))==null?void 0:Nt.length)>0&&K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0})}})),vt!=0&&!Kt(["group_settings","group_name"],fe==null?void 0:fe[vt])?K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml10",style:{color:"#E30000",opacity:"0.2"}}))))}))),K.createElement(K.Fragment,null,K.createElement("div",{className:`${at.Z.title} mt30`},K.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(g.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(ee=at.Z)==null?void 0:ee.h_lh_40}`,align:"middle"},K.createElement(c.default.Item,{name:"allow_late",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("allow_late")},"\u5F00\u542F\u8865\u4EA4"))),tn&&K.createElement(K.Fragment,null,K.createElement(g.Z,{className:at.Z.row_sty1},K.createElement(l.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u65B9\u5F0F"),K.createElement(c.default.Item,{className:`${(je=at.Z)==null?void 0:je.h_lh_40} ml10`,name:"unified_late",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8865\u4EA4\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_late")},K.createElement(Z.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((nt=N==null?void 0:N.group_settings)==null?void 0:nt.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Zt===!1&&K.createElement(D.Z,{title:wu("unified_late")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),dn?K.createElement("div",{style:{paddingBottom:5}},K.createElement(g.Z,{className:`${at.Z.row_sty1} mb10 mt5`},K.createElement(l.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),K.createElement(l.Z,{style:{margin:"0 10px 0 8px"}},K.createElement(c.default.Item,{name:"late_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:206},min:0,max:100,disabled:Kt("late_penalty")})))),K.createElement(g.Z,{className:at.Z.row_sty1},K.createElement(l.Z,{className:at.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),K.createElement(l.Z,{style:{margin:"0 10px 0 8px"}},K.createElement(c.default.Item,{name:"late_time",rules:[{required:!0,validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(se).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:we=>we&&i()(we).startOf("second")},K.createElement(Wn.default,{style:{width:280},size:"large",disabled:Kt("late_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:we=>(0,E.Q8)(we,N==null?void 0:N.course_end_date,i()(se).add(1,"minutes").format()),disabledTime:we=>(0,E.d0)(we,i()(se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}}))),K.createElement(l.Z,{style:{color:"#333"}},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):K.createElement(c.default.List,{name:"allow_late_settings"},(we,{add:Oe,remove:an})=>we.map((bt,vt)=>{var Yt,ln,on,Pt,Dt,Nt;const nn=se||((on=(ln=kn((Yt=ze==null?void 0:ze[vt])==null?void 0:Yt.group_name,fe||[],(Ze,Ne)=>{var Se,xt;return i()((Se=Ze==null?void 0:Ze.publish_time)==null?void 0:Se[1]).startOf("second")>i()((xt=Ne==null?void 0:Ne.publish_time)==null?void 0:xt[1]).startOf("second")}))==null?void 0:ln.publish_time)==null?void 0:on[1]);return K.createElement(g.Z,{key:bt.key,style:{padding:"5px 14px 5px 52px"}},K.createElement(l.Z,{className:at.Z.lable_name1,style:{minWidth:88,textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",vt+1),K.createElement(l.Z,{className:"mr20 ml20"},K.createElement(c.default.Item,{name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["allow_late_settings","group_name"],ze==null?void 0:ze[vt]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Zt?N==null?void 0:N.group_settings:fe,[...ze||[],...(N==null?void 0:N.anonymous_comment)&&!(N!=null&&N.unified_anonymous_comment)&&((Pt=N==null?void 0:N.anonymous_comment_settings)==null?void 0:Pt.filter(Ze=>(Ze==null?void 0:Ze.evaluation_start)&&i()().startOf("second")>=i()(Ze==null?void 0:Ze.evaluation_start).startOf("second")))||[]])}))),K.createElement(l.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),K.createElement(l.Z,{className:"mr20 ml10"},K.createElement(c.default.Item,{name:[bt.name,"late_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},K.createElement(I.Z,{min:0,max:100,size:"large",addonAfter:"\u5206",style:{width:150},disabled:Kt(["allow_late_settings","late_penalty"],ze==null?void 0:ze[vt])}))),K.createElement(l.Z,{className:at.Z.lable_name1},"\u622A\u6B62\u65F6\u95F4"),K.createElement(l.Z,{className:"ml10"},K.createElement(c.default.Item,{name:[bt.name,"late_time"],rules:[{required:!0,validator:(Ze,Ne)=>Ne==null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):nn&&i()(Ne).startOf("second")<=i()(nn).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},K.createElement(Wn.default,{disabled:Kt(["allow_late_settings","late_time"],ze==null?void 0:ze[vt]),style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:Ze=>(0,E.Q8)(Ze,N==null?void 0:N.course_end_date,i()(nn).add(1,"minutes").format()),disabledTime:Ze=>(0,E.d0)(Ze,i()(nn).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}}))),!de&&K.createElement(g.Z,{className:(Dt=at.Z)==null?void 0:Dt.h_lh_40},((Nt=$n(Zt?N==null?void 0:N.group_settings:fe,ze))==null?void 0:Nt.length)>0&&K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,late_penalty:5})}})),vt!=0&&!Kt(["allow_late_settings","group_name"],ze==null?void 0:ze[vt])?K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}}))))}))))),K.createElement(K.Fragment,null,K.createElement("div",{className:`${at.Z.title} mt30`},K.createElement("span",null,"\u4F5C\u4E1A\u533F\u8BC4"),K.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u53EF\u4F7F\u5B66\u751F\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u524D\u63D0\u4E0B\uFF0C\u5BF9\u540C\u5B66\u4F5C\u4E1A\u8FDB\u884C\u533F\u540D\u8BC4\u9605\uFF09")),K.createElement("div",{className:at.Z.content},K.createElement(g.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(it=at.Z)==null?void 0:it.h_lh_40}`,align:"middle"},K.createElement(c.default.Item,{name:"anonymous_comment",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("anonymous_comment")},"\u5F00\u542F\u533F\u8BC4"))),Le&&K.createElement(K.Fragment,null,K.createElement(g.Z,{className:`${at.Z.row_sty1} ${!tn&&"mb10"} mt5`},K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"can_make_up",valuePropName:"checked",style:{height:40,lineHeight:"40px"}},K.createElement(b.default,null," ",tn?"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u5E76\u4E14\u6263\u9664\u8865\u4EA4\u6263\u5206":"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u8865\u4EA4\u6263\u5206"," "))),!tn&&K.createElement(l.Z,{className:"mr10"},K.createElement(c.default.Item,{name:"make_up_score"},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",min:0,max:100,style:{width:186}}))),K.createElement(l.Z,null,K.createElement(D.Z,{title:wu("make_up_score")},K.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary"})))),K.createElement("div",{style:{position:"relative"}},K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5 ${at.Z.bottom_line}`},K.createElement(l.Z,{className:at.Z.lable_name},"\u533F\u8BC4\u65B9\u5F0F"),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:`${(Ee=at.Z)==null?void 0:Ee.h_lh_40} ml10`,name:"unified_anonymous_comment",rules:[{validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65B9\u5F0F"):Promise.resolve()}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_anonymous_comment")},K.createElement(Z.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u533F\u8BC4"),((Je=N==null?void 0:N.group_settings)==null?void 0:Je.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u533F\u8BC4"))))),(dn===!1||Zt===!1)&&K.createElement(D.Z,{title:wu("unified_anonymous_comment")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Wt?K.createElement(K.Fragment,null,K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(l.Z,{className:at.Z.lable_name},"\u4E92\u8BC4\u65B9\u5F0F"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"anonymous_group",className:`${(q=at.Z)==null?void 0:q.h_lh_40} ml10`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E92\u8BC4\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("anonymous_group")},K.createElement(Z.ZP,{value:!1,style:{marginRight:24}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4"),((_t=N==null?void 0:N.group_settings)==null?void 0:_t.length)>0&&K.createElement(Z.ZP,{value:!0},"\u73ED\u7EA7\u5185\u4E92\u8BC4"))))),K.createElement(g.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(l.Z,{className:at.Z.lable_name},"\u5F00\u59CB\u65F6\u95F4"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"evaluation_start",rules:[{required:!0,validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(rt||se).startOf("second")?Promise.reject(rt?"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:we=>we&&i()(we).startOf("second")},K.createElement(Wn.default,{disabled:Kt("evaluation_start"),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",style:{width:270,marginLeft:10},format:"YYYY-MM-DD HH:mm",disabledDate:we=>(0,E.Q8)(we,N==null?void 0:N.course_end_date,i()(rt||se).add(1,"minutes").format()),disabledTime:we=>(0,E.d0)(we,i()(rt||se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}}))),K.createElement(l.Z,{className:at.Z.lable_name,style:{marginLeft:88}},"\u622A\u6B62\u65F6\u95F4"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"evaluation_end",rules:[{required:!0,validator:(we,Oe)=>Oe===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):i()(Oe).startOf("second")<=i()(yt||rt||se).startOf("second")?Promise.reject(yt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":rt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:we=>we&&i()(we).startOf("second")},K.createElement(Wn.default,{disabled:Kt("evaluation_end"),size:"large",style:{width:270,marginLeft:10},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:we=>(0,E.Q8)(we,N==null?void 0:N.course_end_date,i()(yt||rt||se).add(1,"minutes").format()),disabledTime:we=>(0,E.d0)(we,i()(yt||rt||se).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")}})))),K.createElement(g.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(l.Z,{className:at.Z.lable_name},"\u533F\u8BC4\u6570\u91CF"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"evaluation_num",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},K.createElement(I.Z,{size:"large",min:1,precision:0,max:N==null?void 0:N.all_user_size,style:{width:186,marginLeft:10},disabled:Kt("evaluation_num")}))),K.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u6BCF\u4F4D\u5B66\u751F\u9700\u8981\u533F\u8BC4\u7684\u4F5C\u4E1A\u6570\u91CF\uFF09")),K.createElement(g.Z,{className:`${at.Z.row_sty1} mb10`},K.createElement(l.Z,{className:at.Z.lable_name},"\u7F3A\u8BC4\u6263\u5206"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"absence_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",style:{width:186,marginLeft:10},addonAfter:"\u5206",max:100,min:0,disabled:Kt("absence_penalty")}))),K.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u7F3A\u8BC4\u65F6\u5C06\u6263\u9664\u7684\u5206\u503C\uFF09"))):K.createElement(c.default.List,{name:"anonymous_comment_settings"},(we,{add:Oe,remove:an})=>we.map((bt,vt)=>{var Yt,ln,on,Pt,Dt,Nt,nn,Ze;const Ne=rt||((ln=kn((Yt=ct==null?void 0:ct[vt])==null?void 0:Yt.group_name,ze||[],(Se,xt)=>i()(Se==null?void 0:Se.late_time).startOf("second")>i()(xt==null?void 0:xt.late_time).startOf("second")))==null?void 0:ln.late_time)||se||((Dt=(Pt=kn((on=ct==null?void 0:ct[vt])==null?void 0:on.group_name,fe||[],(Se,xt)=>{var Yn,mu;return i()((Yn=Se==null?void 0:Se.publish_time)==null?void 0:Yn[1]).startOf("second")>i()((mu=xt==null?void 0:xt.publish_time)==null?void 0:mu[1]).startOf("second")}))==null?void 0:Pt.publish_time)==null?void 0:Dt[1]);return K.createElement(g.Z,{key:bt.key,style:{padding:"0px 14px 0px 82px"}},K.createElement(l.Z,{className:at.Z.lable_name1,style:{lineHeight:"40px"}},"\u533F\u8BC4\u89C4\u5219",vt+1),K.createElement(g.Z,{wrap:!1,align:"top",justify:"space-between"},K.createElement(l.Z,null,K.createElement(g.Z,{wrap:!1,align:"top"},K.createElement(l.Z,{className:"mr20 ml15"},K.createElement(c.default.Item,{name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["anonymous_comment_settings","group_name"],ct==null?void 0:ct[vt]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:228},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Zt?N==null?void 0:N.group_settings:fe,ct)}))),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:[bt.name,"evaluation_start"],rules:[{required:!0,validator:(Se,xt)=>xt==null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65F6\u95F4"):Ne&&i()(xt).startOf("second")<=i()(Ne).startOf("second")?Promise.reject(se?"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},K.createElement(Wn.default.RangePicker,{disabled:Kt(["anonymous_comment_settings","evaluation_start"],ct==null?void 0:ct[vt]),style:{width:580},size:"large",placeholder:["\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4","\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u622A\u6B62\u65F6\u95F4"],disabledDate:Se=>(0,E.Q8)(Se,N==null?void 0:N.course_end_date,i()(Ne).add(1,"minutes").format()),disabledTime:Se=>(0,E.d0)(Se,i()(Ne).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:[i()((0,E.U6)(),"HH:mm"),i()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm"})))),K.createElement(g.Z,{wrap:!1,align:"top",style:{padding:"5px 0",position:"relative",left:"-55px"}},K.createElement(l.Z,{className:at.Z.lable_name1,style:{marginRight:4}},"\u533F\u8BC4\u6570\u91CF"),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"evaluation_num"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},K.createElement(I.Z,{max:((Nt=ju==null?void 0:ju[vt])==null?void 0:Nt.max)||100,precision:0,style:{width:203},size:"large",min:1,disabled:Kt(["anonymous_comment_settings","evaluation_num"],ct==null?void 0:ct[vt])}))),K.createElement(l.Z,{className:at.Z.lable_name1,style:{marginLeft:40}},"\u7F3A\u8BC4\u6263\u5206"),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"absence_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{style:{width:186,marginLeft:10},addonAfter:"\u5206",size:"large",min:0,max:100,disabled:Kt(["anonymous_comment_settings","absence_penalty"],ct==null?void 0:ct[vt])}))),!Wt&&K.createElement(l.Z,null,K.createElement(c.default.Item,{style:{marginLeft:40,lineHeight:"40px"},name:[bt.name,"student_comment"],valuePropName:"checked"},K.createElement(b.default,{disabled:Kt(["anonymous_comment_settings","student_comment"],ct==null?void 0:ct[vt])},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))),!de&&K.createElement(g.Z,{className:(nn=at.Z)==null?void 0:nn.h_lh_40},((Ze=$n(Zt?N==null?void 0:N.group_settings:fe,ct))==null?void 0:Ze.length)>0&&K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,absence_penalty:3,evaluation_num:3})}})),vt!=0&&!Kt(["anonymous_comment_settings","group_name"],ct==null?void 0:ct[vt])?K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000",opacity:"0.2"}})))))})),K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5 mt5`},K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"is_open_abnormal_score",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("is_open_abnormal_score"),style:{height:40,lineHeight:"40px"}},"\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7"))),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:at.Z.poor_rating,name:"abnormal_score",rules:[{validator:(we,Oe)=>Oe===0?Promise.reject("\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u6570\u503C\u4E0D\u80FD\u4E3A0"):Promise.resolve()}]},K.createElement(I.Z,{size:"large",style:{width:186},addonAfter:"\u5206",disabled:Kt("student_comment"),min:1,max:100}))),K.createElement(l.Z,null," ",K.createElement("span",{className:"ml10"},"\u5206\u8BA1\u5165",de?"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868":K.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{if(!(N!=null&&N.anonymous_comment)){h.ZP.warning("\u4FDD\u5B58\u542F\u7528\u8BBE\u7F6E\u540E\uFF0C\u70B9\u51FB\u8BE5\u6309\u94AE\u5373\u53EF\u8DF3\u8F6C\u81F3\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868");return}window.open(`/classrooms/${tt==null?void 0:tt.coursesId}/common_homework/${tt==null?void 0:tt.categoryId}/detail?TabsActiveKey=2&tabs=10`)}},"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868")),K.createElement("span",{style:{color:"#666",fontWeight:400}},"\uFF08\u5F00\u542F\u540E\uFF0C\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u8BBE\u7F6E\u6216\u5F97\u5206\u4E0D\u8DB360\u5206\uFF0C\u5747\u81EA\u52A8\u8BA1\u5165\u533F\u8BC4\u5F02\u5E38\u5217\u8868\uFF09"))),Wt&&K.createElement(c.default.Item,{className:`${at.Z.row_sty1} mb5`,name:"student_comment",valuePropName:"checked"},K.createElement(b.default,{disabled:Kt("student_comment")},K.createElement(g.Z,{gutter:10},K.createElement(l.Z,null,"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"),K.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u5B8C\u6210\u533F\u8BC4\u540E\uFF0C\u88AB\u533F\u8BC4\u4F5C\u4E1A\u5C06\u6807\u8BB0\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\uFF09")))),K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(c.default.Item,{name:"anonymous_appeal",valuePropName:"checked",className:at.Z.h_lh_40},K.createElement(b.default,{disabled:Kt("anonymous_appeal")},"\u542F\u7528\u533F\u8BC4\u7533\u8BC9")),K.createElement("span",{style:{color:"#666"}},"\uFF08\u5B66\u751F\u7533\u8BC9\u533F\u8BC4\u5F97\u5206\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),rn&&K.createElement("div",{style:{paddingBottom:5}},K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(l.Z,{className:at.Z.lable_name},"\u7533\u8BC9\u65B9\u5F0F"),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",style:{height:40,lineHeight:"40px"},name:"unified_anonymous_appeal",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7533\u8BC9\u65B9\u5F0F"}]},K.createElement(Z.ZP.Group,{disabled:Kt("unified_anonymous_appeal")},K.createElement(Z.ZP,{value:!0},"\u7EDF\u4E00\u7533\u8BC9"),((Ve=N==null?void 0:N.group_settings)==null?void 0:Ve.length)>0&&K.createElement(Z.ZP,{value:!1},"\u5206\u73ED\u7533\u8BC9")))),(dn===!1||Zt===!1||Wt==!1)&&K.createElement(D.Z,{title:wu("unified_anonymous_appeal")},K.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Ue?K.createElement(g.Z,{className:`${at.Z.row_sty1} mb5`},K.createElement(l.Z,{className:"c-grey-333 mr10"},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),K.createElement(l.Z,null,K.createElement(c.default.Item,{name:"appeal_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Kt("appeal_penalty")}))),K.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u533F\u8BC4\u88AB\u7533\u8BC9\u6210\u529F\u5C06\u5224\u5B9A\u4E3A\u8FDD\u89C4\u533F\u8BC4\uFF0C\u8BE5\u5B66\u751F\u5C06\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570\uFF09")):K.createElement(c.default.List,{name:"anonymous_appeal_settings"},(we,{add:Oe,remove:an})=>we.map((bt,vt)=>{var Yt,ln;return K.createElement(g.Z,{key:bt.key,style:{padding:"5px 14px 5px 82px"}},K.createElement(l.Z,{className:at.Z.lable_name1},"\u7533\u8BC9\u89C4\u5219",vt+1),K.createElement(g.Z,{wrap:!1,align:"top",justify:"space-between"},K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},K.createElement($.default,{disabled:Kt(["anonymous_appeal_settings","group_name"],Et==null?void 0:Et[vt]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",size:"large",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:$n(Wt?N==null?void 0:N.group_settings:ct,Et)}))),K.createElement(l.Z,{className:`${at.Z.lable_name1} ml20`},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),K.createElement(l.Z,null,K.createElement(c.default.Item,{className:"ml10",name:[bt.name,"appeal_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},K.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Kt(["anonymous_appeal_settings","appeal_penalty"],Et==null?void 0:Et[vt])}))),!de&&K.createElement(g.Z,{className:(Yt=at.Z)==null?void 0:Yt.h_lh_40},!!((ln=$n(Wt?N==null?void 0:N.group_settings:ct,Et))!=null&&ln.length)&&K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Oe({is_admin:!0,appeal_penalty:2})}})),vt!=0&&!Kt(["anonymous_appeal_settings","group_name"],Et==null?void 0:Et[vt])?K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{an(bt.name)}})):K.createElement(l.Z,null,K.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))))}))))))),((0,r.GJ)()||!(On||Rn||gn))&&K.createElement(z.ZP,{loading:Ge||Vt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{Ke.submit()}},"\u4FDD\u5B58"),K.createElement(zr.Z,{resdata:Lt,type:"shixun",okloading:In,oktext:(Lt==null?void 0:Lt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:we=>qu(void 0,null,function*(){Fn(!0);let Oe=yield(0,ne.ZP)(`/api/courses/${tt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(tt==null?void 0:tt.categoryId)]}});if(Fn(!1),(Oe==null?void 0:Oe.status)===0){Fn(!0);const an=yield mt(Dn({},Gt));if(Fn(!1),an.status!==0)return;Fn(!0);const bt=yield cn(Dn({},Gt));if(Fn(!1),bt.status!==0)return;h.ZP.success("\u4FDD\u5B58\u6210\u529F"),na(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}})}),K.createElement(xa.Z,{onConfirm:(we,Oe)=>{fe.splice(we,0,...Oe),fe.splice(we+Oe.length,1);const an=(0,E.QE)([...fe]);an.forEach(bt=>{var vt;((vt=bt==null?void 0:bt.publish_time)==null?void 0:vt.length)==2?bt.publish_time=bt.publish_time:bt.publish_time=[i()(bt==null?void 0:bt.publish_time),i()(bt==null?void 0:bt.end_time)]}),Ke.setFieldValue("group_settings",[...an])}})))};var Xr=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(Jr),Eu=s(59301),qr=Object.defineProperty,Ia=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,Pa=(S,C,v)=>C in S?qr(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,$u=(S,C)=>{for(var v in C||(C={}))$r.call(C,v)&&Pa(S,v,C[v]);if(Ia)for(var v of Ia(C))el.call(C,v)&&Pa(S,v,C[v]);return S},tl=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const nl=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:me,user:pe})=>{const he=(0,W.useParams)(),{workSetting:_e}=S,[Ae,ue]=(0,n.useState)(!1),[Ie,ge]=(0,n.useState)(!1),[oe,$e]=(0,n.useState)({start_permanent:!1});(0,n.useEffect)(()=>{ue(!(0,r.GJ)())},[(0,r.GJ)()]);const ft=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:$u({},he)}),v({type:"shixunHomeworks/getWorkList",payload:$u({},he)})};(0,n.useEffect)(()=>{_e!=null&&_e.course_id&&(Object.keys(oe).forEach(je=>{oe[je]=_e[je]}),$e($u({},oe)))},[_e]);const ee=()=>tl(void 0,null,function*(){var je;if(((je=pe==null?void 0:pe.userInfo)==null?void 0:je.user_status)===2){(0,Re.Rd)();return}ge(!0),(yield(0,ne.ZP)(`/api/homework_commons/${he.categoryId}/shiyan_setting.json`,{method:"post",body:$u({},oe)})).status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),ft()),ge(!1)});return Eu.createElement("section",{className:An.Z.form},Eu.createElement("div",{className:An.Z.title},"\u4FDD\u5B58\u5B9E\u9A8C\u6570\u636E"),Eu.createElement("div",{className:An.Z.content},Eu.createElement(b.default,{disabled:Ae,checked:oe.start_permanent,onChange:je=>{if(!(0,r.Ny)()){(0,Re.pW)(2);return}oe.start_permanent=je.target.checked,$e(Object.assign({},oe))}},Eu.createElement("span",{className:"c-black"},"\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u5728\u8BFE\u5802\u53EF\u5BFC\u51FA\u5B66\u751F\u5B9E\u9A8C\u6570\u636E",Eu.createElement("a",{target:"_blank",href:yn.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0")))),!Ae&&Eu.createElement(Eu.Fragment,null,Eu.createElement(z.ZP,{type:"primary",size:"large",loading:Ie,style:{width:"138px",marginTop:"30px"},onClick:()=>ee()},"\u4FDD\u5B58")))};var ul=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:me})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:me}))(nl),ka=s(50757),cu=s(79834),Qe=s(59301),al=Object.defineProperty,rl=Object.defineProperties,ll=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,ol=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,Za=(S,C,v)=>C in S?al(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,au=(S,C)=>{for(var v in C||(C={}))ol.call(C,v)&&Za(S,v,C[v]);if(Na)for(var v of Na(C))sl.call(C,v)&&Za(S,v,C[v]);return S},ea=(S,C)=>rl(S,ll(C)),il=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const{RangePicker:cl}=Wn.default,{Option:ia}=$.default,dl=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie,ge,oe,$e,ft,ee,je,nt;const it=(0,W.useParams)(),{workSetting:Ee,workList:Je}=S,[q,_t]=(0,n.useState)(!0);let[Ve,tt]=(0,n.useState)([]),[N,It]=(0,n.useState)([]),[Ge,mt]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"",ta_proportion:"",te_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,unified_late:!0,allow_late:!1,late_time:"",late_penalty:0,penalty_type:Bu.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,comment_public:!0,score_open:!1,total_score:"",eff_score:"",submit_limit:!1,submit_limit_num:"",must_file:!1,can_submit:!1,submit_num:""});(0,n.useEffect)(()=>{},[]);const[Vt,cn]=(0,n.useState)(!1);(0,n.useEffect)(()=>{Ee!=null&&Ee.course_id&&(Object.keys(Ge).map(function(de){Ge[de]=Ee[de]}),Ee.anonymous_comment&&(Ge.unified_late=Ee.unified_anonymous_comment,cn(Ee.unified_anonymous_comment)),(!Ge.allow_late||!Ge.unified_late)&&(Ge.late_penalty=5),Ge.unified_setting||(Ge.unified_late=!1,Ge.unified_anonymous_comment=!1,Ge.unified_anonymous_appeal=!1),Ve=JSON.parse(JSON.stringify(Ee.group_settings.map(de=>ea(au({},de),{group_name:[de.group_name]})).filter(de=>de.publish_time!==null))),N=JSON.parse(JSON.stringify(Ee.allow_late_settings.map(de=>ea(au({},de),{group_name:[de.group_name]})).filter(de=>de.late_time!==null))),mt(au({},Ge)),tt(Ve.length?[...Ve]:[{}]),It([...N]))},[Ee]),(0,n.useEffect)(()=>{_t(!(0,r.GJ)())},[(0,r.GJ)()]);const Ke=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:au({},it)})},[Zt,fe]=(0,n.useState)(!1),ze=()=>il(void 0,null,function*(){fe(!Zt);const de=JSON.parse(JSON.stringify(Ge));if(de.categoryId=it.categoryId,Ge.unified_setting||Ve==null||Ve.map(dt=>{var Ot,Lt;if(!dt.publish_time||!dt.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),fe(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!dt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),fe(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");dt.group_name=typeof(dt==null?void 0:dt.group_name)=="string"?[dt==null?void 0:dt.group_name]:dt==null?void 0:dt.group_name,dt.group_id=(Lt=(Ot=dt==null?void 0:dt.group_name)==null?void 0:Ot.map(Bt=>{var Gt,fn;let In=(fn=(Gt=Ee.group_settings)==null?void 0:Gt.filter(Fn=>(Fn==null?void 0:Fn.group_name)===Bt))==null?void 0:fn[0];return In==null?void 0:In.group_id}))==null?void 0:Lt.toString().split(",")}),de.group_settings=Ve,Ge.allow_late)if(Ge.unified_late){if(Ge.late_penalty===null||Ge.late_penalty===void 0||Ge.late_penalty<0||Ge.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),fe(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ge.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),fe(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(i()(Ge.late_time)<=i()(Ge.end_time))throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4"),fe(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4")}else N=N==null?void 0:N.map(dt=>{var Ot,Lt;if(dt.penalty_type=Bu.Q.Number,dt.late_penalty===null||dt.late_penalty===void 0||dt.late_penalty<0||dt.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),fe(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!dt.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),fe(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!dt.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),fe(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return dt.group_name=typeof(dt==null?void 0:dt.group_name)=="string"?[dt==null?void 0:dt.group_name]:dt==null?void 0:dt.group_name,dt.group_id=(Lt=(Ot=dt==null?void 0:dt.group_name)==null?void 0:Ot.map(Bt=>{var Gt,fn;let In=(fn=(Gt=Ee.group_settings)==null?void 0:Gt.filter(Fn=>(Fn==null?void 0:Fn.group_name)===Bt))==null?void 0:fn[0];return In==null?void 0:In.group_id}))==null?void 0:Lt.toString().split(","),dt}),de.allow_late_settings=N;if(Ge!=null&&Ge.submit_limit&&!(Ge!=null&&Ge.submit_limit_num)){h.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),fe(!1);return}if(Ge!=null&&Ge.can_submit&&!(Ge!=null&&Ge.submit_num)){h.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),fe(!1);return}Object.keys(de).map(function(dt){dt.indexOf("proportion")>-1&&(de[dt]=de[dt]/100)}),(yield(0,ne.ZP)(`/api/homework_commons/${it.categoryId}/publish_setting.json`,{method:"post",body:ea(au({},de),{penalty_type:Bu.Q.Number})})).status===0?(fe(!1),h.ZP.success("\u66F4\u65B0\u6210\u529F"),Ke(),v({type:"shixunHomeworks/getWorkList",payload:au({},it)})):fe(!1)}),se=Qe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Qe.createElement("br",null),"\u6559\u5E08\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u52A9\u6559\u8BC4\u5206 * \u5176\u767E\u5206\u6BD4 + \u5B66\u751F\u533F\u8BC4\u5E73\u5747\u5206 * \u5176\u767E\u5206\u6BD4 - (",Qe.createElement("br",null),"\u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Qe.createElement("br",null),Qe.createElement("br",null),"\u6CE8\u610F",Qe.createElement("br",null),"\u975E\u96F6\u767E\u5206\u6BD4\u7684\u8BC4\u5206\u9009\u9879\uFF0C\u82E5\u8BC4\u5206\u8BB0\u5F55\u4E3A\u7A7A\uFF0C\u5219\u5176\u767E\u5206\u6BD4\u5C06\u81EA\u52A8\u5E73\u644A\u5230\u5176\u5B83\u975E\u96F6",Qe.createElement("br",null),"\u8BC4\u5206\u9009\u9879\u4E0A\u3002",Qe.createElement("br",null),"\u4F8B\uFF1A\u6559\u5E08\u8BC4\u520640% + \u52A9\u6559\u8BC4\u520635% + \u5B66\u751F\u533F\u8BC425%\uFF0C\u5B66\u751FA\u6CA1\u6709\u6559\u5E08\u8BC4\u5206\u8BB0",Qe.createElement("br",null),"\u5F55\uFF0C\u5219\u5176\u6700\u7EC8\u6210\u7EE9\u6309\u7167\u52A9\u6559\u8BC4\u520655% + \u5B66\u751F\u533F\u8BC445%\u8FDB\u884C\u8BA1\u7B97"),kt=Qe.createElement("div",{className:"mask-tips"},"\u8BA1\u7B97\u8BF4\u660E\uFF1A",Qe.createElement("br",null),"\u4F18\u5148\u987A\u5E8F\u6392\u524D\u7684\u975E\u96F6\u8BC4\u5206 * 100% -",Qe.createElement("br",null),"( \u8FDF\u4EA4\u6263\u5206 + \u7F3A\u8BC4\u6263\u5206 * \u7F3A\u8BC4\u6570 + \u8FDD\u89C4\u533F\u8BC4\u6263\u5206 * \u8FDD\u89C4\u533F\u8BC4\u6570 )",Qe.createElement("br",null),"\u4F8B\uFF1A\u6709\u6559\u5E08\u8BC4\u5206\u5219\u6559\u5E08\u8BC4\u5206100%\uFF0C\u5426\u5219\u6559\u8F85\u8BC4\u5206100%\uFF0C\u4F9D\u6B21\u7C7B\u63A8"),tn=(de,lt,dt="group_id")=>{var Ot;return lt?lt.find(Lt=>Lt[dt]===de):(Ot=Ee==null?void 0:Ee.group_settings)==null?void 0:Ot.find(Lt=>Lt.group_id[0]===de)},dn=(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.anonymous_comment),rt=de=>{var lt,dt;const Ot=tn(de,Ee==null?void 0:Ee.allow_late_settings,"id"),Lt=tn(de,Ee==null?void 0:Ee.anonymous_comment_settings),Bt=tn(de);return(Ee==null?void 0:Ee.allow_late)&&Ot&&i()(Ot==null?void 0:Ot.late_time)<=i()()||(Ee==null?void 0:Ee.anonymous_comment)&&Lt&&(Lt==null?void 0:Lt.evaluation_start)!==null||((dt=(i()(Bt==null?void 0:Bt.end_time)<=i()()&&((lt=Ee==null?void 0:Ee.allow_late_settings)==null?void 0:lt.filter(Gt=>Gt.group_id.includes(de))))[0])==null?void 0:dt.late_time)!=null},Le=(pe=Ee==null?void 0:Ee.allow_late_settings)!=null&&pe.length?(he=Ee==null?void 0:Ee.allow_late_settings)==null?void 0:he.every(de=>{if(de.evaluation_start)return!0}):!1,Wt=(Ee==null?void 0:Ee.unified_late)&&(Ee==null?void 0:Ee.anonymous_comment),yt=Ee==null?void 0:Ee.anonymous_comment,rn=(0,n.useMemo)(()=>{var de,lt;return Ee!=null&&Ee.unified_setting?!((de=Je==null?void 0:Je.homework_status)!=null&&de.includes("\u5DF2\u622A\u6B62"))||(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.anonymous_comment):!((lt=Ee==null?void 0:Ee.group_settings)==null?void 0:lt.some(Ot=>i()(Ot.end_time)<=i()()))||(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.all_group_late)},[Ee,Je]),ct=Ee==null?void 0:Ee.anonymous_comment,Ue=de=>{if(!de)return!1;const lt=tn(de,Ee==null?void 0:Ee.anonymous_comment_settings);return(Ee==null?void 0:Ee.anonymous_comment)&<&&(lt==null?void 0:lt.evaluation_start)!==null},Et=de=>{const lt=tn(de,Ee==null?void 0:Ee.anonymous_comment_settings);return lt&&(lt==null?void 0:lt.evaluation_start)!==null};return Qe.createElement("section",{style:{padding:"30px 50px"}},Qe.createElement("div",{className:`${at.Z.title}`},Qe.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),Qe.createElement(D.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${at.Z.title_icon}`}))),Qe.createElement("div",{className:at.Z.content},Qe.createElement(g.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${at.Z.h_lh_40}`},Qe.createElement(Z.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:q||!((_e=Je==null?void 0:Je.homework_status)!=null&&_e.includes("\u672A\u53D1\u5E03"))||(0,r.Rm)()&&!((ue=(Ae=me.AssistantObject)==null?void 0:Ae.normal)!=null&&ue.can_publish),value:Ge.unified_setting,onChange:de=>{var lt;if(!((lt=Je==null?void 0:Je.homework_status)!=null&<.includes("\u672A\u53D1\u5E03"))){h.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ge.unified_setting=!Ge.unified_setting,Ge.unified_setting||(Ge.unified_late=!1),mt(Object.assign({},Ge)),Ge.unified_setting===!1&&Ve==""){tt(Ve.concat({}));return}Ge.unified_setting&&(tt([]),It([{late_penalty:5}]))}},Qe.createElement(Z.ZP,{value:!0,disabled:!(Ee!=null&&Ee.manage_all_group)||!(0,r.GJ)()},"\u7EDF\u4E00\u53D1\u5E03"),Qe.createElement(Z.ZP,{disabled:((Ie=Ee==null?void 0:Ee.group_settings)==null?void 0:Ie.length)===0||!(0,r.GJ)(),value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")),((ge=Ee==null?void 0:Ee.group_settings)==null?void 0:ge.length)===0&&Qe.createElement("span",{style:{marginLeft:"20px",color:"#333"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Ge.unified_setting&&Qe.createElement("div",{className:at.Z.row_sty,style:{padding:"5px 30px"}},Qe.createElement(g.Z,{align:"middle"},Qe.createElement(l.Z,{style:{color:"#666",marginRight:10}},"\u53D1\u5E03\u65F6\u95F4"),Qe.createElement(l.Z,{className:"ml5"},Qe.createElement(Wn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:de=>(0,cu.Q8)(de,Ee==null?void 0:Ee.course_end_date),disabledTime:de=>(0,cu.d0)(de),disabled:q||!((oe=Je==null?void 0:Je.homework_status)!=null&&oe.includes("\u672A\u53D1\u5E03")||($e=Je==null?void 0:Je.homework_status)!=null&&$e.includes("\u672A\u5F00\u59CB"))||(0,r.Rm)()&&!((ft=me.AssistantObject.normal)!=null&&ft.can_publish),value:Ge.publish_time?i()(Ge.publish_time):"",allowClear:!1,onChange:(de,lt)=>{Ge.publish_time=lt,(Ge.end_time==""||!Ge.end_time)&&Ge.unified_setting&&(Ge.end_time=i()(de).add(1,"month").format("YYYY-MM-DD HH:mm:ss"),Ge.end_time=Ge.end_time),mt(Object.assign({},Ge))}})),Qe.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09")),Qe.createElement(g.Z,{align:"middle"},Qe.createElement(l.Z,{style:{marginLeft:40,color:" #666",marginRight:10}},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(l.Z,{className:"ml5"},Qe.createElement(Wn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Le||yt||(Ee==null?void 0:Ee.allow_late)&&(Ee==null?void 0:Ee.homework_status.includes("\u5DF2\u622A\u6B62"))||q||(Ee==null?void 0:Ee.allow_late)&&i()()>=i()(Ee==null?void 0:Ee.end_time)||(0,r.Rm)()&&!((ee=me.AssistantObject.normal)!=null&&ee.can_publish),allowClear:!1,disabledDate:de=>(0,cu.Q8)(de,Ee==null?void 0:Ee.course_end_date,Ge.publish_time),disabledTime:de=>(0,cu.d0)(de,Ge.publish_time),value:Ge.end_time?i()(Ge.end_time):"",onChange:(de,lt)=>{Ge.end_time=lt,mt(Object.assign({},Ge))}})),Qe.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))),!Ge.unified_setting&&Qe.createElement(g.Z,null,Ve&&Ve.map(function(de,lt){var dt,Ot,Lt,Bt;return Qe.createElement(g.Z,{key:lt},Qe.createElement(g.Z,{style:{padding:"5px 14px 5px 52px"}},Qe.createElement(l.Z,{className:at.Z.lable_name1},"\u53D1\u5E03\u89C4\u5219",lt+1),Qe.createElement(l.Z,{flex:1,style:{maxWidth:400}},Qe.createElement($.default,{disabled:q||((dt=Je==null?void 0:Je.homework_status)!=null&&dt.includes("\u672A\u53D1\u5E03")&&de.id||i()(){var fn,In;if((0,r.Rm)()&&!((In=(fn=me.AssistantObject)==null?void 0:fn.normal)!=null&&In.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ve[lt].group_name=Gt,Ve[lt].group_id=de.group_id;const Fn=(0,a.flattenDeep)(Ve.map(Rn=>Rn.group_name)),On=N.map(Rn=>{let gn=(Rn==null?void 0:Rn.group_name)||[];return ea(au({},Rn),{group_name:(0,a.remove)(gn,Qn=>Fn.includes(Qn))})});It(On),tt(Ve.slice())}},Ee.group_settings&&Ee.group_settings.map(function(Gt){if(!Ve.map(fn=>fn.group_name).toString().split(",").includes(String(Gt.group_name)))return Qe.createElement(ia,{value:Gt.group_name,key:Gt.id},Gt.group_name)})))),Qe.createElement(l.Z,{style:{padding:"5px 0"}},Qe.createElement(cl,{style:{width:620},size:"large",allowClear:!1,ranges:{\u6B64\u523B:[de.publish_time?i()(de.publish_time):i()(),i()()]},disabled:q||(i()()<=i()((Ot=tn(de.id))==null?void 0:Ot.publish_time)?!1:[!0,rt(de.id)]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Gt=>(0,cu.Q8)(Gt,Ee==null?void 0:Ee.course_end_date),disabledTime:Gt=>(0,cu.d0)(Gt),showTime:{format:"HH:mm",defaultValue:[i()((0,E.U6)(),"HH:mm"),i()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:de.publish_time&&[i()(de.publish_time),i()(de.end_time)],onChange:(Gt,fn)=>{var In,Fn;if((0,r.Rm)()&&!((Fn=(In=me.AssistantObject)==null?void 0:In.normal)!=null&&Fn.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ve[lt].publish_time=fn[0],Ve[lt].end_time=fn[1],tt([...Ve])}})),!q&&Qe.createElement(l.Z,{className:`${(Lt=at.Z)==null?void 0:Lt.h_lh_40}`,style:{padding:"5px 0"}},Ve.length<((Bt=Ee==null?void 0:Ee.group_settings)==null?void 0:Bt.length)&&Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{tt(Ve.concat({}))}}),(de!=null&&de.publish_time&&i()(){var Gt,fn;if((0,r.Rm)()&&!((fn=(Gt=me.AssistantObject)==null?void 0:Gt.normal)!=null&&fn.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const In=(0,a.cloneDeep)(N);In.forEach((Fn,On)=>{Fn.group_name&&(Fn.group_name=Fn.group_name.filter(Rn=>{var gn;return!((gn=Ve[lt].group_name)!=null&&gn.includes(Rn))}))}),Ve=Ve.filter((Fn,On)=>lt!==On),It(In),tt(Ve.slice()),setTimeout(()=>tt(Ve.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))}))),!(Je!=null&&Je.is_shixun)&&Qe.createElement(ka.ZP,{checkMarginLeft:60,disabled:q,value:Ge,onChange:de=>mt(au(au({},Ge),de))}),Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{className:`${at.Z.title} mt30`},Qe.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),Qe.createElement("div",{className:at.Z.content},Qe.createElement(g.Z,{className:`${at.Z.row_sty} ${at.Z.bottom_line} ${(je=at.Z)==null?void 0:je.h_lh_40}`,align:"middle"},Qe.createElement(Vu.Z,{checked:Ge.allow_late,disabled:Le||q||(Ee==null?void 0:Ee.allow_late),onChange:de=>{var lt,dt;if((0,r.Rm)()&&!((dt=(lt=me.AssistantObject)==null?void 0:lt.normal)!=null&&dt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}de&&y.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Qe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Qe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Ge.allow_late=de,N==""&&It([{late_penalty:5}]),mt(au({},Ge))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement(D.Z,{overlayStyle:{width:380,maxWidth:380},title:Qe.createElement("div",{style:{display:"flex",flexFlow:"column"}},Qe.createElement("span",null,"\u8865\u4EA4\u89C4\u5219\u8BF4\u660E"),Qe.createElement("span",null,"\u5F00\u542F\u8865\u4EA4\uFF0C\u5B66\u751F\u53EA\u5728\u8865\u4EA4\u65F6\u95F4\u5185\u624D\u901A\u5173\u5219\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u4E0D\u6263\u5206\uFF1B"),Qe.createElement("span",null,"\u5B66\u751F\u5728\u6B63\u5E38\u4F5C\u4E1A\u89C4\u5B9A\u65F6\u95F4\u5185\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u9636\u6BB5\u518D\u6B21\u901A\u5173\u4E0D\u6263\u5206\u3002"))},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${at.Z.title_icon}`}))),(Ge==null?void 0:Ge.allow_late)&&Qe.createElement("div",{className:"pb5"},Qe.createElement(g.Z,{className:at.Z.row_sty1},Qe.createElement(l.Z,{className:at.Z.lable_name,style:{marginRight:20}},"\u8865\u4EA4\u65B9\u5F0F"),Qe.createElement(Z.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:q,value:Ge.unified_late,onChange:de=>{var lt;if((0,r.Rm)()&&!((lt=me.AssistantObject.normal)!=null&<.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.unified_late=de.target.value,N==""&&!de.target.value&&It([{late_penalty:5}]),mt(au({},Ge))}},(Ge==null?void 0:Ge.unified_setting)&&Qe.createElement(Z.ZP,{disabled:(Ee==null?void 0:Ee.allow_late)||!(Ee!=null&&Ee.manage_all_group),value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((nt=Ee==null?void 0:Ee.group_settings)==null?void 0:nt.length)&&Qe.createElement(Z.ZP,{disabled:Ee==null?void 0:Ee.allow_late,value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ge!=null&&Ge.unified_late?Qe.createElement("div",null,Qe.createElement(g.Z,{wrap:!1,align:"middle",className:`${at.Z.row_sty1} mb10 mt5`},Qe.createElement(l.Z,{className:at.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(l.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:206},disabled:q||ct,value:Ge.late_penalty,onChange:de=>{var lt;if((0,r.Rm)()&&!((lt=me.AssistantObject.normal)!=null&<.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.late_penalty=de,mt(Object.assign({},Ge))}})),Qe.createElement(l.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),Qe.createElement(g.Z,{className:`${at.Z.row_sty1}`},Qe.createElement(l.Z,{className:at.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(l.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(Wn.default,{allowClear:!1,size:"large",style:{width:280},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:q||Wt||Le,value:Ge.late_time?i()(Ge.late_time):"",disabledDate:de=>(0,cu.Q8)(de,Ee==null?void 0:Ee.course_end_date),disabledTime:de=>(0,cu.d0)(de),onChange:(de,lt)=>{var dt;if((0,r.Rm)()&&!((dt=me.AssistantObject.normal)!=null&&dt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ge.late_time=lt,mt(Object.assign({},Ge))}})),Qe.createElement(l.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):N.map(function(de,lt){var dt;return Qe.createElement(g.Z,{key:lt,style:{padding:"5px 14px 5px 52px"}},Qe.createElement(l.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u89C4\u5219",lt+1),Qe.createElement(l.Z,{className:"mr20 ml10"},Qe.createElement($.default,{size:"large",disabled:q||!((dt=Je==null?void 0:Je.homework_status)!=null&&dt.includes("\u672A\u53D1\u5E03"))&&de.id,mode:"multiple",style:{width:250},value:typeof de.group_name=="string"?[de.group_name]:de.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ot=>{var Lt;if((0,r.Rm)()&&!((Lt=me.AssistantObject.normal)!=null&&Lt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[lt].group_name=Ot,N[lt].group_id=de.group_id,It(N.slice())}},Ee.group_settings&&Ee.group_settings.map(function(Ot){if(Ge!=null&&Ge.unified_setting&&!N.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!Et(Ot.id))return Qe.createElement(ia,{value:Ot.group_name,key:Ot.id},Ot.group_name);if(Ve.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!N.map(Lt=>Lt.group_name).toString().split(",").includes(String(Ot.group_name))&&!Et(Ot.id))return Qe.createElement(ia,{value:Ot.group_name,key:Ot.id},Ot.group_name)}))),Qe.createElement(l.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(l.Z,{className:"mr20 ml10"},Qe.createElement(I.Z,{size:"large",addonAfter:"\u5206",style:{width:150},min:0,max:100,disabled:q||Ue(de.id),defaultValue:de.late_penalty,onChange:Ot=>{var Lt,Bt;if((0,r.Rm)()&&!((Bt=(Lt=me.AssistantObject)==null?void 0:Lt.normal)!=null&&Bt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[lt].late_penalty=Ot,N[lt].penalty_type=Bu.Q.Number}})),Qe.createElement(l.Z,{className:at.Z.lable_name1},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(l.Z,{className:"ml10"},Qe.createElement(Wn.default,{size:"large",disabled:q||Ue(de.id),style:{width:250},showTime:{format:"HH:mm",defaultValue:i()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Ot=>(0,cu.Q8)(Ot,Ee==null?void 0:Ee.course_end_date),disabledTime:Ot=>(0,cu.d0)(Ot),format:"YYYY-MM-DD HH:mm",value:de!=null&&de.late_time?i()(de.late_time):void 0,onChange:(Ot,Lt)=>{var Bt,Gt;if((0,r.Rm)()&&!((Gt=(Bt=me.AssistantObject)==null?void 0:Bt.normal)!=null&&Gt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N[lt].late_time=Lt,It([...N])}})),!q&&Qe.createElement(l.Z,{style:{height:40,lineHeight:"40px"}},Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{It(N.concat({penalty_type:Bu.Q.Number,late_penalty:5}))}}),lt>0&&!de.id?Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{N=N.filter((Ot,Lt)=>lt!==Lt),It(N.slice()),setTimeout(()=>It(N.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))})))),Qe.createElement(z.ZP,{loading:Zt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>ze()},"\u4FDD\u5B58"))};var ml=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(dl),Pu=s(59301),pl=Object.defineProperty,fl=Object.defineProperties,El=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,Ta=(S,C,v)=>C in S?pl(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Du=(S,C)=>{for(var v in C||(C={}))gl.call(C,v)&&Ta(S,v,C[v]);if(Ma)for(var v of Ma(C))vl.call(C,v)&&Ta(S,v,C[v]);return S},Tu=(S,C)=>fl(S,El(C)),ca=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const hl=S=>ca(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/publish_setting.json`,{method:"post",body:S})}),Fl=S=>ca(void 0,null,function*(){return yield(0,ne.ZP)(`/api/homework_commons/${S==null?void 0:S.categoryId}/evaluation_setting.json`,{method:"post",body:S})}),bo=(S,C)=>S==null?void 0:S.map(v=>{var me;return(me=C==null?void 0:C.find(pe=>pe.value===v))==null?void 0:me.id}),_l=(S,C)=>{var v;return S=typeof S=="string"?[S]:S,(v=S==null?void 0:S.map(me=>C==null?void 0:C.find(pe=>{var he;return(he=pe==null?void 0:pe.group_name)==null?void 0:he.includes(me)})))==null?void 0:v.filter(me=>me)},xo=(S,C,v,me=!1)=>{let pe=null,he=me?C:_l(S,C);return he==null||he.forEach((_e,Ae)=>{(Ae==0||v(_e,pe||{}))&&(pe=_e)}),pe},yl=({shixunHomeworks:S,loading:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie;const ge=(0,W.useParams)(),{workSetting:oe,workList:$e}=S,[,ft,ee]=(0,t.U)(hl,{categoryId:ge==null?void 0:ge.categoryId,penalty_type:Bu.Q.Number}),[,je,nt]=(0,t.U)(Fl,{categoryId:ge==null?void 0:ge.categoryId}),[it]=c.default.useForm(),Ee=c.default.useWatch("unified_setting",it),Je=c.default.useWatch("group_settings",it),q=c.default.useWatch("allow_late_settings",it),_t=c.default.useWatch("end_time",it),Ve=c.default.useWatch("publish_time",it),tt=c.default.useWatch("allow_late",it),N=c.default.useWatch("unified_late",it),It=c.default.useWatch("late_time",it),Ge=c.default.useWatch("anonymous_comment",it),mt=c.default.useWatch("unified_anonymous_comment",it),Vt=c.default.useWatch("evaluation_start",it),cn=c.default.useWatch("anonymous_appeal",it),Ke=c.default.useWatch("anonymous_comment_settings",it),Zt=c.default.useWatch("unified_anonymous_appeal",it),fe=c.default.useWatch("anonymous_appeal_settings",it),[ze,se]=(0,n.useState)(!1),[kt,tn]=(0,n.useState)({}),dn=ze||(0,r.Rm)()&&!((he=(pe=me.AssistantObject)==null?void 0:pe.normal)!=null&&he.can_publish),rt=ze||(0,r.Rm)()&&!((Ae=(_e=me.AssistantObject)==null?void 0:_e.normal)!=null&&Ae.can_late),Le=ze||(0,r.Rm)()&&!((Ie=(ue=me.AssistantObject)==null?void 0:ue.normal)!=null&&Ie.can_anonymous_comment),Wt=rn=>ca(void 0,null,function*(){const ct=rn;let Ue=yield(0,ne.ZP)(`/api/homework_commons/${ge==null?void 0:ge.categoryId}/publish_setting_for_submit.json`,{method:"post",body:ct});(Ue==null?void 0:Ue.status)===0&&(h.ZP.success("\u4FDD\u5B58\u6210\u529F"),yt(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}))}),yt=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Du({},ge)}),v({type:"shixunHomeworks/getWorkList",payload:Du({},ge)})};return(0,n.useEffect)(()=>{var rn,ct,Ue,Et;let de=(rn=oe==null?void 0:oe.group_settings)==null?void 0:rn.filter(Bt=>Bt.publish_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],publish_time:(Bt==null?void 0:Bt.publish_time)&&[i()(Bt==null?void 0:Bt.publish_time),i()(Bt==null?void 0:Bt.end_time)]}));de=(0,E.QE)((de==null?void 0:de.length)>0?de:[]);const lt=(ct=oe.allow_late_settings)==null?void 0:ct.filter(Bt=>Bt.late_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],late_time:(Bt==null?void 0:Bt.late_time)&&i()(Bt==null?void 0:Bt.late_time)})),dt=(Ue=oe.anonymous_comment_settings)==null?void 0:Ue.filter(Bt=>Bt.evaluation_start!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name],evaluation_start:(Bt==null?void 0:Bt.evaluation_start)&&[i()(Bt==null?void 0:Bt.evaluation_start),i()(Bt==null?void 0:Bt.evaluation_end)]})),Ot=(Et=oe.anonymous_appeal_settings)==null?void 0:Et.filter(Bt=>Bt.appeal_time!==null).map(Bt=>Tu(Du({},Bt),{group_name:[Bt.group_name]})),Lt=Tu(Du({},oe),{late_penalty:oe!=null&&oe.allow_late?oe==null?void 0:oe.late_penalty:5,evaluation_num:oe!=null&&oe.evaluation_num?oe==null?void 0:oe.evaluation_num:3,absence_penalty:oe!=null&&oe.anonymous_comment?oe==null?void 0:oe.absence_penalty:3,appeal_penalty:oe!=null&&oe.anonymous_appeal?oe==null?void 0:oe.appeal_penalty:2,publish_time:oe!=null&&oe.publish_time?i()(oe==null?void 0:oe.publish_time):"",end_time:oe!=null&&oe.end_time?i()(oe==null?void 0:oe.end_time):"",late_time:oe!=null&&oe.late_time?i()(oe==null?void 0:oe.late_time):"",evaluation_start:oe!=null&&oe.evaluation_start?i()(oe==null?void 0:oe.evaluation_start):"",evaluation_end:oe!=null&&oe.evaluation_end?i()(oe==null?void 0:oe.evaluation_end):"",group_settings:de!=null&&de.length?de:[{is_admin:!0}],allow_late_settings:lt!=null&<.length?lt:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:dt!=null&&dt.length?dt:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:Ot!=null&&Ot.length?Ot:[{is_admin:!0,appeal_penalty:2}]});it.setFieldsValue(Lt),tn(Lt),se(!(0,r.GJ)()),console.log("workSetting",oe)},[oe]),(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0}),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),it==null||it.resetFields()}),[]),Pu.createElement(j.Z,{spinning:!!C["shixunHomeworks/getWorkSetting"]||!!C["shixunHomeworks/getWorkList"]},Pu.createElement("section",{style:{padding:"30px 50px",background:"#fff",marginTop:4}},Pu.createElement(c.default,{form:it,colon:!1,disabled:ze,initialValues:kt,scrollToFirstError:!0,onFinish:Wt},!($e!=null&&$e.is_shixun)&&Pu.createElement(ka.rU,{form:it})),((0,r.GJ)()||!(dn||rt||Le))&&Pu.createElement(z.ZP,{loading:ft||je,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{it.submit()}},"\u4FDD\u5B58"),Pu.createElement(xa.Z,{onConfirm:(rn,ct)=>{Je.splice(rn,0,...ct),Je.splice(rn+ct.length,1);const Ue=(0,E.QE)([...Je]);Ue.forEach(Et=>{var de;((de=Et==null?void 0:Et.publish_time)==null?void 0:de.length)==2?Et.publish_time=Et.publish_time:Et.publish_time=[i()(Et==null?void 0:Et.publish_time),i()(Et==null?void 0:Et.end_time)]}),it.setFieldValue("group_settings",[...Ue])}})))};var Al=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v})=>({shixunHomeworks:S,classroomList:C,loading:v.effects}))(yl),du=s(59301);const Cl=({shixunHomeworks:S,loading:C,dispatch:v})=>{const{workSetting:me,workList:pe}=S,[he,_e]=(0,n.useState)("1"),Ae=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:me!=null&&me.is_new_rule?du.createElement(Xr,null):du.createElement(ml,null)},!(pe!=null&&pe.is_shixun)&&{key:"7",label:"\u63D0\u4EA4\u8BBE\u7F6E",element:du.createElement(Al,null)},((pe==null?void 0:pe.is_jupyter)||(pe==null?void 0:pe.is_jupyter_lab))&&{key:"6",label:"\u5B9E\u9A8C\u8BBE\u7F6E",element:du.createElement(ul,null)},!(me!=null&&me.is_new_rule)&&{key:"2",label:"\u533F\u8BC4\u8BBE\u7F6E",element:du.createElement(jr,null)},{key:"3",label:"\u8BC4\u5206\u8BBE\u7F6E",element:du.createElement(yr,null)},{key:"4",label:"\u516C\u5F00\u8BBE\u7F6E",element:du.createElement(xr,null)},{key:"5",label:"\u534F\u4F5C\u8BBE\u7F6E",element:du.createElement(cr,null)}].filter(ue=>!!ue);return(0,n.useEffect)(()=>(v({type:"globalSetting/footerToggle",payload:!1}),()=>{v({type:"globalSetting/footerToggle",payload:!0})}),[]),du.createElement("div",{style:{paddingBottom:"50px"}},(Ae==null?void 0:Ae.length)&&du.createElement(Or.Z,{dataSource:Ae,style:{marginBottom:52}}))};var Bl=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(Cl),ku={flex_box_center:"flex_box_center___FJzIA",flex_space_between:"flex_space_between___oLjvQ",flex_box_vertical_center:"flex_box_vertical_center___SoaRH",flex_box_center_end:"flex_box_center_end___ewpDJ",flex_box_column:"flex_box_column___HLvXm",homeworkDetailWrapper:"homeworkDetailWrapper___VAJSJ",title:"title___C63Sm",export:"export___HoqEK",bg:"bg___Ow82a",tabs:"tabs___AQDwR",workListTabWrap:"workListTabWrap___eltpM",workListTabButton:"workListTabButton___kCRZe"},Dl=s(83061),wl=s(26084),bl=s(46400),xl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYQAAAGhCAYAAABh3MNWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAAIABJREFUeF7svVeTbNmVHraOSVvmlrv+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IOgYut7BEBoQZsADBu78MLdAwV6oUAAgl6otf5zAyB0oF0AhvUvrnBloEAnCgRG34lCm/t9AITNpffIPS0A5shNaV8vFBh8X+Tb8osDIGz5FGz/AQRQ2Lg5DAx242gb7txMgf8PJKA42v0GvfsAAAAASUVORK5CYII=",Ol=Object.defineProperty,Sl=Object.defineProperties,Il=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Pl=Object.prototype.hasOwnProperty,kl=Object.prototype.propertyIsEnumerable,La=(S,C,v)=>C in S?Ol(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,gu=(S,C)=>{for(var v in C||(C={}))Pl.call(C,v)&&La(S,v,C[v]);if(Ra)for(var v of Ra(C))kl.call(C,v)&&La(S,v,C[v]);return S},Ru=(S,C)=>Sl(S,Il(C)),Nl=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Zl=({shixunHomeworks:S,loading:C,dispatch:v})=>{var me;const pe=(0,W.useParams)(),[he,_e]=(0,n.useState)(gu(gu({},{page:1,limit:20,group_ids:[]}),pe)),{codeReview:Ae}=S,[ue]=c.default.useForm();he.order="code_rate",he.sort="desc",he.category=he.categoryId,(0,n.useEffect)(()=>{Ie()},[he]),(0,n.useEffect)(()=>{S.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Ie()},[S.actionTabs.key]);const Ie=()=>Nl(void 0,null,function*(){(yield v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})).status===-2&&setTimeout(()=>Ie(),1500)}),ge=($e,ft)=>{he.page=$e,he.limit=20,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})},oe=[{title:"\u5E8F\u53F7",dataIndex:"number",render:($e,ft,ee)=>he.limit*(he.page-1)+ee+1},{title:"\u59D3\u540D",dataIndex:"user"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"similar_rate",render:$e=>n.createElement("span",{className:"c-orange"},$e)},{title:"\u64CD\u4F5C",dataInex:"action",render:($e,ft)=>n.createElement("div",null,n.createElement(W.Link,{target:"_blank",to:`/classrooms/${he.coursesId}/common_homework/${he.categoryId}/review_detail/${ft.user_id}`},"\u67E5\u770B"),n.createElement("br",null))}];return n.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},n.createElement(g.Z,null,n.createElement(l.Z,{flex:"1"},n.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Ae.time,n.createElement(z.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{v({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:he}})}},"\u6587\u6863\u67E5\u91CD"))),n.createElement(l.Z,null,n.createElement(F.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:$e=>{he.search=$e,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})},style:{width:200}}),n.createElement("span",{className:"ml5 c-red"}))),(Ae==null?void 0:Ae.status)===-2&&n.createElement("div",{style:{textAlign:"center",margin:"100px 0px",paddingBottom:"100px"}},n.createElement("img",{src:xl}),n.createElement("br",null),n.createElement(z.ZP,{type:"primary",style:{width:"120px",height:"40px"},onClick:()=>{v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})}},"\u5237\u65B0\u9875\u9762")),((me=Ae.course_groups)==null?void 0:me.length)>0&&n.createElement(n.Fragment,null,n.createElement(g.Z,null,n.createElement(l.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),n.createElement(l.Z,{flex:"80px"},n.createElement(b.default,{checked:he.group_ids=="",value:"all",onChange:$e=>{delete he.group_ids,he.group_ids=[],he.page=1,_e(gu({},he))}},"\u5168\u90E8")),n.createElement(l.Z,{flex:"1"},Ae.course_groups&&Ae.course_groups.map(($e,ft)=>n.createElement(b.default,{value:$e.id,checked:he.group_ids.includes($e.id),onChange:ee=>{ee.target.checked?he.group_ids.push($e.id):he.group_ids.splice(he.group_ids.indexOf($e.id),1),he.page=1,_e(gu({},he))}},$e.name,"(",$e.members_count,")")))),n.createElement(g.Z,{className:"font14 c-red mt5"},n.createElement(l.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),(Ae==null?void 0:Ae.data)==="\u52A0\u8F7D\u4E2D"&&n.createElement(j.Z,null,n.createElement(bl.Z,{message:Ae==null?void 0:Ae.data,type:"info"})),(Ae==null?void 0:Ae.data)==="\u6682\u65E0\u67E5\u91CD\u8BB0\u5F55"||(Ae==null?void 0:Ae.data)==="\u52A0\u8F7D\u4E2D"?"":n.createElement("div",null,n.createElement("p",{className:"mt10"},n.createElement("span",{className:"c-red"},Ae.similar_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u5B66\u5458\uFF08",Ae.total_count,"\u5B66\u5458\uFF09"),n.createElement(x.default,{className:"mt30",pagination:!1,dataSource:Ae.data,columns:oe,onChange:($e,ft,ee)=>{ee.order==="ascend"&&(he.b_order="asc"),ee.order==="descend"&&(he.b_order="desc"),ee.order||delete he.b_order,v({type:"shixunHomeworks/getFileRepeatResult",payload:Ru(gu({},he),{id:he==null?void 0:he.category,course_id:he==null?void 0:he.coursesId})})}}),n.createElement("aside",{className:"tc mb50 mt30"},n.createElement(L.Z,{showSizeChanger:!1,onChange:ge,defaultCurrent:he.page||1,current:he.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Ae.copy_reviews_count}))))};var Ml=(0,W.connect)(({shixunHomeworks:S,loading:C})=>({shixunHomeworks:S,loading:C.effects}))(Zl),Tl=Object.defineProperty,Rl=Object.defineProperties,Ll=Object.getOwnPropertyDescriptors,ja=Object.getOwnPropertySymbols,jl=Object.prototype.hasOwnProperty,zl=Object.prototype.propertyIsEnumerable,za=(S,C,v)=>C in S?Tl(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Hl=(S,C)=>{for(var v in C||(C={}))jl.call(C,v)&&za(S,v,C[v]);if(ja)for(var v of ja(C))zl.call(C,v)&&za(S,v,C[v]);return S},Ul=(S,C)=>Rl(S,Ll(C)),Ha=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Wl=({shixunHomeworks:S,dispatch:C})=>{const v=(0,W.useParams)(),[me,pe]=(0,n.useState)([]),[he,_e]=(0,n.useState)(!1),[Ae,ue]=(0,n.useState)(!1),[Ie,ge]=(0,n.useState)(!1),[oe,$e]=(0,n.useState)(""),[ft,ee]=(0,n.useState)(!1);(0,n.useEffect)(()=>{S.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(je.resetFields(),pe([]),ue(!0),it()):ue(!1)},[S.actionTabs.key]);const[je]=c.default.useForm();let nt=[];const it=()=>Ha(void 0,null,function*(){_e(!0);const q=yield(0,e.VB)(Ul(Hl({},v),{course_id:v==null?void 0:v.coursesId,id:v==null?void 0:v.categoryId}));pe([...me,...q==null?void 0:q.data]),$e(q),_e(!1)}),Ee=()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}}),ge(!1),_e(!1),pe([]),je.resetFields()},Je=[{title:"",dataIndex:"course_group_id",width:280,render:(q,_t)=>n.createElement(b.default,{disabled:!(_t.work_count>=1),value:String(_t.course_group_id)},_t.course_group_name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"work_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_time",width:130}];return n.createElement(y.default,{centered:!0,title:"\u6587\u6863\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Ae,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Ha(void 0,null,function*(){var q;const _t=je.getFieldsValue();if(((q=_t.group_ids)==null?void 0:q.length)<=0){h.ZP.info("\u8BF7\u9009\u62E9\u8981\u67E5\u8BE2\u7684\u73ED\u7EA7");return}ee(!0);const Ve=yield(0,ne.ZP)(`/api/homework_commons/${v.categoryId}/homework_file_repeat.json`,{method:"get",params:{course_group_id:[..._t.group_ids.map(tt=>Number(tt))]}});ee(!1),Ve.status===0&&(Ee(),h.ZP.success("\u64CD\u4F5C\u6210\u529F"),yield C({type:"shixunHomeworks/getWorkList",payload:S.actionTabs.params}),W.history.push(`/classrooms/${v.coursesId}/common_homework/${v.categoryId}/detail?tabs=4`),C({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ft},onCancel:Ee},n.createElement("span",null,"\u5F53\u524D\u6587\u6863\u67E5\u91CD\u5206\u6570\u6263\u5206\u4E3A",oe==null?void 0:oe.repeat_setting_score,"\u5206\uFF0C\u5982\u9700\u8C03\u6574\u8BF7\u5728\u201C\u8BBE\u7F6E-\u8BC4\u5206\u8BBE\u7F6E\u201D\u4E2D\u8FDB\u884C\u7F16\u8F91"),S.codeReviewCourse&&n.createElement(c.default,{form:je,initialValues:{group_ids:nt,end_time:i()(i()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},n.createElement("div",{className:"flexd-table-header mt20"},n.createElement(x.default,{pagination:!1,dataSource:[],columns:Je})),n.createElement(c.default.Item,{name:"group_ids"},n.createElement(b.default.Group,{className:"w100"},n.createElement("div",{style:{width:"100%",maxHeight:360,overflow:"auto"}},n.createElement(x.default,{showHeader:!1,columns:Je,dataSource:me,pagination:!1,loading:he}))))),n.createElement(g.Z,null,n.createElement(l.Z,{className:"ml10"},n.createElement(b.default,{checked:Ie,onChange:q=>{ge(q.target.checked);let _t=[];q.target.checked&&(_t=me.filter(Ve=>Ve.work_count>=1).map(Ve=>Ve.course_group_id+"")),je.setFieldsValue({group_ids:_t})}},"\u5168\u9009"))))};var Ql=(0,W.connect)(({shixunHomeworks:S})=>({shixunHomeworks:S}))(Wl),Yl=s(54873),Gl=s(25060),Kl=s(82693),Vl=s(7621),Jl=s(62551),Xl={TabsStyle:"TabsStyle___cT3EC"},Mt=s(59301),ql=Object.defineProperty,$l=Object.defineProperties,eo=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Wa=(S,C,v)=>C in S?ql(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Xn=(S,C)=>{for(var v in C||(C={}))to.call(C,v)&&Wa(S,v,C[v]);if(Ua)for(var v of Ua(C))no.call(C,v)&&Wa(S,v,C[v]);return S},qn=(S,C)=>$l(S,eo(C)),ta=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const uo=S=>ta(void 0,null,function*(){return yield(0,ne.ZP)(`/api/student_works/${S.userId}/deal_appeal_score.json`,{method:"post",body:S})}),ao=({globalSetting:S,shixunHomeworks:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie;const ge=(0,W.useParams)(),[oe]=(0,W.useSearchParams)(),{workList:$e,workSetting:ft}=C,[ee]=c.default.useForm(),[je,nt]=(0,n.useState)(!1),[it,Ee]=(0,n.useState)(null),[,Je,q,_t]=(0,t.U)(e.cN,{homeworkId:ge==null?void 0:ge.categoryId}),[,Ve,tt,N]=(0,t.U)(e.Qz,{homeworkId:ge==null?void 0:ge.categoryId}),[,It,Ge,mt]=(0,t.U)(e.mQ,{homeworkId:ge==null?void 0:ge.categoryId}),[,,Vt,cn]=(0,t.U)(uo,{}),[Ke,Zt]=(0,n.useState)({activeKey:"1",page:1,limit:10,status:""}),fe=[{id:"",name:"\u5168\u90E8"},{id:1,name:"\u5F85\u5BA1\u6838"},{id:3,name:"\u63A5\u53D7\u7533\u8BC9"},{id:4,name:"\u9A73\u56DE\u7533\u8BC9"}],ze=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(rt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u5B66\u751F\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u53CD\u9988\u95EE\u9898",dataIndex:"content",ellipsis:!0,key:"content"},{title:"\u88AB\u53CD\u9988\u95EE\u9898\u7684\u5B66\u751F",dataIndex:"unfeedback_real_name",key:"unfeedback_real_name",ellipsis:!0,width:180,render:(rt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},rt)},{title:"\u53CD\u9988\u95EE\u9898\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:180,render:rt=>i()(rt).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(rt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},"\u67E5\u770B")}],se=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(rt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"status",ellipsis:!0,key:"status",render:rt=>rt===-1?"\u91CD\u505A\u4E2D":Mt.createElement(E.Uw,{status:rt})},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",key:"student_comment_count",ellipsis:!0,width:100},{title:"\u88AB\u533F\u8BC4\u6700\u5927\u5206\u5DEE",dataIndex:"abnormal_score",key:"abnormal_score",width:180},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"score",key:"score",width:180},{title:"\u533F\u8BC4\u5F02\u5E38\u65F6\u95F4",dataIndex:"abnormal_date",key:"abnormal_date",width:180},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(rt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},"\u67E5\u770B")}],kt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(rt,Le,Wt)=>`${((Ke==null?void 0:Ke.page)-1)*Ke.limit+Wt+1}`},{title:"\u7533\u8BC9\u4EBA",ellipsis:!0,dataIndex:"real_name",key:"real_name",width:150,render:(rt,Le)=>Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},Le),{id:$e.is_jupyter||$e.is_jupyter_lab?Le==null?void 0:Le.id:Le==null?void 0:Le.student_work_id}))}},rt)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:150,key:"unappeal_real_name"},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",key:"score",width:120,ellipsis:!0},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",key:"comment"},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:150,render:rt=>i()(rt).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"appeal_status",key:"appeal_status",width:150,render:(rt,Le)=>Mt.createElement(Mt.Fragment,null,rt==3&&Mt.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),rt==4&&Mt.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),rt==1&&Mt.createElement(Mt.Fragment,null,Mt.createElement(d.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>ta(void 0,null,function*(){(yield Vt({userId:Le.student_work_id,score_id:Le.student_works_score_id,status:4})).status===0&&tn()})},"\u9A73\u56DE"),Mt.createElement(d.op,{openLoading:!0,className:"ml20",type:"link",style:{padding:0},onClick:()=>ta(void 0,null,function*(){Ee(Le),nt(!0)})},"\u63A5\u53D7")))}],tn=(rt=Ke)=>{Ke.activeKey=="1"&&tt({page:rt==null?void 0:rt.page,limit:rt==null?void 0:rt.limit}),Ke.activeKey=="2"&&Ge({page:rt==null?void 0:rt.page,limit:rt==null?void 0:rt.limit}),Ke.activeKey=="3"&&q({page:rt==null?void 0:rt.page,limit:rt==null?void 0:rt.limit,status:rt==null?void 0:rt.status})},dn=(rt={})=>{var Le;rt!=null&&rt.id&&(0,E.xg)($e.is_jupyter||$e.is_jupyter_lab?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/${rt.id}/comment`:ge.course_group?`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${rt.id}?ids=${(Le=ge.course_group)==null?void 0:Le.toString()}`:`/classrooms/${ge.coursesId}/common_homework/${ge.categoryId}/review/${rt.id}`)};return(0,n.useEffect)(()=>{tn(Ke)},[Ke]),(0,n.useEffect)(()=>{console.log("params",ge,oe.get("TabsActiveKey")),Zt(qn(Xn({},Ke),{activeKey:oe.get("TabsActiveKey")||"1"}))},[oe.get("TabsActiveKey")]),Mt.createElement(j.Z,{spinning:Ve||Je||It},Mt.createElement("section",{className:"p30",style:{background:"#fff"}},Mt.createElement(o.default,{destroyInactiveTabPane:!0,className:Xl.TabsStyle,activeKey:Ke.activeKey,onChange:rt=>{Zt(qn(Xn({},Ke),{activeKey:rt,page:1,limit:10}))}},Mt.createElement(o.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"1"},Mt.createElement(x.default,{className:"mt20",locale:{emptyText:Mt.createElement(Q.Z,null)},columns:ze,dataSource:((pe=N==null?void 0:N.data)==null?void 0:pe.list)||[],pagination:{total:((he=N==null?void 0:N.data)==null?void 0:he.count)||0,onChange:(rt,Le)=>{Zt(qn(Xn({},Ke),{page:rt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:rt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},rt),"\u6761\u6570\u636E")}})),Mt.createElement(o.default.TabPane,{tab:"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38",key:"2"},Mt.createElement(x.default,{className:"mt20",locale:{emptyText:Mt.createElement(Q.Z,null)},columns:se,dataSource:((_e=mt==null?void 0:mt.data)==null?void 0:_e.list)||[],pagination:{total:((Ae=mt==null?void 0:mt.data)==null?void 0:Ae.count)||0,onChange:(rt,Le)=>{Zt(qn(Xn({},Ke),{page:rt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:rt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},rt),"\u6761\u6570\u636E")}})),Mt.createElement(o.default.TabPane,{tab:"\u533F\u8BC4\u7533\u8BC9",key:"3"},Mt.createElement(d.qp,{title:"\u7533\u8BC9\u72B6\u6001",className:"mt20",value:Ke.status,onChange:rt=>{Zt(qn(Xn({},Ke),{status:rt,page:1}))},dataSource:fe,titleWidth:60}),Mt.createElement(x.default,{locale:{emptyText:Mt.createElement(Q.Z,null)},columns:kt,dataSource:((ue=_t==null?void 0:_t.data)==null?void 0:ue.list)||[],pagination:{total:((Ie=_t==null?void 0:_t.data)==null?void 0:Ie.count)||0,onChange:(rt,Le)=>{Zt(qn(Xn({},Ke),{page:rt,limit:Le}))},current:Ke==null?void 0:Ke.page,pageSize:Ke==null?void 0:Ke.limit,showTotal:rt=>Mt.createElement(Mt.Fragment,null,"\u5171",Mt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},rt),"\u6761\u6570\u636E")}}))),Mt.createElement(y.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:je,centered:!0,destroyOnClose:!0,onCancel:()=>{nt(!1)},maskClosable:!1,width:544,onOk:()=>{ee.submit()}},Mt.createElement(c.default,{form:ee,colon:!1,onFinish:rt=>ta(void 0,null,function*(){(yield Vt(qn(Xn({},rt),{userId:it.student_work_id,score_id:it.student_works_score_id,status:3}))).status===0&&(tn(),nt(!1))})},Mt.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),Mt.createElement(J.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:Mt.createElement("a",{onClick:()=>{dn(qn(Xn({},it),{id:$e.is_jupyter||$e.is_jupyter_lab?it==null?void 0:it.id:it==null?void 0:it.student_work_id}))}},it==null?void 0:it.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:Mt.createElement("span",{style:{color:"#191919"}},it==null?void 0:it.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:Mt.createElement("span",{style:{color:"#191919"}},it==null?void 0:it.score)}]}),Mt.createElement(g.Z,{className:"mt20",wrap:!1},Mt.createElement(l.Z,null,Mt.createElement(c.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},Mt.createElement(I.Z,{min:1,max:100,step:1}))),Mt.createElement(l.Z,null,Mt.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),Mt.createElement(l.Z,null,Mt.createElement(c.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},Mt.createElement(b.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570"))))))))};var ro=(0,W.connect)(({user:S,shixunHomeworks:C,loading:v,globalSetting:me,classroomList:pe})=>({user:S,shixunHomeworks:C,globalSetting:me,loading:v.effects,classroomList:pe}))(ao),Cn=s(59301),lo=Object.defineProperty,oo=Object.defineProperties,so=Object.getOwnPropertyDescriptors,Qa=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Ya=(S,C,v)=>C in S?lo(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,da=(S,C)=>{for(var v in C||(C={}))io.call(C,v)&&Ya(S,v,C[v]);if(Qa)for(var v of Qa(C))co.call(C,v)&&Ya(S,v,C[v]);return S},mo=(S,C)=>oo(S,so(C)),po=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const fo=({shixunHomeworks:S,classroomList:C,loading:v,dispatch:me})=>{const[pe,he]=(0,n.useState)(da(da({},(0,W.useParams)()),{page:1,limit:20})),{workList:_e,workSetting:Ae}=S,[ue,Ie]=(0,n.useState)([]);(0,n.useEffect)(()=>{_e!=null&&_e.course_id&&Ie(_e==null?void 0:_e.student_works)},[_e]),(0,n.useEffect)(()=>{ge()},[]);const ge=()=>po(void 0,null,function*(){const ft=yield me({type:"shixunHomeworks/getWorkList",payload:mo(da({},pe),{score_open:!0,work_public:!0})});Ie((ft==null?void 0:ft.student_works)||[])}),oe=(ft,ee)=>{pe.page=ft,pe.limit=20,ge()},$e=[{title:"\u59D3\u540D",width:"5%",ellipsis:!0,dataIndex:"user_name"},{title:"\u5B66\u53F7",width:"8%",ellipsis:!0,dataIndex:"student_id",sortDirections:["descend","ascend"],sorter:!0,render:ft=>ft},{title:_e!=null&&_e.is_jupyter_lab||_e!=null&&_e.is_jupyter?"\u4F5C\u4E1A\u72B6\u6001":"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",width:"6%",render:ft=>ft===-1?"\u91CD\u505A\u4E2D":Cn.createElement(E.Uw,{status:ft})},{title:"\u6700\u7EC8\u6210\u7EE9",width:"8%",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!0,render:(ft,ee)=>Cn.createElement(D.Z,{placement:"bottom",title:Cn.createElement("div",null,Cn.createElement("div",null,ee.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${ee.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),Cn.createElement("div",null,ee.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${ee.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),_e!=null&&_e.anonymous_comment?Cn.createElement("div",null,ee.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${ee.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Cn.createElement("div",null,ee.late_penalty?`\u8FDF\u4EA4\u6263\u5206\uFF1A${ee.late_penalty}\u5206`:"\u8FDF\u4EA4\u6263\u5206\uFF1A0.0\u5206"),Cn.createElement("div",null,ee.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${ee.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),_e!=null&&_e.anonymous_comment?Cn.createElement("div",null,ee.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${ee.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",Cn.createElement("div",null,ee.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${ee.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(_e!=null&&_e.is_jupyter||_e!=null&&_e.is_jupyter_lab)&&Cn.createElement("div",{onClick:je=>{var nt;je.stopPropagation(),(0,E.xg)(_e.is_jupyter||_e.is_jupyter_lab?`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/${ee.id}/comment`:pe.course_group?`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/review/${ee.id}?ids=${(nt=pe.course_group)==null?void 0:nt.toString()}`:`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/review/${ee.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ft>0?Cn.createElement("span",{style:{color:"#ff8100"}},ft):ft)},{title:"\u66F4\u65B0\u65F6\u95F4",width:"10%",dataIndex:"update_time",sortDirections:["descend","ascend"],sorter:!0,render:ft=>ft?i()(ft).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u8BC4\u5206",width:"6%",dataIndex:"student_score",render:(ft,ee)=>Cn.createElement(D.Z,{title:Cn.createElement("div",null,Cn.createElement("span",null,"\u4F60\u7684\u8BC4\u9605\u5206\u6570\uFF1A",ft,"\u5206"),Cn.createElement("br",null),Cn.createElement("span",null,"\u533F\u8BC4\u5B8C\u6210\u5EA6\uFF1A",ee.anonymous_comment_rate,"%"))},Cn.createElement("span",null,ft))},{title:"\u64CD\u4F5C",width:"10%",align:"center",fixed:"right",dataIndex:"action",render:(ft,ee)=>_e!=null&&_e.work_public?Cn.createElement("a",{target:"_blank",onClick:()=>{var je,nt;(je=_e.homework_status)!=null&&je.includes("\u5BFC\u5165")||(0,E.xg)(_e.is_jupyter||_e.is_jupyter_lab?`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/${ee.id}/comment`:pe.course_group?`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/review/${ee.id}?ids=${(nt=pe.course_group)==null?void 0:nt.toString()}`:`/classrooms/${pe.coursesId}/common_homework/${pe.categoryId}/review/${ee.id}`)}},"\u67E5\u770B"):"--"}].filter(ft=>!!ft);return Cn.createElement("div",{className:"p30 bg-white"},Cn.createElement(x.default,{loading:v["shixunHomeworks/getWorkList"],pagination:!1,locale:{emptyText:Cn.createElement(Q.Z,null)},dataSource:ue,columns:$e,onRow:(ft,ee)=>({}),rowKey:"id",onChange:(ft,ee,je)=>{if(je.order===void 0)switch(je.field){case"student_id":pe.b_order="desc",pe.order=je.field;break;default:delete pe.b_order,delete pe.order}else pe.b_order=je.order.replace("end",""),pe.order=je.field;ge()}}),Cn.createElement(L.Z,{showSizeChanger:!1,onChange:oe,hideOnSinglePage:!0,defaultCurrent:pe.page||1,current:pe.page||1,defaultPageSize:20,total:S.workList.work_count}))};var Eo=(0,W.connect)(({shixunHomeworks:S,classroomList:C,loading:v,user:me})=>({shixunHomeworks:S,classroomList:C,loading:v.effects,user:me}))(fo),gt=s(59301),go=Object.defineProperty,Ga=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Ka=(S,C,v)=>C in S?go(S,C,{enumerable:!0,configurable:!0,writable:!0,value:v}):S[C]=v,Lu=(S,C)=>{for(var v in C||(C={}))vo.call(C,v)&&Ka(S,v,C[v]);if(Ga)for(var v of Ga(C))ho.call(C,v)&&Ka(S,v,C[v]);return S},Va=(S,C,v)=>new Promise((me,pe)=>{var he=ue=>{try{Ae(v.next(ue))}catch(Ie){pe(Ie)}},_e=ue=>{try{Ae(v.throw(ue))}catch(Ie){pe(Ie)}},Ae=ue=>ue.done?me(ue.value):Promise.resolve(ue.value).then(he,_e);Ae((v=v.apply(S,C)).next())});const Fo=({globalSetting:S,shixunHomeworks:C,dispatch:v,classroomList:me})=>{var pe,he,_e,Ae,ue,Ie,ge,oe;const $e=(0,W.useParams)(),ft=(0,W.useLocation)(),[ee]=(0,W.useSearchParams)(),[je,nt]=(0,n.useState)(ee.get("tabs")||"0"),it=(0,n.useRef)(null),[Ee,Je]=(0,n.useState)(!1),{workList:q,workSetting:_t}=C,[,,Ve]=(0,t.U)(e.Gw,{homeworkId:q==null?void 0:q.id});ee.get("category_id")&&($e.category=ee.get("category_id")),(0,n.useEffect)(()=>{tt()},[$e.coursesId]),(0,n.useEffect)(()=>{v({type:"classroomList/getAssistantPermissions",payload:{course_id:$e.coursesId}})},[(0,r.bg)()]),(0,n.useEffect)(()=>{new URLSearchParams(ft.search).get("tabs")=="3"&&N()},[]);const tt=()=>{let mt=ee.get("page")&&JSON.parse(localStorage.getItem("commonhomeworkkey"));v({type:"shixunHomeworks/getWorkList",payload:Lu(Lu({},$e),mt)})},N=()=>{v({type:"shixunHomeworks/getWorkSetting",payload:Lu({},$e)})},It=[{name:(0,r.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",component:gt.createElement(Ct,{zip:it,btnLoading:Ee,setBtnLoading:Je})},{name:"\u516C\u5F00\u4F5C\u54C1",id:"11",component:gt.createElement(Eo,null),hidden:(0,r.GJ)()||!(q!=null&&q.can_public_work)},{name:"\u4F5C\u4E1A\u63CF\u8FF0",id:"1",component:gt.createElement("div",{className:"minH500"},gt.createElement(tr,null))},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",hidden:(pe=q.homework_status)==null?void 0:pe.includes("\u5BFC\u5165"),component:gt.createElement(Jl.Z,null)},{name:"\u6587\u6863\u67E5\u91CD",id:"4",component:gt.createElement(Ml,null),hidden:((he=q.homework_status)==null?void 0:he.includes("\u5BFC\u5165"))||!(0,r.GJ)()||q.is_jupyter||q.is_jupyter_lab},{name:"\u53C2\u8003\u7B54\u6848",id:"2",component:gt.createElement(lr,null),hidden:((_e=q.homework_status)==null?void 0:_e.includes("\u5BFC\u5165"))||!(q!=null&&q.view_answer)||q.is_jupyter||q.is_jupyter_lab},{name:gt.createElement(B.Z,{dot:q==null?void 0:q.appeal_notice,offset:[5,-5]},gt.createElement("span",{style:{color:je=="10"?"":"#b9b8b8"}},"\u533F\u8BC4\u8BE6\u60C5")),id:"10",component:gt.createElement(ro,null),hidden:(0,r.dE)()||!(q!=null&&q.anonymous_comment)},{name:(0,r.GJ)()?"\u8BBE\u7F6E":"\u5F97\u5206\u89C4\u5219",id:"3",component:(Ae=q.homework_status)!=null&&Ae.includes("\u5BFC\u5165")?gt.createElement(Gl.Z,null):gt.createElement(Bl,null),hidden:((ue=q.homework_status)==null?void 0:ue.includes("\u5BFC\u5165"))&&(0,r.dE)(),forceRender:!1}].filter(mt=>!mt.hidden),Ge=()=>{var mt,Vt,cn,Ke,Zt,fe,ze,se,kt,tn,dn,rt,Le,Wt,yt,rn;return gt.createElement("div",{className:ku.workListTabButton},(0,r.GJ)()&>.createElement(gt.Fragment,null,(q.is_jupyter||q.is_jupyter_lab)&>.createElement(z.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-shixunxiangmu"}),onClick:()=>(0,E.xg)(`/shixuns/${q.shixun_identifier}/challenges`)},"\u8FDB\u5165\u5B9E\u8BAD"),(((mt=q.homework_status)==null?void 0:mt.includes("\u672A\u53D1\u5E03"))||((Vt=q.homework_status)==null?void 0:Vt.includes("\u672A\u5F00\u59CB")))&>.createElement(z.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:ct=>{ct.preventDefault(),v({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[$e.categoryId],selectArrsAll:[q],params:$e,detail:!0,type:2,manage_all_group:_t==null?void 0:_t.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),!((cn=q.homework_status)!=null&&cn.includes("\u672A\u53D1\u5E03"))&&!((Ke=q.homework_status)!=null&&Ke.includes("\u672A\u5F00\u59CB"))&&!((Zt=q.homework_status)!=null&&Zt.includes("\u5DF2\u622A\u6B62"))&>.createElement(z.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:ct=>{var Ue,Et;if(ct.preventDefault(),(0,r.Rm)()&&!((Et=(Ue=me.AssistantObject)==null?void 0:Ue.normal)!=null&&Et.can_stop)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}v({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",selectArrs:[$e.categoryId],selectArrsAll:[],params:$e,type:2}})}},"\u7ACB\u5373\u622A\u6B62"),q!=null&&q.is_jupyter_lab||q!=null&&q.is_jupyter?gt.createElement(gt.Fragment,null,je==="1"&>.createElement(z.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ct,Ue;if((0,r.Rm)()&&!((Ue=(ct=me.AssistantObject)==null?void 0:ct.normal)!=null&&Ue.can_create)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${$e.coursesId}/common_homework/${$e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A")):gt.createElement(gt.Fragment,null,gt.createElement(z.ZP,{type:"primary",icon:gt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ct,Ue;if((0,r.Rm)()&&!((Ue=(ct=me.AssistantObject)==null?void 0:ct.normal)!=null&&Ue.can_create)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}W.history.push(`/classrooms/${$e.coursesId}/common_homework/${$e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"))),(q!=null&&q.is_jupyter_lab||q!=null&&q.is_jupyter)&&(0,r.dE)()?gt.createElement(z.ZP,{type:"primary",onClick:()=>Va(void 0,null,function*(){(0,Yl.Z)({is_jupyter:q.is_jupyter,is_jupyter_lab:q.is_jupyter_lab,shixunId:q.shixun_identifier,homework_common_id:q.homework_id})})},gt.createElement("i",{className:"iconfont icon-kaiqizhong"}),(fe=q==null?void 0:q.task_operation)==null?void 0:fe[0]):!((ze=q==null?void 0:q.homework_status)!=null&&ze.includes("\u5BFC\u5165"))&>.createElement(gt.Fragment,null,((se=q==null?void 0:q.work_statuses)==null?void 0:se.includes("\u53D6\u6D88\u5173\u8054"))&>.createElement(z.ZP,{type:"primary",onClick:()=>Va(void 0,null,function*(){const ct=yield(0,e.rN)({homeworkId:$e.categoryId});(ct==null?void 0:ct.status)===0&&(h.ZP.success("\u53D6\u6D88\u5173\u8054\u6210\u529F"),v({type:"shixunHomeworks/getWorkList",payload:Lu({},$e)}))})},"\u53D6\u6D88\u5173\u8054"),((kt=q==null?void 0:q.work_statuses)==null?void 0:kt.includes("\u5173\u8054\u9879\u76EE"))&>.createElement(z.ZP,{type:"primary",onClick:()=>{var ct;return(0,E.xg)(`${(ct=S==null?void 0:S.setting)==null?void 0:ct.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),((tn=q==null?void 0:q.work_statuses)==null?void 0:tn.includes("\u5173\u8054\u9879\u76EE"))&>.createElement(z.ZP,{type:"primary",onClick:ct=>{ct.preventDefault(),y.default.confirm({title:"\u5173\u8054\u9879\u76EE",centered:!0,width:600,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:gt.createElement("div",{className:"tc font14"},"\u60A8\u5F53\u524D\u5C1A\u672A\u7BA1\u7406\u4EFB\u4F55\u9879\u76EE\uFF0C\u8BF7\u5148",gt.createElement("a",{onClick:()=>{var Ue;(0,E.xg)(`${(Ue=S==null?void 0:S.setting)==null?void 0:Ue.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),"\u518D\u5173\u8054")})}},"\u5173\u8054\u9879\u76EE"),((dn=q==null?void 0:q.work_statuses)==null?void 0:dn.includes("\u63D0\u4EA4\u4F5C\u54C1"))&>.createElement(z.ZP,{type:"primary",onClick:()=>(0,E.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/post`)},"\u63D0\u4EA4\u4F5C\u54C1"),((rt=q==null?void 0:q.work_statuses)==null?void 0:rt.includes("\u4FEE\u6539\u4F5C\u54C1"))&>.createElement(z.ZP,{type:"primary",onClick:()=>{const ct=()=>{(0,E.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/${q.id}/edit`)};if(_t!=null&&_t.can_submit&&!(_t!=null&&_t.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}ct()}},"\u4FEE\u6539\u4F5C\u54C1"),((Le=q==null?void 0:q.work_statuses)==null?void 0:Le.includes("\u8865\u4EA4\u4F5C\u54C1"))&>.createElement(z.ZP,{type:"primary",onClick:()=>(0,E.xg)(`/classrooms/${q.course_id}/common_homework/${q.homework_id}/post`)},"\u8865\u4EA4\u4F5C\u54C1"),(((Wt=q==null?void 0:q.work_statuses)==null?void 0:Wt.includes("\u8865\u4EA4\u9644\u4EF6"))||((yt=q==null?void 0:q.work_statuses)==null?void 0:yt.includes("\u4FEE\u6539\u9644\u4EF6")))&>.createElement(z.ZP,{type:"primary",onClick:()=>{var ct;if(_t!=null&&_t.can_submit&&!(_t!=null&&_t.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}v({type:"classroomList/setActionTabs",payload:{key:"\u8865\u4EA4\u9644\u4EF6",params:$e,selectArrs:Lu({},q),title:(ct=q==null?void 0:q.work_statuses)!=null&&ct.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"}})}},(rn=q==null?void 0:q.work_statuses)!=null&&rn.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6")))};return gt.createElement("section",{className:`${ku.bg} ${ku.homeworkDetailWrapper}`},gt.createElement("div",{className:"edu-container mb30"},q.homework_name&>.createElement("section",{className:"animated fadeIn"},gt.createElement("aside",{className:"mt10"},q.category&>.createElement(w.Z,{separator:">"},gt.createElement(w.Z.Item,null,gt.createElement(W.Link,{to:`/classrooms/${$e==null?void 0:$e.coursesId}/common_homework`},q.course_name)),gt.createElement(w.Z.Item,null,gt.createElement(W.Link,{to:`/classrooms/${$e==null?void 0:$e.coursesId}/common_homework/${((Ie=q.category)==null?void 0:Ie.main)===1?"":q.category.category_id}`},q.category.category_name)),gt.createElement(w.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),gt.createElement("aside",{className:[ku.title,"mt20"].join(" ")},gt.createElement(W.Link,{to:`/classrooms/${q.course_id}/common_homework/${((ge=q.category)==null?void 0:ge.main)===1?"":q.category.category_id}`},gt.createElement(O.Z,{className:"font16 c-black"})),gt.createElement("strong",{className:"font20 ml5"},q.homework_name),gt.createElement(E.VV,{temporary:!0,status:q.homework_status}))),gt.createElement("aside",{className:`mt30 relative ${ku.workListTabWrap}`},gt.createElement(o.default,{destroyInactiveTabPane:!0,type:"card",activeKey:je,tabBarExtraContent:(oe=q.homework_status)!=null&&oe.includes("\u5BFC\u5165")&&(0,r.GJ)()?gt.createElement(z.ZP,{icon:gt.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{v({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:q==null?void 0:q.homework_name,id:q==null?void 0:q.homework_id,type:"normal"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):Ge(),onTabClick:(mt,Vt)=>{parseInt(mt)==3&&N();const cn=()=>{if(parseInt(mt)===2){if(!(q!=null&&q.view_answer)){h.ZP.info("\u672C\u6B21\u4F5C\u4E1A\u8001\u5E08\u672A\u516C\u5F00\u7B54\u6848");return}nt(mt)}else nt(mt)};mt!=="11"&&tt(),C.actionTabs.key=="\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"?y.default.confirm({centered:!0,title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",onOk:()=>{cn(),v({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}}):cn()},className:ku.tabs,items:It.map(mt=>({label:mt.name,key:mt.id,children:mt.component,forceRender:mt.forceRender}))}))),gt.createElement(Dl.Z,null),gt.createElement(Kl.Z,{onOk:()=>{tt()}}),gt.createElement(Vl.Z,{onOk:()=>{tt()}}),gt.createElement(or.Z,{type:"edit",onCallback:()=>tt(),courseEndTime:q==null?void 0:q.course_end_date}),gt.createElement(sr.Z,{courseEndTime:q==null?void 0:q.course_end_date,successCallback:()=>tt(),visible:me.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[$e.categoryId],courseId:$e.coursesId,isBatch:!1}),gt.createElement(Ql,null),gt.createElement(wl.Z,{ref:it,hide:!0,name:`${q==null?void 0:q.homework_name}-\u4F5C\u54C1\u9644\u4EF6`,onOk:()=>Je(!1)}))};var _o=(0,W.connect)(({user:S,shixunHomeworks:C,loading:v,globalSetting:me,classroomList:pe})=>({user:S,shixunHomeworks:C,globalSetting:me,loading:v.effects,classroomList:pe}))(Fo)},83061:function(St,We,s){"use strict";var n=s(78241),W=s(43418),B=s(8591),z=s(92832),h=s(36708),y=s(89070),w=s(57490),o=s(59301),O=Object.defineProperty,E=Object.defineProperties,c=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(L,Z,I)=>Z in L?O(L,Z,{enumerable:!0,configurable:!0,writable:!0,value:I}):L[Z]=I,l=(L,Z)=>{for(var I in Z||(Z={}))g.call(Z,I)&&b(L,I,Z[I]);if(D)for(var I of D(Z))_.call(Z,I)&&b(L,I,Z[I]);return L},x=(L,Z)=>E(L,c(Z)),F=(L,Z,I)=>new Promise(($,j)=>{var V=ne=>{try{Q(I.next(ne))}catch(T){j(T)}},i=ne=>{try{Q(I.throw(ne))}catch(T){j(T)}},Q=ne=>ne.done?$(ne.value):Promise.resolve(ne.value).then(V,i);Q((I=I.apply(L,Z)).next())});const P=({classroomList:L,loading:Z,dispatch:I,shixunHomeworks:$})=>{const j=(0,y.useParams)(),[V]=n.default.useForm(),{workList:i,workSetting:Q}=$,ne=()=>{I({type:"shixunHomeworks/getWorkSetting",payload:l({},j)}),I({type:"shixunHomeworks/getWorkList",payload:l({},j)})};return o.createElement(W.default,{centered:!0,title:L.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6",open:L.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>F(void 0,null,function*(){const T=()=>F(void 0,null,function*(){var ae;yield V.validateFields();const p=l({},V.getFieldValue()),{selectArrs:re}=L.actionTabs;p.attachment_ids=(ae=p.attachment_ids)==null?void 0:ae.map(te=>te.response.id),(yield(0,h.mz)(x(l({},p),{homeworkId:re.work_id}))).status===0&&(V.resetFields(),I({type:"classroomList/setActionTabs",payload:{}}),ne())});if(Q!=null&&Q.can_submit){if(!(Q!=null&&Q.submit_size)){B.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}W.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:o.createElement(o.Fragment,null,"\u4F60\u8FD8\u6709 ",o.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},Q==null?void 0:Q.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{T()}});return}T()}),onCancel:()=>{V.resetFields(),I({type:"classroomList/setActionTabs",payload:{}})}},o.createElement(n.default,{form:V,initialValues:{}},o.createElement(n.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},o.createElement(w.Z,null)),o.createElement(n.default.Item,{name:"description"},o.createElement(z.default.TextArea,{placeholder:`\u8BF7\u5728\u6B64\u8F93\u5165${L.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6"}\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26`,rows:7}))))};We.Z=(0,y.connect)(({classroomList:L,loading:Z,shixunHomeworks:I})=>({classroomList:L,loading:Z,shixunHomeworks:I}))(P)},16133:function(St,We,s){"use strict";var n=s(59301),W=s(78241),B=s(8591),z=s(43418),h=s(95237),y=s(43604),w=s(5083),o=s(5112),O=s(24905),E=s(61186),c=s.n(E),D=s(99064),g=s(24065),_=s(955),b=s(89070),l=s(59437),x=s(50757),F=s(92365),P=s(79834),L=s(82438),Z=s(49692),I=s(59301),$=Object.defineProperty,j=Object.defineProperties,V=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,T=(le,R,f)=>R in le?$(le,R,{enumerable:!0,configurable:!0,writable:!0,value:f}):le[R]=f,ae=(le,R)=>{for(var f in R||(R={}))Q.call(R,f)&&T(le,f,R[f]);if(i)for(var f of i(R))ne.call(R,f)&&T(le,f,R[f]);return le},p=(le,R)=>j(le,V(R)),re=(le,R)=>{var f={};for(var r in le)Q.call(le,r)&&R.indexOf(r)<0&&(f[r]=le[r]);if(le!=null&&i)for(var r of i(le))R.indexOf(r)<0&&ne.call(le,r)&&(f[r]=le[r]);return f},X=(le,R,f)=>new Promise((r,m)=>{var M=ve=>{try{G(f.next(ve))}catch(be){m(be)}},U=ve=>{try{G(f.throw(ve))}catch(be){m(be)}},G=ve=>ve.done?r(ve.value):Promise.resolve(ve.value).then(M,U);G((f=f.apply(le,R)).next())});const te=le=>{var R=le,{classroomList:f,dispatch:r,courseEndTime:m}=R,M=re(R,["classroomList","dispatch","courseEndTime"]),U,G,ve,be;const Ce=(0,b.useParams)(),[xe]=W.default.useForm(),[Be,Te]=(0,n.useState)(1),[He,Re]=(0,n.useState)([]),[a,J]=(0,n.useState)(0),[d,t]=(0,n.useState)(2e3),[e,u]=(0,n.useState)(!0),[A,H]=(0,n.useState)(!1),[k,ie]=(0,n.useState)(!1),[ye,Fe]=(0,n.useState)([]),[De,Me]=(0,n.useState)(!0),[Pe,ot]=(0,n.useState)(null),[Tt,Jt]=(0,n.useState)({}),[zt,wt]=(0,n.useState)({});(0,n.useEffect)(()=>{if(f.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(Pn(),Rt(),f.actionTabs.type===2){const Ye=f.actionTabs.selectArrsAll[0];ot({submit_limit:Ye==null?void 0:Ye.submit_limit,submit_limit_num:Ye==null?void 0:Ye.submit_limit_num,must_file:Ye==null?void 0:Ye.must_file,can_submit:Ye==null?void 0:Ye.can_submit,submit_num:Ye==null?void 0:Ye.submit_num}),Me(Ye.unified_setting)}else Me(!1),ot({submit_limit:!1,submit_limit_num:200,must_file:!1,can_submit:!1,submit_num:3})},[f.actionTabs]),(0,n.useEffect)(()=>{if(A){if(k)return;r({type:"classroomList/setActionTabs",payload:{}}),(0,g.GJ)()?r({type:"classroomList/getClassroomTeacherCommonList",payload:p(ae({},f.actionTabs.params),{type:1})}):r({type:"classroomList/getClassroomCommonList",payload:ae({},f.actionTabs.params)})}},[A]);const Rt=Ye=>X(void 0,null,function*(){u(!0);const pn=yield(0,F.c_)(p(ae({},Ce),{page:Ye||Be,limit:2e4,homework_id:f.actionTabs.type===1?"":f.actionTabs.selectArrs[0]}));pn==null||pn.course_groups.map((xn,Sn)=>{xn.key=xn.id,xn.title=xn.name,xn.disabled=xn.is_published}),pn&&(Re([...pn==null?void 0:pn.course_groups]),J(pn==null?void 0:pn.course_groups_count),u(!1),Ye||xe.setFieldsValue({publish_time:c()(c()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:c()(c()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Bn=Ye=>{Te(Ye),Rt(Ye)},Xt=()=>{(0,g.GJ)()?f.actionTabs.detail?(r({type:"shixunHomeworks/setActionTabs",payload:{}}),r({type:"shixunHomeworks/getWorkList",payload:ae({},Ce)}),r({type:"shixunHomeworks/getWorkSetting",payload:ae({},Ce)})):r({type:"classroomList/getClassroomTeacherCommonList",payload:p(ae({},f.actionTabs.params),{type:1})}):r({type:"classroomList/getClassroomCommonList",payload:ae({},f.actionTabs.params)})},sn=()=>X(void 0,null,function*(){var Ye,pn;if((0,g.Rm)()&&!((Ye=f.AssistantObject.normal)!=null&&Ye.can_publish)){B.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),mn(!1);return}const xn=ae({},xe.getFieldsValue());if(xn.end_time<=xn.publish_time){B.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),mn(!1);return}if((ye==null?void 0:ye.length)<=0&&!De&&He.length>0){B.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}if(Pe!=null&&Pe.submit_limit&&!(Pe!=null&&Pe.submit_limit_num)){B.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}if(Pe!=null&&Pe.can_submit&&!(Pe!=null&&Pe.submit_num)){B.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),mn(!1);return}let Sn=ae({homework_ids:[...f.actionTabs.selectArrs],group_ids:ye.length>0?ye.map(Vn=>Vn.id):(pn=f.detailCommonHomeworksList)==null?void 0:pn.course_groups,end_time:c()(xn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:c()(xn.publish_time).format("YYYY-MM-DD HH:mm"),unified_setting:!ye.length},Pe),Mn=yield(0,Z.Tr)({homework_common_ids:[...f.actionTabs.selectArrs],course_id:Ce.coursesId,type:"homework_common"});(Mn==null?void 0:Mn.student_count)===0?wn(Sn):(wt(Sn),Jt(Mn))}),wn=Ye=>X(void 0,null,function*(){mn(!0);const pn=yield(0,D.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ae({},Ye)});mn(!1),pn.status===0&&((0,_.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),B.ZP.success("\u53D1\u5E03\u6210\u529F"),r({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),M.onCallback&&M.onCallback(),Xt(),localStorage.getItem("Noviceguide")==="0"||r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:I.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}}))}),Pn=()=>{Te(1),Re([]),Fe([])},{detailCommonHomeworksList:bn}=f,Hn=a>Be*d,[_n,mn]=(0,n.useState)(!1);return I.createElement("div",null,I.createElement(z.default,{width:600,centered:!0,confirmLoading:_n,title:"\u53D1\u5E03\u4F5C\u4E1A",open:f.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:sn,onCancel:()=>{Pn(),Xt(),r({type:"classroomList/setActionTabs",payload:{}})}},I.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",I.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),He&&I.createElement(W.default,{form:xe},I.createElement("div",{style:{paddingLeft:0}},I.createElement(h.Z,{className:"mt30",align:"middle"},I.createElement(y.Z,null,I.createElement(W.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},I.createElement(w.default,{style:{width:170,marginRight:"25px"},disabledDate:Ye=>(0,P.Q8)(Ye,m),disabledTime:Ye=>(0,P.d0)(Ye),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,_.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),I.createElement(y.Z,{className:"ml20"},I.createElement(W.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},I.createElement(w.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:c()((0,_.U6)(),"HH:mm")},disabledDate:Ye=>(0,P.Q8)(Ye,m,xe.getFieldValue("publish_time")),disabledTime:Ye=>(0,P.d0)(Ye,xe.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),f.actionTabs.type===2&&I.createElement(h.Z,{style:{marginBottom:"10px"}},I.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),I.createElement(o.ZP.Group,{value:De,onChange:Ye=>{Me(Ye.target.value),Fe([])}},I.createElement(o.ZP,{value:!0,disabled:!f.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),I.createElement(o.ZP,{className:"ml20",disabled:He.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),He.length<=0&&f.actionTabs.type===2&&I.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(f.actionTabs.type===1||!De)&&He.length>0&&I.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},I.createElement("span",{style:{flex:1}},I.createElement(O.default,{checked:ye.length===He.length,onChange:Ye=>{ye.length===He.length?Fe([]):Fe(He.filter(pn=>!pn.is_published))}},"\u5168\u9009")),I.createElement("span",{style:{width:16}}),I.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ye.length||0,"\u4E2A\u5206\u73ED")),(f.actionTabs.type===1||!De)&&He.length>0&&I.createElement(l.Z,{data:He,selectedRowKeys:ye,setSelectedRowKeys:Fe})),!((ve=(G=(U=f==null?void 0:f.actionTabs)==null?void 0:U.selectArrsAll)==null?void 0:G[0])!=null&&ve.is_shixun)&&I.createElement(x.ZP,{value:Pe,onChange:Ye=>ot(ae({},Ye))})),I.createElement(L.Z,{resdata:Tt,type:((be=f.actionTabs.selectArrs)==null?void 0:be.length)===1?"shixun":"shixunpush",okloading:_n,oktext:(Tt==null?void 0:Tt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Ye=>X(void 0,null,function*(){mn(!0);let pn=yield(0,D.ZP)(`/api/courses/${Ce.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[...f.actionTabs.selectArrs]}});mn(!1),(pn==null?void 0:pn.status)===0&&wn(zt)})}))};We.Z=(0,b.connect)(({classroomList:le})=>({classroomList:le}))(te)},33441:function(St,We,s){"use strict";s.d(We,{Z:function(){return V}});var n=s(59301),W={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},B=Object.defineProperty,z=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,w=(i,Q,ne)=>Q in i?B(i,Q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):i[Q]=ne,o=(i,Q)=>{for(var ne in Q||(Q={}))h.call(Q,ne)&&w(i,ne,Q[ne]);if(z)for(var ne of z(Q))y.call(Q,ne)&&w(i,ne,Q[ne]);return i};const O=i=>React.createElement("svg",o({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var E="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",c=s(99313),D=s(92310),g=s.n(D),_=s(59301),b=Object.defineProperty,l=Object.defineProperties,x=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,Z=(i,Q,ne)=>Q in i?b(i,Q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):i[Q]=ne,I=(i,Q)=>{for(var ne in Q||(Q={}))P.call(Q,ne)&&Z(i,ne,Q[ne]);if(F)for(var ne of F(Q))L.call(Q,ne)&&Z(i,ne,Q[ne]);return i},$=(i,Q)=>l(i,x(Q)),V=({dataSource:i,className:Q,style:ne})=>{const[T,ae]=(0,n.useState)([]),[p,re]=(0,n.useState)(""),X=(0,n.useRef)("");(0,n.useEffect)(()=>{if(i!=null&&i.length){const R=String(Math.random()).slice(-6),f=i.map(r=>$(I({},r),{key:`${R}-${r.key}`}));ae(f),re(f[0].key)}},[i.length]);const te=R=>{re(R),X.current=R;const f=document.getElementById(R);if(f){const r=f.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:r,behavior:"smooth"})}},le=()=>{const R=T.map(r=>document.getElementById(r.key)),f=window.innerHeight/2;for(const r of R)if(r){const m=r.getBoundingClientRect();if(m.top>=0&&m.top(window.addEventListener("scroll",le),()=>{window.removeEventListener("scroll",le)}),[T]),_.createElement("div",{className:g()(W.anchorNavigation,Q),style:ne},_.createElement(c.default,{items:T,tabBarGutter:60,className:W.tabs,activeKey:p,onChange:te}),T.map(R=>_.createElement("div",{key:R.key,id:R.key,className:W.box},_.createElement("div",{className:W.head},_.createElement("img",{className:"mr10",src:E,alt:"Dot"}),R.label),_.createElement("div",{className:W.element},R.element))))}},62551:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),z=s(99313),h=s(1710),y=s(58421),w=s(89070),o=s(99064),O=s(61186),E=s.n(O),c=s(59301),D=(b,l,x)=>new Promise((F,P)=>{var L=$=>{try{I(x.next($))}catch(j){P(j)}},Z=$=>{try{I(x.throw($))}catch(j){P(j)}},I=$=>$.done?F($.value):Promise.resolve($.value).then(L,Z);I((x=x.apply(b,l)).next())});const{Dragger:g}=W.default,_=({})=>{const b=(0,w.useParams)(),[l]=B.default.useForm(),[x,F]=(0,n.useState)(!0),[P,L]=(0,n.useState)(!1);let[Z,I]=(0,n.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const $=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];function j(){return D(this,null,function*(){let i;L(!0),window.location.href.indexOf("exercise")>-1?i=`/api/exercises/${b==null?void 0:b.categoryId}/redo_logs.json`:i=`/api/homework_commons/${b==null?void 0:b.categoryId}/redo_logs.json`;let Q=yield(0,o.ZP)(i,{method:"get",params:Z});L(!1),(Q==null?void 0:Q.status)===0&&F(Q==null?void 0:Q.data)})}(0,n.useEffect)(()=>{j()},[]);let V=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(i,Q,ne)=>{var T;return(T=$.find(ae=>ae.question_type===i))==null?void 0:T.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(i,Q,ne)=>{var T;return(T=[{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(ae=>ae.id===i))==null?void 0:T.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(i,Q,ne)=>E()(i).format("YYYY-MM-DD HH:mm:ss")}].filter(i=>!!i);return c.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},c.createElement(z.default,{destroyInactiveTabPane:!0,onChange:i=>{Z.type=i,Z.page=1,Z.limit=10,I(Z),j()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:c.createElement(h.default,{className:"mt20",loading:P,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(i,Q,ne)=>E()(i).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:x==null?void 0:x.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:c.createElement(h.default,{className:"mt20",loading:P,columns:V,dataSource:x==null?void 0:x.list,pagination:!1})}].filter(i=>!!i)}),c.createElement(y.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(i,Q)=>{Z.page=i,Z.limit=Q,I(Z),j()},current:Z.page,total:x.count,pageSize:Z.limit,style:{marginTop:20}}))};We.Z=(0,w.connect)(({classroomList:b})=>({classroomList:b}))(_)},7621:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),z=s(43418),h=s(5871),y=s(89070),w=s(99064),o=s(61186),O=s.n(o),E=s(955),c=s(59301),D=Object.defineProperty,g=Object.defineProperties,_=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=(j,V,i)=>V in j?D(j,V,{enumerable:!0,configurable:!0,writable:!0,value:i}):j[V]=i,P=(j,V)=>{for(var i in V||(V={}))l.call(V,i)&&F(j,i,V[i]);if(b)for(var i of b(V))x.call(V,i)&&F(j,i,V[i]);return j},L=(j,V)=>g(j,_(V)),Z=(j,V,i)=>new Promise((Q,ne)=>{var T=re=>{try{p(i.next(re))}catch(X){ne(X)}},ae=re=>{try{p(i.throw(re))}catch(X){ne(X)}},p=re=>re.done?Q(re.value):Promise.resolve(re.value).then(T,ae);p((i=i.apply(j,V)).next())});const{Dragger:I}=W.default,$=({classroomList:j,dispatch:V,onOk:i})=>{const Q=(0,y.useParams)(),[ne]=B.default.useForm(),[T,ae]=(0,n.useState)(),[p,re]=(0,n.useState)(!1),X={height:100,onRemove:()=>{ae("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:te=>Z(void 0,null,function*(){return ae(te),!1})};return(0,n.useEffect)(()=>{ne.setFieldsValue({publish_time:O()(O()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:O()(O()(new Date((0,E.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),c.createElement(z.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:j.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:p},onOk:()=>Z(void 0,null,function*(){ne.submit()}),onCancel:()=>{ne.resetFields(),V({type:"classroomList/setActionTabs",payload:{}})}},c.createElement(B.default,{form:ne,onFinish:te=>Z(void 0,null,function*(){var le,R;console.log("---",j.actionTabs,te,Q);let f=((le=j==null?void 0:j.actionTabs)==null?void 0:le.type)==="exercise"?`/api/exercises/${Q==null?void 0:Q.category}/exercise_user/edit_score.json`:`/api/student_works/${j.actionTabs.id}/edit_score.json`;re(!0);let r=yield(0,w.ZP)(f,{method:"post",body:L(P({},te),{exercise_user_id:((R=j==null?void 0:j.actionTabs)==null?void 0:R.type)==="exercise"?j.actionTabs.id:""})});re(!1),ne.resetFields(),V({type:"classroomList/setActionTabs",payload:{}}),i()})},c.createElement(B.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},c.createElement(h.Z,{min:0,style:{width:"100%"}}))))};We.Z=(0,y.connect)(({classroomList:j})=>({classroomList:j}))($)},25060:function(St,We,s){"use strict";var n=s(59301),W=s(54580),B=s(78241),z=s(3113),h=s(95237),y=s(81327),w=s(5083),o=s(89070),O=s(61186),E=s.n(O),c=s(79834),D=s(99064),g=s(59301),_=(x,F,P)=>new Promise((L,Z)=>{var I=V=>{try{j(P.next(V))}catch(i){Z(i)}},$=V=>{try{j(P.throw(V))}catch(i){Z(i)}},j=V=>V.done?L(V.value):Promise.resolve(V.value).then(I,$);j((P=P.apply(x,F)).next())});const{Dragger:b}=W.default,l=({})=>{const x=(0,o.useParams)(),[F]=B.default.useForm(),[P,L]=(0,n.useState)(!0),[Z,I]=(0,n.useState)(!1);console.log("----",x);function $(){return _(this,null,function*(){var j,V;let i;window.location.href.indexOf("exercise")>-1?i=`/api/exercises/${x==null?void 0:x.categoryId}/get_time_setting.json`:i=`/api/homework_commons/${x==null?void 0:x.categoryId}/get_time_setting.json`;let Q=yield(0,D.ZP)(i,{method:"get"});(Q==null?void 0:Q.status)===0&&F.setFieldsValue({publish_time:E()(E()((j=Q==null?void 0:Q.data)==null?void 0:j.publish_time).format("YYYY-MM-DD HH:mm")),end_time:E()(E()((V=Q==null?void 0:Q.data)==null?void 0:V.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,n.useEffect)(()=>{$()},[]),g.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},g.createElement("div",{style:{textAlign:"end"}},P&&g.createElement(z.ZP,{onClick:()=>{L(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!P&&g.createElement("div",null,g.createElement(z.ZP,{type:"primary",loading:Z,onClick:()=>{F.submit()}},"\u63D0\u4EA4"),g.createElement(z.ZP,{style:{marginLeft:20},onClick:()=>{L(!0)}},"\u53D6\u6D88"))),g.createElement(B.default,{form:F,disabled:P,onFinish:j=>_(void 0,null,function*(){I(!0),console.log("---",window.location.href);let V;window.location.href.indexOf("exercise")>-1?V=`/api/exercises/${x==null?void 0:x.categoryId}/time_setting.json`:V=`/api/homework_commons/${x==null?void 0:x.categoryId}/time_setting.json`;let i=yield(0,D.ZP)(V,{method:"post",body:{publish_time:E()(j.publish_time).format("YYYY-MM-DD HH:mm"),end_time:E()(j.end_time).format("YYYY-MM-DD HH:mm")}});I(!1),(i==null?void 0:i.status)===0&&L(!0)})},g.createElement(h.Z,null,g.createElement(y.Z,null,g.createElement(B.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},g.createElement(w.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:j=>(0,c.Q8)(j),disabledTime:j=>(0,c.d0)(j),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),g.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),g.createElement(h.Z,null,g.createElement(y.Z,null,g.createElement(B.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},g.createElement(w.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:j=>(0,c.Q8)(j,"",F.getFieldValue("publish_time")),disabledTime:j=>(0,c.d0)(j,F.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),g.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};We.Z=(0,o.connect)(({classroomList:x})=>({classroomList:x}))(l)},59437:function(St,We,s){"use strict";s.d(We,{Z:function(){return E}});var n=s(59301),W=s(92832),B=s(24905),z=s(95237),h={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",w=s(8797),o=(c,D,g)=>new Promise((_,b)=>{var l=P=>{try{F(g.next(P))}catch(L){b(L)}},x=P=>{try{F(g.throw(P))}catch(L){b(L)}},F=P=>P.done?_(P.value):Promise.resolve(P.value).then(l,x);F((g=g.apply(c,D)).next())}),E=({data:c,value:D=[],handleChangePage:g,setSelectedRowKeys:_,selectedRowKeys:b,onChange:l=()=>{}})=>{const[x,F]=(0,n.useState)([]),[P,L]=(0,n.useState)([]),[Z,I]=(0,n.useState)([]);let[$,j]=(0,n.useState)(1),[V,i]=(0,n.useState)();return(0,n.useEffect)(()=>{F(c),L([]),I([])},[c]),(0,n.useEffect)(()=>{_&&(L(b),I(b))},[b]),n.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},n.createElement("div",{className:h.leftdiv},n.createElement(W.default.Search,{size:"middle",onChange:Q=>o(void 0,null,function*(){F(c.filter(ne=>{var T;return(T=ne==null?void 0:ne.name)==null?void 0:T.includes(Q.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),x.length===0&&n.createElement(w.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),n.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},n.createElement(B.default.Group,{value:P.map(Q=>`${Q.id}`),onChange:Q=>{_(x.filter(ne=>Q.includes(`${ne.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},x.map((Q,ne)=>n.createElement(z.Z,{key:Q.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},n.createElement(B.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Q.is_published,value:`${Q.id}`},n.createElement("div",{className:h.listClass},n.createElement("span",{className:h.spantitle,style:{width:Q.is_published?"108px":"170px"}},Q.name),Q.is_published&&n.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),n.createElement("div",{className:h.rightdiv},n.createElement(W.default.Search,{onChange:Q=>{I(P.filter(ne=>ne.name.includes(Q.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Z.length===0&&n.createElement(w.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Z.length>0&&n.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},n.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Z.map((Q,ne)=>n.createElement(z.Z,{justify:"space-between",style:{marginTop:"10px"},key:Q.id},n.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Q.name),n.createElement("img",{src:y,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{_(P.filter(T=>`${T.id}`!=`${Q.id}`))}})))))))}},50757:function(St,We,s){"use strict";s.d(We,{Ei:function(){return F},rU:function(){return P},ZP:function(){return Z}});var n=s(59301),W={wrap:"wrap___W3YuU",title:"title___OzKge",exhibition:"exhibition___ugphm",title_icon:"title_icon___QGbm6"},B=s(78241),z=s(24905),h=s(5871),y=s(95237),w=s(43604),o=s(6848),O=s(92310),E=s.n(O),c=s(59301),D=Object.defineProperty,g=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,l=(I,$,j)=>$ in I?D(I,$,{enumerable:!0,configurable:!0,writable:!0,value:j}):I[$]=j,x=(I,$)=>{for(var j in $||($={}))_.call($,j)&&l(I,j,$[j]);if(g)for(var j of g($))b.call($,j)&&l(I,j,$[j]);return I};const F=({value:I,className:$,style:j})=>{const[V,i]=(0,n.useState)("0");(0,n.useEffect)(()=>{if(I){const{submit_limit:ne,must_file:T}=I;if(ne&&T){i("1");return}if(ne&&!T){i("2");return}if(!ne&&T){i("3");return}}},[I]);const Q={1:c.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",c.createElement("span",{className:"ml5 mr5 c-light-primary"},I==null?void 0:I.submit_limit_num),"\u5B57\u7B26\uFF0C\u5E76\u4E14\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002"),2:c.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",c.createElement("span",{className:"ml5 mr5 c-light-primary"},I==null?void 0:I.submit_limit_num),"\u5B57\u7B26"),3:c.createElement("span",null,"\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002")};return V==="0"?c.createElement(c.Fragment,null):c.createElement("section",{className:E()(W.exhibition,$),style:j},c.createElement("span",{className:"c-grey-666 mr10"},"\u63D0\u4EA4\u4F5C\u4E1A\u8981\u6C42\uFF1A"),Q==null?void 0:Q[V])},P=({className:I,style:$,form:j})=>{const V=B.default.useWatch("submit_limit",j),i=B.default.useWatch("can_submit",j);return c.createElement("section",{className:E()(W.wrap,I),style:$},c.createElement("div",{className:`${W.title}`},c.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),c.createElement("div",null,c.createElement("div",{style:{display:"flex",background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},c.createElement(B.default.Item,{name:"can_submit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(z.default,null,"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A")),c.createElement(B.default.Item,{name:"submit_num",rules:i&&[{required:!0,message:"\u8BF7\u586B\u5199\u4F5C\u54C1\u6B21\u6570"}]},c.createElement(h.Z,{precision:0,min:1,disabled:!i,size:"large",addonAfter:"\u6B21",style:{width:223}})),c.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\u5C06\u9650\u5236\u5B66\u751F\u63D0\u4EA4\u4F5C\u4E1A\u6B21\u6570\uFF1B\u6253\u56DE\u91CD\u505A\u540E\u5141\u8BB8\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\uFF1B\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u7528\u5B8C\u6B21\u6570\u7684\u5B66\u751F\u53EF\u989D\u5916\u63D0\u4EA4\u4E00\u6B21\uFF09")),c.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px"}},c.createElement(B.default.Item,{name:"submit_limit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(z.default,null,"\u586B\u5199\u5185\u5BB9\u81F3\u5C11")),c.createElement(B.default.Item,{className:"mr10",name:"submit_limit_num",rules:V&&[{required:!0,message:"\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"}]},c.createElement(h.Z,{precision:0,min:1,disabled:!V,size:"large",addonAfter:"\u5B57",style:{width:223,marginRight:100}}))),c.createElement("div",{style:{background:"#F6F7F9",marginTop:1,padding:"5px 30px"}},c.createElement(B.default.Item,{name:"must_file",valuePropName:"checked",style:{marginLeft:0,lineHeight:"40px"}},c.createElement(z.default,null,"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))),c.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},c.createElement(B.default.Item,{name:"can_deadline_submit",valuePropName:"checked",style:{lineHeight:"40px"}},c.createElement(z.default,null,"\u4F5C\u4E1A\u622A\u6B62\u540E\u5141\u8BB8\u4FEE\u6539\u9644\u4EF6")),c.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4FEE\u6539\u9644\u4EF6\uFF0C\u672A\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5219\u4E0D\u80FD\u4E0A\u4F20\u6216\u4FEE\u6539\u9644\u4EF6\uFF09"))))};var Z=({value:I,onChange:$,className:j,style:V,disabled:i=!1,checkMarginLeft:Q=0})=>{const ne={submit_limit:!1,submit_limit_num:200,must_file:!1},[T,ae]=(0,n.useState)({});(0,n.useEffect)(()=>{if(console.log(I,"value"),!I)return;const re={submit_limit:I==null?void 0:I.submit_limit,submit_limit_num:I==null?void 0:I.submit_limit_num,must_file:I==null?void 0:I.must_file,can_submit:I==null?void 0:I.can_submit,submit_num:I==null?void 0:I.submit_num};ae(x({},re))},[I]);const p=re=>{const X=x(x({},T),re);$(X)};return c.createElement("section",{className:E()(W.wrap,j),style:V},c.createElement("div",{className:`${W.title} mt30`},c.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),c.createElement(y.Z,{style:{background:"#F6F7F9",padding:"5px 30px"}},c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(z.default,{disabled:i,checked:T==null?void 0:T.can_submit,onChange:re=>p({can_submit:re.target.checked})}),c.createElement("span",{className:"ml10",style:{marginRight:18}},"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A"),c.createElement(h.Z,{size:"large",addonAfter:"\u6B21",style:{width:143},precision:0,min:1,disabled:i||!(T!=null&&T.can_submit),value:T==null?void 0:T.submit_num,onChange:re=>p({submit_num:re})}),c.createElement(o.Z,{overlayInnerStyle:{width:520},title:c.createElement("div",null,"1\u3001\u82E5\u672A\u5F00\u542F\u8BE5\u9650\u5236\uFF0C\u5B66\u751F\u53EF\u4EE5\u65E0\u9650\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF1B",c.createElement("br",null),"2\u3001\u82E5\u4F5C\u4E1A\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u5DF2\u7528\u5B8C\u63D0\u4EA4\u6B21\u6570\u7684\u5B66\u751F\uFF0C\u5C06\u83B7\u5F97\u4E00\u6B21\u989D\u5916\u7684\u63D0\u4EA4\u4F5C\u54C1\u673A\u4F1A\uFF1B",c.createElement("br",null),"3\u3001\u82E5\u5B66\u751F\u9700\u8981\u8D85\u51FA\u89C4\u5B9A\u6B21\u6570\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u201C\u6253\u56DE\u91CD\u505A\u201D\u529F\u80FD\uFF0C\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002")},c.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${W.title_icon}`}))),c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(z.default,{style:{marginLeft:Q},disabled:i,checked:T==null?void 0:T.submit_limit,onChange:re=>p({submit_limit:re.target.checked})}),c.createElement("span",{className:"ml10",style:{marginRight:18}},"\u586B\u5199\u5185\u5BB9\u81F3\u5C11"),c.createElement(h.Z,{size:"large",addonAfter:"\u5B57",style:{width:143,marginRight:100},precision:0,min:1,disabled:i||!(T!=null&&T.submit_limit),value:T==null?void 0:T.submit_limit_num,onChange:re=>p({submit_limit_num:re})})),c.createElement(w.Z,{style:{lineHeight:"40px",marginTop:"10px"}},c.createElement(z.default,{style:{marginLeft:Q},disabled:i,checked:T==null?void 0:T.must_file,onChange:re=>p({must_file:re.target.checked})}),c.createElement("span",{className:"ml10"},"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))))}},23538:function(St,We,s){"use strict";s.d(We,{$J:function(){return B},JZ:function(){return h},bN:function(){return w},jP:function(){return y},rO:function(){return z}});var n=s(99064),W=(o,O,E)=>new Promise((c,D)=>{var g=l=>{try{b(E.next(l))}catch(x){D(x)}},_=l=>{try{b(E.throw(l))}catch(x){D(x)}},b=l=>l.done?c(l.value):Promise.resolve(l.value).then(g,_);b((E=E.apply(o,O)).next())});function B(o){return(0,n.U2)(`libraries/${o}.json`)}function z(){return(0,n.U2)("library_tags.json")}function h(o){return W(this,null,function*(){return(yield(0,n.IV)(`attachments/${o}.json`)).status===0})}function y(o){return(0,n.v_)("libraries.json",o)}function w(o,O){return(0,n.gz)(`libraries/${o}.json`,O)}},78297:function(St,We,s){"use strict";s.d(We,{AD:function(){return re},D9:function(){return r},Hp:function(){return $},IM:function(){return M},Iy:function(){return V},KM:function(){return Re},MJ:function(){return j},Ne:function(){return m},ON:function(){return Ce},Uj:function(){return Te},VY:function(){return ve},YO:function(){return Be},YX:function(){return xe},Zn:function(){return b},_g:function(){return L},_k:function(){return R},c6:function(){return ae},cr:function(){return l},eV:function(){return p},fi:function(){return x},gh:function(){return ne},hS:function(){return U},iA:function(){return F},j6:function(){return Z},je:function(){return le},jj:function(){return I},kS:function(){return be},o6:function(){return T},pO:function(){return He},rQ:function(){return X},sA:function(){return Q},xm:function(){return f},xo:function(){return G},y8:function(){return te},yd:function(){return P}});var n=s(92365),W=s(89070),B=s(955),z=s(8591),h=s(3294),y=Object.defineProperty,w=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,E=(a,J,d)=>J in a?y(a,J,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[J]=d,c=(a,J)=>{for(var d in J||(J={}))o.call(J,d)&&E(a,d,J[d]);if(w)for(var d of w(J))O.call(J,d)&&E(a,d,J[d]);return a},D=(a,J,d)=>new Promise((t,e)=>{var u=k=>{try{H(d.next(k))}catch(ie){e(ie)}},A=k=>{try{H(d.throw(k))}catch(ie){e(ie)}},H=k=>k.done?t(k.value):Promise.resolve(k.value).then(u,A);H((d=d.apply(a,J)).next())});const g=()=>{(0,W.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},_=()=>{(0,W.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},b=a=>D(void 0,null,function*(){g(),(yield(0,n.YR)(c({},a))).status===0&&(yield(0,B.QH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_couser_info.json`,query:a}))),_()}),l=a=>D(void 0,null,function*(){const J=yield(0,n.yS)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_member_act_score`);else{if(J.status===-2)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_member_act_score`))}}),x=a=>D(void 0,null,function*(){const J=yield(0,n.W0)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_score`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_score`))}}),F=a=>D(void 0,null,function*(){const J=yield(0,n.Nl)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`))}}),P=a=>D(void 0,null,function*(){const J=yield(0,n.IU)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/export_star_user`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/export_star_user`))}}),L=a=>D(void 0,null,function*(){const J=yield(0,n.td)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else{if(J.status===-2)return J;if(J.status===-3)(0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_exercise_and_other`);else if(J.status===-4)return J}}),Z=a=>D(void 0,null,function*(){const J=yield(0,n.QX)(c({},a));if(J.status===0)z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_homework`);else{if(J.status===-4)return J;J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/course_total_homework`))}}),I=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.o_)(c({},a));d.status===0?(z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),$=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.ZL)(c({},a));d.status===0?(z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),j=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.vV)(c({},a));d.status===0?(z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),V=(a,J)=>D(void 0,null,function*(){const d=yield(0,n.aP)(c({},a));d.status===0?(z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`)):d.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/${J}`))}),i=a=>D(void 0,null,function*(){g(),(yield exportCourseWorkListAppendix(c({},a))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${a.categoryId}/works_list.zip`,query:a}))),_()}),Q=a=>D(void 0,null,function*(){g(),yield(0,B.QH)("",h.Z.API_SERVER+`/api/polls/${a.categoryId}/commit_result.xlsx`),_()}),ne=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/attendances/export_xlsx_data.xlsx`,query:a}))}),T=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/video_study_statics.xlsx`,query:a}))}),ae=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_video_study.xlsx`,query:a}))}),p=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a.coursesId}/export_course_students_info.xlsx`,query:a}))}),re=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/school_manages/students.xlsx",query:a}))}),X=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/item_banks/export.xlsx",query:a}))}),te=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:a}))}),le=a=>D(void 0,null,function*(){const J=yield(0,n.Uy)(c({},a));J.status===0?(z.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),W.history.push(`/classrooms/${a.coursesId}/exportlist/exercise_score,export_exercise_users`)):J.status===-3&&((0,W.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),W.history.push(`/classrooms/${a.coursesId}/exportlist/exercise_score,export_exercise_users`))}),R=a=>D(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/export_records/${a.id}.xlsx`,query:a}))}),f=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:a}))}),r=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/courses/${a==null?void 0:a.coursesId}/${a.menuKey}_statistic.xlsx?${a.checkedList.map(J=>`course_group_id[]=${J}`).join("&")}`,query:a}))}),m=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_training_objectives.xlsx`,query:a}))}),M=a=>D(void 0,null,function*(){yield(0,B.FH)(a==null?void 0:a.name,(0,B.NY)({url:h.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:a}))}),U=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_courses.xlsx`,query:a}))}),G=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/ec_years/${a==null?void 0:a.ec_year_id}/ec_graduation_requirements.xlsx`,query:a}))}),ve=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:a}))}),be=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:a}))}),Ce=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/examination_banks/${a.id}.json`,query:a}))}),xe=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/exercises/${a.categoryId}.json`,query:a}))}),Be=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/polls/${a==null?void 0:a.id}/commit_result.json`,query:a}))}),Te=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+"/api/paths/get_task_pass.json",query:a}))}),He=(a,J)=>D(void 0,null,function*(){yield(0,B.FH)(J||"",(0,B.NY)({url:h.Z.API_SERVER+`/api/exercises/${a==null?void 0:a.exercise_id}/consult_exercise.json`,query:a}))}),Re=a=>D(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:h.Z.API_SERVER+`/api/competitions/${a==null?void 0:a.identifier}/competition_commit_records/member_works.xlsx`,query:a}))})},5383:function(St,We,s){"use strict";s.d(We,{M:function(){return y},Y:function(){return h}});var n=s(61186),W=s.n(n),B=s(89392),z=s.n(B);const h=(w,o="YYYY-MM-DD")=>(0,B.cloneDeepWith)(w,E=>{if(E instanceof W())return E.format(o)}),y=(w,o,O)=>{const E=c=>Reflect.toString.call(c)==="[object Object]";if(!E(w)&&!Array.isArray(w))return w;for(const c of Object.keys(w))Array.isArray(w[c])?w[c]=w[c].map(D=>y(D,o,O)):E(w[c])?w[c]=y(w[c],o,O):o.includes(c)&&typeof w[c]=="string"&&(w[c]=O?W()(w[c],O):W()(w[c]));return w}},83312:function(St,We,s){"use strict";s.d(We,{U:function(){return O}});var n=s(59301),W=Object.defineProperty,B=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(E,c,D)=>c in E?W(E,c,{enumerable:!0,configurable:!0,writable:!0,value:D}):E[c]=D,w=(E,c)=>{for(var D in c||(c={}))z.call(c,D)&&y(E,D,c[D]);if(B)for(var D of B(c))h.call(c,D)&&y(E,D,c[D]);return E},o=(E,c,D)=>new Promise((g,_)=>{var b=F=>{try{x(D.next(F))}catch(P){_(P)}},l=F=>{try{x(D.throw(F))}catch(P){_(P)}},x=F=>F.done?g(F.value):Promise.resolve(F.value).then(b,l);x((D=D.apply(E,c)).next())});function O(E,c){const[D,g]=(0,n.useState)(c),[_,b]=(0,n.useState)(!1),[l,x]=(0,n.useState)();return[D,_,(P,L=!1)=>o(this,null,function*(){const Z=L?c:w(w({},D),P);b(!0),g(Z);const I=yield E(Z);return b(!1),x(I),I}),l,x]}},97177:function(St,We,s){"use strict";s.d(We,{Z:function(){return w}});var n=s(59301),W=s.p+"static/modelContact.7a7eb113.png",B=s(91785),z=s(24065),h=s(59301),w=()=>{const[o,O]=(0,n.useState)(!1);return{verifyModelUser:()=>(0,z.$O)()?!0:(O(!0),!1),ContactModalElement:()=>h.createElement(B.Z,{visible:o,setVisible:O,image:W}),contactOpen:o,setContactOpen:O}}},54873:function(St,We,s){"use strict";s.d(We,{_:function(){return c}});var n=s(49692),W=s(43418),B=s(8591),z=s(1710),h=s(955),y=s(59301),w=(D,g,_)=>new Promise((b,l)=>{var x=L=>{try{P(_.next(L))}catch(Z){l(Z)}},F=L=>{try{P(_.throw(L))}catch(Z){l(Z)}},P=L=>L.done?b(L.value):Promise.resolve(L.value).then(x,F);P((_=_.apply(D,g)).next())});const o=D=>w(void 0,[D],function*({is_jupyter:g,is_jupyter_lab:_,shixunId:b,homework_common_id:l,courseId:x}){if(g||_){const P=yield(0,n.BK)({id:b});P!=null&&P.identifier&&(0,h.xg)(`/tasks/${P.identifier}/jupyter?homework_common_id=${l}`);return}const F=yield(0,n.Ir)({id:b,homework_common_id:l});if(F!=null&&F.game_identifier){(0,h.xg)(`/tasks/${x}/${l}/${F.game_identifier}`);return}(F==null?void 0:F.status)===2?O(F==null?void 0:F.message,l,x):(F==null?void 0:F.status)===3?E(F==null?void 0:F.message):(F==null?void 0:F.status)==-3&&(0,h.eF)()}),O=(D,g,_)=>{D=D!=null&&D.includes(".json")?D:`${D}.json`,W.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:y.createElement("div",{className:"tc font16"}," \u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>w(void 0,null,function*(){const b=yield(0,n.$Q)({url:D});if(!b)return;B.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const l=yield(0,n.Ir)({id:b.shixun_identifier,homework_common_id:g});if(l!=null&&l.game_identifier){(0,h.xg)(`/tasks/${_}/${g}/${l.game_identifier}`);return}(l==null?void 0:l.status)===2?O(l==null?void 0:l.message,g,_):(l==null?void 0:l.status)===3&&E(l==null?void 0:l.message)})})},E=D=>{W.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:y.createElement("div",{className:"tc font16"}," \u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",D,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},c=(D,g)=>w(void 0,[D,g],function*(_,{is_jupyter:b,is_jupyter_lab:l}){const x=yield(0,n.WT)(_);if(x.length>1)return W.default.info({icon:null,closable:!0,maskClosable:!0,centered:!0,width:820,okButtonProps:{style:{display:"none"}},title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("div",null,"\u4F60\u5F53\u524D\u6709",x.length,"\u4E2A\u8FDB\u884C\u4E2D\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u4F7F\u7528\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u5728\u4E0B\u65B9\u70B9\u51FB\u5B9E\u8BAD\u4F5C\u4E1A\u540D\u79F0\u8FDB\u5165\u5B9E\u8BAD\u6311\u6218\u9875\u9762\uFF1A"),y.createElement(z.default,{pagination:!1,columns:[{title:"\u8BFE\u5802\u540D\u79F0",dataIndex:"course_name",ellipsis:!0,width:180,align:"center"},{title:"\u4F5C\u4E1A\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:240,align:"center",render(F,P){const{course_identifier:L,id:Z}=P||{};return y.createElement("a",{target:"_blank",href:`/classrooms/${L}/shixun_homework/${Z}/detail`},F)}},{title:"\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",align:"center"},{title:"\u64CD\u4F5C",align:"center",render(F,P){const{course_identifier:L,id:Z,shixun_identifier:I}=P;return y.createElement("div",{style:{cursor:"pointer",color:"#165dff"},onClick:()=>{o({is_jupyter:b,is_jupyter_lab:l,shixunId:I,homework_common_id:Z,courseId:L})}},"\u524D\u5F80\u6311\u6218")}}],dataSource:x,rowKey:"id"}))}),!0;if(x.length===1){const{shixun_identifier:F,id:P,course_identifier:L}=x[0];return o({is_jupyter:b,is_jupyter_lab:l,shixunId:F,homework_common_id:P,courseId:L}),!0}return!1});We.Z=o},46400:function(St,We,s){"use strict";s.d(We,{Z:function(){return te}});var n=s(29679),W=s(19248),B=s(99267),z=s(96512),h=s(78987),y=s(92310),w=s.n(y),o=s(77900),O=s(26112),E=s(59301),c=s(92343),D=s(36355),g=s(17313),_=s(83116);const b=(le,R,f,r,m)=>({backgroundColor:le,border:`${r.lineWidth}px ${r.lineType} ${R}`,[`${m}-icon`]:{color:f}}),l=le=>{const{componentCls:R,motionDurationSlow:f,marginXS:r,marginSM:m,fontSize:M,fontSizeLG:U,lineHeight:G,borderRadiusLG:ve,motionEaseInOutCirc:be,withDescriptionIconSize:Ce,colorText:xe,colorTextHeading:Be,withDescriptionPadding:Te,defaultPadding:He}=le;return{[R]:Object.assign(Object.assign({},(0,g.Wf)(le)),{position:"relative",display:"flex",alignItems:"center",padding:He,wordWrap:"break-word",borderRadius:ve,[`&${R}-rtl`]:{direction:"rtl"},[`${R}-content`]:{flex:1,minWidth:0},[`${R}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:M,lineHeight:G},"&-message":{color:Be},[`&${R}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${f} ${be}, opacity ${f} ${be}, - padding-top ${f} ${be}, padding-bottom ${f} ${be}, - margin-bottom ${f} ${be}`},[`&${R}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${R}-with-description`]:{alignItems:"flex-start",padding:Te,[`${R}-icon`]:{marginInlineEnd:m,fontSize:Ce,lineHeight:0},[`${R}-message`]:{display:"block",marginBottom:r,color:Be,fontSize:U},[`${R}-description`]:{display:"block",color:xe}},[`${R}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},x=le=>{const{componentCls:R,colorSuccess:f,colorSuccessBorder:r,colorSuccessBg:m,colorWarning:M,colorWarningBorder:U,colorWarningBg:G,colorError:ve,colorErrorBorder:be,colorErrorBg:Ce,colorInfo:xe,colorInfoBorder:Be,colorInfoBg:Te}=le;return{[R]:{"&-success":b(m,r,f,le,R),"&-info":b(Te,Be,xe,le,R),"&-warning":b(G,U,M,le,R),"&-error":Object.assign(Object.assign({},b(Ce,be,ve,le,R)),{[`${R}-description > pre`]:{margin:0,padding:0}})}}},F=le=>{const{componentCls:R,iconCls:f,motionDurationMid:r,marginXS:m,fontSizeIcon:M,colorIcon:U,colorIconHover:G}=le;return{[R]:{"&-action":{marginInlineStart:m},[`${R}-close-icon`]:{marginInlineStart:m,padding:0,overflow:"hidden",fontSize:M,lineHeight:`${M}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${f}-close`]:{color:U,transition:`color ${r}`,"&:hover":{color:G}}},"&-close-text":{color:U,transition:`color ${r}`,"&:hover":{color:G}}}}},P=le=>[l(le),x(le),F(le)];var L=(0,_.Z)("Alert",le=>[P(le)],le=>({withDescriptionIconSize:le.fontSizeHeading3,defaultPadding:`${le.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${le.paddingMD}px ${le.paddingContentHorizontalLG}px`})),Z=function(le,R){var f={};for(var r in le)Object.prototype.hasOwnProperty.call(le,r)&&R.indexOf(r)<0&&(f[r]=le[r]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,r=Object.getOwnPropertySymbols(le);m{const{icon:R,prefixCls:f,type:r}=le,m=I[r]||null;return R?(0,c.wm)(R,E.createElement("span",{className:`${f}-icon`},R),()=>({className:w()(`${f}-icon`,{[R.props.className]:R.props.className})})):E.createElement(m,{className:`${f}-icon`})},j=le=>{const{isClosable:R,prefixCls:f,closeIcon:r,handleClose:m}=le,M=r===!0||r===void 0?E.createElement(B.Z,null):r;return R?E.createElement("button",{type:"button",onClick:m,className:`${f}-close-icon`,tabIndex:0},M):null};var i=le=>{const{description:R,prefixCls:f,message:r,banner:m,className:M,rootClassName:U,style:G,onMouseEnter:ve,onMouseLeave:be,onClick:Ce,afterClose:xe,showIcon:Be,closable:Te,closeText:He,closeIcon:Re,action:a}=le,J=Z(le,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[d,t]=E.useState(!1),e=E.useRef(null),{getPrefixCls:u,direction:A,alert:H}=E.useContext(D.E_),k=u("alert",f),[ie,ye]=L(k),Fe=Jt=>{var zt;t(!0),(zt=le.onClose)===null||zt===void 0||zt.call(le,Jt)},De=E.useMemo(()=>le.type!==void 0?le.type:m?"warning":"info",[le.type,m]),Me=E.useMemo(()=>He?!0:typeof Te=="boolean"?Te:Re!==!1&&Re!==null&&Re!==void 0,[He,Re,Te]),Pe=m&&Be===void 0?!0:Be,ot=w()(k,`${k}-${De}`,{[`${k}-with-description`]:!!R,[`${k}-no-icon`]:!Pe,[`${k}-banner`]:!!m,[`${k}-rtl`]:A==="rtl"},H==null?void 0:H.className,M,U,ye),Tt=(0,O.Z)(J,{aria:!0,data:!0});return ie(E.createElement(o.default,{visible:!d,motionName:`${k}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Jt=>({maxHeight:Jt.offsetHeight}),onLeaveEnd:xe},Jt=>{let{className:zt,style:wt}=Jt;return E.createElement("div",Object.assign({ref:e,"data-show":!d,className:w()(ot,zt),style:Object.assign(Object.assign(Object.assign({},H==null?void 0:H.style),G),wt),onMouseEnter:ve,onMouseLeave:be,onClick:Ce,role:"alert"},Tt),Pe?E.createElement($,{description:R,icon:le.icon,prefixCls:k,type:De}):null,E.createElement("div",{className:`${k}-content`},r?E.createElement("div",{className:`${k}-message`},r):null,R?E.createElement("div",{className:`${k}-description`},R):null),a?E.createElement("div",{className:`${k}-action`},a):null,E.createElement(j,{isClosable:Me,prefixCls:k,closeIcon:He||Re,handleClose:Fe}))}))},Q=s(6909),ne=s(4771),T=s(9427),ae=s(25440),re=function(le){(0,T.Z)(f,le);var R=(0,ae.Z)(f);function f(){var r;return(0,Q.Z)(this,f),r=R.apply(this,arguments),r.state={error:void 0,info:{componentStack:""}},r}return(0,ne.Z)(f,[{key:"componentDidCatch",value:function(m,M){this.setState({error:m,info:M})}},{key:"render",value:function(){const{message:m,description:M,children:U}=this.props,{error:G,info:ve}=this.state,be=ve&&ve.componentStack?ve.componentStack:null,Ce=typeof m=="undefined"?(G||"").toString():m,xe=typeof M=="undefined"?be:M;return G?E.createElement(i,{type:"error",message:Ce,description:E.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},xe)}):U}}]),f}(E.Component);const X=i;X.ErrorBoundary=re;var te=X},49127:function(St,We,s){"use strict";s.d(We,{Z:function(){return R}});var n=s(92310),W=s.n(n),B=s(77900),z=s(59301),h=s(36785),y=s(92343),w=s(36355),o=s(93083),O=s(17313),E=s(45157),c=s(37613),D=s(83116);const g=new o.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),_=new o.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),b=new o.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),l=new o.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),x=new o.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),F=new o.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),P=f=>{const{componentCls:r,iconCls:m,antCls:M,badgeShadowSize:U,motionDurationSlow:G,textFontSize:ve,textFontSizeSM:be,statusSize:Ce,dotSize:xe,textFontWeight:Be,indicatorHeight:Te,indicatorHeightSM:He,marginXS:Re}=f,a=`${M}-scroll-number`,J=(0,E.Z)(f,(d,t)=>{let{darkColor:e}=t;return{[`&${r} ${r}-color-${d}`]:{background:e,[`&:not(${r}-count)`]:{color:e}}}});return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(f)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${r}-count`]:{zIndex:f.indicatorZIndex,minWidth:Te,height:Te,color:f.badgeTextColor,fontWeight:Be,fontSize:ve,lineHeight:`${Te}px`,whiteSpace:"nowrap",textAlign:"center",background:f.badgeColor,borderRadius:Te/2,boxShadow:`0 0 0 ${U}px ${f.badgeShadowColor}`,transition:`background ${f.motionDurationMid}`,a:{color:f.badgeTextColor},"a:hover":{color:f.badgeTextColor},"a:hover &":{background:f.badgeColorHover}},[`${r}-count-sm`]:{minWidth:He,height:He,fontSize:be,lineHeight:`${He}px`,borderRadius:He/2},[`${r}-multiple-words`]:{padding:`0 ${f.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${r}-dot`]:{zIndex:f.indicatorZIndex,width:xe,minWidth:xe,height:xe,background:f.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${U}px ${f.badgeShadowColor}`},[`${r}-dot${a}`]:{transition:`background ${G}`},[`${r}-count, ${r}-dot, ${a}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${m}-spin`]:{animationName:F,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${r}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${r}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Ce,height:Ce,verticalAlign:"middle",borderRadius:"50%"},[`${r}-status-success`]:{backgroundColor:f.colorSuccess},[`${r}-status-processing`]:{overflow:"visible",color:f.colorPrimary,backgroundColor:f.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:U,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:g,animationDuration:f.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${r}-status-default`]:{backgroundColor:f.colorTextPlaceholder},[`${r}-status-error`]:{backgroundColor:f.colorError},[`${r}-status-warning`]:{backgroundColor:f.colorWarning},[`${r}-status-text`]:{marginInlineStart:Re,color:f.colorText,fontSize:f.fontSize}}}),J),{[`${r}-zoom-appear, ${r}-zoom-enter`]:{animationName:_,animationDuration:f.motionDurationSlow,animationTimingFunction:f.motionEaseOutBack,animationFillMode:"both"},[`${r}-zoom-leave`]:{animationName:b,animationDuration:f.motionDurationSlow,animationTimingFunction:f.motionEaseOutBack,animationFillMode:"both"},[`&${r}-not-a-wrapper`]:{[`${r}-zoom-appear, ${r}-zoom-enter`]:{animationName:l,animationDuration:f.motionDurationSlow,animationTimingFunction:f.motionEaseOutBack},[`${r}-zoom-leave`]:{animationName:x,animationDuration:f.motionDurationSlow,animationTimingFunction:f.motionEaseOutBack},[`&:not(${r}-status)`]:{verticalAlign:"middle"},[`${a}-custom-component, ${r}-count`]:{transform:"none"},[`${a}-custom-component, ${a}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${a}`]:{overflow:"hidden",[`${a}-only`]:{position:"relative",display:"inline-block",height:Te,transition:`all ${f.motionDurationSlow} ${f.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${a}-only-unit`]:{height:Te,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${a}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${r}-count, ${r}-dot, ${a}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},L=f=>{const{fontSize:r,lineHeight:m,lineWidth:M,marginXS:U,colorBorderBg:G}=f,ve=Math.round(r*m),be=M,Ce=f.colorBgContainer,xe=f.colorError,Be=f.colorErrorHover;return(0,c.TS)(f,{badgeFontHeight:ve,badgeShadowSize:be,badgeTextColor:Ce,badgeColor:xe,badgeColorHover:Be,badgeShadowColor:G,badgeProcessingDuration:"1.2s",badgeRibbonOffset:U,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},Z=f=>{const{fontSize:r,lineHeight:m,fontSizeSM:M,lineWidth:U}=f;return{indicatorZIndex:"auto",indicatorHeight:Math.round(r*m)-2*U,indicatorHeightSM:r,dotSize:M/2,textFontSize:M,textFontSizeSM:M,textFontWeight:"normal",statusSize:M/2}};var I=(0,D.Z)("Badge",f=>{const r=L(f);return[P(r)]},Z);const $=f=>{const{antCls:r,badgeFontHeight:m,marginXS:M,badgeRibbonOffset:U}=f,G=`${r}-ribbon`,ve=`${r}-ribbon-wrapper`,be=(0,E.Z)(f,(Ce,xe)=>{let{darkColor:Be}=xe;return{[`&${G}-color-${Ce}`]:{background:Be,color:Be}}});return{[`${ve}`]:{position:"relative"},[`${G}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(f)),{position:"absolute",top:M,padding:`0 ${f.paddingXS}px`,color:f.colorPrimary,lineHeight:`${m}px`,whiteSpace:"nowrap",backgroundColor:f.colorPrimary,borderRadius:f.borderRadiusSM,[`${G}-text`]:{color:f.colorTextLightSolid},[`${G}-corner`]:{position:"absolute",top:"100%",width:U,height:U,color:"currentcolor",border:`${U/2}px solid`,transform:f.badgeRibbonCornerTransform,transformOrigin:"top",filter:f.badgeRibbonCornerFilter}}),be),{[`&${G}-placement-end`]:{insetInlineEnd:-U,borderEndEndRadius:0,[`${G}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${G}-placement-start`]:{insetInlineStart:-U,borderEndStartRadius:0,[`${G}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var j=(0,D.Z)(["Badge","Ribbon"],f=>{const r=L(f);return[$(r)]},Z),i=f=>{const{className:r,prefixCls:m,style:M,color:U,children:G,text:ve,placement:be="end",rootClassName:Ce}=f,{getPrefixCls:xe,direction:Be}=z.useContext(w.E_),Te=xe("ribbon",m),He=(0,h.o2)(U,!1),Re=W()(Te,`${Te}-placement-${be}`,{[`${Te}-rtl`]:Be==="rtl",[`${Te}-color-${U}`]:He},r),[a,J]=j(Te),d={},t={};return U&&!He&&(d.background=U,t.color=U),a(z.createElement("div",{className:W()(`${Te}-wrapper`,Ce,J)},G,z.createElement("div",{className:W()(Re,J),style:Object.assign(Object.assign({},d),M)},z.createElement("span",{className:`${Te}-text`},ve),z.createElement("div",{className:`${Te}-corner`,style:t}))))};function Q(f){let{prefixCls:r,value:m,current:M,offset:U=0}=f,G;return U&&(G={position:"absolute",top:`${U}00%`,left:0}),z.createElement("span",{style:G,className:W()(`${r}-only-unit`,{current:M})},m)}function ne(f,r,m){let M=f,U=0;for(;(M+10)%10!==r;)M+=m,U+=m;return U}function T(f){const{prefixCls:r,count:m,value:M}=f,U=Number(M),G=Math.abs(m),[ve,be]=z.useState(U),[Ce,xe]=z.useState(G),Be=()=>{be(U),xe(G)};z.useEffect(()=>{const Re=setTimeout(()=>{Be()},1e3);return()=>{clearTimeout(Re)}},[U]);let Te,He;if(ve===U||Number.isNaN(U)||Number.isNaN(ve))Te=[z.createElement(Q,Object.assign({},f,{key:U,current:!0}))],He={transition:"none"};else{Te=[];const Re=U+10,a=[];for(let t=U;t<=Re;t+=1)a.push(t);const J=a.findIndex(t=>t%10===ve);Te=a.map((t,e)=>{const u=t%10;return z.createElement(Q,Object.assign({},f,{key:t,value:u,offset:e-J,current:e===J}))});const d=Ce{const{prefixCls:m,count:M,className:U,motionClassName:G,style:ve,title:be,show:Ce,component:xe="sup",children:Be}=f,Te=ae(f,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:He}=z.useContext(w.E_),Re=He("scroll-number",m),a=Object.assign(Object.assign({},Te),{"data-show":Ce,style:ve,className:W()(Re,U,G),title:be});let J=M;if(M&&Number(M)%1===0){const d=String(M).split("");J=z.createElement("bdi",null,d.map((t,e)=>z.createElement(T,{prefixCls:Re,count:Number(M),value:t,key:d.length-e})))}return ve&&ve.borderColor&&(a.style=Object.assign(Object.assign({},ve),{boxShadow:`0 0 0 1px ${ve.borderColor} inset`})),Be?(0,y.Tm)(Be,d=>({className:W()(`${Re}-custom-component`,d==null?void 0:d.className,G)})):z.createElement(xe,Object.assign({},a,{ref:r}),J)}),X=function(f,r){var m={};for(var M in f)Object.prototype.hasOwnProperty.call(f,M)&&r.indexOf(M)<0&&(m[M]=f[M]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(f);U{var m,M,U,G,ve;const{prefixCls:be,scrollNumberPrefixCls:Ce,children:xe,status:Be,text:Te,color:He,count:Re=null,overflowCount:a=99,dot:J=!1,size:d="default",title:t,offset:e,style:u,className:A,rootClassName:H,classNames:k,styles:ie,showZero:ye=!1}=f,Fe=X(f,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:De,direction:Me,badge:Pe}=z.useContext(w.E_),ot=De("badge",be),[Tt,Jt]=I(ot),zt=Re>a?`${a}+`:Re,wt=zt==="0"||zt===0,Rt=Re===null||wt&&!ye,Bn=(Be!=null||He!=null)&&Rt,Xt=J&&!wt,sn=Xt?"":zt,wn=(0,z.useMemo)(()=>(sn==null||sn===""||wt&&!ye)&&!Xt,[sn,wt,ye,Xt]),Pn=(0,z.useRef)(Re);wn||(Pn.current=Re);const bn=Pn.current,Hn=(0,z.useRef)(sn);wn||(Hn.current=sn);const _n=Hn.current,mn=(0,z.useRef)(Xt);wn||(mn.current=Xt);const Ye=(0,z.useMemo)(()=>{if(!e)return Object.assign(Object.assign({},Pe==null?void 0:Pe.style),u);const Nn={marginTop:e[1]};return Me==="rtl"?Nn.left=parseInt(e[0],10):Nn.right=-parseInt(e[0],10),Object.assign(Object.assign(Object.assign({},Nn),Pe==null?void 0:Pe.style),u)},[Me,e,u,Pe==null?void 0:Pe.style]),pn=t!=null?t:typeof bn=="string"||typeof bn=="number"?bn:void 0,xn=wn||!Te?null:z.createElement("span",{className:`${ot}-status-text`},Te),Sn=!bn||typeof bn!="object"?void 0:(0,y.Tm)(bn,Nn=>({style:Object.assign(Object.assign({},Ye),Nn.style)})),Mn=(0,h.o2)(He,!1),Vn=W()(k==null?void 0:k.indicator,(m=Pe==null?void 0:Pe.classNames)===null||m===void 0?void 0:m.indicator,{[`${ot}-status-dot`]:Bn,[`${ot}-status-${Be}`]:!!Be,[`${ot}-color-${He}`]:Mn}),tu={};He&&!Mn&&(tu.color=He,tu.background=He);const lu=W()(ot,{[`${ot}-status`]:Bn,[`${ot}-not-a-wrapper`]:!xe,[`${ot}-rtl`]:Me==="rtl"},A,H,Pe==null?void 0:Pe.className,(M=Pe==null?void 0:Pe.classNames)===null||M===void 0?void 0:M.root,k==null?void 0:k.root,Jt);if(!xe&&Bn){const Nn=Ye.color;return Tt(z.createElement("span",Object.assign({},Fe,{className:lu,style:Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.root),(U=Pe==null?void 0:Pe.styles)===null||U===void 0?void 0:U.root),Ye)}),z.createElement("span",{className:Vn,style:Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.indicator),(G=Pe==null?void 0:Pe.styles)===null||G===void 0?void 0:G.indicator),tu)}),Te&&z.createElement("span",{style:{color:Nn},className:`${ot}-status-text`},Te)))}return Tt(z.createElement("span",Object.assign({ref:r},Fe,{className:lu,style:Object.assign(Object.assign({},(ve=Pe==null?void 0:Pe.styles)===null||ve===void 0?void 0:ve.root),ie==null?void 0:ie.root)}),xe,z.createElement(B.default,{visible:!wn,motionName:`${ot}-zoom`,motionAppear:!1,motionDeadline:1e3},Nn=>{let{className:Fu,ref:_u}=Nn;var Y,ou;const et=De("scroll-number",Ce),qe=mn.current,ut=W()(k==null?void 0:k.indicator,(Y=Pe==null?void 0:Pe.classNames)===null||Y===void 0?void 0:Y.indicator,{[`${ot}-dot`]:qe,[`${ot}-count`]:!qe,[`${ot}-count-sm`]:d==="small",[`${ot}-multiple-words`]:!qe&&_n&&_n.toString().length>1,[`${ot}-status-${Be}`]:!!Be,[`${ot}-color-${He}`]:Mn});let st=Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.indicator),(ou=Pe==null?void 0:Pe.styles)===null||ou===void 0?void 0:ou.indicator),Ye);return He&&!Mn&&(st=st||{},st.background=He),z.createElement(re,{prefixCls:et,show:!wn,motionClassName:Fu,className:ut,count:_n,title:pn,style:st,key:"scrollNumber",ref:_u},Sn)}),xn))},le=z.forwardRef(te);le.Ribbon=i;var R=le},66104:function(St,We,s){"use strict";s.d(We,{Z:function(){return re}});var n=s(92310),W=s.n(n),B=s(11592),z=s(26112),h=s(59301),y=s(92343),w=s(36355),o=s(84105),O=s(91857);const E=X=>{let{children:te}=X;const{getPrefixCls:le}=h.useContext(w.E_),R=le("breadcrumb");return h.createElement("li",{className:`${R}-separator`,"aria-hidden":"true"},te===""?te:te||"/")};E.__ANT_BREADCRUMB_SEPARATOR=!0;var c=E,D=function(X,te){var le={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(le[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,R=Object.getOwnPropertySymbols(X);fte[f]||R)}function _(X,te,le,R){if(le==null)return null;const{className:f,onClick:r}=te,m=D(te,["className","onClick"]),M=Object.assign(Object.assign({},(0,z.Z)(m,{data:!0,aria:!0})),{onClick:r});return R!==void 0?h.createElement("a",Object.assign({},M,{className:W()(`${X}-link`,f),href:R}),le):h.createElement("span",Object.assign({},M,{className:W()(`${X}-link`,f)}),le)}function b(X,te){return(R,f,r,m,M)=>{if(te)return te(R,f,r,m);const U=g(R,f);return _(X,R,U,M)}}var l=function(X,te){var le={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(le[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,R=Object.getOwnPropertySymbols(X);f{const{prefixCls:te,separator:le="/",children:R,menu:f,overlay:r,dropdownProps:m,href:M}=X,G=(ve=>{if(f||r){const be=Object.assign({},m);if(f){const Ce=f||{},{items:xe}=Ce,Be=l(Ce,["items"]);be.menu=Object.assign(Object.assign({},Be),{items:xe==null?void 0:xe.map((Te,He)=>{var{key:Re,title:a,label:J,path:d}=Te,t=l(Te,["key","title","label","path"]);let e=J!=null?J:a;return d&&(e=h.createElement("a",{href:`${M}${d}`},e)),Object.assign(Object.assign({},t),{key:Re!=null?Re:He,label:e})})})}else r&&(be.overlay=r);return h.createElement(O.Z,Object.assign({placement:"bottom"},be),h.createElement("span",{className:`${te}-overlay-link`},ve,h.createElement(o.Z,null)))}return ve})(R);return G!=null?h.createElement(h.Fragment,null,h.createElement("li",null,G),le&&h.createElement(c,null,le)):null},F=X=>{const{prefixCls:te,children:le,href:R}=X,f=l(X,["prefixCls","children","href"]),{getPrefixCls:r}=h.useContext(w.E_),m=r("breadcrumb",te);return h.createElement(x,Object.assign({},f,{prefixCls:m}),_(m,f,le,R))};F.__ANT_BREADCRUMB_ITEM=!0;var P=F,L=s(17313),Z=s(83116),I=s(37613);const $=X=>{const{componentCls:te,iconCls:le}=X;return{[te]:Object.assign(Object.assign({},(0,L.Wf)(X)),{color:X.itemColor,fontSize:X.fontSize,[le]:{fontSize:X.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:X.linkColor,transition:`color ${X.motionDurationMid}`,padding:`0 ${X.paddingXXS}px`,borderRadius:X.borderRadiusSM,height:X.lineHeight*X.fontSize,display:"inline-block",marginInline:-X.marginXXS,"&:hover":{color:X.linkHoverColor,backgroundColor:X.colorBgTextHover}},(0,L.Qy)(X)),"li:last-child":{color:X.lastItemColor},[`${te}-separator`]:{marginInline:X.separatorMargin,color:X.separatorColor},[`${te}-link`]:{[` - > ${le} + span, - > ${le} + a - `]:{marginInlineStart:X.marginXXS}},[`${te}-overlay-link`]:{borderRadius:X.borderRadiusSM,height:X.lineHeight*X.fontSize,display:"inline-block",padding:`0 ${X.paddingXXS}px`,marginInline:-X.marginXXS,[`> ${le}`]:{marginInlineStart:X.marginXXS,fontSize:X.fontSizeIcon},"&:hover":{color:X.linkHoverColor,backgroundColor:X.colorBgTextHover,a:{color:X.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${X.componentCls}-rtl`]:{direction:"rtl"}})}};var j=(0,Z.Z)("Breadcrumb",X=>{const te=(0,I.TS)(X,{});return[$(te)]},X=>({itemColor:X.colorTextDescription,lastItemColor:X.colorText,iconFontSize:X.fontSize,linkColor:X.colorTextDescription,linkHoverColor:X.colorText,separatorColor:X.colorTextDescription,separatorMargin:X.marginXS})),V=function(X,te){var le={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(le[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,R=Object.getOwnPropertySymbols(X);f{var{breadcrumbName:m}=r,M=V(r,["breadcrumbName"]);return Object.assign(Object.assign({},M),{title:m})})}),f}function Q(X,te){return(0,h.useMemo)(()=>X||(te?te.map(i):null),[X,te])}var ne=function(X,te){var le={};for(var R in X)Object.prototype.hasOwnProperty.call(X,R)&&te.indexOf(R)<0&&(le[R]=X[R]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,R=Object.getOwnPropertySymbols(X);f{if(te===void 0)return te;let le=(te||"").replace(/^\//,"");return Object.keys(X).forEach(R=>{le=le.replace(`:${R}`,X[R])}),le},ae=X=>{const{prefixCls:te,separator:le="/",style:R,className:f,rootClassName:r,routes:m,items:M,children:U,itemRender:G,params:ve={}}=X,be=ne(X,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ce,direction:xe,breadcrumb:Be}=h.useContext(w.E_);let Te;const He=Ce("breadcrumb",te),[Re,a]=j(He),J=Q(M,m),d=b(He,G);if(J&&J.length>0){const u=[],A=M||m;Te=J.map((H,k)=>{const{path:ie,key:ye,type:Fe,menu:De,overlay:Me,onClick:Pe,className:ot,separator:Tt,dropdownProps:Jt}=H,zt=T(ve,ie);zt!==void 0&&u.push(zt);const wt=ye!=null?ye:k;if(Fe==="separator")return h.createElement(c,{key:wt},Tt);const Rt={},Bn=k===J.length-1;De?Rt.menu=De:Me&&(Rt.overlay=Me);let{href:Xt}=H;return u.length&&zt!==void 0&&(Xt=`#/${u.join("/")}`),h.createElement(x,Object.assign({key:wt},Rt,(0,z.Z)(H,{data:!0,aria:!0}),{className:ot,dropdownProps:Jt,href:Xt,separator:Bn?"":le,onClick:Pe,prefixCls:He}),d(H,ve,A,u,Xt))})}else if(U){const u=(0,B.Z)(U).length;Te=(0,B.Z)(U).map((A,H)=>{if(!A)return A;const k=H===u-1;return(0,y.Tm)(A,{separator:k?"":le,key:H})})}const t=W()(He,Be==null?void 0:Be.className,{[`${He}-rtl`]:xe==="rtl"},f,r,a),e=Object.assign(Object.assign({},Be==null?void 0:Be.style),R);return Re(h.createElement("nav",Object.assign({className:t,style:e},be),h.createElement("ol",null,Te)))};ae.Item=P,ae.Separator=c;var p=ae,re=p},37906:function(St,We,s){"use strict";s.d(We,{Z:function(){return R}});var n=s(59301),W=s(92310),B=s.n(W),z=s(69507),h=s(36355),y=s(19716),w=s(8628),O={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},c=n.createContext({}),D=s(11592),g=function(f,r){var m={};for(var M in f)Object.prototype.hasOwnProperty.call(f,M)&&r.indexOf(M)<0&&(m[M]=f[M]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(f);U(0,D.Z)(f).map(r=>Object.assign({},r==null?void 0:r.props));function b(f,r,m){const M=n.useMemo(()=>r||_(m),[r,m]);return n.useMemo(()=>M.map(G=>{var{span:ve}=G,be=g(G,["span"]);return Object.assign(Object.assign({},be),{span:typeof ve=="number"?ve:(0,z.m9)(f,ve)})}),[M,f])}function l(f,r,m){let M=f;return(m===void 0||m>r)&&(M=Object.assign(Object.assign({},f),{span:r})),M}function x(f,r){const m=[];let M=[],U=r;return f.filter(G=>G).forEach((G,ve)=>{const be=G==null?void 0:G.span,Ce=be||1;if(ve===f.length-1){M.push(l(G,U,be)),m.push(M);return}Ce(0,n.useMemo)(()=>x(r,f),[r,f]),Z=f=>{let{children:r}=f;return r};function I(f){return f!=null}var j=f=>{const{itemPrefixCls:r,component:m,span:M,className:U,style:G,labelStyle:ve,contentStyle:be,bordered:Ce,label:xe,content:Be,colon:Te}=f,He=m;return Ce?n.createElement(He,{className:B()({[`${r}-item-label`]:I(xe),[`${r}-item-content`]:I(Be)},U),style:G,colSpan:M},I(xe)&&n.createElement("span",{style:ve},xe),I(Be)&&n.createElement("span",{style:be},Be)):n.createElement(He,{className:B()(`${r}-item`,U),style:G,colSpan:M},n.createElement("div",{className:`${r}-item-container`},(xe||xe===0)&&n.createElement("span",{className:B()(`${r}-item-label`,{[`${r}-item-no-colon`]:!Te}),style:ve},xe),(Be||Be===0)&&n.createElement("span",{className:B()(`${r}-item-content`),style:be},Be)))};function V(f,r,m){let{colon:M,prefixCls:U,bordered:G}=r,{component:ve,type:be,showLabel:Ce,showContent:xe,labelStyle:Be,contentStyle:Te}=m;return f.map((He,Re)=>{let{label:a,children:J,prefixCls:d=U,className:t,style:e,labelStyle:u,contentStyle:A,span:H=1,key:k}=He;return typeof ve=="string"?n.createElement(j,{key:`${be}-${k||Re}`,className:t,style:e,labelStyle:Object.assign(Object.assign({},Be),u),contentStyle:Object.assign(Object.assign({},Te),A),span:H,colon:M,component:ve,itemPrefixCls:d,bordered:G,label:Ce?a:null,content:xe?J:null}):[n.createElement(j,{key:`label-${k||Re}`,className:t,style:Object.assign(Object.assign(Object.assign({},Be),e),u),span:1,colon:M,component:ve[0],itemPrefixCls:d,bordered:G,label:a}),n.createElement(j,{key:`content-${k||Re}`,className:t,style:Object.assign(Object.assign(Object.assign({},Te),e),A),span:H*2-1,component:ve[1],itemPrefixCls:d,bordered:G,content:J})]})}var Q=f=>{const r=n.useContext(c),{prefixCls:m,vertical:M,row:U,index:G,bordered:ve}=f;return M?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${G}`,className:`${m}-row`},V(U,f,Object.assign({component:"th",type:"label",showLabel:!0},r))),n.createElement("tr",{key:`content-${G}`,className:`${m}-row`},V(U,f,Object.assign({component:"td",type:"content",showContent:!0},r)))):n.createElement("tr",{key:G,className:`${m}-row`},V(U,f,Object.assign({component:ve?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},r)))},ne=s(17313),T=s(83116),ae=s(37613);const p=f=>{const{componentCls:r,labelBg:m}=f;return{[`&${r}-bordered`]:{[`> ${r}-view`]:{border:`${f.lineWidth}px ${f.lineType} ${f.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${r}-row`]:{borderBottom:`${f.lineWidth}px ${f.lineType} ${f.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${r}-item-label, > ${r}-item-content`]:{padding:`${f.padding}px ${f.paddingLG}px`,borderInlineEnd:`${f.lineWidth}px ${f.lineType} ${f.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${r}-item-label`]:{color:f.colorTextSecondary,backgroundColor:m,"&::after":{display:"none"}}}},[`&${r}-middle`]:{[`${r}-row`]:{[`> ${r}-item-label, > ${r}-item-content`]:{padding:`${f.paddingSM}px ${f.paddingLG}px`}}},[`&${r}-small`]:{[`${r}-row`]:{[`> ${r}-item-label, > ${r}-item-content`]:{padding:`${f.paddingXS}px ${f.padding}px`}}}}}},re=f=>{const{componentCls:r,extraColor:m,itemPaddingBottom:M,colonMarginRight:U,colonMarginLeft:G,titleMarginBottom:ve}=f;return{[r]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(f)),p(f)),{"&-rtl":{direction:"rtl"},[`${r}-header`]:{display:"flex",alignItems:"center",marginBottom:ve},[`${r}-title`]:Object.assign(Object.assign({},ne.vS),{flex:"auto",color:f.colorText,fontWeight:f.fontWeightStrong,fontSize:f.fontSizeLG,lineHeight:f.lineHeightLG}),[`${r}-extra`]:{marginInlineStart:"auto",color:m,fontSize:f.fontSize},[`${r}-view`]:{width:"100%",borderRadius:f.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${r}-row`]:{"> th, > td":{paddingBottom:M},"&:last-child":{borderBottom:"none"}},[`${r}-item-label`]:{color:f.colorTextTertiary,fontWeight:"normal",fontSize:f.fontSize,lineHeight:f.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${G}px ${U}px`},[`&${r}-item-no-colon::after`]:{content:'""'}},[`${r}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${r}-item-content`]:{display:"table-cell",flex:1,color:f.colorText,fontSize:f.fontSize,lineHeight:f.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${r}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${r}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${r}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${r}-row`]:{"> th, > td":{paddingBottom:f.paddingSM}}},"&-small":{[`${r}-row`]:{"> th, > td":{paddingBottom:f.paddingXS}}}})}};var X=(0,T.Z)("Descriptions",f=>{const r=(0,ae.TS)(f,{});return[re(r)]},f=>({labelBg:f.colorFillAlter,titleMarginBottom:f.fontSizeSM*f.lineHeightSM,itemPaddingBottom:f.padding,colonMarginRight:f.marginXS,colonMarginLeft:f.marginXXS/2,extraColor:f.colorText})),te=function(f,r){var m={};for(var M in f)Object.prototype.hasOwnProperty.call(f,M)&&r.indexOf(M)<0&&(m[M]=f[M]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(f);U{const{prefixCls:r,title:m,extra:M,column:U,colon:G=!0,bordered:ve,layout:be,children:Ce,className:xe,rootClassName:Be,style:Te,size:He,labelStyle:Re,contentStyle:a,items:J}=f,d=te(f,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:t,direction:e,descriptions:u}=n.useContext(h.E_),A=t("descriptions",r),H=(0,w.Z)(),k=n.useMemo(()=>{var ot;return typeof U=="number"?U:(ot=(0,z.m9)(H,Object.assign(Object.assign({},O),U)))!==null&&ot!==void 0?ot:3},[H,U]),ie=b(H,J,Ce),ye=(0,y.Z)(He),Fe=P(k,ie),[De,Me]=X(A),Pe=n.useMemo(()=>({labelStyle:Re,contentStyle:a}),[Re,a]);return De(n.createElement(c.Provider,{value:Pe},n.createElement("div",Object.assign({className:B()(A,u==null?void 0:u.className,{[`${A}-${ye}`]:ye&&ye!=="default",[`${A}-bordered`]:!!ve,[`${A}-rtl`]:e==="rtl"},xe,Be,Me),style:Object.assign(Object.assign({},u==null?void 0:u.style),Te)},d),(m||M)&&n.createElement("div",{className:`${A}-header`},m&&n.createElement("div",{className:`${A}-title`},m),M&&n.createElement("div",{className:`${A}-extra`},M)),n.createElement("div",{className:`${A}-view`},n.createElement("table",null,n.createElement("tbody",null,Fe.map((ot,Tt)=>n.createElement(Q,{key:Tt,index:Tt,colon:G,prefixCls:A,vertical:be==="vertical",bordered:ve,row:ot}))))))))};le.Item=Z;var R=le},13570:function(St,We,s){"use strict";s.d(We,{Z:function(){return r}});var n=s(92413),W=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},z=B,h=s(7657),y=function(M,U){return W.createElement(h.Z,(0,n.Z)({},M,{ref:U,icon:z}))},w=W.forwardRef(y),o=w,O=s(92310),E=s.n(O),c=s(400),D=s(33606),g=s(37061),_=s(18929),b=s(10228),l=s(26112);function x(m,M){var U=m.disabled,G=m.prefixCls,ve=m.character,be=m.characterRender,Ce=m.index,xe=m.count,Be=m.value,Te=m.allowHalf,He=m.focused,Re=m.onHover,a=m.onClick,J=function(ie){Re(ie,Ce)},d=function(ie){a(ie,Ce)},t=function(ie){ie.keyCode===b.Z.ENTER&&a(ie,Ce)},e=Ce+1,u=new Set([G]);Be===0&&Ce===0&&He?u.add("".concat(G,"-focused")):Te&&Be+.5>=e&&BeCe?"true":"false","aria-posinset":Ce+1,"aria-setsize":xe,tabIndex:U?-1:0},W.createElement("div",{className:"".concat(G,"-first")},A),W.createElement("div",{className:"".concat(G,"-second")},A)));return be&&(H=be(H,m)),H}var F=W.forwardRef(x);function P(){var m=W.useRef({});function M(G){return m.current[G]}function U(G){return function(ve){m.current[G]=ve}}return[M,U]}function L(m){var M=m.pageXOffset,U="scrollLeft";if(typeof M!="number"){var G=m.document;M=G.documentElement[U],typeof M!="number"&&(M=G.body[U])}return M}function Z(m){var M,U,G=m.ownerDocument,ve=G.body,be=G&&G.documentElement,Ce=m.getBoundingClientRect();return M=Ce.left,U=Ce.top,M-=be.clientLeft||ve.clientLeft||0,U-=be.clientTop||ve.clientTop||0,{left:M,top:U}}function I(m){var M=Z(m),U=m.ownerDocument,G=U.defaultView||U.parentWindow;return M.left+=L(G),M.left}var $=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function j(m,M){var U,G=m.prefixCls,ve=G===void 0?"rc-rate":G,be=m.className,Ce=m.defaultValue,xe=m.value,Be=m.count,Te=Be===void 0?5:Be,He=m.allowHalf,Re=He===void 0?!1:He,a=m.allowClear,J=a===void 0?!0:a,d=m.character,t=d===void 0?"\u2605":d,e=m.characterRender,u=m.disabled,A=m.direction,H=A===void 0?"ltr":A,k=m.tabIndex,ie=k===void 0?0:k,ye=m.autoFocus,Fe=m.onHoverChange,De=m.onChange,Me=m.onFocus,Pe=m.onBlur,ot=m.onKeyDown,Tt=m.onMouseLeave,Jt=(0,g.Z)(m,$),zt=P(),wt=(0,D.Z)(zt,2),Rt=wt[0],Bn=wt[1],Xt=W.useRef(null),sn=function(){if(!u){var pt;(pt=Xt.current)===null||pt===void 0||pt.focus()}};W.useImperativeHandle(M,function(){return{focus:sn,blur:function(){if(!u){var pt;(pt=Xt.current)===null||pt===void 0||pt.blur()}}}});var wn=(0,_.Z)(Ce||0,{value:xe}),Pn=(0,D.Z)(wn,2),bn=Pn[0],Hn=Pn[1],_n=(0,_.Z)(null),mn=(0,D.Z)(_n,2),Ye=mn[0],pn=mn[1],xn=function(pt,$t){var Qt=H==="rtl",Ct=pt+1;if(Re){var yn=Rt(pt),hn=I(yn),en=yn.clientWidth;(Qt&&$t-hn>en/2||!Qt&&$t-hn0&&!Qt||$t===b.Z.RIGHT&&Ct>0&&Qt?(Re?Ct-=.5:Ct-=1,Sn(Ct),pt.preventDefault()):$t===b.Z.LEFT&&Ct{const{componentCls:M}=m;return{[`${M}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:m.marginXS},"> div":{transition:`all ${m.motionDurationMid}, outline 0s`,"&:hover":{transform:m.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${m.lineWidth}px dashed ${m.starColor}`,transform:m.starHoverScale}},"&-first, &-second":{color:m.starBg,transition:`all ${m.motionDurationMid}`,userSelect:"none",[m.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${M}-star-first, &-half ${M}-star-second`]:{opacity:1},[`&-half ${M}-star-first, &-full ${M}-star-second`]:{color:"inherit"}}}},X=m=>({[`&-rtl${m.componentCls}`]:{direction:"rtl"}}),te=m=>{const{componentCls:M}=m;return{[M]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,T.Wf)(m)),{display:"inline-block",margin:0,padding:0,color:m.starColor,fontSize:m.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${M} ${M}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),re(m)),{[`+ ${M}-text`]:{display:"inline-block",marginInlineStart:m.marginXS,fontSize:m.fontSize}}),X(m))}};var le=(0,ae.Z)("Rate",m=>{const M=(0,p.TS)(m,{});return[te(M)]},m=>({starColor:m.yellow6,starSize:m.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:m.colorFillContent})),R=function(m,M){var U={};for(var G in m)Object.prototype.hasOwnProperty.call(m,G)&&M.indexOf(G)<0&&(U[G]=m[G]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,G=Object.getOwnPropertySymbols(m);ve{const{prefixCls:U,className:G,rootClassName:ve,style:be,tooltips:Ce,character:xe=W.createElement(o,null)}=m,Be=R(m,["prefixCls","className","rootClassName","style","tooltips","character"]),Te=(u,A)=>{let{index:H}=A;return Ce?W.createElement(ne.Z,{title:Ce[H]},u):u},{getPrefixCls:He,direction:Re,rate:a}=W.useContext(Q.E_),J=He("rate",U),[d,t]=le(J),e=Object.assign(Object.assign({},a==null?void 0:a.style),be);return d(W.createElement(i,Object.assign({ref:M,character:xe,characterRender:Te},Be,{className:E()(G,ve,t,a==null?void 0:a.className),style:e,prefixCls:J,direction:Re})))})},61621:function(St,We,s){"use strict";s.d(We,{Z:function(){return t}});var n=s(92310),W=s.n(n),B=s(59301),z=s(36355),h=s(2738),w=e=>{const{prefixCls:u,className:A,style:H,size:k,shape:ie}=e,ye=W()({[`${u}-lg`]:k==="large",[`${u}-sm`]:k==="small"}),Fe=W()({[`${u}-circle`]:ie==="circle",[`${u}-square`]:ie==="square",[`${u}-round`]:ie==="round"}),De=B.useMemo(()=>typeof k=="number"?{width:k,height:k,lineHeight:`${k}px`}:{},[k]);return B.createElement("span",{className:W()(u,ye,Fe,A),style:Object.assign(Object.assign({},De),H)})},o=s(93083),O=s(83116),E=s(37613);const c=new o.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),D=e=>({height:e,lineHeight:`${e}px`}),g=e=>Object.assign({width:e},D(e)),_=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:c,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),b=e=>Object.assign({width:e*5,minWidth:e*5},D(e)),l=e=>{const{skeletonAvatarCls:u,gradientFromColor:A,controlHeight:H,controlHeightLG:k,controlHeightSM:ie}=e;return{[`${u}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:A},g(H)),[`${u}${u}-circle`]:{borderRadius:"50%"},[`${u}${u}-lg`]:Object.assign({},g(k)),[`${u}${u}-sm`]:Object.assign({},g(ie))}},x=e=>{const{controlHeight:u,borderRadiusSM:A,skeletonInputCls:H,controlHeightLG:k,controlHeightSM:ie,gradientFromColor:ye}=e;return{[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ye,borderRadius:A},b(u)),[`${H}-lg`]:Object.assign({},b(k)),[`${H}-sm`]:Object.assign({},b(ie))}},F=e=>Object.assign({width:e},D(e)),P=e=>{const{skeletonImageCls:u,imageSizeBase:A,gradientFromColor:H,borderRadiusSM:k}=e;return{[`${u}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:H,borderRadius:k},F(A*2)),{[`${u}-path`]:{fill:"#bfbfbf"},[`${u}-svg`]:Object.assign(Object.assign({},F(A)),{maxWidth:A*4,maxHeight:A*4}),[`${u}-svg${u}-svg-circle`]:{borderRadius:"50%"}}),[`${u}${u}-circle`]:{borderRadius:"50%"}}},L=(e,u,A)=>{const{skeletonButtonCls:H}=e;return{[`${A}${H}-circle`]:{width:u,minWidth:u,borderRadius:"50%"},[`${A}${H}-round`]:{borderRadius:u}}},Z=e=>Object.assign({width:e*2,minWidth:e*2},D(e)),I=e=>{const{borderRadiusSM:u,skeletonButtonCls:A,controlHeight:H,controlHeightLG:k,controlHeightSM:ie,gradientFromColor:ye}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${A}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ye,borderRadius:u,width:H*2,minWidth:H*2},Z(H))},L(e,H,A)),{[`${A}-lg`]:Object.assign({},Z(k))}),L(e,k,`${A}-lg`)),{[`${A}-sm`]:Object.assign({},Z(ie))}),L(e,ie,`${A}-sm`))},$=e=>{const{componentCls:u,skeletonAvatarCls:A,skeletonTitleCls:H,skeletonParagraphCls:k,skeletonButtonCls:ie,skeletonInputCls:ye,skeletonImageCls:Fe,controlHeight:De,controlHeightLG:Me,controlHeightSM:Pe,gradientFromColor:ot,padding:Tt,marginSM:Jt,borderRadius:zt,titleHeight:wt,blockRadius:Rt,paragraphLiHeight:Bn,controlHeightXS:Xt,paragraphMarginTop:sn}=e;return{[`${u}`]:{display:"table",width:"100%",[`${u}-header`]:{display:"table-cell",paddingInlineEnd:Tt,verticalAlign:"top",[`${A}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot},g(De)),[`${A}-circle`]:{borderRadius:"50%"},[`${A}-lg`]:Object.assign({},g(Me)),[`${A}-sm`]:Object.assign({},g(Pe))},[`${u}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${H}`]:{width:"100%",height:wt,background:ot,borderRadius:Rt,[`+ ${k}`]:{marginBlockStart:Pe}},[`${k}`]:{padding:0,"> li":{width:"100%",height:Bn,listStyle:"none",background:ot,borderRadius:Rt,"+ li":{marginBlockStart:Xt}}},[`${k}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${u}-content`]:{[`${H}, ${k} > li`]:{borderRadius:zt}}},[`${u}-with-avatar ${u}-content`]:{[`${H}`]:{marginBlockStart:Jt,[`+ ${k}`]:{marginBlockStart:sn}}},[`${u}${u}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},I(e)),l(e)),x(e)),P(e)),[`${u}${u}-block`]:{width:"100%",[`${ie}`]:{width:"100%"},[`${ye}`]:{width:"100%"}},[`${u}${u}-active`]:{[` - ${H}, - ${k} > li, - ${A}, - ${ie}, - ${ye}, - ${Fe} - `]:Object.assign({},_(e))}}};var j=(0,O.Z)("Skeleton",e=>{const{componentCls:u}=e,A=(0,E.TS)(e,{skeletonAvatarCls:`${u}-avatar`,skeletonTitleCls:`${u}-title`,skeletonParagraphCls:`${u}-paragraph`,skeletonButtonCls:`${u}-button`,skeletonInputCls:`${u}-input`,skeletonImageCls:`${u}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[$(A)]},e=>{const{colorFillContent:u,colorFill:A}=e,H=u,k=A;return{color:H,colorGradientEnd:k,gradientFromColor:H,gradientToColor:k,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),i=e=>{const{prefixCls:u,className:A,rootClassName:H,active:k,shape:ie="circle",size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(z.E_),De=Fe("skeleton",u),[Me,Pe]=j(De),ot=(0,h.Z)(e,["prefixCls","className"]),Tt=W()(De,`${De}-element`,{[`${De}-active`]:k},A,H,Pe);return Me(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${De}-avatar`,shape:ie,size:ye},ot))))},ne=e=>{const{prefixCls:u,className:A,rootClassName:H,active:k,block:ie=!1,size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(z.E_),De=Fe("skeleton",u),[Me,Pe]=j(De),ot=(0,h.Z)(e,["prefixCls"]),Tt=W()(De,`${De}-element`,{[`${De}-active`]:k,[`${De}-block`]:ie},A,H,Pe);return Me(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${De}-button`,size:ye},ot))))};const T="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var p=e=>{const{prefixCls:u,className:A,rootClassName:H,style:k,active:ie}=e,{getPrefixCls:ye}=B.useContext(z.E_),Fe=ye("skeleton",u),[De,Me]=j(Fe),Pe=W()(Fe,`${Fe}-element`,{[`${Fe}-active`]:ie},A,H,Me);return De(B.createElement("div",{className:Pe},B.createElement("div",{className:W()(`${Fe}-image`,A),style:k},B.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Fe}-image-svg`},B.createElement("path",{d:T,className:`${Fe}-image-path`})))))},X=e=>{const{prefixCls:u,className:A,rootClassName:H,active:k,block:ie,size:ye="default"}=e,{getPrefixCls:Fe}=B.useContext(z.E_),De=Fe("skeleton",u),[Me,Pe]=j(De),ot=(0,h.Z)(e,["prefixCls"]),Tt=W()(De,`${De}-element`,{[`${De}-active`]:k,[`${De}-block`]:ie},A,H,Pe);return Me(B.createElement("div",{className:Tt},B.createElement(w,Object.assign({prefixCls:`${De}-input`,size:ye},ot))))},te=s(92413),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},R=le,f=s(7657),r=function(u,A){return B.createElement(f.Z,(0,te.Z)({},u,{ref:A,icon:R}))},m=B.forwardRef(r),M=m,G=e=>{const{prefixCls:u,className:A,rootClassName:H,style:k,active:ie,children:ye}=e,{getPrefixCls:Fe}=B.useContext(z.E_),De=Fe("skeleton",u),[Me,Pe]=j(De),ot=W()(De,`${De}-element`,{[`${De}-active`]:ie},Pe,A,H),Tt=ye!=null?ye:B.createElement(M,null);return Me(B.createElement("div",{className:ot},B.createElement("div",{className:W()(`${De}-image`,A),style:k},Tt)))},ve=s(26407),Ce=e=>{const u=Fe=>{const{width:De,rows:Me=2}=e;if(Array.isArray(De))return De[Fe];if(Me-1===Fe)return De},{prefixCls:A,className:H,style:k,rows:ie}=e,ye=(0,ve.Z)(Array(ie)).map((Fe,De)=>B.createElement("li",{key:De,style:{width:u(De)}}));return B.createElement("ul",{className:W()(A,H),style:k},ye)},Be=e=>{let{prefixCls:u,className:A,width:H,style:k}=e;return B.createElement("h3",{className:W()(u,A),style:Object.assign({width:H},k)})};function Te(e){return e&&typeof e=="object"?e:{}}function He(e,u){return e&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Re(e,u){return!e&&u?{width:"38%"}:e&&u?{width:"50%"}:{}}function a(e,u){const A={};return(!e||!u)&&(A.width="61%"),!e&&u?A.rows=3:A.rows=2,A}const J=e=>{const{prefixCls:u,loading:A,className:H,rootClassName:k,style:ie,children:ye,avatar:Fe=!1,title:De=!0,paragraph:Me=!0,active:Pe,round:ot}=e,{getPrefixCls:Tt,direction:Jt,skeleton:zt}=B.useContext(z.E_),wt=Tt("skeleton",u),[Rt,Bn]=j(wt);if(A||!("loading"in e)){const Xt=!!Fe,sn=!!De,wn=!!Me;let Pn;if(Xt){const _n=Object.assign(Object.assign({prefixCls:`${wt}-avatar`},He(sn,wn)),Te(Fe));Pn=B.createElement("div",{className:`${wt}-header`},B.createElement(w,Object.assign({},_n)))}let bn;if(sn||wn){let _n;if(sn){const Ye=Object.assign(Object.assign({prefixCls:`${wt}-title`},Re(Xt,wn)),Te(De));_n=B.createElement(Be,Object.assign({},Ye))}let mn;if(wn){const Ye=Object.assign(Object.assign({prefixCls:`${wt}-paragraph`},a(Xt,sn)),Te(Me));mn=B.createElement(Ce,Object.assign({},Ye))}bn=B.createElement("div",{className:`${wt}-content`},_n,mn)}const Hn=W()(wt,{[`${wt}-with-avatar`]:Xt,[`${wt}-active`]:Pe,[`${wt}-rtl`]:Jt==="rtl",[`${wt}-round`]:ot},zt==null?void 0:zt.className,H,k,Bn);return Rt(B.createElement("div",{className:Hn,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),ie)},Pn,bn))}return typeof ye!="undefined"?ye:null};J.Button=ne,J.Avatar=i,J.Input=X,J.Image=p,J.Node=G;var d=J,t=d},31797:function(St,We,s){"use strict";s.d(We,{default:function(){return j}});var n=s(59301),W=s(56762),B=s(92343),z=s(92310),h=s.n(z),y=s(36355),w=s(61621),O=V=>{const{value:i,formatter:Q,precision:ne,decimalSeparator:T,groupSeparator:ae="",prefixCls:p}=V;let re;if(typeof Q=="function")re=Q(i);else{const X=String(i),te=X.match(/^(-?)(\d*)(\.(\d+))?$/);if(!te||X==="-")re=X;else{const le=te[1];let R=te[2]||"0",f=te[4]||"";R=R.replace(/\B(?=(\d{3})+(?!\d))/g,ae),typeof ne=="number"&&(f=f.padEnd(ne,"0").slice(0,ne>0?ne:0)),f&&(f=`${T}${f}`),re=[n.createElement("span",{key:"int",className:`${p}-content-value-int`},le,R),f&&n.createElement("span",{key:"decimal",className:`${p}-content-value-decimal`},f)]}}return n.createElement("span",{className:`${p}-content-value`},re)},E=s(17313),c=s(83116),D=s(37613);const g=V=>{const{componentCls:i,marginXXS:Q,padding:ne,colorTextDescription:T,titleFontSize:ae,colorTextHeading:p,contentFontSize:re,fontFamily:X}=V;return{[`${i}`]:Object.assign(Object.assign({},(0,E.Wf)(V)),{[`${i}-title`]:{marginBottom:Q,color:T,fontSize:ae},[`${i}-skeleton`]:{paddingTop:ne},[`${i}-content`]:{color:p,fontSize:re,fontFamily:X,[`${i}-content-value`]:{display:"inline-block",direction:"ltr"},[`${i}-content-prefix, ${i}-content-suffix`]:{display:"inline-block"},[`${i}-content-prefix`]:{marginInlineEnd:Q},[`${i}-content-suffix`]:{marginInlineStart:Q}}})}};var _=(0,c.Z)("Statistic",V=>{const i=(0,D.TS)(V,{});return[g(i)]},V=>{const{fontSizeHeading3:i,fontSize:Q}=V;return{titleFontSize:Q,contentFontSize:i}}),l=V=>{const{prefixCls:i,className:Q,rootClassName:ne,style:T,valueStyle:ae,value:p=0,title:re,valueRender:X,prefix:te,suffix:le,loading:R=!1,onMouseEnter:f,onMouseLeave:r,decimalSeparator:m=".",groupSeparator:M=","}=V,{getPrefixCls:U,direction:G,statistic:ve}=n.useContext(y.E_),be=U("statistic",i),[Ce,xe]=_(be),Be=n.createElement(O,Object.assign({decimalSeparator:m,groupSeparator:M,prefixCls:be},V,{value:p})),Te=h()(be,{[`${be}-rtl`]:G==="rtl"},ve==null?void 0:ve.className,Q,ne,xe);return Ce(n.createElement("div",{className:Te,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),T),onMouseEnter:f,onMouseLeave:r},re&&n.createElement("div",{className:`${be}-title`},re),n.createElement(w.Z,{paragraph:!1,loading:R,className:`${be}-skeleton`},n.createElement("div",{style:ae,className:`${be}-content`},te&&n.createElement("span",{className:`${be}-content-prefix`},te),X?X(Be):Be,le&&n.createElement("span",{className:`${be}-content-suffix`},le)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function F(V,i){let Q=V;const ne=/\[[^\]]*]/g,T=(i.match(ne)||[]).map(X=>X.slice(1,-1)),ae=i.replace(ne,"[]"),p=x.reduce((X,te)=>{let[le,R]=te;if(X.includes(le)){const f=Math.floor(Q/R);return Q-=f*R,X.replace(new RegExp(`${le}+`,"g"),r=>{const m=r.length;return f.toString().padStart(m,"0")})}return X},ae);let re=0;return p.replace(ne,()=>{const X=T[re];return re+=1,X})}function P(V,i){const{format:Q=""}=i,ne=new Date(V).getTime(),T=Date.now(),ae=Math.max(ne-T,0);return F(ae,Q)}const L=1e3/30;function Z(V){return new Date(V).getTime()}const I=V=>{const{value:i,format:Q="HH:mm:ss",onChange:ne,onFinish:T}=V,ae=(0,W.Z)(),p=n.useRef(null),re=()=>{T==null||T(),p.current&&(clearInterval(p.current),p.current=null)},X=()=>{const R=Z(i);R>=Date.now()&&(p.current=setInterval(()=>{ae(),ne==null||ne(R-Date.now()),R(X(),()=>{p.current&&(clearInterval(p.current),p.current=null)}),[i]);const te=(R,f)=>P(R,Object.assign(Object.assign({},f),{format:Q})),le=R=>(0,B.Tm)(R,{title:void 0});return n.createElement(l,Object.assign({},V,{valueRender:le,formatter:te}))};var $=n.memo(I);l.Countdown=$;var j=l},86251:function(St,We){"use strict";We.byteLength=w,We.toByteArray=O,We.fromByteArray=D;for(var s=[],n=[],W=typeof Uint8Array!="undefined"?Uint8Array:Array,B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",z=0,h=B.length;z0)throw new Error("Invalid string. Length must be a multiple of 4");var b=g.indexOf("=");b===-1&&(b=_);var l=b===_?0:4-b%4;return[b,l]}function w(g){var _=y(g),b=_[0],l=_[1];return(b+l)*3/4-l}function o(g,_,b){return(_+b)*3/4-b}function O(g){var _,b=y(g),l=b[0],x=b[1],F=new W(o(g,l,x)),P=0,L=x>0?l-4:l,Z;for(Z=0;Z>16&255,F[P++]=_>>8&255,F[P++]=_&255;return x===2&&(_=n[g.charCodeAt(Z)]<<2|n[g.charCodeAt(Z+1)]>>4,F[P++]=_&255),x===1&&(_=n[g.charCodeAt(Z)]<<10|n[g.charCodeAt(Z+1)]<<4|n[g.charCodeAt(Z+2)]>>2,F[P++]=_>>8&255,F[P++]=_&255),F}function E(g){return s[g>>18&63]+s[g>>12&63]+s[g>>6&63]+s[g&63]}function c(g,_,b){for(var l,x=[],F=_;FL?L:P+F));return l===1?(_=g[b-1],x.push(s[_>>2]+s[_<<4&63]+"==")):l===2&&(_=(g[b-2]<<8)+g[b-1],x.push(s[_>>10]+s[_>>4&63]+s[_<<2&63]+"=")),x.join("")}},19208:function(St,We,s){"use strict";var n;var W=s(86251),B=s(67467),z=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;We.lW=o,n=P,We.h2=50;var h=2147483647;n=h,o.TYPED_ARRAY_SUPPORT=y(),!o.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function y(){try{var d=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(d,t),d.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(d){if(d>h)throw new RangeError('The value "'+d+'" is invalid for option "size"');var t=new Uint8Array(d);return Object.setPrototypeOf(t,o.prototype),t}function o(d,t,e){if(typeof d=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return D(d)}return O(d,t,e)}o.poolSize=8192;function O(d,t,e){if(typeof d=="string")return g(d,t);if(ArrayBuffer.isView(d))return b(d);if(d==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof d);if(Re(d,ArrayBuffer)||d&&Re(d.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Re(d,SharedArrayBuffer)||d&&Re(d.buffer,SharedArrayBuffer)))return l(d,t,e);if(typeof d=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var u=d.valueOf&&d.valueOf();if(u!=null&&u!==d)return o.from(u,t,e);var A=x(d);if(A)return A;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof d[Symbol.toPrimitive]=="function")return o.from(d[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof d)}o.from=function(d,t,e){return O(d,t,e)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function E(d){if(typeof d!="number")throw new TypeError('"size" argument must be of type number');if(d<0)throw new RangeError('The value "'+d+'" is invalid for option "size"')}function c(d,t,e){return E(d),d<=0?w(d):t!==void 0?typeof e=="string"?w(d).fill(t,e):w(d).fill(t):w(d)}o.alloc=function(d,t,e){return c(d,t,e)};function D(d){return E(d),w(d<0?0:F(d)|0)}o.allocUnsafe=function(d){return D(d)},o.allocUnsafeSlow=function(d){return D(d)};function g(d,t){if((typeof t!="string"||t==="")&&(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=L(d,t)|0,u=w(e),A=u.write(d,t);return A!==e&&(u=u.slice(0,A)),u}function _(d){for(var t=d.length<0?0:F(d.length)|0,e=w(t),u=0;u=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return d|0}function P(d){return+d!=d&&(d=0),o.alloc(+d)}o.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==o.prototype},o.compare=function(t,e){if(Re(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),Re(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var u=t.length,A=e.length,H=0,k=Math.min(u,A);HA.length?o.from(k).copy(A,H):Uint8Array.prototype.set.call(A,k,H);else if(o.isBuffer(k))k.copy(A,H);else throw new TypeError('"list" argument must be an Array of Buffers');H+=k.length}return A};function L(d,t){if(o.isBuffer(d))return d.length;if(ArrayBuffer.isView(d)||Re(d,ArrayBuffer))return d.byteLength;if(typeof d!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof d);var e=d.length,u=arguments.length>2&&arguments[2]===!0;if(!u&&e===0)return 0;for(var A=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Ce(d).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Te(d).length;default:if(A)return u?-1:Ce(d).length;t=(""+t).toLowerCase(),A=!0}}o.byteLength=L;function Z(d,t,e){var u=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(d||(d="utf8");;)switch(d){case"hex":return R(this,t,e);case"utf8":case"utf-8":return p(this,t,e);case"ascii":return te(this,t,e);case"latin1":case"binary":return le(this,t,e);case"base64":return ae(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f(this,t,e);default:if(u)throw new TypeError("Unknown encoding: "+d);d=(d+"").toLowerCase(),u=!0}}o.prototype._isBuffer=!0;function I(d,t,e){var u=d[t];d[t]=d[e],d[e]=u}o.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;ee&&(t+=" ... "),""},z&&(o.prototype[z]=o.prototype.inspect),o.prototype.compare=function(t,e,u,A,H){if(Re(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),u===void 0&&(u=t?t.length:0),A===void 0&&(A=0),H===void 0&&(H=this.length),e<0||u>t.length||A<0||H>this.length)throw new RangeError("out of range index");if(A>=H&&e>=u)return 0;if(A>=H)return-1;if(e>=u)return 1;if(e>>>=0,u>>>=0,A>>>=0,H>>>=0,this===t)return 0;for(var k=H-A,ie=u-e,ye=Math.min(k,ie),Fe=this.slice(A,H),De=t.slice(e,u),Me=0;Me2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,a(e)&&(e=A?0:d.length-1),e<0&&(e=d.length+e),e>=d.length){if(A)return-1;e=d.length-1}else if(e<0)if(A)e=0;else return-1;if(typeof t=="string"&&(t=o.from(t,u)),o.isBuffer(t))return t.length===0?-1:j(d,t,e,u,A);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?A?Uint8Array.prototype.indexOf.call(d,t,e):Uint8Array.prototype.lastIndexOf.call(d,t,e):j(d,[t],e,u,A);throw new TypeError("val must be string, number or Buffer")}function j(d,t,e,u,A){var H=1,k=d.length,ie=t.length;if(u!==void 0&&(u=String(u).toLowerCase(),u==="ucs2"||u==="ucs-2"||u==="utf16le"||u==="utf-16le")){if(d.length<2||t.length<2)return-1;H=2,k/=2,ie/=2,e/=2}function ye(ot,Tt){return H===1?ot[Tt]:ot.readUInt16BE(Tt*H)}var Fe;if(A){var De=-1;for(Fe=e;Fek&&(e=k-ie),Fe=e;Fe>=0;Fe--){for(var Me=!0,Pe=0;PeA&&(u=A)):u=A;var H=t.length;u>H/2&&(u=H/2);for(var k=0;k>>0,isFinite(u)?(u=u>>>0,A===void 0&&(A="utf8")):(A=u,u=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var H=this.length-e;if((u===void 0||u>H)&&(u=H),t.length>0&&(u<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var k=!1;;)switch(A){case"hex":return V(this,t,e,u);case"utf8":case"utf-8":return i(this,t,e,u);case"ascii":case"latin1":case"binary":return Q(this,t,e,u);case"base64":return ne(this,t,e,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,u);default:if(k)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),k=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ae(d,t,e){return t===0&&e===d.length?W.fromByteArray(d):W.fromByteArray(d.slice(t,e))}function p(d,t,e){e=Math.min(d.length,e);for(var u=[],A=t;A239?4:H>223?3:H>191?2:1;if(A+ie<=e){var ye,Fe,De,Me;switch(ie){case 1:H<128&&(k=H);break;case 2:ye=d[A+1],(ye&192)===128&&(Me=(H&31)<<6|ye&63,Me>127&&(k=Me));break;case 3:ye=d[A+1],Fe=d[A+2],(ye&192)===128&&(Fe&192)===128&&(Me=(H&15)<<12|(ye&63)<<6|Fe&63,Me>2047&&(Me<55296||Me>57343)&&(k=Me));break;case 4:ye=d[A+1],Fe=d[A+2],De=d[A+3],(ye&192)===128&&(Fe&192)===128&&(De&192)===128&&(Me=(H&15)<<18|(ye&63)<<12|(Fe&63)<<6|De&63,Me>65535&&Me<1114112&&(k=Me))}}k===null?(k=65533,ie=1):k>65535&&(k-=65536,u.push(k>>>10&1023|55296),k=56320|k&1023),u.push(k),A+=ie}return X(u)}var re=4096;function X(d){var t=d.length;if(t<=re)return String.fromCharCode.apply(String,d);for(var e="",u=0;uu)&&(e=u);for(var A="",H=t;Hu&&(t=u),e<0?(e+=u,e<0&&(e=0)):e>u&&(e=u),ee)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,u){t=t>>>0,e=e>>>0,u||r(t,e,this.length);for(var A=this[t],H=1,k=0;++k>>0,e=e>>>0,u||r(t,e,this.length);for(var A=this[t+--e],H=1;e>0&&(H*=256);)A+=this[t+--e]*H;return A},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t=t>>>0,e||r(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||r(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||r(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||r(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||r(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,u){t=t>>>0,e=e>>>0,u||r(t,e,this.length);for(var A=this[t],H=1,k=0;++k=H&&(A-=Math.pow(2,8*e)),A},o.prototype.readIntBE=function(t,e,u){t=t>>>0,e=e>>>0,u||r(t,e,this.length);for(var A=e,H=1,k=this[t+--A];A>0&&(H*=256);)k+=this[t+--A]*H;return H*=128,k>=H&&(k-=Math.pow(2,8*e)),k},o.prototype.readInt8=function(t,e){return t=t>>>0,e||r(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},o.prototype.readInt16LE=function(t,e){t=t>>>0,e||r(t,2,this.length);var u=this[t]|this[t+1]<<8;return u&32768?u|4294901760:u},o.prototype.readInt16BE=function(t,e){t=t>>>0,e||r(t,2,this.length);var u=this[t+1]|this[t]<<8;return u&32768?u|4294901760:u},o.prototype.readInt32LE=function(t,e){return t=t>>>0,e||r(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t=t>>>0,e||r(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return t=t>>>0,e||r(t,4,this.length),B.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t=t>>>0,e||r(t,4,this.length),B.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||r(t,8,this.length),B.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||r(t,8,this.length),B.read(this,t,!1,52,8)};function m(d,t,e,u,A,H){if(!o.isBuffer(d))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>A||td.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,u,A){if(t=+t,e=e>>>0,u=u>>>0,!A){var H=Math.pow(2,8*u)-1;m(this,t,e,u,H,0)}var k=1,ie=0;for(this[e]=t&255;++ie>>0,u=u>>>0,!A){var H=Math.pow(2,8*u)-1;m(this,t,e,u,H,0)}var k=u-1,ie=1;for(this[e+k]=t&255;--k>=0&&(ie*=256);)this[e+k]=t/ie&255;return e+u},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,1,255,0),this[e]=t&255,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},o.prototype.writeIntLE=function(t,e,u,A){if(t=+t,e=e>>>0,!A){var H=Math.pow(2,8*u-1);m(this,t,e,u,H-1,-H)}var k=0,ie=1,ye=0;for(this[e]=t&255;++k>0)-ye&255;return e+u},o.prototype.writeIntBE=function(t,e,u,A){if(t=+t,e=e>>>0,!A){var H=Math.pow(2,8*u-1);m(this,t,e,u,H-1,-H)}var k=u-1,ie=1,ye=0;for(this[e+k]=t&255;--k>=0&&(ie*=256);)t<0&&ye===0&&this[e+k+1]!==0&&(ye=1),this[e+k]=(t/ie>>0)-ye&255;return e+u},o.prototype.writeInt8=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},o.prototype.writeInt16LE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeInt32LE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,u){return t=+t,e=e>>>0,u||m(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function M(d,t,e,u,A,H){if(e+u>d.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function U(d,t,e,u,A){return t=+t,e=e>>>0,A||M(d,t,e,4,34028234663852886e22,-34028234663852886e22),B.write(d,t,e,u,23,4),e+4}o.prototype.writeFloatLE=function(t,e,u){return U(this,t,e,!0,u)},o.prototype.writeFloatBE=function(t,e,u){return U(this,t,e,!1,u)};function G(d,t,e,u,A){return t=+t,e=e>>>0,A||M(d,t,e,8,17976931348623157e292,-17976931348623157e292),B.write(d,t,e,u,52,8),e+8}o.prototype.writeDoubleLE=function(t,e,u){return G(this,t,e,!0,u)},o.prototype.writeDoubleBE=function(t,e,u){return G(this,t,e,!1,u)},o.prototype.copy=function(t,e,u,A){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(u||(u=0),!A&&A!==0&&(A=this.length),e>=t.length&&(e=t.length),e||(e=0),A>0&&A=this.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("sourceEnd out of bounds");A>this.length&&(A=this.length),t.length-e>>0,u=u===void 0?this.length:u>>>0,t||(t=0);var k;if(typeof t=="number")for(k=e;k55295&&e<57344){if(!A){if(e>56319){(t-=3)>-1&&H.push(239,191,189);continue}else if(k+1===u){(t-=3)>-1&&H.push(239,191,189);continue}A=e;continue}if(e<56320){(t-=3)>-1&&H.push(239,191,189),A=e;continue}e=(A-55296<<10|e-56320)+65536}else A&&(t-=3)>-1&&H.push(239,191,189);if(A=null,e<128){if((t-=1)<0)break;H.push(e)}else if(e<2048){if((t-=2)<0)break;H.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;H.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;H.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return H}function xe(d){for(var t=[],e=0;e>8,A=e%256,H.push(A),H.push(u);return H}function Te(d){return W.toByteArray(be(d))}function He(d,t,e,u){for(var A=0;A=t.length||A>=d.length);++A)t[A+e]=d[A];return A}function Re(d,t){return d instanceof t||d!=null&&d.constructor!=null&&d.constructor.name!=null&&d.constructor.name===t.name}function a(d){return d!==d}var J=function(){for(var d="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var u=e*16,A=0;A<16;++A)t[u+A]=d[e]+d[A];return t}()},67467:function(St,We){We.read=function(s,n,W,B,z){var h,y,w=z*8-B-1,o=(1<>1,E=-7,c=W?z-1:0,D=W?-1:1,g=s[n+c];for(c+=D,h=g&(1<<-E)-1,g>>=-E,E+=w;E>0;h=h*256+s[n+c],c+=D,E-=8);for(y=h&(1<<-E)-1,h>>=-E,E+=B;E>0;y=y*256+s[n+c],c+=D,E-=8);if(h===0)h=1-O;else{if(h===o)return y?NaN:(g?-1:1)*(1/0);y=y+Math.pow(2,B),h=h-O}return(g?-1:1)*y*Math.pow(2,h-B)},We.write=function(s,n,W,B,z,h){var y,w,o,O=h*8-z-1,E=(1<>1,D=z===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=B?0:h-1,_=B?1:-1,b=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(w=isNaN(n)?1:0,y=E):(y=Math.floor(Math.log(n)/Math.LN2),n*(o=Math.pow(2,-y))<1&&(y--,o*=2),y+c>=1?n+=D/o:n+=D*Math.pow(2,1-c),n*o>=2&&(y++,o/=2),y+c>=E?(w=0,y=E):y+c>=1?(w=(n*o-1)*Math.pow(2,z),y=y+c):(w=n*Math.pow(2,c-1)*Math.pow(2,z),y=0));z>=8;s[W+g]=w&255,g+=_,w/=256,z-=8);for(y=y<0;s[W+g]=y&255,g+=_,y/=256,O-=8);s[W+g-_]|=b*128}},86129:function(St,We,s){var n=s(19208).lW,W=s(97671);(function(B){St.exports=B()})(function(){return function B(z,h,y){function w(E,c){if(!h[E]){if(!z[E]){var D=void 0;if(!c&&D)return require(E,!0);if(o)return o(E,!0);var g=new Error("Cannot find module '"+E+"'");throw g.code="MODULE_NOT_FOUND",g}var _=h[E]={exports:{}};z[E][0].call(_.exports,function(b){var l=z[E][1][b];return w(l||b)},_,_.exports,B,z,h,y)}return h[E].exports}for(var o=void 0,O=0;O>2,_=(3&E)<<4|c>>4,b=1>6:64,l=2>4,c=(15&g)<<4|(_=o.indexOf(O.charAt(l++)))>>2,D=(3&_)<<6|(b=o.indexOf(O.charAt(l++))),P[x++]=E,_!==64&&(P[x++]=c),b!==64&&(P[x++]=D);return P}},{"./support":30,"./utils":32}],2:[function(B,z,h){"use strict";var y=B("./external"),w=B("./stream/DataWorker"),o=B("./stream/Crc32Probe"),O=B("./stream/DataLengthProbe");function E(c,D,g,_,b){this.compressedSize=c,this.uncompressedSize=D,this.crc32=g,this.compression=_,this.compressedContent=b}E.prototype={getContentWorker:function(){var c=new w(y.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new O("data_length")),D=this;return c.on("end",function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new w(y.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},E.createWorkerFrom=function(c,D,g){return c.pipe(new o).pipe(new O("uncompressedSize")).pipe(D.compressWorker(g)).pipe(new O("compressedSize")).withStreamInfo("compression",D)},z.exports=E},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,z,h){"use strict";var y=B("./stream/GenericWorker");h.STORE={magic:"\0\0",compressWorker:function(){return new y("STORE compression")},uncompressWorker:function(){return new y("STORE decompression")}},h.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,z,h){"use strict";var y=B("./utils"),w=function(){for(var o,O=[],E=0;E<256;E++){o=E;for(var c=0;c<8;c++)o=1&o?3988292384^o>>>1:o>>>1;O[E]=o}return O}();z.exports=function(o,O){return o!==void 0&&o.length?y.getTypeOf(o)!=="string"?function(E,c,D,g){var _=w,b=g+D;E^=-1;for(var l=g;l>>8^_[255&(E^c[l])];return-1^E}(0|O,o,o.length,0):function(E,c,D,g){var _=w,b=g+D;E^=-1;for(var l=g;l>>8^_[255&(E^c.charCodeAt(l))];return-1^E}(0|O,o,o.length,0):0}},{"./utils":32}],5:[function(B,z,h){"use strict";h.base64=!1,h.binary=!1,h.dir=!1,h.createFolders=!0,h.date=null,h.compression=null,h.compressionOptions=null,h.comment=null,h.unixPermissions=null,h.dosPermissions=null},{}],6:[function(B,z,h){"use strict";var y=null;y=typeof Promise!="undefined"?Promise:B("lie"),z.exports={Promise:y}},{lie:37}],7:[function(B,z,h){"use strict";var y=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",w=B("pako"),o=B("./utils"),O=B("./stream/GenericWorker"),E=y?"uint8array":"array";function c(D,g){O.call(this,"FlateWorker/"+D),this._pako=null,this._pakoAction=D,this._pakoOptions=g,this.meta={}}h.magic="\b\0",o.inherits(c,O),c.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(E,D.data),!1)},c.prototype.flush=function(){O.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){O.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new w[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(g){D.push({data:g,meta:D.meta})}},h.compressWorker=function(D){return new c("Deflate",D)},h.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,z,h){"use strict";function y(_,b){var l,x="";for(l=0;l>>=8;return x}function w(_,b,l,x,F,P){var L,Z,I=_.file,$=_.compression,j=P!==E.utf8encode,V=o.transformTo("string",P(I.name)),i=o.transformTo("string",E.utf8encode(I.name)),Q=I.comment,ne=o.transformTo("string",P(Q)),T=o.transformTo("string",E.utf8encode(Q)),ae=i.length!==I.name.length,p=T.length!==Q.length,re="",X="",te="",le=I.dir,R=I.date,f={crc32:0,compressedSize:0,uncompressedSize:0};b&&!l||(f.crc32=_.crc32,f.compressedSize=_.compressedSize,f.uncompressedSize=_.uncompressedSize);var r=0;b&&(r|=8),j||!ae&&!p||(r|=2048);var m=0,M=0;le&&(m|=16),F==="UNIX"?(M=798,m|=function(G,ve){var be=G;return G||(be=ve?16893:33204),(65535&be)<<16}(I.unixPermissions,le)):(M=20,m|=function(G){return 63&(G||0)}(I.dosPermissions)),L=R.getUTCHours(),L<<=6,L|=R.getUTCMinutes(),L<<=5,L|=R.getUTCSeconds()/2,Z=R.getUTCFullYear()-1980,Z<<=4,Z|=R.getUTCMonth()+1,Z<<=5,Z|=R.getUTCDate(),ae&&(X=y(1,1)+y(c(V),4)+i,re+="up"+y(X.length,2)+X),p&&(te=y(1,1)+y(c(ne),4)+T,re+="uc"+y(te.length,2)+te);var U="";return U+=` -\0`,U+=y(r,2),U+=$.magic,U+=y(L,2),U+=y(Z,2),U+=y(f.crc32,4),U+=y(f.compressedSize,4),U+=y(f.uncompressedSize,4),U+=y(V.length,2),U+=y(re.length,2),{fileRecord:D.LOCAL_FILE_HEADER+U+V+re,dirRecord:D.CENTRAL_FILE_HEADER+y(M,2)+U+y(ne.length,2)+"\0\0\0\0"+y(m,4)+y(x,4)+V+re+ne}}var o=B("../utils"),O=B("../stream/GenericWorker"),E=B("../utf8"),c=B("../crc32"),D=B("../signature");function g(_,b,l,x){O.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=l,this.encodeFileName=x,this.streamFiles=_,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(g,O),g.prototype.push=function(_){var b=_.meta.percent||0,l=this.entriesCount,x=this._sources.length;this.accumulate?this.contentBuffer.push(_):(this.bytesWritten+=_.data.length,O.prototype.push.call(this,{data:_.data,meta:{currentFile:this.currentFile,percent:l?(b+100*(l-x-1))/l:100}}))},g.prototype.openedSource=function(_){this.currentSourceOffset=this.bytesWritten,this.currentFile=_.file.name;var b=this.streamFiles&&!_.file.dir;if(b){var l=w(_,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:l.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(_){this.accumulate=!1;var b=this.streamFiles&&!_.file.dir,l=w(_,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(l.dirRecord),b)this.push({data:function(x){return D.DATA_DESCRIPTOR+y(x.crc32,4)+y(x.compressedSize,4)+y(x.uncompressedSize,4)}(_),meta:{percent:100}});else for(this.push({data:l.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var _=this.bytesWritten,b=0;b=this.index;O--)E=(E<<8)+this.byteAt(O);return this.index+=o,E},readString:function(o){return y.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},z.exports=w},{"../utils":32}],19:[function(B,z,h){"use strict";var y=B("./Uint8ArrayReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.readData=function(o){this.checkOffset(o);var O=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},z.exports=w},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,z,h){"use strict";var y=B("./DataReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},w.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},w.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},w.prototype.readData=function(o){this.checkOffset(o);var O=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},z.exports=w},{"../utils":32,"./DataReader":18}],21:[function(B,z,h){"use strict";var y=B("./ArrayReader");function w(o){y.call(this,o)}B("../utils").inherits(w,y),w.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var O=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,O},z.exports=w},{"../utils":32,"./ArrayReader":17}],22:[function(B,z,h){"use strict";var y=B("../utils"),w=B("../support"),o=B("./ArrayReader"),O=B("./StringReader"),E=B("./NodeBufferReader"),c=B("./Uint8ArrayReader");z.exports=function(D){var g=y.getTypeOf(D);return y.checkSupport(g),g!=="string"||w.uint8array?g==="nodebuffer"?new E(D):w.uint8array?new c(y.transformTo("uint8array",D)):new o(y.transformTo("array",D)):new O(D)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,z,h){"use strict";h.LOCAL_FILE_HEADER="PK",h.CENTRAL_FILE_HEADER="PK",h.CENTRAL_DIRECTORY_END="PK",h.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",h.ZIP64_CENTRAL_DIRECTORY_END="PK",h.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,z,h){"use strict";var y=B("./GenericWorker"),w=B("../utils");function o(O){y.call(this,"ConvertWorker to "+O),this.destType=O}w.inherits(o,y),o.prototype.processChunk=function(O){this.push({data:w.transformTo(this.destType,O.data),meta:O.meta})},z.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(B,z,h){"use strict";var y=B("./GenericWorker"),w=B("../crc32");function o(){y.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(o,y),o.prototype.processChunk=function(O){this.streamInfo.crc32=w(O.data,this.streamInfo.crc32||0),this.push(O)},z.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,z,h){"use strict";var y=B("../utils"),w=B("./GenericWorker");function o(O){w.call(this,"DataLengthProbe for "+O),this.propName=O,this.withStreamInfo(O,0)}y.inherits(o,w),o.prototype.processChunk=function(O){if(O){var E=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=E+O.data.length}w.prototype.processChunk.call(this,O)},z.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(B,z,h){"use strict";var y=B("../utils"),w=B("./GenericWorker");function o(O){w.call(this,"DataWorker");var E=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,O.then(function(c){E.dataIsReady=!0,E.data=c,E.max=c&&c.length||0,E.type=y.getTypeOf(c),E.isPaused||E._tickAndRepeat()},function(c){E.error(c)})}y.inherits(o,w),o.prototype.cleanUp=function(){w.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!w.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,y.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(y.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var O=null,E=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":O=this.data.substring(this.index,E);break;case"uint8array":O=this.data.subarray(this.index,E);break;case"array":case"nodebuffer":O=this.data.slice(this.index,E)}return this.index=E,this.push({data:O,meta:{percent:this.max?this.index/this.max*100:0}})},z.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(B,z,h){"use strict";function y(w){this.name=w||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}y.prototype={push:function(w){this.emit("data",w)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(w){this.emit("error",w)}return!0},error:function(w){return!this.isFinished&&(this.isPaused?this.generatedError=w:(this.isFinished=!0,this.emit("error",w),this.previous&&this.previous.error(w),this.cleanUp()),!0)},on:function(w,o){return this._listeners[w].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(w,o){if(this._listeners[w])for(var O=0;O "+w:w}},z.exports=y},{}],29:[function(B,z,h){"use strict";var y=B("../utils"),w=B("./ConvertWorker"),o=B("./GenericWorker"),O=B("../base64"),E=B("../support"),c=B("../external"),D=null;if(E.nodestream)try{D=B("../nodejs/NodejsStreamOutputAdapter")}catch(b){}function g(b,l){return new c.Promise(function(x,F){var P=[],L=b._internalType,Z=b._outputType,I=b._mimeType;b.on("data",function($,j){P.push($),l&&l(j)}).on("error",function($){P=[],F($)}).on("end",function(){try{var $=function(j,V,i){switch(j){case"blob":return y.newBlob(y.transformTo("arraybuffer",V),i);case"base64":return O.encode(V);default:return y.transformTo(j,V)}}(Z,function(j,V){var i,Q=0,ne=null,T=0;for(i=0;i>>6:(x<65536?l[L++]=224|x>>>12:(l[L++]=240|x>>>18,l[L++]=128|x>>>12&63),l[L++]=128|x>>>6&63),l[L++]=128|63&x);return l}(_)},h.utf8decode=function(_){return w.nodebuffer?y.transformTo("nodebuffer",_).toString("utf-8"):function(b){var l,x,F,P,L=b.length,Z=new Array(2*L);for(l=x=0;l>10&1023,Z[x++]=56320|1023&F)}return Z.length!==x&&(Z.subarray?Z=Z.subarray(0,x):Z.length=x),y.applyFromCharCode(Z)}(_=y.transformTo(w.uint8array?"uint8array":"array",_))},y.inherits(D,O),D.prototype.processChunk=function(_){var b=y.transformTo(w.uint8array?"uint8array":"array",_.data);if(this.leftOver&&this.leftOver.length){if(w.uint8array){var l=b;(b=new Uint8Array(l.length+this.leftOver.length)).set(this.leftOver,0),b.set(l,this.leftOver.length)}else b=this.leftOver.concat(b);this.leftOver=null}var x=function(P,L){var Z;for((L=L||P.length)>P.length&&(L=P.length),Z=L-1;0<=Z&&(192&P[Z])==128;)Z--;return Z<0||Z===0?L:Z+E[P[Z]]>L?Z:L}(b),F=b;x!==b.length&&(w.uint8array?(F=b.subarray(0,x),this.leftOver=b.subarray(x,b.length)):(F=b.slice(0,x),this.leftOver=b.slice(x,b.length))),this.push({data:h.utf8decode(F),meta:_.meta})},D.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:h.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},h.Utf8DecodeWorker=D,y.inherits(g,O),g.prototype.processChunk=function(_){this.push({data:h.utf8encode(_.data),meta:_.meta})},h.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,z,h){"use strict";var y=B("./support"),w=B("./base64"),o=B("./nodejsUtils"),O=B("./external");function E(l){return l}function c(l,x){for(var F=0;F>8;this.dir=!!(16&this.externalFileAttributes),_==0&&(this.dosPermissions=63&this.externalFileAttributes),_==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var _=y(this.extraFields[1].value);this.uncompressedSize===w.MAX_VALUE_32BITS&&(this.uncompressedSize=_.readInt(8)),this.compressedSize===w.MAX_VALUE_32BITS&&(this.compressedSize=_.readInt(8)),this.localHeaderOffset===w.MAX_VALUE_32BITS&&(this.localHeaderOffset=_.readInt(8)),this.diskNumberStart===w.MAX_VALUE_32BITS&&(this.diskNumberStart=_.readInt(4))}},readExtraFields:function(_){var b,l,x,F=_.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});_.index+4>>6:(_<65536?g[x++]=224|_>>>12:(g[x++]=240|_>>>18,g[x++]=128|_>>>12&63),g[x++]=128|_>>>6&63),g[x++]=128|63&_);return g},h.buf2binstring=function(D){return c(D,D.length)},h.binstring2buf=function(D){for(var g=new y.Buf8(D.length),_=0,b=g.length;_>10&1023,P[b++]=56320|1023&l)}return c(P,b)},h.utf8border=function(D,g){var _;for((g=g||D.length)>D.length&&(g=D.length),_=g-1;0<=_&&(192&D[_])==128;)_--;return _<0||_===0?g:_+O[D[_]]>g?_:g}},{"./common":41}],43:[function(B,z,h){"use strict";z.exports=function(y,w,o,O){for(var E=65535&y|0,c=y>>>16&65535|0,D=0;o!==0;){for(o-=D=2e3>>1:w>>>1;o[O]=w}return o}();z.exports=function(w,o,O,E){var c=y,D=E+O;w^=-1;for(var g=E;g>>8^c[255&(w^o[g])];return-1^w}},{}],46:[function(B,z,h){"use strict";var y,w=B("../utils/common"),o=B("./trees"),O=B("./adler32"),E=B("./crc32"),c=B("./messages"),D=0,g=4,_=0,b=-2,l=-1,x=4,F=2,P=8,L=9,Z=286,I=30,$=19,j=2*Z+1,V=15,i=3,Q=258,ne=Q+i+1,T=42,ae=113,p=1,re=2,X=3,te=4;function le(a,J){return a.msg=c[J],J}function R(a){return(a<<1)-(4a.avail_out&&(d=a.avail_out),d!==0&&(w.arraySet(a.output,J.pending_buf,J.pending_out,d,a.next_out),a.next_out+=d,J.pending_out+=d,a.total_out+=d,a.avail_out-=d,J.pending-=d,J.pending===0&&(J.pending_out=0))}function m(a,J){o._tr_flush_block(a,0<=a.block_start?a.block_start:-1,a.strstart-a.block_start,J),a.block_start=a.strstart,r(a.strm)}function M(a,J){a.pending_buf[a.pending++]=J}function U(a,J){a.pending_buf[a.pending++]=J>>>8&255,a.pending_buf[a.pending++]=255&J}function G(a,J){var d,t,e=a.max_chain_length,u=a.strstart,A=a.prev_length,H=a.nice_match,k=a.strstart>a.w_size-ne?a.strstart-(a.w_size-ne):0,ie=a.window,ye=a.w_mask,Fe=a.prev,De=a.strstart+Q,Me=ie[u+A-1],Pe=ie[u+A];a.prev_length>=a.good_match&&(e>>=2),H>a.lookahead&&(H=a.lookahead);do if(ie[(d=J)+A]===Pe&&ie[d+A-1]===Me&&ie[d]===ie[u]&&ie[++d]===ie[u+1]){u+=2,d++;do;while(ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&ie[++u]===ie[++d]&&uk&&--e!=0);return A<=a.lookahead?A:a.lookahead}function ve(a){var J,d,t,e,u,A,H,k,ie,ye,Fe=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=Fe+(Fe-ne)){for(w.arraySet(a.window,a.window,Fe,Fe,0),a.match_start-=Fe,a.strstart-=Fe,a.block_start-=Fe,J=d=a.hash_size;t=a.head[--J],a.head[J]=Fe<=t?t-Fe:0,--d;);for(J=d=Fe;t=a.prev[--J],a.prev[J]=Fe<=t?t-Fe:0,--d;);e+=Fe}if(a.strm.avail_in===0)break;if(A=a.strm,H=a.window,k=a.strstart+a.lookahead,ie=e,ye=void 0,ye=A.avail_in,ie=i)for(u=a.strstart-a.insert,a.ins_h=a.window[u],a.ins_h=(a.ins_h<=i&&(a.ins_h=(a.ins_h<=i)if(t=o._tr_tally(a,a.strstart-a.match_start,a.match_length-i),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=i){for(a.match_length--;a.strstart++,a.ins_h=(a.ins_h<=i&&(a.ins_h=(a.ins_h<=i&&a.match_length<=a.prev_length){for(e=a.strstart+a.lookahead-i,t=o._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-i),a.lookahead-=a.prev_length-1,a.prev_length-=2;++a.strstart<=e&&(a.ins_h=(a.ins_h<a.pending_buf_size-5&&(d=a.pending_buf_size-5);;){if(a.lookahead<=1){if(ve(a),a.lookahead===0&&J===D)return p;if(a.lookahead===0)break}a.strstart+=a.lookahead,a.lookahead=0;var t=a.block_start+d;if((a.strstart===0||a.strstart>=t)&&(a.lookahead=a.strstart-t,a.strstart=t,m(a,!1),a.strm.avail_out===0)||a.strstart-a.block_start>=a.w_size-ne&&(m(a,!1),a.strm.avail_out===0))return p}return a.insert=0,J===g?(m(a,!0),a.strm.avail_out===0?X:te):(a.strstart>a.block_start&&(m(a,!1),a.strm.avail_out),p)}),new xe(4,4,8,4,be),new xe(4,5,16,8,be),new xe(4,6,32,32,be),new xe(4,4,16,16,Ce),new xe(8,16,32,32,Ce),new xe(8,16,128,128,Ce),new xe(8,32,128,256,Ce),new xe(32,128,258,1024,Ce),new xe(32,258,258,4096,Ce)],h.deflateInit=function(a,J){return Re(a,J,P,15,8,0)},h.deflateInit2=Re,h.deflateReset=He,h.deflateResetKeep=Te,h.deflateSetHeader=function(a,J){return a&&a.state?a.state.wrap!==2?b:(a.state.gzhead=J,_):b},h.deflate=function(a,J){var d,t,e,u;if(!a||!a.state||5>8&255),M(t,t.gzhead.time>>16&255),M(t,t.gzhead.time>>24&255),M(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),M(t,255&t.gzhead.os),t.gzhead.extra&&t.gzhead.extra.length&&(M(t,255&t.gzhead.extra.length),M(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(a.adler=E(a.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=69):(M(t,0),M(t,0),M(t,0),M(t,0),M(t,0),M(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),M(t,3),t.status=ae);else{var A=P+(t.w_bits-8<<4)<<8;A|=(2<=t.strategy||t.level<2?0:t.level<6?1:t.level===6?2:3)<<6,t.strstart!==0&&(A|=32),A+=31-A%31,t.status=ae,U(t,A),t.strstart!==0&&(U(t,a.adler>>>16),U(t,65535&a.adler)),a.adler=1}if(t.status===69)if(t.gzhead.extra){for(e=t.pending;t.gzindex<(65535&t.gzhead.extra.length)&&(t.pending!==t.pending_buf_size||(t.gzhead.hcrc&&t.pending>e&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),r(a),e=t.pending,t.pending!==t.pending_buf_size));)M(t,255&t.gzhead.extra[t.gzindex]),t.gzindex++;t.gzhead.hcrc&&t.pending>e&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=73)}else t.status=73;if(t.status===73)if(t.gzhead.name){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),r(a),e=t.pending,t.pending===t.pending_buf_size)){u=1;break}u=t.gzindexe&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),u===0&&(t.gzindex=0,t.status=91)}else t.status=91;if(t.status===91)if(t.gzhead.comment){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),r(a),e=t.pending,t.pending===t.pending_buf_size)){u=1;break}u=t.gzindexe&&(a.adler=E(a.adler,t.pending_buf,t.pending-e,e)),u===0&&(t.status=103)}else t.status=103;if(t.status===103&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&r(a),t.pending+2<=t.pending_buf_size&&(M(t,255&a.adler),M(t,a.adler>>8&255),a.adler=0,t.status=ae)):t.status=ae),t.pending!==0){if(r(a),a.avail_out===0)return t.last_flush=-1,_}else if(a.avail_in===0&&R(J)<=R(d)&&J!==g)return le(a,-5);if(t.status===666&&a.avail_in!==0)return le(a,-5);if(a.avail_in!==0||t.lookahead!==0||J!==D&&t.status!==666){var H=t.strategy===2?function(k,ie){for(var ye;;){if(k.lookahead===0&&(ve(k),k.lookahead===0)){if(ie===D)return p;break}if(k.match_length=0,ye=o._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++,ye&&(m(k,!1),k.strm.avail_out===0))return p}return k.insert=0,ie===g?(m(k,!0),k.strm.avail_out===0?X:te):k.last_lit&&(m(k,!1),k.strm.avail_out===0)?p:re}(t,J):t.strategy===3?function(k,ie){for(var ye,Fe,De,Me,Pe=k.window;;){if(k.lookahead<=Q){if(ve(k),k.lookahead<=Q&&ie===D)return p;if(k.lookahead===0)break}if(k.match_length=0,k.lookahead>=i&&0k.lookahead&&(k.match_length=k.lookahead)}if(k.match_length>=i?(ye=o._tr_tally(k,1,k.match_length-i),k.lookahead-=k.match_length,k.strstart+=k.match_length,k.match_length=0):(ye=o._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++),ye&&(m(k,!1),k.strm.avail_out===0))return p}return k.insert=0,ie===g?(m(k,!0),k.strm.avail_out===0?X:te):k.last_lit&&(m(k,!1),k.strm.avail_out===0)?p:re}(t,J):y[t.level].func(t,J);if(H!==X&&H!==te||(t.status=666),H===p||H===X)return a.avail_out===0&&(t.last_flush=-1),_;if(H===re&&(J===1?o._tr_align(t):J!==5&&(o._tr_stored_block(t,0,0,!1),J===3&&(f(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),r(a),a.avail_out===0))return t.last_flush=-1,_}return J!==g?_:t.wrap<=0?1:(t.wrap===2?(M(t,255&a.adler),M(t,a.adler>>8&255),M(t,a.adler>>16&255),M(t,a.adler>>24&255),M(t,255&a.total_in),M(t,a.total_in>>8&255),M(t,a.total_in>>16&255),M(t,a.total_in>>24&255)):(U(t,a.adler>>>16),U(t,65535&a.adler)),r(a),0=d.w_size&&(u===0&&(f(d.head),d.strstart=0,d.block_start=0,d.insert=0),ie=new w.Buf8(d.w_size),w.arraySet(ie,J,ye-d.w_size,d.w_size,0),J=ie,ye=d.w_size),A=a.avail_in,H=a.next_in,k=a.input,a.avail_in=ye,a.next_in=0,a.input=J,ve(d);d.lookahead>=i;){for(t=d.strstart,e=d.lookahead-(i-1);d.ins_h=(d.ins_h<>>=i=V>>>24,L-=i,(i=V>>>16&255)===0)re[c++]=65535&V;else{if(!(16&i)){if(!(64&i)){V=Z[(65535&V)+(P&(1<>>=i,L-=i),L<15&&(P+=p[O++]<>>=i=V>>>24,L-=i,!(16&(i=V>>>16&255))){if(!(64&i)){V=I[(65535&V)+(P&(1<>>=i,L-=i,(i=c-D)>3,P&=(1<<(L-=Q<<3))-1,y.next_in=O,y.next_out=c,y.avail_in=O>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function P(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new y.Buf16(320),this.work=new y.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function L(T){var ae;return T&&T.state?(ae=T.state,T.total_in=T.total_out=ae.total=0,T.msg="",ae.wrap&&(T.adler=1&ae.wrap),ae.mode=b,ae.last=0,ae.havedict=0,ae.dmax=32768,ae.head=null,ae.hold=0,ae.bits=0,ae.lencode=ae.lendyn=new y.Buf32(l),ae.distcode=ae.distdyn=new y.Buf32(x),ae.sane=1,ae.back=-1,g):_}function Z(T){var ae;return T&&T.state?((ae=T.state).wsize=0,ae.whave=0,ae.wnext=0,L(T)):_}function I(T,ae){var p,re;return T&&T.state?(re=T.state,ae<0?(p=0,ae=-ae):(p=1+(ae>>4),ae<48&&(ae&=15)),ae&&(ae<8||15=te.wsize?(y.arraySet(te.window,ae,p-te.wsize,te.wsize,0),te.wnext=0,te.whave=te.wsize):(re<(X=te.wsize-te.wnext)&&(X=re),y.arraySet(te.window,ae,p-re,X,te.wnext),(re-=X)?(y.arraySet(te.window,ae,p-re,re,0),te.wnext=re,te.whave=te.wsize):(te.wnext+=X,te.wnext===te.wsize&&(te.wnext=0),te.whave>>8&255,p.check=o(p.check,u,2,0),m=r=0,p.mode=2;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&r)<<8)+(r>>8))%31){T.msg="incorrect header check",p.mode=30;break}if((15&r)!=8){T.msg="unknown compression method",p.mode=30;break}if(m-=4,a=8+(15&(r>>>=4)),p.wbits===0)p.wbits=a;else if(a>p.wbits){T.msg="invalid window size",p.mode=30;break}p.dmax=1<>8&1),512&p.flags&&(u[0]=255&r,u[1]=r>>>8&255,p.check=o(p.check,u,2,0)),m=r=0,p.mode=3;case 3:for(;m<32;){if(R===0)break e;R--,r+=re[te++]<>>8&255,u[2]=r>>>16&255,u[3]=r>>>24&255,p.check=o(p.check,u,4,0)),m=r=0,p.mode=4;case 4:for(;m<16;){if(R===0)break e;R--,r+=re[te++]<>8),512&p.flags&&(u[0]=255&r,u[1]=r>>>8&255,p.check=o(p.check,u,2,0)),m=r=0,p.mode=5;case 5:if(1024&p.flags){for(;m<16;){if(R===0)break e;R--,r+=re[te++]<>>8&255,p.check=o(p.check,u,2,0)),m=r=0}else p.head&&(p.head.extra=null);p.mode=6;case 6:if(1024&p.flags&&(R<(G=p.length)&&(G=R),G&&(p.head&&(a=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),y.arraySet(p.head.extra,re,te,G,a)),512&p.flags&&(p.check=o(p.check,re,G,te)),R-=G,te+=G,p.length-=G),p.length))break e;p.length=0,p.mode=7;case 7:if(2048&p.flags){if(R===0)break e;for(G=0;a=re[te+G++],p.head&&a&&p.length<65536&&(p.head.name+=String.fromCharCode(a)),a&&G>9&1,p.head.done=!0),T.adler=p.check=0,p.mode=12;break;case 10:for(;m<32;){if(R===0)break e;R--,r+=re[te++]<>>=7&m,m-=7&m,p.mode=27;break}for(;m<3;){if(R===0)break e;R--,r+=re[te++]<>>=1)){case 0:p.mode=14;break;case 1:if(Q(p),p.mode=20,ae!==6)break;r>>>=2,m-=2;break e;case 2:p.mode=17;break;case 3:T.msg="invalid block type",p.mode=30}r>>>=2,m-=2;break;case 14:for(r>>>=7&m,m-=7&m;m<32;){if(R===0)break e;R--,r+=re[te++]<>>16^65535)){T.msg="invalid stored block lengths",p.mode=30;break}if(p.length=65535&r,m=r=0,p.mode=15,ae===6)break e;case 15:p.mode=16;case 16:if(G=p.length){if(R>>=5,m-=5,p.ndist=1+(31&r),r>>>=5,m-=5,p.ncode=4+(15&r),r>>>=4,m-=4,286>>=3,m-=3}for(;p.have<19;)p.lens[A[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,d={bits:p.lenbits},J=E(0,p.lens,0,19,p.lencode,0,p.work,d),p.lenbits=d.bits,J){T.msg="invalid code lengths set",p.mode=30;break}p.have=0,p.mode=19;case 19:for(;p.have>>16&255,Be=65535&e,!((Ce=e>>>24)<=m);){if(R===0)break e;R--,r+=re[te++]<>>=Ce,m-=Ce,p.lens[p.have++]=Be;else{if(Be===16){for(t=Ce+2;m>>=Ce,m-=Ce,p.have===0){T.msg="invalid bit length repeat",p.mode=30;break}a=p.lens[p.have-1],G=3+(3&r),r>>>=2,m-=2}else if(Be===17){for(t=Ce+3;m>>=Ce)),r>>>=3,m-=3}else{for(t=Ce+7;m>>=Ce)),r>>>=7,m-=7}if(p.have+G>p.nlen+p.ndist){T.msg="invalid bit length repeat",p.mode=30;break}for(;G--;)p.lens[p.have++]=a}}if(p.mode===30)break;if(p.lens[256]===0){T.msg="invalid code -- missing end-of-block",p.mode=30;break}if(p.lenbits=9,d={bits:p.lenbits},J=E(c,p.lens,0,p.nlen,p.lencode,0,p.work,d),p.lenbits=d.bits,J){T.msg="invalid literal/lengths set",p.mode=30;break}if(p.distbits=6,p.distcode=p.distdyn,d={bits:p.distbits},J=E(D,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,d),p.distbits=d.bits,J){T.msg="invalid distances set",p.mode=30;break}if(p.mode=20,ae===6)break e;case 20:p.mode=21;case 21:if(6<=R&&258<=f){T.next_out=le,T.avail_out=f,T.next_in=te,T.avail_in=R,p.hold=r,p.bits=m,O(T,U),le=T.next_out,X=T.output,f=T.avail_out,te=T.next_in,re=T.input,R=T.avail_in,r=p.hold,m=p.bits,p.mode===12&&(p.back=-1);break}for(p.back=0;xe=(e=p.lencode[r&(1<>>16&255,Be=65535&e,!((Ce=e>>>24)<=m);){if(R===0)break e;R--,r+=re[te++]<>Te)])>>>16&255,Be=65535&e,!(Te+(Ce=e>>>24)<=m);){if(R===0)break e;R--,r+=re[te++]<>>=Te,m-=Te,p.back+=Te}if(r>>>=Ce,m-=Ce,p.back+=Ce,p.length=Be,xe===0){p.mode=26;break}if(32&xe){p.back=-1,p.mode=12;break}if(64&xe){T.msg="invalid literal/length code",p.mode=30;break}p.extra=15&xe,p.mode=22;case 22:if(p.extra){for(t=p.extra;m>>=p.extra,m-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=23;case 23:for(;xe=(e=p.distcode[r&(1<>>16&255,Be=65535&e,!((Ce=e>>>24)<=m);){if(R===0)break e;R--,r+=re[te++]<>Te)])>>>16&255,Be=65535&e,!(Te+(Ce=e>>>24)<=m);){if(R===0)break e;R--,r+=re[te++]<>>=Te,m-=Te,p.back+=Te}if(r>>>=Ce,m-=Ce,p.back+=Ce,64&xe){T.msg="invalid distance code",p.mode=30;break}p.offset=Be,p.extra=15&xe,p.mode=24;case 24:if(p.extra){for(t=p.extra;m>>=p.extra,m-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){T.msg="invalid distance too far back",p.mode=30;break}p.mode=25;case 25:if(f===0)break e;if(G=U-f,p.offset>G){if((G=p.offset-G)>p.whave&&p.sane){T.msg="invalid distance too far back",p.mode=30;break}ve=G>p.wnext?(G-=p.wnext,p.wsize-G):p.wnext-G,G>p.length&&(G=p.length),be=p.window}else be=X,ve=le-p.offset,G=p.length;for(fj?(i=ve[be+x[ae]],m[M+x[ae]]):(i=96,0),P=1<>le)+(L-=P)]=V<<24|i<<16|Q|0,L!==0;);for(P=1<>=1;if(P!==0?(r&=P-1,r+=P):r=0,ae++,--U[T]==0){if(T===re)break;T=D[g+x[ae]]}if(X>>7)]}function M(e,u){e.pending_buf[e.pending++]=255&u,e.pending_buf[e.pending++]=u>>>8&255}function U(e,u,A){e.bi_valid>F-A?(e.bi_buf|=u<>F-e.bi_valid,e.bi_valid+=A-F):(e.bi_buf|=u<>>=1,A<<=1,0<--u;);return A>>>1}function be(e,u,A){var H,k,ie=new Array(x+1),ye=0;for(H=1;H<=x;H++)ie[H]=ye=ye+A[H-1]<<1;for(k=0;k<=u;k++){var Fe=e[2*k+1];Fe!==0&&(e[2*k]=ve(ie[Fe]++,Fe))}}function Ce(e){var u;for(u=0;u>1;1<=A;A--)Te(e,ie,A);for(k=De;A=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Te(e,ie,1),H=e.heap[1],e.heap[--e.heap_max]=A,e.heap[--e.heap_max]=H,ie[2*k]=ie[2*A]+ie[2*H],e.depth[k]=(e.depth[A]>=e.depth[H]?e.depth[A]:e.depth[H])+1,ie[2*A+1]=ie[2*H+1]=k,e.heap[1]=k++,Te(e,ie,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(Pe,ot){var Tt,Jt,zt,wt,Rt,Bn,Xt=ot.dyn_tree,sn=ot.max_code,wn=ot.stat_desc.static_tree,Pn=ot.stat_desc.has_stree,bn=ot.stat_desc.extra_bits,Hn=ot.stat_desc.extra_base,_n=ot.stat_desc.max_length,mn=0;for(wt=0;wt<=x;wt++)Pe.bl_count[wt]=0;for(Xt[2*Pe.heap[Pe.heap_max]+1]=0,Tt=Pe.heap_max+1;Tt>=7;k<_;k++)for(R[k]=ie<<7,u=0;u<1<>>=1)if(1&Me&&Fe.dyn_ltree[2*De]!==0)return w;if(Fe.dyn_ltree[18]!==0||Fe.dyn_ltree[20]!==0||Fe.dyn_ltree[26]!==0)return o;for(De=32;De>>3,(ie=e.static_len+3+7>>>3)<=k&&(k=ie)):k=ie=A+5,A+4<=k&&u!==-1?t(e,u,A,H):e.strategy===4||ie===k?(U(e,2+(H?1:0),3),He(e,ne,T)):(U(e,4+(H?1:0),3),function(Fe,De,Me,Pe){var ot;for(U(Fe,De-257,5),U(Fe,Me-1,5),U(Fe,Pe-4,4),ot=0;ot>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&u,e.pending_buf[e.l_buf+e.last_lit]=255&A,e.last_lit++,u===0?e.dyn_ltree[2*A]++:(e.matches++,u--,e.dyn_ltree[2*(p[A]+D+1)]++,e.dyn_dtree[2*m(u)]++),e.last_lit===e.lit_bufsize-1},h._tr_align=function(e){U(e,2,3),G(e,L,ne),function(u){u.bi_valid===16?(M(u,u.bi_buf),u.bi_buf=0,u.bi_valid=0):8<=u.bi_valid&&(u.pending_buf[u.pending++]=255&u.bi_buf,u.bi_buf>>=8,u.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(B,z,h){"use strict";z.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(B,z,h){(function(y){(function(w,o){"use strict";if(!w.setImmediate){var O,E,c,D,g=1,_={},b=!1,l=w.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(w);x=x&&x.setTimeout?x:w,O={}.toString.call(w.process)==="[object process]"?function(Z){W.nextTick(function(){P(Z)})}:function(){if(w.postMessage&&!w.importScripts){var Z=!0,I=w.onmessage;return w.onmessage=function(){Z=!1},w.postMessage("","*"),w.onmessage=I,Z}}()?(D="setImmediate$"+Math.random()+"$",w.addEventListener?w.addEventListener("message",L,!1):w.attachEvent("onmessage",L),function(Z){w.postMessage(D+Z,"*")}):w.MessageChannel?((c=new MessageChannel).port1.onmessage=function(Z){P(Z.data)},function(Z){c.port2.postMessage(Z)}):l&&"onreadystatechange"in l.createElement("script")?(E=l.documentElement,function(Z){var I=l.createElement("script");I.onreadystatechange=function(){P(Z),I.onreadystatechange=null,E.removeChild(I),I=null},E.appendChild(I)}):function(Z){setTimeout(P,0,Z)},x.setImmediate=function(Z){typeof Z!="function"&&(Z=new Function(""+Z));for(var I=new Array(arguments.length-1),$=0;$je in Oe?Ae(Oe,je,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Oe[je]=$e,ve=(Oe,je)=>{for(var $e in je||(je={}))Je.call(je,$e)&&Ze(Oe,$e,je[$e]);if(be)for(var $e of be(je))we.call(je,$e)&&Ze(Oe,$e,je[$e]);return Oe};const Ve=Oe=>React.createElement("svg",ve({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI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F0aCBkPSJtNzggMzkuOCA1LjcgNS43LjUtLjUgMS40LTEuNC01LjYtNS43LTEuNCAxLjQtLjYuNVptMTAuNS01LjdjLS41LjItMS4yLjctMS43IDEuNC0xLjIgMS4yLTEuOSAyLjQtMS43IDIuOS41LjUgMS43LS41IDIuOS0xLjcuNy0uNyAxLjItMS4yIDEuNC0xLjdsNi4yLTYuMiAxLjQgMS40YzEuNy0yLjYgMi4xLTQuNSAxLjQtNS0uNS0uNS0yLjYtLjItNSAxLjRsMS42IDEuNi02LjUgNS45WiIgZmlsbD0iI0ZGQzY1QiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiAzNi40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},39020:function(ze,Ct,oe){"use strict";var ee=oe(59301),Ae=Object.defineProperty,be=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ze=(Oe,je,$e)=>je in Oe?Ae(Oe,je,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Oe[je]=$e,ve=(Oe,je)=>{for(var $e in je||(je={}))Je.call(je,$e)&&Ze(Oe,$e,je[$e]);if(be)for(var $e of be(je))we.call(je,$e)&&Ze(Oe,$e,je[$e]);return Oe};const Ve=Oe=>React.createElement("svg",ve({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},74413:function(){"use strict";function ze(ae,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(ze.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ze.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ze.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ze.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof ze))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[ae];x||(x=[],go.Shape._FigureParameters[ae]=x),x[a]=E};var Ct=[];function oe(ae,a){var E=Ct.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function ee(){var ae=Ct.pop();return ae===void 0?new go.Point:ae}function Ae(ae){Ct.push(ae)}function be(ae,a,E,x,y,b,z,te,ne){ne||(ne=new go.Point);var re=ae-E,ge=y-z,le=NaN,ce=NaN;if(re===0)if(ge===0)ae===E&&(le=ae,ce=a);else{var se=(b-te)/ge,Ie=b-se*y;le=ae,ce=se*le+Ie}else if(ge===0){var Qe=(a-x)/re,Mt=a-Qe*ae;le=y,ce=Qe*le+Mt}else{var Qe=(a-x)/re,se=(b-te)/ge,Mt=a-Qe*ae,Ie=b-se*y;le=(Ie-Mt)/(Qe-se),ce=Qe*le+Mt}return ne.x=le,ne.y=ce,ne}function Je(ae,a,E,x,y,b,z,te,ne,re,ge,le,ce,se){var Ie=1-ne,Qe=ne,Mt=ae*Ie+E*Qe,vt=a*Ie+x*Qe,ht=E*Ie+y*Qe,ke=x*Ie+b*Qe,xt=y*Ie+z*Qe,Qt=b*Ie+te*Qe,gt=Mt*Ie+ht*Qe,Ce=vt*Ie+ke*Qe,Te=ht*Ie+xt*Qe,pe=ke*Ie+Qt*Qe,xe=gt*Ie+Te*Qe,qe=Ce*Ie+pe*Qe;re.x=Mt,re.y=vt,ge.x=gt,ge.y=Ce,le.x=xe,le.y=qe,ce.x=Te,ce.y=pe,se.x=xt,se.y=Qt}var we=new go.Spot(.156,.156),Ze=new go.Spot(.844,.844),ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ze("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ve,b=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-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(b.spot1=new go.Spot(0,0,y,y),b.spot2=new go.Spot(1,1,-y,-y)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var x=a/2,y=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 y.spot1=we,y.spot2=Ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,ve*a,0,a,(1-ve)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,ve*E,(1-ve)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,ve*E,ve*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-ve)*a,0,0,(1-ve)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ze("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),b.spot1=we,b.spot2=Ze,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ze("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ze("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var x=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var b=x%360;b<0&&(b+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var x=ve/Math.SQRT2*.5,y=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,b*E,a,(1-x)*E,(y+x)*a,(b+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ze("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var x=ae?ae.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var b=a/2,z=E/2,te=Math.atan2(E,a),ne=x-Math.min(Math.cos(te)*x/2,b),re=x-Math.min(Math.sin(te)*x/2,z),y=new go.Geometry,ge=new go.PathFigure(ne,0,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,.2*E)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,a,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,b,.8*E)),ge.add(new go.PathSegment(go.PathSegment.Line,ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ze("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ze("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ze("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,ve*a,0,a,(.5-ve/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+ve/2)*E,ve*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var b=.2,z=.3,te=0,ne=b*ve;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z+.05)*a,(.5-ne+te-.02)*E)),b=.2,z=0,te=-.3,ne=b*ve,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),b=.2,z=-.3,te=0,ne=b*ve,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var b=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+b)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,b*a,b*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+b)*a,te*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,b*a,b*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var x=.8535533905932737,y=.5*a,b=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,b,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-b)*E);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),b=.4,y=ve*.4;var re=ee(),ge=ee(),le=ee(),ce=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.42,re,ge,le,ce,ce);var se=ee(),Ie=ee(),Qe=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.58,ce,ce,Qe,se,Ie);var Mt=ee(),vt=ee(),ht=ee();Je(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.42,Mt,vt,ht,ce,ce);var ke=ee(),xt=ee(),Qt=ee();return Je(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.58,ce,ce,Qt,ke,xt),ne.add(new go.PathSegment(go.PathSegment.Move,Qt.x*a,Qt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,ke.x*a,ke.y*E,xt.x*a,xt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,le.x*a,le.y*E,re.x*a,re.y*E,ge.x*a,ge.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Qt.x*a,Qt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,ht.x*a,ht.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Qe.x*a,Qe.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,se.x*a,se.y*E,Ie.x*a,Ie.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*a,ht.y*E,Mt.x*a,Mt.y*E,vt.x*a,vt.y*E).close()),Ae(re),Ae(ge),Ae(le),Ae(ce),Ae(se),Ae(Ie),Ae(Qe),Ae(Mt),Ae(vt),Ae(ht),Ae(ke),Ae(xt),Ae(Qt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,b=y+x;return new go.Geometry().add(new go.PathFigure(b,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var x=new go.Geometry,y=ve*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),le=ee(),ce=new go.PathFigure((z-b)*a,te*E,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.44,ge,le,re,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,le.x*a,le.y*E));var se=oe(re.x,re.y);Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.56,ne,ne,re,ge,le);var Ie=oe(re.x,re.y);ce.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.95*.9)*a,se.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,se.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*a,(Ie.y*.1+.05*.9)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),b=.35,y=ve*.35;var Qe=new go.PathFigure(z*a,(te-b)*E,!1);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E));var Mt=new go.PathFigure((z-b)*a,te*E,!1);return x.add(Mt),Ae(ne),Ae(re),Ae(ge),Ae(le),Ae(se),Ae(Ie),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(ae,a,E){var x=new go.Geometry,y=.375,b=0,z=-.125,te=y*ve,ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E,(.5+te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,b=0,z=-.125,te=y*ve;var ne=new go.PathFigure((1-.5+y+b)*a,(.5+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E,(.5+te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E,(.5-te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);return x.add(ne),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(ae,a,E){var x=ae?ae.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*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var x=ae?ae.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*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ze("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ze("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var b=(1-x)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=be(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Ae(ge),ne}),go.Shape.setFigureParameter("Arrow2",0,new ze("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ze("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var b=a-x,z=(E-y)/2,te=z+y,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=be(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Ae(ge),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ze("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=be(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=be(.7,1,1,.5,0,b/E,1,b/E,ne),z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ze("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ze("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var le=be(0,.5,.3,te/E,0,b/E,1,b/E,ee());return re.spot1=new go.Spot(le.x,le.y),le=be(.7,ne/E,1,.5,0,z/E,1,z/E,le),re.spot2=new go.Spot(le.x,le.y),Ae(le),re}),go.Shape.setFigureParameter("IBeamArrow",0,new ze("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ze("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ze("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),re.spot1=new go.Spot(0,b/E);var le=be(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return re.spot2=new go.Spot(le.x,le.y),Ae(le),re}),go.Shape.setFigureParameter("Pointer",0,new ze("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var z=be(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Ae(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ze("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var z=be(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Ae(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ze("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ze("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,b=y+x;x>E&&(y=0,b=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ze("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(0,.9*E,!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*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var b=new go.PathFigure(0,.9*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var b=new go.PathFigure(0,.3*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(0,x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ve*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+b)*a,0,1*a,ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-ve*x,(.5+b)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,1*E,0,E-ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(a,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ve*x,(.5+b)*a,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-b)*a,2*x,0,2*x-ve*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(0,E-x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ve*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+b)*a,0,a,ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-ve*x,(.5+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,E,0,E-ve*x));var te=new go.PathFigure(0,E-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-ve*x,(.5-b)*a,E-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+b)*a,E-2*x,a,E-x-ve*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ve*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-ve*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ve*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,ve*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+ve*x,0,2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+b)*E,x+ve*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(a-x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ve*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-ve*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ve*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,ve*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var te=new go.PathFigure(a-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-ve*x,0,a-2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+b)*E,a-x-ve*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.25*a,.25*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var x=new go.Geometry,y=.2,b=.1,z=ve*y,te=ve*b,ne=.5,re=.1,ge=new go.PathFigure(ne*a,(re+b)*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,re*E,(ne-z)*a,(re+b)*E,(ne-y)*a,(re+te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-b)*E,(ne-y)*a,(re-te)*E,(ne-z)*a,(re-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,re*E,(ne+z)*a,(re-b)*E,(ne+y)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+b)*E,(ne+y)*a,(re+te)*E,(ne+z)*a,(re+b)*E));var le=.05,ce=ve*le;ne=.05,re=.25;var se=new go.PathFigure(.5*a,.2*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+le)*a,re*E,(ne+ce)*a,(re-le)*E,(ne+le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),le=.025,ce=ve*le,ne=.825,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),le=.05,ce=ve*le,ne=.5,re=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),le=.025,ce=ve*le,ne=.175,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),le=.05,ce=ve*le,ne=.05,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne-le)*a,(re-ce)*E,(ne-ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ze("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var b=new go.PathFigure(.5*a,.5*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+b)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+b)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var b=ve*.2,z=new go.PathFigure(0,.2*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-b)*E,(.2-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+b)*a,0,a,(.2-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+b)*E,(.8+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-b)*a,E,0,(.8+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(.1*a,.4*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.75*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var b=new go.PathFigure(a,.5*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!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(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.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,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var x=new go.Geometry,y=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,z=ve*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var re=new go.PathFigure((b+y)*a,(b+y)*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,(b+y)*E)),re.add(new go.PathSegment(go.PathSegment.Line,(b+y)*a,b*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var b=new go.PathFigure(.1*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(.5*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*a,.9*E,a,(b+y)*E,(b+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var b=new go.PathFigure(.1*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var b=new go.PathFigure(.2*a,.1*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=1-y,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,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.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-b)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(0,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(y*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var x=new go.Geometry,y=ve*.5,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.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,b*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var x=new go.Geometry,y=ve*.1,b=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var re=new go.PathFigure((z+b)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.4,z=ve*.1,te=.1,ne=.9,re=.5,ge=new go.PathFigure(.8*a,.5*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+b)*E,(.4+y)*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-b)*E));var le=new go.PathFigure((ne+te)*a,re*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+te)*E,(ne+te)*a,(re+z)*E,(ne+z)*a,(re+te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,re*E,(ne-z)*a,(re+te)*E,(ne-te)*a,(re+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-te)*E,(ne-te)*a,(re-z)*E,(ne-z)*a,(re-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,re*E,(ne+z)*a,(re-te)*E,(ne+te)*a,(re-z)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=ve*.1,z=.9,te=.5;var re=new go.PathFigure((z-y)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b+b)*a,(te-y)*E,.8*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+b)*E,(z+b+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.8*a,.5*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=ve*.1,z=.9,te=.5;var ge=new go.PathFigure((z-y)*a,te*E,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.2*a,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b)*a,(te-y)*E,.9*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var x=new go.Geometry,y=ve*.1,b=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+b)*a,0,(z+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure((z-b)*a,te*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-b+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b-.1)*a,te*E,z*a,(te-b)*E,z*a,(te+b)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var x=new go.Geometry,y=a,b=E;a=a*.38,E=E*.6;var z=ve*.8,te=.8,ne=0,re=.5,ge=(y-a)/2,le=(b-E)/2,ce=new go.PathFigure(ne*a+ge,(re+te)*E+le,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+le,ne*a+ge,(re-te)*E+le,(ne-te+z*.5)*a+ge,(re-z)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne-te+z*.5)*a+ge,(re+z)*E+le,ne*a+ge,(re+te)*E+le).close()),z=ve*.4,te=.4,ne=.2,re=.5;var se=new go.PathFigure(ne*a+ge,(re+te)*E+le,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+le,ne*a+ge,(re-te)*E+le,(ne-te+z*.5)*a+ge,(re-z)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne-te+z*.5)*a+ge,(re+z)*E+le,ne*a+ge,(re+te)*E+le).close()),z=ve*.2,te=.2,ne=.5,re=.5;var Ie=new go.PathFigure((ne-te)*a+ge,re*E+le,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),z=ve*.4,te=.4,ne=.8,re=.5;var Qe=new go.PathFigure(ne*a+ge,(re-te)*E+le,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+le,ne*a+ge,(re+te)*E+le,(ne+te-z*.5)*a+ge,(re+z)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne+te-z*.5)*a+ge,(re-z)*E+le,ne*a+ge,(re-te)*E+le).close()),z=ve*.8,te=.8,ne=1,re=.5;var Mt=new go.PathFigure(ne*a+ge,(re-te)*E+le,!0);return x.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+le,ne*a+ge,(re+te)*E+le,(ne+te-z*.5)*a+ge,(re+z)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne+te-z*.5)*a+ge,(re-z)*E+le,ne*a+ge,(re-te)*E+le).close()),x}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var b=new go.PathFigure(.1*a,E,!0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var x=new go.Geometry,y=ve*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),le=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,le);var ce=oe(re.x,re.y),se=new go.PathFigure(re.x*a,re.y*E,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),Je(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,le,re,ne,ne),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),y=ve*.3,b=.3,Je(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,le,re,ne,ne),se.add(new go.PathSegment(go.PathSegment.Line,re.x*a,re.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,le.x*a,le.y*E,ge.x*a,ge.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,le),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,le.x*a,le.y*E,ge.x*a,ge.y*E).close());var se=new go.PathFigure(.45*a,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ae(ne),Ae(re),Ae(ge),Ae(le),Ae(ce),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function b(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return b(y,0,0),b(y,.4,0),b(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var x=new go.Geometry,y=.5,b=0,z=0,te=y*ve,ne=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,ge=1,le=.5,ce=.5,se=0,Ie=new go.PathFigure(ne*a,(1-re)*E,!1);return x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,le*E,ge*a,.7*E,ge*a,le*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,(se+b)*E,(.5+y+b)*a,(.5-te+b)*E,(.5+te+b)*a,(.5-y+b)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*a,.9*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,.9*E)),Ie.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*a,.8*E)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*a,.9*E)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var b=new go.PathFigure(.45*a,.73*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),b.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),b.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),b.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,re=Math.PI/4,ge=4*(1-Math.cos(re))/(3*Math.sin(re)),le=ge*.5,ce=z,se=z,Ie=ge*ce,Qe=ge*se;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-ce)*a,ne*E,(te-(Ie+ce)/2)*a,(ne+(se+Qe)/2)*E,(te-ce)*a,(ne+Qe)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-se)*E,(te-ce)*a,(ne-Qe)*E,(te-Ie)*a,(ne-se)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+ce)*a,ne*E,(te+Ie)*a,(ne-se)*E,(te+ce)*a,(ne-Qe)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+ce)*a,(ne+Qe)*E,(te+(Ie+ce)/2)*a,(ne+(se+Qe)/2)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Mt=new go.PathFigure(.2*a,E,!1);x.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var vt=new go.PathFigure(.8*a,E,!1);return x.add(vt),vt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var b=new go.PathFigure(.2*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(.1*a,E,!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,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var b=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,b*a,b*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var b=new go.PathFigure(.475*a,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),b.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=new go.PathFigure(a,y*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+b)*E,(y+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-b)*a,E,0,(y+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-b)*E,(y-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+b)*a,0,a,(y-b)*E));var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,.15*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var b=new go.PathFigure(0,.2*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var b=new go.PathFigure(.15*a,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(a,.8*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=ve*.1,ne=.2,re=.9,ge=new go.PathFigure((ne-z)*a,re*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),z=.1,te=ve*.1,ne=.8,re=.9;var le=new go.PathFigure((ne-z)*a,re*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,re=ve*.1,ge=.1,le=.9,ce=new go.PathFigure((ge-ne)*a,le*E,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le-ne)*E,(ge-ne)*a,(le-re)*E,(ge-re)*a,(le-ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,le*E,(ge+re)*a,(le-ne)*E,(ge+ne)*a,(le-re)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le+ne)*E,(ge+ne)*a,(le+re)*E,(ge+re)*a,(le+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,le*E,(ge-re)*a,(le+ne)*E,(ge-ne)*a,(le+re)*E)),ne=.1,re=ve*.1,ge=.4,le=.9;var se=new go.PathFigure((ge-ne)*a,le*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le-ne)*E,(ge-ne)*a,(le-re)*E,(ge-re)*a,(le-ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,le*E,(ge+re)*a,(le-ne)*E,(ge+ne)*a,(le-re)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le+ne)*E,(ge+ne)*a,(le+re)*E,(ge+re)*a,(le+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,le*E,(ge-re)*a,(le+ne)*E,(ge-ne)*a,(le+re)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var b=new go.PathFigure(.45*a,.7*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ge=.05,le=ve*.05,ce=.175,se=.95,te=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.375,se=.95,ne=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.625,se=.95,re=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.825,se=.95,Ie=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E).close());var Qe=new go.PathFigure(0,E,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=ve*.05,re=.35,ge=.775,le=new go.PathFigure((re-te)*a,ge*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge-te)*E,(re-te)*a,(ge-ne)*E,(re-ne)*a,(ge-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ge*E,(re+ne)*a,(ge-te)*E,(re+te)*a,(ge-ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge+te)*E,(re+te)*a,(ge+ne)*E,(re+ne)*a,(ge+te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ge*E,(re-ne)*a,(ge+te)*E,(re-te)*a,(ge+ne)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var x=new go.Geometry,y=.3,b=ve*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(0,.7*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var b=new go.PathFigure(0,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(.15*a,.5*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),y=.05,b=ve*.05,z=.5,te=.8;var re=new go.PathFigure((z-y)*a,te*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var b=new go.PathFigure(0,E*.6,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var b=new go.PathFigure(.126*a,.85*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var b=new go.PathFigure(a*.204,E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var b=new go.PathFigure(a*.055,.07*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var x=new go.Geometry,y=8,b=y*ve,z=new go.PathFigure(y,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,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,b,b,0).close());var te=new go.PathFigure(a*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var re=new go.PathFigure(a*.78,E*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ve,b=E*.8,z=new go.Geometry,te=new go.PathFigure(x,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,b-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,b,a,b-y,a-y,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-x,y,b,0,b-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var b=new go.PathFigure(a*1,E*.55,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var b=new go.PathFigure(a*.1,E*.2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var x=new go.Geometry,y=15,b=y*ve,z=new go.PathFigure(a*.62,E*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),b>1?(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.4,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.5,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var b=new go.PathFigure(a*.235,E*.28,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),b.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),b.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ze={},Ct="5.0",oe={},ee=null,Ae=!1,be=!1,Je=null,we=!1,Ze=null,ve=null,Ve=0;Ve4?parseFloat(fe):5};ze.setHTML5Codebase=function(fe,Be){ve=fe,pe(fe,Be)},ze.setJavaCodebase=ze.setJavaCodebaseVersion=ze.isCompiledInstalled=ze.setPreCompiledScriptPath=ze.setPreCompiledResourcePath=function(){},ze.setHTML5CodebaseVersion=function(fe,Be){var et=parseFloat(fe);if(et!==NaN&&et<5){console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead.");return}Ze=fe,Te(fe,Be)},ze.getHTML5CodebaseVersion=function(){return ae},ze.getParameters=function(){return oe},ze.setFontsCSSURL=function(fe){z=fe},ze.setGiacJSURL=function(fe){},ze.setJNLPFile=function(fe){je=fe},ze.setJNLPBaseDir=function(fe){},ze.inject=function(){function fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Be="auto",et=oe.id,dt,Xe=!1,ut=0;ut=5)return!0;var fe=ze.getAppletObject();return fe&&typeof fe.recalculateEnvironments=="function"?(fe.recalculateEnvironments(),!0):!1},ze.startAnimation=function(){var fe=ze.getAppletObject();return fe&&typeof fe.startAnimation=="function"?(fe.startAnimation(),!0):!1},ze.stopAnimation=function(){var fe=ze.getAppletObject();return fe&&typeof fe.stopAnimation=="function"?(fe.stopAnimation(),!0):!1},ze.getAppletObject=function(){var fe=oe.id!==void 0?oe.id:"ggbApplet";return window[fe]},ze.resize=function(){};var Ie=function(fe,Be,et){var dt=document.createElement("param");dt.setAttribute("name",Be),dt.setAttribute("value",et),fe.appendChild(dt)},Qe=function(fe){return fe&&fe!=="false"},Mt=function(fe,Be,et){ne(ae)<=4.2&&(et=!0);var dt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(dt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xe=document.createElement("div");Xe.classList.add("appletParameters","notranslate");var ut=Be.width,de=Be.height;if(Be.disableAutoScale=Be.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Be.disableAutoScale,Be.width!==void 0)if(ne(ae)<=4.4)Qe(Be.showToolBar)&&(Be.height-=7),Qe(Be.showAlgebraInput)&&(Be.height-=37),Be.width<605&&Qe(Be.showToolBar)&&(Be.width=605,ut=605);else{var mt=100;(Qe(Be.showToolBar)||Qe(Be.showMenuBar))&&(Be.hasOwnProperty("customToolBar")&&(Be.customToolbar=Be.customToolBar),mt=Qe(Be.showMenuBar)?245:155),ut=5?(Be.appletOnLoad=function(Re){var Ke=fe.querySelector(".ggb_preview");Ke&&Ke.parentNode.removeChild(Ke),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Tt),window.GGBT_wsf_view&&$(window).trigger("resize"),Dt(Re)},an||Tt.appendChild(rn)):Xe.appendChild(rn),Tt.appendChild(Xe),an||fe.appendChild(Tt),setTimeout(function(){ze.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Xe),fe.appendChild(Ye),Be.appletOnLoad=function(Re){ze.resize(),Dt(Re)}}function _e(Re,Ke){Ke&&typeof Ke.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Re,Ke.appletOnLoad):renderGGBElement(Re),xe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ke)}function tt(Re,Ke){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Re,params:Ke}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Nt){_e(Nt.article,Nt.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Re.className+=" geogebraweb")):_e(Re,Ke)}if(dt){scriptLoadStarted=!0;for(var ye=0;ye0?(Ft.remove(),Tt.attr("id","fullscreencontent").show(),jQuery(Dt).append(Tt),window.dispatchEvent(new Event("resize"))):Mt(Ft,Be,!1),window.GGBT_wsf_view.launchFullScreen(Dt)}else it=dt,Mt(fe,Be,!1);if(!window.GGBT_wsf_view)for(de=0;defe/4*3&&(Ft=fe/4*3),Dt=Ft/5.8,mt.setAttribute("src",y),mt.setAttribute("width",Ft),mt.setAttribute("height",Dt);var Tt=(fe-Ft)/2,an=(Be-Dt)/2;mt.style.left=Tt+"px",mt.style.top=an+"px",Xe.appendChild(mt)}}return Xe.appendChild(de),Xe},gt=function(fe){return fe=fe.toLowerCase(),fe==="html5"||fe==="screenshot"?fe:"html5"},Ce=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(fe,Be){if(ae=fe,Be){pe(ae,!0);return}var et=!Ae;if(et){var dt=ne(ae);!isNaN(dt)&&dt<4.4&&(et=!1)}var Xe,ut;window.location.protocol.substr(0,4)==="http"?Xe=window.location.protocol:Xe="http:";var de=ae.indexOf("//");de>0?ut=ae:de===0?ut=Xe+ae:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var mt in Ce)if(ae.slice(Ce[mt].length*-1)===Ce[mt]||ae.slice((Ce[mt].length+1)*-1)===Ce[mt]+"/"){pe(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&et&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Qe(oe.showToolBar)&&!Qe(oe.showMenuBar)&&!Qe(oe.showAlgebraInput)&&!Qe(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?ut+="webSimple/":ut+="web3d/",pe(ut,!1)},pe=function(fe,Be){if(fe.requirejs){$e=fe;return}fe.slice(-1)!=="/"&&(fe+="/"),$e=fe,Be===null&&(Be=fe.indexOf("http")===-1),Ge=Be,a="web.nocache.js",E=!1;var et=$e.split("/");et.length>1&&(!Be&&et[et.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):Ce.indexOf(et[et.length-2])>=0&&(a=et[et.length-2]+".nocache.js")),et=fe.split("/"),ae=et[et.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var dt=parseFloat(ae);dt!==NaN&&dt<5&&fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+dt+" is deprecated. Using version latest instead."),Te("5.0",Be))},xe=function(fe,Be){window.console&&window.console.log&&(!Be||typeof Be.showLogging=="undefined"||Be.showLogging&&Be.showLogging!=="false")&&console.log(fe)};oe.material_id!==void 0?le(qe):qe();function qe(){var fe=Ct;Ze!==null?fe=Ze:parseFloat(fe)<5&&(fe="5.0"),Te(fe,!1),ve!==null&&pe(ve,Ge),we=!0}return ze},GGBAppletUtils=function(){"use strict";function ze(){return window.GGBT_wsf_edit!==void 0}function Ct(we,Ze){Ze!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Ze+","+Ze+")",we.style.webkitTransform="scale("+Ze+","+Ze+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function oe(we,Ze,ve,Ve,Oe,je){var $e=null;if(je!=null&&je!="")for(var Ge=we.parentNode;Ge!=null;)if((" "+Ge.className+" ").indexOf(" "+je+" ")>-1){$e=Ge;break}else Ge=Ge.parentNode;var it=0,ae=0,a=0,E=0,x=0,y=0,b=0;if($e)it=$e.offsetWidth,ae=Math.max(Ve?$e.offsetWidth:0,$e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(it=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=it):(it=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),we){var z=we.getBoundingClientRect();z.left>0&&z.left<=it&&(Oe===void 0||!Oe)&&(document.dir==="rtl"?(x=it-z.width-z.left,y=a<=480?10:30):(y=z.left,x=a<=480?10:30),E=y+x)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,b=40)}}return we&&((ve===void 0||!ve)&&Ze>0&&Ze+E1&&(je=!0)),Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(je=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Oe=ee(we,Ze,je,ve,we.scaleContainerClass);else return Ve;return je&&(!we.hasOwnProperty("scale")||Ve===1)?Oe:Math.min(Ve,Oe)}function be(we){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ve=we.getBoundingClientRect(),Oe=(Ze-Ve.width)/2,je=(ve-Ve.height)/2;je<0&&(je=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Oe<40?we.style.left="40px":we.style.left=Oe+"px",we.style.top=je+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je<40?we.style.top="40px":we.style.top=je+"px",we.style.left=Oe+"px")}function Je(we,Ze){var ve=we.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ve=Ae(Ze,we);ze()&&ve.setAttribute("data-param-scale",Ve);for(var Oe=null,je=0;je=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(ze){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ze){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ze){var Ct=c[ze];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function ze(we){var Ze=we.lastIndexOf(rb);Ze==-1&&(Ze=we.length);var ve=we.indexOf(sb);ve==-1&&(ve=we.length);var Ve=we.lastIndexOf(tb,Math.min(ve,Ze));return Ve>=O?we.substring(O,Ve+P):W}function Ct(we){if(!we.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=we+vb,we=ze(Ze.src)}return we}function oe(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function ee(){for(var we=o.getElementsByTagName(_),Ze=O;ZeO?we[we.length-P].href:W}function be(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var Je=oe();return Je==W&&(Je=ee()),Je==W&&(Je=Ae()),Je==W&&be()&&(Je=ze(o.location.href)),Je=Ct(Je),Je}function C(ze){return ze.match(/^\//)||ze.match(/^[a-zA-Z]+:\/\//)?ze:webModule.__moduleBase+ze}function D(){var ze=[],Ct=O,oe=[],ee=[];function Ae(we){var Ze=ee[we](),ve=oe[we];if(Ze in ve)return Ze;var Ve=[];for(var Oe in ve)Ve[ve[Oe]]=Oe;throw r&&r(we,Ve,Ze),null}if(__gwt_isKnownPropertyValue=function(we,Ze){return Ze in oe[we]},webModule.__getPropMap=function(){var we={};for(var Ze in oe)oe.hasOwnProperty(Ze)&&(we[Ze]=Ae(Ze));return we},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var be;try{be=Cb;var Je=be.indexOf(Db);Je!=-1&&(Ct=parseInt(be.substring(Je+P),$),be=be.substring(O,Je))}catch(we){}return webModule.__softPermutationId=Ct,C(be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ze,Ct,oe){"use strict";oe.d(Ct,{Ax:function(){return Je},Ds:function(){return we},KI:function(){return ve},SI:function(){return be},f1:function(){return Ae}});var ee=oe(3294);function Ae(Ve){let Oe=!0;if(Ve.length>0){for(let je=0;jeMe in Fe?ce(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,vt=(Fe,Me)=>{for(var De in Me||(Me={}))Ie.call(Me,De)&&Mt(Fe,De,Me[De]);if(se)for(var De of se(Me))Qe.call(Me,De)&&Mt(Fe,De,Me[De]);return Fe},ht=(Fe,Me)=>{var De={};for(var yt in Fe)Ie.call(Fe,yt)&&Me.indexOf(yt)<0&&(De[yt]=Fe[yt]);if(Fe!=null&&se)for(var yt of se(Fe))Me.indexOf(yt)<0&&Qe.call(Fe,yt)&&(De[yt]=Fe[yt]);return De},xt=({onFinish:Fe,value:Me,streamingStatus:De,cancelIndex:yt,loadImage:pt})=>{const[ft,Wt]=(0,ee.useState)(""),[We,Pt]=(0,ee.useState)(0),[Ht,cn]=(0,ee.useState)(!1),At=nn=>nn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),st=()=>{cn(!0),Fe==null||Fe()};return(0,ee.useEffect)(()=>{const nn=pt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[2338],{61481:function(ze,Ct,oe){"use strict";oe.d(Ct,{Z:function(){return Ve}});var ee=oe(92413),Ae=oe(59301),be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Je=be,we=oe(7657),Ze=function(je,$e){return Ae.createElement(we.Z,(0,ee.Z)({},je,{ref:$e,icon:Je}))},ve=Ae.forwardRef(Ze),Ve=ve},88010:function(ze,Ct){"use strict";Ct.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43809:function(ze,Ct){"use strict";Ct.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},96460:function(ze,Ct,oe){"use strict";var ee=oe(59301),Ae=Object.defineProperty,be=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ze=(Oe,je,$e)=>je in Oe?Ae(Oe,je,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Oe[je]=$e,ve=(Oe,je)=>{for(var $e in je||(je={}))Je.call(je,$e)&&Ze(Oe,$e,je[$e]);if(be)for(var $e of be(je))we.call(je,$e)&&Ze(Oe,$e,je[$e]);return Oe};const Ve=Oe=>React.createElement("svg",ve({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2gyOHoiIGZpbGw9IiNGMEEyMjEiLz48cGF0aCBkPSJNNjUgMzJINTB2NC42aDE1ek02NSA0NS42SDUwdjQuNmgx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C0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},39020:function(ze,Ct,oe){"use strict";var ee=oe(59301),Ae=Object.defineProperty,be=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ze=(Oe,je,$e)=>je in Oe?Ae(Oe,je,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Oe[je]=$e,ve=(Oe,je)=>{for(var $e in je||(je={}))Je.call(je,$e)&&Ze(Oe,$e,je[$e]);if(be)for(var $e of be(je))we.call(je,$e)&&Ze(Oe,$e,je[$e]);return Oe};const Ve=Oe=>React.createElement("svg",ve({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},74413:function(){"use strict";function ze(ae,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(ze.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ze.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ze.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ze.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof ze))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[ae];x||(x=[],go.Shape._FigureParameters[ae]=x),x[a]=E};var Ct=[];function oe(ae,a){var E=Ct.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function ee(){var ae=Ct.pop();return ae===void 0?new go.Point:ae}function Ae(ae){Ct.push(ae)}function be(ae,a,E,x,y,b,z,te,ne){ne||(ne=new go.Point);var re=ae-E,ge=y-z,le=NaN,ce=NaN;if(re===0)if(ge===0)ae===E&&(le=ae,ce=a);else{var se=(b-te)/ge,Ie=b-se*y;le=ae,ce=se*le+Ie}else if(ge===0){var Qe=(a-x)/re,Mt=a-Qe*ae;le=y,ce=Qe*le+Mt}else{var Qe=(a-x)/re,se=(b-te)/ge,Mt=a-Qe*ae,Ie=b-se*y;le=(Ie-Mt)/(Qe-se),ce=Qe*le+Mt}return ne.x=le,ne.y=ce,ne}function Je(ae,a,E,x,y,b,z,te,ne,re,ge,le,ce,se){var Ie=1-ne,Qe=ne,Mt=ae*Ie+E*Qe,vt=a*Ie+x*Qe,ht=E*Ie+y*Qe,ke=x*Ie+b*Qe,xt=y*Ie+z*Qe,Qt=b*Ie+te*Qe,gt=Mt*Ie+ht*Qe,Ce=vt*Ie+ke*Qe,Te=ht*Ie+xt*Qe,pe=ke*Ie+Qt*Qe,xe=gt*Ie+Te*Qe,qe=Ce*Ie+pe*Qe;re.x=Mt,re.y=vt,ge.x=gt,ge.y=Ce,le.x=xe,le.y=qe,ce.x=Te,ce.y=pe,se.x=xt,se.y=Qt}var we=new go.Spot(.156,.156),Ze=new go.Spot(.844,.844),ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ze("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ve,b=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-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(b.spot1=new go.Spot(0,0,y,y),b.spot2=new go.Spot(1,1,-y,-y)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var x=a/2,y=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 y.spot1=we,y.spot2=Ze,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,ve*a,0,a,(1-ve)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,ve*E,(1-ve)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,ve*E,ve*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-ve)*a,0,0,(1-ve)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ze("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),b.spot1=we,b.spot2=Ze,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ze("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ze("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var x=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var b=x%360;b<0&&(b+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var x=ve/Math.SQRT2*.5,y=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,b*E,a,(1-x)*E,(y+x)*a,(b+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ze("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var x=ae?ae.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var b=a/2,z=E/2,te=Math.atan2(E,a),ne=x-Math.min(Math.cos(te)*x/2,b),re=x-Math.min(Math.sin(te)*x/2,z),y=new go.Geometry,ge=new go.PathFigure(ne,0,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,.2*E)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,a,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,b,.8*E)),ge.add(new go.PathSegment(go.PathSegment.Line,ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ze("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ze("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ze("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,ve*a,0,a,(.5-ve/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+ve/2)*E,ve*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var b=.2,z=.3,te=0,ne=b*ve;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z+.05)*a,(.5-ne+te-.02)*E)),b=.2,z=0,te=-.3,ne=b*ve,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),b=.2,z=-.3,te=0,ne=b*ve,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var b=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+b)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,b*a,b*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+b)*a,te*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,b*a,b*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var x=.8535533905932737,y=.5*a,b=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,b,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-b)*E);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),b=.4,y=ve*.4;var re=ee(),ge=ee(),le=ee(),ce=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.42,re,ge,le,ce,ce);var se=ee(),Ie=ee(),Qe=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.58,ce,ce,Qe,se,Ie);var Mt=ee(),vt=ee(),ht=ee();Je(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.42,Mt,vt,ht,ce,ce);var ke=ee(),xt=ee(),Qt=ee();return Je(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.58,ce,ce,Qt,ke,xt),ne.add(new go.PathSegment(go.PathSegment.Move,Qt.x*a,Qt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,ke.x*a,ke.y*E,xt.x*a,xt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,le.x*a,le.y*E,re.x*a,re.y*E,ge.x*a,ge.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Qt.x*a,Qt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,ht.x*a,ht.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,Qe.x*a,Qe.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,se.x*a,se.y*E,Ie.x*a,Ie.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*a,ht.y*E,Mt.x*a,Mt.y*E,vt.x*a,vt.y*E).close()),Ae(re),Ae(ge),Ae(le),Ae(ce),Ae(se),Ae(Ie),Ae(Qe),Ae(Mt),Ae(vt),Ae(ht),Ae(ke),Ae(xt),Ae(Qt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ze("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,b=y+x;return new go.Geometry().add(new go.PathFigure(b,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var x=new go.Geometry,y=ve*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),le=ee(),ce=new go.PathFigure((z-b)*a,te*E,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.44,ge,le,re,ne,ne),ce.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,le.x*a,le.y*E));var se=oe(re.x,re.y);Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.56,ne,ne,re,ge,le);var Ie=oe(re.x,re.y);ce.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.95*.9)*a,se.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,se.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*a,(Ie.y*.1+.05*.9)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),b=.35,y=ve*.35;var Qe=new go.PathFigure(z*a,(te-b)*E,!1);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E));var Mt=new go.PathFigure((z-b)*a,te*E,!1);return x.add(Mt),Ae(ne),Ae(re),Ae(ge),Ae(le),Ae(se),Ae(Ie),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(ae,a,E){var x=new go.Geometry,y=.375,b=0,z=-.125,te=y*ve,ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E,(.5+te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,b=0,z=-.125,te=y*ve;var ne=new go.PathFigure((1-.5+y+b)*a,(.5+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E,(.5+te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E,(.5-te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);return x.add(ne),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(ae,a,E){var x=ae?ae.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*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var x=ae?ae.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*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ze("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ze("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var b=(1-x)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=be(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Ae(ge),ne}),go.Shape.setFigureParameter("Arrow2",0,new ze("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ze("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var b=a-x,z=(E-y)/2,te=z+y,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=be(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Ae(ge),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ze("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=be(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=be(.7,1,1,.5,0,b/E,1,b/E,ne),z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ze("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ze("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var le=be(0,.5,.3,te/E,0,b/E,1,b/E,ee());return re.spot1=new go.Spot(le.x,le.y),le=be(.7,ne/E,1,.5,0,z/E,1,z/E,le),re.spot2=new go.Spot(le.x,le.y),Ae(le),re}),go.Shape.setFigureParameter("IBeamArrow",0,new ze("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ze("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ze("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),re.spot1=new go.Spot(0,b/E);var le=be(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return re.spot2=new go.Spot(le.x,le.y),Ae(le),re}),go.Shape.setFigureParameter("Pointer",0,new ze("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var z=be(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Ae(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ze("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var z=be(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Ae(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ze("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ze("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,b=y+x;x>E&&(y=0,b=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=be(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Ae(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ze("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(0,.9*E,!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*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var b=new go.PathFigure(0,.9*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var b=new go.PathFigure(0,.3*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(0,x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ve*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+b)*a,0,1*a,ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-ve*x,(.5+b)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,1*E,0,E-ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(a,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ve*x,(.5+b)*a,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-b)*a,2*x,0,2*x-ve*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(0,E-x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ve*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+b)*a,0,a,ve*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-ve*x,(.5+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,E,0,E-ve*x));var te=new go.PathFigure(0,E-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-ve*x,(.5-b)*a,E-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+b)*a,E-2*x,a,E-x-ve*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ve*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-ve*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ve*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,ve*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+ve*x,0,2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+b)*E,x+ve*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=ve*.5,z=new go.PathFigure(a-x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ve*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-ve*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ve*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,ve*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var te=new go.PathFigure(a-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-ve*x,0,a-2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+b)*E,a-x-ve*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.25*a,.25*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var x=new go.Geometry,y=.2,b=.1,z=ve*y,te=ve*b,ne=.5,re=.1,ge=new go.PathFigure(ne*a,(re+b)*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,re*E,(ne-z)*a,(re+b)*E,(ne-y)*a,(re+te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-b)*E,(ne-y)*a,(re-te)*E,(ne-z)*a,(re-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,re*E,(ne+z)*a,(re-b)*E,(ne+y)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+b)*E,(ne+y)*a,(re+te)*E,(ne+z)*a,(re+b)*E));var le=.05,ce=ve*le;ne=.05,re=.25;var se=new go.PathFigure(.5*a,.2*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+le)*a,re*E,(ne+ce)*a,(re-le)*E,(ne+le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),le=.025,ce=ve*le,ne=.825,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),le=.05,ce=ve*le,ne=.5,re=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),le=.025,ce=ve*le,ne=.175,re=.35,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne+le)*a,(re-ce)*E,(ne+ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-le)*a,re*E,(ne-ce)*a,(re-le)*E,(ne-le)*a,(re-ce)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),le=.05,ce=ve*le,ne=.05,re=.25,se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-le)*E,(ne-le)*a,(re-ce)*E,(ne-ce)*a,(re-le)*E)),se.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ze("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var b=new go.PathFigure(.5*a,.5*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+b)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+b)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var b=ve*.2,z=new go.PathFigure(0,.2*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-b)*E,(.2-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+b)*a,0,a,(.2-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+b)*E,(.8+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-b)*a,E,0,(.8+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(.1*a,.4*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.75*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var b=new go.PathFigure(a,.5*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!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(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.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,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var x=new go.Geometry,y=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,z=ve*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var re=new go.PathFigure((b+y)*a,(b+y)*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,(b+y)*E)),re.add(new go.PathSegment(go.PathSegment.Line,(b+y)*a,b*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var b=new go.PathFigure(.1*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(.5*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*a,.9*E,a,(b+y)*E,(b+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var b=new go.PathFigure(.1*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var b=new go.PathFigure(.2*a,.1*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=1-y,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,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.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-b)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var 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,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(0,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(y*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var x=new go.Geometry,y=ve*.5,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.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,b*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var x=new go.Geometry,y=ve*.1,b=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var re=new go.PathFigure((z+b)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=ve*.4,z=ve*.1,te=.1,ne=.9,re=.5,ge=new go.PathFigure(.8*a,.5*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+b)*E,(.4+y)*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-b)*E));var le=new go.PathFigure((ne+te)*a,re*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+te)*E,(ne+te)*a,(re+z)*E,(ne+z)*a,(re+te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,re*E,(ne-z)*a,(re+te)*E,(ne-te)*a,(re+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-te)*E,(ne-te)*a,(re-z)*E,(ne-z)*a,(re-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,re*E,(ne+z)*a,(re-te)*E,(ne+te)*a,(re-z)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=ve*.1,z=.9,te=.5;var re=new go.PathFigure((z-y)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b+b)*a,(te-y)*E,.8*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+b)*E,(z+b+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.8*a,.5*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=ve*.1,z=.9,te=.5;var ge=new go.PathFigure((z-y)*a,te*E,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.2*a,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b)*a,(te-y)*E,.9*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var x=new go.Geometry,y=ve*.1,b=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+b)*a,0,(z+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var x=new go.Geometry,y=ve*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure((z-b)*a,te*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-b+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b-.1)*a,te*E,z*a,(te-b)*E,z*a,(te+b)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var x=new go.Geometry,y=a,b=E;a=a*.38,E=E*.6;var z=ve*.8,te=.8,ne=0,re=.5,ge=(y-a)/2,le=(b-E)/2,ce=new go.PathFigure(ne*a+ge,(re+te)*E+le,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+le,ne*a+ge,(re-te)*E+le,(ne-te+z*.5)*a+ge,(re-z)*E+le)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne-te+z*.5)*a+ge,(re+z)*E+le,ne*a+ge,(re+te)*E+le).close()),z=ve*.4,te=.4,ne=.2,re=.5;var se=new go.PathFigure(ne*a+ge,(re+te)*E+le,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+le,ne*a+ge,(re-te)*E+le,(ne-te+z*.5)*a+ge,(re-z)*E+le)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne-te+z*.5)*a+ge,(re+z)*E+le,ne*a+ge,(re+te)*E+le).close()),z=ve*.2,te=.2,ne=.5,re=.5;var Ie=new go.PathFigure((ne-te)*a+ge,re*E+le,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne-te)*a+ge,(re-z)*E+le,(ne-z)*a+ge,(re-te)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+le,(ne-z)*a+ge,(re+te)*E+le,(ne-te)*a+ge,(re+z)*E+le)),z=ve*.4,te=.4,ne=.8,re=.5;var Qe=new go.PathFigure(ne*a+ge,(re-te)*E+le,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+le,ne*a+ge,(re+te)*E+le,(ne+te-z*.5)*a+ge,(re+z)*E+le)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne+te-z*.5)*a+ge,(re-z)*E+le,ne*a+ge,(re-te)*E+le).close()),z=ve*.8,te=.8,ne=1,re=.5;var Mt=new go.PathFigure(ne*a+ge,(re-te)*E+le,!0);return x.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+le,(ne+z)*a+ge,(re-te)*E+le,(ne+te)*a+ge,(re-z)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+le,(ne+te)*a+ge,(re+z)*E+le,(ne+z)*a+ge,(re+te)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+le,ne*a+ge,(re+te)*E+le,(ne+te-z*.5)*a+ge,(re+z)*E+le)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+le,(ne+te-z*.5)*a+ge,(re-z)*E+le,ne*a+ge,(re-te)*E+le).close()),x}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var b=new go.PathFigure(.1*a,E,!0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var x=new go.Geometry,y=ve*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),le=ee();Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,le);var ce=oe(re.x,re.y),se=new go.PathFigure(re.x*a,re.y*E,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),Je(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,le,re,ne,ne),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,le.x*a,le.y*E)),y=ve*.3,b=.3,Je(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,le,re,ne,ne),se.add(new go.PathSegment(go.PathSegment.Line,re.x*a,re.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,le.x*a,le.y*E,ge.x*a,ge.y*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),Je(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,le),se.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,le.x*a,le.y*E,ge.x*a,ge.y*E).close());var se=new go.PathFigure(.45*a,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),se.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ae(ne),Ae(re),Ae(ge),Ae(le),Ae(ce),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function b(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return b(y,0,0),b(y,.4,0),b(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var x=new go.Geometry,y=.5,b=0,z=0,te=y*ve,ne=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,ge=1,le=.5,ce=.5,se=0,Ie=new go.PathFigure(ne*a,(1-re)*E,!1);return x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,le*E,ge*a,.7*E,ge*a,le*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,(se+b)*E,(.5+y+b)*a,(.5-te+b)*E,(.5+te+b)*a,(.5-y+b)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*a,.9*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,.9*E)),Ie.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*a,.8*E)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*a,.9*E)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var b=new go.PathFigure(.45*a,.73*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),b.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),b.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),b.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,re=Math.PI/4,ge=4*(1-Math.cos(re))/(3*Math.sin(re)),le=ge*.5,ce=z,se=z,Ie=ge*ce,Qe=ge*se;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-ce)*a,ne*E,(te-(Ie+ce)/2)*a,(ne+(se+Qe)/2)*E,(te-ce)*a,(ne+Qe)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-se)*E,(te-ce)*a,(ne-Qe)*E,(te-Ie)*a,(ne-se)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+ce)*a,ne*E,(te+Ie)*a,(ne-se)*E,(te+ce)*a,(ne-Qe)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+ce)*a,(ne+Qe)*E,(te+(Ie+ce)/2)*a,(ne+(se+Qe)/2)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Mt=new go.PathFigure(.2*a,E,!1);x.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var vt=new go.PathFigure(.8*a,E,!1);return x.add(vt),vt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var b=new go.PathFigure(.2*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(.1*a,E,!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,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var b=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,b*a,b*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var b=new go.PathFigure(.475*a,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),b.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=new go.PathFigure(a,y*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+b)*E,(y+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-b)*a,E,0,(y+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-b)*E,(y-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+b)*a,0,a,(y-b)*E));var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,.15*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var b=new go.PathFigure(0,.2*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var b=new go.PathFigure(.15*a,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(a,.8*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=ve*.1,ne=.2,re=.9,ge=new go.PathFigure((ne-z)*a,re*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),z=.1,te=ve*.1,ne=.8,re=.9;var le=new go.PathFigure((ne-z)*a,re*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,re=ve*.1,ge=.1,le=.9,ce=new go.PathFigure((ge-ne)*a,le*E,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le-ne)*E,(ge-ne)*a,(le-re)*E,(ge-re)*a,(le-ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,le*E,(ge+re)*a,(le-ne)*E,(ge+ne)*a,(le-re)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le+ne)*E,(ge+ne)*a,(le+re)*E,(ge+re)*a,(le+ne)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,le*E,(ge-re)*a,(le+ne)*E,(ge-ne)*a,(le+re)*E)),ne=.1,re=ve*.1,ge=.4,le=.9;var se=new go.PathFigure((ge-ne)*a,le*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le-ne)*E,(ge-ne)*a,(le-re)*E,(ge-re)*a,(le-ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,le*E,(ge+re)*a,(le-ne)*E,(ge+ne)*a,(le-re)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(le+ne)*E,(ge+ne)*a,(le+re)*E,(ge+re)*a,(le+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,le*E,(ge-re)*a,(le+ne)*E,(ge-ne)*a,(le+re)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var b=new go.PathFigure(.45*a,.7*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ge=.05,le=ve*.05,ce=.175,se=.95,te=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.375,se=.95,ne=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.625,se=.95,re=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E));var ge=.05,le=ve*.05,ce=.825,se=.95,Ie=new go.PathFigure((ce-ge)*a,se*E,!0);x.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se-ge)*E,(ce-ge)*a,(se-le)*E,(ce-le)*a,(se-ge)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,se*E,(ce+le)*a,(se-ge)*E,(ce+ge)*a,(se-le)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(se+ge)*E,(ce+ge)*a,(se+le)*E,(ce+le)*a,(se+ge)*E)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,se*E,(ce-le)*a,(se+ge)*E,(ce-ge)*a,(se+le)*E).close());var Qe=new go.PathFigure(0,E,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=ve*.05,re=.35,ge=.775,le=new go.PathFigure((re-te)*a,ge*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge-te)*E,(re-te)*a,(ge-ne)*E,(re-ne)*a,(ge-te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ge*E,(re+ne)*a,(ge-te)*E,(re+te)*a,(ge-ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge+te)*E,(re+te)*a,(ge+ne)*E,(re+ne)*a,(ge+te)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ge*E,(re-ne)*a,(ge+te)*E,(re-te)*a,(ge+ne)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var x=new go.Geometry,y=.3,b=ve*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(0,.7*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var b=new go.PathFigure(0,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(.15*a,.5*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var x=new go.Geometry,y=.5,b=ve*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),y=.05,b=ve*.05,z=.5,te=.8;var re=new go.PathFigure((z-y)*a,te*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var b=new go.PathFigure(0,E*.6,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var b=new go.PathFigure(.126*a,.85*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var b=new go.PathFigure(a*.204,E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var b=new go.PathFigure(a*.055,.07*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var x=new go.Geometry,y=8,b=y*ve,z=new go.PathFigure(y,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,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,b,b,0).close());var te=new go.PathFigure(a*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var re=new go.PathFigure(a*.78,E*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ve,b=E*.8,z=new go.Geometry,te=new go.PathFigure(x,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,b-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,b,a,b-y,a-y,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-x,y,b,0,b-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var b=new go.PathFigure(a*1,E*.55,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var b=new go.PathFigure(a*.1,E*.2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var x=new go.Geometry,y=15,b=y*ve,z=new go.PathFigure(a*.62,E*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),b>1?(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.4,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.5,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var b=new go.PathFigure(a*.235,E*.28,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),b.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),b.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ze={},Ct="5.0",oe={},ee=null,Ae=!1,be=!1,Je=null,we=!1,Ze=null,ve=null,Ve=0;Ve4?parseFloat(fe):5};ze.setHTML5Codebase=function(fe,Be){ve=fe,pe(fe,Be)},ze.setJavaCodebase=ze.setJavaCodebaseVersion=ze.isCompiledInstalled=ze.setPreCompiledScriptPath=ze.setPreCompiledResourcePath=function(){},ze.setHTML5CodebaseVersion=function(fe,Be){var et=parseFloat(fe);if(et!==NaN&&et<5){console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead.");return}Ze=fe,Te(fe,Be)},ze.getHTML5CodebaseVersion=function(){return ae},ze.getParameters=function(){return oe},ze.setFontsCSSURL=function(fe){z=fe},ze.setGiacJSURL=function(fe){},ze.setJNLPFile=function(fe){je=fe},ze.setJNLPBaseDir=function(fe){},ze.inject=function(){function fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Be="auto",et=oe.id,dt,Xe=!1,ut=0;ut=5)return!0;var fe=ze.getAppletObject();return fe&&typeof fe.recalculateEnvironments=="function"?(fe.recalculateEnvironments(),!0):!1},ze.startAnimation=function(){var fe=ze.getAppletObject();return fe&&typeof fe.startAnimation=="function"?(fe.startAnimation(),!0):!1},ze.stopAnimation=function(){var fe=ze.getAppletObject();return fe&&typeof fe.stopAnimation=="function"?(fe.stopAnimation(),!0):!1},ze.getAppletObject=function(){var fe=oe.id!==void 0?oe.id:"ggbApplet";return window[fe]},ze.resize=function(){};var Ie=function(fe,Be,et){var dt=document.createElement("param");dt.setAttribute("name",Be),dt.setAttribute("value",et),fe.appendChild(dt)},Qe=function(fe){return fe&&fe!=="false"},Mt=function(fe,Be,et){ne(ae)<=4.2&&(et=!0);var dt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(dt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xe=document.createElement("div");Xe.classList.add("appletParameters","notranslate");var ut=Be.width,de=Be.height;if(Be.disableAutoScale=Be.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Be.disableAutoScale,Be.width!==void 0)if(ne(ae)<=4.4)Qe(Be.showToolBar)&&(Be.height-=7),Qe(Be.showAlgebraInput)&&(Be.height-=37),Be.width<605&&Qe(Be.showToolBar)&&(Be.width=605,ut=605);else{var mt=100;(Qe(Be.showToolBar)||Qe(Be.showMenuBar))&&(Be.hasOwnProperty("customToolBar")&&(Be.customToolbar=Be.customToolBar),mt=Qe(Be.showMenuBar)?245:155),ut=5?(Be.appletOnLoad=function(Re){var Ke=fe.querySelector(".ggb_preview");Ke&&Ke.parentNode.removeChild(Ke),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Tt),window.GGBT_wsf_view&&$(window).trigger("resize"),Dt(Re)},an||Tt.appendChild(rn)):Xe.appendChild(rn),Tt.appendChild(Xe),an||fe.appendChild(Tt),setTimeout(function(){ze.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Xe),fe.appendChild(Ye),Be.appletOnLoad=function(Re){ze.resize(),Dt(Re)}}function _e(Re,Ke){Ke&&typeof Ke.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Re,Ke.appletOnLoad):renderGGBElement(Re),xe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ke)}function tt(Re,Ke){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Re,params:Ke}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Nt){_e(Nt.article,Nt.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Re.className+=" geogebraweb")):_e(Re,Ke)}if(dt){scriptLoadStarted=!0;for(var ye=0;ye0?(Ft.remove(),Tt.attr("id","fullscreencontent").show(),jQuery(Dt).append(Tt),window.dispatchEvent(new Event("resize"))):Mt(Ft,Be,!1),window.GGBT_wsf_view.launchFullScreen(Dt)}else it=dt,Mt(fe,Be,!1);if(!window.GGBT_wsf_view)for(de=0;defe/4*3&&(Ft=fe/4*3),Dt=Ft/5.8,mt.setAttribute("src",y),mt.setAttribute("width",Ft),mt.setAttribute("height",Dt);var Tt=(fe-Ft)/2,an=(Be-Dt)/2;mt.style.left=Tt+"px",mt.style.top=an+"px",Xe.appendChild(mt)}}return Xe.appendChild(de),Xe},gt=function(fe){return fe=fe.toLowerCase(),fe==="html5"||fe==="screenshot"?fe:"html5"},Ce=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(fe,Be){if(ae=fe,Be){pe(ae,!0);return}var et=!Ae;if(et){var dt=ne(ae);!isNaN(dt)&&dt<4.4&&(et=!1)}var Xe,ut;window.location.protocol.substr(0,4)==="http"?Xe=window.location.protocol:Xe="http:";var de=ae.indexOf("//");de>0?ut=ae:de===0?ut=Xe+ae:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var mt in Ce)if(ae.slice(Ce[mt].length*-1)===Ce[mt]||ae.slice((Ce[mt].length+1)*-1)===Ce[mt]+"/"){pe(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&et&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Qe(oe.showToolBar)&&!Qe(oe.showMenuBar)&&!Qe(oe.showAlgebraInput)&&!Qe(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?ut+="webSimple/":ut+="web3d/",pe(ut,!1)},pe=function(fe,Be){if(fe.requirejs){$e=fe;return}fe.slice(-1)!=="/"&&(fe+="/"),$e=fe,Be===null&&(Be=fe.indexOf("http")===-1),Ge=Be,a="web.nocache.js",E=!1;var et=$e.split("/");et.length>1&&(!Be&&et[et.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):Ce.indexOf(et[et.length-2])>=0&&(a=et[et.length-2]+".nocache.js")),et=fe.split("/"),ae=et[et.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var dt=parseFloat(ae);dt!==NaN&&dt<5&&fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+dt+" is deprecated. Using version latest instead."),Te("5.0",Be))},xe=function(fe,Be){window.console&&window.console.log&&(!Be||typeof Be.showLogging=="undefined"||Be.showLogging&&Be.showLogging!=="false")&&console.log(fe)};oe.material_id!==void 0?le(qe):qe();function qe(){var fe=Ct;Ze!==null?fe=Ze:parseFloat(fe)<5&&(fe="5.0"),Te(fe,!1),ve!==null&&pe(ve,Ge),we=!0}return ze},GGBAppletUtils=function(){"use strict";function ze(){return window.GGBT_wsf_edit!==void 0}function Ct(we,Ze){Ze!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Ze+","+Ze+")",we.style.webkitTransform="scale("+Ze+","+Ze+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function oe(we,Ze,ve,Ve,Oe,je){var $e=null;if(je!=null&&je!="")for(var Ge=we.parentNode;Ge!=null;)if((" "+Ge.className+" ").indexOf(" "+je+" ")>-1){$e=Ge;break}else Ge=Ge.parentNode;var it=0,ae=0,a=0,E=0,x=0,y=0,b=0;if($e)it=$e.offsetWidth,ae=Math.max(Ve?$e.offsetWidth:0,$e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(it=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=it):(it=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),we){var z=we.getBoundingClientRect();z.left>0&&z.left<=it&&(Oe===void 0||!Oe)&&(document.dir==="rtl"?(x=it-z.width-z.left,y=a<=480?10:30):(y=z.left,x=a<=480?10:30),E=y+x)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,b=40)}}return we&&((ve===void 0||!ve)&&Ze>0&&Ze+E1&&(je=!0)),Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(je=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Oe=ee(we,Ze,je,ve,we.scaleContainerClass);else return Ve;return je&&(!we.hasOwnProperty("scale")||Ve===1)?Oe:Math.min(Ve,Oe)}function be(we){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ve=we.getBoundingClientRect(),Oe=(Ze-Ve.width)/2,je=(ve-Ve.height)/2;je<0&&(je=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Oe<40?we.style.left="40px":we.style.left=Oe+"px",we.style.top=je+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je<40?we.style.top="40px":we.style.top=je+"px",we.style.left=Oe+"px")}function Je(we,Ze){var ve=we.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ve=Ae(Ze,we);ze()&&ve.setAttribute("data-param-scale",Ve);for(var Oe=null,je=0;je=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(ze){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ze){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ze){var Ct=c[ze];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function ze(we){var Ze=we.lastIndexOf(rb);Ze==-1&&(Ze=we.length);var ve=we.indexOf(sb);ve==-1&&(ve=we.length);var Ve=we.lastIndexOf(tb,Math.min(ve,Ze));return Ve>=O?we.substring(O,Ve+P):W}function Ct(we){if(!we.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=we+vb,we=ze(Ze.src)}return we}function oe(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function ee(){for(var we=o.getElementsByTagName(_),Ze=O;ZeO?we[we.length-P].href:W}function be(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var Je=oe();return Je==W&&(Je=ee()),Je==W&&(Je=Ae()),Je==W&&be()&&(Je=ze(o.location.href)),Je=Ct(Je),Je}function C(ze){return ze.match(/^\//)||ze.match(/^[a-zA-Z]+:\/\//)?ze:webModule.__moduleBase+ze}function D(){var ze=[],Ct=O,oe=[],ee=[];function Ae(we){var Ze=ee[we](),ve=oe[we];if(Ze in ve)return Ze;var Ve=[];for(var Oe in ve)Ve[ve[Oe]]=Oe;throw r&&r(we,Ve,Ze),null}if(__gwt_isKnownPropertyValue=function(we,Ze){return Ze in oe[we]},webModule.__getPropMap=function(){var we={};for(var Ze in oe)oe.hasOwnProperty(Ze)&&(we[Ze]=Ae(Ze));return we},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var be;try{be=Cb;var Je=be.indexOf(Db);Je!=-1&&(Ct=parseInt(be.substring(Je+P),$),be=be.substring(O,Je))}catch(we){}return webModule.__softPermutationId=Ct,C(be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ze,Ct,oe){"use strict";oe.d(Ct,{Ax:function(){return Je},Ds:function(){return we},KI:function(){return ve},SI:function(){return be},f1:function(){return Ae}});var ee=oe(3294);function Ae(Ve){let Oe=!0;if(Ve.length>0){for(let je=0;jeMe in Fe?ce(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,vt=(Fe,Me)=>{for(var De in Me||(Me={}))Ie.call(Me,De)&&Mt(Fe,De,Me[De]);if(se)for(var De of se(Me))Qe.call(Me,De)&&Mt(Fe,De,Me[De]);return Fe},ht=(Fe,Me)=>{var De={};for(var yt in Fe)Ie.call(Fe,yt)&&Me.indexOf(yt)<0&&(De[yt]=Fe[yt]);if(Fe!=null&&se)for(var yt of se(Fe))Me.indexOf(yt)<0&&Qe.call(Fe,yt)&&(De[yt]=Fe[yt]);return De},xt=({onFinish:Fe,value:Me,streamingStatus:De,cancelIndex:yt,loadImage:pt})=>{const[ft,Wt]=(0,ee.useState)(""),[We,Pt]=(0,ee.useState)(0),[Ht,cn]=(0,ee.useState)(!1),At=nn=>nn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),st=()=>{cn(!0),Fe==null||Fe()};return(0,ee.useEffect)(()=>{const nn=pt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${Me}`:Me,mn=At(nn);if(!Ht)if(pt||!De||yt>0){Wt(mn),Pt(mn.length),(!De||yt>0)&&!pt&&st();return}else if(We{Wt(mn.slice(0,We+2)),Pt(hn=>hn+2)},xn>10?Math.max(500/(xn/2),20):50);return()=>clearInterval(Dn)}else De||st()},[Me,De,yt,pt,We]),(0,ee.useMemo)(()=>le.createElement("div",{className:`${z.answer} fadeIn animated`},le.createElement(a.UG,{remarkPlugins:[re.Z],rehypePlugins:[ne.Z,x.Z],components:{code(nn){var mn=nn,{node:xn,inline:Dn,className:hn,children:Pn}=mn,Nn=ht(mn,["node","inline","className","children"]);const Rn=/language-(\w+)/.exec(hn||"");return Dn||!Rn?le.createElement("code",vt({className:hn},Nn),Pn):le.createElement("div",{className:z.codeCopy},le.createElement(b.CopyToClipboard,{text:String(Pn).trim(),onCopy:()=>Ae.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},le.createElement("button",null,"\u590D\u5236")),le.createElement(E.Z,vt({style:y.Z,language:Rn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Nn),String(Pn).trim()))},img({node:nn}){var mn;return le.createElement(te.Z,{src:(mn=nn.properties)==null?void 0:mn.src,width:320,onLoad:()=>pt&&setTimeout(()=>st(),500)})}}},De&&Wenew Promise((yt,pt)=>{var ft=Pt=>{try{We(De.next(Pt))}catch(Ht){pt(Ht)}},Wt=Pt=>{try{We(De.throw(Pt))}catch(Ht){pt(Ht)}},We=Pt=>Pt.done?yt(Pt.value):Promise.resolve(Pt.value).then(ft,Wt);We((De=De.apply(Fe,Me)).next())}),pe=({value:Fe="",streamingStatus:Me,onFinish:De,cancelIndex:yt,time:pt,loading:ft,loadAll:Wt})=>{const[We,Pt]=(0,ee.useState)(""),[Ht,cn]=(0,ee.useState)(!0),At=(0,ee.useRef)(Fe),st=(0,ee.useRef)(Me),qt=(0,ee.useRef)(0),nn=(0,ee.useRef)(null),[mn,xn]=(0,ee.useState)(!1),Dn=70;(0,ee.useEffect)(()=>{st.current=Me},[Me]),(0,ee.useEffect)(()=>{At.current=Fe},[Fe]),(0,ee.useEffect)(()=>{if(!Me){Pt(At.current);return}return xn(!0),nn.current=setInterval(hn,Dn),()=>{clearInterval(nn.current)}},[]),(0,ee.useEffect)(()=>{mn&&(Pt(At.current),clearInterval(nn.current),xn(!1),De())},[yt]);const hn=()=>Ce(void 0,null,function*(){const Pn=At.current[qt.current];Pn!==void 0?(Pt(Nn=>Nn+Pn),qt.current++,clearInterval(nn.current),nn.current=setInterval(hn,280/(At.current.length-qt.current))):st.current===!1&&(Pt(At.current),clearInterval(nn.current),xn(!1),De())});return gt.createElement("div",{className:`${Qt.reasoning} fadeIn animated`},gt.createElement("div",{className:Qt.btn,onClick:()=>cn(!Ht)},gt.createElement("i",{className:"iconfont icon-shendusikao"}),pt?gt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",pt," \u79D2\uFF09"):gt.createElement("span",null,"\u601D\u8003\u4E2D..."),Ht?gt.createElement("b",{className:"iconfont icon-shouqi6"}):gt.createElement("b",{className:"iconfont icon-zhankai6"})),ft&>.createElement(Ve.Z,{spinning:!0,className:"mt20"}),Ht&&!ft&>.createElement("div",{className:Qt.content},We,mn?gt.createElement("span",{className:"aiBlink"},"__"):""))},xe={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},qe=oe(81327),fe=Object.defineProperty,Be=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Xe=(Fe,Me,De)=>Me in Fe?fe(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,ut=(Fe,Me)=>{for(var De in Me||(Me={}))et.call(Me,De)&&Xe(Fe,De,Me[De]);if(Be)for(var De of Be(Me))dt.call(Me,De)&&Xe(Fe,De,Me[De]);return Fe};const de=Fe=>React.createElement("svg",ut({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Fe),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 mt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0Jve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DY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ft=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,rn=(Fe,Me,De)=>Me in Fe?Ft(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,Ye=(Fe,Me)=>{for(var De in Me||(Me={}))Tt.call(Me,De)&&rn(Fe,De,Me[De]);if(Dt)for(var De of Dt(Me))an.call(Me,De)&&rn(Fe,De,Me[De]);return Fe};const _e=Fe=>React.createElement("svg",Ye({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Fe),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 tt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4OS4xMjUgMTg5LjEyNSAwIDAgMC0yMy41NTIgOTguNDYxYzEuNTc1IDc2Ljg4IDM1LjQ0NiAxMzguMDg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y45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",ye=oe(59301),Ue=({value:Fe,onChange:Me})=>{const[De,yt]=(0,ee.useState)(!1),pt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:mt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:tt}],ft=pt.find(Wt=>Wt.key===Fe);return ye.createElement("div",{className:xe.select},ye.createElement(qe.Z,{size:10},ye.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),ye.createElement("div",{className:xe.box,onMouseLeave:()=>yt(!1)},ye.createElement("div",{className:xe.text,onClick:()=>yt(!0)},ye.createElement("img",{src:ft.img,width:20}),ye.createElement("span",null,ft.name),ye.createElement("b",{className:"iconfont icon-zhankai6"})),De&&ye.createElement("div",{className:xe.itemWrap},ye.createElement("aside",null,pt.map(Wt=>ye.createElement("div",{key:Wt.key,className:`${xe.item} ${Wt.key===Fe?xe.active:""}`,onClick:We=>{We.stopPropagation(),Me(Wt.key),yt(!1)}},ye.createElement("img",{src:Wt.img,width:20}),ye.createElement("span",null,Wt.name))))))))},Ee={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},nt=oe(99064),Re=oe(955),Ke={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},bt=({src:Fe,onClick:Me,topPercentage:De=.62,draggableExtraNode:yt})=>{const pt=(0,ee.useRef)(null),ft=(0,ee.useRef)(!1),Wt=(0,ee.useRef)(!1),[We,Pt]=(0,ee.useState)(window.innerHeight*De),[Ht,cn]=(0,ee.useState)(!1),At=10;return(0,ee.useEffect)(()=>{if(pt.current){let st=function(Dn){var hn;ft.current=!0,xn=Dn.pageY,mn=Dn.pageY-(((hn=pt.current)==null?void 0:hn.getBoundingClientRect().top)||0),(0,Re.kk)("none"),document.onselectstart=function(){return!1}},qt=function(){ft.current&&!Wt.current&&Me&&Me(),ft.current=!1,Wt.current=!1,(0,Re.kk)("auto"),document.onselectstart=null},nn=function(Dn){var hn;if(ft.current){const Nn=Dn.pageY-mn,Rn=window.innerHeight-(((hn=pt.current)==null?void 0:hn.offsetHeight)||0)-50,rt=50;if(!Wt.current&&Math.abs(xn-Dn.pageY)>At&&(Wt.current=!0),Wt.current){let ma=Math.max(rt,Math.min(Nn,Rn));Pt(ma)}}},mn=0,xn=0;return pt.current.addEventListener("mousedown",st),document.addEventListener("mousemove",nn),document.addEventListener("mouseup",qt),()=>{var Dn,hn;(hn=(Dn=pt==null?void 0:pt.current)==null?void 0:Dn.removeEventListener)==null||hn.call(Dn,"mousedown",st),document.removeEventListener("mousemove",nn),document.removeEventListener("mouseup",qt)}}},[Me]),(0,ee.useEffect)(()=>{const st=()=>{Pt(window.innerHeight*De)};return window.addEventListener("resize",st),()=>{window.removeEventListener("resize",st)}},[De]),ee.createElement("div",{className:Ke.draggableImage,style:{top:`${We}px`,display:Ht?"none":"block",cursor:ft.current?"grabbing":"grab"},ref:pt},yt,ee.createElement("img",{className:Ke.img,src:Fe,width:60,draggable:"false"}),ee.createElement("i",{className:`iconfont icon-tupianguanbi ${Ke.close}`,onMouseUp:st=>{st.stopPropagation(),cn(!0)}}))},Bt="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/sH//3fXTAXlaAIV1qmr9RKnwAmGVsmxsLCxLgLA0eFiOBkyflzDQEWDknB3Qj11CxyVwxGxdlDAvIaZs4dsODcfFd1yU62hw5bgngRhZrkZSg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J/cflMOnc1bx6ZItdHV5rF0bI96RwjJCzFmxnC3tjQQNqQfQwmaY808Zz8UXHIlnWpSWRbjv76t5vjbI5uo6OvpWICtLIRxFHqo8oYAPW2FiBXQ0YayppnjTOia6kgMrghTn22yubue5t9+eZSTs86r5N4we9hBASml2tq6+pnvzipsaNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",In=oe(3294),Wn=oe(86204),jn=oe(85149),zn=Object.defineProperty,Mn=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,qn=(Fe,Me,De)=>Me in Fe?zn(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,La=(Fe,Me)=>{for(var De in Me||(Me={}))Xn.call(Me,De)&&qn(Fe,De,Me[De]);if(ha)for(var De of ha(Me))Ma.call(Me,De)&&qn(Fe,De,Me[De]);return Fe},Jn=(Fe,Me)=>Mn(Fe,ta(Me)),pa=(Fe,Me,De)=>qn(Fe,typeof Me!="symbol"?Me+"":Me,De),Ra=(Fe,Me,De)=>new Promise((yt,pt)=>{var ft=Pt=>{try{We(De.next(Pt))}catch(Ht){pt(Ht)}},Wt=Pt=>{try{We(De.throw(Pt))}catch(Ht){pt(Ht)}},We=Pt=>Pt.done?yt(Pt.value):Promise.resolve(Pt.value).then(ft,Wt);We((De=De.apply(Fe,Me)).next())});class da extends Wn.EventEmitter{constructor(Me,De){super(),pa(this,"url"),pa(this,"body"),pa(this,"fullContent",""),pa(this,"controller",null),this.url=Me,this.body=De}startStream(){return Ra(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const De=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!De.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${De.status}`);const yt=De.headers.get("content-type");if(!yt||!yt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const pt=De.body.getReader(),ft=new TextDecoder("utf-8");for(;;){const{done:Wt,value:We}=yield pt.read();if(Wt)break;const Ht=ft.decode(We,{stream:!0}).split(` `);for(const cn of Ht)if(cn.startsWith("data:")){let At=(0,jn.z)(cn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(At==="[DONE]")break;try{const st=JSON.parse(At);st.data&&this.handleData(Jn(La({},st.data),{content:st.data.content.replace(/\\\\/g,"\\")}))}catch(st){console.error("\u89E3\u6790 JSON \u5931\u8D25:",st)}}}this.emit("done",this.fullContent)}catch(De){De.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",De.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}var na=da,dn=oe(58617),Ia=oe(32050),Ca=Object.defineProperty,Tn=Object.defineProperties,Aa=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,St=(Fe,Me,De)=>Me in Fe?Ca(Fe,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):Fe[Me]=De,Lt=(Fe,Me)=>{for(var De in Me||(Me={}))xa.call(Me,De)&&St(Fe,De,Me[De]);if(wa)for(var De of wa(Me))ca.call(Me,De)&&St(Fe,De,Me[De]);return Fe},me=(Fe,Me)=>Tn(Fe,Aa(Me)),Se=(Fe,Me,De)=>new Promise((yt,pt)=>{var ft=Pt=>{try{We(De.next(Pt))}catch(Ht){pt(Ht)}},Wt=Pt=>{try{We(De.throw(Pt))}catch(Ht){pt(Ht)}},We=Pt=>Pt.done?yt(Pt.value):Promise.resolve(Pt.value).then(ft,Wt);We((De=De.apply(Fe,Me)).next())}),ot=({title:Fe="\u5934\u6B4CAI",placeholder:Me,hideUpload:De,hideInputBox:yt,aiIcon:pt=Bt,userIcon:ft=Fn,dragIcon:Wt=vn,children:We,fetchUrl:Pt,fetchData:Ht={},extraAnswerAction:cn,showDefaultTips:At=!0,onOpen:st,onClose:qt,loadingOption:nn,showPreference:mn=!1,initMessage:xn,customRequest:Dn,visible:hn,width:Pn=1200,isCheckRestrictNumber:Nn=!1,headNode:Rn,headFunctionNode:rt,showRedraw:ma,showEdit:ga,promptPropName:Ln="prompt",topPercentage:En,showSwitchingModel:lt=!1,showImageGenerator:kt=!1,showLookHistory:Kt=!1,fetchListObject:Gt,customPreference:kn,customDataNode:Qn,showAddSession:aa,historyId:Sa,draggableExtraNode:Da,drawerExtraNode:Et,menuExtraFunctionNode:Wa,showSceneAwareness:Fo=!1})=>{var vo;const[Na,ao]=(0,ee.useState)(!1),[ba,uo]=(0,ee.useState)("qwen-max"),[$n,Ha]=(0,ee.useState)([]),[Xa,oa]=(0,ee.useState)(!1),[so,la]=(0,ee.useState)(!1),[Go,ja]=(0,ee.useState)(!1),[Zn,ia]=(0,ee.useState)([]),[Qa,Ro]=(0,ee.useState)(""),[Jo,Ko]=(0,ee.useState)(0),[Eo,yo]=(0,ee.useState)(!1),[Ao,Yt]=(0,ee.useState)(null),[It,_t]=(0,ee.useState)(""),jt=(0,ee.useRef)(),wn=(0,ee.useRef)(null),bn=(0,ee.useRef)(null),[Un,Hn]=(0,ee.useState)(!1),[Vn,ea]=(0,ee.useState)(!1),[Pa,fa]=(0,ee.useState)(!1),[Va,oo]=(0,ee.useState)(!1),[qa,wo]=(0,ee.useState)(0),Fa=(0,ee.useRef)(null),Ja=(0,ee.useRef)(!1),Yn=(0,ee.useRef)(null),[$a,co]=(0,ee.useState)(void 0),[Bo,Io]=(0,ee.useState)(!0),[Mo,za]=(0,ee.useState)(Pn-28),[Ka,jo]=(0,ee.useState)(!1),[Qo,Xo]=(0,ee.useState)(!0),[Zo,qo]=(0,ee.useState)([]),Lo=(0,ee.useRef)([]),Uo=(0,ee.useRef)(!1),Co=Mo-22,mo=Qa==null?void 0:Qa.split(` diff --git a/p__Classrooms__Lists__Exercise__Answer__index.4b27ea61.async.js b/p__Classrooms__Lists__Exercise__Answer__index.94d70b30.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Answer__index.4b27ea61.async.js rename to p__Classrooms__Lists__Exercise__Answer__index.94d70b30.async.js index e25fcdc25b..4932aa4091 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.4b27ea61.async.js +++ b/p__Classrooms__Lists__Exercise__Answer__index.94d70b30.async.js @@ -1,4 +1,4 @@ -!(function(){var $i=Object.defineProperty,es=Object.defineProperties;var ts=Object.getOwnPropertyDescriptors;var Lo=Object.getOwnPropertySymbols;var hi=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable;var gi=(ut,rt,ye)=>rt in ut?$i(ut,rt,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ut[rt]=ye,ka=(ut,rt)=>{for(var ye in rt||(rt={}))hi.call(rt,ye)&&gi(ut,ye,rt[ye]);if(Lo)for(var ye of Lo(rt))pi.call(rt,ye)&&gi(ut,ye,rt[ye]);return ut},Qo=(ut,rt)=>es(ut,ts(rt));var mi=(ut,rt)=>{var ye={};for(var ve in ut)hi.call(ut,ve)&&rt.indexOf(ve)<0&&(ye[ve]=ut[ve]);if(ut!=null&&Lo)for(var ve of Lo(ut))rt.indexOf(ve)<0&&pi.call(ut,ve)&&(ye[ve]=ut[ve]);return ye};(self.webpackChunk=self.webpackChunk||[]).push([[4105,6270],{87169:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return ie}});var ve=ye(92413),Fe=ye(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"},me=E,de=ye(7657),le=function(ue,ae){return Fe.createElement(de.Z,(0,ve.Z)({},ue,{ref:ae,icon:me}))},oe=Fe.forwardRef(le),ie=oe},11724:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return ie}});var ve=ye(92413),Fe=ye(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},me=E,de=ye(7657),le=function(ue,ae){return Fe.createElement(de.Z,(0,ve.Z)({},ue,{ref:ae,icon:me}))},oe=Fe.forwardRef(le),ie=oe},88010:function(ut,rt){"use strict";rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(ut,rt){"use strict";rt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},64790:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));rt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},39775:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function ut(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(ut.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(ut.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(ut.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(ut.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 ut))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 rt=[];function ye(te,a){var y=rt.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ve(){var te=rt.pop();return te===void 0?new go.Point:te}function Fe(te){rt.push(te)}function E(te,a,y,x,b,z,ee,ce,he){he||(he=new go.Point);var pe=te-y,fe=b-ee,ge=NaN,Se=NaN;if(pe===0)if(fe===0)te===y&&(ge=te,Se=a);else{var Ae=(z-ce)/fe,be=z-Ae*b;ge=te,Se=Ae*ge+be}else if(fe===0){var Ee=(a-x)/pe,we=a-Ee*te;ge=b,Se=Ee*ge+we}else{var Ee=(a-x)/pe,Ae=(z-ce)/fe,we=a-Ee*te,be=z-Ae*b;ge=(be-we)/(Ee-Ae),Se=Ee*ge+we}return he.x=ge,he.y=Se,he}function me(te,a,y,x,b,z,ee,ce,he,pe,fe,ge,Se,Ae){var be=1-he,Ee=he,we=te*be+y*Ee,xe=a*be+x*Ee,Ce=y*be+b*Ee,Pe=x*be+z*Ee,Ie=b*be+ee*Ee,Le=z*be+ce*Ee,Re=we*be+Ce*Ee,je=xe*be+Pe*Ee,Je=Ce*be+Ie*Ee,qe=Pe*be+Le*Ee,Ke=Re*be+Je*Ee,_e=je*be+qe*Ee;pe.x=we,pe.y=xe,fe.x=Re,fe.y=je,ge.x=Ke,ge.y=_e,Se.x=Je,Se.y=qe,Ae.x=Ie,Ae.y=Le}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ut("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,z=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&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),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=de,b.spot2=le,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 ut("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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),z.spot1=de,z.spot2=le,z.defaultStretch=go.GraphObject.Uniform,z}),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 ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ut("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 z=x%360;z<0&&(z+=360);var ee=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,z,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ut("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ut("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ut("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 z=a/2,ee=y/2,ce=Math.atan2(y,a),he=x-Math.min(Math.cos(ce)*x/2,z),pe=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,fe=new go.PathFigure(he,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-he,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,pe)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-pe)),fe.add(new go.PathSegment(go.PathSegment.Line,a-he,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,he,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-pe)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ut("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,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ut("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ut("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 z=.2,ee=.3,ce=0,he=z*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+ce)*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee)*a,(.5-he+ce)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee+.05)*a,(.5-he+ce-.02)*y)),z=.2,ee=0,ce=-.3,he=z*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+ce)*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee)*a,(.5-he+ce)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+ce)*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee)*a,(.5-he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),z=.2,ee=-.3,ce=0,he=z*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee-.05)*a,(.5-he+ce-.02)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+ce)*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee)*a,(.5-he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*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 z=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ee+z)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).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,z=.5,ee=.5,ce=.5,he=new go.PathFigure(ee*a,(ce-z)*y);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),z=.4,b=oe*.4;var pe=ve(),fe=ve(),ge=ve(),Se=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.42,pe,fe,ge,Se,Se);var Ae=ve(),be=ve(),Ee=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.58,Se,Se,Ee,Ae,be);var we=ve(),xe=ve(),Ce=ve();me(ee,ce+z,ee-b,ce+z,ee-z,ce+b,ee-z,ce,.42,we,xe,Ce,Se,Se);var Pe=ve(),Ie=ve(),Le=ve();return me(ee,ce+z,ee-b,ce+z,ee-z,ce+b,ee-z,ce,.58,Se,Se,Le,Pe,Ie),he.add(new go.PathSegment(go.PathSegment.Move,Le.x*a,Le.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,Pe.x*a,Pe.y*y,Ie.x*a,Ie.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,fe.x*a,fe.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,Le.x*a,Le.y*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,Ce.x*a,Ce.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,Ae.x*a,Ae.y*y,be.x*a,be.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,we.x*a,we.y*y,xe.x*a,xe.y*y).close()),Fe(pe),Fe(fe),Fe(ge),Fe(Se),Fe(Ae),Fe(be),Fe(Ee),Fe(we),Fe(xe),Fe(Ce),Fe(Pe),Fe(Ie),Fe(Le),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 ut("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,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.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,z=.4,ee=.5,ce=.5,he=ve(),pe=ve(),fe=ve(),ge=ve(),Se=new go.PathFigure((ee-z)*a,ce*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.44,fe,ge,pe,he,he),Se.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y));var Ae=ye(pe.x,pe.y);me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.56,he,he,pe,fe,ge);var be=ye(pe.x,pe.y);Se.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*a,Ae.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ae.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,(be.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),z=.35,b=oe*.35;var Ee=new go.PathFigure(ee*a,(ce-z)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y));var we=new go.PathFigure((ee-z)*a,ce*y,!1);return x.add(we),Fe(he),Fe(pe),Fe(fe),Fe(ge),Fe(Ae),Fe(be),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,z=0,ee=-.125,ce=b*oe,he=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+ce+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-ce+ee)*y,(.5+ce+z)*a,(.5-b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+ce+ee)*y,(.5-ce+z)*a,(.5+b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,ce=b*oe;var he=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+ce+ee)*y,(.5+ce+z)*a,(.5+b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+ce+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-ce+ee)*y));var he=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(he),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 ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ut("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 z=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,he=new go.Geometry,pe=new go.PathFigure(0,ee,!0);he.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),he.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,z/a,1,1,.5,ve());return he.spot2=new go.Spot(fe.x,fe.y),Fe(fe),he}),go.Shape.setFigureParameter("Arrow2",0,new ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ut("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 z=a-x,ee=(y-b)/2,ce=ee+b,he=new go.Geometry,pe=new go.PathFigure(0,ee,!0);he.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),he.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,z/a,1,1,.5,ve());return he.spot2=new go.Spot(fe.x,fe.y),Fe(fe),he}),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 ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var he=E(0,.5,.3,0,0,b/y,.1,b/y,ve());return ee.spot1=new go.Spot(he.x,he.y),he=E(.7,1,1,.5,0,z/y,1,z/y,he),ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ut("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 z=(y-x)/2,ee=z+x,ce=(y-b)/2,he=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,ce=0,he=y):(z=0,ee=y,ce=0,he=y));var pe=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);pe.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var ge=E(0,.5,.3,ce/y,0,z/y,1,z/y,ve());return pe.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,he/y,1,.5,0,ee/y,1,ee/y,ge),pe.spot2=new go.Spot(ge.x,ge.y),Fe(ge),pe}),go.Shape.setFigureParameter("IBeamArrow",0,new ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ut("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 z=(y-x)/2,ee=z+x,ce=(y-b)/2,he=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,ce=0,he=y):(z=0,ee=y,ce=0,he=y));var pe=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);pe.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),pe.spot1=new go.Spot(0,z/y);var ge=E(.7,he/y,1,.5,0,ee/y,1,ee/y,ve());return pe.spot2=new go.Spot(ge.x,ge.y),Fe(ge),pe}),go.Shape.setFigureParameter("Pointer",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Fe(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Fe(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ut("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,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("SquareArrow",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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,z=oe*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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 z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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 z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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,z=oe*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+z)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*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,z=oe*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-oe*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-z)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*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,z=oe*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-oe*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,oe*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*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,z=oe*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-oe*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,oe*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*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 z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.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 z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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,z=.1,ee=oe*b,ce=oe*z,he=.5,pe=.1,fe=new go.PathFigure(he*a,(pe+z)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-b)*a,pe*y,(he-ee)*a,(pe+z)*y,(he-b)*a,(pe+ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-z)*y,(he-b)*a,(pe-ce)*y,(he-ee)*a,(pe-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+b)*a,pe*y,(he+ee)*a,(pe-z)*y,(he+b)*a,(pe-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+z)*y,(he+b)*a,(pe+ce)*y,(he+ee)*a,(pe+z)*y));var ge=.05,Se=oe*ge;he=.05,pe=.25;var Ae=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),he=.95,pe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,pe*y,(he+Se)*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,Se=oe*ge,he=.825,pe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,Se=oe*ge,he=.5,pe=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,Se=oe*ge,he=.175,pe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,Se=oe*ge,he=.05,pe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y,(he-Se)*a,(pe-ge)*y)),Ae.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 ut("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,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.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 z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,z=oe*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*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,z=oe*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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 z=oe*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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 z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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 z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=oe*.5,ce=.5,he=new go.PathFigure(a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var pe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),pe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*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 z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.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,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 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,b*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.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 z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),z.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 z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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 z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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 z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(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,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(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,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.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 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 ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.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 z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 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,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.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,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.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,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,z*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var he=new go.PathFigure(.8*a,.75*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),he.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,z=.1,ee=.9,ce=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var pe=new go.PathFigure((ee+z)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce-z)*y,(ee+z)*a,(ce-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,z=oe*.4,ee=oe*.1,ce=.1,he=.9,pe=.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+z)*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-z)*y));var ge=new go.PathFigure((he+ce)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,pe*y,(he-ee)*a,(pe+ce)*y,(he-ce)*a,(pe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,pe*y,(he+ee)*a,(pe-ce)*y,(he+ce)*a,(pe-ee)*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,z=oe*b,ee=0,ce=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=oe*.1,ee=.9,ce=.5;var pe=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*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,z=oe*b,ee=0,ce=.5,he=new go.PathFigure(0,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(ce-b)*y,.8*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+z)*y,(ee+z+z)*a,(ce+b)*y)),he.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,z=oe*b,ee=.2,ce=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=oe*.1,ee=.9,ce=.5;var fe=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*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,z=oe*b,ee=.2,ce=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.2*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(ce-b)*y,.9*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.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,z=.1,ee=.1,ce=.5,he=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,z=.5,ee=.5,ce=.5,he=new go.PathFigure((ee-z)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce-z)*y,(ee+z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,ce*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,ce*y,ee*a,(ce-z)*y,ee*a,(ce+z)*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,z=y;a=a*.38,y=y*.6;var ee=oe*.8,ce=.8,he=0,pe=.5,fe=(b-a)/2,ge=(z-y)/2,Se=new go.PathFigure(he*a+fe,(pe+ce)*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce+ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe-ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe+ee)*y+ge,he*a+fe,(pe+ce)*y+ge).close()),ee=oe*.4,ce=.4,he=.2,pe=.5;var Ae=new go.PathFigure(he*a+fe,(pe+ce)*y+ge,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce+ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe-ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe-ee)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe+ee)*y+ge,he*a+fe,(pe+ce)*y+ge).close()),ee=oe*.2,ce=.2,he=.5,pe=.5;var be=new go.PathFigure((he-ce)*a+fe,pe*y+ge,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),ee=oe*.4,ce=.4,he=.8,pe=.5;var Ee=new go.PathFigure(he*a+fe,(pe-ce)*y+ge,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce-ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe+ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe+ee)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe-ee)*y+ge,he*a+fe,(pe-ce)*y+ge).close()),ee=oe*.8,ce=.8,he=1,pe=.5;var we=new go.PathFigure(he*a+fe,(pe-ce)*y+ge,!0);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce-ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe+ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe+ee)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe-ee)*y+ge,he*a+fe,(pe-ce)*y+ge).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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.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 z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,z=.4,ee=.5,ce=.5,he=ve(),pe=ve(),fe=ve(),ge=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.5,he,he,pe,fe,ge);var Se=ye(pe.x,pe.y),Ae=new go.PathFigure(pe.x*a,pe.y*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),me(ee-z,ce,ee-z,ce-b,ee-b,ce-z,ee,ce-z,.5,fe,ge,pe,he,he),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),b=oe*.3,z=.3,me(ee-z,ce,ee-z,ce-b,ee-b,ce-z,ee,ce-z,.5,fe,ge,pe,he,he),Ae.add(new go.PathSegment(go.PathSegment.Line,pe.x*a,pe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.5,he,he,pe,fe,ge),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y).close());var Ae=new go.PathFigure(.45*a,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Fe(he),Fe(pe),Fe(fe),Fe(ge),Fe(Se),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 z(ee,ce,he){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+he)*y).close())}return z(b,0,0),z(b,.4,0),z(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,z=0,ee=0,ce=b*oe,he=.4*Math.SQRT2/2+.5,pe=.5-.5*Math.SQRT2/2,fe=1,ge=.5,Se=.5,Ae=0,be=new go.PathFigure(he*a,(1-pe)*y,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,ge*y,fe*a,.7*y,fe*a,ge*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se+z)*a,(Ae+z)*y,(.5+b+z)*a,(.5-ce+z)*y,(.5+ce+z)*a,(.5-b+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ce+ee)*y,(.5-ce+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.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 z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,he=ee,pe=Math.PI/4,fe=4*(1-Math.cos(pe))/(3*Math.sin(pe)),ge=fe*.5,Se=ee,Ae=ee,be=fe*Se,Ee=fe*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Se)*a,he*y,(ce-(be+Se)/2)*a,(he+(Ae+Ee)/2)*y,(ce-Se)*a,(he+Ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-Ae)*y,(ce-Se)*a,(he-Ee)*y,(ce-be)*a,(he-Ae)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Se)*a,he*y,(ce+be)*a,(he-Ae)*y,(ce+Se)*a,(he-Ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+Se)*a,(he+Ee)*y,(ce+(be+Se)/2)*a,(he+(Ae+Ee)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var we=new go.PathFigure(.2*a,y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var xe=new go.PathFigure(.8*a,y,!1);return x.add(xe),xe.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 z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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 z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,z=oe*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(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 z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.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 z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=oe*.1,he=.2,pe=.9,fe=new go.PathFigure((he-ee)*a,pe*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ee)*a,pe*y,(he+ce)*a,(pe-ee)*y,(he+ee)*a,(pe-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ee)*a,pe*y,(he-ce)*a,(pe+ee)*y,(he-ee)*a,(pe+ce)*y).close()),ee=.1,ce=oe*.1,he=.8,pe=.9;var ge=new go.PathFigure((he-ee)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ee)*a,pe*y,(he+ce)*a,(pe-ee)*y,(he+ee)*a,(pe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ee)*a,pe*y,(he-ce)*a,(pe+ee)*y,(he-ee)*a,(pe+ce)*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 z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var he=.1,pe=oe*.1,fe=.1,ge=.9,Se=new go.PathFigure((fe-he)*a,ge*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-pe)*y,(fe-pe)*a,(ge-he)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+pe)*a,(ge-he)*y,(fe+he)*a,(ge-pe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+he)*y,(fe+he)*a,(ge+pe)*y,(fe+pe)*a,(ge+he)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-pe)*a,(ge+he)*y,(fe-he)*a,(ge+pe)*y)),he=.1,pe=oe*.1,fe=.4,ge=.9;var Ae=new go.PathFigure((fe-he)*a,ge*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-pe)*y,(fe-pe)*a,(ge-he)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+pe)*a,(ge-he)*y,(fe+he)*a,(ge-pe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+he)*y,(fe+he)*a,(ge+pe)*y,(fe+pe)*a,(ge+he)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-pe)*a,(ge+he)*y,(fe-he)*a,(ge+pe)*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 z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,ge=oe*.05,Se=.175,Ae=.95,ce=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.375,Ae=.95,he=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.625,Ae=.95,pe=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.825,Ae=.95,be=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,he=oe*.05,pe=.35,fe=.775,ge=new go.PathFigure((pe-ce)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ce)*y,(pe-ce)*a,(fe-he)*y,(pe-he)*a,(fe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*a,fe*y,(pe+he)*a,(fe-ce)*y,(pe+ce)*a,(fe-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ce)*y,(pe+ce)*a,(fe+he)*y,(pe+he)*a,(fe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*a,fe*y,(pe-he)*a,(fe+ce)*y,(pe-ce)*a,(fe+he)*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,z=oe*.3,ee=.5,ce=.7,he=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y));var pe=new go.PathFigure(0,.7*y,!1);return x.add(pe),pe.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 z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.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,z=oe*.5,ee=.5,ce=.5,he=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y));var pe=new go.PathFigure(.15*a,.5*y,!1);return x.add(pe),pe.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,z=oe*.5,ee=.5,ce=.5,he=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y).close()),b=.05,z=oe*.05,ee=.5,ce=.8;var pe=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y).close()),pe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),pe.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.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 z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.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 z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var he=new go.PathFigure(.5*a,.1*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),he.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 z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var he=new go.PathFigure(a*.816,y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),he.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 z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var he=new go.PathFigure(a*1,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),he.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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var he=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),he.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,z=b*oe,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var he=new go.PathFigure(a*.83,y*1,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var pe=new go.PathFigure(a*.78,y*.05,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),pe.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,z=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ce.add(new go.PathSegment(go.PathSegment.Line,x,z)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(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 z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.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 z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,z=b*oe,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ut={},rt="5.0",ye={},ve=null,Fe=!1,E=!1,me=null,de=!1,le=null,oe=null,ie=0;ie4?parseFloat(Ge):5};ut.setHTML5Codebase=function(Ge,ke){oe=Ge,qe(Ge,ke)},ut.setJavaCodebase=ut.setJavaCodebaseVersion=ut.isCompiledInstalled=ut.setPreCompiledScriptPath=ut.setPreCompiledResourcePath=function(){},ut.setHTML5CodebaseVersion=function(Ge,ke){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,ke)},ut.getHTML5CodebaseVersion=function(){return te},ut.getParameters=function(){return ye},ut.setFontsCSSURL=function(Ge){ee=Ge},ut.setGiacJSURL=function(Ge){},ut.setJNLPFile=function(Ge){ue=Ge},ut.setJNLPBaseDir=function(Ge){},ut.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=ye.id,Xe,Ze=!1,nt=0;nt=5)return!0;var Ge=ut.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ut.startAnimation=function(){var Ge=ut.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ut.stopAnimation=function(){var Ge=ut.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ut.getAppletObject=function(){var Ge=ye.id!==void 0?ye.id:"ggbApplet";return window[Ge]},ut.resize=function(){};var be=function(Ge,ke,Ne){var Xe=document.createElement("param");Xe.setAttribute("name",ke),Xe.setAttribute("value",Ne),Ge.appendChild(Xe)},Ee=function(Ge){return Ge&&Ge!=="false"},we=function(Ge,ke,Ne){he(te)<=4.2&&(Ne=!0);var Xe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Xe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ze=document.createElement("div");Ze.classList.add("appletParameters","notranslate");var nt=ke.width,He=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(he(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,nt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),nt=5?(ke.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(De),window.GGBT_wsf_view&&$(window).trigger("resize"),Qe($e)},Ve||De.appendChild(it)):Ze.appendChild(it),De.appendChild(Ze),Ve||Ge.appendChild(De),setTimeout(function(){ut.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(Ze),Ge.appendChild(et),ke.appletOnLoad=function($e){ut.resize(),Qe($e)}}function Ye($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Oe($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(ft){Ye(ft.article,ft.params)}),html5AppletsToProcess=null)},he(te)<5&&($e.className+=" geogebraweb")):Ye($e,tt)}if(Xe){scriptLoadStarted=!0;for(var Be=0;Be0?(Te.remove(),De.attr("id","fullscreencontent").show(),jQuery(Qe).append(De),window.dispatchEvent(new Event("resize"))):we(Te,ke,!1),window.GGBT_wsf_view.launchFullScreen(Qe)}else ne=Xe,we(Ge,ke,!1);if(!window.GGBT_wsf_view)for(He=0;HeGe/4*3&&(Te=Ge/4*3),Qe=Te/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Te),Ue.setAttribute("height",Qe);var De=(Ge-Te)/2,Ve=(ke-Qe)/2;Ue.style.left=De+"px",Ue.style.top=Ve+"px",Ze.appendChild(Ue)}}return Ze.appendChild(He),Ze},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,ke){if(te=Ge,ke){qe(te,!0);return}var Ne=!Fe;if(Ne){var Xe=he(te);!isNaN(Xe)&&Xe<4.4&&(Ne=!1)}var Ze,nt;window.location.protocol.substr(0,4)==="http"?Ze=window.location.protocol:Ze="http:";var He=te.indexOf("//");He>0?nt=te:He===0?nt=Ze+te:nt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in je)if(te.slice(je[Ue].length*-1)===je[Ue]||te.slice((je[Ue].length+1)*-1)===je[Ue]+"/"){qe(nt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ve.is3D&&!ve.AV&&!ve.SV&&!ve.CV&&!ve.EV2&&!ve.CP&&!ve.PC&&!ve.DA&&!ve.FI&&!ve.PV&&!Ee(ye.showToolBar)&&!Ee(ye.showMenuBar)&&!Ee(ye.showAlgebraInput)&&!Ee(ye.enableRightClick)&&(!ye.appName||ye.appName=="classic")?nt+="webSimple/":nt+="web3d/",qe(nt,!1)},qe=function(Ge,ke){if(Ge.requirejs){ae=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ae=Ge,ke===null&&(ke=Ge.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Xe=parseFloat(te);Xe!==NaN&&Xe<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Xe+" is deprecated. Using version latest instead."),Je("5.0",ke))},Ke=function(Ge,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ge)};ye.material_id!==void 0?ge(_e):_e();function _e(){var Ge=rt;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),oe!==null&&qe(oe,re),de=!0}return ut},GGBAppletUtils=function(){"use strict";function ut(){return window.GGBT_wsf_edit!==void 0}function rt(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ye(de,le,oe,ie,se,ue){var ae=null;if(ue!=null&&ue!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ue+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,z=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),de){var ee=de.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return de&&((oe===void 0||!oe)&&le>0&&le+y1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=ve(de,le,ue,oe,de.scaleContainerClass);else return ie;return ue&&(!de.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),se=(le-ie.width)/2,ue=(oe-ie.height)/2;ue<0&&(ue=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?de.style.top="40px":de.style.top=ue+"px",de.style.left=se+"px")}function me(de,le){var oe=de.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=Fe(le,de);ut()&&oe.setAttribute("data-param-scale",ie);for(var se=null,ue=0;ue=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(ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ut){var rt=c[ut];return rt==null?null:rt},r=d,webModule.__errFn=e}function B(){function ut(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var oe=de.indexOf(sb);oe==-1&&(oe=de.length);var ie=de.lastIndexOf(tb,Math.min(oe,le));return ie>=O?de.substring(O,ie+P):W}function rt(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ut(le.src)}return de}function ye(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function ve(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=ye();return me==W&&(me=ve()),me==W&&(me=Fe()),me==W&&E()&&(me=ut(o.location.href)),me=rt(me),me}function C(ut){return ut.match(/^\//)||ut.match(/^[a-zA-Z]+:\/\//)?ut:webModule.__moduleBase+ut}function D(){var ut=[],rt=O,ye=[],ve=[];function Fe(de){var le=ve[de](),oe=ye[de];if(le in oe)return le;var ie=[];for(var se in oe)ie[oe[se]]=se;throw r&&r(de,ie,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in ye[de]},webModule.__getPropMap=function(){var de={};for(var le in ye)ye.hasOwnProperty(le)&&(de[le]=Fe(le));return de},webModule.__computePropValue=Fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(rt=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}return webModule.__softPermutationId=rt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ut,rt,ye){"use strict";ye.d(rt,{Ax:function(){return me},Ds:function(){return de},KI:function(){return oe},SI:function(){return E},f1:function(){return Fe}});var ve=ye(3294);function Fe(ie){let se=!0;if(ie.length>0){for(let ue=0;uey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ue=(a,y)=>{for(var x in y||(y={}))oe.call(y,x)&&se(a,x,y[x]);if(le)for(var x of le(y))ie.call(y,x)&&se(a,x,y[x]);return a},ae=(a,y)=>me(a,de(y)),re=(a,y)=>{var x={};for(var b in a)oe.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&le)for(var b of le(a))y.indexOf(b)<0&&ie.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,z)=>{var ee=pe=>{try{he(x.next(pe))}catch(fe){z(fe)}},ce=pe=>{try{he(x.throw(pe))}catch(fe){z(fe)}},he=pe=>pe.done?b(pe.value):Promise.resolve(pe.value).then(ee,ce);he((x=x.apply(a,y)).next())});const te=a=>{var y=a,{children:x}=y,b=re(y,["children"]);const[z,ee]=(0,Fe.useState)(!1);return Fe.createElement(ve.ZP,ae(ue({},b),{loading:z,onClick:ce=>ne(void 0,null,function*(){try{ee(!0),yield b.onClick(ce),ee(!1)}catch(he){console.error(he),ee(!1)}})}),x)}},53813:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return a}});var ve=ye(59301),Fe=ye(89070),E=ye(8591),me=ye(99064),de=ye(1012),le=ye(81939),oe=ye(47257),ie=ye.n(oe),se={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},ue=ye(75730),ae=ye(59301),re=(y,x,b)=>new Promise((z,ee)=>{var ce=fe=>{try{pe(b.next(fe))}catch(ge){ee(ge)}},he=fe=>{try{pe(b.throw(fe))}catch(ge){ee(ge)}},pe=fe=>fe.done?z(fe.value):Promise.resolve(fe.value).then(ce,he);pe((b=b.apply(y,x)).next())});const ne=function(x,b){const z=x.split(","),ee=z[0].match(/:(.*?);/)[1],ce=atob(z[1]);let he=ce.length;const pe=new Uint8Array(he);for(;he--;)pe[he]=ce.charCodeAt(he);return new Blob([pe],{type:ee})};var a=(0,ve.forwardRef)(({time:y,number:x,supportCamera:b,take_photo:z,isExercise:ee=!0,update:ce,onUserMediaLoaded:he},pe)=>{const fe=(0,ve.useRef)(),ge=(0,ve.useRef)(),Se=(0,Fe.useParams)();let[Ae,be]=(0,ve.useState)([]),[Ee,we]=(0,ve.useState)(0);const[xe,Ce]=(0,ve.useState)("");let[Pe,Ie]=(0,ve.useState)();const[Le,Re]=(0,ve.useState)(0),je=(nt,He)=>re(void 0,null,function*(){return(0,me.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:nt,file:He}})}),Je=nt=>re(void 0,null,function*(){const He=new Date().valueOf();if(nt){const Ue=yield je(`\u7167\u7247${He}`,nt);Ue.status||(yield(0,ue.Ju)({container_id:Se.categoryId,container_type:"Exercise",attachment_id:Ue==null?void 0:Ue.id}))}});(0,ve.useEffect)(()=>(_e(),()=>{Xe(),qe()}),[]),(0,ve.useEffect)(()=>{Ee===2&&y&&x>0&&(Ke(),Re(1))},[y]),(0,ve.useEffect)(()=>{if(Le!==0){if(Le===2)clearInterval(Pe);else{let nt=0,He=setInterval(()=>{Ae.includes(nt)&&Ge(),nt++},1e3);Ie(He)}return()=>clearInterval(Pe)}},[Le]),(0,ve.useImperativeHandle)(pe,()=>({handlePhoto:Ge,handleTakePhoto:ke}));const qe=()=>{Re(2)},Ke=()=>{const nt=y/x,He=[];function Ue(Te,Qe){return parseInt(Math.floor(Math.random()*(Qe-Te+1))+Te)}new Array(x).fill(0).map((Te,Qe)=>{z?He.push(Ue(nt*Qe,nt*(Qe+1))):Qe==0?He.push(0):He.push(Ue(nt*Qe,nt*(Qe+1)))}),Ae=He,be([...He]),console.log(He)},_e=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(nt){const He=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return He?new Promise(function(Ue,Te){He.call(navigator,nt,Ue,Te)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(nt){Ne.current=nt,b&&b(2),we(2),"srcObject"in fe.current?fe.current.srcObject=nt:fe.current.src=window.URL.createObjectURL(nt),fe.current.onloadedmetadata=function(He){fe.current.play(),he&&he()},fe.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),qe(),ee&&E.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(nt){we(1),b&&b(1),nt.message==="Permission denied"||nt.name==="NotAllowedError"?E.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):E.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+nt.name),console.log("err: "+nt.message)})},Ge=()=>{try{ge.current.width=fe.current.videoWidth,ge.current.height=fe.current.videoHeight,ge.current.getContext("2d").drawImage(fe.current,0,0,ge.current.width,ge.current.height),Ce(ge.current.toDataURL("image/png")),Je(ge.current.toDataURL("image/png")),Ze(ge.current.toDataURL("image/png"))}catch(nt){}},ke=()=>{try{return ge.current.width=fe.current.videoWidth,ge.current.height=fe.current.videoHeight,ge.current.getContext("2d").drawImage(fe.current,0,0,ge.current.width,ge.current.height),ge.current.toDataURL("image/png")}catch(nt){}},Ne=(0,ve.useRef)(),Xe=()=>{try{Ne.current.getTracks().forEach(function(Ue){Ue.stop()}),fe.current.srcObject=null}catch(nt){}},Ze=nt=>re(void 0,null,function*(){var He,Ue,Te,Qe,De,Ve,it;const et=yield(0,me.ZP)("/api/buckets/get_upload_token.json",{method:"get"});et.data=JSON.parse((0,le.pe)(et.data));const Ye=(0,de.Z)(),Oe=new(ie())({endpoint:(He=et==null?void 0:et.data)==null?void 0:He.end_point,region:(Ue=et==null?void 0:et.data)==null?void 0:Ue.region,accessKeyId:(Te=et==null?void 0:et.data)==null?void 0:Te.access_key_id,accessKeySecret:(Qe=et==null?void 0:et.data)==null?void 0:Qe.access_key_secret,bucket:(De=et==null?void 0:et.data)==null?void 0:De.bucket,stsToken:(Ve=et==null?void 0:et.data)==null?void 0:Ve.security_token}),Be=ne(nt,Ye);Oe.multipartUpload(`${Ye}.png`,Be,{timeout:10*1e3,partSize:10485760,callback:{url:(it=et==null?void 0:et.data)==null?void 0:it.callback_url,host:et==null?void 0:et.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login="+Se.login+"&container_id="+Se.categoryId+"&container_type=Exercise"}}).then(function(Me){console.log("result:",Me)}).catch(function(Me){console.log("err:",Me)})});return ae.createElement(ae.Fragment,null,Ee!==3&&ae.createElement("aside",{className:se.video,id:"screenshot"},Ee===0&&ae.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),Ee===1&&ae.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),Ee===2&&ae.createElement("div",null,ae.createElement("video",{width:"288",ref:fe,autoPlay:!0}),ae.createElement("canvas",{style:{display:"none"},ref:ge}))))})},31707:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return x}});var ve=ye(59301),Fe=ye(44068),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=ye(8591),de=ye(95237),le=Object.defineProperty,oe=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,re=(b,z,ee)=>z in b?le(b,z,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[z]=ee,ne=(b,z)=>{for(var ee in z||(z={}))ue.call(z,ee)&&re(b,ee,z[ee]);if(se)for(var ee of se(z))ae.call(z,ee)&&re(b,ee,z[ee]);return b},te=(b,z)=>oe(b,ie(z)),a=(b,z,ee)=>new Promise((ce,he)=>{var pe=Se=>{try{ge(ee.next(Se))}catch(Ae){he(Ae)}},fe=Se=>{try{ge(ee.throw(Se))}catch(Ae){he(Ae)}},ge=Se=>Se.done?ce(Se.value):Promise.resolve(Se.value).then(pe,fe);ge((ee=ee.apply(b,z)).next())}),x=({description:b,code:z,showData:ee={},sendParams:ce={},allShow:he=!1})=>{const pe=[{img:ye(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:ye(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:z,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:ye(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:z,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:ye(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:z,show:ee==null?void 0:ee.ai_guidance,type:3}],fe=ge=>{const{setChatData:Se,setLoading:Ae,getData:be,clearStatus:Ee,typing:we,setImageGenerator:xe,renderChatItems:Ce,setSceneAwareness:Pe}=ge;let Ie=pe;return he||(Ie=pe.filter(Le=>Le.show)),ve.createElement("div",{className:`${E.bigTips} mt10`},Ie.map((Le,Re)=>ve.createElement("div",{onClick:()=>a(void 0,null,function*(){if(we){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Pe(!1),xe(!1),Ae(!0),Ee();const je=Ce(Le.query);je[0].show=!1,je[1].imageGenerator=!1,Se(je),be("",ne({type:Le.type,description:Le.description,query:Le.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Re,className:E.item},ve.createElement(de.Z,{align:"middle"},ve.createElement("img",{className:"mr10",src:Le.img}),ve.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Le.name)),ve.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Le.des))))};return ve.createElement(Fe.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:he?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ve.createElement(ve.Fragment,null,ve.createElement("div",{className:"c-grey-333 font22"},ve.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"),ve.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"),ve.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return $t}});var ve=ye(59301),Fe=ye(8591),E=ye(54580),me=ye(43418),de=ye(6848),le=ye(92832),oe=ye(3113),ie=ye(71418),se=ye(64165),ue=ye(14478),ae=ye(43428),re=ye(38854),ne=ye(92310),te=ye.n(ne),a=ye(46739),y=ye(77596),x=ye(93772),b=ye(14179),z=ye(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ce=ye(11611),he=ye(35328),pe=ye(30084),fe=ye(50304),ge=ye(59301),Se=Object.defineProperty,Ae=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,we=(Tt,wt,jt)=>wt in Tt?Se(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,xe=(Tt,wt)=>{for(var jt in wt||(wt={}))be.call(wt,jt)&&we(Tt,jt,wt[jt]);if(Ae)for(var jt of Ae(wt))Ee.call(wt,jt)&&we(Tt,jt,wt[jt]);return Tt},Ce=(Tt,wt)=>{var jt={};for(var yn in Tt)be.call(Tt,yn)&&wt.indexOf(yn)<0&&(jt[yn]=Tt[yn]);if(Tt!=null&&Ae)for(var yn of Ae(Tt))wt.indexOf(yn)<0&&Ee.call(Tt,yn)&&(jt[yn]=Tt[yn]);return jt},Ie=({onFinish:Tt,value:wt,streamingStatus:jt,cancelIndex:yn,loadImage:wn})=>{const[Xn,Kn]=(0,ve.useState)(""),[Ut,fn]=(0,ve.useState)(0),[tr,_t]=(0,ve.useState)(!1),en=Hn=>Hn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Kt=()=>{_t(!0),Tt==null||Tt()};return(0,ve.useEffect)(()=>{const Hn=wn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +!(function(){var $i=Object.defineProperty,es=Object.defineProperties;var ts=Object.getOwnPropertyDescriptors;var Lo=Object.getOwnPropertySymbols;var hi=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable;var gi=(ut,rt,ye)=>rt in ut?$i(ut,rt,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ut[rt]=ye,ka=(ut,rt)=>{for(var ye in rt||(rt={}))hi.call(rt,ye)&&gi(ut,ye,rt[ye]);if(Lo)for(var ye of Lo(rt))pi.call(rt,ye)&&gi(ut,ye,rt[ye]);return ut},Qo=(ut,rt)=>es(ut,ts(rt));var mi=(ut,rt)=>{var ye={};for(var ve in ut)hi.call(ut,ve)&&rt.indexOf(ve)<0&&(ye[ve]=ut[ve]);if(ut!=null&&Lo)for(var ve of Lo(ut))rt.indexOf(ve)<0&&pi.call(ut,ve)&&(ye[ve]=ut[ve]);return ye};(self.webpackChunk=self.webpackChunk||[]).push([[4105,6270],{87169:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return ie}});var ve=ye(92413),Fe=ye(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"},me=E,de=ye(7657),le=function(ue,ae){return Fe.createElement(de.Z,(0,ve.Z)({},ue,{ref:ae,icon:me}))},oe=Fe.forwardRef(le),ie=oe},11724:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return ie}});var ve=ye(92413),Fe=ye(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},me=E,de=ye(7657),le=function(ue,ae){return Fe.createElement(de.Z,(0,ve.Z)({},ue,{ref:ae,icon:me}))},oe=Fe.forwardRef(le),ie=oe},88010:function(ut,rt){"use strict";rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(ut,rt){"use strict";rt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},64790:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));rt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},39775:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ut,rt,ye){"use strict";var ve=ye(59301),Fe=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ae)=>ue in se?Fe(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):se[ue]=ae,oe=(se,ue)=>{for(var ae in ue||(ue={}))me.call(ue,ae)&&le(se,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&le(se,ae,ue[ae]);return se};const ie=se=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function ut(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(ut.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(ut.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(ut.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(ut.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 ut))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 rt=[];function ye(te,a){var y=rt.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ve(){var te=rt.pop();return te===void 0?new go.Point:te}function Fe(te){rt.push(te)}function E(te,a,y,x,b,z,ee,ce,he){he||(he=new go.Point);var pe=te-y,fe=b-ee,ge=NaN,Se=NaN;if(pe===0)if(fe===0)te===y&&(ge=te,Se=a);else{var Ae=(z-ce)/fe,be=z-Ae*b;ge=te,Se=Ae*ge+be}else if(fe===0){var Ee=(a-x)/pe,we=a-Ee*te;ge=b,Se=Ee*ge+we}else{var Ee=(a-x)/pe,Ae=(z-ce)/fe,we=a-Ee*te,be=z-Ae*b;ge=(be-we)/(Ee-Ae),Se=Ee*ge+we}return he.x=ge,he.y=Se,he}function me(te,a,y,x,b,z,ee,ce,he,pe,fe,ge,Se,Ae){var be=1-he,Ee=he,we=te*be+y*Ee,xe=a*be+x*Ee,Ce=y*be+b*Ee,Pe=x*be+z*Ee,Ie=b*be+ee*Ee,Le=z*be+ce*Ee,Re=we*be+Ce*Ee,je=xe*be+Pe*Ee,Je=Ce*be+Ie*Ee,qe=Pe*be+Le*Ee,Ke=Re*be+Je*Ee,_e=je*be+qe*Ee;pe.x=we,pe.y=xe,fe.x=Re,fe.y=je,ge.x=Ke,ge.y=_e,Se.x=Je,Se.y=qe,Ae.x=Ie,Ae.y=Le}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ut("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,z=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&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),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=de,b.spot2=le,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 ut("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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),z.spot1=de,z.spot2=le,z.defaultStretch=go.GraphObject.Uniform,z}),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 ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ut("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 z=x%360;z<0&&(z+=360);var ee=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,z,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ut("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ut("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ut("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 z=a/2,ee=y/2,ce=Math.atan2(y,a),he=x-Math.min(Math.cos(ce)*x/2,z),pe=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,fe=new go.PathFigure(he,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-he,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,pe)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-pe)),fe.add(new go.PathSegment(go.PathSegment.Line,a-he,y)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,he,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-pe)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ut("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,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ut("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ut("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 z=.2,ee=.3,ce=0,he=z*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+ce)*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee)*a,(.5-he+ce)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee+.05)*a,(.5-he+ce-.02)*y)),z=.2,ee=0,ce=-.3,he=z*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+ce)*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee)*a,(.5-he+ce)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+ce)*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee)*a,(.5-he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),z=.2,ee=-.3,ce=0,he=z*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+ce)*y,(1-.5+z+ee-.05)*a,(.5-he+ce-.02)*y,(.5+he+ee)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+ce)*y,(.5-he+ee)*a,(.5-z+ce)*y,(.5-z+ee)*a,(.5-he+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+ce)*y,(.5-z+ee)*a,(.5+he+ce)*y,(.5-he+ee)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+he+ee)*a,(.5+z+ce)*y,(.5+z+ee)*a,(.5+he+ce)*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 z=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ee+z)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).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,z=.5,ee=.5,ce=.5,he=new go.PathFigure(ee*a,(ce-z)*y);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),z=.4,b=oe*.4;var pe=ve(),fe=ve(),ge=ve(),Se=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.42,pe,fe,ge,Se,Se);var Ae=ve(),be=ve(),Ee=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.58,Se,Se,Ee,Ae,be);var we=ve(),xe=ve(),Ce=ve();me(ee,ce+z,ee-b,ce+z,ee-z,ce+b,ee-z,ce,.42,we,xe,Ce,Se,Se);var Pe=ve(),Ie=ve(),Le=ve();return me(ee,ce+z,ee-b,ce+z,ee-z,ce+b,ee-z,ce,.58,Se,Se,Le,Pe,Ie),he.add(new go.PathSegment(go.PathSegment.Move,Le.x*a,Le.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,Pe.x*a,Pe.y*y,Ie.x*a,Ie.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,fe.x*a,fe.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,Le.x*a,Le.y*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,Ce.x*a,Ce.y*y)),he.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,Ae.x*a,Ae.y*y,be.x*a,be.y*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,we.x*a,we.y*y,xe.x*a,xe.y*y).close()),Fe(pe),Fe(fe),Fe(ge),Fe(Se),Fe(Ae),Fe(be),Fe(Ee),Fe(we),Fe(xe),Fe(Ce),Fe(Pe),Fe(Ie),Fe(Le),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 ut("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,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.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,z=.4,ee=.5,ce=.5,he=ve(),pe=ve(),fe=ve(),ge=ve(),Se=new go.PathFigure((ee-z)*a,ce*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.44,fe,ge,pe,he,he),Se.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y));var Ae=ye(pe.x,pe.y);me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.56,he,he,pe,fe,ge);var be=ye(pe.x,pe.y);Se.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*a,Ae.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ae.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,(be.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),z=.35,b=oe*.35;var Ee=new go.PathFigure(ee*a,(ce-z)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y));var we=new go.PathFigure((ee-z)*a,ce*y,!1);return x.add(we),Fe(he),Fe(pe),Fe(fe),Fe(ge),Fe(Ae),Fe(be),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,z=0,ee=-.125,ce=b*oe,he=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+ce+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-ce+ee)*y,(.5+ce+z)*a,(.5-b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+ce+ee)*y,(.5-ce+z)*a,(.5+b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),he.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),he.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,ce=b*oe;var he=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+ce+ee)*y,(.5+ce+z)*a,(.5+b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+ce+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-ce+ee)*y));var he=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(he),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 ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ut("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 z=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,he=new go.Geometry,pe=new go.PathFigure(0,ee,!0);he.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),he.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,z/a,1,1,.5,ve());return he.spot2=new go.Spot(fe.x,fe.y),Fe(fe),he}),go.Shape.setFigureParameter("Arrow2",0,new ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ut("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 z=a-x,ee=(y-b)/2,ce=ee+b,he=new go.Geometry,pe=new go.PathFigure(0,ee,!0);he.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),he.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,z/a,1,1,.5,ve());return he.spot2=new go.Spot(fe.x,fe.y),Fe(fe),he}),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 ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var he=E(0,.5,.3,0,0,b/y,.1,b/y,ve());return ee.spot1=new go.Spot(he.x,he.y),he=E(.7,1,1,.5,0,z/y,1,z/y,he),ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ut("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 z=(y-x)/2,ee=z+x,ce=(y-b)/2,he=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,ce=0,he=y):(z=0,ee=y,ce=0,he=y));var pe=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);pe.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var ge=E(0,.5,.3,ce/y,0,z/y,1,z/y,ve());return pe.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,he/y,1,.5,0,ee/y,1,ee/y,ge),pe.spot2=new go.Spot(ge.x,ge.y),Fe(ge),pe}),go.Shape.setFigureParameter("IBeamArrow",0,new ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ut("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 z=(y-x)/2,ee=z+x,ce=(y-b)/2,he=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,ce=0,he=y):(z=0,ee=y,ce=0,he=y));var pe=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);pe.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,he)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),pe.spot1=new go.Spot(0,z/y);var ge=E(.7,he/y,1,.5,0,ee/y,1,ee/y,ve());return pe.spot2=new go.Spot(ge.x,ge.y),Fe(ge),pe}),go.Shape.setFigureParameter("Pointer",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Fe(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Fe(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ut("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,z=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ut("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,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var he=E(.7,1,1,.5,0,z/y,1,z/y,ve());return ee.spot2=new go.Spot(he.x,he.y),Fe(he),ee}),go.Shape.setFigureParameter("SquareArrow",0,new ut("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,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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,z=oe*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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 z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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 z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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,z=oe*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+z)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*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,z=oe*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,oe*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-oe*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-z)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*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,z=oe*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-oe*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,oe*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*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,z=oe*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-oe*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,oe*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*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 z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.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 z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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,z=.1,ee=oe*b,ce=oe*z,he=.5,pe=.1,fe=new go.PathFigure(he*a,(pe+z)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-b)*a,pe*y,(he-ee)*a,(pe+z)*y,(he-b)*a,(pe+ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-z)*y,(he-b)*a,(pe-ce)*y,(he-ee)*a,(pe-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+b)*a,pe*y,(he+ee)*a,(pe-z)*y,(he+b)*a,(pe-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+z)*y,(he+b)*a,(pe+ce)*y,(he+ee)*a,(pe+z)*y));var ge=.05,Se=oe*ge;he=.05,pe=.25;var Ae=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),he=.95,pe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,pe*y,(he+Se)*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,Se=oe*ge,he=.825,pe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,Se=oe*ge,he=.5,pe=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,Se=oe*ge,he=.175,pe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he+ge)*a,(pe-Se)*y,(he+Se)*a,(pe-ge)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-Se)*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,Se=oe*ge,he=.05,pe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he-ge)*a,(pe-Se)*y,(he-Se)*a,(pe-ge)*y)),Ae.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 ut("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,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.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 z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,z=oe*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*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,z=oe*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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 z=oe*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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 z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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 z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=oe*.5,ce=.5,he=new go.PathFigure(a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var pe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),pe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*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 z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.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,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 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,b*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.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 z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),z.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 z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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 z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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 z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(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,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(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,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.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 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 ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.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 z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 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,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.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,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.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,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,z*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var he=new go.PathFigure(.8*a,.75*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),he.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,z=.1,ee=.9,ce=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var pe=new go.PathFigure((ee+z)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce-z)*y,(ee+z)*a,(ce-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,z=oe*.4,ee=oe*.1,ce=.1,he=.9,pe=.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+z)*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-z)*y));var ge=new go.PathFigure((he+ce)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,pe*y,(he-ee)*a,(pe+ce)*y,(he-ce)*a,(pe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,pe*y,(he+ee)*a,(pe-ce)*y,(he+ce)*a,(pe-ee)*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,z=oe*b,ee=0,ce=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=oe*.1,ee=.9,ce=.5;var pe=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*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,z=oe*b,ee=0,ce=.5,he=new go.PathFigure(0,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(ce-b)*y,.8*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+z)*y,(ee+z+z)*a,(ce+b)*y)),he.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,z=oe*b,ee=.2,ce=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=oe*.1,ee=.9,ce=.5;var fe=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*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,z=oe*b,ee=.2,ce=.5,he=new go.PathFigure(.1*a,0,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.2*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(ce-b)*y,.9*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.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,z=.1,ee=.1,ce=.5,he=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,z=.5,ee=.5,ce=.5,he=new go.PathFigure((ee-z)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-z)*y,(ee-z)*a,(ce-b)*y,(ee-b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce-z)*y,(ee+z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,ce*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,ce*y,ee*a,(ce-z)*y,ee*a,(ce+z)*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,z=y;a=a*.38,y=y*.6;var ee=oe*.8,ce=.8,he=0,pe=.5,fe=(b-a)/2,ge=(z-y)/2,Se=new go.PathFigure(he*a+fe,(pe+ce)*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce+ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe-ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe+ee)*y+ge,he*a+fe,(pe+ce)*y+ge).close()),ee=oe*.4,ce=.4,he=.2,pe=.5;var Ae=new go.PathFigure(he*a+fe,(pe+ce)*y+ge,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce+ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe-ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe-ee)*y+ge)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he-ce+ee*.5)*a+fe,(pe+ee)*y+ge,he*a+fe,(pe+ce)*y+ge).close()),ee=oe*.2,ce=.2,he=.5,pe=.5;var be=new go.PathFigure((he-ce)*a+fe,pe*y+ge,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he-ce)*a+fe,(pe-ee)*y+ge,(he-ee)*a+fe,(pe-ce)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a+fe,pe*y+ge,(he-ee)*a+fe,(pe+ce)*y+ge,(he-ce)*a+fe,(pe+ee)*y+ge)),ee=oe*.4,ce=.4,he=.8,pe=.5;var Ee=new go.PathFigure(he*a+fe,(pe-ce)*y+ge,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce-ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe+ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe+ee)*y+ge)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe-ee)*y+ge,he*a+fe,(pe-ce)*y+ge).close()),ee=oe*.8,ce=.8,he=1,pe=.5;var we=new go.PathFigure(he*a+fe,(pe-ce)*y+ge,!0);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a+fe,pe*y+ge,(he+ee)*a+fe,(pe-ce)*y+ge,(he+ce)*a+fe,(pe-ee)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe+ce)*y+ge,(he+ce)*a+fe,(pe+ee)*y+ge,(he+ee)*a+fe,(pe+ce)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce-ee*.5)*a+fe,pe*y+ge,he*a+fe,(pe+ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe+ee)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,he*a+fe,(pe-ce)*y+ge,(he+ce-ee*.5)*a+fe,(pe-ee)*y+ge,he*a+fe,(pe-ce)*y+ge).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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.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 z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,z=.4,ee=.5,ce=.5,he=ve(),pe=ve(),fe=ve(),ge=ve();me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.5,he,he,pe,fe,ge);var Se=ye(pe.x,pe.y),Ae=new go.PathFigure(pe.x*a,pe.y*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee+z)*a,(ce+b)*y,(ee+b)*a,(ce+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,(ee-b)*a,(ce+z)*y,(ee-z)*a,(ce+b)*y)),me(ee-z,ce,ee-z,ce-b,ee-b,ce-z,ee,ce-z,.5,fe,ge,pe,he,he),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),b=oe*.3,z=.3,me(ee-z,ce,ee-z,ce-b,ee-b,ce-z,ee,ce-z,.5,fe,ge,pe,he,he),Ae.add(new go.PathSegment(go.PathSegment.Line,pe.x*a,pe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,ce*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+z)*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,ce*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),me(ee,ce-z,ee+b,ce-z,ee+z,ce-b,ee+z,ce,.5,he,he,pe,fe,ge),Ae.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y).close());var Ae=new go.PathFigure(.45*a,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Fe(he),Fe(pe),Fe(fe),Fe(ge),Fe(Se),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 z(ee,ce,he){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+he)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+he)*y).close())}return z(b,0,0),z(b,.4,0),z(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,z=0,ee=0,ce=b*oe,he=.4*Math.SQRT2/2+.5,pe=.5-.5*Math.SQRT2/2,fe=1,ge=.5,Se=.5,Ae=0,be=new go.PathFigure(he*a,(1-pe)*y,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,ge*y,fe*a,.7*y,fe*a,ge*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se+z)*a,(Ae+z)*y,(.5+b+z)*a,(.5-ce+z)*y,(.5+ce+z)*a,(.5-b+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-ce+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-ce+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ce+ee)*y,(.5-ce+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.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 z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,he=ee,pe=Math.PI/4,fe=4*(1-Math.cos(pe))/(3*Math.sin(pe)),ge=fe*.5,Se=ee,Ae=ee,be=fe*Se,Ee=fe*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Se)*a,he*y,(ce-(be+Se)/2)*a,(he+(Ae+Ee)/2)*y,(ce-Se)*a,(he+Ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-Ae)*y,(ce-Se)*a,(he-Ee)*y,(ce-be)*a,(he-Ae)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Se)*a,he*y,(ce+be)*a,(he-Ae)*y,(ce+Se)*a,(he-Ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+Se)*a,(he+Ee)*y,(ce+(be+Se)/2)*a,(he+(Ae+Ee)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var we=new go.PathFigure(.2*a,y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var xe=new go.PathFigure(.8*a,y,!1);return x.add(xe),xe.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 z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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 z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,z=oe*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(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 z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.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 z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=oe*.1,he=.2,pe=.9,fe=new go.PathFigure((he-ee)*a,pe*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ee)*a,pe*y,(he+ce)*a,(pe-ee)*y,(he+ee)*a,(pe-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ee)*a,pe*y,(he-ce)*a,(pe+ee)*y,(he-ee)*a,(pe+ce)*y).close()),ee=.1,ce=oe*.1,he=.8,pe=.9;var ge=new go.PathFigure((he-ee)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ee)*y,(he-ee)*a,(pe-ce)*y,(he-ce)*a,(pe-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ee)*a,pe*y,(he+ce)*a,(pe-ee)*y,(he+ee)*a,(pe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ee)*y,(he+ee)*a,(pe+ce)*y,(he+ce)*a,(pe+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ee)*a,pe*y,(he-ce)*a,(pe+ee)*y,(he-ee)*a,(pe+ce)*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 z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var he=.1,pe=oe*.1,fe=.1,ge=.9,Se=new go.PathFigure((fe-he)*a,ge*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-pe)*y,(fe-pe)*a,(ge-he)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+pe)*a,(ge-he)*y,(fe+he)*a,(ge-pe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+he)*y,(fe+he)*a,(ge+pe)*y,(fe+pe)*a,(ge+he)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-pe)*a,(ge+he)*y,(fe-he)*a,(ge+pe)*y)),he=.1,pe=oe*.1,fe=.4,ge=.9;var Ae=new go.PathFigure((fe-he)*a,ge*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-pe)*y,(fe-pe)*a,(ge-he)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+pe)*a,(ge-he)*y,(fe+he)*a,(ge-pe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+he)*y,(fe+he)*a,(ge+pe)*y,(fe+pe)*a,(ge+he)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-pe)*a,(ge+he)*y,(fe-he)*a,(ge+pe)*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 z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,ge=oe*.05,Se=.175,Ae=.95,ce=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.375,Ae=.95,he=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.625,Ae=.95,pe=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*y));var fe=.05,ge=oe*.05,Se=.825,Ae=.95,be=new go.PathFigure((Se-fe)*a,Ae*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae-fe)*y,(Se-fe)*a,(Ae-ge)*y,(Se-ge)*a,(Ae-fe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se+fe)*a,Ae*y,(Se+ge)*a,(Ae-fe)*y,(Se+fe)*a,(Ae-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(Ae+fe)*y,(Se+fe)*a,(Ae+ge)*y,(Se+ge)*a,(Ae+fe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Se-fe)*a,Ae*y,(Se-ge)*a,(Ae+fe)*y,(Se-fe)*a,(Ae+ge)*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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,he=oe*.05,pe=.35,fe=.775,ge=new go.PathFigure((pe-ce)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ce)*y,(pe-ce)*a,(fe-he)*y,(pe-he)*a,(fe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ce)*a,fe*y,(pe+he)*a,(fe-ce)*y,(pe+ce)*a,(fe-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ce)*y,(pe+ce)*a,(fe+he)*y,(pe+he)*a,(fe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ce)*a,fe*y,(pe-he)*a,(fe+ce)*y,(pe-ce)*a,(fe+he)*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,z=oe*.3,ee=.5,ce=.7,he=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y));var pe=new go.PathFigure(0,.7*y,!1);return x.add(pe),pe.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 z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.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,z=oe*.5,ee=.5,ce=.5,he=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y));var pe=new go.PathFigure(.15*a,.5*y,!1);return x.add(pe),pe.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,z=oe*.5,ee=.5,ce=.5,he=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y).close()),b=.05,z=oe*.05,ee=.5,ce=.8;var pe=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-z)*y,(ee-z)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+z)*a,(ce-b)*y,(ee+b)*a,(ce-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+z)*y,(ee+z)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-z)*a,(ce+b)*y,(ee-b)*a,(ce+z)*y).close()),pe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),pe.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.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 z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.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 z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var he=new go.PathFigure(.5*a,.1*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),he.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 z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var he=new go.PathFigure(a*.816,y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),he.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 z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var he=new go.PathFigure(a*1,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),he.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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var he=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),he.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),he.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,z=b*oe,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var he=new go.PathFigure(a*.83,y*1,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),he.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var pe=new go.PathFigure(a*.78,y*.05,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),pe.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,z=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ce.add(new go.PathSegment(go.PathSegment.Line,x,z)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(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 z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.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 z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,z=b*oe,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ut={},rt="5.0",ye={},ve=null,Fe=!1,E=!1,me=null,de=!1,le=null,oe=null,ie=0;ie4?parseFloat(Ge):5};ut.setHTML5Codebase=function(Ge,ke){oe=Ge,qe(Ge,ke)},ut.setJavaCodebase=ut.setJavaCodebaseVersion=ut.isCompiledInstalled=ut.setPreCompiledScriptPath=ut.setPreCompiledResourcePath=function(){},ut.setHTML5CodebaseVersion=function(Ge,ke){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,ke)},ut.getHTML5CodebaseVersion=function(){return te},ut.getParameters=function(){return ye},ut.setFontsCSSURL=function(Ge){ee=Ge},ut.setGiacJSURL=function(Ge){},ut.setJNLPFile=function(Ge){ue=Ge},ut.setJNLPBaseDir=function(Ge){},ut.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=ye.id,Xe,Ze=!1,nt=0;nt=5)return!0;var Ge=ut.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ut.startAnimation=function(){var Ge=ut.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ut.stopAnimation=function(){var Ge=ut.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ut.getAppletObject=function(){var Ge=ye.id!==void 0?ye.id:"ggbApplet";return window[Ge]},ut.resize=function(){};var be=function(Ge,ke,Ne){var Xe=document.createElement("param");Xe.setAttribute("name",ke),Xe.setAttribute("value",Ne),Ge.appendChild(Xe)},Ee=function(Ge){return Ge&&Ge!=="false"},we=function(Ge,ke,Ne){he(te)<=4.2&&(Ne=!0);var Xe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Xe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ze=document.createElement("div");Ze.classList.add("appletParameters","notranslate");var nt=ke.width,He=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(he(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,nt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),nt=5?(ke.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(De),window.GGBT_wsf_view&&$(window).trigger("resize"),Qe($e)},Ve||De.appendChild(it)):Ze.appendChild(it),De.appendChild(Ze),Ve||Ge.appendChild(De),setTimeout(function(){ut.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(Ze),Ge.appendChild(et),ke.appletOnLoad=function($e){ut.resize(),Qe($e)}}function Ye($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Oe($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(ft){Ye(ft.article,ft.params)}),html5AppletsToProcess=null)},he(te)<5&&($e.className+=" geogebraweb")):Ye($e,tt)}if(Xe){scriptLoadStarted=!0;for(var Be=0;Be0?(Te.remove(),De.attr("id","fullscreencontent").show(),jQuery(Qe).append(De),window.dispatchEvent(new Event("resize"))):we(Te,ke,!1),window.GGBT_wsf_view.launchFullScreen(Qe)}else ne=Xe,we(Ge,ke,!1);if(!window.GGBT_wsf_view)for(He=0;HeGe/4*3&&(Te=Ge/4*3),Qe=Te/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Te),Ue.setAttribute("height",Qe);var De=(Ge-Te)/2,Ve=(ke-Qe)/2;Ue.style.left=De+"px",Ue.style.top=Ve+"px",Ze.appendChild(Ue)}}return Ze.appendChild(He),Ze},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,ke){if(te=Ge,ke){qe(te,!0);return}var Ne=!Fe;if(Ne){var Xe=he(te);!isNaN(Xe)&&Xe<4.4&&(Ne=!1)}var Ze,nt;window.location.protocol.substr(0,4)==="http"?Ze=window.location.protocol:Ze="http:";var He=te.indexOf("//");He>0?nt=te:He===0?nt=Ze+te:nt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in je)if(te.slice(je[Ue].length*-1)===je[Ue]||te.slice((je[Ue].length+1)*-1)===je[Ue]+"/"){qe(nt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ve.is3D&&!ve.AV&&!ve.SV&&!ve.CV&&!ve.EV2&&!ve.CP&&!ve.PC&&!ve.DA&&!ve.FI&&!ve.PV&&!Ee(ye.showToolBar)&&!Ee(ye.showMenuBar)&&!Ee(ye.showAlgebraInput)&&!Ee(ye.enableRightClick)&&(!ye.appName||ye.appName=="classic")?nt+="webSimple/":nt+="web3d/",qe(nt,!1)},qe=function(Ge,ke){if(Ge.requirejs){ae=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ae=Ge,ke===null&&(ke=Ge.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Xe=parseFloat(te);Xe!==NaN&&Xe<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Xe+" is deprecated. Using version latest instead."),Je("5.0",ke))},Ke=function(Ge,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ge)};ye.material_id!==void 0?ge(_e):_e();function _e(){var Ge=rt;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),oe!==null&&qe(oe,re),de=!0}return ut},GGBAppletUtils=function(){"use strict";function ut(){return window.GGBT_wsf_edit!==void 0}function rt(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ye(de,le,oe,ie,se,ue){var ae=null;if(ue!=null&&ue!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ue+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,z=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),de){var ee=de.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return de&&((oe===void 0||!oe)&&le>0&&le+y1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=ve(de,le,ue,oe,de.scaleContainerClass);else return ie;return ue&&(!de.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),se=(le-ie.width)/2,ue=(oe-ie.height)/2;ue<0&&(ue=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?de.style.top="40px":de.style.top=ue+"px",de.style.left=se+"px")}function me(de,le){var oe=de.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=Fe(le,de);ut()&&oe.setAttribute("data-param-scale",ie);for(var se=null,ue=0;ue=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(ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ut){var rt=c[ut];return rt==null?null:rt},r=d,webModule.__errFn=e}function B(){function ut(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var oe=de.indexOf(sb);oe==-1&&(oe=de.length);var ie=de.lastIndexOf(tb,Math.min(oe,le));return ie>=O?de.substring(O,ie+P):W}function rt(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ut(le.src)}return de}function ye(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function ve(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=ye();return me==W&&(me=ve()),me==W&&(me=Fe()),me==W&&E()&&(me=ut(o.location.href)),me=rt(me),me}function C(ut){return ut.match(/^\//)||ut.match(/^[a-zA-Z]+:\/\//)?ut:webModule.__moduleBase+ut}function D(){var ut=[],rt=O,ye=[],ve=[];function Fe(de){var le=ve[de](),oe=ye[de];if(le in oe)return le;var ie=[];for(var se in oe)ie[oe[se]]=se;throw r&&r(de,ie,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in ye[de]},webModule.__getPropMap=function(){var de={};for(var le in ye)ye.hasOwnProperty(le)&&(de[le]=Fe(le));return de},webModule.__computePropValue=Fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(rt=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}return webModule.__softPermutationId=rt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ut,rt,ye){"use strict";ye.d(rt,{Ax:function(){return me},Ds:function(){return de},KI:function(){return oe},SI:function(){return E},f1:function(){return Fe}});var ve=ye(3294);function Fe(ie){let se=!0;if(ie.length>0){for(let ue=0;uey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ue=(a,y)=>{for(var x in y||(y={}))oe.call(y,x)&&se(a,x,y[x]);if(le)for(var x of le(y))ie.call(y,x)&&se(a,x,y[x]);return a},ae=(a,y)=>me(a,de(y)),re=(a,y)=>{var x={};for(var b in a)oe.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&le)for(var b of le(a))y.indexOf(b)<0&&ie.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,z)=>{var ee=pe=>{try{he(x.next(pe))}catch(fe){z(fe)}},ce=pe=>{try{he(x.throw(pe))}catch(fe){z(fe)}},he=pe=>pe.done?b(pe.value):Promise.resolve(pe.value).then(ee,ce);he((x=x.apply(a,y)).next())});const te=a=>{var y=a,{children:x}=y,b=re(y,["children"]);const[z,ee]=(0,Fe.useState)(!1);return Fe.createElement(ve.ZP,ae(ue({},b),{loading:z,onClick:ce=>ne(void 0,null,function*(){try{ee(!0),yield b.onClick(ce),ee(!1)}catch(he){console.error(he),ee(!1)}})}),x)}},53813:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return a}});var ve=ye(59301),Fe=ye(89070),E=ye(8591),me=ye(99064),de=ye(1012),le=ye(81939),oe=ye(47257),ie=ye.n(oe),se={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},ue=ye(75730),ae=ye(59301),re=(y,x,b)=>new Promise((z,ee)=>{var ce=fe=>{try{pe(b.next(fe))}catch(ge){ee(ge)}},he=fe=>{try{pe(b.throw(fe))}catch(ge){ee(ge)}},pe=fe=>fe.done?z(fe.value):Promise.resolve(fe.value).then(ce,he);pe((b=b.apply(y,x)).next())});const ne=function(x,b){const z=x.split(","),ee=z[0].match(/:(.*?);/)[1],ce=atob(z[1]);let he=ce.length;const pe=new Uint8Array(he);for(;he--;)pe[he]=ce.charCodeAt(he);return new Blob([pe],{type:ee})};var a=(0,ve.forwardRef)(({time:y,number:x,supportCamera:b,take_photo:z,isExercise:ee=!0,update:ce,onUserMediaLoaded:he},pe)=>{const fe=(0,ve.useRef)(),ge=(0,ve.useRef)(),Se=(0,Fe.useParams)();let[Ae,be]=(0,ve.useState)([]),[Ee,we]=(0,ve.useState)(0);const[xe,Ce]=(0,ve.useState)("");let[Pe,Ie]=(0,ve.useState)();const[Le,Re]=(0,ve.useState)(0),je=(nt,He)=>re(void 0,null,function*(){return(0,me.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:nt,file:He}})}),Je=nt=>re(void 0,null,function*(){const He=new Date().valueOf();if(nt){const Ue=yield je(`\u7167\u7247${He}`,nt);Ue.status||(yield(0,ue.Ju)({container_id:Se.categoryId,container_type:"Exercise",attachment_id:Ue==null?void 0:Ue.id}))}});(0,ve.useEffect)(()=>(_e(),()=>{Xe(),qe()}),[]),(0,ve.useEffect)(()=>{Ee===2&&y&&x>0&&(Ke(),Re(1))},[y]),(0,ve.useEffect)(()=>{if(Le!==0){if(Le===2)clearInterval(Pe);else{let nt=0,He=setInterval(()=>{Ae.includes(nt)&&Ge(),nt++},1e3);Ie(He)}return()=>clearInterval(Pe)}},[Le]),(0,ve.useImperativeHandle)(pe,()=>({handlePhoto:Ge,handleTakePhoto:ke}));const qe=()=>{Re(2)},Ke=()=>{const nt=y/x,He=[];function Ue(Te,Qe){return parseInt(Math.floor(Math.random()*(Qe-Te+1))+Te)}new Array(x).fill(0).map((Te,Qe)=>{z?He.push(Ue(nt*Qe,nt*(Qe+1))):Qe==0?He.push(0):He.push(Ue(nt*Qe,nt*(Qe+1)))}),Ae=He,be([...He]),console.log(He)},_e=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(nt){const He=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return He?new Promise(function(Ue,Te){He.call(navigator,nt,Ue,Te)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(nt){Ne.current=nt,b&&b(2),we(2),"srcObject"in fe.current?fe.current.srcObject=nt:fe.current.src=window.URL.createObjectURL(nt),fe.current.onloadedmetadata=function(He){fe.current.play(),he&&he()},fe.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),qe(),ee&&E.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(nt){we(1),b&&b(1),nt.message==="Permission denied"||nt.name==="NotAllowedError"?E.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):E.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+nt.name),console.log("err: "+nt.message)})},Ge=()=>{try{ge.current.width=fe.current.videoWidth,ge.current.height=fe.current.videoHeight,ge.current.getContext("2d").drawImage(fe.current,0,0,ge.current.width,ge.current.height),Ce(ge.current.toDataURL("image/png")),Je(ge.current.toDataURL("image/png")),Ze(ge.current.toDataURL("image/png"))}catch(nt){}},ke=()=>{try{return ge.current.width=fe.current.videoWidth,ge.current.height=fe.current.videoHeight,ge.current.getContext("2d").drawImage(fe.current,0,0,ge.current.width,ge.current.height),ge.current.toDataURL("image/png")}catch(nt){}},Ne=(0,ve.useRef)(),Xe=()=>{try{Ne.current.getTracks().forEach(function(Ue){Ue.stop()}),fe.current.srcObject=null}catch(nt){}},Ze=nt=>re(void 0,null,function*(){var He,Ue,Te,Qe,De,Ve,it;const et=yield(0,me.ZP)("/api/buckets/get_upload_token.json",{method:"get"});et.data=JSON.parse((0,le.pe)(et.data));const Ye=(0,de.Z)(),Oe=new(ie())({endpoint:(He=et==null?void 0:et.data)==null?void 0:He.end_point,region:(Ue=et==null?void 0:et.data)==null?void 0:Ue.region,accessKeyId:(Te=et==null?void 0:et.data)==null?void 0:Te.access_key_id,accessKeySecret:(Qe=et==null?void 0:et.data)==null?void 0:Qe.access_key_secret,bucket:(De=et==null?void 0:et.data)==null?void 0:De.bucket,stsToken:(Ve=et==null?void 0:et.data)==null?void 0:Ve.security_token}),Be=ne(nt,Ye);Oe.multipartUpload(`${Ye}.png`,Be,{timeout:10*1e3,partSize:10485760,callback:{url:(it=et==null?void 0:et.data)==null?void 0:it.callback_url,host:et==null?void 0:et.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login="+Se.login+"&container_id="+Se.categoryId+"&container_type=Exercise"}}).then(function(Me){console.log("result:",Me)}).catch(function(Me){console.log("err:",Me)})});return ae.createElement(ae.Fragment,null,Ee!==3&&ae.createElement("aside",{className:se.video,id:"screenshot"},Ee===0&&ae.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),Ee===1&&ae.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),Ee===2&&ae.createElement("div",null,ae.createElement("video",{width:"288",ref:fe,autoPlay:!0}),ae.createElement("canvas",{style:{display:"none"},ref:ge}))))})},31707:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return x}});var ve=ye(59301),Fe=ye(44068),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=ye(8591),de=ye(95237),le=Object.defineProperty,oe=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,re=(b,z,ee)=>z in b?le(b,z,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[z]=ee,ne=(b,z)=>{for(var ee in z||(z={}))ue.call(z,ee)&&re(b,ee,z[ee]);if(se)for(var ee of se(z))ae.call(z,ee)&&re(b,ee,z[ee]);return b},te=(b,z)=>oe(b,ie(z)),a=(b,z,ee)=>new Promise((ce,he)=>{var pe=Se=>{try{ge(ee.next(Se))}catch(Ae){he(Ae)}},fe=Se=>{try{ge(ee.throw(Se))}catch(Ae){he(Ae)}},ge=Se=>Se.done?ce(Se.value):Promise.resolve(Se.value).then(pe,fe);ge((ee=ee.apply(b,z)).next())}),x=({description:b,code:z,showData:ee={},sendParams:ce={},allShow:he=!1})=>{const pe=[{img:ye(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:ye(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:z,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:ye(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:z,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:ye(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:z,show:ee==null?void 0:ee.ai_guidance,type:3}],fe=ge=>{const{setChatData:Se,setLoading:Ae,getData:be,clearStatus:Ee,typing:we,setImageGenerator:xe,renderChatItems:Ce,setSceneAwareness:Pe}=ge;let Ie=pe;return he||(Ie=pe.filter(Le=>Le.show)),ve.createElement("div",{className:`${E.bigTips} mt10`},Ie.map((Le,Re)=>ve.createElement("div",{onClick:()=>a(void 0,null,function*(){if(we){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Pe(!1),xe(!1),Ae(!0),Ee();const je=Ce(Le.query);je[0].show=!1,je[1].imageGenerator=!1,Se(je),be("",ne({type:Le.type,description:Le.description,query:Le.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Re,className:E.item},ve.createElement(de.Z,{align:"middle"},ve.createElement("img",{className:"mr10",src:Le.img}),ve.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Le.name)),ve.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Le.des))))};return ve.createElement(Fe.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:he?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ve.createElement(ve.Fragment,null,ve.createElement("div",{className:"c-grey-333 font22"},ve.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"),ve.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"),ve.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ut,rt,ye){"use strict";ye.d(rt,{Z:function(){return $t}});var ve=ye(59301),Fe=ye(8591),E=ye(54580),me=ye(43418),de=ye(6848),le=ye(92832),oe=ye(3113),ie=ye(71418),se=ye(64165),ue=ye(14478),ae=ye(43428),re=ye(38854),ne=ye(92310),te=ye.n(ne),a=ye(93628),y=ye(77596),x=ye(93772),b=ye(14179),z=ye(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ce=ye(11611),he=ye(35328),pe=ye(30084),fe=ye(50304),ge=ye(59301),Se=Object.defineProperty,Ae=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,we=(Tt,wt,jt)=>wt in Tt?Se(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,xe=(Tt,wt)=>{for(var jt in wt||(wt={}))be.call(wt,jt)&&we(Tt,jt,wt[jt]);if(Ae)for(var jt of Ae(wt))Ee.call(wt,jt)&&we(Tt,jt,wt[jt]);return Tt},Ce=(Tt,wt)=>{var jt={};for(var yn in Tt)be.call(Tt,yn)&&wt.indexOf(yn)<0&&(jt[yn]=Tt[yn]);if(Tt!=null&&Ae)for(var yn of Ae(Tt))wt.indexOf(yn)<0&&Ee.call(Tt,yn)&&(jt[yn]=Tt[yn]);return jt},Ie=({onFinish:Tt,value:wt,streamingStatus:jt,cancelIndex:yn,loadImage:wn})=>{const[Xn,Kn]=(0,ve.useState)(""),[Ut,fn]=(0,ve.useState)(0),[tr,_t]=(0,ve.useState)(!1),en=Hn=>Hn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Kt=()=>{_t(!0),Tt==null||Tt()};return(0,ve.useEffect)(()=>{const Hn=wn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${wt}`:wt,$n=en(Hn);if(!tr)if(wn||!jt||yn>0){Kn($n),fn($n.length),(!jt||yn>0)&&!wn&&Kt();return}else if(Ut<$n.length){const gr=$n.length-Ut,dr=setInterval(()=>{Kn($n.slice(0,Ut+2)),fn(qn=>qn+2)},gr>10?Math.max(500/(gr/2),20):50);return()=>clearInterval(dr)}else jt||Kt()},[wt,jt,yn,wn,Ut]),(0,ve.useMemo)(()=>ge.createElement("div",{className:`${ee.answer} fadeIn animated`},ge.createElement(a.UG,{remarkPlugins:[pe.Z],rehypePlugins:[he.Z,x.Z],components:{code(Hn){var $n=Hn,{node:gr,inline:dr,className:qn,children:Sr}=$n,Ar=Ce($n,["node","inline","className","children"]);const Ur=/language-(\w+)/.exec(qn||"");return dr||!Ur?ge.createElement("code",xe({className:qn},Ar),Sr):ge.createElement("div",{className:ee.codeCopy},ge.createElement(z.CopyToClipboard,{text:String(Sr).trim(),onCopy:()=>Fe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ge.createElement("button",null,"\u590D\u5236")),ge.createElement(y.Z,xe({style:b.Z,language:Ur[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ar),String(Sr).trim()))},img({node:Hn}){var $n;return ge.createElement(ce.Z,{src:($n=Hn.properties)==null?void 0:$n.src,width:320,onLoad:()=>wn&&setTimeout(()=>Kt(),500)})}}},jt&&Utnew Promise((yn,wn)=>{var Xn=fn=>{try{Ut(jt.next(fn))}catch(tr){wn(tr)}},Kn=fn=>{try{Ut(jt.throw(fn))}catch(tr){wn(tr)}},Ut=fn=>fn.done?yn(fn.value):Promise.resolve(fn.value).then(Xn,Kn);Ut((jt=jt.apply(Tt,wt)).next())}),qe=({value:Tt="",streamingStatus:wt,onFinish:jt,cancelIndex:yn,time:wn,loading:Xn,loadAll:Kn})=>{const[Ut,fn]=(0,ve.useState)(""),[tr,_t]=(0,ve.useState)(!0),en=(0,ve.useRef)(Tt),Kt=(0,ve.useRef)(wt),Qn=(0,ve.useRef)(0),Hn=(0,ve.useRef)(null),[$n,gr]=(0,ve.useState)(!1),dr=70;(0,ve.useEffect)(()=>{Kt.current=wt},[wt]),(0,ve.useEffect)(()=>{en.current=Tt},[Tt]),(0,ve.useEffect)(()=>{if(!wt){fn(en.current);return}return gr(!0),Hn.current=setInterval(qn,dr),()=>{clearInterval(Hn.current)}},[]),(0,ve.useEffect)(()=>{$n&&(fn(en.current),clearInterval(Hn.current),gr(!1),jt())},[yn]);const qn=()=>je(void 0,null,function*(){const Sr=en.current[Qn.current];Sr!==void 0?(fn(Ar=>Ar+Sr),Qn.current++,clearInterval(Hn.current),Hn.current=setInterval(qn,280/(en.current.length-Qn.current))):Kt.current===!1&&(fn(en.current),clearInterval(Hn.current),gr(!1),jt())});return Re.createElement("div",{className:`${Le.reasoning} fadeIn animated`},Re.createElement("div",{className:Le.btn,onClick:()=>_t(!tr)},Re.createElement("i",{className:"iconfont icon-shendusikao"}),wn?Re.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",wn," \u79D2\uFF09"):Re.createElement("span",null,"\u601D\u8003\u4E2D..."),tr?Re.createElement("b",{className:"iconfont icon-shouqi6"}):Re.createElement("b",{className:"iconfont icon-zhankai6"})),Xn&&Re.createElement(ie.Z,{spinning:!0,className:"mt20"}),tr&&!Xn&&Re.createElement("div",{className:Le.content},Ut,$n?Re.createElement("span",{className:"aiBlink"},"__"):""))},Ke={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},_e=ye(81327),Ge=Object.defineProperty,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ze=(Tt,wt,jt)=>wt in Tt?Ge(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,nt=(Tt,wt)=>{for(var jt in wt||(wt={}))Ne.call(wt,jt)&&Ze(Tt,jt,wt[jt]);if(ke)for(var jt of ke(wt))Xe.call(wt,jt)&&Ze(Tt,jt,wt[jt]);return Tt};const He=Tt=>React.createElement("svg",nt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Tt),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 Ue="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwL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De=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,it=(Tt,wt,jt)=>wt in Tt?Te(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,et=(Tt,wt)=>{for(var jt in wt||(wt={}))De.call(wt,jt)&&it(Tt,jt,wt[jt]);if(Qe)for(var jt of Qe(wt))Ve.call(wt,jt)&&it(Tt,jt,wt[jt]);return Tt};const Ye=Tt=>React.createElement("svg",et({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Tt),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 Oe="data:image/svg+xml;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OTExIDE1LjkxMSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Be=ye(59301),ze=({value:Tt,onChange:wt})=>{const[jt,yn]=(0,ve.useState)(!1),wn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ue},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Oe}],Xn=wn.find(Kn=>Kn.key===Tt);return Be.createElement("div",{className:Ke.select},Be.createElement(_e.Z,{size:10},Be.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Be.createElement("div",{className:Ke.box,onMouseLeave:()=>yn(!1)},Be.createElement("div",{className:Ke.text,onClick:()=>yn(!0)},Be.createElement("img",{src:Xn.img,width:20}),Be.createElement("span",null,Xn.name),Be.createElement("b",{className:"iconfont icon-zhankai6"})),jt&&Be.createElement("div",{className:Ke.itemWrap},Be.createElement("aside",null,wn.map(Kn=>Be.createElement("div",{key:Kn.key,className:`${Ke.item} ${Kn.key===Tt?Ke.active:""}`,onClick:Ut=>{Ut.stopPropagation(),wt(Kn.key),yn(!1)}},Be.createElement("img",{src:Kn.img,width:20}),Be.createElement("span",null,Kn.name))))))))},We={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},at=ye(99064),$e=ye(955),tt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},lt=({src:Tt,onClick:wt,topPercentage:jt=.62,draggableExtraNode:yn})=>{const wn=(0,ve.useRef)(null),Xn=(0,ve.useRef)(!1),Kn=(0,ve.useRef)(!1),[Ut,fn]=(0,ve.useState)(window.innerHeight*jt),[tr,_t]=(0,ve.useState)(!1),en=10;return(0,ve.useEffect)(()=>{if(wn.current){let Kt=function(dr){var qn;Xn.current=!0,gr=dr.pageY,$n=dr.pageY-(((qn=wn.current)==null?void 0:qn.getBoundingClientRect().top)||0),(0,$e.kk)("none"),document.onselectstart=function(){return!1}},Qn=function(){Xn.current&&!Kn.current&&wt&&wt(),Xn.current=!1,Kn.current=!1,(0,$e.kk)("auto"),document.onselectstart=null},Hn=function(dr){var qn;if(Xn.current){const Ar=dr.pageY-$n,Ur=window.innerHeight-(((qn=wn.current)==null?void 0:qn.offsetHeight)||0)-50,Vt=50;if(!Kn.current&&Math.abs(gr-dr.pageY)>en&&(Kn.current=!0),Kn.current){let zr=Math.max(Vt,Math.min(Ar,Ur));fn(zr)}}},$n=0,gr=0;return wn.current.addEventListener("mousedown",Kt),document.addEventListener("mousemove",Hn),document.addEventListener("mouseup",Qn),()=>{var dr,qn;(qn=(dr=wn==null?void 0:wn.current)==null?void 0:dr.removeEventListener)==null||qn.call(dr,"mousedown",Kt),document.removeEventListener("mousemove",Hn),document.removeEventListener("mouseup",Qn)}}},[wt]),(0,ve.useEffect)(()=>{const Kt=()=>{fn(window.innerHeight*jt)};return window.addEventListener("resize",Kt),()=>{window.removeEventListener("resize",Kt)}},[jt]),ve.createElement("div",{className:tt.draggableImage,style:{top:`${Ut}px`,display:tr?"none":"block",cursor:Xn.current?"grabbing":"grab"},ref:wn},yn,ve.createElement("img",{className:tt.img,src:Tt,width:60,draggable:"false"}),ve.createElement("i",{className:`iconfont icon-tupianguanbi ${tt.close}`,onMouseUp:Kt=>{Kt.stopPropagation(),_t(!0)}}))},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpq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fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",yt=ye(3294),At=ye(86204),Pt=ye(85149),Dt=Object.defineProperty,Ot=Object.defineProperties,Ft=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Mn=(Tt,wt,jt)=>wt in Tt?Dt(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,In=(Tt,wt)=>{for(var jt in wt||(wt={}))ln.call(wt,jt)&&Mn(Tt,jt,wt[jt]);if(Yt)for(var jt of Yt(wt))En.call(wt,jt)&&Mn(Tt,jt,wt[jt]);return Tt},bn=(Tt,wt)=>Ot(Tt,Ft(wt)),Wn=(Tt,wt,jt)=>Mn(Tt,typeof wt!="symbol"?wt+"":wt,jt),rr=(Tt,wt,jt)=>new Promise((yn,wn)=>{var Xn=fn=>{try{Ut(jt.next(fn))}catch(tr){wn(tr)}},Kn=fn=>{try{Ut(jt.throw(fn))}catch(tr){wn(tr)}},Ut=fn=>fn.done?yn(fn.value):Promise.resolve(fn.value).then(Xn,Kn);Ut((jt=jt.apply(Tt,wt)).next())});class Cr extends At.EventEmitter{constructor(wt,jt){super(),Wn(this,"url"),Wn(this,"body"),Wn(this,"fullContent",""),Wn(this,"controller",null),this.url=wt,this.body=jt}startStream(){return rr(this,null,function*(){this.controller=new AbortController;const{signal:wt}=this.controller;try{const jt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:wt});if(!jt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${jt.status}`);const yn=jt.headers.get("content-type");if(!yn||!yn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const wn=jt.body.getReader(),Xn=new TextDecoder("utf-8");for(;;){const{done:Kn,value:Ut}=yield wn.read();if(Kn)break;const tr=Xn.decode(Ut,{stream:!0}).split(` `);for(const _t of tr)if(_t.startsWith("data:")){let en=(0,Pt.z)(_t.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(en==="[DONE]")break;try{const Kt=JSON.parse(en);Kt.data&&this.handleData(bn(In({},Kt.data),{content:Kt.data.content.replace(/\\\\/g,"\\")}))}catch(Kt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Kt)}}}this.emit("done",this.fullContent)}catch(jt){jt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",jt.message)}})}handleData(wt){wt.content&&(this.fullContent+=wt.content,this.emit("data",{chunk:wt,full:this.fullContent}))}cancelRequest(){var wt;(wt=this.controller)==null||wt.abort()}}var yr=Cr,zn=ye(58617),Vr=ye(32050),jn=Object.defineProperty,vr=Object.defineProperties,ur=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,cr=(Tt,wt,jt)=>wt in Tt?jn(Tt,wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Tt[wt]=jt,kr=(Tt,wt)=>{for(var jt in wt||(wt={}))Rr.call(wt,jt)&&cr(Tt,jt,wt[jt]);if(Kr)for(var jt of Kr(wt))Br.call(wt,jt)&&cr(Tt,jt,wt[jt]);return Tt},mt=(Tt,wt)=>vr(Tt,ur(wt)),Et=(Tt,wt,jt)=>new Promise((yn,wn)=>{var Xn=fn=>{try{Ut(jt.next(fn))}catch(tr){wn(tr)}},Kn=fn=>{try{Ut(jt.throw(fn))}catch(tr){wn(tr)}},Ut=fn=>fn.done?yn(fn.value):Promise.resolve(fn.value).then(Xn,Kn);Ut((jt=jt.apply(Tt,wt)).next())}),$t=({title:Tt="\u5934\u6B4CAI",placeholder:wt,hideUpload:jt,hideInputBox:yn,aiIcon:wn=gt,userIcon:Xn=dt,dragIcon:Kn=St,children:Ut,fetchUrl:fn,fetchData:tr={},extraAnswerAction:_t,showDefaultTips:en=!0,onOpen:Kt,onClose:Qn,loadingOption:Hn,showPreference:$n=!1,initMessage:gr,customRequest:dr,visible:qn,width:Sr=1200,isCheckRestrictNumber:Ar=!1,headNode:Ur,headFunctionNode:Vt,showRedraw:zr,showEdit:na,promptPropName:Pn="prompt",topPercentage:st,showSwitchingModel:Gt=!1,showImageGenerator:pn=!1,showLookHistory:Rn=!1,fetchListObject:on,customPreference:Ir,customDataNode:Fr,showAddSession:Hr,historyId:ir,draggableExtraNode:Mr,drawerExtraNode:Na,menuExtraFunctionNode:Ht,showSceneAwareness:Ua=!1})=>{var da;const[ca,ha]=(0,ve.useState)(!1),[oa,pt]=(0,ve.useState)("qwen-max"),[Bt,kt]=(0,ve.useState)([]),[mn,Nn]=(0,ve.useState)(!1),[Un,Tn]=(0,ve.useState)(!1),[Zn,un]=(0,ve.useState)(!1),[sn,Bn]=(0,ve.useState)([]),[kn,sr]=(0,ve.useState)(""),[lr,Dr]=(0,ve.useState)(0),[ct,vt]=(0,ve.useState)(!1),[Rt,Nt]=(0,ve.useState)(null),[Mt,It]=(0,ve.useState)(""),xt=(0,ve.useRef)(),Qt=(0,ve.useRef)(null),zt=(0,ve.useRef)(null),[Wt,Xt]=(0,ve.useState)(!1),[hn,gn]=(0,ve.useState)(!1),[_n,Ln]=(0,ve.useState)(!1),[or,br]=(0,ve.useState)(!1),[Qr,Yr]=(0,ve.useState)(0),fr=(0,ve.useRef)(null),Zr=(0,ve.useRef)(!1),hr=(0,ve.useRef)(null),[Yn,jr]=(0,ve.useState)(void 0),[Nr,xr]=(0,ve.useState)(!0),[Gr,Tr]=(0,ve.useState)(Sr-28),[Wr,ra]=(0,ve.useState)(!1),[Or,Sa]=(0,ve.useState)(!0),[pa,fa]=(0,ve.useState)([]),ga=(0,ve.useRef)([]),Xr=(0,ve.useRef)(!1),Dn=Gr-22,er=kn==null?void 0:kn.split(` diff --git a/p__Classrooms__Lists__Exercise__Review__index.add323d1.async.js b/p__Classrooms__Lists__Exercise__Review__index.dc4f3684.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Review__index.add323d1.async.js rename to p__Classrooms__Lists__Exercise__Review__index.dc4f3684.async.js index e16faa4f17..a843131dcf 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.add323d1.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.dc4f3684.async.js @@ -1,4 +1,4 @@ -!(function(){var lf=Object.defineProperty,Af=Object.defineProperties;var uf=Object.getOwnPropertyDescriptors;var Ad=Object.getOwnPropertySymbols;var Vd=Object.prototype.hasOwnProperty,Zd=Object.prototype.propertyIsEnumerable;var Wd=(Gt,Ct,ve)=>Ct in Gt?lf(Gt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Gt[Ct]=ve,xu=(Gt,Ct)=>{for(var ve in Ct||(Ct={}))Vd.call(Ct,ve)&&Wd(Gt,ve,Ct[ve]);if(Ad)for(var ve of Ad(Ct))Zd.call(Ct,ve)&&Wd(Gt,ve,Ct[ve]);return Gt},Id=(Gt,Ct)=>Af(Gt,uf(Ct));var Xd=(Gt,Ct)=>{var ve={};for(var de in Gt)Vd.call(Gt,de)&&Ct.indexOf(de)<0&&(ve[de]=Gt[de]);if(Gt!=null&&Ad)for(var de of Ad(Gt))Ct.indexOf(de)<0&&Zd.call(Gt,de)&&(ve[de]=Gt[de]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[8085,6270],{67921:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},87169:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(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"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},4958:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},88010:function(Gt,Ct){"use strict";Ct.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43815:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___GW1u0",flex_space_between:"flex_space_between___XhK9z",flex_box_vertical_center:"flex_box_vertical_center___NKIbp",flex_box_center_end:"flex_box_center_end___V3qhT",flex_box_column:"flex_box_column___b4G29",bg:"bg___exMJB",paginationWrapper:"paginationWrapper___ROsRI",totalText:"totalText___PGE6D",num:"num___jLrBF",title:"title___yiXeD",questionIcons:"questionIcons___v75Tz",green:"green___HRGef",orange:"orange___tdW4E",greenTip:"greenTip___f2SpQ",redTip:"redTip___jc8UE",orangeTip:"orangeTip___VMO_s",flexRow:"flexRow___Jshv2",simpleWrap:"simpleWrap___ul6oi",divider:"divider___Of_8z",modal:"modal___oAD7F",programTitle:"programTitle___ybswa",simpleBg:"simpleBg___yLrQy",exportBtn:"exportBtn___x5fcE",exportBtns:"exportBtns___EmvhF",export_type_modal:"export_type_modal___hmW4i",export_type_modal_con:"export_type_modal_con___R2S3f",type_item:"type_item___NsmrH",img_warp:"img_warp___LUfHa",img_warp_active:"img_warp_active____uL7y",divname:"divname___wdaL2"}},84103:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___VAUts",flex_space_between:"flex_space_between___gx5ZV",flex_box_vertical_center:"flex_box_vertical_center___HV_tL",flex_box_center_end:"flex_box_center_end___fVsIw",flex_box_column:"flex_box_column___F5DHk",shixunWrp:"shixunWrp___pinaF",s:"s___mtpV4",fillComment:"fillComment___WEgkI",commentContent:"commentContent___v_Ebo",commentText:"commentText___fyDle",simpleWrap:"simpleWrap___uwIie",fillBg:"fillBg___iyMsm",tip:"tip___V6oDj",simpleBg:"simpleBg___UqElF",lookCode:"lookCode___xKifS"}},32875:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___D6Qly",flex_space_between:"flex_space_between___ZA98O",flex_box_vertical_center:"flex_box_vertical_center___aST6E",flex_box_center_end:"flex_box_center_end___kJ_eQ",flex_box_column:"flex_box_column___ZOkyZ",bg:"bg___rbSyL",circularBlue:"circularBlue___qvnla",circularRed:"circularRed___jo0FU",circularOrange:"circularOrange___GteY7",circularGreen:"circularGreen___PW_tz",circularGrey:"circularGrey___Nt7Wc",title:"title___Volf5",questionIcons:"questionIcons___MIxzq",grey:"grey___XquYB",green:"green___sjsXt",blue:"blue___Jwa9H",orange:"orange___cGfa7",red:"red___NensB",greenTip:"greenTip___lDmky",redTip:"redTip___Yp9nM",cccTip:"cccTip___Uzudc",orangeTip:"orangeTip___gA104",flexRow:"flexRow___GsOMs",simpleWrap:"simpleWrap___jppmP",userPhoto:"userPhoto___LUsoO",CCCIcons:"CCCIcons___STbxr",buttonFixed:"buttonFixed___aUnd3",progress:"progress___w_inO",typeTitle:"typeTitle___i1hJu",answerResult:"answerResult___kLknn",questionsInfo:"questionsInfo___spnx1",leftBar:"leftBar___AjrjB",greenBg:"greenBg___nlTOV",blueBg:"blueBg___nYACT",redBg:"redBg___WTgtT",orangeBg:"orangeBg___mMAXu",greyBg:"greyBg___eAdgQ",commentText:"commentText___smAVm",full:"full____Rgkm",answerInfo:"answerInfo___iSSvg",listType:"listType___fUHyn",userInfo:"userInfo___sc77e",userImg:"userImg___mL2tk",userInfoTitle:"userInfoTitle___U2d5B",userInfoValue:"userInfoValue___DBOCD",status:"status___yZSrO",result:"result___TOeTF",evaluate:"evaluate___CJGFj",analysis:"analysis___NuY61",userInfoModel:"userInfoModel___jHeA_",width:"width___UtVF4",Title:"Title___BfkeS",Value:"Value___sj9SB",userInfoModelbody:"userInfoModelbody___nQNbP",answerError:"answerError___kJTJu",export_type_modal:"export_type_modal___UwY7W",export_type_modal_con:"export_type_modal_con___iD92j",type_item:"type_item___hBzOc",img_warp:"img_warp___ijcxd",img_warp_active:"img_warp_active___VUIa8",scoreByBlankRadio:"scoreByBlankRadio___Z7ZDy",newProgramBg:"newProgramBg___zKYmY",score:"score___Sk80M",drawerWrap:"drawerWrap___VuX5c",top:"top___EnYnP",middle:"middle___LNYBi",listwrap:"listwrap___l6Z3o",btns:"btns___hFvQ6"}},61293:function(Gt,Ct){"use strict";Ct.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},64790:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));Ct.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},39775:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function Gt(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(Gt.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(Gt.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(Gt.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(Gt.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 Gt))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 Ct=[];function ve(te,a){var y=Ct.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function de(){var te=Ct.pop();return te===void 0?new go.Point:te}function Re(te){Ct.push(te)}function E(te,a,y,x,b,z,ee,le,ce){ce||(ce=new go.Point);var he=te-y,ge=b-ee,pe=NaN,be=NaN;if(he===0)if(ge===0)te===y&&(pe=te,be=a);else{var ye=(z-le)/ge,we=z-ye*b;pe=te,be=ye*pe+we}else if(ge===0){var Ce=(a-x)/he,Oe=a-Ce*te;pe=b,be=Ce*pe+Oe}else{var Ce=(a-x)/he,ye=(z-le)/ge,Oe=a-Ce*te,we=z-ye*b;pe=(we-Oe)/(Ce-ye),be=Ce*pe+Oe}return ce.x=pe,ce.y=be,ce}function me(te,a,y,x,b,z,ee,le,ce,he,ge,pe,be,ye){var we=1-ce,Ce=ce,Oe=te*we+y*Ce,Ie=a*we+x*Ce,De=y*we+b*Ce,Pe=x*we+z*Ce,Ne=b*we+ee*Ce,Qe=z*we+le*Ce,We=Oe*we+De*Ce,je=Ie*we+Pe*Ce,At=De*we+Ne*Ce,tt=Pe*we+Qe*Ce,et=We*we+At*Ce,ct=je*we+tt*Ce;he.x=Oe,he.y=Ie,ge.x=We,ge.y=je,pe.x=et,pe.y=ct,be.x=At,be.y=tt,ye.x=Ne,ye.y=Qe}var fe=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),Ae=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Gt("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*Ae,z=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&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),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=fe,b.spot2=ue,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,Ae*a,0,a,(1-Ae)*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,Ae*y,(1-Ae)*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,Ae*y,Ae*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-Ae)*a,0,0,(1-Ae)*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 Gt("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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),z.spot1=fe,z.spot2=ue,z.defaultStretch=go.GraphObject.Uniform,z}),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 Gt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Gt("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 z=x%360;z<0&&(z+=360);var ee=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,z,ee,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=Ae/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Gt("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Gt("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Gt("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 z=a/2,ee=y/2,le=Math.atan2(y,a),ce=x-Math.min(Math.cos(le)*x/2,z),he=x-Math.min(Math.sin(le)*x/2,ee),b=new go.Geometry,ge=new go.PathFigure(ce,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,he)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ce,y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ce,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Gt("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,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Gt("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Gt("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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,Ae*a,0,a,(.5-Ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+Ae/2)*y,Ae*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 z=.2,ee=.3,le=0,ce=z*Ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+le)*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee)*a,(.5-ce+le)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee+.05)*a,(.5-ce+le-.02)*y)),z=.2,ee=0,le=-.3,ce=z*Ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+le)*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee)*a,(.5-ce+le)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+le)*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee)*a,(.5-ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),z=.2,ee=-.3,le=0,ce=z*Ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee-.05)*a,(.5-ce+le-.02)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+le)*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee)*a,(.5-ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+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 z=.1,ee=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*le,z*a,z*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((ee+z)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*le,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).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=Ae*.5,z=.5,ee=.5,le=.5,ce=new go.PathFigure(ee*a,(le-z)*y);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),z=.4,b=Ae*.4;var he=de(),ge=de(),pe=de(),be=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.42,he,ge,pe,be,be);var ye=de(),we=de(),Ce=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.58,be,be,Ce,ye,we);var Oe=de(),Ie=de(),De=de();me(ee,le+z,ee-b,le+z,ee-z,le+b,ee-z,le,.42,Oe,Ie,De,be,be);var Pe=de(),Ne=de(),Qe=de();return me(ee,le+z,ee-b,le+z,ee-z,le+b,ee-z,le,.58,be,be,Qe,Pe,Ne),ce.add(new go.PathSegment(go.PathSegment.Move,Qe.x*a,Qe.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,Pe.x*a,Pe.y*y,Ne.x*a,Ne.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,ge.x*a,ge.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Qe.x*a,Qe.y*y).close()),ce.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ye.x*a,ye.y*y,we.x*a,we.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,De.x*a,De.y*y,Oe.x*a,Oe.y*y,Ie.x*a,Ie.y*y).close()),Re(he),Re(ge),Re(pe),Re(be),Re(ye),Re(we),Re(Ce),Re(Oe),Re(Ie),Re(De),Re(Pe),Re(Ne),Re(Qe),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 Gt("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,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.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=Ae*.4,z=.4,ee=.5,le=.5,ce=de(),he=de(),ge=de(),pe=de(),be=new go.PathFigure((ee-z)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.44,ge,pe,he,ce,ce),be.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y));var ye=ve(he.x,he.y);me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.56,ce,ce,he,ge,pe);var we=ve(he.x,he.y);be.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.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,(we.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,(we.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),z=.35,b=Ae*.35;var Ce=new go.PathFigure(ee*a,(le-z)*y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y));var Oe=new go.PathFigure((ee-z)*a,le*y,!1);return x.add(Oe),Re(ce),Re(he),Re(ge),Re(pe),Re(ye),Re(we),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,z=0,ee=-.125,le=b*Ae,ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+le+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-le+ee)*y,(.5+le+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+le+ee)*y,(.5-le+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,le=b*Ae;var ce=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+le+ee)*y,(.5+le+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y,(.5-le+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+le+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-le+ee)*y));var ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(ce),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 Gt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Gt("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 z=(1-x)*a,ee=(.5-b/2)*y,le=(.5+b/2)*y,ce=new go.Geometry,he=new go.PathFigure(0,ee,!0);ce.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,le)),he.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),ce.spot1=new go.Spot(0,ee/y);var ge=E(0,le/y,1,le/y,z/a,1,1,.5,de());return ce.spot2=new go.Spot(ge.x,ge.y),Re(ge),ce}),go.Shape.setFigureParameter("Arrow2",0,new Gt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Gt("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 z=a-x,ee=(y-b)/2,le=ee+b,ce=new go.Geometry,he=new go.PathFigure(0,ee,!0);ce.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,le)),he.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),ce.spot1=new go.Spot(0,ee/y);var ge=E(0,le/y,1,le/y,z/a,1,1,.5,de());return ce.spot2=new go.Spot(ge.x,ge.y),Re(ge),ce}),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 Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),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 ce=E(0,.5,.3,0,0,b/y,.1,b/y,de());return ee.spot1=new go.Spot(ce.x,ce.y),ce=E(.7,1,1,.5,0,z/y,1,z/y,ce),ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Gt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Gt("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 z=(y-x)/2,ee=z+x,le=(y-b)/2,ce=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,le=0,ce=y):(z=0,ee=y,le=0,ce=y));var he=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);he.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var pe=E(0,.5,.3,le/y,0,z/y,1,z/y,de());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Re(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),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()),ee.spot1=new go.Spot(0,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Gt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Gt("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 z=(y-x)/2,ee=z+x,le=(y-b)/2,ce=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,le=0,ce=y):(z=0,ee=y,le=0,ce=y));var he=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);he.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),he.spot1=new go.Spot(0,z/y);var pe=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,de());return he.spot2=new go.Spot(pe.x,pe.y),Re(pe),he}),go.Shape.setFigureParameter("Pointer",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,de());return b.spot2=new go.Spot(ee.x,ee.y),Re(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,de());return b.spot2=new go.Spot(ee.x,ee.y),Re(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),ee.spot1=new go.Spot(.2,.3);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Gt("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,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),ee.spot1=new go.Spot(.2,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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=Ae*.5,z=Ae*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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 z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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 z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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,z=Ae*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,Ae*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-Ae*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-Ae*x)),ee.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-Ae*x,(.5+z)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-Ae*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,z=Ae*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,Ae*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-Ae*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-Ae*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-Ae*x,(.5-z)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-Ae*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,z=Ae*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*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+Ae*x,0,2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+Ae*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,z=Ae*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*x,0)),ee.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-Ae*x,0,a-2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-Ae*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 z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.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 z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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,z=.1,ee=Ae*b,le=Ae*z,ce=.5,he=.1,ge=new go.PathFigure(ce*a,(he+z)*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*a,he*y,(ce-ee)*a,(he+z)*y,(ce-b)*a,(he+le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-z)*y,(ce-b)*a,(he-le)*y,(ce-ee)*a,(he-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,he*y,(ce+ee)*a,(he-z)*y,(ce+b)*a,(he-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+z)*y,(ce+b)*a,(he+le)*y,(ce+ee)*a,(he+z)*y));var pe=.05,be=Ae*pe;ce=.05,he=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ce=.95,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+pe)*a,he*y,(ce+be)*a,(he-pe)*y,(ce+pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,be=Ae*pe,ce=.825,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,be=Ae*pe,ce=.5,he=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,be=Ae*pe,ce=.175,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,be=Ae*pe,ce=.05,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce-pe)*a,(he-be)*y,(ce-be)*a,(he-pe)*y)),ye.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 Gt("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,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.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 z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=Ae*.5,z=Ae*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*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+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*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+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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+z)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*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=Ae*.5,z=Ae*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*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+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*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+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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 z=Ae*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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 z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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 z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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 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,z*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=Ae*.5,le=.5,ce=new go.PathFigure(a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+ee)*y,(le+ee)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-ee)*a,y,0,(le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-ee)*y,(le-ee)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+ee)*a,0,a,(le-ee)*y));var he=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),he.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*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 z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.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=Ae*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 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,b*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.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 z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),z.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 z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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 z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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 z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var 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=Ae*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-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,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.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 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 ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.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 z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 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,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.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=Ae*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.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=Ae*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var le=new go.PathFigure(a,z*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ce=new go.PathFigure(.8*a,.75*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ce.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=Ae*.1,z=.1,ee=.9,le=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+z)*a,le*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le-z)*y,(ee+z)*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=Ae*.5,z=Ae*.4,ee=Ae*.1,le=.1,ce=.9,he=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var pe=new go.PathFigure((ce+le)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+le)*y,(ce+le)*a,(he+ee)*y,(ce+ee)*a,(he+le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a,he*y,(ce-ee)*a,(he+le)*y,(ce-le)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-le)*y,(ce-le)*a,(he-ee)*y,(ce-ee)*a,(he-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a,he*y,(ce+ee)*a,(he-le)*y,(ce+le)*a,(he-ee)*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,z=Ae*b,ee=0,le=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=Ae*.1,ee=.9,le=.5;var he=new go.PathFigure((ee-b)*a,le*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*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,z=Ae*b,ee=0,le=.5,ce=new go.PathFigure(0,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(le-b)*y,.8*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+z)*y,(ee+z+z)*a,(le+b)*y)),ce.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,z=Ae*b,ee=.2,le=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=Ae*.1,ee=.9,le=.5;var ge=new go.PathFigure((ee-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*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,z=Ae*b,ee=.2,le=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(le-b)*y,.9*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(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=Ae*.1,z=.1,ee=.1,le=.5,ce=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=Ae*.5,z=.5,ee=.5,le=.5,ce=new go.PathFigure((ee-z)*a,le*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le-z)*y,(ee+z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,le*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,le*y,ee*a,(le-z)*y,ee*a,(le+z)*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,z=y;a=a*.38,y=y*.6;var ee=Ae*.8,le=.8,ce=0,he=.5,ge=(b-a)/2,pe=(z-y)/2,be=new go.PathFigure(ce*a+ge,(he+le)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le+ee*.5)*a+ge,he*y+pe,ce*a+ge,(he-le)*y+pe,(ce-le+ee*.5)*a+ge,(he-ee)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce-le+ee*.5)*a+ge,(he+ee)*y+pe,ce*a+ge,(he+le)*y+pe).close()),ee=Ae*.4,le=.4,ce=.2,he=.5;var ye=new go.PathFigure(ce*a+ge,(he+le)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le+ee*.5)*a+ge,he*y+pe,ce*a+ge,(he-le)*y+pe,(ce-le+ee*.5)*a+ge,(he-ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce-le+ee*.5)*a+ge,(he+ee)*y+pe,ce*a+ge,(he+le)*y+pe).close()),ee=Ae*.2,le=.2,ce=.5,he=.5;var we=new go.PathFigure((ce-le)*a+ge,he*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),ee=Ae*.4,le=.4,ce=.8,he=.5;var Ce=new go.PathFigure(ce*a+ge,(he-le)*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le-ee*.5)*a+ge,he*y+pe,ce*a+ge,(he+le)*y+pe,(ce+le-ee*.5)*a+ge,(he+ee)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce+le-ee*.5)*a+ge,(he-ee)*y+pe,ce*a+ge,(he-le)*y+pe).close()),ee=Ae*.8,le=.8,ce=1,he=.5;var Oe=new go.PathFigure(ce*a+ge,(he-le)*y+pe,!0);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le-ee*.5)*a+ge,he*y+pe,ce*a+ge,(he+le)*y+pe,(ce+le-ee*.5)*a+ge,(he+ee)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce+le-ee*.5)*a+ge,(he-ee)*y+pe,ce*a+ge,(he-le)*y+pe).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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.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 z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var 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=Ae*.4,z=.4,ee=.5,le=.5,ce=de(),he=de(),ge=de(),pe=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.5,ce,ce,he,ge,pe);var be=ve(he.x,he.y),ye=new go.PathFigure(he.x*a,he.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),me(ee-z,le,ee-z,le-b,ee-b,le-z,ee,le-z,.5,ge,pe,he,ce,ce),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),b=Ae*.3,z=.3,me(ee-z,le,ee-z,le-b,ee-b,le-z,ee,le-z,.5,ge,pe,he,ce,ce),ye.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.5,ce,ce,he,ge,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Re(ce),Re(he),Re(ge),Re(pe),Re(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 z(ee,le,ce){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+ce)*y).close())}return z(b,0,0),z(b,.4,0),z(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,z=0,ee=0,le=b*Ae,ce=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,ge=1,pe=.5,be=.5,ye=0,we=new go.PathFigure(ce*a,(1-he)*y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,pe*y,ge*a,.7*y,ge*a,pe*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be+z)*a,(ye+z)*y,(.5+b+z)*a,(.5-le+z)*y,(.5+le+z)*a,(.5-b+z)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+le+ee)*y,(.5-le+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.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 z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,le=.5,ce=ee,he=Math.PI/4,ge=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=ge*.5,be=ee,ye=ee,we=ge*be,Ce=ge*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,ce*y,(le-(we+be)/2)*a,(ce+(ye+Ce)/2)*y,(le-be)*a,(ce+Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ce-ye)*y,(le-be)*a,(ce-Ce)*y,(le-we)*a,(ce-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,ce*y,(le+we)*a,(ce-ye)*y,(le+be)*a,(ce-Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(ce+Ce)*y,(le+(we+be)/2)*a,(ce+(ye+Ce)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Oe=new go.PathFigure(.2*a,y,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ie=new go.PathFigure(.8*a,y,!1);return x.add(Ie),Ie.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 z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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 z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,z=Ae*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*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 z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.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 z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,le=Ae*.1,ce=.2,he=.9,ge=new go.PathFigure((ce-ee)*a,he*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-ee)*y,(ce-ee)*a,(he-le)*y,(ce-le)*a,(he-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,he*y,(ce+le)*a,(he-ee)*y,(ce+ee)*a,(he-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+ee)*y,(ce+ee)*a,(he+le)*y,(ce+le)*a,(he+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,he*y,(ce-le)*a,(he+ee)*y,(ce-ee)*a,(he+le)*y).close()),ee=.1,le=Ae*.1,ce=.8,he=.9;var pe=new go.PathFigure((ce-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-ee)*y,(ce-ee)*a,(he-le)*y,(ce-le)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,he*y,(ce+le)*a,(he-ee)*y,(ce+ee)*a,(he-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+ee)*y,(ce+ee)*a,(he+le)*y,(ce+le)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,he*y,(ce-le)*a,(he+ee)*y,(ce-ee)*a,(he+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 z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ce=.1,he=Ae*.1,ge=.1,pe=.9,be=new go.PathFigure((ge-ce)*a,pe*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-he)*y,(ge-he)*a,(pe-ce)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+he)*a,(pe-ce)*y,(ge+ce)*a,(pe-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+he)*y,(ge+he)*a,(pe+ce)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-he)*a,(pe+ce)*y,(ge-ce)*a,(pe+he)*y)),ce=.1,he=Ae*.1,ge=.4,pe=.9;var ye=new go.PathFigure((ge-ce)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-he)*y,(ge-he)*a,(pe-ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+he)*a,(pe-ce)*y,(ge+ce)*a,(pe-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+he)*y,(ge+he)*a,(pe+ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-he)*a,(pe+ce)*y,(ge-ce)*a,(pe+he)*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 z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ge=.05,pe=Ae*.05,be=.175,ye=.95,le=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.375,ye=.95,ce=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.625,ye=.95,he=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.825,ye=.95,we=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y).close());var Ce=new go.PathFigure(0,y,!1);return x.add(Ce),Ce.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,ce=Ae*.05,he=.35,ge=.775,pe=new go.PathFigure((he-le)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ge-le)*y,(he-le)*a,(ge-ce)*y,(he-ce)*a,(ge-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+le)*a,ge*y,(he+ce)*a,(ge-le)*y,(he+le)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ge+le)*y,(he+le)*a,(ge+ce)*y,(he+ce)*a,(ge+le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-le)*a,ge*y,(he-ce)*a,(ge+le)*y,(he-le)*a,(ge+ce)*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,z=Ae*.3,ee=.5,le=.7,ce=new go.PathFigure((ee-b)*a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(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 z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.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,z=Ae*.5,ee=.5,le=.5,ce=new go.PathFigure((ee-b)*a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(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,z=Ae*.5,ee=.5,le=.5,ce=new go.PathFigure((ee-b)*a,le*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y).close()),b=.05,z=Ae*.05,ee=.5,le=.8;var he=new go.PathFigure((ee-b)*a,le*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.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 z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.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 z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var 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 ce=new go.PathFigure(.5*a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ce.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 z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var 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 ce=new go.PathFigure(a*.816,y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ce.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 z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var 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 ce=new go.PathFigure(a*1,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ce.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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var 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 ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ce.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,z=b*Ae,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,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 ce=new go.PathFigure(a*.83,y*1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(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*Ae,z=y*.8,ee=new go.Geometry,le=new go.PathFigure(x,0,!0);return ee.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,z-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-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?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(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 z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.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 z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,z=b*Ae,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Gt={},Ct="5.0",ve={},de=null,Re=!1,E=!1,me=null,fe=!1,ue=null,Ae=null,ie=0;ie4?parseFloat(ot):5};Gt.setHTML5Codebase=function(ot,$e){Ae=ot,tt(ot,$e)},Gt.setJavaCodebase=Gt.setJavaCodebaseVersion=Gt.isCompiledInstalled=Gt.setPreCompiledScriptPath=Gt.setPreCompiledResourcePath=function(){},Gt.setHTML5CodebaseVersion=function(ot,$e){var it=parseFloat(ot);if(it!==NaN&&it<5){console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead.");return}ue=ot,At(ot,$e)},Gt.getHTML5CodebaseVersion=function(){return te},Gt.getParameters=function(){return ve},Gt.setFontsCSSURL=function(ot){ee=ot},Gt.setGiacJSURL=function(ot){},Gt.setJNLPFile=function(ot){ae=ot},Gt.setJNLPBaseDir=function(ot){},Gt.inject=function(){function ot(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var $e="auto",it=ve.id,gt,vt=!1,Ot=0;Ot=5)return!0;var ot=Gt.getAppletObject();return ot&&typeof ot.recalculateEnvironments=="function"?(ot.recalculateEnvironments(),!0):!1},Gt.startAnimation=function(){var ot=Gt.getAppletObject();return ot&&typeof ot.startAnimation=="function"?(ot.startAnimation(),!0):!1},Gt.stopAnimation=function(){var ot=Gt.getAppletObject();return ot&&typeof ot.stopAnimation=="function"?(ot.stopAnimation(),!0):!1},Gt.getAppletObject=function(){var ot=ve.id!==void 0?ve.id:"ggbApplet";return window[ot]},Gt.resize=function(){};var we=function(ot,$e,it){var gt=document.createElement("param");gt.setAttribute("name",$e),gt.setAttribute("value",it),ot.appendChild(gt)},Ce=function(ot){return ot&&ot!=="false"},Oe=function(ot,$e,it){ce(te)<=4.2&&(it=!0);var gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var vt=document.createElement("div");vt.classList.add("appletParameters","notranslate");var Ot=$e.width,lt=$e.height;if($e.disableAutoScale=$e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():$e.disableAutoScale,$e.width!==void 0)if(ce(te)<=4.4)Ce($e.showToolBar)&&($e.height-=7),Ce($e.showAlgebraInput)&&($e.height-=37),$e.width<605&&Ce($e.showToolBar)&&($e.width=605,Ot=605);else{var ut=100;(Ce($e.showToolBar)||Ce($e.showMenuBar))&&($e.hasOwnProperty("customToolBar")&&($e.customToolbar=$e.customToolBar),ut=Ce($e.showMenuBar)?245:155),Ot=5?($e.appletOnLoad=function(Ye){var yt=ot.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(He),window.GGBT_wsf_view&&$(window).trigger("resize"),rt(Ye)},pt||He.appendChild(Rt)):vt.appendChild(Rt),He.appendChild(vt),pt||ot.appendChild(He),setTimeout(function(){Gt.resize()},1)}else{var wt=document.createElement("div");wt.className="applet_scaler",wt.style.position="relative",wt.style.display="block",wt.appendChild(vt),ot.appendChild(wt),$e.appletOnLoad=function(Ye){Gt.resize(),rt(Ye)}}function ht(Ye,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ye,yt.appletOnLoad):renderGGBElement(Ye),et("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Ze(Ye,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ye,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Kt){ht(Kt.article,Kt.params)}),html5AppletsToProcess=null)},ce(te)<5&&(Ye.className+=" geogebraweb")):ht(Ye,yt)}if(gt){scriptLoadStarted=!0;for(var Se=0;Se0?(Ve.remove(),He.attr("id","fullscreencontent").show(),jQuery(rt).append(He),window.dispatchEvent(new Event("resize"))):Oe(Ve,$e,!1),window.GGBT_wsf_view.launchFullScreen(rt)}else ne=gt,Oe(ot,$e,!1);if(!window.GGBT_wsf_view)for(lt=0;ltot/4*3&&(Ve=ot/4*3),rt=Ve/5.8,ut.setAttribute("src",b),ut.setAttribute("width",Ve),ut.setAttribute("height",rt);var He=(ot-Ve)/2,pt=($e-rt)/2;ut.style.left=He+"px",ut.style.top=pt+"px",vt.appendChild(ut)}}return vt.appendChild(lt),vt},We=function(ot){return ot=ot.toLowerCase(),ot==="html5"||ot==="screenshot"?ot:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],At=function(ot,$e){if(te=ot,$e){tt(te,!0);return}var it=!Re;if(it){var gt=ce(te);!isNaN(gt)&><4.4&&(it=!1)}var vt,Ot;window.location.protocol.substr(0,4)==="http"?vt=window.location.protocol:vt="http:";var lt=te.indexOf("//");lt>0?Ot=te:lt===0?Ot=vt+te:Ot="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in je)if(te.slice(je[ut].length*-1)===je[ut]||te.slice((je[ut].length+1)*-1)===je[ut]+"/"){tt(Ot,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&it&&!de.is3D&&!de.AV&&!de.SV&&!de.CV&&!de.EV2&&!de.CP&&!de.PC&&!de.DA&&!de.FI&&!de.PV&&!Ce(ve.showToolBar)&&!Ce(ve.showMenuBar)&&!Ce(ve.showAlgebraInput)&&!Ce(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Ot+="webSimple/":Ot+="web3d/",tt(Ot,!1)},tt=function(ot,$e){if(ot.requirejs){oe=ot;return}ot.slice(-1)!=="/"&&(ot+="/"),oe=ot,$e===null&&($e=ot.indexOf("http")===-1),re=$e,a="web.nocache.js",y=!1;var it=oe.split("/");it.length>1&&(!$e&&it[it.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(it[it.length-2])>=0&&(a=it[it.length-2]+".nocache.js")),it=ot.split("/"),te=it[it.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 gt=parseFloat(te);gt!==NaN&><5&&ot.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead."),At("5.0",$e))},et=function(ot,$e){window.console&&window.console.log&&(!$e||typeof $e.showLogging=="undefined"||$e.showLogging&&$e.showLogging!=="false")&&console.log(ot)};ve.material_id!==void 0?pe(ct):ct();function ct(){var ot=Ct;ue!==null?ot=ue:parseFloat(ot)<5&&(ot="5.0"),At(ot,!1),Ae!==null&&tt(Ae,re),fe=!0}return Gt},GGBAppletUtils=function(){"use strict";function Gt(){return window.GGBT_wsf_edit!==void 0}function Ct(fe,ue){ue!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+ue+","+ue+")",fe.style.webkitTransform="scale("+ue+","+ue+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function ve(fe,ue,Ae,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=fe.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,z=0;if(oe)ne=oe.offsetWidth,te=Math.max(ie?oe.offsetWidth:0,oe.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),fe){var ee=fe.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return fe&&((Ae===void 0||!Ae)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))se=de(fe,ue,ae,Ae,fe.scaleContainerClass);else return ie;return ae&&(!fe.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(fe){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=fe.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(Ae-ie.height)/2;ae<0&&(ae=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?fe.style.left="40px":fe.style.left=se+"px",fe.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?fe.style.top="40px":fe.style.top=ae+"px",fe.style.left=se+"px")}function me(fe,ue){var Ae=fe.querySelector(".appletParameters");if(Ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==Ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(Ae.parentElement&&/fullscreen/.test(Ae.parentElement.className))return;var ie=Re(ue,fe);Gt()&&Ae.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Gt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Gt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Gt){var Ct=c[Gt];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function Gt(fe){var ue=fe.lastIndexOf(rb);ue==-1&&(ue=fe.length);var Ae=fe.indexOf(sb);Ae==-1&&(Ae=fe.length);var ie=fe.lastIndexOf(tb,Math.min(Ae,ue));return ie>=O?fe.substring(O,ie+P):W}function Ct(fe){if(!fe.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=fe+vb,fe=Gt(ue.src)}return fe}function ve(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function de(){for(var fe=o.getElementsByTagName(_),ue=O;ueO?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var me=ve();return me==W&&(me=de()),me==W&&(me=Re()),me==W&&E()&&(me=Gt(o.location.href)),me=Ct(me),me}function C(Gt){return Gt.match(/^\//)||Gt.match(/^[a-zA-Z]+:\/\//)?Gt:webModule.__moduleBase+Gt}function D(){var Gt=[],Ct=O,ve=[],de=[];function Re(fe){var ue=de[fe](),Ae=ve[fe];if(ue in Ae)return ue;var ie=[];for(var se in Ae)ie[Ae[se]]=se;throw r&&r(fe,ie,ue),null}if(__gwt_isKnownPropertyValue=function(fe,ue){return ue in ve[fe]},webModule.__getPropMap=function(){var fe={};for(var ue in ve)ve.hasOwnProperty(ue)&&(fe[ue]=Re(ue));return fe},webModule.__computePropValue=Re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(Ct=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(fe){}return webModule.__softPermutationId=Ct,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Ax:function(){return me},Ds:function(){return fe},KI:function(){return Ae},SI:function(){return E},f1:function(){return Re}});var de=ve(3294);function Re(ie){let se=!0;if(ie.length>0){for(let ae=0;aey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ae=(a,y)=>{for(var x in y||(y={}))Ae.call(y,x)&&se(a,x,y[x]);if(ue)for(var x of ue(y))ie.call(y,x)&&se(a,x,y[x]);return a},oe=(a,y)=>me(a,fe(y)),re=(a,y)=>{var x={};for(var b in a)Ae.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&ue)for(var b of ue(a))y.indexOf(b)<0&&ie.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,z)=>{var ee=he=>{try{ce(x.next(he))}catch(ge){z(ge)}},le=he=>{try{ce(x.throw(he))}catch(ge){z(ge)}},ce=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,le);ce((x=x.apply(a,y)).next())});const te=a=>{var y=a,{children:x}=y,b=re(y,["children"]);const[z,ee]=(0,Re.useState)(!1);return Re.createElement(de.ZP,oe(ae({},b),{loading:z,onClick:le=>ne(void 0,null,function*(){try{ee(!0),yield b.onClick(le),ee(!1)}catch(ce){console.error(ce),ee(!1)}})}),x)}},41069:function(Gt,Ct,ve){"use strict";ve.d(Ct,{ij:function(){return z},_s:function(){return b},Uf:function(){return x},ZP:function(){return le}});var de=ve(59301),Re={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},E=ve(92310),me=ve.n(E),fe=ve(42441),ue=ve(6848),Ae=ve(61621),ie=ve(71418),se=ve(8797),ae=ve(3294),oe=Object.defineProperty,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(ce,he,ge)=>he in ce?oe(ce,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ce[he]=ge,y=(ce,he)=>{for(var ge in he||(he={}))ne.call(he,ge)&&a(ce,ge,he[ge]);if(re)for(var ge of re(he))te.call(he,ge)&&a(ce,ge,he[ge]);return ce};const x=(ce={})=>{var he,ge,pe,be;let ye=(he=ce==null?void 0:ce.emotion)==null?void 0:he.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),we=(ge=ce==null?void 0:ce.focus)==null?void 0:ge.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Ce=(pe=ce==null?void 0:ce.action)==null?void 0:pe.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Oe=(be=ce==null?void 0:ce.intention)==null?void 0:be.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ye||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:we||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Ce||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Oe||[]}]},b=({className:ce,dataSource:he=[],col:ge=4,right:pe,bottom:be=23,precision:ye=0,wrapWidth:we=1200})=>{const Ce=(Ie="",De,Pe="--")=>Ie?(Ie==null?void 0:Ie.length)>De?(Ie==null?void 0:Ie.slice(0,De-1))+"...":Ie:Pe,Oe=Math.floor((we-(ge-1)*pe)/ge);return de.createElement("div",{className:me()(Re.list,ce)},!!(he!=null&&he.length)&&(he==null?void 0:he.map((Ie,De)=>{const{cover_pic:Pe,created_at:Ne,emotion:Qe,action:We,intention:je,focus:At}=Ie;return de.createElement("div",{key:De,className:Re.wrap,style:{width:Oe,marginRight:(1+De)%ge===0?0:pe+ye,marginBottom:be}},de.createElement("div",{className:Re.img},de.createElement("img",{src:`${ae.Z.API_SERVER}${Pe}`}),de.createElement("div",{className:Re.tips},de.createElement("div",null,de.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),de.createElement("span",null,Ne))),de.createElement("div",{className:Re.footer},de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-biaoqing"}),de.createElement("span",null,"\u8868\u60C5\uFF1A",de.createElement(ue.Z,{title:Qe},de.createElement("span",{className:"c-grey-333"},Ce(Qe,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-hangwei"}),de.createElement("span",null,"\u884C\u4E3A\uFF1A",de.createElement(ue.Z,{title:We},de.createElement("span",{className:"c-grey-333"},Ce(We,4)))))),de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-yitu"}),de.createElement("span",null,"\u610F\u56FE\uFF1A",de.createElement(ue.Z,{title:je},de.createElement("span",{className:"c-grey-333"},Ce(je,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-zhuangtai"}),de.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",de.createElement(ue.Z,{title:At},de.createElement("span",{className:"c-grey-333"},Ce(At,3))))))))})))},z=({className:ce,style:he,title:ge,hideBar:pe=!1,children:be,customText:ye="",noDataText:we="",emptyData:Ce=[],loading:Oe,actionAnalysis:Ie})=>{var De,Pe;const Ne=((De=Ce==null?void 0:Ce[0])==null?void 0:De.every(We=>{var je;return!((je=We==null?void 0:We.data)!=null&&je.length)}))&&!((Pe=Ce==null?void 0:Ce[1])!=null&&Pe.length)||!Ie,Qe=Ie?we:ye;return de.createElement(Ae.Z,{loading:Oe,active:!0},Ne&&de.createElement("div",{className:me()(Re.noData,ce),style:he},!!ge&&de.createElement("div",{className:Re.title},!pe&&de.createElement("b",null),de.createElement("span",null,ge)),de.createElement("div",{className:Re.itemWrap},de.createElement(se.Z,{customText:Qe}))),!Ne&&be)};var le=({className:ce,style:he,data:ge=[],title:pe,hideBar:be=!1,loading:ye=!1})=>de.createElement("div",{className:me()(Re.analysis,ce),style:he},!!pe&&de.createElement("div",{className:Re.title},!be&&de.createElement("b",null),de.createElement("span",null,pe)),de.createElement(ie.Z,{spinning:ye},de.createElement("div",{className:Re.itemWrap},ge==null?void 0:ge.map((we,Ce)=>de.createElement("div",{className:Re.item,key:Ce},de.createElement(fe.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:we==null?void 0:we.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Oe){for(let Ie in we==null?void 0:we.data)if(Oe==(we==null?void 0:we.data[Ie].name))return Oe+" "+(we==null?void 0:we.data[Ie].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:we==null?void 0:we.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:we==null?void 0:we.data}]},style:{height:145}}))))))},31707:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return x}});var de=ve(59301),Re=ve(44068),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=ve(8591),fe=ve(95237),ue=Object.defineProperty,Ae=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,re=(b,z,ee)=>z in b?ue(b,z,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[z]=ee,ne=(b,z)=>{for(var ee in z||(z={}))ae.call(z,ee)&&re(b,ee,z[ee]);if(se)for(var ee of se(z))oe.call(z,ee)&&re(b,ee,z[ee]);return b},te=(b,z)=>Ae(b,ie(z)),a=(b,z,ee)=>new Promise((le,ce)=>{var he=be=>{try{pe(ee.next(be))}catch(ye){ce(ye)}},ge=be=>{try{pe(ee.throw(be))}catch(ye){ce(ye)}},pe=be=>be.done?le(be.value):Promise.resolve(be.value).then(he,ge);pe((ee=ee.apply(b,z)).next())}),x=({description:b,code:z,showData:ee={},sendParams:le={},allShow:ce=!1})=>{const he=[{img:ve(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:ve(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:z,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:ve(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:z,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:ve(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:z,show:ee==null?void 0:ee.ai_guidance,type:3}],ge=pe=>{const{setChatData:be,setLoading:ye,getData:we,clearStatus:Ce,typing:Oe,setImageGenerator:Ie,renderChatItems:De,setSceneAwareness:Pe}=pe;let Ne=he;return ce||(Ne=he.filter(Qe=>Qe.show)),de.createElement("div",{className:`${E.bigTips} mt10`},Ne.map((Qe,We)=>de.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Oe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Pe(!1),Ie(!1),ye(!0),Ce();const je=De(Qe.query);je[0].show=!1,je[1].imageGenerator=!1,be(je),we("",ne({type:Qe.type,description:Qe.description,query:Qe.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},le))}),key:We,className:E.item},de.createElement(fe.Z,{align:"middle"},de.createElement("img",{className:"mr10",src:Qe.img}),de.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Qe.name)),de.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Qe.des))))};return de.createElement(Re.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:ce?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:ge,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:de.createElement(de.Fragment,null,de.createElement("div",{className:"c-grey-333 font22"},de.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"),de.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"),de.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return er}});var de=ve(59301),Re=ve(8591),E=ve(54580),me=ve(43418),fe=ve(6848),ue=ve(92832),Ae=ve(3113),ie=ve(71418),se=ve(64165),ae=ve(14478),oe=ve(43428),re=ve(38854),ne=ve(92310),te=ve.n(ne),a=ve(46739),y=ve(77596),x=ve(93772),b=ve(14179),z=ve(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},le=ve(11611),ce=ve(35328),he=ve(30084),ge=ve(50304),pe=ve(59301),be=Object.defineProperty,ye=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Oe=(Bn,an,wn)=>an in Bn?be(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,Ie=(Bn,an)=>{for(var wn in an||(an={}))we.call(an,wn)&&Oe(Bn,wn,an[wn]);if(ye)for(var wn of ye(an))Ce.call(an,wn)&&Oe(Bn,wn,an[wn]);return Bn},De=(Bn,an)=>{var wn={};for(var Dr in Bn)we.call(Bn,Dr)&&an.indexOf(Dr)<0&&(wn[Dr]=Bn[Dr]);if(Bn!=null&&ye)for(var Dr of ye(Bn))an.indexOf(Dr)<0&&Ce.call(Bn,Dr)&&(wn[Dr]=Bn[Dr]);return wn},Ne=({onFinish:Bn,value:an,streamingStatus:wn,cancelIndex:Dr,loadImage:Nr})=>{const[Or,fa]=(0,de.useState)(""),[Kn,br]=(0,de.useState)(0),[ga,dr]=(0,de.useState)(!1),Mr=$a=>$a.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Sr=()=>{dr(!0),Bn==null||Bn()};return(0,de.useEffect)(()=>{const $a=Nr?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +!(function(){var lf=Object.defineProperty,Af=Object.defineProperties;var uf=Object.getOwnPropertyDescriptors;var Ad=Object.getOwnPropertySymbols;var Vd=Object.prototype.hasOwnProperty,Zd=Object.prototype.propertyIsEnumerable;var Wd=(Gt,Ct,ve)=>Ct in Gt?lf(Gt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Gt[Ct]=ve,xu=(Gt,Ct)=>{for(var ve in Ct||(Ct={}))Vd.call(Ct,ve)&&Wd(Gt,ve,Ct[ve]);if(Ad)for(var ve of Ad(Ct))Zd.call(Ct,ve)&&Wd(Gt,ve,Ct[ve]);return Gt},Id=(Gt,Ct)=>Af(Gt,uf(Ct));var Xd=(Gt,Ct)=>{var ve={};for(var de in Gt)Vd.call(Gt,de)&&Ct.indexOf(de)<0&&(ve[de]=Gt[de]);if(Gt!=null&&Ad)for(var de of Ad(Gt))Ct.indexOf(de)<0&&Zd.call(Gt,de)&&(ve[de]=Gt[de]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[8085,6270],{67921:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},87169:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(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"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},4958:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return ie}});var de=ve(92413),Re=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},me=E,fe=ve(7657),ue=function(ae,oe){return Re.createElement(fe.Z,(0,de.Z)({},ae,{ref:oe,icon:me}))},Ae=Re.forwardRef(ue),ie=Ae},88010:function(Gt,Ct){"use strict";Ct.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43815:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___GW1u0",flex_space_between:"flex_space_between___XhK9z",flex_box_vertical_center:"flex_box_vertical_center___NKIbp",flex_box_center_end:"flex_box_center_end___V3qhT",flex_box_column:"flex_box_column___b4G29",bg:"bg___exMJB",paginationWrapper:"paginationWrapper___ROsRI",totalText:"totalText___PGE6D",num:"num___jLrBF",title:"title___yiXeD",questionIcons:"questionIcons___v75Tz",green:"green___HRGef",orange:"orange___tdW4E",greenTip:"greenTip___f2SpQ",redTip:"redTip___jc8UE",orangeTip:"orangeTip___VMO_s",flexRow:"flexRow___Jshv2",simpleWrap:"simpleWrap___ul6oi",divider:"divider___Of_8z",modal:"modal___oAD7F",programTitle:"programTitle___ybswa",simpleBg:"simpleBg___yLrQy",exportBtn:"exportBtn___x5fcE",exportBtns:"exportBtns___EmvhF",export_type_modal:"export_type_modal___hmW4i",export_type_modal_con:"export_type_modal_con___R2S3f",type_item:"type_item___NsmrH",img_warp:"img_warp___LUfHa",img_warp_active:"img_warp_active____uL7y",divname:"divname___wdaL2"}},84103:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___VAUts",flex_space_between:"flex_space_between___gx5ZV",flex_box_vertical_center:"flex_box_vertical_center___HV_tL",flex_box_center_end:"flex_box_center_end___fVsIw",flex_box_column:"flex_box_column___F5DHk",shixunWrp:"shixunWrp___pinaF",s:"s___mtpV4",fillComment:"fillComment___WEgkI",commentContent:"commentContent___v_Ebo",commentText:"commentText___fyDle",simpleWrap:"simpleWrap___uwIie",fillBg:"fillBg___iyMsm",tip:"tip___V6oDj",simpleBg:"simpleBg___UqElF",lookCode:"lookCode___xKifS"}},32875:function(Gt,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___D6Qly",flex_space_between:"flex_space_between___ZA98O",flex_box_vertical_center:"flex_box_vertical_center___aST6E",flex_box_center_end:"flex_box_center_end___kJ_eQ",flex_box_column:"flex_box_column___ZOkyZ",bg:"bg___rbSyL",circularBlue:"circularBlue___qvnla",circularRed:"circularRed___jo0FU",circularOrange:"circularOrange___GteY7",circularGreen:"circularGreen___PW_tz",circularGrey:"circularGrey___Nt7Wc",title:"title___Volf5",questionIcons:"questionIcons___MIxzq",grey:"grey___XquYB",green:"green___sjsXt",blue:"blue___Jwa9H",orange:"orange___cGfa7",red:"red___NensB",greenTip:"greenTip___lDmky",redTip:"redTip___Yp9nM",cccTip:"cccTip___Uzudc",orangeTip:"orangeTip___gA104",flexRow:"flexRow___GsOMs",simpleWrap:"simpleWrap___jppmP",userPhoto:"userPhoto___LUsoO",CCCIcons:"CCCIcons___STbxr",buttonFixed:"buttonFixed___aUnd3",progress:"progress___w_inO",typeTitle:"typeTitle___i1hJu",answerResult:"answerResult___kLknn",questionsInfo:"questionsInfo___spnx1",leftBar:"leftBar___AjrjB",greenBg:"greenBg___nlTOV",blueBg:"blueBg___nYACT",redBg:"redBg___WTgtT",orangeBg:"orangeBg___mMAXu",greyBg:"greyBg___eAdgQ",commentText:"commentText___smAVm",full:"full____Rgkm",answerInfo:"answerInfo___iSSvg",listType:"listType___fUHyn",userInfo:"userInfo___sc77e",userImg:"userImg___mL2tk",userInfoTitle:"userInfoTitle___U2d5B",userInfoValue:"userInfoValue___DBOCD",status:"status___yZSrO",result:"result___TOeTF",evaluate:"evaluate___CJGFj",analysis:"analysis___NuY61",userInfoModel:"userInfoModel___jHeA_",width:"width___UtVF4",Title:"Title___BfkeS",Value:"Value___sj9SB",userInfoModelbody:"userInfoModelbody___nQNbP",answerError:"answerError___kJTJu",export_type_modal:"export_type_modal___UwY7W",export_type_modal_con:"export_type_modal_con___iD92j",type_item:"type_item___hBzOc",img_warp:"img_warp___ijcxd",img_warp_active:"img_warp_active___VUIa8",scoreByBlankRadio:"scoreByBlankRadio___Z7ZDy",newProgramBg:"newProgramBg___zKYmY",score:"score___Sk80M",drawerWrap:"drawerWrap___VuX5c",top:"top___EnYnP",middle:"middle___LNYBi",listwrap:"listwrap___l6Z3o",btns:"btns___hFvQ6"}},61293:function(Gt,Ct){"use strict";Ct.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},64790:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));Ct.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},39775:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(Gt,Ct,ve){"use strict";var de=ve(59301),Re=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Re(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,Ae=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",Ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function Gt(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(Gt.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(Gt.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(Gt.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(Gt.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 Gt))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 Ct=[];function ve(te,a){var y=Ct.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function de(){var te=Ct.pop();return te===void 0?new go.Point:te}function Re(te){Ct.push(te)}function E(te,a,y,x,b,z,ee,le,ce){ce||(ce=new go.Point);var he=te-y,ge=b-ee,pe=NaN,be=NaN;if(he===0)if(ge===0)te===y&&(pe=te,be=a);else{var ye=(z-le)/ge,we=z-ye*b;pe=te,be=ye*pe+we}else if(ge===0){var Ce=(a-x)/he,Oe=a-Ce*te;pe=b,be=Ce*pe+Oe}else{var Ce=(a-x)/he,ye=(z-le)/ge,Oe=a-Ce*te,we=z-ye*b;pe=(we-Oe)/(Ce-ye),be=Ce*pe+Oe}return ce.x=pe,ce.y=be,ce}function me(te,a,y,x,b,z,ee,le,ce,he,ge,pe,be,ye){var we=1-ce,Ce=ce,Oe=te*we+y*Ce,Ie=a*we+x*Ce,De=y*we+b*Ce,Pe=x*we+z*Ce,Ne=b*we+ee*Ce,Qe=z*we+le*Ce,We=Oe*we+De*Ce,je=Ie*we+Pe*Ce,At=De*we+Ne*Ce,tt=Pe*we+Qe*Ce,et=We*we+At*Ce,ct=je*we+tt*Ce;he.x=Oe,he.y=Ie,ge.x=We,ge.y=je,pe.x=et,pe.y=ct,be.x=At,be.y=tt,ye.x=Ne,ye.y=Qe}var fe=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),Ae=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Gt("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*Ae,z=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&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),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=fe,b.spot2=ue,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,Ae*a,0,a,(1-Ae)*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,Ae*y,(1-Ae)*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,Ae*y,Ae*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-Ae)*a,0,0,(1-Ae)*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 Gt("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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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
a&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.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 z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.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())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),z.spot1=fe,z.spot2=ue,z.defaultStretch=go.GraphObject.Uniform,z}),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 Gt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Gt("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 z=x%360;z<0&&(z+=360);var ee=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,z,ee,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=Ae/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Gt("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Gt("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,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Gt("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 z=a/2,ee=y/2,le=Math.atan2(y,a),ce=x-Math.min(Math.cos(le)*x/2,z),he=x-Math.min(Math.sin(le)*x/2,ee),b=new go.Geometry,ge=new go.PathFigure(ce,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,he)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ce,y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ce,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Gt("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,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Gt("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Gt("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,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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,Ae*a,0,a,(.5-Ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+Ae/2)*y,Ae*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 z=.2,ee=.3,le=0,ce=z*Ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+le)*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee)*a,(.5-ce+le)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee+.05)*a,(.5-ce+le-.02)*y)),z=.2,ee=0,le=-.3,ce=z*Ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+le)*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee)*a,(.5-ce+le)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+le)*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee)*a,(.5-ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),z=.2,ee=-.3,le=0,ce=z*Ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+le)*y,(1-.5+z+ee-.05)*a,(.5-ce+le-.02)*y,(.5+ce+ee)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+le)*y,(.5-ce+ee)*a,(.5-z+le)*y,(.5-z+ee)*a,(.5-ce+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+le)*y,(.5-z+ee)*a,(.5+ce+le)*y,(.5-ce+ee)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ce+ee)*a,(.5+z+le)*y,(.5+z+ee)*a,(.5+ce+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 z=.1,ee=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*le,z*a,z*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((ee+z)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*le,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).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=Ae*.5,z=.5,ee=.5,le=.5,ce=new go.PathFigure(ee*a,(le-z)*y);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),z=.4,b=Ae*.4;var he=de(),ge=de(),pe=de(),be=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.42,he,ge,pe,be,be);var ye=de(),we=de(),Ce=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.58,be,be,Ce,ye,we);var Oe=de(),Ie=de(),De=de();me(ee,le+z,ee-b,le+z,ee-z,le+b,ee-z,le,.42,Oe,Ie,De,be,be);var Pe=de(),Ne=de(),Qe=de();return me(ee,le+z,ee-b,le+z,ee-z,le+b,ee-z,le,.58,be,be,Qe,Pe,Ne),ce.add(new go.PathSegment(go.PathSegment.Move,Qe.x*a,Qe.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,Pe.x*a,Pe.y*y,Ne.x*a,Ne.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,ge.x*a,ge.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Qe.x*a,Qe.y*y).close()),ce.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ye.x*a,ye.y*y,we.x*a,we.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,De.x*a,De.y*y,Oe.x*a,Oe.y*y,Ie.x*a,Ie.y*y).close()),Re(he),Re(ge),Re(pe),Re(be),Re(ye),Re(we),Re(Ce),Re(Oe),Re(Ie),Re(De),Re(Pe),Re(Ne),Re(Qe),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 Gt("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,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.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=Ae*.4,z=.4,ee=.5,le=.5,ce=de(),he=de(),ge=de(),pe=de(),be=new go.PathFigure((ee-z)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.44,ge,pe,he,ce,ce),be.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y));var ye=ve(he.x,he.y);me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.56,ce,ce,he,ge,pe);var we=ve(he.x,he.y);be.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.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,(we.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,(we.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),z=.35,b=Ae*.35;var Ce=new go.PathFigure(ee*a,(le-z)*y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y));var Oe=new go.PathFigure((ee-z)*a,le*y,!1);return x.add(Oe),Re(ce),Re(he),Re(ge),Re(pe),Re(ye),Re(we),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,z=0,ee=-.125,le=b*Ae,ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+le+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-le+ee)*y,(.5+le+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+le+ee)*y,(.5-le+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,le=b*Ae;var ce=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+le+ee)*y,(.5+le+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y,(.5-le+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+le+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-le+ee)*y));var ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(ce),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 Gt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Gt("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 z=(1-x)*a,ee=(.5-b/2)*y,le=(.5+b/2)*y,ce=new go.Geometry,he=new go.PathFigure(0,ee,!0);ce.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,le)),he.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),ce.spot1=new go.Spot(0,ee/y);var ge=E(0,le/y,1,le/y,z/a,1,1,.5,de());return ce.spot2=new go.Spot(ge.x,ge.y),Re(ge),ce}),go.Shape.setFigureParameter("Arrow2",0,new Gt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Gt("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 z=a-x,ee=(y-b)/2,le=ee+b,ce=new go.Geometry,he=new go.PathFigure(0,ee,!0);ce.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,le)),he.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),ce.spot1=new go.Spot(0,ee/y);var ge=E(0,le/y,1,le/y,z/a,1,1,.5,de());return ce.spot2=new go.Spot(ge.x,ge.y),Re(ge),ce}),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 Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),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 ce=E(0,.5,.3,0,0,b/y,.1,b/y,de());return ee.spot1=new go.Spot(ce.x,ce.y),ce=E(.7,1,1,.5,0,z/y,1,z/y,ce),ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Gt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Gt("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 z=(y-x)/2,ee=z+x,le=(y-b)/2,ce=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,le=0,ce=y):(z=0,ee=y,le=0,ce=y));var he=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);he.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var pe=E(0,.5,.3,le/y,0,z/y,1,z/y,de());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Re(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),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()),ee.spot1=new go.Spot(0,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Gt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Gt("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 z=(y-x)/2,ee=z+x,le=(y-b)/2,ce=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,le=0,ce=y):(z=0,ee=y,le=0,ce=y));var he=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);he.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),he.spot1=new go.Spot(0,z/y);var pe=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,de());return he.spot2=new go.Spot(pe.x,pe.y),Re(pe),he}),go.Shape.setFigureParameter("Pointer",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,de());return b.spot2=new go.Spot(ee.x,ee.y),Re(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,de());return b.spot2=new go.Spot(ee.x,ee.y),Re(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Gt("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,z=(.5+x/2)*y,ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),ee.spot1=new go.Spot(.2,.3);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Gt("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,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);ee.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),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()),ee.spot1=new go.Spot(.2,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,de());return ee.spot2=new go.Spot(ce.x,ce.y),Re(ce),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Gt("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,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.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=Ae*.5,z=Ae*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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 z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.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 z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.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,z=Ae*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,Ae*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-Ae*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-Ae*x)),ee.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-Ae*x,(.5+z)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-Ae*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,z=Ae*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,Ae*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,Ae*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-Ae*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-Ae*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-Ae*x,(.5-z)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-Ae*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,z=Ae*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*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+Ae*x,0,2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+Ae*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,z=Ae*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-Ae*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-Ae*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,Ae*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,Ae*x,0)),ee.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-Ae*x,0,a-2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-Ae*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 z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.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 z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.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 z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.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,z=.1,ee=Ae*b,le=Ae*z,ce=.5,he=.1,ge=new go.PathFigure(ce*a,(he+z)*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*a,he*y,(ce-ee)*a,(he+z)*y,(ce-b)*a,(he+le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-z)*y,(ce-b)*a,(he-le)*y,(ce-ee)*a,(he-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,he*y,(ce+ee)*a,(he-z)*y,(ce+b)*a,(he-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+z)*y,(ce+b)*a,(he+le)*y,(ce+ee)*a,(he+z)*y));var pe=.05,be=Ae*pe;ce=.05,he=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ce=.95,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+pe)*a,he*y,(ce+be)*a,(he-pe)*y,(ce+pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,be=Ae*pe,ce=.825,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,be=Ae*pe,ce=.5,he=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,be=Ae*pe,ce=.175,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce+pe)*a,(he-be)*y,(ce+be)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-pe)*a,he*y,(ce-be)*a,(he-pe)*y,(ce-pe)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,be=Ae*pe,ce=.05,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-pe)*y,(ce-pe)*a,(he-be)*y,(ce-be)*a,(he-pe)*y)),ye.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 Gt("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,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.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 z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=Ae*.5,z=Ae*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*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+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*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+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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+z)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*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=Ae*.5,z=Ae*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*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+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*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+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*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 z=Ae*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.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 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 ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(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 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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(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 z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.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 z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.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 z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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 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,z*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=Ae*.5,le=.5,ce=new go.PathFigure(a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+ee)*y,(le+ee)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-ee)*a,y,0,(le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-ee)*y,(le-ee)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+ee)*a,0,a,(le-ee)*y));var he=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),he.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*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 z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.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=Ae*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(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 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,b*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.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 z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),z.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 z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.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 z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.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 z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var 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=Ae*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-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,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,z=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.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 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 ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.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 ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(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 z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.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 z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(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 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,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.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=Ae*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.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=Ae*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var le=new go.PathFigure(a,z*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ce=new go.PathFigure(.8*a,.75*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ce.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=Ae*.1,z=.1,ee=.9,le=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+z)*a,le*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le-z)*y,(ee+z)*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=Ae*.5,z=Ae*.4,ee=Ae*.1,le=.1,ce=.9,he=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var pe=new go.PathFigure((ce+le)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+le)*y,(ce+le)*a,(he+ee)*y,(ce+ee)*a,(he+le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a,he*y,(ce-ee)*a,(he+le)*y,(ce-le)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-le)*y,(ce-le)*a,(he-ee)*y,(ce-ee)*a,(he-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a,he*y,(ce+ee)*a,(he-le)*y,(ce+le)*a,(he-ee)*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,z=Ae*b,ee=0,le=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=Ae*.1,ee=.9,le=.5;var he=new go.PathFigure((ee-b)*a,le*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*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,z=Ae*b,ee=0,le=.5,ce=new go.PathFigure(0,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(le-b)*y,.8*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+z)*y,(ee+z+z)*a,(le+b)*y)),ce.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,z=Ae*b,ee=.2,le=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=Ae*.1,ee=.9,le=.5;var ge=new go.PathFigure((ee-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*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,z=Ae*b,ee=.2,le=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(le-b)*y,.9*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(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=Ae*.1,z=.1,ee=.1,le=.5,ce=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=Ae*.5,z=.5,ee=.5,le=.5,ce=new go.PathFigure((ee-z)*a,le*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-z)*y,(ee-z)*a,(le-b)*y,(ee-b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le-z)*y,(ee+z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,le*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,le*y,ee*a,(le-z)*y,ee*a,(le+z)*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,z=y;a=a*.38,y=y*.6;var ee=Ae*.8,le=.8,ce=0,he=.5,ge=(b-a)/2,pe=(z-y)/2,be=new go.PathFigure(ce*a+ge,(he+le)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le+ee*.5)*a+ge,he*y+pe,ce*a+ge,(he-le)*y+pe,(ce-le+ee*.5)*a+ge,(he-ee)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce-le+ee*.5)*a+ge,(he+ee)*y+pe,ce*a+ge,(he+le)*y+pe).close()),ee=Ae*.4,le=.4,ce=.2,he=.5;var ye=new go.PathFigure(ce*a+ge,(he+le)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le+ee*.5)*a+ge,he*y+pe,ce*a+ge,(he-le)*y+pe,(ce-le+ee*.5)*a+ge,(he-ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce-le+ee*.5)*a+ge,(he+ee)*y+pe,ce*a+ge,(he+le)*y+pe).close()),ee=Ae*.2,le=.2,ce=.5,he=.5;var we=new go.PathFigure((ce-le)*a+ge,he*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce-le)*a+ge,(he-ee)*y+pe,(ce-ee)*a+ge,(he-le)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ce-le)*a+ge,he*y+pe,(ce-ee)*a+ge,(he+le)*y+pe,(ce-le)*a+ge,(he+ee)*y+pe)),ee=Ae*.4,le=.4,ce=.8,he=.5;var Ce=new go.PathFigure(ce*a+ge,(he-le)*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le-ee*.5)*a+ge,he*y+pe,ce*a+ge,(he+le)*y+pe,(ce+le-ee*.5)*a+ge,(he+ee)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce+le-ee*.5)*a+ge,(he-ee)*y+pe,ce*a+ge,(he-le)*y+pe).close()),ee=Ae*.8,le=.8,ce=1,he=.5;var Oe=new go.PathFigure(ce*a+ge,(he-le)*y+pe,!0);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le)*a+ge,he*y+pe,(ce+ee)*a+ge,(he-le)*y+pe,(ce+le)*a+ge,(he-ee)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he+le)*y+pe,(ce+le)*a+ge,(he+ee)*y+pe,(ce+ee)*a+ge,(he+le)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+le-ee*.5)*a+ge,he*y+pe,ce*a+ge,(he+le)*y+pe,(ce+le-ee*.5)*a+ge,(he+ee)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ge,(he-le)*y+pe,(ce+le-ee*.5)*a+ge,(he-ee)*y+pe,ce*a+ge,(he-le)*y+pe).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 z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.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 z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var 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=Ae*.4,z=.4,ee=.5,le=.5,ce=de(),he=de(),ge=de(),pe=de();me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.5,ce,ce,he,ge,pe);var be=ve(he.x,he.y),ye=new go.PathFigure(he.x*a,he.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee+z)*a,(le+b)*y,(ee+b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,(ee-b)*a,(le+z)*y,(ee-z)*a,(le+b)*y)),me(ee-z,le,ee-z,le-b,ee-b,le-z,ee,le-z,.5,ge,pe,he,ce,ce),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),b=Ae*.3,z=.3,me(ee-z,le,ee-z,le-b,ee-b,le-z,ee,le-z,.5,ge,pe,he,ce,ce),ye.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,le*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+z)*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,le*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),me(ee,le-z,ee+b,le-z,ee+z,le-b,ee+z,le,.5,ce,ce,he,ge,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Re(ce),Re(he),Re(ge),Re(pe),Re(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 z(ee,le,ce){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+ce)*y).close())}return z(b,0,0),z(b,.4,0),z(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,z=0,ee=0,le=b*Ae,ce=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,ge=1,pe=.5,be=.5,ye=0,we=new go.PathFigure(ce*a,(1-he)*y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,pe*y,ge*a,.7*y,ge*a,pe*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be+z)*a,(ye+z)*y,(.5+b+z)*a,(.5-le+z)*y,(.5+le+z)*a,(.5-b+z)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-le+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-le+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+le+ee)*y,(.5-le+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(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 z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.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 z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,le=.5,ce=ee,he=Math.PI/4,ge=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=ge*.5,be=ee,ye=ee,we=ge*be,Ce=ge*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,ce*y,(le-(we+be)/2)*a,(ce+(ye+Ce)/2)*y,(le-be)*a,(ce+Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ce-ye)*y,(le-be)*a,(ce-Ce)*y,(le-we)*a,(ce-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,ce*y,(le+we)*a,(ce-ye)*y,(le+be)*a,(ce-Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(ce+Ce)*y,(le+(we+be)/2)*a,(ce+(ye+Ce)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Oe=new go.PathFigure(.2*a,y,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ie=new go.PathFigure(.8*a,y,!1);return x.add(Ie),Ie.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 z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.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 z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(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 z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*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 z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,z=Ae*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*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 z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(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 z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(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 z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.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 z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,le=Ae*.1,ce=.2,he=.9,ge=new go.PathFigure((ce-ee)*a,he*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-ee)*y,(ce-ee)*a,(he-le)*y,(ce-le)*a,(he-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,he*y,(ce+le)*a,(he-ee)*y,(ce+ee)*a,(he-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+ee)*y,(ce+ee)*a,(he+le)*y,(ce+le)*a,(he+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,he*y,(ce-le)*a,(he+ee)*y,(ce-ee)*a,(he+le)*y).close()),ee=.1,le=Ae*.1,ce=.8,he=.9;var pe=new go.PathFigure((ce-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he-ee)*y,(ce-ee)*a,(he-le)*y,(ce-le)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,he*y,(ce+le)*a,(he-ee)*y,(ce+ee)*a,(he-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(he+ee)*y,(ce+ee)*a,(he+le)*y,(ce+le)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,he*y,(ce-le)*a,(he+ee)*y,(ce-ee)*a,(he+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 z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ce=.1,he=Ae*.1,ge=.1,pe=.9,be=new go.PathFigure((ge-ce)*a,pe*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-he)*y,(ge-he)*a,(pe-ce)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+he)*a,(pe-ce)*y,(ge+ce)*a,(pe-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+he)*y,(ge+he)*a,(pe+ce)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-he)*a,(pe+ce)*y,(ge-ce)*a,(pe+he)*y)),ce=.1,he=Ae*.1,ge=.4,pe=.9;var ye=new go.PathFigure((ge-ce)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-he)*y,(ge-he)*a,(pe-ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+he)*a,(pe-ce)*y,(ge+ce)*a,(pe-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+he)*y,(ge+he)*a,(pe+ce)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-he)*a,(pe+ce)*y,(ge-ce)*a,(pe+he)*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 z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ge=.05,pe=Ae*.05,be=.175,ye=.95,le=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.375,ye=.95,ce=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.625,ye=.95,he=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y));var ge=.05,pe=Ae*.05,be=.825,ye=.95,we=new go.PathFigure((be-ge)*a,ye*y,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ge)*y,(be-ge)*a,(ye-pe)*y,(be-pe)*a,(ye-ge)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be+ge)*a,ye*y,(be+pe)*a,(ye-ge)*y,(be+ge)*a,(ye-pe)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ge)*y,(be+ge)*a,(ye+pe)*y,(be+pe)*a,(ye+ge)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(be-ge)*a,ye*y,(be-pe)*a,(ye+ge)*y,(be-ge)*a,(ye+pe)*y).close());var Ce=new go.PathFigure(0,y,!1);return x.add(Ce),Ce.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 z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,ce=Ae*.05,he=.35,ge=.775,pe=new go.PathFigure((he-le)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ge-le)*y,(he-le)*a,(ge-ce)*y,(he-ce)*a,(ge-le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+le)*a,ge*y,(he+ce)*a,(ge-le)*y,(he+le)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ge+le)*y,(he+le)*a,(ge+ce)*y,(he+ce)*a,(ge+le)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-le)*a,ge*y,(he-ce)*a,(ge+le)*y,(he-le)*a,(ge+ce)*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,z=Ae*.3,ee=.5,le=.7,ce=new go.PathFigure((ee-b)*a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(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 z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.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,z=Ae*.5,ee=.5,le=.5,ce=new go.PathFigure((ee-b)*a,le*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(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,z=Ae*.5,ee=.5,le=.5,ce=new go.PathFigure((ee-b)*a,le*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y).close()),b=.05,z=Ae*.05,ee=.5,le=.8;var he=new go.PathFigure((ee-b)*a,le*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le-b)*y,(ee-b)*a,(le-z)*y,(ee-z)*a,(le-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,le*y,(ee+z)*a,(le-b)*y,(ee+b)*a,(le-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(le+b)*y,(ee+b)*a,(le+z)*y,(ee+z)*a,(le+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,le*y,(ee-z)*a,(le+b)*y,(ee-b)*a,(le+z)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.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 z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.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 z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.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 z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var 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 ce=new go.PathFigure(.5*a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ce.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 z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var 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 ce=new go.PathFigure(a*.816,y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ce.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 z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var 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 ce=new go.PathFigure(a*1,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ce.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 z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var 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 ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ce.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,z=b*Ae,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,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 ce=new go.PathFigure(a*.83,y*1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(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*Ae,z=y*.8,ee=new go.Geometry,le=new go.PathFigure(x,0,!0);return ee.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,z-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-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?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(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 z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.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 z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,z=b*Ae,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).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 z=.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-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),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-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),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-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(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 z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Gt={},Ct="5.0",ve={},de=null,Re=!1,E=!1,me=null,fe=!1,ue=null,Ae=null,ie=0;ie4?parseFloat(ot):5};Gt.setHTML5Codebase=function(ot,$e){Ae=ot,tt(ot,$e)},Gt.setJavaCodebase=Gt.setJavaCodebaseVersion=Gt.isCompiledInstalled=Gt.setPreCompiledScriptPath=Gt.setPreCompiledResourcePath=function(){},Gt.setHTML5CodebaseVersion=function(ot,$e){var it=parseFloat(ot);if(it!==NaN&&it<5){console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead.");return}ue=ot,At(ot,$e)},Gt.getHTML5CodebaseVersion=function(){return te},Gt.getParameters=function(){return ve},Gt.setFontsCSSURL=function(ot){ee=ot},Gt.setGiacJSURL=function(ot){},Gt.setJNLPFile=function(ot){ae=ot},Gt.setJNLPBaseDir=function(ot){},Gt.inject=function(){function ot(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var $e="auto",it=ve.id,gt,vt=!1,Ot=0;Ot=5)return!0;var ot=Gt.getAppletObject();return ot&&typeof ot.recalculateEnvironments=="function"?(ot.recalculateEnvironments(),!0):!1},Gt.startAnimation=function(){var ot=Gt.getAppletObject();return ot&&typeof ot.startAnimation=="function"?(ot.startAnimation(),!0):!1},Gt.stopAnimation=function(){var ot=Gt.getAppletObject();return ot&&typeof ot.stopAnimation=="function"?(ot.stopAnimation(),!0):!1},Gt.getAppletObject=function(){var ot=ve.id!==void 0?ve.id:"ggbApplet";return window[ot]},Gt.resize=function(){};var we=function(ot,$e,it){var gt=document.createElement("param");gt.setAttribute("name",$e),gt.setAttribute("value",it),ot.appendChild(gt)},Ce=function(ot){return ot&&ot!=="false"},Oe=function(ot,$e,it){ce(te)<=4.2&&(it=!0);var gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var vt=document.createElement("div");vt.classList.add("appletParameters","notranslate");var Ot=$e.width,lt=$e.height;if($e.disableAutoScale=$e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():$e.disableAutoScale,$e.width!==void 0)if(ce(te)<=4.4)Ce($e.showToolBar)&&($e.height-=7),Ce($e.showAlgebraInput)&&($e.height-=37),$e.width<605&&Ce($e.showToolBar)&&($e.width=605,Ot=605);else{var ut=100;(Ce($e.showToolBar)||Ce($e.showMenuBar))&&($e.hasOwnProperty("customToolBar")&&($e.customToolbar=$e.customToolBar),ut=Ce($e.showMenuBar)?245:155),Ot=5?($e.appletOnLoad=function(Ye){var yt=ot.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(He),window.GGBT_wsf_view&&$(window).trigger("resize"),rt(Ye)},pt||He.appendChild(Rt)):vt.appendChild(Rt),He.appendChild(vt),pt||ot.appendChild(He),setTimeout(function(){Gt.resize()},1)}else{var wt=document.createElement("div");wt.className="applet_scaler",wt.style.position="relative",wt.style.display="block",wt.appendChild(vt),ot.appendChild(wt),$e.appletOnLoad=function(Ye){Gt.resize(),rt(Ye)}}function ht(Ye,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ye,yt.appletOnLoad):renderGGBElement(Ye),et("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Ze(Ye,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ye,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Kt){ht(Kt.article,Kt.params)}),html5AppletsToProcess=null)},ce(te)<5&&(Ye.className+=" geogebraweb")):ht(Ye,yt)}if(gt){scriptLoadStarted=!0;for(var Se=0;Se0?(Ve.remove(),He.attr("id","fullscreencontent").show(),jQuery(rt).append(He),window.dispatchEvent(new Event("resize"))):Oe(Ve,$e,!1),window.GGBT_wsf_view.launchFullScreen(rt)}else ne=gt,Oe(ot,$e,!1);if(!window.GGBT_wsf_view)for(lt=0;ltot/4*3&&(Ve=ot/4*3),rt=Ve/5.8,ut.setAttribute("src",b),ut.setAttribute("width",Ve),ut.setAttribute("height",rt);var He=(ot-Ve)/2,pt=($e-rt)/2;ut.style.left=He+"px",ut.style.top=pt+"px",vt.appendChild(ut)}}return vt.appendChild(lt),vt},We=function(ot){return ot=ot.toLowerCase(),ot==="html5"||ot==="screenshot"?ot:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],At=function(ot,$e){if(te=ot,$e){tt(te,!0);return}var it=!Re;if(it){var gt=ce(te);!isNaN(gt)&><4.4&&(it=!1)}var vt,Ot;window.location.protocol.substr(0,4)==="http"?vt=window.location.protocol:vt="http:";var lt=te.indexOf("//");lt>0?Ot=te:lt===0?Ot=vt+te:Ot="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in je)if(te.slice(je[ut].length*-1)===je[ut]||te.slice((je[ut].length+1)*-1)===je[ut]+"/"){tt(Ot,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&it&&!de.is3D&&!de.AV&&!de.SV&&!de.CV&&!de.EV2&&!de.CP&&!de.PC&&!de.DA&&!de.FI&&!de.PV&&!Ce(ve.showToolBar)&&!Ce(ve.showMenuBar)&&!Ce(ve.showAlgebraInput)&&!Ce(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Ot+="webSimple/":Ot+="web3d/",tt(Ot,!1)},tt=function(ot,$e){if(ot.requirejs){oe=ot;return}ot.slice(-1)!=="/"&&(ot+="/"),oe=ot,$e===null&&($e=ot.indexOf("http")===-1),re=$e,a="web.nocache.js",y=!1;var it=oe.split("/");it.length>1&&(!$e&&it[it.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(it[it.length-2])>=0&&(a=it[it.length-2]+".nocache.js")),it=ot.split("/"),te=it[it.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 gt=parseFloat(te);gt!==NaN&><5&&ot.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead."),At("5.0",$e))},et=function(ot,$e){window.console&&window.console.log&&(!$e||typeof $e.showLogging=="undefined"||$e.showLogging&&$e.showLogging!=="false")&&console.log(ot)};ve.material_id!==void 0?pe(ct):ct();function ct(){var ot=Ct;ue!==null?ot=ue:parseFloat(ot)<5&&(ot="5.0"),At(ot,!1),Ae!==null&&tt(Ae,re),fe=!0}return Gt},GGBAppletUtils=function(){"use strict";function Gt(){return window.GGBT_wsf_edit!==void 0}function Ct(fe,ue){ue!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+ue+","+ue+")",fe.style.webkitTransform="scale("+ue+","+ue+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function ve(fe,ue,Ae,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=fe.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,z=0;if(oe)ne=oe.offsetWidth,te=Math.max(ie?oe.offsetWidth:0,oe.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),fe){var ee=fe.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return fe&&((Ae===void 0||!Ae)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))se=de(fe,ue,ae,Ae,fe.scaleContainerClass);else return ie;return ae&&(!fe.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(fe){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=fe.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(Ae-ie.height)/2;ae<0&&(ae=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?fe.style.left="40px":fe.style.left=se+"px",fe.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?fe.style.top="40px":fe.style.top=ae+"px",fe.style.left=se+"px")}function me(fe,ue){var Ae=fe.querySelector(".appletParameters");if(Ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==Ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(Ae.parentElement&&/fullscreen/.test(Ae.parentElement.className))return;var ie=Re(ue,fe);Gt()&&Ae.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Gt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Gt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Gt){var Ct=c[Gt];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function Gt(fe){var ue=fe.lastIndexOf(rb);ue==-1&&(ue=fe.length);var Ae=fe.indexOf(sb);Ae==-1&&(Ae=fe.length);var ie=fe.lastIndexOf(tb,Math.min(Ae,ue));return ie>=O?fe.substring(O,ie+P):W}function Ct(fe){if(!fe.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=fe+vb,fe=Gt(ue.src)}return fe}function ve(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function de(){for(var fe=o.getElementsByTagName(_),ue=O;ueO?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var me=ve();return me==W&&(me=de()),me==W&&(me=Re()),me==W&&E()&&(me=Gt(o.location.href)),me=Ct(me),me}function C(Gt){return Gt.match(/^\//)||Gt.match(/^[a-zA-Z]+:\/\//)?Gt:webModule.__moduleBase+Gt}function D(){var Gt=[],Ct=O,ve=[],de=[];function Re(fe){var ue=de[fe](),Ae=ve[fe];if(ue in Ae)return ue;var ie=[];for(var se in Ae)ie[Ae[se]]=se;throw r&&r(fe,ie,ue),null}if(__gwt_isKnownPropertyValue=function(fe,ue){return ue in ve[fe]},webModule.__getPropMap=function(){var fe={};for(var ue in ve)ve.hasOwnProperty(ue)&&(fe[ue]=Re(ue));return fe},webModule.__computePropValue=Re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(Ct=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(fe){}return webModule.__softPermutationId=Ct,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Ax:function(){return me},Ds:function(){return fe},KI:function(){return Ae},SI:function(){return E},f1:function(){return Re}});var de=ve(3294);function Re(ie){let se=!0;if(ie.length>0){for(let ae=0;aey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ae=(a,y)=>{for(var x in y||(y={}))Ae.call(y,x)&&se(a,x,y[x]);if(ue)for(var x of ue(y))ie.call(y,x)&&se(a,x,y[x]);return a},oe=(a,y)=>me(a,fe(y)),re=(a,y)=>{var x={};for(var b in a)Ae.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&ue)for(var b of ue(a))y.indexOf(b)<0&&ie.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,z)=>{var ee=he=>{try{ce(x.next(he))}catch(ge){z(ge)}},le=he=>{try{ce(x.throw(he))}catch(ge){z(ge)}},ce=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,le);ce((x=x.apply(a,y)).next())});const te=a=>{var y=a,{children:x}=y,b=re(y,["children"]);const[z,ee]=(0,Re.useState)(!1);return Re.createElement(de.ZP,oe(ae({},b),{loading:z,onClick:le=>ne(void 0,null,function*(){try{ee(!0),yield b.onClick(le),ee(!1)}catch(ce){console.error(ce),ee(!1)}})}),x)}},41069:function(Gt,Ct,ve){"use strict";ve.d(Ct,{ij:function(){return z},_s:function(){return b},Uf:function(){return x},ZP:function(){return le}});var de=ve(59301),Re={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},E=ve(92310),me=ve.n(E),fe=ve(42441),ue=ve(6848),Ae=ve(61621),ie=ve(71418),se=ve(8797),ae=ve(3294),oe=Object.defineProperty,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(ce,he,ge)=>he in ce?oe(ce,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ce[he]=ge,y=(ce,he)=>{for(var ge in he||(he={}))ne.call(he,ge)&&a(ce,ge,he[ge]);if(re)for(var ge of re(he))te.call(he,ge)&&a(ce,ge,he[ge]);return ce};const x=(ce={})=>{var he,ge,pe,be;let ye=(he=ce==null?void 0:ce.emotion)==null?void 0:he.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),we=(ge=ce==null?void 0:ce.focus)==null?void 0:ge.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Ce=(pe=ce==null?void 0:ce.action)==null?void 0:pe.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie)),Oe=(be=ce==null?void 0:ce.intention)==null?void 0:be.map(Ie=>y({value:Ie==null?void 0:Ie.rate},Ie));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ye||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:we||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Ce||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Oe||[]}]},b=({className:ce,dataSource:he=[],col:ge=4,right:pe,bottom:be=23,precision:ye=0,wrapWidth:we=1200})=>{const Ce=(Ie="",De,Pe="--")=>Ie?(Ie==null?void 0:Ie.length)>De?(Ie==null?void 0:Ie.slice(0,De-1))+"...":Ie:Pe,Oe=Math.floor((we-(ge-1)*pe)/ge);return de.createElement("div",{className:me()(Re.list,ce)},!!(he!=null&&he.length)&&(he==null?void 0:he.map((Ie,De)=>{const{cover_pic:Pe,created_at:Ne,emotion:Qe,action:We,intention:je,focus:At}=Ie;return de.createElement("div",{key:De,className:Re.wrap,style:{width:Oe,marginRight:(1+De)%ge===0?0:pe+ye,marginBottom:be}},de.createElement("div",{className:Re.img},de.createElement("img",{src:`${ae.Z.API_SERVER}${Pe}`}),de.createElement("div",{className:Re.tips},de.createElement("div",null,de.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),de.createElement("span",null,Ne))),de.createElement("div",{className:Re.footer},de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-biaoqing"}),de.createElement("span",null,"\u8868\u60C5\uFF1A",de.createElement(ue.Z,{title:Qe},de.createElement("span",{className:"c-grey-333"},Ce(Qe,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-hangwei"}),de.createElement("span",null,"\u884C\u4E3A\uFF1A",de.createElement(ue.Z,{title:We},de.createElement("span",{className:"c-grey-333"},Ce(We,4)))))),de.createElement("ul",null,de.createElement("li",null,de.createElement("i",{className:"iconfont icon-yitu"}),de.createElement("span",null,"\u610F\u56FE\uFF1A",de.createElement(ue.Z,{title:je},de.createElement("span",{className:"c-grey-333"},Ce(je,4))))),de.createElement("li",null,de.createElement("i",{className:"iconfont icon-zhuangtai"}),de.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",de.createElement(ue.Z,{title:At},de.createElement("span",{className:"c-grey-333"},Ce(At,3))))))))})))},z=({className:ce,style:he,title:ge,hideBar:pe=!1,children:be,customText:ye="",noDataText:we="",emptyData:Ce=[],loading:Oe,actionAnalysis:Ie})=>{var De,Pe;const Ne=((De=Ce==null?void 0:Ce[0])==null?void 0:De.every(We=>{var je;return!((je=We==null?void 0:We.data)!=null&&je.length)}))&&!((Pe=Ce==null?void 0:Ce[1])!=null&&Pe.length)||!Ie,Qe=Ie?we:ye;return de.createElement(Ae.Z,{loading:Oe,active:!0},Ne&&de.createElement("div",{className:me()(Re.noData,ce),style:he},!!ge&&de.createElement("div",{className:Re.title},!pe&&de.createElement("b",null),de.createElement("span",null,ge)),de.createElement("div",{className:Re.itemWrap},de.createElement(se.Z,{customText:Qe}))),!Ne&&be)};var le=({className:ce,style:he,data:ge=[],title:pe,hideBar:be=!1,loading:ye=!1})=>de.createElement("div",{className:me()(Re.analysis,ce),style:he},!!pe&&de.createElement("div",{className:Re.title},!be&&de.createElement("b",null),de.createElement("span",null,pe)),de.createElement(ie.Z,{spinning:ye},de.createElement("div",{className:Re.itemWrap},ge==null?void 0:ge.map((we,Ce)=>de.createElement("div",{className:Re.item,key:Ce},de.createElement(fe.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:we==null?void 0:we.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Oe){for(let Ie in we==null?void 0:we.data)if(Oe==(we==null?void 0:we.data[Ie].name))return Oe+" "+(we==null?void 0:we.data[Ie].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:we==null?void 0:we.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:we==null?void 0:we.data}]},style:{height:145}}))))))},31707:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return x}});var de=ve(59301),Re=ve(44068),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=ve(8591),fe=ve(95237),ue=Object.defineProperty,Ae=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,re=(b,z,ee)=>z in b?ue(b,z,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[z]=ee,ne=(b,z)=>{for(var ee in z||(z={}))ae.call(z,ee)&&re(b,ee,z[ee]);if(se)for(var ee of se(z))oe.call(z,ee)&&re(b,ee,z[ee]);return b},te=(b,z)=>Ae(b,ie(z)),a=(b,z,ee)=>new Promise((le,ce)=>{var he=be=>{try{pe(ee.next(be))}catch(ye){ce(ye)}},ge=be=>{try{pe(ee.throw(be))}catch(ye){ce(ye)}},pe=be=>be.done?le(be.value):Promise.resolve(be.value).then(he,ge);pe((ee=ee.apply(b,z)).next())}),x=({description:b,code:z,showData:ee={},sendParams:le={},allShow:ce=!1})=>{const he=[{img:ve(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:ve(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:z,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:ve(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:z,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:ve(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:z,show:ee==null?void 0:ee.ai_guidance,type:3}],ge=pe=>{const{setChatData:be,setLoading:ye,getData:we,clearStatus:Ce,typing:Oe,setImageGenerator:Ie,renderChatItems:De,setSceneAwareness:Pe}=pe;let Ne=he;return ce||(Ne=he.filter(Qe=>Qe.show)),de.createElement("div",{className:`${E.bigTips} mt10`},Ne.map((Qe,We)=>de.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Oe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Pe(!1),Ie(!1),ye(!0),Ce();const je=De(Qe.query);je[0].show=!1,je[1].imageGenerator=!1,be(je),we("",ne({type:Qe.type,description:Qe.description,query:Qe.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},le))}),key:We,className:E.item},de.createElement(fe.Z,{align:"middle"},de.createElement("img",{className:"mr10",src:Qe.img}),de.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Qe.name)),de.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Qe.des))))};return de.createElement(Re.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:ce?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:ge,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:de.createElement(de.Fragment,null,de.createElement("div",{className:"c-grey-333 font22"},de.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"),de.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"),de.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(Gt,Ct,ve){"use strict";ve.d(Ct,{Z:function(){return er}});var de=ve(59301),Re=ve(8591),E=ve(54580),me=ve(43418),fe=ve(6848),ue=ve(92832),Ae=ve(3113),ie=ve(71418),se=ve(64165),ae=ve(14478),oe=ve(43428),re=ve(38854),ne=ve(92310),te=ve.n(ne),a=ve(93628),y=ve(77596),x=ve(93772),b=ve(14179),z=ve(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},le=ve(11611),ce=ve(35328),he=ve(30084),ge=ve(50304),pe=ve(59301),be=Object.defineProperty,ye=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Oe=(Bn,an,wn)=>an in Bn?be(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,Ie=(Bn,an)=>{for(var wn in an||(an={}))we.call(an,wn)&&Oe(Bn,wn,an[wn]);if(ye)for(var wn of ye(an))Ce.call(an,wn)&&Oe(Bn,wn,an[wn]);return Bn},De=(Bn,an)=>{var wn={};for(var Dr in Bn)we.call(Bn,Dr)&&an.indexOf(Dr)<0&&(wn[Dr]=Bn[Dr]);if(Bn!=null&&ye)for(var Dr of ye(Bn))an.indexOf(Dr)<0&&Ce.call(Bn,Dr)&&(wn[Dr]=Bn[Dr]);return wn},Ne=({onFinish:Bn,value:an,streamingStatus:wn,cancelIndex:Dr,loadImage:Nr})=>{const[Or,fa]=(0,de.useState)(""),[Kn,br]=(0,de.useState)(0),[ga,dr]=(0,de.useState)(!1),Mr=$a=>$a.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Sr=()=>{dr(!0),Bn==null||Bn()};return(0,de.useEffect)(()=>{const $a=Nr?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${an}`:an,Ao=Mr($a);if(!ga)if(Nr||!wn||Dr>0){fa(Ao),br(Ao.length),(!wn||Dr>0)&&!Nr&&Sr();return}else if(Kn{fa(Ao.slice(0,Kn+2)),br(io=>io+2)},ri>10?Math.max(500/(ri/2),20):50);return()=>clearInterval(po)}else wn||Sr()},[an,wn,Dr,Nr,Kn]),(0,de.useMemo)(()=>pe.createElement("div",{className:`${ee.answer} fadeIn animated`},pe.createElement(a.UG,{remarkPlugins:[he.Z],rehypePlugins:[ce.Z,x.Z],components:{code($a){var Ao=$a,{node:ri,inline:po,className:io,children:mo}=Ao,Fo=De(Ao,["node","inline","className","children"]);const mi=/language-(\w+)/.exec(io||"");return po||!mi?pe.createElement("code",Ie({className:io},Fo),mo):pe.createElement("div",{className:ee.codeCopy},pe.createElement(z.CopyToClipboard,{text:String(mo).trim(),onCopy:()=>Re.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},pe.createElement("button",null,"\u590D\u5236")),pe.createElement(y.Z,Ie({style:b.Z,language:mi[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Fo),String(mo).trim()))},img({node:$a}){var Ao;return pe.createElement(le.Z,{src:(Ao=$a.properties)==null?void 0:Ao.src,width:320,onLoad:()=>Nr&&setTimeout(()=>Sr(),500)})}}},wn&&Knnew Promise((Dr,Nr)=>{var Or=br=>{try{Kn(wn.next(br))}catch(ga){Nr(ga)}},fa=br=>{try{Kn(wn.throw(br))}catch(ga){Nr(ga)}},Kn=br=>br.done?Dr(br.value):Promise.resolve(br.value).then(Or,fa);Kn((wn=wn.apply(Bn,an)).next())}),tt=({value:Bn="",streamingStatus:an,onFinish:wn,cancelIndex:Dr,time:Nr,loading:Or,loadAll:fa})=>{const[Kn,br]=(0,de.useState)(""),[ga,dr]=(0,de.useState)(!0),Mr=(0,de.useRef)(Bn),Sr=(0,de.useRef)(an),Ta=(0,de.useRef)(0),$a=(0,de.useRef)(null),[Ao,ri]=(0,de.useState)(!1),po=70;(0,de.useEffect)(()=>{Sr.current=an},[an]),(0,de.useEffect)(()=>{Mr.current=Bn},[Bn]),(0,de.useEffect)(()=>{if(!an){br(Mr.current);return}return ri(!0),$a.current=setInterval(io,po),()=>{clearInterval($a.current)}},[]),(0,de.useEffect)(()=>{Ao&&(br(Mr.current),clearInterval($a.current),ri(!1),wn())},[Dr]);const io=()=>je(void 0,null,function*(){const mo=Mr.current[Ta.current];mo!==void 0?(br(Fo=>Fo+mo),Ta.current++,clearInterval($a.current),$a.current=setInterval(io,280/(Mr.current.length-Ta.current))):Sr.current===!1&&(br(Mr.current),clearInterval($a.current),ri(!1),wn())});return We.createElement("div",{className:`${Qe.reasoning} fadeIn animated`},We.createElement("div",{className:Qe.btn,onClick:()=>dr(!ga)},We.createElement("i",{className:"iconfont icon-shendusikao"}),Nr?We.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Nr," \u79D2\uFF09"):We.createElement("span",null,"\u601D\u8003\u4E2D..."),ga?We.createElement("b",{className:"iconfont icon-shouqi6"}):We.createElement("b",{className:"iconfont icon-zhankai6"})),Or&&We.createElement(ie.Z,{spinning:!0,className:"mt20"}),ga&&!Or&&We.createElement("div",{className:Qe.content},Kn,Ao?We.createElement("span",{className:"aiBlink"},"__"):""))},et={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},ct=ve(81327),ot=Object.defineProperty,$e=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,vt=(Bn,an,wn)=>an in Bn?ot(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,Ot=(Bn,an)=>{for(var wn in an||(an={}))it.call(an,wn)&&vt(Bn,wn,an[wn]);if($e)for(var wn of $e(an))gt.call(an,wn)&&vt(Bn,wn,an[wn]);return Bn};const lt=Bn=>React.createElement("svg",Ot({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Bn),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var ut="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkz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C4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ve=Object.defineProperty,rt=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Rt=(Bn,an,wn)=>an in Bn?Ve(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,wt=(Bn,an)=>{for(var wn in an||(an={}))He.call(an,wn)&&Rt(Bn,wn,an[wn]);if(rt)for(var wn of rt(an))pt.call(an,wn)&&Rt(Bn,wn,an[wn]);return Bn};const ht=Bn=>React.createElement("svg",wt({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Bn),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var Ze="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4OS4xMjUgMTg5LjEyNSAwIDAgMC0yMy41NTIgOTguNDYxYzEuNTc1IDc2Ljg4IDM1LjQ0NiAxMzguMDgzIDEwMi42MzYgMTgxLjY0MiA3LjU2MiA0Ljk2MyA5LjUzMSA5LjkyNSA3LjA5IDE3LjI1LTQuNDkgMTQuOTY3LTkuOTI2IDI5LjU0LTE0LjgxIDQ0LjU4NC0yLjk5MiA5LjYxLTcuNTYxIDExLjY1OC0xOC4yNzQgNy40ODNhMzA5L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ze}],Or=Nr.find(fa=>fa.key===Bn);return Se.createElement("div",{className:et.select},Se.createElement(ct.Z,{size:10},Se.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Se.createElement("div",{className:et.box,onMouseLeave:()=>Dr(!1)},Se.createElement("div",{className:et.text,onClick:()=>Dr(!0)},Se.createElement("img",{src:Or.img,width:20}),Se.createElement("span",null,Or.name),Se.createElement("b",{className:"iconfont icon-zhankai6"})),wn&&Se.createElement("div",{className:et.itemWrap},Se.createElement("aside",null,Nr.map(fa=>Se.createElement("div",{key:fa.key,className:`${et.item} ${fa.key===Bn?et.active:""}`,onClick:Kn=>{Kn.stopPropagation(),an(fa.key),Dr(!1)}},Se.createElement("img",{src:fa.img,width:20}),Se.createElement("span",null,fa.name))))))))},at={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},Et=ve(99064),Ye=ve(955),yt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},Bt=({src:Bn,onClick:an,topPercentage:wn=.62,draggableExtraNode:Dr})=>{const Nr=(0,de.useRef)(null),Or=(0,de.useRef)(!1),fa=(0,de.useRef)(!1),[Kn,br]=(0,de.useState)(window.innerHeight*wn),[ga,dr]=(0,de.useState)(!1),Mr=10;return(0,de.useEffect)(()=>{if(Nr.current){let Sr=function(po){var io;Or.current=!0,ri=po.pageY,Ao=po.pageY-(((io=Nr.current)==null?void 0:io.getBoundingClientRect().top)||0),(0,Ye.kk)("none"),document.onselectstart=function(){return!1}},Ta=function(){Or.current&&!fa.current&&an&&an(),Or.current=!1,fa.current=!1,(0,Ye.kk)("auto"),document.onselectstart=null},$a=function(po){var io;if(Or.current){const Fo=po.pageY-Ao,mi=window.innerHeight-(((io=Nr.current)==null?void 0:io.offsetHeight)||0)-50,ir=50;if(!fa.current&&Math.abs(ri-po.pageY)>Mr&&(fa.current=!0),fa.current){let zi=Math.max(ir,Math.min(Fo,mi));br(zi)}}},Ao=0,ri=0;return Nr.current.addEventListener("mousedown",Sr),document.addEventListener("mousemove",$a),document.addEventListener("mouseup",Ta),()=>{var po,io;(io=(po=Nr==null?void 0:Nr.current)==null?void 0:po.removeEventListener)==null||io.call(po,"mousedown",Sr),document.removeEventListener("mousemove",$a),document.removeEventListener("mouseup",Ta)}}},[an]),(0,de.useEffect)(()=>{const Sr=()=>{br(window.innerHeight*wn)};return window.addEventListener("resize",Sr),()=>{window.removeEventListener("resize",Sr)}},[wn]),de.createElement("div",{className:yt.draggableImage,style:{top:`${Kn}px`,display:ga?"none":"block",cursor:Or.current?"grabbing":"grab"},ref:Nr},Dr,de.createElement("img",{className:yt.img,src:Bn,width:60,draggable:"false"}),de.createElement("i",{className:`iconfont icon-tupianguanbi ${yt.close}`,onMouseUp:Sr=>{Sr.stopPropagation(),dr(!0)}}))},Tt="data:image/png;base64,iVBORw0KGg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uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Vt=ve(3294),Yt=ve(86204),sn=ve(85149),pn=Object.defineProperty,En=Object.defineProperties,kn=Object.getOwnPropertyDescriptors,Hn=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Ar=(Bn,an,wn)=>an in Bn?pn(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,hr=(Bn,an)=>{for(var wn in an||(an={}))jr.call(an,wn)&&Ar(Bn,wn,an[wn]);if(Hn)for(var wn of Hn(an))kr.call(an,wn)&&Ar(Bn,wn,an[wn]);return Bn},mr=(Bn,an)=>En(Bn,kn(an)),Vr=(Bn,an,wn)=>Ar(Bn,typeof an!="symbol"?an+"":an,wn),$r=(Bn,an,wn)=>new Promise((Dr,Nr)=>{var Or=br=>{try{Kn(wn.next(br))}catch(ga){Nr(ga)}},fa=br=>{try{Kn(wn.throw(br))}catch(ga){Nr(ga)}},Kn=br=>br.done?Dr(br.value):Promise.resolve(br.value).then(Or,fa);Kn((wn=wn.apply(Bn,an)).next())});class sa extends Yt.EventEmitter{constructor(an,wn){super(),Vr(this,"url"),Vr(this,"body"),Vr(this,"fullContent",""),Vr(this,"controller",null),this.url=an,this.body=wn}startStream(){return $r(this,null,function*(){this.controller=new AbortController;const{signal:an}=this.controller;try{const wn=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:an});if(!wn.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${wn.status}`);const Dr=wn.headers.get("content-type");if(!Dr||!Dr.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Nr=wn.body.getReader(),Or=new TextDecoder("utf-8");for(;;){const{done:fa,value:Kn}=yield Nr.read();if(fa)break;const ga=Or.decode(Kn,{stream:!0}).split(` `);for(const dr of ga)if(dr.startsWith("data:")){let Mr=(0,sn.z)(dr.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Mr==="[DONE]")break;try{const Sr=JSON.parse(Mr);Sr.data&&this.handleData(mr(hr({},Sr.data),{content:Sr.data.content.replace(/\\\\/g,"\\")}))}catch(Sr){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Sr)}}}this.emit("done",this.fullContent)}catch(wn){wn.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",wn.message)}})}handleData(an){an.content&&(this.fullContent+=an.content,this.emit("data",{chunk:an,full:this.fullContent}))}cancelRequest(){var an;(an=this.controller)==null||an.abort()}}var Za=sa,da=ve(58617),ja=ve(32050),Da=Object.defineProperty,ka=Object.defineProperties,Oa=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,ur=(Bn,an,wn)=>an in Bn?Da(Bn,an,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Bn[an]=wn,Rr=(Bn,an)=>{for(var wn in an||(an={}))bo.call(an,wn)&&ur(Bn,wn,an[wn]);if(co)for(var wn of co(an))oo.call(an,wn)&&ur(Bn,wn,an[wn]);return Bn},Jt=(Bn,an)=>ka(Bn,Oa(an)),on=(Bn,an,wn)=>new Promise((Dr,Nr)=>{var Or=br=>{try{Kn(wn.next(br))}catch(ga){Nr(ga)}},fa=br=>{try{Kn(wn.throw(br))}catch(ga){Nr(ga)}},Kn=br=>br.done?Dr(br.value):Promise.resolve(br.value).then(Or,fa);Kn((wn=wn.apply(Bn,an)).next())}),er=({title:Bn="\u5934\u6B4CAI",placeholder:an,hideUpload:wn,hideInputBox:Dr,aiIcon:Nr=Tt,userIcon:Or=Lt,dragIcon:fa=qt,children:Kn,fetchUrl:br,fetchData:ga={},extraAnswerAction:dr,showDefaultTips:Mr=!0,onOpen:Sr,onClose:Ta,loadingOption:$a,showPreference:Ao=!1,initMessage:ri,customRequest:po,visible:io,width:mo=1200,isCheckRestrictNumber:Fo=!1,headNode:mi,headFunctionNode:ir,showRedraw:zi,showEdit:Si,promptPropName:wo="prompt",topPercentage:to,showSwitchingModel:xr=!1,showImageGenerator:ma=!1,showLookHistory:no=!1,fetchListObject:aa,customPreference:Ai,customDataNode:Xa,showAddSession:Gi,historyId:ws,draggableExtraNode:Ya,drawerExtraNode:hl,menuExtraFunctionNode:Fr,showSceneAwareness:Es=!1})=>{var pl;const[Ns,Bs]=(0,de.useState)(!1),[es,Ms]=(0,de.useState)("qwen-max"),[ds,Co]=(0,de.useState)([]),[ui,gi]=(0,de.useState)(!1),[Ko,$o]=(0,de.useState)(!1),[ts,No]=(0,de.useState)(!1),[ro,qa]=(0,de.useState)([]),[Pi,Mi]=(0,de.useState)(""),[jo,rl]=(0,de.useState)(0),[bn,Xn]=(0,de.useState)(!1),[Tr,cr]=(0,de.useState)(null),[nr,pr]=(0,de.useState)(""),fr=(0,de.useRef)(),zr=(0,de.useRef)(null),Qr=(0,de.useRef)(null),[la,Zn]=(0,de.useState)(!1),[pa,Sa]=(0,de.useState)(!1),[Eo,Na]=(0,de.useState)(!1),[va,Uo]=(0,de.useState)(!1),[Zr,Is]=(0,de.useState)(0),Do=(0,de.useRef)(null),fs=(0,de.useRef)(!1),ei=(0,de.useRef)(null),[So,Mo]=(0,de.useState)(void 0),[ko,Bo]=(0,de.useState)(!0),[ss,Ui]=(0,de.useState)(mo-28),[Ki,gs]=(0,de.useState)(!1),[ki,Kl]=(0,de.useState)(!0),[il,ms]=(0,de.useState)([]),sl=(0,de.useRef)([]),Mt=(0,de.useRef)(!1),Ma=ss-22,Lo=Pi==null?void 0:Pi.split(` diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.1b2a021a.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.1b2a021a.async.js deleted file mode 100644 index e78bf18d0b..0000000000 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.1b2a021a.async.js +++ /dev/null @@ -1,12 +0,0 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[195],{27812:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return l}});var n=s(92413),X=s(59301),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},U=x,h=s(7657),D=function(g,o){return X.createElement(h.Z,(0,n.Z)({},g,{ref:o,icon:U}))},b=X.forwardRef(D),l=b},67921:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return l}});var n=s(92413),X=s(59301),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},U=x,h=s(7657),D=function(g,o){return X.createElement(h.Z,(0,n.Z)({},g,{ref:o,icon:U}))},b=X.forwardRef(D),l=b},61481:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return l}});var n=s(92413),X=s(59301),x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},U=x,h=s(7657),D=function(g,o){return X.createElement(h.Z,(0,n.Z)({},g,{ref:o,icon:U}))},b=X.forwardRef(D),l=b},63524:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return l}});var n=s(92413),X=s(59301),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},U=x,h=s(7657),D=function(g,o){return X.createElement(h.Z,(0,n.Z)({},g,{ref:o,icon:U}))},b=X.forwardRef(D),l=b},918:function(yt,Ke){"use strict";Ke.Z={poor_rating:"poor_rating___h5Pkz",title:"title___Kt7fx",content:"content___uWG5Y",row_sty:"row_sty___VNKxj",bottom_line:"bottom_line___o6CYn",row_sty1:"row_sty1___gzdZR",lable_name:"lable_name___XcFiQ",h_lh_40:"h_lh_40___rY3ds",tooltip_icon:"tooltip_icon___Yv0p3",lable_name1:"lable_name1___g8Eds",title_icon:"title_icon___tSQED"}},89529:function(yt,Ke){"use strict";Ke.Z={flex_box_center:"flex_box_center___iIik3",flex_space_between:"flex_space_between___Q7wj5",flex_box_vertical_center:"flex_box_vertical_center___LFAxO",flex_box_center_end:"flex_box_center_end___SFNWP",flex_box_column:"flex_box_column___aq5d_",form:"form___z6oqV",efficiency:"efficiency___VZgt9",configWorkContainer:"configWorkContainer___gQ6ac",tips:"tips___PkPgo",total:"total___c2k9V",tip1:"tip1___BUn8c",tip2:"tip2___Q8WSw",configworksContainer:"configworksContainer___P0ZE6",content:"content___Mow99",pubColSty:"pubColSty___YePTJ",selectSty:"selectSty___AGg4a",borderSty:"borderSty___qYL9U",delSty:"delSty___kbXe4",delBorder:"delBorder___wV7XA",copHover:"copHover___R3G_x",title_icon:"title_icon___eT6qQ",title:"title___uXYiB",multiple_select:"multiple_select___aCIWH"}},6021:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return p}});var n=s(3113),X=s(59301),x=Object.defineProperty,U=Object.defineProperties,h=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,P=(d,r,f)=>r in d?x(d,r,{enumerable:!0,configurable:!0,writable:!0,value:f}):d[r]=f,g=(d,r)=>{for(var f in r||(r={}))b.call(r,f)&&P(d,f,r[f]);if(D)for(var f of D(r))l.call(r,f)&&P(d,f,r[f]);return d},o=(d,r)=>U(d,h(r)),w=(d,r)=>{var f={};for(var v in d)b.call(d,v)&&r.indexOf(v)<0&&(f[v]=d[v]);if(d!=null&&D)for(var v of D(d))r.indexOf(v)<0&&l.call(d,v)&&(f[v]=d[v]);return f},F=(d,r,f)=>new Promise((v,O)=>{var T=te=>{try{k(f.next(te))}catch(L){O(L)}},K=te=>{try{k(f.throw(te))}catch(L){O(L)}},k=te=>te.done?v(te.value):Promise.resolve(te.value).then(T,K);k((f=f.apply(d,r)).next())});const p=d=>{var r=d,{children:f}=r,v=w(r,["children"]);const[O,T]=(0,X.useState)(!1);return X.createElement(n.ZP,o(g({},v),{loading:O,onClick:K=>F(void 0,null,function*(){try{T(!0),yield v.onClick(K),T(!1)}catch(k){console.error(k),T(!1)}})}),f)}},12393:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return O}});var n=s(59301),X=s(78241),x=s(8591),U=s(43418),h=s(5083),D=s(92832),b=s(1710),l=s(95237),P=s(43604),g=s(61186),o=s.n(g),w=s(955),F=s(89070),p={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},d=s(92365),r=s(79834),f=(T,K,k)=>new Promise((te,L)=>{var $=ae=>{try{V(k.next(ae))}catch(S){L(S)}},M=ae=>{try{V(k.throw(ae))}catch(S){L(S)}},V=ae=>ae.done?te(ae.value):Promise.resolve(ae.value).then($,M);V((k=k.apply(T,K)).next())});const v=({dispatch:T,courseEndTime:K,classroomList:k,successCallback:te=()=>{},visible:L,homeworkIds:$,courseId:M,isBatch:V,shixunHomeworks:ae})=>{const[S]=X.default.useForm(),[ue,c]=(0,n.useState)(!1),[ne,Q]=(0,n.useState)(!1),[q,oe]=(0,n.useState)(!1),[Y,A]=(0,n.useState)([]),[E,_]=(0,n.useState)([]),[N,H]=(0,n.useState)([]),[J,me]=(0,n.useState)([]),[Se,be]=(0,n.useState)([]),[Be,we]=(0,n.useState)([]),[z,We]=(0,n.useState)([]),[Re,u]=(0,n.useState)([]),[j,i]=(0,n.useState)([]);(0,n.useEffect)(()=>{L?t():a()},[L]);const t=()=>f(void 0,null,function*(){c(!0);const y=yield(0,d.oR)($[0],{course_id:M});oe(y.no_group),V?(We(y.all_course_groups),u(y.all_course_groups)):(me(y.late_course_groups),be(y.late_course_groups),A(y.submit_course_groups),_(y.submit_course_groups)),c(!1),S.setFieldsValue({end_time:o()()})}),e=()=>f(void 0,null,function*(){const y=S.getFieldsValue(),W=o()(y.end_time).format("YYYY-MM-DD HH:mm");if((V?j.length===0:N.length===0&&Be.length===0)&&!q){x.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Q(!0);const se=yield(0,d.Mc)(M,{no_group:q,homework_ids:$,group_ids:V?j:N,end_time:W,late_group_ids:V?j:Be});Q(!1),se.status===0&&(a(),x.ZP.success("\u64CD\u4F5C\u6210\u529F"),te(),T({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),a=()=>{H([]),we([]),_([]),be([])};return n.createElement(U.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:p.modalWrapper,width:V||q?520:760,open:L,confirmLoading:ne,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>e(),onCancel:()=>{a(),T({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:p.tips},n.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),n.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),n.createElement(X.default,{form:S,layout:"vertical"},n.createElement(X.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},n.createElement(h.default,{style:{width:"100%"},disabledDate:y=>(0,r.Q8)(y,K),disabledTime:y=>(0,r.d0)(y),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,w.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!q&&n.createElement(n.Fragment,null,V?n.createElement("div",null,n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{u(z.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement(b.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{i(y)}},rowKey:"id",pagination:!1,dataSource:Re,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):n.createElement(l.Z,{gutter:24},n.createElement(P.Z,{span:14},n.createElement("div",{className:p.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{_(Y.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement("div",{className:p.tableWrapper},n.createElement(b.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{H(y)}},rowKey:"id",pagination:!1,dataSource:E,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),n.createElement(P.Z,{flex:10,style:{maxWidth:"280px"}},n.createElement("div",{className:p.homeworkType},"\u8865\u4EA4\u622A\u6B62"),n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{be(J.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement("div",{className:p.tableWrapper},n.createElement(b.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{we(y)}},rowKey:"id",pagination:!1,loading:ue,dataSource:Se,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var O=(0,F.connect)(({shixunHomeworks:T,classroomList:K})=>({shixunHomeworks:T,classroomList:K}))(v)},26084:function(yt,Ke,s){"use strict";var n=s(59301),X=s(43418),x=s(8591),U=s(3113),h=s(86129),D=s.n(h),b=s(3294),l=s(955),P=s(99064),g=s(59301),o=Object.defineProperty,w=Object.defineProperties,F=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,f=(k,te,L)=>te in k?o(k,te,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[te]=L,v=(k,te)=>{for(var L in te||(te={}))d.call(te,L)&&f(k,L,te[L]);if(p)for(var L of p(te))r.call(te,L)&&f(k,L,te[L]);return k},O=(k,te)=>w(k,F(te)),T=(k,te,L)=>new Promise(($,M)=>{var V=ue=>{try{S(L.next(ue))}catch(c){M(c)}},ae=ue=>{try{S(L.throw(ue))}catch(c){M(c)}},S=ue=>ue.done?$(ue.value):Promise.resolve(ue.value).then(V,ae);S((L=L.apply(k,te)).next())});const K=({files:k=[],name:te,buttonProps:L={},hide:$,onOk:M=()=>{}},V)=>{const[ae,S]=(0,n.useState)(!1);let ue=(0,n.useRef)(new(D()));(0,n.useImperativeHandle)(V,()=>({exportReport:c,exportAndCreateUserFolder:ne}));const c=(A,E="\u9644\u4EF6")=>T(void 0,null,function*(){const _=A||k;S(!0);let N=0,H=0,J=0,me=X.default.info({width:460,title:g.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",E,",",g.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:g.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",g.createElement("span",{className:"c-blue"},N+1),"/",_==null?void 0:_.length),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{}});function Se(){return T(this,null,function*(){var be,Be;q({},`${b.Z.API_SERVER}/api/attachments/${(0,l.Jn)((be=_==null?void 0:_[N])==null?void 0:be.id)}?t=${(0,l.Jn)((Be=_==null?void 0:_[N])==null?void 0:Be.id,Date.now())}`,(we,z)=>T(this,null,function*(){var We,Re;if(((We=we.target.response)==null?void 0:We.type)==="application/json"){let i=yield Q(we.target.response);if(i.message){x.ZP.warning((i==null?void 0:i.message)||"\u4E0B\u8F7D\u51FA\u9519, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),S(!1);return}}let u=new Blob([we.target.response],{type:"application/vnd.ms-excel;charset=utf-8"});H=H+u.size;let j=(Re=_==null?void 0:_[N])==null?void 0:Re.filename;setTimeout(()=>T(this,null,function*(){ue.current.file(j,u),me.update({content:g.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",g.createElement("span",{className:"c-blue"},N+1),"/",_==null?void 0:_.length,J>0?g.createElement("span",null,"(\u5DF2\u62C6\u5206",J,"\u4E2Azip\u5305)"):"")}),N===(_==null?void 0:_.length)-1?Y(me,J>0?J+1:0):H>900*1024*1024?(J++,H=0,oe(J,()=>{N++,Se()})):(N++,Se())}),2600)}))})}Se()}),ne=(A,E="\u9644\u4EF6",_)=>T(void 0,null,function*(){S(!0);let N=0;const H=A.flat().length,J=X.default.info({width:460,title:g.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",E,",",g.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:g.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",g.createElement("span",{className:"c-blue"},N),"/",H),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function me(Be,we){return T(this,null,function*(){const z=yield(0,P.ZP)(`${b.Z.API_SERVER}/api/attachments/${Be.id}`,{method:"get"});let We=new Blob([z],{type:"application/vnd.ms-excel;charset=utf-8"}),Re=Be.filename;we.file(Re,We),N+=1,J.update({content:g.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",g.createElement("span",{className:"c-blue"},N),"/",H)})})}for(const Be of A){const we=`${Be[0].user_name}-${Be[0].student_id}`,z=ue.current.folder(we);for(const We of Be)yield me(We,z)}const Se=yield ue.current.generateAsync({type:"blob"}),be=document.createElement("a");be.href=window.URL.createObjectURL(Se),be.download=`${_||te}.zip`,document.body.appendChild(be),be.click(),document.body.removeChild(be),window.URL.revokeObjectURL(be.href),J.destroy(),S(!1),M(),ue.current=new(D())});function Q(A){return new Promise(E=>{let _=new FileReader;_.readAsText(A,"utf-8"),_.addEventListener("loadend",()=>{const N=JSON.parse(_.result);E(N)})})}const q=(A,E,_,N)=>{const H=E,J=new window.XMLHttpRequest;return J.withCredentials=!0,J.addEventListener("load",function(me){_(me,J)},!1),J.addEventListener("error",function(me){N&&N(me)},!1),J.responseType="blob",J.open("GET",H),J.send(null),J},oe=(A,E)=>{ue.current.generateAsync({type:"blob"}).then(function(_){const N=document.createElement("a");N.href=window.URL.createObjectURL(_),N.download=te+`-${A}.zip`,document.body.appendChild(N);const H=document.createEvent("MouseEvents");H.initEvent("click",!1,!1),N.dispatchEvent(H),document.body.removeChild(N),ue.current=new(D()),E()})},Y=(A,E)=>{ue.current.generateAsync({type:"blob"}).then(function(_){const N=document.createElement("a");N.href=window.URL.createObjectURL(_),E>0?N.download=te+`-${E}.zip`:N.download=te+".zip",document.body.appendChild(N);const H=document.createEvent("MouseEvents");H.initEvent("click",!1,!1),N.dispatchEvent(H),document.body.removeChild(N),A.destroy(),S(!1),M(),ue.current=new(D())})};return $?g.createElement(g.Fragment,null):g.createElement(U.ZP,O(v({},L),{onClick:()=>c(),loading:ae}),"\u4E0B\u8F7D")};Ke.Z=(0,n.forwardRef)(K)},23765:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return d}});var n=s(59301),X={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},x=s(92310),U=s.n(x),h=s(23210),D=s(73524),b=s(955),l=s(3294),P=s(99064),g=s(24065),o=s(89070),w=s(8591),F=(r,f,v)=>new Promise((O,T)=>{var K=L=>{try{te(v.next(L))}catch($){T($)}},k=L=>{try{te(v.throw(L))}catch($){T($)}},te=L=>L.done?O(L.value):Promise.resolve(L.value).then(K,k);te((v=v.apply(r,f)).next())});const p=({className:r,style:f,dataSource:v=[],authority:O=!1,callback:T,showDimensions:K=!0,classroomList:k})=>{var te;const[L,$]=(0,n.useState)({content:"",type:""}),[M,V]=(0,n.useState)({}),[ae,S]=(0,n.useState)(!1),[ue,c]=(0,n.useState)({title:"",visible:!1,src:"",snapshotData:{}}),ne=(0,n.useRef)(),Q=A=>F(void 0,null,function*(){if(V(A),A.file_type==="txt"){const E=yield(0,P.ZP)(A.url,{method:"get",headers:{"Content-Type":"application/xml"}});ne.current=E}$({type:A.file_type,content:l.Z.API_SERVER+A.url})}),q=A=>{var E;c({visible:!0,src:l.Z.API_SERVER+A.url,id:A.id,title:A.title,snapshotData:(E=A==null?void 0:A.subitem)==null?void 0:E.settings})},oe=A=>F(void 0,null,function*(){var E;$({type:A.file_type,content:l.Z.API_SERVER+((E=A==null?void 0:A.subitem)==null?void 0:E.url)})}),Y=()=>{T(),c({visible:!1})};return v!=null&&v.length?n.createElement(n.Fragment,null,n.createElement("div",{className:U()(X.list,r),style:f},v.map((A,E)=>{var _,N,H;return n.createElement("div",{key:E,className:X.row},n.createElement("div",{className:X.title,onClick:()=>Q(A)},n.createElement("i",{className:"iconfont icon-fujian1"}),n.createElement("span",{title:A.title},A.title)),n.createElement("div",{className:X.size},A.filesize),n.createElement("div",{className:X.download,onClick:()=>{var J,me;if((0,g.Rm)()&&!((J=k.AssistantObject.normal)!=null&&J.can_download)){w.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,b.Nd)("",`${l.Z.API_SERVER}${(me=A.url)==null?void 0:me.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(A==null?void 0:A.file_type)&&n.createElement("div",{className:X.preview,onClick:()=>Q(A)},n.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(A==null?void 0:A.file_type)&&K&&(O?n.createElement("div",{className:X.annotation,onClick:()=>q(A)},n.createElement("i",{className:"iconfont icon-pizhu"}),(_=A.subitem)!=null&&_.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((N=A.subitem)==null?void 0:N.id)&&n.createElement("div",{className:X.annotation,onClick:()=>oe(A)},n.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(A==null?void 0:A.file_type)&&((H=A.subitem)==null?void 0:H.id)&&n.createElement("div",{className:X.download,style:{marginLeft:20},onClick:()=>{var J,me;(0,b.Nd)("",`${l.Z.API_SERVER}${(me=(J=A==null?void 0:A.subitem)==null?void 0:J.url)==null?void 0:me.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(A==null?void 0:A.file_type)&&(0,g.eB)()&&["xlsx","docx","pptx"].includes(A==null?void 0:A.file_sub)&&K&&n.createElement("div",{className:X.annotation,onClick:()=>{S(!0),Q(A)}},n.createElement("i",{className:"iconfont icon-pizhu"}),A.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),A.is_edit&&(0,g.dE)()&&K&&n.createElement("div",{className:X.annotation,onClick:()=>{Q(A)}},n.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),n.createElement(h.Z,{close:!0,data:L==null?void 0:L.content,type:L==null?void 0:L.type,hasMask:!0,disabledDownload:(0,g.Rm)()&&!((te=k.AssistantObject.normal)!=null&&te.can_download),editOffice:ae?"edit":"view",monacoEditor:{value:ne.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:O&&K&&L.type==="image"?()=>q(M):null,onClose:()=>{T(),S(!1),$({content:"",type:""})}}),n.createElement(D.Z,{onOk:Y,onClose:()=>c({visible:!1}),data:ue,showFullTools:!0})):null};var d=(0,o.connect)(({classroomList:r})=>({classroomList:r}))(p)},57490:function(yt,Ke,s){"use strict";s.d(Ke,{z:function(){return Y},Z:function(){return A}});var n=s(59301),X=s(54580),x=s(8591),U=s(43418),h=s(3113),D=s(3294),b=s(23538),l=Object.defineProperty,P=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,w=(E,_,N)=>_ in E?l(E,_,{enumerable:!0,configurable:!0,writable:!0,value:N}):E[_]=N,F=(E,_)=>{for(var N in _||(_={}))g.call(_,N)&&w(E,N,_[N]);if(P)for(var N of P(_))o.call(_,N)&&w(E,N,_[N]);return E},p=(E,_,N)=>new Promise((H,J)=>{var me=Be=>{try{be(N.next(Be))}catch(we){J(we)}},Se=Be=>{try{be(N.throw(Be))}catch(we){J(we)}},be=Be=>Be.done?H(Be.value):Promise.resolve(Be.value).then(me,Se);be((N=N.apply(E,_)).next())});const d="\u3000\u3000";function r(E){var _=["Bytes","KB","MB","GB","TB"];if(E==0)return"0 Byte";var N=parseInt(""+Math.floor(Math.log(E)/Math.log(1024)),10);return(E/Math.pow(1024,N)).toFixed(1)+" "+_[N]}var f=({value:E=[],action:_,onChange:N,className:H,maxSize:J=150,title:me="\u6587\u4EF6\u4E0A\u4F20",accept:Se=null})=>{const be={multiple:!1,fileList:E,accept:Se,withCredentials:!0,beforeUpload:we=>we.size/1024/1024(i.name.indexOf(d)===-1&&(i.name=`${i.name}${d}${r(i.size)}`),F({},i))),we.file.status==="done"&&((We=(z=we.file)==null?void 0:z.response)==null?void 0:We.status)===-1){message.error((u=(Re=we.file)==null?void 0:Re.response)==null?void 0:u.message),N([]);return}N(j)},onRemove:we=>p(void 0,null,function*(){const z=we.size/1024/1024;return we.status==="uploading"?!0:z0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:E.length>0,ghost:!0},me),React.createElement("span",{onClick:Be,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",J,"M)"," ")))},v=s(61481),O=s(89392),T=Object.defineProperty,K=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,L=(E,_,N)=>_ in E?T(E,_,{enumerable:!0,configurable:!0,writable:!0,value:N}):E[_]=N,$=(E,_)=>{for(var N in _||(_={}))k.call(_,N)&&L(E,N,_[N]);if(K)for(var N of K(_))te.call(_,N)&&L(E,N,_[N]);return E};const M=E=>React.createElement("svg",$({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},E),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var V="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",ae=Object.defineProperty,S=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,ne=(E,_,N)=>_ in E?ae(E,_,{enumerable:!0,configurable:!0,writable:!0,value:N}):E[_]=N,Q=(E,_)=>{for(var N in _||(_={}))ue.call(_,N)&&ne(E,N,_[N]);if(S)for(var N of S(_))c.call(_,N)&&ne(E,N,_[N]);return E},q=(E,_,N)=>new Promise((H,J)=>{var me=Be=>{try{be(N.next(Be))}catch(we){J(we)}},Se=Be=>{try{be(N.throw(Be))}catch(we){J(we)}},be=Be=>Be.done?H(Be.value):Promise.resolve(Be.value).then(me,Se);be((N=N.apply(E,_)).next())});const{Dragger:oe}=X.default;function Y(E){let _=[];return E&&E.length>0&&(_=E.map(N=>({uid:N.id,id:N.id,name:N.title+d+N.filesize,url:N.url,filesize:N.filesize,status:"done",response:{id:N.id}}))),_}var A=({value:E,onChange:_,action:N,data:H,className:J,maxSize:me=150,title:Se="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:be=!1,accept:Be="",additionalText:we,isDragger:z,number:We=1e3,aloneClear:Re=!1,realTimeRemove:u=!0,uploadText:j,setFileProgress:i,showFileProgress:t})=>{const[e,a]=(0,n.useState)(!1);let[y,W]=(0,n.useState)(E||[]),[Z,se]=(0,n.useState)(1);(0,n.useEffect)(()=>{E&&(Z===1&&W([...E]),se(2),We===(E==null?void 0:E.length)&&a(!0))},[E]);const ge=()=>{setTimeout(()=>{y.pop(),W([...y])},500)};t&&i(y.some(He=>He.status==="uploading"));const fe={multiple:!0,disabled:e,accept:Be,withCredentials:!0,fileList:y,beforeUpload:(He,Te)=>{const at=He.size/1024/1024;return y.concat(Te).length>We?(y.pop(),W([...y]),x.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${We}\u4E2A\u6587\u4EF6`),Re?Promise.reject():(ge(),!1)):at=We?a(!0):a(!1),W([...y]),y=y.map(Ot=>{var Ge,xt;return(Ge=Ot==null?void 0:Ot.response)!=null&&Ge.id&&(Ot.url=(xt=Ot==null?void 0:Ot.response)==null?void 0:xt.url),Ot.name.indexOf(d)===-1&&(Ot.name=`${Ot.name}${d}${r(Ot.size)}`),Q({},Ot)}),console.log("info:",He,y),_(y)},onRemove:He=>q(void 0,null,function*(){if(!u)return!0;const Te=()=>q(void 0,null,function*(){if(He.response?He.response.id:He.id){let Rt=yield(0,b.JZ)(He.response?He.response.id:He.uid);return Promise.resolve(Rt)}else return!0});return be?new Promise((at,Rt)=>{U.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>q(void 0,null,function*(){const qt=yield Te();x.ZP.success("\u5220\u9664\u6210\u529F"),at(!0)}),onCancel:()=>at(!1)})}):yield Te()})};function R(He){He.preventDefault(),He.stopPropagation()}return n.createElement("div",{className:`multi-upload ${J||""}`},z&&n.createElement(oe,Q({},fe),n.createElement("p",{className:"ant-upload-drag-icon"},n.createElement(v.Z,null)),n.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",n.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",me,"MB)"," "),we),!z&&n.createElement(X.default,Q({},fe),n.createElement(h.ZP,{disabled:e,className:"upload_button"},n.createElement("img",{className:"aBtn_img",src:V}),Se),n.createElement("span",{onClick:R,className:"upload_text"},j||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${me}MB)`)))}},85057:function(yt,Ke,s){"use strict";s.d(Ke,{jL:function(){return h},w9:function(){return me},QD:function(){return At},cQ:function(){return E},op:function(){return Rt},O5:function(){return rt},_b:function(){return yn},t7:function(){return v},Gi:function(){return We},YG:function(){return we},qp:function(){return o},vr:function(){return Sn},qE:function(){return Ge},Je:function(){return K},wb:function(){return Q},cq:function(){return e},tp:function(){return p}});var n=s(59301),X={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2v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p5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",h=({dataSource:Je=[],img:Ve,imgWidth:$e=346,title:ut,sunTitle:St,bannerExtraContent:kt})=>n.createElement("div",{className:X.banner},n.createElement("div",{className:X.content},n.createElement("aside",null,n.createElement("p",null,n.createElement("b",null,ut),n.createElement("span",null,St)),Je.length>0&&n.createElement("div",{className:X.btns},Je.map((ct,It)=>n.createElement("div",{key:It,onClick:ct.click},ct.name,ct.sign?n.createElement("img",{src:x,width:39}):null))),kt),Ve&&n.createElement("img",{style:{marginTop:33,marginRight:38},src:Ve,width:$e}))),D={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},b=s(92310),l=s.n(b),P=s(89392),o=({dataSource:Je=[],value:Ve,onChange:$e,onTitleChange:ut,className:St,title:kt,titleWidth:ct=41,style:It={},fontColor:ft="#6A7283",showCount:Gt})=>{const[Zt,dt]=(0,n.useState)(0),[En,_n]=(0,n.useState)(!1),Wt=(0,n.useRef)(null),sn=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var cn;Je.length!==0&&(((cn=Wt==null?void 0:Wt.current)==null?void 0:cn.clientHeight)>97?dt(1):dt(0)),Je.length===0&&dt(0),_n(!1)},[Je]),n.createElement("div",{className:l()(D.row,St),style:It},n.createElement("div",{onClick:(0,P.throttle)(()=>ut==null?void 0:ut(),2e3),style:{width:ct,marginTop:En?12:4},className:`${D.title} ${ut?"current":""}`},kt),n.createElement("div",{className:En?`${D.tagsWrap} ${D.tagsBorderWrap}`:D.tagsWrap},n.createElement("div",{className:D.bar,ref:sn,style:Zt>0?{height:Zt===1?97:"auto",overflow:Zt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},n.createElement("div",{className:D.tag,ref:Wt},Je==null?void 0:Je.map(cn=>n.createElement("span",{onClick:()=>$e(cn.id),key:cn.id,style:{color:ft},className:Ve===cn.id?D.active:""},n.createElement("span",{title:cn.name,className:D.name},cn.name),!!Gt&&n.createElement("span",{className:D.num},cn.count))))),!!Zt&&n.createElement(n.Fragment,null,Zt===1?n.createElement("div",{onClick:()=>{var cn;dt(2),((cn=Wt==null?void 0:Wt.current)==null?void 0:cn.clientHeight)>245?_n(!0):_n(!1)},className:D.action},"\u5C55\u5F00",n.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):n.createElement("div",{onClick:()=>{sn.current.scrollTop=0,dt(1),_n(!1)},className:D.action},"\u6536\u8D77",n.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},w={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},p=({dataSource:Je=[],value:Ve,onChange:$e,className:ut,style:St={}})=>n.createElement("div",{style:St,className:l()(w.tabs,ut)},Je.map(kt=>n.createElement("span",{onClick:()=>$e(kt.id),className:Ve===kt.id?w.active:"",key:kt.id},kt.name))),d={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},r=s(92832),v=({dataSource:Je=[],value:Ve="",onChange:$e,onInputChange:ut=()=>{},className:St,style:kt={},placeholder:ct,allowClear:It=!1})=>{var ft;const[Gt,Zt]=(0,n.useState)(""),[dt,En]=(0,n.useState)("");(0,n.useEffect)(()=>{var sn;let cn=Ve;(sn=JSON.stringify(Ve))!=null&&sn.includes("{")&&(Zt(Ve.id),cn=Ve.value||"");try{En(decodeURIComponent(cn||""))}catch(Vn){En(decodeURIComponent(cn||""))}},[Ve]);const _n=()=>{$e(encodeURIComponent(dt),Gt||null)},Wt=sn=>{sn!==Gt&&(Zt(sn),$e(encodeURIComponent(dt),sn))};return n.createElement("div",{className:l()(d.input,St),style:kt},!!Je.length&&n.createElement("div",{className:d.dropdown},n.createElement("div",{className:d.text},(ft=Je.find(sn=>sn.id===Gt))==null?void 0:ft.name,n.createElement("i",{className:"iconfont icon-zhankai4"}),n.createElement("b",{className:d.b1}),n.createElement("b",{className:d.b2})),n.createElement("div",{className:d.menu},Je.map((sn,cn)=>n.createElement("div",{key:cn,onClick:()=>Wt(sn.id)},sn.name)))),n.createElement(r.default,{onPressEnter:_n,value:dt,onChange:sn=>{En(sn.target.value),ut(encodeURIComponent(sn.target.value),Gt||null)},bordered:!1,placeholder:ct}),n.createElement("i",{onClick:_n,className:"iconfont icon-sousuo9 font14 pl10 current"}))},O={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},K=({value:Je,onChange:Ve,className:$e,total:ut,pageSize:St,style:kt={}})=>{const ct=Je<2,It=Je>=Math.ceil(ut/St);return ut<=St?n.createElement(n.Fragment,null):n.createElement("div",{className:l()(O.quickPager,$e),style:kt},n.createElement("div",{onClick:()=>{ct||Ve(Je-1,"prev")},className:ct?O.disabled:""},"\u4E0A\u4E00\u9875"),n.createElement("div",{onClick:()=>{It||Ve(Je+1,"next")},className:It?O.disabled:""},"\u4E0B\u4E00\u9875"))},k={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},te=s(71418),L=s(6848),$=s(13570),M=s(3294),V=s(955),ae=s(96908),S=s(57177),ue=s(81378),c=s(8797),Q=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft})=>{const Gt=Math.floor((ct-($e-1)*ut)/$e);return n.createElement(te.Z,{spinning:ft},n.createElement("div",{className:l()(k.list,Je)},!!Ve.length&&Ve.map((Zt,dt)=>{const{name:En,id:_n,identifier:Wt,power:sn,cover_image_id:cn,pic:Vn}=Zt;return n.createElement("div",{className:k.wrap,key:_n,style:{width:Gt,marginRight:(1+dt)%$e===0?0:ut+kt,marginBottom:St}},n.createElement("a",{target:"_blank",href:`/shixuns/${Wt}/challenges`,className:k.li,onClick:du=>{du.preventDefault(),It&&(0,V.L9)([It]),sn&&(0,V.xg)(`/shixuns/${Wt}/challenges`)}},n.createElement("div",{className:k.img},n.createElement("img",{className:k.cover,src:`${Vn}`}),Zt.is_jupyter&&n.createElement("img",{className:k.sign,src:ae}),Zt.is_jupyter_lab&&n.createElement("img",{className:k.sign,src:S}),Zt.is_unity_3d&&n.createElement("img",{className:k.sign,src:ue})),n.createElement("div",{className:k.name},n.createElement(L.Z,{title:En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},n.createElement("span",{className:k.e},En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),n.createElement("div",{className:k.tags},n.createElement(L.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),n.createElement("span",null,Zt.challenges_count))),!!Zt.myshixuns_count&&n.createElement(L.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),n.createElement("span",null,Zt.myshixuns_count))),n.createElement(L.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},n.createElement("span",null,n.createElement("span",null,Zt.level))),n.createElement("div",{className:k.rate},n.createElement($.Z,{allowHalf:!0,disabled:!0,defaultValue:Zt.score_info}),n.createElement("span",null,"\xA0",Zt.score_info?`${Zt.score_info}\u5206`:"5\u5206")))),!sn&&n.createElement("div",{className:k.lockWrap},n.createElement("img",{src:`${M.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ve.length&&n.createElement(c.Z,null)))},q={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},oe=s(24065),Y=s(59301),E=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft,onRemove:Gt=()=>{},isCurrent:Zt=!0,showAlias:dt=!1})=>{const En=Math.floor((ct-($e-1)*ut)/$e),_n=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Y.createElement(te.Z,{spinning:ft},Y.createElement("div",{className:l()(q.list,Je)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((Wt,sn)=>{var cn;const{name:Vn,id:du,identifier:xn,featured:Gu,school_name:Au,image_url:Tu,excellent:yu,is_plan:Lu}=Wt;return Y.createElement("div",{key:du,className:q.wrap,style:{width:En,marginRight:(1+sn)%$e===0?0:ut+kt,marginBottom:St}},Y.createElement("a",{className:q.li,onClick:Gn=>{Gn.preventDefault(),Gn.stopPropagation(),It&&(0,V.L9)([It]),(0,V.xg)(`/paths/${xn}`)}},Y.createElement("div",{className:q.img},Y.createElement("img",{className:q.cover,src:`${Tu}`}),Zt&&(0,oe.bg)()&&(Wt==null?void 0:Wt.studying)&&Y.createElement("div",{className:`${q.movebq} user-path-items`,onClick:Gn=>{Gn.stopPropagation(),Gt(Wt)}},Y.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Y.createElement("span",{className:"c-red"},"\u79FB\u9664")),(cn=Wt==null?void 0:Wt.subject_tags)==null?void 0:cn.map((Gn,Eu)=>{var wu,Bu;if(Eu===0){const Cu=(wu=_n.find(zu=>zu.name==Gn))==null?void 0:wu.swimg;return Y.createElement("img",{className:q.sign,src:Cu,style:{left:"-4px"}})}const Mu=(Bu=_n.find(Cu=>Cu.name==Gn))==null?void 0:Bu.ptimg;return Y.createElement("img",{className:q.sign,src:Mu,style:{left:`${48+52*(Eu-1)+2*Eu}px`}})}),Y.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Wt==null?void 0:Wt.excellent)&&Y.createElement("div",{className:q.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Y.createElement("div",{className:q.name},Y.createElement(L.Z,{title:dt&&(Wt!=null&&Wt.excellent_alias_name)?Y.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Vn}`,Y.createElement("br",null),Y.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Wt==null?void 0:Wt.excellent_alias_name}`)):Vn},Y.createElement("span",{className:q.e},dt&&(Wt==null?void 0:Wt.excellent_alias_name)||Vn))),Y.createElement(L.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Au}`},Y.createElement("div",{className:q.unit},Y.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Au)),Y.createElement("div",{className:q.tags},Y.createElement("div",null,Y.createElement(L.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Y.createElement("span",null,Y.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Y.createElement("span",null,Wt.stages_count))),Y.createElement(L.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Y.createElement("span",null,Y.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Y.createElement("span",null,Wt.members_count)))))))})),!Ve.length&&Y.createElement(c.Z,null)))},_={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},N="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9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B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",H=s(59301),me=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft,handleVery:Gt=()=>{}})=>{const Zt=Math.floor((ct-($e-1)*ut)/$e);return H.createElement(te.Z,{spinning:ft},H.createElement("div",{className:l()(_.list,Je)},!!Ve.length&&Ve.map((dt,En)=>{const{subject_identifier:_n,id:Wt,identifier:sn,power:cn}=dt,Vn=dt.is_public!=0&&dt.is_public;return H.createElement("div",{className:_.wrap,key:Wt,style:{width:Zt,marginRight:(1+En)%$e===0?0:ut+kt,marginBottom:St}},H.createElement("a",{className:_.li,onClick:du=>{du.preventDefault(),Gt(dt==null?void 0:dt.first_category_url)}},H.createElement("div",{className:_.top},H.createElement(L.Z,{title:dt.name},H.createElement("div",{className:_.name},dt.name)),H.createElement("img",{className:_.img,src:M.Z.IMG_SERVER+"/images/"+dt.avatar_url}),H.createElement("div",{className:_.text,title:dt.creator},dt.creator),_n&&H.createElement("div",{className:_.btns},H.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),H.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Vn&&H.createElement("div",{className:_.sign},"\u516C\u5F00")),H.createElement("div",{className:_.bottom},dt.visits>0&&H.createElement(L.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},H.createElement("span",null,H.createElement("i",{className:"iconfont icon-liulanyan"}),H.createElement("span",null,dt.visits))),dt.course_members_count>0&&H.createElement(L.Z,{title:"\u6210\u5458",placement:"bottom"},H.createElement("span",null,H.createElement("i",{className:"iconfont icon-chengyuan"}),dt.course_members_count)),dt.tasks_count>0&&H.createElement(L.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},H.createElement("span",null,H.createElement("i",{className:"iconfont icon-zuoye"}),dt.tasks_count)),dt.is_end?H.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):H.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!dt.is_accessible&&H.createElement("div",{className:_.lockWrap},H.createElement("img",{src:`${M.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),H.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ve.length&&H.createElement(c.Z,null)))},Se={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},be=s(89070),we=({dataSource:Je=[],value:Ve,onChange:$e,className:ut,style:St={},tabBarExtraContent:kt})=>n.createElement("div",{className:l()(Se.tabs,ut),style:St},n.createElement("div",{className:Se.tabsWrap},Je.map((ct,It)=>!(ct!=null&&ct.hide)&&n.createElement("aside",{className:Se.tab,onClick:()=>{$e(ct.id),ct.link&&be.history.push(ct.link)},key:It},n.createElement("div",{className:Ve===ct.id?Se.active:""},ct.name),(ct==null?void 0:ct.resetCount)==null&&(ct==null?void 0:ct.total)!==void 0&&n.createElement("span",null,"\uFF08",ct==null?void 0:ct.total,"\uFF09"),(ct==null?void 0:ct.resetCount)!==void 0&&(ct==null?void 0:ct.total)!==void 0&&n.createElement(L.Z,{title:(ct==null?void 0:ct.tip)!=null?ct==null?void 0:ct.tip:""},n.createElement("span",{style:{color:"#9096A3"}},"\uFF08",n.createElement("span",{style:{color:"#000"}},ct==null?void 0:ct.resetCount),"/",n.createElement("span",null,ct==null?void 0:ct.total),"\uFF09"))))),n.createElement("div",{className:Se.tabBar},kt)),We=({className:Je,style:Ve={},children:$e})=>n.createElement("div",{className:l()(Je),style:Ve},$e),Re={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},u=s(38854),j=s(20834);const i=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var e=({sortValue:Je,dropValue:Ve,className:$e,onSort:ut,onDrop:St,dataSource:kt=i})=>{var ct;return n.createElement("div",{className:l()(Re.orderWrap,$e)},n.createElement(u.Z,{dropdownRender:()=>n.createElement(j.default,null,kt.map((It,ft)=>n.createElement(j.default.Item,{key:ft,onClick:()=>St(It.id)},It.name)))},n.createElement("span",{className:Re.orderTextWrap},(ct=kt.find(It=>Ve===It.id))==null?void 0:ct.name)),n.createElement("span",{className:Re.orderIconWrap},n.createElement("span",{className:Re.orderAsc},n.createElement("i",{className:Je==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer}`,onClick:()=>ut(Je==="asc"?"desc":"asc")})),n.createElement("span",{className:Re.orderDesc},n.createElement("i",{className:Je==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer}`,onClick:()=>ut(Je==="asc"?"desc":"asc")}))))},a={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},y=s(3113),W=Object.defineProperty,Z=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,fe=(Je,Ve,$e)=>Ve in Je?W(Je,Ve,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Je[Ve]=$e,R=(Je,Ve)=>{for(var $e in Ve||(Ve={}))se.call(Ve,$e)&&fe(Je,$e,Ve[$e]);if(Z)for(var $e of Z(Ve))ge.call(Ve,$e)&&fe(Je,$e,Ve[$e]);return Je},He=(Je,Ve)=>{var $e={};for(var ut in Je)se.call(Je,ut)&&Ve.indexOf(ut)<0&&($e[ut]=Je[ut]);if(Je!=null&&Z)for(var ut of Z(Je))Ve.indexOf(ut)<0&&ge.call(Je,ut)&&($e[ut]=Je[ut]);return $e},Te=(Je,Ve,$e)=>new Promise((ut,St)=>{var kt=ft=>{try{It($e.next(ft))}catch(Gt){St(Gt)}},ct=ft=>{try{It($e.throw(ft))}catch(Gt){St(Gt)}},It=ft=>ft.done?ut(ft.value):Promise.resolve(ft.value).then(kt,ct);It(($e=$e.apply(Je,Ve)).next())}),Rt=Je=>{var Ve=Je,{className:$e,style:ut,children:St,loading:kt=!1,openLoading:ct,onClick:It=()=>{},size:ft="middle",shape:Gt="round"}=Ve,Zt=He(Ve,["className","style","children","loading","openLoading","onClick","size","shape"]);const[dt,En]=(0,n.useState)(!1);return n.createElement(y.ZP,R({onClick:(0,P.throttle)(_n=>Te(void 0,null,function*(){ct&&En(!0);try{yield It(_n)}catch(Wt){console.log("error",Wt)}ct&&En(!1)}),2e3,{leading:!0,trailing:!1}),className:l()(a.btn,a[`${ft}-${Gt}`],$e),style:ut,size:ft,shape:Gt,loading:dt||kt},Zt),St)},qt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ge=({className:Je,style:Ve,children:$e=null,onClick:ut,title:St})=>n.createElement("div",{className:l()(qt.head,Je),style:Ve},n.createElement("span",{className:"primary-hover",onClick:ut},n.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),n.createElement("b",{title:St},St),n.createElement("div",{className:qt.node},$e)),xt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},At=({confirmShow:Je=!0,confirmTitle:Ve,confirmClick:$e,cancelShow:ut=!0,cancelTitle:St,cancelClick:kt,className:ct,style:It,confirmLoading:ft=!1})=>n.createElement("div",{className:l()(xt.btns,ct),style:It},Je&&n.createElement(y.ZP,{loading:ft,onClick:$e,type:"primary",className:xt.confirm},Ve),ut&&n.createElement(y.ZP,{onClick:kt,className:xt.cancel},St)),Xt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Sn=({className:Je,style:Ve={},LeftContent:$e,children:ut,RightContent:St})=>n.createElement("div",{className:l()(Xt.fixedBottom,Je),style:Ve},n.createElement("div",{className:Xt.wrap},n.createElement("div",{className:Xt.left},$e),n.createElement("div",{className:Xt.center},ut),n.createElement("div",{className:Xt.right},St))),fn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},yn=({className:Je,style:Ve={},dataSource:$e=[]})=>n.createElement("div",{className:l()(fn.crumbs,Je),style:Ve},$e.map((ut,St)=>St<$e.length-1?n.createElement(n.Fragment,{key:St},ut.path||ut.onClick?n.createElement("span",{className:fn.hover,onClick:ut!=null&&ut.onClick?ut.onClick:()=>be.history.push(ut.path)},ut.name):n.createElement("span",null,ut.name),n.createElement("span",null,"\xA0",">","\xA0")):n.createElement("span",{key:St,style:{color:"#5F6368"}},ut.name))),Bn=s(31797),Rn=Object.defineProperty,$n=Object.defineProperties,qn=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,Kn=(Je,Ve,$e)=>Ve in Je?Rn(Je,Ve,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Je[Ve]=$e,tu=(Je,Ve)=>{for(var $e in Ve||(Ve={}))Yn.call(Ve,$e)&&Kn(Je,$e,Ve[$e]);if(jn)for(var $e of jn(Ve))eu.call(Ve,$e)&&Kn(Je,$e,Ve[$e]);return Je},wn=(Je,Ve)=>$n(Je,qn(Ve)),au=(Je,Ve)=>{var $e={};for(var ut in Je)Yn.call(Je,ut)&&Ve.indexOf(ut)<0&&($e[ut]=Je[ut]);if(Je!=null&&jn)for(var ut of jn(Je))Ve.indexOf(ut)<0&&eu.call(Je,ut)&&($e[ut]=Je[ut]);return $e};const{Countdown:ru}=Bn.default;var rt=Je=>{var Ve=Je,{onChange:$e}=Ve,ut=au(Ve,["onChange"]);const[St,kt]=(0,n.useState)(null);(0,n.useEffect)(()=>{typeof St=="number"&&St>=0&&$e(St)},[St]);const ct=It=>{const ft=Math.floor(It/1e3);kt(ft)};return n.createElement(ru,wn(tu({},ut),{onChange:ct}))}},58010:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),x=s(95237),U=s(43604),h=s(57809),D=s(5871),b=s(6848),l=s(5083),P=s(92832),g=s(89070),o=s(79834),w=s(89529),F=s(59301),p=Object.defineProperty,d=Object.defineProperties,r=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,T=($,M,V)=>M in $?p($,M,{enumerable:!0,configurable:!0,writable:!0,value:V}):$[M]=V,K=($,M)=>{for(var V in M||(M={}))v.call(M,V)&&T($,V,M[V]);if(f)for(var V of f(M))O.call(M,V)&&T($,V,M[V]);return $},k=($,M)=>d($,r(M)),te=($,M)=>{var V={};for(var ae in $)v.call($,ae)&&M.indexOf(ae)<0&&(V[ae]=$[ae]);if($!=null&&f)for(var ae of f($))M.indexOf(ae)<0&&O.call($,ae)&&(V[ae]=$[ae]);return V};const L=({disabled:$,shixunHomeworks:M,selectOptions:V,form:ae})=>{const{workSetting:S}=M,[ue,c]=(0,n.useState)([]),ne=(0,n.useMemo)(()=>V==null?void 0:V.filter(Q=>!ue.includes(Q.value)),[ue,V]);return(0,n.useEffect)(()=>{var Q;const q=((Q=S==null?void 0:S.anonymous_appeal_settings)==null?void 0:Q.filter(oe=>oe.appeal_time))||[];c(q.map(oe=>oe.group_name))},[S]),F.createElement(X.default.List,{name:"anonymous_appeal_settings"},(Q,{add:q,remove:oe})=>F.createElement(F.Fragment,null,Q.map(Y=>{var A;const E=Y,{key:_,name:N}=E,H=te(E,["key","name"]),me=ae.getFieldValue(["anonymous_appeal_settings",N]).deleteflag;return F.createElement("div",{key:_},F.createElement(x.Z,{align:"middle",style:{background:"#F6F7F9",padding:"5px 30px"}},F.createElement(U.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left",marginLeft:"54px",color:"#666"}},"\u7533\u8BC9\u89C4\u5219",_+1),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},H),{name:[Y.name,"group_name"]}),F.createElement(h.default,{mode:"multiple",disabled:$||!me,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:"245px"},className:w.Z.multiple_select,options:ne||[],onSelect:Se=>{c(be=>[...be,Se])},onDeselect:Se=>{c(be=>be.filter(Be=>Be!==Se))}}))),F.createElement(U.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},H),{label:"",name:[Y.name,"appeal_penalty"]}),F.createElement(D.Z,{min:0,disabled:$,size:"large",addonAfter:"\u5206",style:{width:"120px"}}))),F.createElement(b.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},F.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${w.Z.title_icon}`})),F.createElement(U.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},H),{label:"",name:[Y.name,"appeal_time"]}),F.createElement(l.default,{allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",disabled:$,size:"large",disabledDate:Se=>(0,o.Q8)(Se,S==null?void 0:S.course_end_date),disabledTime:Se=>(0,o.d0)(Se),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"}))),F.createElement(X.default.Item,k(K({},H),{name:[N,"deleteflag"]}),F.createElement(P.default,{type:"hidden"})),!$&&Q.length<((A=S==null?void 0:S.anonymous_appeal_settings)==null?void 0:A.length)&&F.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{q({deleteflag:!0})}}),_!==0&&!$&&me&&F.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Se=ae.getFieldValue(["anonymous_appeal_settings",N,"group_name"])||[];c(be=>be.filter(Be=>!Se.includes(Be))),oe(N)}})))})))};Ke.Z=(0,g.connect)(({shixunHomeworks:$})=>({shixunHomeworks:$}))(L)},33469:function(yt,Ke,s){"use strict";var n=s(59301),X=s(5083),x=s(78241),U=s(95237),h=s(43604),D=s(57809),b=s(8591),l=s(92832),P=s(5871),g=s(6848),o=s(24905),w=s(61186),F=s.n(w),p=s(89070),d=s(79834),r=s(24065),f=s(89529),v=s(59301),O=Object.defineProperty,T=Object.defineProperties,K=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,$=(c,ne,Q)=>ne in c?O(c,ne,{enumerable:!0,configurable:!0,writable:!0,value:Q}):c[ne]=Q,M=(c,ne)=>{for(var Q in ne||(ne={}))te.call(ne,Q)&&$(c,Q,ne[Q]);if(k)for(var Q of k(ne))L.call(ne,Q)&&$(c,Q,ne[Q]);return c},V=(c,ne)=>T(c,K(ne)),ae=(c,ne)=>{var Q={};for(var q in c)te.call(c,q)&&ne.indexOf(q)<0&&(Q[q]=c[q]);if(c!=null&&k)for(var q of k(c))ne.indexOf(q)<0&&L.call(c,q)&&(Q[q]=c[q]);return Q};const{RangePicker:S}=X.default,ue=({disabled:c,shixunHomeworks:ne,selectOptions:Q,form:q,data:oe,classroomList:Y})=>{const{workSetting:A}=ne,[E,_]=(0,n.useState)([]),N=(0,n.useMemo)(()=>Q==null?void 0:Q.filter(J=>!E.includes(J.value)),[E,Q]);(0,n.useEffect)(()=>{var J;const me=((J=A==null?void 0:A.anonymous_comment_settings)==null?void 0:J.filter(Se=>Se.evaluation_end))||[];_(me.map(Se=>Se.group_name))},[A]);const H=J=>{var me;const Se=(me=A==null?void 0:A.anonymous_appeal_settings)==null?void 0:me.find(be=>be.group_id===J);return oe.anonymous_appeal&&Se&&(Se==null?void 0:Se.appeal_time)!==null};return v.createElement(x.default.List,{name:"anonymous_comment_settings"},(J,{add:me,remove:Se})=>v.createElement(v.Fragment,null,J.map(be=>{var Be,we;const z=be,{key:We,name:Re}=z,u=ae(z,["key","name"]),j=q.getFieldValue(["anonymous_comment_settings",Re]),i=j.deleteflag,t=F()((Be=j.evaluation_start)==null?void 0:Be[0])<=F()(),e=!i&&t?[!0,H(j==null?void 0:j.group_id)]:[!1,!1];return v.createElement("div",{key:We,style:{background:"#F6F7F9",padding:"5px 30px"}},v.createElement(U.Z,{align:"top",style:{marginLeft:"53px"}},v.createElement(h.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left"}},"\u533F\u8BC4\u89C4\u5219",We+1),v.createElement(h.Z,{flex:1},v.createElement(U.Z,{align:"middle",style:{marginBottom:10}},v.createElement(h.Z,{span:8},v.createElement(x.default.Item,V(M({},u),{name:[Re,"group_name"]}),v.createElement(D.default,{mode:"multiple",disabled:c||!i,className:f.Z.multiple_select,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",options:N||[],onSelect:a=>{_(y=>[...y,a])},onDeselect:a=>{_(y=>y.filter(W=>W!==a))}}))),v.createElement(h.Z,{className:"ml20"},v.createElement(x.default.Item,V(M({},u),{name:[Re,"evaluation_start"]}),v.createElement(S,{ranges:{\u6B64\u523B:()=>{var a;const y=(a=j==null?void 0:j.evaluation_start)==null?void 0:a[0];return[y?F()(y):F()(),F()()]}},size:"large",style:{width:"500px"},disabled:c||e,allowClear:!1,disabledDate:a=>(0,d.Q8)(a,A==null?void 0:A.course_end_date),disabledTime:a=>(0,d.d0)(a),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",onChange:()=>{var a;if((0,r.Rm)()&&!((a=Y.AssistantObject.group)!=null&&a.can_anonymous_comment)){b.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),v.createElement(x.default.Item,V(M({},u),{name:[Re,"deleteflag"]}),v.createElement(l.default,{type:"hidden"})),!c&&J.length<((we=A==null?void 0:A.anonymous_comment_settings)==null?void 0:we.length)&&v.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{me({deleteflag:!0})}}),We!==0&&!c&&i&&v.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const a=q.getFieldValue(["anonymous_comment_settings",Re,"group_name"])||[];_(y=>y.filter(W=>!a.includes(W))),Se(Re)}})))),v.createElement(U.Z,{align:"middle",style:{marginLeft:"53px"}},v.createElement(h.Z,{style:{width:"75px"}},"\u533F\u8BC4\u6570\u91CF"),v.createElement(h.Z,null,v.createElement(x.default.Item,V(M({},u),{label:"",colon:!1,name:[Re,"evaluation_num"]}),v.createElement(P.Z,{min:0,size:"large",style:{marginLeft:"5px"},disabled:c||!i&&t}))),v.createElement(g.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},v.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${f.Z.title_icon}`})),v.createElement(h.Z,{style:{width:"75px",marginLeft:"40px"}},"\u7F3A\u8BC4\u6263\u5206"),v.createElement(h.Z,null,v.createElement(x.default.Item,V(M({},u),{label:"",colon:!1,name:[Re,"absence_penalty"]}),v.createElement(P.Z,{min:0,size:"large",addonAfter:"\u5206",style:{width:"120px"},disabled:c,onChange:a=>{var y;if((0,r.Rm)()&&!((y=Y.AssistantObject.group)!=null&&y.can_anonymous_comment)){b.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),v.createElement(h.Z,{style:{marginLeft:"40px"}},v.createElement(x.default.Item,V(M({},u),{name:[Re,"student_comment"],valuePropName:"checked"}),v.createElement(o.default,{disabled:c,onChange:()=>{var a;if((0,r.Rm)()&&!((a=Y.AssistantObject.group)!=null&&a.can_anonymous_comment)){b.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),v.createElement(h.Z,{className:"ml10"},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605")))})))};Ke.Z=(0,p.connect)(({shixunHomeworks:c,classroomList:ne})=>({shixunHomeworks:c,classroomList:ne}))(ue)},65629:function(yt,Ke,s){"use strict";var n=s(89070),X=s(95237),x=s(43604),U=s(5083),h=s(5871),D=s(6848),b=s(61186),l=s.n(b),P=s(79834),g=s(89529),o=s(59301);const w=({data:F,disabled:p,setData:d,shixunHomeworks:r})=>{const{workSetting:f,workList:v}=r;return o.createElement("div",null,o.createElement(X.Z,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},o.createElement(x.Z,{style:{marginLeft:"54px",marginRight:"20px",color:"#666666"}},"\u7ED3\u675F\u65F6\u95F4"),o.createElement(x.Z,null,o.createElement(U.default,{allowClear:!1,style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},size:"large",format:"YYYY-MM-DD HH:mm",disabled:p,disabledDate:O=>(0,P.Q8)(O,f==null?void 0:f.course_end_date),disabledTime:O=>(0,P.d0)(O),value:F.appeal_time?l()(F.appeal_time):"",onChange:(O,T)=>{F.appeal_time=T,d(Object.assign({},F))}})),o.createElement(x.Z,{style:{margin:"0 20px 0 60px",color:"#666666"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),o.createElement(x.Z,null,o.createElement(h.Z,{size:"large",disabled:p,value:F.appeal_penalty,min:0,addonAfter:"\u5206",style:{width:"120px"},onChange:O=>{F.appeal_penalty=O,d(Object.assign({},F))}})),o.createElement(D.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},o.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${g.Z.title_icon}`}))))};Ke.Z=(0,n.connect)(({shixunHomeworks:F})=>({shixunHomeworks:F}))(w)},47599:function(yt,Ke,s){"use strict";var n=s(5083),X=s(5871),x=s(6848),U=s(24905),h=s(61186),D=s.n(h),b=s(89070),l=s(79834),P=s(89529),g=s(59301);const o=({data:w,setData:F,disabled:p,shixunHomeworks:d})=>{const{workSetting:r}=d,f=D()(r==null?void 0:r.evaluation_start)<=D()(),v=w.anonymous_appeal;return g.createElement("div",null,g.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},g.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u5F00\u59CB\u65F6\u95F4"),g.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:O=>(0,l.Q8)(O,r==null?void 0:r.course_end_date),disabledTime:O=>(0,l.d0)(O),disabled:p||f||v,value:w.evaluation_start?D()(w.evaluation_start):"",onChange:(O,T)=>{w.evaluation_start=T,F(Object.assign({},w))}}),g.createElement("div",{style:{color:"#666666",marginLeft:"60px",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),g.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:O=>(0,l.Q8)(O,r==null?void 0:r.course_end_date,w.evaluation_start),disabledTime:O=>(0,l.d0)(O,D()(w.evaluation_start)),disabled:p||v,value:w.evaluation_end?D()(w.evaluation_end):"",onChange:(O,T)=>{w.evaluation_end=T,F(Object.assign({},w))}})),g.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},g.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u6570\u91CF"),g.createElement(X.Z,{disabled:p||f||v,value:w.evaluation_num,min:0,style:{width:"150px"},size:"large",onChange:O=>{w.evaluation_num=O,F(Object.assign({},w))}}),g.createElement(x.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},g.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${P.Z.title_icon}`})),g.createElement("div",{style:{color:"#666666",marginLeft:"84px",marginRight:"20px"}},"\u7F3A\u8BC4\u6263\u5206"),g.createElement(X.Z,{min:0,disabled:p,style:{width:"150px"},size:"large",addonAfter:"\u5206",value:w.absence_penalty,onChange:O=>{w.absence_penalty=O,F(Object.assign({},w))}})),w.anonymous_comment&&g.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 83px",display:"flex",alignItems:"center"}},g.createElement(U.default,{checked:w.student_comment,disabled:p,onChange:()=>{w.student_comment=!w.student_comment,F(Object.assign({},w))}},g.createElement("span",{style:{fontSize:"14px",color:"#000"}},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))};Ke.Z=(0,b.connect)(({shixunHomeworks:w})=>({shixunHomeworks:w}))(o)},24571:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return k}});var n=s(59301),X=s(43418),x=s(8591),U=s(95237),h=s(43604),D=s(3113),b=s(54580),l=s(1710),P={achieveSty:"achieveSty___Joqdh",tip:"tip___qAo3r",labolIcon:"labolIcon___QZ4oX"},g=s(85057),o=s(3294),w=s(99064),F=s(955),p=Object.defineProperty,d=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,v=(te,L,$)=>L in te?p(te,L,{enumerable:!0,configurable:!0,writable:!0,value:$}):te[L]=$,O=(te,L)=>{for(var $ in L||(L={}))r.call(L,$)&&v(te,$,L[$]);if(d)for(var $ of d(L))f.call(L,$)&&v(te,$,L[$]);return te},T=(te,L,$)=>new Promise((M,V)=>{var ae=c=>{try{ue($.next(c))}catch(ne){V(ne)}},S=c=>{try{ue($.throw(c))}catch(ne){V(ne)}},ue=c=>c.done?M(c.value):Promise.resolve(c.value).then(ae,S);ue(($=$.apply(te,L)).next())}),k=({visible:te,categoryId:L,getData:$,onCancle:M})=>{var V,ae;const[S,ue]=(0,n.useState)([]),[c,ne]=(0,n.useState)(!1),[Q,q]=(0,n.useState)(!1),[oe,Y]=(0,n.useState)({success_size:0,error_list:[]}),A={withCredentials:!0,maxCount:1,multiple:!1,onRemove:()=>{ue([])},beforeUpload:E=>T(void 0,null,function*(){return ue([E]),!1}),fileList:S,accept:".xlsx"};return n.createElement(n.Fragment,null,n.createElement(X.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",width:690,open:te,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Q,onOk:()=>T(void 0,null,function*(){if(S.length===0){x.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}q(!0);const E=new FormData;E.append("file",S[0]);const _=yield(0,w.ZP)(`/api/homework_commons/${L}/import_external_score.json`,{method:"post",body:E},!0);(_==null?void 0:_.status)===0&&(Y(_),M(),$(),ne(!0),ue([])),q(!1)}),onCancel:()=>{ue([]),M()}},n.createElement("div",{className:P.achieveSty},n.createElement("div",{className:P.tip},n.createElement("div",null,"1.\u4E0D\u5728\u5B66\u751F\u5217\u8868\u5185\u7684\u5B66\u751F\u4E0D\u652F\u6301\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\uFF1B"),n.createElement("div",null,"2.\u672A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4E4B\u540E\u5C06\u89C6\u4E3A\u5DF2\u5728\u7EBF\u4E0B\u63D0\u4EA4\u4F5C\u4E1A\uFF1B"),n.createElement("div",null,"3.\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4F1A\u5C06\u5DF2\u8BC4\u9605\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u8FDB\u884C\u66F4\u65B0\u3002")),n.createElement(U.Z,{align:"middle",className:"mt20"},n.createElement(h.Z,{className:"mr10"},n.createElement("span",{className:P.labolIcon},"*"),n.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),n.createElement(h.Z,null,n.createElement(D.ZP,{shape:"default",style:{backgroundColor:"#3061D0",color:"#fff"}},n.createElement("a",{className:P.downloadbutton,onClick:E=>{E.stopPropagation(),E.preventDefault(),(0,F.FH)("",o.Z.API_SERVER+`/api/homework_commons/${L}/get_example_excel.json`)}},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C")),n.createElement("span",{className:"ml10",style:{color:"#9096A3"}},"\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9"))),n.createElement("div",{className:"mt10",style:{marginLeft:"74px",height:"120px"}},n.createElement(b.default.Dragger,O({style:{border:"1px dashed rgba(48,97,208,0.3)",backgroundColor:"rgba(48,97,208,0.06)"}},A),n.createElement("div",null,n.createElement(g.op,{shape:"default"},"\u9009\u62E9\u6587\u4EF6")),n.createElement("div",{className:"font12 mt10",style:{color:"#9096A3"}},"\u4E0B\u8F7D\u6A21\u7248\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xlsx"))))),n.createElement(X.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u7ED3\u679C",width:508,open:c,onCancel:()=>{ne(!1)},footer:null},n.createElement("div",null,n.createElement("div",{style:{marginTop:"5px",marginBottom:"15px"}},n.createElement("span",null,"\u5BFC\u5165\u6210\u529F",n.createElement("span",{style:{color:"#19CB70"}}," ",oe==null?void 0:oe.success_size," "),"\u4E2A\u5B66\u751F"),n.createElement("span",{style:{marginLeft:"30px"}},"\u5BFC\u5165\u5931\u8D25",n.createElement("span",{style:{color:"#E30000"}}," ",(V=oe==null?void 0:oe.error_list)==null?void 0:V.length," "),"\u4E2A\u5B66\u751F")),!!((ae=oe==null?void 0:oe.error_list)!=null&&ae.length)&&n.createElement("div",{className:"mb20"},n.createElement(l.default,{columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name",ellipsis:!0,width:120,render:E=>n.createElement("span",{style:{color:"#000"}},E)},{title:"\u5B66\u53F7/\u5DE5\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,width:120,render:E=>n.createElement("span",{style:{color:"#666"}},E)},{title:"\u5931\u8D25\u539F\u56E0",dataIndex:"info",key:"info",ellipsis:!0,align:"end",render:E=>n.createElement("span",{style:{color:"#000"}},E)}],dataSource:oe==null?void 0:oe.error_list,pagination:!1,scroll:{y:47*8}})))))}},96814:function(yt,Ke,s){"use strict";var n=s(43418),X=s(8591),x=s(99064),U=s(89070),h=s(24065),D=s(59301),b=(P,g,o)=>new Promise((w,F)=>{var p=f=>{try{r(o.next(f))}catch(v){F(v)}},d=f=>{try{r(o.throw(f))}catch(v){F(v)}},r=f=>f.done?w(f.value):Promise.resolve(f.value).then(p,d);r((o=o.apply(P,g)).next())});const l=({shixunHomeworks:P,dispatch:g,classroomList:o,getData:w})=>D.createElement(n.default,{centered:!0,title:"\u63D0\u793A",open:P.actionTabs.key==="\u5206\u7EC4\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>b(void 0,null,function*(){var F;if((0,h.Rm)()&&!((F=o.AssistantObject.normal)!=null&&F.can_redo)){X.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,x.ZP)(`/api/homework_commons/${P.actionTabs.homework_common_id}/batch_redo_modal.json`,{method:"post",body:{work_group_id:P.actionTabs.work_group_id}})).status===0&&(X.ZP.success("\u6253\u56DE\u91CD\u505A\u6210\u529F"),g({type:"shixunHomeworks/setActionTabs",payload:{}}),w())}),onCancel:()=>{g({type:"shixunHomeworks/setActionTabs",payload:{}})}},D.createElement("p",null,"\u8BE5\u5206\u7EC4\u7684\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u6574\u7EC4\u5B66\u751F\u4F5C\u54C1\u63D0\u4EA4\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF01"),D.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"));Ke.Z=(0,U.connect)(({shixunHomeworks:P,classroomList:g})=>({shixunHomeworks:P,classroomList:g}))(l)},52784:function(yt,Ke,s){"use strict";s.r(Ke),s.d(Ke,{default:function(){return Dl}});var n=s(59301),X=s(89070),x=s(49127),U=s(3113),h=s(8591),D=s(66104),b=s(6848),l=s(99313),P=s(43418),g=s(95237),o=s(43604),w=s(92832),F=s(1710),p=s(27812),d=s(955),r=s(24065),f=s(78241),v=s(20834),O=s(24905),T=s(38854),K=s(58421),k=s(5112),te=s(5871),L=s(57809),$=s(84105),M=s(87395),V=s(67921),ae=s(89489),S=s(99064),ue=s(8797),c=s(96814),ne=Object.defineProperty,Q=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Y=(I,C,B)=>C in I?ne(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,A=(I,C)=>{for(var B in C||(C={}))q.call(C,B)&&Y(I,B,C[B]);if(Q)for(var B of Q(C))oe.call(C,B)&&Y(I,B,C[B]);return I},E=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const _=({shixunHomeworks:I,dispatch:C})=>{const B=(0,X.useParams)(),[ce,Ee]=(0,n.useState)(!0),[xe,De]=(0,n.useState)(!1),[Ce]=f.default.useForm();return n.createElement(n.Fragment,null,n.createElement(P.default,{centered:!0,title:"\u8C03\u5206",open:I.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:xe,onOk:()=>E(void 0,null,function*(){yield Ce.validateFields();const re=Ce.getFieldsValue();De(!0),(yield(0,S.ZP)(`/api/student_works/${I.actionTabs.id}/adjust_score.json`,{method:"post",body:A({},re)})).status===0&&(h.ZP.success("\u8BC4\u9605\u6210\u529F"),Ce.resetFields(),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getWorkList",payload:A({},I.actionTabs.params)})),De(!1)}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),n.createElement(f.default,{form:Ce,layout:"horizontal"},n.createElement("div",{style:{display:"flex",alignItems:"baseline"}},n.createElement(f.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},n.createElement(te.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),n.createElement("span",{className:"ml10"},"\u5206")),n.createElement("div",null,n.createElement(f.default.Item,{name:"comment"},n.createElement(w.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var N=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(_),H=s(12290),J={flex_box_center:"flex_box_center___NBXH7",flex_space_between:"flex_space_between___l6hzm",flex_box_vertical_center:"flex_box_vertical_center___m8uTT",flex_box_center_end:"flex_box_center_end___BwXBn",flex_box_column:"flex_box_column___amI5B",wrap:"wrap___d__UZ",MdEditor:"MdEditor___QRYr6",workListButtonWrap:"workListButtonWrap___lhXWg",anticon:"anticon___b_3pM",workListClass:"workListClass___EI4Fm",left:"left___wBY4f",visible:"visible___uwm7P",status:"status___DUABx",tips:"tips___H3M_T",tableWrapper:"tableWrapper___EW8TX",atitle:"atitle___XxlIn",tables:"tables___thRYc",tables1:"tables1___jKpJt",redoBtn:"redoBtn___uk0iV"},me=s(78297),Se=s(6021),be=s(85057),Be=s(89392),we=s(61186),z=s.n(we),We=s(83312),Re=s(36708),u=s(58617),j=s(59301),i=Object.defineProperty,t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(I,C,B)=>C in I?i(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,W=(I,C)=>{for(var B in C||(C={}))e.call(C,B)&&y(I,B,C[B]);if(t)for(var B of t(C))a.call(C,B)&&y(I,B,C[B]);return I},Z=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const se=({shixunHomeworks:I,user:C,loading:B,dispatch:ce,classroomList:Ee,globalSetting:xe})=>{var De,Ce,re,de,et,tt;const Ie=(0,X.useParams)(),{workList:le,workSetting:_e}=I,[,Ze,ye]=(0,We.U)(Re.Gw,{homeworkId:le==null?void 0:le.id}),[Ue,Et]=(0,n.useState)([]),ve=[(le==null?void 0:le.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:200,render:(ee,je)=>{var _t,m,pe,ot,$t,ke;return{children:((_t=je.project_info)==null?void 0:_t.id)!==-1?j.createElement("a",{target:"_blank",title:(m=je.project_info)==null?void 0:m.name,href:`${(pe=xe==null?void 0:xe.setting)==null?void 0:pe.old_url}${(ot=je.project_info)==null?void 0:ot.id}`,style:{whiteSpace:"break-spaces"}},($t=je.project_info)==null?void 0:$t.name):(ke=je.project_info)==null?void 0:ke.name,props:{rowSpan:je.rowSpan}}}},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:150,render:(ee,je)=>j.createElement("div",{style:{display:"flex",alignItems:"center"}},j.createElement("span",{className:J.atitle,style:{width:je.is_leader?"":130,maxWidth:je.is_leader&&80}}," ",ee),je.is_leader&&j.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},(le==null?void 0:le.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",dataIndex:"code_lines_count",width:80,render:ee=>ee||"--"},(le==null?void 0:le.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",dataIndex:"issues_count",width:80,render:(ee,je)=>ee||"--"},(le==null?void 0:le.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:140,render:(ee,je)=>({children:ee?j.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",j.createElement("br",null),z()(ee).format("YYYY-MM-DD HH:mm")):"--",props:{rowSpan:je.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",width:150,render:(ee,je)=>({children:ee===-1?"\u91CD\u505A\u4E2D":j.createElement(d.Uw,{status:ee}),props:{rowSpan:je.rowSpan}})},{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:70,render:(ee,je)=>({children:j.createElement("span",{className:"c-blue"},ee),props:{rowSpan:je.rowSpan}})},{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",width:150,render:(ee,je)=>j.createElement(b.Z,{placement:"bottom",title:j.createElement("div",null,j.createElement("div",null,je.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${je.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),j.createElement("div",null,je.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${je.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),le!=null&&le.anonymous_comment?j.createElement("div",null,je.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${je.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",le!=null&&le.is_group_grade?j.createElement("div",null,je.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${je.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",j.createElement("div",null,je.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${je.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),j.createElement("div",null,je.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${je.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),le!=null&&le.anonymous_comment?j.createElement("div",null,je.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${je.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(le==null?void 0:le.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${je.appeal_penalty||"0.0"}\u5206`,j.createElement("div",null,je.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${je.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(le!=null&&le.is_jupyter||le!=null&&le.is_jupyter_lab)&&j.createElement("div",{onClick:_t=>{_t.stopPropagation(),X.history.push(`/classrooms/${Ie.coursesId}/group_homework/${Ie.categoryId}/review/${je.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ee>0?j.createElement("span",{style:{color:"#ff8100"}},ee):ee)},(_e==null?void 0:_e.can_submit)&&{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_count",width:75,ellipsis:!0,render:(ee,je={},_t=0)=>(le==null?void 0:le.work_status)==0?"--":ee||"--"},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u9700\u8BC4\u6570",align:"center",dataIndex:"need_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u5DF2\u8BC4\u6570",align:"center",dataIndex:"user_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u88AB\u8BC4\u6570",align:"center",dataIndex:"student_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u88AB\u533F\u8BC4\u5206\u6570",align:"center",dataIndex:"student_score",width:120},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u7533\u8BC9\u6B21\u6570",align:"center",dataIndex:"appeal_all_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",align:"center",dataIndex:"appeal_deal_count",width:120},{title:"\u64CD\u4F5C",width:le!=null&&le.base_on_project?100:80,align:"center",dataInex:"action",fixed:"right",render:(ee,je)=>{var _t;return(_t=le.homework_status)!=null&&_t.includes("\u5BFC\u5165")?j.createElement("div",null,j.createElement("a",{style:{marginLeft:10},onClick:(0,Be.debounce)(m=>Z(void 0,null,function*(){var pe,ot,$t,ke,mt;m.stopPropagation();let st=yield(0,S.ZP)(`/api/student_works/${je==null?void 0:je.id}/passed_condition.json`,{method:"get"});P.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:j.createElement("div",null,j.createElement("div",{style:{display:"flex"}},j.createElement("div",null,j.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),j.createElement("span",{style:{marginLeft:10}},(pe=st==null?void 0:st.data)==null?void 0:pe.user_name)),j.createElement("div",{style:{marginLeft:60}},j.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),j.createElement("span",{style:{marginLeft:10}},(ot=st==null?void 0:st.data)==null?void 0:ot.student_id)),j.createElement("div",{style:{marginLeft:60}},j.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),j.createElement("span",{style:{marginLeft:10}},($t=st==null?void 0:st.data)==null?void 0:$t.group_name))),j.createElement("div",{style:{marginTop:22}},j.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),j.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((ke=st==null?void 0:st.data)==null?void 0:ke.description)||"\u6682\u65E0\u4FE1\u606F")),j.createElement("div",{style:{marginTop:22,marginBottom:20}},j.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),j.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((mt=st==null?void 0:st.data)==null?void 0:mt.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):je.work_status===0?j.createElement("div",null,"--"):j.createElement("a",{className:"c-blue",onClick:m=>{var pe,ot;if(m.preventDefault(),(0,r.Rm)()&&!((ot=(pe=Ee==null?void 0:Ee.AssistantObject)==null?void 0:pe.group)!=null&&ot.can_view)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${Ie.coursesId}/group_homework/${Ie.categoryId}/review/${je.id}?review=review`)}}," \u67E5\u770B ")}}].filter(ee=>!!ee),pt=[{title:"\u5E8F\u53F7",dataIndex:"name",ellipsis:!0,width:120,render:(ee,je,_t)=>_t+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"current_user_work_status",ellipsis:!0,render:ee=>ee?j.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u8BC4"):j.createElement("span",{style:{color:"#FF6801"}},"\u672A\u8BC4")},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:ee=>ee?z()(ee).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee=>ee||"--"},{title:j.createElement("span",null,"\u662F\u5426\u6574\u7EC4\u540C\u8BC4",j.createElement(b.Z,{title:"\u5982\u679C\u5B66\u751F\u5BF9\u4F5C\u54C1\u8FDB\u884C\u4E86\u6574\u7EC4\u540C\u8BC4\uFF0C\u90A3\u4E48\u8BE5\u4F5C\u54C1\u6240\u5C5E\u5206\u7EC4\u7684\u4EBA\u6570\u7B49\u4E8E\u5DF2\u8BC4\u4F5C\u54C1\u6570\uFF0C\u5E76\u4E14\u5B66\u751F\u7684\u5DF2\u8BC4\u4F5C\u54C1\u603B\u6570\u5C06\u8D85\u8FC7\u9700\u8BC4\u6570\u3002"},j.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-999 current-primary ml5"}))),dataIndex:"group_comment",ellipsis:!0},{title:"\u88AB\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee=>ee||"--"},{title:"\u88AB\u7533\u8BC9\u5BA1\u6838\u72B6\u6001",dataIndex:"current_user_appeal_status",ellipsis:!0,render:ee=>ee===1?j.createElement("span",{style:{color:"#FF6801"}},"\u5F85\u5BA1\u6838"):ee===-1?"--":j.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u5BA1\u6838")},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"right",width:80,render:(ee,je)=>j.createElement("a",{onClick:()=>{var _t;if([0,-1].includes(le==null?void 0:le.work_status)){h.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}(_t=le.homework_status)!=null&&_t.includes("\u5BFC\u5165")||X.history.push(`/classrooms/${Ie.coursesId}/group_homework/${Ie.categoryId}/review/${je.id}`)}},je!=null&&je.current_user_work_status?"\u67E5\u770B":"\u8BC4\u9605")}];return(0,n.useEffect)(()=>{le!=null&&le.course_id&&Et(le.student_works)},[le]),j.createElement("section",{className:"minH500 bg-white p30",style:{paddingTop:25}},!(le!=null&&le.all_member_count)&&!B["shixunHomeworks/getWorkList"]&&(((De=le==null?void 0:le.homework_status)==null?void 0:De.includes("\u672A\u53D1\u5E03"))||((Ce=le==null?void 0:le.homework_status)==null?void 0:Ce.includes("\u672A\u5F00\u59CB")))&&j.createElement(ue.Z,null),!((re=le==null?void 0:le.homework_status)!=null&&re.includes("\u672A\u53D1\u5E03"))&&!((de=le==null?void 0:le.homework_status)!=null&&de.includes("\u672A\u5F00\u59CB"))&&j.createElement(j.Fragment,null,j.createElement(g.Z,{wrap:!1,align:"middle",justify:"space-between"},j.createElement(o.Z,null,j.createElement("span",{className:"c-grey-333"},"\u6211\u7684\u4F5C\u54C1")),j.createElement(o.Z,null,j.createElement("span",null,(et=le==null?void 0:le.left_time)==null?void 0:et.status,j.createElement("span",{className:"ml10",style:{color:"#FF9D18"}},(tt=le==null?void 0:le.left_time)==null?void 0:tt.time)))),(le==null?void 0:le.is_shixun)&&!(le!=null&&le.open_evaluate)&&!(le!=null&&le.is_close_tips)&&j.createElement(g.Z,{align:"middle",justify:"space-between",style:{background:"#F5F5F5",borderRadius:4,height:42,padding:"0px 10px",color:"#9096A3"}},j.createElement(o.Z,null,j.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85\u6559\u5E08\u7684\u8BC4\u5206\u7ED3\u679C\u3002 ")),j.createElement(o.Z,null,j.createElement("span",{className:"current",onClick:()=>Z(void 0,null,function*(){const ee=yield(0,S.ZP)(`/api/homework_commons/${Ie.categoryId}/close_tips.json`,{method:"post"});(ee==null?void 0:ee.status)===0&&ce({type:"shixunHomeworks/getWorkList",payload:W({},Ie)})})},"X"))),(le==null?void 0:le.feedback_notice)&&j.createElement("div",{className:"font14 mt10",style:{padding:"9px 20px",background:"rgba(255,157,24,0.1)",color:"#FF9D18",display:"flex",alignItems:"center"}},j.createElement("i",{className:"iconfont icon-tishi11 font14"}),j.createElement("span",{className:"ml10",style:{flex:"1"}},"\u6709\u5B66\u751F\u53CD\u9988\u4E86\u4F5C\u54C1\u95EE\u9898\uFF0C\u8BF7\u53CA\u65F6\u67E5\u770B\u5904\u7406"),Ze?j.createElement(u.Z,null):j.createElement("i",{className:"iconfont icon-guanbi10 font14 current",style:{color:"#979797"},onClick:()=>Z(void 0,null,function*(){const ee=yield ye({homeworkId:le==null?void 0:le.id});(ee==null?void 0:ee.status)===0&&ce({type:"shixunHomeworks/getWorkList",payload:W({},Ie)})})})),j.createElement(F.default,{className:"mt15",loading:B["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(ee,je)=>(ee==null?void 0:ee.item_index)%2===0&&J.tables,pagination:!1,dataSource:[le],columns:ve,locale:{emptyText:j.createElement(ue.Z,null)},scroll:le!=null&&le.student_anonymous_comment||le!=null&&le.base_on_project?{x:"calc(100% + 60px)"}:{}}),(le==null?void 0:le.student_anonymous_comment)&&j.createElement("div",{className:"mt30"},j.createElement(g.Z,{wrap:!1,align:"middle",justify:"space-between"},j.createElement(o.Z,null,"\u5171",j.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},(le==null?void 0:le.work_count)||0),"\u4EFD\u4F5C\u4E1A\u9700\u8BC4\u9605"),j.createElement(o.Z,null,j.createElement("i",{className:"iconfont icon-shijian1 c-grey-666 mr10"}),"\u533F\u8BC4\u65F6\u95F4",j.createElement("span",{className:"c-grey-333 ml10"},(le==null?void 0:le.evaluation_start)&&z()(le==null?void 0:le.evaluation_start).format("YYYY-MM-DD HH:mm"),"\u81F3 ",(le==null?void 0:le.evaluation_end)&&z()(le==null?void 0:le.evaluation_end).format("YYYY-MM-DD HH:mm")))),j.createElement(F.default,{className:"mt15",locale:{emptyText:j.createElement(ue.Z,null)},columns:pt,dataSource:Ue,pagination:!1}))))};var ge=(0,X.connect)(({shixunHomeworks:I,classroomList:C,globalSetting:B,loading:ce})=>({shixunHomeworks:I,classroomList:C,loading:ce.effects,globalSetting:B}))(se),fe=s(24571),R=s(59301),He=Object.defineProperty,Te=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Ge=(I,C,B)=>C in I?He(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,xt=(I,C)=>{for(var B in C||(C={}))qt.call(C,B)&&Ge(I,B,C[B]);if(Rt)for(var B of Rt(C))Ot.call(C,B)&&Ge(I,B,C[B]);return I},un=(I,C)=>Te(I,at(C)),At=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Xt=(0,n.createRef)(),An=({shixunHomeworks:I,classroomList:C,loading:B,globalSetting:ce,dispatch:Ee,zip:xe,btnLoading:De,setBtnLoading:Ce})=>{var re,de,et,tt,Ie,le,_e,Ze,ye,Ue,Et,ve;const[pt]=(0,X.useSearchParams)(),[ee,je]=(0,n.useState)(xt(xt({},(0,X.useParams)()),{page:pt.get("page")||1,limit:20})),_t=(0,X.useLocation)(),{workList:m}=I,[pe,ot]=(0,n.useState)({}),[$t,ke]=(0,n.useState)(""),[mt,st]=(0,n.useState)(""),[tn,Lt]=(0,n.useState)(""),[zt,Yt]=(0,n.useState)([]),[Un,Oe]=(0,n.useState)(),[gt,Ye]=(0,n.useState)([]),[gn,Fn]=(0,n.useState)(!1),[lt,Mt]=(0,n.useState)([]),[Nt,Ne]=(0,n.useState)(!1),[Me,Vt]=(0,n.useState)(),[wt,Ht]=(0,n.useState)(1),[en,Tt]=(0,n.useState)(),[Jt,Ut]=(0,n.useState)(),[dn,On]=(0,n.useState)(),[Pn,Bt]=(0,n.useState)(!1),[Xn]=f.default.useForm(),[uu,nn]=(0,n.useState)({groupAll:[],userAll:[]}),[mn,Fe]=(0,n.useState)(!1),[Ae,Qt]=(0,n.useState)(!1),[ht,it]=(0,n.useState)({status:!1,visible:!0}),[Ft]=f.default.useForm(),an=()=>At(void 0,null,function*(){const ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/get_group_members`,{method:"get",params:{}}),Pe=yield(0,S.ZP)(`/api/courses/${ee.coursesId}/students.json`,{method:"get",params:{coursesId:ee.coursesId,homework_id:ee.categoryId,page:1,limit:2e3}});(ie==null?void 0:ie.status)==0&&nn({groupAll:ie==null?void 0:ie.group_infos,userAll:Pe==null?void 0:Pe.students})});(0,n.useEffect)(()=>{var ie;((ie=m==null?void 0:m.course_recommends)==null?void 0:ie.length)>0&&Fe(!0)},[m==null?void 0:m.course_recommends]),(0,n.useEffect)(()=>{Xt&&Xt.current&&(Xt.current.clientHeight>47?it({status:!0,visible:!0}):it({status:!1,visible:!0}))},[m.course_group_info&&m.course_group_info.length]),(0,n.useEffect)(()=>{m!=null&&m.course_id},[m==null?void 0:m.course_id]),(0,n.useEffect)(()=>{m!=null&&m.course_id&&setTimeout(()=>{var ie,Pe;if(m.base_on_project){let Dt=[];(ie=m.new_student_works)==null||ie.map((ln,vn)=>{var pn;(pn=ln==null?void 0:ln.student_works)==null||pn.map((bn,su)=>{var iu,cu,In,ju;bn.item_index=ln.item_index,bn.rowSpan=bn!=null&&bn.is_leader?(iu=ln==null?void 0:ln.student_works)==null?void 0:iu.length:((cu=bn==null?void 0:bn.project_info)==null?void 0:cu.id)===-1?1:((ju=(In=ln==null?void 0:ln.student_works)==null?void 0:In.filter(Ol=>Ol.is_leader))==null?void 0:ju.length)>0?0:1,Dt.push(bn)})}),console.log("---",Dt),Yt([...Dt])}else{let Dt=[];(Pe=m.new_student_works)==null||Pe.map((ln,vn)=>{var pn;(pn=ln==null?void 0:ln.student_works)==null||pn.map((bn,su)=>{var iu,cu,In;bn.item_index=ln.item_index,bn.rowSpan=su==0?(iu=ln==null?void 0:ln.student_works)==null?void 0:iu.length:((In=(cu=ln==null?void 0:ln.student_works)==null?void 0:cu.filter(ju=>ju.id))==null?void 0:In.length)>0?0:1,Dt.push(bn)})}),Yt([...Dt])}},400)},[m]);const rn=()=>At(void 0,null,function*(){const ie=yield Ee({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})});(0,n.useEffect)(()=>{if(pt.get("page")){let ie=JSON.parse(localStorage.getItem("grouphomeworkkey"))||{};je(xt(xt({},ee),ie)),ie.task_status=(ie==null?void 0:ie.work_status)||"all",ie.member_work=ie!=null&&ie.member_work?[ie==null?void 0:ie.member_work]:"all",ie.course_group_info=(ie==null?void 0:ie.course_group)||"all",ie.file_status=ie!=null&&ie.file_status?[ie==null?void 0:ie.file_status]:"all",ie.teacher_comment=ie!=null&&ie.teacher_comment?[ie==null?void 0:ie.teacher_comment]:"all",Ft.setFieldsValue(xt({},ie))}},[]);function qe(){Ht(1),Oe(""),Tt(""),Ut(""),On(""),Mt([])}const vt=()=>{ee.page=1;const ie=Object.assign({},Ft.getFieldValue());delete ee.course_group,delete ee.teacher_comment,Object.keys(ie).map(function(Pe){var Dt;switch(Pe){case"teacher_comment":case"member_work":ie[Pe].length>1||!ie[Pe].length?(delete ee[Pe],Ft.setFieldsValue({[Pe]:"all"})):(ee[Pe]=(Dt=ie[Pe])==null?void 0:Dt[0],Ft.setFieldsValue({teacher_comment:ie[Pe]}));break;case"file_status":ie[Pe].includes("all")||m[Pe].length===ie[Pe].length||!ie[Pe].length?(delete ee.file_status,Ft.setFieldsValue({file_status:"all"})):(ee.file_status=ie[Pe][0],Ft.setFieldsValue({file_status:ie[Pe]}));break;case"work_status":ie[Pe].includes("all")||m.task_status.length===ie[Pe].length||!ie[Pe].length?(delete ee.work_status,Ft.setFieldsValue({work_status:"all"})):(ee.work_status=ie[Pe],Ft.setFieldsValue({work_status:ee.work_status}));break;case"course_group_info":ie[Pe].includes("all")||m[Pe].length===ie[Pe].length||!ie[Pe].length?(delete ee.course_group,Ft.setFieldsValue({course_group_info:"all"})):(ee.course_group=ie[Pe],Ft.setFieldsValue({course_group_info:ee.course_group}));break}}),rn()},hn=(ie,Pe)=>{ee.page=ie,ee.limit=Pe,rn()},Pt=[{name:"\u7EC4\u957F",id:1},{name:"\u7EC4\u5458",id:0}],he=[{title:"\u5E8F\u53F7",dataIndex:"item_index",align:"left",width:50,fixed:m!=null&&m.base_on_project?"left":"",render:(ie,Pe,Dt)=>({children:ie,props:{rowSpan:Pe.rowSpan}})},(m==null?void 0:m.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:120,fixed:"left",render:(ie,Pe)=>{var Dt,ln,vn,pn,bn,su;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("a",{target:"_blank",title:(ln=Pe.project_info)==null?void 0:ln.name,href:`${(vn=ce==null?void 0:ce.setting)==null?void 0:vn.old_url}${(pn=Pe.project_info)==null?void 0:pn.id}`,style:{whiteSpace:"break-spaces"}},(bn=Pe.project_info)==null?void 0:bn.name):(su=Pe.project_info)==null?void 0:su.name,props:{rowSpan:Pe.rowSpan}}}},!(m!=null&&m.base_on_project)&&{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:200,render:(ie,Pe)=>({children:R.createElement("span",{className:"c-blue"},ie),props:{rowSpan:Pe.rowSpan}})},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:140,render:(ie,Pe)=>R.createElement("div",{style:{display:"flex",alignItems:"center"}},R.createElement(b.Z,{placement:"bottom",title:ie},R.createElement("span",{className:J.atitle,style:{width:Pe.is_leader?"":130,maxWidth:Pe.is_leader&&80}}," ",ie)),Pe.is_leader&&R.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},(0,r.GJ)()&&{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",sortDirections:["descend","ascend"],width:m!=null&&m.base_on_project?80:130,ellipsis:!0,render:ie=>R.createElement("span",{style:{color:"#666666"}},ie)},(0,r.GJ)()&&!(m!=null&&m.base_on_project)&&{title:"\u5206\u73ED",align:"left",width:150,ellipsis:!0,dataIndex:"group_name"},((0,r.GJ)()||(0,r.dE)()&&!(m!=null&&m.anonymous_comment)&&!m.anonymous_appeal||(0,r.dE)()&&((re=m.homework_status)==null?void 0:re.includes("\u5DF2\u622A\u6B62")))&&{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",sorter:!0,width:100,sortOrder:ee.order==="work_score"?ee.b_order==="desc"?"descend":"ascend":null,sortDirections:["descend","ascend"],render:(ie,Pe)=>R.createElement(b.Z,{placement:"bottom",title:R.createElement("div",null,R.createElement("div",null,Pe.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${Pe.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),R.createElement("div",null,Pe.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${Pe.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),m!=null&&m.anonymous_comment?R.createElement("div",null,Pe.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${Pe.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",m!=null&&m.is_group_grade?R.createElement("div",null,Pe.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${Pe.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",R.createElement("div",null,Pe.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${Pe.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),R.createElement("div",null,Pe.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${Pe.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),m!=null&&m.anonymous_comment?R.createElement("div",null,Pe.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${Pe.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(m==null?void 0:m.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${Pe.appeal_penalty||"0.0"}\u5206`,R.createElement("div",null,Pe.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${Pe.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(m!=null&&m.is_jupyter||m!=null&&m.is_jupyter_lab)&&R.createElement("div",{onClick:Dt=>{Dt.stopPropagation(),localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ie>0?R.createElement("span",{style:{color:"#ff8100"}},ie):ie)},(m==null?void 0:m.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",ellipsis:!0,width:100,dataIndex:"code_lines_count",render:ie=>ie||"--"},(m==null?void 0:m.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",ellipsis:!0,width:100,dataIndex:"issues_count",render:(ie,Pe)=>({children:ie||"--"})},(m==null?void 0:m.base_on_project)&&{title:"P/R\u6570",align:"left",ellipsis:!0,width:100,dataIndex:"pull_requests_count",render:(ie,Pe)=>{var Dt;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{var ln,vn;window.open(`${(ln=ce==null?void 0:ce.setting)==null?void 0:ln.old_url}${(vn=Pe.project_info)==null?void 0:vn.id}/pulls`)}},Pe==null?void 0:Pe.pull_requests_count):"--",props:{rowSpan:Pe.rowSpan}}}},(m==null?void 0:m.base_on_project)&&{title:"\u4EE3\u7801\u8D28\u91CF",align:"left",width:170,dataIndex:"codesmell",render:(ie,Pe)=>{var Dt;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{var ln,vn;window.open(`${(ln=ce==null?void 0:ce.setting)==null?void 0:ln.old_url}${(vn=Pe.project_info)==null?void 0:vn.id}/sonar`)}},R.createElement("div",null,"bug ",Pe==null?void 0:Pe.bug),R.createElement("div",null,"Security ",Pe==null?void 0:Pe.security),R.createElement("div",null,"Codesmell ",Pe==null?void 0:Pe.codesmell)):"--",props:{rowSpan:Pe.rowSpan}}}},(m==null?void 0:m.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:130,ellipsis:!0,sorter:!0,sortOrder:ee.order==="update_time"?ee.b_order==="desc"?"descend":"ascend":null,render:(ie,Pe)=>({children:R.createElement(b.Z,{placement:"bottom",title:ie?R.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",R.createElement("br",null),z()(ie).format("YYYY-MM-DD HH:mm")):"--"},ie?R.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",R.createElement("br",null),z()(ie).format("YYYY-MM-DD HH:mm")):"--"),props:{rowSpan:Pe.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",width:m!=null&&m.base_on_project?110:200,fixed:m!=null&&m.base_on_project?"right":"",render:(ie,Pe)=>({children:ie===-1?"\u91CD\u505A\u4E2D":R.createElement("div",{style:{whiteSpace:"break-spaces"}},R.createElement(d.Uw,{status:ie,lineBreak:!0})),props:{rowSpan:Pe.rowSpan}})},{title:"\u64CD\u4F5C",width:175,fixed:m!=null&&m.base_on_project?"right":"",align:"left",dataInex:"action",render:(ie,Pe)=>{var Dt,ln;return(Dt=m.homework_status)!=null&&Dt.includes("\u5BFC\u5165")?R.createElement("div",null,(0,r.GJ)()&&R.createElement("a",{onClick:vn=>{vn.stopPropagation(),Ee({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Pe==null?void 0:Pe.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"),R.createElement("a",{style:{marginLeft:10},onClick:(0,Be.debounce)(vn=>At(void 0,null,function*(){var pn,bn,su,iu,cu;vn.stopPropagation();let In=yield(0,S.ZP)(`/api/student_works/${Pe==null?void 0:Pe.id}/passed_condition.json`,{method:"get"});P.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:R.createElement("div",null,R.createElement("div",{style:{display:"flex"}},R.createElement("div",null,R.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),R.createElement("span",{style:{marginLeft:10}},(pn=In==null?void 0:In.data)==null?void 0:pn.user_name)),R.createElement("div",{style:{marginLeft:60}},R.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),R.createElement("span",{style:{marginLeft:10}},(bn=In==null?void 0:In.data)==null?void 0:bn.student_id)),R.createElement("div",{style:{marginLeft:60}},R.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),R.createElement("span",{style:{marginLeft:10}},(su=In==null?void 0:In.data)==null?void 0:su.group_name))),R.createElement("div",{style:{marginTop:22}},R.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),R.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((iu=In==null?void 0:In.data)==null?void 0:iu.description)||"\u6682\u65E0\u4FE1\u606F")),R.createElement("div",{style:{marginTop:22,marginBottom:20}},R.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),R.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((cu=In==null?void 0:In.data)==null?void 0:cu.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):Pe.work_status===0&&!(0,r.GJ)()?R.createElement("div",null,"--"):R.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},!(0,r.GJ)()&&R.createElement("a",{className:"c-blue",onClick:vn=>{var pn,bn;if(vn.preventDefault(),(0,r.Rm)()&&!((bn=(pn=C==null?void 0:C.AssistantObject)==null?void 0:pn.group)!=null&&bn.can_view)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)}},"\u67E5\u770B"),(0,r.GJ)()&&R.createElement("a",{className:"c-blue",onClick:vn=>{var pn;if(vn.preventDefault(),(m==null?void 0:m.work_status)==0){h.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}if((0,r.Rm)()&&!((pn=C.AssistantObject.group)!=null&&pn.can_view)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)}},Pe.has_comment?"\u5DF2\u8BC4\u9605":"\u8BC4\u9605"),(0,r.GJ)()&&R.createElement(b.Z,{placement:"bottom",title:R.createElement("p",null,"\u8C03\u6574\u5B66\u751F\u5F53\u524D\u6210\u7EE9",R.createElement("br",null),"\u5176\u5B83\u5386\u53F2\u8BC4\u5206\u5C06\u5168\u90E8\u5931\u6548")},R.createElement("a",{style:{color:"#3061D0"},className:"c-green",onClick:vn=>{var pn;if(vn.preventDefault(),(0,r.Rm)()&&!((pn=C.AssistantObject.group)!=null&&pn.can_appraise)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8C03\u5206",selectArrs:Pe,id:Pe.id,params:ee}})}},"\u8C03\u5206")),(0,r.GJ)()&&R.createElement("div",null,(m!=null&&m.is_new_rule?Pe.work_status!==-1&&Pe.work_status!==0:Pe.work_status!==-1&&Pe.work_status!==0&&!((ln=m==null?void 0:m.homework_status)!=null&&ln.includes("\u5DF2\u622A\u6B62")))&&R.createElement(g.Z,{justify:"center"},R.createElement("span",{className:`${J.redoBtn}`,onClick:vn=>{var pn;if(vn.stopPropagation(),(0,r.Rm)()&&!((pn=C.AssistantObject.normal)!=null&&pn.can_redo)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7EC4\u6253\u56DE\u91CD\u505A",homework_common_id:m.homework_id,work_group_id:Pe.work_group_id}})}},"\u6253\u56DE\u91CD\u505A"))))}}].filter(ie=>!!ie),Le=[...he.map(ie=>xt({},ie))];Le[0].render=ie=>"\u6211";const ze=()=>At(void 0,null,function*(){var ie;Ce(!0);const Pe=yield(0,S.ZP)(`/api/homework_commons/${ee==null?void 0:ee.categoryId}/export_student_works.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});Pe.status===0?(ie=xe.current)==null||ie.exportReport(Pe.files):Ce(!1)}),Kt=()=>At(void 0,null,function*(){var ie;const Pe=yield(0,S.ZP)(`/api/homework_commons/${ee==null?void 0:ee.categoryId}/export_student_works.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});Pe.status===0&&(Array.isArray(Pe.sub_data)&&Pe.sub_data.length>0?(ie=xe.current)==null||ie.exportAndCreateUserFolder(Pe.sub_data,"\u6279\u6CE8\u9644\u4EF6",`${m==null?void 0:m.homework_name}-\u4F5C\u54C1\u6279\u6CE8\u9644\u4EF6`):h.ZP.warning("\u6682\u65E0\u53EF\u4E0B\u8F7D\u7684\u6279\u6CE8\u9644\u4EF6"))}),Ru=()=>{var ie,Pe;return R.createElement(v.default,null,R.createElement(v.default.Item,{key:"1"},R.createElement("span",{onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=C.AssistantObject.group)!=null&&Dt.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:m==null?void 0:m.course_group_info,fn:()=>{(0,me.Iy)(JSON.parse(sessionStorage.all_student_works_params),"group_work_list")}}})}},"\u5BFC\u51FA\u6210\u7EE9")),!((ie=m.homework_status)!=null&&ie.includes("\u5BFC\u5165"))&&R.createElement(v.default.Item,{key:"3"},R.createElement(U.ZP,{loading:De,ghost:!0,style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=C.AssistantObject.group)!=null&&Dt.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u4F5C\u54C1\u9644\u4EF6",course_groups:m==null?void 0:m.course_group_info,fn:()=>{ze()}}})}},"\u5BFC\u51FA\u4F5C\u54C1\u9644\u4EF6")),!((Pe=m.homework_status)!=null&&Pe.includes("\u5BFC\u5165"))&&R.createElement(v.default.Item,{key:"4"},R.createElement(Se.Z,{style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=C.AssistantObject.group)!=null&&Dt.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u4F5C\u54C1\u6279\u6CE8",course_groups:m==null?void 0:m.course_group_info,fn:()=>{Kt()}}})}},"\u5BFC\u51FA\u4F5C\u54C1\u6279\u6CE8")),R.createElement(v.default.Item,{key:"2"},R.createElement("span",{onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=C.AssistantObject.group)!=null&&Dt.can_download)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${ee.coursesId}/exportlist/group_work_list`)}},"\u5386\u53F2\u5BFC\u51FA")))};return!(0,r.GJ)()&&(m!=null&&m.student_anonymous_comment)?R.createElement(ge,null):R.createElement("section",{className:`${J.wrap} minH500`},R.createElement("aside",null,R.createElement("aside",{className:`minH500 bg-white pl30 ${(0,r.GJ)()?"pt30":""} pr30`},!(m!=null&&m.all_member_count)&&!B["shixunHomeworks/getWorkList"]&&R.createElement("aside",{className:"bg-white inline-block w100"},R.createElement(ue.Z,null)),!(0,r.GJ)()&&R.createElement("aside",{className:"pt10 pb10"},R.createElement("span",{className:"c-orange"},m.commit_count),"\u5DF2\u4EA4",R.createElement("span",{className:"ml10"},m.uncommit_count),"\u672A\u4EA4",((de=m==null?void 0:m.left_time)==null?void 0:de.time)&&R.createElement("span",{className:"ml10"},R.createElement("span",null,(et=m==null?void 0:m.left_time)==null?void 0:et.status),R.createElement("span",{className:"c-orange"},(tt=m==null?void 0:m.left_time)==null?void 0:tt.time))),R.createElement("aside",null,(0,r.GJ)()&&R.createElement("aside",{className:"mb30"},R.createElement(f.default,{form:Ft,onChange:vt,initialValues:{member_work:"all",work_status:"all",course_group_info:"all",teacher_comment:"all",file_status:"all"}},R.createElement(f.default.Item,{name:"teacher_comment"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(g.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u4F60\u7684\u8BC4\u9605:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.teacher_comment},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},m.teacher_comment&&m.teacher_comment.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"file_status"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(g.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u9644\u4EF6\u72B6\u6001:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all"},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},(Ie=m==null?void 0:m.file_status)==null?void 0:Ie.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"work_status"},R.createElement(O.default.Group,{value:[],style:{width:"100%"}},R.createElement(g.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u4F5C\u54C1\u72B6\u6001:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.work_status},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},m.task_status&&m.task_status.map(ie=>R.createElement(O.default,{name:"work_status",value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"member_work"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(g.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u7EC4\u5185\u89D2\u8272:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all"},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},Pt.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name)))))),R.createElement(f.default.Item,{name:"course_group_info"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(g.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u5206\u73ED\u60C5\u51B5:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.course_group},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1",className:`${J.workListClass} ${ht.visible?J.visible:""} ${ht.status?"":J.status}`},R.createElement("div",{ref:Xt,className:J.left},m.course_group_info&&m.course_group_info.map(ie=>R.createElement(O.default,{value:ie.course_group_id,key:ie.course_group_id},ie.group_group_name,"(",ie.count,")"))),ht.status&&R.createElement("div",{className:J.tips,onClick:()=>it(un(xt({},ht),{visible:!ht.visible}))},R.createElement("span",null,ht.visible?"\u5C55\u5F00":"\u6536\u8D77",ht.visible?R.createElement($.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):R.createElement(M.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))))),R.createElement(g.Z,{align:"middle"},R.createElement(o.Z,{flex:"1"},R.createElement(g.Z,{align:"middle"},R.createElement(o.Z,null,R.createElement(w.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ie=>{ee.page=1,ee.search=ie.trim(),Ee({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})},style:{width:240}})),R.createElement(o.Z,null,R.createElement("span",{className:"ml5 c-red"},m.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",m.work_count,"\u4E2A\u5B66\u751F\uFF09"))),R.createElement(o.Z,{style:{textAlign:"end"},className:J.workListButtonWrap},!((le=m.homework_status)!=null&&le.includes("\u5BFC\u5165"))&&!(0,r.dE)()&&R.createElement(Se.Z,{className:"mr20",onClick:()=>At(void 0,null,function*(){yield an(),Bt(!0)})},"\u8C03\u6574\u5206\u7EC4"),((_e=m.homework_status)==null?void 0:_e.includes("\u5DF2\u622A\u6B62"))&&R.createElement(U.ZP,{className:"mr20",icon:R.createElement("i",{className:"iconfont icon-daoruwaibuchengji"}),onClick:()=>{Qt(!0)}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"),R.createElement(T.Z,{dropdownRender:Ru},R.createElement(U.ZP,null,R.createElement(V.Z,null),"\u5BFC\u51FA",R.createElement(ae.Z,null)))))),(0,r.G5)()&&R.createElement("div",null,(m==null?void 0:m.base_on_project)&&R.createElement("p",null,"\u9879\u76EE\u6982\u89C8"),R.createElement(F.default,{dataSource:[m==null?void 0:m.group_data],pagination:!1,bordered:!0,style:{marginBottom:20},columns:[m!=null&&m.base_on_project?{title:"\u9879\u76EE\u603B\u6570",align:"center",dataIndex:"project_num",key:"project_num"}:{title:"\u5206\u7EC4\u603B\u6570",align:"center",dataIndex:"group_size",key:"group_size"},{title:"\u5B66\u751F\u4EBA\u6570",align:"center",dataIndex:"work_count"},(m==null?void 0:m.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE\u4EBA\u6570",align:"center",dataIndex:"associated_num"},(m==null?void 0:m.base_on_project)&&{title:"\u672A\u5173\u8054\u9879\u76EE\u4EBA\u6570",align:"center",dataIndex:"unassociated_num"},!(m!=null&&m.base_on_project)&&{title:"\u5DF2\u5206\u7EC4\u6570",align:"center",dataIndex:"non_zero_count"},!(m!=null&&m.base_on_project)&&{title:"\u672A\u5206\u7EC4\u6570",align:"center",dataIndex:"zero_count"},{title:"\u672A\u63D0\u4EA4\u4EBA\u6570",align:"center",dataIndex:"not_submitted_num"},(m==null?void 0:m.base_on_project)&&{title:"\u90E8\u5206\u63D0\u4EA4",align:"center",dataIndex:"partial_submission"},{title:"\u6309\u65F6\u63D0\u4EA4",align:"center",dataIndex:"submitted_num"},{title:"\u5EF6\u65F6\u63D0\u4EA4",align:"center",dataIndex:"delayed_num"}].filter(ie=>!!ie)})),!!gt.length&&R.createElement(F.default,{className:`mb10 ${J.tableWrapper}`,dataSource:gt,columns:Le,pagination:!1,showHeader:!1,loading:!1}),R.createElement("aside",{style:{paddingBottom:30}},R.createElement(F.default,{loading:B["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(ie,Pe)=>ie!=null&&ie.searched?J.tables1:(ie==null?void 0:ie.item_index)%2===0&&J.tables,className:J.tableWrapper,hideOnSinglePage:!0,pagination:!1,dataSource:zt,columns:he,scroll:(m==null?void 0:m.base_on_project)&&{x:1220},onChange:(ie,Pe,Dt)=>{if(Dt.order===void 0)switch(Dt.field){case"student_id":ke("descend"),ee.b_order="desc",ee.order=Dt.field;break;default:delete ee.b_order,delete ee.order}else ee.b_order=Dt.order.replace("end",""),ee.order=Dt.field;Ee({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})}})),R.createElement(K.Z,{showSizeChanger:!0,showQuickJumper:!0,style:{paddingBottom:30},onChange:hn,defaultCurrent:parseInt(ee.page)||1,current:parseInt(ee.page)||1,defaultPageSize:20,total:I.workList.work_count})))),R.createElement(N,null),gn&&R.createElement(P.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:gn,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>At(void 0,null,function*(){if(wt===2){if(lt.length<=0){h.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!dn){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,status:lt}});ie.status===0&&(Vt(ie),Fn(!1),Ne(!0))}else{if(!(Jt===0||en===0)){if(!Jt){h.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!en){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Jt>en){h.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!dn){h.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,min_score:Jt,max_score:en}});ie.status===0&&(Vt(ie),Fn(!1),Ne(!0))}}),onCancel:()=>{Fn(!1),qe()}},R.createElement("div",{style:{padding:"32px"}},R.createElement("div",null,R.createElement("div",null,R.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),R.createElement(k.ZP.Group,{value:wt,onChange:ie=>{Ht(ie.target.value)}},R.createElement(k.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),R.createElement(k.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),wt===1&&R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"70px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),R.createElement(te.Z,{min:0,max:100,value:Jt,onChange:ie=>Ut(ie),style:{width:"100px"}}),R.createElement("span",{style:{width:"80px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),R.createElement(te.Z,{min:0,max:100,value:en,onChange:ie=>Tt(ie),style:{width:"100px"}})),wt===2&&R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),R.createElement(O.default.Group,{onChange:ie=>{Mt([...ie])},style:{width:"100%"}},(Ze=m.task_status)==null?void 0:Ze.map((ie,Pe)=>R.createElement(O.default,{name:"task_status",value:ie.id},ie.name,"(",ie.count,")")))),R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"70px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),R.createElement(H.Z,{className:J.MdEditor,onChange:ie=>On(ie),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Nt&&R.createElement(P.default,{open:Nt,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>At(void 0,null,function*(){wt===2?(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,status:lt}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),qe(),rn(),Ne(!1)):(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,min_score:Jt,max_score:en}})).status===0&&(h.ZP.info("\u6253\u56DE\u6210\u529F"),qe(),rn(),Ne(!1))}),onCancel:()=>{qe(),Ne(!1)}},R.createElement("div",{style:{padding:"32px"}},wt===1&&R.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Jt,"-",en,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),wt===2&&R.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((ye=m.task_status)==null?void 0:ye.filter(ie=>lt==null?void 0:lt.includes(ie.id)).map(ie=>ie.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),R.createElement("br",null),R.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Me==null?void 0:Me.count,"\u540D\u5B66\u751F"))),R.createElement(P.default,{title:"\u8C03\u6574\u5206\u7EC4",centered:!0,destroyOnClose:!0,open:Pn,onOk:()=>At(void 0,null,function*(){Xn.submit()}),onCancel:()=>{Bt(!1)}},R.createElement(f.default,{form:Xn,initialValues:{},labelCol:{span:4},onFinish:ie=>At(void 0,null,function*(){if(!ie.user_id){h.ZP.warning("\u8BFE\u5802\u91CC\u6682\u65E0\u6B64\u5B66\u751F");return}if(!ie.group_id){h.ZP.warning("\u8BFE\u5802\u91CC\u6682\u65E0\u6B64\u5206\u7EC4");return}(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/adjust_group.json`,{method:"post",body:ie})).status==0&&(h.ZP.success("\u8C03\u6574\u6210\u529F"),Xn.resetFields(),Bt(!1),yield rn())})},R.createElement(f.default.Item,{name:"user_id",label:"\u5B66\u751F\u59D3\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D"}]},R.createElement(L.default,{showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D",filterOption:(ie,Pe)=>{var Dt;return((Dt=Pe==null?void 0:Pe.label)!=null?Dt:"").toLowerCase().includes(ie.toLowerCase())},options:(Ue=uu==null?void 0:uu.userAll)==null?void 0:Ue.map(ie=>({value:ie.user_id,label:ie.name}))})),R.createElement(f.default.Item,{name:"group_id",label:"\u8C03\u6574\u81F3",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0"}]},R.createElement(L.default,{showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0",filterOption:(ie,Pe)=>{var Dt;return((Dt=Pe==null?void 0:Pe.label)!=null?Dt:"").toLowerCase().includes(ie.toLowerCase())},options:(Et=uu==null?void 0:uu.groupAll)==null?void 0:Et.map(ie=>({value:ie.group_id,label:`\uFF08${ie.group_name}\uFF09`+(ie==null?void 0:ie.name_list)}))})))),R.createElement(P.default,{title:R.createElement("span",null,"\u8D44\u6E90\u63A8\u8350",R.createElement("span",{className:"font14 c-black-333"},"\uFF08\u4F53\u9A8C\u7248\uFF09")),destroyOnClose:!0,open:mn,footer:null,onCancel:()=>{Fe(!1)},width:700},R.createElement("div",null,"\u6839\u636E\u4F60\u6240\u5728\u7684\u5206\u7EC4\u53CA\u5B66\u4E60\u60C5\u51B5\uFF0C\u4E3A\u4F60\u63A8\u8350\u6700\u4F73\u7684\u5B66\u4E60\u8D44\u6E90",R.createElement("b",null,"\u987A\u5E8F"),"\u5982\u4E0B\uFF1A"),(ve=m==null?void 0:m.course_recommends)==null?void 0:ve.map((ie,Pe)=>R.createElement(g.Z,{key:Pe,align:"middle",justify:"space-between"},R.createElement(g.Z,{style:{width:525},align:"middle",wrap:!1},R.createElement("div",{className:J.Onerow,style:{display:"inline-block"}},Pe+1,"\u3001",ie.name),ie.type=="\u5916\u94FE"&&R.createElement("div",{className:"ml5",style:{display:"inline-block",whiteSpace:"nowrap",padding:"0px 10px",borderRadius:"10px",color:"#fff",background:"#1890ff"}},"\u5916\u94FE")),R.createElement(o.Z,null,R.createElement(be.op,{type:"link",onClick:()=>{window.open(ie==null?void 0:ie.url)}},"\u67E5\u770B"),ie.type!="\u5916\u94FE"&&R.createElement(be.op,{openLoading:!0,type:"link",onClick:()=>At(void 0,null,function*(){(0,d.FH)("",`${ie==null?void 0:ie.url}`)})},"\u4E0B\u8F7D"))))),R.createElement(c.Z,{getData:()=>rn()}),R.createElement(fe.Z,{visible:Ae,getData:rn,categoryId:ee.categoryId,onCancle:()=>{Qt(!1)}}))};var Sn=(0,X.connect)(({shixunHomeworks:I,classroomList:C,globalSetting:B,loading:ce})=>({shixunHomeworks:I,classroomList:C,loading:ce.effects,globalSetting:B}))(An),fn=s(3294),Zn=s(85149),yn=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,qn=(I,C,B)=>C in I?yn(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,jn=(I,C)=>{for(var B in C||(C={}))Rn.call(C,B)&&qn(I,B,C[B]);if(Bn)for(var B of Bn(C))$n.call(C,B)&&qn(I,B,C[B]);return I},Yn=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const eu=({shixunHomeworks:I,dispatch:C})=>{const B=(0,X.useParams)();return n.createElement(P.default,{centered:!0,title:"\u63D0\u793A",open:I.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Yn(void 0,null,function*(){(yield C({type:"shixunHomeworks/deleteReply",payload:{object_id:I.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(h.ZP.success("\u5220\u9664\u6210\u529F"),C({type:"shixunHomeworks/setActionTabs",payload:{}}),C({type:"shixunHomeworks/getReplyList",payload:jn({},I.actionTabs.params)}))}),onCancel:()=>{C({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var Kn=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(eu),tu=s(23765),wn=s(71418),au=s(26227),ru=s(63524),Tn={flex_box_center:"flex_box_center___CUQTA",flex_space_between:"flex_space_between___VY1nG",flex_box_vertical_center:"flex_box_vertical_center___XJiqA",flex_box_center_end:"flex_box_center_end___w4A8Z",flex_box_column:"flex_box_column___WAD8k",top:"top___wjvbq",desc:"desc___dEt4i",liked:"liked___HcN9D",likedActive:"likedActive___VhZeS",reply:"reply___DaEgJ",replyList:"replyList___ZYtQu",comment:"comment___PfBmX",headpic:"headpic___ne811"},rt=s(59301),Je=Object.defineProperty,Ve=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,St=(I,C,B)=>C in I?Je(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,kt=(I,C)=>{for(var B in C||(C={}))$e.call(C,B)&&St(I,B,C[B]);if(Ve)for(var B of Ve(C))ut.call(C,B)&&St(I,B,C[B]);return I},ct=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});z().locale("ZH-cn");const It=({shixunHomeworks:I,classroomList:C,globalSetting:B,loading:ce,user:Ee,dispatch:xe})=>{var De,Ce,re;const[de,et]=(0,n.useState)(kt({},(0,X.useParams)())),[tt,Ie]=(0,n.useState)(!1),[le,_e]=(0,n.useState)(-1),[Ze,ye]=(0,n.useState)(""),[Ue,Et]=(0,n.useState)(""),{workList:ve}=I,{detailLeftMenus:pt}=C,{shixunHomeworksDetail:ee,replyList:je,workDetail:_t}=I;return de.page_size=10,(0,n.useEffect)(()=>{xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)}),xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},de)}),pt.course_modules||xe({type:"classroomList/getClassroomLeftMenus",payload:kt({},de)})},[de.categoryId]),rt.createElement("section",{className:Tn.bg},rt.createElement(wn.Z,{spinning:ce["shixunHomeworks/getWorkDetail"]},rt.createElement("section",{className:""},rt.createElement("aside",{className:[Tn.desc,"c-black","font14","bg-white"].join(" ")},I.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&rt.createElement(Zn.Z,{value:(_t==null?void 0:_t.description)||"\u6682\u65E0\uFF5E"}),"\u5206\u7EC4\u8981\u6C42\uFF1A",(De=_t==null?void 0:_t.group_info)==null?void 0:De.min_num," ~ ",(Ce=_t==null?void 0:_t.group_info)==null?void 0:Ce.max_num,"\u4EBA ",rt.createElement("span",{className:"c-light-black"},"\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"),rt.createElement("br",null),"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD\uFF1A",(re=_t==null?void 0:_t.group_info)!=null&&re.base_on_project?"\u662F":"\u5426",rt.createElement("span",{className:"c-light-black"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09"),rt.createElement(tu.Z,{authority:(0,r.GJ)(),showDimensions:!1,dataSource:_t==null?void 0:_t.attachments,callback:()=>{xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},de)})}}),I.actionTabs.key==="\u7F16\u8F91\u4F5C\u4E1A"&&rt.createElement("aside",{className:["bg-white"].join(" ")},rt.createElement(H.Z,{onChange:m=>{ye(m)},defaultValue:_t==null?void 0:_t.explanation,height:200,isFocus:!0,watch:!0}),rt.createElement(g.Z,null,rt.createElement(o.Z,{span:24,className:"tr"},rt.createElement(U.ZP,{type:"default",size:"large",onClick:()=>ct(void 0,null,function*(){xe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})})},"\u53D6\u6D88"),rt.createElement(U.ZP,{type:"primary",size:"large",className:"ml20",onClick:()=>ct(void 0,null,function*(){Ze===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/updateWork",payload:{explanation:Ze,categoryId:de.categoryId}})).status===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),xe({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},de)}))})},"\u4FDD\u5B58"))))),rt.createElement("aside",{className:[Tn.reply,"bg-white","mt20"].join(" ")},tt&&rt.createElement(H.Z,{onChange:m=>{ye(m)},height:200,isFocus:!0,watch:!0}),rt.createElement(g.Z,{onClick:()=>{Ie(!0)}},rt.createElement(o.Z,{flex:"1",style:{pointerEvents:"none"}},!tt&&rt.createElement(w.default,{size:"large",className:"current",placeholder:"\u8BF4\u70B9\u4EC0\u4E48",disabled:!0})),rt.createElement(o.Z,null,rt.createElement(U.ZP,{type:"primary",size:"large",onClick:()=>ct(void 0,null,function*(){var m;if((0,r.Rm)()&&!((m=C.AssistantObject.practice)!=null&&m.can_create)){h.ZP.warn("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ze===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:de.categoryId,jour_type:"HomeworkCommon",reply_id:1,notes:Ze}}})).status===0&&(h.ZP.success("\u53D1\u5E03\u6210\u529F"),xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)}),Ie(!1),ye(""))})},"\u53D1\u8868")))),(je==null?void 0:je.comments)&&je.comments!=""&&rt.createElement("aside",{className:[Tn.replyList,"bg-white"].join(" ")},je==null?void 0:je.comments.map(function(m,pe){var ot,$t,ke,mt;return rt.createElement(g.Z,{gutter:[12,12],key:pe},rt.createElement(o.Z,{flex:"40px"},rt.createElement("img",{className:Tn.headpic,width:"40",src:`${fn.Z.IMG_SERVER}/images/${(ot=m==null?void 0:m.author)==null?void 0:ot.image_url}`})),rt.createElement(o.Z,{flex:"1"},rt.createElement(g.Z,{align:"middle"},rt.createElement(o.Z,{span:20},rt.createElement("span",{className:"c-light-black"},($t=m==null?void 0:m.author)==null?void 0:$t.name),rt.createElement("span",{className:"c-light-black ml10"},m==null?void 0:m.time," \u53D1\u5E03")),rt.createElement(o.Z,{className:"tr",span:4},rt.createElement("div",{className:"tr"},((0,r.GJ)()||((ke=Ee==null?void 0:Ee.userInfo)==null?void 0:ke.login)===((mt=m==null?void 0:m.author)==null?void 0:mt.login))&&rt.createElement(b.Z,{title:"\u5220\u9664"},rt.createElement(au.Z,{className:"current",onClick:()=>{xe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:de,selectArr:m}})}})))),rt.createElement(o.Z,{span:24},rt.createElement(Zn.Z,{value:m.content})),m.children&&rt.createElement("aside",{className:Tn.comment},m.children.map(function(st,tn){var Lt,zt;return rt.createElement(g.Z,{key:tn},rt.createElement(o.Z,{span:24},rt.createElement(g.Z,null,rt.createElement(o.Z,{flex:"1"},st.author.name,rt.createElement("span",{className:"c-light-black ml10"},st==null?void 0:st.time)),rt.createElement(o.Z,null,((0,r.GJ)()||((Lt=Ee==null?void 0:Ee.userInfo)==null?void 0:Lt.login)===((zt=st==null?void 0:st.author)==null?void 0:zt.login))&&rt.createElement(b.Z,{title:"\u5220\u9664"},rt.createElement(au.Z,{className:"current",onClick:()=>{xe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:de,selectArr:st}})}}))))),rt.createElement(o.Z,null,rt.createElement(Zn.Z,{value:st.content})))})),rt.createElement(o.Z,{span:24,className:"mt5 c-light-black"},le===pe&&rt.createElement("aside",null,rt.createElement(H.Z,{onChange:st=>{Et(st)},height:150,isFocus:!0}),rt.createElement(g.Z,null,rt.createElement(o.Z,{span:24,className:"tr"},rt.createElement(U.ZP,{type:"primary",size:"large",onClick:()=>ct(this,null,function*(){Ue===""?h.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:de.categoryId,jour_type:"HomeworkCommon",m_parent_id:m.id,reply_id:1,notes:Ue}}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)}),h.ZP.success("\u53D1\u5E03\u6210\u529F"),_e(-1))})},"\u53D1\u8868")))),le!==pe&&rt.createElement("div",{className:"tr"},rt.createElement("span",{className:"iconfont icon-huifu1 mr5 ml30",onClick:()=>_e(pe)}),!!m.user_praise&&rt.createElement("span",{className:"c-orange"},rt.createElement(ru.Z,{className:"mr5 ml30",onClick:()=>ct(this,null,function*(){yield xe({type:"shixunHomeworks/replyUnLike",payload:{object_id:m.id,object_type:"journals_for_message"}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)})})}),!!m.praise_count&&m.praise_count),!m.user_praise&&rt.createElement("span",null,rt.createElement(ru.Z,{className:"mr5 ml30",onClick:()=>ct(this,null,function*(){yield xe({type:"shixunHomeworks/replyLike",payload:{object_id:m.id,object_type:"journals_for_message"}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)})})}),!!m.praise_count&&m.praise_count))))))})))),rt.createElement("aside",{className:"tc mt30 pb30"},rt.createElement(K.Z,{defaultCurrent:1,total:je==null?void 0:je.total_count,hideOnSinglePage:!0,current:de.page||1,onChange:m=>{de.page=m,xe({type:"shixunHomeworks/getReplyList",payload:kt({},de)})}})),rt.createElement(Kn,null))};var ft=(0,X.connect)(({shixunHomeworks:I,classroomList:C,user:B,loading:ce,globalSetting:Ee})=>({shixunHomeworks:I,globalSetting:Ee,user:B,classroomList:C,loading:ce.effects}))(It),Gt=Object.defineProperty,Zt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,_n=(I,C,B)=>C in I?Gt(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Wt=(I,C)=>{for(var B in C||(C={}))dt.call(C,B)&&_n(I,B,C[B]);if(Zt)for(var B of Zt(C))En.call(C,B)&&_n(I,B,C[B]);return I};z().locale("ZH-cn");const sn=({shixunHomeworks:I,classroomList:C,globalSetting:B,loading:ce,dispatch:Ee})=>{var xe;const De=(0,X.useParams)(),{detailLeftMenus:Ce}=C,{replyList:re,referenceAnswer:de}=I;return De.page_size=10,(0,n.useEffect)(()=>{Ee({type:"shixunHomeworks/getReplyList",payload:Wt({},De)}),Ee({type:"shixunHomeworks/getReferenceAnswer",payload:{coursesId:De.categoryId}}),Ce.course_modules||Ee({type:"classroomList/getClassroomLeftMenus",payload:Wt({},De)})},[De.categoryId]),n.createElement("section",{className:"pb30 pl30 pr30 pt30 bg-white"},n.createElement("aside",{className:["c-black","font14"].join(" ")},I.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&n.createElement("div",null,(de==null?void 0:de.reference_answer)&&n.createElement(Zn.Z,{value:de==null?void 0:de.reference_answer}),!(de!=null&&de.reference_answer)&&n.createElement(ue.Z,null)),(xe=de==null?void 0:de.attachments)==null?void 0:xe.map((et,tt)=>n.createElement("div",null,n.createElement("a",{href:`${fn.Z.API_SERVER}${et.url}`},n.createElement("span",{className:"iconfont icon-fujian c-green font14"}),n.createElement("span",{className:"ml10 c-black"},et.title),n.createElement("span",{className:"c-light-black ml20 font12"},et.filesize))))))};var cn=(0,X.connect)(({shixunHomeworks:I,classroomList:C,loading:B,globalSetting:ce})=>({shixunHomeworks:I,globalSetting:ce,classroomList:C,loading:B.effects}))(sn),Vn=s(95036),du={modal:"modal___lF39e"},xn=s(59301),Gu=Object.defineProperty,Au=Object.defineProperties,Tu=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,Lu=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Eu=(I,C,B)=>C in I?Gu(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,wu=(I,C)=>{for(var B in C||(C={}))Lu.call(C,B)&&Eu(I,B,C[B]);if(yu)for(var B of yu(C))Gn.call(C,B)&&Eu(I,B,C[B]);return I},Bu=(I,C)=>Au(I,Tu(C)),Mu=(I,C)=>{var B={};for(var ce in I)Lu.call(I,ce)&&C.indexOf(ce)<0&&(B[ce]=I[ce]);if(I!=null&&yu)for(var ce of yu(I))C.indexOf(ce)<0&&Gn.call(I,ce)&&(B[ce]=I[ce]);return B},Cu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const zu=I=>{var C=I,{classroomList:B,shixunHomeworks:ce,dispatch:Ee,cb:xe}=C,De=Mu(C,["classroomList","shixunHomeworks","dispatch","cb"]),Ce,re,de,et,tt;const Ie=(0,X.useParams)(),[le,_e]=(0,n.useState)(""),[Ze,ye]=(0,n.useState)([]),[Ue,Et]=(0,n.useState)({learn:0,active:0,score:0,chat:0});console.log(ce,"classroomList");const{workList:ve}=ce;(0,n.useEffect)(()=>{B.actionTabs.key},[B.actionTabs]);const pt=()=>Cu(void 0,null,function*(){if(!le){h.ZP.warning("\u6BCF\u4E2A\u5C0F\u7EC4\u5B66\u751F\u4EBA\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Ee({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u884C\u667A\u80FD\u5206\u7EC4\uFF0C\u8BF7\u7A0D\u540E..."}});let ee=yield(0,S.ZP)(`/api/homework_commons/${Ie.categoryId}/ai_bulk_create.json`,{method:"post",body:Bu(wu({min:1,max:le,course_id:Ie.coursesId},Ue),{course_group_ids:Ze})});(ee==null?void 0:ee.status)===0&&(h.ZP.info("\u667A\u80FD\u5206\u7EC4\u6210\u529F"),Ee({type:"classroomList/setActionTabs",payload:{}}),xe()),Ee({type:"globalSetting/setGlobalLoading",payload:{show:!1}})});return xn.createElement(P.default,{width:584,className:du.modal,zIndex:3,centered:!0,destroyOnClose:!0,afterClose:()=>{ye([]),_e(""),Et({learn:0,active:0,score:0,chat:0})},title:"\u667A\u80FD\u5206\u7EC4",onOk:pt,open:B.actionTabs.key==="\u667A\u80FD\u5206\u7EC4",onCancel:()=>{Ee({type:"classroomList/setActionTabs",payload:{}})}},xn.createElement("p",{style:{display:"flex",alignItems:"center"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10,alignItems:"center"}},"\u6BCF\u4E2A\u5C0F\u7EC4\u5B66\u751F\u4EBA\u6570\uFF1A"),xn.createElement(te.Z,{style:{width:100},min:(Ce=ve==null?void 0:ve.group_data)==null?void 0:Ce.min_num,max:(re=ve==null?void 0:ve.group_data)==null?void 0:re.max_num,precision:0,step:1,value:le,onChange:ee=>{_e(ee)}}),xn.createElement("span",{style:{marginLeft:10,color:"#a6a6a6"}},"\u6BCF\u7EC4\u6210\u5458\u4EBA\u6570\u8303\u56F4\u4E3A",(de=ve==null?void 0:ve.group_data)==null?void 0:de.min_num,"~",(et=ve==null?void 0:ve.group_data)==null?void 0:et.max_num,"\u4EBA")),xn.createElement("p",{style:{display:"flex"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10}},"\u5206\u73ED\uFF1A"),xn.createElement(O.default.Group,{value:Ze,onChange:ee=>{ye(ee)}},(tt=ve==null?void 0:ve.course_group_info)==null?void 0:tt.map(ee=>xn.createElement(O.default,{key:ee==null?void 0:ee.course_group_id,value:ee==null?void 0:ee.course_group_id},ee==null?void 0:ee.group_group_name)))),xn.createElement("div",{style:{display:"flex"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10}},"\u5206\u7EC4\u89C4\u5219\uFF1A"),xn.createElement(O.default.Group,{onChange:ee=>{Et({learn:ee.indexOf(1)>-1?1:0,active:ee.indexOf(2)>-1?1:0,score:ee.indexOf(3)>-1?1:0,chat:ee.indexOf(4)>-1?1:0})}},xn.createElement(O.default,{value:1},"\u5728\u7EBF\u65F6\u957F"),xn.createElement(O.default,{value:2},"\u53C2\u4E0E\u8BFE\u5802\u6570"),xn.createElement(O.default,{value:4},"\u4E92\u52A8\u6B21\u6570"),xn.createElement(O.default,{value:3},"\u5386\u53F2\u603B\u6210\u7EE9"))))};var xa=(0,X.connect)(({shixunHomeworks:I,classroomList:C})=>({shixunHomeworks:I,classroomList:C}))(zu),Da=s(12393),Nn={flex_box_center:"flex_box_center___eiaQ9",flex_space_between:"flex_space_between___fT_mk",flex_box_vertical_center:"flex_box_vertical_center___th1VG",flex_box_center_end:"flex_box_center_end___uybac",flex_box_column:"flex_box_column___TqJIG",form:"form___njbEi",efficiency:"efficiency___Oei2A",configworksContainer:"configworksContainer___Nq83Z",content:"content___I1fum",pubColSty:"pubColSty___mLLj7",selectSty:"selectSty___vHJsQ",borderSty:"borderSty___i4DxC",delSty:"delSty___sr6EA",delBorder:"delBorder___UTfgQ",copHover:"copHover___K6TsR",title_icon:"title_icon___WSWL7",title:"title___mviQ0"},Mn=s(59301),xu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Oa=({})=>{var I,C;const[B,ce]=(0,n.useState)(!0),[Ee,xe]=(0,n.useState)(!1),[De,Ce]=(0,n.useState)([]),[re,de]=(0,n.useState)([]),[et,tt]=(0,n.useState)([]),[Ie,le]=(0,n.useState)([]),[_e,Ze]=(0,n.useState)(""),ye=(0,X.useParams)();function Ue(){return xu(this,null,function*(){let pt=yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators.json`,{method:"get"});de(pt)})}function Et(){return xu(this,null,function*(){var pt;let ee=yield(0,S.ZP)(`/api/courses/${ye==null?void 0:ye.coursesId}/teachers`,{method:"get",params:{homework_id:ye.categoryId,limit:1e3}});(pt=ee==null?void 0:ee.teacher_list)==null||pt.map(je=>{je.key=je.user_id}),tt(ee==null?void 0:ee.teacher_list),le(ee==null?void 0:ee.teacher_list)})}(0,n.useEffect)(()=>{Ue(),Et()},[ye]);const ve=()=>{};return Mn.createElement("section",{className:Nn.form},Mn.createElement(g.Z,{className:Nn.content,style:{padding:"20px 30px",gap:20}},(I=re==null?void 0:re.data)==null?void 0:I.map(pt=>Mn.createElement(g.Z,{align:"middle",className:`${Nn.borderSty} ${_e===(pt==null?void 0:pt.id)?Nn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Mn.createElement("span",{className:"c-grey-333"},pt==null?void 0:pt.real_name),(re==null?void 0:re.can_edit)&&Mn.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${Nn.delSty}`,onMouseEnter:()=>{Ze(pt.id)},onMouseLeave:()=>{Ze("")},onClick:()=>xu(void 0,null,function*(){(yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:pt.id}})).status===0&&(h.ZP.info("\u5220\u9664\u6210\u529F"),Ue(),Et())})}))),(re==null?void 0:re.can_edit)&&Mn.createElement(U.ZP,{className:Nn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>xe(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005"),!(re!=null&&re.can_edit)&&!((C=re==null?void 0:re.data)!=null&&C.length)&&Mn.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005")),Mn.createElement(P.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ee,onCancel:()=>xe(!1),onOk:()=>xu(void 0,null,function*(){if(De.length===0){h.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}(yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:De}})).status===0&&(h.ZP.info("\u6DFB\u52A0\u6210\u529F"),Ce([]),Ue(),Et(),xe(!1))})},Mn.createElement("div",null,Mn.createElement("div",{style:{display:"flex"}},Mn.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Mn.createElement(w.default.Search,{onChange:pt=>{tt(Ie.filter(ee=>ee.name.indexOf(pt.target.value)>-1))}})),Mn.createElement(F.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(pt,ee)=>{Ce(pt)},selectedRowKeys:De,getCheckboxProps:pt=>({disabled:pt.is_collaborator})},pagination:!1,dataSource:et,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Pa=(0,X.connect)(({shixunHomeworks:I,loading:C})=>({shixunHomeworks:I,loading:C.effects}))(Oa),zn=s(5083),mu=s(78673),Ln=s(40731),Ju=s(50757),Jn=s(79834),Xe=s(918),Qe=s(59301),Sa=Object.defineProperty,ka=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,Qu=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Xu=(I,C,B)=>C in I?Sa(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,lu=(I,C)=>{for(var B in C||(C={}))Za.call(C,B)&&Xu(I,B,C[B]);if(Qu)for(var B of Qu(C))Na.call(C,B)&&Xu(I,B,C[B]);return I},Du=(I,C)=>ka(I,Ia(C)),Ra=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const{RangePicker:ja}=zn.default,{Option:Hu}=L.default,Ta=({shixunHomeworks:I,classroomList:C,getData:B,dispatch:ce})=>{var Ee,xe,De,Ce,re,de,et,tt,Ie,le,_e,Ze,ye,Ue,Et;const{workSetting:ve,workList:pt}=I,ee=(0,X.useParams)(),[je,_t]=(0,n.useState)(!0);let[m,pe]=(0,n.useState)([]),[ot,$t]=(0,n.useState)([]);const[ke,mt]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",is_group_grade:!1,ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",gr_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,submit_limit:!1,submit_limit_num:"",must_file:!1,can_submit:!1,submit_num:""}),[st,tn]=(0,n.useState)(!1);(0,n.useEffect)(()=>{ve!=null&&ve.course_id&&(Object.keys(ke).map(function(Ne){Ne.indexOf("proportion")>-1?ke[Ne]=ve[Ne]*100:ke[Ne]=ve[Ne]}),ve.anonymous_comment&&(ke.unified_late=ve.unified_anonymous_comment,tn(ve.unified_anonymous_comment)),(!ke.allow_late||!ke.unified_late)&&(ke.late_penalty=5),ke.unified_setting||(ke.unified_late=!1,ke.unified_anonymous_comment=!1,ke.unified_anonymous_appeal=!1),m=JSON.parse(JSON.stringify(ve.group_settings.map(Ne=>Du(lu({},Ne),{group_name:[Ne.group_name]})).filter(Ne=>Ne.publish_time!==null))),ot=JSON.parse(JSON.stringify(ve.allow_late_settings.map(Ne=>Du(lu({},Ne),{group_name:[Ne.group_name]})).filter(Ne=>Ne.late_time!==null))),mt(lu({},ke)),pe(m.length?[...m]:[{}]),$t([...ot]))},[ve]),(0,n.useEffect)(()=>{_t(!(0,r.GJ)())},[(0,r.GJ)()]);const[Lt,zt]=(0,n.useState)(!1),Yt=()=>Ra(void 0,null,function*(){zt(!Lt);const Ne=JSON.parse(JSON.stringify(ke));if(Ne.categoryId=ee.categoryId,ke.unified_setting||(m=m==null?void 0:m.map(Me=>{var Vt,wt;if(!Me.publish_time||!Me.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Me.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),zt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Me.group_name=typeof(Me==null?void 0:Me.group_name)=="string"?[Me==null?void 0:Me.group_name]:Me==null?void 0:Me.group_name,Me.group_id=(wt=(Vt=Me==null?void 0:Me.group_name)==null?void 0:Vt.map(Ht=>{var en,Tt;let Jt=(Tt=(en=ve.group_settings)==null?void 0:en.filter(Ut=>(Ut==null?void 0:Ut.group_name)===Ht))==null?void 0:Tt[0];return Jt==null?void 0:Jt.group_id}))==null?void 0:wt.toString().split(","),Me})),Ne.group_settings=m,ke.allow_late)if(ke.unified_late){if(ke.late_penalty===null||ke.late_penalty===void 0||ke.late_penalty<0||ke.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),zt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ke.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else ot=ot==null?void 0:ot.map(Me=>{var Vt,wt;if(Me.penalty_type=Ln.Q.Number,Me.late_penalty===null||Me.late_penalty===void 0||Me.late_penalty<0||Me.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),zt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Me.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Me.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),zt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Me.group_name=typeof(Me==null?void 0:Me.group_name)=="string"?[Me==null?void 0:Me.group_name]:Me==null?void 0:Me.group_name,Me.group_id=(wt=(Vt=Me==null?void 0:Me.group_name)==null?void 0:Vt.map(Ht=>{var en,Tt;let Jt=(Tt=(en=ve.group_settings)==null?void 0:en.filter(Ut=>(Ut==null?void 0:Ut.group_name)===Ht))==null?void 0:Tt[0];return Jt==null?void 0:Jt.group_id}))==null?void 0:wt.toString().split(","),Me}),Ne.allow_late_settings=ot;if(ke!=null&&ke.submit_limit&&!(ke!=null&&ke.submit_limit_num)){h.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1);return}if(ke!=null&&ke.can_submit&&!(ke!=null&&ke.submit_num)){h.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1);return}Object.keys(Ne).map(function(Me){Me.indexOf("proportion")>-1&&(Ne[Me]=Ne[Me]/100)}),ce({type:"shixunHomeworks/updateSetting",payload:Du(lu({},Ne),{penalty_type:Ln.Q.Number})}).then(Me=>{Me.status===0?(zt(!1),h.ZP.success("\u66F4\u65B0\u6210\u529F"),B()):zt(!1)})}),Un=(0,n.useMemo)(()=>(ve==null?void 0:ve.allow_late)||(ve==null?void 0:ve.all_group_late),[ve,pt]),Oe=(Ne,Me,Vt="group_id")=>{var wt;return Me?Me.find(Ht=>Ht[Vt]===Ne):(wt=ve==null?void 0:ve.group_settings)==null?void 0:wt.find(Ht=>Ht.group_id[0]===Ne)},gt=Ne=>{var Me,Vt;const wt=Oe(Ne,ve==null?void 0:ve.allow_late_settings,"id"),Ht=Oe(Ne,ve==null?void 0:ve.anonymous_comment_settings),en=Oe(Ne);return(ve==null?void 0:ve.allow_late)&&wt&&z()(wt==null?void 0:wt.late_time)<=z()()||(ve==null?void 0:ve.anonymous_comment)&&Ht&&(Ht==null?void 0:Ht.evaluation_start)!==null||((Vt=(z()(en==null?void 0:en.end_time)<=z()()&&((Me=ve==null?void 0:ve.allow_late_settings)==null?void 0:Me.filter(Tt=>Tt.group_id.includes(Ne))))[0])==null?void 0:Vt.late_time)!=null},Ye=ve==null?void 0:ve.anonymous_comment,gn=(Ee=ve==null?void 0:ve.allow_late_settings)!=null&&Ee.length?(xe=ve==null?void 0:ve.allow_late_settings)==null?void 0:xe.every(Ne=>{if(Ne.evaluation_start)return!0}):!1,Fn=(ve==null?void 0:ve.unified_late)&&(ve==null?void 0:ve.anonymous_comment),lt=ve==null?void 0:ve.anonymous_comment,Mt=Ne=>{if(!Ne)return!1;const Me=Oe(Ne,ve==null?void 0:ve.anonymous_comment_settings);return(ve==null?void 0:ve.anonymous_comment)&&Me&&(Me==null?void 0:Me.evaluation_start)!==null},Nt=Ne=>{const Me=Oe(Ne,ve==null?void 0:ve.anonymous_comment_settings);return Me&&(Me==null?void 0:Me.evaluation_start)!==null};return Qe.createElement("div",{style:{padding:"30px 50px"}},Qe.createElement("div",{className:`${Xe.Z.title}`},Qe.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),Qe.createElement(b.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Xe.Z.title_icon}`}))),Qe.createElement("div",{className:Xe.Z.content},((De=ve==null?void 0:ve.group_settings)==null?void 0:De.length)>0?Qe.createElement(g.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(Ce=Xe.Z)==null?void 0:Ce.h_lh_40}`,align:"middle"},Qe.createElement(mu.Z,{checked:ke.unified_setting,disabled:je||!((re=ve==null?void 0:ve.homework_status)!=null&&re.includes("\u672A\u53D1\u5E03"))||(0,r.Rm)()&&!((et=(de=C.AssistantObject)==null?void 0:de.group)!=null&&et.can_publish)||!(ve!=null&&ve.manage_all_group),onChange:()=>{var Ne;if(!((Ne=ve==null?void 0:ve.homework_status)!=null&&Ne.includes("\u672A\u53D1\u5E03"))){h.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(ke.unified_setting=!ke.unified_setting,ke.unified_setting||(ke.unified_late=!1),mt(Object.assign({},ke)),m==""){pe([{}]);return}ke.unified_setting&&(pe([]),$t([{late_penalty:5}]))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement("span",{style:{color:"#333"}},"(\u9009\u4E2D\u5219\u6240\u6709\u5206\u73ED\u4F7F\u7528\u76F8\u540C\u7684\u53D1\u5E03\u8BBE\u7F6E\uFF0C\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u53EF\u4FEE\u6539\uFF1B\u5426\u5219\u5404\u4E2A\u5206\u73ED\u5141\u8BB8\u5355\u72EC\u8BBE\u7F6E)")):null,ke.unified_setting&&Qe.createElement("div",{className:Xe.Z.row_sty,style:{padding:"5px 30px"}},Qe.createElement(g.Z,{align:"middle"},Qe.createElement(o.Z,{style:{color:"#666",marginRight:10}},"\u53D1\u5E03\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml5"},Qe.createElement(zn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1,disabled:je||!((tt=ve==null?void 0:ve.homework_status)!=null&&tt.includes("\u672A\u53D1\u5E03")||(Ie=ve==null?void 0:ve.homework_status)!=null&&Ie.includes("\u672A\u5F00\u59CB"))||(0,r.Rm)()&&!((_e=(le=C.AssistantObject)==null?void 0:le.group)!=null&&_e.can_publish),value:ke.publish_time?z()(ke.publish_time):"",disabledDate:Ne=>(0,Jn.Q8)(Ne,ve==null?void 0:ve.course_end_date),disabledTime:Ne=>(0,Jn.d0)(Ne),onChange:(Ne,Me)=>{ke.publish_time=Me,!ke.end_time&&ke.unified_setting&&(ke.end_time=z()(Ne).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09")),Qe.createElement(g.Z,{align:"middle"},Qe.createElement(o.Z,{style:{marginLeft:40,color:" #666",marginRight:10}},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml5"},Qe.createElement(zn.default,{allowClear:!1,style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:gn||lt||(ve==null?void 0:ve.allow_late)&&(ve==null?void 0:ve.homework_status.includes("\u5DF2\u622A\u6B62"))||je||(ve==null?void 0:ve.allow_late)&&z()()>=z()(ve==null?void 0:ve.end_time)||(0,r.Rm)()&&!((ye=(Ze=C.AssistantObject)==null?void 0:Ze.group)!=null&&ye.can_publish),disabledDate:Ne=>(0,Jn.Q8)(Ne,ve==null?void 0:ve.course_end_date,ke.publish_time),disabledTime:Ne=>(0,Jn.d0)(Ne,ke.publish_time),value:ke.end_time?z()(ke.end_time):"",onChange:(Ne,Me)=>{ke.end_time=Me,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))),!ke.unified_setting&&Qe.createElement(g.Z,null,m&&m.map(function(Ne,Me){var Vt,wt,Ht,en;return Qe.createElement(g.Z,{key:Me},Qe.createElement(g.Z,{style:{padding:"5px 14px 5px 52px"}},Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u53D1\u5E03\u89C4\u5219",Me+1),Qe.createElement(o.Z,{flex:"auto",style:{maxWidth:350}},Qe.createElement(L.default,{disabled:je||((Vt=ve==null?void 0:ve.homework_status)!=null&&Vt.includes("\u672A\u53D1\u5E03")&&Ne.id||z()(){var Jt,Ut;if((0,r.Rm)()&&!((Ut=(Jt=C.AssistantObject)==null?void 0:Jt.group)!=null&&Ut.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}m[Me].group_name=Tt,m[Me].group_id=Ne.group_id;const dn=(0,Be.flattenDeep)(m.map(Pn=>Pn.group_name)),On=ot.map(Pn=>{let Bt=(Pn==null?void 0:Pn.group_name)||[];return Du(lu({},Pn),{group_name:(0,Be.remove)(Bt,Xn=>dn.includes(Xn))})});$t(On),pe(m.slice())}},ve.group_settings&&ve.group_settings.map(function(Tt){if(!m.map(Jt=>Jt.group_name).toString().split(",").includes(String(Tt.group_name)))return Qe.createElement(Hu,{value:Tt.group_name,key:Tt.id},Tt.group_name)})))),Qe.createElement(o.Z,{style:{padding:"5px 0"}},Qe.createElement(ja,{style:{width:620},size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Ne.publish_time?z()(Ne.publish_time):z()(),z()()]},disabled:je||(z()()<=z()((wt=Oe(Ne.id))==null?void 0:wt.publish_time)?!1:[!0,gt(Ne.id)]),placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],disabledDate:Tt=>(0,Jn.Q8)(Tt,ve==null?void 0:ve.course_end_date),disabledTime:Tt=>(0,Jn.d0)(Tt),showTime:{format:"HH:mm",defaultValue:[z()((0,d.U6)(),"HH:mm"),z()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ne.publish_time&&[z()(Ne.publish_time),z()(Ne.end_time)],onChange:(Tt,Jt)=>{var Ut,dn;if((0,r.Rm)()&&!((dn=(Ut=C.AssistantObject)==null?void 0:Ut.group)!=null&&dn.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}m[Me].publish_time=Jt[0],m[Me].end_time=Jt[1],pe([...m])}})),!je&&Qe.createElement(o.Z,{className:`${(Ht=Xe.Z)==null?void 0:Ht.h_lh_40}`,style:{padding:"5px 0"}},m.length<((en=ve==null?void 0:ve.group_settings)==null?void 0:en.length)&&Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{pe(m.concat({}))}}),(Ne!=null&&Ne.publish_time&&z()(){var Tt,Jt;if((0,r.Rm)()&&!((Jt=(Tt=C.AssistantObject)==null?void 0:Tt.normal)!=null&&Jt.can_publish)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ut=(0,Be.cloneDeep)(ot);Ut.forEach((dn,On)=>{dn.group_name&&(dn.group_name=dn.group_name.filter(Pn=>{var Bt;return!((Bt=m[Me].group_name)!=null&&Bt.includes(Pn))}))}),m=m.filter((dn,On)=>Me!==On),$t(Ut),pe(m.slice()),setTimeout(()=>pe(m.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))}))),Qe.createElement(Ju.ZP,{checkMarginLeft:60,className:"mb20",disabled:je,value:ke,onChange:Ne=>mt(lu(lu({},ke),Ne))}),Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{className:`${Xe.Z.title} mt30`},Qe.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),Qe.createElement("div",{className:Xe.Z.content},Qe.createElement(g.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(Ue=Xe.Z)==null?void 0:Ue.h_lh_40}`,align:"middle"},Qe.createElement(mu.Z,{checked:ke.allow_late,disabled:gn||je||(ve==null?void 0:ve.allow_late),onChange:Ne=>{var Me;if((0,r.Rm)()&&!((Me=C.AssistantObject.group)!=null&&Me.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ne&&P.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Qe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Qe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),ke.allow_late=!ke.allow_late,ot==""&&$t([{late_penalty:5}]),mt(Object.assign({},ke))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement(b.Z,{overlayStyle:{width:380,maxWidth:380},title:Qe.createElement("div",{style:{display:"flex",flexFlow:"column"}},Qe.createElement("span",null,"\u8865\u4EA4\u89C4\u5219\u8BF4\u660E"),Qe.createElement("span",null,"\u5F00\u542F\u8865\u4EA4\uFF0C\u5B66\u751F\u53EA\u5728\u8865\u4EA4\u65F6\u95F4\u5185\u624D\u901A\u5173\u5219\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u4E0D\u6263\u5206\uFF1B"),Qe.createElement("span",null,"\u5B66\u751F\u5728\u6B63\u5E38\u4F5C\u4E1A\u89C4\u5B9A\u65F6\u95F4\u5185\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u9636\u6BB5\u518D\u6B21\u901A\u5173\u4E0D\u6263\u5206\u3002"))},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Xe.Z.title_icon}`}))),(ke==null?void 0:ke.allow_late)&&Qe.createElement("div",{className:"pb5"},Qe.createElement(g.Z,{className:Xe.Z.row_sty1},Qe.createElement(o.Z,{className:Xe.Z.lable_name,style:{marginRight:20}},"\u8865\u4EA4\u65B9\u5F0F"),Qe.createElement(k.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:je,value:ke.unified_late,onChange:Ne=>{var Me;if((0,r.Rm)()&&!((Me=C.AssistantObject.group)!=null&&Me.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.unified_late=Ne.target.value,ot==""&&!Ne.target.value&&$t([{late_penalty:5}]),mt(lu({},ke))}},(ke==null?void 0:ke.unified_setting)&&Qe.createElement(k.ZP,{disabled:(ve==null?void 0:ve.allow_late)||!(ve!=null&&ve.manage_all_group),value:!0}," \u7EDF\u4E00\u8865\u4EA4 "),((Et=ve==null?void 0:ve.group_settings)==null?void 0:Et.length)&&Qe.createElement(k.ZP,{disabled:ve==null?void 0:ve.allow_late,value:!1}," \u5206\u73ED\u8865\u4EA4 "))),ke!=null&&ke.unified_late?Qe.createElement("div",null,Qe.createElement(g.Z,{wrap:!1,align:"middle",className:`${Xe.Z.row_sty1} mb10 mt5`},Qe.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(te.Z,{disabled:je||Ye,size:"large",addonAfter:"\u5206",style:{width:206},min:0,value:ke.late_penalty,onChange:Ne=>{var Me;if((0,r.Rm)()&&!((Me=C.AssistantObject.group)!=null&&Me.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.late_penalty=Ne,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),Qe.createElement(g.Z,{className:`${Xe.Z.row_sty1}`},Qe.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(zn.default,{allowClear:!1,size:"large",style:{width:280},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:je||Fn||gn,value:ke.late_time?z()(ke.late_time):"",disabledDate:Ne=>(0,Jn.Q8)(Ne,ve==null?void 0:ve.course_end_date),disabledTime:Ne=>(0,Jn.d0)(Ne),onChange:(Ne,Me)=>{var Vt;if((0,r.Rm)()&&!((Vt=C.AssistantObject.group)!=null&&Vt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.late_time=Me,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):ot.map(function(Ne,Me){var Vt;return Qe.createElement(g.Z,{key:Me,style:{padding:"5px 14px 5px 52px"}},Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u89C4\u5219",Me+1),Qe.createElement(o.Z,{className:"mr20 ml10"},Qe.createElement(L.default,{size:"large",disabled:je||!((Vt=pt==null?void 0:pt.homework_status)!=null&&Vt.includes("\u672A\u53D1\u5E03"))&&Ne.id,mode:"multiple",style:{width:250},value:typeof Ne.group_name=="string"?[Ne.group_name]:Ne.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:wt=>{var Ht;if((0,r.Rm)()&&!((Ht=C.AssistantObject.normal)!=null&&Ht.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].group_name=wt,ot[Me].group_id=Ne.group_id,$t(ot.slice())}},ve.group_settings&&ve.group_settings.map(function(wt){if(ke!=null&&ke.unified_setting&&!ot.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!Nt(wt.id))return Qe.createElement(Hu,{value:wt.group_name,key:wt.id},wt.group_name);if(m.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!ot.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!Nt(wt.id))return Qe.createElement(Hu,{value:wt.group_name,key:wt.id},wt.group_name)}))),Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(o.Z,{className:"mr20 ml10"},Qe.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:150},min:0,max:100,disabled:je||Mt(Ne.id),defaultValue:Ne.late_penalty,onChange:wt=>{var Ht,en;if((0,r.Rm)()&&!((en=(Ht=C.AssistantObject)==null?void 0:Ht.normal)!=null&&en.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].late_penalty=wt,ot[Me].penalty_type=Ln.Q.Number}})),Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml10"},Qe.createElement(zn.default,{size:"large",disabled:je||Mt(Ne.id),style:{width:250},showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:wt=>(0,Jn.Q8)(wt,ve==null?void 0:ve.course_end_date),disabledTime:wt=>(0,Jn.d0)(wt),format:"YYYY-MM-DD HH:mm",value:Ne!=null&&Ne.late_time?z()(Ne.late_time):void 0,onChange:(wt,Ht)=>{var en,Tt;if((0,r.Rm)()&&!((Tt=(en=C.AssistantObject)==null?void 0:en.normal)!=null&&Tt.can_late)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].late_time=Ht,$t([...ot])}})),!je&&Qe.createElement(o.Z,{style:{height:40,lineHeight:"40px"}},Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{$t(ot.concat({penalty_type:Ln.Q.Number,late_penalty:5}))}}),Me>0&&!Ne.id?Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{ot=ot.filter((wt,Ht)=>Me!==Ht),$t(ot.slice()),setTimeout(()=>$t(ot.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))})))),Qe.createElement(U.ZP,{loading:Lt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Yt()},"\u4FDD\u5B58"))};var La=(0,X.connect)(({shixunHomeworks:I,classroomList:C})=>({shixunHomeworks:I,classroomList:C}))(Ta),jt=s(59301),Ma=Object.defineProperty,za=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,$u=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,qu=(I,C,B)=>C in I?Ma(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,fu=(I,C)=>{for(var B in C||(C={}))Wa.call(C,B)&&qu(I,B,C[B]);if($u)for(var B of $u(C))Ua.call(C,B)&&qu(I,B,C[B]);return I},Wu=(I,C)=>za(I,Ha(C)),ea=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Ya=({shixunHomeworks:I,getData:C,dispatch:B})=>{const{workSetting:ce}=I,Ee=(0,X.useParams)(),[xe,De]=(0,n.useState)(!0);let[Ce,re]=(0,n.useState)([]),[de,et]=(0,n.useState)([]);const[tt,Ie]=(0,n.useState)(!1),[le,_e]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",is_group_grade:!1,ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",gr_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0});(0,n.useEffect)(()=>{De(!(0,r.GJ)())},[(0,r.GJ)()]),(0,n.useEffect)(()=>{ce!=null&&ce.course_id&&(Object.keys(le).map(function(ye){ye.indexOf("proportion")>-1?(le[ye]=(ce[ye]*100).toFixed(0),console.log(ye,le[ye],ce[ye])):le[ye]=ce[ye]}),(!le.allow_late||!le.unified_late)&&(le.late_penalty=5),le.unified_setting||(le.unified_late=!1,le.unified_anonymous_comment=!1,le.unified_anonymous_appeal=!1),Ce=JSON.parse(JSON.stringify(ce.group_settings.map(ye=>Wu(fu({},ye),{group_name:[ye.group_name]})).filter(ye=>ye.publish_time!==null))),de=JSON.parse(JSON.stringify(ce.allow_late_settings.map(ye=>Wu(fu({},ye),{group_name:[ye.group_name]})).filter(ye=>ye.late_time!==null))),_e(fu({},le)),re([...Ce]),et([...de]),console.log(le,ce))},[ce]);const Ze=()=>ea(void 0,null,function*(){const ye=JSON.parse(JSON.stringify(le));if(ye.categoryId=Ee.categoryId,le.unified_setting||(Ce=Ce==null?void 0:Ce.map(Ue=>{var Et,ve;if(!Ue.publish_time||!Ue.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ue.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ue.group_name=typeof(Ue==null?void 0:Ue.group_name)=="string"?[Ue==null?void 0:Ue.group_name]:Ue==null?void 0:Ue.group_name,Ue.group_id=(ve=(Et=Ue==null?void 0:Ue.group_name)==null?void 0:Et.map(pt=>{var ee,je;let _t=(je=(ee=ce.group_settings)==null?void 0:ee.filter(m=>(m==null?void 0:m.group_name)===pt))==null?void 0:je[0];return _t==null?void 0:_t.group_id}))==null?void 0:ve.toString().split(","),Ue})),ye.group_settings=Ce,le.allow_late)if(le.unified_late){if(le.late_penalty===null||le.late_penalty===void 0||le.late_penalty<0||le.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!le.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else de=de==null?void 0:de.map(Ue=>{var Et,ve;if(Ue.penalty_type=Ln.Q.Number,Ue.late_penalty===null||Ue.late_penalty===void 0||Ue.late_penalty<0||Ue.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ue.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ue.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ue.group_name=typeof(Ue==null?void 0:Ue.group_name)=="string"?[Ue==null?void 0:Ue.group_name]:Ue==null?void 0:Ue.group_name,Ue.group_id=(ve=(Et=Ue==null?void 0:Ue.group_name)==null?void 0:Et.map(pt=>{var ee,je;let _t=(je=(ee=ce.group_settings)==null?void 0:ee.filter(m=>(m==null?void 0:m.group_name)===pt))==null?void 0:je[0];return _t==null?void 0:_t.group_id}))==null?void 0:ve.toString().split(","),Ue}),ye.allow_late_settings=de;Object.keys(ye).map(function(Ue){Ue.indexOf("proportion")>-1&&(ye[Ue]=ye[Ue]/100)}),B({type:"shixunHomeworks/updateSetting",payload:Wu(fu({},ye),{penalty_type:Ln.Q.Number})}).then(Ue=>{Ue.status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),C())})});return jt.createElement("div",{className:Nn.form},jt.createElement("div",{className:Nn.title},"\u7EC4\u957F\u8BC4\u5206"),jt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},jt.createElement(mu.Z,{disabled:xe,checked:le.is_group_grade,onChange:ye=>{le.is_group_grade=ye,_e(fu({},le))}}),jt.createElement("span",{style:{color:"#333333",margin:"0 10px",fontWeight:"600"}},"\u7EC4\u957F\u8BC4\u5206"),jt.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u7EC4\u957F\u9996\u6B21\u63D0\u4EA4\u4F5C\u4E1A\u65F6\u9700\u8981\u5BF9\u7EC4\u5458\u8FDB\u884C\u8BC4\u5206\uFF09")),jt.createElement("div",{className:Nn.title,style:{marginTop:"30px"}},"\u52A9\u6559\u8BC4\u5206"),jt.createElement(k.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:xe,value:le.ta_mode,onChange:ye=>{le.ta_mode=ye.target.value,_e(fu({},le))}},jt.createElement(k.ZP,{value:1,style:{marginRight:"40px"}},jt.createElement("span",{style:{color:"#000000"}},"\u666E\u901A\u6A21\u5F0F"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u53D6\u5404\u52A9\u6559\u6700\u7EC8\u8BC4\u5206\u7684\u5E73\u5747\u5206\uFF09")),jt.createElement("br",null),jt.createElement(k.ZP,{value:0},jt.createElement("span",{style:{color:"#000000"}},"\u590D\u5BA1\u6A21\u5F0F"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u52A9\u6559\u591A\u6B21\u8BC4\u5206\u65F6\uFF0C\u53D6\u6700\u540E\u4E00\u6B21\u52A9\u6559\u8BC4\u5206\u7684\u5206\u6570\uFF09"))),jt.createElement("div",{className:Nn.title,style:{marginTop:"30px"}},"\u6700\u7EC8\u6210\u7EE9\u7EC4\u6210"),jt.createElement(k.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:xe,value:le.final_mode,onChange:ye=>{le.final_mode=ye.target.value,_e(fu({},le))}},jt.createElement(k.ZP,{value:!1,style:{marginRight:"12px"}},jt.createElement("span",{style:{color:"#000000"}},"\u591A\u9879\u8BC4\u5206\u914D\u6BD4"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6309\u7167\u4F18\u5148\u987A\u5E8F\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09")),jt.createElement(k.ZP,{value:!0},jt.createElement("span",{style:{color:"#000000"}},"\u5355\u9879\u8BC4\u5206\u4F18\u5148"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6309\u7167\u6BD4\u4F8B\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09"))),le.final_mode?jt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 430px",display:"flex",alignItems:"center",color:"#666"}},"(\u6559\u5E08\u8BC4\u5206 \u2192 \u52A9\u6559\u8BC4\u5206 \u2192 \u7EC4\u957F\u8BC4\u5206 \u2192 \u5B66\u751F\u533F\u8BC4\u8BC4\u5206)"):jt.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},jt.createElement("div",null,"\u6559\u5E08\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.te_proportion,onChange:ye=>{le.te_proportion=ye,_e(Object.assign({},le))}}),jt.createElement("div",null,"\u52A9\u6559\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.ta_proportion,onChange:ye=>{le.ta_proportion=ye,_e(Object.assign({},le))}}),le.is_group_grade&&jt.createElement(jt.Fragment,null,jt.createElement("div",null,"\u7EC4\u957F\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.gr_proportion,onChange:ye=>{le.gr_proportion=ye,_e(Object.assign({},le))}})),jt.createElement("div",null,"\u5B66\u751F\u533F\u8BC4"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 0 0 10px"},value:le.st_proportion,onChange:ye=>{le.st_proportion=ye,_e(Object.assign({},le))}})),!xe&&jt.createElement(jt.Fragment,null,jt.createElement(U.ZP,{type:"primary",size:"large",className:"mr20",style:{width:"138px",marginTop:"30px"},onClick:()=>Ze()},"\u4FDD\u5B58"),jt.createElement(U.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Ie(!0)},"\u8BBE\u7F6E\u9ED8\u8BA4\u8BC4\u5206")),jt.createElement(P.default,{open:tt,title:"\u662F\u5426\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u8BC4\u5206\uFF1F",centered:!0,width:470,onCancel:()=>{Ie(!1)},onOk:()=>ea(void 0,null,function*(){const ye=JSON.parse(JSON.stringify(le));Object.keys(ye).map(function(Et){Et.indexOf("proportion")>-1&&(ye[Et]=ye[Et]/100)}),(yield(0,S.ZP)(`/api/courses/${Ee.coursesId}/homework_commons/set_default_score_setting.json`,{method:"post",body:{homework_type:3,score_settings:ye}})).status===0&&(h.ZP.success("\u8BBE\u7F6E\u6210\u529F"),Ie(!1))})},jt.createElement("div",null,"\u60A8\u662F\u5426\u8981\u5C06\u5F53\u524D\u8BC4\u5206\u89C4\u5219\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u89C4\u5219\uFF0C\u8BE5\u9ED8\u8BA4\u89C4\u5219\u4EC5\u5E94\u7528\u4E8E\u60A8\u540E\u7EED\u65B0\u5EFA\u7684\u4F5C\u4E1A\uFF0C\u4E14\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u8001\u5E08\u65B0\u5EFA\u4F5C\u4E1A\u7684\u8BC4\u5206\u89C4\u5219\u3002")))};var Va=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(Ya),Cn=s(59301),Ka=Object.defineProperty,Ga=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,ta=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,na=(I,C,B)=>C in I?Ka(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Ou=(I,C)=>{for(var B in C||(C={}))Qa.call(C,B)&&na(I,B,C[B]);if(ta)for(var B of ta(C))Xa.call(C,B)&&na(I,B,C[B]);return I},Uu=(I,C)=>Ga(I,Ja(C)),$a=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const qa=({getData:I,dispatch:C,shixunHomeworks:B})=>{const{workSetting:ce}=B,Ee=(0,X.useParams)(),[xe,De]=(0,n.useState)(!0);let[Ce,re]=(0,n.useState)([]),[de,et]=(0,n.useState)([]);const[tt,Ie]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,personal_score_open:!0});(0,n.useEffect)(()=>{De(!(0,r.GJ)())},[(0,r.GJ)()]),(0,n.useEffect)(()=>{ce!=null&&ce.course_id&&(Object.keys(tt).map(function(_e){_e.indexOf("proportion")>-1?(tt[_e]=ce[_e]*100,console.log(_e,tt[_e],ce[_e])):tt[_e]=ce[_e]}),(!tt.allow_late||!tt.unified_late)&&(tt.late_penalty=5),tt.unified_setting||(tt.unified_late=!1,tt.unified_anonymous_comment=!1,tt.unified_anonymous_appeal=!1),Ce=JSON.parse(JSON.stringify(ce.group_settings.map(_e=>Uu(Ou({},_e),{group_name:[_e.group_name]})).filter(_e=>_e.publish_time!==null))),de=JSON.parse(JSON.stringify(ce.allow_late_settings.map(_e=>Uu(Ou({},_e),{group_name:[_e.group_name]})).filter(_e=>_e.late_time!==null))),Ie(Ou({},tt)),re([...Ce]),et([...de]))},[ce]);const le=()=>$a(void 0,null,function*(){const _e=JSON.parse(JSON.stringify(tt));if(_e.categoryId=Ee.categoryId,tt.unified_setting||(Ce=Ce==null?void 0:Ce.map(Ze=>{var ye,Ue;if(!Ze.publish_time||!Ze.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ze.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ze.group_name=typeof(Ze==null?void 0:Ze.group_name)=="string"?[Ze==null?void 0:Ze.group_name]:Ze==null?void 0:Ze.group_name,Ze.group_id=(Ue=(ye=Ze==null?void 0:Ze.group_name)==null?void 0:ye.map(Et=>{var ve,pt;let ee=(pt=(ve=ce.group_settings)==null?void 0:ve.filter(je=>(je==null?void 0:je.group_name)===Et))==null?void 0:pt[0];return ee==null?void 0:ee.group_id}))==null?void 0:Ue.toString().split(","),Ze})),_e.group_settings=Ce,tt.allow_late)if(tt.unified_late){if(tt.late_penalty===null||tt.late_penalty===void 0||tt.late_penalty<0||tt.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!tt.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else de=de==null?void 0:de.map(Ze=>{var ye,Ue;if(Ze.penalty_type=Ln.Q.Number,Ze.late_penalty===null||Ze.late_penalty===void 0||Ze.late_penalty<0||Ze.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ze.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ze.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ze.group_name=typeof(Ze==null?void 0:Ze.group_name)=="string"?[Ze==null?void 0:Ze.group_name]:Ze==null?void 0:Ze.group_name,Ze.group_id=(Ue=(ye=Ze==null?void 0:Ze.group_name)==null?void 0:ye.map(Et=>{var ve,pt;let ee=(pt=(ve=ce.group_settings)==null?void 0:ve.filter(je=>(je==null?void 0:je.group_name)===Et))==null?void 0:pt[0];return ee==null?void 0:ee.group_id}))==null?void 0:Ue.toString().split(","),Ze}),_e.allow_late_settings=de;Object.keys(_e).map(function(Ze){Ze.indexOf("proportion")>-1&&(_e[Ze]=_e[Ze]/100)}),C({type:"shixunHomeworks/updateSetting",payload:Uu(Ou({},_e),{penalty_type:Ln.Q.Number})}).then(Ze=>{Ze.status===0&&(h.ZP.success("\u66F4\u65B0\u6210\u529F"),I())})});return Cn.createElement("div",{className:Nn.form},Cn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},Cn.createElement(O.default,{checked:tt.work_public,disabled:xe,onChange:_e=>{tt.work_public=_e.target.checked,Ie(Object.assign({},tt))}},Cn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u4F5C\u54C1")),Cn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u622A\u6B62/\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u4F5C\u54C1\uFF0C\u5426\u5219\u53EA\u80FD\u67E5\u770B\u81EA\u5DF1\u7684\u4F5C\u54C1\uFF09")),Cn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},Cn.createElement(O.default,{checked:tt.score_open,disabled:xe,onChange:_e=>{_e.target.checked&&(tt.personal_score_open=!0),tt.score_open=_e.target.checked,Ie(Object.assign({},tt))}},Cn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u6210\u7EE9")),Cn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u6210\u7EE9\uFF0C\u5426\u5219\u4E0D\u53EF\u67E5\u770B\u4E2A\u4EBA\u6210\u7EE9\uFF09")),Cn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},Cn.createElement(O.default,{checked:tt.personal_score_open,disabled:xe||tt.score_open,onChange:_e=>{tt.personal_score_open=_e.target.checked,Ie(Object.assign({},tt))}},Cn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u4E2A\u4EBA\u6210\u7EE9")),Cn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u622A\u6B62/\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9\uFF0C\u5426\u5219\u53EA\u80FD\u67E5\u770B\u81EA\u5DF1\u7684\u6210\u7EE9\uFF09")),Cn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},Cn.createElement(O.default,{checked:tt.answer_public,disabled:xe,onChange:_e=>{tt.answer_public=_e.target.checked,Ie(Object.assign({},tt))}},Cn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u7B54\u6848")),Cn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF0C\u5426\u5219\u4E0D\u80FD\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF09")),!xe&&Cn.createElement(Cn.Fragment,null,Cn.createElement(U.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:le},"\u4FDD\u5B58")))};var er=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(qa),tr=s(47599),nr=s(33469),ur=s(65629),ar=s(58010),Pu=s(5383),Ct=s(59301),rr=Object.defineProperty,lr=Object.defineProperties,or=Object.getOwnPropertyDescriptors,ua=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,aa=(I,C,B)=>C in I?rr(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Qn=(I,C)=>{for(var B in C||(C={}))sr.call(C,B)&&aa(I,B,C[B]);if(ua)for(var B of ua(C))ir.call(C,B)&&aa(I,B,C[B]);return I},pu=(I,C)=>lr(I,or(C)),Yu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const ra=(I,C)=>{if(C==="comment"){const B=I==null?void 0:I.filter(xe=>xe.evaluation_end!==null);return B.length===0?[{deleteflag:!0}]:(0,Pu.M)(B,["evaluation_start","evaluation_end"]).map(xe=>pu(Qn({},xe),{evaluation_start:[xe.evaluation_start,xe.evaluation_end],group_name:[xe.group_name],deleteflag:!1}))}else if(C==="appeal"){const B=I==null?void 0:I.filter(xe=>xe.appeal_time!==null);return B.length===0?[{deleteflag:!0}]:(0,Pu.M)(B,["appeal_time"]).map(xe=>pu(Qn({},xe),{group_name:[xe.group_name],deleteflag:!1}))}},la=(I,C)=>I.map(B=>C.find(ce=>ce.value===B).id),cr=({shixunHomeworks:I,classroomList:C,dispatch:B})=>{var ce,Ee,xe,De,Ce,re,de,et,tt;const{workSetting:Ie,workList:le}=I,_e=(0,X.useParams)(),[Ze,ye]=(0,n.useState)(!0);let[Ue,Et]=(0,n.useState)([]),[ve,pt]=(0,n.useState)([]);const[ee,je]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,anonymous_group:!1}),_t=(ce=Ie==null?void 0:Ie.anonymous_comment_settings)==null?void 0:ce.map(Oe=>({label:Oe.group_name,value:Oe.group_name,id:Oe.group_id})),m=(Ee=Ie==null?void 0:Ie.anonymous_appeal_settings)==null?void 0:Ee.map(Oe=>({label:Oe.group_name,value:Oe.group_name,id:Oe.group_id})),[pe]=f.default.useForm(),[ot]=f.default.useForm(),$t=()=>Yu(void 0,null,function*(){const Oe=(0,Pu.Y)(pe.getFieldsValue(),"YYYY-MM-DD HH:mm"),gt=(0,Be.cloneDeep)(Oe);for(const Ye of gt.anonymous_comment_settings||[]){if(!(Ye!=null&&Ye.evaluation_start))return h.ZP.warning("\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();if(!Ye.group_name)return h.ZP.warning("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Promise.reject();Ye.evaluation_end=Ye==null?void 0:Ye.evaluation_start[1],Ye.evaluation_start=Ye==null?void 0:Ye.evaluation_start[0],Ye.group_id=la(Ye.group_name,_t),Reflect.deleteProperty(Ye,"deleteflag")}return gt}),ke=()=>{const Oe=(0,Pu.Y)(ot.getFieldsValue(),"YYYY-MM-DD HH:mm"),gt=(0,Be.cloneDeep)(Oe);for(const Ye of gt.anonymous_appeal_settings||[])Ye.group_id=la(Ye.group_name,m),Reflect.deleteProperty(Ye,"deleteflag");return gt},mt=()=>Yu(void 0,null,function*(){yield B({type:"shixunHomeworks/getWorkSetting",payload:Qn({},_e)}),pe.resetFields(),ot.resetFields()});(0,n.useEffect)(()=>{Ie!=null&&Ie.course_id&&(Object.keys(ee).map(function(Oe){Oe.indexOf("proportion")>-1?ee[Oe]=Ie[Oe]*100:ee[Oe]=Ie[Oe]}),(!ee.allow_late||!ee.unified_late)&&(ee.late_penalty=5),ee.unified_setting||(ee.unified_late=!1,ee.unified_anonymous_comment=!1,ee.unified_anonymous_appeal=!1),Ue=JSON.parse(JSON.stringify(Ie.group_settings.map(Oe=>pu(Qn({},Oe),{group_name:[Oe.group_name]})).filter(Oe=>Oe.publish_time!==null))),ve=JSON.parse(JSON.stringify(Ie.allow_late_settings.map(Oe=>pu(Qn({},Oe),{group_name:[Oe.group_name]})).filter(Oe=>Oe.late_time!==null))),je(Qn({},ee)),Et([...Ue]),pt([...ve]))},[Ie]),(0,n.useEffect)(()=>{ye(!(0,r.t_)()&&!(Ie!=null&&Ie.can_edit))},[Ie,(0,r.t_)()]);const st=(((xe=Ie==null?void 0:Ie.homework_status)==null?void 0:xe.includes("\u5DF2\u622A\u6B62"))||(_t==null?void 0:_t.length)>0)&&(Ie==null?void 0:Ie.student_works),tn=((De=Ie==null?void 0:Ie.anonymous_appeal_settings)==null?void 0:De.length)>0,Lt=(Ie==null?void 0:Ie.anonymous_comment)&&(Ie==null?void 0:Ie.unified_anonymous_comment)&&((Ce=le==null?void 0:le.homework_status)==null?void 0:Ce.includes("\u5DF2\u622A\u6B62"))||tn,[zt,Yt]=(0,n.useState)(!1),Un=()=>Yu(void 0,null,function*(){Yt(!zt);const Oe=JSON.parse(JSON.stringify(ee));if(Oe.categoryId=_e.categoryId,ee.unified_setting||(Ue=Ue==null?void 0:Ue.map(Ye=>{var gn,Fn;if(!Ye.publish_time||!Ye.end_time)throw h.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ye.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Yt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ye.group_name=typeof(Ye==null?void 0:Ye.group_name)=="string"?[Ye==null?void 0:Ye.group_name]:Ye==null?void 0:Ye.group_name,Ye.group_id=(Fn=(gn=Ye==null?void 0:Ye.group_name)==null?void 0:gn.map(lt=>{var Mt,Nt;let Ne=(Nt=(Mt=Ie.group_settings)==null?void 0:Mt.filter(Me=>(Me==null?void 0:Me.group_name)===lt))==null?void 0:Nt[0];return Ne==null?void 0:Ne.group_id}))==null?void 0:Fn.toString().split(","),Ye})),Oe.group_settings=Ue,ee.allow_late)if(ee.unified_late){if(ee.late_penalty===null||ee.late_penalty===void 0||ee.late_penalty<0||ee.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Yt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ee.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else ve=ve==null?void 0:ve.map(Ye=>{var gn,Fn;if(Ye.penalty_type=Ln.Q.Number,Ye.late_penalty===null||Ye.late_penalty===void 0||Ye.late_penalty<0||Ye.late_penalty>100)throw h.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Yt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ye.late_time)throw h.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ye.group_name)throw h.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Yt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ye.group_name=typeof(Ye==null?void 0:Ye.group_name)=="string"?[Ye==null?void 0:Ye.group_name]:Ye==null?void 0:Ye.group_name,Ye.group_id=(Fn=(gn=Ye==null?void 0:Ye.group_name)==null?void 0:gn.map(lt=>{var Mt,Nt;let Ne=(Nt=(Mt=Ie.group_settings)==null?void 0:Mt.filter(Me=>(Me==null?void 0:Me.group_name)===lt))==null?void 0:Nt[0];return Ne==null?void 0:Ne.group_id}))==null?void 0:Fn.toString().split(","),Ye}),Oe.allow_late_settings=ve;if(ee.evaluation_start){if(ee.end_time&&z()(ee.evaluation_start)<=z()(ee.end_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Yt(!1),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4");if(ee.late_time&&z()(ee.evaluation_start)<=z()(ee.late_time))throw h.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Yt(!1),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4")}if(Object.keys(Oe).map(function(Ye){Ye.indexOf("proportion")>-1&&(Oe[Ye]=Oe[Ye]/100)}),Oe.anonymous_comment&&!Oe.unified_anonymous_comment){const Ye=yield $t();Oe.anonymous_comment_settings=Ye.anonymous_comment_settings,["evaluation_end","evaluation_num","evaluation_start","student_comment","absence_penalty"].forEach(gn=>{Reflect.deleteProperty(Oe,gn)})}if(Oe.anonymous_appeal&&!Oe.unified_anonymous_appeal){const Ye=ke();Oe.anonymous_appeal_settings=Ye.anonymous_appeal_settings,["appeal_time","appeal_penalty"].forEach(gn=>{Reflect.deleteProperty(Oe,gn)})}(yield(0,S.ZP)(`/api/homework_commons/${_e.categoryId}/evaluation_setting.json`,{method:"post",body:Qn({},Oe)})).status===0?(Yt(!1),h.ZP.success("\u66F4\u65B0\u6210\u529F"),ye(!0),mt()):Yt(!1)});return Ct.createElement("div",{className:Nn.form},Ct.createElement("div",{className:Nn.title},"\u4F5C\u4E1A\u533F\u8BC4"),Ct.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ct.createElement(mu.Z,{checked:ee.anonymous_comment,disabled:Ze||!st||(Ie==null?void 0:Ie.anonymous_comment),onChange:()=>{var Oe;if((0,r.Rm)()&&!((Oe=C.AssistantObject.group)!=null&&Oe.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ee.anonymous_comment=!ee.anonymous_comment,ee.allow_late&&!ee.evaluation_start?ee.late_time&&ee.late_time!=""&&(ee.evaluation_start=z()(ee.late_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),ee.evaluation_end=z()(ee.late_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")):ee.unified_setting&&!ee.evaluation_start&&ee.end_time&&ee.end_time!=""&&(ee.evaluation_start=z()(ee.end_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),ee.evaluation_end=z()(ee.end_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")),ee.anonymous_comment&&(ee.evaluation_num=parseInt(ee.evaluation_num)?ee.evaluation_num:3,ee.absence_penalty=parseInt(ee.absence_penalty)?ee.absence_penalty:3),je(Object.assign({},ee))}}),Ct.createElement("div",{style:{fontWeight:600,margin:"0 10px"}},"\u542F\u7528\u533F\u8BC4"),Ct.createElement("div",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09"),Ct.createElement(b.Z,{title:Ct.createElement("div",null,Ct.createElement("div",null,"\u89C4\u5219"),Ct.createElement("div",null,"1.\u4F5C\u4E1A\u622A\u6B62\u3001\u8865\u4EA4\u7ED3\u675F\u540E\u624D\u53EF\u5F00\u542F\u533F\u8BC4\uFF0C\u5F00\u542F\u7533\u8BC9\u540E\u4E0D\u53EF\u53D8\u66F4\u533F\u8BC4\u7ED3\u675F\u65F6\u95F4\uFF1B"),Ct.createElement("div",null,"2.\u6240\u6709\u5206\u7EC4\u4E92\u8BC4\uFF1A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5206\u7EC4\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u5206\u7EC4\u4E92\u76F8\u533F\u8BC4\uFF1B"),Ct.createElement("div",null,"3.\u73ED\u5185\u5C0F\u7EC4\u4E92\u8BC4\uFF1A\u540C\u73ED\u7EA7\u63D0\u4EA4\u4F5C\u54C1\u7684\u5206\u7EC4\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u73ED\u5185\u5206\u7EC4\u4E92\u76F8\u533F\u8BC4\u3002"),Ct.createElement("div",null,"\u6CE8\uFF1A\u4E3A\u786E\u4FDD\u516C\u5E73\uFF0C\u533F\u8BC4\u89C4\u5219\u786E\u5B9A\u540E\u4E0D\u53EF\u518D\u4FEE\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))},Ct.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Nn.title_icon}`}))),ee.anonymous_comment&&Ct.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},Ct.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u65B9\u5F0F"),Ct.createElement(k.ZP.Group,{value:ee.unified_anonymous_comment,disabled:Ze||ee.anonymous_appeal||(Ie==null?void 0:Ie.anonymous_comment),onChange:Oe=>{var gt;if((0,r.Rm)()&&!((gt=C.AssistantObject.group)!=null&>.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{unified_anonymous_comment:Oe.target.value})),pe.resetFields()}},(Ie==null?void 0:Ie.unified_setting)&&(Ie==null?void 0:Ie.unified_late)&&Ct.createElement(k.ZP,{value:!0,disabled:Ze||ee.anonymous_appeal||(Ie==null?void 0:Ie.anonymous_comment)||!(Ie!=null&&Ie.manage_all_group)},Ct.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u7EDF\u4E00\u533F\u8BC4")),((re=Ie==null?void 0:Ie.group_settings)==null?void 0:re.length)>0&&Ct.createElement(k.ZP,{value:!1},Ct.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u5206\u73ED\u533F\u8BC4")))),ee.anonymous_comment&&ee.unified_anonymous_comment&&Ct.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ct.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u4E92\u8BC4\u65B9\u5F0F"),Ct.createElement(k.ZP.Group,{value:ee.anonymous_group,disabled:Ze||ee.anonymous_appeal||(Ie==null?void 0:Ie.anonymous_comment),onChange:Oe=>{var gt;if((0,r.Rm)()&&!((gt=C.AssistantObject.group)!=null&>.can_anonymous_comment)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{anonymous_group:Oe.target.value}))}},Ct.createElement(k.ZP,{value:!1},Ct.createElement("span",{style:{marginRight:"12px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4")),((de=Ie==null?void 0:Ie.group_settings)==null?void 0:de.length)>0&&Ct.createElement(k.ZP,{value:!0,disabled:Ze||!(Ie!=null&&Ie.can_anonymous_group)},Ct.createElement("span",{style:{color:"#000"}},"\u73ED\u7EA7\u5185\u4E92\u8BC4")))),ee.anonymous_comment&&Ct.createElement(Ct.Fragment,null,ee.unified_anonymous_comment?Ct.createElement(tr.Z,{data:ee,setData:je,disabled:Ze}):Ct.createElement(f.default,{form:pe,autoComplete:"off",initialValues:Ie!=null&&Ie.unified_anonymous_comment?{anonymous_comment_settings:[{deleteflag:!0}]}:{anonymous_comment_settings:ra(Ie==null?void 0:Ie.anonymous_comment_settings,"comment")}},Ct.createElement(nr.Z,{disabled:Ze,selectOptions:_t,form:pe,data:ee}))),Ct.createElement("div",{className:Nn.title,style:{marginTop:"30px"}},"\u533F\u8BC4\u7533\u8BC9"),Ct.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},Ct.createElement(mu.Z,{checked:ee.anonymous_appeal,disabled:Ze||!Lt||(Ie==null?void 0:Ie.anonymous_appeal),onChange:()=>{var Oe;if((0,r.Rm)()&&!((Oe=C.AssistantObject.group)!=null&&Oe.can_anonymous_appeal)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ee.anonymous_appeal=!ee.anonymous_appeal,ee.anonymous_appeal&&(ee.appeal_penalty=parseInt(ee.appeal_penalty)?ee.appeal_penalty:2),je(Object.assign({},ee))}}),Ct.createElement("span",{style:{color:"#000000",margin:"0 10px"}},"\u533F\u8BC4\u7533\u8BC9"),Ct.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),ee.anonymous_appeal&&Ct.createElement(Ct.Fragment,null,Ct.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ct.createElement("div",{style:{color:"#666666",marginLeft:"54px",marginRight:"20px"}},"\u7533\u8BC9\u65B9\u5F0F"),Ct.createElement(k.ZP.Group,{value:ee.unified_anonymous_appeal,disabled:Ze||(Ie==null?void 0:Ie.anonymous_appeal),onChange:Oe=>{var gt;if((0,r.Rm)()&&!((gt=C.AssistantObject.group)!=null&>.can_anonymous_appeal)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{unified_anonymous_appeal:Oe.target.value})),ot.resetFields()}},(Ie==null?void 0:Ie.unified_anonymous_comment)&&Ct.createElement(k.ZP,{value:!0,disabled:!(Ie!=null&&Ie.manage_all_group)},Ct.createElement("span",{style:{color:"#000000"}},"\u7EDF\u4E00\u7533\u8BC9")),((et=Ie==null?void 0:Ie.group_settings)==null?void 0:et.length)>0&&Ct.createElement(k.ZP,{value:!1},Ct.createElement("span",{style:{color:"#000000"}},"\u5206\u73ED\u7533\u8BC9")))),ee.unified_anonymous_appeal?Ct.createElement(ur.Z,{data:ee,setData:je,disabled:Ze}):Ct.createElement(f.default,{form:ot,initialValues:Ie!=null&&Ie.unified_anonymous_appeal?{anonymous_appeal_settings:[{deleteflag:!0}]}:{anonymous_appeal_settings:ra(Ie==null?void 0:Ie.anonymous_appeal_settings,"appeal")}},Ct.createElement(ar.Z,{disabled:Ze||(0,r.Rm)()&&!((tt=C.AssistantObject.group)!=null&&tt.can_anonymous_appeal),selectOptions:m,form:ot}))),!Ze&&Ct.createElement(U.ZP,{loading:zt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Un()},"\u4FDD\u5B58"))};var dr=(0,X.connect)(({shixunHomeworks:I,classroomList:C})=>({shixunHomeworks:I,classroomList:C}))(cr),mr=s(38233),G=s(59301),fr=Object.defineProperty,pr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,sa=(I,C,B)=>C in I?fr(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,kn=(I,C)=>{for(var B in C||(C={}))hr.call(C,B)&&sa(I,B,C[B]);if(oa)for(var B of oa(C))vr.call(C,B)&&sa(I,B,C[B]);return I},Hn=(I,C)=>pr(I,_r(C)),Vu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Er=I=>Vu(void 0,null,function*(){return yield(0,S.ZP)(`/api/homework_commons/${I==null?void 0:I.categoryId}/publish_setting.json`,{method:"post",body:I})}),gr=I=>Vu(void 0,null,function*(){return yield(0,S.ZP)(`/api/homework_commons/${I==null?void 0:I.categoryId}/evaluation_setting.json`,{method:"post",body:I})}),bu=(I,C)=>I==null?void 0:I.map(B=>{var ce;return(ce=C==null?void 0:C.find(Ee=>Ee.value===B))==null?void 0:ce.id}),Fr=(I,C)=>{var B;return I=typeof I=="string"?[I]:I,(B=I==null?void 0:I.map(ce=>C==null?void 0:C.find(Ee=>{var xe;return(xe=Ee==null?void 0:Ee.group_name)==null?void 0:xe.includes(ce)})))==null?void 0:B.filter(ce=>ce)},Dn=(I,C,B,ce=!1)=>{let Ee=null,xe=ce?C:Fr(I,C);return xe==null||xe.forEach((De,Ce)=>{(Ce==0||B(De,Ee||{}))&&(Ee=De)}),Ee},yr=({shixunHomeworks:I,loading:C,dispatch:B,classroomList:ce})=>{var Ee,xe,De,Ce,re,de,et,tt,Ie,le,_e,Ze,ye,Ue,Et,ve,pt,ee,je;const _t=(0,X.useParams)(),{workSetting:m,workList:pe}=I,[,ot,$t]=(0,We.U)(Er,{categoryId:_t==null?void 0:_t.categoryId,penalty_type:Ln.Q.Number}),[,ke,mt]=(0,We.U)(gr,{categoryId:_t==null?void 0:_t.categoryId}),[st]=f.default.useForm(),tn=f.default.useWatch("unified_setting",st),Lt=f.default.useWatch("group_settings",st),zt=f.default.useWatch("allow_late_settings",st),Yt=f.default.useWatch("end_time",st),Un=f.default.useWatch("publish_time",st),Oe=f.default.useWatch("allow_late",st),gt=f.default.useWatch("unified_late",st),Ye=f.default.useWatch("late_time",st),gn=f.default.useWatch("anonymous_comment",st),Fn=f.default.useWatch("unified_anonymous_comment",st),lt=f.default.useWatch("evaluation_start",st),Mt=f.default.useWatch("anonymous_appeal",st),Nt=f.default.useWatch("anonymous_comment_settings",st),Ne=f.default.useWatch("unified_anonymous_appeal",st),Me=f.default.useWatch("anonymous_appeal_settings",st),[Vt,wt]=(0,n.useState)(!1),[Ht,en]=(0,n.useState)({}),Tt=Vt||(0,r.Rm)()&&!((xe=(Ee=ce.AssistantObject)==null?void 0:Ee.group)!=null&&xe.can_publish),Jt=Vt||(0,r.Rm)()&&!((Ce=(De=ce.AssistantObject)==null?void 0:De.group)!=null&&Ce.can_late),Ut=Vt||(0,r.Rm)()&&!((de=(re=ce.AssistantObject)==null?void 0:re.group)!=null&&de.can_anonymous_comment),dn=Vt||(0,r.Rm)()&&!((tt=(et=ce.AssistantObject)==null?void 0:et.group)!=null&&tt.can_anonymous_appeal),On=(Fe,Ae)=>{if(Fe!=null&&Fe.some(Qt=>typeof Qt.group_name!="string")){const Qt=[];Fe==null||Fe.forEach(ht=>{var it;typeof ht.group_name!="string"&&((it=ht.group_name)==null||it.forEach(Ft=>{Qt.push(Hn(kn({},ht),{group_name:Ft}))}))}),Fe=Qt}return Fe==null?void 0:Fe.filter(Qt=>{var ht,it,Ft;return!((Ft=(it=(ht=Ae==null?void 0:Ae.map(an=>an==null?void 0:an.group_name))==null?void 0:ht.toString())==null?void 0:it.split(","))!=null&&Ft.includes(String(Qt.group_name)))&&Qt.is_admin})},Pn=Fe=>{if(Fe=="allow_late"){P.default.warning({centered:!0,width:472,icon:null,title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("div",null,G.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u6210\u529F\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u63D0\u4EA4\u5219\u4E0D\u4F1A\u6263\u5206\u3002"),G.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},G.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u6CE8\u610F\uFF1A\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u4E0D\u53EF\u5173\u95ED\u8865\u4EA4\u3002"))});return}if(Fe=="anonymous_comment"){P.default.warning({centered:!0,width:550,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u533F\u8BC4\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\u3002",G.createElement("br",null),G.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},G.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u5B66\u751F\u5FC5\u987B\u63D0\u4EA4\u4F5C\u54C1\u624D\u80FD\u53C2\u4E0E\u533F\u8BC4\uFF0C\u82E5\u5B66\u751F\u672A\u80FD\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u5EFA\u8BAE\u542F\u7528\u201C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u201D\u529F\u80FD\uFF0C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002"))});return}if(Fe=="anonymous_appeal"){P.default.warning({centered:!0,width:760,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u7533\u8BC9\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("span",{className:"blod"},"\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\u7533\u8BC9"),G.createElement("br",null),"1\u3001\u63A5\u53D7\u5B66\u751F\u7684\u5408\u7406\u7533\u8BC9\uFF1A",G.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u65E0\u6548\uFF0C\u4E0D\u53C2\u4E0E\u6700\u7EC8\u6210\u7EE9\u7684\u8BA1\u7B97\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u5C06\u88AB\u6263\u51CF\u8FDD\u89C4\u533F\u8BC4\u5206",G.createElement("br",null),"2\u3001\u62D2\u7EDD\u5B66\u751F\u7684\u4E0D\u5408\u7406\u7533\u8BC9\uFF1A",G.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u6709\u6548\uFF0C\u4E0D\u5141\u8BB8\u5B66\u751F\u5BF9\u8BE5\u8BC4\u5206\u8BB0\u5F55\u8FDB\u884C\u4E8C\u6B21\u7533\u8BC9\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u4E0D\u4F1A\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206",G.createElement("br",null))});return}if(Fe=="unified_late")return"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u8865\u4EA4";if(Fe=="unified_anonymous_comment")return tn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4":"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4";if(Fe=="unified_anonymous_appeal")return tn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":gt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":"\u5DF2\u5F00\u542F\u5206\u73ED\u533F\u8BC4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9";if(Fe=="make_up_score")return Oe?"\u6263\u5206\u6570\u636E\u6765\u6E90\u4E8E\u8865\u4EA4\u6263\u5206":"\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u672A\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002";if(Fe=="submit_num")return"\u82E5\u5B66\u751F\u9700\u8981\u5728\u89C4\u5B9A\u6B21\u6570\u5916\u518D\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u6253\u56DE\u91CD\u505A\u529F\u80FD\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002"},Bt=(Fe,Ae={})=>{var Qt,ht,it,Ft,an,rn,qe,vt,hn,Pt;if(Fe=="unified_setting")return Tt||!((Qt=pe==null?void 0:pe.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))||!(m!=null&&m.manage_all_group);if(Fe=="publish_time")return Tt||!((ht=pe==null?void 0:pe.homework_status)!=null&&ht.includes("\u672A\u53D1\u5E03")||(it=pe==null?void 0:pe.homework_status)!=null&&it.includes("\u672A\u5F00\u59CB"));if(Fe=="end_time"){const he=Dn([],(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")=z()(m==null?void 0:m.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(["group_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he)))return Tt||!(Ae!=null&&Ae.is_admin)||!((Ft=pe==null?void 0:pe.homework_status)!=null&&Ft.includes("\u672A\u53D1\u5E03"))&&(Ae==null?void 0:Ae.publish_time)&&z()().startOf("second")>=z()((an=Ae==null?void 0:Ae.publish_time)==null?void 0:an[0]).startOf("second");if(["group_settings","publish_time"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.allow_late_settings)||[],(ze,Kt)=>(ze==null?void 0:ze.late_time)&&(Kt==null?void 0:Kt.late_time)&&z()(ze==null?void 0:ze.late_time).startOf("second")(ze==null?void 0:ze.evaluation_start)&&(Kt==null?void 0:Kt.evaluation_start)&&z()(ze==null?void 0:ze.evaluation_start).startOf("second")=z()((qe=Ae==null?void 0:Ae.publish_time)==null?void 0:qe[0]).startOf("second"),(m==null?void 0:m.allow_late)&&(he==null?void 0:he.late_time)&&z()().startOf("second")>=z()(Ae==null?void 0:Ae.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(Le==null?void 0:Le.evaluation_start)&&z()().startOf("second")>=z()(Le==null?void 0:Le.evaluation_start).startOf("second")]}if(Fe=="allow_late"){const he=((vt=m==null?void 0:m.allow_late_settings)==null?void 0:vt.filter(ze=>ze.late_time!==null).map(ze=>{var Kt;return(Kt=ze==null?void 0:ze.group_id)==null?void 0:Kt[0]}))||[],Le=Dn(null,(m==null?void 0:m.group_settings)||[],(ze,Kt)=>(ze==null?void 0:ze.end_time)&&(Kt==null?void 0:Kt.end_time)&&z()(ze==null?void 0:ze.end_time).startOf("second")=z()(m==null?void 0:m.end_time).startOf("second")||(he==null?void 0:he.includes((hn=Le==null?void 0:Le.group_id)==null?void 0:hn[0]))&&(m==null?void 0:m.allow_late)&&(Le==null?void 0:Le.end_time)&&z()().startOf("second")>=z()(Le==null?void 0:Le.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(m==null?void 0:m.evaluation_start)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second")}if(Fe=="unified_late"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")=z()(m==null?void 0:m.end_time).startOf("second")||tn===!1}if(Fe=="late_penalty"||Fe=="late_time")return Jt||(m==null?void 0:m.anonymous_comment)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second");if(["allow_late_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.group_settings)||[],(Le,ze)=>(Le==null?void 0:Le.end_time)&&(ze==null?void 0:ze.end_time)&&z()(Le==null?void 0:Le.end_time).startOf("second")>z()(ze==null?void 0:ze.end_time).startOf("second"));return Tt||!(Ae!=null&&Ae.is_admin)||(he==null?void 0:he.end_time)&&z()().startOf("second")>=z()(he==null?void 0:he.end_time).startOf("second")||(Ae==null?void 0:Ae.group_name)&&((Pt=Ae==null?void 0:Ae.group_name)==null?void 0:Pt.length)&&(m==null?void 0:m.unified_setting)&&(m==null?void 0:m.end_time)&&z()().startOf("second")>=z()(m==null?void 0:m.end_time).startOf("second")}if(["allow_late_settings","late_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")>z()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Tt||!(Ae!=null&&Ae.is_admin)||(he==null?void 0:he.evaluation_start)&&(m==null?void 0:m.anonymous_comment)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(["allow_late_settings","late_time"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(Fe=="anonymous_comment"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")>z()(ze==null?void 0:ze.evaluation_start).startOf("second"),!0);return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(Fe=="unified_anonymous_comment"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")=z()(m==null?void 0:m.evaluation_start).startOf("second")||!(m!=null&&m.unified_anonymous_comment)&&(m==null?void 0:m.anonymous_comment)&&he.evaluation_start&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")||gt===!1||tn===!1}if(Fe=="anonymous_group")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&(m==null?void 0:m.evaluation_start)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="evaluation_start")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="evaluation_start")return Ut;if(Fe=="evaluation_end")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(Fe=="evaluation_num")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="absence_penalty")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(["anonymous_comment_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")>z()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin)||(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(["anonymous_comment_settings","evaluation_start"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")>z()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin)||[(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second"),!1]}if(["anonymous_comment_settings","evaluation_num"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&z()(Le==null?void 0:Le.evaluation_start).startOf("second")>z()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin)||(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")}if(["anonymous_comment_settings","absence_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))||["anonymous_comment_settings","student_comment"].every(he=>Fe==null?void 0:Fe.includes(he)))return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin);if(Fe=="student_comment")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(Fe=="is_open_abnormal_score")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.is_open_abnormal_score);if(Fe=="anonymous_appeal")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||m.anonymous_appeal&&z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="unified_anonymous_appeal")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||z()().startOf("second")>=z()(m==null?void 0:m.evaluation_start).startOf("second")||gt===!1||tn===!1||Fn==!1;if(Fe=="appeal_penalty")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(["anonymous_appeal_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Ae==null?void 0:Ae.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_end)&&(ze==null?void 0:ze.evaluation_end)&&z()(Le==null?void 0:Le.evaluation_end).startOf("second")>z()(ze==null?void 0:ze.evaluation_end).startOf("second"));return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin)||(he==null?void 0:he.evaluation_end)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_end).startOf("second")}return["anonymous_appeal_settings","appeal_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))?dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Ae!=null&&Ae.is_admin):!1},Xn=(Fe,Ae)=>{var Qt,ht,it,Ft,an,rn,qe,vt,hn;if(console.log("handleValuesChange",Fe,Ae),B({type:"shixunHomeworks/setActionTabs",payload:{key:"\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"}}),"publish_time"in Fe&&(Ae!=null&&Ae.end_time||st.setFieldsValue({end_time:z()(Ae==null?void 0:Ae.publish_time).add(7,"days")})),"unified_setting"in Fe&&(Ae!=null&&Ae.unified_setting||st.setFieldsValue({unified_late:!1,unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_late"in Fe&&(Ae!=null&&Ae.unified_late||st.setFieldsValue({unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_anonymous_comment"in Fe&&(Ae!=null&&Ae.unified_anonymous_comment||st.setFieldsValue({unified_anonymous_appeal:!1})),"group_settings"in Fe){let Pt=[];(Qt=Ae==null?void 0:Ae.group_settings)==null||Qt.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({allow_late_settings:((ht=Ae==null?void 0:Ae.allow_late_settings)==null?void 0:ht.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:((it=Ae==null?void 0:Ae.anonymous_comment_settings)==null?void 0:it.map(he=>{var Le,ze;return Hn(kn({},he),{group_name:he!=null&&he.evaluation_start&&z()().startOf("second")>=z()((Le=he==null?void 0:he.evaluation_start)==null?void 0:Le[0]).startOf("second")?he==null?void 0:he.group_name:(ze=he==null?void 0:he.group_name)==null?void 0:ze.filter(Kt=>Pt.includes(Kt))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Ft=Ae==null?void 0:Ae.anonymous_appeal_settings)==null?void 0:Ft.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("allow_late_settings"in Fe){let Pt=[];(an=Ae==null?void 0:Ae.allow_late_settings)==null||an.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({anonymous_comment_settings:((rn=Ae==null?void 0:Ae.anonymous_comment_settings)==null?void 0:rn.map(he=>{var Le,ze;return Hn(kn({},he),{group_name:he!=null&&he.evaluation_start&&z()().startOf("second")>=z()((Le=he==null?void 0:he.evaluation_start)==null?void 0:Le[0]).startOf("second")?he==null?void 0:he.group_name:(ze=he==null?void 0:he.group_name)==null?void 0:ze.filter(Kt=>Pt.includes(Kt))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((qe=Ae==null?void 0:Ae.anonymous_appeal_settings)==null?void 0:qe.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("anonymous_comment_settings"in Fe){let Pt=[];(vt=Ae==null?void 0:Ae.anonymous_comment_settings)==null||vt.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({anonymous_appeal_settings:((hn=Ae==null?void 0:Ae.anonymous_appeal_settings)==null?void 0:hn.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}st.validateFields(),console.log("=====",z()(Ae==null?void 0:Ae.end_time).format("YYYY-MM-DD HH:mm:ss"))},uu=Fe=>Vu(void 0,null,function*(){var Ae,Qt,ht,it;const Ft=Fe;Ft.group_settings=(Ae=Ft==null?void 0:Ft.group_settings)==null?void 0:Ae.map(qe=>{var vt,hn;return qe.end_time=z()((vt=qe==null?void 0:qe.publish_time)==null?void 0:vt[1]).startOf("second"),qe.publish_time=z()((hn=qe==null?void 0:qe.publish_time)==null?void 0:hn[0]).startOf("second"),qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=bu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe}),Ft.allow_late_settings=(Qt=Ft==null?void 0:Ft.allow_late_settings)==null?void 0:Qt.map(qe=>(qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=bu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe)),Ft.anonymous_comment_settings=(ht=Ft==null?void 0:Ft.anonymous_comment_settings)==null?void 0:ht.map(qe=>{var vt,hn;return qe.evaluation_end=z()((vt=qe==null?void 0:qe.evaluation_start)==null?void 0:vt[1]).startOf("second"),qe.evaluation_start=z()((hn=qe==null?void 0:qe.evaluation_start)==null?void 0:hn[0]).startOf("second"),qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=bu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe}),Ft.anonymous_appeal_settings=(it=Ft==null?void 0:Ft.anonymous_appeal_settings)==null?void 0:it.map(qe=>(qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=bu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe)),!((yield $t(kn({},Ft))).status!==0||(yield mt(kn({},Ft))).status!==0)&&(h.ZP.success("\u4FDD\u5B58\u6210\u529F"),nn(),B({type:"shixunHomeworks/setActionTabs",payload:{key:""}}))}),nn=()=>{B({type:"shixunHomeworks/getWorkSetting",payload:kn({},_t)}),B({type:"shixunHomeworks/getWorkList",payload:kn({},_t)})};(0,n.useEffect)(()=>{var Fe,Ae,Qt,ht;let it=(Fe=m==null?void 0:m.group_settings)==null?void 0:Fe.filter(vt=>vt.publish_time!==null).map(vt=>Hn(kn({},vt),{group_name:[vt.group_name],publish_time:(vt==null?void 0:vt.publish_time)&&[z()(vt==null?void 0:vt.publish_time),z()(vt==null?void 0:vt.end_time)]}));it=(0,d.QE)((it==null?void 0:it.length)>0?it:[]);const Ft=(Ae=m.allow_late_settings)==null?void 0:Ae.filter(vt=>vt.late_time!==null).map(vt=>Hn(kn({},vt),{group_name:[vt.group_name],late_time:(vt==null?void 0:vt.late_time)&&z()(vt==null?void 0:vt.late_time)})),an=(Qt=m.anonymous_comment_settings)==null?void 0:Qt.filter(vt=>vt.evaluation_start!==null).map(vt=>Hn(kn({},vt),{group_name:[vt.group_name],evaluation_start:(vt==null?void 0:vt.evaluation_start)&&[z()(vt==null?void 0:vt.evaluation_start),z()(vt==null?void 0:vt.evaluation_end)]})),rn=(ht=m.anonymous_appeal_settings)==null?void 0:ht.filter(vt=>vt.appeal_time!==null).map(vt=>Hn(kn({},vt),{group_name:[vt.group_name]})),qe=Hn(kn({},m),{late_penalty:m!=null&&m.allow_late?m==null?void 0:m.late_penalty:5,evaluation_num:m!=null&&m.evaluation_num?m==null?void 0:m.evaluation_num:3,absence_penalty:m!=null&&m.anonymous_comment?m==null?void 0:m.absence_penalty:3,appeal_penalty:m!=null&&m.anonymous_appeal?m==null?void 0:m.appeal_penalty:2,publish_time:m!=null&&m.publish_time?z()(m==null?void 0:m.publish_time):"",end_time:m!=null&&m.end_time?z()(m==null?void 0:m.end_time):"",late_time:m!=null&&m.late_time?z()(m==null?void 0:m.late_time):"",evaluation_start:m!=null&&m.evaluation_start?z()(m==null?void 0:m.evaluation_start):"",evaluation_end:m!=null&&m.evaluation_end?z()(m==null?void 0:m.evaluation_end):"",group_settings:it!=null&&it.length?it:[{is_admin:!0}],allow_late_settings:Ft!=null&&Ft.length?Ft:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:an!=null&&an.length?an:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:rn!=null&&rn.length?rn:[{is_admin:!0,appeal_penalty:2}]});st.setFieldsValue(qe),en(qe),wt(!(0,r.GJ)()),console.log("workSetting",m)},[m]),(0,n.useEffect)(()=>(B({type:"globalSetting/footerToggle",payload:!1}),()=>{B({type:"globalSetting/footerToggle",payload:!0}),B({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),st==null||st.resetFields()}),[]);const mn=(Fe,Ae)=>{Fe!=null&&Fe.group_id||(Fe.group_id=bu(Fe==null?void 0:Fe.group_name,m==null?void 0:m.group_settings)),B({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Fe,index:Ae,rangePickerDisabled:Bt(["group_settings","publish_time"],Lt==null?void 0:Lt[Ae]),disabledDate:m==null?void 0:m.course_end_date}})};return G.createElement(wn.Z,{spinning:!!C["shixunHomeworks/getWorkSetting"]||!!C["shixunHomeworks/getWorkList"]},G.createElement("section",{style:{padding:"30px 50px",background:"#fff"}},G.createElement(f.default,{form:st,colon:!1,disabled:Vt,initialValues:Ht,scrollToFirstError:!0,onValuesChange:Xn,onFinish:uu},G.createElement("div",{style:{paddingBottom:"30px",borderBottom:"1px solid #EDEDED"}},G.createElement("div",{className:`${Xe.Z.title}`},G.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),G.createElement(b.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},G.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Xe.Z.title_icon}`}))),G.createElement("div",{className:Xe.Z.content},G.createElement(g.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line}`},G.createElement(f.default.Item,{className:(Ie=Xe.Z)==null?void 0:Ie.h_lh_40,name:"unified_setting",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7C7B\u578B"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_setting")},G.createElement(k.ZP,{value:!0},"\u7EDF\u4E00\u53D1\u5E03"),((le=m==null?void 0:m.group_settings)==null?void 0:le.length)>0&&G.createElement(k.ZP,{value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")))),tn?G.createElement(g.Z,{className:Xe.Z.row_sty,style:{padding:"5px 30px"}},G.createElement(o.Z,null,G.createElement(f.default.Item,{label:"\u53D1\u5E03\u65F6\u95F4",name:"publish_time",rules:[{validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"):Promise.resolve()}],normalize:Fe=>Fe&&z()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:200},size:"large",disabled:Bt("publish_time"),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date),disabledTime:Fe=>(0,d.d0)(Fe),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"),G.createElement(o.Z,null,G.createElement(f.default.Item,{style:{marginLeft:40},label:"\u622A\u6B62\u65F6\u95F4",name:"end_time",rules:[{validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Promise.resolve()}],normalize:Fe=>Fe&&z()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:200},size:"large",disabled:Bt("end_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,z()(Un).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,z()(Un).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")):G.createElement(f.default.List,{name:"group_settings"},(Fe,{add:Ae,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,vt,hn;return G.createElement(g.Z,{key:ht.key,style:{padding:"5px 14px 5px 30px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{minWidth:85,textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",it+1),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(L.default,{disabled:Bt(["group_settings","group_name"],Lt==null?void 0:Lt[it]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",size:"large",fieldNames:{label:"group_name",value:"group_name"},options:(Ft=m==null?void 0:m.group_settings)==null?void 0:Ft.filter(Pt=>{var he,Le,ze;return!((ze=(Le=(he=Lt==null?void 0:Lt.map(Kt=>Kt==null?void 0:Kt.group_name))==null?void 0:he.toString())==null?void 0:Le.split(","))!=null&&ze.includes(String(Pt.group_name)))&&Pt.is_admin}),maxTagCount:4,maxTagPlaceholder:Pt=>G.createElement("div",{style:{cursor:"pointer"},onClick:()=>mn(Lt[it],it)},"+",Pt==null?void 0:Pt.length)}))),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml20",name:[ht.name,"publish_time"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F5C\u4E1A\u65F6\u95F4"}]},G.createElement(zn.default.RangePicker,{style:{width:585},size:"large",disabled:Bt(["group_settings","publish_time"],Lt==null?void 0:Lt[it]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Pt=>(0,d.Q8)(Pt,m==null?void 0:m.course_end_date),disabledTime:Pt=>(0,d.d0)(Pt),showTime:{format:"HH:mm",defaultValue:[z()((0,d.U6)(),"HH:mm"),z()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",onCalendarChange:Pt=>{if(Pt!=null&&Pt[0]&&!(Pt!=null&&Pt[1])){const he=st.getFieldValue("group_settings");he[it].publish_time=[Pt[0],z()(Pt[0]).add(7,"days")],st.setFieldsValue({group_settings:he})}}}))),!Vt&&G.createElement(g.Z,{className:(an=Xe.Z)==null?void 0:an.h_lh_40},((qe=(rn=Lt==null?void 0:Lt[it])==null?void 0:rn.group_id)==null?void 0:qe.length)>1&&G.createElement(o.Z,null,G.createElement(b.Z,{title:"\u89C4\u5219\u62C6\u5206"},G.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>mn(Lt[it],it)}))),((hn=(vt=m==null?void 0:m.group_settings)==null?void 0:vt.filter(Pt=>{var he,Le,ze;return!((ze=(Le=(he=Lt==null?void 0:Lt.map(Kt=>Kt==null?void 0:Kt.group_name))==null?void 0:he.toString())==null?void 0:Le.split(","))!=null&&ze.includes(String(Pt.group_name)))&&Pt.is_admin}))==null?void 0:hn.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{Ae({is_admin:!0})}})),it!=0&&!Bt(["group_settings","group_name"],Lt==null?void 0:Lt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml10",style:{color:"#E30000",opacity:"0.2"}}))))})))),G.createElement(Ju.rU,{form:st}),G.createElement(G.Fragment,null,G.createElement("div",{className:`${Xe.Z.title} mt30`},G.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),G.createElement("div",{className:Xe.Z.content},G.createElement(g.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(_e=Xe.Z)==null?void 0:_e.h_lh_40}`,align:"middle"},G.createElement(f.default.Item,{name:"allow_late",valuePropName:"checked"},G.createElement(mu.Z,{disabled:Bt("allow_late")})),G.createElement(o.Z,{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),G.createElement(o.Z,{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5728\u8865\u4EA4\u65F6\u95F4\u6BB5\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5C06\u6309\u7167\u89C4\u5219\u8FDB\u884C\u6263\u5206\uFF09")),Oe&&G.createElement(G.Fragment,null,G.createElement(g.Z,{className:Xe.Z.row_sty1},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u65B9\u5F0F"),G.createElement(f.default.Item,{className:`${(Ze=Xe.Z)==null?void 0:Ze.h_lh_40} ml10`,name:"unified_late",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8865\u4EA4\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_late")},G.createElement(k.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((ye=m==null?void 0:m.group_settings)==null?void 0:ye.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),tn===!1&&G.createElement(b.Z,{title:Pn("unified_late")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),gt?G.createElement("div",{style:{paddingBottom:5}},G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb10 mt5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),G.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},G.createElement(f.default.Item,{name:"late_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:206},min:0,max:100,disabled:Bt("late_penalty")}))),G.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),G.createElement(g.Z,{className:Xe.Z.row_sty1},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},G.createElement(f.default.Item,{name:"late_time",rules:[{required:!0,validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):z()(Ae).startOf("second")<=z()(Yt).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&z()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:280},size:"large",disabled:Bt("late_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,z()(Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,z()(Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):G.createElement(f.default.List,{name:"allow_late_settings"},(Fe,{add:Ae,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,vt,hn;const Pt=Yt||((rn=(an=Dn((Ft=zt==null?void 0:zt[it])==null?void 0:Ft.group_name,Lt||[],(he,Le)=>{var ze,Kt;return z()((ze=he==null?void 0:he.publish_time)==null?void 0:ze[1]).startOf("second")>z()((Kt=Le==null?void 0:Le.publish_time)==null?void 0:Kt[1]).startOf("second")}))==null?void 0:an.publish_time)==null?void 0:rn[1]);return G.createElement(g.Z,{key:ht.key,style:{padding:"5px 14px 5px 52px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{minWidth:88,textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",it+1),G.createElement(o.Z,{className:"mr20 ml20"},G.createElement(f.default.Item,{name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(L.default,{disabled:Bt(["allow_late_settings","group_name"],zt==null?void 0:zt[it]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(tn?m==null?void 0:m.group_settings:Lt,[...zt||[],...(m==null?void 0:m.anonymous_comment)&&!(m!=null&&m.unified_anonymous_comment)&&((qe=m==null?void 0:m.anonymous_comment_settings)==null?void 0:qe.filter(he=>(he==null?void 0:he.evaluation_start)&&z()().startOf("second")>=z()(he==null?void 0:he.evaluation_start).startOf("second")))||[]])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),G.createElement(o.Z,{className:"mr20 ml10"},G.createElement(f.default.Item,{name:[ht.name,"late_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},G.createElement(te.Z,{min:0,max:100,size:"large",addonAfter:"\u5206",style:{width:150},disabled:Bt(["allow_late_settings","late_penalty"],zt==null?void 0:zt[it])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,{className:"ml10"},G.createElement(f.default.Item,{name:[ht.name,"late_time"],rules:[{required:!0,validator:(he,Le)=>Le==null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Pt&&z()(Le).startOf("second")<=z()(Pt).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},G.createElement(zn.default,{disabled:Bt(["allow_late_settings","late_time"],zt==null?void 0:zt[it]),style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:he=>(0,d.Q8)(he,m==null?void 0:m.course_end_date,z()(Pt).add(1,"minutes").format()),disabledTime:he=>(0,d.d0)(he,z()(Pt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),!Vt&&G.createElement(g.Z,{className:(vt=Xe.Z)==null?void 0:vt.h_lh_40},((hn=On(tn?m==null?void 0:m.group_settings:Lt,zt))==null?void 0:hn.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Ae({is_admin:!0,late_penalty:5})}})),it!=0&&!Bt(["allow_late_settings","group_name"],zt==null?void 0:zt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}}))))}))))),G.createElement(G.Fragment,null,G.createElement("div",{className:`${Xe.Z.title} mt30`},G.createElement("span",null,"\u533F\u8BC4\u8BBE\u7F6E")),G.createElement("div",{className:Xe.Z.content},G.createElement(g.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(Ue=Xe.Z)==null?void 0:Ue.h_lh_40}`,align:"middle"},G.createElement(f.default.Item,{name:"anonymous_comment",valuePropName:"checked"},G.createElement(mu.Z,{disabled:Bt("anonymous_comment")})),G.createElement(o.Z,{className:"ml10 mr10"},"\u542F\u7528\u533F\u8BC4"),G.createElement(o.Z,{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09")),gn&&G.createElement(G.Fragment,null,G.createElement(g.Z,{className:`${Xe.Z.row_sty1} ${!Oe&&"mb10"} mt5`},G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"can_make_up",valuePropName:"checked",style:{height:40,lineHeight:"40px"}},G.createElement(O.default,null," ",Oe?"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u5E76\u4E14\u6263\u9664\u8865\u4EA4\u6263\u5206":"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u8865\u4EA4\u6263\u5206"," "))),!Oe&&G.createElement(o.Z,{className:"mr10"},G.createElement(f.default.Item,{name:"make_up_score"},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",min:0,max:100,style:{width:186}}))),G.createElement(o.Z,null,G.createElement(b.Z,{title:Pn("make_up_score")},G.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary"})))),G.createElement("div",{style:{position:"relative"}},G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5 ${Xe.Z.bottom_line}`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u533F\u8BC4\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:`${(Et=Xe.Z)==null?void 0:Et.h_lh_40} ml10`,name:"unified_anonymous_comment",rules:[{validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65B9\u5F0F"):Promise.resolve()}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_anonymous_comment")},G.createElement(k.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u533F\u8BC4"),((ve=m==null?void 0:m.group_settings)==null?void 0:ve.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u533F\u8BC4"))))),(gt===!1||tn===!1)&&G.createElement(b.Z,{title:Pn("unified_anonymous_comment")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Fn?G.createElement(G.Fragment,null,G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u4E92\u8BC4\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"anonymous_group",className:`${(pt=Xe.Z)==null?void 0:pt.h_lh_40} ml10`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E92\u8BC4\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("anonymous_group")},G.createElement(k.ZP,{value:!1,style:{marginRight:24}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4"),((ee=m==null?void 0:m.group_settings)==null?void 0:ee.length)>0&&G.createElement(k.ZP,{value:!0},"\u73ED\u7EA7\u5185\u4E92\u8BC4"))))),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u5F00\u59CB\u65F6\u95F4"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_start",rules:[{required:!0,validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"):z()(Ae).startOf("second")<=z()(Ye||Yt).startOf("second")?Promise.reject(Ye?"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&z()(Fe).startOf("second")},G.createElement(zn.default,{disabled:Bt("evaluation_start"),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",style:{width:270,marginLeft:10},format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,z()(Ye||Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,z()(Ye||Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\uFF0C\u53C2\u4E0E\u533F\u8BC4\uFF09")),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_end",rules:[{required:!0,validator:(Fe,Ae)=>Ae===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):z()(Ae).startOf("second")<=z()(lt||Ye||Yt).startOf("second")?Promise.reject(lt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":Ye?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&z()(Fe).startOf("second")},G.createElement(zn.default,{disabled:Bt("evaluation_end"),size:"large",style:{width:270,marginLeft:10},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,z()(lt||Ye||Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,z()(lt||Ye||Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:z()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u533F\u8BC4TA\u4EBA\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u533F\u8BC4\u6570\u91CF"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_num",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},G.createElement(te.Z,{size:"large",style:{width:186,marginLeft:10},disabled:Bt("evaluation_num")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u672C\u5904\u586B\u5199\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6\u3002\uFF09")),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u7F3A\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"absence_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",style:{width:186,marginLeft:10},addonAfter:"\u5206",max:100,min:0,disabled:Bt("absence_penalty")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u7F3A\u8BC4\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09"))):G.createElement(f.default.List,{name:"anonymous_comment_settings"},(Fe,{add:Ae,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,vt,hn,Pt;const he=Ye||((an=Dn((Ft=Nt==null?void 0:Nt[it])==null?void 0:Ft.group_name,zt||[],(Le,ze)=>z()(Le==null?void 0:Le.late_time).startOf("second")>z()(ze==null?void 0:ze.late_time).startOf("second")))==null?void 0:an.late_time)||Yt||((vt=(qe=Dn((rn=Nt==null?void 0:Nt[it])==null?void 0:rn.group_name,Lt||[],(Le,ze)=>{var Kt,Ru;return z()((Kt=Le==null?void 0:Le.publish_time)==null?void 0:Kt[1]).startOf("second")>z()((Ru=ze==null?void 0:ze.publish_time)==null?void 0:Ru[1]).startOf("second")}))==null?void 0:qe.publish_time)==null?void 0:vt[1]);return G.createElement(g.Z,{key:ht.key,style:{padding:"0px 14px 0px 82px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{lineHeight:"40px"}},"\u533F\u8BC4\u89C4\u5219",it+1),G.createElement(g.Z,{wrap:!1,align:"top",justify:"space-between"},G.createElement(o.Z,null,G.createElement(g.Z,{wrap:!1,align:"top"},G.createElement(o.Z,{className:"mr20 ml15"},G.createElement(f.default.Item,{name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(L.default,{disabled:Bt(["anonymous_comment_settings","group_name"],Nt==null?void 0:Nt[it]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:228},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(tn?m==null?void 0:m.group_settings:Lt,Nt)}))),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:[ht.name,"evaluation_start"],rules:[{required:!0,validator:(Le,ze)=>ze==null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65F6\u95F4"):he&&z()(ze).startOf("second")<=z()(he).startOf("second")?Promise.reject(Yt?"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},G.createElement(zn.default.RangePicker,{disabled:Bt(["anonymous_comment_settings","evaluation_start"],Nt==null?void 0:Nt[it]),style:{width:580},size:"large",placeholder:["\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4","\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u622A\u6B62\u65F6\u95F4"],disabledDate:Le=>(0,d.Q8)(Le,m==null?void 0:m.course_end_date,z()(he).add(1,"minutes").format()),disabledTime:Le=>(0,d.d0)(Le,z()(he).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:[z()((0,d.U6)(),"HH:mm"),z()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm"})))),G.createElement(g.Z,{wrap:!1,align:"top",style:{padding:"5px 0",position:"relative",left:"-55px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{marginRight:4}},"\u533F\u8BC4\u6570\u91CF"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"evaluation_num"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},G.createElement(te.Z,{style:{width:203},size:"large",min:0,disabled:Bt(["anonymous_comment_settings","evaluation_num"],Nt==null?void 0:Nt[it])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{marginLeft:40}},"\u7F3A\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"absence_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{style:{width:186,marginLeft:10},addonAfter:"\u5206",size:"large",min:0,max:100,disabled:Bt(["anonymous_comment_settings","absence_penalty"],Nt==null?void 0:Nt[it])}))),!Fn&&G.createElement(o.Z,null,G.createElement(f.default.Item,{style:{marginLeft:40,lineHeight:"40px"},name:[ht.name,"student_comment"],valuePropName:"checked"},G.createElement(O.default,{disabled:Bt(["anonymous_comment_settings","student_comment"],Nt==null?void 0:Nt[it])},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))),!Vt&&G.createElement(g.Z,{className:(hn=Xe.Z)==null?void 0:hn.h_lh_40},((Pt=On(tn?m==null?void 0:m.group_settings:Lt,Nt))==null?void 0:Pt.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Ae({is_admin:!0,absence_penalty:3,evaluation_num:3})}})),it!=0&&!Bt(["anonymous_comment_settings","group_name"],Nt==null?void 0:Nt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000",opacity:"0.2"}})))))})),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5 mt5`},G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"is_open_abnormal_score",valuePropName:"checked"},G.createElement(O.default,{disabled:Bt("is_open_abnormal_score"),style:{height:40,lineHeight:"40px"}},"\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7"))),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:Xe.Z.poor_rating,name:"abnormal_score",rules:[{validator:(Fe,Ae)=>Ae===0?Promise.reject("\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u6570\u503C\u4E0D\u80FD\u4E3A0"):Promise.resolve()}]},G.createElement(te.Z,{size:"large",style:{width:186},addonAfter:"\u5206",disabled:Bt("student_comment"),min:1,max:100}))),G.createElement(o.Z,null," ",G.createElement("span",{className:"ml10"},"\u5206\u8BA1\u5165",Vt?"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868":G.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{if(!(m!=null&&m.anonymous_comment)){h.ZP.warning("\u4FDD\u5B58\u542F\u7528\u8BBE\u7F6E\u540E\uFF0C\u70B9\u51FB\u8BE5\u6309\u94AE\u5373\u53EF\u8DF3\u8F6C\u81F3\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868");return}window.open(`/classrooms/${_t==null?void 0:_t.coursesId}/common_homework/${_t==null?void 0:_t.categoryId}/detail?TabsActiveKey=2&tabs=10`)}},"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868")),G.createElement(b.Z,{title:"\u5F00\u542F\u540E\uFF0C\u82E5\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u503C\u8D85\u8FC7\u8BBE\u7F6E\u5206\u6570\uFF0C\u8BE5\u6761\u8BC4\u5206\u5C06\u8BA1\u5165\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868\u3002\u6B64\u5916\uFF0C\u4E0D\u8BBA\u662F\u5426\u5F00\u542F\u8BE5\u529F\u80FD\uFF0C\u82E5\u5B66\u751F\u533F\u8BC4\u5F97\u5206\u4E0D\u8D85\u8FC760\u5206\uFF0C\u4E5F\u5C06\u81EA\u52A8\u8BA1\u5165\u8BE5\u5F02\u5E38\u5217\u8868"},G.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary ml5"})))),Fn&&G.createElement(f.default.Item,{className:`${Xe.Z.row_sty1} mb5`,name:"student_comment",valuePropName:"checked"},G.createElement(O.default,{disabled:Bt("student_comment")},G.createElement(g.Z,{gutter:10},G.createElement(o.Z,null,"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u76F8\u4E92\u533F\u8BC4\u7684\u6570\u636E\uFF0C\u5728\u4F5C\u54C1\u5217\u8868\u4E2D\u8BA1\u5165\u5DF2\u8BC4\u9605\uFF09")))),G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(f.default.Item,{name:"anonymous_appeal",valuePropName:"checked",className:Xe.Z.h_lh_40},G.createElement(O.default,{disabled:Bt("anonymous_appeal")},"\u542F\u7528\u533F\u8BC4\u7533\u8BC9")),G.createElement("span",{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),Mt&&G.createElement("div",{style:{paddingBottom:5}},G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u7533\u8BC9\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",style:{height:40,lineHeight:"40px"},name:"unified_anonymous_appeal",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7533\u8BC9\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_anonymous_appeal")},G.createElement(k.ZP,{value:!0},"\u7EDF\u4E00\u7533\u8BC9"),((je=m==null?void 0:m.group_settings)==null?void 0:je.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u7533\u8BC9")))),(gt===!1||tn===!1||Fn==!1)&&G.createElement(b.Z,{title:Pn("unified_anonymous_appeal")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Ne?G.createElement(g.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:"c-grey-333 mr10"},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"appeal_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Bt("appeal_penalty")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4TA\u4EBA\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")):G.createElement(f.default.List,{name:"anonymous_appeal_settings"},(Fe,{add:Ae,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an;return G.createElement(g.Z,{key:ht.key,style:{padding:"5px 14px 5px 82px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u7533\u8BC9\u89C4\u5219",it+1),G.createElement(g.Z,{wrap:!1,align:"top",justify:"space-between"},G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(L.default,{disabled:Bt(["anonymous_appeal_settings","group_name"],Me==null?void 0:Me[it]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",size:"large",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(Fn?m==null?void 0:m.group_settings:Nt,Me)}))),G.createElement(o.Z,{className:`${Xe.Z.lable_name1} ml20`},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"appeal_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Bt(["anonymous_appeal_settings","appeal_penalty"],Me==null?void 0:Me[it])}))),!Vt&&G.createElement(g.Z,{className:(Ft=Xe.Z)==null?void 0:Ft.h_lh_40},!!((an=On(Fn?m==null?void 0:m.group_settings:Nt,Me))!=null&&an.length)&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Ae({is_admin:!0,appeal_penalty:2})}})),it!=0&&!Bt(["anonymous_appeal_settings","group_name"],Me==null?void 0:Me[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))))}))))))),((0,r.GJ)()||!(Tt||Jt||Ut))&&G.createElement(U.ZP,{loading:ot||ke,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{st.submit()}},"\u4FDD\u5B58"),G.createElement(mr.Z,{onConfirm:(Fe,Ae)=>{Lt.splice(Fe,0,...Ae),Lt.splice(Fe+Ae.length,1);const Qt=(0,d.QE)([...Lt]);Qt.forEach(ht=>{var it;((it=ht==null?void 0:ht.publish_time)==null?void 0:it.length)==2?ht.publish_time=ht.publish_time:ht.publish_time=[z()(ht==null?void 0:ht.publish_time),z()(ht==null?void 0:ht.end_time)]}),st.setFieldValue("group_settings",[...Qt])}})))};var Cr=(0,X.connect)(({shixunHomeworks:I,classroomList:C,loading:B})=>({shixunHomeworks:I,classroomList:C,loading:B.effects}))(yr),br=s(33441),ou=s(59301),Ar=Object.defineProperty,ia=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,ca=(I,C,B)=>C in I?Ar(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,xr=(I,C)=>{for(var B in C||(C={}))wr.call(C,B)&&ca(I,B,C[B]);if(ia)for(var B of ia(C))Br.call(C,B)&&ca(I,B,C[B]);return I},Dr=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Or=({shixunHomeworks:I,dispatch:C})=>{const{workSetting:B}=I;(0,n.useEffect)(()=>{De()},[]);const ce=(0,X.useParams)(),[Ee,xe]=(0,n.useState)("1"),De=()=>Dr(void 0,null,function*(){yield C({type:"shixunHomeworks/getWorkSetting",payload:xr({},ce)})}),Ce=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:B!=null&&B.is_new_rule?ou.createElement(Cr,null):ou.createElement(La,{getData:De})},!(B!=null&&B.is_new_rule)&&{key:"3",label:"\u533F\u8BC4\u8BBE\u7F6E",element:ou.createElement(dr,null)},{key:"4",label:"\u8BC4\u5206\u8BBE\u7F6E",element:ou.createElement(Va,{getData:De})},{key:"5",label:"\u516C\u5F00\u8BBE\u7F6E",element:ou.createElement(er,{getData:De})},{key:"6",label:"\u534F\u4F5C\u8BBE\u7F6E",element:ou.createElement(Pa,null)}].filter(re=>!!re);return(0,n.useEffect)(()=>(C({type:"globalSetting/footerToggle",payload:!1}),()=>{C({type:"globalSetting/footerToggle",payload:!0})}),[]),ou.createElement("div",{style:{paddingBottom:"50px"}},ou.createElement(br.Z,{dataSource:Ce,style:{marginBottom:52}}))};var Pr=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(Or),Sr=s(99562),kr=s(56845),Ir=s(26084),Zr=Object.defineProperty,da=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,ma=(I,C,B)=>C in I?Zr(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,jr=(I,C)=>{for(var B in C||(C={}))Nr.call(C,B)&&ma(I,B,C[B]);if(da)for(var B of da(C))Rr.call(C,B)&&ma(I,B,C[B]);return I};const Pl=I=>React.createElement("svg",jr({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},I),React.createElement("title",null,"\u5206\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h14v14H0z"}),React.createElement("g",{stroke:"#FFF"},React.createElement("path",{d:"M1.5 5.685h7v7h-7z"}),React.createElement("path",{d:"M3 4.787V3.87l7.425.049v6.816h-.943"}),React.createElement("path",{d:"M5 2.917V2l7.425.05v6.685h-.943"}))));var Tr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDE0djE0SDB6Ii8+PGcgc3Ryb2tlPSIjRkZGIj48cGF0aCBkPSJNMS41IDUuNjg1aDd2N2gtN3oiLz48cGF0aCBkPSJNMyA0Ljc4N1YzLjg3bDcuNDI1LjA0OXY2LjgxNmgtLjk0MyIvPjxwYXRoIGQ9Ik01IDIuOTE3VjJsNy40MjUuMDV2Ni42ODVoLS45NDMiLz48L2c+PC9nPjwvc3ZnPg==",Su={flex_box_center:"flex_box_center___Bm9CS",flex_space_between:"flex_space_between___ZsXhA",flex_box_vertical_center:"flex_box_vertical_center___xiJ7Z",flex_box_center_end:"flex_box_center_end___WJleE",flex_box_column:"flex_box_column___x3Ypw",wrap:"wrap___rzUN_",btns:"btns___YKkXq"},Lr=Object.defineProperty,fa=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,pa=(I,C,B)=>C in I?Lr(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,_a=(I,C)=>{for(var B in C||(C={}))Mr.call(C,B)&&pa(I,B,C[B]);if(fa)for(var B of fa(C))zr.call(C,B)&&pa(I,B,C[B]);return I},ha=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Hr=({user:I,dispatch:C})=>{const B=(0,X.useParams)(),[ce,Ee]=(0,n.useState)({page:1,limit:10}),[xe,De]=(0,n.useState)([{}]),[Ce,re]=(0,n.useState)(0),[de,et]=(0,n.useState)(!0),tt=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"left",render:(Ze,ye,Ue)=>Ue+1,width:70},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",width:100,ellipsis:!0},{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",width:110,ellipsis:!0,render:Ze=>Ze||"--"},{title:"\u73ED\u7EA7",align:"left",dataIndex:"course_group_name",width:110,ellipsis:!0,render:Ze=>Ze||"--"},{title:"\u5F53\u524D\u5206\u7EC4",align:"left",dataIndex:"from_course_group_name",width:110,render:(Ze,ye)=>{var Ue;return n.createElement("span",null,n.createElement("span",null,Ze),n.createElement(b.Z,{overlayClassName:Su.tip,placement:"right",title:n.createElement(g.Z,{style:{maxHeight:200,overflow:"auto"}},n.createElement("div",null,"\u5206\u7EC4\u6210\u5458\uFF1A"),n.createElement("div",null,(Ue=ye==null?void 0:ye.from_course_group_members)==null?void 0:Ue.map(Et=>n.createElement("div",null,Et))))},n.createElement("i",{className:"iconfont icon-xiaowenhao2 ml5 c-light-primary font14"})))}},{title:"\u7533\u8BF7\u66F4\u6362\u5206\u7EC4",align:"left",dataIndex:"to_course_group_name",width:110,render:(Ze,ye)=>{var Ue;return n.createElement("span",null,n.createElement("span",null,Ze),n.createElement(b.Z,{overlayClassName:Su.tip,placement:"right",title:n.createElement(g.Z,{style:{maxHeight:200,overflow:"auto"}},n.createElement("div",null,"\u5206\u7EC4\u6210\u5458\uFF1A"),n.createElement("div",null,(Ue=ye==null?void 0:ye.to_course_group_members)==null?void 0:Ue.map(Et=>n.createElement("div",null,Et))))},n.createElement("i",{className:"iconfont icon-xiaowenhao2 ml5 c-light-primary font14"})))}},{title:"\u7533\u8BF7\u7406\u7531",align:"left",dataIndex:"reason"},{title:"\u64CD\u4F5C",align:"right",dataIndex:"status",width:110,render:(Ze,ye)=>n.createElement(n.Fragment,null,Ze==="\u5F85\u5904\u7406"&&n.createElement("span",{className:Su.btns},n.createElement("span",{onClick:()=>Ie(ye.id,2)},"\u62D2\u7EDD"),n.createElement("span",{className:"ml30",onClick:()=>Ie(ye.id,1)},"\u540C\u610F")),Ze==="\u5DF2\u540C\u610F"&&n.createElement("span",{style:{color:"#00B187"}},"\u5DF2\u540C\u610F"),Ze==="\u5DF2\u62D2\u7EDD"&&n.createElement("span",{style:{color:"#E30000"}},"\u5DF2\u62D2\u7EDD"))}],Ie=(Ze,ye)=>ha(void 0,null,function*(){et(!0);const Ue=yield(0,S.ZP)(`/api/homework_commons/${B==null?void 0:B.categoryId}/deal_request`,{method:"post",body:{request_id:Ze,status:ye}});(Ue==null?void 0:Ue.status)===0&&(h.ZP.success("\u64CD\u4F5C\u6210\u529F"),le(ce)),et(!1)});(0,n.useEffect)(()=>{le(ce)},[]);const le=Ze=>ha(void 0,null,function*(){et(!0);const ye=yield(0,S.ZP)(`/api/homework_commons/${B==null?void 0:B.categoryId}/get_request`,{method:"get",params:_a({},Ze)});(ye==null?void 0:ye.status)===0&&(De(ye.data),re(ye==null?void 0:ye.total_count)),et(!1)}),_e=(Ze,ye)=>{ce.page=Ze,ce.limit=ye,Ee(_a({},ce)),le(ce)};return n.createElement("section",{className:Su.wrap},n.createElement(F.default,{dataSource:xe,bordered:!1,rowKey:Ze=>Ze.id,columns:tt,loading:de,pagination:{pageSize:ce.limit,total:Ce,current:ce.page,onChange:_e,showQuickJumper:!0,hideOnSinglePage:!0}}))};var Wr=(0,X.connect)(({user:I})=>({user:I}))(Hr),Ur=s(64165),nu={modal:"modal___AejJU",member:"member___mqy9M",head:"head___TWHLt",listWrap:"listWrap___zvWV4",list:"list___dWwg9"},Yr=Object.defineProperty,ku=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,ga=(I,C,B)=>C in I?Yr(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Vr=(I,C)=>{for(var B in C||(C={}))va.call(C,B)&&ga(I,B,C[B]);if(ku)for(var B of ku(C))Ea.call(C,B)&&ga(I,B,C[B]);return I},Kr=(I,C)=>{var B={};for(var ce in I)va.call(I,ce)&&C.indexOf(ce)<0&&(B[ce]=I[ce]);if(I!=null&&ku)for(var ce of ku(I))C.indexOf(ce)<0&&Ea.call(I,ce)&&(B[ce]=I[ce]);return B},Fa=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const Gr=I=>{var C=I,{classroomList:B,dispatch:ce,cb:Ee}=C,xe=Kr(C,["classroomList","dispatch","cb"]),De,Ce,re,de,et,tt,Ie,le,_e;const Ze=(0,X.useParams)(),[ye,Ue]=(0,n.useState)({}),[Et,ve]=(0,n.useState)(""),[pt,ee]=(0,n.useState)(!0),[je,_t]=(0,n.useState)(!1),[m,pe]=(0,n.useState)("");(0,n.useEffect)(()=>{B.actionTabs.key==="\u7533\u8BF7\u6362\u7EC4"&&ot()},[B.actionTabs]);const ot=(ke="")=>Fa(void 0,null,function*(){ee(!0);const mt=yield(0,S.ZP)(`/api/homework_commons/${Ze.categoryId}/get_group_members`,{method:"get",params:{group_id:ke}});(mt==null?void 0:mt.status)===0&&Ue(Vr({},mt)),ee(!1)}),$t=()=>Fa(void 0,null,function*(){if(!Et){h.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u66F4\u6362\u7684\u5206\u7EC4");return}if(!m){h.ZP.warning("\u8BF7\u8F93\u5165\u66F4\u6362\u539F\u56E0");return}_t(!0);let ke=yield(0,S.ZP)(`/api/homework_commons/${Ze.categoryId}/create_request`,{method:"post",body:{to_course_group_id:Et,reason:m}});(ke==null?void 0:ke.status)===0&&(h.ZP.info("\u64CD\u4F5C\u6210\u529F"),ce({type:"classroomList/setActionTabs",payload:{}}),Ee()),_t(!1)});return n.createElement(P.default,{width:700,centered:!0,afterClose:()=>{ve(""),pe("")},confirmLoading:je,title:"\u7533\u8BF7\u66F4\u6362\u5206\u7EC4",onOk:$t,open:B.actionTabs.key==="\u7533\u8BF7\u6362\u7EC4",onCancel:()=>{ce({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:nu.modal},n.createElement(wn.Z,{spinning:pt},n.createElement(g.Z,{align:"middle",justify:"space-between"},n.createElement("div",{className:"c-black"},"\u4F60\u5F53\u524D\u6240\u5728\u5206\u7EC4\xA0",n.createElement("b",null,ye==null?void 0:ye.current_group)),n.createElement(g.Z,{align:"middle"},n.createElement("div",{className:"mr15"},"\u66F4\u6362\u5206\u7EC4"),n.createElement(L.default,{onChange:ke=>{ve(ke),ot(ke)},value:Et,size:"large",style:{width:248}},(De=ye==null?void 0:ye.group_infos)==null?void 0:De.map(ke=>n.createElement(L.default.Option,{key:ke.group_id,value:ke.group_id},ke.group_name))))),n.createElement(g.Z,{className:"mt15"},n.createElement("div",{className:nu.member,style:{borderRight:"1px solid #D9DFE8"}},n.createElement(g.Z,{className:nu.head},n.createElement("div",null,ye==null?void 0:ye.current_group,"\u6210\u5458"),n.createElement("div",null,"\u5171",n.createElement("span",{className:"ml5 mr5 c-light-primary"},(Ce=ye==null?void 0:ye.current_group_members)==null?void 0:Ce.length),"\u4EBA")),n.createElement(g.Z,{style:{height:"calc(100% - 34px)"}},n.createElement("div",{className:nu.listWrap,style:{borderRight:0}},(re=ye==null?void 0:ye.current_group_members)==null?void 0:re.map(ke=>n.createElement("div",{key:ke.user_id,className:nu.list},n.createElement("img",{src:`${fn.Z.IMG_SERVER}/images/${ke==null?void 0:ke.avatar_url}`}),n.createElement("span",null,ke.real_name),(ke==null?void 0:ke.is_me)&&n.createElement("div",null,"\u6211")))))),n.createElement("div",{className:nu.member},!((de=ye==null?void 0:ye.group_members)!=null&&de.length)&&n.createElement(Ur.Z,null),!!((et=ye==null?void 0:ye.group_members)!=null&&et.length)&&n.createElement(n.Fragment,null,n.createElement(g.Z,{className:nu.head},n.createElement("div",null,(Ie=(tt=ye==null?void 0:ye.group_infos)==null?void 0:tt.find(ke=>ke.group_id===Et))==null?void 0:Ie.group_name,"\u6210\u5458"),n.createElement("div",null,"\u5171",n.createElement("span",{className:"ml5 mr5 c-light-primary"},(le=ye==null?void 0:ye.group_members)==null?void 0:le.length),"\u4EBA")),n.createElement(g.Z,{style:{height:"calc(100% - 34px)"}},n.createElement("div",{className:nu.listWrap,style:{borderLeft:0}},(_e=ye==null?void 0:ye.group_members)==null?void 0:_e.map(ke=>n.createElement("div",{key:ke.user_id,className:nu.list},n.createElement("img",{src:`${fn.Z.IMG_SERVER}/images/${ke==null?void 0:ke.avatar_url}`}),n.createElement("span",null,ke.real_name)))))))),n.createElement(g.Z,{className:"mt15"},n.createElement("div",{className:"mr15",style:{color:"#5F6368"}},"\u66F4\u6362\u539F\u56E0"),n.createElement(w.default.TextArea,{maxLength:300,value:m,onChange:ke=>pe(ke.target.value),style:{width:578},placeholder:"\u8BF7\u8F93\u5165\u6362\u7EC4\u539F\u56E0",size:"large"})))))};var Jr=(0,X.connect)(({classroomList:I})=>({classroomList:I}))(Gr),gu={flex_box_center:"flex_box_center___sf_sV",flex_space_between:"flex_space_between___k0joE",flex_box_vertical_center:"flex_box_vertical_center___fyum8",flex_box_center_end:"flex_box_center_end___UC5kA",flex_box_column:"flex_box_column___JCpJG",Onerow:"Onerow___OAbXd",title:"title___YZryt",export:"export___wcKFT",bg:"bg___fNXI3",tabs:"tabs___hlZi4",workListTabWrap:"workListTabWrap___sjHcT",workListTabButton:"workListTabButton___MOSGf",title_style:"title_style___mGYw9"},Qr=s(25060),Xr=s(82693),$r=s(7621),qr=s(37906),el={TabsStyle:"TabsStyle___TanFG"},bt=s(59301),tl=Object.defineProperty,nl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,Ca=(I,C,B)=>C in I?tl(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,_u=(I,C)=>{for(var B in C||(C={}))al.call(C,B)&&Ca(I,B,C[B]);if(ya)for(var B of ya(C))rl.call(C,B)&&Ca(I,B,C[B]);return I},hu=(I,C)=>nl(I,ul(C)),Iu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const ll=I=>Iu(void 0,null,function*(){return yield(0,S.ZP)(`/api/student_works/${I.userId}/deal_appeal_score.json`,{method:"post",body:I})}),ol=({globalSetting:I,shixunHomeworks:C,dispatch:B,classroomList:ce})=>{var Ee,xe,De,Ce,re,de;const et=(0,X.useParams)(),[tt]=(0,X.useSearchParams)(),[Ie]=f.default.useForm(),{workSetting:le}=C,[_e,Ze]=(0,n.useState)(!1),[ye,Ue]=(0,n.useState)(null),[,Et,ve,pt]=(0,We.U)(Re.cN,{homeworkId:et==null?void 0:et.categoryId}),[,ee,je,_t]=(0,We.U)(Re.Qz,{homeworkId:et==null?void 0:et.categoryId}),[,m,pe,ot]=(0,We.U)(Re.mQ,{homeworkId:et==null?void 0:et.categoryId}),[,,$t,ke]=(0,We.U)(ll,{}),[mt,st]=(0,n.useState)({activeKey:"1",page:1,limit:10,status:""}),tn=[{id:"",name:"\u5168\u90E8"},{id:1,name:"\u5F85\u5BA1\u6838"},{id:3,name:"\u63A5\u53D7\u7533\u8BC9"},{id:4,name:"\u9A73\u56DE\u7533\u8BC9"}],Lt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Oe,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u5B66\u751F\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u53CD\u9988\u95EE\u9898",dataIndex:"content",ellipsis:!0,key:"content"},{title:"\u88AB\u53CD\u9988\u95EE\u9898\u7684\u5B66\u751F",dataIndex:"unfeedback_real_name",key:"unfeedback_real_name",ellipsis:!0,width:180,render:(Oe,gt)=>bt.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},Oe)},{title:"\u53CD\u9988\u95EE\u9898\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:180,render:Oe=>z()(Oe).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(Oe,gt)=>bt.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},"\u67E5\u770B")}],zt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Oe,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"status",ellipsis:!0,key:"status",render:Oe=>Oe===-1?"\u91CD\u505A\u4E2D":bt.createElement(d.Uw,{status:Oe})},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",key:"student_comment_count",ellipsis:!0,width:100},{title:"\u88AB\u533F\u8BC4\u6700\u5927\u5206\u5DEE",dataIndex:"abnormal_score",key:"abnormal_score",width:180},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"score",key:"score",width:180},{title:"\u533F\u8BC4\u5F02\u5E38\u65F6\u95F4",dataIndex:"abnormal_date",key:"abnormal_date",width:180},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(Oe,gt)=>bt.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},"\u67E5\u770B")}],Yt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Oe,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u7533\u8BC9\u4EBA",ellipsis:!0,dataIndex:"real_name",key:"real_name",width:150,render:(Oe,gt)=>bt.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},Oe)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:150,key:"unappeal_real_name"},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",key:"score",width:120,ellipsis:!0},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",key:"comment"},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:150,render:Oe=>z()(Oe).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"appeal_status",key:"appeal_status",width:150,render:(Oe,gt)=>bt.createElement(bt.Fragment,null,Oe==3&&bt.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),Oe==4&&bt.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),Oe==1&&bt.createElement(bt.Fragment,null,bt.createElement(be.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>Iu(void 0,null,function*(){(yield $t({userId:gt.student_work_id,score_id:gt.student_works_score_id,status:4})).status===0&&Un()})},"\u9A73\u56DE"),bt.createElement(be.op,{openLoading:!0,className:"ml20",type:"link",style:{padding:0},onClick:()=>Iu(void 0,null,function*(){Ue(gt),Ze(!0)})},"\u63A5\u53D7")))}],Un=(Oe=mt)=>{mt.activeKey=="1"&&je({page:Oe==null?void 0:Oe.page,limit:Oe==null?void 0:Oe.limit}),mt.activeKey=="2"&&pe({page:Oe==null?void 0:Oe.page,limit:Oe==null?void 0:Oe.limit}),mt.activeKey=="3"&&ve({page:Oe==null?void 0:Oe.page,limit:Oe==null?void 0:Oe.limit,status:Oe==null?void 0:Oe.status})};return(0,n.useEffect)(()=>{Un(mt)},[mt]),(0,n.useEffect)(()=>{console.log("params",et,tt.get("TabsActiveKey")?tt.get("TabsActiveKey"):le!=null&&le.is_new_rule?"3":"1"),st(hu(_u({},mt),{activeKey:tt.get("TabsActiveKey")||"1"}))},[tt.get("TabsActiveKey")]),bt.createElement(wn.Z,{spinning:ee||Et||m},bt.createElement("section",{className:"p30",style:{background:"#fff"}},bt.createElement(l.default,{destroyInactiveTabPane:!0,className:el.TabsStyle,activeKey:mt.activeKey,onChange:Oe=>{st(hu(_u({},mt),{activeKey:Oe,page:1,limit:10}))}},bt.createElement(l.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"1"},bt.createElement(F.default,{className:"mt20",locale:{emptyText:bt.createElement(ue.Z,null)},columns:Lt,dataSource:((Ee=_t==null?void 0:_t.data)==null?void 0:Ee.list)||[],pagination:{total:((xe=_t==null?void 0:_t.data)==null?void 0:xe.count)||0,onChange:(Oe,gt)=>{st(hu(_u({},mt),{page:Oe,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Oe=>bt.createElement(bt.Fragment,null,"\u5171",bt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Oe),"\u6761\u6570\u636E")}})),bt.createElement(l.default.TabPane,{tab:"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38",key:"2"},bt.createElement(F.default,{className:"mt20",locale:{emptyText:bt.createElement(ue.Z,null)},columns:zt,dataSource:((De=ot==null?void 0:ot.data)==null?void 0:De.list)||[],pagination:{total:((Ce=ot==null?void 0:ot.data)==null?void 0:Ce.count)||0,onChange:(Oe,gt)=>{st(hu(_u({},mt),{page:Oe,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Oe=>bt.createElement(bt.Fragment,null,"\u5171",bt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Oe),"\u6761\u6570\u636E")}})),bt.createElement(l.default.TabPane,{tab:"\u533F\u8BC4\u7533\u8BC9",key:"3"},bt.createElement(be.qp,{title:"\u7533\u8BC9\u72B6\u6001",className:"mt20",value:mt.status,onChange:Oe=>{st(hu(_u({},mt),{status:Oe,page:1}))},dataSource:tn,titleWidth:60}),bt.createElement(F.default,{locale:{emptyText:bt.createElement(ue.Z,null)},columns:Yt,dataSource:((re=pt==null?void 0:pt.data)==null?void 0:re.list)||[],pagination:{total:((de=pt==null?void 0:pt.data)==null?void 0:de.count)||0,onChange:(Oe,gt)=>{st(hu(_u({},mt),{page:Oe,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Oe=>bt.createElement(bt.Fragment,null,"\u5171",bt.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Oe),"\u6761\u6570\u636E")}}))),bt.createElement(P.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:_e,centered:!0,destroyOnClose:!0,onCancel:()=>{Ze(!1)},maskClosable:!1,width:544,onOk:()=>{Ie.submit()}},bt.createElement(f.default,{form:Ie,colon:!1,onFinish:Oe=>Iu(void 0,null,function*(){(yield $t(hu(_u({},Oe),{userId:ye.student_work_id,score_id:ye.student_works_score_id,status:3}))).status===0&&(Un(),Ze(!1))})},bt.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),bt.createElement(qr.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:bt.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${ye==null?void 0:ye.student_work_id}`,target:"_blank"},ye==null?void 0:ye.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:bt.createElement("span",{style:{color:"#191919"}},ye==null?void 0:ye.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:bt.createElement("span",{style:{color:"#191919"}},ye==null?void 0:ye.score)}]}),bt.createElement(g.Z,{className:"mt20",wrap:!1},bt.createElement(o.Z,null,bt.createElement(f.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},bt.createElement(te.Z,{min:1,max:100,step:1}))),bt.createElement(o.Z,null,bt.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),bt.createElement(o.Z,null,bt.createElement(f.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},bt.createElement(O.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570"))))))))};var sl=(0,X.connect)(({user:I,shixunHomeworks:C,loading:B,globalSetting:ce,classroomList:Ee})=>({user:I,shixunHomeworks:C,globalSetting:ce,loading:B.effects,classroomList:Ee}))(ol),Ku={},on=s(59301),il=Object.defineProperty,cl=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,Aa=(I,C,B)=>C in I?il(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Zu=(I,C)=>{for(var B in C||(C={}))ml.call(C,B)&&Aa(I,B,C[B]);if(ba)for(var B of ba(C))fl.call(C,B)&&Aa(I,B,C[B]);return I},pl=(I,C)=>cl(I,dl(C)),_l=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const hl=({shixunHomeworks:I,loading:C,globalSetting:B,dispatch:ce})=>{const[Ee,xe]=(0,n.useState)(Zu(Zu({},(0,X.useParams)()),{page:1,limit:20})),{workList:De,workSetting:Ce}=I,[re,de]=(0,n.useState)([]),et=()=>_l(void 0,null,function*(){const le=yield ce({type:"shixunHomeworks/getWorkList",payload:pl(Zu({},Ee),{score_open:Ce==null?void 0:Ce.score_open,work_public:Ce==null?void 0:Ce.work_public})});de((le==null?void 0:le.student_works)||[])});(0,n.useEffect)(()=>{et()},[]);const tt=(le,_e)=>{Ee.page=le,Ee.limit=20,et()},Ie=[(De==null?void 0:De.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:200,render:(le,_e)=>{var Ze,ye,Ue,Et,ve,pt;return{children:((Ze=_e.project_info)==null?void 0:Ze.id)!==-1?on.createElement("a",{target:"_blank",title:(ye=_e.project_info)==null?void 0:ye.name,href:`${(Ue=B==null?void 0:B.setting)==null?void 0:Ue.old_url}${(Et=_e.project_info)==null?void 0:Et.id}`,style:{whiteSpace:"break-spaces"}},(ve=_e.project_info)==null?void 0:ve.name):(pt=_e.project_info)==null?void 0:pt.name,props:{rowSpan:_e.rowSpan}}}},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:150,render:(le,_e)=>on.createElement("div",{style:{display:"flex",alignItems:"center"}},on.createElement("span",{className:Ku.atitle,style:{width:_e.is_leader?"":130,maxWidth:_e.is_leader&&80}}," ",le),_e.is_leader&&on.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",sortDirections:["descend","ascend"],width:80,ellipsis:!0,sorter:!(De!=null&&De.base_on_project),render:le=>on.createElement("span",{style:{color:"#666666"}},le)},{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!(De!=null&&De.base_on_project),render:(le,_e)=>on.createElement(b.Z,{placement:"bottom",title:on.createElement("div",null,on.createElement("div",null,_e.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${_e.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),on.createElement("div",null,_e.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${_e.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),De!=null&&De.anonymous_comment?on.createElement("div",null,_e.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${_e.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",De!=null&&De.is_group_grade?on.createElement("div",null,_e.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${_e.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",on.createElement("div",null,_e.late_penalty?`\u8FDF\u4EA4\u6263\u5206\uFF1A${_e.late_penalty}\u5206`:"\u8FDF\u4EA4\u6263\u5206\uFF1A0.0\u5206"),on.createElement("div",null,_e.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${_e.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),De!=null&&De.anonymous_comment?on.createElement("div",null,_e.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${_e.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",on.createElement("div",null,_e.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${_e.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(De!=null&&De.is_jupyter||De!=null&&De.is_jupyter_lab)&&on.createElement("div",{onClick:Ze=>{Ze.stopPropagation(),X.history.push(`/classrooms/${Ee.coursesId}/group_homework/${Ee.categoryId}/review/${_e.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},le>0?on.createElement("span",{style:{color:"#ff8100"}},le):le)},(De==null?void 0:De.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",dataIndex:"code_lines_count",render:le=>le||"--"},(De==null?void 0:De.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",dataIndex:"issues_count",render:(le,_e)=>le||"--"},(De==null?void 0:De.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:140,render:(le,_e)=>({children:le?on.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",on.createElement("br",null),z()(le).format("YYYY-MM-DD HH:mm")):"--",props:{rowSpan:_e.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",render:(le,_e)=>({children:le===-1?"\u91CD\u505A\u4E2D":on.createElement(d.Uw,{status:le}),props:{rowSpan:_e.rowSpan}})},!(De!=null&&De.base_on_project)&&{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:70,render:(le,_e)=>({children:on.createElement("span",{className:"c-blue"},le),props:{rowSpan:_e.rowSpan}})},{title:"\u64CD\u4F5C",width:De!=null&&De.base_on_project?100:150,align:"left",dataInex:"action",render:(le,_e)=>De!=null&&De.work_public?on.createElement("a",{className:"c-blue",onClick:Ze=>{Ze.preventDefault(),X.history.push(`/classrooms/${Ee.coursesId}/group_homework/${Ee.categoryId}/review/${_e.id}`)}}," \u67E5\u770B "):"--"}].filter(le=>!!le);return on.createElement("div",{className:"p30 bg-white"},on.createElement("aside",{style:{paddingBottom:30}},on.createElement(F.default,{loading:C["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(le,_e)=>(le==null?void 0:le.item_index)%2===0&&Ku.tables,className:Ku.tableWrapper,hideOnSinglePage:!0,pagination:!1,dataSource:re,columns:Ie,onChange:(le,_e,Ze)=>{if(Ze.order===void 0)switch(Ze.field){case"student_id":Ee.b_order="desc",Ee.order=Ze.field;break;default:delete Ee.b_order,delete Ee.order}else Ee.b_order=Ze.order.replace("end",""),Ee.order=Ze.field;ce({type:"shixunHomeworks/getWorkList",payload:Zu({},Ee)})}})),on.createElement(K.Z,{showSizeChanger:!1,style:{paddingBottom:30},hideOnSinglePage:!0,onChange:tt,defaultCurrent:Ee.page||1,current:Ee.page||1,defaultPageSize:20,total:I.workList.work_count}))};var vl=(0,X.connect)(({shixunHomeworks:I,classroomList:C,globalSetting:B,loading:ce})=>({shixunHomeworks:I,classroomList:C,loading:ce.effects,globalSetting:B}))(hl),El=s(54580),Fu=s(59301),gl=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const{Dragger:Sl}=El.default,Fl=({})=>{const I=(0,X.useParams)(),[C]=f.default.useForm(),[B,ce]=(0,n.useState)([]),[Ee,xe]=(0,n.useState)(!1);let[De,Ce]=(0,n.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});function re(){return gl(this,null,function*(){var de,et;let tt;xe(!0),window.location.href.indexOf("exercise")>-1?tt=`/api/exercises/${I==null?void 0:I.categoryId}/redo_logs.json`:tt=`/api/homework_commons/${I==null?void 0:I.categoryId}/redo_logs.json`;let Ie=yield(0,S.ZP)(tt,{method:"get",params:De});if(xe(!1),(Ie==null?void 0:Ie.status)===0){let le=[];(et=(de=Ie==null?void 0:Ie.data)==null?void 0:de.list)==null||et.map((_e,Ze)=>{var ye;(ye=_e==null?void 0:_e.group_infos)==null||ye.map((Ue,Et)=>{var ve,pt,ee;Ue.rowSpan=Et==0?(ve=_e==null?void 0:_e.group_infos)==null?void 0:ve.length:((ee=(pt=_e==null?void 0:_e.group_infos)==null?void 0:pt.filter(je=>je.work_group_id))==null?void 0:ee.length)>0?0:1,le.push(Ue)})}),ce([...le])}})}return(0,n.useEffect)(()=>{re()},[]),Fu.createElement("div",{style:{padding:"30px",background:"#fff"}},Fu.createElement(F.default,{loading:Ee,bordered:!0,columns:[{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group_name",width:200,render:(de,et)=>({children:Fu.createElement("span",null,de),props:{rowSpan:et.rowSpan}})},{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(de,et)=>({children:Fu.createElement("span",null,z()(de).format("YYYY-MM-DD HH:mm:ss")),props:{rowSpan:et.rowSpan}})},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator",render:(de,et)=>({children:Fu.createElement("span",null,de),props:{rowSpan:et.rowSpan}})}],dataSource:B,pagination:!1}),Fu.createElement(K.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(de,et)=>{De.page=de,De.limit=et,Ce(De),re()},current:De.page,total:B.count,pageSize:De.limit,style:{marginTop:20}}))};var yl=(0,X.connect)(({classroomList:I})=>({classroomList:I}))(Fl),nt=s(59301),Cl=Object.defineProperty,bl=Object.defineProperties,Al=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable,Ba=(I,C,B)=>C in I?Cl(I,C,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[C]=B,Wn=(I,C)=>{for(var B in C||(C={}))wl.call(C,B)&&Ba(I,B,C[B]);if(wa)for(var B of wa(C))Bl.call(C,B)&&Ba(I,B,C[B]);return I},Nu=(I,C)=>bl(I,Al(C)),vu=(I,C,B)=>new Promise((ce,Ee)=>{var xe=re=>{try{Ce(B.next(re))}catch(de){Ee(de)}},De=re=>{try{Ce(B.throw(re))}catch(de){Ee(de)}},Ce=re=>re.done?ce(re.value):Promise.resolve(re.value).then(xe,De);Ce((B=B.apply(I,C)).next())});const xl=({shixunHomeworks:I,classroomList:C,globalSetting:B,dispatch:ce,user:Ee})=>{var xe,De,Ce,re,de,et,tt,Ie,le;const[_e,Ze]=(0,n.useState)(Wn({},(0,X.useParams)())),[ye]=(0,X.useSearchParams)(),Ue=(0,X.useLocation)(),[Et,ve]=(0,n.useState)(ye.get("tabs")||"0"),[pt,ee]=(0,n.useState)(!1),[je,_t]=(0,n.useState)(1),m=(0,n.useRef)(null),{workList:pe,workSetting:ot}=I,[$t,ke]=(0,n.useState)(!1),[mt,st]=(0,n.useState)([]),[tn,Lt]=(0,n.useState)([]),[zt,Yt]=(0,n.useState)(!1),[Un,Oe]=(0,n.useState)(!1),[,,gt]=(0,We.U)(Re.Gw,{homeworkId:pe==null?void 0:pe.id});ye.get("category_id")&&Ze(Nu(Wn({},_e),{category:ye.get("category_id")})),(0,n.useEffect)(()=>{Ye()},[_e.coursesId]),(0,n.useEffect)(()=>{ce({type:"classroomList/getAssistantPermissions",payload:{course_id:_e.coursesId}})},[(0,r.bg)()]);const Ye=()=>{let lt=ye.get("page")&&JSON.parse(localStorage.getItem("grouphomeworkkey"));ce({type:"shixunHomeworks/getWorkList",payload:Wn(Wn({},_e),lt)})},gn=[{name:(0,r.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u54C1\u5217\u8868",id:0,component:nt.createElement(Sn,{zip:m,btnLoading:pt,setBtnLoading:ee})},((0,r.dE)()||(pe==null?void 0:pe.can_public_work))&&{name:"\u516C\u5F00\u4F5C\u54C1",id:"11",component:nt.createElement(vl,null)},{name:"\u4F5C\u4E1A\u63CF\u8FF0",id:1,component:nt.createElement("div",{className:"minH500"},nt.createElement(ft,null))},{name:"\u91CD\u505A\u8BB0\u5F55",id:9,hidden:(xe=pe.homework_status)==null?void 0:xe.includes("\u5BFC\u5165"),component:nt.createElement(yl,null)},{name:"\u5206\u7EC4\u8C03\u6574\u7533\u8BF7",id:6,component:nt.createElement(Wr,null)},{name:"\u53C2\u8003\u7B54\u6848",id:2,component:nt.createElement(cn,null)},(0,r.G5)()&&(ot==null?void 0:ot.anonymous_comment)&&{name:nt.createElement(x.Z,{dot:pe==null?void 0:pe.appeal_notice,offset:[5,-5]},nt.createElement("span",{style:{color:Et=="10"?"":"#b9b8b8"}},"\u533F\u8BC4\u8BE6\u60C5")),id:"10",component:nt.createElement(sl,null)},{name:(0,r.GJ)()?"\u8BBE\u7F6E":"\u5F97\u5206\u89C4\u5219",id:3,component:(De=pe==null?void 0:pe.homework_status)!=null&&De.includes("\u5BFC\u5165")?nt.createElement(Qr.Z,null):nt.createElement(Pr,null),forceRender:!0}].filter(lt=>pe!=null&&pe.view_answer?lt:(lt==null?void 0:lt.name)!=="\u53C2\u8003\u7B54\u6848").filter(lt=>pe!=null&&pe.is_show_request?lt:(lt==null?void 0:lt.name)!=="\u5206\u7EC4\u8C03\u6574\u7533\u8BF7").filter(lt=>(0,r.G5)()?lt:(lt==null?void 0:lt.name)!=="\u5B66\u751F\u5206\u7EC4").filter(lt=>{var Mt;return(Mt=pe==null?void 0:pe.homework_status)!=null&&Mt.includes("\u5BFC\u5165")?(0,r.dE)()?[0,1].includes(lt==null?void 0:lt.id):[0,1,3].includes(lt==null?void 0:lt.id):lt}),Fn=()=>{var lt,Mt,Nt,Ne,Me,Vt,wt,Ht,en,Tt,Jt,Ut,dn,On,Pn,Bt,Xn,uu;return nt.createElement("div",{className:gu.workListTabButton},(0,r.GJ)()&&nt.createElement(nt.Fragment,null,(((lt=pe.homework_status)==null?void 0:lt.includes("\u672A\u53D1\u5E03"))||((Mt=pe.homework_status)==null?void 0:Mt.includes("\u672A\u5F00\u59CB")))&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:nn=>{nn.preventDefault(),ce({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[_e.categoryId],selectArrsAll:[pe],params:Nu(Wn({},_e),{id:_e.coursesId}),type:2,manage_all_group:ot==null?void 0:ot.manage_all_group,detail:"\u66F4\u65B0"}})}},"\u7ACB\u5373\u53D1\u5E03"),!((Nt=pe.homework_status)!=null&&Nt.includes("\u672A\u53D1\u5E03"))&&!((Ne=pe.homework_status)!=null&&Ne.includes("\u672A\u5F00\u59CB"))&&!((Me=pe.homework_status)!=null&&Me.includes("\u5DF2\u622A\u6B62"))&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:nn=>{var mn,Fe;if((0,r.Rm)()&&!((Fe=(mn=C==null?void 0:C.AssistantObject)==null?void 0:mn.group)!=null&&Fe.can_stop)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nn.preventDefault(),ce({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",selectArrs:[_e.categoryId],selectArrsAll:[],params:Nu(Wn({},_e),{id:_e.coursesId}),type:2}})}},"\u7ACB\u5373\u622A\u6B62"),(0,r.j5)()&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("img",{style:{transform:"translate(-3px, -1px)"},src:Tr}),onClick:()=>{ce({type:"classroomList/setActionTabs",payload:{key:"\u667A\u80FD\u5206\u7EC4",params:Nu(Wn({},_e),{id:_e.coursesId})}})}},"\u667A\u80FD\u5206\u7EC4"),nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var nn,mn;if((0,r.Rm)()&&!((mn=(nn=C==null?void 0:C.AssistantObject)==null?void 0:nn.group)!=null&&mn.can_create)){h.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${_e.coursesId}/group_homework/${_e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A")),((Vt=pe==null?void 0:pe.work_statuses)==null?void 0:Vt.includes("\u53D6\u6D88\u5173\u8054"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>vu(void 0,null,function*(){const nn=yield(0,Re.rN)({homeworkId:_e.categoryId});(nn==null?void 0:nn.status)===0&&(h.ZP.success("\u53D6\u6D88\u5173\u8054\u6210\u529F"),ce({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)}))})},"\u53D6\u6D88\u5173\u8054"),((wt=pe==null?void 0:pe.work_statuses)==null?void 0:wt.includes("\u5173\u8054\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{var nn;return(0,d.xg)(`${(nn=B==null?void 0:B.setting)==null?void 0:nn.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),((Ht=pe==null?void 0:pe.work_statuses)==null?void 0:Ht.includes("\u5173\u8054\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:nn=>{nn.preventDefault(),ce({type:"classroomList/setActionTabs",payload:{key:"\u5173\u8054\u9879\u76EE",params:_e,selectArrs:{homework_id:_e.categoryId},cb:()=>{ce({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)})}}})}},"\u5173\u8054\u9879\u76EE"),((en=pe==null?void 0:pe.work_statuses)==null?void 0:en.includes("\u63D0\u4EA4\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/post`)},"\u63D0\u4EA4\u4F5C\u54C1"),((Tt=pe==null?void 0:pe.work_statuses)==null?void 0:Tt.includes("\u521B\u5EFA\u5206\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>vu(void 0,null,function*(){var nn;let mn=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_member_list.json`,{method:"get",params:{}});(mn==null?void 0:mn.status)===0&&(ke(!0),st(mn==null?void 0:mn.data),Lt((nn=mn==null?void 0:mn.data)==null?void 0:nn.filter(Fe=>{var Ae;return(Fe==null?void 0:Fe.user_id)===((Ae=Ee==null?void 0:Ee.userInfo)==null?void 0:Ae.user_id)})))})},"\u521B\u5EFA\u5206\u7EC4"),((Jt=pe==null?void 0:pe.work_statuses)==null?void 0:Jt.includes("\u52A0\u5165\u5206\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:(0,Be.throttle)(()=>vu(void 0,null,function*(){var nn;let mn=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_group_list.json`,{method:"get"});if((mn==null?void 0:mn.status)===0){if(((nn=mn==null?void 0:mn.data)==null?void 0:nn.length)<=0){h.ZP.info("\u6682\u65E0\u5206\u7EC4");return}Yt(!0),Oe(mn==null?void 0:mn.data)}}),300)},"\u52A0\u5165\u5206\u7EC4"),((Ut=pe==null?void 0:pe.work_statuses)==null?void 0:Ut.includes("\u66F4\u6362\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{ce({type:"classroomList/setActionTabs",payload:{key:"\u66F4\u6362\u9879\u76EE",params:_e,selectArrs:{homework_id:pe==null?void 0:pe.id},cb:()=>{ce({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)})}}})}},"\u66F4\u6362\u9879\u76EE"),((dn=pe==null?void 0:pe.work_statuses)==null?void 0:dn.includes("\u7533\u8BF7\u6362\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{ce({type:"classroomList/setActionTabs",payload:{key:"\u7533\u8BF7\u6362\u7EC4",params:_e}})}},"\u7533\u8BF7\u6362\u7EC4"),((On=pe==null?void 0:pe.work_statuses)==null?void 0:On.includes("\u4FEE\u6539\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{const nn=()=>{(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/${pe.id}/edit`)};if(ot!=null&&ot.can_submit&&!(ot!=null&&ot.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}nn()}},"\u4FEE\u6539\u4F5C\u54C1"),((Pn=pe==null?void 0:pe.work_statuses)==null?void 0:Pn.includes("\u8865\u4EA4\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/post`)},"\u8865\u4EA4\u4F5C\u54C1"),(((Bt=pe==null?void 0:pe.work_statuses)==null?void 0:Bt.includes("\u8865\u4EA4\u9644\u4EF6"))||((Xn=pe==null?void 0:pe.work_statuses)==null?void 0:Xn.includes("\u4FEE\u6539\u9644\u4EF6")))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{var nn;if(ot!=null&&ot.can_submit&&!(ot!=null&&ot.submit_size)){h.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}ce({type:"classroomList/setActionTabs",payload:{key:"\u8865\u4EA4\u9644\u4EF6",params:_e,selectArrs:Wn({},pe),title:(nn=pe==null?void 0:pe.work_statuses)!=null&&nn.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"}})}},(uu=pe==null?void 0:pe.work_statuses)!=null&&uu.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"))};return nt.createElement("section",{className:gu.bg},nt.createElement("div",{className:"edu-container"},pe.homework_name&&nt.createElement("section",{className:"animated fadeIn"},nt.createElement("aside",{className:"mt10"},pe.category&&nt.createElement(D.Z,{separator:">"},nt.createElement(D.Z.Item,null,nt.createElement(X.Link,{to:`/classrooms/${_e==null?void 0:_e.coursesId}/group_homework`},pe.course_name)),nt.createElement(D.Z.Item,null,nt.createElement(X.Link,{to:`/classrooms/${_e==null?void 0:_e.coursesId}/group_homework/${(Ce=pe==null?void 0:pe.category)!=null&&Ce.main?"":(re=pe==null?void 0:pe.category)==null?void 0:re.category_id}`},pe.category.category_name)),nt.createElement(D.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),nt.createElement("aside",{className:[gu.title,"mt20"].join(" ")},nt.createElement(X.Link,{to:`/classrooms/${pe.course_id}/group_homework`},nt.createElement(p.Z,{className:"font16 c-black"})),nt.createElement(b.Z,{placement:"topLeft",title:pe.homework_name},nt.createElement("strong",{className:[gu.title_style,"font20 ml5"].join(" ")},pe.homework_name)),nt.createElement(d.VV,{status:pe==null?void 0:pe.homework_status}))),nt.createElement("aside",{className:`mt30 relative ${gu.workListTabWrap}`},nt.createElement(l.default,{destroyInactiveTabPane:!0,type:"card",activeKey:Et,tabBarExtraContent:(de=pe.homework_status)!=null&&de.includes("\u5BFC\u5165")&&(0,r.GJ)()?nt.createElement(U.ZP,{icon:nt.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{ce({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:pe==null?void 0:pe.homework_name,id:pe==null?void 0:pe.homework_id,type:"group"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):Fn(),onTabClick:(lt,Mt)=>{const Nt=()=>{if(parseInt(lt)===2){if(!(pe!=null&&pe.view_answer)){h.ZP.info("\u672C\u6B21\u4F5C\u4E1A\u8001\u5E08\u672A\u516C\u5F00\u7B54\u6848");return}(pe==null?void 0:pe.time_status)>2||(0,r.Gg)()?ve(lt):h.ZP.info("\u622A\u6B62\u4E4B\u540E\u7684\u8BD5\u5377\u624D\u80FD\u67E5\u770B\u7B54\u6848")}else parseInt(lt)===3&&ce({type:"shixunHomeworks/getWorkSetting",payload:Wn({},_e)}),ve(lt)};lt!=="11"&&Ye(),I.actionTabs.key=="\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"?P.default.confirm({centered:!0,title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",onOk:()=>{Nt(),ce({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}}):Nt()},className:gu.tabs,items:gn.map(lt=>({label:lt.name,key:`${lt.id}`,children:lt.component,forceRender:lt.forceRender}))}))),nt.createElement(kr.Z,null),nt.createElement(P.default,{title:"\u521B\u5EFA\u5206\u7EC4",open:$t,width:800,onCancel:()=>{ke(!1),Lt([])},onOk:()=>vu(void 0,null,function*(){var lt,Mt;if(((lt=pe==null?void 0:pe.group_data)==null?void 0:lt.max_num)<(tn==null?void 0:tn.length)){h.ZP.error(`\u4EBA\u6570\u4E0D\u80FD\u8D85\u8FC7${(Mt=pe==null?void 0:pe.group_data)==null?void 0:Mt.max_num}`);return}let Nt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/create_group.json`,{method:"post",body:{user_id:tn==null?void 0:tn.map(Ne=>Ne.user_id)}});(Nt==null?void 0:Nt.status)===0&&(h.ZP.info("\u521B\u5EFA\u6210\u529F"),Ye(),ke(!1))})},nt.createElement("div",null,nt.createElement(g.Z,{style:{marginBottom:10}},nt.createElement(o.Z,{span:12},"\u7EC4\u5458\u6570\u91CF\u8981\u6C42\uFF1A",(et=pe==null?void 0:pe.group_data)==null?void 0:et.min_num,"~",(tt=pe==null?void 0:pe.group_data)==null?void 0:tt.max_num,"\u4EBA"),nt.createElement(o.Z,{span:12},nt.createElement(w.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onSearch:lt=>vu(void 0,null,function*(){let Mt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_member_list.json`,{method:"get",params:{keyword:lt}});(Mt==null?void 0:Mt.status)===0&&st(Mt==null?void 0:Mt.data)})}))),nt.createElement(F.default,{dataSource:mt,pagination:!1,rowKey:lt=>lt.user_id,style:{border:"1px solid #F6F7F9",minWidth:550},rowSelection:{type:"checkbox",getCheckboxProps:lt=>({disabled:(lt==null?void 0:lt.user_id)===Ee.userInfo.user_id}),selectedRowKeys:tn==null?void 0:tn.map(lt=>lt.user_id),onChange(lt,Mt,Nt){Lt([...Mt])}},scroll:{y:400},columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u5206\u73ED",dataIndex:"course_group_name",key:"course_group_name"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id"}]}))),nt.createElement(P.default,{title:"\u52A0\u5165\u5206\u7EC4",open:zt,width:800,onCancel:()=>{Yt(!1)},footer:!1},nt.createElement("div",null,nt.createElement(g.Z,{style:{marginBottom:10}},nt.createElement(o.Z,{span:12},"\u7EC4\u5458\u6570\u91CF\u8981\u6C42\uFF1A",(Ie=pe==null?void 0:pe.group_data)==null?void 0:Ie.min_num,"~",(le=pe==null?void 0:pe.group_data)==null?void 0:le.max_num,"\u4EBA"),nt.createElement(o.Z,{span:12},nt.createElement(w.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u961F\u957F\u540D\u79F0",onSearch:lt=>vu(void 0,null,function*(){let Mt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_group_list.json`,{method:"get",params:{keyword:lt}});(Mt==null?void 0:Mt.status)===0&&Oe(Mt==null?void 0:Mt.data)})}))),nt.createElement(F.default,{dataSource:Un,pagination:!1,rowKey:lt=>lt.user_id,style:{border:"1px solid #F6F7F9",minWidth:550},scroll:{y:400},columns:[{title:"\u7EC4\u540D",dataIndex:"group_name",key:"group_name"},{title:"\u961F\u957F",dataIndex:"leader_name",key:"leader_name"},{title:"\u6210\u5458\u6570",dataIndex:"user_list",key:"user_list"},{title:"\u64CD\u4F5C",dataIndex:"group_id",key:"group_id",render:(lt,Mt)=>nt.createElement(U.ZP,{disabled:Mt==null?void 0:Mt.can_join,onClick:()=>vu(void 0,null,function*(){let Nt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/join_group.json`,{method:"post",body:{group_id:lt}});(Nt==null?void 0:Nt.status)===0&&(h.ZP.info("\u52A0\u5165\u6210\u529F"),Ye(),Yt(!1))})},Mt!=null&&Mt.can_join?"\u5DF2\u6EE1":"\u52A0\u5165")}]}))),nt.createElement(Sr.Z,null),nt.createElement(Xr.Z,{onOk:()=>{Ye()}}),nt.createElement($r.Z,{onOk:()=>{Ye()}}),nt.createElement(Vn.Z,{type:"edit",onCallback:()=>Ye(),courseEndTime:pe==null?void 0:pe.course_end_date}),nt.createElement(Da.Z,{courseEndTime:pe==null?void 0:pe.course_end_date,successCallback:()=>Ye(),visible:C.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[_e.categoryId],courseId:_e.coursesId,isBatch:!1}),nt.createElement(xa,{cb:()=>{_t(je+1),ve("0"),Ye()}}),nt.createElement(Jr,{cb:()=>{}}),nt.createElement(Ir.Z,{ref:m,hide:!0,name:`${pe==null?void 0:pe.homework_name}-\u4F5C\u54C1\u9644\u4EF6`,onOk:()=>ee(!1)}))};var Dl=(0,X.connect)(({user:I,shixunHomeworks:C,loading:B,globalSetting:ce,classroomList:Ee})=>({user:I,shixunHomeworks:C,globalSetting:ce,loading:B.effects,classroomList:Ee}))(xl)},99562:function(yt,Ke,s){"use strict";var n=s(78241),X=s(43418),x=s(8591),U=s(92832),h=s(36708),D=s(89070),b=s(57490),l=s(59301),P=Object.defineProperty,g=Object.defineProperties,o=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(T,K,k)=>K in T?P(T,K,{enumerable:!0,configurable:!0,writable:!0,value:k}):T[K]=k,r=(T,K)=>{for(var k in K||(K={}))F.call(K,k)&&d(T,k,K[k]);if(w)for(var k of w(K))p.call(K,k)&&d(T,k,K[k]);return T},f=(T,K)=>g(T,o(K)),v=(T,K,k)=>new Promise((te,L)=>{var $=ae=>{try{V(k.next(ae))}catch(S){L(S)}},M=ae=>{try{V(k.throw(ae))}catch(S){L(S)}},V=ae=>ae.done?te(ae.value):Promise.resolve(ae.value).then($,M);V((k=k.apply(T,K)).next())});const O=({classroomList:T,loading:K,dispatch:k,shixunHomeworks:te})=>{const L=(0,D.useParams)(),[$]=n.default.useForm(),{workList:M,workSetting:V}=te,ae=()=>{k({type:"shixunHomeworks/getWorkSetting",payload:r({},L)}),k({type:"shixunHomeworks/getWorkList",payload:r({},L)})};return l.createElement(X.default,{centered:!0,title:T.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6",open:T.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>v(void 0,null,function*(){const S=()=>v(void 0,null,function*(){var ue;yield $.validateFields();const c=r({},$.getFieldValue()),{selectArrs:ne}=T.actionTabs;c.attachment_ids=(ue=c.attachment_ids)==null?void 0:ue.map(q=>q.response.id),(yield(0,h.mz)(f(r({},c),{homeworkId:ne.work_id}))).status===0&&($.resetFields(),k({type:"classroomList/setActionTabs",payload:{}}),ae())});if(V!=null&&V.can_submit){if(!(V!=null&&V.submit_size)){x.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}X.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:l.createElement(l.Fragment,null,"\u4F60\u8FD8\u6709 ",l.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},V==null?void 0:V.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{S()}});return}S()}),onCancel:()=>{k({type:"classroomList/setActionTabs",payload:{}})}},l.createElement(n.default,{form:$,initialValues:{}},l.createElement(n.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},l.createElement(b.Z,null)),l.createElement(n.default.Item,{name:"description"},l.createElement(U.default.TextArea,{placeholder:`\u8BF7\u5728\u6B64\u8F93\u5165${T.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6"}\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26`,rows:7}))))};Ke.Z=(0,D.connect)(({classroomList:T,shixunHomeworks:K,loading:k})=>({classroomList:T,shixunHomeworks:K,loading:k}))(O)},56845:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),x=s(43418),U=s(61621),h=s(92832),D=s(5112),b=s(95237),l=s(43604),P=s(26724),g=s.n(P),o=s(99064),w=s(36708),F=s(89070),p=s(59301),d=Object.defineProperty,r=Object.defineProperties,f=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,K=(M,V,ae)=>V in M?d(M,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):M[V]=ae,k=(M,V)=>{for(var ae in V||(V={}))O.call(V,ae)&&K(M,ae,V[ae]);if(v)for(var ae of v(V))T.call(V,ae)&&K(M,ae,V[ae]);return M},te=(M,V)=>r(M,f(V)),L=(M,V,ae)=>new Promise((S,ue)=>{var c=q=>{try{Q(ae.next(q))}catch(oe){ue(oe)}},ne=q=>{try{Q(ae.throw(q))}catch(oe){ue(oe)}},Q=q=>q.done?S(q.value):Promise.resolve(q.value).then(c,ne);Q((ae=ae.apply(M,V)).next())});const $=({classroomList:M,loading:V,globalSetting:ae,dispatch:S})=>{var ue;const c=(0,F.useParams)(),[ne]=X.default.useForm(),[Q,q]=(0,n.useState)(!0);let[oe,Y]=(0,n.useState)([]);const[A,E]=(0,n.useState)({page:1,limit:20,keyword:""}),_=()=>L(void 0,null,function*(){var N;const H=yield S({type:"shixunHomeworks/getProjectList",payload:k(k({},c),A)});H.projects&&Y([...oe,...H.projects]),((N=H.projects)==null?void 0:N.length)<20&&q(!1)});return(0,n.useEffect)(()=>{(M.actionTabs.key==="\u5173\u8054\u9879\u76EE"||M.actionTabs.key==="\u66F4\u6362\u9879\u76EE")&&(_(),oe=[],A.page=1,A.keyword="")},[M.actionTabs.key]),p.createElement(x.default,{centered:!0,title:M.actionTabs.key==="\u66F4\u6362\u9879\u76EE"?"\u66F4\u6362\u9879\u76EE":"\u5173\u8054\u9879\u76EE",open:M.actionTabs.key==="\u5173\u8054\u9879\u76EE"||M.actionTabs.key==="\u66F4\u6362\u9879\u76EE",bodyStyle:{minHeight:100},onOk:()=>L(void 0,null,function*(){yield ne.validateFields();const N=k({},ne.getFieldValue()),{selectArrs:H,cb:J}=M.actionTabs;if(M.actionTabs.key==="\u66F4\u6362\u9879\u76EE"){let Se=yield(0,o.ZP)(`/api/student_works/${H.homework_id}/change_project.json`,{method:"put",body:k({},N)});(Se==null?void 0:Se.status)===0&&(J(),S({type:"classroomList/setActionTabs",payload:{}}));return}(yield(0,w.co)(te(k({},N),{homeworkId:H.homework_id}))).status===0&&(J?J():S({type:"classroomList/getClassroomCommonHomeworksList",payload:k({},M.actionTabs.params)}),S({type:"classroomList/setActionTabs",payload:{}}))}),onCancel:()=>{S({type:"classroomList/setActionTabs",payload:{}})}},p.createElement(U.Z,{loading:V["shixunHomeworks/getProjectList"],active:!0},oe==""?p.createElement("aside",null,p.createElement("div",{className:"tc font14 pt20"},"\u60A8\u5F53\u524D\u5C1A\u672A\u7BA1\u7406\u4EFB\u4F55\u9879\u76EE\uFF0C\u8BF7\u5148",p.createElement("a",{href:`${(ue=ae==null?void 0:ae.setting)==null?void 0:ue.old_url}/projects/deposit/new`,target:"_blank"},"\u521B\u5EFA\u9879\u76EE"),"\u518D\u5173\u8054")):p.createElement("aside",null,p.createElement("div",{className:" mb20"},p.createElement(h.default.Search,{onSearch:N=>{N===""?delete A.keyword:A.keyword=N,oe=[],q(!0),_()},placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,size:"middle"})),p.createElement(X.default,{form:ne,initialValues:{}},p.createElement(X.default.Item,{name:"project_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE"}]},p.createElement(D.ZP.Group,null,p.createElement(g(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:N=>{A.page++,_()},hasMore:Q,useWindow:!1},oe==null?void 0:oe.map(function(N,H){return p.createElement(b.Z,{key:H},p.createElement(l.Z,null,p.createElement(D.ZP,{value:N.id},N.name)))}))))))))};Ke.Z=(0,F.connect)(({classroomList:M,user:V,loading:ae,globalSetting:S})=>({classroomList:M,user:V,loading:ae.effects,globalSetting:S}))($)},95036:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),x=s(8591),U=s(43418),h=s(95237),D=s(43604),b=s(5083),l=s(5112),P=s(24905),g=s(61186),o=s.n(g),w=s(99064),F=s(24065),p=s(955),d=s(89070),r=s(59437),f=s(50757),v=s(92365),O=s(79834),T=s(59301),K=Object.defineProperty,k=Object.defineProperties,te=Object.getOwnPropertyDescriptors,L=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,V=(Q,q,oe)=>q in Q?K(Q,q,{enumerable:!0,configurable:!0,writable:!0,value:oe}):Q[q]=oe,ae=(Q,q)=>{for(var oe in q||(q={}))$.call(q,oe)&&V(Q,oe,q[oe]);if(L)for(var oe of L(q))M.call(q,oe)&&V(Q,oe,q[oe]);return Q},S=(Q,q)=>k(Q,te(q)),ue=(Q,q)=>{var oe={};for(var Y in Q)$.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&L)for(var Y of L(Q))q.indexOf(Y)<0&&M.call(Q,Y)&&(oe[Y]=Q[Y]);return oe},c=(Q,q,oe)=>new Promise((Y,A)=>{var E=H=>{try{N(oe.next(H))}catch(J){A(J)}},_=H=>{try{N(oe.throw(H))}catch(J){A(J)}},N=H=>H.done?Y(H.value):Promise.resolve(H.value).then(E,_);N((oe=oe.apply(Q,q)).next())});const ne=Q=>{var q=Q,{classroomList:oe,dispatch:Y,courseEndTime:A}=q,E=ue(q,["classroomList","dispatch","courseEndTime"]);const _=(0,d.useParams)(),[N]=X.default.useForm(),[H,J]=(0,n.useState)(1),[me,Se]=(0,n.useState)([]),[be,Be]=(0,n.useState)(0),[we,z]=(0,n.useState)(2e3),[We,Re]=(0,n.useState)(!0),[u,j]=(0,n.useState)(!1),[i,t]=(0,n.useState)(!1),[e,a]=(0,n.useState)([]),[y,W]=(0,n.useState)(!0),[Z,se]=(0,n.useState)(null);(0,n.useEffect)(()=>{if(oe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(ge(),Te(),oe.actionTabs.type===2){const Ge=oe.actionTabs.selectArrsAll[0];se({submit_limit:Ge==null?void 0:Ge.submit_limit,submit_limit_num:Ge==null?void 0:Ge.submit_limit_num,must_file:Ge==null?void 0:Ge.must_file,can_submit:Ge==null?void 0:Ge.can_submit,submit_num:Ge==null?void 0:Ge.submit_num}),W(Ge.unified_setting)}else W(!1),se({submit_limit:!1,submit_limit_num:200,must_file:!1,can_submit:!1,submit_num:3})},[oe.actionTabs]),(0,n.useEffect)(()=>{if(u){if(i)return;Y({type:"classroomList/setActionTabs",payload:{}}),(0,F.GJ)()?Y({type:"classroomList/getClassroomTeacherCommonList",payload:S(ae({},oe.actionTabs.params),{type:3})}):Y({type:"classroomList/getClassroomCommonList",payload:ae({},oe.actionTabs.params)})}},[u]);const ge=Ge=>c(void 0,null,function*(){Re(!0);const xt=yield(0,v.c_)(S(ae({},_),{page:Ge||H,limit:2e4,homework_id:oe.actionTabs.type===1?"":oe.actionTabs.selectArrs[0]}));xt==null||xt.course_groups.map((un,At)=>{un.key=un.id,un.title=un.name,un.disabled=un.is_published}),xt&&(Se([...xt==null?void 0:xt.course_groups]),Be(xt==null?void 0:xt.course_groups_count),Re(!1),Ge||N.setFieldsValue({publish_time:o()(o()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:o()(o()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),fe=Ge=>{J(Ge),ge(Ge)},R=()=>{(0,F.GJ)()?oe.actionTabs.detail?(Y({type:"shixunHomeworks/setActionTabs",payload:{}}),Y({type:"shixunHomeworks/getWorkList",payload:ae({},_)}),Y({type:"shixunHomeworks/getWorkSetting",payload:ae({},_)})):Y({type:"classroomList/getClassroomTeacherCommonList",payload:S(ae({},oe.actionTabs.params),{type:3})}):Y({type:"classroomList/getClassroomCommonList",payload:ae({},oe.actionTabs.params)})},He=()=>c(void 0,null,function*(){var Ge,xt,un;if((0,F.Rm)()&&!((xt=(Ge=oe==null?void 0:oe.AssistantObject)==null?void 0:Ge.group)!=null&&xt.can_publish)){x.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Ot(!1);return}const At=ae({},N.getFieldsValue());if(At.end_time<=At.publish_time){x.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Ot(!1);return}if((e==null?void 0:e.length)<=0&&!y&&me.length>0){x.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}if(Z!=null&&Z.submit_limit&&!(Z!=null&&Z.submit_limit_num)){x.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}if(Z!=null&&Z.can_submit&&!(Z!=null&&Z.submit_num)){x.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}let Xt=ae({homework_ids:[...oe.actionTabs.selectArrs],group_ids:e.length>0?e.map(Sn=>Sn.id):(un=oe.detailCommonHomeworksList)==null?void 0:un.course_groups,end_time:o()(At.end_time).format("YYYY-MM-DD HH:mm"),publish_time:o()(At.publish_time).format("YYYY-MM-DD HH:mm"),unified_setting:!e.length},Z);Ot(!0),(yield(0,w.ZP)(`/api/courses/${_.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ae({},Xt)})).status===0?(Ot(!1),(0,p.L9)(["\u6559\u5B66\u8BFE\u5802","\u5206\u7EC4\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),x.ZP.success("\u53D1\u5E03\u6210\u529F"),Y({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),E.onCallback&&E.onCallback(),R(),localStorage.getItem("Noviceguide")==="0"||Y({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:T.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})):Ot(!1)}),Te=()=>{J(1),Se([]),a([])},at=be>H*we,{detailCommonHomeworksList:Rt}=oe,[qt,Ot]=(0,n.useState)(!1);return T.createElement(U.default,{width:600,confirmLoading:qt,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:oe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:He,onCancel:()=>{Te(),R(),Y({type:"classroomList/setActionTabs",payload:{}})}},T.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",T.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),me&&T.createElement(X.default,{form:N},T.createElement("div",{style:{paddingLeft:0}},T.createElement(h.Z,{className:"mt30",align:"middle"},T.createElement(D.Z,null,T.createElement(X.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},T.createElement(b.default,{style:{width:170,marginRight:"25px"},disabledDate:Ge=>(0,O.Q8)(Ge,A),disabledTime:Ge=>(0,O.d0)(Ge),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,p.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),T.createElement(D.Z,{className:"ml20"},T.createElement(X.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},T.createElement(b.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,p.U6)(),"HH:mm")},disabledDate:Ge=>(0,O.Q8)(Ge,A,N.getFieldValue("publish_time")),disabledTime:Ge=>(0,O.d0)(Ge,N.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),oe.actionTabs.type===2&&T.createElement(h.Z,{style:{marginBottom:"10px"}},T.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),T.createElement(l.ZP.Group,{value:y,onChange:Ge=>{W(Ge.target.value),a([])}},T.createElement(l.ZP,{value:!0,disabled:!oe.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),T.createElement(l.ZP,{className:"ml20",disabled:me.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),me.length<=0&&oe.actionTabs.type===2&&T.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(oe.actionTabs.type===1||!y)&&me.length>0&&T.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},T.createElement("span",{style:{flex:1}},T.createElement(P.default,{checked:e.length===me.length,onChange:Ge=>{e.length===me.length?a([]):a(me.filter(xt=>!xt.is_published))}},"\u5168\u9009")),T.createElement("span",{style:{width:16}}),T.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",e.length||0,"\u4E2A\u5206\u73ED")),(oe.actionTabs.type===1||!y)&&me.length>0&&T.createElement(r.Z,{data:me,selectedRowKeys:e,setSelectedRowKeys:a})),T.createElement(f.ZP,{value:Z,onChange:Ge=>se(ae({},Ge))}))};Ke.Z=(0,d.connect)(({classroomList:Q})=>({classroomList:Q}))(ne)},33441:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return $}});var n=s(59301),X={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},x=Object.defineProperty,U=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,b=(M,V,ae)=>V in M?x(M,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):M[V]=ae,l=(M,V)=>{for(var ae in V||(V={}))h.call(V,ae)&&b(M,ae,V[ae]);if(U)for(var ae of U(V))D.call(V,ae)&&b(M,ae,V[ae]);return M};const P=M=>React.createElement("svg",l({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},M),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var g="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",o=s(99313),w=s(92310),F=s.n(w),p=s(59301),d=Object.defineProperty,r=Object.defineProperties,f=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,K=(M,V,ae)=>V in M?d(M,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):M[V]=ae,k=(M,V)=>{for(var ae in V||(V={}))O.call(V,ae)&&K(M,ae,V[ae]);if(v)for(var ae of v(V))T.call(V,ae)&&K(M,ae,V[ae]);return M},te=(M,V)=>r(M,f(V)),$=({dataSource:M,className:V,style:ae})=>{const[S,ue]=(0,n.useState)([]),[c,ne]=(0,n.useState)(""),Q=(0,n.useRef)("");(0,n.useEffect)(()=>{if(M!=null&&M.length){const Y=String(Math.random()).slice(-6),A=M.map(E=>te(k({},E),{key:`${Y}-${E.key}`}));ue(A),ne(A[0].key)}},[M.length]);const q=Y=>{ne(Y),Q.current=Y;const A=document.getElementById(Y);if(A){const E=A.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:E,behavior:"smooth"})}},oe=()=>{const Y=S.map(E=>document.getElementById(E.key)),A=window.innerHeight/2;for(const E of Y)if(E){const _=E.getBoundingClientRect();if(_.top>=0&&_.top(window.addEventListener("scroll",oe),()=>{window.removeEventListener("scroll",oe)}),[S]),p.createElement("div",{className:F()(X.anchorNavigation,V),style:ae},p.createElement(o.default,{items:S,tabBarGutter:60,className:X.tabs,activeKey:c,onChange:q}),S.map(Y=>p.createElement("div",{key:Y.key,id:Y.key,className:X.box},p.createElement("div",{className:X.head},p.createElement("img",{className:"mr10",src:g,alt:"Dot"}),Y.label),p.createElement("div",{className:X.element},Y.element))))}},7621:function(yt,Ke,s){"use strict";var n=s(59301),X=s(54580),x=s(78241),U=s(43418),h=s(5871),D=s(89070),b=s(99064),l=s(61186),P=s.n(l),g=s(955),o=s(59301),w=Object.defineProperty,F=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,v=(L,$,M)=>$ in L?w(L,$,{enumerable:!0,configurable:!0,writable:!0,value:M}):L[$]=M,O=(L,$)=>{for(var M in $||($={}))r.call($,M)&&v(L,M,$[M]);if(d)for(var M of d($))f.call($,M)&&v(L,M,$[M]);return L},T=(L,$)=>F(L,p($)),K=(L,$,M)=>new Promise((V,ae)=>{var S=ne=>{try{c(M.next(ne))}catch(Q){ae(Q)}},ue=ne=>{try{c(M.throw(ne))}catch(Q){ae(Q)}},c=ne=>ne.done?V(ne.value):Promise.resolve(ne.value).then(S,ue);c((M=M.apply(L,$)).next())});const{Dragger:k}=X.default,te=({classroomList:L,dispatch:$,onOk:M})=>{const V=(0,D.useParams)(),[ae]=x.default.useForm(),[S,ue]=(0,n.useState)(),[c,ne]=(0,n.useState)(!1),Q={height:100,onRemove:()=>{ue("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:q=>K(void 0,null,function*(){return ue(q),!1})};return(0,n.useEffect)(()=>{ae.setFieldsValue({publish_time:P()(P()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:P()(P()(new Date((0,g.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),o.createElement(U.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:L.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:c},onOk:()=>K(void 0,null,function*(){ae.submit()}),onCancel:()=>{ae.resetFields(),$({type:"classroomList/setActionTabs",payload:{}})}},o.createElement(x.default,{form:ae,onFinish:q=>K(void 0,null,function*(){var oe,Y;console.log("---",L.actionTabs,q,V);let A=((oe=L==null?void 0:L.actionTabs)==null?void 0:oe.type)==="exercise"?`/api/exercises/${V==null?void 0:V.category}/exercise_user/edit_score.json`:`/api/student_works/${L.actionTabs.id}/edit_score.json`;ne(!0);let E=yield(0,b.ZP)(A,{method:"post",body:T(O({},q),{exercise_user_id:((Y=L==null?void 0:L.actionTabs)==null?void 0:Y.type)==="exercise"?L.actionTabs.id:""})});ne(!1),ae.resetFields(),$({type:"classroomList/setActionTabs",payload:{}}),M()})},o.createElement(x.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},o.createElement(h.Z,{min:0,style:{width:"100%"}}))))};Ke.Z=(0,D.connect)(({classroomList:L})=>({classroomList:L}))(te)},25060:function(yt,Ke,s){"use strict";var n=s(59301),X=s(54580),x=s(78241),U=s(3113),h=s(95237),D=s(81327),b=s(5083),l=s(89070),P=s(61186),g=s.n(P),o=s(79834),w=s(99064),F=s(59301),p=(f,v,O)=>new Promise((T,K)=>{var k=$=>{try{L(O.next($))}catch(M){K(M)}},te=$=>{try{L(O.throw($))}catch(M){K(M)}},L=$=>$.done?T($.value):Promise.resolve($.value).then(k,te);L((O=O.apply(f,v)).next())});const{Dragger:d}=X.default,r=({})=>{const f=(0,l.useParams)(),[v]=x.default.useForm(),[O,T]=(0,n.useState)(!0),[K,k]=(0,n.useState)(!1);console.log("----",f);function te(){return p(this,null,function*(){var L,$;let M;window.location.href.indexOf("exercise")>-1?M=`/api/exercises/${f==null?void 0:f.categoryId}/get_time_setting.json`:M=`/api/homework_commons/${f==null?void 0:f.categoryId}/get_time_setting.json`;let V=yield(0,w.ZP)(M,{method:"get"});(V==null?void 0:V.status)===0&&v.setFieldsValue({publish_time:g()(g()((L=V==null?void 0:V.data)==null?void 0:L.publish_time).format("YYYY-MM-DD HH:mm")),end_time:g()(g()(($=V==null?void 0:V.data)==null?void 0:$.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,n.useEffect)(()=>{te()},[]),F.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},F.createElement("div",{style:{textAlign:"end"}},O&&F.createElement(U.ZP,{onClick:()=>{T(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!O&&F.createElement("div",null,F.createElement(U.ZP,{type:"primary",loading:K,onClick:()=>{v.submit()}},"\u63D0\u4EA4"),F.createElement(U.ZP,{style:{marginLeft:20},onClick:()=>{T(!0)}},"\u53D6\u6D88"))),F.createElement(x.default,{form:v,disabled:O,onFinish:L=>p(void 0,null,function*(){k(!0),console.log("---",window.location.href);let $;window.location.href.indexOf("exercise")>-1?$=`/api/exercises/${f==null?void 0:f.categoryId}/time_setting.json`:$=`/api/homework_commons/${f==null?void 0:f.categoryId}/time_setting.json`;let M=yield(0,w.ZP)($,{method:"post",body:{publish_time:g()(L.publish_time).format("YYYY-MM-DD HH:mm"),end_time:g()(L.end_time).format("YYYY-MM-DD HH:mm")}});k(!1),(M==null?void 0:M.status)===0&&T(!0)})},F.createElement(h.Z,null,F.createElement(D.Z,null,F.createElement(x.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},F.createElement(b.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:L=>(0,o.Q8)(L),disabledTime:L=>(0,o.d0)(L),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),F.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),F.createElement(h.Z,null,F.createElement(D.Z,null,F.createElement(x.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},F.createElement(b.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:L=>(0,o.Q8)(L,"",v.getFieldValue("publish_time")),disabledTime:L=>(0,o.d0)(L,v.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),F.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};Ke.Z=(0,l.connect)(({classroomList:f})=>({classroomList:f}))(r)},59437:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return g}});var n=s(59301),X=s(92832),x=s(24905),U=s(95237),h={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",b=s(8797),l=(o,w,F)=>new Promise((p,d)=>{var r=O=>{try{v(F.next(O))}catch(T){d(T)}},f=O=>{try{v(F.throw(O))}catch(T){d(T)}},v=O=>O.done?p(O.value):Promise.resolve(O.value).then(r,f);v((F=F.apply(o,w)).next())}),g=({data:o,value:w=[],handleChangePage:F,setSelectedRowKeys:p,selectedRowKeys:d,onChange:r=()=>{}})=>{const[f,v]=(0,n.useState)([]),[O,T]=(0,n.useState)([]),[K,k]=(0,n.useState)([]);let[te,L]=(0,n.useState)(1),[$,M]=(0,n.useState)();return(0,n.useEffect)(()=>{v(o),T([]),k([])},[o]),(0,n.useEffect)(()=>{p&&(T(d),k(d))},[d]),n.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},n.createElement("div",{className:h.leftdiv},n.createElement(X.default.Search,{size:"middle",onChange:V=>l(void 0,null,function*(){v(o.filter(ae=>{var S;return(S=ae==null?void 0:ae.name)==null?void 0:S.includes(V.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),f.length===0&&n.createElement(b.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),n.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},n.createElement(x.default.Group,{value:O.map(V=>`${V.id}`),onChange:V=>{p(f.filter(ae=>V.includes(`${ae.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},f.map((V,ae)=>n.createElement(U.Z,{key:V.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},n.createElement(x.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:V.is_published,value:`${V.id}`},n.createElement("div",{className:h.listClass},n.createElement("span",{className:h.spantitle,style:{width:V.is_published?"108px":"170px"}},V.name),V.is_published&&n.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),n.createElement("div",{className:h.rightdiv},n.createElement(X.default.Search,{onChange:V=>{k(O.filter(ae=>ae.name.includes(V.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),K.length===0&&n.createElement(b.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),K.length>0&&n.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},n.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},K.map((V,ae)=>n.createElement(U.Z,{justify:"space-between",style:{marginTop:"10px"},key:V.id},n.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},V.name),n.createElement("img",{src:D,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{p(O.filter(S=>`${S.id}`!=`${V.id}`))}})))))))}},50757:function(yt,Ke,s){"use strict";s.d(Ke,{Ei:function(){return v},rU:function(){return O},ZP:function(){return K}});var n=s(59301),X={wrap:"wrap___W3YuU",title:"title___OzKge",exhibition:"exhibition___ugphm",title_icon:"title_icon___QGbm6"},x=s(78241),U=s(24905),h=s(5871),D=s(95237),b=s(43604),l=s(6848),P=s(92310),g=s.n(P),o=s(59301),w=Object.defineProperty,F=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,r=(k,te,L)=>te in k?w(k,te,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[te]=L,f=(k,te)=>{for(var L in te||(te={}))p.call(te,L)&&r(k,L,te[L]);if(F)for(var L of F(te))d.call(te,L)&&r(k,L,te[L]);return k};const v=({value:k,className:te,style:L})=>{const[$,M]=(0,n.useState)("0");(0,n.useEffect)(()=>{if(k){const{submit_limit:ae,must_file:S}=k;if(ae&&S){M("1");return}if(ae&&!S){M("2");return}if(!ae&&S){M("3");return}}},[k]);const V={1:o.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",o.createElement("span",{className:"ml5 mr5 c-light-primary"},k==null?void 0:k.submit_limit_num),"\u5B57\u7B26\uFF0C\u5E76\u4E14\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002"),2:o.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",o.createElement("span",{className:"ml5 mr5 c-light-primary"},k==null?void 0:k.submit_limit_num),"\u5B57\u7B26"),3:o.createElement("span",null,"\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002")};return $==="0"?o.createElement(o.Fragment,null):o.createElement("section",{className:g()(X.exhibition,te),style:L},o.createElement("span",{className:"c-grey-666 mr10"},"\u63D0\u4EA4\u4F5C\u4E1A\u8981\u6C42\uFF1A"),V==null?void 0:V[$])},O=({className:k,style:te,form:L})=>{const $=x.default.useWatch("submit_limit",L),M=x.default.useWatch("can_submit",L);return o.createElement("section",{className:g()(X.wrap,k),style:te},o.createElement("div",{className:`${X.title}`},o.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),o.createElement("div",null,o.createElement("div",{style:{display:"flex",background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},o.createElement(x.default.Item,{name:"can_submit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A")),o.createElement(x.default.Item,{name:"submit_num",rules:M&&[{required:!0,message:"\u8BF7\u586B\u5199\u4F5C\u54C1\u6B21\u6570"}]},o.createElement(h.Z,{precision:0,min:1,disabled:!M,size:"large",addonAfter:"\u6B21",style:{width:223}})),o.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\u5C06\u9650\u5236\u5B66\u751F\u63D0\u4EA4\u4F5C\u4E1A\u6B21\u6570\uFF1B\u6253\u56DE\u91CD\u505A\u540E\u5141\u8BB8\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\uFF1B\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u7528\u5B8C\u6B21\u6570\u7684\u5B66\u751F\u53EF\u989D\u5916\u63D0\u4EA4\u4E00\u6B21\uFF09")),o.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px"}},o.createElement(x.default.Item,{name:"submit_limit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u586B\u5199\u5185\u5BB9\u81F3\u5C11")),o.createElement(x.default.Item,{className:"mr10",name:"submit_limit_num",rules:$&&[{required:!0,message:"\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"}]},o.createElement(h.Z,{precision:0,min:1,disabled:!$,size:"large",addonAfter:"\u5B57",style:{width:223,marginRight:100}}))),o.createElement("div",{style:{background:"#F6F7F9",marginTop:1,padding:"5px 30px"}},o.createElement(x.default.Item,{name:"must_file",valuePropName:"checked",style:{marginLeft:0,lineHeight:"40px"}},o.createElement(U.default,null,"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))),o.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},o.createElement(x.default.Item,{name:"can_deadline_submit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u4F5C\u4E1A\u622A\u6B62\u540E\u5141\u8BB8\u4FEE\u6539\u9644\u4EF6")),o.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4FEE\u6539\u9644\u4EF6\uFF0C\u672A\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5219\u4E0D\u80FD\u4E0A\u4F20\u6216\u4FEE\u6539\u9644\u4EF6\uFF09"))))};var K=({value:k,onChange:te,className:L,style:$,disabled:M=!1,checkMarginLeft:V=0})=>{const ae={submit_limit:!1,submit_limit_num:200,must_file:!1},[S,ue]=(0,n.useState)({});(0,n.useEffect)(()=>{if(console.log(k,"value"),!k)return;const ne={submit_limit:k==null?void 0:k.submit_limit,submit_limit_num:k==null?void 0:k.submit_limit_num,must_file:k==null?void 0:k.must_file,can_submit:k==null?void 0:k.can_submit,submit_num:k==null?void 0:k.submit_num};ue(f({},ne))},[k]);const c=ne=>{const Q=f(f({},S),ne);te(Q)};return o.createElement("section",{className:g()(X.wrap,L),style:$},o.createElement("div",{className:`${X.title} mt30`},o.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),o.createElement(D.Z,{style:{background:"#F6F7F9",padding:"5px 30px"}},o.createElement(b.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{disabled:M,checked:S==null?void 0:S.can_submit,onChange:ne=>c({can_submit:ne.target.checked})}),o.createElement("span",{className:"ml10",style:{marginRight:18}},"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A"),o.createElement(h.Z,{size:"large",addonAfter:"\u6B21",style:{width:143},precision:0,min:1,disabled:M||!(S!=null&&S.can_submit),value:S==null?void 0:S.submit_num,onChange:ne=>c({submit_num:ne})}),o.createElement(l.Z,{overlayInnerStyle:{width:520},title:o.createElement("div",null,"1\u3001\u82E5\u672A\u5F00\u542F\u8BE5\u9650\u5236\uFF0C\u5B66\u751F\u53EF\u4EE5\u65E0\u9650\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF1B",o.createElement("br",null),"2\u3001\u82E5\u4F5C\u4E1A\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u5DF2\u7528\u5B8C\u63D0\u4EA4\u6B21\u6570\u7684\u5B66\u751F\uFF0C\u5C06\u83B7\u5F97\u4E00\u6B21\u989D\u5916\u7684\u63D0\u4EA4\u4F5C\u54C1\u673A\u4F1A\uFF1B",o.createElement("br",null),"3\u3001\u82E5\u5B66\u751F\u9700\u8981\u8D85\u51FA\u89C4\u5B9A\u6B21\u6570\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u201C\u6253\u56DE\u91CD\u505A\u201D\u529F\u80FD\uFF0C\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002")},o.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${X.title_icon}`}))),o.createElement(b.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{style:{marginLeft:V},disabled:M,checked:S==null?void 0:S.submit_limit,onChange:ne=>c({submit_limit:ne.target.checked})}),o.createElement("span",{className:"ml10",style:{marginRight:18}},"\u586B\u5199\u5185\u5BB9\u81F3\u5C11"),o.createElement(h.Z,{size:"large",addonAfter:"\u5B57",style:{width:143,marginRight:100},precision:0,min:1,disabled:M||!(S!=null&&S.submit_limit),value:S==null?void 0:S.submit_limit_num,onChange:ne=>c({submit_limit_num:ne})})),o.createElement(b.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{style:{marginLeft:V},disabled:M,checked:S==null?void 0:S.must_file,onChange:ne=>c({must_file:ne.target.checked})}),o.createElement("span",{className:"ml10"},"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))))}},23538:function(yt,Ke,s){"use strict";s.d(Ke,{$J:function(){return x},JZ:function(){return h},bN:function(){return b},jP:function(){return D},rO:function(){return U}});var n=s(99064),X=(l,P,g)=>new Promise((o,w)=>{var F=r=>{try{d(g.next(r))}catch(f){w(f)}},p=r=>{try{d(g.throw(r))}catch(f){w(f)}},d=r=>r.done?o(r.value):Promise.resolve(r.value).then(F,p);d((g=g.apply(l,P)).next())});function x(l){return(0,n.U2)(`libraries/${l}.json`)}function U(){return(0,n.U2)("library_tags.json")}function h(l){return X(this,null,function*(){return(yield(0,n.IV)(`attachments/${l}.json`)).status===0})}function D(l){return(0,n.v_)("libraries.json",l)}function b(l,P){return(0,n.gz)(`libraries/${l}.json`,P)}},78297:function(yt,Ke,s){"use strict";s.d(Ke,{AD:function(){return ne},D9:function(){return E},Hp:function(){return te},IM:function(){return N},Iy:function(){return $},KM:function(){return Re},MJ:function(){return L},Ne:function(){return _},ON:function(){return be},Uj:function(){return z},VY:function(){return me},YO:function(){return we},YX:function(){return Be},Zn:function(){return d},_g:function(){return T},_k:function(){return Y},c6:function(){return ue},cr:function(){return r},eV:function(){return c},fi:function(){return f},gh:function(){return ae},hS:function(){return H},iA:function(){return v},j6:function(){return K},je:function(){return oe},jj:function(){return k},kS:function(){return Se},o6:function(){return S},pO:function(){return We},rQ:function(){return Q},sA:function(){return V},xm:function(){return A},xo:function(){return J},y8:function(){return q},yd:function(){return O}});var n=s(92365),X=s(89070),x=s(955),U=s(8591),h=s(3294),D=Object.defineProperty,b=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,g=(u,j,i)=>j in u?D(u,j,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[j]=i,o=(u,j)=>{for(var i in j||(j={}))l.call(j,i)&&g(u,i,j[i]);if(b)for(var i of b(j))P.call(j,i)&&g(u,i,j[i]);return u},w=(u,j,i)=>new Promise((t,e)=>{var a=Z=>{try{W(i.next(Z))}catch(se){e(se)}},y=Z=>{try{W(i.throw(Z))}catch(se){e(se)}},W=Z=>Z.done?t(Z.value):Promise.resolve(Z.value).then(a,y);W((i=i.apply(u,j)).next())});const F=()=>{(0,X.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},p=()=>{(0,X.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},d=u=>w(void 0,null,function*(){F(),(yield(0,n.YR)(o({},u))).status===0&&(yield(0,x.QH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u.coursesId}/export_couser_info.json`,query:u}))),p()}),r=u=>w(void 0,null,function*(){const j=yield(0,n.yS)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_member_act_score`);else{if(j.status===-2)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_member_act_score`))}}),f=u=>w(void 0,null,function*(){const j=yield(0,n.W0)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_score`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_score`))}}),v=u=>w(void 0,null,function*(){const j=yield(0,n.Nl)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`))}}),O=u=>w(void 0,null,function*(){const j=yield(0,n.IU)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/export_star_user`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/export_star_user`))}}),T=u=>w(void 0,null,function*(){const j=yield(0,n.td)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-2)return j;if(j.status===-3)(0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else if(j.status===-4)return j}}),K=u=>w(void 0,null,function*(){const j=yield(0,n.QX)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_homework`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_homework`))}}),k=(u,j)=>w(void 0,null,function*(){const i=yield(0,n.o_)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),te=(u,j)=>w(void 0,null,function*(){const i=yield(0,n.ZL)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),L=(u,j)=>w(void 0,null,function*(){const i=yield(0,n.vV)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),$=(u,j)=>w(void 0,null,function*(){const i=yield(0,n.aP)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),M=u=>w(void 0,null,function*(){F(),(yield exportCourseWorkListAppendix(o({},u))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${u.categoryId}/works_list.zip`,query:u}))),p()}),V=u=>w(void 0,null,function*(){F(),yield(0,x.QH)("",h.Z.API_SERVER+`/api/polls/${u.categoryId}/commit_result.xlsx`),p()}),ae=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u.coursesId}/attendances/export_xlsx_data.xlsx`,query:u}))}),S=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u.coursesId}/video_study_statics.xlsx`,query:u}))}),ue=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u.coursesId}/export_video_study.xlsx`,query:u}))}),c=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u.coursesId}/export_course_students_info.xlsx`,query:u}))}),ne=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/school_manages/students.xlsx",query:u}))}),Q=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/item_banks/export.xlsx",query:u}))}),q=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:u}))}),oe=u=>w(void 0,null,function*(){const j=yield(0,n.Uy)(o({},u));j.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/exercise_score,export_exercise_users`)):j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Y=u=>w(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/export_records/${u.id}.xlsx`,query:u}))}),A=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:u}))}),E=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/courses/${u==null?void 0:u.coursesId}/${u.menuKey}_statistic.xlsx?${u.checkedList.map(j=>`course_group_id[]=${j}`).join("&")}`,query:u}))}),_=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_training_objectives.xlsx`,query:u}))}),N=u=>w(void 0,null,function*(){yield(0,x.FH)(u==null?void 0:u.name,(0,x.NY)({url:h.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:u}))}),H=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_courses.xlsx`,query:u}))}),J=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_graduation_requirements.xlsx`,query:u}))}),me=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:u}))}),Se=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:u}))}),be=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/examination_banks/${u.id}.json`,query:u}))}),Be=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/exercises/${u.categoryId}.json`,query:u}))}),we=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/polls/${u==null?void 0:u.id}/commit_result.json`,query:u}))}),z=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+"/api/paths/get_task_pass.json",query:u}))}),We=(u,j)=>w(void 0,null,function*(){yield(0,x.FH)(j||"",(0,x.NY)({url:h.Z.API_SERVER+`/api/exercises/${u==null?void 0:u.exercise_id}/consult_exercise.json`,query:u}))}),Re=u=>w(void 0,null,function*(){yield(0,x.FH)("",(0,x.NY)({url:h.Z.API_SERVER+`/api/competitions/${u==null?void 0:u.identifier}/competition_commit_records/member_works.xlsx`,query:u}))})},5383:function(yt,Ke,s){"use strict";s.d(Ke,{M:function(){return D},Y:function(){return h}});var n=s(61186),X=s.n(n),x=s(89392),U=s.n(x);const h=(b,l="YYYY-MM-DD")=>(0,x.cloneDeepWith)(b,g=>{if(g instanceof X())return g.format(l)}),D=(b,l,P)=>{const g=o=>Reflect.toString.call(o)==="[object Object]";if(!g(b)&&!Array.isArray(b))return b;for(const o of Object.keys(b))Array.isArray(b[o])?b[o]=b[o].map(w=>D(w,l,P)):g(b[o])?b[o]=D(b[o],l,P):l.includes(o)&&typeof b[o]=="string"&&(b[o]=P?X()(b[o],P):X()(b[o]));return b}},83312:function(yt,Ke,s){"use strict";s.d(Ke,{U:function(){return P}});var n=s(59301),X=Object.defineProperty,x=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,D=(g,o,w)=>o in g?X(g,o,{enumerable:!0,configurable:!0,writable:!0,value:w}):g[o]=w,b=(g,o)=>{for(var w in o||(o={}))U.call(o,w)&&D(g,w,o[w]);if(x)for(var w of x(o))h.call(o,w)&&D(g,w,o[w]);return g},l=(g,o,w)=>new Promise((F,p)=>{var d=v=>{try{f(w.next(v))}catch(O){p(O)}},r=v=>{try{f(w.throw(v))}catch(O){p(O)}},f=v=>v.done?F(v.value):Promise.resolve(v.value).then(d,r);f((w=w.apply(g,o)).next())});function P(g,o){const[w,F]=(0,n.useState)(o),[p,d]=(0,n.useState)(!1),[r,f]=(0,n.useState)();return[w,p,(O,T=!1)=>l(this,null,function*(){const K=T?o:b(b({},w),O);d(!0),F(K);const k=yield g(K);return d(!1),f(k),k}),r,f]}},49127:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return Y}});var n=s(92310),X=s.n(n),x=s(77900),U=s(59301),h=s(36785),D=s(92343),b=s(36355),l=s(93083),P=s(17313),g=s(45157),o=s(37613),w=s(83116);const F=new l.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),p=new l.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),d=new l.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),r=new l.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),f=new l.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),v=new l.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),O=A=>{const{componentCls:E,iconCls:_,antCls:N,badgeShadowSize:H,motionDurationSlow:J,textFontSize:me,textFontSizeSM:Se,statusSize:be,dotSize:Be,textFontWeight:we,indicatorHeight:z,indicatorHeightSM:We,marginXS:Re}=A,u=`${N}-scroll-number`,j=(0,g.Z)(A,(i,t)=>{let{darkColor:e}=t;return{[`&${E} ${E}-color-${i}`]:{background:e,[`&:not(${E}-count)`]:{color:e}}}});return{[E]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,P.Wf)(A)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${E}-count`]:{zIndex:A.indicatorZIndex,minWidth:z,height:z,color:A.badgeTextColor,fontWeight:we,fontSize:me,lineHeight:`${z}px`,whiteSpace:"nowrap",textAlign:"center",background:A.badgeColor,borderRadius:z/2,boxShadow:`0 0 0 ${H}px ${A.badgeShadowColor}`,transition:`background ${A.motionDurationMid}`,a:{color:A.badgeTextColor},"a:hover":{color:A.badgeTextColor},"a:hover &":{background:A.badgeColorHover}},[`${E}-count-sm`]:{minWidth:We,height:We,fontSize:Se,lineHeight:`${We}px`,borderRadius:We/2},[`${E}-multiple-words`]:{padding:`0 ${A.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${E}-dot`]:{zIndex:A.indicatorZIndex,width:Be,minWidth:Be,height:Be,background:A.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${H}px ${A.badgeShadowColor}`},[`${E}-dot${u}`]:{transition:`background ${J}`},[`${E}-count, ${E}-dot, ${u}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${_}-spin`]:{animationName:v,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${E}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${E}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:be,height:be,verticalAlign:"middle",borderRadius:"50%"},[`${E}-status-success`]:{backgroundColor:A.colorSuccess},[`${E}-status-processing`]:{overflow:"visible",color:A.colorPrimary,backgroundColor:A.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:H,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:F,animationDuration:A.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${E}-status-default`]:{backgroundColor:A.colorTextPlaceholder},[`${E}-status-error`]:{backgroundColor:A.colorError},[`${E}-status-warning`]:{backgroundColor:A.colorWarning},[`${E}-status-text`]:{marginInlineStart:Re,color:A.colorText,fontSize:A.fontSize}}}),j),{[`${E}-zoom-appear, ${E}-zoom-enter`]:{animationName:p,animationDuration:A.motionDurationSlow,animationTimingFunction:A.motionEaseOutBack,animationFillMode:"both"},[`${E}-zoom-leave`]:{animationName:d,animationDuration:A.motionDurationSlow,animationTimingFunction:A.motionEaseOutBack,animationFillMode:"both"},[`&${E}-not-a-wrapper`]:{[`${E}-zoom-appear, ${E}-zoom-enter`]:{animationName:r,animationDuration:A.motionDurationSlow,animationTimingFunction:A.motionEaseOutBack},[`${E}-zoom-leave`]:{animationName:f,animationDuration:A.motionDurationSlow,animationTimingFunction:A.motionEaseOutBack},[`&:not(${E}-status)`]:{verticalAlign:"middle"},[`${u}-custom-component, ${E}-count`]:{transform:"none"},[`${u}-custom-component, ${u}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${u}`]:{overflow:"hidden",[`${u}-only`]:{position:"relative",display:"inline-block",height:z,transition:`all ${A.motionDurationSlow} ${A.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${u}-only-unit`]:{height:z,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${u}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${E}-count, ${E}-dot, ${u}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},T=A=>{const{fontSize:E,lineHeight:_,lineWidth:N,marginXS:H,colorBorderBg:J}=A,me=Math.round(E*_),Se=N,be=A.colorBgContainer,Be=A.colorError,we=A.colorErrorHover;return(0,o.TS)(A,{badgeFontHeight:me,badgeShadowSize:Se,badgeTextColor:be,badgeColor:Be,badgeColorHover:we,badgeShadowColor:J,badgeProcessingDuration:"1.2s",badgeRibbonOffset:H,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},K=A=>{const{fontSize:E,lineHeight:_,fontSizeSM:N,lineWidth:H}=A;return{indicatorZIndex:"auto",indicatorHeight:Math.round(E*_)-2*H,indicatorHeightSM:E,dotSize:N/2,textFontSize:N,textFontSizeSM:N,textFontWeight:"normal",statusSize:N/2}};var k=(0,w.Z)("Badge",A=>{const E=T(A);return[O(E)]},K);const te=A=>{const{antCls:E,badgeFontHeight:_,marginXS:N,badgeRibbonOffset:H}=A,J=`${E}-ribbon`,me=`${E}-ribbon-wrapper`,Se=(0,g.Z)(A,(be,Be)=>{let{darkColor:we}=Be;return{[`&${J}-color-${be}`]:{background:we,color:we}}});return{[`${me}`]:{position:"relative"},[`${J}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,P.Wf)(A)),{position:"absolute",top:N,padding:`0 ${A.paddingXS}px`,color:A.colorPrimary,lineHeight:`${_}px`,whiteSpace:"nowrap",backgroundColor:A.colorPrimary,borderRadius:A.borderRadiusSM,[`${J}-text`]:{color:A.colorTextLightSolid},[`${J}-corner`]:{position:"absolute",top:"100%",width:H,height:H,color:"currentcolor",border:`${H/2}px solid`,transform:A.badgeRibbonCornerTransform,transformOrigin:"top",filter:A.badgeRibbonCornerFilter}}),Se),{[`&${J}-placement-end`]:{insetInlineEnd:-H,borderEndEndRadius:0,[`${J}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${J}-placement-start`]:{insetInlineStart:-H,borderEndStartRadius:0,[`${J}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var L=(0,w.Z)(["Badge","Ribbon"],A=>{const E=T(A);return[te(E)]},K),M=A=>{const{className:E,prefixCls:_,style:N,color:H,children:J,text:me,placement:Se="end",rootClassName:be}=A,{getPrefixCls:Be,direction:we}=U.useContext(b.E_),z=Be("ribbon",_),We=(0,h.o2)(H,!1),Re=X()(z,`${z}-placement-${Se}`,{[`${z}-rtl`]:we==="rtl",[`${z}-color-${H}`]:We},E),[u,j]=L(z),i={},t={};return H&&!We&&(i.background=H,t.color=H),u(U.createElement("div",{className:X()(`${z}-wrapper`,be,j)},J,U.createElement("div",{className:X()(Re,j),style:Object.assign(Object.assign({},i),N)},U.createElement("span",{className:`${z}-text`},me),U.createElement("div",{className:`${z}-corner`,style:t}))))};function V(A){let{prefixCls:E,value:_,current:N,offset:H=0}=A,J;return H&&(J={position:"absolute",top:`${H}00%`,left:0}),U.createElement("span",{style:J,className:X()(`${E}-only-unit`,{current:N})},_)}function ae(A,E,_){let N=A,H=0;for(;(N+10)%10!==E;)N+=_,H+=_;return H}function S(A){const{prefixCls:E,count:_,value:N}=A,H=Number(N),J=Math.abs(_),[me,Se]=U.useState(H),[be,Be]=U.useState(J),we=()=>{Se(H),Be(J)};U.useEffect(()=>{const Re=setTimeout(()=>{we()},1e3);return()=>{clearTimeout(Re)}},[H]);let z,We;if(me===H||Number.isNaN(H)||Number.isNaN(me))z=[U.createElement(V,Object.assign({},A,{key:H,current:!0}))],We={transition:"none"};else{z=[];const Re=H+10,u=[];for(let t=H;t<=Re;t+=1)u.push(t);const j=u.findIndex(t=>t%10===me);z=u.map((t,e)=>{const a=t%10;return U.createElement(V,Object.assign({},A,{key:t,value:a,offset:e-j,current:e===j}))});const i=be{const{prefixCls:_,count:N,className:H,motionClassName:J,style:me,title:Se,show:be,component:Be="sup",children:we}=A,z=ue(A,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:We}=U.useContext(b.E_),Re=We("scroll-number",_),u=Object.assign(Object.assign({},z),{"data-show":be,style:me,className:X()(Re,H,J),title:Se});let j=N;if(N&&Number(N)%1===0){const i=String(N).split("");j=U.createElement("bdi",null,i.map((t,e)=>U.createElement(S,{prefixCls:Re,count:Number(N),value:t,key:i.length-e})))}return me&&me.borderColor&&(u.style=Object.assign(Object.assign({},me),{boxShadow:`0 0 0 1px ${me.borderColor} inset`})),we?(0,D.Tm)(we,i=>({className:X()(`${Re}-custom-component`,i==null?void 0:i.className,J)})):U.createElement(Be,Object.assign({},u,{ref:E}),j)}),Q=function(A,E){var _={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&E.indexOf(N)<0&&(_[N]=A[N]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,N=Object.getOwnPropertySymbols(A);H{var _,N,H,J,me;const{prefixCls:Se,scrollNumberPrefixCls:be,children:Be,status:we,text:z,color:We,count:Re=null,overflowCount:u=99,dot:j=!1,size:i="default",title:t,offset:e,style:a,className:y,rootClassName:W,classNames:Z,styles:se,showZero:ge=!1}=A,fe=Q(A,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:R,direction:He,badge:Te}=U.useContext(b.E_),at=R("badge",Se),[Rt,qt]=k(at),Ot=Re>u?`${u}+`:Re,Ge=Ot==="0"||Ot===0,xt=Re===null||Ge&&!ge,un=(we!=null||We!=null)&&xt,At=j&&!Ge,Xt=At?"":Ot,An=(0,U.useMemo)(()=>(Xt==null||Xt===""||Ge&&!ge)&&!At,[Xt,Ge,ge,At]),Sn=(0,U.useRef)(Re);An||(Sn.current=Re);const fn=Sn.current,Zn=(0,U.useRef)(Xt);An||(Zn.current=Xt);const yn=Zn.current,Bn=(0,U.useRef)(At);An||(Bn.current=At);const Rn=(0,U.useMemo)(()=>{if(!e)return Object.assign(Object.assign({},Te==null?void 0:Te.style),a);const wn={marginTop:e[1]};return He==="rtl"?wn.left=parseInt(e[0],10):wn.right=-parseInt(e[0],10),Object.assign(Object.assign(Object.assign({},wn),Te==null?void 0:Te.style),a)},[He,e,a,Te==null?void 0:Te.style]),$n=t!=null?t:typeof fn=="string"||typeof fn=="number"?fn:void 0,qn=An||!z?null:U.createElement("span",{className:`${at}-status-text`},z),jn=!fn||typeof fn!="object"?void 0:(0,D.Tm)(fn,wn=>({style:Object.assign(Object.assign({},Rn),wn.style)})),Yn=(0,h.o2)(We,!1),eu=X()(Z==null?void 0:Z.indicator,(_=Te==null?void 0:Te.classNames)===null||_===void 0?void 0:_.indicator,{[`${at}-status-dot`]:un,[`${at}-status-${we}`]:!!we,[`${at}-color-${We}`]:Yn}),Kn={};We&&!Yn&&(Kn.color=We,Kn.background=We);const tu=X()(at,{[`${at}-status`]:un,[`${at}-not-a-wrapper`]:!Be,[`${at}-rtl`]:He==="rtl"},y,W,Te==null?void 0:Te.className,(N=Te==null?void 0:Te.classNames)===null||N===void 0?void 0:N.root,Z==null?void 0:Z.root,qt);if(!Be&&un){const wn=Rn.color;return Rt(U.createElement("span",Object.assign({},fe,{className:tu,style:Object.assign(Object.assign(Object.assign({},se==null?void 0:se.root),(H=Te==null?void 0:Te.styles)===null||H===void 0?void 0:H.root),Rn)}),U.createElement("span",{className:eu,style:Object.assign(Object.assign(Object.assign({},se==null?void 0:se.indicator),(J=Te==null?void 0:Te.styles)===null||J===void 0?void 0:J.indicator),Kn)}),z&&U.createElement("span",{style:{color:wn},className:`${at}-status-text`},z)))}return Rt(U.createElement("span",Object.assign({ref:E},fe,{className:tu,style:Object.assign(Object.assign({},(me=Te==null?void 0:Te.styles)===null||me===void 0?void 0:me.root),se==null?void 0:se.root)}),Be,U.createElement(x.default,{visible:!An,motionName:`${at}-zoom`,motionAppear:!1,motionDeadline:1e3},wn=>{let{className:au,ref:ru}=wn;var Tn,rt;const Je=R("scroll-number",be),Ve=Bn.current,$e=X()(Z==null?void 0:Z.indicator,(Tn=Te==null?void 0:Te.classNames)===null||Tn===void 0?void 0:Tn.indicator,{[`${at}-dot`]:Ve,[`${at}-count`]:!Ve,[`${at}-count-sm`]:i==="small",[`${at}-multiple-words`]:!Ve&&yn&&yn.toString().length>1,[`${at}-status-${we}`]:!!we,[`${at}-color-${We}`]:Yn});let ut=Object.assign(Object.assign(Object.assign({},se==null?void 0:se.indicator),(rt=Te==null?void 0:Te.styles)===null||rt===void 0?void 0:rt.indicator),Rn);return We&&!Yn&&(ut=ut||{},ut.background=We),U.createElement(ne,{prefixCls:Je,show:!An,motionClassName:au,className:$e,count:yn,title:$n,style:ut,key:"scrollNumber",ref:ru},jn)}),qn))},oe=U.forwardRef(q);oe.Ribbon=M;var Y=oe},66104:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return ne}});var n=s(92310),X=s.n(n),x=s(11592),U=s(26112),h=s(59301),D=s(92343),b=s(36355),l=s(84105),P=s(91857);const g=Q=>{let{children:q}=Q;const{getPrefixCls:oe}=h.useContext(b.E_),Y=oe("breadcrumb");return h.createElement("li",{className:`${Y}-separator`,"aria-hidden":"true"},q===""?q:q||"/")};g.__ANT_BREADCRUMB_SEPARATOR=!0;var o=g,w=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,Y=Object.getOwnPropertySymbols(Q);Aq[A]||Y)}function p(Q,q,oe,Y){if(oe==null)return null;const{className:A,onClick:E}=q,_=w(q,["className","onClick"]),N=Object.assign(Object.assign({},(0,U.Z)(_,{data:!0,aria:!0})),{onClick:E});return Y!==void 0?h.createElement("a",Object.assign({},N,{className:X()(`${Q}-link`,A),href:Y}),oe):h.createElement("span",Object.assign({},N,{className:X()(`${Q}-link`,A)}),oe)}function d(Q,q){return(Y,A,E,_,N)=>{if(q)return q(Y,A,E,_);const H=F(Y,A);return p(Q,Y,H,N)}}var r=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,Y=Object.getOwnPropertySymbols(Q);A{const{prefixCls:q,separator:oe="/",children:Y,menu:A,overlay:E,dropdownProps:_,href:N}=Q,J=(me=>{if(A||E){const Se=Object.assign({},_);if(A){const be=A||{},{items:Be}=be,we=r(be,["items"]);Se.menu=Object.assign(Object.assign({},we),{items:Be==null?void 0:Be.map((z,We)=>{var{key:Re,title:u,label:j,path:i}=z,t=r(z,["key","title","label","path"]);let e=j!=null?j:u;return i&&(e=h.createElement("a",{href:`${N}${i}`},e)),Object.assign(Object.assign({},t),{key:Re!=null?Re:We,label:e})})})}else E&&(Se.overlay=E);return h.createElement(P.Z,Object.assign({placement:"bottom"},Se),h.createElement("span",{className:`${q}-overlay-link`},me,h.createElement(l.Z,null)))}return me})(Y);return J!=null?h.createElement(h.Fragment,null,h.createElement("li",null,J),oe&&h.createElement(o,null,oe)):null},v=Q=>{const{prefixCls:q,children:oe,href:Y}=Q,A=r(Q,["prefixCls","children","href"]),{getPrefixCls:E}=h.useContext(b.E_),_=E("breadcrumb",q);return h.createElement(f,Object.assign({},A,{prefixCls:_}),p(_,A,oe,Y))};v.__ANT_BREADCRUMB_ITEM=!0;var O=v,T=s(17313),K=s(83116),k=s(37613);const te=Q=>{const{componentCls:q,iconCls:oe}=Q;return{[q]:Object.assign(Object.assign({},(0,T.Wf)(Q)),{color:Q.itemColor,fontSize:Q.fontSize,[oe]:{fontSize:Q.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Q.linkColor,transition:`color ${Q.motionDurationMid}`,padding:`0 ${Q.paddingXXS}px`,borderRadius:Q.borderRadiusSM,height:Q.lineHeight*Q.fontSize,display:"inline-block",marginInline:-Q.marginXXS,"&:hover":{color:Q.linkHoverColor,backgroundColor:Q.colorBgTextHover}},(0,T.Qy)(Q)),"li:last-child":{color:Q.lastItemColor},[`${q}-separator`]:{marginInline:Q.separatorMargin,color:Q.separatorColor},[`${q}-link`]:{[` - > ${oe} + span, - > ${oe} + a - `]:{marginInlineStart:Q.marginXXS}},[`${q}-overlay-link`]:{borderRadius:Q.borderRadiusSM,height:Q.lineHeight*Q.fontSize,display:"inline-block",padding:`0 ${Q.paddingXXS}px`,marginInline:-Q.marginXXS,[`> ${oe}`]:{marginInlineStart:Q.marginXXS,fontSize:Q.fontSizeIcon},"&:hover":{color:Q.linkHoverColor,backgroundColor:Q.colorBgTextHover,a:{color:Q.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Q.componentCls}-rtl`]:{direction:"rtl"}})}};var L=(0,K.Z)("Breadcrumb",Q=>{const q=(0,k.TS)(Q,{});return[te(q)]},Q=>({itemColor:Q.colorTextDescription,lastItemColor:Q.colorText,iconFontSize:Q.fontSize,linkColor:Q.colorTextDescription,linkHoverColor:Q.colorText,separatorColor:Q.colorTextDescription,separatorMargin:Q.marginXS})),$=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,Y=Object.getOwnPropertySymbols(Q);A{var{breadcrumbName:_}=E,N=$(E,["breadcrumbName"]);return Object.assign(Object.assign({},N),{title:_})})}),A}function V(Q,q){return(0,h.useMemo)(()=>Q||(q?q.map(M):null),[Q,q])}var ae=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,Y=Object.getOwnPropertySymbols(Q);A{if(q===void 0)return q;let oe=(q||"").replace(/^\//,"");return Object.keys(Q).forEach(Y=>{oe=oe.replace(`:${Y}`,Q[Y])}),oe},ue=Q=>{const{prefixCls:q,separator:oe="/",style:Y,className:A,rootClassName:E,routes:_,items:N,children:H,itemRender:J,params:me={}}=Q,Se=ae(Q,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:be,direction:Be,breadcrumb:we}=h.useContext(b.E_);let z;const We=be("breadcrumb",q),[Re,u]=L(We),j=V(N,_),i=d(We,J);if(j&&j.length>0){const a=[],y=N||_;z=j.map((W,Z)=>{const{path:se,key:ge,type:fe,menu:R,overlay:He,onClick:Te,className:at,separator:Rt,dropdownProps:qt}=W,Ot=S(me,se);Ot!==void 0&&a.push(Ot);const Ge=ge!=null?ge:Z;if(fe==="separator")return h.createElement(o,{key:Ge},Rt);const xt={},un=Z===j.length-1;R?xt.menu=R:He&&(xt.overlay=He);let{href:At}=W;return a.length&&Ot!==void 0&&(At=`#/${a.join("/")}`),h.createElement(f,Object.assign({key:Ge},xt,(0,U.Z)(W,{data:!0,aria:!0}),{className:at,dropdownProps:qt,href:At,separator:un?"":oe,onClick:Te,prefixCls:We}),i(W,me,y,a,At))})}else if(H){const a=(0,x.Z)(H).length;z=(0,x.Z)(H).map((y,W)=>{if(!y)return y;const Z=W===a-1;return(0,D.Tm)(y,{separator:Z?"":oe,key:W})})}const t=X()(We,we==null?void 0:we.className,{[`${We}-rtl`]:Be==="rtl"},A,E,u),e=Object.assign(Object.assign({},we==null?void 0:we.style),Y);return Re(h.createElement("nav",Object.assign({className:t,style:e},Se),h.createElement("ol",null,z)))};ue.Item=O,ue.Separator=o;var c=ue,ne=c},37906:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return Y}});var n=s(59301),X=s(92310),x=s.n(X),U=s(69507),h=s(36355),D=s(19716),b=s(8628),P={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},o=n.createContext({}),w=s(11592),F=function(A,E){var _={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&E.indexOf(N)<0&&(_[N]=A[N]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,N=Object.getOwnPropertySymbols(A);H(0,w.Z)(A).map(E=>Object.assign({},E==null?void 0:E.props));function d(A,E,_){const N=n.useMemo(()=>E||p(_),[E,_]);return n.useMemo(()=>N.map(J=>{var{span:me}=J,Se=F(J,["span"]);return Object.assign(Object.assign({},Se),{span:typeof me=="number"?me:(0,U.m9)(A,me)})}),[N,A])}function r(A,E,_){let N=A;return(_===void 0||_>E)&&(N=Object.assign(Object.assign({},A),{span:E})),N}function f(A,E){const _=[];let N=[],H=E;return A.filter(J=>J).forEach((J,me)=>{const Se=J==null?void 0:J.span,be=Se||1;if(me===A.length-1){N.push(r(J,H,Se)),_.push(N);return}be(0,n.useMemo)(()=>f(E,A),[E,A]),K=A=>{let{children:E}=A;return E};function k(A){return A!=null}var L=A=>{const{itemPrefixCls:E,component:_,span:N,className:H,style:J,labelStyle:me,contentStyle:Se,bordered:be,label:Be,content:we,colon:z}=A,We=_;return be?n.createElement(We,{className:x()({[`${E}-item-label`]:k(Be),[`${E}-item-content`]:k(we)},H),style:J,colSpan:N},k(Be)&&n.createElement("span",{style:me},Be),k(we)&&n.createElement("span",{style:Se},we)):n.createElement(We,{className:x()(`${E}-item`,H),style:J,colSpan:N},n.createElement("div",{className:`${E}-item-container`},(Be||Be===0)&&n.createElement("span",{className:x()(`${E}-item-label`,{[`${E}-item-no-colon`]:!z}),style:me},Be),(we||we===0)&&n.createElement("span",{className:x()(`${E}-item-content`),style:Se},we)))};function $(A,E,_){let{colon:N,prefixCls:H,bordered:J}=E,{component:me,type:Se,showLabel:be,showContent:Be,labelStyle:we,contentStyle:z}=_;return A.map((We,Re)=>{let{label:u,children:j,prefixCls:i=H,className:t,style:e,labelStyle:a,contentStyle:y,span:W=1,key:Z}=We;return typeof me=="string"?n.createElement(L,{key:`${Se}-${Z||Re}`,className:t,style:e,labelStyle:Object.assign(Object.assign({},we),a),contentStyle:Object.assign(Object.assign({},z),y),span:W,colon:N,component:me,itemPrefixCls:i,bordered:J,label:be?u:null,content:Be?j:null}):[n.createElement(L,{key:`label-${Z||Re}`,className:t,style:Object.assign(Object.assign(Object.assign({},we),e),a),span:1,colon:N,component:me[0],itemPrefixCls:i,bordered:J,label:u}),n.createElement(L,{key:`content-${Z||Re}`,className:t,style:Object.assign(Object.assign(Object.assign({},z),e),y),span:W*2-1,component:me[1],itemPrefixCls:i,bordered:J,content:j})]})}var V=A=>{const E=n.useContext(o),{prefixCls:_,vertical:N,row:H,index:J,bordered:me}=A;return N?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${J}`,className:`${_}-row`},$(H,A,Object.assign({component:"th",type:"label",showLabel:!0},E))),n.createElement("tr",{key:`content-${J}`,className:`${_}-row`},$(H,A,Object.assign({component:"td",type:"content",showContent:!0},E)))):n.createElement("tr",{key:J,className:`${_}-row`},$(H,A,Object.assign({component:me?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},E)))},ae=s(17313),S=s(83116),ue=s(37613);const c=A=>{const{componentCls:E,labelBg:_}=A;return{[`&${E}-bordered`]:{[`> ${E}-view`]:{border:`${A.lineWidth}px ${A.lineType} ${A.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${E}-row`]:{borderBottom:`${A.lineWidth}px ${A.lineType} ${A.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${E}-item-label, > ${E}-item-content`]:{padding:`${A.padding}px ${A.paddingLG}px`,borderInlineEnd:`${A.lineWidth}px ${A.lineType} ${A.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${E}-item-label`]:{color:A.colorTextSecondary,backgroundColor:_,"&::after":{display:"none"}}}},[`&${E}-middle`]:{[`${E}-row`]:{[`> ${E}-item-label, > ${E}-item-content`]:{padding:`${A.paddingSM}px ${A.paddingLG}px`}}},[`&${E}-small`]:{[`${E}-row`]:{[`> ${E}-item-label, > ${E}-item-content`]:{padding:`${A.paddingXS}px ${A.padding}px`}}}}}},ne=A=>{const{componentCls:E,extraColor:_,itemPaddingBottom:N,colonMarginRight:H,colonMarginLeft:J,titleMarginBottom:me}=A;return{[E]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(A)),c(A)),{"&-rtl":{direction:"rtl"},[`${E}-header`]:{display:"flex",alignItems:"center",marginBottom:me},[`${E}-title`]:Object.assign(Object.assign({},ae.vS),{flex:"auto",color:A.colorText,fontWeight:A.fontWeightStrong,fontSize:A.fontSizeLG,lineHeight:A.lineHeightLG}),[`${E}-extra`]:{marginInlineStart:"auto",color:_,fontSize:A.fontSize},[`${E}-view`]:{width:"100%",borderRadius:A.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${E}-row`]:{"> th, > td":{paddingBottom:N},"&:last-child":{borderBottom:"none"}},[`${E}-item-label`]:{color:A.colorTextTertiary,fontWeight:"normal",fontSize:A.fontSize,lineHeight:A.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${J}px ${H}px`},[`&${E}-item-no-colon::after`]:{content:'""'}},[`${E}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${E}-item-content`]:{display:"table-cell",flex:1,color:A.colorText,fontSize:A.fontSize,lineHeight:A.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${E}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${E}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${E}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${E}-row`]:{"> th, > td":{paddingBottom:A.paddingSM}}},"&-small":{[`${E}-row`]:{"> th, > td":{paddingBottom:A.paddingXS}}}})}};var Q=(0,S.Z)("Descriptions",A=>{const E=(0,ue.TS)(A,{});return[ne(E)]},A=>({labelBg:A.colorFillAlter,titleMarginBottom:A.fontSizeSM*A.lineHeightSM,itemPaddingBottom:A.padding,colonMarginRight:A.marginXS,colonMarginLeft:A.marginXXS/2,extraColor:A.colorText})),q=function(A,E){var _={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&E.indexOf(N)<0&&(_[N]=A[N]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,N=Object.getOwnPropertySymbols(A);H{const{prefixCls:E,title:_,extra:N,column:H,colon:J=!0,bordered:me,layout:Se,children:be,className:Be,rootClassName:we,style:z,size:We,labelStyle:Re,contentStyle:u,items:j}=A,i=q(A,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:t,direction:e,descriptions:a}=n.useContext(h.E_),y=t("descriptions",E),W=(0,b.Z)(),Z=n.useMemo(()=>{var at;return typeof H=="number"?H:(at=(0,U.m9)(W,Object.assign(Object.assign({},P),H)))!==null&&at!==void 0?at:3},[W,H]),se=d(W,j,be),ge=(0,D.Z)(We),fe=O(Z,se),[R,He]=Q(y),Te=n.useMemo(()=>({labelStyle:Re,contentStyle:u}),[Re,u]);return R(n.createElement(o.Provider,{value:Te},n.createElement("div",Object.assign({className:x()(y,a==null?void 0:a.className,{[`${y}-${ge}`]:ge&&ge!=="default",[`${y}-bordered`]:!!me,[`${y}-rtl`]:e==="rtl"},Be,we,He),style:Object.assign(Object.assign({},a==null?void 0:a.style),z)},i),(_||N)&&n.createElement("div",{className:`${y}-header`},_&&n.createElement("div",{className:`${y}-title`},_),N&&n.createElement("div",{className:`${y}-extra`},N)),n.createElement("div",{className:`${y}-view`},n.createElement("table",null,n.createElement("tbody",null,fe.map((at,Rt)=>n.createElement(V,{key:Rt,index:Rt,colon:J,prefixCls:y,vertical:Se==="vertical",bordered:me,row:at}))))))))};oe.Item=K;var Y=oe},13570:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return E}});var n=s(92413),X=s(59301),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},U=x,h=s(7657),D=function(N,H){return X.createElement(h.Z,(0,n.Z)({},N,{ref:H,icon:U}))},b=X.forwardRef(D),l=b,P=s(92310),g=s.n(P),o=s(400),w=s(33606),F=s(37061),p=s(18929),d=s(10228),r=s(26112);function f(_,N){var H=_.disabled,J=_.prefixCls,me=_.character,Se=_.characterRender,be=_.index,Be=_.count,we=_.value,z=_.allowHalf,We=_.focused,Re=_.onHover,u=_.onClick,j=function(se){Re(se,be)},i=function(se){u(se,be)},t=function(se){se.keyCode===d.Z.ENTER&&u(se,be)},e=be+1,a=new Set([J]);we===0&&be===0&&We?a.add("".concat(J,"-focused")):z&&we+.5>=e&&webe?"true":"false","aria-posinset":be+1,"aria-setsize":Be,tabIndex:H?-1:0},X.createElement("div",{className:"".concat(J,"-first")},y),X.createElement("div",{className:"".concat(J,"-second")},y)));return Se&&(W=Se(W,_)),W}var v=X.forwardRef(f);function O(){var _=X.useRef({});function N(J){return _.current[J]}function H(J){return function(me){_.current[J]=me}}return[N,H]}function T(_){var N=_.pageXOffset,H="scrollLeft";if(typeof N!="number"){var J=_.document;N=J.documentElement[H],typeof N!="number"&&(N=J.body[H])}return N}function K(_){var N,H,J=_.ownerDocument,me=J.body,Se=J&&J.documentElement,be=_.getBoundingClientRect();return N=be.left,H=be.top,N-=Se.clientLeft||me.clientLeft||0,H-=Se.clientTop||me.clientTop||0,{left:N,top:H}}function k(_){var N=K(_),H=_.ownerDocument,J=H.defaultView||H.parentWindow;return N.left+=T(J),N.left}var te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function L(_,N){var H,J=_.prefixCls,me=J===void 0?"rc-rate":J,Se=_.className,be=_.defaultValue,Be=_.value,we=_.count,z=we===void 0?5:we,We=_.allowHalf,Re=We===void 0?!1:We,u=_.allowClear,j=u===void 0?!0:u,i=_.character,t=i===void 0?"\u2605":i,e=_.characterRender,a=_.disabled,y=_.direction,W=y===void 0?"ltr":y,Z=_.tabIndex,se=Z===void 0?0:Z,ge=_.autoFocus,fe=_.onHoverChange,R=_.onChange,He=_.onFocus,Te=_.onBlur,at=_.onKeyDown,Rt=_.onMouseLeave,qt=(0,F.Z)(_,te),Ot=O(),Ge=(0,w.Z)(Ot,2),xt=Ge[0],un=Ge[1],At=X.useRef(null),Xt=function(){if(!a){var ft;(ft=At.current)===null||ft===void 0||ft.focus()}};X.useImperativeHandle(N,function(){return{focus:Xt,blur:function(){if(!a){var ft;(ft=At.current)===null||ft===void 0||ft.blur()}}}});var An=(0,p.Z)(be||0,{value:Be}),Sn=(0,w.Z)(An,2),fn=Sn[0],Zn=Sn[1],yn=(0,p.Z)(null),Bn=(0,w.Z)(yn,2),Rn=Bn[0],$n=Bn[1],qn=function(ft,Gt){var Zt=W==="rtl",dt=ft+1;if(Re){var En=xt(ft),_n=k(En),Wt=En.clientWidth;(Zt&&Gt-_n>Wt/2||!Zt&&Gt-_n0&&!Zt||Gt===d.Z.RIGHT&&dt>0&&Zt?(Re?dt-=.5:dt-=1,jn(dt),ft.preventDefault()):Gt===d.Z.LEFT&&dt{const{componentCls:N}=_;return{[`${N}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:_.marginXS},"> div":{transition:`all ${_.motionDurationMid}, outline 0s`,"&:hover":{transform:_.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${_.lineWidth}px dashed ${_.starColor}`,transform:_.starHoverScale}},"&-first, &-second":{color:_.starBg,transition:`all ${_.motionDurationMid}`,userSelect:"none",[_.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${N}-star-first, &-half ${N}-star-second`]:{opacity:1},[`&-half ${N}-star-first, &-full ${N}-star-second`]:{color:"inherit"}}}},Q=_=>({[`&-rtl${_.componentCls}`]:{direction:"rtl"}}),q=_=>{const{componentCls:N}=_;return{[N]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(_)),{display:"inline-block",margin:0,padding:0,color:_.starColor,fontSize:_.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${N} ${N}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ne(_)),{[`+ ${N}-text`]:{display:"inline-block",marginInlineStart:_.marginXS,fontSize:_.fontSize}}),Q(_))}};var oe=(0,ue.Z)("Rate",_=>{const N=(0,c.TS)(_,{});return[q(N)]},_=>({starColor:_.yellow6,starSize:_.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:_.colorFillContent})),Y=function(_,N){var H={};for(var J in _)Object.prototype.hasOwnProperty.call(_,J)&&N.indexOf(J)<0&&(H[J]=_[J]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,J=Object.getOwnPropertySymbols(_);me{const{prefixCls:H,className:J,rootClassName:me,style:Se,tooltips:be,character:Be=X.createElement(l,null)}=_,we=Y(_,["prefixCls","className","rootClassName","style","tooltips","character"]),z=(a,y)=>{let{index:W}=y;return be?X.createElement(ae.Z,{title:be[W]},a):a},{getPrefixCls:We,direction:Re,rate:u}=X.useContext(V.E_),j=We("rate",H),[i,t]=oe(j),e=Object.assign(Object.assign({},u==null?void 0:u.style),Se);return i(X.createElement(M,Object.assign({ref:N,character:Be,characterRender:z},we,{className:g()(J,me,t,u==null?void 0:u.className),style:e,prefixCls:j,direction:Re})))})},61621:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return t}});var n=s(92310),X=s.n(n),x=s(59301),U=s(36355),h=s(2738),b=e=>{const{prefixCls:a,className:y,style:W,size:Z,shape:se}=e,ge=X()({[`${a}-lg`]:Z==="large",[`${a}-sm`]:Z==="small"}),fe=X()({[`${a}-circle`]:se==="circle",[`${a}-square`]:se==="square",[`${a}-round`]:se==="round"}),R=x.useMemo(()=>typeof Z=="number"?{width:Z,height:Z,lineHeight:`${Z}px`}:{},[Z]);return x.createElement("span",{className:X()(a,ge,fe,y),style:Object.assign(Object.assign({},R),W)})},l=s(93083),P=s(83116),g=s(37613);const o=new l.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),w=e=>({height:e,lineHeight:`${e}px`}),F=e=>Object.assign({width:e},w(e)),p=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:o,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),d=e=>Object.assign({width:e*5,minWidth:e*5},w(e)),r=e=>{const{skeletonAvatarCls:a,gradientFromColor:y,controlHeight:W,controlHeightLG:Z,controlHeightSM:se}=e;return{[`${a}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:y},F(W)),[`${a}${a}-circle`]:{borderRadius:"50%"},[`${a}${a}-lg`]:Object.assign({},F(Z)),[`${a}${a}-sm`]:Object.assign({},F(se))}},f=e=>{const{controlHeight:a,borderRadiusSM:y,skeletonInputCls:W,controlHeightLG:Z,controlHeightSM:se,gradientFromColor:ge}=e;return{[`${W}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:y},d(a)),[`${W}-lg`]:Object.assign({},d(Z)),[`${W}-sm`]:Object.assign({},d(se))}},v=e=>Object.assign({width:e},w(e)),O=e=>{const{skeletonImageCls:a,imageSizeBase:y,gradientFromColor:W,borderRadiusSM:Z}=e;return{[`${a}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:W,borderRadius:Z},v(y*2)),{[`${a}-path`]:{fill:"#bfbfbf"},[`${a}-svg`]:Object.assign(Object.assign({},v(y)),{maxWidth:y*4,maxHeight:y*4}),[`${a}-svg${a}-svg-circle`]:{borderRadius:"50%"}}),[`${a}${a}-circle`]:{borderRadius:"50%"}}},T=(e,a,y)=>{const{skeletonButtonCls:W}=e;return{[`${y}${W}-circle`]:{width:a,minWidth:a,borderRadius:"50%"},[`${y}${W}-round`]:{borderRadius:a}}},K=e=>Object.assign({width:e*2,minWidth:e*2},w(e)),k=e=>{const{borderRadiusSM:a,skeletonButtonCls:y,controlHeight:W,controlHeightLG:Z,controlHeightSM:se,gradientFromColor:ge}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:a,width:W*2,minWidth:W*2},K(W))},T(e,W,y)),{[`${y}-lg`]:Object.assign({},K(Z))}),T(e,Z,`${y}-lg`)),{[`${y}-sm`]:Object.assign({},K(se))}),T(e,se,`${y}-sm`))},te=e=>{const{componentCls:a,skeletonAvatarCls:y,skeletonTitleCls:W,skeletonParagraphCls:Z,skeletonButtonCls:se,skeletonInputCls:ge,skeletonImageCls:fe,controlHeight:R,controlHeightLG:He,controlHeightSM:Te,gradientFromColor:at,padding:Rt,marginSM:qt,borderRadius:Ot,titleHeight:Ge,blockRadius:xt,paragraphLiHeight:un,controlHeightXS:At,paragraphMarginTop:Xt}=e;return{[`${a}`]:{display:"table",width:"100%",[`${a}-header`]:{display:"table-cell",paddingInlineEnd:Rt,verticalAlign:"top",[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},F(R)),[`${y}-circle`]:{borderRadius:"50%"},[`${y}-lg`]:Object.assign({},F(He)),[`${y}-sm`]:Object.assign({},F(Te))},[`${a}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${W}`]:{width:"100%",height:Ge,background:at,borderRadius:xt,[`+ ${Z}`]:{marginBlockStart:Te}},[`${Z}`]:{padding:0,"> li":{width:"100%",height:un,listStyle:"none",background:at,borderRadius:xt,"+ li":{marginBlockStart:At}}},[`${Z}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${a}-content`]:{[`${W}, ${Z} > li`]:{borderRadius:Ot}}},[`${a}-with-avatar ${a}-content`]:{[`${W}`]:{marginBlockStart:qt,[`+ ${Z}`]:{marginBlockStart:Xt}}},[`${a}${a}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},k(e)),r(e)),f(e)),O(e)),[`${a}${a}-block`]:{width:"100%",[`${se}`]:{width:"100%"},[`${ge}`]:{width:"100%"}},[`${a}${a}-active`]:{[` - ${W}, - ${Z} > li, - ${y}, - ${se}, - ${ge}, - ${fe} - `]:Object.assign({},p(e))}}};var L=(0,P.Z)("Skeleton",e=>{const{componentCls:a}=e,y=(0,g.TS)(e,{skeletonAvatarCls:`${a}-avatar`,skeletonTitleCls:`${a}-title`,skeletonParagraphCls:`${a}-paragraph`,skeletonButtonCls:`${a}-button`,skeletonInputCls:`${a}-input`,skeletonImageCls:`${a}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[te(y)]},e=>{const{colorFillContent:a,colorFill:y}=e,W=a,Z=y;return{color:W,colorGradientEnd:Z,gradientFromColor:W,gradientToColor:Z,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),M=e=>{const{prefixCls:a,className:y,rootClassName:W,active:Z,shape:se="circle",size:ge="default"}=e,{getPrefixCls:fe}=x.useContext(U.E_),R=fe("skeleton",a),[He,Te]=L(R),at=(0,h.Z)(e,["prefixCls","className"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:Z},y,W,Te);return He(x.createElement("div",{className:Rt},x.createElement(b,Object.assign({prefixCls:`${R}-avatar`,shape:se,size:ge},at))))},ae=e=>{const{prefixCls:a,className:y,rootClassName:W,active:Z,block:se=!1,size:ge="default"}=e,{getPrefixCls:fe}=x.useContext(U.E_),R=fe("skeleton",a),[He,Te]=L(R),at=(0,h.Z)(e,["prefixCls"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:Z,[`${R}-block`]:se},y,W,Te);return He(x.createElement("div",{className:Rt},x.createElement(b,Object.assign({prefixCls:`${R}-button`,size:ge},at))))};const S="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var c=e=>{const{prefixCls:a,className:y,rootClassName:W,style:Z,active:se}=e,{getPrefixCls:ge}=x.useContext(U.E_),fe=ge("skeleton",a),[R,He]=L(fe),Te=X()(fe,`${fe}-element`,{[`${fe}-active`]:se},y,W,He);return R(x.createElement("div",{className:Te},x.createElement("div",{className:X()(`${fe}-image`,y),style:Z},x.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${fe}-image-svg`},x.createElement("path",{d:S,className:`${fe}-image-path`})))))},Q=e=>{const{prefixCls:a,className:y,rootClassName:W,active:Z,block:se,size:ge="default"}=e,{getPrefixCls:fe}=x.useContext(U.E_),R=fe("skeleton",a),[He,Te]=L(R),at=(0,h.Z)(e,["prefixCls"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:Z,[`${R}-block`]:se},y,W,Te);return He(x.createElement("div",{className:Rt},x.createElement(b,Object.assign({prefixCls:`${R}-input`,size:ge},at))))},q=s(92413),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Y=oe,A=s(7657),E=function(a,y){return x.createElement(A.Z,(0,q.Z)({},a,{ref:y,icon:Y}))},_=x.forwardRef(E),N=_,J=e=>{const{prefixCls:a,className:y,rootClassName:W,style:Z,active:se,children:ge}=e,{getPrefixCls:fe}=x.useContext(U.E_),R=fe("skeleton",a),[He,Te]=L(R),at=X()(R,`${R}-element`,{[`${R}-active`]:se},Te,y,W),Rt=ge!=null?ge:x.createElement(N,null);return He(x.createElement("div",{className:at},x.createElement("div",{className:X()(`${R}-image`,y),style:Z},Rt)))},me=s(26407),be=e=>{const a=fe=>{const{width:R,rows:He=2}=e;if(Array.isArray(R))return R[fe];if(He-1===fe)return R},{prefixCls:y,className:W,style:Z,rows:se}=e,ge=(0,me.Z)(Array(se)).map((fe,R)=>x.createElement("li",{key:R,style:{width:a(R)}}));return x.createElement("ul",{className:X()(y,W),style:Z},ge)},we=e=>{let{prefixCls:a,className:y,width:W,style:Z}=e;return x.createElement("h3",{className:X()(a,y),style:Object.assign({width:W},Z)})};function z(e){return e&&typeof e=="object"?e:{}}function We(e,a){return e&&!a?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Re(e,a){return!e&&a?{width:"38%"}:e&&a?{width:"50%"}:{}}function u(e,a){const y={};return(!e||!a)&&(y.width="61%"),!e&&a?y.rows=3:y.rows=2,y}const j=e=>{const{prefixCls:a,loading:y,className:W,rootClassName:Z,style:se,children:ge,avatar:fe=!1,title:R=!0,paragraph:He=!0,active:Te,round:at}=e,{getPrefixCls:Rt,direction:qt,skeleton:Ot}=x.useContext(U.E_),Ge=Rt("skeleton",a),[xt,un]=L(Ge);if(y||!("loading"in e)){const At=!!fe,Xt=!!R,An=!!He;let Sn;if(At){const yn=Object.assign(Object.assign({prefixCls:`${Ge}-avatar`},We(Xt,An)),z(fe));Sn=x.createElement("div",{className:`${Ge}-header`},x.createElement(b,Object.assign({},yn)))}let fn;if(Xt||An){let yn;if(Xt){const Rn=Object.assign(Object.assign({prefixCls:`${Ge}-title`},Re(At,An)),z(R));yn=x.createElement(we,Object.assign({},Rn))}let Bn;if(An){const Rn=Object.assign(Object.assign({prefixCls:`${Ge}-paragraph`},u(At,Xt)),z(He));Bn=x.createElement(be,Object.assign({},Rn))}fn=x.createElement("div",{className:`${Ge}-content`},yn,Bn)}const Zn=X()(Ge,{[`${Ge}-with-avatar`]:At,[`${Ge}-active`]:Te,[`${Ge}-rtl`]:qt==="rtl",[`${Ge}-round`]:at},Ot==null?void 0:Ot.className,W,Z,un);return xt(x.createElement("div",{className:Zn,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),se)},Sn,fn))}return typeof ge!="undefined"?ge:null};j.Button=ae,j.Avatar=M,j.Input=Q,j.Image=c,j.Node=J;var i=j,t=i},31797:function(yt,Ke,s){"use strict";s.d(Ke,{default:function(){return L}});var n=s(59301),X=s(56762),x=s(92343),U=s(92310),h=s.n(U),D=s(36355),b=s(61621),P=$=>{const{value:M,formatter:V,precision:ae,decimalSeparator:S,groupSeparator:ue="",prefixCls:c}=$;let ne;if(typeof V=="function")ne=V(M);else{const Q=String(M),q=Q.match(/^(-?)(\d*)(\.(\d+))?$/);if(!q||Q==="-")ne=Q;else{const oe=q[1];let Y=q[2]||"0",A=q[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof ae=="number"&&(A=A.padEnd(ae,"0").slice(0,ae>0?ae:0)),A&&(A=`${S}${A}`),ne=[n.createElement("span",{key:"int",className:`${c}-content-value-int`},oe,Y),A&&n.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},A)]}}return n.createElement("span",{className:`${c}-content-value`},ne)},g=s(17313),o=s(83116),w=s(37613);const F=$=>{const{componentCls:M,marginXXS:V,padding:ae,colorTextDescription:S,titleFontSize:ue,colorTextHeading:c,contentFontSize:ne,fontFamily:Q}=$;return{[`${M}`]:Object.assign(Object.assign({},(0,g.Wf)($)),{[`${M}-title`]:{marginBottom:V,color:S,fontSize:ue},[`${M}-skeleton`]:{paddingTop:ae},[`${M}-content`]:{color:c,fontSize:ne,fontFamily:Q,[`${M}-content-value`]:{display:"inline-block",direction:"ltr"},[`${M}-content-prefix, ${M}-content-suffix`]:{display:"inline-block"},[`${M}-content-prefix`]:{marginInlineEnd:V},[`${M}-content-suffix`]:{marginInlineStart:V}}})}};var p=(0,o.Z)("Statistic",$=>{const M=(0,w.TS)($,{});return[F(M)]},$=>{const{fontSizeHeading3:M,fontSize:V}=$;return{titleFontSize:V,contentFontSize:M}}),r=$=>{const{prefixCls:M,className:V,rootClassName:ae,style:S,valueStyle:ue,value:c=0,title:ne,valueRender:Q,prefix:q,suffix:oe,loading:Y=!1,onMouseEnter:A,onMouseLeave:E,decimalSeparator:_=".",groupSeparator:N=","}=$,{getPrefixCls:H,direction:J,statistic:me}=n.useContext(D.E_),Se=H("statistic",M),[be,Be]=p(Se),we=n.createElement(P,Object.assign({decimalSeparator:_,groupSeparator:N,prefixCls:Se},$,{value:c})),z=h()(Se,{[`${Se}-rtl`]:J==="rtl"},me==null?void 0:me.className,V,ae,Be);return be(n.createElement("div",{className:z,style:Object.assign(Object.assign({},me==null?void 0:me.style),S),onMouseEnter:A,onMouseLeave:E},ne&&n.createElement("div",{className:`${Se}-title`},ne),n.createElement(b.Z,{paragraph:!1,loading:Y,className:`${Se}-skeleton`},n.createElement("div",{style:ue,className:`${Se}-content`},q&&n.createElement("span",{className:`${Se}-content-prefix`},q),Q?Q(we):we,oe&&n.createElement("span",{className:`${Se}-content-suffix`},oe)))))};const f=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function v($,M){let V=$;const ae=/\[[^\]]*]/g,S=(M.match(ae)||[]).map(Q=>Q.slice(1,-1)),ue=M.replace(ae,"[]"),c=f.reduce((Q,q)=>{let[oe,Y]=q;if(Q.includes(oe)){const A=Math.floor(V/Y);return V-=A*Y,Q.replace(new RegExp(`${oe}+`,"g"),E=>{const _=E.length;return A.toString().padStart(_,"0")})}return Q},ue);let ne=0;return c.replace(ae,()=>{const Q=S[ne];return ne+=1,Q})}function O($,M){const{format:V=""}=M,ae=new Date($).getTime(),S=Date.now(),ue=Math.max(ae-S,0);return v(ue,V)}const T=1e3/30;function K($){return new Date($).getTime()}const k=$=>{const{value:M,format:V="HH:mm:ss",onChange:ae,onFinish:S}=$,ue=(0,X.Z)(),c=n.useRef(null),ne=()=>{S==null||S(),c.current&&(clearInterval(c.current),c.current=null)},Q=()=>{const Y=K(M);Y>=Date.now()&&(c.current=setInterval(()=>{ue(),ae==null||ae(Y-Date.now()),Y(Q(),()=>{c.current&&(clearInterval(c.current),c.current=null)}),[M]);const q=(Y,A)=>O(Y,Object.assign(Object.assign({},A),{format:V})),oe=Y=>(0,x.Tm)(Y,{title:void 0});return n.createElement(r,Object.assign({},$,{valueRender:oe,formatter:q}))};var te=n.memo(k);r.Countdown=te;var L=r},86251:function(yt,Ke){"use strict";Ke.byteLength=b,Ke.toByteArray=P,Ke.fromByteArray=w;for(var s=[],n=[],X=typeof Uint8Array!="undefined"?Uint8Array:Array,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U=0,h=x.length;U0)throw new Error("Invalid string. Length must be a multiple of 4");var d=F.indexOf("=");d===-1&&(d=p);var r=d===p?0:4-d%4;return[d,r]}function b(F){var p=D(F),d=p[0],r=p[1];return(d+r)*3/4-r}function l(F,p,d){return(p+d)*3/4-d}function P(F){var p,d=D(F),r=d[0],f=d[1],v=new X(l(F,r,f)),O=0,T=f>0?r-4:r,K;for(K=0;K>16&255,v[O++]=p>>8&255,v[O++]=p&255;return f===2&&(p=n[F.charCodeAt(K)]<<2|n[F.charCodeAt(K+1)]>>4,v[O++]=p&255),f===1&&(p=n[F.charCodeAt(K)]<<10|n[F.charCodeAt(K+1)]<<4|n[F.charCodeAt(K+2)]>>2,v[O++]=p>>8&255,v[O++]=p&255),v}function g(F){return s[F>>18&63]+s[F>>12&63]+s[F>>6&63]+s[F&63]}function o(F,p,d){for(var r,f=[],v=p;vT?T:O+v));return r===1?(p=F[d-1],f.push(s[p>>2]+s[p<<4&63]+"==")):r===2&&(p=(F[d-2]<<8)+F[d-1],f.push(s[p>>10]+s[p>>4&63]+s[p<<2&63]+"=")),f.join("")}},19208:function(yt,Ke,s){"use strict";var n;var X=s(86251),x=s(67467),U=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ke.lW=l,n=O,Ke.h2=50;var h=2147483647;n=h,l.TYPED_ARRAY_SUPPORT=D(),!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function D(){try{var i=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(i,t),i.foo()===42}catch(e){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function b(i){if(i>h)throw new RangeError('The value "'+i+'" is invalid for option "size"');var t=new Uint8Array(i);return Object.setPrototypeOf(t,l.prototype),t}function l(i,t,e){if(typeof i=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return w(i)}return P(i,t,e)}l.poolSize=8192;function P(i,t,e){if(typeof i=="string")return F(i,t);if(ArrayBuffer.isView(i))return d(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(Re(i,ArrayBuffer)||i&&Re(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Re(i,SharedArrayBuffer)||i&&Re(i.buffer,SharedArrayBuffer)))return r(i,t,e);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=i.valueOf&&i.valueOf();if(a!=null&&a!==i)return l.from(a,t,e);var y=f(i);if(y)return y;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return l.from(i[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}l.from=function(i,t,e){return P(i,t,e)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function g(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function o(i,t,e){return g(i),i<=0?b(i):t!==void 0?typeof e=="string"?b(i).fill(t,e):b(i).fill(t):b(i)}l.alloc=function(i,t,e){return o(i,t,e)};function w(i){return g(i),b(i<0?0:v(i)|0)}l.allocUnsafe=function(i){return w(i)},l.allocUnsafeSlow=function(i){return w(i)};function F(i,t){if((typeof t!="string"||t==="")&&(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=T(i,t)|0,a=b(e),y=a.write(i,t);return y!==e&&(a=a.slice(0,y)),a}function p(i){for(var t=i.length<0?0:v(i.length)|0,e=b(t),a=0;a=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return i|0}function O(i){return+i!=i&&(i=0),l.alloc(+i)}l.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==l.prototype},l.compare=function(t,e){if(Re(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),Re(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var a=t.length,y=e.length,W=0,Z=Math.min(a,y);Wy.length?l.from(Z).copy(y,W):Uint8Array.prototype.set.call(y,Z,W);else if(l.isBuffer(Z))Z.copy(y,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=Z.length}return y};function T(i,t){if(l.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||Re(i,ArrayBuffer))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);var e=i.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&e===0)return 0;for(var y=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return be(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return z(i).length;default:if(y)return a?-1:be(i).length;t=(""+t).toLowerCase(),y=!0}}l.byteLength=T;function K(i,t,e){var a=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(i||(i="utf8");;)switch(i){case"hex":return Y(this,t,e);case"utf8":case"utf-8":return c(this,t,e);case"ascii":return q(this,t,e);case"latin1":case"binary":return oe(this,t,e);case"base64":return ue(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),a=!0}}l.prototype._isBuffer=!0;function k(i,t,e){var a=i[t];i[t]=i[e],i[e]=a}l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;ee&&(t+=" ... "),""},U&&(l.prototype[U]=l.prototype.inspect),l.prototype.compare=function(t,e,a,y,W){if(Re(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),a===void 0&&(a=t?t.length:0),y===void 0&&(y=0),W===void 0&&(W=this.length),e<0||a>t.length||y<0||W>this.length)throw new RangeError("out of range index");if(y>=W&&e>=a)return 0;if(y>=W)return-1;if(e>=a)return 1;if(e>>>=0,a>>>=0,y>>>=0,W>>>=0,this===t)return 0;for(var Z=W-y,se=a-e,ge=Math.min(Z,se),fe=this.slice(y,W),R=t.slice(e,a),He=0;He2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,u(e)&&(e=y?0:i.length-1),e<0&&(e=i.length+e),e>=i.length){if(y)return-1;e=i.length-1}else if(e<0)if(y)e=0;else return-1;if(typeof t=="string"&&(t=l.from(t,a)),l.isBuffer(t))return t.length===0?-1:L(i,t,e,a,y);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(i,t,e):Uint8Array.prototype.lastIndexOf.call(i,t,e):L(i,[t],e,a,y);throw new TypeError("val must be string, number or Buffer")}function L(i,t,e,a,y){var W=1,Z=i.length,se=t.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(i.length<2||t.length<2)return-1;W=2,Z/=2,se/=2,e/=2}function ge(at,Rt){return W===1?at[Rt]:at.readUInt16BE(Rt*W)}var fe;if(y){var R=-1;for(fe=e;feZ&&(e=Z-se),fe=e;fe>=0;fe--){for(var He=!0,Te=0;Tey&&(a=y)):a=y;var W=t.length;a>W/2&&(a=W/2);for(var Z=0;Z>>0,isFinite(a)?(a=a>>>0,y===void 0&&(y="utf8")):(y=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var W=this.length-e;if((a===void 0||a>W)&&(a=W),t.length>0&&(a<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");for(var Z=!1;;)switch(y){case"hex":return $(this,t,e,a);case"utf8":case"utf-8":return M(this,t,e,a);case"ascii":case"latin1":case"binary":return V(this,t,e,a);case"base64":return ae(this,t,e,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,a);default:if(Z)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),Z=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ue(i,t,e){return t===0&&e===i.length?X.fromByteArray(i):X.fromByteArray(i.slice(t,e))}function c(i,t,e){e=Math.min(i.length,e);for(var a=[],y=t;y239?4:W>223?3:W>191?2:1;if(y+se<=e){var ge,fe,R,He;switch(se){case 1:W<128&&(Z=W);break;case 2:ge=i[y+1],(ge&192)===128&&(He=(W&31)<<6|ge&63,He>127&&(Z=He));break;case 3:ge=i[y+1],fe=i[y+2],(ge&192)===128&&(fe&192)===128&&(He=(W&15)<<12|(ge&63)<<6|fe&63,He>2047&&(He<55296||He>57343)&&(Z=He));break;case 4:ge=i[y+1],fe=i[y+2],R=i[y+3],(ge&192)===128&&(fe&192)===128&&(R&192)===128&&(He=(W&15)<<18|(ge&63)<<12|(fe&63)<<6|R&63,He>65535&&He<1114112&&(Z=He))}}Z===null?(Z=65533,se=1):Z>65535&&(Z-=65536,a.push(Z>>>10&1023|55296),Z=56320|Z&1023),a.push(Z),y+=se}return Q(a)}var ne=4096;function Q(i){var t=i.length;if(t<=ne)return String.fromCharCode.apply(String,i);for(var e="",a=0;aa)&&(e=a);for(var y="",W=t;Wa&&(t=a),e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),ee)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,a){t=t>>>0,e=e>>>0,a||E(t,e,this.length);for(var y=this[t],W=1,Z=0;++Z>>0,e=e>>>0,a||E(t,e,this.length);for(var y=this[t+--e],W=1;e>0&&(W*=256);)y+=this[t+--e]*W;return y},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t=t>>>0,e||E(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||E(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||E(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||E(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,a){t=t>>>0,e=e>>>0,a||E(t,e,this.length);for(var y=this[t],W=1,Z=0;++Z=W&&(y-=Math.pow(2,8*e)),y},l.prototype.readIntBE=function(t,e,a){t=t>>>0,e=e>>>0,a||E(t,e,this.length);for(var y=e,W=1,Z=this[t+--y];y>0&&(W*=256);)Z+=this[t+--y]*W;return W*=128,Z>=W&&(Z-=Math.pow(2,8*e)),Z},l.prototype.readInt8=function(t,e){return t=t>>>0,e||E(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},l.prototype.readInt16LE=function(t,e){t=t>>>0,e||E(t,2,this.length);var a=this[t]|this[t+1]<<8;return a&32768?a|4294901760:a},l.prototype.readInt16BE=function(t,e){t=t>>>0,e||E(t,2,this.length);var a=this[t+1]|this[t]<<8;return a&32768?a|4294901760:a},l.prototype.readInt32LE=function(t,e){return t=t>>>0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t=t>>>0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return t=t>>>0,e||E(t,4,this.length),x.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t=t>>>0,e||E(t,4,this.length),x.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||E(t,8,this.length),x.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||E(t,8,this.length),x.read(this,t,!1,52,8)};function _(i,t,e,a,y,W){if(!l.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>y||ti.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,a,y){if(t=+t,e=e>>>0,a=a>>>0,!y){var W=Math.pow(2,8*a)-1;_(this,t,e,a,W,0)}var Z=1,se=0;for(this[e]=t&255;++se>>0,a=a>>>0,!y){var W=Math.pow(2,8*a)-1;_(this,t,e,a,W,0)}var Z=a-1,se=1;for(this[e+Z]=t&255;--Z>=0&&(se*=256);)this[e+Z]=t/se&255;return e+a},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,1,255,0),this[e]=t&255,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},l.prototype.writeIntLE=function(t,e,a,y){if(t=+t,e=e>>>0,!y){var W=Math.pow(2,8*a-1);_(this,t,e,a,W-1,-W)}var Z=0,se=1,ge=0;for(this[e]=t&255;++Z>0)-ge&255;return e+a},l.prototype.writeIntBE=function(t,e,a,y){if(t=+t,e=e>>>0,!y){var W=Math.pow(2,8*a-1);_(this,t,e,a,W-1,-W)}var Z=a-1,se=1,ge=0;for(this[e+Z]=t&255;--Z>=0&&(se*=256);)t<0&&ge===0&&this[e+Z+1]!==0&&(ge=1),this[e+Z]=(t/se>>0)-ge&255;return e+a},l.prototype.writeInt8=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},l.prototype.writeInt16LE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},l.prototype.writeInt32LE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,a){return t=+t,e=e>>>0,a||_(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function N(i,t,e,a,y,W){if(e+a>i.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function H(i,t,e,a,y){return t=+t,e=e>>>0,y||N(i,t,e,4,34028234663852886e22,-34028234663852886e22),x.write(i,t,e,a,23,4),e+4}l.prototype.writeFloatLE=function(t,e,a){return H(this,t,e,!0,a)},l.prototype.writeFloatBE=function(t,e,a){return H(this,t,e,!1,a)};function J(i,t,e,a,y){return t=+t,e=e>>>0,y||N(i,t,e,8,17976931348623157e292,-17976931348623157e292),x.write(i,t,e,a,52,8),e+8}l.prototype.writeDoubleLE=function(t,e,a){return J(this,t,e,!0,a)},l.prototype.writeDoubleBE=function(t,e,a){return J(this,t,e,!1,a)},l.prototype.copy=function(t,e,a,y){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(a||(a=0),!y&&y!==0&&(y=this.length),e>=t.length&&(e=t.length),e||(e=0),y>0&&y=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),t.length-e>>0,a=a===void 0?this.length:a>>>0,t||(t=0);var Z;if(typeof t=="number")for(Z=e;Z55295&&e<57344){if(!y){if(e>56319){(t-=3)>-1&&W.push(239,191,189);continue}else if(Z+1===a){(t-=3)>-1&&W.push(239,191,189);continue}y=e;continue}if(e<56320){(t-=3)>-1&&W.push(239,191,189),y=e;continue}e=(y-55296<<10|e-56320)+65536}else y&&(t-=3)>-1&&W.push(239,191,189);if(y=null,e<128){if((t-=1)<0)break;W.push(e)}else if(e<2048){if((t-=2)<0)break;W.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;W.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;W.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return W}function Be(i){for(var t=[],e=0;e>8,y=e%256,W.push(y),W.push(a);return W}function z(i){return X.toByteArray(Se(i))}function We(i,t,e,a){for(var y=0;y=t.length||y>=i.length);++y)t[y+e]=i[y];return y}function Re(i,t){return i instanceof t||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===t.name}function u(i){return i!==i}var j=function(){for(var i="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var a=e*16,y=0;y<16;++y)t[a+y]=i[e]+i[y];return t}()},67467:function(yt,Ke){Ke.read=function(s,n,X,x,U){var h,D,b=U*8-x-1,l=(1<>1,g=-7,o=X?U-1:0,w=X?-1:1,F=s[n+o];for(o+=w,h=F&(1<<-g)-1,F>>=-g,g+=b;g>0;h=h*256+s[n+o],o+=w,g-=8);for(D=h&(1<<-g)-1,h>>=-g,g+=x;g>0;D=D*256+s[n+o],o+=w,g-=8);if(h===0)h=1-P;else{if(h===l)return D?NaN:(F?-1:1)*(1/0);D=D+Math.pow(2,x),h=h-P}return(F?-1:1)*D*Math.pow(2,h-x)},Ke.write=function(s,n,X,x,U,h){var D,b,l,P=h*8-U-1,g=(1<>1,w=U===23?Math.pow(2,-24)-Math.pow(2,-77):0,F=x?0:h-1,p=x?1:-1,d=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(b=isNaN(n)?1:0,D=g):(D=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-D))<1&&(D--,l*=2),D+o>=1?n+=w/l:n+=w*Math.pow(2,1-o),n*l>=2&&(D++,l/=2),D+o>=g?(b=0,D=g):D+o>=1?(b=(n*l-1)*Math.pow(2,U),D=D+o):(b=n*Math.pow(2,o-1)*Math.pow(2,U),D=0));U>=8;s[X+F]=b&255,F+=p,b/=256,U-=8);for(D=D<0;s[X+F]=D&255,F+=p,D/=256,P-=8);s[X+F-p]|=d*128}},86129:function(yt,Ke,s){var n=s(19208).lW,X=s(97671);(function(x){yt.exports=x()})(function(){return function x(U,h,D){function b(g,o){if(!h[g]){if(!U[g]){var w=void 0;if(!o&&w)return require(g,!0);if(l)return l(g,!0);var F=new Error("Cannot find module '"+g+"'");throw F.code="MODULE_NOT_FOUND",F}var p=h[g]={exports:{}};U[g][0].call(p.exports,function(d){var r=U[g][1][d];return b(r||d)},p,p.exports,x,U,h,D)}return h[g].exports}for(var l=void 0,P=0;P>2,p=(3&g)<<4|o>>4,d=1>6:64,r=2>4,o=(15&F)<<4|(p=l.indexOf(P.charAt(r++)))>>2,w=(3&p)<<6|(d=l.indexOf(P.charAt(r++))),O[f++]=g,p!==64&&(O[f++]=o),d!==64&&(O[f++]=w);return O}},{"./support":30,"./utils":32}],2:[function(x,U,h){"use strict";var D=x("./external"),b=x("./stream/DataWorker"),l=x("./stream/Crc32Probe"),P=x("./stream/DataLengthProbe");function g(o,w,F,p,d){this.compressedSize=o,this.uncompressedSize=w,this.crc32=F,this.compression=p,this.compressedContent=d}g.prototype={getContentWorker:function(){var o=new b(D.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new P("data_length")),w=this;return o.on("end",function(){if(this.streamInfo.data_length!==w.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),o},getCompressedWorker:function(){return new b(D.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},g.createWorkerFrom=function(o,w,F){return o.pipe(new l).pipe(new P("uncompressedSize")).pipe(w.compressWorker(F)).pipe(new P("compressedSize")).withStreamInfo("compression",w)},U.exports=g},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(x,U,h){"use strict";var D=x("./stream/GenericWorker");h.STORE={magic:"\0\0",compressWorker:function(){return new D("STORE compression")},uncompressWorker:function(){return new D("STORE decompression")}},h.DEFLATE=x("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(x,U,h){"use strict";var D=x("./utils"),b=function(){for(var l,P=[],g=0;g<256;g++){l=g;for(var o=0;o<8;o++)l=1&l?3988292384^l>>>1:l>>>1;P[g]=l}return P}();U.exports=function(l,P){return l!==void 0&&l.length?D.getTypeOf(l)!=="string"?function(g,o,w,F){var p=b,d=F+w;g^=-1;for(var r=F;r>>8^p[255&(g^o[r])];return-1^g}(0|P,l,l.length,0):function(g,o,w,F){var p=b,d=F+w;g^=-1;for(var r=F;r>>8^p[255&(g^o.charCodeAt(r))];return-1^g}(0|P,l,l.length,0):0}},{"./utils":32}],5:[function(x,U,h){"use strict";h.base64=!1,h.binary=!1,h.dir=!1,h.createFolders=!0,h.date=null,h.compression=null,h.compressionOptions=null,h.comment=null,h.unixPermissions=null,h.dosPermissions=null},{}],6:[function(x,U,h){"use strict";var D=null;D=typeof Promise!="undefined"?Promise:x("lie"),U.exports={Promise:D}},{lie:37}],7:[function(x,U,h){"use strict";var D=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",b=x("pako"),l=x("./utils"),P=x("./stream/GenericWorker"),g=D?"uint8array":"array";function o(w,F){P.call(this,"FlateWorker/"+w),this._pako=null,this._pakoAction=w,this._pakoOptions=F,this.meta={}}h.magic="\b\0",l.inherits(o,P),o.prototype.processChunk=function(w){this.meta=w.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(g,w.data),!1)},o.prototype.flush=function(){P.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},o.prototype.cleanUp=function(){P.prototype.cleanUp.call(this),this._pako=null},o.prototype._createPako=function(){this._pako=new b[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var w=this;this._pako.onData=function(F){w.push({data:F,meta:w.meta})}},h.compressWorker=function(w){return new o("Deflate",w)},h.uncompressWorker=function(){return new o("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(x,U,h){"use strict";function D(p,d){var r,f="";for(r=0;r>>=8;return f}function b(p,d,r,f,v,O){var T,K,k=p.file,te=p.compression,L=O!==g.utf8encode,$=l.transformTo("string",O(k.name)),M=l.transformTo("string",g.utf8encode(k.name)),V=k.comment,ae=l.transformTo("string",O(V)),S=l.transformTo("string",g.utf8encode(V)),ue=M.length!==k.name.length,c=S.length!==V.length,ne="",Q="",q="",oe=k.dir,Y=k.date,A={crc32:0,compressedSize:0,uncompressedSize:0};d&&!r||(A.crc32=p.crc32,A.compressedSize=p.compressedSize,A.uncompressedSize=p.uncompressedSize);var E=0;d&&(E|=8),L||!ue&&!c||(E|=2048);var _=0,N=0;oe&&(_|=16),v==="UNIX"?(N=798,_|=function(J,me){var Se=J;return J||(Se=me?16893:33204),(65535&Se)<<16}(k.unixPermissions,oe)):(N=20,_|=function(J){return 63&(J||0)}(k.dosPermissions)),T=Y.getUTCHours(),T<<=6,T|=Y.getUTCMinutes(),T<<=5,T|=Y.getUTCSeconds()/2,K=Y.getUTCFullYear()-1980,K<<=4,K|=Y.getUTCMonth()+1,K<<=5,K|=Y.getUTCDate(),ue&&(Q=D(1,1)+D(o($),4)+M,ne+="up"+D(Q.length,2)+Q),c&&(q=D(1,1)+D(o(ae),4)+S,ne+="uc"+D(q.length,2)+q);var H="";return H+=` -\0`,H+=D(E,2),H+=te.magic,H+=D(T,2),H+=D(K,2),H+=D(A.crc32,4),H+=D(A.compressedSize,4),H+=D(A.uncompressedSize,4),H+=D($.length,2),H+=D(ne.length,2),{fileRecord:w.LOCAL_FILE_HEADER+H+$+ne,dirRecord:w.CENTRAL_FILE_HEADER+D(N,2)+H+D(ae.length,2)+"\0\0\0\0"+D(_,4)+D(f,4)+$+ne+ae}}var l=x("../utils"),P=x("../stream/GenericWorker"),g=x("../utf8"),o=x("../crc32"),w=x("../signature");function F(p,d,r,f){P.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=r,this.encodeFileName=f,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(F,P),F.prototype.push=function(p){var d=p.meta.percent||0,r=this.entriesCount,f=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,P.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:r?(d+100*(r-f-1))/r:100}}))},F.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var d=this.streamFiles&&!p.file.dir;if(d){var r=b(p,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},F.prototype.closedSource=function(p){this.accumulate=!1;var d=this.streamFiles&&!p.file.dir,r=b(p,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),d)this.push({data:function(f){return w.DATA_DESCRIPTOR+D(f.crc32,4)+D(f.compressedSize,4)+D(f.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},F.prototype.flush=function(){for(var p=this.bytesWritten,d=0;d=this.index;P--)g=(g<<8)+this.byteAt(P);return this.index+=l,g},readString:function(l){return D.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},U.exports=b},{"../utils":32}],19:[function(x,U,h){"use strict";var D=x("./Uint8ArrayReader");function b(l){D.call(this,l)}x("../utils").inherits(b,D),b.prototype.readData=function(l){this.checkOffset(l);var P=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=b},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(x,U,h){"use strict";var D=x("./DataReader");function b(l){D.call(this,l)}x("../utils").inherits(b,D),b.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},b.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},b.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},b.prototype.readData=function(l){this.checkOffset(l);var P=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=b},{"../utils":32,"./DataReader":18}],21:[function(x,U,h){"use strict";var D=x("./ArrayReader");function b(l){D.call(this,l)}x("../utils").inherits(b,D),b.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var P=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=b},{"../utils":32,"./ArrayReader":17}],22:[function(x,U,h){"use strict";var D=x("../utils"),b=x("../support"),l=x("./ArrayReader"),P=x("./StringReader"),g=x("./NodeBufferReader"),o=x("./Uint8ArrayReader");U.exports=function(w){var F=D.getTypeOf(w);return D.checkSupport(F),F!=="string"||b.uint8array?F==="nodebuffer"?new g(w):b.uint8array?new o(D.transformTo("uint8array",w)):new l(D.transformTo("array",w)):new P(w)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(x,U,h){"use strict";h.LOCAL_FILE_HEADER="PK",h.CENTRAL_FILE_HEADER="PK",h.CENTRAL_DIRECTORY_END="PK",h.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",h.ZIP64_CENTRAL_DIRECTORY_END="PK",h.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(x,U,h){"use strict";var D=x("./GenericWorker"),b=x("../utils");function l(P){D.call(this,"ConvertWorker to "+P),this.destType=P}b.inherits(l,D),l.prototype.processChunk=function(P){this.push({data:b.transformTo(this.destType,P.data),meta:P.meta})},U.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(x,U,h){"use strict";var D=x("./GenericWorker"),b=x("../crc32");function l(){D.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}x("../utils").inherits(l,D),l.prototype.processChunk=function(P){this.streamInfo.crc32=b(P.data,this.streamInfo.crc32||0),this.push(P)},U.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(x,U,h){"use strict";var D=x("../utils"),b=x("./GenericWorker");function l(P){b.call(this,"DataLengthProbe for "+P),this.propName=P,this.withStreamInfo(P,0)}D.inherits(l,b),l.prototype.processChunk=function(P){if(P){var g=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=g+P.data.length}b.prototype.processChunk.call(this,P)},U.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(x,U,h){"use strict";var D=x("../utils"),b=x("./GenericWorker");function l(P){b.call(this,"DataWorker");var g=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,P.then(function(o){g.dataIsReady=!0,g.data=o,g.max=o&&o.length||0,g.type=D.getTypeOf(o),g.isPaused||g._tickAndRepeat()},function(o){g.error(o)})}D.inherits(l,b),l.prototype.cleanUp=function(){b.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!b.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,D.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(D.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var P=null,g=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":P=this.data.substring(this.index,g);break;case"uint8array":P=this.data.subarray(this.index,g);break;case"array":case"nodebuffer":P=this.data.slice(this.index,g)}return this.index=g,this.push({data:P,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(x,U,h){"use strict";function D(b){this.name=b||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}D.prototype={push:function(b){this.emit("data",b)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(b){this.emit("error",b)}return!0},error:function(b){return!this.isFinished&&(this.isPaused?this.generatedError=b:(this.isFinished=!0,this.emit("error",b),this.previous&&this.previous.error(b),this.cleanUp()),!0)},on:function(b,l){return this._listeners[b].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(b,l){if(this._listeners[b])for(var P=0;P "+b:b}},U.exports=D},{}],29:[function(x,U,h){"use strict";var D=x("../utils"),b=x("./ConvertWorker"),l=x("./GenericWorker"),P=x("../base64"),g=x("../support"),o=x("../external"),w=null;if(g.nodestream)try{w=x("../nodejs/NodejsStreamOutputAdapter")}catch(d){}function F(d,r){return new o.Promise(function(f,v){var O=[],T=d._internalType,K=d._outputType,k=d._mimeType;d.on("data",function(te,L){O.push(te),r&&r(L)}).on("error",function(te){O=[],v(te)}).on("end",function(){try{var te=function(L,$,M){switch(L){case"blob":return D.newBlob(D.transformTo("arraybuffer",$),M);case"base64":return P.encode($);default:return D.transformTo(L,$)}}(K,function(L,$){var M,V=0,ae=null,S=0;for(M=0;M<$.length;M++)S+=$[M].length;switch(L){case"string":return $.join("");case"array":return Array.prototype.concat.apply([],$);case"uint8array":for(ae=new Uint8Array(S),M=0;M<$.length;M++)ae.set($[M],V),V+=$[M].length;return ae;case"nodebuffer":return n.concat($);default:throw new Error("concat : unsupported type '"+L+"'")}}(T,O),k);f(te)}catch(L){v(L)}O=[]}).resume()})}function p(d,r,f){var v=r;switch(r){case"blob":case"arraybuffer":v="uint8array";break;case"base64":v="string"}try{this._internalType=v,this._outputType=r,this._mimeType=f,D.checkSupport(v),this._worker=d.pipe(new b(v)),d.lock()}catch(O){this._worker=new l("error"),this._worker.error(O)}}p.prototype={accumulate:function(d){return F(this,d)},on:function(d,r){var f=this;return d==="data"?this._worker.on(d,function(v){r.call(f,v.data,v.meta)}):this._worker.on(d,function(){D.delay(r,arguments,f)}),this},resume:function(){return D.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(D.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new w(this,{objectMode:this._outputType!=="nodebuffer"},d)}},U.exports=p},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(x,U,h){"use strict";if(h.base64=!0,h.array=!0,h.string=!0,h.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",h.nodebuffer=typeof n!="undefined",h.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")h.blob=!1;else{var D=new ArrayBuffer(0);try{h.blob=new Blob([D],{type:"application/zip"}).size===0}catch(l){try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);b.append(D),h.blob=b.getBlob("application/zip").size===0}catch(P){h.blob=!1}}}try{h.nodestream=!!x("readable-stream").Readable}catch(l){h.nodestream=!1}},{"readable-stream":16}],31:[function(x,U,h){"use strict";for(var D=x("./utils"),b=x("./support"),l=x("./nodejsUtils"),P=x("./stream/GenericWorker"),g=new Array(256),o=0;o<256;o++)g[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;g[254]=g[254]=1;function w(){P.call(this,"utf-8 decode"),this.leftOver=null}function F(){P.call(this,"utf-8 encode")}h.utf8encode=function(p){return b.nodebuffer?l.newBufferFrom(p,"utf-8"):function(d){var r,f,v,O,T,K=d.length,k=0;for(O=0;O>>6:(f<65536?r[T++]=224|f>>>12:(r[T++]=240|f>>>18,r[T++]=128|f>>>12&63),r[T++]=128|f>>>6&63),r[T++]=128|63&f);return r}(p)},h.utf8decode=function(p){return b.nodebuffer?D.transformTo("nodebuffer",p).toString("utf-8"):function(d){var r,f,v,O,T=d.length,K=new Array(2*T);for(r=f=0;r>10&1023,K[f++]=56320|1023&v)}return K.length!==f&&(K.subarray?K=K.subarray(0,f):K.length=f),D.applyFromCharCode(K)}(p=D.transformTo(b.uint8array?"uint8array":"array",p))},D.inherits(w,P),w.prototype.processChunk=function(p){var d=D.transformTo(b.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(b.uint8array){var r=d;(d=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),d.set(r,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var f=function(O,T){var K;for((T=T||O.length)>O.length&&(T=O.length),K=T-1;0<=K&&(192&O[K])==128;)K--;return K<0||K===0?T:K+g[O[K]]>T?K:T}(d),v=d;f!==d.length&&(b.uint8array?(v=d.subarray(0,f),this.leftOver=d.subarray(f,d.length)):(v=d.slice(0,f),this.leftOver=d.slice(f,d.length))),this.push({data:h.utf8decode(v),meta:p.meta})},w.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:h.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},h.Utf8DecodeWorker=w,D.inherits(F,P),F.prototype.processChunk=function(p){this.push({data:h.utf8encode(p.data),meta:p.meta})},h.Utf8EncodeWorker=F},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(x,U,h){"use strict";var D=x("./support"),b=x("./base64"),l=x("./nodejsUtils"),P=x("./external");function g(r){return r}function o(r,f){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=D(this.extraFields[1].value);this.uncompressedSize===b.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===b.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===b.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===b.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var d,r,f,v=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4>>6:(p<65536?F[f++]=224|p>>>12:(F[f++]=240|p>>>18,F[f++]=128|p>>>12&63),F[f++]=128|p>>>6&63),F[f++]=128|63&p);return F},h.buf2binstring=function(w){return o(w,w.length)},h.binstring2buf=function(w){for(var F=new D.Buf8(w.length),p=0,d=F.length;p>10&1023,O[d++]=56320|1023&r)}return o(O,d)},h.utf8border=function(w,F){var p;for((F=F||w.length)>w.length&&(F=w.length),p=F-1;0<=p&&(192&w[p])==128;)p--;return p<0||p===0?F:p+P[w[p]]>F?p:F}},{"./common":41}],43:[function(x,U,h){"use strict";U.exports=function(D,b,l,P){for(var g=65535&D|0,o=D>>>16&65535|0,w=0;l!==0;){for(l-=w=2e3>>1:b>>>1;l[P]=b}return l}();U.exports=function(b,l,P,g){var o=D,w=g+P;b^=-1;for(var F=g;F>>8^o[255&(b^l[F])];return-1^b}},{}],46:[function(x,U,h){"use strict";var D,b=x("../utils/common"),l=x("./trees"),P=x("./adler32"),g=x("./crc32"),o=x("./messages"),w=0,F=4,p=0,d=-2,r=-1,f=4,v=2,O=8,T=9,K=286,k=30,te=19,L=2*K+1,$=15,M=3,V=258,ae=V+M+1,S=42,ue=113,c=1,ne=2,Q=3,q=4;function oe(u,j){return u.msg=o[j],j}function Y(u){return(u<<1)-(4u.avail_out&&(i=u.avail_out),i!==0&&(b.arraySet(u.output,j.pending_buf,j.pending_out,i,u.next_out),u.next_out+=i,j.pending_out+=i,u.total_out+=i,u.avail_out-=i,j.pending-=i,j.pending===0&&(j.pending_out=0))}function _(u,j){l._tr_flush_block(u,0<=u.block_start?u.block_start:-1,u.strstart-u.block_start,j),u.block_start=u.strstart,E(u.strm)}function N(u,j){u.pending_buf[u.pending++]=j}function H(u,j){u.pending_buf[u.pending++]=j>>>8&255,u.pending_buf[u.pending++]=255&j}function J(u,j){var i,t,e=u.max_chain_length,a=u.strstart,y=u.prev_length,W=u.nice_match,Z=u.strstart>u.w_size-ae?u.strstart-(u.w_size-ae):0,se=u.window,ge=u.w_mask,fe=u.prev,R=u.strstart+V,He=se[a+y-1],Te=se[a+y];u.prev_length>=u.good_match&&(e>>=2),W>u.lookahead&&(W=u.lookahead);do if(se[(i=j)+y]===Te&&se[i+y-1]===He&&se[i]===se[a]&&se[++i]===se[a+1]){a+=2,i++;do;while(se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&aZ&&--e!=0);return y<=u.lookahead?y:u.lookahead}function me(u){var j,i,t,e,a,y,W,Z,se,ge,fe=u.w_size;do{if(e=u.window_size-u.lookahead-u.strstart,u.strstart>=fe+(fe-ae)){for(b.arraySet(u.window,u.window,fe,fe,0),u.match_start-=fe,u.strstart-=fe,u.block_start-=fe,j=i=u.hash_size;t=u.head[--j],u.head[j]=fe<=t?t-fe:0,--i;);for(j=i=fe;t=u.prev[--j],u.prev[j]=fe<=t?t-fe:0,--i;);e+=fe}if(u.strm.avail_in===0)break;if(y=u.strm,W=u.window,Z=u.strstart+u.lookahead,se=e,ge=void 0,ge=y.avail_in,se=M)for(a=u.strstart-u.insert,u.ins_h=u.window[a],u.ins_h=(u.ins_h<=M&&(u.ins_h=(u.ins_h<=M)if(t=l._tr_tally(u,u.strstart-u.match_start,u.match_length-M),u.lookahead-=u.match_length,u.match_length<=u.max_lazy_match&&u.lookahead>=M){for(u.match_length--;u.strstart++,u.ins_h=(u.ins_h<=M&&(u.ins_h=(u.ins_h<=M&&u.match_length<=u.prev_length){for(e=u.strstart+u.lookahead-M,t=l._tr_tally(u,u.strstart-1-u.prev_match,u.prev_length-M),u.lookahead-=u.prev_length-1,u.prev_length-=2;++u.strstart<=e&&(u.ins_h=(u.ins_h<u.pending_buf_size-5&&(i=u.pending_buf_size-5);;){if(u.lookahead<=1){if(me(u),u.lookahead===0&&j===w)return c;if(u.lookahead===0)break}u.strstart+=u.lookahead,u.lookahead=0;var t=u.block_start+i;if((u.strstart===0||u.strstart>=t)&&(u.lookahead=u.strstart-t,u.strstart=t,_(u,!1),u.strm.avail_out===0)||u.strstart-u.block_start>=u.w_size-ae&&(_(u,!1),u.strm.avail_out===0))return c}return u.insert=0,j===F?(_(u,!0),u.strm.avail_out===0?Q:q):(u.strstart>u.block_start&&(_(u,!1),u.strm.avail_out),c)}),new Be(4,4,8,4,Se),new Be(4,5,16,8,Se),new Be(4,6,32,32,Se),new Be(4,4,16,16,be),new Be(8,16,32,32,be),new Be(8,16,128,128,be),new Be(8,32,128,256,be),new Be(32,128,258,1024,be),new Be(32,258,258,4096,be)],h.deflateInit=function(u,j){return Re(u,j,O,15,8,0)},h.deflateInit2=Re,h.deflateReset=We,h.deflateResetKeep=z,h.deflateSetHeader=function(u,j){return u&&u.state?u.state.wrap!==2?d:(u.state.gzhead=j,p):d},h.deflate=function(u,j){var i,t,e,a;if(!u||!u.state||5>8&255),N(t,t.gzhead.time>>16&255),N(t,t.gzhead.time>>24&255),N(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),N(t,255&t.gzhead.os),t.gzhead.extra&&t.gzhead.extra.length&&(N(t,255&t.gzhead.extra.length),N(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(u.adler=g(u.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=69):(N(t,0),N(t,0),N(t,0),N(t,0),N(t,0),N(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),N(t,3),t.status=ue);else{var y=O+(t.w_bits-8<<4)<<8;y|=(2<=t.strategy||t.level<2?0:t.level<6?1:t.level===6?2:3)<<6,t.strstart!==0&&(y|=32),y+=31-y%31,t.status=ue,H(t,y),t.strstart!==0&&(H(t,u.adler>>>16),H(t,65535&u.adler)),u.adler=1}if(t.status===69)if(t.gzhead.extra){for(e=t.pending;t.gzindex<(65535&t.gzhead.extra.length)&&(t.pending!==t.pending_buf_size||(t.gzhead.hcrc&&t.pending>e&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),E(u),e=t.pending,t.pending!==t.pending_buf_size));)N(t,255&t.gzhead.extra[t.gzindex]),t.gzindex++;t.gzhead.hcrc&&t.pending>e&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=73)}else t.status=73;if(t.status===73)if(t.gzhead.name){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),E(u),e=t.pending,t.pending===t.pending_buf_size)){a=1;break}a=t.gzindexe&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),a===0&&(t.gzindex=0,t.status=91)}else t.status=91;if(t.status===91)if(t.gzhead.comment){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),E(u),e=t.pending,t.pending===t.pending_buf_size)){a=1;break}a=t.gzindexe&&(u.adler=g(u.adler,t.pending_buf,t.pending-e,e)),a===0&&(t.status=103)}else t.status=103;if(t.status===103&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&E(u),t.pending+2<=t.pending_buf_size&&(N(t,255&u.adler),N(t,u.adler>>8&255),u.adler=0,t.status=ue)):t.status=ue),t.pending!==0){if(E(u),u.avail_out===0)return t.last_flush=-1,p}else if(u.avail_in===0&&Y(j)<=Y(i)&&j!==F)return oe(u,-5);if(t.status===666&&u.avail_in!==0)return oe(u,-5);if(u.avail_in!==0||t.lookahead!==0||j!==w&&t.status!==666){var W=t.strategy===2?function(Z,se){for(var ge;;){if(Z.lookahead===0&&(me(Z),Z.lookahead===0)){if(se===w)return c;break}if(Z.match_length=0,ge=l._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,ge&&(_(Z,!1),Z.strm.avail_out===0))return c}return Z.insert=0,se===F?(_(Z,!0),Z.strm.avail_out===0?Q:q):Z.last_lit&&(_(Z,!1),Z.strm.avail_out===0)?c:ne}(t,j):t.strategy===3?function(Z,se){for(var ge,fe,R,He,Te=Z.window;;){if(Z.lookahead<=V){if(me(Z),Z.lookahead<=V&&se===w)return c;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=M&&0Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=M?(ge=l._tr_tally(Z,1,Z.match_length-M),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(ge=l._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),ge&&(_(Z,!1),Z.strm.avail_out===0))return c}return Z.insert=0,se===F?(_(Z,!0),Z.strm.avail_out===0?Q:q):Z.last_lit&&(_(Z,!1),Z.strm.avail_out===0)?c:ne}(t,j):D[t.level].func(t,j);if(W!==Q&&W!==q||(t.status=666),W===c||W===Q)return u.avail_out===0&&(t.last_flush=-1),p;if(W===ne&&(j===1?l._tr_align(t):j!==5&&(l._tr_stored_block(t,0,0,!1),j===3&&(A(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),E(u),u.avail_out===0))return t.last_flush=-1,p}return j!==F?p:t.wrap<=0?1:(t.wrap===2?(N(t,255&u.adler),N(t,u.adler>>8&255),N(t,u.adler>>16&255),N(t,u.adler>>24&255),N(t,255&u.total_in),N(t,u.total_in>>8&255),N(t,u.total_in>>16&255),N(t,u.total_in>>24&255)):(H(t,u.adler>>>16),H(t,65535&u.adler)),E(u),0=i.w_size&&(a===0&&(A(i.head),i.strstart=0,i.block_start=0,i.insert=0),se=new b.Buf8(i.w_size),b.arraySet(se,j,ge-i.w_size,i.w_size,0),j=se,ge=i.w_size),y=u.avail_in,W=u.next_in,Z=u.input,u.avail_in=ge,u.next_in=0,u.input=j,me(i);i.lookahead>=M;){for(t=i.strstart,e=i.lookahead-(M-1);i.ins_h=(i.ins_h<>>=M=$>>>24,T-=M,(M=$>>>16&255)===0)ne[o++]=65535&$;else{if(!(16&M)){if(!(64&M)){$=K[(65535&$)+(O&(1<>>=M,T-=M),T<15&&(O+=c[P++]<>>=M=$>>>24,T-=M,!(16&(M=$>>>16&255))){if(!(64&M)){$=k[(65535&$)+(O&(1<>>=M,T-=M,(M=o-w)>3,O&=(1<<(T-=V<<3))-1,D.next_in=P,D.next_out=o,D.avail_in=P>>24&255)+(S>>>8&65280)+((65280&S)<<8)+((255&S)<<24)}function O(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new D.Buf16(320),this.work=new D.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function T(S){var ue;return S&&S.state?(ue=S.state,S.total_in=S.total_out=ue.total=0,S.msg="",ue.wrap&&(S.adler=1&ue.wrap),ue.mode=d,ue.last=0,ue.havedict=0,ue.dmax=32768,ue.head=null,ue.hold=0,ue.bits=0,ue.lencode=ue.lendyn=new D.Buf32(r),ue.distcode=ue.distdyn=new D.Buf32(f),ue.sane=1,ue.back=-1,F):p}function K(S){var ue;return S&&S.state?((ue=S.state).wsize=0,ue.whave=0,ue.wnext=0,T(S)):p}function k(S,ue){var c,ne;return S&&S.state?(ne=S.state,ue<0?(c=0,ue=-ue):(c=1+(ue>>4),ue<48&&(ue&=15)),ue&&(ue<8||15=q.wsize?(D.arraySet(q.window,ue,c-q.wsize,q.wsize,0),q.wnext=0,q.whave=q.wsize):(ne<(Q=q.wsize-q.wnext)&&(Q=ne),D.arraySet(q.window,ue,c-ne,Q,q.wnext),(ne-=Q)?(D.arraySet(q.window,ue,c-ne,ne,0),q.wnext=ne,q.whave=q.wsize):(q.wnext+=Q,q.wnext===q.wsize&&(q.wnext=0),q.whave>>8&255,c.check=l(c.check,a,2,0),_=E=0,c.mode=2;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&E)<<8)+(E>>8))%31){S.msg="incorrect header check",c.mode=30;break}if((15&E)!=8){S.msg="unknown compression method",c.mode=30;break}if(_-=4,u=8+(15&(E>>>=4)),c.wbits===0)c.wbits=u;else if(u>c.wbits){S.msg="invalid window size",c.mode=30;break}c.dmax=1<>8&1),512&c.flags&&(a[0]=255&E,a[1]=E>>>8&255,c.check=l(c.check,a,2,0)),_=E=0,c.mode=3;case 3:for(;_<32;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}c.head&&(c.head.time=E),512&c.flags&&(a[0]=255&E,a[1]=E>>>8&255,a[2]=E>>>16&255,a[3]=E>>>24&255,c.check=l(c.check,a,4,0)),_=E=0,c.mode=4;case 4:for(;_<16;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}c.head&&(c.head.xflags=255&E,c.head.os=E>>8),512&c.flags&&(a[0]=255&E,a[1]=E>>>8&255,c.check=l(c.check,a,2,0)),_=E=0,c.mode=5;case 5:if(1024&c.flags){for(;_<16;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}c.length=E,c.head&&(c.head.extra_len=E),512&c.flags&&(a[0]=255&E,a[1]=E>>>8&255,c.check=l(c.check,a,2,0)),_=E=0}else c.head&&(c.head.extra=null);c.mode=6;case 6:if(1024&c.flags&&(Y<(J=c.length)&&(J=Y),J&&(c.head&&(u=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),D.arraySet(c.head.extra,ne,q,J,u)),512&c.flags&&(c.check=l(c.check,ne,J,q)),Y-=J,q+=J,c.length-=J),c.length))break e;c.length=0,c.mode=7;case 7:if(2048&c.flags){if(Y===0)break e;for(J=0;u=ne[q+J++],c.head&&u&&c.length<65536&&(c.head.name+=String.fromCharCode(u)),u&&J>9&1,c.head.done=!0),S.adler=c.check=0,c.mode=12;break;case 10:for(;_<32;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}S.adler=c.check=v(E),_=E=0,c.mode=11;case 11:if(c.havedict===0)return S.next_out=oe,S.avail_out=A,S.next_in=q,S.avail_in=Y,c.hold=E,c.bits=_,2;S.adler=c.check=1,c.mode=12;case 12:if(ue===5||ue===6)break e;case 13:if(c.last){E>>>=7&_,_-=7&_,c.mode=27;break}for(;_<3;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}switch(c.last=1&E,_-=1,3&(E>>>=1)){case 0:c.mode=14;break;case 1:if(V(c),c.mode=20,ue!==6)break;E>>>=2,_-=2;break e;case 2:c.mode=17;break;case 3:S.msg="invalid block type",c.mode=30}E>>>=2,_-=2;break;case 14:for(E>>>=7&_,_-=7&_;_<32;){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}if((65535&E)!=(E>>>16^65535)){S.msg="invalid stored block lengths",c.mode=30;break}if(c.length=65535&E,_=E=0,c.mode=15,ue===6)break e;case 15:c.mode=16;case 16:if(J=c.length){if(Y>>=5,_-=5,c.ndist=1+(31&E),E>>>=5,_-=5,c.ncode=4+(15&E),E>>>=4,_-=4,286>>=3,_-=3}for(;c.have<19;)c.lens[y[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,i={bits:c.lenbits},j=g(0,c.lens,0,19,c.lencode,0,c.work,i),c.lenbits=i.bits,j){S.msg="invalid code lengths set",c.mode=30;break}c.have=0,c.mode=19;case 19:for(;c.have>>16&255,we=65535&e,!((be=e>>>24)<=_);){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}if(we<16)E>>>=be,_-=be,c.lens[c.have++]=we;else{if(we===16){for(t=be+2;_>>=be,_-=be,c.have===0){S.msg="invalid bit length repeat",c.mode=30;break}u=c.lens[c.have-1],J=3+(3&E),E>>>=2,_-=2}else if(we===17){for(t=be+3;_>>=be)),E>>>=3,_-=3}else{for(t=be+7;_>>=be)),E>>>=7,_-=7}if(c.have+J>c.nlen+c.ndist){S.msg="invalid bit length repeat",c.mode=30;break}for(;J--;)c.lens[c.have++]=u}}if(c.mode===30)break;if(c.lens[256]===0){S.msg="invalid code -- missing end-of-block",c.mode=30;break}if(c.lenbits=9,i={bits:c.lenbits},j=g(o,c.lens,0,c.nlen,c.lencode,0,c.work,i),c.lenbits=i.bits,j){S.msg="invalid literal/lengths set",c.mode=30;break}if(c.distbits=6,c.distcode=c.distdyn,i={bits:c.distbits},j=g(w,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,i),c.distbits=i.bits,j){S.msg="invalid distances set",c.mode=30;break}if(c.mode=20,ue===6)break e;case 20:c.mode=21;case 21:if(6<=Y&&258<=A){S.next_out=oe,S.avail_out=A,S.next_in=q,S.avail_in=Y,c.hold=E,c.bits=_,P(S,H),oe=S.next_out,Q=S.output,A=S.avail_out,q=S.next_in,ne=S.input,Y=S.avail_in,E=c.hold,_=c.bits,c.mode===12&&(c.back=-1);break}for(c.back=0;Be=(e=c.lencode[E&(1<>>16&255,we=65535&e,!((be=e>>>24)<=_);){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}if(Be&&!(240&Be)){for(z=be,We=Be,Re=we;Be=(e=c.lencode[Re+((E&(1<>z)])>>>16&255,we=65535&e,!(z+(be=e>>>24)<=_);){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}E>>>=z,_-=z,c.back+=z}if(E>>>=be,_-=be,c.back+=be,c.length=we,Be===0){c.mode=26;break}if(32&Be){c.back=-1,c.mode=12;break}if(64&Be){S.msg="invalid literal/length code",c.mode=30;break}c.extra=15&Be,c.mode=22;case 22:if(c.extra){for(t=c.extra;_>>=c.extra,_-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=23;case 23:for(;Be=(e=c.distcode[E&(1<>>16&255,we=65535&e,!((be=e>>>24)<=_);){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}if(!(240&Be)){for(z=be,We=Be,Re=we;Be=(e=c.distcode[Re+((E&(1<>z)])>>>16&255,we=65535&e,!(z+(be=e>>>24)<=_);){if(Y===0)break e;Y--,E+=ne[q++]<<_,_+=8}E>>>=z,_-=z,c.back+=z}if(E>>>=be,_-=be,c.back+=be,64&Be){S.msg="invalid distance code",c.mode=30;break}c.offset=we,c.extra=15&Be,c.mode=24;case 24:if(c.extra){for(t=c.extra;_>>=c.extra,_-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){S.msg="invalid distance too far back",c.mode=30;break}c.mode=25;case 25:if(A===0)break e;if(J=H-A,c.offset>J){if((J=c.offset-J)>c.whave&&c.sane){S.msg="invalid distance too far back",c.mode=30;break}me=J>c.wnext?(J-=c.wnext,c.wsize-J):c.wnext-J,J>c.length&&(J=c.length),Se=c.window}else Se=Q,me=oe-c.offset,J=c.length;for(AL?(M=me[Se+f[ue]],_[N+f[ue]]):(M=96,0),O=1<>oe)+(T-=O)]=$<<24|M<<16|V|0,T!==0;);for(O=1<>=1;if(O!==0?(E&=O-1,E+=O):E=0,ue++,--H[S]==0){if(S===ne)break;S=w[F+f[ue]]}if(Q>>7)]}function N(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function H(e,a,y){e.bi_valid>v-y?(e.bi_buf|=a<>v-e.bi_valid,e.bi_valid+=y-v):(e.bi_buf|=a<>>=1,y<<=1,0<--a;);return y>>>1}function Se(e,a,y){var W,Z,se=new Array(f+1),ge=0;for(W=1;W<=f;W++)se[W]=ge=ge+y[W-1]<<1;for(Z=0;Z<=a;Z++){var fe=e[2*Z+1];fe!==0&&(e[2*Z]=me(se[fe]++,fe))}}function be(e){var a;for(a=0;a>1;1<=y;y--)z(e,se,y);for(Z=R;y=e.heap[1],e.heap[1]=e.heap[e.heap_len--],z(e,se,1),W=e.heap[1],e.heap[--e.heap_max]=y,e.heap[--e.heap_max]=W,se[2*Z]=se[2*y]+se[2*W],e.depth[Z]=(e.depth[y]>=e.depth[W]?e.depth[y]:e.depth[W])+1,se[2*y+1]=se[2*W+1]=Z,e.heap[1]=Z++,z(e,se,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(Te,at){var Rt,qt,Ot,Ge,xt,un,At=at.dyn_tree,Xt=at.max_code,An=at.stat_desc.static_tree,Sn=at.stat_desc.has_stree,fn=at.stat_desc.extra_bits,Zn=at.stat_desc.extra_base,yn=at.stat_desc.max_length,Bn=0;for(Ge=0;Ge<=f;Ge++)Te.bl_count[Ge]=0;for(At[2*Te.heap[Te.heap_max]+1]=0,Rt=Te.heap_max+1;Rt>=7;Z>>=1)if(1&He&&fe.dyn_ltree[2*R]!==0)return b;if(fe.dyn_ltree[18]!==0||fe.dyn_ltree[20]!==0||fe.dyn_ltree[26]!==0)return l;for(R=32;R>>3,(se=e.static_len+3+7>>>3)<=Z&&(Z=se)):Z=se=y+5,y+4<=Z&&a!==-1?t(e,a,y,W):e.strategy===4||se===Z?(H(e,2+(W?1:0),3),We(e,ae,S)):(H(e,4+(W?1:0),3),function(fe,R,He,Te){var at;for(H(fe,R-257,5),H(fe,He-1,5),H(fe,Te-4,4),at=0;at>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&y,e.last_lit++,a===0?e.dyn_ltree[2*y]++:(e.matches++,a--,e.dyn_ltree[2*(c[y]+w+1)]++,e.dyn_dtree[2*_(a)]++),e.last_lit===e.lit_bufsize-1},h._tr_align=function(e){H(e,2,3),J(e,T,ae),function(a){a.bi_valid===16?(N(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):8<=a.bi_valid&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(x,U,h){"use strict";U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(x,U,h){(function(D){(function(b,l){"use strict";if(!b.setImmediate){var P,g,o,w,F=1,p={},d=!1,r=b.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(b);f=f&&f.setTimeout?f:b,P={}.toString.call(b.process)==="[object process]"?function(K){X.nextTick(function(){O(K)})}:function(){if(b.postMessage&&!b.importScripts){var K=!0,k=b.onmessage;return b.onmessage=function(){K=!1},b.postMessage("","*"),b.onmessage=k,K}}()?(w="setImmediate$"+Math.random()+"$",b.addEventListener?b.addEventListener("message",T,!1):b.attachEvent("onmessage",T),function(K){b.postMessage(w+K,"*")}):b.MessageChannel?((o=new MessageChannel).port1.onmessage=function(K){O(K.data)},function(K){o.port2.postMessage(K)}):r&&"onreadystatechange"in r.createElement("script")?(g=r.documentElement,function(K){var k=r.createElement("script");k.onreadystatechange=function(){O(K),k.onreadystatechange=null,g.removeChild(k),k=null},g.appendChild(k)}):function(K){setTimeout(O,0,K)},f.setImmediate=function(K){typeof K!="function"&&(K=new Function(""+K));for(var k=new Array(arguments.length-1),te=0;te=0||Object.prototype.hasOwnProperty.call(w,d)&&(p[d]=w[d]);return p}function l(w,F){if(!(w instanceof F))throw new TypeError("Cannot call a class as a function")}function P(w,F){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:w}function g(w,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);w.prototype=Object.create(F&&F.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(w,F):w.__proto__=F)}var o=function(w){g(F,w);function F(p){l(this,F);var d=P(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,p));return d.scrollListener=d.scrollListener.bind(d),d.eventListenerOptions=d.eventListenerOptions.bind(d),d.mousewheelListener=d.mousewheelListener.bind(d),d}return n(F,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var d=this.getParentElement(this.scrollComponent);d.scrollTop=d.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var d=!1,r={get passive(){d=!0}};try{document.addEventListener("test",null,r),document.removeEventListener("test",null,r)}catch(f){}return d}},{key:"eventListenerOptions",value:function(){var d=this.props.useCapture;return this.isPassiveSupported()&&(d={useCapture:this.props.useCapture,passive:!0}),d}},{key:"setDefaultLoader",value:function(d){this.defaultLoader=d}},{key:"detachMousewheelListener",value:function(){var d=window;this.props.useWindow===!1&&(d=this.scrollComponent.parentNode),d.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var d=window;this.props.useWindow===!1&&(d=this.getParentElement(this.scrollComponent)),d.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),d.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(d){var r=this.props.getScrollParent&&this.props.getScrollParent();return r!=null?r:d&&d.parentNode}},{key:"filterProps",value:function(d){return d}},{key:"attachScrollListener",value:function(){var d=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!d)){var r=window;this.props.useWindow===!1&&(r=d),r.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),r.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(d){d.deltaY===1&&!this.isPassiveSupported()&&d.preventDefault()}},{key:"scrollListener",value:function(){var d=this.scrollComponent,r=window,f=this.getParentElement(d),v=void 0;if(this.props.useWindow){var O=document.documentElement||document.body.parentNode||document.body,T=r.pageYOffset!==void 0?r.pageYOffset:O.scrollTop;this.props.isReverse?v=T:v=this.calculateOffset(d,T)}else this.props.isReverse?v=f.scrollTop:v=d.scrollHeight-f.scrollTop-f.clientHeight;vr in d?B(d,r,{enumerable:!0,configurable:!0,writable:!0,value:f}):d[r]=f,v=(d,r)=>{for(var f in r||(r={}))C.call(r,f)&&P(d,f,r[f]);if(D)for(var f of D(r))l.call(r,f)&&P(d,f,r[f]);return d},o=(d,r)=>U(d,_(r)),A=(d,r)=>{var f={};for(var h in d)C.call(d,h)&&r.indexOf(h)<0&&(f[h]=d[h]);if(d!=null&&D)for(var h of D(d))r.indexOf(h)<0&&l.call(d,h)&&(f[h]=d[h]);return f},F=(d,r,f)=>new Promise((h,O)=>{var T=te=>{try{k(f.next(te))}catch(H){O(H)}},K=te=>{try{k(f.throw(te))}catch(H){O(H)}},k=te=>te.done?h(te.value):Promise.resolve(te.value).then(T,K);k((f=f.apply(d,r)).next())});const p=d=>{var r=d,{children:f}=r,h=A(r,["children"]);const[O,T]=(0,X.useState)(!1);return X.createElement(n.ZP,o(v({},h),{loading:O,onClick:K=>F(void 0,null,function*(){try{T(!0),yield h.onClick(K),T(!1)}catch(k){console.error(k),T(!1)}})}),f)}},12393:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return O}});var n=s(59301),X=s(78241),B=s(8591),U=s(43418),_=s(5083),D=s(92832),C=s(1710),l=s(95237),P=s(43604),v=s(61186),o=s.n(v),A=s(955),F=s(89070),p={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},d=s(92365),r=s(79834),f=(T,K,k)=>new Promise((te,H)=>{var $=ae=>{try{V(k.next(ae))}catch(S){H(S)}},z=ae=>{try{V(k.throw(ae))}catch(S){H(S)}},V=ae=>ae.done?te(ae.value):Promise.resolve(ae.value).then($,z);V((k=k.apply(T,K)).next())});const h=({dispatch:T,courseEndTime:K,classroomList:k,successCallback:te=()=>{},visible:H,homeworkIds:$,courseId:z,isBatch:V,shixunHomeworks:ae})=>{const[S]=X.default.useForm(),[ue,c]=(0,n.useState)(!1),[ne,Q]=(0,n.useState)(!1),[q,oe]=(0,n.useState)(!1),[Y,x]=(0,n.useState)([]),[g,E]=(0,n.useState)([]),[Z,L]=(0,n.useState)([]),[J,ce]=(0,n.useState)([]),[De,we]=(0,n.useState)([]),[Ae,Ce]=(0,n.useState)([]),[M,We]=(0,n.useState)([]),[Ie,u]=(0,n.useState)([]),[j,i]=(0,n.useState)([]);(0,n.useEffect)(()=>{H?t():a()},[H]);const t=()=>f(void 0,null,function*(){c(!0);const y=yield(0,d.oR)($[0],{course_id:z});oe(y.no_group),V?(We(y.all_course_groups),u(y.all_course_groups)):(ce(y.late_course_groups),we(y.late_course_groups),x(y.submit_course_groups),E(y.submit_course_groups)),c(!1),S.setFieldsValue({end_time:o()()})}),e=()=>f(void 0,null,function*(){const y=S.getFieldsValue(),W=o()(y.end_time).format("YYYY-MM-DD HH:mm");if((V?j.length===0:Z.length===0&&Ae.length===0)&&!q){B.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Q(!0);const se=yield(0,d.Mc)(z,{no_group:q,homework_ids:$,group_ids:V?j:Z,end_time:W,late_group_ids:V?j:Ae});Q(!1),se.status===0&&(a(),B.ZP.success("\u64CD\u4F5C\u6210\u529F"),te(),T({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),a=()=>{L([]),Ce([]),E([]),we([])};return n.createElement(U.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:p.modalWrapper,width:V||q?520:760,open:H,confirmLoading:ne,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>e(),onCancel:()=>{a(),T({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:p.tips},n.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),n.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),n.createElement(X.default,{form:S,layout:"vertical"},n.createElement(X.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},n.createElement(_.default,{style:{width:"100%"},disabledDate:y=>(0,r.Q8)(y,K),disabledTime:y=>(0,r.d0)(y),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,A.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!q&&n.createElement(n.Fragment,null,V?n.createElement("div",null,n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{u(M.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement(C.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{i(y)}},rowKey:"id",pagination:!1,dataSource:Ie,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):n.createElement(l.Z,{gutter:24},n.createElement(P.Z,{span:14},n.createElement("div",{className:p.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{E(Y.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement("div",{className:p.tableWrapper},n.createElement(C.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{L(y)}},rowKey:"id",pagination:!1,dataSource:g,loading:ue,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),n.createElement(P.Z,{flex:10,style:{maxWidth:"280px"}},n.createElement("div",{className:p.homeworkType},"\u8865\u4EA4\u622A\u6B62"),n.createElement(D.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:y=>{we(J.filter(W=>W.name.indexOf(y.target.value)>-1))}}),n.createElement("div",{className:p.tableWrapper},n.createElement(C.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:p.antdTable,rowSelection:{type:"checkbox",onChange:y=>{Ce(y)}},rowKey:"id",pagination:!1,loading:ue,dataSource:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var O=(0,F.connect)(({shixunHomeworks:T,classroomList:K})=>({shixunHomeworks:T,classroomList:K}))(h)},26084:function(yt,Ke,s){"use strict";var n=s(59301),X=s(43418),B=s(8591),U=s(3113),_=s(86129),D=s.n(_),C=s(3294),l=s(955),P=s(99064),v=s(59301),o=Object.defineProperty,A=Object.defineProperties,F=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,f=(k,te,H)=>te in k?o(k,te,{enumerable:!0,configurable:!0,writable:!0,value:H}):k[te]=H,h=(k,te)=>{for(var H in te||(te={}))d.call(te,H)&&f(k,H,te[H]);if(p)for(var H of p(te))r.call(te,H)&&f(k,H,te[H]);return k},O=(k,te)=>A(k,F(te)),T=(k,te,H)=>new Promise(($,z)=>{var V=ue=>{try{S(H.next(ue))}catch(c){z(c)}},ae=ue=>{try{S(H.throw(ue))}catch(c){z(c)}},S=ue=>ue.done?$(ue.value):Promise.resolve(ue.value).then(V,ae);S((H=H.apply(k,te)).next())});const K=({files:k=[],name:te,buttonProps:H={},hide:$,onOk:z=()=>{}},V)=>{const[ae,S]=(0,n.useState)(!1);let ue=(0,n.useRef)(new(D()));(0,n.useImperativeHandle)(V,()=>({exportReport:c,exportAndCreateUserFolder:Q,exportGroupingReport:ne}));const c=(g,E="\u9644\u4EF6")=>T(void 0,null,function*(){const Z=g||k;S(!0);let L=0,J=0,ce=0,De=X.default.info({width:460,title:v.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",E,",",v.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L+1),"/",Z==null?void 0:Z.length),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{}});function we(){return T(this,null,function*(){var Ae,Ce;oe({},`${C.Z.API_SERVER}/api/attachments/${(0,l.Jn)((Ae=Z==null?void 0:Z[L])==null?void 0:Ae.id)}?t=${(0,l.Jn)((Ce=Z==null?void 0:Z[L])==null?void 0:Ce.id,Date.now())}`,(M,We)=>T(this,null,function*(){var Ie,u;if(((Ie=M.target.response)==null?void 0:Ie.type)==="application/json"){let t=yield q(M.target.response);if(t.message){B.ZP.warning((t==null?void 0:t.message)||"\u4E0B\u8F7D\u51FA\u9519, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),S(!1);return}}let j=new Blob([M.target.response],{type:"application/vnd.ms-excel;charset=utf-8"});J=J+j.size;let i=(u=Z==null?void 0:Z[L])==null?void 0:u.filename;setTimeout(()=>T(this,null,function*(){ue.current.file(i,j),De.update({content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L+1),"/",Z==null?void 0:Z.length,ce>0?v.createElement("span",null,"(\u5DF2\u62C6\u5206",ce,"\u4E2Azip\u5305)"):"")}),L===(Z==null?void 0:Z.length)-1?x(De,ce>0?ce+1:0):J>900*1024*1024?(ce++,J=0,Y(ce,()=>{L++,we()})):(L++,we())}),2600)}))})}we()}),ne=(g,E,Z="\u9644\u4EF6")=>T(void 0,null,function*(){S(!0);let L=0;const J=g.flat().length,ce=X.default.info({width:460,title:v.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",Z,",",v.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L),"/",J),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function De(Ce,M){return T(this,null,function*(){const We=yield(0,P.ZP)(`${C.Z.API_SERVER}/api/attachments/${Ce.id}`,{method:"get"});let Ie=new Blob([We],{type:"application/vnd.ms-excel;charset=utf-8"}),u=Ce.filename;M.file(u,Ie),L+=1,ce.update({content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L),"/",J)})})}for(const Ce of g){const M=`${Ce[0].group_name}\u2014\u2014\u7EC4\u957F_${Ce[0].user_name}`,We=ue.current.folder(M);for(const Ie of Ce)yield De(Ie,We)}const we=yield ue.current.generateAsync({type:"blob"}),Ae=document.createElement("a");Ae.href=window.URL.createObjectURL(we),Ae.download=`${te}.zip`,document.body.appendChild(Ae),Ae.click(),document.body.removeChild(Ae),window.URL.revokeObjectURL(Ae.href),ce.destroy(),S(!1),z(),ue.current=new(D())}),Q=(g,E="\u9644\u4EF6",Z)=>T(void 0,null,function*(){S(!0);let L=0;const J=g.flat().length,ce=X.default.info({width:460,title:v.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",E,",",v.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L),"/",J),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function De(Ce,M){return T(this,null,function*(){const We=yield(0,P.ZP)(`${C.Z.API_SERVER}/api/attachments/${Ce.id}`,{method:"get"});let Ie=new Blob([We],{type:"application/vnd.ms-excel;charset=utf-8"}),u=Ce.filename;M.file(u,Ie),L+=1,ce.update({content:v.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",v.createElement("span",{className:"c-blue"},L),"/",J)})})}for(const Ce of g){const M=`${Ce[0].user_name}-${Ce[0].student_id}`,We=ue.current.folder(M);for(const Ie of Ce)yield De(Ie,We)}const we=yield ue.current.generateAsync({type:"blob"}),Ae=document.createElement("a");Ae.href=window.URL.createObjectURL(we),Ae.download=`${Z||te}.zip`,document.body.appendChild(Ae),Ae.click(),document.body.removeChild(Ae),window.URL.revokeObjectURL(Ae.href),ce.destroy(),S(!1),z(),ue.current=new(D())});function q(g){return new Promise(E=>{let Z=new FileReader;Z.readAsText(g,"utf-8"),Z.addEventListener("loadend",()=>{const L=JSON.parse(Z.result);E(L)})})}const oe=(g,E,Z,L)=>{const J=E,ce=new window.XMLHttpRequest;return ce.withCredentials=!0,ce.addEventListener("load",function(De){Z(De,ce)},!1),ce.addEventListener("error",function(De){L&&L(De)},!1),ce.responseType="blob",ce.open("GET",J),ce.send(null),ce},Y=(g,E)=>{ue.current.generateAsync({type:"blob"}).then(function(Z){const L=document.createElement("a");L.href=window.URL.createObjectURL(Z),L.download=te+`-${g}.zip`,document.body.appendChild(L);const J=document.createEvent("MouseEvents");J.initEvent("click",!1,!1),L.dispatchEvent(J),document.body.removeChild(L),ue.current=new(D()),E()})},x=(g,E)=>{ue.current.generateAsync({type:"blob"}).then(function(Z){const L=document.createElement("a");L.href=window.URL.createObjectURL(Z),E>0?L.download=te+`-${E}.zip`:L.download=te+".zip",document.body.appendChild(L);const J=document.createEvent("MouseEvents");J.initEvent("click",!1,!1),L.dispatchEvent(J),document.body.removeChild(L),g.destroy(),S(!1),z(),ue.current=new(D())})};return $?v.createElement(v.Fragment,null):v.createElement(U.ZP,O(h({},H),{onClick:()=>c(),loading:ae}),"\u4E0B\u8F7D")};Ke.Z=(0,n.forwardRef)(K)},23765:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return d}});var n=s(59301),X={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},B=s(92310),U=s.n(B),_=s(23210),D=s(73524),C=s(955),l=s(3294),P=s(99064),v=s(24065),o=s(89070),A=s(8591),F=(r,f,h)=>new Promise((O,T)=>{var K=H=>{try{te(h.next(H))}catch($){T($)}},k=H=>{try{te(h.throw(H))}catch($){T($)}},te=H=>H.done?O(H.value):Promise.resolve(H.value).then(K,k);te((h=h.apply(r,f)).next())});const p=({className:r,style:f,dataSource:h=[],authority:O=!1,callback:T,showDimensions:K=!0,classroomList:k})=>{var te;const[H,$]=(0,n.useState)({content:"",type:""}),[z,V]=(0,n.useState)({}),[ae,S]=(0,n.useState)(!1),[ue,c]=(0,n.useState)({title:"",visible:!1,src:"",snapshotData:{}}),ne=(0,n.useRef)(),Q=x=>F(void 0,null,function*(){if(V(x),x.file_type==="txt"){const g=yield(0,P.ZP)(x.url,{method:"get",headers:{"Content-Type":"application/xml"}});ne.current=g}$({type:x.file_type,content:l.Z.API_SERVER+x.url})}),q=x=>{var g;c({visible:!0,src:l.Z.API_SERVER+x.url,id:x.id,title:x.title,snapshotData:(g=x==null?void 0:x.subitem)==null?void 0:g.settings})},oe=x=>F(void 0,null,function*(){var g;$({type:x.file_type,content:l.Z.API_SERVER+((g=x==null?void 0:x.subitem)==null?void 0:g.url)})}),Y=()=>{T(),c({visible:!1})};return h!=null&&h.length?n.createElement(n.Fragment,null,n.createElement("div",{className:U()(X.list,r),style:f},h.map((x,g)=>{var E,Z,L;return n.createElement("div",{key:g,className:X.row},n.createElement("div",{className:X.title,onClick:()=>Q(x)},n.createElement("i",{className:"iconfont icon-fujian1"}),n.createElement("span",{title:x.title},x.title)),n.createElement("div",{className:X.size},x.filesize),n.createElement("div",{className:X.download,onClick:()=>{var J,ce;if((0,v.Rm)()&&!((J=k.AssistantObject.normal)!=null&&J.can_download)){A.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,C.Nd)("",`${l.Z.API_SERVER}${(ce=x.url)==null?void 0:ce.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(x==null?void 0:x.file_type)&&n.createElement("div",{className:X.preview,onClick:()=>Q(x)},n.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(x==null?void 0:x.file_type)&&K&&(O?n.createElement("div",{className:X.annotation,onClick:()=>q(x)},n.createElement("i",{className:"iconfont icon-pizhu"}),(E=x.subitem)!=null&&E.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Z=x.subitem)==null?void 0:Z.id)&&n.createElement("div",{className:X.annotation,onClick:()=>oe(x)},n.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(x==null?void 0:x.file_type)&&((L=x.subitem)==null?void 0:L.id)&&n.createElement("div",{className:X.download,style:{marginLeft:20},onClick:()=>{var J,ce;(0,C.Nd)("",`${l.Z.API_SERVER}${(ce=(J=x==null?void 0:x.subitem)==null?void 0:J.url)==null?void 0:ce.replace("disposition=inline","")}`)}},n.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(x==null?void 0:x.file_type)&&(0,v.eB)()&&["xlsx","docx","pptx"].includes(x==null?void 0:x.file_sub)&&K&&n.createElement("div",{className:X.annotation,onClick:()=>{S(!0),Q(x)}},n.createElement("i",{className:"iconfont icon-pizhu"}),x.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),x.is_edit&&(0,v.dE)()&&K&&n.createElement("div",{className:X.annotation,onClick:()=>{Q(x)}},n.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),n.createElement(_.Z,{close:!0,data:H==null?void 0:H.content,type:H==null?void 0:H.type,hasMask:!0,disabledDownload:(0,v.Rm)()&&!((te=k.AssistantObject.normal)!=null&&te.can_download),editOffice:ae?"edit":"view",monacoEditor:{value:ne.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:O&&K&&H.type==="image"?()=>q(z):null,onClose:()=>{T(),S(!1),$({content:"",type:""})}}),n.createElement(D.Z,{onOk:Y,onClose:()=>c({visible:!1}),data:ue,showFullTools:!0})):null};var d=(0,o.connect)(({classroomList:r})=>({classroomList:r}))(p)},57490:function(yt,Ke,s){"use strict";s.d(Ke,{z:function(){return Y},Z:function(){return x}});var n=s(59301),X=s(54580),B=s(8591),U=s(43418),_=s(3113),D=s(3294),C=s(23538),l=Object.defineProperty,P=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,A=(g,E,Z)=>E in g?l(g,E,{enumerable:!0,configurable:!0,writable:!0,value:Z}):g[E]=Z,F=(g,E)=>{for(var Z in E||(E={}))v.call(E,Z)&&A(g,Z,E[Z]);if(P)for(var Z of P(E))o.call(E,Z)&&A(g,Z,E[Z]);return g},p=(g,E,Z)=>new Promise((L,J)=>{var ce=Ae=>{try{we(Z.next(Ae))}catch(Ce){J(Ce)}},De=Ae=>{try{we(Z.throw(Ae))}catch(Ce){J(Ce)}},we=Ae=>Ae.done?L(Ae.value):Promise.resolve(Ae.value).then(ce,De);we((Z=Z.apply(g,E)).next())});const d="\u3000\u3000";function r(g){var E=["Bytes","KB","MB","GB","TB"];if(g==0)return"0 Byte";var Z=parseInt(""+Math.floor(Math.log(g)/Math.log(1024)),10);return(g/Math.pow(1024,Z)).toFixed(1)+" "+E[Z]}var f=({value:g=[],action:E,onChange:Z,className:L,maxSize:J=150,title:ce="\u6587\u4EF6\u4E0A\u4F20",accept:De=null})=>{const we={multiple:!1,fileList:g,accept:De,withCredentials:!0,beforeUpload:Ce=>Ce.size/1024/1024(i.name.indexOf(d)===-1&&(i.name=`${i.name}${d}${r(i.size)}`),F({},i))),Ce.file.status==="done"&&((We=(M=Ce.file)==null?void 0:M.response)==null?void 0:We.status)===-1){message.error((u=(Ie=Ce.file)==null?void 0:Ie.response)==null?void 0:u.message),Z([]);return}Z(j)},onRemove:Ce=>p(void 0,null,function*(){const M=Ce.size/1024/1024;return Ce.status==="uploading"?!0:M0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:g.length>0,ghost:!0},ce),React.createElement("span",{onClick:Ae,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",J,"M)"," ")))},h=s(61481),O=s(89392),T=Object.defineProperty,K=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,H=(g,E,Z)=>E in g?T(g,E,{enumerable:!0,configurable:!0,writable:!0,value:Z}):g[E]=Z,$=(g,E)=>{for(var Z in E||(E={}))k.call(E,Z)&&H(g,Z,E[Z]);if(K)for(var Z of K(E))te.call(E,Z)&&H(g,Z,E[Z]);return g};const z=g=>React.createElement("svg",$({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var V="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",ae=Object.defineProperty,S=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,ne=(g,E,Z)=>E in g?ae(g,E,{enumerable:!0,configurable:!0,writable:!0,value:Z}):g[E]=Z,Q=(g,E)=>{for(var Z in E||(E={}))ue.call(E,Z)&&ne(g,Z,E[Z]);if(S)for(var Z of S(E))c.call(E,Z)&&ne(g,Z,E[Z]);return g},q=(g,E,Z)=>new Promise((L,J)=>{var ce=Ae=>{try{we(Z.next(Ae))}catch(Ce){J(Ce)}},De=Ae=>{try{we(Z.throw(Ae))}catch(Ce){J(Ce)}},we=Ae=>Ae.done?L(Ae.value):Promise.resolve(Ae.value).then(ce,De);we((Z=Z.apply(g,E)).next())});const{Dragger:oe}=X.default;function Y(g){let E=[];return g&&g.length>0&&(E=g.map(Z=>({uid:Z.id,id:Z.id,name:Z.title+d+Z.filesize,url:Z.url,filesize:Z.filesize,status:"done",response:{id:Z.id}}))),E}var x=({value:g,onChange:E,action:Z,data:L,className:J,maxSize:ce=150,title:De="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:we=!1,accept:Ae="",additionalText:Ce,isDragger:M,number:We=1e3,aloneClear:Ie=!1,realTimeRemove:u=!0,uploadText:j,setFileProgress:i,showFileProgress:t})=>{const[e,a]=(0,n.useState)(!1);let[y,W]=(0,n.useState)(g||[]),[N,se]=(0,n.useState)(1);(0,n.useEffect)(()=>{g&&(N===1&&W([...g]),se(2),We===(g==null?void 0:g.length)&&a(!0))},[g]);const ge=()=>{setTimeout(()=>{y.pop(),W([...y])},500)};t&&i(y.some(He=>He.status==="uploading"));const fe={multiple:!0,disabled:e,accept:Ae,withCredentials:!0,fileList:y,beforeUpload:(He,Te)=>{const at=He.size/1024/1024;return y.concat(Te).length>We?(y.pop(),W([...y]),B.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${We}\u4E2A\u6587\u4EF6`),Ie?Promise.reject():(ge(),!1)):at=We?a(!0):a(!1),W([...y]),y=y.map(Ot=>{var Ge,xt;return(Ge=Ot==null?void 0:Ot.response)!=null&&Ge.id&&(Ot.url=(xt=Ot==null?void 0:Ot.response)==null?void 0:xt.url),Ot.name.indexOf(d)===-1&&(Ot.name=`${Ot.name}${d}${r(Ot.size)}`),Q({},Ot)}),console.log("info:",He,y),E(y)},onRemove:He=>q(void 0,null,function*(){if(!u)return!0;const Te=()=>q(void 0,null,function*(){if(He.response?He.response.id:He.id){let Rt=yield(0,C.JZ)(He.response?He.response.id:He.uid);return Promise.resolve(Rt)}else return!0});return we?new Promise((at,Rt)=>{U.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>q(void 0,null,function*(){const qt=yield Te();B.ZP.success("\u5220\u9664\u6210\u529F"),at(!0)}),onCancel:()=>at(!1)})}):yield Te()})};function R(He){He.preventDefault(),He.stopPropagation()}return n.createElement("div",{className:`multi-upload ${J||""}`},M&&n.createElement(oe,Q({},fe),n.createElement("p",{className:"ant-upload-drag-icon"},n.createElement(h.Z,null)),n.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",n.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",ce,"MB)"," "),Ce),!M&&n.createElement(X.default,Q({},fe),n.createElement(_.ZP,{disabled:e,className:"upload_button"},n.createElement("img",{className:"aBtn_img",src:V}),De),n.createElement("span",{onClick:R,className:"upload_text"},j||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${ce}MB)`)))}},85057:function(yt,Ke,s){"use strict";s.d(Ke,{jL:function(){return _},w9:function(){return ce},QD:function(){return At},cQ:function(){return g},op:function(){return Rt},O5:function(){return rt},_b:function(){return yn},t7:function(){return h},Gi:function(){return We},YG:function(){return Ce},qp:function(){return o},vr:function(){return Sn},qE:function(){return Ge},Je:function(){return K},wb:function(){return Q},cq:function(){return e},tp:function(){return p}});var n=s(59301),X={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LS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S337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_=({dataSource:Je=[],img:Ve,imgWidth:$e=346,title:ut,sunTitle:St,bannerExtraContent:kt})=>n.createElement("div",{className:X.banner},n.createElement("div",{className:X.content},n.createElement("aside",null,n.createElement("p",null,n.createElement("b",null,ut),n.createElement("span",null,St)),Je.length>0&&n.createElement("div",{className:X.btns},Je.map((ct,It)=>n.createElement("div",{key:It,onClick:ct.click},ct.name,ct.sign?n.createElement("img",{src:B,width:39}):null))),kt),Ve&&n.createElement("img",{style:{marginTop:33,marginRight:38},src:Ve,width:$e}))),D={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},C=s(92310),l=s.n(C),P=s(89392),o=({dataSource:Je=[],value:Ve,onChange:$e,onTitleChange:ut,className:St,title:kt,titleWidth:ct=41,style:It={},fontColor:ft="#6A7283",showCount:Gt})=>{const[Nt,dt]=(0,n.useState)(0),[vn,_n]=(0,n.useState)(!1),Wt=(0,n.useRef)(null),sn=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var cn;Je.length!==0&&(((cn=Wt==null?void 0:Wt.current)==null?void 0:cn.clientHeight)>97?dt(1):dt(0)),Je.length===0&&dt(0),_n(!1)},[Je]),n.createElement("div",{className:l()(D.row,St),style:It},n.createElement("div",{onClick:(0,P.throttle)(()=>ut==null?void 0:ut(),2e3),style:{width:ct,marginTop:vn?12:4},className:`${D.title} ${ut?"current":""}`},kt),n.createElement("div",{className:vn?`${D.tagsWrap} ${D.tagsBorderWrap}`:D.tagsWrap},n.createElement("div",{className:D.bar,ref:sn,style:Nt>0?{height:Nt===1?97:"auto",overflow:Nt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},n.createElement("div",{className:D.tag,ref:Wt},Je==null?void 0:Je.map(cn=>n.createElement("span",{onClick:()=>$e(cn.id),key:cn.id,style:{color:ft},className:Ve===cn.id?D.active:""},n.createElement("span",{title:cn.name,className:D.name},cn.name),!!Gt&&n.createElement("span",{className:D.num},cn.count))))),!!Nt&&n.createElement(n.Fragment,null,Nt===1?n.createElement("div",{onClick:()=>{var cn;dt(2),((cn=Wt==null?void 0:Wt.current)==null?void 0:cn.clientHeight)>245?_n(!0):_n(!1)},className:D.action},"\u5C55\u5F00",n.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):n.createElement("div",{onClick:()=>{sn.current.scrollTop=0,dt(1),_n(!1)},className:D.action},"\u6536\u8D77",n.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},A={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},p=({dataSource:Je=[],value:Ve,onChange:$e,className:ut,style:St={}})=>n.createElement("div",{style:St,className:l()(A.tabs,ut)},Je.map(kt=>n.createElement("span",{onClick:()=>$e(kt.id),className:Ve===kt.id?A.active:"",key:kt.id},kt.name))),d={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},r=s(92832),h=({dataSource:Je=[],value:Ve="",onChange:$e,onInputChange:ut=()=>{},className:St,style:kt={},placeholder:ct,allowClear:It=!1})=>{var ft;const[Gt,Nt]=(0,n.useState)(""),[dt,vn]=(0,n.useState)("");(0,n.useEffect)(()=>{var sn;let cn=Ve;(sn=JSON.stringify(Ve))!=null&&sn.includes("{")&&(Nt(Ve.id),cn=Ve.value||"");try{vn(decodeURIComponent(cn||""))}catch(Vn){vn(decodeURIComponent(cn||""))}},[Ve]);const _n=()=>{$e(encodeURIComponent(dt),Gt||null)},Wt=sn=>{sn!==Gt&&(Nt(sn),$e(encodeURIComponent(dt),sn))};return n.createElement("div",{className:l()(d.input,St),style:kt},!!Je.length&&n.createElement("div",{className:d.dropdown},n.createElement("div",{className:d.text},(ft=Je.find(sn=>sn.id===Gt))==null?void 0:ft.name,n.createElement("i",{className:"iconfont icon-zhankai4"}),n.createElement("b",{className:d.b1}),n.createElement("b",{className:d.b2})),n.createElement("div",{className:d.menu},Je.map((sn,cn)=>n.createElement("div",{key:cn,onClick:()=>Wt(sn.id)},sn.name)))),n.createElement(r.default,{onPressEnter:_n,value:dt,onChange:sn=>{vn(sn.target.value),ut(encodeURIComponent(sn.target.value),Gt||null)},bordered:!1,placeholder:ct}),n.createElement("i",{onClick:_n,className:"iconfont icon-sousuo9 font14 pl10 current"}))},O={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},K=({value:Je,onChange:Ve,className:$e,total:ut,pageSize:St,style:kt={}})=>{const ct=Je<2,It=Je>=Math.ceil(ut/St);return ut<=St?n.createElement(n.Fragment,null):n.createElement("div",{className:l()(O.quickPager,$e),style:kt},n.createElement("div",{onClick:()=>{ct||Ve(Je-1,"prev")},className:ct?O.disabled:""},"\u4E0A\u4E00\u9875"),n.createElement("div",{onClick:()=>{It||Ve(Je+1,"next")},className:It?O.disabled:""},"\u4E0B\u4E00\u9875"))},k={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},te=s(71418),H=s(6848),$=s(13570),z=s(3294),V=s(955),ae=s(96908),S=s(57177),ue=s(81378),c=s(8797),Q=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft})=>{const Gt=Math.floor((ct-($e-1)*ut)/$e);return n.createElement(te.Z,{spinning:ft},n.createElement("div",{className:l()(k.list,Je)},!!Ve.length&&Ve.map((Nt,dt)=>{const{name:vn,id:_n,identifier:Wt,power:sn,cover_image_id:cn,pic:Vn}=Nt;return n.createElement("div",{className:k.wrap,key:_n,style:{width:Gt,marginRight:(1+dt)%$e===0?0:ut+kt,marginBottom:St}},n.createElement("a",{target:"_blank",href:`/shixuns/${Wt}/challenges`,className:k.li,onClick:du=>{du.preventDefault(),It&&(0,V.L9)([It]),sn&&(0,V.xg)(`/shixuns/${Wt}/challenges`)}},n.createElement("div",{className:k.img},n.createElement("img",{className:k.cover,src:`${Vn}`}),Nt.is_jupyter&&n.createElement("img",{className:k.sign,src:ae}),Nt.is_jupyter_lab&&n.createElement("img",{className:k.sign,src:S}),Nt.is_unity_3d&&n.createElement("img",{className:k.sign,src:ue})),n.createElement("div",{className:k.name},n.createElement(H.Z,{title:vn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},n.createElement("span",{className:k.e},vn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),n.createElement("div",{className:k.tags},n.createElement(H.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),n.createElement("span",null,Nt.challenges_count))),!!Nt.myshixuns_count&&n.createElement(H.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},n.createElement("span",null,n.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),n.createElement("span",null,Nt.myshixuns_count))),n.createElement(H.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},n.createElement("span",null,n.createElement("span",null,Nt.level))),n.createElement("div",{className:k.rate},n.createElement($.Z,{allowHalf:!0,disabled:!0,defaultValue:Nt.score_info}),n.createElement("span",null,"\xA0",Nt.score_info?`${Nt.score_info}\u5206`:"5\u5206")))),!sn&&n.createElement("div",{className:k.lockWrap},n.createElement("img",{src:`${z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ve.length&&n.createElement(c.Z,null)))},q={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},oe=s(24065),Y=s(59301),g=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft,onRemove:Gt=()=>{},isCurrent:Nt=!0,showAlias:dt=!1})=>{const vn=Math.floor((ct-($e-1)*ut)/$e),_n=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Y.createElement(te.Z,{spinning:ft},Y.createElement("div",{className:l()(q.list,Je)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((Wt,sn)=>{var cn;const{name:Vn,id:du,identifier:xn,featured:Gu,school_name:Au,image_url:Tu,excellent:yu,is_plan:Lu}=Wt;return Y.createElement("div",{key:du,className:q.wrap,style:{width:vn,marginRight:(1+sn)%$e===0?0:ut+kt,marginBottom:St}},Y.createElement("a",{className:q.li,onClick:Gn=>{Gn.preventDefault(),Gn.stopPropagation(),It&&(0,V.L9)([It]),(0,V.xg)(`/paths/${xn}`)}},Y.createElement("div",{className:q.img},Y.createElement("img",{className:q.cover,src:`${Tu}`}),Nt&&(0,oe.bg)()&&(Wt==null?void 0:Wt.studying)&&Y.createElement("div",{className:`${q.movebq} user-path-items`,onClick:Gn=>{Gn.stopPropagation(),Gt(Wt)}},Y.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Y.createElement("span",{className:"c-red"},"\u79FB\u9664")),(cn=Wt==null?void 0:Wt.subject_tags)==null?void 0:cn.map((Gn,vu)=>{var wu,Bu;if(vu===0){const bu=(wu=_n.find(zu=>zu.name==Gn))==null?void 0:wu.swimg;return Y.createElement("img",{className:q.sign,src:bu,style:{left:"-4px"}})}const Mu=(Bu=_n.find(bu=>bu.name==Gn))==null?void 0:Bu.ptimg;return Y.createElement("img",{className:q.sign,src:Mu,style:{left:`${48+52*(vu-1)+2*vu}px`}})}),Y.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Wt==null?void 0:Wt.excellent)&&Y.createElement("div",{className:q.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Y.createElement("div",{className:q.name},Y.createElement(H.Z,{title:dt&&(Wt!=null&&Wt.excellent_alias_name)?Y.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Vn}`,Y.createElement("br",null),Y.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Wt==null?void 0:Wt.excellent_alias_name}`)):Vn},Y.createElement("span",{className:q.e},dt&&(Wt==null?void 0:Wt.excellent_alias_name)||Vn))),Y.createElement(H.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Au}`},Y.createElement("div",{className:q.unit},Y.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Au)),Y.createElement("div",{className:q.tags},Y.createElement("div",null,Y.createElement(H.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Y.createElement("span",null,Y.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Y.createElement("span",null,Wt.stages_count))),Y.createElement(H.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Y.createElement("span",null,Y.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Y.createElement("span",null,Wt.members_count)))))))})),!Ve.length&&Y.createElement(c.Z,null)))},E={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6J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5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",L=s(59301),ce=({className:Je,dataSource:Ve=[],col:$e=4,right:ut,bottom:St=23,precision:kt=0,wrapWidth:ct=1200,trackEventItems:It,loading:ft,handleVery:Gt=()=>{}})=>{const Nt=Math.floor((ct-($e-1)*ut)/$e);return L.createElement(te.Z,{spinning:ft},L.createElement("div",{className:l()(E.list,Je)},!!Ve.length&&Ve.map((dt,vn)=>{const{subject_identifier:_n,id:Wt,identifier:sn,power:cn}=dt,Vn=dt.is_public!=0&&dt.is_public;return L.createElement("div",{className:E.wrap,key:Wt,style:{width:Nt,marginRight:(1+vn)%$e===0?0:ut+kt,marginBottom:St}},L.createElement("a",{className:E.li,onClick:du=>{du.preventDefault(),Gt(dt==null?void 0:dt.first_category_url)}},L.createElement("div",{className:E.top},L.createElement(H.Z,{title:dt.name},L.createElement("div",{className:E.name},dt.name)),L.createElement("img",{className:E.img,src:z.Z.IMG_SERVER+"/images/"+dt.avatar_url}),L.createElement("div",{className:E.text,title:dt.creator},dt.creator),_n&&L.createElement("div",{className:E.btns},L.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),L.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Vn&&L.createElement("div",{className:E.sign},"\u516C\u5F00")),L.createElement("div",{className:E.bottom},dt.visits>0&&L.createElement(H.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},L.createElement("span",null,L.createElement("i",{className:"iconfont icon-liulanyan"}),L.createElement("span",null,dt.visits))),dt.course_members_count>0&&L.createElement(H.Z,{title:"\u6210\u5458",placement:"bottom"},L.createElement("span",null,L.createElement("i",{className:"iconfont icon-chengyuan"}),dt.course_members_count)),dt.tasks_count>0&&L.createElement(H.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},L.createElement("span",null,L.createElement("i",{className:"iconfont icon-zuoye"}),dt.tasks_count)),dt.is_end?L.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):L.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!dt.is_accessible&&L.createElement("div",{className:E.lockWrap},L.createElement("img",{src:`${z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),L.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ve.length&&L.createElement(c.Z,null)))},De={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},we=s(89070),Ce=({dataSource:Je=[],value:Ve,onChange:$e,className:ut,style:St={},tabBarExtraContent:kt})=>n.createElement("div",{className:l()(De.tabs,ut),style:St},n.createElement("div",{className:De.tabsWrap},Je.map((ct,It)=>!(ct!=null&&ct.hide)&&n.createElement("aside",{className:De.tab,onClick:()=>{$e(ct.id),ct.link&&we.history.push(ct.link)},key:It},n.createElement("div",{className:Ve===ct.id?De.active:""},ct.name),(ct==null?void 0:ct.resetCount)==null&&(ct==null?void 0:ct.total)!==void 0&&n.createElement("span",null,"\uFF08",ct==null?void 0:ct.total,"\uFF09"),(ct==null?void 0:ct.resetCount)!==void 0&&(ct==null?void 0:ct.total)!==void 0&&n.createElement(H.Z,{title:(ct==null?void 0:ct.tip)!=null?ct==null?void 0:ct.tip:""},n.createElement("span",{style:{color:"#9096A3"}},"\uFF08",n.createElement("span",{style:{color:"#000"}},ct==null?void 0:ct.resetCount),"/",n.createElement("span",null,ct==null?void 0:ct.total),"\uFF09"))))),n.createElement("div",{className:De.tabBar},kt)),We=({className:Je,style:Ve={},children:$e})=>n.createElement("div",{className:l()(Je),style:Ve},$e),Ie={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},u=s(38854),j=s(20834);const i=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var e=({sortValue:Je,dropValue:Ve,className:$e,onSort:ut,onDrop:St,dataSource:kt=i})=>{var ct;return n.createElement("div",{className:l()(Ie.orderWrap,$e)},n.createElement(u.Z,{dropdownRender:()=>n.createElement(j.default,null,kt.map((It,ft)=>n.createElement(j.default.Item,{key:ft,onClick:()=>St(It.id)},It.name)))},n.createElement("span",{className:Ie.orderTextWrap},(ct=kt.find(It=>Ve===It.id))==null?void 0:ct.name)),n.createElement("span",{className:Ie.orderIconWrap},n.createElement("span",{className:Ie.orderAsc},n.createElement("i",{className:Je==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ie.cursorPointer} ${Ie.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ie.cursorPointer}`,onClick:()=>ut(Je==="asc"?"desc":"asc")})),n.createElement("span",{className:Ie.orderDesc},n.createElement("i",{className:Je==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ie.cursorPointer} ${Ie.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ie.cursorPointer}`,onClick:()=>ut(Je==="asc"?"desc":"asc")}))))},a={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},y=s(3113),W=Object.defineProperty,N=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,fe=(Je,Ve,$e)=>Ve in Je?W(Je,Ve,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Je[Ve]=$e,R=(Je,Ve)=>{for(var $e in Ve||(Ve={}))se.call(Ve,$e)&&fe(Je,$e,Ve[$e]);if(N)for(var $e of N(Ve))ge.call(Ve,$e)&&fe(Je,$e,Ve[$e]);return Je},He=(Je,Ve)=>{var $e={};for(var ut in Je)se.call(Je,ut)&&Ve.indexOf(ut)<0&&($e[ut]=Je[ut]);if(Je!=null&&N)for(var ut of N(Je))Ve.indexOf(ut)<0&&ge.call(Je,ut)&&($e[ut]=Je[ut]);return $e},Te=(Je,Ve,$e)=>new Promise((ut,St)=>{var kt=ft=>{try{It($e.next(ft))}catch(Gt){St(Gt)}},ct=ft=>{try{It($e.throw(ft))}catch(Gt){St(Gt)}},It=ft=>ft.done?ut(ft.value):Promise.resolve(ft.value).then(kt,ct);It(($e=$e.apply(Je,Ve)).next())}),Rt=Je=>{var Ve=Je,{className:$e,style:ut,children:St,loading:kt=!1,openLoading:ct,onClick:It=()=>{},size:ft="middle",shape:Gt="round"}=Ve,Nt=He(Ve,["className","style","children","loading","openLoading","onClick","size","shape"]);const[dt,vn]=(0,n.useState)(!1);return n.createElement(y.ZP,R({onClick:(0,P.throttle)(_n=>Te(void 0,null,function*(){ct&&vn(!0);try{yield It(_n)}catch(Wt){console.log("error",Wt)}ct&&vn(!1)}),2e3,{leading:!0,trailing:!1}),className:l()(a.btn,a[`${ft}-${Gt}`],$e),style:ut,size:ft,shape:Gt,loading:dt||kt},Nt),St)},qt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ge=({className:Je,style:Ve,children:$e=null,onClick:ut,title:St})=>n.createElement("div",{className:l()(qt.head,Je),style:Ve},n.createElement("span",{className:"primary-hover",onClick:ut},n.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),n.createElement("b",{title:St},St),n.createElement("div",{className:qt.node},$e)),xt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},At=({confirmShow:Je=!0,confirmTitle:Ve,confirmClick:$e,cancelShow:ut=!0,cancelTitle:St,cancelClick:kt,className:ct,style:It,confirmLoading:ft=!1})=>n.createElement("div",{className:l()(xt.btns,ct),style:It},Je&&n.createElement(y.ZP,{loading:ft,onClick:$e,type:"primary",className:xt.confirm},Ve),ut&&n.createElement(y.ZP,{onClick:kt,className:xt.cancel},St)),Xt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Sn=({className:Je,style:Ve={},LeftContent:$e,children:ut,RightContent:St})=>n.createElement("div",{className:l()(Xt.fixedBottom,Je),style:Ve},n.createElement("div",{className:Xt.wrap},n.createElement("div",{className:Xt.left},$e),n.createElement("div",{className:Xt.center},ut),n.createElement("div",{className:Xt.right},St))),fn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},yn=({className:Je,style:Ve={},dataSource:$e=[]})=>n.createElement("div",{className:l()(fn.crumbs,Je),style:Ve},$e.map((ut,St)=>St<$e.length-1?n.createElement(n.Fragment,{key:St},ut.path||ut.onClick?n.createElement("span",{className:fn.hover,onClick:ut!=null&&ut.onClick?ut.onClick:()=>we.history.push(ut.path)},ut.name):n.createElement("span",null,ut.name),n.createElement("span",null,"\xA0",">","\xA0")):n.createElement("span",{key:St,style:{color:"#5F6368"}},ut.name))),Bn=s(31797),Rn=Object.defineProperty,$n=Object.defineProperties,qn=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,Kn=(Je,Ve,$e)=>Ve in Je?Rn(Je,Ve,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Je[Ve]=$e,tu=(Je,Ve)=>{for(var $e in Ve||(Ve={}))Yn.call(Ve,$e)&&Kn(Je,$e,Ve[$e]);if(jn)for(var $e of jn(Ve))eu.call(Ve,$e)&&Kn(Je,$e,Ve[$e]);return Je},wn=(Je,Ve)=>$n(Je,qn(Ve)),au=(Je,Ve)=>{var $e={};for(var ut in Je)Yn.call(Je,ut)&&Ve.indexOf(ut)<0&&($e[ut]=Je[ut]);if(Je!=null&&jn)for(var ut of jn(Je))Ve.indexOf(ut)<0&&eu.call(Je,ut)&&($e[ut]=Je[ut]);return $e};const{Countdown:ru}=Bn.default;var rt=Je=>{var Ve=Je,{onChange:$e}=Ve,ut=au(Ve,["onChange"]);const[St,kt]=(0,n.useState)(null);(0,n.useEffect)(()=>{typeof St=="number"&&St>=0&&$e(St)},[St]);const ct=It=>{const ft=Math.floor(It/1e3);kt(ft)};return n.createElement(ru,wn(tu({},ut),{onChange:ct}))}},58010:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),B=s(95237),U=s(43604),_=s(57809),D=s(5871),C=s(6848),l=s(5083),P=s(92832),v=s(89070),o=s(79834),A=s(89529),F=s(59301),p=Object.defineProperty,d=Object.defineProperties,r=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,T=($,z,V)=>z in $?p($,z,{enumerable:!0,configurable:!0,writable:!0,value:V}):$[z]=V,K=($,z)=>{for(var V in z||(z={}))h.call(z,V)&&T($,V,z[V]);if(f)for(var V of f(z))O.call(z,V)&&T($,V,z[V]);return $},k=($,z)=>d($,r(z)),te=($,z)=>{var V={};for(var ae in $)h.call($,ae)&&z.indexOf(ae)<0&&(V[ae]=$[ae]);if($!=null&&f)for(var ae of f($))z.indexOf(ae)<0&&O.call($,ae)&&(V[ae]=$[ae]);return V};const H=({disabled:$,shixunHomeworks:z,selectOptions:V,form:ae})=>{const{workSetting:S}=z,[ue,c]=(0,n.useState)([]),ne=(0,n.useMemo)(()=>V==null?void 0:V.filter(Q=>!ue.includes(Q.value)),[ue,V]);return(0,n.useEffect)(()=>{var Q;const q=((Q=S==null?void 0:S.anonymous_appeal_settings)==null?void 0:Q.filter(oe=>oe.appeal_time))||[];c(q.map(oe=>oe.group_name))},[S]),F.createElement(X.default.List,{name:"anonymous_appeal_settings"},(Q,{add:q,remove:oe})=>F.createElement(F.Fragment,null,Q.map(Y=>{var x;const g=Y,{key:E,name:Z}=g,L=te(g,["key","name"]),ce=ae.getFieldValue(["anonymous_appeal_settings",Z]).deleteflag;return F.createElement("div",{key:E},F.createElement(B.Z,{align:"middle",style:{background:"#F6F7F9",padding:"5px 30px"}},F.createElement(U.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left",marginLeft:"54px",color:"#666"}},"\u7533\u8BC9\u89C4\u5219",E+1),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},L),{name:[Y.name,"group_name"]}),F.createElement(_.default,{mode:"multiple",disabled:$||!ce,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:"245px"},className:A.Z.multiple_select,options:ne||[],onSelect:De=>{c(we=>[...we,De])},onDeselect:De=>{c(we=>we.filter(Ae=>Ae!==De))}}))),F.createElement(U.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},L),{label:"",name:[Y.name,"appeal_penalty"]}),F.createElement(D.Z,{min:0,disabled:$,size:"large",addonAfter:"\u5206",style:{width:"120px"}}))),F.createElement(C.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},F.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${A.Z.title_icon}`})),F.createElement(U.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),F.createElement(U.Z,null,F.createElement(X.default.Item,k(K({},L),{label:"",name:[Y.name,"appeal_time"]}),F.createElement(l.default,{allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",disabled:$,size:"large",disabledDate:De=>(0,o.Q8)(De,S==null?void 0:S.course_end_date),disabledTime:De=>(0,o.d0)(De),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"}))),F.createElement(X.default.Item,k(K({},L),{name:[Z,"deleteflag"]}),F.createElement(P.default,{type:"hidden"})),!$&&Q.length<((x=S==null?void 0:S.anonymous_appeal_settings)==null?void 0:x.length)&&F.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{q({deleteflag:!0})}}),E!==0&&!$&&ce&&F.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const De=ae.getFieldValue(["anonymous_appeal_settings",Z,"group_name"])||[];c(we=>we.filter(Ae=>!De.includes(Ae))),oe(Z)}})))})))};Ke.Z=(0,v.connect)(({shixunHomeworks:$})=>({shixunHomeworks:$}))(H)},33469:function(yt,Ke,s){"use strict";var n=s(59301),X=s(5083),B=s(78241),U=s(95237),_=s(43604),D=s(57809),C=s(8591),l=s(92832),P=s(5871),v=s(6848),o=s(24905),A=s(61186),F=s.n(A),p=s(89070),d=s(79834),r=s(24065),f=s(89529),h=s(59301),O=Object.defineProperty,T=Object.defineProperties,K=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,$=(c,ne,Q)=>ne in c?O(c,ne,{enumerable:!0,configurable:!0,writable:!0,value:Q}):c[ne]=Q,z=(c,ne)=>{for(var Q in ne||(ne={}))te.call(ne,Q)&&$(c,Q,ne[Q]);if(k)for(var Q of k(ne))H.call(ne,Q)&&$(c,Q,ne[Q]);return c},V=(c,ne)=>T(c,K(ne)),ae=(c,ne)=>{var Q={};for(var q in c)te.call(c,q)&&ne.indexOf(q)<0&&(Q[q]=c[q]);if(c!=null&&k)for(var q of k(c))ne.indexOf(q)<0&&H.call(c,q)&&(Q[q]=c[q]);return Q};const{RangePicker:S}=X.default,ue=({disabled:c,shixunHomeworks:ne,selectOptions:Q,form:q,data:oe,classroomList:Y})=>{const{workSetting:x}=ne,[g,E]=(0,n.useState)([]),Z=(0,n.useMemo)(()=>Q==null?void 0:Q.filter(J=>!g.includes(J.value)),[g,Q]);(0,n.useEffect)(()=>{var J;const ce=((J=x==null?void 0:x.anonymous_comment_settings)==null?void 0:J.filter(De=>De.evaluation_end))||[];E(ce.map(De=>De.group_name))},[x]);const L=J=>{var ce;const De=(ce=x==null?void 0:x.anonymous_appeal_settings)==null?void 0:ce.find(we=>we.group_id===J);return oe.anonymous_appeal&&De&&(De==null?void 0:De.appeal_time)!==null};return h.createElement(B.default.List,{name:"anonymous_comment_settings"},(J,{add:ce,remove:De})=>h.createElement(h.Fragment,null,J.map(we=>{var Ae,Ce;const M=we,{key:We,name:Ie}=M,u=ae(M,["key","name"]),j=q.getFieldValue(["anonymous_comment_settings",Ie]),i=j.deleteflag,t=F()((Ae=j.evaluation_start)==null?void 0:Ae[0])<=F()(),e=!i&&t?[!0,L(j==null?void 0:j.group_id)]:[!1,!1];return h.createElement("div",{key:We,style:{background:"#F6F7F9",padding:"5px 30px"}},h.createElement(U.Z,{align:"top",style:{marginLeft:"53px"}},h.createElement(_.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left"}},"\u533F\u8BC4\u89C4\u5219",We+1),h.createElement(_.Z,{flex:1},h.createElement(U.Z,{align:"middle",style:{marginBottom:10}},h.createElement(_.Z,{span:8},h.createElement(B.default.Item,V(z({},u),{name:[Ie,"group_name"]}),h.createElement(D.default,{mode:"multiple",disabled:c||!i,className:f.Z.multiple_select,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",options:Z||[],onSelect:a=>{E(y=>[...y,a])},onDeselect:a=>{E(y=>y.filter(W=>W!==a))}}))),h.createElement(_.Z,{className:"ml20"},h.createElement(B.default.Item,V(z({},u),{name:[Ie,"evaluation_start"]}),h.createElement(S,{ranges:{\u6B64\u523B:()=>{var a;const y=(a=j==null?void 0:j.evaluation_start)==null?void 0:a[0];return[y?F()(y):F()(),F()()]}},size:"large",style:{width:"500px"},disabled:c||e,allowClear:!1,disabledDate:a=>(0,d.Q8)(a,x==null?void 0:x.course_end_date),disabledTime:a=>(0,d.d0)(a),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",onChange:()=>{var a;if((0,r.Rm)()&&!((a=Y.AssistantObject.group)!=null&&a.can_anonymous_comment)){C.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),h.createElement(B.default.Item,V(z({},u),{name:[Ie,"deleteflag"]}),h.createElement(l.default,{type:"hidden"})),!c&&J.length<((Ce=x==null?void 0:x.anonymous_comment_settings)==null?void 0:Ce.length)&&h.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{ce({deleteflag:!0})}}),We!==0&&!c&&i&&h.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const a=q.getFieldValue(["anonymous_comment_settings",Ie,"group_name"])||[];E(y=>y.filter(W=>!a.includes(W))),De(Ie)}})))),h.createElement(U.Z,{align:"middle",style:{marginLeft:"53px"}},h.createElement(_.Z,{style:{width:"75px"}},"\u533F\u8BC4\u6570\u91CF"),h.createElement(_.Z,null,h.createElement(B.default.Item,V(z({},u),{label:"",colon:!1,name:[Ie,"evaluation_num"]}),h.createElement(P.Z,{min:0,size:"large",style:{marginLeft:"5px"},disabled:c||!i&&t}))),h.createElement(v.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},h.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${f.Z.title_icon}`})),h.createElement(_.Z,{style:{width:"75px",marginLeft:"40px"}},"\u7F3A\u8BC4\u6263\u5206"),h.createElement(_.Z,null,h.createElement(B.default.Item,V(z({},u),{label:"",colon:!1,name:[Ie,"absence_penalty"]}),h.createElement(P.Z,{min:0,size:"large",addonAfter:"\u5206",style:{width:"120px"},disabled:c,onChange:a=>{var y;if((0,r.Rm)()&&!((y=Y.AssistantObject.group)!=null&&y.can_anonymous_comment)){C.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),h.createElement(_.Z,{style:{marginLeft:"40px"}},h.createElement(B.default.Item,V(z({},u),{name:[Ie,"student_comment"],valuePropName:"checked"}),h.createElement(o.default,{disabled:c,onChange:()=>{var a;if((0,r.Rm)()&&!((a=Y.AssistantObject.group)!=null&&a.can_anonymous_comment)){C.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}}}))),h.createElement(_.Z,{className:"ml10"},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605")))})))};Ke.Z=(0,p.connect)(({shixunHomeworks:c,classroomList:ne})=>({shixunHomeworks:c,classroomList:ne}))(ue)},65629:function(yt,Ke,s){"use strict";var n=s(89070),X=s(95237),B=s(43604),U=s(5083),_=s(5871),D=s(6848),C=s(61186),l=s.n(C),P=s(79834),v=s(89529),o=s(59301);const A=({data:F,disabled:p,setData:d,shixunHomeworks:r})=>{const{workSetting:f,workList:h}=r;return o.createElement("div",null,o.createElement(X.Z,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},o.createElement(B.Z,{style:{marginLeft:"54px",marginRight:"20px",color:"#666666"}},"\u7ED3\u675F\u65F6\u95F4"),o.createElement(B.Z,null,o.createElement(U.default,{allowClear:!1,style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},size:"large",format:"YYYY-MM-DD HH:mm",disabled:p,disabledDate:O=>(0,P.Q8)(O,f==null?void 0:f.course_end_date),disabledTime:O=>(0,P.d0)(O),value:F.appeal_time?l()(F.appeal_time):"",onChange:(O,T)=>{F.appeal_time=T,d(Object.assign({},F))}})),o.createElement(B.Z,{style:{margin:"0 20px 0 60px",color:"#666666"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),o.createElement(B.Z,null,o.createElement(_.Z,{size:"large",disabled:p,value:F.appeal_penalty,min:0,addonAfter:"\u5206",style:{width:"120px"},onChange:O=>{F.appeal_penalty=O,d(Object.assign({},F))}})),o.createElement(D.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},o.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${v.Z.title_icon}`}))))};Ke.Z=(0,n.connect)(({shixunHomeworks:F})=>({shixunHomeworks:F}))(A)},47599:function(yt,Ke,s){"use strict";var n=s(5083),X=s(5871),B=s(6848),U=s(24905),_=s(61186),D=s.n(_),C=s(89070),l=s(79834),P=s(89529),v=s(59301);const o=({data:A,setData:F,disabled:p,shixunHomeworks:d})=>{const{workSetting:r}=d,f=D()(r==null?void 0:r.evaluation_start)<=D()(),h=A.anonymous_appeal;return v.createElement("div",null,v.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},v.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u5F00\u59CB\u65F6\u95F4"),v.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:O=>(0,l.Q8)(O,r==null?void 0:r.course_end_date),disabledTime:O=>(0,l.d0)(O),disabled:p||f||h,value:A.evaluation_start?D()(A.evaluation_start):"",onChange:(O,T)=>{A.evaluation_start=T,F(Object.assign({},A))}}),v.createElement("div",{style:{color:"#666666",marginLeft:"60px",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),v.createElement(n.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:O=>(0,l.Q8)(O,r==null?void 0:r.course_end_date,A.evaluation_start),disabledTime:O=>(0,l.d0)(O,D()(A.evaluation_start)),disabled:p||h,value:A.evaluation_end?D()(A.evaluation_end):"",onChange:(O,T)=>{A.evaluation_end=T,F(Object.assign({},A))}})),v.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},v.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u6570\u91CF"),v.createElement(X.Z,{disabled:p||f||h,value:A.evaluation_num,min:0,style:{width:"150px"},size:"large",onChange:O=>{A.evaluation_num=O,F(Object.assign({},A))}}),v.createElement(B.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},v.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${P.Z.title_icon}`})),v.createElement("div",{style:{color:"#666666",marginLeft:"84px",marginRight:"20px"}},"\u7F3A\u8BC4\u6263\u5206"),v.createElement(X.Z,{min:0,disabled:p,style:{width:"150px"},size:"large",addonAfter:"\u5206",value:A.absence_penalty,onChange:O=>{A.absence_penalty=O,F(Object.assign({},A))}})),A.anonymous_comment&&v.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 83px",display:"flex",alignItems:"center"}},v.createElement(U.default,{checked:A.student_comment,disabled:p,onChange:()=>{A.student_comment=!A.student_comment,F(Object.assign({},A))}},v.createElement("span",{style:{fontSize:"14px",color:"#000"}},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))};Ke.Z=(0,C.connect)(({shixunHomeworks:A})=>({shixunHomeworks:A}))(o)},24571:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return k}});var n=s(59301),X=s(43418),B=s(8591),U=s(95237),_=s(43604),D=s(3113),C=s(54580),l=s(1710),P={achieveSty:"achieveSty___Joqdh",tip:"tip___qAo3r",labolIcon:"labolIcon___QZ4oX"},v=s(85057),o=s(3294),A=s(99064),F=s(955),p=Object.defineProperty,d=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(te,H,$)=>H in te?p(te,H,{enumerable:!0,configurable:!0,writable:!0,value:$}):te[H]=$,O=(te,H)=>{for(var $ in H||(H={}))r.call(H,$)&&h(te,$,H[$]);if(d)for(var $ of d(H))f.call(H,$)&&h(te,$,H[$]);return te},T=(te,H,$)=>new Promise((z,V)=>{var ae=c=>{try{ue($.next(c))}catch(ne){V(ne)}},S=c=>{try{ue($.throw(c))}catch(ne){V(ne)}},ue=c=>c.done?z(c.value):Promise.resolve(c.value).then(ae,S);ue(($=$.apply(te,H)).next())}),k=({visible:te,categoryId:H,getData:$,onCancle:z})=>{var V,ae;const[S,ue]=(0,n.useState)([]),[c,ne]=(0,n.useState)(!1),[Q,q]=(0,n.useState)(!1),[oe,Y]=(0,n.useState)({success_size:0,error_list:[]}),x={withCredentials:!0,maxCount:1,multiple:!1,onRemove:()=>{ue([])},beforeUpload:g=>T(void 0,null,function*(){return ue([g]),!1}),fileList:S,accept:".xlsx"};return n.createElement(n.Fragment,null,n.createElement(X.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",width:690,open:te,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Q,onOk:()=>T(void 0,null,function*(){if(S.length===0){B.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}q(!0);const g=new FormData;g.append("file",S[0]);const E=yield(0,A.ZP)(`/api/homework_commons/${H}/import_external_score.json`,{method:"post",body:g},!0);(E==null?void 0:E.status)===0&&(Y(E),z(),$(),ne(!0),ue([])),q(!1)}),onCancel:()=>{ue([]),z()}},n.createElement("div",{className:P.achieveSty},n.createElement("div",{className:P.tip},n.createElement("div",null,"1.\u4E0D\u5728\u5B66\u751F\u5217\u8868\u5185\u7684\u5B66\u751F\u4E0D\u652F\u6301\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\uFF1B"),n.createElement("div",null,"2.\u672A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4E4B\u540E\u5C06\u89C6\u4E3A\u5DF2\u5728\u7EBF\u4E0B\u63D0\u4EA4\u4F5C\u4E1A\uFF1B"),n.createElement("div",null,"3.\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4F1A\u5C06\u5DF2\u8BC4\u9605\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u8FDB\u884C\u66F4\u65B0\u3002")),n.createElement(U.Z,{align:"middle",className:"mt20"},n.createElement(_.Z,{className:"mr10"},n.createElement("span",{className:P.labolIcon},"*"),n.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),n.createElement(_.Z,null,n.createElement(D.ZP,{shape:"default",style:{backgroundColor:"#3061D0",color:"#fff"}},n.createElement("a",{className:P.downloadbutton,onClick:g=>{g.stopPropagation(),g.preventDefault(),(0,F.FH)("",o.Z.API_SERVER+`/api/homework_commons/${H}/get_example_excel.json`)}},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C")),n.createElement("span",{className:"ml10",style:{color:"#9096A3"}},"\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9"))),n.createElement("div",{className:"mt10",style:{marginLeft:"74px",height:"120px"}},n.createElement(C.default.Dragger,O({style:{border:"1px dashed rgba(48,97,208,0.3)",backgroundColor:"rgba(48,97,208,0.06)"}},x),n.createElement("div",null,n.createElement(v.op,{shape:"default"},"\u9009\u62E9\u6587\u4EF6")),n.createElement("div",{className:"font12 mt10",style:{color:"#9096A3"}},"\u4E0B\u8F7D\u6A21\u7248\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xlsx"))))),n.createElement(X.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u7ED3\u679C",width:508,open:c,onCancel:()=>{ne(!1)},footer:null},n.createElement("div",null,n.createElement("div",{style:{marginTop:"5px",marginBottom:"15px"}},n.createElement("span",null,"\u5BFC\u5165\u6210\u529F",n.createElement("span",{style:{color:"#19CB70"}}," ",oe==null?void 0:oe.success_size," "),"\u4E2A\u5B66\u751F"),n.createElement("span",{style:{marginLeft:"30px"}},"\u5BFC\u5165\u5931\u8D25",n.createElement("span",{style:{color:"#E30000"}}," ",(V=oe==null?void 0:oe.error_list)==null?void 0:V.length," "),"\u4E2A\u5B66\u751F")),!!((ae=oe==null?void 0:oe.error_list)!=null&&ae.length)&&n.createElement("div",{className:"mb20"},n.createElement(l.default,{columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name",ellipsis:!0,width:120,render:g=>n.createElement("span",{style:{color:"#000"}},g)},{title:"\u5B66\u53F7/\u5DE5\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,width:120,render:g=>n.createElement("span",{style:{color:"#666"}},g)},{title:"\u5931\u8D25\u539F\u56E0",dataIndex:"info",key:"info",ellipsis:!0,align:"end",render:g=>n.createElement("span",{style:{color:"#000"}},g)}],dataSource:oe==null?void 0:oe.error_list,pagination:!1,scroll:{y:47*8}})))))}},96814:function(yt,Ke,s){"use strict";var n=s(43418),X=s(8591),B=s(99064),U=s(89070),_=s(24065),D=s(59301),C=(P,v,o)=>new Promise((A,F)=>{var p=f=>{try{r(o.next(f))}catch(h){F(h)}},d=f=>{try{r(o.throw(f))}catch(h){F(h)}},r=f=>f.done?A(f.value):Promise.resolve(f.value).then(p,d);r((o=o.apply(P,v)).next())});const l=({shixunHomeworks:P,dispatch:v,classroomList:o,getData:A})=>D.createElement(n.default,{centered:!0,title:"\u63D0\u793A",open:P.actionTabs.key==="\u5206\u7EC4\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>C(void 0,null,function*(){var F;if((0,_.Rm)()&&!((F=o.AssistantObject.normal)!=null&&F.can_redo)){X.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,B.ZP)(`/api/homework_commons/${P.actionTabs.homework_common_id}/batch_redo_modal.json`,{method:"post",body:{work_group_id:P.actionTabs.work_group_id}})).status===0&&(X.ZP.success("\u6253\u56DE\u91CD\u505A\u6210\u529F"),v({type:"shixunHomeworks/setActionTabs",payload:{}}),A())}),onCancel:()=>{v({type:"shixunHomeworks/setActionTabs",payload:{}})}},D.createElement("p",null,"\u8BE5\u5206\u7EC4\u7684\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u6574\u7EC4\u5B66\u751F\u4F5C\u54C1\u63D0\u4EA4\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF01"),D.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"));Ke.Z=(0,U.connect)(({shixunHomeworks:P,classroomList:v})=>({shixunHomeworks:P,classroomList:v}))(l)},52784:function(yt,Ke,s){"use strict";s.r(Ke),s.d(Ke,{default:function(){return Dl}});var n=s(59301),X=s(89070),B=s(49127),U=s(3113),_=s(8591),D=s(66104),C=s(6848),l=s(99313),P=s(43418),v=s(95237),o=s(43604),A=s(92832),F=s(1710),p=s(27812),d=s(955),r=s(24065),f=s(78241),h=s(20834),O=s(24905),T=s(38854),K=s(58421),k=s(5112),te=s(5871),H=s(57809),$=s(84105),z=s(87395),V=s(67921),ae=s(89489),S=s(99064),ue=s(8797),c=s(96814),ne=Object.defineProperty,Q=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Y=(I,b,w)=>b in I?ne(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,x=(I,b)=>{for(var w in b||(b={}))q.call(b,w)&&Y(I,w,b[w]);if(Q)for(var w of Q(b))oe.call(b,w)&&Y(I,w,b[w]);return I},g=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const E=({shixunHomeworks:I,dispatch:b})=>{const w=(0,X.useParams)(),[de,ve]=(0,n.useState)(!0),[xe,Oe]=(0,n.useState)(!1),[be]=f.default.useForm();return n.createElement(n.Fragment,null,n.createElement(P.default,{centered:!0,title:"\u8C03\u5206",open:I.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:xe,onOk:()=>g(void 0,null,function*(){yield be.validateFields();const re=be.getFieldsValue();Oe(!0),(yield(0,S.ZP)(`/api/student_works/${I.actionTabs.id}/adjust_score.json`,{method:"post",body:x({},re)})).status===0&&(_.ZP.success("\u8BC4\u9605\u6210\u529F"),be.resetFields(),b({type:"shixunHomeworks/setActionTabs",payload:{}}),b({type:"shixunHomeworks/getWorkList",payload:x({},I.actionTabs.params)})),Oe(!1)}),onCancel:()=>{b({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),n.createElement(f.default,{form:be,layout:"horizontal"},n.createElement("div",{style:{display:"flex",alignItems:"baseline"}},n.createElement(f.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},n.createElement(te.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),n.createElement("span",{className:"ml10"},"\u5206")),n.createElement("div",null,n.createElement(f.default.Item,{name:"comment"},n.createElement(A.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var Z=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(E),L=s(12290),J={flex_box_center:"flex_box_center___NBXH7",flex_space_between:"flex_space_between___l6hzm",flex_box_vertical_center:"flex_box_vertical_center___m8uTT",flex_box_center_end:"flex_box_center_end___BwXBn",flex_box_column:"flex_box_column___amI5B",wrap:"wrap___d__UZ",MdEditor:"MdEditor___QRYr6",workListButtonWrap:"workListButtonWrap___lhXWg",anticon:"anticon___b_3pM",workListClass:"workListClass___EI4Fm",left:"left___wBY4f",visible:"visible___uwm7P",status:"status___DUABx",tips:"tips___H3M_T",tableWrapper:"tableWrapper___EW8TX",atitle:"atitle___XxlIn",tables:"tables___thRYc",tables1:"tables1___jKpJt",redoBtn:"redoBtn___uk0iV"},ce=s(78297),De=s(6021),we=s(85057),Ae=s(89392),Ce=s(61186),M=s.n(Ce),We=s(83312),Ie=s(36708),u=s(58617),j=s(59301),i=Object.defineProperty,t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(I,b,w)=>b in I?i(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,W=(I,b)=>{for(var w in b||(b={}))e.call(b,w)&&y(I,w,b[w]);if(t)for(var w of t(b))a.call(b,w)&&y(I,w,b[w]);return I},N=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const se=({shixunHomeworks:I,user:b,loading:w,dispatch:de,classroomList:ve,globalSetting:xe})=>{var Oe,be,re,me,et,tt;const Ne=(0,X.useParams)(),{workList:le,workSetting:_e}=I,[,Ze,ye]=(0,We.U)(Ie.Gw,{homeworkId:le==null?void 0:le.id}),[Ue,vt]=(0,n.useState)([]),Ee=[(le==null?void 0:le.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:200,render:(ee,je)=>{var _t,m,pe,ot,$t,ke;return{children:((_t=je.project_info)==null?void 0:_t.id)!==-1?j.createElement("a",{target:"_blank",title:(m=je.project_info)==null?void 0:m.name,href:`${(pe=xe==null?void 0:xe.setting)==null?void 0:pe.old_url}${(ot=je.project_info)==null?void 0:ot.id}`,style:{whiteSpace:"break-spaces"}},($t=je.project_info)==null?void 0:$t.name):(ke=je.project_info)==null?void 0:ke.name,props:{rowSpan:je.rowSpan}}}},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:150,render:(ee,je)=>j.createElement("div",{style:{display:"flex",alignItems:"center"}},j.createElement("span",{className:J.atitle,style:{width:je.is_leader?"":130,maxWidth:je.is_leader&&80}}," ",ee),je.is_leader&&j.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},(le==null?void 0:le.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",dataIndex:"code_lines_count",width:80,render:ee=>ee||"--"},(le==null?void 0:le.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",dataIndex:"issues_count",width:80,render:(ee,je)=>ee||"--"},(le==null?void 0:le.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:140,render:(ee,je)=>({children:ee?j.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",j.createElement("br",null),M()(ee).format("YYYY-MM-DD HH:mm")):"--",props:{rowSpan:je.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",width:150,render:(ee,je)=>({children:ee===-1?"\u91CD\u505A\u4E2D":j.createElement(d.Uw,{status:ee}),props:{rowSpan:je.rowSpan}})},{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:70,render:(ee,je)=>({children:j.createElement("span",{className:"c-blue"},ee),props:{rowSpan:je.rowSpan}})},{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",width:150,render:(ee,je)=>j.createElement(C.Z,{placement:"bottom",title:j.createElement("div",null,j.createElement("div",null,je.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${je.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),j.createElement("div",null,je.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${je.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),le!=null&&le.anonymous_comment?j.createElement("div",null,je.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${je.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",le!=null&&le.is_group_grade?j.createElement("div",null,je.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${je.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",j.createElement("div",null,je.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${je.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),j.createElement("div",null,je.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${je.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),le!=null&&le.anonymous_comment?j.createElement("div",null,je.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${je.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(le==null?void 0:le.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${je.appeal_penalty||"0.0"}\u5206`,j.createElement("div",null,je.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${je.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(le!=null&&le.is_jupyter||le!=null&&le.is_jupyter_lab)&&j.createElement("div",{onClick:_t=>{_t.stopPropagation(),X.history.push(`/classrooms/${Ne.coursesId}/group_homework/${Ne.categoryId}/review/${je.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ee>0?j.createElement("span",{style:{color:"#ff8100"}},ee):ee)},(_e==null?void 0:_e.can_submit)&&{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"submit_count",width:75,ellipsis:!0,render:(ee,je={},_t=0)=>(le==null?void 0:le.work_status)==0?"--":ee||"--"},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u9700\u8BC4\u6570",align:"center",dataIndex:"need_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u5DF2\u8BC4\u6570",align:"center",dataIndex:"user_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u88AB\u8BC4\u6570",align:"center",dataIndex:"student_comment_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u88AB\u533F\u8BC4\u5206\u6570",align:"center",dataIndex:"student_score",width:120},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u7533\u8BC9\u6B21\u6570",align:"center",dataIndex:"appeal_all_count",width:75},(le==null?void 0:le.student_anonymous_comment)&&{title:"\u5F85\u5BA1\u6838\u7533\u8BC9",align:"center",dataIndex:"appeal_deal_count",width:120},{title:"\u64CD\u4F5C",width:le!=null&&le.base_on_project?100:80,align:"center",dataInex:"action",fixed:"right",render:(ee,je)=>{var _t;return(_t=le.homework_status)!=null&&_t.includes("\u5BFC\u5165")?j.createElement("div",null,j.createElement("a",{style:{marginLeft:10},onClick:(0,Ae.debounce)(m=>N(void 0,null,function*(){var pe,ot,$t,ke,mt;m.stopPropagation();let st=yield(0,S.ZP)(`/api/student_works/${je==null?void 0:je.id}/passed_condition.json`,{method:"get"});P.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:j.createElement("div",null,j.createElement("div",{style:{display:"flex"}},j.createElement("div",null,j.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),j.createElement("span",{style:{marginLeft:10}},(pe=st==null?void 0:st.data)==null?void 0:pe.user_name)),j.createElement("div",{style:{marginLeft:60}},j.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),j.createElement("span",{style:{marginLeft:10}},(ot=st==null?void 0:st.data)==null?void 0:ot.student_id)),j.createElement("div",{style:{marginLeft:60}},j.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),j.createElement("span",{style:{marginLeft:10}},($t=st==null?void 0:st.data)==null?void 0:$t.group_name))),j.createElement("div",{style:{marginTop:22}},j.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),j.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((ke=st==null?void 0:st.data)==null?void 0:ke.description)||"\u6682\u65E0\u4FE1\u606F")),j.createElement("div",{style:{marginTop:22,marginBottom:20}},j.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),j.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((mt=st==null?void 0:st.data)==null?void 0:mt.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):je.work_status===0?j.createElement("div",null,"--"):j.createElement("a",{className:"c-blue",onClick:m=>{var pe,ot;if(m.preventDefault(),(0,r.Rm)()&&!((ot=(pe=ve==null?void 0:ve.AssistantObject)==null?void 0:pe.group)!=null&&ot.can_view)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${Ne.coursesId}/group_homework/${Ne.categoryId}/review/${je.id}?review=review`)}}," \u67E5\u770B ")}}].filter(ee=>!!ee),pt=[{title:"\u5E8F\u53F7",dataIndex:"name",ellipsis:!0,width:120,render:(ee,je,_t)=>_t+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"current_user_work_status",ellipsis:!0,render:ee=>ee?j.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u8BC4"):j.createElement("span",{style:{color:"#FF6801"}},"\u672A\u8BC4")},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"update_time",ellipsis:!0,render:ee=>ee?M()(ee).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"student_score",ellipsis:!0,render:ee=>ee||"--"},{title:j.createElement("span",null,"\u662F\u5426\u6574\u7EC4\u540C\u8BC4",j.createElement(C.Z,{title:"\u5982\u679C\u5B66\u751F\u5BF9\u4F5C\u54C1\u8FDB\u884C\u4E86\u6574\u7EC4\u540C\u8BC4\uFF0C\u90A3\u4E48\u8BE5\u4F5C\u54C1\u6240\u5C5E\u5206\u7EC4\u7684\u4EBA\u6570\u7B49\u4E8E\u5DF2\u8BC4\u4F5C\u54C1\u6570\uFF0C\u5E76\u4E14\u5B66\u751F\u7684\u5DF2\u8BC4\u4F5C\u54C1\u603B\u6570\u5C06\u8D85\u8FC7\u9700\u8BC4\u6570\u3002"},j.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-999 current-primary ml5"}))),dataIndex:"group_comment",ellipsis:!0},{title:"\u88AB\u7533\u8BC9\u6B21\u6570",dataIndex:"appeal_all_count",ellipsis:!0,render:ee=>ee||"--"},{title:"\u88AB\u7533\u8BC9\u5BA1\u6838\u72B6\u6001",dataIndex:"current_user_appeal_status",ellipsis:!0,render:ee=>ee===1?j.createElement("span",{style:{color:"#FF6801"}},"\u5F85\u5BA1\u6838"):ee===-1?"--":j.createElement("span",{style:{color:"#028D01"}},"\u5DF2\u5BA1\u6838")},{title:"\u64CD\u4F5C",dataIndex:"name",ellipsis:!0,align:"right",width:80,render:(ee,je)=>j.createElement("a",{onClick:()=>{var _t;if([0,-1].includes(le==null?void 0:le.work_status)){_.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}(_t=le.homework_status)!=null&&_t.includes("\u5BFC\u5165")||X.history.push(`/classrooms/${Ne.coursesId}/group_homework/${Ne.categoryId}/review/${je.id}`)}},je!=null&&je.current_user_work_status?"\u67E5\u770B":"\u8BC4\u9605")}];return(0,n.useEffect)(()=>{le!=null&&le.course_id&&vt(le.student_works)},[le]),j.createElement("section",{className:"minH500 bg-white p30",style:{paddingTop:25}},!(le!=null&&le.all_member_count)&&!w["shixunHomeworks/getWorkList"]&&(((Oe=le==null?void 0:le.homework_status)==null?void 0:Oe.includes("\u672A\u53D1\u5E03"))||((be=le==null?void 0:le.homework_status)==null?void 0:be.includes("\u672A\u5F00\u59CB")))&&j.createElement(ue.Z,null),!((re=le==null?void 0:le.homework_status)!=null&&re.includes("\u672A\u53D1\u5E03"))&&!((me=le==null?void 0:le.homework_status)!=null&&me.includes("\u672A\u5F00\u59CB"))&&j.createElement(j.Fragment,null,j.createElement(v.Z,{wrap:!1,align:"middle",justify:"space-between"},j.createElement(o.Z,null,j.createElement("span",{className:"c-grey-333"},"\u6211\u7684\u4F5C\u54C1")),j.createElement(o.Z,null,j.createElement("span",null,(et=le==null?void 0:le.left_time)==null?void 0:et.status,j.createElement("span",{className:"ml10",style:{color:"#FF9D18"}},(tt=le==null?void 0:le.left_time)==null?void 0:tt.time)))),(le==null?void 0:le.is_shixun)&&!(le!=null&&le.open_evaluate)&&!(le!=null&&le.is_close_tips)&&j.createElement(v.Z,{align:"middle",justify:"space-between",style:{background:"#F5F5F5",borderRadius:4,height:42,padding:"0px 10px",color:"#9096A3"}},j.createElement(o.Z,null,j.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u672A\u542F\u7528\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u540E\u9700\u8981\u6559\u5E08\u624B\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85\u6559\u5E08\u7684\u8BC4\u5206\u7ED3\u679C\u3002 ")),j.createElement(o.Z,null,j.createElement("span",{className:"current",onClick:()=>N(void 0,null,function*(){const ee=yield(0,S.ZP)(`/api/homework_commons/${Ne.categoryId}/close_tips.json`,{method:"post"});(ee==null?void 0:ee.status)===0&&de({type:"shixunHomeworks/getWorkList",payload:W({},Ne)})})},"X"))),(le==null?void 0:le.feedback_notice)&&j.createElement("div",{className:"font14 mt10",style:{padding:"9px 20px",background:"rgba(255,157,24,0.1)",color:"#FF9D18",display:"flex",alignItems:"center"}},j.createElement("i",{className:"iconfont icon-tishi11 font14"}),j.createElement("span",{className:"ml10",style:{flex:"1"}},"\u6709\u5B66\u751F\u53CD\u9988\u4E86\u4F5C\u54C1\u95EE\u9898\uFF0C\u8BF7\u53CA\u65F6\u67E5\u770B\u5904\u7406"),Ze?j.createElement(u.Z,null):j.createElement("i",{className:"iconfont icon-guanbi10 font14 current",style:{color:"#979797"},onClick:()=>N(void 0,null,function*(){const ee=yield ye({homeworkId:le==null?void 0:le.id});(ee==null?void 0:ee.status)===0&&de({type:"shixunHomeworks/getWorkList",payload:W({},Ne)})})})),j.createElement(F.default,{className:"mt15",loading:w["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(ee,je)=>(ee==null?void 0:ee.item_index)%2===0&&J.tables,pagination:!1,dataSource:[le],columns:Ee,locale:{emptyText:j.createElement(ue.Z,null)},scroll:le!=null&&le.student_anonymous_comment||le!=null&&le.base_on_project?{x:"calc(100% + 60px)"}:{}}),(le==null?void 0:le.student_anonymous_comment)&&j.createElement("div",{className:"mt30"},j.createElement(v.Z,{wrap:!1,align:"middle",justify:"space-between"},j.createElement(o.Z,null,"\u5171",j.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},(le==null?void 0:le.work_count)||0),"\u4EFD\u4F5C\u4E1A\u9700\u8BC4\u9605"),j.createElement(o.Z,null,j.createElement("i",{className:"iconfont icon-shijian1 c-grey-666 mr10"}),"\u533F\u8BC4\u65F6\u95F4",j.createElement("span",{className:"c-grey-333 ml10"},(le==null?void 0:le.evaluation_start)&&M()(le==null?void 0:le.evaluation_start).format("YYYY-MM-DD HH:mm"),"\u81F3 ",(le==null?void 0:le.evaluation_end)&&M()(le==null?void 0:le.evaluation_end).format("YYYY-MM-DD HH:mm")))),j.createElement(F.default,{className:"mt15",locale:{emptyText:j.createElement(ue.Z,null)},columns:pt,dataSource:Ue,pagination:!1}))))};var ge=(0,X.connect)(({shixunHomeworks:I,classroomList:b,globalSetting:w,loading:de})=>({shixunHomeworks:I,classroomList:b,loading:de.effects,globalSetting:w}))(se),fe=s(24571),R=s(59301),He=Object.defineProperty,Te=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Ge=(I,b,w)=>b in I?He(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,xt=(I,b)=>{for(var w in b||(b={}))qt.call(b,w)&&Ge(I,w,b[w]);if(Rt)for(var w of Rt(b))Ot.call(b,w)&&Ge(I,w,b[w]);return I},un=(I,b)=>Te(I,at(b)),At=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Xt=(0,n.createRef)(),An=({shixunHomeworks:I,classroomList:b,loading:w,globalSetting:de,dispatch:ve,zip:xe,btnLoading:Oe,setBtnLoading:be})=>{var re,me,et,tt,Ne,le,_e,Ze,ye,Ue,vt,Ee;const[pt]=(0,X.useSearchParams)(),[ee,je]=(0,n.useState)(xt(xt({},(0,X.useParams)()),{page:pt.get("page")||1,limit:20})),_t=(0,X.useLocation)(),{workList:m}=I,[pe,ot]=(0,n.useState)({}),[$t,ke]=(0,n.useState)(""),[mt,st]=(0,n.useState)(""),[tn,Lt]=(0,n.useState)(""),[zt,Yt]=(0,n.useState)([]),[Un,Se]=(0,n.useState)(),[gt,Ye]=(0,n.useState)([]),[gn,Fn]=(0,n.useState)(!1),[lt,Mt]=(0,n.useState)([]),[Zt,Re]=(0,n.useState)(!1),[Me,Vt]=(0,n.useState)(),[wt,Ht]=(0,n.useState)(1),[en,Tt]=(0,n.useState)(),[Jt,Ut]=(0,n.useState)(),[dn,On]=(0,n.useState)(),[Pn,Bt]=(0,n.useState)(!1),[Xn]=f.default.useForm(),[uu,nn]=(0,n.useState)({groupAll:[],userAll:[]}),[mn,Fe]=(0,n.useState)(!1),[Be,Qt]=(0,n.useState)(!1),[ht,it]=(0,n.useState)({status:!1,visible:!0}),[Ft]=f.default.useForm(),an=()=>At(void 0,null,function*(){const ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/get_group_members`,{method:"get",params:{}}),Pe=yield(0,S.ZP)(`/api/courses/${ee.coursesId}/students.json`,{method:"get",params:{coursesId:ee.coursesId,homework_id:ee.categoryId,page:1,limit:2e3}});(ie==null?void 0:ie.status)==0&&nn({groupAll:ie==null?void 0:ie.group_infos,userAll:Pe==null?void 0:Pe.students})});(0,n.useEffect)(()=>{var ie;((ie=m==null?void 0:m.course_recommends)==null?void 0:ie.length)>0&&Fe(!0)},[m==null?void 0:m.course_recommends]),(0,n.useEffect)(()=>{Xt&&Xt.current&&(Xt.current.clientHeight>47?it({status:!0,visible:!0}):it({status:!1,visible:!0}))},[m.course_group_info&&m.course_group_info.length]),(0,n.useEffect)(()=>{m!=null&&m.course_id},[m==null?void 0:m.course_id]),(0,n.useEffect)(()=>{m!=null&&m.course_id&&setTimeout(()=>{var ie,Pe;if(m.base_on_project){let Dt=[];(ie=m.new_student_works)==null||ie.map((ln,En)=>{var pn;(pn=ln==null?void 0:ln.student_works)==null||pn.map((Cn,su)=>{var iu,cu,In,ju;Cn.item_index=ln.item_index,Cn.rowSpan=Cn!=null&&Cn.is_leader?(iu=ln==null?void 0:ln.student_works)==null?void 0:iu.length:((cu=Cn==null?void 0:Cn.project_info)==null?void 0:cu.id)===-1?1:((ju=(In=ln==null?void 0:ln.student_works)==null?void 0:In.filter(Ol=>Ol.is_leader))==null?void 0:ju.length)>0?0:1,Dt.push(Cn)})}),console.log("---",Dt),Yt([...Dt])}else{let Dt=[];(Pe=m.new_student_works)==null||Pe.map((ln,En)=>{var pn;(pn=ln==null?void 0:ln.student_works)==null||pn.map((Cn,su)=>{var iu,cu,In;Cn.item_index=ln.item_index,Cn.rowSpan=su==0?(iu=ln==null?void 0:ln.student_works)==null?void 0:iu.length:((In=(cu=ln==null?void 0:ln.student_works)==null?void 0:cu.filter(ju=>ju.id))==null?void 0:In.length)>0?0:1,Dt.push(Cn)})}),Yt([...Dt])}},400)},[m]);const rn=()=>At(void 0,null,function*(){const ie=yield ve({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})});(0,n.useEffect)(()=>{if(pt.get("page")){let ie=JSON.parse(localStorage.getItem("grouphomeworkkey"))||{};je(xt(xt({},ee),ie)),ie.task_status=(ie==null?void 0:ie.work_status)||"all",ie.member_work=ie!=null&&ie.member_work?[ie==null?void 0:ie.member_work]:"all",ie.course_group_info=(ie==null?void 0:ie.course_group)||"all",ie.file_status=ie!=null&&ie.file_status?[ie==null?void 0:ie.file_status]:"all",ie.teacher_comment=ie!=null&&ie.teacher_comment?[ie==null?void 0:ie.teacher_comment]:"all",Ft.setFieldsValue(xt({},ie))}},[]);function qe(){Ht(1),Se(""),Tt(""),Ut(""),On(""),Mt([])}const Et=()=>{ee.page=1;const ie=Object.assign({},Ft.getFieldValue());delete ee.course_group,delete ee.teacher_comment,Object.keys(ie).map(function(Pe){var Dt;switch(Pe){case"teacher_comment":case"member_work":ie[Pe].length>1||!ie[Pe].length?(delete ee[Pe],Ft.setFieldsValue({[Pe]:"all"})):(ee[Pe]=(Dt=ie[Pe])==null?void 0:Dt[0],Ft.setFieldsValue({teacher_comment:ie[Pe]}));break;case"file_status":ie[Pe].includes("all")||m[Pe].length===ie[Pe].length||!ie[Pe].length?(delete ee.file_status,Ft.setFieldsValue({file_status:"all"})):(ee.file_status=ie[Pe][0],Ft.setFieldsValue({file_status:ie[Pe]}));break;case"work_status":ie[Pe].includes("all")||m.task_status.length===ie[Pe].length||!ie[Pe].length?(delete ee.work_status,Ft.setFieldsValue({work_status:"all"})):(ee.work_status=ie[Pe],Ft.setFieldsValue({work_status:ee.work_status}));break;case"course_group_info":ie[Pe].includes("all")||m[Pe].length===ie[Pe].length||!ie[Pe].length?(delete ee.course_group,Ft.setFieldsValue({course_group_info:"all"})):(ee.course_group=ie[Pe],Ft.setFieldsValue({course_group_info:ee.course_group}));break}}),rn()},hn=(ie,Pe)=>{ee.page=ie,ee.limit=Pe,rn()},Pt=[{name:"\u7EC4\u957F",id:1},{name:"\u7EC4\u5458",id:0}],he=[{title:"\u5E8F\u53F7",dataIndex:"item_index",align:"left",width:50,fixed:m!=null&&m.base_on_project?"left":"",render:(ie,Pe,Dt)=>({children:ie,props:{rowSpan:Pe.rowSpan}})},(m==null?void 0:m.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:120,fixed:"left",render:(ie,Pe)=>{var Dt,ln,En,pn,Cn,su;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("a",{target:"_blank",title:(ln=Pe.project_info)==null?void 0:ln.name,href:`${(En=de==null?void 0:de.setting)==null?void 0:En.old_url}${(pn=Pe.project_info)==null?void 0:pn.id}`,style:{whiteSpace:"break-spaces"}},(Cn=Pe.project_info)==null?void 0:Cn.name):(su=Pe.project_info)==null?void 0:su.name,props:{rowSpan:Pe.rowSpan}}}},!(m!=null&&m.base_on_project)&&{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:200,render:(ie,Pe)=>({children:R.createElement("span",{className:"c-blue"},ie),props:{rowSpan:Pe.rowSpan}})},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:140,render:(ie,Pe)=>R.createElement("div",{style:{display:"flex",alignItems:"center"}},R.createElement(C.Z,{placement:"bottom",title:ie},R.createElement("span",{className:J.atitle,style:{width:Pe.is_leader?"":130,maxWidth:Pe.is_leader&&80}}," ",ie)),Pe.is_leader&&R.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},(0,r.GJ)()&&{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",sortDirections:["descend","ascend"],width:m!=null&&m.base_on_project?80:130,ellipsis:!0,render:ie=>R.createElement("span",{style:{color:"#666666"}},ie)},(0,r.GJ)()&&!(m!=null&&m.base_on_project)&&{title:"\u5206\u73ED",align:"left",width:150,ellipsis:!0,dataIndex:"group_name"},((0,r.GJ)()||(0,r.dE)()&&!(m!=null&&m.anonymous_comment)&&!m.anonymous_appeal||(0,r.dE)()&&((re=m.homework_status)==null?void 0:re.includes("\u5DF2\u622A\u6B62")))&&{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",sorter:!0,width:100,sortOrder:ee.order==="work_score"?ee.b_order==="desc"?"descend":"ascend":null,sortDirections:["descend","ascend"],render:(ie,Pe)=>R.createElement(C.Z,{placement:"bottom",title:R.createElement("div",null,R.createElement("div",null,Pe.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${Pe.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),R.createElement("div",null,Pe.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${Pe.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),m!=null&&m.anonymous_comment?R.createElement("div",null,Pe.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${Pe.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",m!=null&&m.is_group_grade?R.createElement("div",null,Pe.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${Pe.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",R.createElement("div",null,Pe.late_penalty?`\u8865\u4EA4\u6263\u5206\uFF1A${Pe.late_penalty}\u5206`:"\u8865\u4EA4\u6263\u5206\uFF1A0.0\u5206"),R.createElement("div",null,Pe.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${Pe.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),m!=null&&m.anonymous_comment?R.createElement("div",null,Pe.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${Pe.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",(m==null?void 0:m.anonymous_appeal)&&`\u8FDD\u8BC4\u6263\u5206\uFF1A${Pe.appeal_penalty||"0.0"}\u5206`,R.createElement("div",null,Pe.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${Pe.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(m!=null&&m.is_jupyter||m!=null&&m.is_jupyter_lab)&&R.createElement("div",{onClick:Dt=>{Dt.stopPropagation(),localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},ie>0?R.createElement("span",{style:{color:"#ff8100"}},ie):ie)},(m==null?void 0:m.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",ellipsis:!0,width:100,dataIndex:"code_lines_count",render:ie=>ie||"--"},(m==null?void 0:m.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",ellipsis:!0,width:100,dataIndex:"issues_count",render:(ie,Pe)=>({children:ie||"--"})},(m==null?void 0:m.base_on_project)&&{title:"P/R\u6570",align:"left",ellipsis:!0,width:100,dataIndex:"pull_requests_count",render:(ie,Pe)=>{var Dt;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{var ln,En;window.open(`${(ln=de==null?void 0:de.setting)==null?void 0:ln.old_url}${(En=Pe.project_info)==null?void 0:En.id}/pulls`)}},Pe==null?void 0:Pe.pull_requests_count):"--",props:{rowSpan:Pe.rowSpan}}}},(m==null?void 0:m.base_on_project)&&{title:"\u4EE3\u7801\u8D28\u91CF",align:"left",width:170,dataIndex:"codesmell",render:(ie,Pe)=>{var Dt;return{children:((Dt=Pe.project_info)==null?void 0:Dt.id)!==-1?R.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{var ln,En;window.open(`${(ln=de==null?void 0:de.setting)==null?void 0:ln.old_url}${(En=Pe.project_info)==null?void 0:En.id}/sonar`)}},R.createElement("div",null,"bug ",Pe==null?void 0:Pe.bug),R.createElement("div",null,"Security ",Pe==null?void 0:Pe.security),R.createElement("div",null,"Codesmell ",Pe==null?void 0:Pe.codesmell)):"--",props:{rowSpan:Pe.rowSpan}}}},(m==null?void 0:m.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:130,ellipsis:!0,sorter:!0,sortOrder:ee.order==="update_time"?ee.b_order==="desc"?"descend":"ascend":null,render:(ie,Pe)=>({children:R.createElement(C.Z,{placement:"bottom",title:ie?R.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",R.createElement("br",null),M()(ie).format("YYYY-MM-DD HH:mm")):"--"},ie?R.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",R.createElement("br",null),M()(ie).format("YYYY-MM-DD HH:mm")):"--"),props:{rowSpan:Pe.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",width:m!=null&&m.base_on_project?110:200,fixed:m!=null&&m.base_on_project?"right":"",render:(ie,Pe)=>({children:ie===-1?"\u91CD\u505A\u4E2D":R.createElement("div",{style:{whiteSpace:"break-spaces"}},R.createElement(d.Uw,{status:ie,lineBreak:!0})),props:{rowSpan:Pe.rowSpan}})},{title:"\u64CD\u4F5C",width:175,fixed:m!=null&&m.base_on_project?"right":"",align:"left",dataInex:"action",render:(ie,Pe)=>{var Dt,ln;return(Dt=m.homework_status)!=null&&Dt.includes("\u5BFC\u5165")?R.createElement("div",null,(0,r.GJ)()&&R.createElement("a",{onClick:En=>{En.stopPropagation(),ve({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Pe==null?void 0:Pe.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"),R.createElement("a",{style:{marginLeft:10},onClick:(0,Ae.debounce)(En=>At(void 0,null,function*(){var pn,Cn,su,iu,cu;En.stopPropagation();let In=yield(0,S.ZP)(`/api/student_works/${Pe==null?void 0:Pe.id}/passed_condition.json`,{method:"get"});P.default.confirm({title:"\u4F5C\u4E1A\u8BE6\u60C5",closable:!0,width:750,icon:null,content:R.createElement("div",null,R.createElement("div",{style:{display:"flex"}},R.createElement("div",null,R.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),R.createElement("span",{style:{marginLeft:10}},(pn=In==null?void 0:In.data)==null?void 0:pn.user_name)),R.createElement("div",{style:{marginLeft:60}},R.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),R.createElement("span",{style:{marginLeft:10}},(Cn=In==null?void 0:In.data)==null?void 0:Cn.student_id)),R.createElement("div",{style:{marginLeft:60}},R.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),R.createElement("span",{style:{marginLeft:10}},(su=In==null?void 0:In.data)==null?void 0:su.group_name))),R.createElement("div",{style:{marginTop:22}},R.createElement("div",{style:{color:"#666666"}},"\u4F5C\u4E1A\u63CF\u8FF0\uFF1A"),R.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((iu=In==null?void 0:In.data)==null?void 0:iu.description)||"\u6682\u65E0\u4FE1\u606F")),R.createElement("div",{style:{marginTop:22,marginBottom:20}},R.createElement("div",{style:{color:"#666666"}},"\u70B9\u8BC4\u5185\u5BB9\uFF1A"),R.createElement("div",{style:{marginTop:10,background:"#F6F7F9",padding:10}},((cu=In==null?void 0:In.data)==null?void 0:cu.comment)||"\u6682\u65E0\u4FE1\u606F"))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):Pe.work_status===0&&!(0,r.GJ)()?R.createElement("div",null,"--"):R.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},!(0,r.GJ)()&&R.createElement("a",{className:"c-blue",onClick:En=>{var pn,Cn;if(En.preventDefault(),(0,r.Rm)()&&!((Cn=(pn=b==null?void 0:b.AssistantObject)==null?void 0:pn.group)!=null&&Cn.can_view)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)}},"\u67E5\u770B"),(0,r.GJ)()&&R.createElement("a",{className:"c-blue",onClick:En=>{var pn;if(En.preventDefault(),(m==null?void 0:m.work_status)==0){_.ZP.warning("\u4F60\u672A\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u4E0D\u80FD\u53C2\u4E0E\u533F\u8BC4");return}if((0,r.Rm)()&&!((pn=b.AssistantObject.group)!=null&&pn.can_view)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}localStorage.setItem("grouphomeworkkey",JSON.stringify(ee)),X.history.push(`/classrooms/${ee.coursesId}/group_homework/${ee.categoryId}/review/${Pe.id}?page=${ee.page}`)}},Pe.has_comment?"\u5DF2\u8BC4\u9605":"\u8BC4\u9605"),(0,r.GJ)()&&R.createElement(C.Z,{placement:"bottom",title:R.createElement("p",null,"\u8C03\u6574\u5B66\u751F\u5F53\u524D\u6210\u7EE9",R.createElement("br",null),"\u5176\u5B83\u5386\u53F2\u8BC4\u5206\u5C06\u5168\u90E8\u5931\u6548")},R.createElement("a",{style:{color:"#3061D0"},className:"c-green",onClick:En=>{var pn;if(En.preventDefault(),(0,r.Rm)()&&!((pn=b.AssistantObject.group)!=null&&pn.can_appraise)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8C03\u5206",selectArrs:Pe,id:Pe.id,params:ee}})}},"\u8C03\u5206")),(0,r.GJ)()&&R.createElement("div",null,(m!=null&&m.is_new_rule?Pe.work_status!==-1&&Pe.work_status!==0:Pe.work_status!==-1&&Pe.work_status!==0&&!((ln=m==null?void 0:m.homework_status)!=null&&ln.includes("\u5DF2\u622A\u6B62")))&&R.createElement(v.Z,{justify:"center"},R.createElement("span",{className:`${J.redoBtn}`,onClick:En=>{var pn;if(En.stopPropagation(),(0,r.Rm)()&&!((pn=b.AssistantObject.normal)!=null&&pn.can_redo)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7EC4\u6253\u56DE\u91CD\u505A",homework_common_id:m.homework_id,work_group_id:Pe.work_group_id}})}},"\u6253\u56DE\u91CD\u505A"))))}}].filter(ie=>!!ie),Le=[...he.map(ie=>xt({},ie))];Le[0].render=ie=>"\u6211";const ze=()=>At(void 0,null,function*(){var ie;be(!0);const Pe=yield(0,S.ZP)(`/api/homework_commons/${ee==null?void 0:ee.categoryId}/export_student_works.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});Pe.status===0?(ie=xe.current)==null||ie.exportGroupingReport(Pe.filenames_by_group,Pe==null?void 0:Pe.files):be(!1)}),Kt=()=>At(void 0,null,function*(){var ie;const Pe=yield(0,S.ZP)(`/api/homework_commons/${ee==null?void 0:ee.categoryId}/export_student_works.json`,{method:"get",params:JSON.parse(sessionStorage.all_student_works_params)});Pe.status===0&&(Array.isArray(Pe.sub_data)&&Pe.sub_data.length>0?(ie=xe.current)==null||ie.exportAndCreateUserFolder(Pe.sub_data,"\u6279\u6CE8\u9644\u4EF6",`${m==null?void 0:m.homework_name}-\u4F5C\u54C1\u6279\u6CE8\u9644\u4EF6`):_.ZP.warning("\u6682\u65E0\u53EF\u4E0B\u8F7D\u7684\u6279\u6CE8\u9644\u4EF6"))}),Ru=()=>{var ie,Pe;return R.createElement(h.default,null,R.createElement(h.default.Item,{key:"1"},R.createElement("span",{onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=b.AssistantObject.group)!=null&&Dt.can_download)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:m==null?void 0:m.course_group_info,fn:()=>{(0,ce.Iy)(JSON.parse(sessionStorage.all_student_works_params),"group_work_list")}}})}},"\u5BFC\u51FA\u6210\u7EE9")),!((ie=m.homework_status)!=null&&ie.includes("\u5BFC\u5165"))&&R.createElement(h.default.Item,{key:"3"},R.createElement(U.ZP,{loading:Oe,ghost:!0,style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=b.AssistantObject.group)!=null&&Dt.can_download)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u4F5C\u54C1\u9644\u4EF6",course_groups:m==null?void 0:m.course_group_info,fn:()=>{ze()}}})}},"\u5BFC\u51FA\u4F5C\u54C1\u9644\u4EF6")),!((Pe=m.homework_status)!=null&&Pe.includes("\u5BFC\u5165"))&&R.createElement(h.default.Item,{key:"4"},R.createElement(De.Z,{style:{paddingLeft:0,background:"transparent"},type:"text",onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=b.AssistantObject.group)!=null&&Dt.can_download)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u4F5C\u54C1\u6279\u6CE8",course_groups:m==null?void 0:m.course_group_info,fn:()=>{Kt()}}})}},"\u5BFC\u51FA\u4F5C\u54C1\u6279\u6CE8")),R.createElement(h.default.Item,{key:"2"},R.createElement("span",{onClick:()=>{var Dt;if((0,r.Rm)()&&!((Dt=b.AssistantObject.group)!=null&&Dt.can_download)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${ee.coursesId}/exportlist/group_work_list`)}},"\u5386\u53F2\u5BFC\u51FA")))};return!(0,r.GJ)()&&(m!=null&&m.student_anonymous_comment)?R.createElement(ge,null):R.createElement("section",{className:`${J.wrap} minH500`},R.createElement("aside",null,R.createElement("aside",{className:`minH500 bg-white pl30 ${(0,r.GJ)()?"pt30":""} pr30`},!(m!=null&&m.all_member_count)&&!w["shixunHomeworks/getWorkList"]&&R.createElement("aside",{className:"bg-white inline-block w100"},R.createElement(ue.Z,null)),!(0,r.GJ)()&&R.createElement("aside",{className:"pt10 pb10"},R.createElement("span",{className:"c-orange"},m.commit_count),"\u5DF2\u4EA4",R.createElement("span",{className:"ml10"},m.uncommit_count),"\u672A\u4EA4",((me=m==null?void 0:m.left_time)==null?void 0:me.time)&&R.createElement("span",{className:"ml10"},R.createElement("span",null,(et=m==null?void 0:m.left_time)==null?void 0:et.status),R.createElement("span",{className:"c-orange"},(tt=m==null?void 0:m.left_time)==null?void 0:tt.time))),R.createElement("aside",null,(0,r.GJ)()&&R.createElement("aside",{className:"mb30"},R.createElement(f.default,{form:Ft,onChange:Et,initialValues:{member_work:"all",work_status:"all",course_group_info:"all",teacher_comment:"all",file_status:"all"}},R.createElement(f.default.Item,{name:"teacher_comment"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(v.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u4F60\u7684\u8BC4\u9605:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.teacher_comment},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},m.teacher_comment&&m.teacher_comment.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"file_status"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(v.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u9644\u4EF6\u72B6\u6001:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all"},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},(Ne=m==null?void 0:m.file_status)==null?void 0:Ne.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"work_status"},R.createElement(O.default.Group,{value:[],style:{width:"100%"}},R.createElement(v.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u4F5C\u54C1\u72B6\u6001:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.work_status},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},m.task_status&&m.task_status.map(ie=>R.createElement(O.default,{name:"work_status",value:ie.id,key:ie.id},ie.name,"(",ie.count,")")))))),R.createElement(f.default.Item,{name:"member_work"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(v.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u7EC4\u5185\u89D2\u8272:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all"},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1"},Pt.map(ie=>R.createElement(O.default,{value:ie.id,key:ie.id},ie.name)))))),R.createElement(f.default.Item,{name:"course_group_info"},R.createElement(O.default.Group,{style:{width:"100%"}},R.createElement(v.Z,null,R.createElement(o.Z,{flex:"80px",style:{fontSize:14}},"\u5206\u73ED\u60C5\u51B5:"),R.createElement(o.Z,{flex:"80px"},R.createElement(O.default,{value:"all",checked:!pe.course_group},"\u5168\u90E8")),R.createElement(o.Z,{flex:"1",className:`${J.workListClass} ${ht.visible?J.visible:""} ${ht.status?"":J.status}`},R.createElement("div",{ref:Xt,className:J.left},m.course_group_info&&m.course_group_info.map(ie=>R.createElement(O.default,{value:ie.course_group_id,key:ie.course_group_id},ie.group_group_name,"(",ie.count,")"))),ht.status&&R.createElement("div",{className:J.tips,onClick:()=>it(un(xt({},ht),{visible:!ht.visible}))},R.createElement("span",null,ht.visible?"\u5C55\u5F00":"\u6536\u8D77",ht.visible?R.createElement($.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):R.createElement(z.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))))),R.createElement(v.Z,{align:"middle"},R.createElement(o.Z,{flex:"1"},R.createElement(v.Z,{align:"middle"},R.createElement(o.Z,null,R.createElement(A.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ie=>{ee.page=1,ee.search=ie.trim(),ve({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})},style:{width:240}})),R.createElement(o.Z,null,R.createElement("span",{className:"ml5 c-red"},m.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",m.work_count,"\u4E2A\u5B66\u751F\uFF09"))),R.createElement(o.Z,{style:{textAlign:"end"},className:J.workListButtonWrap},!((le=m.homework_status)!=null&&le.includes("\u5BFC\u5165"))&&!(0,r.dE)()&&R.createElement(De.Z,{className:"mr20",onClick:()=>At(void 0,null,function*(){yield an(),Bt(!0)})},"\u8C03\u6574\u5206\u7EC4"),((_e=m.homework_status)==null?void 0:_e.includes("\u5DF2\u622A\u6B62"))&&R.createElement(U.ZP,{className:"mr20",icon:R.createElement("i",{className:"iconfont icon-daoruwaibuchengji"}),onClick:()=>{Qt(!0)}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"),R.createElement(T.Z,{dropdownRender:Ru},R.createElement(U.ZP,null,R.createElement(V.Z,null),"\u5BFC\u51FA",R.createElement(ae.Z,null)))))),(0,r.G5)()&&R.createElement("div",null,(m==null?void 0:m.base_on_project)&&R.createElement("p",null,"\u9879\u76EE\u6982\u89C8"),R.createElement(F.default,{dataSource:[m==null?void 0:m.group_data],pagination:!1,bordered:!0,style:{marginBottom:20},columns:[m!=null&&m.base_on_project?{title:"\u9879\u76EE\u603B\u6570",align:"center",dataIndex:"project_num",key:"project_num"}:{title:"\u5206\u7EC4\u603B\u6570",align:"center",dataIndex:"group_size",key:"group_size"},{title:"\u5B66\u751F\u4EBA\u6570",align:"center",dataIndex:"work_count"},(m==null?void 0:m.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE\u4EBA\u6570",align:"center",dataIndex:"associated_num"},(m==null?void 0:m.base_on_project)&&{title:"\u672A\u5173\u8054\u9879\u76EE\u4EBA\u6570",align:"center",dataIndex:"unassociated_num"},!(m!=null&&m.base_on_project)&&{title:"\u5DF2\u5206\u7EC4\u6570",align:"center",dataIndex:"non_zero_count"},!(m!=null&&m.base_on_project)&&{title:"\u672A\u5206\u7EC4\u6570",align:"center",dataIndex:"zero_count"},{title:"\u672A\u63D0\u4EA4\u4EBA\u6570",align:"center",dataIndex:"not_submitted_num"},(m==null?void 0:m.base_on_project)&&{title:"\u90E8\u5206\u63D0\u4EA4",align:"center",dataIndex:"partial_submission"},{title:"\u6309\u65F6\u63D0\u4EA4",align:"center",dataIndex:"submitted_num"},{title:"\u5EF6\u65F6\u63D0\u4EA4",align:"center",dataIndex:"delayed_num"}].filter(ie=>!!ie)})),!!gt.length&&R.createElement(F.default,{className:`mb10 ${J.tableWrapper}`,dataSource:gt,columns:Le,pagination:!1,showHeader:!1,loading:!1}),R.createElement("aside",{style:{paddingBottom:30}},R.createElement(F.default,{loading:w["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(ie,Pe)=>ie!=null&&ie.searched?J.tables1:(ie==null?void 0:ie.item_index)%2===0&&J.tables,className:J.tableWrapper,hideOnSinglePage:!0,pagination:!1,dataSource:zt,columns:he,scroll:(m==null?void 0:m.base_on_project)&&{x:1220},onChange:(ie,Pe,Dt)=>{if(Dt.order===void 0)switch(Dt.field){case"student_id":ke("descend"),ee.b_order="desc",ee.order=Dt.field;break;default:delete ee.b_order,delete ee.order}else ee.b_order=Dt.order.replace("end",""),ee.order=Dt.field;ve({type:"shixunHomeworks/getWorkList",payload:xt({},ee)})}})),R.createElement(K.Z,{showSizeChanger:!0,showQuickJumper:!0,style:{paddingBottom:30},onChange:hn,defaultCurrent:parseInt(ee.page)||1,current:parseInt(ee.page)||1,defaultPageSize:20,total:I.workList.work_count})))),R.createElement(Z,null),gn&&R.createElement(P.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:gn,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>At(void 0,null,function*(){if(wt===2){if(lt.length<=0){_.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!dn){_.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,status:lt}});ie.status===0&&(Vt(ie),Fn(!1),Re(!0))}else{if(!(Jt===0||en===0)){if(!Jt){_.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!en){_.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Jt>en){_.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!dn){_.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ie=yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,min_score:Jt,max_score:en}});ie.status===0&&(Vt(ie),Fn(!1),Re(!0))}}),onCancel:()=>{Fn(!1),qe()}},R.createElement("div",{style:{padding:"32px"}},R.createElement("div",null,R.createElement("div",null,R.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),R.createElement(k.ZP.Group,{value:wt,onChange:ie=>{Ht(ie.target.value)}},R.createElement(k.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),R.createElement(k.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),wt===1&&R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"70px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),R.createElement(te.Z,{min:0,max:100,value:Jt,onChange:ie=>Ut(ie),style:{width:"100px"}}),R.createElement("span",{style:{width:"80px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),R.createElement(te.Z,{min:0,max:100,value:en,onChange:ie=>Tt(ie),style:{width:"100px"}})),wt===2&&R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),R.createElement(O.default.Group,{onChange:ie=>{Mt([...ie])},style:{width:"100%"}},(Ze=m.task_status)==null?void 0:Ze.map((ie,Pe)=>R.createElement(O.default,{name:"task_status",value:ie.id},ie.name,"(",ie.count,")")))),R.createElement("div",{style:{display:"flex",marginTop:"20px"}},R.createElement("span",{style:{width:"70px",textAlign:"end"}},R.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),R.createElement(L.Z,{className:J.MdEditor,onChange:ie=>On(ie),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Zt&&R.createElement(P.default,{open:Zt,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>At(void 0,null,function*(){wt===2?(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,status:lt}})).status===0&&(_.ZP.info("\u6253\u56DE\u6210\u529F"),qe(),rn(),Re(!1)):(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:ee.categoryId,comment:dn,min_score:Jt,max_score:en}})).status===0&&(_.ZP.info("\u6253\u56DE\u6210\u529F"),qe(),rn(),Re(!1))}),onCancel:()=>{qe(),Re(!1)}},R.createElement("div",{style:{padding:"32px"}},wt===1&&R.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Jt,"-",en,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),wt===2&&R.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((ye=m.task_status)==null?void 0:ye.filter(ie=>lt==null?void 0:lt.includes(ie.id)).map(ie=>ie.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),R.createElement("br",null),R.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Me==null?void 0:Me.count,"\u540D\u5B66\u751F"))),R.createElement(P.default,{title:"\u8C03\u6574\u5206\u7EC4",centered:!0,destroyOnClose:!0,open:Pn,onOk:()=>At(void 0,null,function*(){Xn.submit()}),onCancel:()=>{Bt(!1)}},R.createElement(f.default,{form:Xn,initialValues:{},labelCol:{span:4},onFinish:ie=>At(void 0,null,function*(){if(!ie.user_id){_.ZP.warning("\u8BFE\u5802\u91CC\u6682\u65E0\u6B64\u5B66\u751F");return}if(!ie.group_id){_.ZP.warning("\u8BFE\u5802\u91CC\u6682\u65E0\u6B64\u5206\u7EC4");return}(yield(0,S.ZP)(`/api/homework_commons/${ee.categoryId}/adjust_group.json`,{method:"post",body:ie})).status==0&&(_.ZP.success("\u8C03\u6574\u6210\u529F"),Xn.resetFields(),Bt(!1),yield rn())})},R.createElement(f.default.Item,{name:"user_id",label:"\u5B66\u751F\u59D3\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D"}]},R.createElement(H.default,{showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D",filterOption:(ie,Pe)=>{var Dt;return((Dt=Pe==null?void 0:Pe.label)!=null?Dt:"").toLowerCase().includes(ie.toLowerCase())},options:(Ue=uu==null?void 0:uu.userAll)==null?void 0:Ue.map(ie=>({value:ie.user_id,label:ie.name}))})),R.createElement(f.default.Item,{name:"group_id",label:"\u8C03\u6574\u81F3",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0"}]},R.createElement(H.default,{showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0",filterOption:(ie,Pe)=>{var Dt;return((Dt=Pe==null?void 0:Pe.label)!=null?Dt:"").toLowerCase().includes(ie.toLowerCase())},options:(vt=uu==null?void 0:uu.groupAll)==null?void 0:vt.map(ie=>({value:ie.group_id,label:`\uFF08${ie.group_name}\uFF09`+(ie==null?void 0:ie.name_list)}))})))),R.createElement(P.default,{title:R.createElement("span",null,"\u8D44\u6E90\u63A8\u8350",R.createElement("span",{className:"font14 c-black-333"},"\uFF08\u4F53\u9A8C\u7248\uFF09")),destroyOnClose:!0,open:mn,footer:null,onCancel:()=>{Fe(!1)},width:700},R.createElement("div",null,"\u6839\u636E\u4F60\u6240\u5728\u7684\u5206\u7EC4\u53CA\u5B66\u4E60\u60C5\u51B5\uFF0C\u4E3A\u4F60\u63A8\u8350\u6700\u4F73\u7684\u5B66\u4E60\u8D44\u6E90",R.createElement("b",null,"\u987A\u5E8F"),"\u5982\u4E0B\uFF1A"),(Ee=m==null?void 0:m.course_recommends)==null?void 0:Ee.map((ie,Pe)=>R.createElement(v.Z,{key:Pe,align:"middle",justify:"space-between"},R.createElement(v.Z,{style:{width:525},align:"middle",wrap:!1},R.createElement("div",{className:J.Onerow,style:{display:"inline-block"}},Pe+1,"\u3001",ie.name),ie.type=="\u5916\u94FE"&&R.createElement("div",{className:"ml5",style:{display:"inline-block",whiteSpace:"nowrap",padding:"0px 10px",borderRadius:"10px",color:"#fff",background:"#1890ff"}},"\u5916\u94FE")),R.createElement(o.Z,null,R.createElement(we.op,{type:"link",onClick:()=>{window.open(ie==null?void 0:ie.url)}},"\u67E5\u770B"),ie.type!="\u5916\u94FE"&&R.createElement(we.op,{openLoading:!0,type:"link",onClick:()=>At(void 0,null,function*(){(0,d.FH)("",`${ie==null?void 0:ie.url}`)})},"\u4E0B\u8F7D"))))),R.createElement(c.Z,{getData:()=>rn()}),R.createElement(fe.Z,{visible:Be,getData:rn,categoryId:ee.categoryId,onCancle:()=>{Qt(!1)}}))};var Sn=(0,X.connect)(({shixunHomeworks:I,classroomList:b,globalSetting:w,loading:de})=>({shixunHomeworks:I,classroomList:b,loading:de.effects,globalSetting:w}))(An),fn=s(3294),Nn=s(85149),yn=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,qn=(I,b,w)=>b in I?yn(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,jn=(I,b)=>{for(var w in b||(b={}))Rn.call(b,w)&&qn(I,w,b[w]);if(Bn)for(var w of Bn(b))$n.call(b,w)&&qn(I,w,b[w]);return I},Yn=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const eu=({shixunHomeworks:I,dispatch:b})=>{const w=(0,X.useParams)();return n.createElement(P.default,{centered:!0,title:"\u63D0\u793A",open:I.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Yn(void 0,null,function*(){(yield b({type:"shixunHomeworks/deleteReply",payload:{object_id:I.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(_.ZP.success("\u5220\u9664\u6210\u529F"),b({type:"shixunHomeworks/setActionTabs",payload:{}}),b({type:"shixunHomeworks/getReplyList",payload:jn({},I.actionTabs.params)}))}),onCancel:()=>{b({type:"shixunHomeworks/setActionTabs",payload:{}})}},n.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var Kn=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(eu),tu=s(23765),wn=s(71418),au=s(26227),ru=s(63524),Tn={flex_box_center:"flex_box_center___CUQTA",flex_space_between:"flex_space_between___VY1nG",flex_box_vertical_center:"flex_box_vertical_center___XJiqA",flex_box_center_end:"flex_box_center_end___w4A8Z",flex_box_column:"flex_box_column___WAD8k",top:"top___wjvbq",desc:"desc___dEt4i",liked:"liked___HcN9D",likedActive:"likedActive___VhZeS",reply:"reply___DaEgJ",replyList:"replyList___ZYtQu",comment:"comment___PfBmX",headpic:"headpic___ne811"},rt=s(59301),Je=Object.defineProperty,Ve=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,St=(I,b,w)=>b in I?Je(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,kt=(I,b)=>{for(var w in b||(b={}))$e.call(b,w)&&St(I,w,b[w]);if(Ve)for(var w of Ve(b))ut.call(b,w)&&St(I,w,b[w]);return I},ct=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});M().locale("ZH-cn");const It=({shixunHomeworks:I,classroomList:b,globalSetting:w,loading:de,user:ve,dispatch:xe})=>{var Oe,be,re;const[me,et]=(0,n.useState)(kt({},(0,X.useParams)())),[tt,Ne]=(0,n.useState)(!1),[le,_e]=(0,n.useState)(-1),[Ze,ye]=(0,n.useState)(""),[Ue,vt]=(0,n.useState)(""),{workList:Ee}=I,{detailLeftMenus:pt}=b,{shixunHomeworksDetail:ee,replyList:je,workDetail:_t}=I;return me.page_size=10,(0,n.useEffect)(()=>{xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)}),xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},me)}),pt.course_modules||xe({type:"classroomList/getClassroomLeftMenus",payload:kt({},me)})},[me.categoryId]),rt.createElement("section",{className:Tn.bg},rt.createElement(wn.Z,{spinning:de["shixunHomeworks/getWorkDetail"]},rt.createElement("section",{className:""},rt.createElement("aside",{className:[Tn.desc,"c-black","font14","bg-white"].join(" ")},I.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&rt.createElement(Nn.Z,{value:(_t==null?void 0:_t.description)||"\u6682\u65E0\uFF5E"}),"\u5206\u7EC4\u8981\u6C42\uFF1A",(Oe=_t==null?void 0:_t.group_info)==null?void 0:Oe.min_num," ~ ",(be=_t==null?void 0:_t.group_info)==null?void 0:be.max_num,"\u4EBA ",rt.createElement("span",{className:"c-light-black"},"\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"),rt.createElement("br",null),"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD\uFF1A",(re=_t==null?void 0:_t.group_info)!=null&&re.base_on_project?"\u662F":"\u5426",rt.createElement("span",{className:"c-light-black"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09"),rt.createElement(tu.Z,{authority:(0,r.GJ)(),showDimensions:!1,dataSource:_t==null?void 0:_t.attachments,callback:()=>{xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},me)})}}),I.actionTabs.key==="\u7F16\u8F91\u4F5C\u4E1A"&&rt.createElement("aside",{className:["bg-white"].join(" ")},rt.createElement(L.Z,{onChange:m=>{ye(m)},defaultValue:_t==null?void 0:_t.explanation,height:200,isFocus:!0,watch:!0}),rt.createElement(v.Z,null,rt.createElement(o.Z,{span:24,className:"tr"},rt.createElement(U.ZP,{type:"default",size:"large",onClick:()=>ct(void 0,null,function*(){xe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})})},"\u53D6\u6D88"),rt.createElement(U.ZP,{type:"primary",size:"large",className:"ml20",onClick:()=>ct(void 0,null,function*(){Ze===""?_.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/updateWork",payload:{explanation:Ze,categoryId:me.categoryId}})).status===0&&(_.ZP.success("\u64CD\u4F5C\u6210\u529F"),xe({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),xe({type:"shixunHomeworks/getWorkDetail",payload:kt({},me)}))})},"\u4FDD\u5B58"))))),rt.createElement("aside",{className:[Tn.reply,"bg-white","mt20"].join(" ")},tt&&rt.createElement(L.Z,{onChange:m=>{ye(m)},height:200,isFocus:!0,watch:!0}),rt.createElement(v.Z,{onClick:()=>{Ne(!0)}},rt.createElement(o.Z,{flex:"1",style:{pointerEvents:"none"}},!tt&&rt.createElement(A.default,{size:"large",className:"current",placeholder:"\u8BF4\u70B9\u4EC0\u4E48",disabled:!0})),rt.createElement(o.Z,null,rt.createElement(U.ZP,{type:"primary",size:"large",onClick:()=>ct(void 0,null,function*(){var m;if((0,r.Rm)()&&!((m=b.AssistantObject.practice)!=null&&m.can_create)){_.ZP.warn("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ze===""?_.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:me.categoryId,jour_type:"HomeworkCommon",reply_id:1,notes:Ze}}})).status===0&&(_.ZP.success("\u53D1\u5E03\u6210\u529F"),xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)}),Ne(!1),ye(""))})},"\u53D1\u8868")))),(je==null?void 0:je.comments)&&je.comments!=""&&rt.createElement("aside",{className:[Tn.replyList,"bg-white"].join(" ")},je==null?void 0:je.comments.map(function(m,pe){var ot,$t,ke,mt;return rt.createElement(v.Z,{gutter:[12,12],key:pe},rt.createElement(o.Z,{flex:"40px"},rt.createElement("img",{className:Tn.headpic,width:"40",src:`${fn.Z.IMG_SERVER}/images/${(ot=m==null?void 0:m.author)==null?void 0:ot.image_url}`})),rt.createElement(o.Z,{flex:"1"},rt.createElement(v.Z,{align:"middle"},rt.createElement(o.Z,{span:20},rt.createElement("span",{className:"c-light-black"},($t=m==null?void 0:m.author)==null?void 0:$t.name),rt.createElement("span",{className:"c-light-black ml10"},m==null?void 0:m.time," \u53D1\u5E03")),rt.createElement(o.Z,{className:"tr",span:4},rt.createElement("div",{className:"tr"},((0,r.GJ)()||((ke=ve==null?void 0:ve.userInfo)==null?void 0:ke.login)===((mt=m==null?void 0:m.author)==null?void 0:mt.login))&&rt.createElement(C.Z,{title:"\u5220\u9664"},rt.createElement(au.Z,{className:"current",onClick:()=>{xe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:me,selectArr:m}})}})))),rt.createElement(o.Z,{span:24},rt.createElement(Nn.Z,{value:m.content})),m.children&&rt.createElement("aside",{className:Tn.comment},m.children.map(function(st,tn){var Lt,zt;return rt.createElement(v.Z,{key:tn},rt.createElement(o.Z,{span:24},rt.createElement(v.Z,null,rt.createElement(o.Z,{flex:"1"},st.author.name,rt.createElement("span",{className:"c-light-black ml10"},st==null?void 0:st.time)),rt.createElement(o.Z,null,((0,r.GJ)()||((Lt=ve==null?void 0:ve.userInfo)==null?void 0:Lt.login)===((zt=st==null?void 0:st.author)==null?void 0:zt.login))&&rt.createElement(C.Z,{title:"\u5220\u9664"},rt.createElement(au.Z,{className:"current",onClick:()=>{xe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5220\u9664",params:me,selectArr:st}})}}))))),rt.createElement(o.Z,null,rt.createElement(Nn.Z,{value:st.content})))})),rt.createElement(o.Z,{span:24,className:"mt5 c-light-black"},le===pe&&rt.createElement("aside",null,rt.createElement(L.Z,{onChange:st=>{vt(st)},height:150,isFocus:!0}),rt.createElement(v.Z,null,rt.createElement(o.Z,{span:24,className:"tr"},rt.createElement(U.ZP,{type:"primary",size:"large",onClick:()=>ct(this,null,function*(){Ue===""?_.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9"):(yield xe({type:"shixunHomeworks/createReply",payload:{journals_for_message:{jour_id:me.categoryId,jour_type:"HomeworkCommon",m_parent_id:m.id,reply_id:1,notes:Ue}}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)}),_.ZP.success("\u53D1\u5E03\u6210\u529F"),_e(-1))})},"\u53D1\u8868")))),le!==pe&&rt.createElement("div",{className:"tr"},rt.createElement("span",{className:"iconfont icon-huifu1 mr5 ml30",onClick:()=>_e(pe)}),!!m.user_praise&&rt.createElement("span",{className:"c-orange"},rt.createElement(ru.Z,{className:"mr5 ml30",onClick:()=>ct(this,null,function*(){yield xe({type:"shixunHomeworks/replyUnLike",payload:{object_id:m.id,object_type:"journals_for_message"}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)})})}),!!m.praise_count&&m.praise_count),!m.user_praise&&rt.createElement("span",null,rt.createElement(ru.Z,{className:"mr5 ml30",onClick:()=>ct(this,null,function*(){yield xe({type:"shixunHomeworks/replyLike",payload:{object_id:m.id,object_type:"journals_for_message"}}),xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)})})}),!!m.praise_count&&m.praise_count))))))})))),rt.createElement("aside",{className:"tc mt30 pb30"},rt.createElement(K.Z,{defaultCurrent:1,total:je==null?void 0:je.total_count,hideOnSinglePage:!0,current:me.page||1,onChange:m=>{me.page=m,xe({type:"shixunHomeworks/getReplyList",payload:kt({},me)})}})),rt.createElement(Kn,null))};var ft=(0,X.connect)(({shixunHomeworks:I,classroomList:b,user:w,loading:de,globalSetting:ve})=>({shixunHomeworks:I,globalSetting:ve,user:w,classroomList:b,loading:de.effects}))(It),Gt=Object.defineProperty,Nt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,_n=(I,b,w)=>b in I?Gt(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Wt=(I,b)=>{for(var w in b||(b={}))dt.call(b,w)&&_n(I,w,b[w]);if(Nt)for(var w of Nt(b))vn.call(b,w)&&_n(I,w,b[w]);return I};M().locale("ZH-cn");const sn=({shixunHomeworks:I,classroomList:b,globalSetting:w,loading:de,dispatch:ve})=>{var xe;const Oe=(0,X.useParams)(),{detailLeftMenus:be}=b,{replyList:re,referenceAnswer:me}=I;return Oe.page_size=10,(0,n.useEffect)(()=>{ve({type:"shixunHomeworks/getReplyList",payload:Wt({},Oe)}),ve({type:"shixunHomeworks/getReferenceAnswer",payload:{coursesId:Oe.categoryId}}),be.course_modules||ve({type:"classroomList/getClassroomLeftMenus",payload:Wt({},Oe)})},[Oe.categoryId]),n.createElement("section",{className:"pb30 pl30 pr30 pt30 bg-white"},n.createElement("aside",{className:["c-black","font14"].join(" ")},I.actionTabs.key!=="\u7F16\u8F91\u4F5C\u4E1A"&&n.createElement("div",null,(me==null?void 0:me.reference_answer)&&n.createElement(Nn.Z,{value:me==null?void 0:me.reference_answer}),!(me!=null&&me.reference_answer)&&n.createElement(ue.Z,null)),(xe=me==null?void 0:me.attachments)==null?void 0:xe.map((et,tt)=>n.createElement("div",null,n.createElement("a",{href:`${fn.Z.API_SERVER}${et.url}`},n.createElement("span",{className:"iconfont icon-fujian c-green font14"}),n.createElement("span",{className:"ml10 c-black"},et.title),n.createElement("span",{className:"c-light-black ml20 font12"},et.filesize))))))};var cn=(0,X.connect)(({shixunHomeworks:I,classroomList:b,loading:w,globalSetting:de})=>({shixunHomeworks:I,globalSetting:de,classroomList:b,loading:w.effects}))(sn),Vn=s(95036),du={modal:"modal___lF39e"},xn=s(59301),Gu=Object.defineProperty,Au=Object.defineProperties,Tu=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,Lu=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,vu=(I,b,w)=>b in I?Gu(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,wu=(I,b)=>{for(var w in b||(b={}))Lu.call(b,w)&&vu(I,w,b[w]);if(yu)for(var w of yu(b))Gn.call(b,w)&&vu(I,w,b[w]);return I},Bu=(I,b)=>Au(I,Tu(b)),Mu=(I,b)=>{var w={};for(var de in I)Lu.call(I,de)&&b.indexOf(de)<0&&(w[de]=I[de]);if(I!=null&&yu)for(var de of yu(I))b.indexOf(de)<0&&Gn.call(I,de)&&(w[de]=I[de]);return w},bu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const zu=I=>{var b=I,{classroomList:w,shixunHomeworks:de,dispatch:ve,cb:xe}=b,Oe=Mu(b,["classroomList","shixunHomeworks","dispatch","cb"]),be,re,me,et,tt;const Ne=(0,X.useParams)(),[le,_e]=(0,n.useState)(""),[Ze,ye]=(0,n.useState)([]),[Ue,vt]=(0,n.useState)({learn:0,active:0,score:0,chat:0});console.log(de,"classroomList");const{workList:Ee}=de;(0,n.useEffect)(()=>{w.actionTabs.key},[w.actionTabs]);const pt=()=>bu(void 0,null,function*(){if(!le){_.ZP.warning("\u6BCF\u4E2A\u5C0F\u7EC4\u5B66\u751F\u4EBA\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}ve({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u884C\u667A\u80FD\u5206\u7EC4\uFF0C\u8BF7\u7A0D\u540E..."}});let ee=yield(0,S.ZP)(`/api/homework_commons/${Ne.categoryId}/ai_bulk_create.json`,{method:"post",body:Bu(wu({min:1,max:le,course_id:Ne.coursesId},Ue),{course_group_ids:Ze})});(ee==null?void 0:ee.status)===0&&(_.ZP.info("\u667A\u80FD\u5206\u7EC4\u6210\u529F"),ve({type:"classroomList/setActionTabs",payload:{}}),xe()),ve({type:"globalSetting/setGlobalLoading",payload:{show:!1}})});return xn.createElement(P.default,{width:584,className:du.modal,zIndex:3,centered:!0,destroyOnClose:!0,afterClose:()=>{ye([]),_e(""),vt({learn:0,active:0,score:0,chat:0})},title:"\u667A\u80FD\u5206\u7EC4",onOk:pt,open:w.actionTabs.key==="\u667A\u80FD\u5206\u7EC4",onCancel:()=>{ve({type:"classroomList/setActionTabs",payload:{}})}},xn.createElement("p",{style:{display:"flex",alignItems:"center"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10,alignItems:"center"}},"\u6BCF\u4E2A\u5C0F\u7EC4\u5B66\u751F\u4EBA\u6570\uFF1A"),xn.createElement(te.Z,{style:{width:100},min:(be=Ee==null?void 0:Ee.group_data)==null?void 0:be.min_num,max:(re=Ee==null?void 0:Ee.group_data)==null?void 0:re.max_num,precision:0,step:1,value:le,onChange:ee=>{_e(ee)}}),xn.createElement("span",{style:{marginLeft:10,color:"#a6a6a6"}},"\u6BCF\u7EC4\u6210\u5458\u4EBA\u6570\u8303\u56F4\u4E3A",(me=Ee==null?void 0:Ee.group_data)==null?void 0:me.min_num,"~",(et=Ee==null?void 0:Ee.group_data)==null?void 0:et.max_num,"\u4EBA")),xn.createElement("p",{style:{display:"flex"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10}},"\u5206\u73ED\uFF1A"),xn.createElement(O.default.Group,{value:Ze,onChange:ee=>{ye(ee)}},(tt=Ee==null?void 0:Ee.course_group_info)==null?void 0:tt.map(ee=>xn.createElement(O.default,{key:ee==null?void 0:ee.course_group_id,value:ee==null?void 0:ee.course_group_id},ee==null?void 0:ee.group_group_name)))),xn.createElement("div",{style:{display:"flex"}},xn.createElement("label",{style:{minWidth:80,display:"inline-flex",justifyContent:"end",marginRight:10}},"\u5206\u7EC4\u89C4\u5219\uFF1A"),xn.createElement(O.default.Group,{onChange:ee=>{vt({learn:ee.indexOf(1)>-1?1:0,active:ee.indexOf(2)>-1?1:0,score:ee.indexOf(3)>-1?1:0,chat:ee.indexOf(4)>-1?1:0})}},xn.createElement(O.default,{value:1},"\u5728\u7EBF\u65F6\u957F"),xn.createElement(O.default,{value:2},"\u53C2\u4E0E\u8BFE\u5802\u6570"),xn.createElement(O.default,{value:4},"\u4E92\u52A8\u6B21\u6570"),xn.createElement(O.default,{value:3},"\u5386\u53F2\u603B\u6210\u7EE9"))))};var xa=(0,X.connect)(({shixunHomeworks:I,classroomList:b})=>({shixunHomeworks:I,classroomList:b}))(zu),Da=s(12393),Zn={flex_box_center:"flex_box_center___eiaQ9",flex_space_between:"flex_space_between___fT_mk",flex_box_vertical_center:"flex_box_vertical_center___th1VG",flex_box_center_end:"flex_box_center_end___uybac",flex_box_column:"flex_box_column___TqJIG",form:"form___njbEi",efficiency:"efficiency___Oei2A",configworksContainer:"configworksContainer___Nq83Z",content:"content___I1fum",pubColSty:"pubColSty___mLLj7",selectSty:"selectSty___vHJsQ",borderSty:"borderSty___i4DxC",delSty:"delSty___sr6EA",delBorder:"delBorder___UTfgQ",copHover:"copHover___K6TsR",title_icon:"title_icon___WSWL7",title:"title___mviQ0"},Mn=s(59301),xu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Oa=({})=>{var I,b;const[w,de]=(0,n.useState)(!0),[ve,xe]=(0,n.useState)(!1),[Oe,be]=(0,n.useState)([]),[re,me]=(0,n.useState)([]),[et,tt]=(0,n.useState)([]),[Ne,le]=(0,n.useState)([]),[_e,Ze]=(0,n.useState)(""),ye=(0,X.useParams)();function Ue(){return xu(this,null,function*(){let pt=yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators.json`,{method:"get"});me(pt)})}function vt(){return xu(this,null,function*(){var pt;let ee=yield(0,S.ZP)(`/api/courses/${ye==null?void 0:ye.coursesId}/teachers`,{method:"get",params:{homework_id:ye.categoryId,limit:1e3}});(pt=ee==null?void 0:ee.teacher_list)==null||pt.map(je=>{je.key=je.user_id}),tt(ee==null?void 0:ee.teacher_list),le(ee==null?void 0:ee.teacher_list)})}(0,n.useEffect)(()=>{Ue(),vt()},[ye]);const Ee=()=>{};return Mn.createElement("section",{className:Zn.form},Mn.createElement(v.Z,{className:Zn.content,style:{padding:"20px 30px",gap:20}},(I=re==null?void 0:re.data)==null?void 0:I.map(pt=>Mn.createElement(v.Z,{align:"middle",className:`${Zn.borderSty} ${_e===(pt==null?void 0:pt.id)?Zn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},Mn.createElement("span",{className:"c-grey-333"},pt==null?void 0:pt.real_name),(re==null?void 0:re.can_edit)&&Mn.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${Zn.delSty}`,onMouseEnter:()=>{Ze(pt.id)},onMouseLeave:()=>{Ze("")},onClick:()=>xu(void 0,null,function*(){(yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:pt.id}})).status===0&&(_.ZP.info("\u5220\u9664\u6210\u529F"),Ue(),vt())})}))),(re==null?void 0:re.can_edit)&&Mn.createElement(U.ZP,{className:Zn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>xe(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005"),!(re!=null&&re.can_edit)&&!((b=re==null?void 0:re.data)!=null&&b.length)&&Mn.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005")),Mn.createElement(P.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:ve,onCancel:()=>xe(!1),onOk:()=>xu(void 0,null,function*(){if(Oe.length===0){_.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}(yield(0,S.ZP)(`/api/homework_commons/${ye.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Oe}})).status===0&&(_.ZP.info("\u6DFB\u52A0\u6210\u529F"),be([]),Ue(),vt(),xe(!1))})},Mn.createElement("div",null,Mn.createElement("div",{style:{display:"flex"}},Mn.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",Mn.createElement(A.default.Search,{onChange:pt=>{tt(Ne.filter(ee=>ee.name.indexOf(pt.target.value)>-1))}})),Mn.createElement(F.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(pt,ee)=>{be(pt)},selectedRowKeys:Oe,getCheckboxProps:pt=>({disabled:pt.is_collaborator})},pagination:!1,dataSource:et,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Pa=(0,X.connect)(({shixunHomeworks:I,loading:b})=>({shixunHomeworks:I,loading:b.effects}))(Oa),zn=s(5083),mu=s(78673),Ln=s(40731),Ju=s(50757),Jn=s(79834),Xe=s(918),Qe=s(59301),Sa=Object.defineProperty,ka=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,Qu=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,Xu=(I,b,w)=>b in I?Sa(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,lu=(I,b)=>{for(var w in b||(b={}))Na.call(b,w)&&Xu(I,w,b[w]);if(Qu)for(var w of Qu(b))Za.call(b,w)&&Xu(I,w,b[w]);return I},Du=(I,b)=>ka(I,Ia(b)),Ra=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const{RangePicker:ja}=zn.default,{Option:Hu}=H.default,Ta=({shixunHomeworks:I,classroomList:b,getData:w,dispatch:de})=>{var ve,xe,Oe,be,re,me,et,tt,Ne,le,_e,Ze,ye,Ue,vt;const{workSetting:Ee,workList:pt}=I,ee=(0,X.useParams)(),[je,_t]=(0,n.useState)(!0);let[m,pe]=(0,n.useState)([]),[ot,$t]=(0,n.useState)([]);const[ke,mt]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",is_group_grade:!1,ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",gr_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,submit_limit:!1,submit_limit_num:"",must_file:!1,can_submit:!1,submit_num:""}),[st,tn]=(0,n.useState)(!1);(0,n.useEffect)(()=>{Ee!=null&&Ee.course_id&&(Object.keys(ke).map(function(Re){Re.indexOf("proportion")>-1?ke[Re]=Ee[Re]*100:ke[Re]=Ee[Re]}),Ee.anonymous_comment&&(ke.unified_late=Ee.unified_anonymous_comment,tn(Ee.unified_anonymous_comment)),(!ke.allow_late||!ke.unified_late)&&(ke.late_penalty=5),ke.unified_setting||(ke.unified_late=!1,ke.unified_anonymous_comment=!1,ke.unified_anonymous_appeal=!1),m=JSON.parse(JSON.stringify(Ee.group_settings.map(Re=>Du(lu({},Re),{group_name:[Re.group_name]})).filter(Re=>Re.publish_time!==null))),ot=JSON.parse(JSON.stringify(Ee.allow_late_settings.map(Re=>Du(lu({},Re),{group_name:[Re.group_name]})).filter(Re=>Re.late_time!==null))),mt(lu({},ke)),pe(m.length?[...m]:[{}]),$t([...ot]))},[Ee]),(0,n.useEffect)(()=>{_t(!(0,r.GJ)())},[(0,r.GJ)()]);const[Lt,zt]=(0,n.useState)(!1),Yt=()=>Ra(void 0,null,function*(){zt(!Lt);const Re=JSON.parse(JSON.stringify(ke));if(Re.categoryId=ee.categoryId,ke.unified_setting||(m=m==null?void 0:m.map(Me=>{var Vt,wt;if(!Me.publish_time||!Me.end_time)throw _.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Me.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),zt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Me.group_name=typeof(Me==null?void 0:Me.group_name)=="string"?[Me==null?void 0:Me.group_name]:Me==null?void 0:Me.group_name,Me.group_id=(wt=(Vt=Me==null?void 0:Me.group_name)==null?void 0:Vt.map(Ht=>{var en,Tt;let Jt=(Tt=(en=Ee.group_settings)==null?void 0:en.filter(Ut=>(Ut==null?void 0:Ut.group_name)===Ht))==null?void 0:Tt[0];return Jt==null?void 0:Jt.group_id}))==null?void 0:wt.toString().split(","),Me})),Re.group_settings=m,ke.allow_late)if(ke.unified_late){if(ke.late_penalty===null||ke.late_penalty===void 0||ke.late_penalty<0||ke.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),zt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ke.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else ot=ot==null?void 0:ot.map(Me=>{var Vt,wt;if(Me.penalty_type=Ln.Q.Number,Me.late_penalty===null||Me.late_penalty===void 0||Me.late_penalty<0||Me.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),zt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Me.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Me.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),zt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Me.group_name=typeof(Me==null?void 0:Me.group_name)=="string"?[Me==null?void 0:Me.group_name]:Me==null?void 0:Me.group_name,Me.group_id=(wt=(Vt=Me==null?void 0:Me.group_name)==null?void 0:Vt.map(Ht=>{var en,Tt;let Jt=(Tt=(en=Ee.group_settings)==null?void 0:en.filter(Ut=>(Ut==null?void 0:Ut.group_name)===Ht))==null?void 0:Tt[0];return Jt==null?void 0:Jt.group_id}))==null?void 0:wt.toString().split(","),Me}),Re.allow_late_settings=ot;if(ke!=null&&ke.submit_limit&&!(ke!=null&&ke.submit_limit_num)){_.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1);return}if(ke!=null&&ke.can_submit&&!(ke!=null&&ke.submit_num)){_.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),zt(!1);return}Object.keys(Re).map(function(Me){Me.indexOf("proportion")>-1&&(Re[Me]=Re[Me]/100)}),de({type:"shixunHomeworks/updateSetting",payload:Du(lu({},Re),{penalty_type:Ln.Q.Number})}).then(Me=>{Me.status===0?(zt(!1),_.ZP.success("\u66F4\u65B0\u6210\u529F"),w()):zt(!1)})}),Un=(0,n.useMemo)(()=>(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.all_group_late),[Ee,pt]),Se=(Re,Me,Vt="group_id")=>{var wt;return Me?Me.find(Ht=>Ht[Vt]===Re):(wt=Ee==null?void 0:Ee.group_settings)==null?void 0:wt.find(Ht=>Ht.group_id[0]===Re)},gt=Re=>{var Me,Vt;const wt=Se(Re,Ee==null?void 0:Ee.allow_late_settings,"id"),Ht=Se(Re,Ee==null?void 0:Ee.anonymous_comment_settings),en=Se(Re);return(Ee==null?void 0:Ee.allow_late)&&wt&&M()(wt==null?void 0:wt.late_time)<=M()()||(Ee==null?void 0:Ee.anonymous_comment)&&Ht&&(Ht==null?void 0:Ht.evaluation_start)!==null||((Vt=(M()(en==null?void 0:en.end_time)<=M()()&&((Me=Ee==null?void 0:Ee.allow_late_settings)==null?void 0:Me.filter(Tt=>Tt.group_id.includes(Re))))[0])==null?void 0:Vt.late_time)!=null},Ye=Ee==null?void 0:Ee.anonymous_comment,gn=(ve=Ee==null?void 0:Ee.allow_late_settings)!=null&&ve.length?(xe=Ee==null?void 0:Ee.allow_late_settings)==null?void 0:xe.every(Re=>{if(Re.evaluation_start)return!0}):!1,Fn=(Ee==null?void 0:Ee.unified_late)&&(Ee==null?void 0:Ee.anonymous_comment),lt=Ee==null?void 0:Ee.anonymous_comment,Mt=Re=>{if(!Re)return!1;const Me=Se(Re,Ee==null?void 0:Ee.anonymous_comment_settings);return(Ee==null?void 0:Ee.anonymous_comment)&&Me&&(Me==null?void 0:Me.evaluation_start)!==null},Zt=Re=>{const Me=Se(Re,Ee==null?void 0:Ee.anonymous_comment_settings);return Me&&(Me==null?void 0:Me.evaluation_start)!==null};return Qe.createElement("div",{style:{padding:"30px 50px"}},Qe.createElement("div",{className:`${Xe.Z.title}`},Qe.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),Qe.createElement(C.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Xe.Z.title_icon}`}))),Qe.createElement("div",{className:Xe.Z.content},((Oe=Ee==null?void 0:Ee.group_settings)==null?void 0:Oe.length)>0?Qe.createElement(v.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(be=Xe.Z)==null?void 0:be.h_lh_40}`,align:"middle"},Qe.createElement(mu.Z,{checked:ke.unified_setting,disabled:je||!((re=Ee==null?void 0:Ee.homework_status)!=null&&re.includes("\u672A\u53D1\u5E03"))||(0,r.Rm)()&&!((et=(me=b.AssistantObject)==null?void 0:me.group)!=null&&et.can_publish)||!(Ee!=null&&Ee.manage_all_group),onChange:()=>{var Re;if(!((Re=Ee==null?void 0:Ee.homework_status)!=null&&Re.includes("\u672A\u53D1\u5E03"))){_.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(ke.unified_setting=!ke.unified_setting,ke.unified_setting||(ke.unified_late=!1),mt(Object.assign({},ke)),m==""){pe([{}]);return}ke.unified_setting&&(pe([]),$t([{late_penalty:5}]))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement("span",{style:{color:"#333"}},"(\u9009\u4E2D\u5219\u6240\u6709\u5206\u73ED\u4F7F\u7528\u76F8\u540C\u7684\u53D1\u5E03\u8BBE\u7F6E\uFF0C\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u53EF\u4FEE\u6539\uFF1B\u5426\u5219\u5404\u4E2A\u5206\u73ED\u5141\u8BB8\u5355\u72EC\u8BBE\u7F6E)")):null,ke.unified_setting&&Qe.createElement("div",{className:Xe.Z.row_sty,style:{padding:"5px 30px"}},Qe.createElement(v.Z,{align:"middle"},Qe.createElement(o.Z,{style:{color:"#666",marginRight:10}},"\u53D1\u5E03\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml5"},Qe.createElement(zn.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1,disabled:je||!((tt=Ee==null?void 0:Ee.homework_status)!=null&&tt.includes("\u672A\u53D1\u5E03")||(Ne=Ee==null?void 0:Ee.homework_status)!=null&&Ne.includes("\u672A\u5F00\u59CB"))||(0,r.Rm)()&&!((_e=(le=b.AssistantObject)==null?void 0:le.group)!=null&&_e.can_publish),value:ke.publish_time?M()(ke.publish_time):"",disabledDate:Re=>(0,Jn.Q8)(Re,Ee==null?void 0:Ee.course_end_date),disabledTime:Re=>(0,Jn.d0)(Re),onChange:(Re,Me)=>{ke.publish_time=Me,!ke.end_time&&ke.unified_setting&&(ke.end_time=M()(Re).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09")),Qe.createElement(v.Z,{align:"middle"},Qe.createElement(o.Z,{style:{marginLeft:40,color:" #666",marginRight:10}},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml5"},Qe.createElement(zn.default,{allowClear:!1,style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:gn||lt||(Ee==null?void 0:Ee.allow_late)&&(Ee==null?void 0:Ee.homework_status.includes("\u5DF2\u622A\u6B62"))||je||(Ee==null?void 0:Ee.allow_late)&&M()()>=M()(Ee==null?void 0:Ee.end_time)||(0,r.Rm)()&&!((ye=(Ze=b.AssistantObject)==null?void 0:Ze.group)!=null&&ye.can_publish),disabledDate:Re=>(0,Jn.Q8)(Re,Ee==null?void 0:Ee.course_end_date,ke.publish_time),disabledTime:Re=>(0,Jn.d0)(Re,ke.publish_time),value:ke.end_time?M()(ke.end_time):"",onChange:(Re,Me)=>{ke.end_time=Me,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))),!ke.unified_setting&&Qe.createElement(v.Z,null,m&&m.map(function(Re,Me){var Vt,wt,Ht,en;return Qe.createElement(v.Z,{key:Me},Qe.createElement(v.Z,{style:{padding:"5px 14px 5px 52px"}},Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u53D1\u5E03\u89C4\u5219",Me+1),Qe.createElement(o.Z,{flex:"auto",style:{maxWidth:350}},Qe.createElement(H.default,{disabled:je||((Vt=Ee==null?void 0:Ee.homework_status)!=null&&Vt.includes("\u672A\u53D1\u5E03")&&Re.id||M()(){var Jt,Ut;if((0,r.Rm)()&&!((Ut=(Jt=b.AssistantObject)==null?void 0:Jt.group)!=null&&Ut.can_publish)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}m[Me].group_name=Tt,m[Me].group_id=Re.group_id;const dn=(0,Ae.flattenDeep)(m.map(Pn=>Pn.group_name)),On=ot.map(Pn=>{let Bt=(Pn==null?void 0:Pn.group_name)||[];return Du(lu({},Pn),{group_name:(0,Ae.remove)(Bt,Xn=>dn.includes(Xn))})});$t(On),pe(m.slice())}},Ee.group_settings&&Ee.group_settings.map(function(Tt){if(!m.map(Jt=>Jt.group_name).toString().split(",").includes(String(Tt.group_name)))return Qe.createElement(Hu,{value:Tt.group_name,key:Tt.id},Tt.group_name)})))),Qe.createElement(o.Z,{style:{padding:"5px 0"}},Qe.createElement(ja,{style:{width:620},size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Re.publish_time?M()(Re.publish_time):M()(),M()()]},disabled:je||(M()()<=M()((wt=Se(Re.id))==null?void 0:wt.publish_time)?!1:[!0,gt(Re.id)]),placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],disabledDate:Tt=>(0,Jn.Q8)(Tt,Ee==null?void 0:Ee.course_end_date),disabledTime:Tt=>(0,Jn.d0)(Tt),showTime:{format:"HH:mm",defaultValue:[M()((0,d.U6)(),"HH:mm"),M()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Re.publish_time&&[M()(Re.publish_time),M()(Re.end_time)],onChange:(Tt,Jt)=>{var Ut,dn;if((0,r.Rm)()&&!((dn=(Ut=b.AssistantObject)==null?void 0:Ut.group)!=null&&dn.can_publish)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}m[Me].publish_time=Jt[0],m[Me].end_time=Jt[1],pe([...m])}})),!je&&Qe.createElement(o.Z,{className:`${(Ht=Xe.Z)==null?void 0:Ht.h_lh_40}`,style:{padding:"5px 0"}},m.length<((en=Ee==null?void 0:Ee.group_settings)==null?void 0:en.length)&&Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{pe(m.concat({}))}}),(Re!=null&&Re.publish_time&&M()(){var Tt,Jt;if((0,r.Rm)()&&!((Jt=(Tt=b.AssistantObject)==null?void 0:Tt.normal)!=null&&Jt.can_publish)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ut=(0,Ae.cloneDeep)(ot);Ut.forEach((dn,On)=>{dn.group_name&&(dn.group_name=dn.group_name.filter(Pn=>{var Bt;return!((Bt=m[Me].group_name)!=null&&Bt.includes(Pn))}))}),m=m.filter((dn,On)=>Me!==On),$t(Ut),pe(m.slice()),setTimeout(()=>pe(m.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))}))),Qe.createElement(Ju.ZP,{checkMarginLeft:60,className:"mb20",disabled:je,value:ke,onChange:Re=>mt(lu(lu({},ke),Re))}),Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{className:`${Xe.Z.title} mt30`},Qe.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),Qe.createElement("div",{className:Xe.Z.content},Qe.createElement(v.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(Ue=Xe.Z)==null?void 0:Ue.h_lh_40}`,align:"middle"},Qe.createElement(mu.Z,{checked:ke.allow_late,disabled:gn||je||(Ee==null?void 0:Ee.allow_late),onChange:Re=>{var Me;if((0,r.Rm)()&&!((Me=b.AssistantObject.group)!=null&&Me.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Re&&P.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:Qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Qe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Qe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),ke.allow_late=!ke.allow_late,ot==""&&$t([{late_penalty:5}]),mt(Object.assign({},ke))}}),Qe.createElement("span",{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),Qe.createElement(C.Z,{overlayStyle:{width:380,maxWidth:380},title:Qe.createElement("div",{style:{display:"flex",flexFlow:"column"}},Qe.createElement("span",null,"\u8865\u4EA4\u89C4\u5219\u8BF4\u660E"),Qe.createElement("span",null,"\u5F00\u542F\u8865\u4EA4\uFF0C\u5B66\u751F\u53EA\u5728\u8865\u4EA4\u65F6\u95F4\u5185\u624D\u901A\u5173\u5219\u6263\u9664\u5206\u503C\uFF0C\u672A\u901A\u5173\u4E0D\u6263\u5206\uFF1B"),Qe.createElement("span",null,"\u5B66\u751F\u5728\u6B63\u5E38\u4F5C\u4E1A\u89C4\u5B9A\u65F6\u95F4\u5185\u901A\u5173\uFF0C\u5728\u8865\u4EA4\u9636\u6BB5\u518D\u6B21\u901A\u5173\u4E0D\u6263\u5206\u3002"))},Qe.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Xe.Z.title_icon}`}))),(ke==null?void 0:ke.allow_late)&&Qe.createElement("div",{className:"pb5"},Qe.createElement(v.Z,{className:Xe.Z.row_sty1},Qe.createElement(o.Z,{className:Xe.Z.lable_name,style:{marginRight:20}},"\u8865\u4EA4\u65B9\u5F0F"),Qe.createElement(k.ZP.Group,{style:{display:"flex",alignItems:"center"},disabled:je,value:ke.unified_late,onChange:Re=>{var Me;if((0,r.Rm)()&&!((Me=b.AssistantObject.group)!=null&&Me.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.unified_late=Re.target.value,ot==""&&!Re.target.value&&$t([{late_penalty:5}]),mt(lu({},ke))}},(ke==null?void 0:ke.unified_setting)&&Qe.createElement(k.ZP,{disabled:(Ee==null?void 0:Ee.allow_late)||!(Ee!=null&&Ee.manage_all_group),value:!0}," \u7EDF\u4E00\u8865\u4EA4 "),((vt=Ee==null?void 0:Ee.group_settings)==null?void 0:vt.length)&&Qe.createElement(k.ZP,{disabled:Ee==null?void 0:Ee.allow_late,value:!1}," \u5206\u73ED\u8865\u4EA4 "))),ke!=null&&ke.unified_late?Qe.createElement("div",null,Qe.createElement(v.Z,{wrap:!1,align:"middle",className:`${Xe.Z.row_sty1} mb10 mt5`},Qe.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(te.Z,{disabled:je||Ye,size:"large",addonAfter:"\u5206",style:{width:206},min:0,value:ke.late_penalty,onChange:Re=>{var Me;if((0,r.Rm)()&&!((Me=b.AssistantObject.group)!=null&&Me.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.late_penalty=Re,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),Qe.createElement(v.Z,{className:`${Xe.Z.row_sty1}`},Qe.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},Qe.createElement(zn.default,{allowClear:!1,size:"large",style:{width:280},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:je||Fn||gn,value:ke.late_time?M()(ke.late_time):"",disabledDate:Re=>(0,Jn.Q8)(Re,Ee==null?void 0:Ee.course_end_date),disabledTime:Re=>(0,Jn.d0)(Re),onChange:(Re,Me)=>{var Vt;if((0,r.Rm)()&&!((Vt=b.AssistantObject.group)!=null&&Vt.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ke.late_time=Me,mt(Object.assign({},ke))}})),Qe.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):ot.map(function(Re,Me){var Vt;return Qe.createElement(v.Z,{key:Me,style:{padding:"5px 14px 5px 52px"}},Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u89C4\u5219",Me+1),Qe.createElement(o.Z,{className:"mr20 ml10"},Qe.createElement(H.default,{size:"large",disabled:je||!((Vt=pt==null?void 0:pt.homework_status)!=null&&Vt.includes("\u672A\u53D1\u5E03"))&&Re.id,mode:"multiple",style:{width:250},value:typeof Re.group_name=="string"?[Re.group_name]:Re.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:wt=>{var Ht;if((0,r.Rm)()&&!((Ht=b.AssistantObject.normal)!=null&&Ht.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].group_name=wt,ot[Me].group_id=Re.group_id,$t(ot.slice())}},Ee.group_settings&&Ee.group_settings.map(function(wt){if(ke!=null&&ke.unified_setting&&!ot.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!Zt(wt.id))return Qe.createElement(Hu,{value:wt.group_name,key:wt.id},wt.group_name);if(m.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!ot.map(Ht=>Ht.group_name).toString().split(",").includes(String(wt.group_name))&&!Zt(wt.id))return Qe.createElement(Hu,{value:wt.group_name,key:wt.id},wt.group_name)}))),Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(o.Z,{className:"mr20 ml10"},Qe.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:150},min:0,max:100,disabled:je||Mt(Re.id),defaultValue:Re.late_penalty,onChange:wt=>{var Ht,en;if((0,r.Rm)()&&!((en=(Ht=b.AssistantObject)==null?void 0:Ht.normal)!=null&&en.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].late_penalty=wt,ot[Me].penalty_type=Ln.Q.Number}})),Qe.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(o.Z,{className:"ml10"},Qe.createElement(zn.default,{size:"large",disabled:je||Mt(Re.id),style:{width:250},showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:wt=>(0,Jn.Q8)(wt,Ee==null?void 0:Ee.course_end_date),disabledTime:wt=>(0,Jn.d0)(wt),format:"YYYY-MM-DD HH:mm",value:Re!=null&&Re.late_time?M()(Re.late_time):void 0,onChange:(wt,Ht)=>{var en,Tt;if((0,r.Rm)()&&!((Tt=(en=b.AssistantObject)==null?void 0:en.normal)!=null&&Tt.can_late)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ot[Me].late_time=Ht,$t([...ot])}})),!je&&Qe.createElement(o.Z,{style:{height:40,lineHeight:"40px"}},Qe.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{$t(ot.concat({penalty_type:Ln.Q.Number,late_penalty:5}))}}),Me>0&&!Re.id?Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{ot=ot.filter((wt,Ht)=>Me!==Ht),$t(ot.slice()),setTimeout(()=>$t(ot.slice()),10)}}):Qe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))})))),Qe.createElement(U.ZP,{loading:Lt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Yt()},"\u4FDD\u5B58"))};var La=(0,X.connect)(({shixunHomeworks:I,classroomList:b})=>({shixunHomeworks:I,classroomList:b}))(Ta),jt=s(59301),Ma=Object.defineProperty,za=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,$u=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,qu=(I,b,w)=>b in I?Ma(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,fu=(I,b)=>{for(var w in b||(b={}))Wa.call(b,w)&&qu(I,w,b[w]);if($u)for(var w of $u(b))Ua.call(b,w)&&qu(I,w,b[w]);return I},Wu=(I,b)=>za(I,Ha(b)),ea=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Ya=({shixunHomeworks:I,getData:b,dispatch:w})=>{const{workSetting:de}=I,ve=(0,X.useParams)(),[xe,Oe]=(0,n.useState)(!0);let[be,re]=(0,n.useState)([]),[me,et]=(0,n.useState)([]);const[tt,Ne]=(0,n.useState)(!1),[le,_e]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",is_group_grade:!1,ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",gr_proportion:"",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0});(0,n.useEffect)(()=>{Oe(!(0,r.GJ)())},[(0,r.GJ)()]),(0,n.useEffect)(()=>{de!=null&&de.course_id&&(Object.keys(le).map(function(ye){ye.indexOf("proportion")>-1?(le[ye]=(de[ye]*100).toFixed(0),console.log(ye,le[ye],de[ye])):le[ye]=de[ye]}),(!le.allow_late||!le.unified_late)&&(le.late_penalty=5),le.unified_setting||(le.unified_late=!1,le.unified_anonymous_comment=!1,le.unified_anonymous_appeal=!1),be=JSON.parse(JSON.stringify(de.group_settings.map(ye=>Wu(fu({},ye),{group_name:[ye.group_name]})).filter(ye=>ye.publish_time!==null))),me=JSON.parse(JSON.stringify(de.allow_late_settings.map(ye=>Wu(fu({},ye),{group_name:[ye.group_name]})).filter(ye=>ye.late_time!==null))),_e(fu({},le)),re([...be]),et([...me]),console.log(le,de))},[de]);const Ze=()=>ea(void 0,null,function*(){const ye=JSON.parse(JSON.stringify(le));if(ye.categoryId=ve.categoryId,le.unified_setting||(be=be==null?void 0:be.map(Ue=>{var vt,Ee;if(!Ue.publish_time||!Ue.end_time)throw _.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ue.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ue.group_name=typeof(Ue==null?void 0:Ue.group_name)=="string"?[Ue==null?void 0:Ue.group_name]:Ue==null?void 0:Ue.group_name,Ue.group_id=(Ee=(vt=Ue==null?void 0:Ue.group_name)==null?void 0:vt.map(pt=>{var ee,je;let _t=(je=(ee=de.group_settings)==null?void 0:ee.filter(m=>(m==null?void 0:m.group_name)===pt))==null?void 0:je[0];return _t==null?void 0:_t.group_id}))==null?void 0:Ee.toString().split(","),Ue})),ye.group_settings=be,le.allow_late)if(le.unified_late){if(le.late_penalty===null||le.late_penalty===void 0||le.late_penalty<0||le.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!le.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else me=me==null?void 0:me.map(Ue=>{var vt,Ee;if(Ue.penalty_type=Ln.Q.Number,Ue.late_penalty===null||Ue.late_penalty===void 0||Ue.late_penalty<0||Ue.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ue.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ue.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ue.group_name=typeof(Ue==null?void 0:Ue.group_name)=="string"?[Ue==null?void 0:Ue.group_name]:Ue==null?void 0:Ue.group_name,Ue.group_id=(Ee=(vt=Ue==null?void 0:Ue.group_name)==null?void 0:vt.map(pt=>{var ee,je;let _t=(je=(ee=de.group_settings)==null?void 0:ee.filter(m=>(m==null?void 0:m.group_name)===pt))==null?void 0:je[0];return _t==null?void 0:_t.group_id}))==null?void 0:Ee.toString().split(","),Ue}),ye.allow_late_settings=me;Object.keys(ye).map(function(Ue){Ue.indexOf("proportion")>-1&&(ye[Ue]=ye[Ue]/100)}),w({type:"shixunHomeworks/updateSetting",payload:Wu(fu({},ye),{penalty_type:Ln.Q.Number})}).then(Ue=>{Ue.status===0&&(_.ZP.success("\u66F4\u65B0\u6210\u529F"),b())})});return jt.createElement("div",{className:Zn.form},jt.createElement("div",{className:Zn.title},"\u7EC4\u957F\u8BC4\u5206"),jt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},jt.createElement(mu.Z,{disabled:xe,checked:le.is_group_grade,onChange:ye=>{le.is_group_grade=ye,_e(fu({},le))}}),jt.createElement("span",{style:{color:"#333333",margin:"0 10px",fontWeight:"600"}},"\u7EC4\u957F\u8BC4\u5206"),jt.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u7EC4\u957F\u9996\u6B21\u63D0\u4EA4\u4F5C\u4E1A\u65F6\u9700\u8981\u5BF9\u7EC4\u5458\u8FDB\u884C\u8BC4\u5206\uFF09")),jt.createElement("div",{className:Zn.title,style:{marginTop:"30px"}},"\u52A9\u6559\u8BC4\u5206"),jt.createElement(k.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:xe,value:le.ta_mode,onChange:ye=>{le.ta_mode=ye.target.value,_e(fu({},le))}},jt.createElement(k.ZP,{value:1,style:{marginRight:"40px"}},jt.createElement("span",{style:{color:"#000000"}},"\u666E\u901A\u6A21\u5F0F"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u53D6\u5404\u52A9\u6559\u6700\u7EC8\u8BC4\u5206\u7684\u5E73\u5747\u5206\uFF09")),jt.createElement("br",null),jt.createElement(k.ZP,{value:0},jt.createElement("span",{style:{color:"#000000"}},"\u590D\u5BA1\u6A21\u5F0F"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u52A9\u6559\u591A\u6B21\u8BC4\u5206\u65F6\uFF0C\u53D6\u6700\u540E\u4E00\u6B21\u52A9\u6559\u8BC4\u5206\u7684\u5206\u6570\uFF09"))),jt.createElement("div",{className:Zn.title,style:{marginTop:"30px"}},"\u6700\u7EC8\u6210\u7EE9\u7EC4\u6210"),jt.createElement(k.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},disabled:xe,value:le.final_mode,onChange:ye=>{le.final_mode=ye.target.value,_e(fu({},le))}},jt.createElement(k.ZP,{value:!1,style:{marginRight:"12px"}},jt.createElement("span",{style:{color:"#000000"}},"\u591A\u9879\u8BC4\u5206\u914D\u6BD4"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6309\u7167\u4F18\u5148\u987A\u5E8F\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09")),jt.createElement(k.ZP,{value:!0},jt.createElement("span",{style:{color:"#000000"}},"\u5355\u9879\u8BC4\u5206\u4F18\u5148"),jt.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u6309\u7167\u6BD4\u4F8B\u8BA1\u7B97\u6700\u7EC8\u6210\u7EE9\uFF09"))),le.final_mode?jt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 430px",display:"flex",alignItems:"center",color:"#666"}},"(\u6559\u5E08\u8BC4\u5206 \u2192 \u52A9\u6559\u8BC4\u5206 \u2192 \u7EC4\u957F\u8BC4\u5206 \u2192 \u5B66\u751F\u533F\u8BC4\u8BC4\u5206)"):jt.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},jt.createElement("div",null,"\u6559\u5E08\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.te_proportion,onChange:ye=>{le.te_proportion=ye,_e(Object.assign({},le))}}),jt.createElement("div",null,"\u52A9\u6559\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.ta_proportion,onChange:ye=>{le.ta_proportion=ye,_e(Object.assign({},le))}}),le.is_group_grade&&jt.createElement(jt.Fragment,null,jt.createElement("div",null,"\u7EC4\u957F\u8BC4\u5206"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 30px 0 10px"},value:le.gr_proportion,onChange:ye=>{le.gr_proportion=ye,_e(Object.assign({},le))}})),jt.createElement("div",null,"\u5B66\u751F\u533F\u8BC4"),jt.createElement(te.Z,{disabled:xe,min:0,max:100,size:"large",addonAfter:"%",style:{width:"120px",margin:"0 0 0 10px"},value:le.st_proportion,onChange:ye=>{le.st_proportion=ye,_e(Object.assign({},le))}})),!xe&&jt.createElement(jt.Fragment,null,jt.createElement(U.ZP,{type:"primary",size:"large",className:"mr20",style:{width:"138px",marginTop:"30px"},onClick:()=>Ze()},"\u4FDD\u5B58"),jt.createElement(U.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Ne(!0)},"\u8BBE\u7F6E\u9ED8\u8BA4\u8BC4\u5206")),jt.createElement(P.default,{open:tt,title:"\u662F\u5426\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u8BC4\u5206\uFF1F",centered:!0,width:470,onCancel:()=>{Ne(!1)},onOk:()=>ea(void 0,null,function*(){const ye=JSON.parse(JSON.stringify(le));Object.keys(ye).map(function(vt){vt.indexOf("proportion")>-1&&(ye[vt]=ye[vt]/100)}),(yield(0,S.ZP)(`/api/courses/${ve.coursesId}/homework_commons/set_default_score_setting.json`,{method:"post",body:{homework_type:3,score_settings:ye}})).status===0&&(_.ZP.success("\u8BBE\u7F6E\u6210\u529F"),Ne(!1))})},jt.createElement("div",null,"\u60A8\u662F\u5426\u8981\u5C06\u5F53\u524D\u8BC4\u5206\u89C4\u5219\u8BBE\u7F6E\u4E3A\u60A8\u7684\u9ED8\u8BA4\u89C4\u5219\uFF0C\u8BE5\u9ED8\u8BA4\u89C4\u5219\u4EC5\u5E94\u7528\u4E8E\u60A8\u540E\u7EED\u65B0\u5EFA\u7684\u4F5C\u4E1A\uFF0C\u4E14\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u8001\u5E08\u65B0\u5EFA\u4F5C\u4E1A\u7684\u8BC4\u5206\u89C4\u5219\u3002")))};var Va=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(Ya),bn=s(59301),Ka=Object.defineProperty,Ga=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,ta=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,na=(I,b,w)=>b in I?Ka(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Ou=(I,b)=>{for(var w in b||(b={}))Qa.call(b,w)&&na(I,w,b[w]);if(ta)for(var w of ta(b))Xa.call(b,w)&&na(I,w,b[w]);return I},Uu=(I,b)=>Ga(I,Ja(b)),$a=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const qa=({getData:I,dispatch:b,shixunHomeworks:w})=>{const{workSetting:de}=w,ve=(0,X.useParams)(),[xe,Oe]=(0,n.useState)(!0);let[be,re]=(0,n.useState)([]),[me,et]=(0,n.useState)([]);const[tt,Ne]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,personal_score_open:!0});(0,n.useEffect)(()=>{Oe(!(0,r.GJ)())},[(0,r.GJ)()]),(0,n.useEffect)(()=>{de!=null&&de.course_id&&(Object.keys(tt).map(function(_e){_e.indexOf("proportion")>-1?(tt[_e]=de[_e]*100,console.log(_e,tt[_e],de[_e])):tt[_e]=de[_e]}),(!tt.allow_late||!tt.unified_late)&&(tt.late_penalty=5),tt.unified_setting||(tt.unified_late=!1,tt.unified_anonymous_comment=!1,tt.unified_anonymous_appeal=!1),be=JSON.parse(JSON.stringify(de.group_settings.map(_e=>Uu(Ou({},_e),{group_name:[_e.group_name]})).filter(_e=>_e.publish_time!==null))),me=JSON.parse(JSON.stringify(de.allow_late_settings.map(_e=>Uu(Ou({},_e),{group_name:[_e.group_name]})).filter(_e=>_e.late_time!==null))),Ne(Ou({},tt)),re([...be]),et([...me]))},[de]);const le=()=>$a(void 0,null,function*(){const _e=JSON.parse(JSON.stringify(tt));if(_e.categoryId=ve.categoryId,tt.unified_setting||(be=be==null?void 0:be.map(Ze=>{var ye,Ue;if(!Ze.publish_time||!Ze.end_time)throw _.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ze.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ze.group_name=typeof(Ze==null?void 0:Ze.group_name)=="string"?[Ze==null?void 0:Ze.group_name]:Ze==null?void 0:Ze.group_name,Ze.group_id=(Ue=(ye=Ze==null?void 0:Ze.group_name)==null?void 0:ye.map(vt=>{var Ee,pt;let ee=(pt=(Ee=de.group_settings)==null?void 0:Ee.filter(je=>(je==null?void 0:je.group_name)===vt))==null?void 0:pt[0];return ee==null?void 0:ee.group_id}))==null?void 0:Ue.toString().split(","),Ze})),_e.group_settings=be,tt.allow_late)if(tt.unified_late){if(tt.late_penalty===null||tt.late_penalty===void 0||tt.late_penalty<0||tt.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!tt.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else me=me==null?void 0:me.map(Ze=>{var ye,Ue;if(Ze.penalty_type=Ln.Q.Number,Ze.late_penalty===null||Ze.late_penalty===void 0||Ze.late_penalty<0||Ze.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ze.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ze.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ze.group_name=typeof(Ze==null?void 0:Ze.group_name)=="string"?[Ze==null?void 0:Ze.group_name]:Ze==null?void 0:Ze.group_name,Ze.group_id=(Ue=(ye=Ze==null?void 0:Ze.group_name)==null?void 0:ye.map(vt=>{var Ee,pt;let ee=(pt=(Ee=de.group_settings)==null?void 0:Ee.filter(je=>(je==null?void 0:je.group_name)===vt))==null?void 0:pt[0];return ee==null?void 0:ee.group_id}))==null?void 0:Ue.toString().split(","),Ze}),_e.allow_late_settings=me;Object.keys(_e).map(function(Ze){Ze.indexOf("proportion")>-1&&(_e[Ze]=_e[Ze]/100)}),b({type:"shixunHomeworks/updateSetting",payload:Uu(Ou({},_e),{penalty_type:Ln.Q.Number})}).then(Ze=>{Ze.status===0&&(_.ZP.success("\u66F4\u65B0\u6210\u529F"),I())})});return bn.createElement("div",{className:Zn.form},bn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},bn.createElement(O.default,{checked:tt.work_public,disabled:xe,onChange:_e=>{tt.work_public=_e.target.checked,Ne(Object.assign({},tt))}},bn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u4F5C\u54C1")),bn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u622A\u6B62/\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u4F5C\u54C1\uFF0C\u5426\u5219\u53EA\u80FD\u67E5\u770B\u81EA\u5DF1\u7684\u4F5C\u54C1\uFF09")),bn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},bn.createElement(O.default,{checked:tt.score_open,disabled:xe,onChange:_e=>{_e.target.checked&&(tt.personal_score_open=!0),tt.score_open=_e.target.checked,Ne(Object.assign({},tt))}},bn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u6210\u7EE9")),bn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u6210\u7EE9\uFF0C\u5426\u5219\u4E0D\u53EF\u67E5\u770B\u4E2A\u4EBA\u6210\u7EE9\uFF09")),bn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},bn.createElement(O.default,{checked:tt.personal_score_open,disabled:xe||tt.score_open,onChange:_e=>{tt.personal_score_open=_e.target.checked,Ne(Object.assign({},tt))}},bn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u4E2A\u4EBA\u6210\u7EE9")),bn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u622A\u6B62/\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9\uFF0C\u5426\u5219\u53EA\u80FD\u67E5\u770B\u81EA\u5DF1\u7684\u6210\u7EE9\uFF09")),bn.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},bn.createElement(O.default,{checked:tt.answer_public,disabled:xe,onChange:_e=>{tt.answer_public=_e.target.checked,Ne(Object.assign({},tt))}},bn.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u516C\u5F00\u7B54\u6848")),bn.createElement("span",{style:{color:"#666666",fontSize:"14px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u65F6\u95F4\u4E4B\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF0C\u5426\u5219\u4E0D\u80FD\u67E5\u770B\u4F5C\u4E1A\u53C2\u8003\u7B54\u6848\uFF09")),!xe&&bn.createElement(bn.Fragment,null,bn.createElement(U.ZP,{type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:le},"\u4FDD\u5B58")))};var er=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(qa),tr=s(47599),nr=s(33469),ur=s(65629),ar=s(58010),Pu=s(5383),bt=s(59301),rr=Object.defineProperty,lr=Object.defineProperties,or=Object.getOwnPropertyDescriptors,ua=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,aa=(I,b,w)=>b in I?rr(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Qn=(I,b)=>{for(var w in b||(b={}))sr.call(b,w)&&aa(I,w,b[w]);if(ua)for(var w of ua(b))ir.call(b,w)&&aa(I,w,b[w]);return I},pu=(I,b)=>lr(I,or(b)),Yu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const ra=(I,b)=>{if(b==="comment"){const w=I==null?void 0:I.filter(xe=>xe.evaluation_end!==null);return w.length===0?[{deleteflag:!0}]:(0,Pu.M)(w,["evaluation_start","evaluation_end"]).map(xe=>pu(Qn({},xe),{evaluation_start:[xe.evaluation_start,xe.evaluation_end],group_name:[xe.group_name],deleteflag:!1}))}else if(b==="appeal"){const w=I==null?void 0:I.filter(xe=>xe.appeal_time!==null);return w.length===0?[{deleteflag:!0}]:(0,Pu.M)(w,["appeal_time"]).map(xe=>pu(Qn({},xe),{group_name:[xe.group_name],deleteflag:!1}))}},la=(I,b)=>I.map(w=>b.find(de=>de.value===w).id),cr=({shixunHomeworks:I,classroomList:b,dispatch:w})=>{var de,ve,xe,Oe,be,re,me,et,tt;const{workSetting:Ne,workList:le}=I,_e=(0,X.useParams)(),[Ze,ye]=(0,n.useState)(!0);let[Ue,vt]=(0,n.useState)([]),[Ee,pt]=(0,n.useState)([]);const[ee,je]=(0,n.useState)({unified_setting:!1,publish_time:"",end_time:"",ta_mode:1,final_mode:!1,st_proportion:"20%",ta_proportion:"30%",te_proportion:"50%",student_comment:!1,anonymous_appeal:!1,appeal_penalty:0,appeal_time:"",anonymous_comment:!1,evaluation_num:0,evaluation_start:"",evaluation_end:"",absence_penalty:0,work_public:!1,allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ln.Q.Number,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,total_score:"",eff_score:"",unified_anonymous_comment:!0,unified_anonymous_appeal:!0,anonymous_group:!1}),_t=(de=Ne==null?void 0:Ne.anonymous_comment_settings)==null?void 0:de.map(Se=>({label:Se.group_name,value:Se.group_name,id:Se.group_id})),m=(ve=Ne==null?void 0:Ne.anonymous_appeal_settings)==null?void 0:ve.map(Se=>({label:Se.group_name,value:Se.group_name,id:Se.group_id})),[pe]=f.default.useForm(),[ot]=f.default.useForm(),$t=()=>Yu(void 0,null,function*(){const Se=(0,Pu.Y)(pe.getFieldsValue(),"YYYY-MM-DD HH:mm"),gt=(0,Ae.cloneDeep)(Se);for(const Ye of gt.anonymous_comment_settings||[]){if(!(Ye!=null&&Ye.evaluation_start))return _.ZP.warning("\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();if(!Ye.group_name)return _.ZP.warning("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Promise.reject();Ye.evaluation_end=Ye==null?void 0:Ye.evaluation_start[1],Ye.evaluation_start=Ye==null?void 0:Ye.evaluation_start[0],Ye.group_id=la(Ye.group_name,_t),Reflect.deleteProperty(Ye,"deleteflag")}return gt}),ke=()=>{const Se=(0,Pu.Y)(ot.getFieldsValue(),"YYYY-MM-DD HH:mm"),gt=(0,Ae.cloneDeep)(Se);for(const Ye of gt.anonymous_appeal_settings||[])Ye.group_id=la(Ye.group_name,m),Reflect.deleteProperty(Ye,"deleteflag");return gt},mt=()=>Yu(void 0,null,function*(){yield w({type:"shixunHomeworks/getWorkSetting",payload:Qn({},_e)}),pe.resetFields(),ot.resetFields()});(0,n.useEffect)(()=>{Ne!=null&&Ne.course_id&&(Object.keys(ee).map(function(Se){Se.indexOf("proportion")>-1?ee[Se]=Ne[Se]*100:ee[Se]=Ne[Se]}),(!ee.allow_late||!ee.unified_late)&&(ee.late_penalty=5),ee.unified_setting||(ee.unified_late=!1,ee.unified_anonymous_comment=!1,ee.unified_anonymous_appeal=!1),Ue=JSON.parse(JSON.stringify(Ne.group_settings.map(Se=>pu(Qn({},Se),{group_name:[Se.group_name]})).filter(Se=>Se.publish_time!==null))),Ee=JSON.parse(JSON.stringify(Ne.allow_late_settings.map(Se=>pu(Qn({},Se),{group_name:[Se.group_name]})).filter(Se=>Se.late_time!==null))),je(Qn({},ee)),vt([...Ue]),pt([...Ee]))},[Ne]),(0,n.useEffect)(()=>{ye(!(0,r.t_)()&&!(Ne!=null&&Ne.can_edit))},[Ne,(0,r.t_)()]);const st=(((xe=Ne==null?void 0:Ne.homework_status)==null?void 0:xe.includes("\u5DF2\u622A\u6B62"))||(_t==null?void 0:_t.length)>0)&&(Ne==null?void 0:Ne.student_works),tn=((Oe=Ne==null?void 0:Ne.anonymous_appeal_settings)==null?void 0:Oe.length)>0,Lt=(Ne==null?void 0:Ne.anonymous_comment)&&(Ne==null?void 0:Ne.unified_anonymous_comment)&&((be=le==null?void 0:le.homework_status)==null?void 0:be.includes("\u5DF2\u622A\u6B62"))||tn,[zt,Yt]=(0,n.useState)(!1),Un=()=>Yu(void 0,null,function*(){Yt(!zt);const Se=JSON.parse(JSON.stringify(ee));if(Se.categoryId=_e.categoryId,ee.unified_setting||(Ue=Ue==null?void 0:Ue.map(Ye=>{var gn,Fn;if(!Ye.publish_time||!Ye.end_time)throw _.ZP.error("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u53D1\u5E03\u3001\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ye.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Yt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ye.group_name=typeof(Ye==null?void 0:Ye.group_name)=="string"?[Ye==null?void 0:Ye.group_name]:Ye==null?void 0:Ye.group_name,Ye.group_id=(Fn=(gn=Ye==null?void 0:Ye.group_name)==null?void 0:gn.map(lt=>{var Mt,Zt;let Re=(Zt=(Mt=Ne.group_settings)==null?void 0:Mt.filter(Me=>(Me==null?void 0:Me.group_name)===lt))==null?void 0:Zt[0];return Re==null?void 0:Re.group_id}))==null?void 0:Fn.toString().split(","),Ye})),Se.group_settings=Ue,ee.allow_late)if(ee.unified_late){if(ee.late_penalty===null||ee.late_penalty===void 0||ee.late_penalty<0||ee.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Yt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ee.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")}else Ee=Ee==null?void 0:Ee.map(Ye=>{var gn,Fn;if(Ye.penalty_type=Ln.Q.Number,Ye.late_penalty===null||Ye.late_penalty===void 0||Ye.late_penalty<0||Ye.late_penalty>100)throw _.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),Yt(!1),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ye.late_time)throw _.ZP.error("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),Yt(!1),new String("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(!Ye.group_name)throw _.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),Yt(!1),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ye.group_name=typeof(Ye==null?void 0:Ye.group_name)=="string"?[Ye==null?void 0:Ye.group_name]:Ye==null?void 0:Ye.group_name,Ye.group_id=(Fn=(gn=Ye==null?void 0:Ye.group_name)==null?void 0:gn.map(lt=>{var Mt,Zt;let Re=(Zt=(Mt=Ne.group_settings)==null?void 0:Mt.filter(Me=>(Me==null?void 0:Me.group_name)===lt))==null?void 0:Zt[0];return Re==null?void 0:Re.group_id}))==null?void 0:Fn.toString().split(","),Ye}),Se.allow_late_settings=Ee;if(ee.evaluation_start){if(ee.end_time&&M()(ee.evaluation_start)<=M()(ee.end_time))throw _.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Yt(!1),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4");if(ee.late_time&&M()(ee.evaluation_start)<=M()(ee.late_time))throw _.ZP.error("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Yt(!1),new String("\u533F\u8BC4\u5F00\u542F\u65F6\u95F4\u8981\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u8865\u4EA4\u622A\u6B62\u65F6\u95F4")}if(Object.keys(Se).map(function(Ye){Ye.indexOf("proportion")>-1&&(Se[Ye]=Se[Ye]/100)}),Se.anonymous_comment&&!Se.unified_anonymous_comment){const Ye=yield $t();Se.anonymous_comment_settings=Ye.anonymous_comment_settings,["evaluation_end","evaluation_num","evaluation_start","student_comment","absence_penalty"].forEach(gn=>{Reflect.deleteProperty(Se,gn)})}if(Se.anonymous_appeal&&!Se.unified_anonymous_appeal){const Ye=ke();Se.anonymous_appeal_settings=Ye.anonymous_appeal_settings,["appeal_time","appeal_penalty"].forEach(gn=>{Reflect.deleteProperty(Se,gn)})}(yield(0,S.ZP)(`/api/homework_commons/${_e.categoryId}/evaluation_setting.json`,{method:"post",body:Qn({},Se)})).status===0?(Yt(!1),_.ZP.success("\u66F4\u65B0\u6210\u529F"),ye(!0),mt()):Yt(!1)});return bt.createElement("div",{className:Zn.form},bt.createElement("div",{className:Zn.title},"\u4F5C\u4E1A\u533F\u8BC4"),bt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},bt.createElement(mu.Z,{checked:ee.anonymous_comment,disabled:Ze||!st||(Ne==null?void 0:Ne.anonymous_comment),onChange:()=>{var Se;if((0,r.Rm)()&&!((Se=b.AssistantObject.group)!=null&&Se.can_anonymous_comment)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ee.anonymous_comment=!ee.anonymous_comment,ee.allow_late&&!ee.evaluation_start?ee.late_time&&ee.late_time!=""&&(ee.evaluation_start=M()(ee.late_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),ee.evaluation_end=M()(ee.late_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")):ee.unified_setting&&!ee.evaluation_start&&ee.end_time&&ee.end_time!=""&&(ee.evaluation_start=M()(ee.end_time).add(14,"day").format("YYYY-MM-DD HH:mm:ss"),ee.evaluation_end=M()(ee.end_time).add(28,"day").format("YYYY-MM-DD HH:mm:ss")),ee.anonymous_comment&&(ee.evaluation_num=parseInt(ee.evaluation_num)?ee.evaluation_num:3,ee.absence_penalty=parseInt(ee.absence_penalty)?ee.absence_penalty:3),je(Object.assign({},ee))}}),bt.createElement("div",{style:{fontWeight:600,margin:"0 10px"}},"\u542F\u7528\u533F\u8BC4"),bt.createElement("div",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09"),bt.createElement(C.Z,{title:bt.createElement("div",null,bt.createElement("div",null,"\u89C4\u5219"),bt.createElement("div",null,"1.\u4F5C\u4E1A\u622A\u6B62\u3001\u8865\u4EA4\u7ED3\u675F\u540E\u624D\u53EF\u5F00\u542F\u533F\u8BC4\uFF0C\u5F00\u542F\u7533\u8BC9\u540E\u4E0D\u53EF\u53D8\u66F4\u533F\u8BC4\u7ED3\u675F\u65F6\u95F4\uFF1B"),bt.createElement("div",null,"2.\u6240\u6709\u5206\u7EC4\u4E92\u8BC4\uFF1A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5206\u7EC4\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u5206\u7EC4\u4E92\u76F8\u533F\u8BC4\uFF1B"),bt.createElement("div",null,"3.\u73ED\u5185\u5C0F\u7EC4\u4E92\u8BC4\uFF1A\u540C\u73ED\u7EA7\u63D0\u4EA4\u4F5C\u54C1\u7684\u5206\u7EC4\u6570\u91CF\u22652\uFF0C\u53EF\u5F00\u542F\u73ED\u5185\u5206\u7EC4\u4E92\u76F8\u533F\u8BC4\u3002"),bt.createElement("div",null,"\u6CE8\uFF1A\u4E3A\u786E\u4FDD\u516C\u5E73\uFF0C\u533F\u8BC4\u89C4\u5219\u786E\u5B9A\u540E\u4E0D\u53EF\u518D\u4FEE\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"))},bt.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Zn.title_icon}`}))),ee.anonymous_comment&&bt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},bt.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u65B9\u5F0F"),bt.createElement(k.ZP.Group,{value:ee.unified_anonymous_comment,disabled:Ze||ee.anonymous_appeal||(Ne==null?void 0:Ne.anonymous_comment),onChange:Se=>{var gt;if((0,r.Rm)()&&!((gt=b.AssistantObject.group)!=null&>.can_anonymous_comment)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{unified_anonymous_comment:Se.target.value})),pe.resetFields()}},(Ne==null?void 0:Ne.unified_setting)&&(Ne==null?void 0:Ne.unified_late)&&bt.createElement(k.ZP,{value:!0,disabled:Ze||ee.anonymous_appeal||(Ne==null?void 0:Ne.anonymous_comment)||!(Ne!=null&&Ne.manage_all_group)},bt.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u7EDF\u4E00\u533F\u8BC4")),((re=Ne==null?void 0:Ne.group_settings)==null?void 0:re.length)>0&&bt.createElement(k.ZP,{value:!1},bt.createElement("span",{style:{marginRight:"40px",color:"#000"}},"\u5206\u73ED\u533F\u8BC4")))),ee.anonymous_comment&&ee.unified_anonymous_comment&&bt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},bt.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u4E92\u8BC4\u65B9\u5F0F"),bt.createElement(k.ZP.Group,{value:ee.anonymous_group,disabled:Ze||ee.anonymous_appeal||(Ne==null?void 0:Ne.anonymous_comment),onChange:Se=>{var gt;if((0,r.Rm)()&&!((gt=b.AssistantObject.group)!=null&>.can_anonymous_comment)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{anonymous_group:Se.target.value}))}},bt.createElement(k.ZP,{value:!1},bt.createElement("span",{style:{marginRight:"12px",color:"#000"}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4")),((me=Ne==null?void 0:Ne.group_settings)==null?void 0:me.length)>0&&bt.createElement(k.ZP,{value:!0,disabled:Ze||!(Ne!=null&&Ne.can_anonymous_group)},bt.createElement("span",{style:{color:"#000"}},"\u73ED\u7EA7\u5185\u4E92\u8BC4")))),ee.anonymous_comment&&bt.createElement(bt.Fragment,null,ee.unified_anonymous_comment?bt.createElement(tr.Z,{data:ee,setData:je,disabled:Ze}):bt.createElement(f.default,{form:pe,autoComplete:"off",initialValues:Ne!=null&&Ne.unified_anonymous_comment?{anonymous_comment_settings:[{deleteflag:!0}]}:{anonymous_comment_settings:ra(Ne==null?void 0:Ne.anonymous_comment_settings,"comment")}},bt.createElement(nr.Z,{disabled:Ze,selectOptions:_t,form:pe,data:ee}))),bt.createElement("div",{className:Zn.title,style:{marginTop:"30px"}},"\u533F\u8BC4\u7533\u8BC9"),bt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},bt.createElement(mu.Z,{checked:ee.anonymous_appeal,disabled:Ze||!Lt||(Ne==null?void 0:Ne.anonymous_appeal),onChange:()=>{var Se;if((0,r.Rm)()&&!((Se=b.AssistantObject.group)!=null&&Se.can_anonymous_appeal)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ee.anonymous_appeal=!ee.anonymous_appeal,ee.anonymous_appeal&&(ee.appeal_penalty=parseInt(ee.appeal_penalty)?ee.appeal_penalty:2),je(Object.assign({},ee))}}),bt.createElement("span",{style:{color:"#000000",margin:"0 10px"}},"\u533F\u8BC4\u7533\u8BC9"),bt.createElement("span",{style:{color:"#CA7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),ee.anonymous_appeal&&bt.createElement(bt.Fragment,null,bt.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},bt.createElement("div",{style:{color:"#666666",marginLeft:"54px",marginRight:"20px"}},"\u7533\u8BC9\u65B9\u5F0F"),bt.createElement(k.ZP.Group,{value:ee.unified_anonymous_appeal,disabled:Ze||(Ne==null?void 0:Ne.anonymous_appeal),onChange:Se=>{var gt;if((0,r.Rm)()&&!((gt=b.AssistantObject.group)!=null&>.can_anonymous_appeal)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}je(Ye=>pu(Qn({},Ye),{unified_anonymous_appeal:Se.target.value})),ot.resetFields()}},(Ne==null?void 0:Ne.unified_anonymous_comment)&&bt.createElement(k.ZP,{value:!0,disabled:!(Ne!=null&&Ne.manage_all_group)},bt.createElement("span",{style:{color:"#000000"}},"\u7EDF\u4E00\u7533\u8BC9")),((et=Ne==null?void 0:Ne.group_settings)==null?void 0:et.length)>0&&bt.createElement(k.ZP,{value:!1},bt.createElement("span",{style:{color:"#000000"}},"\u5206\u73ED\u7533\u8BC9")))),ee.unified_anonymous_appeal?bt.createElement(ur.Z,{data:ee,setData:je,disabled:Ze}):bt.createElement(f.default,{form:ot,initialValues:Ne!=null&&Ne.unified_anonymous_appeal?{anonymous_appeal_settings:[{deleteflag:!0}]}:{anonymous_appeal_settings:ra(Ne==null?void 0:Ne.anonymous_appeal_settings,"appeal")}},bt.createElement(ar.Z,{disabled:Ze||(0,r.Rm)()&&!((tt=b.AssistantObject.group)!=null&&tt.can_anonymous_appeal),selectOptions:m,form:ot}))),!Ze&&bt.createElement(U.ZP,{loading:zt,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>Un()},"\u4FDD\u5B58"))};var dr=(0,X.connect)(({shixunHomeworks:I,classroomList:b})=>({shixunHomeworks:I,classroomList:b}))(cr),mr=s(38233),G=s(59301),fr=Object.defineProperty,pr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,sa=(I,b,w)=>b in I?fr(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,kn=(I,b)=>{for(var w in b||(b={}))hr.call(b,w)&&sa(I,w,b[w]);if(oa)for(var w of oa(b))Er.call(b,w)&&sa(I,w,b[w]);return I},Hn=(I,b)=>pr(I,_r(b)),Vu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const vr=I=>Vu(void 0,null,function*(){return yield(0,S.ZP)(`/api/homework_commons/${I==null?void 0:I.categoryId}/publish_setting.json`,{method:"post",body:I})}),gr=I=>Vu(void 0,null,function*(){return yield(0,S.ZP)(`/api/homework_commons/${I==null?void 0:I.categoryId}/evaluation_setting.json`,{method:"post",body:I})}),Cu=(I,b)=>I==null?void 0:I.map(w=>{var de;return(de=b==null?void 0:b.find(ve=>ve.value===w))==null?void 0:de.id}),Fr=(I,b)=>{var w;return I=typeof I=="string"?[I]:I,(w=I==null?void 0:I.map(de=>b==null?void 0:b.find(ve=>{var xe;return(xe=ve==null?void 0:ve.group_name)==null?void 0:xe.includes(de)})))==null?void 0:w.filter(de=>de)},Dn=(I,b,w,de=!1)=>{let ve=null,xe=de?b:Fr(I,b);return xe==null||xe.forEach((Oe,be)=>{(be==0||w(Oe,ve||{}))&&(ve=Oe)}),ve},yr=({shixunHomeworks:I,loading:b,dispatch:w,classroomList:de})=>{var ve,xe,Oe,be,re,me,et,tt,Ne,le,_e,Ze,ye,Ue,vt,Ee,pt,ee,je;const _t=(0,X.useParams)(),{workSetting:m,workList:pe}=I,[,ot,$t]=(0,We.U)(vr,{categoryId:_t==null?void 0:_t.categoryId,penalty_type:Ln.Q.Number}),[,ke,mt]=(0,We.U)(gr,{categoryId:_t==null?void 0:_t.categoryId}),[st]=f.default.useForm(),tn=f.default.useWatch("unified_setting",st),Lt=f.default.useWatch("group_settings",st),zt=f.default.useWatch("allow_late_settings",st),Yt=f.default.useWatch("end_time",st),Un=f.default.useWatch("publish_time",st),Se=f.default.useWatch("allow_late",st),gt=f.default.useWatch("unified_late",st),Ye=f.default.useWatch("late_time",st),gn=f.default.useWatch("anonymous_comment",st),Fn=f.default.useWatch("unified_anonymous_comment",st),lt=f.default.useWatch("evaluation_start",st),Mt=f.default.useWatch("anonymous_appeal",st),Zt=f.default.useWatch("anonymous_comment_settings",st),Re=f.default.useWatch("unified_anonymous_appeal",st),Me=f.default.useWatch("anonymous_appeal_settings",st),[Vt,wt]=(0,n.useState)(!1),[Ht,en]=(0,n.useState)({}),Tt=Vt||(0,r.Rm)()&&!((xe=(ve=de.AssistantObject)==null?void 0:ve.group)!=null&&xe.can_publish),Jt=Vt||(0,r.Rm)()&&!((be=(Oe=de.AssistantObject)==null?void 0:Oe.group)!=null&&be.can_late),Ut=Vt||(0,r.Rm)()&&!((me=(re=de.AssistantObject)==null?void 0:re.group)!=null&&me.can_anonymous_comment),dn=Vt||(0,r.Rm)()&&!((tt=(et=de.AssistantObject)==null?void 0:et.group)!=null&&tt.can_anonymous_appeal),On=(Fe,Be)=>{if(Fe!=null&&Fe.some(Qt=>typeof Qt.group_name!="string")){const Qt=[];Fe==null||Fe.forEach(ht=>{var it;typeof ht.group_name!="string"&&((it=ht.group_name)==null||it.forEach(Ft=>{Qt.push(Hn(kn({},ht),{group_name:Ft}))}))}),Fe=Qt}return Fe==null?void 0:Fe.filter(Qt=>{var ht,it,Ft;return!((Ft=(it=(ht=Be==null?void 0:Be.map(an=>an==null?void 0:an.group_name))==null?void 0:ht.toString())==null?void 0:it.split(","))!=null&&Ft.includes(String(Qt.group_name)))&&Qt.is_admin})},Pn=Fe=>{if(Fe=="allow_late"){P.default.warning({centered:!0,width:472,icon:null,title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("div",null,G.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u8865\u4EA4\uFF0C\u4EC5\u5728\u8865\u4EA4\u65F6\u95F4\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u6263\u9664\u5206\u503C\uFF1B\u82E5\u5B66\u751F\u5728\u201C\u6309\u65F6\u63D0\u4EA4\u201D\u7684\u65F6\u95F4\u5185\u5DF2\u6210\u529F\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5728\u8865\u4EA4\u65F6\u95F4\u518D\u6B21\u63D0\u4EA4\u5219\u4E0D\u4F1A\u6263\u5206\u3002"),G.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},G.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u6CE8\u610F\uFF1A\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3001\u4E0D\u53EF\u5173\u95ED\u8865\u4EA4\u3002"))});return}if(Fe=="anonymous_comment"){P.default.warning({centered:!0,width:550,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("span",{className:"blod"},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5F00\u542F\u533F\u8BC4\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\u3002",G.createElement("br",null),G.createElement("div",{className:"font12 mt10",style:{color:"#E99237"}},G.createElement("i",{className:"iconfont icon-tishi11 mr5 font12"}),"\u5B66\u751F\u5FC5\u987B\u63D0\u4EA4\u4F5C\u54C1\u624D\u80FD\u53C2\u4E0E\u533F\u8BC4\uFF0C\u82E5\u5B66\u751F\u672A\u80FD\u6309\u65F6\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u5EFA\u8BAE\u542F\u7528\u201C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u201D\u529F\u80FD\uFF0C\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002"))});return}if(Fe=="anonymous_appeal"){P.default.warning({centered:!0,width:760,icon:null,title:"\u5F00\u542F\u533F\u8BC4\u7533\u8BC9\u63D0\u793A",content:G.createElement(G.Fragment,null,G.createElement("span",{className:"blod"},"\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\u7533\u8BC9"),G.createElement("br",null),"1\u3001\u63A5\u53D7\u5B66\u751F\u7684\u5408\u7406\u7533\u8BC9\uFF1A",G.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u65E0\u6548\uFF0C\u4E0D\u53C2\u4E0E\u6700\u7EC8\u6210\u7EE9\u7684\u8BA1\u7B97\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u5C06\u88AB\u6263\u51CF\u8FDD\u89C4\u533F\u8BC4\u5206",G.createElement("br",null),"2\u3001\u62D2\u7EDD\u5B66\u751F\u7684\u4E0D\u5408\u7406\u7533\u8BC9\uFF1A",G.createElement("br",null),"\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u6709\u6548\uFF0C\u4E0D\u5141\u8BB8\u5B66\u751F\u5BF9\u8BE5\u8BC4\u5206\u8BB0\u5F55\u8FDB\u884C\u4E8C\u6B21\u7533\u8BC9\u88AB\u7533\u8BC9\u7684\u8BC4\u9605\u4EBA\u7684\u4F5C\u54C1\u6210\u7EE9\uFF0C\u4E0D\u4F1A\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206",G.createElement("br",null))});return}if(Fe=="unified_late")return"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u8865\u4EA4";if(Fe=="unified_anonymous_comment")return tn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4":"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u533F\u8BC4";if(Fe=="unified_anonymous_appeal")return tn===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u53D1\u5E03\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":gt===!1?"\u5DF2\u5F00\u542F\u5206\u73ED\u8865\u4EA4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9":"\u5DF2\u5F00\u542F\u5206\u73ED\u533F\u8BC4\uFF0C\u65E0\u6CD5\u66F4\u6539\u4E3A\u7EDF\u4E00\u7533\u8BC9";if(Fe=="make_up_score")return Se?"\u6263\u5206\u6570\u636E\u6765\u6E90\u4E8E\u8865\u4EA4\u6263\u5206":"\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u672A\u6309\u65F6\u63D0\u4EA4\u7684\u5B66\u751F\u8865\u4EA4\u4F5C\u54C1\u4E00\u6B21\uFF0C\u5E76\u6263\u9664\u76F8\u5E94\u7684\u5206\u6570\u4F5C\u4E3A\u8FDF\u4EA4\u7684\u5904\u7F5A\uFF0C\u8BE5\u5B66\u751F\u624D\u53EF\u4EE5\u53C2\u4E0E\u533F\u8BC4\u3002";if(Fe=="submit_num")return"\u82E5\u5B66\u751F\u9700\u8981\u5728\u89C4\u5B9A\u6B21\u6570\u5916\u518D\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u6253\u56DE\u91CD\u505A\u529F\u80FD\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002"},Bt=(Fe,Be={})=>{var Qt,ht,it,Ft,an,rn,qe,Et,hn,Pt;if(Fe=="unified_setting")return Tt||!((Qt=pe==null?void 0:pe.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))||!(m!=null&&m.manage_all_group);if(Fe=="publish_time")return Tt||!((ht=pe==null?void 0:pe.homework_status)!=null&&ht.includes("\u672A\u53D1\u5E03")||(it=pe==null?void 0:pe.homework_status)!=null&&it.includes("\u672A\u5F00\u59CB"));if(Fe=="end_time"){const he=Dn([],(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")=M()(m==null?void 0:m.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(["group_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he)))return Tt||!(Be!=null&&Be.is_admin)||!((Ft=pe==null?void 0:pe.homework_status)!=null&&Ft.includes("\u672A\u53D1\u5E03"))&&(Be==null?void 0:Be.publish_time)&&M()().startOf("second")>=M()((an=Be==null?void 0:Be.publish_time)==null?void 0:an[0]).startOf("second");if(["group_settings","publish_time"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.allow_late_settings)||[],(ze,Kt)=>(ze==null?void 0:ze.late_time)&&(Kt==null?void 0:Kt.late_time)&&M()(ze==null?void 0:ze.late_time).startOf("second")(ze==null?void 0:ze.evaluation_start)&&(Kt==null?void 0:Kt.evaluation_start)&&M()(ze==null?void 0:ze.evaluation_start).startOf("second")=M()((qe=Be==null?void 0:Be.publish_time)==null?void 0:qe[0]).startOf("second"),(m==null?void 0:m.allow_late)&&(he==null?void 0:he.late_time)&&M()().startOf("second")>=M()(Be==null?void 0:Be.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(Le==null?void 0:Le.evaluation_start)&&M()().startOf("second")>=M()(Le==null?void 0:Le.evaluation_start).startOf("second")]}if(Fe=="allow_late"){const he=((Et=m==null?void 0:m.allow_late_settings)==null?void 0:Et.filter(ze=>ze.late_time!==null).map(ze=>{var Kt;return(Kt=ze==null?void 0:ze.group_id)==null?void 0:Kt[0]}))||[],Le=Dn(null,(m==null?void 0:m.group_settings)||[],(ze,Kt)=>(ze==null?void 0:ze.end_time)&&(Kt==null?void 0:Kt.end_time)&&M()(ze==null?void 0:ze.end_time).startOf("second")=M()(m==null?void 0:m.end_time).startOf("second")||(he==null?void 0:he.includes((hn=Le==null?void 0:Le.group_id)==null?void 0:hn[0]))&&(m==null?void 0:m.allow_late)&&(Le==null?void 0:Le.end_time)&&M()().startOf("second")>=M()(Le==null?void 0:Le.end_time).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(m==null?void 0:m.evaluation_start)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second")}if(Fe=="unified_late"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")=M()(m==null?void 0:m.end_time).startOf("second")||tn===!1}if(Fe=="late_penalty"||Fe=="late_time")return Jt||(m==null?void 0:m.anonymous_comment)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second");if(["allow_late_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.group_settings)||[],(Le,ze)=>(Le==null?void 0:Le.end_time)&&(ze==null?void 0:ze.end_time)&&M()(Le==null?void 0:Le.end_time).startOf("second")>M()(ze==null?void 0:ze.end_time).startOf("second"));return Tt||!(Be!=null&&Be.is_admin)||(he==null?void 0:he.end_time)&&M()().startOf("second")>=M()(he==null?void 0:he.end_time).startOf("second")||(Be==null?void 0:Be.group_name)&&((Pt=Be==null?void 0:Be.group_name)==null?void 0:Pt.length)&&(m==null?void 0:m.unified_setting)&&(m==null?void 0:m.end_time)&&M()().startOf("second")>=M()(m==null?void 0:m.end_time).startOf("second")}if(["allow_late_settings","late_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")>M()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Tt||!(Be!=null&&Be.is_admin)||(he==null?void 0:he.evaluation_start)&&(m==null?void 0:m.anonymous_comment)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(["allow_late_settings","late_time"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(Fe=="anonymous_comment"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")>M()(ze==null?void 0:ze.evaluation_start).startOf("second"),!0);return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second")||(m==null?void 0:m.anonymous_comment)&&(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(Fe=="unified_anonymous_comment"){const he=Dn(null,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")=M()(m==null?void 0:m.evaluation_start).startOf("second")||!(m!=null&&m.unified_anonymous_comment)&&(m==null?void 0:m.anonymous_comment)&&he.evaluation_start&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")||gt===!1||tn===!1}if(Fe=="anonymous_group")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&(m==null?void 0:m.evaluation_start)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="evaluation_start")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.anonymous_comment)&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="evaluation_start")return Ut;if(Fe=="evaluation_end")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(Fe=="evaluation_num")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="absence_penalty")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(["anonymous_comment_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")>M()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin)||(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(["anonymous_comment_settings","evaluation_start"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")>M()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin)||[(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second"),!1]}if(["anonymous_comment_settings","evaluation_num"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_start)&&(ze==null?void 0:ze.evaluation_start)&&M()(Le==null?void 0:Le.evaluation_start).startOf("second")>M()(ze==null?void 0:ze.evaluation_start).startOf("second"));return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin)||(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")}if(["anonymous_comment_settings","absence_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))||["anonymous_comment_settings","student_comment"].every(he=>Fe==null?void 0:Fe.includes(he)))return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin);if(Fe=="student_comment")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(Fe=="is_open_abnormal_score")return Ut||!(m!=null&&m.can_edit)&&!(0,r.t_)()||(m==null?void 0:m.is_open_abnormal_score);if(Fe=="anonymous_appeal")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||m.anonymous_appeal&&M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second");if(Fe=="unified_anonymous_appeal")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||M()().startOf("second")>=M()(m==null?void 0:m.evaluation_start).startOf("second")||gt===!1||tn===!1||Fn==!1;if(Fe=="appeal_penalty")return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)();if(["anonymous_appeal_settings","group_name"].every(he=>Fe==null?void 0:Fe.includes(he))){const he=Dn(Be==null?void 0:Be.group_name,(m==null?void 0:m.anonymous_comment_settings)||[],(Le,ze)=>(Le==null?void 0:Le.evaluation_end)&&(ze==null?void 0:ze.evaluation_end)&&M()(Le==null?void 0:Le.evaluation_end).startOf("second")>M()(ze==null?void 0:ze.evaluation_end).startOf("second"));return dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin)||(he==null?void 0:he.evaluation_end)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_end).startOf("second")}return["anonymous_appeal_settings","appeal_penalty"].every(he=>Fe==null?void 0:Fe.includes(he))?dn||!(m!=null&&m.can_edit)&&!(0,r.t_)()||!(Be!=null&&Be.is_admin):!1},Xn=(Fe,Be)=>{var Qt,ht,it,Ft,an,rn,qe,Et,hn;if(console.log("handleValuesChange",Fe,Be),w({type:"shixunHomeworks/setActionTabs",payload:{key:"\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"}}),"publish_time"in Fe&&(Be!=null&&Be.end_time||st.setFieldsValue({end_time:M()(Be==null?void 0:Be.publish_time).add(7,"days")})),"unified_setting"in Fe&&(Be!=null&&Be.unified_setting||st.setFieldsValue({unified_late:!1,unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_late"in Fe&&(Be!=null&&Be.unified_late||st.setFieldsValue({unified_anonymous_comment:!1,unified_anonymous_appeal:!1})),"unified_anonymous_comment"in Fe&&(Be!=null&&Be.unified_anonymous_comment||st.setFieldsValue({unified_anonymous_appeal:!1})),"group_settings"in Fe){let Pt=[];(Qt=Be==null?void 0:Be.group_settings)==null||Qt.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({allow_late_settings:((ht=Be==null?void 0:Be.allow_late_settings)==null?void 0:ht.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:((it=Be==null?void 0:Be.anonymous_comment_settings)==null?void 0:it.map(he=>{var Le,ze;return Hn(kn({},he),{group_name:he!=null&&he.evaluation_start&&M()().startOf("second")>=M()((Le=he==null?void 0:he.evaluation_start)==null?void 0:Le[0]).startOf("second")?he==null?void 0:he.group_name:(ze=he==null?void 0:he.group_name)==null?void 0:ze.filter(Kt=>Pt.includes(Kt))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((Ft=Be==null?void 0:Be.anonymous_appeal_settings)==null?void 0:Ft.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("allow_late_settings"in Fe){let Pt=[];(an=Be==null?void 0:Be.allow_late_settings)==null||an.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({anonymous_comment_settings:((rn=Be==null?void 0:Be.anonymous_comment_settings)==null?void 0:rn.map(he=>{var Le,ze;return Hn(kn({},he),{group_name:he!=null&&he.evaluation_start&&M()().startOf("second")>=M()((Le=he==null?void 0:he.evaluation_start)==null?void 0:Le[0]).startOf("second")?he==null?void 0:he.group_name:(ze=he==null?void 0:he.group_name)==null?void 0:ze.filter(Kt=>Pt.includes(Kt))})}))||[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:((qe=Be==null?void 0:Be.anonymous_appeal_settings)==null?void 0:qe.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}if("anonymous_comment_settings"in Fe){let Pt=[];(Et=Be==null?void 0:Be.anonymous_comment_settings)==null||Et.forEach(he=>{Pt=[...Pt,...(he==null?void 0:he.group_name)||[]]}),st.setFieldsValue({anonymous_appeal_settings:((hn=Be==null?void 0:Be.anonymous_appeal_settings)==null?void 0:hn.map(he=>{var Le;return Hn(kn({},he),{group_name:(Le=he==null?void 0:he.group_name)==null?void 0:Le.filter(ze=>Pt.includes(ze))})}))||[{is_admin:!0,appeal_penalty:2}]})}st.validateFields(),console.log("=====",M()(Be==null?void 0:Be.end_time).format("YYYY-MM-DD HH:mm:ss"))},uu=Fe=>Vu(void 0,null,function*(){var Be,Qt,ht,it;const Ft=Fe;Ft.group_settings=(Be=Ft==null?void 0:Ft.group_settings)==null?void 0:Be.map(qe=>{var Et,hn;return qe.end_time=M()((Et=qe==null?void 0:qe.publish_time)==null?void 0:Et[1]).startOf("second"),qe.publish_time=M()((hn=qe==null?void 0:qe.publish_time)==null?void 0:hn[0]).startOf("second"),qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=Cu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe}),Ft.allow_late_settings=(Qt=Ft==null?void 0:Ft.allow_late_settings)==null?void 0:Qt.map(qe=>(qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=Cu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe)),Ft.anonymous_comment_settings=(ht=Ft==null?void 0:Ft.anonymous_comment_settings)==null?void 0:ht.map(qe=>{var Et,hn;return qe.evaluation_end=M()((Et=qe==null?void 0:qe.evaluation_start)==null?void 0:Et[1]).startOf("second"),qe.evaluation_start=M()((hn=qe==null?void 0:qe.evaluation_start)==null?void 0:hn[0]).startOf("second"),qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=Cu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe}),Ft.anonymous_appeal_settings=(it=Ft==null?void 0:Ft.anonymous_appeal_settings)==null?void 0:it.map(qe=>(qe.group_name=typeof(qe==null?void 0:qe.group_name)=="string"?[qe==null?void 0:qe.group_name]:qe==null?void 0:qe.group_name,qe.group_id=Cu(qe==null?void 0:qe.group_name,m==null?void 0:m.group_settings),qe)),!((yield $t(kn({},Ft))).status!==0||(yield mt(kn({},Ft))).status!==0)&&(_.ZP.success("\u4FDD\u5B58\u6210\u529F"),nn(),w({type:"shixunHomeworks/setActionTabs",payload:{key:""}}))}),nn=()=>{w({type:"shixunHomeworks/getWorkSetting",payload:kn({},_t)}),w({type:"shixunHomeworks/getWorkList",payload:kn({},_t)})};(0,n.useEffect)(()=>{var Fe,Be,Qt,ht;let it=(Fe=m==null?void 0:m.group_settings)==null?void 0:Fe.filter(Et=>Et.publish_time!==null).map(Et=>Hn(kn({},Et),{group_name:[Et.group_name],publish_time:(Et==null?void 0:Et.publish_time)&&[M()(Et==null?void 0:Et.publish_time),M()(Et==null?void 0:Et.end_time)]}));it=(0,d.QE)((it==null?void 0:it.length)>0?it:[]);const Ft=(Be=m.allow_late_settings)==null?void 0:Be.filter(Et=>Et.late_time!==null).map(Et=>Hn(kn({},Et),{group_name:[Et.group_name],late_time:(Et==null?void 0:Et.late_time)&&M()(Et==null?void 0:Et.late_time)})),an=(Qt=m.anonymous_comment_settings)==null?void 0:Qt.filter(Et=>Et.evaluation_start!==null).map(Et=>Hn(kn({},Et),{group_name:[Et.group_name],evaluation_start:(Et==null?void 0:Et.evaluation_start)&&[M()(Et==null?void 0:Et.evaluation_start),M()(Et==null?void 0:Et.evaluation_end)]})),rn=(ht=m.anonymous_appeal_settings)==null?void 0:ht.filter(Et=>Et.appeal_time!==null).map(Et=>Hn(kn({},Et),{group_name:[Et.group_name]})),qe=Hn(kn({},m),{late_penalty:m!=null&&m.allow_late?m==null?void 0:m.late_penalty:5,evaluation_num:m!=null&&m.evaluation_num?m==null?void 0:m.evaluation_num:3,absence_penalty:m!=null&&m.anonymous_comment?m==null?void 0:m.absence_penalty:3,appeal_penalty:m!=null&&m.anonymous_appeal?m==null?void 0:m.appeal_penalty:2,publish_time:m!=null&&m.publish_time?M()(m==null?void 0:m.publish_time):"",end_time:m!=null&&m.end_time?M()(m==null?void 0:m.end_time):"",late_time:m!=null&&m.late_time?M()(m==null?void 0:m.late_time):"",evaluation_start:m!=null&&m.evaluation_start?M()(m==null?void 0:m.evaluation_start):"",evaluation_end:m!=null&&m.evaluation_end?M()(m==null?void 0:m.evaluation_end):"",group_settings:it!=null&&it.length?it:[{is_admin:!0}],allow_late_settings:Ft!=null&&Ft.length?Ft:[{is_admin:!0,late_penalty:5}],anonymous_comment_settings:an!=null&&an.length?an:[{is_admin:!0,absence_penalty:3,evaluation_num:3}],anonymous_appeal_settings:rn!=null&&rn.length?rn:[{is_admin:!0,appeal_penalty:2}]});st.setFieldsValue(qe),en(qe),wt(!(0,r.GJ)()),console.log("workSetting",m)},[m]),(0,n.useEffect)(()=>(w({type:"globalSetting/footerToggle",payload:!1}),()=>{w({type:"globalSetting/footerToggle",payload:!0}),w({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),st==null||st.resetFields()}),[]);const mn=(Fe,Be)=>{Fe!=null&&Fe.group_id||(Fe.group_id=Cu(Fe==null?void 0:Fe.group_name,m==null?void 0:m.group_settings)),w({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Fe,index:Be,rangePickerDisabled:Bt(["group_settings","publish_time"],Lt==null?void 0:Lt[Be]),disabledDate:m==null?void 0:m.course_end_date}})};return G.createElement(wn.Z,{spinning:!!b["shixunHomeworks/getWorkSetting"]||!!b["shixunHomeworks/getWorkList"]},G.createElement("section",{style:{padding:"30px 50px",background:"#fff"}},G.createElement(f.default,{form:st,colon:!1,disabled:Vt,initialValues:Ht,scrollToFirstError:!0,onValuesChange:Xn,onFinish:uu},G.createElement("div",{style:{paddingBottom:"30px",borderBottom:"1px solid #EDEDED"}},G.createElement("div",{className:`${Xe.Z.title}`},G.createElement("span",null,"\u4F5C\u4E1A\u53D1\u5E03"),G.createElement(C.Z,{placement:"topLeft",title:"\u8BBE\u7F6E\u4F5C\u4E1A\u7684\u53D1\u5E03\u89C4\u5219\uFF0C\u8BBE\u7F6E\u540E\uFF0C\u5B66\u751F\u53EA\u80FD\u5728\u89C4\u5B9A\u65F6\u95F4\u5185\u63D0\u4EA4\u4F5C\u4E1A"},G.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Xe.Z.title_icon}`}))),G.createElement("div",{className:Xe.Z.content},G.createElement(v.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line}`},G.createElement(f.default.Item,{className:(Ne=Xe.Z)==null?void 0:Ne.h_lh_40,name:"unified_setting",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7C7B\u578B"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_setting")},G.createElement(k.ZP,{value:!0},"\u7EDF\u4E00\u53D1\u5E03"),((le=m==null?void 0:m.group_settings)==null?void 0:le.length)>0&&G.createElement(k.ZP,{value:!1,style:{marginLeft:52}},"\u5206\u73ED\u53D1\u5E03")))),tn?G.createElement(v.Z,{className:Xe.Z.row_sty,style:{padding:"5px 30px"}},G.createElement(o.Z,null,G.createElement(f.default.Item,{label:"\u53D1\u5E03\u65F6\u95F4",name:"publish_time",rules:[{validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"):Promise.resolve()}],normalize:Fe=>Fe&&M()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:200},size:"large",disabled:Bt("publish_time"),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date),disabledTime:Fe=>(0,d.d0)(Fe),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"),G.createElement(o.Z,null,G.createElement(f.default.Item,{style:{marginLeft:40},label:"\u622A\u6B62\u65F6\u95F4",name:"end_time",rules:[{validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Promise.resolve()}],normalize:Fe=>Fe&&M()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:200},size:"large",disabled:Bt("end_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,M()(Un).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,M()(Un).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")):G.createElement(f.default.List,{name:"group_settings"},(Fe,{add:Be,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,Et,hn;return G.createElement(v.Z,{key:ht.key,style:{padding:"5px 14px 5px 30px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{minWidth:85,textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",it+1),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(H.default,{disabled:Bt(["group_settings","group_name"],Lt==null?void 0:Lt[it]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",size:"large",fieldNames:{label:"group_name",value:"group_name"},options:(Ft=m==null?void 0:m.group_settings)==null?void 0:Ft.filter(Pt=>{var he,Le,ze;return!((ze=(Le=(he=Lt==null?void 0:Lt.map(Kt=>Kt==null?void 0:Kt.group_name))==null?void 0:he.toString())==null?void 0:Le.split(","))!=null&&ze.includes(String(Pt.group_name)))&&Pt.is_admin}),maxTagCount:4,maxTagPlaceholder:Pt=>G.createElement("div",{style:{cursor:"pointer"},onClick:()=>mn(Lt[it],it)},"+",Pt==null?void 0:Pt.length)}))),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml20",name:[ht.name,"publish_time"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F5C\u4E1A\u65F6\u95F4"}]},G.createElement(zn.default.RangePicker,{style:{width:585},size:"large",disabled:Bt(["group_settings","publish_time"],Lt==null?void 0:Lt[it]),placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Pt=>(0,d.Q8)(Pt,m==null?void 0:m.course_end_date),disabledTime:Pt=>(0,d.d0)(Pt),showTime:{format:"HH:mm",defaultValue:[M()((0,d.U6)(),"HH:mm"),M()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",onCalendarChange:Pt=>{if(Pt!=null&&Pt[0]&&!(Pt!=null&&Pt[1])){const he=st.getFieldValue("group_settings");he[it].publish_time=[Pt[0],M()(Pt[0]).add(7,"days")],st.setFieldsValue({group_settings:he})}}}))),!Vt&&G.createElement(v.Z,{className:(an=Xe.Z)==null?void 0:an.h_lh_40},((qe=(rn=Lt==null?void 0:Lt[it])==null?void 0:rn.group_id)==null?void 0:qe.length)>1&&G.createElement(o.Z,null,G.createElement(C.Z,{title:"\u89C4\u5219\u62C6\u5206"},G.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>mn(Lt[it],it)}))),((hn=(Et=m==null?void 0:m.group_settings)==null?void 0:Et.filter(Pt=>{var he,Le,ze;return!((ze=(Le=(he=Lt==null?void 0:Lt.map(Kt=>Kt==null?void 0:Kt.group_name))==null?void 0:he.toString())==null?void 0:Le.split(","))!=null&&ze.includes(String(Pt.group_name)))&&Pt.is_admin}))==null?void 0:hn.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{Be({is_admin:!0})}})),it!=0&&!Bt(["group_settings","group_name"],Lt==null?void 0:Lt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml10",style:{color:"#E30000",opacity:"0.2"}}))))})))),G.createElement(Ju.rU,{form:st}),G.createElement(G.Fragment,null,G.createElement("div",{className:`${Xe.Z.title} mt30`},G.createElement("span",null,"\u4F5C\u4E1A\u8865\u4EA4")),G.createElement("div",{className:Xe.Z.content},G.createElement(v.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(_e=Xe.Z)==null?void 0:_e.h_lh_40}`,align:"middle"},G.createElement(f.default.Item,{name:"allow_late",valuePropName:"checked"},G.createElement(mu.Z,{disabled:Bt("allow_late")})),G.createElement(o.Z,{className:"ml10 mr10"},"\u5F00\u542F\u8865\u4EA4"),G.createElement(o.Z,{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5728\u8865\u4EA4\u65F6\u95F4\u6BB5\u63D0\u4EA4\u4F5C\u4E1A\uFF0C\u5C06\u6309\u7167\u89C4\u5219\u8FDB\u884C\u6263\u5206\uFF09")),Se&&G.createElement(G.Fragment,null,G.createElement(v.Z,{className:Xe.Z.row_sty1},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u65B9\u5F0F"),G.createElement(f.default.Item,{className:`${(Ze=Xe.Z)==null?void 0:Ze.h_lh_40} ml10`,name:"unified_late",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8865\u4EA4\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_late")},G.createElement(k.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u8865\u4EA4"),((ye=m==null?void 0:m.group_settings)==null?void 0:ye.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),tn===!1&&G.createElement(C.Z,{title:Pn("unified_late")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),gt?G.createElement("div",{style:{paddingBottom:5}},G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb10 mt5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u8865\u4EA4\u6263\u5206"),G.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},G.createElement(f.default.Item,{name:"late_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:206},min:0,max:100,disabled:Bt("late_penalty")}))),G.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5EF6\u65F6\u63D0\u4EA4\u4F5C\u54C1\u65F6\uFF0C\u5B66\u751F\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")),G.createElement(v.Z,{className:Xe.Z.row_sty1},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,{style:{margin:"0 10px 0 8px"}},G.createElement(f.default.Item,{name:"late_time",rules:[{required:!0,validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):M()(Be).startOf("second")<=M()(Yt).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&M()(Fe).startOf("second")},G.createElement(zn.default,{style:{width:280},size:"large",disabled:Bt("late_time"),placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,M()(Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,M()(Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{style:{color:"#333"}},"\uFF08\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09"))):G.createElement(f.default.List,{name:"allow_late_settings"},(Fe,{add:Be,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,Et,hn;const Pt=Yt||((rn=(an=Dn((Ft=zt==null?void 0:zt[it])==null?void 0:Ft.group_name,Lt||[],(he,Le)=>{var ze,Kt;return M()((ze=he==null?void 0:he.publish_time)==null?void 0:ze[1]).startOf("second")>M()((Kt=Le==null?void 0:Le.publish_time)==null?void 0:Kt[1]).startOf("second")}))==null?void 0:an.publish_time)==null?void 0:rn[1]);return G.createElement(v.Z,{key:ht.key,style:{padding:"5px 14px 5px 52px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{minWidth:88,textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",it+1),G.createElement(o.Z,{className:"mr20 ml20"},G.createElement(f.default.Item,{name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(H.default,{disabled:Bt(["allow_late_settings","group_name"],zt==null?void 0:zt[it]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(tn?m==null?void 0:m.group_settings:Lt,[...zt||[],...(m==null?void 0:m.anonymous_comment)&&!(m!=null&&m.unified_anonymous_comment)&&((qe=m==null?void 0:m.anonymous_comment_settings)==null?void 0:qe.filter(he=>(he==null?void 0:he.evaluation_start)&&M()().startOf("second")>=M()(he==null?void 0:he.evaluation_start).startOf("second")))||[]])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u8865\u4EA4\u6263\u5206"),G.createElement(o.Z,{className:"mr20 ml10"},G.createElement(f.default.Item,{name:[ht.name,"late_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8865\u4EA4\u6263\u5206"}]},G.createElement(te.Z,{min:0,max:100,size:"large",addonAfter:"\u5206",style:{width:150},disabled:Bt(["allow_late_settings","late_penalty"],zt==null?void 0:zt[it])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,{className:"ml10"},G.createElement(f.default.Item,{name:[ht.name,"late_time"],rules:[{required:!0,validator:(he,Le)=>Le==null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):Pt&&M()(Le).startOf("second")<=M()(Pt).startOf("second")?Promise.reject("\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},G.createElement(zn.default,{disabled:Bt(["allow_late_settings","late_time"],zt==null?void 0:zt[it]),style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:he=>(0,d.Q8)(he,m==null?void 0:m.course_end_date,M()(Pt).add(1,"minutes").format()),disabledTime:he=>(0,d.d0)(he,M()(Pt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),!Vt&&G.createElement(v.Z,{className:(Et=Xe.Z)==null?void 0:Et.h_lh_40},((hn=On(tn?m==null?void 0:m.group_settings:Lt,zt))==null?void 0:hn.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Be({is_admin:!0,late_penalty:5})}})),it!=0&&!Bt(["allow_late_settings","group_name"],zt==null?void 0:zt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}}))))}))))),G.createElement(G.Fragment,null,G.createElement("div",{className:`${Xe.Z.title} mt30`},G.createElement("span",null,"\u533F\u8BC4\u8BBE\u7F6E")),G.createElement("div",{className:Xe.Z.content},G.createElement(v.Z,{className:`${Xe.Z.row_sty} ${Xe.Z.bottom_line} ${(Ue=Xe.Z)==null?void 0:Ue.h_lh_40}`,align:"middle"},G.createElement(f.default.Item,{name:"anonymous_comment",valuePropName:"checked"},G.createElement(mu.Z,{disabled:Bt("anonymous_comment")})),G.createElement(o.Z,{className:"ml10 mr10"},"\u542F\u7528\u533F\u8BC4"),G.createElement(o.Z,{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5C06\u5728\u9690\u85CF\u8EAB\u4EFD\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u5176\u4ED6\u540C\u5B66\u533F\u540D\u4F5C\u4E1A\u8FDB\u884C\u8BC4\u9605\uFF09")),gn&&G.createElement(G.Fragment,null,G.createElement(v.Z,{className:`${Xe.Z.row_sty1} ${!Se&&"mb10"} mt5`},G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"can_make_up",valuePropName:"checked",style:{height:40,lineHeight:"40px"}},G.createElement(O.default,null," ",Se?"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u5E76\u4E14\u6263\u9664\u8865\u4EA4\u6263\u5206":"\u5141\u8BB8\u5B66\u751F\u8865\u4EA4\uFF0C\u8865\u4EA4\u6263\u5206"," "))),!Se&&G.createElement(o.Z,{className:"mr10"},G.createElement(f.default.Item,{name:"make_up_score"},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",min:0,max:100,style:{width:186}}))),G.createElement(o.Z,null,G.createElement(C.Z,{title:Pn("make_up_score")},G.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary"})))),G.createElement("div",{style:{position:"relative"}},G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5 ${Xe.Z.bottom_line}`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u533F\u8BC4\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:`${(vt=Xe.Z)==null?void 0:vt.h_lh_40} ml10`,name:"unified_anonymous_comment",rules:[{validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65B9\u5F0F"):Promise.resolve()}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_anonymous_comment")},G.createElement(k.ZP,{value:!0,style:{marginRight:52}},"\u7EDF\u4E00\u533F\u8BC4"),((Ee=m==null?void 0:m.group_settings)==null?void 0:Ee.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u533F\u8BC4"))))),(gt===!1||tn===!1)&&G.createElement(C.Z,{title:Pn("unified_anonymous_comment")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Fn?G.createElement(G.Fragment,null,G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u4E92\u8BC4\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"anonymous_group",className:`${(pt=Xe.Z)==null?void 0:pt.h_lh_40} ml10`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E92\u8BC4\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("anonymous_group")},G.createElement(k.ZP,{value:!1,style:{marginRight:24}},"\u6240\u6709\u5B66\u751F\u4E92\u8BC4"),((ee=m==null?void 0:m.group_settings)==null?void 0:ee.length)>0&&G.createElement(k.ZP,{value:!0},"\u73ED\u7EA7\u5185\u4E92\u8BC4"))))),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u5F00\u59CB\u65F6\u95F4"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_start",rules:[{required:!0,validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"):M()(Be).startOf("second")<=M()(Ye||Yt).startOf("second")?Promise.reject(Ye?"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&M()(Fe).startOf("second")},G.createElement(zn.default,{disabled:Bt("evaluation_start"),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",style:{width:270,marginLeft:10},format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,M()(Ye||Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,M()(Ye||Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\uFF0C\u53C2\u4E0E\u533F\u8BC4\uFF09")),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u622A\u6B62\u65F6\u95F4"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_end",rules:[{required:!0,validator:(Fe,Be)=>Be===null?Promise.reject("\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"):M()(Be).startOf("second")<=M()(lt||Ye||Yt).startOf("second")?Promise.reject(lt?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":Ye?"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}],normalize:Fe=>Fe&&M()(Fe).startOf("second")},G.createElement(zn.default,{disabled:Bt("evaluation_end"),size:"large",style:{width:270,marginLeft:10},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",format:"YYYY-MM-DD HH:mm",disabledDate:Fe=>(0,d.Q8)(Fe,m==null?void 0:m.course_end_date,M()(lt||Ye||Yt).add(1,"minutes").format()),disabledTime:Fe=>(0,d.d0)(Fe,M()(lt||Ye||Yt).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:M()((0,d.U6)(),"HH:mm")}}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u533F\u8BC4TA\u4EBA\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u533F\u8BC4\u6570\u91CF"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"evaluation_num",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},G.createElement(te.Z,{size:"large",style:{width:186,marginLeft:10},disabled:Bt("evaluation_num")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u672C\u5904\u586B\u5199\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6\u3002\uFF09")),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb10`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u7F3A\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"absence_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",style:{width:186,marginLeft:10},addonAfter:"\u5206",max:100,min:0,disabled:Bt("absence_penalty")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u7F3A\u8BC4\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09"))):G.createElement(f.default.List,{name:"anonymous_comment_settings"},(Fe,{add:Be,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an,rn,qe,Et,hn,Pt;const he=Ye||((an=Dn((Ft=Zt==null?void 0:Zt[it])==null?void 0:Ft.group_name,zt||[],(Le,ze)=>M()(Le==null?void 0:Le.late_time).startOf("second")>M()(ze==null?void 0:ze.late_time).startOf("second")))==null?void 0:an.late_time)||Yt||((Et=(qe=Dn((rn=Zt==null?void 0:Zt[it])==null?void 0:rn.group_name,Lt||[],(Le,ze)=>{var Kt,Ru;return M()((Kt=Le==null?void 0:Le.publish_time)==null?void 0:Kt[1]).startOf("second")>M()((Ru=ze==null?void 0:ze.publish_time)==null?void 0:Ru[1]).startOf("second")}))==null?void 0:qe.publish_time)==null?void 0:Et[1]);return G.createElement(v.Z,{key:ht.key,style:{padding:"0px 14px 0px 82px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{lineHeight:"40px"}},"\u533F\u8BC4\u89C4\u5219",it+1),G.createElement(v.Z,{wrap:!1,align:"top",justify:"space-between"},G.createElement(o.Z,null,G.createElement(v.Z,{wrap:!1,align:"top"},G.createElement(o.Z,{className:"mr20 ml15"},G.createElement(f.default.Item,{name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(H.default,{disabled:Bt(["anonymous_comment_settings","group_name"],Zt==null?void 0:Zt[it]),size:"large",placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:228},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(tn?m==null?void 0:m.group_settings:Lt,Zt)}))),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:[ht.name,"evaluation_start"],rules:[{required:!0,validator:(Le,ze)=>ze==null?Promise.reject("\u8BF7\u9009\u62E9\u533F\u8BC4\u65F6\u95F4"):he&&M()(ze).startOf("second")<=M()(he).startOf("second")?Promise.reject(Yt?"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9":"\u533F\u8BC4\u65F6\u95F4\u4E0D\u80FD\u2264\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"):Promise.resolve()}]},G.createElement(zn.default.RangePicker,{disabled:Bt(["anonymous_comment_settings","evaluation_start"],Zt==null?void 0:Zt[it]),style:{width:580},size:"large",placeholder:["\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u5F00\u59CB\u65F6\u95F4","\u8BF7\u9009\u62E9\u4F5C\u4E1A\u533F\u8BC4\u622A\u6B62\u65F6\u95F4"],disabledDate:Le=>(0,d.Q8)(Le,m==null?void 0:m.course_end_date,M()(he).add(1,"minutes").format()),disabledTime:Le=>(0,d.d0)(Le,M()(he).add(1,"minutes")),showTime:{format:"HH:mm",defaultValue:[M()((0,d.U6)(),"HH:mm"),M()((0,d.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm"})))),G.createElement(v.Z,{wrap:!1,align:"top",style:{padding:"5px 0",position:"relative",left:"-55px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{marginRight:4}},"\u533F\u8BC4\u6570\u91CF"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"evaluation_num"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u533F\u8BC4\u6570\u91CF"}]},G.createElement(te.Z,{style:{width:203},size:"large",min:0,disabled:Bt(["anonymous_comment_settings","evaluation_num"],Zt==null?void 0:Zt[it])}))),G.createElement(o.Z,{className:Xe.Z.lable_name1,style:{marginLeft:40}},"\u7F3A\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"absence_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F3A\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{style:{width:186,marginLeft:10},addonAfter:"\u5206",size:"large",min:0,max:100,disabled:Bt(["anonymous_comment_settings","absence_penalty"],Zt==null?void 0:Zt[it])}))),!Fn&&G.createElement(o.Z,null,G.createElement(f.default.Item,{style:{marginLeft:40,lineHeight:"40px"},name:[ht.name,"student_comment"],valuePropName:"checked"},G.createElement(O.default,{disabled:Bt(["anonymous_comment_settings","student_comment"],Zt==null?void 0:Zt[it])},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))),!Vt&&G.createElement(v.Z,{className:(hn=Xe.Z)==null?void 0:hn.h_lh_40},((Pt=On(tn?m==null?void 0:m.group_settings:Lt,Zt))==null?void 0:Pt.length)>0&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Be({is_admin:!0,absence_penalty:3,evaluation_num:3})}})),it!=0&&!Bt(["anonymous_comment_settings","group_name"],Zt==null?void 0:Zt[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 current ml15",style:{color:"#E30000",opacity:"0.2"}})))))})),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5 mt5`},G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"is_open_abnormal_score",valuePropName:"checked"},G.createElement(O.default,{disabled:Bt("is_open_abnormal_score"),style:{height:40,lineHeight:"40px"}},"\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7"))),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:Xe.Z.poor_rating,name:"abnormal_score",rules:[{validator:(Fe,Be)=>Be===0?Promise.reject("\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u8D85\u8FC7\u6570\u503C\u4E0D\u80FD\u4E3A0"):Promise.resolve()}]},G.createElement(te.Z,{size:"large",style:{width:186},addonAfter:"\u5206",disabled:Bt("student_comment"),min:1,max:100}))),G.createElement(o.Z,null," ",G.createElement("span",{className:"ml10"},"\u5206\u8BA1\u5165",Vt?"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868":G.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{if(!(m!=null&&m.anonymous_comment)){_.ZP.warning("\u4FDD\u5B58\u542F\u7528\u8BBE\u7F6E\u540E\uFF0C\u70B9\u51FB\u8BE5\u6309\u94AE\u5373\u53EF\u8DF3\u8F6C\u81F3\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868");return}window.open(`/classrooms/${_t==null?void 0:_t.coursesId}/common_homework/${_t==null?void 0:_t.categoryId}/detail?TabsActiveKey=2&tabs=10`)}},"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868")),G.createElement(C.Z,{title:"\u5F00\u542F\u540E\uFF0C\u82E5\u5B66\u751F\u533F\u8BC4\u5206\u5DEE\u503C\u8D85\u8FC7\u8BBE\u7F6E\u5206\u6570\uFF0C\u8BE5\u6761\u8BC4\u5206\u5C06\u8BA1\u5165\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38\u5217\u8868\u3002\u6B64\u5916\uFF0C\u4E0D\u8BBA\u662F\u5426\u5F00\u542F\u8BE5\u529F\u80FD\uFF0C\u82E5\u5B66\u751F\u533F\u8BC4\u5F97\u5206\u4E0D\u8D85\u8FC760\u5206\uFF0C\u4E5F\u5C06\u81EA\u52A8\u8BA1\u5165\u8BE5\u5F02\u5E38\u5217\u8868"},G.createElement("i",{className:"iconfont icon-tishixiaowenhao font14 current c-grey-666 current-primary ml5"})))),Fn&&G.createElement(f.default.Item,{className:`${Xe.Z.row_sty1} mb5`,name:"student_comment",valuePropName:"checked"},G.createElement(O.default,{disabled:Bt("student_comment")},G.createElement(v.Z,{gutter:10},G.createElement(o.Z,null,"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u76F8\u4E92\u533F\u8BC4\u7684\u6570\u636E\uFF0C\u5728\u4F5C\u54C1\u5217\u8868\u4E2D\u8BA1\u5165\u5DF2\u8BC4\u9605\uFF09")))),G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(f.default.Item,{name:"anonymous_appeal",valuePropName:"checked",className:Xe.Z.h_lh_40},G.createElement(O.default,{disabled:Bt("anonymous_appeal")},"\u542F\u7528\u533F\u8BC4\u7533\u8BC9")),G.createElement("span",{style:{color:"#ca7720"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5141\u8BB8\u5B66\u751F\u5BF9\u81EA\u5DF1\u4F5C\u54C1\u7684\u533F\u8BC4\u8BC4\u5206\u8FDB\u884C\u7533\u8BC9\uFF0C\u7533\u8BC9\u7531\u6559\u5E08\u548C\u52A9\u6559\u5904\u7406\uFF09")),Mt&&G.createElement("div",{style:{paddingBottom:5}},G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:Xe.Z.lable_name},"\u7533\u8BC9\u65B9\u5F0F"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",style:{height:40,lineHeight:"40px"},name:"unified_anonymous_appeal",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7533\u8BC9\u65B9\u5F0F"}]},G.createElement(k.ZP.Group,{disabled:Bt("unified_anonymous_appeal")},G.createElement(k.ZP,{value:!0},"\u7EDF\u4E00\u7533\u8BC9"),((je=m==null?void 0:m.group_settings)==null?void 0:je.length)>0&&G.createElement(k.ZP,{value:!1},"\u5206\u73ED\u7533\u8BC9")))),(gt===!1||tn===!1||Fn==!1)&&G.createElement(C.Z,{title:Pn("unified_anonymous_appeal")},G.createElement("div",{style:{width:"calc(100% - 95px)",height:"100%",position:"absolute",top:0,left:"95px"}}))),Re?G.createElement(v.Z,{className:`${Xe.Z.row_sty1} mb5`},G.createElement(o.Z,{className:"c-grey-333 mr10"},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{name:"appeal_penalty",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Bt("appeal_penalty")}))),G.createElement(o.Z,{className:"c-grey-333"},"\uFF08\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4TA\u4EBA\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C\uFF09")):G.createElement(f.default.List,{name:"anonymous_appeal_settings"},(Fe,{add:Be,remove:Qt})=>Fe.map((ht,it)=>{var Ft,an;return G.createElement(v.Z,{key:ht.key,style:{padding:"5px 14px 5px 82px"}},G.createElement(o.Z,{className:Xe.Z.lable_name1},"\u7533\u8BC9\u89C4\u5219",it+1),G.createElement(v.Z,{wrap:!1,align:"top",justify:"space-between"},G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"group_name"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},G.createElement(H.default,{disabled:Bt(["anonymous_appeal_settings","group_name"],Me==null?void 0:Me[it]),placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",size:"large",style:{width:250},mode:"multiple",fieldNames:{label:"group_name",value:"group_name"},options:On(Fn?m==null?void 0:m.group_settings:Zt,Me)}))),G.createElement(o.Z,{className:`${Xe.Z.lable_name1} ml20`},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),G.createElement(o.Z,null,G.createElement(f.default.Item,{className:"ml10",name:[ht.name,"appeal_penalty"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"}]},G.createElement(te.Z,{size:"large",addonAfter:"\u5206",style:{width:186},min:0,max:100,disabled:Bt(["anonymous_appeal_settings","appeal_penalty"],Me==null?void 0:Me[it])}))),!Vt&&G.createElement(v.Z,{className:(Ft=Xe.Z)==null?void 0:Ft.h_lh_40},!!((an=On(Fn?m==null?void 0:m.group_settings:Zt,Me))!=null&&an.length)&&G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-tianjiatimu ml15 current",style:{color:"#00B187"},onClick:()=>{Be({is_admin:!0,appeal_penalty:2})}})),it!=0&&!Bt(["anonymous_appeal_settings","group_name"],Me==null?void 0:Me[it])?G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15 current",style:{color:"#E30000"},onClick:()=>{Qt(ht.name)}})):G.createElement(o.Z,null,G.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2"}})))))}))))))),((0,r.GJ)()||!(Tt||Jt||Ut))&&G.createElement(U.ZP,{loading:ot||ke,type:"primary",size:"large",style:{width:"138px",marginTop:"30px"},onClick:()=>{st.submit()}},"\u4FDD\u5B58"),G.createElement(mr.Z,{onConfirm:(Fe,Be)=>{Lt.splice(Fe,0,...Be),Lt.splice(Fe+Be.length,1);const Qt=(0,d.QE)([...Lt]);Qt.forEach(ht=>{var it;((it=ht==null?void 0:ht.publish_time)==null?void 0:it.length)==2?ht.publish_time=ht.publish_time:ht.publish_time=[M()(ht==null?void 0:ht.publish_time),M()(ht==null?void 0:ht.end_time)]}),st.setFieldValue("group_settings",[...Qt])}})))};var br=(0,X.connect)(({shixunHomeworks:I,classroomList:b,loading:w})=>({shixunHomeworks:I,classroomList:b,loading:w.effects}))(yr),Cr=s(33441),ou=s(59301),Ar=Object.defineProperty,ia=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,ca=(I,b,w)=>b in I?Ar(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,xr=(I,b)=>{for(var w in b||(b={}))wr.call(b,w)&&ca(I,w,b[w]);if(ia)for(var w of ia(b))Br.call(b,w)&&ca(I,w,b[w]);return I},Dr=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Or=({shixunHomeworks:I,dispatch:b})=>{const{workSetting:w}=I;(0,n.useEffect)(()=>{Oe()},[]);const de=(0,X.useParams)(),[ve,xe]=(0,n.useState)("1"),Oe=()=>Dr(void 0,null,function*(){yield b({type:"shixunHomeworks/getWorkSetting",payload:xr({},de)})}),be=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:w!=null&&w.is_new_rule?ou.createElement(br,null):ou.createElement(La,{getData:Oe})},!(w!=null&&w.is_new_rule)&&{key:"3",label:"\u533F\u8BC4\u8BBE\u7F6E",element:ou.createElement(dr,null)},{key:"4",label:"\u8BC4\u5206\u8BBE\u7F6E",element:ou.createElement(Va,{getData:Oe})},{key:"5",label:"\u516C\u5F00\u8BBE\u7F6E",element:ou.createElement(er,{getData:Oe})},{key:"6",label:"\u534F\u4F5C\u8BBE\u7F6E",element:ou.createElement(Pa,null)}].filter(re=>!!re);return(0,n.useEffect)(()=>(b({type:"globalSetting/footerToggle",payload:!1}),()=>{b({type:"globalSetting/footerToggle",payload:!0})}),[]),ou.createElement("div",{style:{paddingBottom:"50px"}},ou.createElement(Cr.Z,{dataSource:be,style:{marginBottom:52}}))};var Pr=(0,X.connect)(({shixunHomeworks:I})=>({shixunHomeworks:I}))(Or),Sr=s(99562),kr=s(56845),Ir=s(26084),Nr=Object.defineProperty,da=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,ma=(I,b,w)=>b in I?Nr(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,jr=(I,b)=>{for(var w in b||(b={}))Zr.call(b,w)&&ma(I,w,b[w]);if(da)for(var w of da(b))Rr.call(b,w)&&ma(I,w,b[w]);return I};const Pl=I=>React.createElement("svg",jr({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},I),React.createElement("title",null,"\u5206\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h14v14H0z"}),React.createElement("g",{stroke:"#FFF"},React.createElement("path",{d:"M1.5 5.685h7v7h-7z"}),React.createElement("path",{d:"M3 4.787V3.87l7.425.049v6.816h-.943"}),React.createElement("path",{d:"M5 2.917V2l7.425.05v6.685h-.943"}))));var Tr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDE0djE0SDB6Ii8+PGcgc3Ryb2tlPSIjRkZGIj48cGF0aCBkPSJNMS41IDUuNjg1aDd2N2gtN3oiLz48cGF0aCBkPSJNMyA0Ljc4N1YzLjg3bDcuNDI1LjA0OXY2LjgxNmgtLjk0MyIvPjxwYXRoIGQ9Ik01IDIuOTE3VjJsNy40MjUuMDV2Ni42ODVoLS45NDMiLz48L2c+PC9nPjwvc3ZnPg==",Su={flex_box_center:"flex_box_center___Bm9CS",flex_space_between:"flex_space_between___ZsXhA",flex_box_vertical_center:"flex_box_vertical_center___xiJ7Z",flex_box_center_end:"flex_box_center_end___WJleE",flex_box_column:"flex_box_column___x3Ypw",wrap:"wrap___rzUN_",btns:"btns___YKkXq"},Lr=Object.defineProperty,fa=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,pa=(I,b,w)=>b in I?Lr(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,_a=(I,b)=>{for(var w in b||(b={}))Mr.call(b,w)&&pa(I,w,b[w]);if(fa)for(var w of fa(b))zr.call(b,w)&&pa(I,w,b[w]);return I},ha=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Hr=({user:I,dispatch:b})=>{const w=(0,X.useParams)(),[de,ve]=(0,n.useState)({page:1,limit:10}),[xe,Oe]=(0,n.useState)([{}]),[be,re]=(0,n.useState)(0),[me,et]=(0,n.useState)(!0),tt=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"left",render:(Ze,ye,Ue)=>Ue+1,width:70},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",width:100,ellipsis:!0},{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",width:110,ellipsis:!0,render:Ze=>Ze||"--"},{title:"\u73ED\u7EA7",align:"left",dataIndex:"course_group_name",width:110,ellipsis:!0,render:Ze=>Ze||"--"},{title:"\u5F53\u524D\u5206\u7EC4",align:"left",dataIndex:"from_course_group_name",width:110,render:(Ze,ye)=>{var Ue;return n.createElement("span",null,n.createElement("span",null,Ze),n.createElement(C.Z,{overlayClassName:Su.tip,placement:"right",title:n.createElement(v.Z,{style:{maxHeight:200,overflow:"auto"}},n.createElement("div",null,"\u5206\u7EC4\u6210\u5458\uFF1A"),n.createElement("div",null,(Ue=ye==null?void 0:ye.from_course_group_members)==null?void 0:Ue.map(vt=>n.createElement("div",null,vt))))},n.createElement("i",{className:"iconfont icon-xiaowenhao2 ml5 c-light-primary font14"})))}},{title:"\u7533\u8BF7\u66F4\u6362\u5206\u7EC4",align:"left",dataIndex:"to_course_group_name",width:110,render:(Ze,ye)=>{var Ue;return n.createElement("span",null,n.createElement("span",null,Ze),n.createElement(C.Z,{overlayClassName:Su.tip,placement:"right",title:n.createElement(v.Z,{style:{maxHeight:200,overflow:"auto"}},n.createElement("div",null,"\u5206\u7EC4\u6210\u5458\uFF1A"),n.createElement("div",null,(Ue=ye==null?void 0:ye.to_course_group_members)==null?void 0:Ue.map(vt=>n.createElement("div",null,vt))))},n.createElement("i",{className:"iconfont icon-xiaowenhao2 ml5 c-light-primary font14"})))}},{title:"\u7533\u8BF7\u7406\u7531",align:"left",dataIndex:"reason"},{title:"\u64CD\u4F5C",align:"right",dataIndex:"status",width:110,render:(Ze,ye)=>n.createElement(n.Fragment,null,Ze==="\u5F85\u5904\u7406"&&n.createElement("span",{className:Su.btns},n.createElement("span",{onClick:()=>Ne(ye.id,2)},"\u62D2\u7EDD"),n.createElement("span",{className:"ml30",onClick:()=>Ne(ye.id,1)},"\u540C\u610F")),Ze==="\u5DF2\u540C\u610F"&&n.createElement("span",{style:{color:"#00B187"}},"\u5DF2\u540C\u610F"),Ze==="\u5DF2\u62D2\u7EDD"&&n.createElement("span",{style:{color:"#E30000"}},"\u5DF2\u62D2\u7EDD"))}],Ne=(Ze,ye)=>ha(void 0,null,function*(){et(!0);const Ue=yield(0,S.ZP)(`/api/homework_commons/${w==null?void 0:w.categoryId}/deal_request`,{method:"post",body:{request_id:Ze,status:ye}});(Ue==null?void 0:Ue.status)===0&&(_.ZP.success("\u64CD\u4F5C\u6210\u529F"),le(de)),et(!1)});(0,n.useEffect)(()=>{le(de)},[]);const le=Ze=>ha(void 0,null,function*(){et(!0);const ye=yield(0,S.ZP)(`/api/homework_commons/${w==null?void 0:w.categoryId}/get_request`,{method:"get",params:_a({},Ze)});(ye==null?void 0:ye.status)===0&&(Oe(ye.data),re(ye==null?void 0:ye.total_count)),et(!1)}),_e=(Ze,ye)=>{de.page=Ze,de.limit=ye,ve(_a({},de)),le(de)};return n.createElement("section",{className:Su.wrap},n.createElement(F.default,{dataSource:xe,bordered:!1,rowKey:Ze=>Ze.id,columns:tt,loading:me,pagination:{pageSize:de.limit,total:be,current:de.page,onChange:_e,showQuickJumper:!0,hideOnSinglePage:!0}}))};var Wr=(0,X.connect)(({user:I})=>({user:I}))(Hr),Ur=s(64165),nu={modal:"modal___AejJU",member:"member___mqy9M",head:"head___TWHLt",listWrap:"listWrap___zvWV4",list:"list___dWwg9"},Yr=Object.defineProperty,ku=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,ga=(I,b,w)=>b in I?Yr(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Vr=(I,b)=>{for(var w in b||(b={}))Ea.call(b,w)&&ga(I,w,b[w]);if(ku)for(var w of ku(b))va.call(b,w)&&ga(I,w,b[w]);return I},Kr=(I,b)=>{var w={};for(var de in I)Ea.call(I,de)&&b.indexOf(de)<0&&(w[de]=I[de]);if(I!=null&&ku)for(var de of ku(I))b.indexOf(de)<0&&va.call(I,de)&&(w[de]=I[de]);return w},Fa=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const Gr=I=>{var b=I,{classroomList:w,dispatch:de,cb:ve}=b,xe=Kr(b,["classroomList","dispatch","cb"]),Oe,be,re,me,et,tt,Ne,le,_e;const Ze=(0,X.useParams)(),[ye,Ue]=(0,n.useState)({}),[vt,Ee]=(0,n.useState)(""),[pt,ee]=(0,n.useState)(!0),[je,_t]=(0,n.useState)(!1),[m,pe]=(0,n.useState)("");(0,n.useEffect)(()=>{w.actionTabs.key==="\u7533\u8BF7\u6362\u7EC4"&&ot()},[w.actionTabs]);const ot=(ke="")=>Fa(void 0,null,function*(){ee(!0);const mt=yield(0,S.ZP)(`/api/homework_commons/${Ze.categoryId}/get_group_members`,{method:"get",params:{group_id:ke}});(mt==null?void 0:mt.status)===0&&Ue(Vr({},mt)),ee(!1)}),$t=()=>Fa(void 0,null,function*(){if(!vt){_.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u66F4\u6362\u7684\u5206\u7EC4");return}if(!m){_.ZP.warning("\u8BF7\u8F93\u5165\u66F4\u6362\u539F\u56E0");return}_t(!0);let ke=yield(0,S.ZP)(`/api/homework_commons/${Ze.categoryId}/create_request`,{method:"post",body:{to_course_group_id:vt,reason:m}});(ke==null?void 0:ke.status)===0&&(_.ZP.info("\u64CD\u4F5C\u6210\u529F"),de({type:"classroomList/setActionTabs",payload:{}}),ve()),_t(!1)});return n.createElement(P.default,{width:700,centered:!0,afterClose:()=>{Ee(""),pe("")},confirmLoading:je,title:"\u7533\u8BF7\u66F4\u6362\u5206\u7EC4",onOk:$t,open:w.actionTabs.key==="\u7533\u8BF7\u6362\u7EC4",onCancel:()=>{de({type:"classroomList/setActionTabs",payload:{}})}},n.createElement("div",{className:nu.modal},n.createElement(wn.Z,{spinning:pt},n.createElement(v.Z,{align:"middle",justify:"space-between"},n.createElement("div",{className:"c-black"},"\u4F60\u5F53\u524D\u6240\u5728\u5206\u7EC4\xA0",n.createElement("b",null,ye==null?void 0:ye.current_group)),n.createElement(v.Z,{align:"middle"},n.createElement("div",{className:"mr15"},"\u66F4\u6362\u5206\u7EC4"),n.createElement(H.default,{onChange:ke=>{Ee(ke),ot(ke)},value:vt,size:"large",style:{width:248}},(Oe=ye==null?void 0:ye.group_infos)==null?void 0:Oe.map(ke=>n.createElement(H.default.Option,{key:ke.group_id,value:ke.group_id},ke.group_name))))),n.createElement(v.Z,{className:"mt15"},n.createElement("div",{className:nu.member,style:{borderRight:"1px solid #D9DFE8"}},n.createElement(v.Z,{className:nu.head},n.createElement("div",null,ye==null?void 0:ye.current_group,"\u6210\u5458"),n.createElement("div",null,"\u5171",n.createElement("span",{className:"ml5 mr5 c-light-primary"},(be=ye==null?void 0:ye.current_group_members)==null?void 0:be.length),"\u4EBA")),n.createElement(v.Z,{style:{height:"calc(100% - 34px)"}},n.createElement("div",{className:nu.listWrap,style:{borderRight:0}},(re=ye==null?void 0:ye.current_group_members)==null?void 0:re.map(ke=>n.createElement("div",{key:ke.user_id,className:nu.list},n.createElement("img",{src:`${fn.Z.IMG_SERVER}/images/${ke==null?void 0:ke.avatar_url}`}),n.createElement("span",null,ke.real_name),(ke==null?void 0:ke.is_me)&&n.createElement("div",null,"\u6211")))))),n.createElement("div",{className:nu.member},!((me=ye==null?void 0:ye.group_members)!=null&&me.length)&&n.createElement(Ur.Z,null),!!((et=ye==null?void 0:ye.group_members)!=null&&et.length)&&n.createElement(n.Fragment,null,n.createElement(v.Z,{className:nu.head},n.createElement("div",null,(Ne=(tt=ye==null?void 0:ye.group_infos)==null?void 0:tt.find(ke=>ke.group_id===vt))==null?void 0:Ne.group_name,"\u6210\u5458"),n.createElement("div",null,"\u5171",n.createElement("span",{className:"ml5 mr5 c-light-primary"},(le=ye==null?void 0:ye.group_members)==null?void 0:le.length),"\u4EBA")),n.createElement(v.Z,{style:{height:"calc(100% - 34px)"}},n.createElement("div",{className:nu.listWrap,style:{borderLeft:0}},(_e=ye==null?void 0:ye.group_members)==null?void 0:_e.map(ke=>n.createElement("div",{key:ke.user_id,className:nu.list},n.createElement("img",{src:`${fn.Z.IMG_SERVER}/images/${ke==null?void 0:ke.avatar_url}`}),n.createElement("span",null,ke.real_name)))))))),n.createElement(v.Z,{className:"mt15"},n.createElement("div",{className:"mr15",style:{color:"#5F6368"}},"\u66F4\u6362\u539F\u56E0"),n.createElement(A.default.TextArea,{maxLength:300,value:m,onChange:ke=>pe(ke.target.value),style:{width:578},placeholder:"\u8BF7\u8F93\u5165\u6362\u7EC4\u539F\u56E0",size:"large"})))))};var Jr=(0,X.connect)(({classroomList:I})=>({classroomList:I}))(Gr),gu={flex_box_center:"flex_box_center___sf_sV",flex_space_between:"flex_space_between___k0joE",flex_box_vertical_center:"flex_box_vertical_center___fyum8",flex_box_center_end:"flex_box_center_end___UC5kA",flex_box_column:"flex_box_column___JCpJG",Onerow:"Onerow___OAbXd",title:"title___YZryt",export:"export___wcKFT",bg:"bg___fNXI3",tabs:"tabs___hlZi4",workListTabWrap:"workListTabWrap___sjHcT",workListTabButton:"workListTabButton___MOSGf",title_style:"title_style___mGYw9"},Qr=s(25060),Xr=s(82693),$r=s(7621),qr=s(37906),el={TabsStyle:"TabsStyle___TanFG"},Ct=s(59301),tl=Object.defineProperty,nl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,ba=(I,b,w)=>b in I?tl(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,_u=(I,b)=>{for(var w in b||(b={}))al.call(b,w)&&ba(I,w,b[w]);if(ya)for(var w of ya(b))rl.call(b,w)&&ba(I,w,b[w]);return I},hu=(I,b)=>nl(I,ul(b)),Iu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const ll=I=>Iu(void 0,null,function*(){return yield(0,S.ZP)(`/api/student_works/${I.userId}/deal_appeal_score.json`,{method:"post",body:I})}),ol=({globalSetting:I,shixunHomeworks:b,dispatch:w,classroomList:de})=>{var ve,xe,Oe,be,re,me;const et=(0,X.useParams)(),[tt]=(0,X.useSearchParams)(),[Ne]=f.default.useForm(),{workSetting:le}=b,[_e,Ze]=(0,n.useState)(!1),[ye,Ue]=(0,n.useState)(null),[,vt,Ee,pt]=(0,We.U)(Ie.cN,{homeworkId:et==null?void 0:et.categoryId}),[,ee,je,_t]=(0,We.U)(Ie.Qz,{homeworkId:et==null?void 0:et.categoryId}),[,m,pe,ot]=(0,We.U)(Ie.mQ,{homeworkId:et==null?void 0:et.categoryId}),[,,$t,ke]=(0,We.U)(ll,{}),[mt,st]=(0,n.useState)({activeKey:"1",page:1,limit:10,status:""}),tn=[{id:"",name:"\u5168\u90E8"},{id:1,name:"\u5F85\u5BA1\u6838"},{id:3,name:"\u63A5\u53D7\u7533\u8BC9"},{id:4,name:"\u9A73\u56DE\u7533\u8BC9"}],Lt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Se,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u5B66\u751F\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u53CD\u9988\u95EE\u9898",dataIndex:"content",ellipsis:!0,key:"content"},{title:"\u88AB\u53CD\u9988\u95EE\u9898\u7684\u5B66\u751F",dataIndex:"unfeedback_real_name",key:"unfeedback_real_name",ellipsis:!0,width:180,render:(Se,gt)=>Ct.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},Se)},{title:"\u53CD\u9988\u95EE\u9898\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:180,render:Se=>M()(Se).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(Se,gt)=>Ct.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},"\u67E5\u770B")}],zt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Se,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u59D3\u540D",ellipsis:!0,width:180,dataIndex:"real_name",key:"real_name"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"status",ellipsis:!0,key:"status",render:Se=>Se===-1?"\u91CD\u505A\u4E2D":Ct.createElement(d.Uw,{status:Se})},{title:"\u88AB\u8BC4\u6570",dataIndex:"student_comment_count",key:"student_comment_count",ellipsis:!0,width:100},{title:"\u88AB\u533F\u8BC4\u6700\u5927\u5206\u5DEE",dataIndex:"abnormal_score",key:"abnormal_score",width:180},{title:"\u533F\u8BC4\u5206\u6570",dataIndex:"score",key:"score",width:180},{title:"\u533F\u8BC4\u5F02\u5E38\u65F6\u95F4",dataIndex:"abnormal_date",key:"abnormal_date",width:180},{title:"\u64CD\u4F5C",align:"right",dataIndex:"id",key:"id",width:80,render:(Se,gt)=>Ct.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},"\u67E5\u770B")}],Yt=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",ellipsis:!0,width:80,render:(Se,gt,Ye)=>`${((mt==null?void 0:mt.page)-1)*mt.limit+Ye+1}`},{title:"\u7533\u8BC9\u4EBA",ellipsis:!0,dataIndex:"real_name",key:"real_name",width:150,render:(Se,gt)=>Ct.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${gt==null?void 0:gt.student_work_id}`,target:"_blank"},Se)},{title:"\u88AB\u7533\u8BC9\u4EBA",dataIndex:"unappeal_real_name",ellipsis:!0,width:150,key:"unappeal_real_name"},{title:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",dataIndex:"score",key:"score",width:120,ellipsis:!0},{title:"\u7533\u8BC9\u7406\u7531",dataIndex:"comment",key:"comment"},{title:"\u63D0\u4EA4\u7533\u8BC9\u65F6\u95F4",dataIndex:"created_at",key:"created_at",width:150,render:Se=>M()(Se).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",align:"right",dataIndex:"appeal_status",key:"appeal_status",width:150,render:(Se,gt)=>Ct.createElement(Ct.Fragment,null,Se==3&&Ct.createElement("span",{className:"c-grey-333"},"\u5DF2\u63A5\u53D7"),Se==4&&Ct.createElement("span",{className:"c-grey-333"},"\u5DF2\u9A73\u56DE"),Se==1&&Ct.createElement(Ct.Fragment,null,Ct.createElement(we.op,{openLoading:!0,type:"link",style:{padding:0},danger:!0,onClick:()=>Iu(void 0,null,function*(){(yield $t({userId:gt.student_work_id,score_id:gt.student_works_score_id,status:4})).status===0&&Un()})},"\u9A73\u56DE"),Ct.createElement(we.op,{openLoading:!0,className:"ml20",type:"link",style:{padding:0},onClick:()=>Iu(void 0,null,function*(){Ue(gt),Ze(!0)})},"\u63A5\u53D7")))}],Un=(Se=mt)=>{mt.activeKey=="1"&&je({page:Se==null?void 0:Se.page,limit:Se==null?void 0:Se.limit}),mt.activeKey=="2"&&pe({page:Se==null?void 0:Se.page,limit:Se==null?void 0:Se.limit}),mt.activeKey=="3"&&Ee({page:Se==null?void 0:Se.page,limit:Se==null?void 0:Se.limit,status:Se==null?void 0:Se.status})};return(0,n.useEffect)(()=>{Un(mt)},[mt]),(0,n.useEffect)(()=>{console.log("params",et,tt.get("TabsActiveKey")?tt.get("TabsActiveKey"):le!=null&&le.is_new_rule?"3":"1"),st(hu(_u({},mt),{activeKey:tt.get("TabsActiveKey")||"1"}))},[tt.get("TabsActiveKey")]),Ct.createElement(wn.Z,{spinning:ee||vt||m},Ct.createElement("section",{className:"p30",style:{background:"#fff"}},Ct.createElement(l.default,{destroyInactiveTabPane:!0,className:el.TabsStyle,activeKey:mt.activeKey,onChange:Se=>{st(hu(_u({},mt),{activeKey:Se,page:1,limit:10}))}},Ct.createElement(l.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"1"},Ct.createElement(F.default,{className:"mt20",locale:{emptyText:Ct.createElement(ue.Z,null)},columns:Lt,dataSource:((ve=_t==null?void 0:_t.data)==null?void 0:ve.list)||[],pagination:{total:((xe=_t==null?void 0:_t.data)==null?void 0:xe.count)||0,onChange:(Se,gt)=>{st(hu(_u({},mt),{page:Se,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Se=>Ct.createElement(Ct.Fragment,null,"\u5171",Ct.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Se),"\u6761\u6570\u636E")}})),Ct.createElement(l.default.TabPane,{tab:"\u533F\u8BC4\u8BC4\u5206\u5F02\u5E38",key:"2"},Ct.createElement(F.default,{className:"mt20",locale:{emptyText:Ct.createElement(ue.Z,null)},columns:zt,dataSource:((Oe=ot==null?void 0:ot.data)==null?void 0:Oe.list)||[],pagination:{total:((be=ot==null?void 0:ot.data)==null?void 0:be.count)||0,onChange:(Se,gt)=>{st(hu(_u({},mt),{page:Se,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Se=>Ct.createElement(Ct.Fragment,null,"\u5171",Ct.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Se),"\u6761\u6570\u636E")}})),Ct.createElement(l.default.TabPane,{tab:"\u533F\u8BC4\u7533\u8BC9",key:"3"},Ct.createElement(we.qp,{title:"\u7533\u8BC9\u72B6\u6001",className:"mt20",value:mt.status,onChange:Se=>{st(hu(_u({},mt),{status:Se,page:1}))},dataSource:tn,titleWidth:60}),Ct.createElement(F.default,{locale:{emptyText:Ct.createElement(ue.Z,null)},columns:Yt,dataSource:((re=pt==null?void 0:pt.data)==null?void 0:re.list)||[],pagination:{total:((me=pt==null?void 0:pt.data)==null?void 0:me.count)||0,onChange:(Se,gt)=>{st(hu(_u({},mt),{page:Se,limit:gt}))},current:mt==null?void 0:mt.page,pageSize:mt==null?void 0:mt.limit,showTotal:Se=>Ct.createElement(Ct.Fragment,null,"\u5171",Ct.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Se),"\u6761\u6570\u636E")}}))),Ct.createElement(P.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:_e,centered:!0,destroyOnClose:!0,onCancel:()=>{Ze(!1)},maskClosable:!1,width:544,onOk:()=>{Ne.submit()}},Ct.createElement(f.default,{form:Ne,colon:!1,onFinish:Se=>Iu(void 0,null,function*(){(yield $t(hu(_u({},Se),{userId:ye.student_work_id,score_id:ye.student_works_score_id,status:3}))).status===0&&(Un(),Ze(!1))})},Ct.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),Ct.createElement(qr.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:Ct.createElement("a",{href:`/classrooms/${et==null?void 0:et.coursesId}/group_homework/${et==null?void 0:et.categoryId}/review/${ye==null?void 0:ye.student_work_id}`,target:"_blank"},ye==null?void 0:ye.real_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:Ct.createElement("span",{style:{color:"#191919"}},ye==null?void 0:ye.unappeal_real_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:Ct.createElement("span",{style:{color:"#191919"}},ye==null?void 0:ye.score)}]}),Ct.createElement(v.Z,{className:"mt20",wrap:!1},Ct.createElement(o.Z,null,Ct.createElement(f.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},Ct.createElement(te.Z,{min:1,max:100,step:1}))),Ct.createElement(o.Z,null,Ct.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),Ct.createElement(o.Z,null,Ct.createElement(f.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},Ct.createElement(O.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570"))))))))};var sl=(0,X.connect)(({user:I,shixunHomeworks:b,loading:w,globalSetting:de,classroomList:ve})=>({user:I,shixunHomeworks:b,globalSetting:de,loading:w.effects,classroomList:ve}))(ol),Ku={},on=s(59301),il=Object.defineProperty,cl=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,Aa=(I,b,w)=>b in I?il(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Nu=(I,b)=>{for(var w in b||(b={}))ml.call(b,w)&&Aa(I,w,b[w]);if(Ca)for(var w of Ca(b))fl.call(b,w)&&Aa(I,w,b[w]);return I},pl=(I,b)=>cl(I,dl(b)),_l=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const hl=({shixunHomeworks:I,loading:b,globalSetting:w,dispatch:de})=>{const[ve,xe]=(0,n.useState)(Nu(Nu({},(0,X.useParams)()),{page:1,limit:20})),{workList:Oe,workSetting:be}=I,[re,me]=(0,n.useState)([]),et=()=>_l(void 0,null,function*(){const le=yield de({type:"shixunHomeworks/getWorkList",payload:pl(Nu({},ve),{score_open:be==null?void 0:be.score_open,work_public:be==null?void 0:be.work_public})});me((le==null?void 0:le.student_works)||[])});(0,n.useEffect)(()=>{et()},[]);const tt=(le,_e)=>{ve.page=le,ve.limit=20,et()},Ne=[(Oe==null?void 0:Oe.base_on_project)&&{title:"\u5173\u8054\u9879\u76EE",align:"left",dataIndex:"base_on_project",width:200,render:(le,_e)=>{var Ze,ye,Ue,vt,Ee,pt;return{children:((Ze=_e.project_info)==null?void 0:Ze.id)!==-1?on.createElement("a",{target:"_blank",title:(ye=_e.project_info)==null?void 0:ye.name,href:`${(Ue=w==null?void 0:w.setting)==null?void 0:Ue.old_url}${(vt=_e.project_info)==null?void 0:vt.id}`,style:{whiteSpace:"break-spaces"}},(Ee=_e.project_info)==null?void 0:Ee.name):(pt=_e.project_info)==null?void 0:pt.name,props:{rowSpan:_e.rowSpan}}}},{title:"\u59D3\u540D",align:"left",dataIndex:"user_name",ellipsis:!0,width:150,render:(le,_e)=>on.createElement("div",{style:{display:"flex",alignItems:"center"}},on.createElement("span",{className:Ku.atitle,style:{width:_e.is_leader?"":130,maxWidth:_e.is_leader&&80}}," ",le),_e.is_leader&&on.createElement("span",{style:{display:"inline-flex",background:"rgba(22,93,255,0.2)",width:32,height:18,borderRadius:2,color:"#3061D0",alignItems:"center",justifyContent:"center",fontSize:10,marginLeft:10}},"\u7EC4\u957F"))},{title:"\u5B66\u53F7",align:"left",dataIndex:"student_id",sortDirections:["descend","ascend"],width:80,ellipsis:!0,sorter:!(Oe!=null&&Oe.base_on_project),render:le=>on.createElement("span",{style:{color:"#666666"}},le)},{title:"\u5F53\u524D\u6210\u7EE9",align:"left",dataIndex:"work_score",sortDirections:["descend","ascend"],sorter:!(Oe!=null&&Oe.base_on_project),render:(le,_e)=>on.createElement(C.Z,{placement:"bottom",title:on.createElement("div",null,on.createElement("div",null,_e.teacher_score?`\u6559\u5E08\u8BC4\u5206\uFF1A${_e.teacher_score}\u5206`:"\u6559\u5E08\u8BC4\u5206\uFF1A0.0\u5206"),on.createElement("div",null,_e.teaching_asistant_score?`\u52A9\u6559\u8BC4\u5206\uFF1A${_e.teaching_asistant_score}\u5206`:"\u52A9\u6559\u8BC4\u5206\uFF1A0.0\u5206"),Oe!=null&&Oe.anonymous_comment?on.createElement("div",null,_e.student_score?`\u533F\u8BC4\u8BC4\u5206\uFF1A${_e.student_score}\u5206`:"\u533F\u8BC4\u8BC4\u5206\uFF1A0.0\u5206"):"",Oe!=null&&Oe.is_group_grade?on.createElement("div",null,_e.group_leader_score?`\u7EC4\u957F\u8BC4\u5206\uFF1A${_e.group_leader_score}\u5206`:"\u7EC4\u957F\u8BC4\u5206\uFF1A0.0\u5206"):"",on.createElement("div",null,_e.late_penalty?`\u8FDF\u4EA4\u6263\u5206\uFF1A${_e.late_penalty}\u5206`:"\u8FDF\u4EA4\u6263\u5206\uFF1A0.0\u5206"),on.createElement("div",null,_e.repeat_minus_score?`\u67E5\u91CD\u6263\u5206\uFF1A${_e.repeat_minus_score}\u5206`:"\u67E5\u91CD\u6263\u5206\uFF1A0.0\u5206"),Oe!=null&&Oe.anonymous_comment?on.createElement("div",null,_e.absence_penalty?`\u7F3A\u8BC4\u6263\u5206\uFF1A${_e.absence_penalty}\u5206`:"\u7F3A\u8BC4\u6263\u5206\uFF1A0.0\u5206"):"",on.createElement("div",null,_e.work_score?`\u6700\u7EC8\u6210\u7EE9\uFF1A${_e.work_score}\u5206`:"\u6700\u7EC8\u6210\u7EE9\uFF1A0.0\u5206"),!(Oe!=null&&Oe.is_jupyter||Oe!=null&&Oe.is_jupyter_lab)&&on.createElement("div",{onClick:Ze=>{Ze.stopPropagation(),X.history.push(`/classrooms/${ve.coursesId}/group_homework/${ve.categoryId}/review/${_e.id}`)},style:{color:"#8bb6fd",cursor:"pointer"}},"\u67E5\u770B\u8BC4\u5206 >"))},le>0?on.createElement("span",{style:{color:"#ff8100"}},le):le)},(Oe==null?void 0:Oe.base_on_project)&&{title:"\u4EE3\u7801\u884C\u6570",align:"left",dataIndex:"code_lines_count",render:le=>le||"--"},(Oe==null?void 0:Oe.base_on_project)&&{title:"issue\u6570\u91CF",align:"left",dataIndex:"issues_count",render:(le,_e)=>le||"--"},(Oe==null?void 0:Oe.base_on_project)&&{title:"\u66F4\u65B0\u65F6\u95F4",align:"left",dataIndex:"update_time",width:140,render:(le,_e)=>({children:le?on.createElement("span",{style:{display:"block",alignItems:"center"}},"\u66F4\u65B0\u4EE3\u7801",on.createElement("br",null),M()(le).format("YYYY-MM-DD HH:mm")):"--",props:{rowSpan:_e.rowSpan}})},{title:"\u4F5C\u54C1\u72B6\u6001",dataIndex:"work_status",align:"left",render:(le,_e)=>({children:le===-1?"\u91CD\u505A\u4E2D":on.createElement(d.Uw,{status:le}),props:{rowSpan:_e.rowSpan}})},!(Oe!=null&&Oe.base_on_project)&&{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group",width:70,render:(le,_e)=>({children:on.createElement("span",{className:"c-blue"},le),props:{rowSpan:_e.rowSpan}})},{title:"\u64CD\u4F5C",width:Oe!=null&&Oe.base_on_project?100:150,align:"left",dataInex:"action",render:(le,_e)=>Oe!=null&&Oe.work_public?on.createElement("a",{className:"c-blue",onClick:Ze=>{Ze.preventDefault(),X.history.push(`/classrooms/${ve.coursesId}/group_homework/${ve.categoryId}/review/${_e.id}`)}}," \u67E5\u770B "):"--"}].filter(le=>!!le);return on.createElement("div",{className:"p30 bg-white"},on.createElement("aside",{style:{paddingBottom:30}},on.createElement(F.default,{loading:b["shixunHomeworks/getWorkList"],rowKey:"id",bordered:!0,rowClassName:(le,_e)=>(le==null?void 0:le.item_index)%2===0&&Ku.tables,className:Ku.tableWrapper,hideOnSinglePage:!0,pagination:!1,dataSource:re,columns:Ne,onChange:(le,_e,Ze)=>{if(Ze.order===void 0)switch(Ze.field){case"student_id":ve.b_order="desc",ve.order=Ze.field;break;default:delete ve.b_order,delete ve.order}else ve.b_order=Ze.order.replace("end",""),ve.order=Ze.field;de({type:"shixunHomeworks/getWorkList",payload:Nu({},ve)})}})),on.createElement(K.Z,{showSizeChanger:!1,style:{paddingBottom:30},hideOnSinglePage:!0,onChange:tt,defaultCurrent:ve.page||1,current:ve.page||1,defaultPageSize:20,total:I.workList.work_count}))};var El=(0,X.connect)(({shixunHomeworks:I,classroomList:b,globalSetting:w,loading:de})=>({shixunHomeworks:I,classroomList:b,loading:de.effects,globalSetting:w}))(hl),vl=s(54580),Fu=s(59301),gl=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const{Dragger:Sl}=vl.default,Fl=({})=>{const I=(0,X.useParams)(),[b]=f.default.useForm(),[w,de]=(0,n.useState)([]),[ve,xe]=(0,n.useState)(!1);let[Oe,be]=(0,n.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});function re(){return gl(this,null,function*(){var me,et;let tt;xe(!0),window.location.href.indexOf("exercise")>-1?tt=`/api/exercises/${I==null?void 0:I.categoryId}/redo_logs.json`:tt=`/api/homework_commons/${I==null?void 0:I.categoryId}/redo_logs.json`;let Ne=yield(0,S.ZP)(tt,{method:"get",params:Oe});if(xe(!1),(Ne==null?void 0:Ne.status)===0){let le=[];(et=(me=Ne==null?void 0:Ne.data)==null?void 0:me.list)==null||et.map((_e,Ze)=>{var ye;(ye=_e==null?void 0:_e.group_infos)==null||ye.map((Ue,vt)=>{var Ee,pt,ee;Ue.rowSpan=vt==0?(Ee=_e==null?void 0:_e.group_infos)==null?void 0:Ee.length:((ee=(pt=_e==null?void 0:_e.group_infos)==null?void 0:pt.filter(je=>je.work_group_id))==null?void 0:ee.length)>0?0:1,le.push(Ue)})}),de([...le])}})}return(0,n.useEffect)(()=>{re()},[]),Fu.createElement("div",{style:{padding:"30px",background:"#fff"}},Fu.createElement(F.default,{loading:ve,bordered:!0,columns:[{title:"\u5206\u7EC4",align:"left",dataIndex:"work_group_name",width:200,render:(me,et)=>({children:Fu.createElement("span",null,me),props:{rowSpan:et.rowSpan}})},{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(me,et)=>({children:Fu.createElement("span",null,M()(me).format("YYYY-MM-DD HH:mm:ss")),props:{rowSpan:et.rowSpan}})},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator",render:(me,et)=>({children:Fu.createElement("span",null,me),props:{rowSpan:et.rowSpan}})}],dataSource:w,pagination:!1}),Fu.createElement(K.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(me,et)=>{Oe.page=me,Oe.limit=et,be(Oe),re()},current:Oe.page,total:w.count,pageSize:Oe.limit,style:{marginTop:20}}))};var yl=(0,X.connect)(({classroomList:I})=>({classroomList:I}))(Fl),nt=s(59301),bl=Object.defineProperty,Cl=Object.defineProperties,Al=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable,Ba=(I,b,w)=>b in I?bl(I,b,{enumerable:!0,configurable:!0,writable:!0,value:w}):I[b]=w,Wn=(I,b)=>{for(var w in b||(b={}))wl.call(b,w)&&Ba(I,w,b[w]);if(wa)for(var w of wa(b))Bl.call(b,w)&&Ba(I,w,b[w]);return I},Zu=(I,b)=>Cl(I,Al(b)),Eu=(I,b,w)=>new Promise((de,ve)=>{var xe=re=>{try{be(w.next(re))}catch(me){ve(me)}},Oe=re=>{try{be(w.throw(re))}catch(me){ve(me)}},be=re=>re.done?de(re.value):Promise.resolve(re.value).then(xe,Oe);be((w=w.apply(I,b)).next())});const xl=({shixunHomeworks:I,classroomList:b,globalSetting:w,dispatch:de,user:ve})=>{var xe,Oe,be,re,me,et,tt,Ne,le;const[_e,Ze]=(0,n.useState)(Wn({},(0,X.useParams)())),[ye]=(0,X.useSearchParams)(),Ue=(0,X.useLocation)(),[vt,Ee]=(0,n.useState)(ye.get("tabs")||"0"),[pt,ee]=(0,n.useState)(!1),[je,_t]=(0,n.useState)(1),m=(0,n.useRef)(null),{workList:pe,workSetting:ot}=I,[$t,ke]=(0,n.useState)(!1),[mt,st]=(0,n.useState)([]),[tn,Lt]=(0,n.useState)([]),[zt,Yt]=(0,n.useState)(!1),[Un,Se]=(0,n.useState)(!1),[,,gt]=(0,We.U)(Ie.Gw,{homeworkId:pe==null?void 0:pe.id});ye.get("category_id")&&Ze(Zu(Wn({},_e),{category:ye.get("category_id")})),(0,n.useEffect)(()=>{Ye()},[_e.coursesId]),(0,n.useEffect)(()=>{de({type:"classroomList/getAssistantPermissions",payload:{course_id:_e.coursesId}})},[(0,r.bg)()]);const Ye=()=>{let lt=ye.get("page")&&JSON.parse(localStorage.getItem("grouphomeworkkey"));de({type:"shixunHomeworks/getWorkList",payload:Wn(Wn({},_e),lt)})},gn=[{name:(0,r.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u54C1\u5217\u8868",id:0,component:nt.createElement(Sn,{zip:m,btnLoading:pt,setBtnLoading:ee})},((0,r.dE)()||(pe==null?void 0:pe.can_public_work))&&{name:"\u516C\u5F00\u4F5C\u54C1",id:"11",component:nt.createElement(El,null)},{name:"\u4F5C\u4E1A\u63CF\u8FF0",id:1,component:nt.createElement("div",{className:"minH500"},nt.createElement(ft,null))},{name:"\u91CD\u505A\u8BB0\u5F55",id:9,hidden:(xe=pe.homework_status)==null?void 0:xe.includes("\u5BFC\u5165"),component:nt.createElement(yl,null)},{name:"\u5206\u7EC4\u8C03\u6574\u7533\u8BF7",id:6,component:nt.createElement(Wr,null)},{name:"\u53C2\u8003\u7B54\u6848",id:2,component:nt.createElement(cn,null)},(0,r.G5)()&&(ot==null?void 0:ot.anonymous_comment)&&{name:nt.createElement(B.Z,{dot:pe==null?void 0:pe.appeal_notice,offset:[5,-5]},nt.createElement("span",{style:{color:vt=="10"?"":"#b9b8b8"}},"\u533F\u8BC4\u8BE6\u60C5")),id:"10",component:nt.createElement(sl,null)},{name:(0,r.GJ)()?"\u8BBE\u7F6E":"\u5F97\u5206\u89C4\u5219",id:3,component:(Oe=pe==null?void 0:pe.homework_status)!=null&&Oe.includes("\u5BFC\u5165")?nt.createElement(Qr.Z,null):nt.createElement(Pr,null),forceRender:!0}].filter(lt=>pe!=null&&pe.view_answer?lt:(lt==null?void 0:lt.name)!=="\u53C2\u8003\u7B54\u6848").filter(lt=>pe!=null&&pe.is_show_request?lt:(lt==null?void 0:lt.name)!=="\u5206\u7EC4\u8C03\u6574\u7533\u8BF7").filter(lt=>(0,r.G5)()?lt:(lt==null?void 0:lt.name)!=="\u5B66\u751F\u5206\u7EC4").filter(lt=>{var Mt;return(Mt=pe==null?void 0:pe.homework_status)!=null&&Mt.includes("\u5BFC\u5165")?(0,r.dE)()?[0,1].includes(lt==null?void 0:lt.id):[0,1,3].includes(lt==null?void 0:lt.id):lt}),Fn=()=>{var lt,Mt,Zt,Re,Me,Vt,wt,Ht,en,Tt,Jt,Ut,dn,On,Pn,Bt,Xn,uu;return nt.createElement("div",{className:gu.workListTabButton},(0,r.GJ)()&&nt.createElement(nt.Fragment,null,(((lt=pe.homework_status)==null?void 0:lt.includes("\u672A\u53D1\u5E03"))||((Mt=pe.homework_status)==null?void 0:Mt.includes("\u672A\u5F00\u59CB")))&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:nn=>{nn.preventDefault(),de({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[_e.categoryId],selectArrsAll:[pe],params:Zu(Wn({},_e),{id:_e.coursesId}),type:2,manage_all_group:ot==null?void 0:ot.manage_all_group,detail:"\u66F4\u65B0"}})}},"\u7ACB\u5373\u53D1\u5E03"),!((Zt=pe.homework_status)!=null&&Zt.includes("\u672A\u53D1\u5E03"))&&!((Re=pe.homework_status)!=null&&Re.includes("\u672A\u5F00\u59CB"))&&!((Me=pe.homework_status)!=null&&Me.includes("\u5DF2\u622A\u6B62"))&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:nn=>{var mn,Fe;if((0,r.Rm)()&&!((Fe=(mn=b==null?void 0:b.AssistantObject)==null?void 0:mn.group)!=null&&Fe.can_stop)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nn.preventDefault(),de({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",selectArrs:[_e.categoryId],selectArrsAll:[],params:Zu(Wn({},_e),{id:_e.coursesId}),type:2}})}},"\u7ACB\u5373\u622A\u6B62"),(0,r.j5)()&&nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("img",{style:{transform:"translate(-3px, -1px)"},src:Tr}),onClick:()=>{de({type:"classroomList/setActionTabs",payload:{key:"\u667A\u80FD\u5206\u7EC4",params:Zu(Wn({},_e),{id:_e.coursesId})}})}},"\u667A\u80FD\u5206\u7EC4"),nt.createElement(U.ZP,{type:"primary",icon:nt.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var nn,mn;if((0,r.Rm)()&&!((mn=(nn=b==null?void 0:b.AssistantObject)==null?void 0:nn.group)!=null&&mn.can_create)){_.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}X.history.push(`/classrooms/${_e.coursesId}/group_homework/${_e.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A")),((Vt=pe==null?void 0:pe.work_statuses)==null?void 0:Vt.includes("\u53D6\u6D88\u5173\u8054"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>Eu(void 0,null,function*(){const nn=yield(0,Ie.rN)({homeworkId:_e.categoryId});(nn==null?void 0:nn.status)===0&&(_.ZP.success("\u53D6\u6D88\u5173\u8054\u6210\u529F"),de({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)}))})},"\u53D6\u6D88\u5173\u8054"),((wt=pe==null?void 0:pe.work_statuses)==null?void 0:wt.includes("\u5173\u8054\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{var nn;return(0,d.xg)(`${(nn=w==null?void 0:w.setting)==null?void 0:nn.old_url}/projects/deposit/new`)}},"\u521B\u5EFA\u9879\u76EE"),((Ht=pe==null?void 0:pe.work_statuses)==null?void 0:Ht.includes("\u5173\u8054\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:nn=>{nn.preventDefault(),de({type:"classroomList/setActionTabs",payload:{key:"\u5173\u8054\u9879\u76EE",params:_e,selectArrs:{homework_id:_e.categoryId},cb:()=>{de({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)})}}})}},"\u5173\u8054\u9879\u76EE"),((en=pe==null?void 0:pe.work_statuses)==null?void 0:en.includes("\u63D0\u4EA4\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/post`)},"\u63D0\u4EA4\u4F5C\u54C1"),((Tt=pe==null?void 0:pe.work_statuses)==null?void 0:Tt.includes("\u521B\u5EFA\u5206\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>Eu(void 0,null,function*(){var nn;let mn=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_member_list.json`,{method:"get",params:{}});(mn==null?void 0:mn.status)===0&&(ke(!0),st(mn==null?void 0:mn.data),Lt((nn=mn==null?void 0:mn.data)==null?void 0:nn.filter(Fe=>{var Be;return(Fe==null?void 0:Fe.user_id)===((Be=ve==null?void 0:ve.userInfo)==null?void 0:Be.user_id)})))})},"\u521B\u5EFA\u5206\u7EC4"),((Jt=pe==null?void 0:pe.work_statuses)==null?void 0:Jt.includes("\u52A0\u5165\u5206\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:(0,Ae.throttle)(()=>Eu(void 0,null,function*(){var nn;let mn=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_group_list.json`,{method:"get"});if((mn==null?void 0:mn.status)===0){if(((nn=mn==null?void 0:mn.data)==null?void 0:nn.length)<=0){_.ZP.info("\u6682\u65E0\u5206\u7EC4");return}Yt(!0),Se(mn==null?void 0:mn.data)}}),300)},"\u52A0\u5165\u5206\u7EC4"),((Ut=pe==null?void 0:pe.work_statuses)==null?void 0:Ut.includes("\u66F4\u6362\u9879\u76EE"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{de({type:"classroomList/setActionTabs",payload:{key:"\u66F4\u6362\u9879\u76EE",params:_e,selectArrs:{homework_id:pe==null?void 0:pe.id},cb:()=>{de({type:"shixunHomeworks/getWorkList",payload:Wn({},_e)})}}})}},"\u66F4\u6362\u9879\u76EE"),((dn=pe==null?void 0:pe.work_statuses)==null?void 0:dn.includes("\u7533\u8BF7\u6362\u7EC4"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{de({type:"classroomList/setActionTabs",payload:{key:"\u7533\u8BF7\u6362\u7EC4",params:_e}})}},"\u7533\u8BF7\u6362\u7EC4"),((On=pe==null?void 0:pe.work_statuses)==null?void 0:On.includes("\u4FEE\u6539\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{const nn=()=>{(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/${pe.id}/edit`)};if(ot!=null&&ot.can_submit&&!(ot!=null&&ot.submit_size)){_.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}nn()}},"\u4FEE\u6539\u4F5C\u54C1"),((Pn=pe==null?void 0:pe.work_statuses)==null?void 0:Pn.includes("\u8865\u4EA4\u4F5C\u54C1"))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>(0,d.xg)(`/classrooms/${pe.course_id}/group_homework/${pe.homework_id}/post`)},"\u8865\u4EA4\u4F5C\u54C1"),(((Bt=pe==null?void 0:pe.work_statuses)==null?void 0:Bt.includes("\u8865\u4EA4\u9644\u4EF6"))||((Xn=pe==null?void 0:pe.work_statuses)==null?void 0:Xn.includes("\u4FEE\u6539\u9644\u4EF6")))&&nt.createElement(U.ZP,{type:"primary",onClick:()=>{var nn;if(ot!=null&&ot.can_submit&&!(ot!=null&&ot.submit_size)){_.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}de({type:"classroomList/setActionTabs",payload:{key:"\u8865\u4EA4\u9644\u4EF6",params:_e,selectArrs:Wn({},pe),title:(nn=pe==null?void 0:pe.work_statuses)!=null&&nn.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"}})}},(uu=pe==null?void 0:pe.work_statuses)!=null&&uu.includes("\u4FEE\u6539\u9644\u4EF6")?"\u4FEE\u6539\u9644\u4EF6":"\u8865\u4EA4\u9644\u4EF6"))};return nt.createElement("section",{className:gu.bg},nt.createElement("div",{className:"edu-container"},pe.homework_name&&nt.createElement("section",{className:"animated fadeIn"},nt.createElement("aside",{className:"mt10"},pe.category&&nt.createElement(D.Z,{separator:">"},nt.createElement(D.Z.Item,null,nt.createElement(X.Link,{to:`/classrooms/${_e==null?void 0:_e.coursesId}/group_homework`},pe.course_name)),nt.createElement(D.Z.Item,null,nt.createElement(X.Link,{to:`/classrooms/${_e==null?void 0:_e.coursesId}/group_homework/${(be=pe==null?void 0:pe.category)!=null&&be.main?"":(re=pe==null?void 0:pe.category)==null?void 0:re.category_id}`},pe.category.category_name)),nt.createElement(D.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),nt.createElement("aside",{className:[gu.title,"mt20"].join(" ")},nt.createElement(X.Link,{to:`/classrooms/${pe.course_id}/group_homework`},nt.createElement(p.Z,{className:"font16 c-black"})),nt.createElement(C.Z,{placement:"topLeft",title:pe.homework_name},nt.createElement("strong",{className:[gu.title_style,"font20 ml5"].join(" ")},pe.homework_name)),nt.createElement(d.VV,{status:pe==null?void 0:pe.homework_status}))),nt.createElement("aside",{className:`mt30 relative ${gu.workListTabWrap}`},nt.createElement(l.default,{destroyInactiveTabPane:!0,type:"card",activeKey:vt,tabBarExtraContent:(me=pe.homework_status)!=null&&me.includes("\u5BFC\u5165")&&(0,r.GJ)()?nt.createElement(U.ZP,{icon:nt.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{de({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:pe==null?void 0:pe.homework_name,id:pe==null?void 0:pe.homework_id,type:"group"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):Fn(),onTabClick:(lt,Mt)=>{const Zt=()=>{if(parseInt(lt)===2){if(!(pe!=null&&pe.view_answer)){_.ZP.info("\u672C\u6B21\u4F5C\u4E1A\u8001\u5E08\u672A\u516C\u5F00\u7B54\u6848");return}(pe==null?void 0:pe.time_status)>2||(0,r.Gg)()?Ee(lt):_.ZP.info("\u622A\u6B62\u4E4B\u540E\u7684\u8BD5\u5377\u624D\u80FD\u67E5\u770B\u7B54\u6848")}else parseInt(lt)===3&&de({type:"shixunHomeworks/getWorkSetting",payload:Wn({},_e)}),Ee(lt)};lt!=="11"&&Ye(),I.actionTabs.key=="\u53D1\u5E03\u8BBE\u7F6E\u79BB\u5F00"?P.default.confirm({centered:!0,title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",onOk:()=>{Zt(),de({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}}):Zt()},className:gu.tabs,items:gn.map(lt=>({label:lt.name,key:`${lt.id}`,children:lt.component,forceRender:lt.forceRender}))}))),nt.createElement(kr.Z,null),nt.createElement(P.default,{title:"\u521B\u5EFA\u5206\u7EC4",open:$t,width:800,onCancel:()=>{ke(!1),Lt([])},onOk:()=>Eu(void 0,null,function*(){var lt,Mt;if(((lt=pe==null?void 0:pe.group_data)==null?void 0:lt.max_num)<(tn==null?void 0:tn.length)){_.ZP.error(`\u4EBA\u6570\u4E0D\u80FD\u8D85\u8FC7${(Mt=pe==null?void 0:pe.group_data)==null?void 0:Mt.max_num}`);return}let Zt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/create_group.json`,{method:"post",body:{user_id:tn==null?void 0:tn.map(Re=>Re.user_id)}});(Zt==null?void 0:Zt.status)===0&&(_.ZP.info("\u521B\u5EFA\u6210\u529F"),Ye(),ke(!1))})},nt.createElement("div",null,nt.createElement(v.Z,{style:{marginBottom:10}},nt.createElement(o.Z,{span:12},"\u7EC4\u5458\u6570\u91CF\u8981\u6C42\uFF1A",(et=pe==null?void 0:pe.group_data)==null?void 0:et.min_num,"~",(tt=pe==null?void 0:pe.group_data)==null?void 0:tt.max_num,"\u4EBA"),nt.createElement(o.Z,{span:12},nt.createElement(A.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onSearch:lt=>Eu(void 0,null,function*(){let Mt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_member_list.json`,{method:"get",params:{keyword:lt}});(Mt==null?void 0:Mt.status)===0&&st(Mt==null?void 0:Mt.data)})}))),nt.createElement(F.default,{dataSource:mt,pagination:!1,rowKey:lt=>lt.user_id,style:{border:"1px solid #F6F7F9",minWidth:550},rowSelection:{type:"checkbox",getCheckboxProps:lt=>({disabled:(lt==null?void 0:lt.user_id)===ve.userInfo.user_id}),selectedRowKeys:tn==null?void 0:tn.map(lt=>lt.user_id),onChange(lt,Mt,Zt){Lt([...Mt])}},scroll:{y:400},columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u5206\u73ED",dataIndex:"course_group_name",key:"course_group_name"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id"}]}))),nt.createElement(P.default,{title:"\u52A0\u5165\u5206\u7EC4",open:zt,width:800,onCancel:()=>{Yt(!1)},footer:!1},nt.createElement("div",null,nt.createElement(v.Z,{style:{marginBottom:10}},nt.createElement(o.Z,{span:12},"\u7EC4\u5458\u6570\u91CF\u8981\u6C42\uFF1A",(Ne=pe==null?void 0:pe.group_data)==null?void 0:Ne.min_num,"~",(le=pe==null?void 0:pe.group_data)==null?void 0:le.max_num,"\u4EBA"),nt.createElement(o.Z,{span:12},nt.createElement(A.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u961F\u957F\u540D\u79F0",onSearch:lt=>Eu(void 0,null,function*(){let Mt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/get_group_list.json`,{method:"get",params:{keyword:lt}});(Mt==null?void 0:Mt.status)===0&&Se(Mt==null?void 0:Mt.data)})}))),nt.createElement(F.default,{dataSource:Un,pagination:!1,rowKey:lt=>lt.user_id,style:{border:"1px solid #F6F7F9",minWidth:550},scroll:{y:400},columns:[{title:"\u7EC4\u540D",dataIndex:"group_name",key:"group_name"},{title:"\u961F\u957F",dataIndex:"leader_name",key:"leader_name"},{title:"\u6210\u5458\u6570",dataIndex:"user_list",key:"user_list"},{title:"\u64CD\u4F5C",dataIndex:"group_id",key:"group_id",render:(lt,Mt)=>nt.createElement(U.ZP,{disabled:Mt==null?void 0:Mt.can_join,onClick:()=>Eu(void 0,null,function*(){let Zt=yield(0,S.ZP)(`/api/homework_commons/${pe.homework_id}/join_group.json`,{method:"post",body:{group_id:lt}});(Zt==null?void 0:Zt.status)===0&&(_.ZP.info("\u52A0\u5165\u6210\u529F"),Ye(),Yt(!1))})},Mt!=null&&Mt.can_join?"\u5DF2\u6EE1":"\u52A0\u5165")}]}))),nt.createElement(Sr.Z,null),nt.createElement(Xr.Z,{onOk:()=>{Ye()}}),nt.createElement($r.Z,{onOk:()=>{Ye()}}),nt.createElement(Vn.Z,{type:"edit",onCallback:()=>Ye(),courseEndTime:pe==null?void 0:pe.course_end_date}),nt.createElement(Da.Z,{courseEndTime:pe==null?void 0:pe.course_end_date,successCallback:()=>Ye(),visible:b.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[_e.categoryId],courseId:_e.coursesId,isBatch:!1}),nt.createElement(xa,{cb:()=>{_t(je+1),Ee("0"),Ye()}}),nt.createElement(Jr,{cb:()=>{}}),nt.createElement(Ir.Z,{ref:m,hide:!0,name:`${pe==null?void 0:pe.homework_name}-\u4F5C\u54C1\u9644\u4EF6`,onOk:()=>ee(!1)}))};var Dl=(0,X.connect)(({user:I,shixunHomeworks:b,loading:w,globalSetting:de,classroomList:ve})=>({user:I,shixunHomeworks:b,globalSetting:de,loading:w.effects,classroomList:ve}))(xl)},99562:function(yt,Ke,s){"use strict";var n=s(78241),X=s(43418),B=s(8591),U=s(92832),_=s(36708),D=s(89070),C=s(57490),l=s(59301),P=Object.defineProperty,v=Object.defineProperties,o=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(T,K,k)=>K in T?P(T,K,{enumerable:!0,configurable:!0,writable:!0,value:k}):T[K]=k,r=(T,K)=>{for(var k in K||(K={}))F.call(K,k)&&d(T,k,K[k]);if(A)for(var k of A(K))p.call(K,k)&&d(T,k,K[k]);return T},f=(T,K)=>v(T,o(K)),h=(T,K,k)=>new Promise((te,H)=>{var $=ae=>{try{V(k.next(ae))}catch(S){H(S)}},z=ae=>{try{V(k.throw(ae))}catch(S){H(S)}},V=ae=>ae.done?te(ae.value):Promise.resolve(ae.value).then($,z);V((k=k.apply(T,K)).next())});const O=({classroomList:T,loading:K,dispatch:k,shixunHomeworks:te})=>{const H=(0,D.useParams)(),[$]=n.default.useForm(),{workList:z,workSetting:V}=te,ae=()=>{k({type:"shixunHomeworks/getWorkSetting",payload:r({},H)}),k({type:"shixunHomeworks/getWorkList",payload:r({},H)})};return l.createElement(X.default,{centered:!0,title:T.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6",open:T.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>h(void 0,null,function*(){const S=()=>h(void 0,null,function*(){var ue;yield $.validateFields();const c=r({},$.getFieldValue()),{selectArrs:ne}=T.actionTabs;c.attachment_ids=(ue=c.attachment_ids)==null?void 0:ue.map(q=>q.response.id),(yield(0,_.mz)(f(r({},c),{homeworkId:ne.work_id}))).status===0&&($.resetFields(),k({type:"classroomList/setActionTabs",payload:{}}),ae())});if(V!=null&&V.can_submit){if(!(V!=null&&V.submit_size)){B.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}X.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:l.createElement(l.Fragment,null,"\u4F60\u8FD8\u6709 ",l.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},V==null?void 0:V.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{S()}});return}S()}),onCancel:()=>{k({type:"classroomList/setActionTabs",payload:{}})}},l.createElement(n.default,{form:$,initialValues:{}},l.createElement(n.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},l.createElement(C.Z,null)),l.createElement(n.default.Item,{name:"description"},l.createElement(U.default.TextArea,{placeholder:`\u8BF7\u5728\u6B64\u8F93\u5165${T.actionTabs.title||"\u8865\u4EA4\u9644\u4EF6"}\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26`,rows:7}))))};Ke.Z=(0,D.connect)(({classroomList:T,shixunHomeworks:K,loading:k})=>({classroomList:T,shixunHomeworks:K,loading:k}))(O)},56845:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),B=s(43418),U=s(61621),_=s(92832),D=s(5112),C=s(95237),l=s(43604),P=s(26724),v=s.n(P),o=s(99064),A=s(36708),F=s(89070),p=s(59301),d=Object.defineProperty,r=Object.defineProperties,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,K=(z,V,ae)=>V in z?d(z,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[V]=ae,k=(z,V)=>{for(var ae in V||(V={}))O.call(V,ae)&&K(z,ae,V[ae]);if(h)for(var ae of h(V))T.call(V,ae)&&K(z,ae,V[ae]);return z},te=(z,V)=>r(z,f(V)),H=(z,V,ae)=>new Promise((S,ue)=>{var c=q=>{try{Q(ae.next(q))}catch(oe){ue(oe)}},ne=q=>{try{Q(ae.throw(q))}catch(oe){ue(oe)}},Q=q=>q.done?S(q.value):Promise.resolve(q.value).then(c,ne);Q((ae=ae.apply(z,V)).next())});const $=({classroomList:z,loading:V,globalSetting:ae,dispatch:S})=>{var ue;const c=(0,F.useParams)(),[ne]=X.default.useForm(),[Q,q]=(0,n.useState)(!0);let[oe,Y]=(0,n.useState)([]);const[x,g]=(0,n.useState)({page:1,limit:20,keyword:""}),E=()=>H(void 0,null,function*(){var Z;const L=yield S({type:"shixunHomeworks/getProjectList",payload:k(k({},c),x)});L.projects&&Y([...oe,...L.projects]),((Z=L.projects)==null?void 0:Z.length)<20&&q(!1)});return(0,n.useEffect)(()=>{(z.actionTabs.key==="\u5173\u8054\u9879\u76EE"||z.actionTabs.key==="\u66F4\u6362\u9879\u76EE")&&(E(),oe=[],x.page=1,x.keyword="")},[z.actionTabs.key]),p.createElement(B.default,{centered:!0,title:z.actionTabs.key==="\u66F4\u6362\u9879\u76EE"?"\u66F4\u6362\u9879\u76EE":"\u5173\u8054\u9879\u76EE",open:z.actionTabs.key==="\u5173\u8054\u9879\u76EE"||z.actionTabs.key==="\u66F4\u6362\u9879\u76EE",bodyStyle:{minHeight:100},onOk:()=>H(void 0,null,function*(){yield ne.validateFields();const Z=k({},ne.getFieldValue()),{selectArrs:L,cb:J}=z.actionTabs;if(z.actionTabs.key==="\u66F4\u6362\u9879\u76EE"){let De=yield(0,o.ZP)(`/api/student_works/${L.homework_id}/change_project.json`,{method:"put",body:k({},Z)});(De==null?void 0:De.status)===0&&(J(),S({type:"classroomList/setActionTabs",payload:{}}));return}(yield(0,A.co)(te(k({},Z),{homeworkId:L.homework_id}))).status===0&&(J?J():S({type:"classroomList/getClassroomCommonHomeworksList",payload:k({},z.actionTabs.params)}),S({type:"classroomList/setActionTabs",payload:{}}))}),onCancel:()=>{S({type:"classroomList/setActionTabs",payload:{}})}},p.createElement(U.Z,{loading:V["shixunHomeworks/getProjectList"],active:!0},oe==""?p.createElement("aside",null,p.createElement("div",{className:"tc font14 pt20"},"\u60A8\u5F53\u524D\u5C1A\u672A\u7BA1\u7406\u4EFB\u4F55\u9879\u76EE\uFF0C\u8BF7\u5148",p.createElement("a",{href:`${(ue=ae==null?void 0:ae.setting)==null?void 0:ue.old_url}/projects/deposit/new`,target:"_blank"},"\u521B\u5EFA\u9879\u76EE"),"\u518D\u5173\u8054")):p.createElement("aside",null,p.createElement("div",{className:" mb20"},p.createElement(_.default.Search,{onSearch:Z=>{Z===""?delete x.keyword:x.keyword=Z,oe=[],q(!0),E()},placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,size:"middle"})),p.createElement(X.default,{form:ne,initialValues:{}},p.createElement(X.default.Item,{name:"project_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE"}]},p.createElement(D.ZP.Group,null,p.createElement(v(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Z=>{x.page++,E()},hasMore:Q,useWindow:!1},oe==null?void 0:oe.map(function(Z,L){return p.createElement(C.Z,{key:L},p.createElement(l.Z,null,p.createElement(D.ZP,{value:Z.id},Z.name)))}))))))))};Ke.Z=(0,F.connect)(({classroomList:z,user:V,loading:ae,globalSetting:S})=>({classroomList:z,user:V,loading:ae.effects,globalSetting:S}))($)},95036:function(yt,Ke,s){"use strict";var n=s(59301),X=s(78241),B=s(8591),U=s(43418),_=s(95237),D=s(43604),C=s(5083),l=s(5112),P=s(24905),v=s(61186),o=s.n(v),A=s(99064),F=s(24065),p=s(955),d=s(89070),r=s(59437),f=s(50757),h=s(92365),O=s(79834),T=s(59301),K=Object.defineProperty,k=Object.defineProperties,te=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,V=(Q,q,oe)=>q in Q?K(Q,q,{enumerable:!0,configurable:!0,writable:!0,value:oe}):Q[q]=oe,ae=(Q,q)=>{for(var oe in q||(q={}))$.call(q,oe)&&V(Q,oe,q[oe]);if(H)for(var oe of H(q))z.call(q,oe)&&V(Q,oe,q[oe]);return Q},S=(Q,q)=>k(Q,te(q)),ue=(Q,q)=>{var oe={};for(var Y in Q)$.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&H)for(var Y of H(Q))q.indexOf(Y)<0&&z.call(Q,Y)&&(oe[Y]=Q[Y]);return oe},c=(Q,q,oe)=>new Promise((Y,x)=>{var g=L=>{try{Z(oe.next(L))}catch(J){x(J)}},E=L=>{try{Z(oe.throw(L))}catch(J){x(J)}},Z=L=>L.done?Y(L.value):Promise.resolve(L.value).then(g,E);Z((oe=oe.apply(Q,q)).next())});const ne=Q=>{var q=Q,{classroomList:oe,dispatch:Y,courseEndTime:x}=q,g=ue(q,["classroomList","dispatch","courseEndTime"]);const E=(0,d.useParams)(),[Z]=X.default.useForm(),[L,J]=(0,n.useState)(1),[ce,De]=(0,n.useState)([]),[we,Ae]=(0,n.useState)(0),[Ce,M]=(0,n.useState)(2e3),[We,Ie]=(0,n.useState)(!0),[u,j]=(0,n.useState)(!1),[i,t]=(0,n.useState)(!1),[e,a]=(0,n.useState)([]),[y,W]=(0,n.useState)(!0),[N,se]=(0,n.useState)(null);(0,n.useEffect)(()=>{if(oe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(ge(),Te(),oe.actionTabs.type===2){const Ge=oe.actionTabs.selectArrsAll[0];se({submit_limit:Ge==null?void 0:Ge.submit_limit,submit_limit_num:Ge==null?void 0:Ge.submit_limit_num,must_file:Ge==null?void 0:Ge.must_file,can_submit:Ge==null?void 0:Ge.can_submit,submit_num:Ge==null?void 0:Ge.submit_num}),W(Ge.unified_setting)}else W(!1),se({submit_limit:!1,submit_limit_num:200,must_file:!1,can_submit:!1,submit_num:3})},[oe.actionTabs]),(0,n.useEffect)(()=>{if(u){if(i)return;Y({type:"classroomList/setActionTabs",payload:{}}),(0,F.GJ)()?Y({type:"classroomList/getClassroomTeacherCommonList",payload:S(ae({},oe.actionTabs.params),{type:3})}):Y({type:"classroomList/getClassroomCommonList",payload:ae({},oe.actionTabs.params)})}},[u]);const ge=Ge=>c(void 0,null,function*(){Ie(!0);const xt=yield(0,h.c_)(S(ae({},E),{page:Ge||L,limit:2e4,homework_id:oe.actionTabs.type===1?"":oe.actionTabs.selectArrs[0]}));xt==null||xt.course_groups.map((un,At)=>{un.key=un.id,un.title=un.name,un.disabled=un.is_published}),xt&&(De([...xt==null?void 0:xt.course_groups]),Ae(xt==null?void 0:xt.course_groups_count),Ie(!1),Ge||Z.setFieldsValue({publish_time:o()(o()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:o()(o()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),fe=Ge=>{J(Ge),ge(Ge)},R=()=>{(0,F.GJ)()?oe.actionTabs.detail?(Y({type:"shixunHomeworks/setActionTabs",payload:{}}),Y({type:"shixunHomeworks/getWorkList",payload:ae({},E)}),Y({type:"shixunHomeworks/getWorkSetting",payload:ae({},E)})):Y({type:"classroomList/getClassroomTeacherCommonList",payload:S(ae({},oe.actionTabs.params),{type:3})}):Y({type:"classroomList/getClassroomCommonList",payload:ae({},oe.actionTabs.params)})},He=()=>c(void 0,null,function*(){var Ge,xt,un;if((0,F.Rm)()&&!((xt=(Ge=oe==null?void 0:oe.AssistantObject)==null?void 0:Ge.group)!=null&&xt.can_publish)){B.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Ot(!1);return}const At=ae({},Z.getFieldsValue());if(At.end_time<=At.publish_time){B.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Ot(!1);return}if((e==null?void 0:e.length)<=0&&!y&&ce.length>0){B.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}if(N!=null&&N.submit_limit&&!(N!=null&&N.submit_limit_num)){B.ZP.warning("\u5B66\u751F\u586B\u5199\u5185\u5BB9\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}if(N!=null&&N.can_submit&&!(N!=null&&N.submit_num)){B.ZP.warning("\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u6B21\u6570\u4E0D\u80FD\u4E3A\u7A7A"),Ot(!1);return}let Xt=ae({homework_ids:[...oe.actionTabs.selectArrs],group_ids:e.length>0?e.map(Sn=>Sn.id):(un=oe.detailCommonHomeworksList)==null?void 0:un.course_groups,end_time:o()(At.end_time).format("YYYY-MM-DD HH:mm"),publish_time:o()(At.publish_time).format("YYYY-MM-DD HH:mm"),unified_setting:!e.length},N);Ot(!0),(yield(0,A.ZP)(`/api/courses/${E.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ae({},Xt)})).status===0?(Ot(!1),(0,p.L9)(["\u6559\u5B66\u8BFE\u5802","\u5206\u7EC4\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),B.ZP.success("\u53D1\u5E03\u6210\u529F"),Y({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),g.onCallback&&g.onCallback(),R(),localStorage.getItem("Noviceguide")==="0"||Y({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:T.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})):Ot(!1)}),Te=()=>{J(1),De([]),a([])},at=we>L*Ce,{detailCommonHomeworksList:Rt}=oe,[qt,Ot]=(0,n.useState)(!1);return T.createElement(U.default,{width:600,confirmLoading:qt,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:oe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:He,onCancel:()=>{Te(),R(),Y({type:"classroomList/setActionTabs",payload:{}})}},T.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",T.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),ce&&T.createElement(X.default,{form:Z},T.createElement("div",{style:{paddingLeft:0}},T.createElement(_.Z,{className:"mt30",align:"middle"},T.createElement(D.Z,null,T.createElement(X.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},T.createElement(C.default,{style:{width:170,marginRight:"25px"},disabledDate:Ge=>(0,O.Q8)(Ge,x),disabledTime:Ge=>(0,O.d0)(Ge),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,p.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),T.createElement(D.Z,{className:"ml20"},T.createElement(X.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},T.createElement(C.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:o()((0,p.U6)(),"HH:mm")},disabledDate:Ge=>(0,O.Q8)(Ge,x,Z.getFieldValue("publish_time")),disabledTime:Ge=>(0,O.d0)(Ge,Z.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),oe.actionTabs.type===2&&T.createElement(_.Z,{style:{marginBottom:"10px"}},T.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),T.createElement(l.ZP.Group,{value:y,onChange:Ge=>{W(Ge.target.value),a([])}},T.createElement(l.ZP,{value:!0,disabled:!oe.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),T.createElement(l.ZP,{className:"ml20",disabled:ce.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),ce.length<=0&&oe.actionTabs.type===2&&T.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(oe.actionTabs.type===1||!y)&&ce.length>0&&T.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},T.createElement("span",{style:{flex:1}},T.createElement(P.default,{checked:e.length===ce.length,onChange:Ge=>{e.length===ce.length?a([]):a(ce.filter(xt=>!xt.is_published))}},"\u5168\u9009")),T.createElement("span",{style:{width:16}}),T.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",e.length||0,"\u4E2A\u5206\u73ED")),(oe.actionTabs.type===1||!y)&&ce.length>0&&T.createElement(r.Z,{data:ce,selectedRowKeys:e,setSelectedRowKeys:a})),T.createElement(f.ZP,{value:N,onChange:Ge=>se(ae({},Ge))}))};Ke.Z=(0,d.connect)(({classroomList:Q})=>({classroomList:Q}))(ne)},33441:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return $}});var n=s(59301),X={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},B=Object.defineProperty,U=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,C=(z,V,ae)=>V in z?B(z,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[V]=ae,l=(z,V)=>{for(var ae in V||(V={}))_.call(V,ae)&&C(z,ae,V[ae]);if(U)for(var ae of U(V))D.call(V,ae)&&C(z,ae,V[ae]);return z};const P=z=>React.createElement("svg",l({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},z),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var v="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",o=s(99313),A=s(92310),F=s.n(A),p=s(59301),d=Object.defineProperty,r=Object.defineProperties,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,K=(z,V,ae)=>V in z?d(z,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[V]=ae,k=(z,V)=>{for(var ae in V||(V={}))O.call(V,ae)&&K(z,ae,V[ae]);if(h)for(var ae of h(V))T.call(V,ae)&&K(z,ae,V[ae]);return z},te=(z,V)=>r(z,f(V)),$=({dataSource:z,className:V,style:ae})=>{const[S,ue]=(0,n.useState)([]),[c,ne]=(0,n.useState)(""),Q=(0,n.useRef)("");(0,n.useEffect)(()=>{if(z!=null&&z.length){const Y=String(Math.random()).slice(-6),x=z.map(g=>te(k({},g),{key:`${Y}-${g.key}`}));ue(x),ne(x[0].key)}},[z.length]);const q=Y=>{ne(Y),Q.current=Y;const x=document.getElementById(Y);if(x){const g=x.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:g,behavior:"smooth"})}},oe=()=>{const Y=S.map(g=>document.getElementById(g.key)),x=window.innerHeight/2;for(const g of Y)if(g){const E=g.getBoundingClientRect();if(E.top>=0&&E.top(window.addEventListener("scroll",oe),()=>{window.removeEventListener("scroll",oe)}),[S]),p.createElement("div",{className:F()(X.anchorNavigation,V),style:ae},p.createElement(o.default,{items:S,tabBarGutter:60,className:X.tabs,activeKey:c,onChange:q}),S.map(Y=>p.createElement("div",{key:Y.key,id:Y.key,className:X.box},p.createElement("div",{className:X.head},p.createElement("img",{className:"mr10",src:v,alt:"Dot"}),Y.label),p.createElement("div",{className:X.element},Y.element))))}},7621:function(yt,Ke,s){"use strict";var n=s(59301),X=s(54580),B=s(78241),U=s(43418),_=s(5871),D=s(89070),C=s(99064),l=s(61186),P=s.n(l),v=s(955),o=s(59301),A=Object.defineProperty,F=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(H,$,z)=>$ in H?A(H,$,{enumerable:!0,configurable:!0,writable:!0,value:z}):H[$]=z,O=(H,$)=>{for(var z in $||($={}))r.call($,z)&&h(H,z,$[z]);if(d)for(var z of d($))f.call($,z)&&h(H,z,$[z]);return H},T=(H,$)=>F(H,p($)),K=(H,$,z)=>new Promise((V,ae)=>{var S=ne=>{try{c(z.next(ne))}catch(Q){ae(Q)}},ue=ne=>{try{c(z.throw(ne))}catch(Q){ae(Q)}},c=ne=>ne.done?V(ne.value):Promise.resolve(ne.value).then(S,ue);c((z=z.apply(H,$)).next())});const{Dragger:k}=X.default,te=({classroomList:H,dispatch:$,onOk:z})=>{const V=(0,D.useParams)(),[ae]=B.default.useForm(),[S,ue]=(0,n.useState)(),[c,ne]=(0,n.useState)(!1),Q={height:100,onRemove:()=>{ue("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:q=>K(void 0,null,function*(){return ue(q),!1})};return(0,n.useEffect)(()=>{ae.setFieldsValue({publish_time:P()(P()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:P()(P()(new Date((0,v.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),o.createElement(U.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:H.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:c},onOk:()=>K(void 0,null,function*(){ae.submit()}),onCancel:()=>{ae.resetFields(),$({type:"classroomList/setActionTabs",payload:{}})}},o.createElement(B.default,{form:ae,onFinish:q=>K(void 0,null,function*(){var oe,Y;console.log("---",H.actionTabs,q,V);let x=((oe=H==null?void 0:H.actionTabs)==null?void 0:oe.type)==="exercise"?`/api/exercises/${V==null?void 0:V.category}/exercise_user/edit_score.json`:`/api/student_works/${H.actionTabs.id}/edit_score.json`;ne(!0);let g=yield(0,C.ZP)(x,{method:"post",body:T(O({},q),{exercise_user_id:((Y=H==null?void 0:H.actionTabs)==null?void 0:Y.type)==="exercise"?H.actionTabs.id:""})});ne(!1),ae.resetFields(),$({type:"classroomList/setActionTabs",payload:{}}),z()})},o.createElement(B.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},o.createElement(_.Z,{min:0,style:{width:"100%"}}))))};Ke.Z=(0,D.connect)(({classroomList:H})=>({classroomList:H}))(te)},25060:function(yt,Ke,s){"use strict";var n=s(59301),X=s(54580),B=s(78241),U=s(3113),_=s(95237),D=s(81327),C=s(5083),l=s(89070),P=s(61186),v=s.n(P),o=s(79834),A=s(99064),F=s(59301),p=(f,h,O)=>new Promise((T,K)=>{var k=$=>{try{H(O.next($))}catch(z){K(z)}},te=$=>{try{H(O.throw($))}catch(z){K(z)}},H=$=>$.done?T($.value):Promise.resolve($.value).then(k,te);H((O=O.apply(f,h)).next())});const{Dragger:d}=X.default,r=({})=>{const f=(0,l.useParams)(),[h]=B.default.useForm(),[O,T]=(0,n.useState)(!0),[K,k]=(0,n.useState)(!1);console.log("----",f);function te(){return p(this,null,function*(){var H,$;let z;window.location.href.indexOf("exercise")>-1?z=`/api/exercises/${f==null?void 0:f.categoryId}/get_time_setting.json`:z=`/api/homework_commons/${f==null?void 0:f.categoryId}/get_time_setting.json`;let V=yield(0,A.ZP)(z,{method:"get"});(V==null?void 0:V.status)===0&&h.setFieldsValue({publish_time:v()(v()((H=V==null?void 0:V.data)==null?void 0:H.publish_time).format("YYYY-MM-DD HH:mm")),end_time:v()(v()(($=V==null?void 0:V.data)==null?void 0:$.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,n.useEffect)(()=>{te()},[]),F.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},F.createElement("div",{style:{textAlign:"end"}},O&&F.createElement(U.ZP,{onClick:()=>{T(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!O&&F.createElement("div",null,F.createElement(U.ZP,{type:"primary",loading:K,onClick:()=>{h.submit()}},"\u63D0\u4EA4"),F.createElement(U.ZP,{style:{marginLeft:20},onClick:()=>{T(!0)}},"\u53D6\u6D88"))),F.createElement(B.default,{form:h,disabled:O,onFinish:H=>p(void 0,null,function*(){k(!0),console.log("---",window.location.href);let $;window.location.href.indexOf("exercise")>-1?$=`/api/exercises/${f==null?void 0:f.categoryId}/time_setting.json`:$=`/api/homework_commons/${f==null?void 0:f.categoryId}/time_setting.json`;let z=yield(0,A.ZP)($,{method:"post",body:{publish_time:v()(H.publish_time).format("YYYY-MM-DD HH:mm"),end_time:v()(H.end_time).format("YYYY-MM-DD HH:mm")}});k(!1),(z==null?void 0:z.status)===0&&T(!0)})},F.createElement(_.Z,null,F.createElement(D.Z,null,F.createElement(B.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},F.createElement(C.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:H=>(0,o.Q8)(H),disabledTime:H=>(0,o.d0)(H),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),F.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),F.createElement(_.Z,null,F.createElement(D.Z,null,F.createElement(B.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},F.createElement(C.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:H=>(0,o.Q8)(H,"",h.getFieldValue("publish_time")),disabledTime:H=>(0,o.d0)(H,h.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),F.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};Ke.Z=(0,l.connect)(({classroomList:f})=>({classroomList:f}))(r)},59437:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return v}});var n=s(59301),X=s(92832),B=s(24905),U=s(95237),_={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",C=s(8797),l=(o,A,F)=>new Promise((p,d)=>{var r=O=>{try{h(F.next(O))}catch(T){d(T)}},f=O=>{try{h(F.throw(O))}catch(T){d(T)}},h=O=>O.done?p(O.value):Promise.resolve(O.value).then(r,f);h((F=F.apply(o,A)).next())}),v=({data:o,value:A=[],handleChangePage:F,setSelectedRowKeys:p,selectedRowKeys:d,onChange:r=()=>{}})=>{const[f,h]=(0,n.useState)([]),[O,T]=(0,n.useState)([]),[K,k]=(0,n.useState)([]);let[te,H]=(0,n.useState)(1),[$,z]=(0,n.useState)();return(0,n.useEffect)(()=>{h(o),T([]),k([])},[o]),(0,n.useEffect)(()=>{p&&(T(d),k(d))},[d]),n.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},n.createElement("div",{className:_.leftdiv},n.createElement(X.default.Search,{size:"middle",onChange:V=>l(void 0,null,function*(){h(o.filter(ae=>{var S;return(S=ae==null?void 0:ae.name)==null?void 0:S.includes(V.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),f.length===0&&n.createElement(C.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),n.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},n.createElement(B.default.Group,{value:O.map(V=>`${V.id}`),onChange:V=>{p(f.filter(ae=>V.includes(`${ae.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},f.map((V,ae)=>n.createElement(U.Z,{key:V.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},n.createElement(B.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:V.is_published,value:`${V.id}`},n.createElement("div",{className:_.listClass},n.createElement("span",{className:_.spantitle,style:{width:V.is_published?"108px":"170px"}},V.name),V.is_published&&n.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),n.createElement("div",{className:_.rightdiv},n.createElement(X.default.Search,{onChange:V=>{k(O.filter(ae=>ae.name.includes(V.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),K.length===0&&n.createElement(C.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),K.length>0&&n.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},n.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},K.map((V,ae)=>n.createElement(U.Z,{justify:"space-between",style:{marginTop:"10px"},key:V.id},n.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},V.name),n.createElement("img",{src:D,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{p(O.filter(S=>`${S.id}`!=`${V.id}`))}})))))))}},50757:function(yt,Ke,s){"use strict";s.d(Ke,{Ei:function(){return h},rU:function(){return O},ZP:function(){return K}});var n=s(59301),X={wrap:"wrap___W3YuU",title:"title___OzKge",exhibition:"exhibition___ugphm",title_icon:"title_icon___QGbm6"},B=s(78241),U=s(24905),_=s(5871),D=s(95237),C=s(43604),l=s(6848),P=s(92310),v=s.n(P),o=s(59301),A=Object.defineProperty,F=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,r=(k,te,H)=>te in k?A(k,te,{enumerable:!0,configurable:!0,writable:!0,value:H}):k[te]=H,f=(k,te)=>{for(var H in te||(te={}))p.call(te,H)&&r(k,H,te[H]);if(F)for(var H of F(te))d.call(te,H)&&r(k,H,te[H]);return k};const h=({value:k,className:te,style:H})=>{const[$,z]=(0,n.useState)("0");(0,n.useEffect)(()=>{if(k){const{submit_limit:ae,must_file:S}=k;if(ae&&S){z("1");return}if(ae&&!S){z("2");return}if(!ae&&S){z("3");return}}},[k]);const V={1:o.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",o.createElement("span",{className:"ml5 mr5 c-light-primary"},k==null?void 0:k.submit_limit_num),"\u5B57\u7B26\uFF0C\u5E76\u4E14\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002"),2:o.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",o.createElement("span",{className:"ml5 mr5 c-light-primary"},k==null?void 0:k.submit_limit_num),"\u5B57\u7B26"),3:o.createElement("span",null,"\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002")};return $==="0"?o.createElement(o.Fragment,null):o.createElement("section",{className:v()(X.exhibition,te),style:H},o.createElement("span",{className:"c-grey-666 mr10"},"\u63D0\u4EA4\u4F5C\u4E1A\u8981\u6C42\uFF1A"),V==null?void 0:V[$])},O=({className:k,style:te,form:H})=>{const $=B.default.useWatch("submit_limit",H),z=B.default.useWatch("can_submit",H);return o.createElement("section",{className:v()(X.wrap,k),style:te},o.createElement("div",{className:`${X.title}`},o.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),o.createElement("div",null,o.createElement("div",{style:{display:"flex",background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},o.createElement(B.default.Item,{name:"can_submit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A")),o.createElement(B.default.Item,{name:"submit_num",rules:z&&[{required:!0,message:"\u8BF7\u586B\u5199\u4F5C\u54C1\u6B21\u6570"}]},o.createElement(_.Z,{precision:0,min:1,disabled:!z,size:"large",addonAfter:"\u6B21",style:{width:223}})),o.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\u5C06\u9650\u5236\u5B66\u751F\u63D0\u4EA4\u4F5C\u4E1A\u6B21\u6570\uFF1B\u6253\u56DE\u91CD\u505A\u540E\u5141\u8BB8\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\uFF1B\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u7528\u5B8C\u6B21\u6570\u7684\u5B66\u751F\u53EF\u989D\u5916\u63D0\u4EA4\u4E00\u6B21\uFF09")),o.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px"}},o.createElement(B.default.Item,{name:"submit_limit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u586B\u5199\u5185\u5BB9\u81F3\u5C11")),o.createElement(B.default.Item,{className:"mr10",name:"submit_limit_num",rules:$&&[{required:!0,message:"\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"}]},o.createElement(_.Z,{precision:0,min:1,disabled:!$,size:"large",addonAfter:"\u5B57",style:{width:223,marginRight:100}}))),o.createElement("div",{style:{background:"#F6F7F9",marginTop:1,padding:"5px 30px"}},o.createElement(B.default.Item,{name:"must_file",valuePropName:"checked",style:{marginLeft:0,lineHeight:"40px"}},o.createElement(U.default,null,"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))),o.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},o.createElement(B.default.Item,{name:"can_deadline_submit",valuePropName:"checked",style:{lineHeight:"40px"}},o.createElement(U.default,null,"\u4F5C\u4E1A\u622A\u6B62\u540E\u5141\u8BB8\u4FEE\u6539\u9644\u4EF6")),o.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4FEE\u6539\u9644\u4EF6\uFF0C\u672A\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5219\u4E0D\u80FD\u4E0A\u4F20\u6216\u4FEE\u6539\u9644\u4EF6\uFF09"))))};var K=({value:k,onChange:te,className:H,style:$,disabled:z=!1,checkMarginLeft:V=0})=>{const ae={submit_limit:!1,submit_limit_num:200,must_file:!1},[S,ue]=(0,n.useState)({});(0,n.useEffect)(()=>{if(console.log(k,"value"),!k)return;const ne={submit_limit:k==null?void 0:k.submit_limit,submit_limit_num:k==null?void 0:k.submit_limit_num,must_file:k==null?void 0:k.must_file,can_submit:k==null?void 0:k.can_submit,submit_num:k==null?void 0:k.submit_num};ue(f({},ne))},[k]);const c=ne=>{const Q=f(f({},S),ne);te(Q)};return o.createElement("section",{className:v()(X.wrap,H),style:$},o.createElement("div",{className:`${X.title} mt30`},o.createElement("span",null,"\u63D0\u4EA4\u8BBE\u7F6E")),o.createElement(D.Z,{style:{background:"#F6F7F9",padding:"5px 30px"}},o.createElement(C.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{disabled:z,checked:S==null?void 0:S.can_submit,onChange:ne=>c({can_submit:ne.target.checked})}),o.createElement("span",{className:"ml10",style:{marginRight:18}},"\u9650\u5236\u63D0\u4EA4\u4F5C\u4E1A"),o.createElement(_.Z,{size:"large",addonAfter:"\u6B21",style:{width:143},precision:0,min:1,disabled:z||!(S!=null&&S.can_submit),value:S==null?void 0:S.submit_num,onChange:ne=>c({submit_num:ne})}),o.createElement(l.Z,{overlayInnerStyle:{width:520},title:o.createElement("div",null,"1\u3001\u82E5\u672A\u5F00\u542F\u8BE5\u9650\u5236\uFF0C\u5B66\u751F\u53EF\u4EE5\u65E0\u9650\u6B21\u63D0\u4EA4\u4F5C\u54C1\uFF1B",o.createElement("br",null),"2\u3001\u82E5\u4F5C\u4E1A\u5728\u8865\u4EA4\u9636\u6BB5\uFF0C\u5DF2\u7528\u5B8C\u63D0\u4EA4\u6B21\u6570\u7684\u5B66\u751F\uFF0C\u5C06\u83B7\u5F97\u4E00\u6B21\u989D\u5916\u7684\u63D0\u4EA4\u4F5C\u54C1\u673A\u4F1A\uFF1B",o.createElement("br",null),"3\u3001\u82E5\u5B66\u751F\u9700\u8981\u8D85\u51FA\u89C4\u5B9A\u6B21\u6570\u63D0\u4EA4\u4F5C\u54C1\uFF0C\u6559\u5E08\u53EF\u4F7F\u7528\u201C\u6253\u56DE\u91CD\u505A\u201D\u529F\u80FD\uFF0C\u8BA9\u8BE5\u5B66\u751F\u91CD\u65B0\u63D0\u4EA4\u4E00\u6B21\u3002")},o.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${X.title_icon}`}))),o.createElement(C.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{style:{marginLeft:V},disabled:z,checked:S==null?void 0:S.submit_limit,onChange:ne=>c({submit_limit:ne.target.checked})}),o.createElement("span",{className:"ml10",style:{marginRight:18}},"\u586B\u5199\u5185\u5BB9\u81F3\u5C11"),o.createElement(_.Z,{size:"large",addonAfter:"\u5B57",style:{width:143,marginRight:100},precision:0,min:1,disabled:z||!(S!=null&&S.submit_limit),value:S==null?void 0:S.submit_limit_num,onChange:ne=>c({submit_limit_num:ne})})),o.createElement(C.Z,{style:{lineHeight:"40px",marginTop:"10px"}},o.createElement(U.default,{style:{marginLeft:V},disabled:z,checked:S==null?void 0:S.must_file,onChange:ne=>c({must_file:ne.target.checked})}),o.createElement("span",{className:"ml10"},"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))))}},23538:function(yt,Ke,s){"use strict";s.d(Ke,{$J:function(){return B},JZ:function(){return _},bN:function(){return C},jP:function(){return D},rO:function(){return U}});var n=s(99064),X=(l,P,v)=>new Promise((o,A)=>{var F=r=>{try{d(v.next(r))}catch(f){A(f)}},p=r=>{try{d(v.throw(r))}catch(f){A(f)}},d=r=>r.done?o(r.value):Promise.resolve(r.value).then(F,p);d((v=v.apply(l,P)).next())});function B(l){return(0,n.U2)(`libraries/${l}.json`)}function U(){return(0,n.U2)("library_tags.json")}function _(l){return X(this,null,function*(){return(yield(0,n.IV)(`attachments/${l}.json`)).status===0})}function D(l){return(0,n.v_)("libraries.json",l)}function C(l,P){return(0,n.gz)(`libraries/${l}.json`,P)}},78297:function(yt,Ke,s){"use strict";s.d(Ke,{AD:function(){return ne},D9:function(){return g},Hp:function(){return te},IM:function(){return Z},Iy:function(){return $},KM:function(){return Ie},MJ:function(){return H},Ne:function(){return E},ON:function(){return we},Uj:function(){return M},VY:function(){return ce},YO:function(){return Ce},YX:function(){return Ae},Zn:function(){return d},_g:function(){return T},_k:function(){return Y},c6:function(){return ue},cr:function(){return r},eV:function(){return c},fi:function(){return f},gh:function(){return ae},hS:function(){return L},iA:function(){return h},j6:function(){return K},je:function(){return oe},jj:function(){return k},kS:function(){return De},o6:function(){return S},pO:function(){return We},rQ:function(){return Q},sA:function(){return V},xm:function(){return x},xo:function(){return J},y8:function(){return q},yd:function(){return O}});var n=s(92365),X=s(89070),B=s(955),U=s(8591),_=s(3294),D=Object.defineProperty,C=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,v=(u,j,i)=>j in u?D(u,j,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[j]=i,o=(u,j)=>{for(var i in j||(j={}))l.call(j,i)&&v(u,i,j[i]);if(C)for(var i of C(j))P.call(j,i)&&v(u,i,j[i]);return u},A=(u,j,i)=>new Promise((t,e)=>{var a=N=>{try{W(i.next(N))}catch(se){e(se)}},y=N=>{try{W(i.throw(N))}catch(se){e(se)}},W=N=>N.done?t(N.value):Promise.resolve(N.value).then(a,y);W((i=i.apply(u,j)).next())});const F=()=>{(0,X.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},p=()=>{(0,X.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},d=u=>A(void 0,null,function*(){F(),(yield(0,n.YR)(o({},u))).status===0&&(yield(0,B.QH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u.coursesId}/export_couser_info.json`,query:u}))),p()}),r=u=>A(void 0,null,function*(){const j=yield(0,n.yS)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_member_act_score`);else{if(j.status===-2)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_member_act_score`))}}),f=u=>A(void 0,null,function*(){const j=yield(0,n.W0)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_score`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_score`))}}),h=u=>A(void 0,null,function*(){const j=yield(0,n.Nl)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`))}}),O=u=>A(void 0,null,function*(){const j=yield(0,n.IU)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/export_star_user`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/export_star_user`))}}),T=u=>A(void 0,null,function*(){const j=yield(0,n.td)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-2)return j;if(j.status===-3)(0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_exercise_and_other`);else if(j.status===-4)return j}}),K=u=>A(void 0,null,function*(){const j=yield(0,n.QX)(o({},u));if(j.status===0)U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_homework`);else{if(j.status===-4)return j;j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/course_total_homework`))}}),k=(u,j)=>A(void 0,null,function*(){const i=yield(0,n.o_)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),te=(u,j)=>A(void 0,null,function*(){const i=yield(0,n.ZL)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),H=(u,j)=>A(void 0,null,function*(){const i=yield(0,n.vV)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),$=(u,j)=>A(void 0,null,function*(){const i=yield(0,n.aP)(o({},u));i.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`)):i.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/${j}`))}),z=u=>A(void 0,null,function*(){F(),(yield exportCourseWorkListAppendix(o({},u))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${u.categoryId}/works_list.zip`,query:u}))),p()}),V=u=>A(void 0,null,function*(){F(),yield(0,B.QH)("",_.Z.API_SERVER+`/api/polls/${u.categoryId}/commit_result.xlsx`),p()}),ae=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u.coursesId}/attendances/export_xlsx_data.xlsx`,query:u}))}),S=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u.coursesId}/video_study_statics.xlsx`,query:u}))}),ue=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u.coursesId}/export_video_study.xlsx`,query:u}))}),c=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u.coursesId}/export_course_students_info.xlsx`,query:u}))}),ne=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/school_manages/students.xlsx",query:u}))}),Q=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/item_banks/export.xlsx",query:u}))}),q=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:u}))}),oe=u=>A(void 0,null,function*(){const j=yield(0,n.Uy)(o({},u));j.status===0?(U.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),X.history.push(`/classrooms/${u.coursesId}/exportlist/exercise_score,export_exercise_users`)):j.status===-3&&((0,X.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),X.history.push(`/classrooms/${u.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Y=u=>A(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/export_records/${u.id}.xlsx`,query:u}))}),x=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:u}))}),g=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/courses/${u==null?void 0:u.coursesId}/${u.menuKey}_statistic.xlsx?${u.checkedList.map(j=>`course_group_id[]=${j}`).join("&")}`,query:u}))}),E=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_training_objectives.xlsx`,query:u}))}),Z=u=>A(void 0,null,function*(){yield(0,B.FH)(u==null?void 0:u.name,(0,B.NY)({url:_.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:u}))}),L=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_courses.xlsx`,query:u}))}),J=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/ec_years/${u==null?void 0:u.ec_year_id}/ec_graduation_requirements.xlsx`,query:u}))}),ce=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:u}))}),De=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:u}))}),we=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/examination_banks/${u.id}.json`,query:u}))}),Ae=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/exercises/${u.categoryId}.json`,query:u}))}),Ce=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/polls/${u==null?void 0:u.id}/commit_result.json`,query:u}))}),M=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+"/api/paths/get_task_pass.json",query:u}))}),We=(u,j)=>A(void 0,null,function*(){yield(0,B.FH)(j||"",(0,B.NY)({url:_.Z.API_SERVER+`/api/exercises/${u==null?void 0:u.exercise_id}/consult_exercise.json`,query:u}))}),Ie=u=>A(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:_.Z.API_SERVER+`/api/competitions/${u==null?void 0:u.identifier}/competition_commit_records/member_works.xlsx`,query:u}))})},5383:function(yt,Ke,s){"use strict";s.d(Ke,{M:function(){return D},Y:function(){return _}});var n=s(61186),X=s.n(n),B=s(89392),U=s.n(B);const _=(C,l="YYYY-MM-DD")=>(0,B.cloneDeepWith)(C,v=>{if(v instanceof X())return v.format(l)}),D=(C,l,P)=>{const v=o=>Reflect.toString.call(o)==="[object Object]";if(!v(C)&&!Array.isArray(C))return C;for(const o of Object.keys(C))Array.isArray(C[o])?C[o]=C[o].map(A=>D(A,l,P)):v(C[o])?C[o]=D(C[o],l,P):l.includes(o)&&typeof C[o]=="string"&&(C[o]=P?X()(C[o],P):X()(C[o]));return C}},83312:function(yt,Ke,s){"use strict";s.d(Ke,{U:function(){return P}});var n=s(59301),X=Object.defineProperty,B=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,D=(v,o,A)=>o in v?X(v,o,{enumerable:!0,configurable:!0,writable:!0,value:A}):v[o]=A,C=(v,o)=>{for(var A in o||(o={}))U.call(o,A)&&D(v,A,o[A]);if(B)for(var A of B(o))_.call(o,A)&&D(v,A,o[A]);return v},l=(v,o,A)=>new Promise((F,p)=>{var d=h=>{try{f(A.next(h))}catch(O){p(O)}},r=h=>{try{f(A.throw(h))}catch(O){p(O)}},f=h=>h.done?F(h.value):Promise.resolve(h.value).then(d,r);f((A=A.apply(v,o)).next())});function P(v,o){const[A,F]=(0,n.useState)(o),[p,d]=(0,n.useState)(!1),[r,f]=(0,n.useState)();return[A,p,(O,T=!1)=>l(this,null,function*(){const K=T?o:C(C({},A),O);d(!0),F(K);const k=yield v(K);return d(!1),f(k),k}),r,f]}},49127:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return Y}});var n=s(92310),X=s.n(n),B=s(77900),U=s(59301),_=s(36785),D=s(92343),C=s(36355),l=s(93083),P=s(17313),v=s(45157),o=s(37613),A=s(83116);const F=new l.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),p=new l.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),d=new l.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),r=new l.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),f=new l.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),h=new l.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),O=x=>{const{componentCls:g,iconCls:E,antCls:Z,badgeShadowSize:L,motionDurationSlow:J,textFontSize:ce,textFontSizeSM:De,statusSize:we,dotSize:Ae,textFontWeight:Ce,indicatorHeight:M,indicatorHeightSM:We,marginXS:Ie}=x,u=`${Z}-scroll-number`,j=(0,v.Z)(x,(i,t)=>{let{darkColor:e}=t;return{[`&${g} ${g}-color-${i}`]:{background:e,[`&:not(${g}-count)`]:{color:e}}}});return{[g]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,P.Wf)(x)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${g}-count`]:{zIndex:x.indicatorZIndex,minWidth:M,height:M,color:x.badgeTextColor,fontWeight:Ce,fontSize:ce,lineHeight:`${M}px`,whiteSpace:"nowrap",textAlign:"center",background:x.badgeColor,borderRadius:M/2,boxShadow:`0 0 0 ${L}px ${x.badgeShadowColor}`,transition:`background ${x.motionDurationMid}`,a:{color:x.badgeTextColor},"a:hover":{color:x.badgeTextColor},"a:hover &":{background:x.badgeColorHover}},[`${g}-count-sm`]:{minWidth:We,height:We,fontSize:De,lineHeight:`${We}px`,borderRadius:We/2},[`${g}-multiple-words`]:{padding:`0 ${x.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${g}-dot`]:{zIndex:x.indicatorZIndex,width:Ae,minWidth:Ae,height:Ae,background:x.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${L}px ${x.badgeShadowColor}`},[`${g}-dot${u}`]:{transition:`background ${J}`},[`${g}-count, ${g}-dot, ${u}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${E}-spin`]:{animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${g}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${g}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:we,height:we,verticalAlign:"middle",borderRadius:"50%"},[`${g}-status-success`]:{backgroundColor:x.colorSuccess},[`${g}-status-processing`]:{overflow:"visible",color:x.colorPrimary,backgroundColor:x.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:L,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:F,animationDuration:x.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${g}-status-default`]:{backgroundColor:x.colorTextPlaceholder},[`${g}-status-error`]:{backgroundColor:x.colorError},[`${g}-status-warning`]:{backgroundColor:x.colorWarning},[`${g}-status-text`]:{marginInlineStart:Ie,color:x.colorText,fontSize:x.fontSize}}}),j),{[`${g}-zoom-appear, ${g}-zoom-enter`]:{animationName:p,animationDuration:x.motionDurationSlow,animationTimingFunction:x.motionEaseOutBack,animationFillMode:"both"},[`${g}-zoom-leave`]:{animationName:d,animationDuration:x.motionDurationSlow,animationTimingFunction:x.motionEaseOutBack,animationFillMode:"both"},[`&${g}-not-a-wrapper`]:{[`${g}-zoom-appear, ${g}-zoom-enter`]:{animationName:r,animationDuration:x.motionDurationSlow,animationTimingFunction:x.motionEaseOutBack},[`${g}-zoom-leave`]:{animationName:f,animationDuration:x.motionDurationSlow,animationTimingFunction:x.motionEaseOutBack},[`&:not(${g}-status)`]:{verticalAlign:"middle"},[`${u}-custom-component, ${g}-count`]:{transform:"none"},[`${u}-custom-component, ${u}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${u}`]:{overflow:"hidden",[`${u}-only`]:{position:"relative",display:"inline-block",height:M,transition:`all ${x.motionDurationSlow} ${x.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${u}-only-unit`]:{height:M,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${u}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${g}-count, ${g}-dot, ${u}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},T=x=>{const{fontSize:g,lineHeight:E,lineWidth:Z,marginXS:L,colorBorderBg:J}=x,ce=Math.round(g*E),De=Z,we=x.colorBgContainer,Ae=x.colorError,Ce=x.colorErrorHover;return(0,o.TS)(x,{badgeFontHeight:ce,badgeShadowSize:De,badgeTextColor:we,badgeColor:Ae,badgeColorHover:Ce,badgeShadowColor:J,badgeProcessingDuration:"1.2s",badgeRibbonOffset:L,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},K=x=>{const{fontSize:g,lineHeight:E,fontSizeSM:Z,lineWidth:L}=x;return{indicatorZIndex:"auto",indicatorHeight:Math.round(g*E)-2*L,indicatorHeightSM:g,dotSize:Z/2,textFontSize:Z,textFontSizeSM:Z,textFontWeight:"normal",statusSize:Z/2}};var k=(0,A.Z)("Badge",x=>{const g=T(x);return[O(g)]},K);const te=x=>{const{antCls:g,badgeFontHeight:E,marginXS:Z,badgeRibbonOffset:L}=x,J=`${g}-ribbon`,ce=`${g}-ribbon-wrapper`,De=(0,v.Z)(x,(we,Ae)=>{let{darkColor:Ce}=Ae;return{[`&${J}-color-${we}`]:{background:Ce,color:Ce}}});return{[`${ce}`]:{position:"relative"},[`${J}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,P.Wf)(x)),{position:"absolute",top:Z,padding:`0 ${x.paddingXS}px`,color:x.colorPrimary,lineHeight:`${E}px`,whiteSpace:"nowrap",backgroundColor:x.colorPrimary,borderRadius:x.borderRadiusSM,[`${J}-text`]:{color:x.colorTextLightSolid},[`${J}-corner`]:{position:"absolute",top:"100%",width:L,height:L,color:"currentcolor",border:`${L/2}px solid`,transform:x.badgeRibbonCornerTransform,transformOrigin:"top",filter:x.badgeRibbonCornerFilter}}),De),{[`&${J}-placement-end`]:{insetInlineEnd:-L,borderEndEndRadius:0,[`${J}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${J}-placement-start`]:{insetInlineStart:-L,borderEndStartRadius:0,[`${J}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var H=(0,A.Z)(["Badge","Ribbon"],x=>{const g=T(x);return[te(g)]},K),z=x=>{const{className:g,prefixCls:E,style:Z,color:L,children:J,text:ce,placement:De="end",rootClassName:we}=x,{getPrefixCls:Ae,direction:Ce}=U.useContext(C.E_),M=Ae("ribbon",E),We=(0,_.o2)(L,!1),Ie=X()(M,`${M}-placement-${De}`,{[`${M}-rtl`]:Ce==="rtl",[`${M}-color-${L}`]:We},g),[u,j]=H(M),i={},t={};return L&&!We&&(i.background=L,t.color=L),u(U.createElement("div",{className:X()(`${M}-wrapper`,we,j)},J,U.createElement("div",{className:X()(Ie,j),style:Object.assign(Object.assign({},i),Z)},U.createElement("span",{className:`${M}-text`},ce),U.createElement("div",{className:`${M}-corner`,style:t}))))};function V(x){let{prefixCls:g,value:E,current:Z,offset:L=0}=x,J;return L&&(J={position:"absolute",top:`${L}00%`,left:0}),U.createElement("span",{style:J,className:X()(`${g}-only-unit`,{current:Z})},E)}function ae(x,g,E){let Z=x,L=0;for(;(Z+10)%10!==g;)Z+=E,L+=E;return L}function S(x){const{prefixCls:g,count:E,value:Z}=x,L=Number(Z),J=Math.abs(E),[ce,De]=U.useState(L),[we,Ae]=U.useState(J),Ce=()=>{De(L),Ae(J)};U.useEffect(()=>{const Ie=setTimeout(()=>{Ce()},1e3);return()=>{clearTimeout(Ie)}},[L]);let M,We;if(ce===L||Number.isNaN(L)||Number.isNaN(ce))M=[U.createElement(V,Object.assign({},x,{key:L,current:!0}))],We={transition:"none"};else{M=[];const Ie=L+10,u=[];for(let t=L;t<=Ie;t+=1)u.push(t);const j=u.findIndex(t=>t%10===ce);M=u.map((t,e)=>{const a=t%10;return U.createElement(V,Object.assign({},x,{key:t,value:a,offset:e-j,current:e===j}))});const i=we{const{prefixCls:E,count:Z,className:L,motionClassName:J,style:ce,title:De,show:we,component:Ae="sup",children:Ce}=x,M=ue(x,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:We}=U.useContext(C.E_),Ie=We("scroll-number",E),u=Object.assign(Object.assign({},M),{"data-show":we,style:ce,className:X()(Ie,L,J),title:De});let j=Z;if(Z&&Number(Z)%1===0){const i=String(Z).split("");j=U.createElement("bdi",null,i.map((t,e)=>U.createElement(S,{prefixCls:Ie,count:Number(Z),value:t,key:i.length-e})))}return ce&&ce.borderColor&&(u.style=Object.assign(Object.assign({},ce),{boxShadow:`0 0 0 1px ${ce.borderColor} inset`})),Ce?(0,D.Tm)(Ce,i=>({className:X()(`${Ie}-custom-component`,i==null?void 0:i.className,J)})):U.createElement(Ae,Object.assign({},u,{ref:g}),j)}),Q=function(x,g){var E={};for(var Z in x)Object.prototype.hasOwnProperty.call(x,Z)&&g.indexOf(Z)<0&&(E[Z]=x[Z]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,Z=Object.getOwnPropertySymbols(x);L{var E,Z,L,J,ce;const{prefixCls:De,scrollNumberPrefixCls:we,children:Ae,status:Ce,text:M,color:We,count:Ie=null,overflowCount:u=99,dot:j=!1,size:i="default",title:t,offset:e,style:a,className:y,rootClassName:W,classNames:N,styles:se,showZero:ge=!1}=x,fe=Q(x,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:R,direction:He,badge:Te}=U.useContext(C.E_),at=R("badge",De),[Rt,qt]=k(at),Ot=Ie>u?`${u}+`:Ie,Ge=Ot==="0"||Ot===0,xt=Ie===null||Ge&&!ge,un=(Ce!=null||We!=null)&&xt,At=j&&!Ge,Xt=At?"":Ot,An=(0,U.useMemo)(()=>(Xt==null||Xt===""||Ge&&!ge)&&!At,[Xt,Ge,ge,At]),Sn=(0,U.useRef)(Ie);An||(Sn.current=Ie);const fn=Sn.current,Nn=(0,U.useRef)(Xt);An||(Nn.current=Xt);const yn=Nn.current,Bn=(0,U.useRef)(At);An||(Bn.current=At);const Rn=(0,U.useMemo)(()=>{if(!e)return Object.assign(Object.assign({},Te==null?void 0:Te.style),a);const wn={marginTop:e[1]};return He==="rtl"?wn.left=parseInt(e[0],10):wn.right=-parseInt(e[0],10),Object.assign(Object.assign(Object.assign({},wn),Te==null?void 0:Te.style),a)},[He,e,a,Te==null?void 0:Te.style]),$n=t!=null?t:typeof fn=="string"||typeof fn=="number"?fn:void 0,qn=An||!M?null:U.createElement("span",{className:`${at}-status-text`},M),jn=!fn||typeof fn!="object"?void 0:(0,D.Tm)(fn,wn=>({style:Object.assign(Object.assign({},Rn),wn.style)})),Yn=(0,_.o2)(We,!1),eu=X()(N==null?void 0:N.indicator,(E=Te==null?void 0:Te.classNames)===null||E===void 0?void 0:E.indicator,{[`${at}-status-dot`]:un,[`${at}-status-${Ce}`]:!!Ce,[`${at}-color-${We}`]:Yn}),Kn={};We&&!Yn&&(Kn.color=We,Kn.background=We);const tu=X()(at,{[`${at}-status`]:un,[`${at}-not-a-wrapper`]:!Ae,[`${at}-rtl`]:He==="rtl"},y,W,Te==null?void 0:Te.className,(Z=Te==null?void 0:Te.classNames)===null||Z===void 0?void 0:Z.root,N==null?void 0:N.root,qt);if(!Ae&&un){const wn=Rn.color;return Rt(U.createElement("span",Object.assign({},fe,{className:tu,style:Object.assign(Object.assign(Object.assign({},se==null?void 0:se.root),(L=Te==null?void 0:Te.styles)===null||L===void 0?void 0:L.root),Rn)}),U.createElement("span",{className:eu,style:Object.assign(Object.assign(Object.assign({},se==null?void 0:se.indicator),(J=Te==null?void 0:Te.styles)===null||J===void 0?void 0:J.indicator),Kn)}),M&&U.createElement("span",{style:{color:wn},className:`${at}-status-text`},M)))}return Rt(U.createElement("span",Object.assign({ref:g},fe,{className:tu,style:Object.assign(Object.assign({},(ce=Te==null?void 0:Te.styles)===null||ce===void 0?void 0:ce.root),se==null?void 0:se.root)}),Ae,U.createElement(B.default,{visible:!An,motionName:`${at}-zoom`,motionAppear:!1,motionDeadline:1e3},wn=>{let{className:au,ref:ru}=wn;var Tn,rt;const Je=R("scroll-number",we),Ve=Bn.current,$e=X()(N==null?void 0:N.indicator,(Tn=Te==null?void 0:Te.classNames)===null||Tn===void 0?void 0:Tn.indicator,{[`${at}-dot`]:Ve,[`${at}-count`]:!Ve,[`${at}-count-sm`]:i==="small",[`${at}-multiple-words`]:!Ve&&yn&&yn.toString().length>1,[`${at}-status-${Ce}`]:!!Ce,[`${at}-color-${We}`]:Yn});let ut=Object.assign(Object.assign(Object.assign({},se==null?void 0:se.indicator),(rt=Te==null?void 0:Te.styles)===null||rt===void 0?void 0:rt.indicator),Rn);return We&&!Yn&&(ut=ut||{},ut.background=We),U.createElement(ne,{prefixCls:Je,show:!An,motionClassName:au,className:$e,count:yn,title:$n,style:ut,key:"scrollNumber",ref:ru},jn)}),qn))},oe=U.forwardRef(q);oe.Ribbon=z;var Y=oe},66104:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return ne}});var n=s(92310),X=s.n(n),B=s(11592),U=s(26112),_=s(59301),D=s(92343),C=s(36355),l=s(84105),P=s(91857);const v=Q=>{let{children:q}=Q;const{getPrefixCls:oe}=_.useContext(C.E_),Y=oe("breadcrumb");return _.createElement("li",{className:`${Y}-separator`,"aria-hidden":"true"},q===""?q:q||"/")};v.__ANT_BREADCRUMB_SEPARATOR=!0;var o=v,A=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,Y=Object.getOwnPropertySymbols(Q);xq[x]||Y)}function p(Q,q,oe,Y){if(oe==null)return null;const{className:x,onClick:g}=q,E=A(q,["className","onClick"]),Z=Object.assign(Object.assign({},(0,U.Z)(E,{data:!0,aria:!0})),{onClick:g});return Y!==void 0?_.createElement("a",Object.assign({},Z,{className:X()(`${Q}-link`,x),href:Y}),oe):_.createElement("span",Object.assign({},Z,{className:X()(`${Q}-link`,x)}),oe)}function d(Q,q){return(Y,x,g,E,Z)=>{if(q)return q(Y,x,g,E);const L=F(Y,x);return p(Q,Y,L,Z)}}var r=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,Y=Object.getOwnPropertySymbols(Q);x{const{prefixCls:q,separator:oe="/",children:Y,menu:x,overlay:g,dropdownProps:E,href:Z}=Q,J=(ce=>{if(x||g){const De=Object.assign({},E);if(x){const we=x||{},{items:Ae}=we,Ce=r(we,["items"]);De.menu=Object.assign(Object.assign({},Ce),{items:Ae==null?void 0:Ae.map((M,We)=>{var{key:Ie,title:u,label:j,path:i}=M,t=r(M,["key","title","label","path"]);let e=j!=null?j:u;return i&&(e=_.createElement("a",{href:`${Z}${i}`},e)),Object.assign(Object.assign({},t),{key:Ie!=null?Ie:We,label:e})})})}else g&&(De.overlay=g);return _.createElement(P.Z,Object.assign({placement:"bottom"},De),_.createElement("span",{className:`${q}-overlay-link`},ce,_.createElement(l.Z,null)))}return ce})(Y);return J!=null?_.createElement(_.Fragment,null,_.createElement("li",null,J),oe&&_.createElement(o,null,oe)):null},h=Q=>{const{prefixCls:q,children:oe,href:Y}=Q,x=r(Q,["prefixCls","children","href"]),{getPrefixCls:g}=_.useContext(C.E_),E=g("breadcrumb",q);return _.createElement(f,Object.assign({},x,{prefixCls:E}),p(E,x,oe,Y))};h.__ANT_BREADCRUMB_ITEM=!0;var O=h,T=s(17313),K=s(83116),k=s(37613);const te=Q=>{const{componentCls:q,iconCls:oe}=Q;return{[q]:Object.assign(Object.assign({},(0,T.Wf)(Q)),{color:Q.itemColor,fontSize:Q.fontSize,[oe]:{fontSize:Q.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Q.linkColor,transition:`color ${Q.motionDurationMid}`,padding:`0 ${Q.paddingXXS}px`,borderRadius:Q.borderRadiusSM,height:Q.lineHeight*Q.fontSize,display:"inline-block",marginInline:-Q.marginXXS,"&:hover":{color:Q.linkHoverColor,backgroundColor:Q.colorBgTextHover}},(0,T.Qy)(Q)),"li:last-child":{color:Q.lastItemColor},[`${q}-separator`]:{marginInline:Q.separatorMargin,color:Q.separatorColor},[`${q}-link`]:{[` + > ${oe} + span, + > ${oe} + a + `]:{marginInlineStart:Q.marginXXS}},[`${q}-overlay-link`]:{borderRadius:Q.borderRadiusSM,height:Q.lineHeight*Q.fontSize,display:"inline-block",padding:`0 ${Q.paddingXXS}px`,marginInline:-Q.marginXXS,[`> ${oe}`]:{marginInlineStart:Q.marginXXS,fontSize:Q.fontSizeIcon},"&:hover":{color:Q.linkHoverColor,backgroundColor:Q.colorBgTextHover,a:{color:Q.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Q.componentCls}-rtl`]:{direction:"rtl"}})}};var H=(0,K.Z)("Breadcrumb",Q=>{const q=(0,k.TS)(Q,{});return[te(q)]},Q=>({itemColor:Q.colorTextDescription,lastItemColor:Q.colorText,iconFontSize:Q.fontSize,linkColor:Q.colorTextDescription,linkHoverColor:Q.colorText,separatorColor:Q.colorTextDescription,separatorMargin:Q.marginXS})),$=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,Y=Object.getOwnPropertySymbols(Q);x{var{breadcrumbName:E}=g,Z=$(g,["breadcrumbName"]);return Object.assign(Object.assign({},Z),{title:E})})}),x}function V(Q,q){return(0,_.useMemo)(()=>Q||(q?q.map(z):null),[Q,q])}var ae=function(Q,q){var oe={};for(var Y in Q)Object.prototype.hasOwnProperty.call(Q,Y)&&q.indexOf(Y)<0&&(oe[Y]=Q[Y]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,Y=Object.getOwnPropertySymbols(Q);x{if(q===void 0)return q;let oe=(q||"").replace(/^\//,"");return Object.keys(Q).forEach(Y=>{oe=oe.replace(`:${Y}`,Q[Y])}),oe},ue=Q=>{const{prefixCls:q,separator:oe="/",style:Y,className:x,rootClassName:g,routes:E,items:Z,children:L,itemRender:J,params:ce={}}=Q,De=ae(Q,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:we,direction:Ae,breadcrumb:Ce}=_.useContext(C.E_);let M;const We=we("breadcrumb",q),[Ie,u]=H(We),j=V(Z,E),i=d(We,J);if(j&&j.length>0){const a=[],y=Z||E;M=j.map((W,N)=>{const{path:se,key:ge,type:fe,menu:R,overlay:He,onClick:Te,className:at,separator:Rt,dropdownProps:qt}=W,Ot=S(ce,se);Ot!==void 0&&a.push(Ot);const Ge=ge!=null?ge:N;if(fe==="separator")return _.createElement(o,{key:Ge},Rt);const xt={},un=N===j.length-1;R?xt.menu=R:He&&(xt.overlay=He);let{href:At}=W;return a.length&&Ot!==void 0&&(At=`#/${a.join("/")}`),_.createElement(f,Object.assign({key:Ge},xt,(0,U.Z)(W,{data:!0,aria:!0}),{className:at,dropdownProps:qt,href:At,separator:un?"":oe,onClick:Te,prefixCls:We}),i(W,ce,y,a,At))})}else if(L){const a=(0,B.Z)(L).length;M=(0,B.Z)(L).map((y,W)=>{if(!y)return y;const N=W===a-1;return(0,D.Tm)(y,{separator:N?"":oe,key:W})})}const t=X()(We,Ce==null?void 0:Ce.className,{[`${We}-rtl`]:Ae==="rtl"},x,g,u),e=Object.assign(Object.assign({},Ce==null?void 0:Ce.style),Y);return Ie(_.createElement("nav",Object.assign({className:t,style:e},De),_.createElement("ol",null,M)))};ue.Item=O,ue.Separator=o;var c=ue,ne=c},37906:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return Y}});var n=s(59301),X=s(92310),B=s.n(X),U=s(69507),_=s(36355),D=s(19716),C=s(8628),P={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},o=n.createContext({}),A=s(11592),F=function(x,g){var E={};for(var Z in x)Object.prototype.hasOwnProperty.call(x,Z)&&g.indexOf(Z)<0&&(E[Z]=x[Z]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,Z=Object.getOwnPropertySymbols(x);L(0,A.Z)(x).map(g=>Object.assign({},g==null?void 0:g.props));function d(x,g,E){const Z=n.useMemo(()=>g||p(E),[g,E]);return n.useMemo(()=>Z.map(J=>{var{span:ce}=J,De=F(J,["span"]);return Object.assign(Object.assign({},De),{span:typeof ce=="number"?ce:(0,U.m9)(x,ce)})}),[Z,x])}function r(x,g,E){let Z=x;return(E===void 0||E>g)&&(Z=Object.assign(Object.assign({},x),{span:g})),Z}function f(x,g){const E=[];let Z=[],L=g;return x.filter(J=>J).forEach((J,ce)=>{const De=J==null?void 0:J.span,we=De||1;if(ce===x.length-1){Z.push(r(J,L,De)),E.push(Z);return}we(0,n.useMemo)(()=>f(g,x),[g,x]),K=x=>{let{children:g}=x;return g};function k(x){return x!=null}var H=x=>{const{itemPrefixCls:g,component:E,span:Z,className:L,style:J,labelStyle:ce,contentStyle:De,bordered:we,label:Ae,content:Ce,colon:M}=x,We=E;return we?n.createElement(We,{className:B()({[`${g}-item-label`]:k(Ae),[`${g}-item-content`]:k(Ce)},L),style:J,colSpan:Z},k(Ae)&&n.createElement("span",{style:ce},Ae),k(Ce)&&n.createElement("span",{style:De},Ce)):n.createElement(We,{className:B()(`${g}-item`,L),style:J,colSpan:Z},n.createElement("div",{className:`${g}-item-container`},(Ae||Ae===0)&&n.createElement("span",{className:B()(`${g}-item-label`,{[`${g}-item-no-colon`]:!M}),style:ce},Ae),(Ce||Ce===0)&&n.createElement("span",{className:B()(`${g}-item-content`),style:De},Ce)))};function $(x,g,E){let{colon:Z,prefixCls:L,bordered:J}=g,{component:ce,type:De,showLabel:we,showContent:Ae,labelStyle:Ce,contentStyle:M}=E;return x.map((We,Ie)=>{let{label:u,children:j,prefixCls:i=L,className:t,style:e,labelStyle:a,contentStyle:y,span:W=1,key:N}=We;return typeof ce=="string"?n.createElement(H,{key:`${De}-${N||Ie}`,className:t,style:e,labelStyle:Object.assign(Object.assign({},Ce),a),contentStyle:Object.assign(Object.assign({},M),y),span:W,colon:Z,component:ce,itemPrefixCls:i,bordered:J,label:we?u:null,content:Ae?j:null}):[n.createElement(H,{key:`label-${N||Ie}`,className:t,style:Object.assign(Object.assign(Object.assign({},Ce),e),a),span:1,colon:Z,component:ce[0],itemPrefixCls:i,bordered:J,label:u}),n.createElement(H,{key:`content-${N||Ie}`,className:t,style:Object.assign(Object.assign(Object.assign({},M),e),y),span:W*2-1,component:ce[1],itemPrefixCls:i,bordered:J,content:j})]})}var V=x=>{const g=n.useContext(o),{prefixCls:E,vertical:Z,row:L,index:J,bordered:ce}=x;return Z?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${J}`,className:`${E}-row`},$(L,x,Object.assign({component:"th",type:"label",showLabel:!0},g))),n.createElement("tr",{key:`content-${J}`,className:`${E}-row`},$(L,x,Object.assign({component:"td",type:"content",showContent:!0},g)))):n.createElement("tr",{key:J,className:`${E}-row`},$(L,x,Object.assign({component:ce?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},g)))},ae=s(17313),S=s(83116),ue=s(37613);const c=x=>{const{componentCls:g,labelBg:E}=x;return{[`&${g}-bordered`]:{[`> ${g}-view`]:{border:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${g}-row`]:{borderBottom:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${g}-item-label, > ${g}-item-content`]:{padding:`${x.padding}px ${x.paddingLG}px`,borderInlineEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${g}-item-label`]:{color:x.colorTextSecondary,backgroundColor:E,"&::after":{display:"none"}}}},[`&${g}-middle`]:{[`${g}-row`]:{[`> ${g}-item-label, > ${g}-item-content`]:{padding:`${x.paddingSM}px ${x.paddingLG}px`}}},[`&${g}-small`]:{[`${g}-row`]:{[`> ${g}-item-label, > ${g}-item-content`]:{padding:`${x.paddingXS}px ${x.padding}px`}}}}}},ne=x=>{const{componentCls:g,extraColor:E,itemPaddingBottom:Z,colonMarginRight:L,colonMarginLeft:J,titleMarginBottom:ce}=x;return{[g]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(x)),c(x)),{"&-rtl":{direction:"rtl"},[`${g}-header`]:{display:"flex",alignItems:"center",marginBottom:ce},[`${g}-title`]:Object.assign(Object.assign({},ae.vS),{flex:"auto",color:x.colorText,fontWeight:x.fontWeightStrong,fontSize:x.fontSizeLG,lineHeight:x.lineHeightLG}),[`${g}-extra`]:{marginInlineStart:"auto",color:E,fontSize:x.fontSize},[`${g}-view`]:{width:"100%",borderRadius:x.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${g}-row`]:{"> th, > td":{paddingBottom:Z},"&:last-child":{borderBottom:"none"}},[`${g}-item-label`]:{color:x.colorTextTertiary,fontWeight:"normal",fontSize:x.fontSize,lineHeight:x.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${J}px ${L}px`},[`&${g}-item-no-colon::after`]:{content:'""'}},[`${g}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${g}-item-content`]:{display:"table-cell",flex:1,color:x.colorText,fontSize:x.fontSize,lineHeight:x.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${g}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${g}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${g}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${g}-row`]:{"> th, > td":{paddingBottom:x.paddingSM}}},"&-small":{[`${g}-row`]:{"> th, > td":{paddingBottom:x.paddingXS}}}})}};var Q=(0,S.Z)("Descriptions",x=>{const g=(0,ue.TS)(x,{});return[ne(g)]},x=>({labelBg:x.colorFillAlter,titleMarginBottom:x.fontSizeSM*x.lineHeightSM,itemPaddingBottom:x.padding,colonMarginRight:x.marginXS,colonMarginLeft:x.marginXXS/2,extraColor:x.colorText})),q=function(x,g){var E={};for(var Z in x)Object.prototype.hasOwnProperty.call(x,Z)&&g.indexOf(Z)<0&&(E[Z]=x[Z]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,Z=Object.getOwnPropertySymbols(x);L{const{prefixCls:g,title:E,extra:Z,column:L,colon:J=!0,bordered:ce,layout:De,children:we,className:Ae,rootClassName:Ce,style:M,size:We,labelStyle:Ie,contentStyle:u,items:j}=x,i=q(x,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:t,direction:e,descriptions:a}=n.useContext(_.E_),y=t("descriptions",g),W=(0,C.Z)(),N=n.useMemo(()=>{var at;return typeof L=="number"?L:(at=(0,U.m9)(W,Object.assign(Object.assign({},P),L)))!==null&&at!==void 0?at:3},[W,L]),se=d(W,j,we),ge=(0,D.Z)(We),fe=O(N,se),[R,He]=Q(y),Te=n.useMemo(()=>({labelStyle:Ie,contentStyle:u}),[Ie,u]);return R(n.createElement(o.Provider,{value:Te},n.createElement("div",Object.assign({className:B()(y,a==null?void 0:a.className,{[`${y}-${ge}`]:ge&&ge!=="default",[`${y}-bordered`]:!!ce,[`${y}-rtl`]:e==="rtl"},Ae,Ce,He),style:Object.assign(Object.assign({},a==null?void 0:a.style),M)},i),(E||Z)&&n.createElement("div",{className:`${y}-header`},E&&n.createElement("div",{className:`${y}-title`},E),Z&&n.createElement("div",{className:`${y}-extra`},Z)),n.createElement("div",{className:`${y}-view`},n.createElement("table",null,n.createElement("tbody",null,fe.map((at,Rt)=>n.createElement(V,{key:Rt,index:Rt,colon:J,prefixCls:y,vertical:De==="vertical",bordered:ce,row:at}))))))))};oe.Item=K;var Y=oe},13570:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return g}});var n=s(92413),X=s(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},U=B,_=s(7657),D=function(Z,L){return X.createElement(_.Z,(0,n.Z)({},Z,{ref:L,icon:U}))},C=X.forwardRef(D),l=C,P=s(92310),v=s.n(P),o=s(400),A=s(33606),F=s(37061),p=s(18929),d=s(10228),r=s(26112);function f(E,Z){var L=E.disabled,J=E.prefixCls,ce=E.character,De=E.characterRender,we=E.index,Ae=E.count,Ce=E.value,M=E.allowHalf,We=E.focused,Ie=E.onHover,u=E.onClick,j=function(se){Ie(se,we)},i=function(se){u(se,we)},t=function(se){se.keyCode===d.Z.ENTER&&u(se,we)},e=we+1,a=new Set([J]);Ce===0&&we===0&&We?a.add("".concat(J,"-focused")):M&&Ce+.5>=e&&Cewe?"true":"false","aria-posinset":we+1,"aria-setsize":Ae,tabIndex:L?-1:0},X.createElement("div",{className:"".concat(J,"-first")},y),X.createElement("div",{className:"".concat(J,"-second")},y)));return De&&(W=De(W,E)),W}var h=X.forwardRef(f);function O(){var E=X.useRef({});function Z(J){return E.current[J]}function L(J){return function(ce){E.current[J]=ce}}return[Z,L]}function T(E){var Z=E.pageXOffset,L="scrollLeft";if(typeof Z!="number"){var J=E.document;Z=J.documentElement[L],typeof Z!="number"&&(Z=J.body[L])}return Z}function K(E){var Z,L,J=E.ownerDocument,ce=J.body,De=J&&J.documentElement,we=E.getBoundingClientRect();return Z=we.left,L=we.top,Z-=De.clientLeft||ce.clientLeft||0,L-=De.clientTop||ce.clientTop||0,{left:Z,top:L}}function k(E){var Z=K(E),L=E.ownerDocument,J=L.defaultView||L.parentWindow;return Z.left+=T(J),Z.left}var te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function H(E,Z){var L,J=E.prefixCls,ce=J===void 0?"rc-rate":J,De=E.className,we=E.defaultValue,Ae=E.value,Ce=E.count,M=Ce===void 0?5:Ce,We=E.allowHalf,Ie=We===void 0?!1:We,u=E.allowClear,j=u===void 0?!0:u,i=E.character,t=i===void 0?"\u2605":i,e=E.characterRender,a=E.disabled,y=E.direction,W=y===void 0?"ltr":y,N=E.tabIndex,se=N===void 0?0:N,ge=E.autoFocus,fe=E.onHoverChange,R=E.onChange,He=E.onFocus,Te=E.onBlur,at=E.onKeyDown,Rt=E.onMouseLeave,qt=(0,F.Z)(E,te),Ot=O(),Ge=(0,A.Z)(Ot,2),xt=Ge[0],un=Ge[1],At=X.useRef(null),Xt=function(){if(!a){var ft;(ft=At.current)===null||ft===void 0||ft.focus()}};X.useImperativeHandle(Z,function(){return{focus:Xt,blur:function(){if(!a){var ft;(ft=At.current)===null||ft===void 0||ft.blur()}}}});var An=(0,p.Z)(we||0,{value:Ae}),Sn=(0,A.Z)(An,2),fn=Sn[0],Nn=Sn[1],yn=(0,p.Z)(null),Bn=(0,A.Z)(yn,2),Rn=Bn[0],$n=Bn[1],qn=function(ft,Gt){var Nt=W==="rtl",dt=ft+1;if(Ie){var vn=xt(ft),_n=k(vn),Wt=vn.clientWidth;(Nt&&Gt-_n>Wt/2||!Nt&&Gt-_n0&&!Nt||Gt===d.Z.RIGHT&&dt>0&&Nt?(Ie?dt-=.5:dt-=1,jn(dt),ft.preventDefault()):Gt===d.Z.LEFT&&dt{const{componentCls:Z}=E;return{[`${Z}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:E.marginXS},"> div":{transition:`all ${E.motionDurationMid}, outline 0s`,"&:hover":{transform:E.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${E.lineWidth}px dashed ${E.starColor}`,transform:E.starHoverScale}},"&-first, &-second":{color:E.starBg,transition:`all ${E.motionDurationMid}`,userSelect:"none",[E.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Z}-star-first, &-half ${Z}-star-second`]:{opacity:1},[`&-half ${Z}-star-first, &-full ${Z}-star-second`]:{color:"inherit"}}}},Q=E=>({[`&-rtl${E.componentCls}`]:{direction:"rtl"}}),q=E=>{const{componentCls:Z}=E;return{[Z]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(E)),{display:"inline-block",margin:0,padding:0,color:E.starColor,fontSize:E.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Z} ${Z}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ne(E)),{[`+ ${Z}-text`]:{display:"inline-block",marginInlineStart:E.marginXS,fontSize:E.fontSize}}),Q(E))}};var oe=(0,ue.Z)("Rate",E=>{const Z=(0,c.TS)(E,{});return[q(Z)]},E=>({starColor:E.yellow6,starSize:E.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:E.colorFillContent})),Y=function(E,Z){var L={};for(var J in E)Object.prototype.hasOwnProperty.call(E,J)&&Z.indexOf(J)<0&&(L[J]=E[J]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,J=Object.getOwnPropertySymbols(E);ce{const{prefixCls:L,className:J,rootClassName:ce,style:De,tooltips:we,character:Ae=X.createElement(l,null)}=E,Ce=Y(E,["prefixCls","className","rootClassName","style","tooltips","character"]),M=(a,y)=>{let{index:W}=y;return we?X.createElement(ae.Z,{title:we[W]},a):a},{getPrefixCls:We,direction:Ie,rate:u}=X.useContext(V.E_),j=We("rate",L),[i,t]=oe(j),e=Object.assign(Object.assign({},u==null?void 0:u.style),De);return i(X.createElement(z,Object.assign({ref:Z,character:Ae,characterRender:M},Ce,{className:v()(J,ce,t,u==null?void 0:u.className),style:e,prefixCls:j,direction:Ie})))})},61621:function(yt,Ke,s){"use strict";s.d(Ke,{Z:function(){return t}});var n=s(92310),X=s.n(n),B=s(59301),U=s(36355),_=s(2738),C=e=>{const{prefixCls:a,className:y,style:W,size:N,shape:se}=e,ge=X()({[`${a}-lg`]:N==="large",[`${a}-sm`]:N==="small"}),fe=X()({[`${a}-circle`]:se==="circle",[`${a}-square`]:se==="square",[`${a}-round`]:se==="round"}),R=B.useMemo(()=>typeof N=="number"?{width:N,height:N,lineHeight:`${N}px`}:{},[N]);return B.createElement("span",{className:X()(a,ge,fe,y),style:Object.assign(Object.assign({},R),W)})},l=s(93083),P=s(83116),v=s(37613);const o=new l.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),A=e=>({height:e,lineHeight:`${e}px`}),F=e=>Object.assign({width:e},A(e)),p=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:o,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),d=e=>Object.assign({width:e*5,minWidth:e*5},A(e)),r=e=>{const{skeletonAvatarCls:a,gradientFromColor:y,controlHeight:W,controlHeightLG:N,controlHeightSM:se}=e;return{[`${a}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:y},F(W)),[`${a}${a}-circle`]:{borderRadius:"50%"},[`${a}${a}-lg`]:Object.assign({},F(N)),[`${a}${a}-sm`]:Object.assign({},F(se))}},f=e=>{const{controlHeight:a,borderRadiusSM:y,skeletonInputCls:W,controlHeightLG:N,controlHeightSM:se,gradientFromColor:ge}=e;return{[`${W}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:y},d(a)),[`${W}-lg`]:Object.assign({},d(N)),[`${W}-sm`]:Object.assign({},d(se))}},h=e=>Object.assign({width:e},A(e)),O=e=>{const{skeletonImageCls:a,imageSizeBase:y,gradientFromColor:W,borderRadiusSM:N}=e;return{[`${a}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:W,borderRadius:N},h(y*2)),{[`${a}-path`]:{fill:"#bfbfbf"},[`${a}-svg`]:Object.assign(Object.assign({},h(y)),{maxWidth:y*4,maxHeight:y*4}),[`${a}-svg${a}-svg-circle`]:{borderRadius:"50%"}}),[`${a}${a}-circle`]:{borderRadius:"50%"}}},T=(e,a,y)=>{const{skeletonButtonCls:W}=e;return{[`${y}${W}-circle`]:{width:a,minWidth:a,borderRadius:"50%"},[`${y}${W}-round`]:{borderRadius:a}}},K=e=>Object.assign({width:e*2,minWidth:e*2},A(e)),k=e=>{const{borderRadiusSM:a,skeletonButtonCls:y,controlHeight:W,controlHeightLG:N,controlHeightSM:se,gradientFromColor:ge}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:a,width:W*2,minWidth:W*2},K(W))},T(e,W,y)),{[`${y}-lg`]:Object.assign({},K(N))}),T(e,N,`${y}-lg`)),{[`${y}-sm`]:Object.assign({},K(se))}),T(e,se,`${y}-sm`))},te=e=>{const{componentCls:a,skeletonAvatarCls:y,skeletonTitleCls:W,skeletonParagraphCls:N,skeletonButtonCls:se,skeletonInputCls:ge,skeletonImageCls:fe,controlHeight:R,controlHeightLG:He,controlHeightSM:Te,gradientFromColor:at,padding:Rt,marginSM:qt,borderRadius:Ot,titleHeight:Ge,blockRadius:xt,paragraphLiHeight:un,controlHeightXS:At,paragraphMarginTop:Xt}=e;return{[`${a}`]:{display:"table",width:"100%",[`${a}-header`]:{display:"table-cell",paddingInlineEnd:Rt,verticalAlign:"top",[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at},F(R)),[`${y}-circle`]:{borderRadius:"50%"},[`${y}-lg`]:Object.assign({},F(He)),[`${y}-sm`]:Object.assign({},F(Te))},[`${a}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${W}`]:{width:"100%",height:Ge,background:at,borderRadius:xt,[`+ ${N}`]:{marginBlockStart:Te}},[`${N}`]:{padding:0,"> li":{width:"100%",height:un,listStyle:"none",background:at,borderRadius:xt,"+ li":{marginBlockStart:At}}},[`${N}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${a}-content`]:{[`${W}, ${N} > li`]:{borderRadius:Ot}}},[`${a}-with-avatar ${a}-content`]:{[`${W}`]:{marginBlockStart:qt,[`+ ${N}`]:{marginBlockStart:Xt}}},[`${a}${a}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},k(e)),r(e)),f(e)),O(e)),[`${a}${a}-block`]:{width:"100%",[`${se}`]:{width:"100%"},[`${ge}`]:{width:"100%"}},[`${a}${a}-active`]:{[` + ${W}, + ${N} > li, + ${y}, + ${se}, + ${ge}, + ${fe} + `]:Object.assign({},p(e))}}};var H=(0,P.Z)("Skeleton",e=>{const{componentCls:a}=e,y=(0,v.TS)(e,{skeletonAvatarCls:`${a}-avatar`,skeletonTitleCls:`${a}-title`,skeletonParagraphCls:`${a}-paragraph`,skeletonButtonCls:`${a}-button`,skeletonInputCls:`${a}-input`,skeletonImageCls:`${a}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[te(y)]},e=>{const{colorFillContent:a,colorFill:y}=e,W=a,N=y;return{color:W,colorGradientEnd:N,gradientFromColor:W,gradientToColor:N,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),z=e=>{const{prefixCls:a,className:y,rootClassName:W,active:N,shape:se="circle",size:ge="default"}=e,{getPrefixCls:fe}=B.useContext(U.E_),R=fe("skeleton",a),[He,Te]=H(R),at=(0,_.Z)(e,["prefixCls","className"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:N},y,W,Te);return He(B.createElement("div",{className:Rt},B.createElement(C,Object.assign({prefixCls:`${R}-avatar`,shape:se,size:ge},at))))},ae=e=>{const{prefixCls:a,className:y,rootClassName:W,active:N,block:se=!1,size:ge="default"}=e,{getPrefixCls:fe}=B.useContext(U.E_),R=fe("skeleton",a),[He,Te]=H(R),at=(0,_.Z)(e,["prefixCls"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:N,[`${R}-block`]:se},y,W,Te);return He(B.createElement("div",{className:Rt},B.createElement(C,Object.assign({prefixCls:`${R}-button`,size:ge},at))))};const S="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var c=e=>{const{prefixCls:a,className:y,rootClassName:W,style:N,active:se}=e,{getPrefixCls:ge}=B.useContext(U.E_),fe=ge("skeleton",a),[R,He]=H(fe),Te=X()(fe,`${fe}-element`,{[`${fe}-active`]:se},y,W,He);return R(B.createElement("div",{className:Te},B.createElement("div",{className:X()(`${fe}-image`,y),style:N},B.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${fe}-image-svg`},B.createElement("path",{d:S,className:`${fe}-image-path`})))))},Q=e=>{const{prefixCls:a,className:y,rootClassName:W,active:N,block:se,size:ge="default"}=e,{getPrefixCls:fe}=B.useContext(U.E_),R=fe("skeleton",a),[He,Te]=H(R),at=(0,_.Z)(e,["prefixCls"]),Rt=X()(R,`${R}-element`,{[`${R}-active`]:N,[`${R}-block`]:se},y,W,Te);return He(B.createElement("div",{className:Rt},B.createElement(C,Object.assign({prefixCls:`${R}-input`,size:ge},at))))},q=s(92413),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Y=oe,x=s(7657),g=function(a,y){return B.createElement(x.Z,(0,q.Z)({},a,{ref:y,icon:Y}))},E=B.forwardRef(g),Z=E,J=e=>{const{prefixCls:a,className:y,rootClassName:W,style:N,active:se,children:ge}=e,{getPrefixCls:fe}=B.useContext(U.E_),R=fe("skeleton",a),[He,Te]=H(R),at=X()(R,`${R}-element`,{[`${R}-active`]:se},Te,y,W),Rt=ge!=null?ge:B.createElement(Z,null);return He(B.createElement("div",{className:at},B.createElement("div",{className:X()(`${R}-image`,y),style:N},Rt)))},ce=s(26407),we=e=>{const a=fe=>{const{width:R,rows:He=2}=e;if(Array.isArray(R))return R[fe];if(He-1===fe)return R},{prefixCls:y,className:W,style:N,rows:se}=e,ge=(0,ce.Z)(Array(se)).map((fe,R)=>B.createElement("li",{key:R,style:{width:a(R)}}));return B.createElement("ul",{className:X()(y,W),style:N},ge)},Ce=e=>{let{prefixCls:a,className:y,width:W,style:N}=e;return B.createElement("h3",{className:X()(a,y),style:Object.assign({width:W},N)})};function M(e){return e&&typeof e=="object"?e:{}}function We(e,a){return e&&!a?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ie(e,a){return!e&&a?{width:"38%"}:e&&a?{width:"50%"}:{}}function u(e,a){const y={};return(!e||!a)&&(y.width="61%"),!e&&a?y.rows=3:y.rows=2,y}const j=e=>{const{prefixCls:a,loading:y,className:W,rootClassName:N,style:se,children:ge,avatar:fe=!1,title:R=!0,paragraph:He=!0,active:Te,round:at}=e,{getPrefixCls:Rt,direction:qt,skeleton:Ot}=B.useContext(U.E_),Ge=Rt("skeleton",a),[xt,un]=H(Ge);if(y||!("loading"in e)){const At=!!fe,Xt=!!R,An=!!He;let Sn;if(At){const yn=Object.assign(Object.assign({prefixCls:`${Ge}-avatar`},We(Xt,An)),M(fe));Sn=B.createElement("div",{className:`${Ge}-header`},B.createElement(C,Object.assign({},yn)))}let fn;if(Xt||An){let yn;if(Xt){const Rn=Object.assign(Object.assign({prefixCls:`${Ge}-title`},Ie(At,An)),M(R));yn=B.createElement(Ce,Object.assign({},Rn))}let Bn;if(An){const Rn=Object.assign(Object.assign({prefixCls:`${Ge}-paragraph`},u(At,Xt)),M(He));Bn=B.createElement(we,Object.assign({},Rn))}fn=B.createElement("div",{className:`${Ge}-content`},yn,Bn)}const Nn=X()(Ge,{[`${Ge}-with-avatar`]:At,[`${Ge}-active`]:Te,[`${Ge}-rtl`]:qt==="rtl",[`${Ge}-round`]:at},Ot==null?void 0:Ot.className,W,N,un);return xt(B.createElement("div",{className:Nn,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),se)},Sn,fn))}return typeof ge!="undefined"?ge:null};j.Button=ae,j.Avatar=z,j.Input=Q,j.Image=c,j.Node=J;var i=j,t=i},31797:function(yt,Ke,s){"use strict";s.d(Ke,{default:function(){return H}});var n=s(59301),X=s(56762),B=s(92343),U=s(92310),_=s.n(U),D=s(36355),C=s(61621),P=$=>{const{value:z,formatter:V,precision:ae,decimalSeparator:S,groupSeparator:ue="",prefixCls:c}=$;let ne;if(typeof V=="function")ne=V(z);else{const Q=String(z),q=Q.match(/^(-?)(\d*)(\.(\d+))?$/);if(!q||Q==="-")ne=Q;else{const oe=q[1];let Y=q[2]||"0",x=q[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof ae=="number"&&(x=x.padEnd(ae,"0").slice(0,ae>0?ae:0)),x&&(x=`${S}${x}`),ne=[n.createElement("span",{key:"int",className:`${c}-content-value-int`},oe,Y),x&&n.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},x)]}}return n.createElement("span",{className:`${c}-content-value`},ne)},v=s(17313),o=s(83116),A=s(37613);const F=$=>{const{componentCls:z,marginXXS:V,padding:ae,colorTextDescription:S,titleFontSize:ue,colorTextHeading:c,contentFontSize:ne,fontFamily:Q}=$;return{[`${z}`]:Object.assign(Object.assign({},(0,v.Wf)($)),{[`${z}-title`]:{marginBottom:V,color:S,fontSize:ue},[`${z}-skeleton`]:{paddingTop:ae},[`${z}-content`]:{color:c,fontSize:ne,fontFamily:Q,[`${z}-content-value`]:{display:"inline-block",direction:"ltr"},[`${z}-content-prefix, ${z}-content-suffix`]:{display:"inline-block"},[`${z}-content-prefix`]:{marginInlineEnd:V},[`${z}-content-suffix`]:{marginInlineStart:V}}})}};var p=(0,o.Z)("Statistic",$=>{const z=(0,A.TS)($,{});return[F(z)]},$=>{const{fontSizeHeading3:z,fontSize:V}=$;return{titleFontSize:V,contentFontSize:z}}),r=$=>{const{prefixCls:z,className:V,rootClassName:ae,style:S,valueStyle:ue,value:c=0,title:ne,valueRender:Q,prefix:q,suffix:oe,loading:Y=!1,onMouseEnter:x,onMouseLeave:g,decimalSeparator:E=".",groupSeparator:Z=","}=$,{getPrefixCls:L,direction:J,statistic:ce}=n.useContext(D.E_),De=L("statistic",z),[we,Ae]=p(De),Ce=n.createElement(P,Object.assign({decimalSeparator:E,groupSeparator:Z,prefixCls:De},$,{value:c})),M=_()(De,{[`${De}-rtl`]:J==="rtl"},ce==null?void 0:ce.className,V,ae,Ae);return we(n.createElement("div",{className:M,style:Object.assign(Object.assign({},ce==null?void 0:ce.style),S),onMouseEnter:x,onMouseLeave:g},ne&&n.createElement("div",{className:`${De}-title`},ne),n.createElement(C.Z,{paragraph:!1,loading:Y,className:`${De}-skeleton`},n.createElement("div",{style:ue,className:`${De}-content`},q&&n.createElement("span",{className:`${De}-content-prefix`},q),Q?Q(Ce):Ce,oe&&n.createElement("span",{className:`${De}-content-suffix`},oe)))))};const f=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function h($,z){let V=$;const ae=/\[[^\]]*]/g,S=(z.match(ae)||[]).map(Q=>Q.slice(1,-1)),ue=z.replace(ae,"[]"),c=f.reduce((Q,q)=>{let[oe,Y]=q;if(Q.includes(oe)){const x=Math.floor(V/Y);return V-=x*Y,Q.replace(new RegExp(`${oe}+`,"g"),g=>{const E=g.length;return x.toString().padStart(E,"0")})}return Q},ue);let ne=0;return c.replace(ae,()=>{const Q=S[ne];return ne+=1,Q})}function O($,z){const{format:V=""}=z,ae=new Date($).getTime(),S=Date.now(),ue=Math.max(ae-S,0);return h(ue,V)}const T=1e3/30;function K($){return new Date($).getTime()}const k=$=>{const{value:z,format:V="HH:mm:ss",onChange:ae,onFinish:S}=$,ue=(0,X.Z)(),c=n.useRef(null),ne=()=>{S==null||S(),c.current&&(clearInterval(c.current),c.current=null)},Q=()=>{const Y=K(z);Y>=Date.now()&&(c.current=setInterval(()=>{ue(),ae==null||ae(Y-Date.now()),Y(Q(),()=>{c.current&&(clearInterval(c.current),c.current=null)}),[z]);const q=(Y,x)=>O(Y,Object.assign(Object.assign({},x),{format:V})),oe=Y=>(0,B.Tm)(Y,{title:void 0});return n.createElement(r,Object.assign({},$,{valueRender:oe,formatter:q}))};var te=n.memo(k);r.Countdown=te;var H=r},86251:function(yt,Ke){"use strict";Ke.byteLength=C,Ke.toByteArray=P,Ke.fromByteArray=A;for(var s=[],n=[],X=typeof Uint8Array!="undefined"?Uint8Array:Array,B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U=0,_=B.length;U<_;++U)s[U]=B[U],n[B.charCodeAt(U)]=U;n[45]=62,n[95]=63;function D(F){var p=F.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var d=F.indexOf("=");d===-1&&(d=p);var r=d===p?0:4-d%4;return[d,r]}function C(F){var p=D(F),d=p[0],r=p[1];return(d+r)*3/4-r}function l(F,p,d){return(p+d)*3/4-d}function P(F){var p,d=D(F),r=d[0],f=d[1],h=new X(l(F,r,f)),O=0,T=f>0?r-4:r,K;for(K=0;K>16&255,h[O++]=p>>8&255,h[O++]=p&255;return f===2&&(p=n[F.charCodeAt(K)]<<2|n[F.charCodeAt(K+1)]>>4,h[O++]=p&255),f===1&&(p=n[F.charCodeAt(K)]<<10|n[F.charCodeAt(K+1)]<<4|n[F.charCodeAt(K+2)]>>2,h[O++]=p>>8&255,h[O++]=p&255),h}function v(F){return s[F>>18&63]+s[F>>12&63]+s[F>>6&63]+s[F&63]}function o(F,p,d){for(var r,f=[],h=p;hT?T:O+h));return r===1?(p=F[d-1],f.push(s[p>>2]+s[p<<4&63]+"==")):r===2&&(p=(F[d-2]<<8)+F[d-1],f.push(s[p>>10]+s[p>>4&63]+s[p<<2&63]+"=")),f.join("")}},19208:function(yt,Ke,s){"use strict";var n;var X=s(86251),B=s(67467),U=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ke.lW=l,n=O,Ke.h2=50;var _=2147483647;n=_,l.TYPED_ARRAY_SUPPORT=D(),!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function D(){try{var i=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(i,t),i.foo()===42}catch(e){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function C(i){if(i>_)throw new RangeError('The value "'+i+'" is invalid for option "size"');var t=new Uint8Array(i);return Object.setPrototypeOf(t,l.prototype),t}function l(i,t,e){if(typeof i=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(i)}return P(i,t,e)}l.poolSize=8192;function P(i,t,e){if(typeof i=="string")return F(i,t);if(ArrayBuffer.isView(i))return d(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(Ie(i,ArrayBuffer)||i&&Ie(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ie(i,SharedArrayBuffer)||i&&Ie(i.buffer,SharedArrayBuffer)))return r(i,t,e);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=i.valueOf&&i.valueOf();if(a!=null&&a!==i)return l.from(a,t,e);var y=f(i);if(y)return y;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return l.from(i[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}l.from=function(i,t,e){return P(i,t,e)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function v(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function o(i,t,e){return v(i),i<=0?C(i):t!==void 0?typeof e=="string"?C(i).fill(t,e):C(i).fill(t):C(i)}l.alloc=function(i,t,e){return o(i,t,e)};function A(i){return v(i),C(i<0?0:h(i)|0)}l.allocUnsafe=function(i){return A(i)},l.allocUnsafeSlow=function(i){return A(i)};function F(i,t){if((typeof t!="string"||t==="")&&(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=T(i,t)|0,a=C(e),y=a.write(i,t);return y!==e&&(a=a.slice(0,y)),a}function p(i){for(var t=i.length<0?0:h(i.length)|0,e=C(t),a=0;a=_)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_.toString(16)+" bytes");return i|0}function O(i){return+i!=i&&(i=0),l.alloc(+i)}l.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==l.prototype},l.compare=function(t,e){if(Ie(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),Ie(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var a=t.length,y=e.length,W=0,N=Math.min(a,y);Wy.length?l.from(N).copy(y,W):Uint8Array.prototype.set.call(y,N,W);else if(l.isBuffer(N))N.copy(y,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=N.length}return y};function T(i,t){if(l.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||Ie(i,ArrayBuffer))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);var e=i.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&e===0)return 0;for(var y=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return we(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return M(i).length;default:if(y)return a?-1:we(i).length;t=(""+t).toLowerCase(),y=!0}}l.byteLength=T;function K(i,t,e){var a=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(i||(i="utf8");;)switch(i){case"hex":return Y(this,t,e);case"utf8":case"utf-8":return c(this,t,e);case"ascii":return q(this,t,e);case"latin1":case"binary":return oe(this,t,e);case"base64":return ue(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),a=!0}}l.prototype._isBuffer=!0;function k(i,t,e){var a=i[t];i[t]=i[e],i[e]=a}l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;ee&&(t+=" ... "),""},U&&(l.prototype[U]=l.prototype.inspect),l.prototype.compare=function(t,e,a,y,W){if(Ie(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),a===void 0&&(a=t?t.length:0),y===void 0&&(y=0),W===void 0&&(W=this.length),e<0||a>t.length||y<0||W>this.length)throw new RangeError("out of range index");if(y>=W&&e>=a)return 0;if(y>=W)return-1;if(e>=a)return 1;if(e>>>=0,a>>>=0,y>>>=0,W>>>=0,this===t)return 0;for(var N=W-y,se=a-e,ge=Math.min(N,se),fe=this.slice(y,W),R=t.slice(e,a),He=0;He2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,u(e)&&(e=y?0:i.length-1),e<0&&(e=i.length+e),e>=i.length){if(y)return-1;e=i.length-1}else if(e<0)if(y)e=0;else return-1;if(typeof t=="string"&&(t=l.from(t,a)),l.isBuffer(t))return t.length===0?-1:H(i,t,e,a,y);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(i,t,e):Uint8Array.prototype.lastIndexOf.call(i,t,e):H(i,[t],e,a,y);throw new TypeError("val must be string, number or Buffer")}function H(i,t,e,a,y){var W=1,N=i.length,se=t.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(i.length<2||t.length<2)return-1;W=2,N/=2,se/=2,e/=2}function ge(at,Rt){return W===1?at[Rt]:at.readUInt16BE(Rt*W)}var fe;if(y){var R=-1;for(fe=e;feN&&(e=N-se),fe=e;fe>=0;fe--){for(var He=!0,Te=0;Tey&&(a=y)):a=y;var W=t.length;a>W/2&&(a=W/2);for(var N=0;N>>0,isFinite(a)?(a=a>>>0,y===void 0&&(y="utf8")):(y=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var W=this.length-e;if((a===void 0||a>W)&&(a=W),t.length>0&&(a<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");for(var N=!1;;)switch(y){case"hex":return $(this,t,e,a);case"utf8":case"utf-8":return z(this,t,e,a);case"ascii":case"latin1":case"binary":return V(this,t,e,a);case"base64":return ae(this,t,e,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,a);default:if(N)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),N=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ue(i,t,e){return t===0&&e===i.length?X.fromByteArray(i):X.fromByteArray(i.slice(t,e))}function c(i,t,e){e=Math.min(i.length,e);for(var a=[],y=t;y239?4:W>223?3:W>191?2:1;if(y+se<=e){var ge,fe,R,He;switch(se){case 1:W<128&&(N=W);break;case 2:ge=i[y+1],(ge&192)===128&&(He=(W&31)<<6|ge&63,He>127&&(N=He));break;case 3:ge=i[y+1],fe=i[y+2],(ge&192)===128&&(fe&192)===128&&(He=(W&15)<<12|(ge&63)<<6|fe&63,He>2047&&(He<55296||He>57343)&&(N=He));break;case 4:ge=i[y+1],fe=i[y+2],R=i[y+3],(ge&192)===128&&(fe&192)===128&&(R&192)===128&&(He=(W&15)<<18|(ge&63)<<12|(fe&63)<<6|R&63,He>65535&&He<1114112&&(N=He))}}N===null?(N=65533,se=1):N>65535&&(N-=65536,a.push(N>>>10&1023|55296),N=56320|N&1023),a.push(N),y+=se}return Q(a)}var ne=4096;function Q(i){var t=i.length;if(t<=ne)return String.fromCharCode.apply(String,i);for(var e="",a=0;aa)&&(e=a);for(var y="",W=t;Wa&&(t=a),e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),ee)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,a){t=t>>>0,e=e>>>0,a||g(t,e,this.length);for(var y=this[t],W=1,N=0;++N>>0,e=e>>>0,a||g(t,e,this.length);for(var y=this[t+--e],W=1;e>0&&(W*=256);)y+=this[t+--e]*W;return y},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t=t>>>0,e||g(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||g(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||g(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||g(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||g(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,a){t=t>>>0,e=e>>>0,a||g(t,e,this.length);for(var y=this[t],W=1,N=0;++N=W&&(y-=Math.pow(2,8*e)),y},l.prototype.readIntBE=function(t,e,a){t=t>>>0,e=e>>>0,a||g(t,e,this.length);for(var y=e,W=1,N=this[t+--y];y>0&&(W*=256);)N+=this[t+--y]*W;return W*=128,N>=W&&(N-=Math.pow(2,8*e)),N},l.prototype.readInt8=function(t,e){return t=t>>>0,e||g(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},l.prototype.readInt16LE=function(t,e){t=t>>>0,e||g(t,2,this.length);var a=this[t]|this[t+1]<<8;return a&32768?a|4294901760:a},l.prototype.readInt16BE=function(t,e){t=t>>>0,e||g(t,2,this.length);var a=this[t+1]|this[t]<<8;return a&32768?a|4294901760:a},l.prototype.readInt32LE=function(t,e){return t=t>>>0,e||g(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t=t>>>0,e||g(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return t=t>>>0,e||g(t,4,this.length),B.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t=t>>>0,e||g(t,4,this.length),B.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||g(t,8,this.length),B.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||g(t,8,this.length),B.read(this,t,!1,52,8)};function E(i,t,e,a,y,W){if(!l.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>y||ti.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,a,y){if(t=+t,e=e>>>0,a=a>>>0,!y){var W=Math.pow(2,8*a)-1;E(this,t,e,a,W,0)}var N=1,se=0;for(this[e]=t&255;++se>>0,a=a>>>0,!y){var W=Math.pow(2,8*a)-1;E(this,t,e,a,W,0)}var N=a-1,se=1;for(this[e+N]=t&255;--N>=0&&(se*=256);)this[e+N]=t/se&255;return e+a},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,1,255,0),this[e]=t&255,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},l.prototype.writeIntLE=function(t,e,a,y){if(t=+t,e=e>>>0,!y){var W=Math.pow(2,8*a-1);E(this,t,e,a,W-1,-W)}var N=0,se=1,ge=0;for(this[e]=t&255;++N>0)-ge&255;return e+a},l.prototype.writeIntBE=function(t,e,a,y){if(t=+t,e=e>>>0,!y){var W=Math.pow(2,8*a-1);E(this,t,e,a,W-1,-W)}var N=a-1,se=1,ge=0;for(this[e+N]=t&255;--N>=0&&(se*=256);)t<0&&ge===0&&this[e+N+1]!==0&&(ge=1),this[e+N]=(t/se>>0)-ge&255;return e+a},l.prototype.writeInt8=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},l.prototype.writeInt16LE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},l.prototype.writeInt32LE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,a){return t=+t,e=e>>>0,a||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function Z(i,t,e,a,y,W){if(e+a>i.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function L(i,t,e,a,y){return t=+t,e=e>>>0,y||Z(i,t,e,4,34028234663852886e22,-34028234663852886e22),B.write(i,t,e,a,23,4),e+4}l.prototype.writeFloatLE=function(t,e,a){return L(this,t,e,!0,a)},l.prototype.writeFloatBE=function(t,e,a){return L(this,t,e,!1,a)};function J(i,t,e,a,y){return t=+t,e=e>>>0,y||Z(i,t,e,8,17976931348623157e292,-17976931348623157e292),B.write(i,t,e,a,52,8),e+8}l.prototype.writeDoubleLE=function(t,e,a){return J(this,t,e,!0,a)},l.prototype.writeDoubleBE=function(t,e,a){return J(this,t,e,!1,a)},l.prototype.copy=function(t,e,a,y){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(a||(a=0),!y&&y!==0&&(y=this.length),e>=t.length&&(e=t.length),e||(e=0),y>0&&y=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),t.length-e>>0,a=a===void 0?this.length:a>>>0,t||(t=0);var N;if(typeof t=="number")for(N=e;N55295&&e<57344){if(!y){if(e>56319){(t-=3)>-1&&W.push(239,191,189);continue}else if(N+1===a){(t-=3)>-1&&W.push(239,191,189);continue}y=e;continue}if(e<56320){(t-=3)>-1&&W.push(239,191,189),y=e;continue}e=(y-55296<<10|e-56320)+65536}else y&&(t-=3)>-1&&W.push(239,191,189);if(y=null,e<128){if((t-=1)<0)break;W.push(e)}else if(e<2048){if((t-=2)<0)break;W.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;W.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;W.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return W}function Ae(i){for(var t=[],e=0;e>8,y=e%256,W.push(y),W.push(a);return W}function M(i){return X.toByteArray(De(i))}function We(i,t,e,a){for(var y=0;y=t.length||y>=i.length);++y)t[y+e]=i[y];return y}function Ie(i,t){return i instanceof t||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===t.name}function u(i){return i!==i}var j=function(){for(var i="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var a=e*16,y=0;y<16;++y)t[a+y]=i[e]+i[y];return t}()},67467:function(yt,Ke){Ke.read=function(s,n,X,B,U){var _,D,C=U*8-B-1,l=(1<>1,v=-7,o=X?U-1:0,A=X?-1:1,F=s[n+o];for(o+=A,_=F&(1<<-v)-1,F>>=-v,v+=C;v>0;_=_*256+s[n+o],o+=A,v-=8);for(D=_&(1<<-v)-1,_>>=-v,v+=B;v>0;D=D*256+s[n+o],o+=A,v-=8);if(_===0)_=1-P;else{if(_===l)return D?NaN:(F?-1:1)*(1/0);D=D+Math.pow(2,B),_=_-P}return(F?-1:1)*D*Math.pow(2,_-B)},Ke.write=function(s,n,X,B,U,_){var D,C,l,P=_*8-U-1,v=(1<>1,A=U===23?Math.pow(2,-24)-Math.pow(2,-77):0,F=B?0:_-1,p=B?1:-1,d=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(C=isNaN(n)?1:0,D=v):(D=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-D))<1&&(D--,l*=2),D+o>=1?n+=A/l:n+=A*Math.pow(2,1-o),n*l>=2&&(D++,l/=2),D+o>=v?(C=0,D=v):D+o>=1?(C=(n*l-1)*Math.pow(2,U),D=D+o):(C=n*Math.pow(2,o-1)*Math.pow(2,U),D=0));U>=8;s[X+F]=C&255,F+=p,C/=256,U-=8);for(D=D<0;s[X+F]=D&255,F+=p,D/=256,P-=8);s[X+F-p]|=d*128}},86129:function(yt,Ke,s){var n=s(19208).lW,X=s(97671);(function(B){yt.exports=B()})(function(){return function B(U,_,D){function C(v,o){if(!_[v]){if(!U[v]){var A=void 0;if(!o&&A)return require(v,!0);if(l)return l(v,!0);var F=new Error("Cannot find module '"+v+"'");throw F.code="MODULE_NOT_FOUND",F}var p=_[v]={exports:{}};U[v][0].call(p.exports,function(d){var r=U[v][1][d];return C(r||d)},p,p.exports,B,U,_,D)}return _[v].exports}for(var l=void 0,P=0;P>2,p=(3&v)<<4|o>>4,d=1>6:64,r=2>4,o=(15&F)<<4|(p=l.indexOf(P.charAt(r++)))>>2,A=(3&p)<<6|(d=l.indexOf(P.charAt(r++))),O[f++]=v,p!==64&&(O[f++]=o),d!==64&&(O[f++]=A);return O}},{"./support":30,"./utils":32}],2:[function(B,U,_){"use strict";var D=B("./external"),C=B("./stream/DataWorker"),l=B("./stream/Crc32Probe"),P=B("./stream/DataLengthProbe");function v(o,A,F,p,d){this.compressedSize=o,this.uncompressedSize=A,this.crc32=F,this.compression=p,this.compressedContent=d}v.prototype={getContentWorker:function(){var o=new C(D.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new P("data_length")),A=this;return o.on("end",function(){if(this.streamInfo.data_length!==A.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),o},getCompressedWorker:function(){return new C(D.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},v.createWorkerFrom=function(o,A,F){return o.pipe(new l).pipe(new P("uncompressedSize")).pipe(A.compressWorker(F)).pipe(new P("compressedSize")).withStreamInfo("compression",A)},U.exports=v},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,U,_){"use strict";var D=B("./stream/GenericWorker");_.STORE={magic:"\0\0",compressWorker:function(){return new D("STORE compression")},uncompressWorker:function(){return new D("STORE decompression")}},_.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,U,_){"use strict";var D=B("./utils"),C=function(){for(var l,P=[],v=0;v<256;v++){l=v;for(var o=0;o<8;o++)l=1&l?3988292384^l>>>1:l>>>1;P[v]=l}return P}();U.exports=function(l,P){return l!==void 0&&l.length?D.getTypeOf(l)!=="string"?function(v,o,A,F){var p=C,d=F+A;v^=-1;for(var r=F;r>>8^p[255&(v^o[r])];return-1^v}(0|P,l,l.length,0):function(v,o,A,F){var p=C,d=F+A;v^=-1;for(var r=F;r>>8^p[255&(v^o.charCodeAt(r))];return-1^v}(0|P,l,l.length,0):0}},{"./utils":32}],5:[function(B,U,_){"use strict";_.base64=!1,_.binary=!1,_.dir=!1,_.createFolders=!0,_.date=null,_.compression=null,_.compressionOptions=null,_.comment=null,_.unixPermissions=null,_.dosPermissions=null},{}],6:[function(B,U,_){"use strict";var D=null;D=typeof Promise!="undefined"?Promise:B("lie"),U.exports={Promise:D}},{lie:37}],7:[function(B,U,_){"use strict";var D=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",C=B("pako"),l=B("./utils"),P=B("./stream/GenericWorker"),v=D?"uint8array":"array";function o(A,F){P.call(this,"FlateWorker/"+A),this._pako=null,this._pakoAction=A,this._pakoOptions=F,this.meta={}}_.magic="\b\0",l.inherits(o,P),o.prototype.processChunk=function(A){this.meta=A.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(v,A.data),!1)},o.prototype.flush=function(){P.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},o.prototype.cleanUp=function(){P.prototype.cleanUp.call(this),this._pako=null},o.prototype._createPako=function(){this._pako=new C[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var A=this;this._pako.onData=function(F){A.push({data:F,meta:A.meta})}},_.compressWorker=function(A){return new o("Deflate",A)},_.uncompressWorker=function(){return new o("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,U,_){"use strict";function D(p,d){var r,f="";for(r=0;r>>=8;return f}function C(p,d,r,f,h,O){var T,K,k=p.file,te=p.compression,H=O!==v.utf8encode,$=l.transformTo("string",O(k.name)),z=l.transformTo("string",v.utf8encode(k.name)),V=k.comment,ae=l.transformTo("string",O(V)),S=l.transformTo("string",v.utf8encode(V)),ue=z.length!==k.name.length,c=S.length!==V.length,ne="",Q="",q="",oe=k.dir,Y=k.date,x={crc32:0,compressedSize:0,uncompressedSize:0};d&&!r||(x.crc32=p.crc32,x.compressedSize=p.compressedSize,x.uncompressedSize=p.uncompressedSize);var g=0;d&&(g|=8),H||!ue&&!c||(g|=2048);var E=0,Z=0;oe&&(E|=16),h==="UNIX"?(Z=798,E|=function(J,ce){var De=J;return J||(De=ce?16893:33204),(65535&De)<<16}(k.unixPermissions,oe)):(Z=20,E|=function(J){return 63&(J||0)}(k.dosPermissions)),T=Y.getUTCHours(),T<<=6,T|=Y.getUTCMinutes(),T<<=5,T|=Y.getUTCSeconds()/2,K=Y.getUTCFullYear()-1980,K<<=4,K|=Y.getUTCMonth()+1,K<<=5,K|=Y.getUTCDate(),ue&&(Q=D(1,1)+D(o($),4)+z,ne+="up"+D(Q.length,2)+Q),c&&(q=D(1,1)+D(o(ae),4)+S,ne+="uc"+D(q.length,2)+q);var L="";return L+=` +\0`,L+=D(g,2),L+=te.magic,L+=D(T,2),L+=D(K,2),L+=D(x.crc32,4),L+=D(x.compressedSize,4),L+=D(x.uncompressedSize,4),L+=D($.length,2),L+=D(ne.length,2),{fileRecord:A.LOCAL_FILE_HEADER+L+$+ne,dirRecord:A.CENTRAL_FILE_HEADER+D(Z,2)+L+D(ae.length,2)+"\0\0\0\0"+D(E,4)+D(f,4)+$+ne+ae}}var l=B("../utils"),P=B("../stream/GenericWorker"),v=B("../utf8"),o=B("../crc32"),A=B("../signature");function F(p,d,r,f){P.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=r,this.encodeFileName=f,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(F,P),F.prototype.push=function(p){var d=p.meta.percent||0,r=this.entriesCount,f=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,P.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:r?(d+100*(r-f-1))/r:100}}))},F.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var d=this.streamFiles&&!p.file.dir;if(d){var r=C(p,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},F.prototype.closedSource=function(p){this.accumulate=!1;var d=this.streamFiles&&!p.file.dir,r=C(p,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),d)this.push({data:function(f){return A.DATA_DESCRIPTOR+D(f.crc32,4)+D(f.compressedSize,4)+D(f.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},F.prototype.flush=function(){for(var p=this.bytesWritten,d=0;d=this.index;P--)v=(v<<8)+this.byteAt(P);return this.index+=l,v},readString:function(l){return D.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},U.exports=C},{"../utils":32}],19:[function(B,U,_){"use strict";var D=B("./Uint8ArrayReader");function C(l){D.call(this,l)}B("../utils").inherits(C,D),C.prototype.readData=function(l){this.checkOffset(l);var P=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=C},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,U,_){"use strict";var D=B("./DataReader");function C(l){D.call(this,l)}B("../utils").inherits(C,D),C.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},C.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},C.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},C.prototype.readData=function(l){this.checkOffset(l);var P=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=C},{"../utils":32,"./DataReader":18}],21:[function(B,U,_){"use strict";var D=B("./ArrayReader");function C(l){D.call(this,l)}B("../utils").inherits(C,D),C.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var P=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,P},U.exports=C},{"../utils":32,"./ArrayReader":17}],22:[function(B,U,_){"use strict";var D=B("../utils"),C=B("../support"),l=B("./ArrayReader"),P=B("./StringReader"),v=B("./NodeBufferReader"),o=B("./Uint8ArrayReader");U.exports=function(A){var F=D.getTypeOf(A);return D.checkSupport(F),F!=="string"||C.uint8array?F==="nodebuffer"?new v(A):C.uint8array?new o(D.transformTo("uint8array",A)):new l(D.transformTo("array",A)):new P(A)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,U,_){"use strict";_.LOCAL_FILE_HEADER="PK",_.CENTRAL_FILE_HEADER="PK",_.CENTRAL_DIRECTORY_END="PK",_.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",_.ZIP64_CENTRAL_DIRECTORY_END="PK",_.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,U,_){"use strict";var D=B("./GenericWorker"),C=B("../utils");function l(P){D.call(this,"ConvertWorker to "+P),this.destType=P}C.inherits(l,D),l.prototype.processChunk=function(P){this.push({data:C.transformTo(this.destType,P.data),meta:P.meta})},U.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(B,U,_){"use strict";var D=B("./GenericWorker"),C=B("../crc32");function l(){D.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(l,D),l.prototype.processChunk=function(P){this.streamInfo.crc32=C(P.data,this.streamInfo.crc32||0),this.push(P)},U.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,U,_){"use strict";var D=B("../utils"),C=B("./GenericWorker");function l(P){C.call(this,"DataLengthProbe for "+P),this.propName=P,this.withStreamInfo(P,0)}D.inherits(l,C),l.prototype.processChunk=function(P){if(P){var v=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=v+P.data.length}C.prototype.processChunk.call(this,P)},U.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(B,U,_){"use strict";var D=B("../utils"),C=B("./GenericWorker");function l(P){C.call(this,"DataWorker");var v=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,P.then(function(o){v.dataIsReady=!0,v.data=o,v.max=o&&o.length||0,v.type=D.getTypeOf(o),v.isPaused||v._tickAndRepeat()},function(o){v.error(o)})}D.inherits(l,C),l.prototype.cleanUp=function(){C.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!C.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,D.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(D.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var P=null,v=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":P=this.data.substring(this.index,v);break;case"uint8array":P=this.data.subarray(this.index,v);break;case"array":case"nodebuffer":P=this.data.slice(this.index,v)}return this.index=v,this.push({data:P,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(B,U,_){"use strict";function D(C){this.name=C||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}D.prototype={push:function(C){this.emit("data",C)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(C){this.emit("error",C)}return!0},error:function(C){return!this.isFinished&&(this.isPaused?this.generatedError=C:(this.isFinished=!0,this.emit("error",C),this.previous&&this.previous.error(C),this.cleanUp()),!0)},on:function(C,l){return this._listeners[C].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(C,l){if(this._listeners[C])for(var P=0;P "+C:C}},U.exports=D},{}],29:[function(B,U,_){"use strict";var D=B("../utils"),C=B("./ConvertWorker"),l=B("./GenericWorker"),P=B("../base64"),v=B("../support"),o=B("../external"),A=null;if(v.nodestream)try{A=B("../nodejs/NodejsStreamOutputAdapter")}catch(d){}function F(d,r){return new o.Promise(function(f,h){var O=[],T=d._internalType,K=d._outputType,k=d._mimeType;d.on("data",function(te,H){O.push(te),r&&r(H)}).on("error",function(te){O=[],h(te)}).on("end",function(){try{var te=function(H,$,z){switch(H){case"blob":return D.newBlob(D.transformTo("arraybuffer",$),z);case"base64":return P.encode($);default:return D.transformTo(H,$)}}(K,function(H,$){var z,V=0,ae=null,S=0;for(z=0;z<$.length;z++)S+=$[z].length;switch(H){case"string":return $.join("");case"array":return Array.prototype.concat.apply([],$);case"uint8array":for(ae=new Uint8Array(S),z=0;z<$.length;z++)ae.set($[z],V),V+=$[z].length;return ae;case"nodebuffer":return n.concat($);default:throw new Error("concat : unsupported type '"+H+"'")}}(T,O),k);f(te)}catch(H){h(H)}O=[]}).resume()})}function p(d,r,f){var h=r;switch(r){case"blob":case"arraybuffer":h="uint8array";break;case"base64":h="string"}try{this._internalType=h,this._outputType=r,this._mimeType=f,D.checkSupport(h),this._worker=d.pipe(new C(h)),d.lock()}catch(O){this._worker=new l("error"),this._worker.error(O)}}p.prototype={accumulate:function(d){return F(this,d)},on:function(d,r){var f=this;return d==="data"?this._worker.on(d,function(h){r.call(f,h.data,h.meta)}):this._worker.on(d,function(){D.delay(r,arguments,f)}),this},resume:function(){return D.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(D.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new A(this,{objectMode:this._outputType!=="nodebuffer"},d)}},U.exports=p},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(B,U,_){"use strict";if(_.base64=!0,_.array=!0,_.string=!0,_.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",_.nodebuffer=typeof n!="undefined",_.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")_.blob=!1;else{var D=new ArrayBuffer(0);try{_.blob=new Blob([D],{type:"application/zip"}).size===0}catch(l){try{var C=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);C.append(D),_.blob=C.getBlob("application/zip").size===0}catch(P){_.blob=!1}}}try{_.nodestream=!!B("readable-stream").Readable}catch(l){_.nodestream=!1}},{"readable-stream":16}],31:[function(B,U,_){"use strict";for(var D=B("./utils"),C=B("./support"),l=B("./nodejsUtils"),P=B("./stream/GenericWorker"),v=new Array(256),o=0;o<256;o++)v[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;v[254]=v[254]=1;function A(){P.call(this,"utf-8 decode"),this.leftOver=null}function F(){P.call(this,"utf-8 encode")}_.utf8encode=function(p){return C.nodebuffer?l.newBufferFrom(p,"utf-8"):function(d){var r,f,h,O,T,K=d.length,k=0;for(O=0;O>>6:(f<65536?r[T++]=224|f>>>12:(r[T++]=240|f>>>18,r[T++]=128|f>>>12&63),r[T++]=128|f>>>6&63),r[T++]=128|63&f);return r}(p)},_.utf8decode=function(p){return C.nodebuffer?D.transformTo("nodebuffer",p).toString("utf-8"):function(d){var r,f,h,O,T=d.length,K=new Array(2*T);for(r=f=0;r>10&1023,K[f++]=56320|1023&h)}return K.length!==f&&(K.subarray?K=K.subarray(0,f):K.length=f),D.applyFromCharCode(K)}(p=D.transformTo(C.uint8array?"uint8array":"array",p))},D.inherits(A,P),A.prototype.processChunk=function(p){var d=D.transformTo(C.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(C.uint8array){var r=d;(d=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),d.set(r,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var f=function(O,T){var K;for((T=T||O.length)>O.length&&(T=O.length),K=T-1;0<=K&&(192&O[K])==128;)K--;return K<0||K===0?T:K+v[O[K]]>T?K:T}(d),h=d;f!==d.length&&(C.uint8array?(h=d.subarray(0,f),this.leftOver=d.subarray(f,d.length)):(h=d.slice(0,f),this.leftOver=d.slice(f,d.length))),this.push({data:_.utf8decode(h),meta:p.meta})},A.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:_.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},_.Utf8DecodeWorker=A,D.inherits(F,P),F.prototype.processChunk=function(p){this.push({data:_.utf8encode(p.data),meta:p.meta})},_.Utf8EncodeWorker=F},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,U,_){"use strict";var D=B("./support"),C=B("./base64"),l=B("./nodejsUtils"),P=B("./external");function v(r){return r}function o(r,f){for(var h=0;h>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=D(this.extraFields[1].value);this.uncompressedSize===C.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===C.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===C.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===C.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var d,r,f,h=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4>>6:(p<65536?F[f++]=224|p>>>12:(F[f++]=240|p>>>18,F[f++]=128|p>>>12&63),F[f++]=128|p>>>6&63),F[f++]=128|63&p);return F},_.buf2binstring=function(A){return o(A,A.length)},_.binstring2buf=function(A){for(var F=new D.Buf8(A.length),p=0,d=F.length;p>10&1023,O[d++]=56320|1023&r)}return o(O,d)},_.utf8border=function(A,F){var p;for((F=F||A.length)>A.length&&(F=A.length),p=F-1;0<=p&&(192&A[p])==128;)p--;return p<0||p===0?F:p+P[A[p]]>F?p:F}},{"./common":41}],43:[function(B,U,_){"use strict";U.exports=function(D,C,l,P){for(var v=65535&D|0,o=D>>>16&65535|0,A=0;l!==0;){for(l-=A=2e3>>1:C>>>1;l[P]=C}return l}();U.exports=function(C,l,P,v){var o=D,A=v+P;C^=-1;for(var F=v;F>>8^o[255&(C^l[F])];return-1^C}},{}],46:[function(B,U,_){"use strict";var D,C=B("../utils/common"),l=B("./trees"),P=B("./adler32"),v=B("./crc32"),o=B("./messages"),A=0,F=4,p=0,d=-2,r=-1,f=4,h=2,O=8,T=9,K=286,k=30,te=19,H=2*K+1,$=15,z=3,V=258,ae=V+z+1,S=42,ue=113,c=1,ne=2,Q=3,q=4;function oe(u,j){return u.msg=o[j],j}function Y(u){return(u<<1)-(4u.avail_out&&(i=u.avail_out),i!==0&&(C.arraySet(u.output,j.pending_buf,j.pending_out,i,u.next_out),u.next_out+=i,j.pending_out+=i,u.total_out+=i,u.avail_out-=i,j.pending-=i,j.pending===0&&(j.pending_out=0))}function E(u,j){l._tr_flush_block(u,0<=u.block_start?u.block_start:-1,u.strstart-u.block_start,j),u.block_start=u.strstart,g(u.strm)}function Z(u,j){u.pending_buf[u.pending++]=j}function L(u,j){u.pending_buf[u.pending++]=j>>>8&255,u.pending_buf[u.pending++]=255&j}function J(u,j){var i,t,e=u.max_chain_length,a=u.strstart,y=u.prev_length,W=u.nice_match,N=u.strstart>u.w_size-ae?u.strstart-(u.w_size-ae):0,se=u.window,ge=u.w_mask,fe=u.prev,R=u.strstart+V,He=se[a+y-1],Te=se[a+y];u.prev_length>=u.good_match&&(e>>=2),W>u.lookahead&&(W=u.lookahead);do if(se[(i=j)+y]===Te&&se[i+y-1]===He&&se[i]===se[a]&&se[++i]===se[a+1]){a+=2,i++;do;while(se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&se[++a]===se[++i]&&aN&&--e!=0);return y<=u.lookahead?y:u.lookahead}function ce(u){var j,i,t,e,a,y,W,N,se,ge,fe=u.w_size;do{if(e=u.window_size-u.lookahead-u.strstart,u.strstart>=fe+(fe-ae)){for(C.arraySet(u.window,u.window,fe,fe,0),u.match_start-=fe,u.strstart-=fe,u.block_start-=fe,j=i=u.hash_size;t=u.head[--j],u.head[j]=fe<=t?t-fe:0,--i;);for(j=i=fe;t=u.prev[--j],u.prev[j]=fe<=t?t-fe:0,--i;);e+=fe}if(u.strm.avail_in===0)break;if(y=u.strm,W=u.window,N=u.strstart+u.lookahead,se=e,ge=void 0,ge=y.avail_in,se=z)for(a=u.strstart-u.insert,u.ins_h=u.window[a],u.ins_h=(u.ins_h<=z&&(u.ins_h=(u.ins_h<=z)if(t=l._tr_tally(u,u.strstart-u.match_start,u.match_length-z),u.lookahead-=u.match_length,u.match_length<=u.max_lazy_match&&u.lookahead>=z){for(u.match_length--;u.strstart++,u.ins_h=(u.ins_h<=z&&(u.ins_h=(u.ins_h<=z&&u.match_length<=u.prev_length){for(e=u.strstart+u.lookahead-z,t=l._tr_tally(u,u.strstart-1-u.prev_match,u.prev_length-z),u.lookahead-=u.prev_length-1,u.prev_length-=2;++u.strstart<=e&&(u.ins_h=(u.ins_h<u.pending_buf_size-5&&(i=u.pending_buf_size-5);;){if(u.lookahead<=1){if(ce(u),u.lookahead===0&&j===A)return c;if(u.lookahead===0)break}u.strstart+=u.lookahead,u.lookahead=0;var t=u.block_start+i;if((u.strstart===0||u.strstart>=t)&&(u.lookahead=u.strstart-t,u.strstart=t,E(u,!1),u.strm.avail_out===0)||u.strstart-u.block_start>=u.w_size-ae&&(E(u,!1),u.strm.avail_out===0))return c}return u.insert=0,j===F?(E(u,!0),u.strm.avail_out===0?Q:q):(u.strstart>u.block_start&&(E(u,!1),u.strm.avail_out),c)}),new Ae(4,4,8,4,De),new Ae(4,5,16,8,De),new Ae(4,6,32,32,De),new Ae(4,4,16,16,we),new Ae(8,16,32,32,we),new Ae(8,16,128,128,we),new Ae(8,32,128,256,we),new Ae(32,128,258,1024,we),new Ae(32,258,258,4096,we)],_.deflateInit=function(u,j){return Ie(u,j,O,15,8,0)},_.deflateInit2=Ie,_.deflateReset=We,_.deflateResetKeep=M,_.deflateSetHeader=function(u,j){return u&&u.state?u.state.wrap!==2?d:(u.state.gzhead=j,p):d},_.deflate=function(u,j){var i,t,e,a;if(!u||!u.state||5>8&255),Z(t,t.gzhead.time>>16&255),Z(t,t.gzhead.time>>24&255),Z(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),Z(t,255&t.gzhead.os),t.gzhead.extra&&t.gzhead.extra.length&&(Z(t,255&t.gzhead.extra.length),Z(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(u.adler=v(u.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=69):(Z(t,0),Z(t,0),Z(t,0),Z(t,0),Z(t,0),Z(t,t.level===9?2:2<=t.strategy||t.level<2?4:0),Z(t,3),t.status=ue);else{var y=O+(t.w_bits-8<<4)<<8;y|=(2<=t.strategy||t.level<2?0:t.level<6?1:t.level===6?2:3)<<6,t.strstart!==0&&(y|=32),y+=31-y%31,t.status=ue,L(t,y),t.strstart!==0&&(L(t,u.adler>>>16),L(t,65535&u.adler)),u.adler=1}if(t.status===69)if(t.gzhead.extra){for(e=t.pending;t.gzindex<(65535&t.gzhead.extra.length)&&(t.pending!==t.pending_buf_size||(t.gzhead.hcrc&&t.pending>e&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),g(u),e=t.pending,t.pending!==t.pending_buf_size));)Z(t,255&t.gzhead.extra[t.gzindex]),t.gzindex++;t.gzhead.hcrc&&t.pending>e&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=73)}else t.status=73;if(t.status===73)if(t.gzhead.name){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),g(u),e=t.pending,t.pending===t.pending_buf_size)){a=1;break}a=t.gzindexe&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),a===0&&(t.gzindex=0,t.status=91)}else t.status=91;if(t.status===91)if(t.gzhead.comment){e=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>e&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),g(u),e=t.pending,t.pending===t.pending_buf_size)){a=1;break}a=t.gzindexe&&(u.adler=v(u.adler,t.pending_buf,t.pending-e,e)),a===0&&(t.status=103)}else t.status=103;if(t.status===103&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&g(u),t.pending+2<=t.pending_buf_size&&(Z(t,255&u.adler),Z(t,u.adler>>8&255),u.adler=0,t.status=ue)):t.status=ue),t.pending!==0){if(g(u),u.avail_out===0)return t.last_flush=-1,p}else if(u.avail_in===0&&Y(j)<=Y(i)&&j!==F)return oe(u,-5);if(t.status===666&&u.avail_in!==0)return oe(u,-5);if(u.avail_in!==0||t.lookahead!==0||j!==A&&t.status!==666){var W=t.strategy===2?function(N,se){for(var ge;;){if(N.lookahead===0&&(ce(N),N.lookahead===0)){if(se===A)return c;break}if(N.match_length=0,ge=l._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++,ge&&(E(N,!1),N.strm.avail_out===0))return c}return N.insert=0,se===F?(E(N,!0),N.strm.avail_out===0?Q:q):N.last_lit&&(E(N,!1),N.strm.avail_out===0)?c:ne}(t,j):t.strategy===3?function(N,se){for(var ge,fe,R,He,Te=N.window;;){if(N.lookahead<=V){if(ce(N),N.lookahead<=V&&se===A)return c;if(N.lookahead===0)break}if(N.match_length=0,N.lookahead>=z&&0N.lookahead&&(N.match_length=N.lookahead)}if(N.match_length>=z?(ge=l._tr_tally(N,1,N.match_length-z),N.lookahead-=N.match_length,N.strstart+=N.match_length,N.match_length=0):(ge=l._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++),ge&&(E(N,!1),N.strm.avail_out===0))return c}return N.insert=0,se===F?(E(N,!0),N.strm.avail_out===0?Q:q):N.last_lit&&(E(N,!1),N.strm.avail_out===0)?c:ne}(t,j):D[t.level].func(t,j);if(W!==Q&&W!==q||(t.status=666),W===c||W===Q)return u.avail_out===0&&(t.last_flush=-1),p;if(W===ne&&(j===1?l._tr_align(t):j!==5&&(l._tr_stored_block(t,0,0,!1),j===3&&(x(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),g(u),u.avail_out===0))return t.last_flush=-1,p}return j!==F?p:t.wrap<=0?1:(t.wrap===2?(Z(t,255&u.adler),Z(t,u.adler>>8&255),Z(t,u.adler>>16&255),Z(t,u.adler>>24&255),Z(t,255&u.total_in),Z(t,u.total_in>>8&255),Z(t,u.total_in>>16&255),Z(t,u.total_in>>24&255)):(L(t,u.adler>>>16),L(t,65535&u.adler)),g(u),0=i.w_size&&(a===0&&(x(i.head),i.strstart=0,i.block_start=0,i.insert=0),se=new C.Buf8(i.w_size),C.arraySet(se,j,ge-i.w_size,i.w_size,0),j=se,ge=i.w_size),y=u.avail_in,W=u.next_in,N=u.input,u.avail_in=ge,u.next_in=0,u.input=j,ce(i);i.lookahead>=z;){for(t=i.strstart,e=i.lookahead-(z-1);i.ins_h=(i.ins_h<>>=z=$>>>24,T-=z,(z=$>>>16&255)===0)ne[o++]=65535&$;else{if(!(16&z)){if(!(64&z)){$=K[(65535&$)+(O&(1<>>=z,T-=z),T<15&&(O+=c[P++]<>>=z=$>>>24,T-=z,!(16&(z=$>>>16&255))){if(!(64&z)){$=k[(65535&$)+(O&(1<>>=z,T-=z,(z=o-A)>3,O&=(1<<(T-=V<<3))-1,D.next_in=P,D.next_out=o,D.avail_in=P>>24&255)+(S>>>8&65280)+((65280&S)<<8)+((255&S)<<24)}function O(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new D.Buf16(320),this.work=new D.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function T(S){var ue;return S&&S.state?(ue=S.state,S.total_in=S.total_out=ue.total=0,S.msg="",ue.wrap&&(S.adler=1&ue.wrap),ue.mode=d,ue.last=0,ue.havedict=0,ue.dmax=32768,ue.head=null,ue.hold=0,ue.bits=0,ue.lencode=ue.lendyn=new D.Buf32(r),ue.distcode=ue.distdyn=new D.Buf32(f),ue.sane=1,ue.back=-1,F):p}function K(S){var ue;return S&&S.state?((ue=S.state).wsize=0,ue.whave=0,ue.wnext=0,T(S)):p}function k(S,ue){var c,ne;return S&&S.state?(ne=S.state,ue<0?(c=0,ue=-ue):(c=1+(ue>>4),ue<48&&(ue&=15)),ue&&(ue<8||15=q.wsize?(D.arraySet(q.window,ue,c-q.wsize,q.wsize,0),q.wnext=0,q.whave=q.wsize):(ne<(Q=q.wsize-q.wnext)&&(Q=ne),D.arraySet(q.window,ue,c-ne,Q,q.wnext),(ne-=Q)?(D.arraySet(q.window,ue,c-ne,ne,0),q.wnext=ne,q.whave=q.wsize):(q.wnext+=Q,q.wnext===q.wsize&&(q.wnext=0),q.whave>>8&255,c.check=l(c.check,a,2,0),E=g=0,c.mode=2;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&g)<<8)+(g>>8))%31){S.msg="incorrect header check",c.mode=30;break}if((15&g)!=8){S.msg="unknown compression method",c.mode=30;break}if(E-=4,u=8+(15&(g>>>=4)),c.wbits===0)c.wbits=u;else if(u>c.wbits){S.msg="invalid window size",c.mode=30;break}c.dmax=1<>8&1),512&c.flags&&(a[0]=255&g,a[1]=g>>>8&255,c.check=l(c.check,a,2,0)),E=g=0,c.mode=3;case 3:for(;E<32;){if(Y===0)break e;Y--,g+=ne[q++]<>>8&255,a[2]=g>>>16&255,a[3]=g>>>24&255,c.check=l(c.check,a,4,0)),E=g=0,c.mode=4;case 4:for(;E<16;){if(Y===0)break e;Y--,g+=ne[q++]<>8),512&c.flags&&(a[0]=255&g,a[1]=g>>>8&255,c.check=l(c.check,a,2,0)),E=g=0,c.mode=5;case 5:if(1024&c.flags){for(;E<16;){if(Y===0)break e;Y--,g+=ne[q++]<>>8&255,c.check=l(c.check,a,2,0)),E=g=0}else c.head&&(c.head.extra=null);c.mode=6;case 6:if(1024&c.flags&&(Y<(J=c.length)&&(J=Y),J&&(c.head&&(u=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),D.arraySet(c.head.extra,ne,q,J,u)),512&c.flags&&(c.check=l(c.check,ne,J,q)),Y-=J,q+=J,c.length-=J),c.length))break e;c.length=0,c.mode=7;case 7:if(2048&c.flags){if(Y===0)break e;for(J=0;u=ne[q+J++],c.head&&u&&c.length<65536&&(c.head.name+=String.fromCharCode(u)),u&&J>9&1,c.head.done=!0),S.adler=c.check=0,c.mode=12;break;case 10:for(;E<32;){if(Y===0)break e;Y--,g+=ne[q++]<>>=7&E,E-=7&E,c.mode=27;break}for(;E<3;){if(Y===0)break e;Y--,g+=ne[q++]<>>=1)){case 0:c.mode=14;break;case 1:if(V(c),c.mode=20,ue!==6)break;g>>>=2,E-=2;break e;case 2:c.mode=17;break;case 3:S.msg="invalid block type",c.mode=30}g>>>=2,E-=2;break;case 14:for(g>>>=7&E,E-=7&E;E<32;){if(Y===0)break e;Y--,g+=ne[q++]<>>16^65535)){S.msg="invalid stored block lengths",c.mode=30;break}if(c.length=65535&g,E=g=0,c.mode=15,ue===6)break e;case 15:c.mode=16;case 16:if(J=c.length){if(Y>>=5,E-=5,c.ndist=1+(31&g),g>>>=5,E-=5,c.ncode=4+(15&g),g>>>=4,E-=4,286>>=3,E-=3}for(;c.have<19;)c.lens[y[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,i={bits:c.lenbits},j=v(0,c.lens,0,19,c.lencode,0,c.work,i),c.lenbits=i.bits,j){S.msg="invalid code lengths set",c.mode=30;break}c.have=0,c.mode=19;case 19:for(;c.have>>16&255,Ce=65535&e,!((we=e>>>24)<=E);){if(Y===0)break e;Y--,g+=ne[q++]<>>=we,E-=we,c.lens[c.have++]=Ce;else{if(Ce===16){for(t=we+2;E>>=we,E-=we,c.have===0){S.msg="invalid bit length repeat",c.mode=30;break}u=c.lens[c.have-1],J=3+(3&g),g>>>=2,E-=2}else if(Ce===17){for(t=we+3;E>>=we)),g>>>=3,E-=3}else{for(t=we+7;E>>=we)),g>>>=7,E-=7}if(c.have+J>c.nlen+c.ndist){S.msg="invalid bit length repeat",c.mode=30;break}for(;J--;)c.lens[c.have++]=u}}if(c.mode===30)break;if(c.lens[256]===0){S.msg="invalid code -- missing end-of-block",c.mode=30;break}if(c.lenbits=9,i={bits:c.lenbits},j=v(o,c.lens,0,c.nlen,c.lencode,0,c.work,i),c.lenbits=i.bits,j){S.msg="invalid literal/lengths set",c.mode=30;break}if(c.distbits=6,c.distcode=c.distdyn,i={bits:c.distbits},j=v(A,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,i),c.distbits=i.bits,j){S.msg="invalid distances set",c.mode=30;break}if(c.mode=20,ue===6)break e;case 20:c.mode=21;case 21:if(6<=Y&&258<=x){S.next_out=oe,S.avail_out=x,S.next_in=q,S.avail_in=Y,c.hold=g,c.bits=E,P(S,L),oe=S.next_out,Q=S.output,x=S.avail_out,q=S.next_in,ne=S.input,Y=S.avail_in,g=c.hold,E=c.bits,c.mode===12&&(c.back=-1);break}for(c.back=0;Ae=(e=c.lencode[g&(1<>>16&255,Ce=65535&e,!((we=e>>>24)<=E);){if(Y===0)break e;Y--,g+=ne[q++]<>M)])>>>16&255,Ce=65535&e,!(M+(we=e>>>24)<=E);){if(Y===0)break e;Y--,g+=ne[q++]<>>=M,E-=M,c.back+=M}if(g>>>=we,E-=we,c.back+=we,c.length=Ce,Ae===0){c.mode=26;break}if(32&Ae){c.back=-1,c.mode=12;break}if(64&Ae){S.msg="invalid literal/length code",c.mode=30;break}c.extra=15&Ae,c.mode=22;case 22:if(c.extra){for(t=c.extra;E>>=c.extra,E-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=23;case 23:for(;Ae=(e=c.distcode[g&(1<>>16&255,Ce=65535&e,!((we=e>>>24)<=E);){if(Y===0)break e;Y--,g+=ne[q++]<>M)])>>>16&255,Ce=65535&e,!(M+(we=e>>>24)<=E);){if(Y===0)break e;Y--,g+=ne[q++]<>>=M,E-=M,c.back+=M}if(g>>>=we,E-=we,c.back+=we,64&Ae){S.msg="invalid distance code",c.mode=30;break}c.offset=Ce,c.extra=15&Ae,c.mode=24;case 24:if(c.extra){for(t=c.extra;E>>=c.extra,E-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){S.msg="invalid distance too far back",c.mode=30;break}c.mode=25;case 25:if(x===0)break e;if(J=L-x,c.offset>J){if((J=c.offset-J)>c.whave&&c.sane){S.msg="invalid distance too far back",c.mode=30;break}ce=J>c.wnext?(J-=c.wnext,c.wsize-J):c.wnext-J,J>c.length&&(J=c.length),De=c.window}else De=Q,ce=oe-c.offset,J=c.length;for(xH?(z=ce[De+f[ue]],E[Z+f[ue]]):(z=96,0),O=1<>oe)+(T-=O)]=$<<24|z<<16|V|0,T!==0;);for(O=1<>=1;if(O!==0?(g&=O-1,g+=O):g=0,ue++,--L[S]==0){if(S===ne)break;S=A[F+f[ue]]}if(Q>>7)]}function Z(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function L(e,a,y){e.bi_valid>h-y?(e.bi_buf|=a<>h-e.bi_valid,e.bi_valid+=y-h):(e.bi_buf|=a<>>=1,y<<=1,0<--a;);return y>>>1}function De(e,a,y){var W,N,se=new Array(f+1),ge=0;for(W=1;W<=f;W++)se[W]=ge=ge+y[W-1]<<1;for(N=0;N<=a;N++){var fe=e[2*N+1];fe!==0&&(e[2*N]=ce(se[fe]++,fe))}}function we(e){var a;for(a=0;a>1;1<=y;y--)M(e,se,y);for(N=R;y=e.heap[1],e.heap[1]=e.heap[e.heap_len--],M(e,se,1),W=e.heap[1],e.heap[--e.heap_max]=y,e.heap[--e.heap_max]=W,se[2*N]=se[2*y]+se[2*W],e.depth[N]=(e.depth[y]>=e.depth[W]?e.depth[y]:e.depth[W])+1,se[2*y+1]=se[2*W+1]=N,e.heap[1]=N++,M(e,se,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(Te,at){var Rt,qt,Ot,Ge,xt,un,At=at.dyn_tree,Xt=at.max_code,An=at.stat_desc.static_tree,Sn=at.stat_desc.has_stree,fn=at.stat_desc.extra_bits,Nn=at.stat_desc.extra_base,yn=at.stat_desc.max_length,Bn=0;for(Ge=0;Ge<=f;Ge++)Te.bl_count[Ge]=0;for(At[2*Te.heap[Te.heap_max]+1]=0,Rt=Te.heap_max+1;Rt>=7;N>>=1)if(1&He&&fe.dyn_ltree[2*R]!==0)return C;if(fe.dyn_ltree[18]!==0||fe.dyn_ltree[20]!==0||fe.dyn_ltree[26]!==0)return l;for(R=32;R>>3,(se=e.static_len+3+7>>>3)<=N&&(N=se)):N=se=y+5,y+4<=N&&a!==-1?t(e,a,y,W):e.strategy===4||se===N?(L(e,2+(W?1:0),3),We(e,ae,S)):(L(e,4+(W?1:0),3),function(fe,R,He,Te){var at;for(L(fe,R-257,5),L(fe,He-1,5),L(fe,Te-4,4),at=0;at>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&y,e.last_lit++,a===0?e.dyn_ltree[2*y]++:(e.matches++,a--,e.dyn_ltree[2*(c[y]+A+1)]++,e.dyn_dtree[2*E(a)]++),e.last_lit===e.lit_bufsize-1},_._tr_align=function(e){L(e,2,3),J(e,T,ae),function(a){a.bi_valid===16?(Z(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):8<=a.bi_valid&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(B,U,_){"use strict";U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(B,U,_){(function(D){(function(C,l){"use strict";if(!C.setImmediate){var P,v,o,A,F=1,p={},d=!1,r=C.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(C);f=f&&f.setTimeout?f:C,P={}.toString.call(C.process)==="[object process]"?function(K){X.nextTick(function(){O(K)})}:function(){if(C.postMessage&&!C.importScripts){var K=!0,k=C.onmessage;return C.onmessage=function(){K=!1},C.postMessage("","*"),C.onmessage=k,K}}()?(A="setImmediate$"+Math.random()+"$",C.addEventListener?C.addEventListener("message",T,!1):C.attachEvent("onmessage",T),function(K){C.postMessage(A+K,"*")}):C.MessageChannel?((o=new MessageChannel).port1.onmessage=function(K){O(K.data)},function(K){o.port2.postMessage(K)}):r&&"onreadystatechange"in r.createElement("script")?(v=r.documentElement,function(K){var k=r.createElement("script");k.onreadystatechange=function(){O(K),k.onreadystatechange=null,v.removeChild(k),k=null},v.appendChild(k)}):function(K){setTimeout(O,0,K)},f.setImmediate=function(K){typeof K!="function"&&(K=new Function(""+K));for(var k=new Array(arguments.length-1),te=0;te=0||Object.prototype.hasOwnProperty.call(A,d)&&(p[d]=A[d]);return p}function l(A,F){if(!(A instanceof F))throw new TypeError("Cannot call a class as a function")}function P(A,F){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:A}function v(A,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);A.prototype=Object.create(F&&F.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(A,F):A.__proto__=F)}var o=function(A){v(F,A);function F(p){l(this,F);var d=P(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,p));return d.scrollListener=d.scrollListener.bind(d),d.eventListenerOptions=d.eventListenerOptions.bind(d),d.mousewheelListener=d.mousewheelListener.bind(d),d}return n(F,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var d=this.getParentElement(this.scrollComponent);d.scrollTop=d.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var d=!1,r={get passive(){d=!0}};try{document.addEventListener("test",null,r),document.removeEventListener("test",null,r)}catch(f){}return d}},{key:"eventListenerOptions",value:function(){var d=this.props.useCapture;return this.isPassiveSupported()&&(d={useCapture:this.props.useCapture,passive:!0}),d}},{key:"setDefaultLoader",value:function(d){this.defaultLoader=d}},{key:"detachMousewheelListener",value:function(){var d=window;this.props.useWindow===!1&&(d=this.scrollComponent.parentNode),d.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var d=window;this.props.useWindow===!1&&(d=this.getParentElement(this.scrollComponent)),d.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),d.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(d){var r=this.props.getScrollParent&&this.props.getScrollParent();return r!=null?r:d&&d.parentNode}},{key:"filterProps",value:function(d){return d}},{key:"attachScrollListener",value:function(){var d=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!d)){var r=window;this.props.useWindow===!1&&(r=d),r.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),r.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(d){d.deltaY===1&&!this.isPassiveSupported()&&d.preventDefault()}},{key:"scrollListener",value:function(){var d=this.scrollComponent,r=window,f=this.getParentElement(d),h=void 0;if(this.props.useWindow){var O=document.documentElement||document.body.parentNode||document.body,T=r.pageYOffset!==void 0?r.pageYOffset:O.scrollTop;this.props.isReverse?h=T:h=this.calculateOffset(d,T)}else this.props.isReverse?h=f.scrollTop:h=d.scrollHeight-f.scrollTop-f.clientHeight;hae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(en,zt,be){"use strict";var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function en(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(en.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(en.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(en.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(en.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof en))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var zt=[];function be(z,a){var y=zt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ye(){var z=zt.pop();return z===void 0?new go.Point:z}function Je(z){zt.push(z)}function E(z,a,y,x,b,te,ee,ce,fe){fe||(fe=new go.Point);var he=z-y,de=b-ee,pe=NaN,ve=NaN;if(he===0)if(de===0)z===y&&(pe=z,ve=a);else{var me=(te-ce)/de,Ee=te-me*b;pe=z,ve=me*pe+Ee}else if(de===0){var Se=(a-x)/he,Te=a-Se*z;pe=b,ve=Se*pe+Te}else{var Se=(a-x)/he,me=(te-ce)/de,Te=a-Se*z,Ee=te-me*b;pe=(Ee-Te)/(Se-me),ve=Se*pe+Te}return fe.x=pe,fe.y=ve,fe}function ge(z,a,y,x,b,te,ee,ce,fe,he,de,pe,ve,me){var Ee=1-fe,Se=fe,Te=z*Ee+y*Se,we=a*Ee+x*Se,je=y*Ee+b*Se,xe=x*Ee+te*Se,Oe=b*Ee+ee*Se,ze=te*Ee+ce*Se,Ze=Te*Ee+je*Se,Me=we*Ee+xe*Se,tt=je*Ee+Oe*Se,qe=xe*Ee+ze*Se,st=Ze*Ee+tt*Se,At=Me*Ee+qe*Se;he.x=Te,he.y=we,de.x=Ze,de.y=Me,pe.x=st,pe.y=At,ve.x=tt,ve.y=qe,me.x=Oe,me.y=ze}var Ae=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new en("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Ae,b.spot2=ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new en("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b
a&&(x=a);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),te.spot1=Ae,te.spot2=ue,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new en("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new en("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var te=x%360;te<0&&(te+=360);var ee=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,te,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,te*y,a,(1-x)*y,(b+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var te=a/2,ee=y/2,ce=Math.atan2(y,a),fe=x-Math.min(Math.cos(ce)*x/2,te),he=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,de=new go.PathFigure(fe,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,he)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new en("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new en("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var te=.2,ee=.3,ce=0,fe=te*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee+.05)*a,(.5-fe+ce-.02)*y)),te=.2,ee=0,ce=-.3,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),te=.2,ee=-.3,ce=0,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee-.05)*a,(.5-fe+ce-.02)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var te=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+te)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,te*a,te*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ee+te)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure(ee*a,(ce-te)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),te=.4,b=le*.4;var he=ye(),de=ye(),pe=ye(),ve=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.42,he,de,pe,ve,ve);var me=ye(),Ee=ye(),Se=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.58,ve,ve,Se,me,Ee);var Te=ye(),we=ye(),je=ye();ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.42,Te,we,je,ve,ve);var xe=ye(),Oe=ye(),ze=ye();return ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.58,ve,ve,ze,xe,Oe),fe.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,xe.x*a,xe.y*y,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,de.x*a,de.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,ze.x*a,ze.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,je.x*a,je.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,me.x*a,me.y*y,Ee.x*a,Ee.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,je.x*a,je.y*y,Te.x*a,Te.y*y,we.x*a,we.y*y).close()),Je(he),Je(de),Je(pe),Je(ve),Je(me),Je(Ee),Je(Se),Je(Te),Je(we),Je(je),Je(xe),Je(Oe),Je(ze),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,te=b+x;return new go.Geometry().add(new go.PathFigure(te,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye(),ve=new go.PathFigure((ee-te)*a,ce*y,!1);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.44,de,pe,he,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var me=be(he.x,he.y);ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.56,fe,fe,he,de,pe);var Ee=be(he.x,he.y);ve.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),te=.35,b=le*.35;var Se=new go.PathFigure(ee*a,(ce-te)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y));var Te=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(Te),Je(fe),Je(he),Je(de),Je(pe),Je(me),Je(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,te=0,ee=-.125,ce=b*le,fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,te=0,ee=-.125,ce=b*le;var fe=new go.PathFigure((1-.5+b+te)*a,(.5+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y));var fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new en("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new en("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var te=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.setFigureParameter("Arrow2",0,new en("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new en("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var te=a-x,ee=(y-b)/2,ce=ee+b,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new en("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return ee.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,te/y,1,te/y,fe),ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new en("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new en("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,te/y,1,te/y,ye());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new en("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new en("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new en("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,te/y);var pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,ye());return he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("Pointer",0,new en("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new en("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new en("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new en("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,te=b+x;x>y&&(b=0,te=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new en("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+te)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-te)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,te=.1,ee=le*b,ce=le*te,fe=.5,he=.1,de=new go.PathFigure(fe*a,(he+te)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,he*y,(fe-ee)*a,(he+te)*y,(fe-b)*a,(he+ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-te)*y,(fe-b)*a,(he-ce)*y,(fe-ee)*a,(he-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,he*y,(fe+ee)*a,(he-te)*y,(fe+b)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+te)*y,(fe+b)*a,(he+ce)*y,(fe+ee)*a,(he+te)*y));var pe=.05,ve=le*pe;fe=.05,he=.25;var me=new go.PathFigure(.5*a,.2*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+pe)*a,he*y,(fe+ve)*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ve=le*pe,fe=.825,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ve=le*pe,fe=.5,he=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ve=le*pe,fe=.175,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ve=le*pe,fe=.05,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y,(fe-ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new en("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var te=le*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ee=le*.5,ce=.5,fe=new go.PathFigure(a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var he=new go.PathFigure((te+b)*a,(te+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),he.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(te+b)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+b)*y,(te+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(b*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,te*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.9,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+te)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.4,ee=le*.1,ce=.1,fe=.9,he=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((fe+ce)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a,he*y,(fe-ee)*a,(he+ce)*y,(fe-ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a,he*y,(fe+ee)*a,(he-ce)*y,(fe+ce)*a,(he-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var he=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te+te)*a,(ce-b)*y,.8*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+te)*y,(ee+te+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var de=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te)*a,(ce-b)*y,.9*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.1,ce=.5,fe=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+te)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(ee-te+.1)*a,ce*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te-.1)*a,ce*y,ee*a,(ce-te)*y,ee*a,(ce+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,b=a,te=y;a=a*.38,y=y*.6;var ee=le*.8,ce=.8,fe=0,he=.5,de=(b-a)/2,pe=(te-y)/2,ve=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.4,ce=.4,fe=.2,he=.5;var me=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.2,ce=.2,fe=.5,he=.5;var Ee=new go.PathFigure((fe-ce)*a+de,he*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ee=le*.4,ce=.4,fe=.8,he=.5;var Se=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),ee=le*.8,ce=.8,fe=1,he=.5;var Te=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe);var ve=be(he.x,he.y),me=new go.PathFigure(he.x*a,he.y*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),b=le*.3,te=.3,ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var me=new go.PathFigure(.45*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Je(fe),Je(he),Je(de),Je(pe),Je(ve),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function te(ee,ce,fe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+fe)*y).close())}return te(b,0,0),te(b,.4,0),te(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,b=.5,te=0,ee=0,ce=b*le,fe=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,de=1,pe=.5,ve=.5,me=0,Ee=new go.PathFigure(fe*a,(1-he)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+te)*a,(me+te)*y,(.5+b+te)*a,(.5-ce+te)*y,(.5+ce+te)*a,(.5-b+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,fe=ee,he=Math.PI/4,de=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=de*.5,ve=ee,me=ee,Ee=de*ve,Se=de*me;te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ve)*a,fe*y,(ce-(Ee+ve)/2)*a,(fe+(me+Se)/2)*y,(ce-ve)*a,(fe+Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(fe-me)*y,(ce-ve)*a,(fe-Se)*y,(ce-Ee)*a,(fe-me)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ve)*a,fe*y,(ce+Ee)*a,(fe-me)*y,(ce+ve)*a,(fe-Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ve)*a,(fe+Se)*y,(ce+(Ee+ve)/2)*a,(fe+(me+Se)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+te)*y,(b+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-te)*a,y,0,(b+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-te)*y,(b-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+te)*a,0,a,(b-te)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=le*.1,fe=.2,he=.9,de=new go.PathFigure((fe-ee)*a,he*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),ee=.1,ce=le*.1,fe=.8,he=.9;var pe=new go.PathFigure((fe-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,he=le*.1,de=.1,pe=.9,ve=new go.PathFigure((de-fe)*a,pe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),fe=.1,he=le*.1,de=.4,pe=.9;var me=new go.PathFigure((de-fe)*a,pe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var de=.05,pe=le*.05,ve=.175,me=.95,ce=new go.PathFigure((ve-de)*a,me*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.375,me=.95,fe=new go.PathFigure((ve-de)*a,me*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.625,me=.95,he=new go.PathFigure((ve-de)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.825,me=.95,Ee=new go.PathFigure((ve-de)*a,me*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,fe=le*.05,he=.35,de=.775,pe=new go.PathFigure((he-ce)*a,de*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de-ce)*y,(he-ce)*a,(de-fe)*y,(he-fe)*a,(de-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,de*y,(he+fe)*a,(de-ce)*y,(he+ce)*a,(de-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de+ce)*y,(he+ce)*a,(de+fe)*y,(he+fe)*a,(de+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,de*y,(he-fe)*a,(de+ce)*y,(he-ce)*a,(de+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,b=.3,te=le*.3,ee=.5,ce=.7,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),b=.05,te=le*.05,ee=.5,ce=.8;var he=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,te=b*le,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-b,a-b,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,b,te,0,te-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,te=b*le,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var en={},zt="5.0",be={},ye=null,Je=!1,E=!1,ge=null,Ae=!1,ue=null,le=null,ie=0;ie4?parseFloat(lt):5};en.setHTML5Codebase=function(lt,at){le=lt,qe(lt,at)},en.setJavaCodebase=en.setJavaCodebaseVersion=en.isCompiledInstalled=en.setPreCompiledScriptPath=en.setPreCompiledResourcePath=function(){},en.setHTML5CodebaseVersion=function(lt,at){var ut=parseFloat(lt);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ue=lt,tt(lt,at)},en.getHTML5CodebaseVersion=function(){return z},en.getParameters=function(){return be},en.setFontsCSSURL=function(lt){ee=lt},en.setGiacJSURL=function(lt){},en.setJNLPFile=function(lt){ae=lt},en.setJNLPBaseDir=function(lt){},en.inject=function(){function lt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",ut=be.id,ft,bt=!1,Lt=0;Lt=5)return!0;var lt=en.getAppletObject();return lt&&typeof lt.recalculateEnvironments=="function"?(lt.recalculateEnvironments(),!0):!1},en.startAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.startAnimation=="function"?(lt.startAnimation(),!0):!1},en.stopAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.stopAnimation=="function"?(lt.stopAnimation(),!0):!1},en.getAppletObject=function(){var lt=be.id!==void 0?be.id:"ggbApplet";return window[lt]},en.resize=function(){};var Ee=function(lt,at,ut){var ft=document.createElement("param");ft.setAttribute("name",at),ft.setAttribute("value",ut),lt.appendChild(ft)},Se=function(lt){return lt&<!=="false"},Te=function(lt,at,ut){fe(z)<=4.2&&(ut=!0);var ft=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(ft=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var Lt=at.width,gt=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(fe(z)<=4.4)Se(at.showToolBar)&&(at.height-=7),Se(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Se(at.showToolBar)&&(at.width=605,Lt=605);else{var ht=100;(Se(at.showToolBar)||Se(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ht=Se(at.showMenuBar)?245:155),Lt=5?(at.appletOnLoad=function(wt){var Bt=lt.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ke),window.GGBT_wsf_view&&$(window).trigger("resize"),Pe(wt)},Ve||ke.appendChild(Qe)):bt.appendChild(Qe),ke.appendChild(bt),Ve||lt.appendChild(ke),setTimeout(function(){en.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(bt),lt.appendChild(De),at.appletOnLoad=function(wt){en.resize(),Pe(wt)}}function Ye(wt,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,Bt.appletOnLoad):renderGGBElement(wt),st("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function Ue(wt,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kt){Ye(kt.article,kt.params)}),html5AppletsToProcess=null)},fe(z)<5&&(wt.className+=" geogebraweb")):Ye(wt,Bt)}if(ft){scriptLoadStarted=!0;for(var Le=0;Le0?($e.remove(),ke.attr("id","fullscreencontent").show(),jQuery(Pe).append(ke),window.dispatchEvent(new Event("resize"))):Te($e,at,!1),window.GGBT_wsf_view.launchFullScreen(Pe)}else ne=ft,Te(lt,at,!1);if(!window.GGBT_wsf_view)for(gt=0;gtlt/4*3&&($e=lt/4*3),Pe=$e/5.8,ht.setAttribute("src",b),ht.setAttribute("width",$e),ht.setAttribute("height",Pe);var ke=(lt-$e)/2,Ve=(at-Pe)/2;ht.style.left=ke+"px",ht.style.top=Ve+"px",bt.appendChild(ht)}}return bt.appendChild(gt),bt},Ze=function(lt){return lt=lt.toLowerCase(),lt==="html5"||lt==="screenshot"?lt:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(lt,at){if(z=lt,at){qe(z,!0);return}var ut=!Je;if(ut){var ft=fe(z);!isNaN(ft)&&ft<4.4&&(ut=!1)}var bt,Lt;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var gt=z.indexOf("//");gt>0?Lt=z:gt===0?Lt=bt+z:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var ht in Me)if(z.slice(Me[ht].length*-1)===Me[ht]||z.slice((Me[ht].length+1)*-1)===Me[ht]+"/"){qe(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Se(be.showToolBar)&&!Se(be.showMenuBar)&&!Se(be.showAlgebraInput)&&!Se(be.enableRightClick)&&(!be.appName||be.appName=="classic")?Lt+="webSimple/":Lt+="web3d/",qe(Lt,!1)},qe=function(lt,at){if(lt.requirejs){oe=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),oe=lt,at===null&&(at=lt.indexOf("http")===-1),re=at,a="web.nocache.js",y=!1;var ut=oe.split("/");ut.length>1&&(!at&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=lt.split("/"),z=ut[ut.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var ft=parseFloat(z);ft!==NaN&&ft<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ft+" is deprecated. Using version latest instead."),tt("5.0",at))},st=function(lt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(lt)};be.material_id!==void 0?pe(At):At();function At(){var lt=zt;ue!==null?lt=ue:parseFloat(lt)<5&&(lt="5.0"),tt(lt,!1),le!==null&&qe(le,re),Ae=!0}return en},GGBAppletUtils=function(){"use strict";function en(){return window.GGBT_wsf_edit!==void 0}function zt(Ae,ue){ue!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+ue+","+ue+")",Ae.style.webkitTransform="scale("+ue+","+ue+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function be(Ae,ue,le,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=Ae.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,te=0;if(oe)ne=oe.offsetWidth,z=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),Ae){var ee=Ae.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return Ae&&((le===void 0||!le)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))se=ye(Ae,ue,ae,le,Ae.scaleContainerClass);else return ie;return ae&&(!Ae.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(Ae){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=Ae.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(le-ie.height)/2;ae<0&&(ae=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?Ae.style.left="40px":Ae.style.left=se+"px",Ae.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?Ae.style.top="40px":Ae.style.top=ae+"px",Ae.style.left=se+"px")}function ge(Ae,ue){var le=Ae.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ie=Je(ue,Ae);en()&&le.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(en){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(en){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(en){var zt=c[en];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function en(Ae){var ue=Ae.lastIndexOf(rb);ue==-1&&(ue=Ae.length);var le=Ae.indexOf(sb);le==-1&&(le=Ae.length);var ie=Ae.lastIndexOf(tb,Math.min(le,ue));return ie>=O?Ae.substring(O,ie+P):W}function zt(Ae){if(!Ae.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=Ae+vb,Ae=en(ue.src)}return Ae}function be(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ye(){for(var Ae=o.getElementsByTagName(_),ue=O;ueO?Ae[Ae.length-P].href:W}function E(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var ge=be();return ge==W&&(ge=ye()),ge==W&&(ge=Je()),ge==W&&E()&&(ge=en(o.location.href)),ge=zt(ge),ge}function C(en){return en.match(/^\//)||en.match(/^[a-zA-Z]+:\/\//)?en:webModule.__moduleBase+en}function D(){var en=[],zt=O,be=[],ye=[];function Je(Ae){var ue=ye[Ae](),le=be[Ae];if(ue in le)return ue;var ie=[];for(var se in le)ie[le[se]]=se;throw r&&r(Ae,ie,ue),null}if(__gwt_isKnownPropertyValue=function(Ae,ue){return ue in be[Ae]},webModule.__getPropMap=function(){var Ae={};for(var ue in be)be.hasOwnProperty(ue)&&(Ae[ue]=Je(ue));return Ae},webModule.__computePropValue=Je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ge=E.indexOf(Db);ge!=-1&&(zt=parseInt(E.substring(ge+P),$),E=E.substring(O,ge))}catch(Ae){}return webModule.__softPermutationId=zt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(en,zt,be){"use strict";be.d(zt,{Ax:function(){return ge},Ds:function(){return Ae},KI:function(){return le},SI:function(){return E},f1:function(){return Je}});var ye=be(3294);function Je(ie){let se=!0;if(ie.length>0){for(let ae=0;aete in b?ue(b,te,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[te]=ee,ne=(b,te)=>{for(var ee in te||(te={}))ae.call(te,ee)&&re(b,ee,te[ee]);if(se)for(var ee of se(te))oe.call(te,ee)&&re(b,ee,te[ee]);return b},z=(b,te)=>le(b,ie(te)),a=(b,te,ee)=>new Promise((ce,fe)=>{var he=ve=>{try{pe(ee.next(ve))}catch(me){fe(me)}},de=ve=>{try{pe(ee.throw(ve))}catch(me){fe(me)}},pe=ve=>ve.done?ce(ve.value):Promise.resolve(ve.value).then(he,de);pe((ee=ee.apply(b,te)).next())}),x=({description:b,code:te,showData:ee={},sendParams:ce={},allShow:fe=!1})=>{const he=[{img:be(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:be(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:te,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:be(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:te,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:te,show:ee==null?void 0:ee.ai_guidance,type:3}],de=pe=>{const{setChatData:ve,setLoading:me,getData:Ee,clearStatus:Se,typing:Te,setImageGenerator:we,renderChatItems:je,setSceneAwareness:xe}=pe;let Oe=he;return fe||(Oe=he.filter(ze=>ze.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((ze,Ze)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Te){ge.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}xe(!1),we(!1),me(!0),Se();const Me=je(ze.query);Me[0].show=!1,Me[1].imageGenerator=!1,ve(Me),Ee("",ne({type:ze.type,description:ze.description,query:ze.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Ze,className:E.item},ye.createElement(Ae.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:ze.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},ze.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},ze.des))))};return ye.createElement(Je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:de,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:z(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return rr}});var ye=be(59301),Je=be(8591),E=be(54580),ge=be(43418),Ae=be(6848),ue=be(92832),le=be(3113),ie=be(71418),se=be(64165),ae=be(14478),oe=be(43428),re=be(38854),ne=be(92310),z=be.n(ne),a=be(46739),y=be(77596),x=be(93772),b=be(14179),te=be(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ce=be(11611),fe=be(35328),he=be(30084),de=be(50304),pe=be(59301),ve=Object.defineProperty,me=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Te=(bn,an,gn)=>an in bn?ve(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,we=(bn,an)=>{for(var gn in an||(an={}))Ee.call(an,gn)&&Te(bn,gn,an[gn]);if(me)for(var gn of me(an))Se.call(an,gn)&&Te(bn,gn,an[gn]);return bn},je=(bn,an)=>{var gn={};for(var Nr in bn)Ee.call(bn,Nr)&&an.indexOf(Nr)<0&&(gn[Nr]=bn[Nr]);if(bn!=null&&me)for(var Nr of me(bn))an.indexOf(Nr)<0&&Se.call(bn,Nr)&&(gn[Nr]=bn[Nr]);return gn},Oe=({onFinish:bn,value:an,streamingStatus:gn,cancelIndex:Nr,loadImage:lr})=>{const[_r,ei]=(0,ye.useState)(""),[Qn,yr]=(0,ye.useState)(0),[oi,Xn]=(0,ye.useState)(!1),Mr=Ci=>Ci.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Sr=()=>{Xn(!0),bn==null||bn()};return(0,ye.useEffect)(()=>{const Ci=lr?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[2884,6270],{27812:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},67921:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},87169:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},95869:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ie}});var ye=be(92413),Je=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Je.createElement(Ae.Z,(0,ye.Z)({},ae,{ref:oe,icon:ge}))},le=Je.forwardRef(ue),ie=le},88010:function(en,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(en,zt){"use strict";zt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},39775:function(en,zt,be){"use strict";var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(en,zt,be){"use strict";var ye=be(59301),Je=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function en(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(en.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(en.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(en.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(en.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof en))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var zt=[];function be(z,a){var y=zt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ye(){var z=zt.pop();return z===void 0?new go.Point:z}function Je(z){zt.push(z)}function E(z,a,y,x,b,te,ee,ce,fe){fe||(fe=new go.Point);var he=z-y,de=b-ee,pe=NaN,ve=NaN;if(he===0)if(de===0)z===y&&(pe=z,ve=a);else{var me=(te-ce)/de,Ee=te-me*b;pe=z,ve=me*pe+Ee}else if(de===0){var Se=(a-x)/he,Te=a-Se*z;pe=b,ve=Se*pe+Te}else{var Se=(a-x)/he,me=(te-ce)/de,Te=a-Se*z,Ee=te-me*b;pe=(Ee-Te)/(Se-me),ve=Se*pe+Te}return fe.x=pe,fe.y=ve,fe}function ge(z,a,y,x,b,te,ee,ce,fe,he,de,pe,ve,me){var Ee=1-fe,Se=fe,Te=z*Ee+y*Se,we=a*Ee+x*Se,je=y*Ee+b*Se,xe=x*Ee+te*Se,Oe=b*Ee+ee*Se,ze=te*Ee+ce*Se,Ze=Te*Ee+je*Se,Me=we*Ee+xe*Se,tt=je*Ee+Oe*Se,qe=xe*Ee+ze*Se,st=Ze*Ee+tt*Se,At=Me*Ee+qe*Se;he.x=Te,he.y=we,de.x=Ze,de.y=Me,pe.x=st,pe.y=At,ve.x=tt,ve.y=qe,me.x=Oe,me.y=ze}var Ae=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new en("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Ae,b.spot2=ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new en("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):te.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),te.spot1=Ae,te.spot2=ue,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new en("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new en("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var te=x%360;te<0&&(te+=360);var ee=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,te,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,te*y,a,(1-x)*y,(b+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var te=a/2,ee=y/2,ce=Math.atan2(y,a),fe=x-Math.min(Math.cos(ce)*x/2,te),he=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,de=new go.PathFigure(fe,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,he)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new en("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new en("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var te=.2,ee=.3,ce=0,fe=te*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee+.05)*a,(.5-fe+ce-.02)*y)),te=.2,ee=0,ce=-.3,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),te=.2,ee=-.3,ce=0,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee-.05)*a,(.5-fe+ce-.02)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var te=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+te)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,te*a,te*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ee+te)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure(ee*a,(ce-te)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),te=.4,b=le*.4;var he=ye(),de=ye(),pe=ye(),ve=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.42,he,de,pe,ve,ve);var me=ye(),Ee=ye(),Se=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.58,ve,ve,Se,me,Ee);var Te=ye(),we=ye(),je=ye();ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.42,Te,we,je,ve,ve);var xe=ye(),Oe=ye(),ze=ye();return ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.58,ve,ve,ze,xe,Oe),fe.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,xe.x*a,xe.y*y,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,de.x*a,de.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,ze.x*a,ze.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,je.x*a,je.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,me.x*a,me.y*y,Ee.x*a,Ee.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,je.x*a,je.y*y,Te.x*a,Te.y*y,we.x*a,we.y*y).close()),Je(he),Je(de),Je(pe),Je(ve),Je(me),Je(Ee),Je(Se),Je(Te),Je(we),Je(je),Je(xe),Je(Oe),Je(ze),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,te=b+x;return new go.Geometry().add(new go.PathFigure(te,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye(),ve=new go.PathFigure((ee-te)*a,ce*y,!1);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.44,de,pe,he,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var me=be(he.x,he.y);ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.56,fe,fe,he,de,pe);var Ee=be(he.x,he.y);ve.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),te=.35,b=le*.35;var Se=new go.PathFigure(ee*a,(ce-te)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y));var Te=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(Te),Je(fe),Je(he),Je(de),Je(pe),Je(me),Je(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,te=0,ee=-.125,ce=b*le,fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,te=0,ee=-.125,ce=b*le;var fe=new go.PathFigure((1-.5+b+te)*a,(.5+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y));var fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new en("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new en("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var te=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.setFigureParameter("Arrow2",0,new en("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new en("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var te=a-x,ee=(y-b)/2,ce=ee+b,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return fe.spot2=new go.Spot(de.x,de.y),Je(de),fe}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new en("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return ee.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,te/y,1,te/y,fe),ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new en("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new en("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,te/y,1,te/y,ye());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new en("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new en("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new en("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,te/y);var pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,ye());return he.spot2=new go.Spot(pe.x,pe.y),Je(pe),he}),go.Shape.setFigureParameter("Pointer",0,new en("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new en("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(ee.x,ee.y),Je(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new en("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new en("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,te=b+x;x>y&&(b=0,te=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(fe.x,fe.y),Je(fe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new en("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+te)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-te)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,te=.1,ee=le*b,ce=le*te,fe=.5,he=.1,de=new go.PathFigure(fe*a,(he+te)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,he*y,(fe-ee)*a,(he+te)*y,(fe-b)*a,(he+ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-te)*y,(fe-b)*a,(he-ce)*y,(fe-ee)*a,(he-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,he*y,(fe+ee)*a,(he-te)*y,(fe+b)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+te)*y,(fe+b)*a,(he+ce)*y,(fe+ee)*a,(he+te)*y));var pe=.05,ve=le*pe;fe=.05,he=.25;var me=new go.PathFigure(.5*a,.2*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+pe)*a,he*y,(fe+ve)*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ve=le*pe,fe=.825,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ve=le*pe,fe=.5,he=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ve=le*pe,fe=.175,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ve)*y,(fe+ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ve)*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ve=le*pe,fe=.05,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe-pe)*a,(he-ve)*y,(fe-ve)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new en("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var te=le*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ee=le*.5,ce=.5,fe=new go.PathFigure(a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var he=new go.PathFigure((te+b)*a,(te+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),he.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(te+b)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+b)*y,(te+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(b*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,te*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.9,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+te)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.4,ee=le*.1,ce=.1,fe=.9,he=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((fe+ce)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a,he*y,(fe-ee)*a,(he+ce)*y,(fe-ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a,he*y,(fe+ee)*a,(he-ce)*y,(fe+ce)*a,(he-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var he=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=0,ce=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te+te)*a,(ce-b)*y,.8*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+te)*y,(ee+te+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var de=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te)*a,(ce-b)*y,.9*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.1,ce=.5,fe=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+te)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(ee-te+.1)*a,ce*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te-.1)*a,ce*y,ee*a,(ce-te)*y,ee*a,(ce+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,b=a,te=y;a=a*.38,y=y*.6;var ee=le*.8,ce=.8,fe=0,he=.5,de=(b-a)/2,pe=(te-y)/2,ve=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.4,ce=.4,fe=.2,he=.5;var me=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.2,ce=.2,fe=.5,he=.5;var Ee=new go.PathFigure((fe-ce)*a+de,he*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ee=le*.4,ce=.4,fe=.8,he=.5;var Se=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),ee=le*.8,ce=.8,fe=1,he=.5;var Te=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ye(),he=ye(),de=ye(),pe=ye();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe);var ve=be(he.x,he.y),me=new go.PathFigure(he.x*a,he.y*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),b=le*.3,te=.3,ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var me=new go.PathFigure(.45*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Je(fe),Je(he),Je(de),Je(pe),Je(ve),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function te(ee,ce,fe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+fe)*y).close())}return te(b,0,0),te(b,.4,0),te(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,b=.5,te=0,ee=0,ce=b*le,fe=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,de=1,pe=.5,ve=.5,me=0,Ee=new go.PathFigure(fe*a,(1-he)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+te)*a,(me+te)*y,(.5+b+te)*a,(.5-ce+te)*y,(.5+ce+te)*a,(.5-b+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,fe=ee,he=Math.PI/4,de=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=de*.5,ve=ee,me=ee,Ee=de*ve,Se=de*me;te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ve)*a,fe*y,(ce-(Ee+ve)/2)*a,(fe+(me+Se)/2)*y,(ce-ve)*a,(fe+Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(fe-me)*y,(ce-ve)*a,(fe-Se)*y,(ce-Ee)*a,(fe-me)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ve)*a,fe*y,(ce+Ee)*a,(fe-me)*y,(ce+ve)*a,(fe-Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ve)*a,(fe+Se)*y,(ce+(Ee+ve)/2)*a,(fe+(me+Se)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+te)*y,(b+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-te)*a,y,0,(b+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-te)*y,(b-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+te)*a,0,a,(b-te)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=le*.1,fe=.2,he=.9,de=new go.PathFigure((fe-ee)*a,he*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),ee=.1,ce=le*.1,fe=.8,he=.9;var pe=new go.PathFigure((fe-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,he=le*.1,de=.1,pe=.9,ve=new go.PathFigure((de-fe)*a,pe*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),fe=.1,he=le*.1,de=.4,pe=.9;var me=new go.PathFigure((de-fe)*a,pe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var de=.05,pe=le*.05,ve=.175,me=.95,ce=new go.PathFigure((ve-de)*a,me*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.375,me=.95,fe=new go.PathFigure((ve-de)*a,me*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.625,me=.95,he=new go.PathFigure((ve-de)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ve=.825,me=.95,Ee=new go.PathFigure((ve-de)*a,me*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-pe)*y,(ve-pe)*a,(me-de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+pe)*a,(me-de)*y,(ve+de)*a,(me-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+pe)*y,(ve+pe)*a,(me+de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-pe)*a,(me+de)*y,(ve-de)*a,(me+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,fe=le*.05,he=.35,de=.775,pe=new go.PathFigure((he-ce)*a,de*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de-ce)*y,(he-ce)*a,(de-fe)*y,(he-fe)*a,(de-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,de*y,(he+fe)*a,(de-ce)*y,(he+ce)*a,(de-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de+ce)*y,(he+ce)*a,(de+fe)*y,(he+fe)*a,(de+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,de*y,(he-fe)*a,(de+ce)*y,(he-ce)*a,(de+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,b=.3,te=le*.3,ee=.5,ce=.7,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),b=.05,te=le*.05,ee=.5,ce=.8;var he=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,te=b*le,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-b,a-b,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,b,te,0,te-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,te=b*le,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var en={},zt="5.0",be={},ye=null,Je=!1,E=!1,ge=null,Ae=!1,ue=null,le=null,ie=0;ie4?parseFloat(lt):5};en.setHTML5Codebase=function(lt,at){le=lt,qe(lt,at)},en.setJavaCodebase=en.setJavaCodebaseVersion=en.isCompiledInstalled=en.setPreCompiledScriptPath=en.setPreCompiledResourcePath=function(){},en.setHTML5CodebaseVersion=function(lt,at){var ut=parseFloat(lt);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ue=lt,tt(lt,at)},en.getHTML5CodebaseVersion=function(){return z},en.getParameters=function(){return be},en.setFontsCSSURL=function(lt){ee=lt},en.setGiacJSURL=function(lt){},en.setJNLPFile=function(lt){ae=lt},en.setJNLPBaseDir=function(lt){},en.inject=function(){function lt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",ut=be.id,ft,bt=!1,Lt=0;Lt=5)return!0;var lt=en.getAppletObject();return lt&&typeof lt.recalculateEnvironments=="function"?(lt.recalculateEnvironments(),!0):!1},en.startAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.startAnimation=="function"?(lt.startAnimation(),!0):!1},en.stopAnimation=function(){var lt=en.getAppletObject();return lt&&typeof lt.stopAnimation=="function"?(lt.stopAnimation(),!0):!1},en.getAppletObject=function(){var lt=be.id!==void 0?be.id:"ggbApplet";return window[lt]},en.resize=function(){};var Ee=function(lt,at,ut){var ft=document.createElement("param");ft.setAttribute("name",at),ft.setAttribute("value",ut),lt.appendChild(ft)},Se=function(lt){return lt&<!=="false"},Te=function(lt,at,ut){fe(z)<=4.2&&(ut=!0);var ft=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(ft=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var Lt=at.width,gt=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(fe(z)<=4.4)Se(at.showToolBar)&&(at.height-=7),Se(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Se(at.showToolBar)&&(at.width=605,Lt=605);else{var ht=100;(Se(at.showToolBar)||Se(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ht=Se(at.showMenuBar)?245:155),Lt=5?(at.appletOnLoad=function(wt){var Bt=lt.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ke),window.GGBT_wsf_view&&$(window).trigger("resize"),Pe(wt)},Ve||ke.appendChild(Qe)):bt.appendChild(Qe),ke.appendChild(bt),Ve||lt.appendChild(ke),setTimeout(function(){en.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(bt),lt.appendChild(De),at.appletOnLoad=function(wt){en.resize(),Pe(wt)}}function Ye(wt,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,Bt.appletOnLoad):renderGGBElement(wt),st("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function Ue(wt,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kt){Ye(kt.article,kt.params)}),html5AppletsToProcess=null)},fe(z)<5&&(wt.className+=" geogebraweb")):Ye(wt,Bt)}if(ft){scriptLoadStarted=!0;for(var Le=0;Le0?($e.remove(),ke.attr("id","fullscreencontent").show(),jQuery(Pe).append(ke),window.dispatchEvent(new Event("resize"))):Te($e,at,!1),window.GGBT_wsf_view.launchFullScreen(Pe)}else ne=ft,Te(lt,at,!1);if(!window.GGBT_wsf_view)for(gt=0;gtlt/4*3&&($e=lt/4*3),Pe=$e/5.8,ht.setAttribute("src",b),ht.setAttribute("width",$e),ht.setAttribute("height",Pe);var ke=(lt-$e)/2,Ve=(at-Pe)/2;ht.style.left=ke+"px",ht.style.top=Ve+"px",bt.appendChild(ht)}}return bt.appendChild(gt),bt},Ze=function(lt){return lt=lt.toLowerCase(),lt==="html5"||lt==="screenshot"?lt:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(lt,at){if(z=lt,at){qe(z,!0);return}var ut=!Je;if(ut){var ft=fe(z);!isNaN(ft)&&ft<4.4&&(ut=!1)}var bt,Lt;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var gt=z.indexOf("//");gt>0?Lt=z:gt===0?Lt=bt+z:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var ht in Me)if(z.slice(Me[ht].length*-1)===Me[ht]||z.slice((Me[ht].length+1)*-1)===Me[ht]+"/"){qe(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Se(be.showToolBar)&&!Se(be.showMenuBar)&&!Se(be.showAlgebraInput)&&!Se(be.enableRightClick)&&(!be.appName||be.appName=="classic")?Lt+="webSimple/":Lt+="web3d/",qe(Lt,!1)},qe=function(lt,at){if(lt.requirejs){oe=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),oe=lt,at===null&&(at=lt.indexOf("http")===-1),re=at,a="web.nocache.js",y=!1;var ut=oe.split("/");ut.length>1&&(!at&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=lt.split("/"),z=ut[ut.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var ft=parseFloat(z);ft!==NaN&&ft<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ft+" is deprecated. Using version latest instead."),tt("5.0",at))},st=function(lt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(lt)};be.material_id!==void 0?pe(At):At();function At(){var lt=zt;ue!==null?lt=ue:parseFloat(lt)<5&&(lt="5.0"),tt(lt,!1),le!==null&&qe(le,re),Ae=!0}return en},GGBAppletUtils=function(){"use strict";function en(){return window.GGBT_wsf_edit!==void 0}function zt(Ae,ue){ue!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+ue+","+ue+")",Ae.style.webkitTransform="scale("+ue+","+ue+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function be(Ae,ue,le,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=Ae.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,te=0;if(oe)ne=oe.offsetWidth,z=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),Ae){var ee=Ae.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return Ae&&((le===void 0||!le)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))se=ye(Ae,ue,ae,le,Ae.scaleContainerClass);else return ie;return ae&&(!Ae.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(Ae){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=Ae.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(le-ie.height)/2;ae<0&&(ae=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?Ae.style.left="40px":Ae.style.left=se+"px",Ae.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?Ae.style.top="40px":Ae.style.top=ae+"px",Ae.style.left=se+"px")}function ge(Ae,ue){var le=Ae.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ie=Je(ue,Ae);en()&&le.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(en){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(en){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(en){var zt=c[en];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function en(Ae){var ue=Ae.lastIndexOf(rb);ue==-1&&(ue=Ae.length);var le=Ae.indexOf(sb);le==-1&&(le=Ae.length);var ie=Ae.lastIndexOf(tb,Math.min(le,ue));return ie>=O?Ae.substring(O,ie+P):W}function zt(Ae){if(!Ae.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=Ae+vb,Ae=en(ue.src)}return Ae}function be(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ye(){for(var Ae=o.getElementsByTagName(_),ue=O;ueO?Ae[Ae.length-P].href:W}function E(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var ge=be();return ge==W&&(ge=ye()),ge==W&&(ge=Je()),ge==W&&E()&&(ge=en(o.location.href)),ge=zt(ge),ge}function C(en){return en.match(/^\//)||en.match(/^[a-zA-Z]+:\/\//)?en:webModule.__moduleBase+en}function D(){var en=[],zt=O,be=[],ye=[];function Je(Ae){var ue=ye[Ae](),le=be[Ae];if(ue in le)return ue;var ie=[];for(var se in le)ie[le[se]]=se;throw r&&r(Ae,ie,ue),null}if(__gwt_isKnownPropertyValue=function(Ae,ue){return ue in be[Ae]},webModule.__getPropMap=function(){var Ae={};for(var ue in be)be.hasOwnProperty(ue)&&(Ae[ue]=Je(ue));return Ae},webModule.__computePropValue=Je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ge=E.indexOf(Db);ge!=-1&&(zt=parseInt(E.substring(ge+P),$),E=E.substring(O,ge))}catch(Ae){}return webModule.__softPermutationId=zt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(en,zt,be){"use strict";be.d(zt,{Ax:function(){return ge},Ds:function(){return Ae},KI:function(){return le},SI:function(){return E},f1:function(){return Je}});var ye=be(3294);function Je(ie){let se=!0;if(ie.length>0){for(let ae=0;aete in b?ue(b,te,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[te]=ee,ne=(b,te)=>{for(var ee in te||(te={}))ae.call(te,ee)&&re(b,ee,te[ee]);if(se)for(var ee of se(te))oe.call(te,ee)&&re(b,ee,te[ee]);return b},z=(b,te)=>le(b,ie(te)),a=(b,te,ee)=>new Promise((ce,fe)=>{var he=ve=>{try{pe(ee.next(ve))}catch(me){fe(me)}},de=ve=>{try{pe(ee.throw(ve))}catch(me){fe(me)}},pe=ve=>ve.done?ce(ve.value):Promise.resolve(ve.value).then(he,de);pe((ee=ee.apply(b,te)).next())}),x=({description:b,code:te,showData:ee={},sendParams:ce={},allShow:fe=!1})=>{const he=[{img:be(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:ee==null?void 0:ee.ai_exam_question,type:1},{img:be(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:te,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:be(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:te,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:te,show:ee==null?void 0:ee.ai_guidance,type:3}],de=pe=>{const{setChatData:ve,setLoading:me,getData:Ee,clearStatus:Se,typing:Te,setImageGenerator:we,renderChatItems:je,setSceneAwareness:xe}=pe;let Oe=he;return fe||(Oe=he.filter(ze=>ze.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((ze,Ze)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Te){ge.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}xe(!1),we(!1),me(!0),Se();const Me=je(ze.query);Me[0].show=!1,Me[1].imageGenerator=!1,ve(Me),Ee("",ne({type:ze.type,description:ze.description,query:ze.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Ze,className:E.item},ye.createElement(Ae.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:ze.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},ze.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},ze.des))))};return ye.createElement(Je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:de,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:z(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return rr}});var ye=be(59301),Je=be(8591),E=be(54580),ge=be(43418),Ae=be(6848),ue=be(92832),le=be(3113),ie=be(71418),se=be(64165),ae=be(14478),oe=be(43428),re=be(38854),ne=be(92310),z=be.n(ne),a=be(93628),y=be(77596),x=be(93772),b=be(14179),te=be(56102),ee={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ce=be(11611),fe=be(35328),he=be(30084),de=be(50304),pe=be(59301),ve=Object.defineProperty,me=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Te=(bn,an,gn)=>an in bn?ve(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,we=(bn,an)=>{for(var gn in an||(an={}))Ee.call(an,gn)&&Te(bn,gn,an[gn]);if(me)for(var gn of me(an))Se.call(an,gn)&&Te(bn,gn,an[gn]);return bn},je=(bn,an)=>{var gn={};for(var Nr in bn)Ee.call(bn,Nr)&&an.indexOf(Nr)<0&&(gn[Nr]=bn[Nr]);if(bn!=null&&me)for(var Nr of me(bn))an.indexOf(Nr)<0&&Se.call(bn,Nr)&&(gn[Nr]=bn[Nr]);return gn},Oe=({onFinish:bn,value:an,streamingStatus:gn,cancelIndex:Nr,loadImage:lr})=>{const[_r,ei]=(0,ye.useState)(""),[Qn,yr]=(0,ye.useState)(0),[oi,Xn]=(0,ye.useState)(!1),Mr=Ci=>Ci.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Sr=()=>{Xn(!0),bn==null||bn()};return(0,ye.useEffect)(()=>{const Ci=lr?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${an}`:an,Ni=Mr(Ci);if(!oi)if(lr||!gn||Nr>0){ei(Ni),yr(Ni.length),(!gn||Nr>0)&&!lr&&Sr();return}else if(Qn{ei(Ni.slice(0,Qn+2)),yr(Ii=>Ii+2)},na>10?Math.max(500/(na/2),20):50);return()=>clearInterval(Qi)}else gn||Sr()},[an,gn,Nr,lr,Qn]),(0,ye.useMemo)(()=>pe.createElement("div",{className:`${ee.answer} fadeIn animated`},pe.createElement(a.UG,{remarkPlugins:[he.Z],rehypePlugins:[fe.Z,x.Z],components:{code(Ci){var Ni=Ci,{node:na,inline:Qi,className:Ii,children:xi}=Ni,or=je(Ni,["node","inline","className","children"]);const ga=/language-(\w+)/.exec(Ii||"");return Qi||!ga?pe.createElement("code",we({className:Ii},or),xi):pe.createElement("div",{className:ee.codeCopy},pe.createElement(te.CopyToClipboard,{text:String(xi).trim(),onCopy:()=>Je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},pe.createElement("button",null,"\u590D\u5236")),pe.createElement(y.Z,we({style:b.Z,language:ga[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},or),String(xi).trim()))},img({node:Ci}){var Ni;return pe.createElement(ce.Z,{src:(Ni=Ci.properties)==null?void 0:Ni.src,width:320,onLoad:()=>lr&&setTimeout(()=>Sr(),500)})}}},gn&&Qnnew Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())}),qe=({value:bn="",streamingStatus:an,onFinish:gn,cancelIndex:Nr,time:lr,loading:_r,loadAll:ei})=>{const[Qn,yr]=(0,ye.useState)(""),[oi,Xn]=(0,ye.useState)(!0),Mr=(0,ye.useRef)(bn),Sr=(0,ye.useRef)(an),ci=(0,ye.useRef)(0),Ci=(0,ye.useRef)(null),[Ni,na]=(0,ye.useState)(!1),Qi=70;(0,ye.useEffect)(()=>{Sr.current=an},[an]),(0,ye.useEffect)(()=>{Mr.current=bn},[bn]),(0,ye.useEffect)(()=>{if(!an){yr(Mr.current);return}return na(!0),Ci.current=setInterval(Ii,Qi),()=>{clearInterval(Ci.current)}},[]),(0,ye.useEffect)(()=>{Ni&&(yr(Mr.current),clearInterval(Ci.current),na(!1),gn())},[Nr]);const Ii=()=>Me(void 0,null,function*(){const xi=Mr.current[ci.current];xi!==void 0?(yr(or=>or+xi),ci.current++,clearInterval(Ci.current),Ci.current=setInterval(Ii,280/(Mr.current.length-ci.current))):Sr.current===!1&&(yr(Mr.current),clearInterval(Ci.current),na(!1),gn())});return Ze.createElement("div",{className:`${ze.reasoning} fadeIn animated`},Ze.createElement("div",{className:ze.btn,onClick:()=>Xn(!oi)},Ze.createElement("i",{className:"iconfont icon-shendusikao"}),lr?Ze.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",lr," \u79D2\uFF09"):Ze.createElement("span",null,"\u601D\u8003\u4E2D..."),oi?Ze.createElement("b",{className:"iconfont icon-shouqi6"}):Ze.createElement("b",{className:"iconfont icon-zhankai6"})),_r&&Ze.createElement(ie.Z,{spinning:!0,className:"mt20"}),oi&&!_r&&Ze.createElement("div",{className:ze.content},Qn,Ni?Ze.createElement("span",{className:"aiBlink"},"__"):""))},st={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},At=be(81327),lt=Object.defineProperty,at=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,bt=(bn,an,gn)=>an in bn?lt(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,Lt=(bn,an)=>{for(var gn in an||(an={}))ut.call(an,gn)&&bt(bn,gn,an[gn]);if(at)for(var gn of at(an))ft.call(an,gn)&&bt(bn,gn,an[gn]);return bn};const gt=bn=>React.createElement("svg",Lt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},bn),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var ht="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4M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AyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",$e=Object.defineProperty,Pe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Qe=(bn,an,gn)=>an in bn?$e(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,De=(bn,an)=>{for(var gn in an||(an={}))ke.call(an,gn)&&Qe(bn,gn,an[gn]);if(Pe)for(var gn of Pe(an))Ve.call(an,gn)&&Qe(bn,gn,an[gn]);return bn};const Ye=bn=>React.createElement("svg",De({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},bn),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var Ue="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4OS4xMjUgMTg5LjEyNSAwIDAgMC0yMy41NTIgOTguNDYxYzEuNTc1IDc2Ljg4IDM1LjQ0NiAxMzguMDgzIDEwMi42MzYgMTgxLjY0MiA3LjU2MiA0Ljk2MyA5LjUzMSA5LjkyNSA3LjA5IDE3LjI1LTQuNDkgMTQuOTY3LTkuOTI2IDI5LjU0LTE0LjgxIDQ0LjU4NC0yLjk5MiA5LjYxLTcuNTYxIDExLjY1OC0xOC4yNzQgNy40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r1",img:Ue}],_r=lr.find(ei=>ei.key===bn);return Le.createElement("div",{className:st.select},Le.createElement(At.Z,{size:10},Le.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Le.createElement("div",{className:st.box,onMouseLeave:()=>Nr(!1)},Le.createElement("div",{className:st.text,onClick:()=>Nr(!0)},Le.createElement("img",{src:_r.img,width:20}),Le.createElement("span",null,_r.name),Le.createElement("b",{className:"iconfont icon-zhankai6"})),gn&&Le.createElement("div",{className:st.itemWrap},Le.createElement("aside",null,lr.map(ei=>Le.createElement("div",{key:ei.key,className:`${st.item} ${ei.key===bn?st.active:""}`,onClick:Qn=>{Qn.stopPropagation(),an(ei.key),Nr(!1)}},Le.createElement("img",{src:ei.img,width:20}),Le.createElement("span",null,ei.name))))))))},ct={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},St=be(99064),wt=be(955),Bt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},pt=({src:bn,onClick:an,topPercentage:gn=.62,draggableExtraNode:Nr})=>{const lr=(0,ye.useRef)(null),_r=(0,ye.useRef)(!1),ei=(0,ye.useRef)(!1),[Qn,yr]=(0,ye.useState)(window.innerHeight*gn),[oi,Xn]=(0,ye.useState)(!1),Mr=10;return(0,ye.useEffect)(()=>{if(lr.current){let Sr=function(Qi){var Ii;_r.current=!0,na=Qi.pageY,Ni=Qi.pageY-(((Ii=lr.current)==null?void 0:Ii.getBoundingClientRect().top)||0),(0,wt.kk)("none"),document.onselectstart=function(){return!1}},ci=function(){_r.current&&!ei.current&&an&&an(),_r.current=!1,ei.current=!1,(0,wt.kk)("auto"),document.onselectstart=null},Ci=function(Qi){var Ii;if(_r.current){const or=Qi.pageY-Ni,ga=window.innerHeight-(((Ii=lr.current)==null?void 0:Ii.offsetHeight)||0)-50,ar=50;if(!ei.current&&Math.abs(na-Qi.pageY)>Mr&&(ei.current=!0),ei.current){let $i=Math.max(ar,Math.min(or,ga));yr($i)}}},Ni=0,na=0;return lr.current.addEventListener("mousedown",Sr),document.addEventListener("mousemove",Ci),document.addEventListener("mouseup",ci),()=>{var Qi,Ii;(Ii=(Qi=lr==null?void 0:lr.current)==null?void 0:Qi.removeEventListener)==null||Ii.call(Qi,"mousedown",Sr),document.removeEventListener("mousemove",Ci),document.removeEventListener("mouseup",ci)}}},[an]),(0,ye.useEffect)(()=>{const Sr=()=>{yr(window.innerHeight*gn)};return window.addEventListener("resize",Sr),()=>{window.removeEventListener("resize",Sr)}},[gn]),ye.createElement("div",{className:Bt.draggableImage,style:{top:`${Qn}px`,display:oi?"none":"block",cursor:_r.current?"grabbing":"grab"},ref:lr},Nr,ye.createElement("img",{className:Bt.img,src:bn,width:60,draggable:"false"}),ye.createElement("i",{className:`iconfont icon-tupianguanbi ${Bt.close}`,onMouseUp:Sr=>{Sr.stopPropagation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aNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Kt=be(3294),$t=be(86204),An=be(85149),vn=Object.defineProperty,Fn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,fn=(bn,an,gn)=>an in bn?vn(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,_n=(bn,an)=>{for(var gn in an||(an={}))Tn.call(an,gn)&&fn(bn,gn,an[gn]);if(xr)for(var gn of xr(an))On.call(an,gn)&&fn(bn,gn,an[gn]);return bn},zn=(bn,an)=>Fn(bn,Yn(an)),Ir=(bn,an,gn)=>fn(bn,typeof an!="symbol"?an+"":an,gn),Pr=(bn,an,gn)=>new Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())});class Tr extends $t.EventEmitter{constructor(an,gn){super(),Ir(this,"url"),Ir(this,"body"),Ir(this,"fullContent",""),Ir(this,"controller",null),this.url=an,this.body=gn}startStream(){return Pr(this,null,function*(){this.controller=new AbortController;const{signal:an}=this.controller;try{const gn=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:an});if(!gn.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${gn.status}`);const Nr=gn.headers.get("content-type");if(!Nr||!Nr.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const lr=gn.body.getReader(),_r=new TextDecoder("utf-8");for(;;){const{done:ei,value:Qn}=yield lr.read();if(ei)break;const oi=_r.decode(Qn,{stream:!0}).split(` `);for(const Xn of oi)if(Xn.startsWith("data:")){let Mr=(0,An.z)(Xn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Mr==="[DONE]")break;try{const Sr=JSON.parse(Mr);Sr.data&&this.handleData(zn(_n({},Sr.data),{content:Sr.data.content.replace(/\\\\/g,"\\")}))}catch(Sr){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Sr)}}}this.emit("done",this.fullContent)}catch(gn){gn.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",gn.message)}})}handleData(an){an.content&&(this.fullContent+=an.content,this.emit("data",{chunk:an,full:this.fullContent}))}cancelRequest(){var an;(an=this.controller)==null||an.abort()}}var Fr=Tr,Lr=be(58617),Kr=be(32050),Gr=Object.defineProperty,zr=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,qn=(bn,an,gn)=>an in bn?Gr(bn,an,{enumerable:!0,configurable:!0,writable:!0,value:gn}):bn[an]=gn,Er=(bn,an)=>{for(var gn in an||(an={}))Mi.call(an,gn)&&qn(bn,gn,an[gn]);if(fa)for(var gn of fa(an))Li.call(an,gn)&&qn(bn,gn,an[gn]);return bn},Qt=(bn,an)=>zr(bn,yi(an)),tn=(bn,an,gn)=>new Promise((Nr,lr)=>{var _r=yr=>{try{Qn(gn.next(yr))}catch(oi){lr(oi)}},ei=yr=>{try{Qn(gn.throw(yr))}catch(oi){lr(oi)}},Qn=yr=>yr.done?Nr(yr.value):Promise.resolve(yr.value).then(_r,ei);Qn((gn=gn.apply(bn,an)).next())}),rr=({title:bn="\u5934\u6B4CAI",placeholder:an,hideUpload:gn,hideInputBox:Nr,aiIcon:lr=Ft,userIcon:_r=It,dragIcon:ei=Jt,children:Qn,fetchUrl:yr,fetchData:oi={},extraAnswerAction:Xn,showDefaultTips:Mr=!0,onOpen:Sr,onClose:ci,loadingOption:Ci,showPreference:Ni=!1,initMessage:na,customRequest:Qi,visible:Ii,width:xi=1200,isCheckRestrictNumber:or=!1,headNode:ga,headFunctionNode:ar,showRedraw:$i,showEdit:no,promptPropName:Ki="prompt",topPercentage:ki,showSwitchingModel:Cr=!1,showImageGenerator:qr=!1,showLookHistory:Fi=!1,fetchListObject:Wr,customPreference:Pa,customDataNode:pa,showAddSession:Ka,historyId:Ao,draggableExtraNode:Ei,drawerExtraNode:cs,menuExtraFunctionNode:fr,showSceneAwareness:Di=!1})=>{var aa;const[tr,Hr]=(0,ye.useState)(!1),[fi,bi]=(0,ye.useState)("qwen-max"),[Ca,Ti]=(0,ye.useState)([]),[va,Sa]=(0,ye.useState)(!1),[oa,ea]=(0,ye.useState)(!1),[Xa,Qa]=(0,ye.useState)(!1),[Ba,Ja]=(0,ye.useState)([]),[ao,As]=(0,ye.useState)(""),[Fs,wl]=(0,ye.useState)(0),[pn,Wn]=(0,ye.useState)(!1),[Dr,cr]=(0,ye.useState)(null),[Ar,dr]=(0,ye.useState)(""),sr=(0,ye.useRef)(),Ur=(0,ye.useRef)(null),jr=(0,ye.useRef)(null),[Jr,Gn]=(0,ye.useState)(!1),[ni,Ai]=(0,ye.useState)(!1),[Hi,hi]=(0,ye.useState)(!1),[ri,xa]=(0,ye.useState)(!1),[ka,Oo]=(0,ye.useState)(0),Zi=(0,ye.useRef)(null),yo=(0,ye.useRef)(!1),Ea=(0,ye.useRef)(null),[Gi,Ji]=(0,ye.useState)(void 0),[ra,Wi]=(0,ye.useState)(!0),[ho,Va]=(0,ye.useState)(xi-28),[oo,bo]=(0,ye.useState)(!1),[Ya,ol]=(0,ye.useState)(!0),[Xs,Ls]=(0,ye.useState)([]),Bs=(0,ye.useRef)([]),so=(0,ye.useRef)(!1),gi=ho-22,Vi=ao==null?void 0:ao.split(` diff --git a/p__MyProblem__RecordDetail__index.758f2e9a.async.js b/p__MyProblem__RecordDetail__index.36d40251.async.js similarity index 99% rename from p__MyProblem__RecordDetail__index.758f2e9a.async.js rename to p__MyProblem__RecordDetail__index.36d40251.async.js index 551f6bdf75..f1fd652051 100644 --- a/p__MyProblem__RecordDetail__index.758f2e9a.async.js +++ b/p__MyProblem__RecordDetail__index.36d40251.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[7527,6270],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return oe}});var be=Se(92413),Be=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"},me=E,de=Se(7657),le=function(ce,ie){return Be.createElement(de.Z,(0,be.Z)({},ce,{ref:ie,icon:me}))},ae=Be.forwardRef(le),oe=ae},88010: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"}},61293: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"}},23257:function(ct,ot){"use strict";ot.Z={header:"header___HqHSe",checkboxs:"checkboxs___ObBnD",field:"field___w_sM6","oj-form-container":"oj-form-container____odYP","oj-left-panel":"oj-left-panel___emEB2","oj-form-info":"oj-form-info___m00Ag",footer:"footer___O4iSJ",collapse:"collapse___Ltfkj","test-case-name":"test-case-name___miZcb","btn-remove-case":"btn-remove-case___cHap2","icon-tag":"icon-tag___gmyTb",btn_back:"btn_back___tNmX3",testJi:"testJi___L3fHb",upBtn:"upBtn___RGH6X",djs:"djs____TS0n",time:"time___IAdHc"}},38476:function(){"use strict"},39775:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413: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 be(){var te=ot.pop();return te===void 0?new go.Point:te}function Be(te){ot.push(te)}function E(te,a,y,x,b,ee,z,ue,fe){fe||(fe=new go.Point);var ge=te-y,pe=b-z,he=NaN,ye=NaN;if(ge===0)if(pe===0)te===y&&(he=te,ye=a);else{var ve=(ee-ue)/pe,Pe=ee-ve*b;he=te,ye=ve*he+Pe}else if(pe===0){var we=(a-x)/ge,xe=a-we*te;he=b,ye=we*he+xe}else{var we=(a-x)/ge,ve=(ee-ue)/pe,xe=a-we*te,Pe=ee-ve*b;he=(Pe-xe)/(we-ve),ye=we*he+xe}return fe.x=he,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ue,fe,ge,pe,he,ye,ve){var Pe=1-fe,we=fe,xe=te*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+ee*we,De=b*Pe+z*we,Oe=ee*Pe+ue*we,Re=xe*Pe+_e*we,Te=Ce*Pe+Ee*we,Je=_e*Pe+De*we,Xe=Ee*Pe+Oe*we,Ke=Re*Pe+Je*we,Qe=Te*Pe+Xe*we;ge.x=xe,ge.y=Ce,pe.x=Re,pe.y=Te,he.x=Ke,he.y=Qe,ye.x=Je,ye.y=Xe,ve.x=De,ve.y=Oe}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=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*ae,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=de,b.spot2=le,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,ae*a,0,a,(1-ae)*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,ae*y,(1-ae)*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,ae*y,ae*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-ae)*a,0,0,(1-ae)*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+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=de,ee.spot2=le,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,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/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,ue=Math.atan2(y,a),fe=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,pe=new go.PathFigure(fe,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.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,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*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,ue=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-fe+ue-.02)*y)),ee=.2,z=0,ue=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-fe+ue-.02)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*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,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,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)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure(z*a,(ue-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=ae*.4;var ge=be(),pe=be(),he=be(),ye=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,pe,he,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,ye,ye,we,ve,Pe);var xe=be(),Ce=be(),_e=be();me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,xe,Ce,_e,ye,ye);var Ee=be(),De=be(),Oe=be();return me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,ye,ye,Oe,Ee,De),fe.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,Ee.x*a,Ee.y*y,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,xe.x*a,xe.y*y,Ce.x*a,Ce.y*y).close()),Be(ge),Be(pe),Be(he),Be(ye),Be(ve),Be(Pe),Be(we),Be(xe),Be(Ce),Be(_e),Be(Ee),Be(De),Be(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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be(),ye=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,pe,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y));var ve=Se(ge.x,ge.y);me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,fe,fe,ge,pe,he);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var xe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(xe),Be(fe),Be(ge),Be(pe),Be(he),Be(ve),Be(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,ue=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(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,ue=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var he=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,z/y,1,z/y,he),ge.spot2=new go.Spot(he.x,he.y),Be(he),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(he.x,he.y),Be(he),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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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=ae*.5,ee=ae*.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=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*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-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*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=ae*.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,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*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-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*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=ae*.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-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*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=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*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=ae*b,ue=ae*ee,fe=.5,ge=.1,pe=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ue)*y,(fe-z)*a,(ge-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ue)*y,(fe+z)*a,(ge+ee)*y));var he=.05,ye=ae*he;fe=.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)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+ye)*a,(ge-he)*y,(fe+he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-ye)*y,(fe-ye)*a,(ge-he)*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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.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=ae*.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 ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.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=ae*.5,ue=.5,fe=new go.PathFigure(a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-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=ae*.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 ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.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=ae*.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 ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.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=ae*.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=ae*.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 ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(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=ae*.1,ee=.1,z=.9,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-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=ae*.5,ee=ae*.4,z=ae*.1,ue=.1,fe=.9,ge=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+ue)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,ge*y,(fe-z)*a,(ge+ue)*y,(fe-ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,ge*y,(fe+z)*a,(ge-ue)*y,(fe+ue)*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=ae*b,z=0,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=0,ue=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue+ee)*y,(z+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var pe=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+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=ae*.1,ee=.1,z=.1,ue=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+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=ae*.8,ue=.8,fe=0,ge=.5,pe=(b-a)/2,he=(ee-y)/2,ye=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.4,ue=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.2,ue=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ue)*a+pe,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),z=ae*.4,ue=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).close()),z=ae*.8,ue=.8,fe=1,ge=.5;var xe=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).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 ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he);var ye=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,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),b=ae*.3,ee=.3,me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),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,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.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()),Be(fe),Be(ge),Be(pe),Be(he),Be(ye),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,ue,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+fe)*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,ue=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,pe=1,he=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,he*y,pe*a,.7*y,pe*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+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,ue=.5,fe=z,ge=Math.PI/4,pe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=pe*.5,ye=z,ve=z,Pe=pe*ye,we=pe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ye)*a,fe*y,(ue-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ue-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(fe-ve)*y,(ue-ye)*a,(fe-we)*y,(ue-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ye)*a,fe*y,(ue+Pe)*a,(fe-ve)*y,(ue+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+ye)*a,(fe+we)*y,(ue+(Pe+ye)/2)*a,(fe+(ve+we)/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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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=ae*.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.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,ue=ae*.1,fe=.2,ge=.9,pe=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),z=.1,ue=ae*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*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 ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,pe=.1,he=.9,ye=new go.PathFigure((pe-fe)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+ge)*y)),fe=.1,ge=ae*.1,pe=.4,he=.9;var ve=new go.PathFigure((pe-fe)*a,he*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+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 pe=.05,he=ae*.05,ye=.175,ve=.95,ue=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.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 ue=.05,fe=ae*.05,ge=.35,pe=.775,he=new go.PathFigure((ge-ue)*a,pe*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ue)*y,(ge-ue)*a,(pe-fe)*y,(ge-fe)*a,(pe-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,pe*y,(ge+fe)*a,(pe-ue)*y,(ge+ue)*a,(pe-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ue)*y,(ge+ue)*a,(pe+fe)*y,(ge+fe)*a,(pe+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,pe*y,(ge-fe)*a,(pe+ue)*y,(ge-ue)*a,(pe+fe)*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=ae*.3,z=.5,ue=.7,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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 ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(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 ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(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 ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(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 ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*ae,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 ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var 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*ae,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.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*ae,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,oe=0;oe4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,Fe){ae=Ge,Xe(Ge,Fe)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,Fe){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,Fe)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){ce=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",Ne=Se.id,We,qe=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,Fe,Ne){var We=document.createElement("param");We.setAttribute("name",Fe),We.setAttribute("value",Ne),Ge.appendChild(We)},we=function(Ge){return Ge&&Ge!=="false"},xe=function(Ge,Fe,Ne){fe(te)<=4.2&&(Ne=!0);var We=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(We=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=Fe.width,Ve=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(fe(te)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,rt=605);else{var Ue=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ue=we(Fe.showMenuBar)?245:155),rt=5?(Fe.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),He($e)},Ye||Le.appendChild(it)):qe.appendChild(it),Le.appendChild(qe),Ye||Ge.appendChild(Le),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),Ge.appendChild(et),Fe.appletOnLoad=function($e){ct.resize(),He($e)}}function Ze($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Me($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(lt){Ze(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Ze($e,tt)}if(We){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Le.attr("id","fullscreencontent").show(),jQuery(He).append(Le),window.dispatchEvent(new Event("resize"))):xe(Ie,Fe,!1),window.GGBT_wsf_view.launchFullScreen(He)}else ne=We,xe(Ge,Fe,!1);if(!window.GGBT_wsf_view)for(Ve=0;VeGe/4*3&&(Ie=Ge/4*3),He=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",He);var Le=(Ge-Ie)/2,Ye=(Fe-He)/2;Ue.style.left=Le+"px",Ue.style.top=Ye+"px",qe.appendChild(Ue)}}return qe.appendChild(Ve),qe},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,Fe){if(te=Ge,Fe){Xe(te,!0);return}var Ne=!Be;if(Ne){var We=fe(te);!isNaN(We)&&We<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ve=te.indexOf("//");Ve>0?rt=te:Ve===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Te)if(te.slice(Te[Ue].length*-1)===Te[Ue]||te.slice((Te[Ue].length+1)*-1)===Te[Ue]+"/"){Xe(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Xe(rt,!1)},Xe=function(Ge,Fe){if(Ge.requirejs){ie=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ie=Ge,Fe===null&&(Fe=Ge.indexOf("http")===-1),re=Fe,a="web.nocache.js",y=!1;var Ne=ie.split("/");Ne.length>1&&(!Fe&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var We=parseFloat(te);We!==NaN&&We<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead."),Je("5.0",Fe))},Ke=function(Ge,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?he(Qe):Qe();function Qe(){var Ge=ot;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),ae!==null&&Xe(ae,re),de=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,oe,se,ce){var ie=null;if(ce!=null&&ce!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ce+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ie)ne=ie.offsetWidth,te=Math.max(oe?ie.offsetWidth:0,ie.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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(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(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y1&&(ce=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ce,ae,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),se=(le-oe.width)/2,ce=(ae-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var oe=Be(le,de);ct()&&ae.setAttribute("data-param-scale",oe);for(var se=null,ce=0;ce=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(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var oe=de.lastIndexOf(tb,Math.min(ae,le));return oe>=O?de.substring(O,oe+P):W}function ot(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ct(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=ct(o.location.href)),me=ot(me),me}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var oe=[];for(var se in ae)oe[ae[se]]=se;throw r&&r(de,oe,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(ot=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}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})()},77903:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(3294);function Be(oe){let se=!0;if(oe.length>0){for(let ce=0;ceee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ce.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))ie.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,oe(ee)),a=(b,ee,z)=>new Promise((ue,fe)=>{var ge=ye=>{try{he(z.next(ye))}catch(ve){fe(ve)}},pe=ye=>{try{he(z.throw(ye))}catch(ve){fe(ve)}},he=ye=>ye.done?ue(ye.value):Promise.resolve(ye.value).then(ge,pe);he((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:fe=!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}],pe=he=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:xe,setImageGenerator:Ce,renderChatItems:_e,setSceneAwareness:Ee}=he;let De=ge;return fe||(De=ge.filter(Oe=>Oe.show)),be.createElement("div",{className:`${E.bigTips} mt10`},De.map((Oe,Re)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(xe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ee(!1),Ce(!1),ve(!0),we();const Te=_e(Oe.query);Te[0].show=!1,Te[1].imageGenerator=!1,ye(Te),Pe("",ne({type:Oe.type,description:Oe.description,query:Oe.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ue))}),key:Re,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:Oe.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Oe.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Oe.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:pe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.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"),be.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"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Nt}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(6848),le=Se(92832),ae=Se(3113),oe=Se(71418),se=Se(64165),ce=Se(14478),ie=Se(43428),re=Se(38854),ne=Se(92310),te=Se.n(ne),a=Se(46739),y=Se(77596),x=Se(93772),b=Se(14179),ee=Se(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ue=Se(11611),fe=Se(35328),ge=Se(30084),pe=Se(50304),he=Se(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(wt,St,Pt)=>St in wt?ye(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,Ce=(wt,St)=>{for(var Pt in St||(St={}))Pe.call(St,Pt)&&xe(wt,Pt,St[Pt]);if(ve)for(var Pt of ve(St))we.call(St,Pt)&&xe(wt,Pt,St[Pt]);return wt},_e=(wt,St)=>{var Pt={};for(var Qt in wt)Pe.call(wt,Qt)&&St.indexOf(Qt)<0&&(Pt[Qt]=wt[Qt]);if(wt!=null&&ve)for(var Qt of ve(wt))St.indexOf(Qt)<0&&we.call(wt,Qt)&&(Pt[Qt]=wt[Qt]);return Pt},De=({onFinish:wt,value:St,streamingStatus:Pt,cancelIndex:Qt,loadImage:qt})=>{const[fn,pn]=(0,be.useState)(""),[_t,Xt]=(0,be.useState)(0),[yn,Rt]=(0,be.useState)(!1),zt=dn=>dn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Bt=()=>{Rt(!0),wt==null||wt()};return(0,be.useEffect)(()=>{const dn=qt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[7527,6270],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return oe}});var be=Se(92413),Be=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"},me=E,de=Se(7657),le=function(ce,ie){return Be.createElement(de.Z,(0,be.Z)({},ce,{ref:ie,icon:me}))},ae=Be.forwardRef(le),oe=ae},88010: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"}},61293: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"}},23257:function(ct,ot){"use strict";ot.Z={header:"header___HqHSe",checkboxs:"checkboxs___ObBnD",field:"field___w_sM6","oj-form-container":"oj-form-container____odYP","oj-left-panel":"oj-left-panel___emEB2","oj-form-info":"oj-form-info___m00Ag",footer:"footer___O4iSJ",collapse:"collapse___Ltfkj","test-case-name":"test-case-name___miZcb","btn-remove-case":"btn-remove-case___cHap2","icon-tag":"icon-tag___gmyTb",btn_back:"btn_back___tNmX3",testJi:"testJi___L3fHb",upBtn:"upBtn___RGH6X",djs:"djs____TS0n",time:"time___IAdHc"}},38476:function(){"use strict"},39775:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413: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 be(){var te=ot.pop();return te===void 0?new go.Point:te}function Be(te){ot.push(te)}function E(te,a,y,x,b,ee,z,ue,fe){fe||(fe=new go.Point);var ge=te-y,pe=b-z,he=NaN,ye=NaN;if(ge===0)if(pe===0)te===y&&(he=te,ye=a);else{var ve=(ee-ue)/pe,Pe=ee-ve*b;he=te,ye=ve*he+Pe}else if(pe===0){var we=(a-x)/ge,xe=a-we*te;he=b,ye=we*he+xe}else{var we=(a-x)/ge,ve=(ee-ue)/pe,xe=a-we*te,Pe=ee-ve*b;he=(Pe-xe)/(we-ve),ye=we*he+xe}return fe.x=he,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ue,fe,ge,pe,he,ye,ve){var Pe=1-fe,we=fe,xe=te*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+ee*we,De=b*Pe+z*we,Oe=ee*Pe+ue*we,Re=xe*Pe+_e*we,Te=Ce*Pe+Ee*we,Je=_e*Pe+De*we,Xe=Ee*Pe+Oe*we,Ke=Re*Pe+Je*we,Qe=Te*Pe+Xe*we;ge.x=xe,ge.y=Ce,pe.x=Re,pe.y=Te,he.x=Ke,he.y=Qe,ye.x=Je,ye.y=Xe,ve.x=De,ve.y=Oe}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=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*ae,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=de,b.spot2=le,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,ae*a,0,a,(1-ae)*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,ae*y,(1-ae)*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,ae*y,ae*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-ae)*a,0,0,(1-ae)*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+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=de,ee.spot2=le,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,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/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,ue=Math.atan2(y,a),fe=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,pe=new go.PathFigure(fe,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.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,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*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,ue=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-fe+ue-.02)*y)),ee=.2,z=0,ue=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-fe+ue-.02)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*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,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,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)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure(z*a,(ue-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=ae*.4;var ge=be(),pe=be(),he=be(),ye=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,pe,he,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,ye,ye,we,ve,Pe);var xe=be(),Ce=be(),_e=be();me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,xe,Ce,_e,ye,ye);var Ee=be(),De=be(),Oe=be();return me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,ye,ye,Oe,Ee,De),fe.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,Ee.x*a,Ee.y*y,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,xe.x*a,xe.y*y,Ce.x*a,Ce.y*y).close()),Be(ge),Be(pe),Be(he),Be(ye),Be(ve),Be(Pe),Be(we),Be(xe),Be(Ce),Be(_e),Be(Ee),Be(De),Be(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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be(),ye=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,pe,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y));var ve=Se(ge.x,ge.y);me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,fe,fe,ge,pe,he);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var xe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(xe),Be(fe),Be(ge),Be(pe),Be(he),Be(ve),Be(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,ue=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(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,ue=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var he=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,z/y,1,z/y,he),ge.spot2=new go.Spot(he.x,he.y),Be(he),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(he.x,he.y),Be(he),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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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=ae*.5,ee=ae*.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=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*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-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*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=ae*.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,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*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-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*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=ae*.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-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*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=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*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=ae*b,ue=ae*ee,fe=.5,ge=.1,pe=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ue)*y,(fe-z)*a,(ge-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ue)*y,(fe+z)*a,(ge+ee)*y));var he=.05,ye=ae*he;fe=.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)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+ye)*a,(ge-he)*y,(fe+he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-ye)*y,(fe-ye)*a,(ge-he)*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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.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=ae*.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 ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.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=ae*.5,ue=.5,fe=new go.PathFigure(a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-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=ae*.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 ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.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=ae*.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 ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.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=ae*.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=ae*.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 ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(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=ae*.1,ee=.1,z=.9,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-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=ae*.5,ee=ae*.4,z=ae*.1,ue=.1,fe=.9,ge=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+ue)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,ge*y,(fe-z)*a,(ge+ue)*y,(fe-ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,ge*y,(fe+z)*a,(ge-ue)*y,(fe+ue)*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=ae*b,z=0,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=0,ue=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue+ee)*y,(z+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var pe=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+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=ae*.1,ee=.1,z=.1,ue=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+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=ae*.8,ue=.8,fe=0,ge=.5,pe=(b-a)/2,he=(ee-y)/2,ye=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.4,ue=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.2,ue=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ue)*a+pe,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),z=ae*.4,ue=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).close()),z=ae*.8,ue=.8,fe=1,ge=.5;var xe=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).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 ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he);var ye=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,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),b=ae*.3,ee=.3,me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),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,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.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()),Be(fe),Be(ge),Be(pe),Be(he),Be(ye),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,ue,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+fe)*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,ue=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,pe=1,he=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,he*y,pe*a,.7*y,pe*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+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,ue=.5,fe=z,ge=Math.PI/4,pe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=pe*.5,ye=z,ve=z,Pe=pe*ye,we=pe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ye)*a,fe*y,(ue-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ue-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(fe-ve)*y,(ue-ye)*a,(fe-we)*y,(ue-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ye)*a,fe*y,(ue+Pe)*a,(fe-ve)*y,(ue+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+ye)*a,(fe+we)*y,(ue+(Pe+ye)/2)*a,(fe+(ve+we)/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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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=ae*.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.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,ue=ae*.1,fe=.2,ge=.9,pe=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),z=.1,ue=ae*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*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 ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,pe=.1,he=.9,ye=new go.PathFigure((pe-fe)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+ge)*y)),fe=.1,ge=ae*.1,pe=.4,he=.9;var ve=new go.PathFigure((pe-fe)*a,he*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+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 pe=.05,he=ae*.05,ye=.175,ve=.95,ue=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.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 ue=.05,fe=ae*.05,ge=.35,pe=.775,he=new go.PathFigure((ge-ue)*a,pe*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ue)*y,(ge-ue)*a,(pe-fe)*y,(ge-fe)*a,(pe-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,pe*y,(ge+fe)*a,(pe-ue)*y,(ge+ue)*a,(pe-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ue)*y,(ge+ue)*a,(pe+fe)*y,(ge+fe)*a,(pe+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,pe*y,(ge-fe)*a,(pe+ue)*y,(ge-ue)*a,(pe+fe)*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=ae*.3,z=.5,ue=.7,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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 ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(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 ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(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 ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(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 ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*ae,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 ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var 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*ae,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.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*ae,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,oe=0;oe4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,Fe){ae=Ge,Xe(Ge,Fe)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,Fe){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,Fe)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){ce=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",Ne=Se.id,We,qe=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,Fe,Ne){var We=document.createElement("param");We.setAttribute("name",Fe),We.setAttribute("value",Ne),Ge.appendChild(We)},we=function(Ge){return Ge&&Ge!=="false"},xe=function(Ge,Fe,Ne){fe(te)<=4.2&&(Ne=!0);var We=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(We=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=Fe.width,Ve=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(fe(te)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,rt=605);else{var Ue=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ue=we(Fe.showMenuBar)?245:155),rt=5?(Fe.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),He($e)},Ye||Le.appendChild(it)):qe.appendChild(it),Le.appendChild(qe),Ye||Ge.appendChild(Le),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),Ge.appendChild(et),Fe.appletOnLoad=function($e){ct.resize(),He($e)}}function Ze($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Me($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(lt){Ze(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Ze($e,tt)}if(We){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Le.attr("id","fullscreencontent").show(),jQuery(He).append(Le),window.dispatchEvent(new Event("resize"))):xe(Ie,Fe,!1),window.GGBT_wsf_view.launchFullScreen(He)}else ne=We,xe(Ge,Fe,!1);if(!window.GGBT_wsf_view)for(Ve=0;VeGe/4*3&&(Ie=Ge/4*3),He=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",He);var Le=(Ge-Ie)/2,Ye=(Fe-He)/2;Ue.style.left=Le+"px",Ue.style.top=Ye+"px",qe.appendChild(Ue)}}return qe.appendChild(Ve),qe},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,Fe){if(te=Ge,Fe){Xe(te,!0);return}var Ne=!Be;if(Ne){var We=fe(te);!isNaN(We)&&We<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ve=te.indexOf("//");Ve>0?rt=te:Ve===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Te)if(te.slice(Te[Ue].length*-1)===Te[Ue]||te.slice((Te[Ue].length+1)*-1)===Te[Ue]+"/"){Xe(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Xe(rt,!1)},Xe=function(Ge,Fe){if(Ge.requirejs){ie=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ie=Ge,Fe===null&&(Fe=Ge.indexOf("http")===-1),re=Fe,a="web.nocache.js",y=!1;var Ne=ie.split("/");Ne.length>1&&(!Fe&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var We=parseFloat(te);We!==NaN&&We<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead."),Je("5.0",Fe))},Ke=function(Ge,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?he(Qe):Qe();function Qe(){var Ge=ot;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),ae!==null&&Xe(ae,re),de=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,oe,se,ce){var ie=null;if(ce!=null&&ce!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ce+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ie)ne=ie.offsetWidth,te=Math.max(oe?ie.offsetWidth:0,ie.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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(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(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y1&&(ce=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ce,ae,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),se=(le-oe.width)/2,ce=(ae-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var oe=Be(le,de);ct()&&ae.setAttribute("data-param-scale",oe);for(var se=null,ce=0;ce=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(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var oe=de.lastIndexOf(tb,Math.min(ae,le));return oe>=O?de.substring(O,oe+P):W}function ot(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ct(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=ct(o.location.href)),me=ot(me),me}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var oe=[];for(var se in ae)oe[ae[se]]=se;throw r&&r(de,oe,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(ot=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}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})()},77903:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(3294);function Be(oe){let se=!0;if(oe.length>0){for(let ce=0;ceee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ce.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))ie.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,oe(ee)),a=(b,ee,z)=>new Promise((ue,fe)=>{var ge=ye=>{try{he(z.next(ye))}catch(ve){fe(ve)}},pe=ye=>{try{he(z.throw(ye))}catch(ve){fe(ve)}},he=ye=>ye.done?ue(ye.value):Promise.resolve(ye.value).then(ge,pe);he((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:fe=!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}],pe=he=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:xe,setImageGenerator:Ce,renderChatItems:_e,setSceneAwareness:Ee}=he;let De=ge;return fe||(De=ge.filter(Oe=>Oe.show)),be.createElement("div",{className:`${E.bigTips} mt10`},De.map((Oe,Re)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(xe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ee(!1),Ce(!1),ve(!0),we();const Te=_e(Oe.query);Te[0].show=!1,Te[1].imageGenerator=!1,ye(Te),Pe("",ne({type:Oe.type,description:Oe.description,query:Oe.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ue))}),key:Re,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:Oe.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Oe.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Oe.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:pe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.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"),be.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"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Nt}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(6848),le=Se(92832),ae=Se(3113),oe=Se(71418),se=Se(64165),ce=Se(14478),ie=Se(43428),re=Se(38854),ne=Se(92310),te=Se.n(ne),a=Se(93628),y=Se(77596),x=Se(93772),b=Se(14179),ee=Se(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ue=Se(11611),fe=Se(35328),ge=Se(30084),pe=Se(50304),he=Se(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(wt,St,Pt)=>St in wt?ye(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,Ce=(wt,St)=>{for(var Pt in St||(St={}))Pe.call(St,Pt)&&xe(wt,Pt,St[Pt]);if(ve)for(var Pt of ve(St))we.call(St,Pt)&&xe(wt,Pt,St[Pt]);return wt},_e=(wt,St)=>{var Pt={};for(var Qt in wt)Pe.call(wt,Qt)&&St.indexOf(Qt)<0&&(Pt[Qt]=wt[Qt]);if(wt!=null&&ve)for(var Qt of ve(wt))St.indexOf(Qt)<0&&we.call(wt,Qt)&&(Pt[Qt]=wt[Qt]);return Pt},De=({onFinish:wt,value:St,streamingStatus:Pt,cancelIndex:Qt,loadImage:qt})=>{const[fn,pn]=(0,be.useState)(""),[_t,Xt]=(0,be.useState)(0),[yn,Rt]=(0,be.useState)(!1),zt=dn=>dn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Bt=()=>{Rt(!0),wt==null||wt()};return(0,be.useEffect)(()=>{const dn=qt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${St}`:St,Sn=zt(dn);if(!yn)if(qt||!Pt||Qt>0){pn(Sn),Xt(Sn.length),(!Pt||Qt>0)&&!qt&&Bt();return}else if(_t{pn(Sn.slice(0,_t+2)),Xt(mn=>mn+2)},Nn>10?Math.max(500/(Nn/2),20):50);return()=>clearInterval(jn)}else Pt||Bt()},[St,Pt,Qt,qt,_t]),(0,be.useMemo)(()=>he.createElement("div",{className:`${z.answer} fadeIn animated`},he.createElement(a.UG,{remarkPlugins:[ge.Z],rehypePlugins:[fe.Z,x.Z],components:{code(dn){var Sn=dn,{node:Nn,inline:jn,className:mn,children:Rn}=Sn,Bn=_e(Sn,["node","inline","className","children"]);const er=/language-(\w+)/.exec(mn||"");return jn||!er?he.createElement("code",Ce({className:mn},Bn),Rn):he.createElement("div",{className:z.codeCopy},he.createElement(ee.CopyToClipboard,{text:String(Rn).trim(),onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},he.createElement("button",null,"\u590D\u5236")),he.createElement(y.Z,Ce({style:b.Z,language:er[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Bn),String(Rn).trim()))},img({node:dn}){var Sn;return he.createElement(ue.Z,{src:(Sn=dn.properties)==null?void 0:Sn.src,width:320,onLoad:()=>qt&&setTimeout(()=>Bt(),500)})}}},Pt&&_tnew Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())}),Xe=({value:wt="",streamingStatus:St,onFinish:Pt,cancelIndex:Qt,time:qt,loading:fn,loadAll:pn})=>{const[_t,Xt]=(0,be.useState)(""),[yn,Rt]=(0,be.useState)(!0),zt=(0,be.useRef)(wt),Bt=(0,be.useRef)(St),sn=(0,be.useRef)(0),dn=(0,be.useRef)(null),[Sn,Nn]=(0,be.useState)(!1),jn=70;(0,be.useEffect)(()=>{Bt.current=St},[St]),(0,be.useEffect)(()=>{zt.current=wt},[wt]),(0,be.useEffect)(()=>{if(!St){Xt(zt.current);return}return Nn(!0),dn.current=setInterval(mn,jn),()=>{clearInterval(dn.current)}},[]),(0,be.useEffect)(()=>{Sn&&(Xt(zt.current),clearInterval(dn.current),Nn(!1),Pt())},[Qt]);const mn=()=>Te(void 0,null,function*(){const Rn=zt.current[sn.current];Rn!==void 0?(Xt(Bn=>Bn+Rn),sn.current++,clearInterval(dn.current),dn.current=setInterval(mn,280/(zt.current.length-sn.current))):Bt.current===!1&&(Xt(zt.current),clearInterval(dn.current),Nn(!1),Pt())});return Re.createElement("div",{className:`${Oe.reasoning} fadeIn animated`},Re.createElement("div",{className:Oe.btn,onClick:()=>Rt(!yn)},Re.createElement("i",{className:"iconfont icon-shendusikao"}),qt?Re.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",qt," \u79D2\uFF09"):Re.createElement("span",null,"\u601D\u8003\u4E2D..."),yn?Re.createElement("b",{className:"iconfont icon-shouqi6"}):Re.createElement("b",{className:"iconfont icon-zhankai6"})),fn&&Re.createElement(oe.Z,{spinning:!0,className:"mt20"}),yn&&!fn&&Re.createElement("div",{className:Oe.content},_t,Sn?Re.createElement("span",{className:"aiBlink"},"__"):""))},Ke={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Qe=Se(81327),Ge=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,qe=(wt,St,Pt)=>St in wt?Ge(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,rt=(wt,St)=>{for(var Pt in St||(St={}))Ne.call(St,Pt)&&qe(wt,Pt,St[Pt]);if(Fe)for(var Pt of Fe(St))We.call(St,Pt)&&qe(wt,Pt,St[Pt]);return wt};const Ve=wt=>React.createElement("svg",rt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},wt),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",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bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ie=Object.defineProperty,He=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,it=(wt,St,Pt)=>St in wt?Ie(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,et=(wt,St)=>{for(var Pt in St||(St={}))Le.call(St,Pt)&&it(wt,Pt,St[Pt]);if(He)for(var Pt of He(St))Ye.call(St,Pt)&&it(wt,Pt,St[Pt]);return wt};const Ze=wt=>React.createElement("svg",et({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},wt),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 Me="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4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2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ae=Se(59301),ke=({value:wt,onChange:St})=>{const[Pt,Qt]=(0,be.useState)(!1),qt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ue},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Me}],fn=qt.find(pn=>pn.key===wt);return Ae.createElement("div",{className:Ke.select},Ae.createElement(Qe.Z,{size:10},Ae.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ae.createElement("div",{className:Ke.box,onMouseLeave:()=>Qt(!1)},Ae.createElement("div",{className:Ke.text,onClick:()=>Qt(!0)},Ae.createElement("img",{src:fn.img,width:20}),Ae.createElement("span",null,fn.name),Ae.createElement("b",{className:"iconfont icon-zhankai6"})),Pt&&Ae.createElement("div",{className:Ke.itemWrap},Ae.createElement("aside",null,qt.map(pn=>Ae.createElement("div",{key:pn.key,className:`${Ke.item} ${pn.key===wt?Ke.active:""}`,onClick:_t=>{_t.stopPropagation(),St(pn.key),Qt(!1)}},Ae.createElement("img",{src:pn.img,width:20}),Ae.createElement("span",null,pn.name))))))))},ze={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},nt=Se(99064),$e=Se(955),tt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},at=({src:wt,onClick:St,topPercentage:Pt=.62,draggableExtraNode:Qt})=>{const qt=(0,be.useRef)(null),fn=(0,be.useRef)(!1),pn=(0,be.useRef)(!1),[_t,Xt]=(0,be.useState)(window.innerHeight*Pt),[yn,Rt]=(0,be.useState)(!1),zt=10;return(0,be.useEffect)(()=>{if(qt.current){let Bt=function(jn){var mn;fn.current=!0,Nn=jn.pageY,Sn=jn.pageY-(((mn=qt.current)==null?void 0:mn.getBoundingClientRect().top)||0),(0,$e.kk)("none"),document.onselectstart=function(){return!1}},sn=function(){fn.current&&!pn.current&&St&&St(),fn.current=!1,pn.current=!1,(0,$e.kk)("auto"),document.onselectstart=null},dn=function(jn){var mn;if(fn.current){const Bn=jn.pageY-Sn,er=window.innerHeight-(((mn=qt.current)==null?void 0:mn.offsetHeight)||0)-50,Ot=50;if(!pn.current&&Math.abs(Nn-jn.pageY)>zt&&(pn.current=!0),pn.current){let ir=Math.max(Ot,Math.min(Bn,er));Xt(ir)}}},Sn=0,Nn=0;return qt.current.addEventListener("mousedown",Bt),document.addEventListener("mousemove",dn),document.addEventListener("mouseup",sn),()=>{var jn,mn;(mn=(jn=qt==null?void 0:qt.current)==null?void 0:jn.removeEventListener)==null||mn.call(jn,"mousedown",Bt),document.removeEventListener("mousemove",dn),document.removeEventListener("mouseup",sn)}}},[St]),(0,be.useEffect)(()=>{const Bt=()=>{Xt(window.innerHeight*Pt)};return window.addEventListener("resize",Bt),()=>{window.removeEventListener("resize",Bt)}},[Pt]),be.createElement("div",{className:tt.draggableImage,style:{top:`${_t}px`,display:yn?"none":"block",cursor:fn.current?"grabbing":"grab"},ref:qt},Qt,be.createElement("img",{className:tt.img,src:wt,width:60,draggable:"false"}),be.createElement("i",{className:`iconfont icon-tupianguanbi ${tt.close}`,onMouseUp:Bt=>{Bt.stopPropagation(),Rt(!0)}}))},ut="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/sH//3fXTAXlaAI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ErkJggg==",pt=Se(3294),gt=Se(86204),yt=Se(85149),Et=Object.defineProperty,Ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,cn=(wt,St,Pt)=>St in wt?Et(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,ln=(wt,St)=>{for(var Pt in St||(St={}))Zt.call(St,Pt)&&cn(wt,Pt,St[Pt]);if(Wt)for(var Pt of Wt(St))an.call(St,Pt)&&cn(wt,Pt,St[Pt]);return wt},$t=(wt,St)=>Ct(wt,Lt(St)),wn=(wt,St,Pt)=>cn(wt,typeof St!="symbol"?St+"":St,Pt),Cn=(wt,St,Pt)=>new Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())});class zn extends gt.EventEmitter{constructor(St,Pt){super(),wn(this,"url"),wn(this,"body"),wn(this,"fullContent",""),wn(this,"controller",null),this.url=St,this.body=Pt}startStream(){return Cn(this,null,function*(){this.controller=new AbortController;const{signal:St}=this.controller;try{const Pt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:St});if(!Pt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Pt.status}`);const Qt=Pt.headers.get("content-type");if(!Qt||!Qt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const qt=Pt.body.getReader(),fn=new TextDecoder("utf-8");for(;;){const{done:pn,value:_t}=yield qt.read();if(pn)break;const yn=fn.decode(_t,{stream:!0}).split(` `);for(const Rt of yn)if(Rt.startsWith("data:")){let zt=(0,yt.z)(Rt.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(zt==="[DONE]")break;try{const Bt=JSON.parse(zt);Bt.data&&this.handleData($t(ln({},Bt.data),{content:Bt.data.content.replace(/\\\\/g,"\\")}))}catch(Bt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Bt)}}}this.emit("done",this.fullContent)}catch(Pt){Pt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Pt.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 kn=zn,un=Se(58617),fr=Se(32050),Pn=Object.defineProperty,In=Object.defineProperties,Tn=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Dn=(wt,St,Pt)=>St in wt?Pn(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,nr=(wt,St)=>{for(var Pt in St||(St={}))tr.call(St,Pt)&&Dn(wt,Pt,St[Pt]);if(ar)for(var Pt of ar(St))Gn.call(St,Pt)&&Dn(wt,Pt,St[Pt]);return wt},dt=(wt,St)=>In(wt,Tn(St)),vt=(wt,St,Pt)=>new Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())}),Nt=({title:wt="\u5934\u6B4CAI",placeholder:St,hideUpload:Pt,hideInputBox:Qt,aiIcon:qt=ut,userIcon:fn=st,dragIcon:pn=ht,children:_t,fetchUrl:Xt,fetchData:yn={},extraAnswerAction:Rt,showDefaultTips:zt=!0,onOpen:Bt,onClose:sn,loadingOption:dn,showPreference:Sn=!1,initMessage:Nn,customRequest:jn,visible:mn,width:Rn=1200,isCheckRestrictNumber:Bn=!1,headNode:er,headFunctionNode:Ot,showRedraw:ir,showEdit:br,promptPropName:An="prompt",topPercentage:hn,showSwitchingModel:jt=!1,showImageGenerator:Kt=!1,showLookHistory:rn=!1,fetchListObject:Ht,customPreference:Wn,customDataNode:Qn,showAddSession:or,historyId:hr,draggableExtraNode:Er,drawerExtraNode:Jr,menuExtraFunctionNode:Gt,showSceneAwareness:qr=!1})=>{var Kr;const[jr,Mr]=(0,be.useState)(!1),[Cr,Gr]=(0,be.useState)("qwen-max"),[yr,Ln]=(0,be.useState)([]),[Vn,Lr]=(0,be.useState)(!1),[sr,Ar]=(0,be.useState)(!1),[ei,Tr]=(0,be.useState)(!1),[Yn,gr]=(0,be.useState)([]),[Or,ti]=(0,be.useState)(""),[ni,li]=(0,be.useState)(0),[ft,At]=(0,be.useState)(!1),[Mt,It]=(0,be.useState)(null),[Tt,Dt]=(0,be.useState)(""),xt=(0,be.useRef)(),kt=(0,be.useRef)(null),Ft=(0,be.useRef)(null),[Yt,Ut]=(0,be.useState)(!1),[on,Jt]=(0,be.useState)(!1),[En,nn]=(0,be.useState)(!1),[Un,Xn]=(0,be.useState)(!1),[pr,Sr]=(0,be.useState)(0),On=(0,be.useRef)(null),dr=(0,be.useRef)(!1),Fn=(0,be.useRef)(null),[vn,Jn]=(0,be.useState)(void 0),[rr,Hn]=(0,be.useState)(!0),[lr,qn]=(0,be.useState)(Rn-28),[ur,_r]=(0,be.useState)(!1),[$n,Hr]=(0,be.useState)(!0),[Nr,Ir]=(0,be.useState)([]),Br=(0,be.useRef)([]),cr=(0,be.useRef)(!1),en=lr-22,bn=Or==null?void 0:Or.split(` diff --git a/p__MyProblem__index.5b4f2702.async.js b/p__MyProblem__index.ab2d4815.async.js similarity index 99% rename from p__MyProblem__index.5b4f2702.async.js rename to p__MyProblem__index.ab2d4815.async.js index c238a10ec8..9a2d01e00d 100644 --- a/p__MyProblem__index.5b4f2702.async.js +++ b/p__MyProblem__index.ab2d4815.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[6270],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return oe}});var be=Se(92413),Be=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"},me=E,de=Se(7657),le=function(ce,ie){return Be.createElement(de.Z,(0,be.Z)({},ce,{ref:ie,icon:me}))},ae=Be.forwardRef(le),oe=ae},88010: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"}},61293: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"}},38476:function(){"use strict"},39775:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413: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 be(){var te=ot.pop();return te===void 0?new go.Point:te}function Be(te){ot.push(te)}function E(te,a,y,x,b,ee,z,ue,fe){fe||(fe=new go.Point);var ge=te-y,pe=b-z,he=NaN,ye=NaN;if(ge===0)if(pe===0)te===y&&(he=te,ye=a);else{var ve=(ee-ue)/pe,Pe=ee-ve*b;he=te,ye=ve*he+Pe}else if(pe===0){var we=(a-x)/ge,xe=a-we*te;he=b,ye=we*he+xe}else{var we=(a-x)/ge,ve=(ee-ue)/pe,xe=a-we*te,Pe=ee-ve*b;he=(Pe-xe)/(we-ve),ye=we*he+xe}return fe.x=he,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ue,fe,ge,pe,he,ye,ve){var Pe=1-fe,we=fe,xe=te*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+ee*we,De=b*Pe+z*we,Me=ee*Pe+ue*we,Re=xe*Pe+_e*we,Te=Ce*Pe+Ee*we,Je=_e*Pe+De*we,Xe=Ee*Pe+Me*we,Ke=Re*Pe+Je*we,Qe=Te*Pe+Xe*we;ge.x=xe,ge.y=Ce,pe.x=Re,pe.y=Te,he.x=Ke,he.y=Qe,ye.x=Je,ye.y=Xe,ve.x=De,ve.y=Me}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=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*ae,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=de,b.spot2=le,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,ae*a,0,a,(1-ae)*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,ae*y,(1-ae)*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,ae*y,ae*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-ae)*a,0,0,(1-ae)*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+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=de,ee.spot2=le,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,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/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,ue=Math.atan2(y,a),fe=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,pe=new go.PathFigure(fe,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.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,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*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,ue=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-fe+ue-.02)*y)),ee=.2,z=0,ue=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-fe+ue-.02)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*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,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,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)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure(z*a,(ue-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=ae*.4;var ge=be(),pe=be(),he=be(),ye=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,pe,he,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,ye,ye,we,ve,Pe);var xe=be(),Ce=be(),_e=be();me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,xe,Ce,_e,ye,ye);var Ee=be(),De=be(),Me=be();return me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,ye,ye,Me,Ee,De),fe.add(new go.PathSegment(go.PathSegment.Move,Me.x*a,Me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,Ee.x*a,Ee.y*y,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Me.x*a,Me.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,xe.x*a,xe.y*y,Ce.x*a,Ce.y*y).close()),Be(ge),Be(pe),Be(he),Be(ye),Be(ve),Be(Pe),Be(we),Be(xe),Be(Ce),Be(_e),Be(Ee),Be(De),Be(Me),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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be(),ye=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,pe,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y));var ve=Se(ge.x,ge.y);me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,fe,fe,ge,pe,he);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var xe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(xe),Be(fe),Be(ge),Be(pe),Be(he),Be(ve),Be(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,ue=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(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,ue=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var he=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,z/y,1,z/y,he),ge.spot2=new go.Spot(he.x,he.y),Be(he),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(he.x,he.y),Be(he),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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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=ae*.5,ee=ae*.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=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*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-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*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=ae*.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,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*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-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*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=ae*.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-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*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=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*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=ae*b,ue=ae*ee,fe=.5,ge=.1,pe=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ue)*y,(fe-z)*a,(ge-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ue)*y,(fe+z)*a,(ge+ee)*y));var he=.05,ye=ae*he;fe=.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)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+ye)*a,(ge-he)*y,(fe+he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-ye)*y,(fe-ye)*a,(ge-he)*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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.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=ae*.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 ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.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=ae*.5,ue=.5,fe=new go.PathFigure(a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-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=ae*.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 ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.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=ae*.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 ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.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=ae*.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=ae*.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 ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(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=ae*.1,ee=.1,z=.9,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-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=ae*.5,ee=ae*.4,z=ae*.1,ue=.1,fe=.9,ge=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+ue)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,ge*y,(fe-z)*a,(ge+ue)*y,(fe-ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,ge*y,(fe+z)*a,(ge-ue)*y,(fe+ue)*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=ae*b,z=0,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=0,ue=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue+ee)*y,(z+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var pe=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+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=ae*.1,ee=.1,z=.1,ue=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+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=ae*.8,ue=.8,fe=0,ge=.5,pe=(b-a)/2,he=(ee-y)/2,ye=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.4,ue=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.2,ue=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ue)*a+pe,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),z=ae*.4,ue=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).close()),z=ae*.8,ue=.8,fe=1,ge=.5;var xe=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).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 ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he);var ye=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,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),b=ae*.3,ee=.3,me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),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,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.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()),Be(fe),Be(ge),Be(pe),Be(he),Be(ye),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,ue,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+fe)*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,ue=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,pe=1,he=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,he*y,pe*a,.7*y,pe*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+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,ue=.5,fe=z,ge=Math.PI/4,pe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=pe*.5,ye=z,ve=z,Pe=pe*ye,we=pe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ye)*a,fe*y,(ue-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ue-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(fe-ve)*y,(ue-ye)*a,(fe-we)*y,(ue-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ye)*a,fe*y,(ue+Pe)*a,(fe-ve)*y,(ue+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+ye)*a,(fe+we)*y,(ue+(Pe+ye)/2)*a,(fe+(ve+we)/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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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=ae*.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.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,ue=ae*.1,fe=.2,ge=.9,pe=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),z=.1,ue=ae*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*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 ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,pe=.1,he=.9,ye=new go.PathFigure((pe-fe)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+ge)*y)),fe=.1,ge=ae*.1,pe=.4,he=.9;var ve=new go.PathFigure((pe-fe)*a,he*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+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 pe=.05,he=ae*.05,ye=.175,ve=.95,ue=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.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 ue=.05,fe=ae*.05,ge=.35,pe=.775,he=new go.PathFigure((ge-ue)*a,pe*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ue)*y,(ge-ue)*a,(pe-fe)*y,(ge-fe)*a,(pe-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,pe*y,(ge+fe)*a,(pe-ue)*y,(ge+ue)*a,(pe-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ue)*y,(ge+ue)*a,(pe+fe)*y,(ge+fe)*a,(pe+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,pe*y,(ge-fe)*a,(pe+ue)*y,(ge-ue)*a,(pe+fe)*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=ae*.3,z=.5,ue=.7,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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 ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(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 ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(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 ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(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 ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*ae,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 ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var 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*ae,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.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*ae,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,oe=0;oe4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,Fe){ae=Ge,Xe(Ge,Fe)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,Fe){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,Fe)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){ce=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",Ne=Se.id,We,qe=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,Fe,Ne){var We=document.createElement("param");We.setAttribute("name",Fe),We.setAttribute("value",Ne),Ge.appendChild(We)},we=function(Ge){return Ge&&Ge!=="false"},xe=function(Ge,Fe,Ne){fe(te)<=4.2&&(Ne=!0);var We=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(We=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=Fe.width,Ye=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(fe(te)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,rt=605);else{var Ue=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ue=we(Fe.showMenuBar)?245:155),rt=5?(Fe.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),He($e)},Ve||Le.appendChild(it)):qe.appendChild(it),Le.appendChild(qe),Ve||Ge.appendChild(Le),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),Ge.appendChild(et),Fe.appletOnLoad=function($e){ct.resize(),He($e)}}function Ze($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Oe($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(lt){Ze(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Ze($e,tt)}if(We){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Le.attr("id","fullscreencontent").show(),jQuery(He).append(Le),window.dispatchEvent(new Event("resize"))):xe(Ie,Fe,!1),window.GGBT_wsf_view.launchFullScreen(He)}else ne=We,xe(Ge,Fe,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeGe/4*3&&(Ie=Ge/4*3),He=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",He);var Le=(Ge-Ie)/2,Ve=(Fe-He)/2;Ue.style.left=Le+"px",Ue.style.top=Ve+"px",qe.appendChild(Ue)}}return qe.appendChild(Ye),qe},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,Fe){if(te=Ge,Fe){Xe(te,!0);return}var Ne=!Be;if(Ne){var We=fe(te);!isNaN(We)&&We<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Te)if(te.slice(Te[Ue].length*-1)===Te[Ue]||te.slice((Te[Ue].length+1)*-1)===Te[Ue]+"/"){Xe(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Xe(rt,!1)},Xe=function(Ge,Fe){if(Ge.requirejs){ie=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ie=Ge,Fe===null&&(Fe=Ge.indexOf("http")===-1),re=Fe,a="web.nocache.js",y=!1;var Ne=ie.split("/");Ne.length>1&&(!Fe&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var We=parseFloat(te);We!==NaN&&We<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead."),Je("5.0",Fe))},Ke=function(Ge,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?he(Qe):Qe();function Qe(){var Ge=ot;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),ae!==null&&Xe(ae,re),de=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,oe,se,ce){var ie=null;if(ce!=null&&ce!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ce+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ie)ne=ie.offsetWidth,te=Math.max(oe?ie.offsetWidth:0,ie.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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(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(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y1&&(ce=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ce,ae,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),se=(le-oe.width)/2,ce=(ae-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var oe=Be(le,de);ct()&&ae.setAttribute("data-param-scale",oe);for(var se=null,ce=0;ce=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(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var oe=de.lastIndexOf(tb,Math.min(ae,le));return oe>=O?de.substring(O,oe+P):W}function ot(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ct(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=ct(o.location.href)),me=ot(me),me}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var oe=[];for(var se in ae)oe[ae[se]]=se;throw r&&r(de,oe,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(ot=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}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})()},77903:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(3294);function Be(oe){let se=!0;if(oe.length>0){for(let ce=0;ceee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ce.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))ie.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,oe(ee)),a=(b,ee,z)=>new Promise((ue,fe)=>{var ge=ye=>{try{he(z.next(ye))}catch(ve){fe(ve)}},pe=ye=>{try{he(z.throw(ye))}catch(ve){fe(ve)}},he=ye=>ye.done?ue(ye.value):Promise.resolve(ye.value).then(ge,pe);he((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:fe=!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}],pe=he=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:xe,setImageGenerator:Ce,renderChatItems:_e,setSceneAwareness:Ee}=he;let De=ge;return fe||(De=ge.filter(Me=>Me.show)),be.createElement("div",{className:`${E.bigTips} mt10`},De.map((Me,Re)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(xe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ee(!1),Ce(!1),ve(!0),we();const Te=_e(Me.query);Te[0].show=!1,Te[1].imageGenerator=!1,ye(Te),Pe("",ne({type:Me.type,description:Me.description,query:Me.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ue))}),key:Re,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:Me.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Me.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Me.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:pe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.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"),be.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"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Nt}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(6848),le=Se(92832),ae=Se(3113),oe=Se(71418),se=Se(64165),ce=Se(14478),ie=Se(43428),re=Se(38854),ne=Se(92310),te=Se.n(ne),a=Se(46739),y=Se(77596),x=Se(93772),b=Se(14179),ee=Se(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ue=Se(11611),fe=Se(35328),ge=Se(30084),pe=Se(50304),he=Se(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(wt,St,Pt)=>St in wt?ye(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,Ce=(wt,St)=>{for(var Pt in St||(St={}))Pe.call(St,Pt)&&xe(wt,Pt,St[Pt]);if(ve)for(var Pt of ve(St))we.call(St,Pt)&&xe(wt,Pt,St[Pt]);return wt},_e=(wt,St)=>{var Pt={};for(var Qt in wt)Pe.call(wt,Qt)&&St.indexOf(Qt)<0&&(Pt[Qt]=wt[Qt]);if(wt!=null&&ve)for(var Qt of ve(wt))St.indexOf(Qt)<0&&we.call(wt,Qt)&&(Pt[Qt]=wt[Qt]);return Pt},De=({onFinish:wt,value:St,streamingStatus:Pt,cancelIndex:Qt,loadImage:qt})=>{const[fn,pn]=(0,be.useState)(""),[_t,Xt]=(0,be.useState)(0),[yn,Rt]=(0,be.useState)(!1),zt=dn=>dn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Bt=()=>{Rt(!0),wt==null||wt()};return(0,be.useEffect)(()=>{const dn=qt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[6270],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return oe}});var be=Se(92413),Be=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"},me=E,de=Se(7657),le=function(ce,ie){return Be.createElement(de.Z,(0,be.Z)({},ce,{ref:ie,icon:me}))},ae=Be.forwardRef(le),oe=ae},88010: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"}},61293: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"}},38476:function(){"use strict"},39775:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(ct,ot,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ce,ie)=>ce in se?Be(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ce]=ie,ae=(se,ce)=>{for(var ie in ce||(ce={}))me.call(ce,ie)&&le(se,ie,ce[ie]);if(E)for(var ie of E(ce))de.call(ce,ie)&&le(se,ie,ce[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413: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 be(){var te=ot.pop();return te===void 0?new go.Point:te}function Be(te){ot.push(te)}function E(te,a,y,x,b,ee,z,ue,fe){fe||(fe=new go.Point);var ge=te-y,pe=b-z,he=NaN,ye=NaN;if(ge===0)if(pe===0)te===y&&(he=te,ye=a);else{var ve=(ee-ue)/pe,Pe=ee-ve*b;he=te,ye=ve*he+Pe}else if(pe===0){var we=(a-x)/ge,xe=a-we*te;he=b,ye=we*he+xe}else{var we=(a-x)/ge,ve=(ee-ue)/pe,xe=a-we*te,Pe=ee-ve*b;he=(Pe-xe)/(we-ve),ye=we*he+xe}return fe.x=he,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ue,fe,ge,pe,he,ye,ve){var Pe=1-fe,we=fe,xe=te*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+ee*we,De=b*Pe+z*we,Me=ee*Pe+ue*we,Re=xe*Pe+_e*we,Te=Ce*Pe+Ee*we,Je=_e*Pe+De*we,Xe=Ee*Pe+Me*we,Ke=Re*Pe+Je*we,Qe=Te*Pe+Xe*we;ge.x=xe,ge.y=Ce,pe.x=Re,pe.y=Te,he.x=Ke,he.y=Qe,ye.x=Je,ye.y=Xe,ve.x=De,ve.y=Me}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=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*ae,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=de,b.spot2=le,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,ae*a,0,a,(1-ae)*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,ae*y,(1-ae)*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,ae*y,ae*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-ae)*a,0,0,(1-ae)*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+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=de,ee.spot2=le,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,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/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,ue=Math.atan2(y,a),fe=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,pe=new go.PathFigure(fe,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.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,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*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,ue=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-fe+ue-.02)*y)),ee=.2,z=0,ue=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-fe+ue)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-fe+ue-.02)*y,(.5+fe+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-fe+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-fe+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+fe+ue)*y,(.5-fe+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+fe+ue)*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,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,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)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure(z*a,(ue-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=ae*.4;var ge=be(),pe=be(),he=be(),ye=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,pe,he,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,ye,ye,we,ve,Pe);var xe=be(),Ce=be(),_e=be();me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,xe,Ce,_e,ye,ye);var Ee=be(),De=be(),Me=be();return me(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,ye,ye,Me,Ee,De),fe.add(new go.PathSegment(go.PathSegment.Move,Me.x*a,Me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,Ee.x*a,Ee.y*y,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Me.x*a,Me.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,xe.x*a,xe.y*y,Ce.x*a,Ce.y*y).close()),Be(ge),Be(pe),Be(he),Be(ye),Be(ve),Be(Pe),Be(we),Be(xe),Be(Ce),Be(_e),Be(Ee),Be(De),Be(Me),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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be(),ye=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,pe,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y));var ve=Se(ge.x,ge.y);me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,fe,fe,ge,pe,he);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var xe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(xe),Be(fe),Be(ge),Be(pe),Be(he),Be(ve),Be(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,ue=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(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,ue=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var he=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,z/y,1,z/y,he),ge.spot2=new go.Spot(he.x,he.y),Be(he),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=(y-b)/2,fe=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,fe=y):(ee=0,z=y,ue=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(he.x,he.y),Be(he),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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,be());return b.spot2=new go.Spot(z.x,z.y),Be(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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),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=ae*.5,ee=ae*.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=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*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-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*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=ae*.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,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*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-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*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=ae*.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-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*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=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*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=ae*b,ue=ae*ee,fe=.5,ge=.1,pe=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ue)*y,(fe-z)*a,(ge-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ue)*y,(fe+z)*a,(ge+ee)*y));var he=.05,ye=ae*he;fe=.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)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+ye)*a,(ge-he)*y,(fe+he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-ye)*y,(fe-ye)*a,(ge-he)*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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.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=ae*.5,ee=ae*.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.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=ae*.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 ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.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=ae*.5,ue=.5,fe=new go.PathFigure(a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-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=ae*.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 ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.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=ae*.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 ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.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=ae*.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=ae*.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 ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(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=ae*.1,ee=.1,z=.9,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-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=ae*.5,ee=ae*.4,z=ae*.1,ue=.1,fe=.9,ge=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+ue)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,ge*y,(fe-z)*a,(ge+ue)*y,(fe-ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,ge*y,(fe+z)*a,(ge-ue)*y,(fe+ue)*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=ae*b,z=0,ue=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=0,ue=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue+ee)*y,(z+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=ae*.1,z=.9,ue=.5;var pe=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*b,z=.2,ue=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+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=ae*.1,ee=.1,z=.1,ue=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.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=ae*.5,ee=.5,z=.5,ue=.5,fe=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+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=ae*.8,ue=.8,fe=0,ge=.5,pe=(b-a)/2,he=(ee-y)/2,ye=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.4,ue=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+pe,(ge+ue)*y+he,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ue)*y+he,(fe-ue+z*.5)*a+pe,(ge-z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe-ue+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ue)*y+he).close()),z=ae*.2,ue=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ue)*a+pe,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe-ue)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ue)*y+he,(fe-ue)*a+pe,(ge+z)*y+he)),z=ae*.4,ue=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).close()),z=ae*.8,ue=.8,fe=1,ge=.5;var xe=new go.PathFigure(fe*a+pe,(ge-ue)*y+he,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ue)*y+he,(fe+ue)*a+pe,(ge-z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ue)*y+he,(fe+ue)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ue)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ue)*y+he,(fe+ue-z*.5)*a+pe,(ge+z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ue)*y+he,(fe+ue-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ue)*y+he).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 ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.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=ae*.4,ee=.4,z=.5,ue=.5,fe=be(),ge=be(),pe=be(),he=be();me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he);var ye=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,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),b=ae*.3,ee=.3,me(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,pe,he,ge,fe,fe),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,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),me(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,fe,fe,ge,pe,he),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.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()),Be(fe),Be(ge),Be(pe),Be(he),Be(ye),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,ue,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+fe)*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,ue=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,pe=1,he=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,he*y,pe*a,.7*y,pe*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+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,ue=.5,fe=z,ge=Math.PI/4,pe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=pe*.5,ye=z,ve=z,Pe=pe*ye,we=pe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ye)*a,fe*y,(ue-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ue-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(fe-ve)*y,(ue-ye)*a,(fe-we)*y,(ue-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ye)*a,fe*y,(ue+Pe)*a,(fe-ve)*y,(ue+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+ye)*a,(fe+we)*y,(ue+(Pe+ye)/2)*a,(fe+(ve+we)/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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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=ae*.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.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,ue=ae*.1,fe=.2,ge=.9,pe=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*y).close()),z=.1,ue=ae*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ue)*y,(fe-ue)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ue)*a,(ge-z)*y,(fe+z)*a,(ge-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ue)*y,(fe+ue)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ue)*a,(ge+z)*y,(fe-z)*a,(ge+ue)*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 ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,pe=.1,he=.9,ye=new go.PathFigure((pe-fe)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+ge)*y)),fe=.1,ge=ae*.1,pe=.4,he=.9;var ve=new go.PathFigure((pe-fe)*a,he*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+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 pe=.05,he=ae*.05,ye=.175,ve=.95,ue=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.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 ue=.05,fe=ae*.05,ge=.35,pe=.775,he=new go.PathFigure((ge-ue)*a,pe*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ue)*y,(ge-ue)*a,(pe-fe)*y,(ge-fe)*a,(pe-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,pe*y,(ge+fe)*a,(pe-ue)*y,(ge+ue)*a,(pe-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ue)*y,(ge+ue)*a,(pe+fe)*y,(ge+fe)*a,(pe+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,pe*y,(ge-fe)*a,(pe+ue)*y,(ge-ue)*a,(pe+fe)*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=ae*.3,z=.5,ue=.7,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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=ae*.5,z=.5,ue=.5,fe=new go.PathFigure((z-b)*a,ue*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+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 ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(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 ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(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 ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(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 ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*ae,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 ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var 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*ae,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.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*ae,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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,oe=0;oe4?parseFloat(Ge):5};ct.setHTML5Codebase=function(Ge,Fe){ae=Ge,Xe(Ge,Fe)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ge,Fe){var Ne=parseFloat(Ge);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}le=Ge,Je(Ge,Fe)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(Ge){z=Ge},ct.setGiacJSURL=function(Ge){},ct.setJNLPFile=function(Ge){ce=Ge},ct.setJNLPBaseDir=function(Ge){},ct.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",Ne=Se.id,We,qe=!1,rt=0;rt=5)return!0;var Ge=ct.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ge=ct.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ge=Se.id!==void 0?Se.id:"ggbApplet";return window[Ge]},ct.resize=function(){};var Pe=function(Ge,Fe,Ne){var We=document.createElement("param");We.setAttribute("name",Fe),We.setAttribute("value",Ne),Ge.appendChild(We)},we=function(Ge){return Ge&&Ge!=="false"},xe=function(Ge,Fe,Ne){fe(te)<=4.2&&(Ne=!0);var We=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(We=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=Fe.width,Ye=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(fe(te)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,rt=605);else{var Ue=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ue=we(Fe.showMenuBar)?245:155),rt=5?(Fe.appletOnLoad=function($e){var tt=Ge.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),He($e)},Ve||Le.appendChild(it)):qe.appendChild(it),Le.appendChild(qe),Ve||Ge.appendChild(Le),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),Ge.appendChild(et),Fe.appletOnLoad=function($e){ct.resize(),He($e)}}function Ze($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ke("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Oe($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(lt){Ze(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Ze($e,tt)}if(We){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Le.attr("id","fullscreencontent").show(),jQuery(He).append(Le),window.dispatchEvent(new Event("resize"))):xe(Ie,Fe,!1),window.GGBT_wsf_view.launchFullScreen(He)}else ne=We,xe(Ge,Fe,!1);if(!window.GGBT_wsf_view)for(Ye=0;YeGe/4*3&&(Ie=Ge/4*3),He=Ie/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Ie),Ue.setAttribute("height",He);var Le=(Ge-Ie)/2,Ve=(Fe-He)/2;Ue.style.left=Le+"px",Ue.style.top=Ve+"px",qe.appendChild(Ue)}}return qe.appendChild(Ye),qe},Re=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ge,Fe){if(te=Ge,Fe){Xe(te,!0);return}var Ne=!Be;if(Ne){var We=fe(te);!isNaN(We)&&We<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Te)if(te.slice(Te[Ue].length*-1)===Te[Ue]||te.slice((Te[Ue].length+1)*-1)===Te[Ue]+"/"){Xe(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Xe(rt,!1)},Xe=function(Ge,Fe){if(Ge.requirejs){ie=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ie=Ge,Fe===null&&(Fe=Ge.indexOf("http")===-1),re=Fe,a="web.nocache.js",y=!1;var Ne=ie.split("/");Ne.length>1&&(!Fe&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Ge.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var We=parseFloat(te);We!==NaN&&We<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead."),Je("5.0",Fe))},Ke=function(Ge,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ge)};Se.material_id!==void 0?he(Qe):Qe();function Qe(){var Ge=ot;le!==null?Ge=le:parseFloat(Ge)<5&&(Ge="5.0"),Je(Ge,!1),ae!==null&&Xe(ae,re),de=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,oe,se,ce){var ie=null;if(ce!=null&&ce!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ce+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ie)ne=ie.offsetWidth,te=Math.max(oe?ie.offsetWidth:0,ie.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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(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(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y1&&(ce=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ce,ae,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),se=(le-oe.width)/2,ce=(ae-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var oe=Be(le,de);ct()&&ae.setAttribute("data-param-scale",oe);for(var se=null,ce=0;ce=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(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var oe=de.lastIndexOf(tb,Math.min(ae,le));return oe>=O?de.substring(O,oe+P):W}function ot(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=ct(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=ct(o.location.href)),me=ot(me),me}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var oe=[];for(var se in ae)oe[ae[se]]=se;throw r&&r(de,oe,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(ot=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}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})()},77903:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(3294);function Be(oe){let se=!0;if(oe.length>0){for(let ce=0;ceee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ce.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))ie.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,oe(ee)),a=(b,ee,z)=>new Promise((ue,fe)=>{var ge=ye=>{try{he(z.next(ye))}catch(ve){fe(ve)}},pe=ye=>{try{he(z.throw(ye))}catch(ve){fe(ve)}},he=ye=>ye.done?ue(ye.value):Promise.resolve(ye.value).then(ge,pe);he((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:fe=!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}],pe=he=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:xe,setImageGenerator:Ce,renderChatItems:_e,setSceneAwareness:Ee}=he;let De=ge;return fe||(De=ge.filter(Me=>Me.show)),be.createElement("div",{className:`${E.bigTips} mt10`},De.map((Me,Re)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(xe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ee(!1),Ce(!1),ve(!0),we();const Te=_e(Me.query);Te[0].show=!1,Te[1].imageGenerator=!1,ye(Te),Pe("",ne({type:Me.type,description:Me.description,query:Me.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ue))}),key:Re,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:Me.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Me.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Me.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:pe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.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"),be.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"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Nt}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(6848),le=Se(92832),ae=Se(3113),oe=Se(71418),se=Se(64165),ce=Se(14478),ie=Se(43428),re=Se(38854),ne=Se(92310),te=Se.n(ne),a=Se(93628),y=Se(77596),x=Se(93772),b=Se(14179),ee=Se(56102),z={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ue=Se(11611),fe=Se(35328),ge=Se(30084),pe=Se(50304),he=Se(59301),ye=Object.defineProperty,ve=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(wt,St,Pt)=>St in wt?ye(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,Ce=(wt,St)=>{for(var Pt in St||(St={}))Pe.call(St,Pt)&&xe(wt,Pt,St[Pt]);if(ve)for(var Pt of ve(St))we.call(St,Pt)&&xe(wt,Pt,St[Pt]);return wt},_e=(wt,St)=>{var Pt={};for(var Qt in wt)Pe.call(wt,Qt)&&St.indexOf(Qt)<0&&(Pt[Qt]=wt[Qt]);if(wt!=null&&ve)for(var Qt of ve(wt))St.indexOf(Qt)<0&&we.call(wt,Qt)&&(Pt[Qt]=wt[Qt]);return Pt},De=({onFinish:wt,value:St,streamingStatus:Pt,cancelIndex:Qt,loadImage:qt})=>{const[fn,pn]=(0,be.useState)(""),[_t,Xt]=(0,be.useState)(0),[yn,Rt]=(0,be.useState)(!1),zt=dn=>dn.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Bt=()=>{Rt(!0),wt==null||wt()};return(0,be.useEffect)(()=>{const dn=qt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${St}`:St,Sn=zt(dn);if(!yn)if(qt||!Pt||Qt>0){pn(Sn),Xt(Sn.length),(!Pt||Qt>0)&&!qt&&Bt();return}else if(_t{pn(Sn.slice(0,_t+2)),Xt(mn=>mn+2)},Nn>10?Math.max(500/(Nn/2),20):50);return()=>clearInterval(jn)}else Pt||Bt()},[St,Pt,Qt,qt,_t]),(0,be.useMemo)(()=>he.createElement("div",{className:`${z.answer} fadeIn animated`},he.createElement(a.UG,{remarkPlugins:[ge.Z],rehypePlugins:[fe.Z,x.Z],components:{code(dn){var Sn=dn,{node:Nn,inline:jn,className:mn,children:Rn}=Sn,Bn=_e(Sn,["node","inline","className","children"]);const er=/language-(\w+)/.exec(mn||"");return jn||!er?he.createElement("code",Ce({className:mn},Bn),Rn):he.createElement("div",{className:z.codeCopy},he.createElement(ee.CopyToClipboard,{text:String(Rn).trim(),onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},he.createElement("button",null,"\u590D\u5236")),he.createElement(y.Z,Ce({style:b.Z,language:er[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Bn),String(Rn).trim()))},img({node:dn}){var Sn;return he.createElement(ue.Z,{src:(Sn=dn.properties)==null?void 0:Sn.src,width:320,onLoad:()=>qt&&setTimeout(()=>Bt(),500)})}}},Pt&&_tnew Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())}),Xe=({value:wt="",streamingStatus:St,onFinish:Pt,cancelIndex:Qt,time:qt,loading:fn,loadAll:pn})=>{const[_t,Xt]=(0,be.useState)(""),[yn,Rt]=(0,be.useState)(!0),zt=(0,be.useRef)(wt),Bt=(0,be.useRef)(St),sn=(0,be.useRef)(0),dn=(0,be.useRef)(null),[Sn,Nn]=(0,be.useState)(!1),jn=70;(0,be.useEffect)(()=>{Bt.current=St},[St]),(0,be.useEffect)(()=>{zt.current=wt},[wt]),(0,be.useEffect)(()=>{if(!St){Xt(zt.current);return}return Nn(!0),dn.current=setInterval(mn,jn),()=>{clearInterval(dn.current)}},[]),(0,be.useEffect)(()=>{Sn&&(Xt(zt.current),clearInterval(dn.current),Nn(!1),Pt())},[Qt]);const mn=()=>Te(void 0,null,function*(){const Rn=zt.current[sn.current];Rn!==void 0?(Xt(Bn=>Bn+Rn),sn.current++,clearInterval(dn.current),dn.current=setInterval(mn,280/(zt.current.length-sn.current))):Bt.current===!1&&(Xt(zt.current),clearInterval(dn.current),Nn(!1),Pt())});return Re.createElement("div",{className:`${Me.reasoning} fadeIn animated`},Re.createElement("div",{className:Me.btn,onClick:()=>Rt(!yn)},Re.createElement("i",{className:"iconfont icon-shendusikao"}),qt?Re.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",qt," \u79D2\uFF09"):Re.createElement("span",null,"\u601D\u8003\u4E2D..."),yn?Re.createElement("b",{className:"iconfont icon-shouqi6"}):Re.createElement("b",{className:"iconfont icon-zhankai6"})),fn&&Re.createElement(oe.Z,{spinning:!0,className:"mt20"}),yn&&!fn&&Re.createElement("div",{className:Me.content},_t,Sn?Re.createElement("span",{className:"aiBlink"},"__"):""))},Ke={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Qe=Se(81327),Ge=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,qe=(wt,St,Pt)=>St in wt?Ge(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,rt=(wt,St)=>{for(var Pt in St||(St={}))Ne.call(St,Pt)&&qe(wt,Pt,St[Pt]);if(Fe)for(var Pt of Fe(St))We.call(St,Pt)&&qe(wt,Pt,St[Pt]);return wt};const Ye=wt=>React.createElement("svg",rt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},wt),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 Ue="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI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.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,it=(wt,St,Pt)=>St in wt?Ie(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,et=(wt,St)=>{for(var Pt in St||(St={}))Le.call(St,Pt)&&it(wt,Pt,St[Pt]);if(He)for(var Pt of He(St))Ve.call(St,Pt)&&it(wt,Pt,St[Pt]);return wt};const Ze=wt=>React.createElement("svg",et({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},wt),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 Oe="data:image/svg+xml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uOTExIDE1LjkxMSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ae=Se(59301),ke=({value:wt,onChange:St})=>{const[Pt,Qt]=(0,be.useState)(!1),qt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ue},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Oe}],fn=qt.find(pn=>pn.key===wt);return Ae.createElement("div",{className:Ke.select},Ae.createElement(Qe.Z,{size:10},Ae.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ae.createElement("div",{className:Ke.box,onMouseLeave:()=>Qt(!1)},Ae.createElement("div",{className:Ke.text,onClick:()=>Qt(!0)},Ae.createElement("img",{src:fn.img,width:20}),Ae.createElement("span",null,fn.name),Ae.createElement("b",{className:"iconfont icon-zhankai6"})),Pt&&Ae.createElement("div",{className:Ke.itemWrap},Ae.createElement("aside",null,qt.map(pn=>Ae.createElement("div",{key:pn.key,className:`${Ke.item} ${pn.key===wt?Ke.active:""}`,onClick:_t=>{_t.stopPropagation(),St(pn.key),Qt(!1)}},Ae.createElement("img",{src:pn.img,width:20}),Ae.createElement("span",null,pn.name))))))))},ze={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},nt=Se(99064),$e=Se(955),tt={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},at=({src:wt,onClick:St,topPercentage:Pt=.62,draggableExtraNode:Qt})=>{const qt=(0,be.useRef)(null),fn=(0,be.useRef)(!1),pn=(0,be.useRef)(!1),[_t,Xt]=(0,be.useState)(window.innerHeight*Pt),[yn,Rt]=(0,be.useState)(!1),zt=10;return(0,be.useEffect)(()=>{if(qt.current){let Bt=function(jn){var mn;fn.current=!0,Nn=jn.pageY,Sn=jn.pageY-(((mn=qt.current)==null?void 0:mn.getBoundingClientRect().top)||0),(0,$e.kk)("none"),document.onselectstart=function(){return!1}},sn=function(){fn.current&&!pn.current&&St&&St(),fn.current=!1,pn.current=!1,(0,$e.kk)("auto"),document.onselectstart=null},dn=function(jn){var mn;if(fn.current){const Bn=jn.pageY-Sn,er=window.innerHeight-(((mn=qt.current)==null?void 0:mn.offsetHeight)||0)-50,Ot=50;if(!pn.current&&Math.abs(Nn-jn.pageY)>zt&&(pn.current=!0),pn.current){let ir=Math.max(Ot,Math.min(Bn,er));Xt(ir)}}},Sn=0,Nn=0;return qt.current.addEventListener("mousedown",Bt),document.addEventListener("mousemove",dn),document.addEventListener("mouseup",sn),()=>{var jn,mn;(mn=(jn=qt==null?void 0:qt.current)==null?void 0:jn.removeEventListener)==null||mn.call(jn,"mousedown",Bt),document.removeEventListener("mousemove",dn),document.removeEventListener("mouseup",sn)}}},[St]),(0,be.useEffect)(()=>{const Bt=()=>{Xt(window.innerHeight*Pt)};return window.addEventListener("resize",Bt),()=>{window.removeEventListener("resize",Bt)}},[Pt]),be.createElement("div",{className:tt.draggableImage,style:{top:`${_t}px`,display:yn?"none":"block",cursor:fn.current?"grabbing":"grab"},ref:qt},Qt,be.createElement("img",{className:tt.img,src:wt,width:60,draggable:"false"}),be.createElement("i",{className:`iconfont icon-tupianguanbi ${tt.close}`,onMouseUp:Bt=>{Bt.stopPropagation(),Rt(!0)}}))},ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31x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FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",pt=Se(3294),gt=Se(86204),yt=Se(85149),Et=Object.defineProperty,Ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,cn=(wt,St,Pt)=>St in wt?Et(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,ln=(wt,St)=>{for(var Pt in St||(St={}))Zt.call(St,Pt)&&cn(wt,Pt,St[Pt]);if(Wt)for(var Pt of Wt(St))an.call(St,Pt)&&cn(wt,Pt,St[Pt]);return wt},$t=(wt,St)=>Ct(wt,Lt(St)),wn=(wt,St,Pt)=>cn(wt,typeof St!="symbol"?St+"":St,Pt),Cn=(wt,St,Pt)=>new Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())});class zn extends gt.EventEmitter{constructor(St,Pt){super(),wn(this,"url"),wn(this,"body"),wn(this,"fullContent",""),wn(this,"controller",null),this.url=St,this.body=Pt}startStream(){return Cn(this,null,function*(){this.controller=new AbortController;const{signal:St}=this.controller;try{const Pt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:St});if(!Pt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Pt.status}`);const Qt=Pt.headers.get("content-type");if(!Qt||!Qt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const qt=Pt.body.getReader(),fn=new TextDecoder("utf-8");for(;;){const{done:pn,value:_t}=yield qt.read();if(pn)break;const yn=fn.decode(_t,{stream:!0}).split(` `);for(const Rt of yn)if(Rt.startsWith("data:")){let zt=(0,yt.z)(Rt.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(zt==="[DONE]")break;try{const Bt=JSON.parse(zt);Bt.data&&this.handleData($t(ln({},Bt.data),{content:Bt.data.content.replace(/\\\\/g,"\\")}))}catch(Bt){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Bt)}}}this.emit("done",this.fullContent)}catch(Pt){Pt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Pt.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 kn=zn,un=Se(58617),fr=Se(32050),Pn=Object.defineProperty,In=Object.defineProperties,Tn=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Dn=(wt,St,Pt)=>St in wt?Pn(wt,St,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):wt[St]=Pt,nr=(wt,St)=>{for(var Pt in St||(St={}))tr.call(St,Pt)&&Dn(wt,Pt,St[Pt]);if(ar)for(var Pt of ar(St))Gn.call(St,Pt)&&Dn(wt,Pt,St[Pt]);return wt},dt=(wt,St)=>In(wt,Tn(St)),vt=(wt,St,Pt)=>new Promise((Qt,qt)=>{var fn=Xt=>{try{_t(Pt.next(Xt))}catch(yn){qt(yn)}},pn=Xt=>{try{_t(Pt.throw(Xt))}catch(yn){qt(yn)}},_t=Xt=>Xt.done?Qt(Xt.value):Promise.resolve(Xt.value).then(fn,pn);_t((Pt=Pt.apply(wt,St)).next())}),Nt=({title:wt="\u5934\u6B4CAI",placeholder:St,hideUpload:Pt,hideInputBox:Qt,aiIcon:qt=ut,userIcon:fn=st,dragIcon:pn=ht,children:_t,fetchUrl:Xt,fetchData:yn={},extraAnswerAction:Rt,showDefaultTips:zt=!0,onOpen:Bt,onClose:sn,loadingOption:dn,showPreference:Sn=!1,initMessage:Nn,customRequest:jn,visible:mn,width:Rn=1200,isCheckRestrictNumber:Bn=!1,headNode:er,headFunctionNode:Ot,showRedraw:ir,showEdit:br,promptPropName:An="prompt",topPercentage:hn,showSwitchingModel:jt=!1,showImageGenerator:Kt=!1,showLookHistory:rn=!1,fetchListObject:Ht,customPreference:Wn,customDataNode:Qn,showAddSession:or,historyId:hr,draggableExtraNode:Er,drawerExtraNode:Jr,menuExtraFunctionNode:Gt,showSceneAwareness:qr=!1})=>{var Kr;const[jr,Mr]=(0,be.useState)(!1),[Cr,Gr]=(0,be.useState)("qwen-max"),[yr,Ln]=(0,be.useState)([]),[Vn,Lr]=(0,be.useState)(!1),[sr,Ar]=(0,be.useState)(!1),[ei,Tr]=(0,be.useState)(!1),[Yn,gr]=(0,be.useState)([]),[Or,ti]=(0,be.useState)(""),[ni,li]=(0,be.useState)(0),[ft,At]=(0,be.useState)(!1),[Mt,It]=(0,be.useState)(null),[Tt,Dt]=(0,be.useState)(""),xt=(0,be.useRef)(),kt=(0,be.useRef)(null),Ft=(0,be.useRef)(null),[Yt,Ut]=(0,be.useState)(!1),[on,Jt]=(0,be.useState)(!1),[En,nn]=(0,be.useState)(!1),[Un,Xn]=(0,be.useState)(!1),[pr,Sr]=(0,be.useState)(0),On=(0,be.useRef)(null),dr=(0,be.useRef)(!1),Fn=(0,be.useRef)(null),[vn,Jn]=(0,be.useState)(void 0),[rr,Hn]=(0,be.useState)(!0),[lr,qn]=(0,be.useState)(Rn-28),[ur,_r]=(0,be.useState)(!1),[$n,Hr]=(0,be.useState)(!0),[Nr,Ir]=(0,be.useState)([]),Br=(0,be.useRef)([]),cr=(0,be.useRef)(!1),en=lr-22,bn=Or==null?void 0:Or.split(` diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.fb82204c.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.e8e9c8e9.async.js similarity index 99% rename from p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.fb82204c.async.js rename to p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.e8e9c8e9.async.js index 173f7a6f0c..70d3a8bc36 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.fb82204c.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.e8e9c8e9.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[1657],{88010:function(ve,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"}},64790:function(ve,ot,ge){"use strict";var te=ge(59301),Fe=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,be=(Ce,we,We)=>we in Ce?Fe(Ce,we,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ce[we]=We,se=(Ce,we)=>{for(var We in we||(we={}))Ue.call(we,We)&&be(Ce,We,we[We]);if(Oe)for(var We of Oe(we))ce.call(we,We)&&be(Ce,We,we[We]);return Ce};const Te=Ce=>React.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},Ce),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));ot.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},74413:function(){"use strict";function ve(ae,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(ve.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ve.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ve.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ve.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof ve))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[a]=E};var ot=[];function ge(ae,a){var E=ot.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function te(){var ae=ot.pop();return ae===void 0?new go.Point:ae}function Fe(ae){ot.push(ae)}function Oe(ae,a,E,b,y,x,z,ee,ne){ne||(ne=new go.Point);var oe=ae-E,re=y-z,ie=NaN,le=NaN;if(oe===0)if(re===0)ae===E&&(ie=ae,le=a);else{var Ae=(x-ee)/re,Ee=x-Ae*y;ie=ae,le=Ae*ie+Ee}else if(re===0){var ue=(a-b)/oe,Xe=a-ue*ae;ie=y,le=ue*ie+Xe}else{var ue=(a-b)/oe,Ae=(x-ee)/re,Xe=a-ue*ae,Ee=x-Ae*y;ie=(Ee-Xe)/(ue-Ae),le=ue*ie+Xe}return ne.x=ie,ne.y=le,ne}function Ue(ae,a,E,b,y,x,z,ee,ne,oe,re,ie,le,Ae){var Ee=1-ne,ue=ne,Xe=ae*Ee+E*ue,at=a*Ee+b*ue,Ve=E*Ee+y*ue,et=b*Ee+x*ue,Ft=y*Ee+z*ue,pt=x*Ee+ee*ue,wt=Xe*Ee+Ve*ue,kt=at*Ee+et*ue,Wt=Ve*Ee+Ft*ue,tn=et*Ee+pt*ue,bt=wt*Ee+Wt*ue,dn=kt*Ee+tn*ue;oe.x=Xe,oe.y=at,re.x=wt,re.y=kt,ie.x=bt,ie.y=dn,le.x=Wt,le.y=tn,Ae.x=Ft,Ae.y=pt}var ce=new go.Spot(.156,.156),be=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ve("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*se,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=ce,y.spot2=be,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,se*a,0,a,(1-se)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,se*E,(1-se)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,se*E,se*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-se)*a,0,0,(1-se)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ve("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ee,ee).close())),x.spot1=ce,x.spot2=be,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new ve("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ve("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var b=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var z=y%360,ee=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var b=se/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,x*E,a,(1-b)*E,(y+b)*a,(x+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var x=a/2,z=E/2,ee=Math.atan2(E,a),ne=b-Math.min(Math.cos(ee)*b/2,x),oe=b-Math.min(Math.sin(ee)*b/2,z),y=new go.Geometry,re=new go.PathFigure(ne,0,!0);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Line,x,.2*E)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,E-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),re.add(new go.PathSegment(go.PathSegment.Line,x,.8*E)),re.add(new go.PathSegment(go.PathSegment.Line,ne,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ve("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ve("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,se*a,0,a,(.5-se/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+se/2)*E,se*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var x=.2,z=.3,ee=0,ne=x*se;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z)*a,(.5-ne+ee)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z+.05)*a,(.5-ne+ee-.02)*E)),x=.2,z=0,ee=-.3,ne=x*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z)*a,(.5-ne+ee)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z)*a,(.5-ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),x=.2,z=-.3,ee=0,ne=x*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z-.05)*a,(.5-ne+ee-.02)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z)*a,(.5-ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*ee,x*a,x*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,y=new go.PathFigure((z+x)*a,ee*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*ee,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var b=.8535533905932737,y=.5*a,x=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure(z*a,(ee-x)*E);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),x=.4,y=se*.4;var oe=te(),re=te(),ie=te(),le=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.42,oe,re,ie,le,le);var Ae=te(),Ee=te(),ue=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.58,le,le,ue,Ae,Ee);var Xe=te(),at=te(),Ve=te();Ue(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.42,Xe,at,Ve,le,le);var et=te(),Ft=te(),pt=te();return Ue(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.58,le,le,pt,et,Ft),ne.add(new go.PathSegment(go.PathSegment.Move,pt.x*a,pt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,et.x*a,et.y*E,Ft.x*a,Ft.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,oe.x*a,oe.y*E,re.x*a,re.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,pt.x*a,pt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,Ve.x*a,Ve.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,ue.x*a,ue.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,Ae.x*a,Ae.y*E,Ee.x*a,Ee.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve.x*a,Ve.y*E,Xe.x*a,Xe.y*E,at.x*a,at.y*E).close()),Fe(oe),Fe(re),Fe(ie),Fe(le),Fe(Ae),Fe(Ee),Fe(ue),Fe(Xe),Fe(at),Fe(Ve),Fe(et),Fe(Ft),Fe(pt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var b=new go.Geometry,y=se*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te(),le=new go.PathFigure((z-x)*a,ee*E,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.44,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,re.x*a,re.y*E,ie.x*a,ie.y*E));var Ae=ge(oe.x,oe.y);Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.56,ne,ne,oe,re,ie);var Ee=ge(oe.x,oe.y);le.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*a,Ae.y*.1*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ae.y*.1*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),le.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*E)),le.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*E)),le.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),x=.35,y=se*.35;var ue=new go.PathFigure(z*a,(ee-x)*E,!1);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E));var Xe=new go.PathFigure((z-x)*a,ee*E,!1);return b.add(Xe),Fe(ne),Fe(oe),Fe(re),Fe(ie),Fe(Ae),Fe(Ee),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,a,E){var b=new go.Geometry,y=.375,x=0,z=-.125,ee=y*se,ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+ee+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-ee+z)*E,(.5+ee+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+ee+z)*E,(.5-ee+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,x=0,z=-.125,ee=y*se;var ne=new go.PathFigure((1-.5+y+x)*a,(.5+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+ee+z)*E,(.5+ee+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E,(.5-ee+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+ee+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-ee+z)*E));var ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,a,E){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ve("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ve("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*a,z=(.5-y/2)*E,ee=(.5+y/2)*E,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/E);var re=Oe(0,ee/E,1,ee/E,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),Fe(re),ne}),go.Shape.setFigureParameter("Arrow2",0,new ve("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ve("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var x=a-b,z=(E-y)/2,ee=z+y,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/E);var re=Oe(0,ee/E,1,ee/E,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),Fe(re),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ve("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Oe(0,.5,.3,0,0,y/E,.1,y/E,te());return z.spot1=new go.Spot(ne.x,ne.y),ne=Oe(.7,1,1,.5,0,x/E,1,x/E,ne),z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ve("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ve("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,ee=(E-y)/2,ne=ee+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,ee=0,ne=E):(x=0,z=E,ee=0,ne=E));var oe=new go.Geometry,re=new go.PathFigure(a,.5*E,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=Oe(0,.5,.3,ee/E,0,x/E,1,x/E,te());return oe.spot1=new go.Spot(ie.x,ie.y),ie=Oe(.7,ne/E,1,.5,0,z/E,1,z/E,ie),oe.spot2=new go.Spot(ie.x,ie.y),Fe(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new ve("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ve("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ve("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,ee=(E-y)/2,ne=ee+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,ee=0,ne=E):(x=0,z=E,ee=0,ne=E));var oe=new go.Geometry,re=new go.PathFigure(a,.5*E,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,x/E);var ie=Oe(.7,ne/E,1,.5,0,z/E,1,z/E,te());return oe.spot2=new go.Spot(ie.x,ie.y),Fe(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new ve("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var z=Oe(.2,.65,1,.65,0,1,1,.5,te());return y.spot2=new go.Spot(z.x,z.y),Fe(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ve("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var z=Oe(0,.65,1,.65,0,1,1,.5,te());return y.spot2=new go.Spot(z.x,z.y),Fe(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ve("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ve("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,x=y+b;b>E&&(y=0,x=E);var z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ve("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(0,.9*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var x=new go.PathFigure(0,.9*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(0,b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,se*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-se*b,(.5+x)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,1*E,0,E-se*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ee=new go.PathFigure(a,b,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-se*b,(.5+x)*a,2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-se*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(0,E-b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,se*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-se*b,(.5+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,E,0,E-se*b));var ee=new go.PathFigure(0,E-b,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-se*b,(.5-x)*a,E-2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+x)*a,E-2*b,a,E-b-se*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-se*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,se*b,0));var ee=new go.PathFigure(b,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+se*b,0,2*b,(.5-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+x)*E,b+se*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(a-b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-se*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,se*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ee=new go.PathFigure(a-b,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-se*b,0,a-2*b,(.5-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+x)*E,a-b-se*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.25*a,.25*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var b=new go.Geometry,y=.2,x=.1,z=se*y,ee=se*x,ne=.5,oe=.1,re=new go.PathFigure(ne*a,(oe+x)*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-z)*a,(oe+x)*E,(ne-y)*a,(oe+ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-x)*E,(ne-y)*a,(oe-ee)*E,(ne-z)*a,(oe-x)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+z)*a,(oe-x)*E,(ne+y)*a,(oe-ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+x)*E,(ne+y)*a,(oe+ee)*E,(ne+z)*a,(oe+x)*E));var ie=.05,le=se*ie;ne=.05,oe=.25;var Ae=new go.PathFigure(.5*a,.2*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,oe*E,(ne+le)*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ie=.025,le=se*ie,ne=.825,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ie=.05,le=se*ie,ne=.5,oe=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ie=.025,le=se*ie,ne=.175,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ie=.05,le=se*ie,ne=.05,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E,(ne-le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new ve("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var x=new go.PathFigure(.5*a,.5*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var ee=new go.PathFigure(a,.1*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+x)*E,(.5+y)*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+x)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var ee=new go.PathFigure(a,.1*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=se*.2,z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*E,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+x)*a,0,a,(.2-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+x)*E,(.8+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-x)*a,E,0,(.8+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var ee=new go.PathFigure(0,y*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(.1*a,.4*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var x=new go.PathFigure(a,.5*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(y*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=se*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,a,(ee+z)*E,(ee+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*E,(ee-z)*a,E,0,(ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*E,(ee-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*E,(ee+z)*a,0,a,(ee-z)*E));var oe=new go.PathFigure((x+y)*a,(x+y)*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)),oe.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Line,(x+y)*a,x*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(.5*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*E,a,(x+y)*E,(x+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var x=new go.PathFigure(.2*a,.1*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var ee=new go.PathFigure(.5*y*a,y*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var ee=new go.PathFigure(a,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(0,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var ee=new go.PathFigure(a,x*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var b=new go.Geometry,y=se*.1,x=.1,z=.9,ee=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var oe=new go.PathFigure((z+x)*a,ee*E,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee-x)*E,(z+x)*a,(ee-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.4,z=se*.1,ee=.1,ne=.9,oe=.5,re=new go.PathFigure(.8*a,.5*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+x)*E,(.4+y)*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-x)*E));var ie=new go.PathFigure((ne+ee)*a,oe*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-z)*a,(oe+ee)*E,(ne-ee)*a,(oe+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+z)*a,(oe-ee)*E,(ne+ee)*a,(oe-z)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=0,ee=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(ee-y)*E,.7*a,(ee-x)*E)),y=.1,x=se*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-y)*a,ee*E,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=0,ee=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x+x)*a,(ee-y)*E,.8*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(ee+x)*E,(z+x+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var oe=new go.PathFigure(.8*a,.5*E,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(ee-y)*E,.7*a,(ee-x)*E)),y=.1,x=se*.1,z=.9,ee=.5;var re=new go.PathFigure((z-y)*a,ee*E,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var oe=new go.PathFigure(.2*a,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x)*a,(ee-y)*E,.9*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var b=new go.Geometry,y=se*.1,x=.1,z=.1,ee=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+x)*a,0,(z+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure((z-x)*a,ee*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee-x)*E,(z+x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*E,z*a,(ee-x)*E,z*a,(ee+x)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var b=new go.Geometry,y=a,x=E;a=a*.38,E=E*.6;var z=se*.8,ee=.8,ne=0,oe=.5,re=(y-a)/2,ie=(x-E)/2,le=new go.PathFigure(ne*a+re,(oe+ee)*E+ie,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*E+ie,ne*a+re,(oe-ee)*E+ie,(ne-ee+z*.5)*a+re,(oe-z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne-ee+z*.5)*a+re,(oe+z)*E+ie,ne*a+re,(oe+ee)*E+ie).close()),z=se*.4,ee=.4,ne=.2,oe=.5;var Ae=new go.PathFigure(ne*a+re,(oe+ee)*E+ie,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*E+ie,ne*a+re,(oe-ee)*E+ie,(ne-ee+z*.5)*a+re,(oe-z)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne-ee+z*.5)*a+re,(oe+z)*E+ie,ne*a+re,(oe+ee)*E+ie).close()),z=se*.2,ee=.2,ne=.5,oe=.5;var Ee=new go.PathFigure((ne-ee)*a+re,oe*E+ie,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),z=se*.4,ee=.4,ne=.8,oe=.5;var ue=new go.PathFigure(ne*a+re,(oe-ee)*E+ie,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*E+ie,ne*a+re,(oe+ee)*E+ie,(ne+ee-z*.5)*a+re,(oe+z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne+ee-z*.5)*a+re,(oe-z)*E+ie,ne*a+re,(oe-ee)*E+ie).close()),z=se*.8,ee=.8,ne=1,oe=.5;var Xe=new go.PathFigure(ne*a+re,(oe-ee)*E+ie,!0);return b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*E+ie,ne*a+re,(oe+ee)*E+ie,(ne+ee-z*.5)*a+re,(oe+z)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne+ee-z*.5)*a+re,(oe-z)*E+ie,ne*a+re,(oe-ee)*E+ie).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,E,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var ee=new go.PathFigure(0,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var b=new go.Geometry,y=se*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,ne,ne,oe,re,ie);var le=ge(oe.x,oe.y),Ae=new go.PathFigure(oe.x*a,oe.y*E,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),Ue(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),y=se*.3,x=.3,Ue(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),Ae.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,ie.x*a,ie.y*E,re.x*a,re.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,ne,ne,oe,re,ie),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,ie.x*a,ie.y*E,re.x*a,re.y*E).close());var Ae=new go.PathFigure(.45*a,0,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Fe(ne),Fe(oe),Fe(re),Fe(ie),Fe(le),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function x(z,ee,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+ne)*E).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var b=new go.Geometry,y=.5,x=0,z=0,ee=y*se,ne=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,le=.5,Ae=0,Ee=new go.PathFigure(ne*a,(1-oe)*E,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*E,re*a,.7*E,re*a,ie*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+x)*a,(Ae+x)*E,(.5+y+x)*a,(.5-ee+x)*E,(.5+ee+x)*a,(.5-y+x)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*E,(.5-y+x)*a,(.5+ee+z)*E,(.5-ee+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var x=new go.PathFigure(.45*a,.73*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,ee=.5,ne=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,le=z,Ae=z,Ee=re*le,ue=re*Ae;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-le)*a,ne*E,(ee-(Ee+le)/2)*a,(ne+(Ae+ue)/2)*E,(ee-le)*a,(ne+ue)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-Ae)*E,(ee-le)*a,(ne-ue)*E,(ee-Ee)*a,(ne-Ae)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+le)*a,ne*E,(ee+Ee)*a,(ne-Ae)*E,(ee+le)*a,(ne-ue)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(ee+le)*a,(ne+ue)*E,(ee+(Ee+le)/2)*a,(ne+(Ae+ue)/2)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Xe=new go.PathFigure(.2*a,E,!1);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var at=new go.PathFigure(.8*a,E,!1);return b.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var x=new go.PathFigure(.2*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(.1*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,x*a,x*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var x=new go.PathFigure(.475*a,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=new go.PathFigure(a,y*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+x)*E,(y+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-x)*a,E,0,(y+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-x)*E,(y-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+x)*a,0,a,(y-x)*E));var ee=new go.PathFigure(y*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,.15*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var x=new go.PathFigure(0,.2*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var x=new go.PathFigure(.15*a,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,ee=se*.1,ne=.2,oe=.9,re=new go.PathFigure((ne-z)*a,oe*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*E,(ne+ee)*a,(oe-z)*E,(ne+z)*a,(oe-ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*E,(ne-ee)*a,(oe+z)*E,(ne-z)*a,(oe+ee)*E).close()),z=.1,ee=se*.1,ne=.8,oe=.9;var ie=new go.PathFigure((ne-z)*a,oe*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*E,(ne+ee)*a,(oe-z)*E,(ne+z)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*E,(ne-ee)*a,(oe+z)*E,(ne-z)*a,(oe+ee)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var ee=new go.PathFigure(.5*a,.7*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,oe=se*.1,re=.1,ie=.9,le=new go.PathFigure((re-ne)*a,ie*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*E,(re-ne)*a,(ie-oe)*E,(re-oe)*a,(ie-ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*E,(re+oe)*a,(ie-ne)*E,(re+ne)*a,(ie-oe)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*E,(re+ne)*a,(ie+oe)*E,(re+oe)*a,(ie+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*E,(re-oe)*a,(ie+ne)*E,(re-ne)*a,(ie+oe)*E)),ne=.1,oe=se*.1,re=.4,ie=.9;var Ae=new go.PathFigure((re-ne)*a,ie*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*E,(re-ne)*a,(ie-oe)*E,(re-oe)*a,(ie-ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*E,(re+oe)*a,(ie-ne)*E,(re+ne)*a,(ie-oe)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*E,(re+ne)*a,(ie+oe)*E,(re+oe)*a,(ie+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*E,(re-oe)*a,(ie+ne)*E,(re-ne)*a,(ie+oe)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var x=new go.PathFigure(.45*a,.7*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var re=.05,ie=se*.05,le=.175,Ae=.95,ee=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.375,Ae=.95,ne=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.625,Ae=.95,oe=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.825,Ae=.95,Ee=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E).close());var ue=new go.PathFigure(0,E,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var ee=.05,ne=se*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*E,(oe-ee)*a,(re-ne)*E,(oe-ne)*a,(re-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*E,(oe+ne)*a,(re-ee)*E,(oe+ee)*a,(re-ne)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*E,(oe+ee)*a,(re+ne)*E,(oe+ne)*a,(re+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*E,(oe-ne)*a,(re+ee)*E,(oe-ee)*a,(re+ne)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var b=new go.Geometry,y=.3,x=se*.3,z=.5,ee=.7,ne=new go.PathFigure((z-y)*a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E));var oe=new go.PathFigure(0,.7*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var x=new go.PathFigure(0,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=.5,ee=.5,ne=new go.PathFigure((z-y)*a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E));var oe=new go.PathFigure(.15*a,.5*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=.5,ee=.5,ne=new go.PathFigure((z-y)*a,ee*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E).close()),y=.05,x=se*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-y)*a,ee*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var x=new go.PathFigure(0,E*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var x=new go.PathFigure(.126*a,.85*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var ee=new go.PathFigure(.678*a,.85*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var x=new go.PathFigure(a*.204,E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var ee=new go.PathFigure(a*.612,E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var ee=new go.PathFigure(a*.055,.18*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var b=new go.Geometry,y=8,x=y*se,z=new go.PathFigure(y,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var oe=new go.PathFigure(a*.78,E*.05,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*se,x=E*.8,z=new go.Geometry,ee=new go.PathFigure(b,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-y,a-y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,b,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var x=new go.PathFigure(a*1,E*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var x=new go.PathFigure(a*.1,E*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var b=new go.Geometry,y=15,x=y*se,z=new go.PathFigure(a*.62,E*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.4,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.5,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var x=new go.PathFigure(a*.235,E*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ve={},ot="5.0",ge={},te=null,Fe=!1,Oe=!1,Ue=null,ce=!1,be=null,se=null,Te=0;Te4?parseFloat(Be):5};ve.setHTML5Codebase=function(Be,Ne){se=Be,tn(Be,Ne)},ve.setJavaCodebase=ve.setJavaCodebaseVersion=ve.isCompiledInstalled=ve.setPreCompiledScriptPath=ve.setPreCompiledResourcePath=function(){},ve.setHTML5CodebaseVersion=function(Be,Ne){var _e=parseFloat(Be);if(_e!==NaN&&_e<5){console.log("The GeoGebra HTML5 codebase version "+_e+" is deprecated. Using version latest instead.");return}be=Be,Wt(Be,Ne)},ve.getHTML5CodebaseVersion=function(){return ae},ve.getParameters=function(){return ge},ve.setFontsCSSURL=function(Be){z=Be},ve.setGiacJSURL=function(Be){},ve.setJNLPFile=function(Be){we=Be},ve.setJNLPBaseDir=function(Be){},ve.inject=function(){function Be(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ne="auto",_e=ge.id,mt,ze=!1,Bt=0;Bt=5)return!0;var Be=ve.getAppletObject();return Be&&typeof Be.recalculateEnvironments=="function"?(Be.recalculateEnvironments(),!0):!1},ve.startAnimation=function(){var Be=ve.getAppletObject();return Be&&typeof Be.startAnimation=="function"?(Be.startAnimation(),!0):!1},ve.stopAnimation=function(){var Be=ve.getAppletObject();return Be&&typeof Be.stopAnimation=="function"?(Be.stopAnimation(),!0):!1},ve.getAppletObject=function(){var Be=ge.id!==void 0?ge.id:"ggbApplet";return window[Be]},ve.resize=function(){};var Ee=function(Be,Ne,_e){var mt=document.createElement("param");mt.setAttribute("name",Ne),mt.setAttribute("value",_e),Be.appendChild(mt)},ue=function(Be){return Be&&Be!=="false"},Xe=function(Be,Ne,_e){ne(ae)<=4.2&&(_e=!0);var mt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(mt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ze=document.createElement("div");ze.classList.add("appletParameters","notranslate");var Bt=Ne.width,de=Ne.height;if(Ne.disableAutoScale=Ne.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ne.disableAutoScale,Ne.width!==void 0)if(ne(ae)<=4.4)ue(Ne.showToolBar)&&(Ne.height-=7),ue(Ne.showAlgebraInput)&&(Ne.height-=37),Ne.width<605&&ue(Ne.showToolBar)&&(Ne.width=605,Bt=605);else{var nt=100;(ue(Ne.showToolBar)||ue(Ne.showMenuBar))&&(Ne.hasOwnProperty("customToolBar")&&(Ne.customToolbar=Ne.customToolBar),nt=ue(Ne.showMenuBar)?245:155),Bt=5?(Ne.appletOnLoad=function(Ge){var qe=Be.querySelector(".ggb_preview");qe&&qe.parentNode.removeChild(qe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Ge)},hn||Me.appendChild(Fn)):ze.appendChild(Fn),Me.appendChild(ze),hn||Be.appendChild(Me),setTimeout(function(){ve.resize()},1)}else{var Zt=document.createElement("div");Zt.className="applet_scaler",Zt.style.position="relative",Zt.style.display="block",Zt.appendChild(ze),Be.appendChild(Zt),Ne.appletOnLoad=function(Ge){ve.resize(),jt(Ge)}}function Rt(Ge,qe){qe&&typeof qe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ge,qe.appletOnLoad):renderGGBElement(Ge),bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",qe)}function xt(Ge,qe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ge,params:qe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ct){Rt(Ct.article,Ct.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Ge.className+=" geogebraweb")):Rt(Ge,qe)}if(mt){scriptLoadStarted=!0;for(var Ie=0;Ie0?(Nt.remove(),Me.attr("id","fullscreencontent").show(),jQuery(jt).append(Me),window.dispatchEvent(new Event("resize"))):Xe(Nt,Ne,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else je=mt,Xe(Be,Ne,!1);if(!window.GGBT_wsf_view)for(de=0;deBe/4*3&&(Nt=Be/4*3),jt=Nt/5.8,nt.setAttribute("src",y),nt.setAttribute("width",Nt),nt.setAttribute("height",jt);var Me=(Be-Nt)/2,hn=(Ne-jt)/2;nt.style.left=Me+"px",nt.style.top=hn+"px",ze.appendChild(nt)}}return ze.appendChild(de),ze},wt=function(Be){return Be=Be.toLowerCase(),Be==="html5"||Be==="screenshot"?Be:"html5"},kt=["web","webSimple","web3d","tablet","tablet3d","phone"],Wt=function(Be,Ne){if(ae=Be,Ne){tn(ae,!0);return}var _e=!Fe;if(_e){var mt=ne(ae);!isNaN(mt)&&mt<4.4&&(_e=!1)}var ze,Bt;window.location.protocol.substr(0,4)==="http"?ze=window.location.protocol:ze="http:";var de=ae.indexOf("//");de>0?Bt=ae:de===0?Bt=ze+ae:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var nt in kt)if(ae.slice(kt[nt].length*-1)===kt[nt]||ae.slice((kt[nt].length+1)*-1)===kt[nt]+"/"){tn(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_e&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!ue(ge.showToolBar)&&!ue(ge.showMenuBar)&&!ue(ge.showAlgebraInput)&&!ue(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",tn(Bt,!1)},tn=function(Be,Ne){if(Be.requirejs){We=Be;return}Be.slice(-1)!=="/"&&(Be+="/"),We=Be,Ne===null&&(Ne=Be.indexOf("http")===-1),De=Ne,a="web.nocache.js",E=!1;var _e=We.split("/");_e.length>1&&(!Ne&&_e[_e.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):kt.indexOf(_e[_e.length-2])>=0&&(a=_e[_e.length-2]+".nocache.js")),_e=Be.split("/"),ae=_e[_e.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var mt=parseFloat(ae);mt!==NaN&&mt<5&&Be.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+mt+" is deprecated. Using version latest instead."),Wt("5.0",Ne))},bt=function(Be,Ne){window.console&&window.console.log&&(!Ne||typeof Ne.showLogging=="undefined"||Ne.showLogging&&Ne.showLogging!=="false")&&console.log(Be)};ge.material_id!==void 0?ie(dn):dn();function dn(){var Be=ot;be!==null?Be=be:parseFloat(Be)<5&&(Be="5.0"),Wt(Be,!1),se!==null&&tn(se,De),ce=!0}return ve},GGBAppletUtils=function(){"use strict";function ve(){return window.GGBT_wsf_edit!==void 0}function ot(ce,be){be!=1?(ce.style.transformOrigin="0% 0% 0px",ce.style.webkitTransformOrigin="0% 0% 0px",ce.style.transform="scale("+be+","+be+")",ce.style.webkitTransform="scale("+be+","+be+")",ce.style.maxWidth="initial",ce.querySelector(".ggb_preview")!==null&&(ce.querySelector(".ggb_preview").style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ce.style.transform="none",ce.style.webkitTransform="none")}function ge(ce,be,se,Te,Ce,we){var We=null;if(we!=null&&we!="")for(var De=ce.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+we+" ")>-1){We=De;break}else De=De.parentNode;var je=0,ae=0,a=0,E=0,b=0,y=0,x=0;if(We)je=We.offsetWidth,ae=Math.max(Te?We.offsetWidth:0,We.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(je=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=je):(je=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),ce){var z=ce.getBoundingClientRect();z.left>0&&z.left<=je&&(Ce===void 0||!Ce)&&(document.dir==="rtl"?(b=je-z.width-z.left,y=a<=480?10:30):(y=z.left,b=a<=480?10:30),E=y+b)}if(ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,x=40)}}return ce&&((se===void 0||!se)&&be>0&&be+E1&&(we=!0)),be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(ce.hasOwnProperty("disableAutoScale")&&ce.disableAutoScale))Ce=te(ce,be,we,se,ce.scaleContainerClass);else return Te;return we&&(!ce.hasOwnProperty("scale")||Te===1)?Ce:Math.min(Te,Ce)}function Oe(ce){var be=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Te=ce.getBoundingClientRect(),Ce=(be-Te.width)/2,we=(se-Te.height)/2;we<0&&(we=0),ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce<40?ce.style.left="40px":ce.style.left=Ce+"px",ce.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?ce.style.top="40px":ce.style.top=we+"px",ce.style.left=Ce+"px")}function Ue(ce,be){var se=ce.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(be.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ce)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Te=Fe(be,ce);ve()&&se.setAttribute("data-param-scale",Te);for(var Ce=null,we=0;we=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(ve){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ve){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ve){var ot=c[ve];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ve(ce){var be=ce.lastIndexOf(rb);be==-1&&(be=ce.length);var se=ce.indexOf(sb);se==-1&&(se=ce.length);var Te=ce.lastIndexOf(tb,Math.min(se,be));return Te>=O?ce.substring(O,Te+P):W}function ot(ce){if(!ce.match(/^\w+:\/\//)){var be=o.createElement(ub);be.src=ce+vb,ce=ve(be.src)}return ce}function ge(){var ce=__gwt_getMetaProperty(wb);return ce!=null?ce:W}function te(){for(var ce=o.getElementsByTagName(_),be=O;beO?ce[ce.length-P].href:W}function Oe(){var ce=o.location;return ce.href==ce.protocol+zb+ce.host+ce.pathname+ce.search+ce.hash}var Ue=ge();return Ue==W&&(Ue=te()),Ue==W&&(Ue=Fe()),Ue==W&&Oe()&&(Ue=ve(o.location.href)),Ue=ot(Ue),Ue}function C(ve){return ve.match(/^\//)||ve.match(/^[a-zA-Z]+:\/\//)?ve:webModule.__moduleBase+ve}function D(){var ve=[],ot=O,ge=[],te=[];function Fe(ce){var be=te[ce](),se=ge[ce];if(be in se)return be;var Te=[];for(var Ce in se)Te[se[Ce]]=Ce;throw r&&r(ce,Te,be),null}if(__gwt_isKnownPropertyValue=function(ce,be){return be in ge[ce]},webModule.__getPropMap=function(){var ce={};for(var be in ge)ge.hasOwnProperty(be)&&(ce[be]=Fe(be));return ce},webModule.__computePropValue=Fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ue=Oe.indexOf(Db);Ue!=-1&&(ot=parseInt(Oe.substring(Ue+P),$),Oe=Oe.substring(O,Ue))}catch(ce){}return webModule.__softPermutationId=ot,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ve,ot,ge){"use strict";ge.d(ot,{Ax:function(){return Ue},Ds:function(){return ce},KI:function(){return se},SI:function(){return Oe},f1:function(){return Fe}});var te=ge(3294);function Fe(Te){let Ce=!0;if(Te.length>0){for(let we=0;wehe in ye?le(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,at=(ye,he)=>{for(var Le in he||(he={}))Ee.call(he,Le)&&Xe(ye,Le,he[Le]);if(Ae)for(var Le of Ae(he))ue.call(he,Le)&&Xe(ye,Le,he[Le]);return ye},Ve=(ye,he)=>{var Le={};for(var ut in ye)Ee.call(ye,ut)&&he.indexOf(ut)<0&&(Le[ut]=ye[ut]);if(ye!=null&&Ae)for(var ut of Ae(ye))he.indexOf(ut)<0&&ue.call(ye,ut)&&(Le[ut]=ye[ut]);return Le},Ft=({onFinish:ye,value:he,streamingStatus:Le,cancelIndex:ut,loadImage:ft})=>{const[yt,Gt]=(0,te.useState)(""),[xe,st]=(0,te.useState)(0),[Ht,Bn]=(0,te.useState)(!1),Ye=Mt=>Mt.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),He=()=>{Bn(!0),ye==null||ye()};return(0,te.useEffect)(()=>{const Mt=ft?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[1657],{88010:function(ve,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"}},64790:function(ve,ot,ge){"use strict";var te=ge(59301),Fe=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,be=(Ce,we,We)=>we in Ce?Fe(Ce,we,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ce[we]=We,se=(Ce,we)=>{for(var We in we||(we={}))Ue.call(we,We)&&be(Ce,We,we[We]);if(Oe)for(var We of Oe(we))ce.call(we,We)&&be(Ce,We,we[We]);return Ce};const Te=Ce=>React.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},Ce),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));ot.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},74413:function(){"use strict";function ve(ae,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(ve.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ve.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ve.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ve.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof ve))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[a]=E};var ot=[];function ge(ae,a){var E=ot.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function te(){var ae=ot.pop();return ae===void 0?new go.Point:ae}function Fe(ae){ot.push(ae)}function Oe(ae,a,E,b,y,x,z,ee,ne){ne||(ne=new go.Point);var oe=ae-E,re=y-z,ie=NaN,le=NaN;if(oe===0)if(re===0)ae===E&&(ie=ae,le=a);else{var Ae=(x-ee)/re,Ee=x-Ae*y;ie=ae,le=Ae*ie+Ee}else if(re===0){var ue=(a-b)/oe,Xe=a-ue*ae;ie=y,le=ue*ie+Xe}else{var ue=(a-b)/oe,Ae=(x-ee)/re,Xe=a-ue*ae,Ee=x-Ae*y;ie=(Ee-Xe)/(ue-Ae),le=ue*ie+Xe}return ne.x=ie,ne.y=le,ne}function Ue(ae,a,E,b,y,x,z,ee,ne,oe,re,ie,le,Ae){var Ee=1-ne,ue=ne,Xe=ae*Ee+E*ue,at=a*Ee+b*ue,Ve=E*Ee+y*ue,et=b*Ee+x*ue,Ft=y*Ee+z*ue,pt=x*Ee+ee*ue,wt=Xe*Ee+Ve*ue,kt=at*Ee+et*ue,Wt=Ve*Ee+Ft*ue,tn=et*Ee+pt*ue,bt=wt*Ee+Wt*ue,dn=kt*Ee+tn*ue;oe.x=Xe,oe.y=at,re.x=wt,re.y=kt,ie.x=bt,ie.y=dn,le.x=Wt,le.y=tn,Ae.x=Ft,Ae.y=pt}var ce=new go.Spot(.156,.156),be=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ve("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*se,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){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,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).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(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!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,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=ce,y.spot2=be,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,se*a,0,a,(1-se)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,se*E,(1-se)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,se*E,se*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-se)*a,0,0,(1-se)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){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,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){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,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ve("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ee,ee).close())),x.spot1=ce,x.spot2=be,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new ve("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ve("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var b=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var z=y%360,ee=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var b=se/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,x*E,a,(1-b)*E,(y+b)*a,(x+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,x=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,E)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var x=a/2,z=E/2,ee=Math.atan2(E,a),ne=b-Math.min(Math.cos(ee)*b/2,x),oe=b-Math.min(Math.sin(ee)*b/2,z),y=new go.Geometry,re=new go.PathFigure(ne,0,!0);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Line,x,.2*E)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,E-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),re.add(new go.PathSegment(go.PathSegment.Line,x,.8*E)),re.add(new go.PathSegment(go.PathSegment.Line,ne,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ve("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ve("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,se*a,0,a,(.5-se/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+se/2)*E,se*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var x=.2,z=.3,ee=0,ne=x*se;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z)*a,(.5-ne+ee)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z+.05)*a,(.5-ne+ee-.02)*E)),x=.2,z=0,ee=-.3,ne=x*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z)*a,(.5-ne+ee)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z)*a,(.5-ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),x=.2,z=-.3,ee=0,ne=x*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*E,(1-.5+x+z-.05)*a,(.5-ne+ee-.02)*E,(.5+ne+z)*a,(.5-x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*E,(.5-ne+z)*a,(.5-x+ee)*E,(.5-x+z)*a,(.5-ne+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*E,(.5-x+z)*a,(.5+ne+ee)*E,(.5-ne+z)*a,(.5+x+ee)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+x+ee)*E,(.5+x+z)*a,(.5+ne+ee)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*ee,x*a,x*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,y=new go.PathFigure((z+x)*a,ee*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*ee,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var b=.8535533905932737,y=.5*a,x=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure(z*a,(ee-x)*E);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),x=.4,y=se*.4;var oe=te(),re=te(),ie=te(),le=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.42,oe,re,ie,le,le);var Ae=te(),Ee=te(),ue=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.58,le,le,ue,Ae,Ee);var Xe=te(),at=te(),Ve=te();Ue(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.42,Xe,at,Ve,le,le);var et=te(),Ft=te(),pt=te();return Ue(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.58,le,le,pt,et,Ft),ne.add(new go.PathSegment(go.PathSegment.Move,pt.x*a,pt.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,et.x*a,et.y*E,Ft.x*a,Ft.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,oe.x*a,oe.y*E,re.x*a,re.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,pt.x*a,pt.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,Ve.x*a,Ve.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,ue.x*a,ue.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,Ae.x*a,Ae.y*E,Ee.x*a,Ee.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve.x*a,Ve.y*E,Xe.x*a,Xe.y*E,at.x*a,at.y*E).close()),Fe(oe),Fe(re),Fe(ie),Fe(le),Fe(Ae),Fe(Ee),Fe(ue),Fe(Xe),Fe(at),Fe(Ve),Fe(et),Fe(Ft),Fe(pt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).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*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ve("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var b=new go.Geometry,y=se*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te(),le=new go.PathFigure((z-x)*a,ee*E,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.44,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,re.x*a,re.y*E,ie.x*a,ie.y*E));var Ae=ge(oe.x,oe.y);Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.56,ne,ne,oe,re,ie);var Ee=ge(oe.x,oe.y);le.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*a,Ae.y*.1*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ae.y*.1*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),le.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*E)),le.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*E)),le.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),x=.35,y=se*.35;var ue=new go.PathFigure(z*a,(ee-x)*E,!1);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E));var Xe=new go.PathFigure((z-x)*a,ee*E,!1);return b.add(Xe),Fe(ne),Fe(oe),Fe(re),Fe(ie),Fe(Ae),Fe(Ee),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,a,E){var b=new go.Geometry,y=.375,x=0,z=-.125,ee=y*se,ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+ee+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-ee+z)*E,(.5+ee+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+ee+z)*E,(.5-ee+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,x=0,z=-.125,ee=y*se;var ne=new go.PathFigure((1-.5+y+x)*a,(.5+z)*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+y+z)*E,(.5+y+x)*a,(.5+ee+z)*E,(.5+ee+x)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5+y+z)*E,(.5-y+x)*a,(.5+ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E,(.5-ee+x)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*E,(.5+ee+x)*a,(.5-y+z)*E,(1-.5+y+x)*a,(.5-ee+z)*E));var ne=new go.PathFigure((.525+x)*a,(.5+y+z)*E,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,a,E){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){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,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){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*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ve("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ve("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*a,z=(.5-y/2)*E,ee=(.5+y/2)*E,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/E);var re=Oe(0,ee/E,1,ee/E,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),Fe(re),ne}),go.Shape.setFigureParameter("Arrow2",0,new ve("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ve("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var x=a-b,z=(E-y)/2,ee=z+y,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/E);var re=Oe(0,ee/E,1,ee/E,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),Fe(re),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ve("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Oe(0,.5,.3,0,0,y/E,.1,y/E,te());return z.spot1=new go.Spot(ne.x,ne.y),ne=Oe(.7,1,1,.5,0,x/E,1,x/E,ne),z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ve("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ve("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,ee=(E-y)/2,ne=ee+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,ee=0,ne=E):(x=0,z=E,ee=0,ne=E));var oe=new go.Geometry,re=new go.PathFigure(a,.5*E,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=Oe(0,.5,.3,ee/E,0,x/E,1,x/E,te());return oe.spot1=new go.Spot(ie.x,ie.y),ie=Oe(.7,ne/E,1,.5,0,z/E,1,z/E,ie),oe.spot2=new go.Spot(ie.x,ie.y),Fe(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new ve("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ve("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ve("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var x=(E-b)/2,z=x+b,ee=(E-y)/2,ne=ee+y;(b>E||y>E)&&(y>b?(b=b*E/y,x=(E-b)/2,z=x+b,ee=0,ne=E):(x=0,z=E,ee=0,ne=E));var oe=new go.Geometry,re=new go.PathFigure(a,.5*E,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,x/E);var ie=Oe(.7,ne/E,1,.5,0,z/E,1,z/E,te());return oe.spot2=new go.Spot(ie.x,ie.y),Fe(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new ve("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var z=Oe(.2,.65,1,.65,0,1,1,.5,te());return y.spot2=new go.Spot(z.x,z.y),Fe(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ve("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var z=Oe(0,.65,1,.65,0,1,1,.5,te());return y.spot2=new go.Spot(z.x,z.y),Fe(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ve("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,x=(.5+b/2)*E,z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ve("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,x=y+b;b>E&&(y=0,x=E);var z=new go.Geometry,ee=new go.PathFigure(a,.5*E,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=Oe(.7,1,1,.5,0,x/E,1,x/E,te());return z.spot2=new go.Spot(ne.x,ne.y),Fe(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ve("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(a,.5*E,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(0,.9*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var x=new go.PathFigure(0,.9*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(0,b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,se*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-se*b,(.5+x)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,1*E,0,E-se*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ee=new go.PathFigure(a,b,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-se*b,(.5+x)*a,2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-se*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(0,E-b,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,se*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-se*b,(.5+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-x)*a,E,0,E-se*b));var ee=new go.PathFigure(0,E-b,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-se*b,(.5-x)*a,E-2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+x)*a,E-2*b,a,E-b-se*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-se*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,se*b,0));var ee=new go.PathFigure(b,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+se*b,0,2*b,(.5-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+x)*E,b+se*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=se*.5,z=new go.PathFigure(a-b,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*b,0,a,(.5-x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+x)*E,a-se*b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*b,E,0,(.5+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*E,se*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ee=new go.PathFigure(a-b,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-se*b,0,a-2*b,(.5-x)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+x)*E,a-b-se*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.25*a,.25*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var b=new go.Geometry,y=.2,x=.1,z=se*y,ee=se*x,ne=.5,oe=.1,re=new go.PathFigure(ne*a,(oe+x)*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,oe*E,(ne-z)*a,(oe+x)*E,(ne-y)*a,(oe+ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-x)*E,(ne-y)*a,(oe-ee)*E,(ne-z)*a,(oe-x)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,oe*E,(ne+z)*a,(oe-x)*E,(ne+y)*a,(oe-ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+x)*E,(ne+y)*a,(oe+ee)*E,(ne+z)*a,(oe+x)*E));var ie=.05,le=se*ie;ne=.05,oe=.25;var Ae=new go.PathFigure(.5*a,.2*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,oe*E,(ne+le)*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ie=.025,le=se*ie,ne=.825,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ie=.05,le=se*ie,ne=.5,oe=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ie=.025,le=se*ie,ne=.175,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne+ie)*a,(oe-le)*E,(ne+le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*E,(ne-le)*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ie=.05,le=se*ie,ne=.05,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*E,(ne-ie)*a,(oe-le)*E,(ne-le)*a,(oe-ie)*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new ve("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var x=new go.PathFigure(.5*a,.5*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var ee=new go.PathFigure(a,.1*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+x)*E,(.5+y)*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+x)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.1,z=new go.PathFigure(a,.1*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+x)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-x)*E));var ee=new go.PathFigure(a,.1*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+x)*E,(.5+y)*a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+x)*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+x)*E,(.5+y)*a,.3*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+x)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=se*.2,z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*E,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+x)*a,0,a,(.2-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+x)*E,(.8+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-x)*a,E,0,(.8+x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var ee=new go.PathFigure(0,y*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(.1*a,.4*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var x=new go.PathFigure(a,.5*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ee=new go.PathFigure(y*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=se*.5,ee=.5,ne=new go.PathFigure(a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,E,a,(ee+z)*E,(ee+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*E,(ee-z)*a,E,0,(ee+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*E,(ee-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*E,(ee+z)*a,0,a,(ee-z)*E));var oe=new go.PathFigure((x+y)*a,(x+y)*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)),oe.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Line,(x+y)*a,x*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(.5*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*E,a,(x+y)*E,(x+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var x=new go.PathFigure(.2*a,.1*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var ee=new go.PathFigure(.5*y*a,y*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var ee=new go.PathFigure(a,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var x=new go.PathFigure(0,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var b=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=new go.PathFigure(a,x*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,E,a,(x+y)*E,(x+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*E,(x-y)*a,E,0,(x+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*E,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*E,(x+y)*a,0,a,(x-y)*E));var ee=new go.PathFigure(a,x*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var b=new go.Geometry,y=se*.1,x=.1,z=.9,ee=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var oe=new go.PathFigure((z+x)*a,ee*E,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee-x)*E,(z+x)*a,(ee-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=se*.4,z=se*.1,ee=.1,ne=.9,oe=.5,re=new go.PathFigure(.8*a,.5*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+x)*E,(.4+y)*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-x)*E));var ie=new go.PathFigure((ne+ee)*a,oe*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*E,(ne-z)*a,(oe+ee)*E,(ne-ee)*a,(oe+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*E,(ne+z)*a,(oe-ee)*E,(ne+ee)*a,(oe-z)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=0,ee=.5,ne=new go.PathFigure(.8*a,.5*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(ee-y)*E,.7*a,(ee-x)*E)),y=.1,x=se*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-y)*a,ee*E,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=0,ee=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x+x)*a,(ee-y)*E,.8*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(ee+x)*E,(z+x+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var oe=new go.PathFigure(.8*a,.5*E,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+x)*a,(ee-y)*E,.7*a,(ee-x)*E)),y=.1,x=se*.1,z=.9,ee=.5;var re=new go.PathFigure((z-y)*a,ee*E,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*y,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var oe=new go.PathFigure(.2*a,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+x)*a,(ee-y)*E,.9*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var b=new go.Geometry,y=se*.1,x=.1,z=.1,ee=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+x)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,E,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+x)*a,0,(z+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var b=new go.Geometry,y=se*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure((z-x)*a,ee*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*E,(z-x)*a,(ee-y)*E,(z-y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee-x)*E,(z+x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*E,z*a,(ee-x)*E,z*a,(ee+x)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var b=new go.Geometry,y=a,x=E;a=a*.38,E=E*.6;var z=se*.8,ee=.8,ne=0,oe=.5,re=(y-a)/2,ie=(x-E)/2,le=new go.PathFigure(ne*a+re,(oe+ee)*E+ie,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*E+ie,ne*a+re,(oe-ee)*E+ie,(ne-ee+z*.5)*a+re,(oe-z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne-ee+z*.5)*a+re,(oe+z)*E+ie,ne*a+re,(oe+ee)*E+ie).close()),z=se*.4,ee=.4,ne=.2,oe=.5;var Ae=new go.PathFigure(ne*a+re,(oe+ee)*E+ie,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*E+ie,ne*a+re,(oe-ee)*E+ie,(ne-ee+z*.5)*a+re,(oe-z)*E+ie)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne-ee+z*.5)*a+re,(oe+z)*E+ie,ne*a+re,(oe+ee)*E+ie).close()),z=se*.2,ee=.2,ne=.5,oe=.5;var Ee=new go.PathFigure((ne-ee)*a+re,oe*E+ie,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne-ee)*a+re,(oe-z)*E+ie,(ne-z)*a+re,(oe-ee)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*E+ie,(ne-z)*a+re,(oe+ee)*E+ie,(ne-ee)*a+re,(oe+z)*E+ie)),z=se*.4,ee=.4,ne=.8,oe=.5;var ue=new go.PathFigure(ne*a+re,(oe-ee)*E+ie,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*E+ie,ne*a+re,(oe+ee)*E+ie,(ne+ee-z*.5)*a+re,(oe+z)*E+ie)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne+ee-z*.5)*a+re,(oe-z)*E+ie,ne*a+re,(oe-ee)*E+ie).close()),z=se*.8,ee=.8,ne=1,oe=.5;var Xe=new go.PathFigure(ne*a+re,(oe-ee)*E+ie,!0);return b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*E+ie,(ne+z)*a+re,(oe-ee)*E+ie,(ne+ee)*a+re,(oe-z)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*E+ie,(ne+ee)*a+re,(oe+z)*E+ie,(ne+z)*a+re,(oe+ee)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*E+ie,ne*a+re,(oe+ee)*E+ie,(ne+ee-z*.5)*a+re,(oe+z)*E+ie)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*E+ie,(ne+ee-z*.5)*a+re,(oe-z)*E+ie,ne*a+re,(oe-ee)*E+ie).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Move,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,E,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var ee=new go.PathFigure(0,.5*E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var b=new go.Geometry,y=se*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te();Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,ne,ne,oe,re,ie);var le=ge(oe.x,oe.y),Ae=new go.PathFigure(oe.x*a,oe.y*E,!0);b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z+x)*a,(ee+y)*E,(z+y)*a,(ee+x)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,(z-y)*a,(ee+x)*E,(z-x)*a,(ee+y)*E)),Ue(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,re.x*a,re.y*E,ie.x*a,ie.y*E)),y=se*.3,x=.3,Ue(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),Ae.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*E,ie.x*a,ie.y*E,re.x*a,re.y*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),Ue(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,ne,ne,oe,re,ie),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*E,ie.x*a,ie.y*E,re.x*a,re.y*E).close());var Ae=new go.PathFigure(.45*a,0,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Fe(ne),Fe(oe),Fe(re),Fe(ie),Fe(le),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function x(z,ee,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+ne)*E).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var b=new go.Geometry,y=.5,x=0,z=0,ee=y*se,ne=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,le=.5,Ae=0,Ee=new go.PathFigure(ne*a,(1-oe)*E,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*E,re*a,.7*E,re*a,ie*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+x)*a,(Ae+x)*E,(.5+y+x)*a,(.5-ee+x)*E,(.5+ee+x)*a,(.5-y+x)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*E,(.5-ee+x)*a,(.5-y+z)*E,(.5-y+x)*a,(.5-ee+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*E,(.5-y+x)*a,(.5+ee+z)*E,(.5-ee+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*E)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var x=new go.PathFigure(.45*a,.73*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,ee=.5,ne=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,le=z,Ae=z,Ee=re*le,ue=re*Ae;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-le)*a,ne*E,(ee-(Ee+le)/2)*a,(ne+(Ae+ue)/2)*E,(ee-le)*a,(ne+ue)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-Ae)*E,(ee-le)*a,(ne-ue)*E,(ee-Ee)*a,(ne-Ae)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+le)*a,ne*E,(ee+Ee)*a,(ne-Ae)*E,(ee+le)*a,(ne-ue)*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(ee+le)*a,(ne+ue)*E,(ee+(Ee+le)/2)*a,(ne+(Ae+ue)/2)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Xe=new go.PathFigure(.2*a,E,!1);b.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var at=new go.PathFigure(.8*a,E,!1);return b.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var x=new go.PathFigure(.2*a,.2*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(a,E,!1);b.add(x);var z=new go.PathFigure(.1*a,E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,x*a,x*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var x=new go.PathFigure(.475*a,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=new go.PathFigure(a,y*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+x)*E,(y+x)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-x)*a,E,0,(y+x)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-x)*E,(y-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+x)*a,0,a,(y-x)*E));var ee=new go.PathFigure(y*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var x=new go.PathFigure(0,.15*E,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var x=new go.PathFigure(0,.2*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var x=new go.PathFigure(.15*a,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,ee=se*.1,ne=.2,oe=.9,re=new go.PathFigure((ne-z)*a,oe*E,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*E,(ne+ee)*a,(oe-z)*E,(ne+z)*a,(oe-ee)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*E,(ne-ee)*a,(oe+z)*E,(ne-z)*a,(oe+ee)*E).close()),z=.1,ee=se*.1,ne=.8,oe=.9;var ie=new go.PathFigure((ne-z)*a,oe*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*E,(ne-z)*a,(oe-ee)*E,(ne-ee)*a,(oe-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*E,(ne+ee)*a,(oe-z)*E,(ne+z)*a,(oe-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*E,(ne+z)*a,(oe+ee)*E,(ne+ee)*a,(oe+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*E,(ne-ee)*a,(oe+z)*E,(ne-z)*a,(oe+ee)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var ee=new go.PathFigure(.5*a,.7*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,oe=se*.1,re=.1,ie=.9,le=new go.PathFigure((re-ne)*a,ie*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*E,(re-ne)*a,(ie-oe)*E,(re-oe)*a,(ie-ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*E,(re+oe)*a,(ie-ne)*E,(re+ne)*a,(ie-oe)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*E,(re+ne)*a,(ie+oe)*E,(re+oe)*a,(ie+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*E,(re-oe)*a,(ie+ne)*E,(re-ne)*a,(ie+oe)*E)),ne=.1,oe=se*.1,re=.4,ie=.9;var Ae=new go.PathFigure((re-ne)*a,ie*E,!0);return b.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*E,(re-ne)*a,(ie-oe)*E,(re-oe)*a,(ie-ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*E,(re+oe)*a,(ie-ne)*E,(re+ne)*a,(ie-oe)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*E,(re+ne)*a,(ie+oe)*E,(re+oe)*a,(ie+ne)*E)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*E,(re-oe)*a,(ie+ne)*E,(re-ne)*a,(ie+oe)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var x=new go.PathFigure(.45*a,.7*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var re=.05,ie=se*.05,le=.175,Ae=.95,ee=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.375,Ae=.95,ne=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.625,Ae=.95,oe=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E));var re=.05,ie=se*.05,le=.825,Ae=.95,Ee=new go.PathFigure((le-re)*a,Ae*E,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae-re)*E,(le-re)*a,(Ae-ie)*E,(le-ie)*a,(Ae-re)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,Ae*E,(le+ie)*a,(Ae-re)*E,(le+re)*a,(Ae-ie)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(Ae+re)*E,(le+re)*a,(Ae+ie)*E,(le+ie)*a,(Ae+re)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,Ae*E,(le-ie)*a,(Ae+re)*E,(le-re)*a,(Ae+ie)*E).close());var ue=new go.PathFigure(0,E,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var ee=.05,ne=se*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*E,(oe-ee)*a,(re-ne)*E,(oe-ne)*a,(re-ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*E,(oe+ne)*a,(re-ee)*E,(oe+ee)*a,(re-ne)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*E,(oe+ee)*a,(re+ne)*E,(oe+ne)*a,(re+ee)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*E,(oe-ne)*a,(re+ee)*E,(oe-ee)*a,(re+ne)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var b=new go.Geometry,y=.3,x=se*.3,z=.5,ee=.7,ne=new go.PathFigure((z-y)*a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E));var oe=new go.PathFigure(0,.7*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var x=new go.PathFigure(0,.6*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=.5,ee=.5,ne=new go.PathFigure((z-y)*a,ee*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E));var oe=new go.PathFigure(.15*a,.5*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var b=new go.Geometry,y=.5,x=se*.5,z=.5,ee=.5,ne=new go.PathFigure((z-y)*a,ee*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E).close()),y=.05,x=se*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-y)*a,ee*E,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*E,(z-y)*a,(ee-x)*E,(z-x)*a,(ee-y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*E,(z+x)*a,(ee-y)*E,(z+y)*a,(ee-x)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*E,(z+y)*a,(ee+x)*E,(z+x)*a,(ee+y)*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*E,(z-x)*a,(ee+y)*E,(z-y)*a,(ee+x)*E).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var x=new go.PathFigure(.2*a,.5*E,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var x=new go.PathFigure(0,E*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var x=new go.PathFigure(.126*a,.85*E,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var ee=new go.PathFigure(.678*a,.85*E,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var x=new go.PathFigure(a*.204,E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var ee=new go.PathFigure(a*.612,E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*E,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var ee=new go.PathFigure(a*.055,.18*E,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var b=new go.Geometry,y=8,x=y*se,z=new go.PathFigure(y,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var oe=new go.PathFigure(a*.78,E*.05,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*se,x=E*.8,z=new go.Geometry,ee=new go.PathFigure(b,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-y,a-y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,b,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var x=new go.PathFigure(a*1,E*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){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,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var x=new go.PathFigure(a*.1,E*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var b=new go.Geometry,y=15,x=y*se,z=new go.PathFigure(a*.62,E*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-x,a-x,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,x,E,0,E-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.4,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-x)).close());var z=new go.PathFigure(a*.5,E*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var x=new go.PathFigure(a*.235,E*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ve={},ot="5.0",ge={},te=null,Fe=!1,Oe=!1,Ue=null,ce=!1,be=null,se=null,Te=0;Te4?parseFloat(Be):5};ve.setHTML5Codebase=function(Be,Ne){se=Be,tn(Be,Ne)},ve.setJavaCodebase=ve.setJavaCodebaseVersion=ve.isCompiledInstalled=ve.setPreCompiledScriptPath=ve.setPreCompiledResourcePath=function(){},ve.setHTML5CodebaseVersion=function(Be,Ne){var _e=parseFloat(Be);if(_e!==NaN&&_e<5){console.log("The GeoGebra HTML5 codebase version "+_e+" is deprecated. Using version latest instead.");return}be=Be,Wt(Be,Ne)},ve.getHTML5CodebaseVersion=function(){return ae},ve.getParameters=function(){return ge},ve.setFontsCSSURL=function(Be){z=Be},ve.setGiacJSURL=function(Be){},ve.setJNLPFile=function(Be){we=Be},ve.setJNLPBaseDir=function(Be){},ve.inject=function(){function Be(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ne="auto",_e=ge.id,mt,ze=!1,Bt=0;Bt=5)return!0;var Be=ve.getAppletObject();return Be&&typeof Be.recalculateEnvironments=="function"?(Be.recalculateEnvironments(),!0):!1},ve.startAnimation=function(){var Be=ve.getAppletObject();return Be&&typeof Be.startAnimation=="function"?(Be.startAnimation(),!0):!1},ve.stopAnimation=function(){var Be=ve.getAppletObject();return Be&&typeof Be.stopAnimation=="function"?(Be.stopAnimation(),!0):!1},ve.getAppletObject=function(){var Be=ge.id!==void 0?ge.id:"ggbApplet";return window[Be]},ve.resize=function(){};var Ee=function(Be,Ne,_e){var mt=document.createElement("param");mt.setAttribute("name",Ne),mt.setAttribute("value",_e),Be.appendChild(mt)},ue=function(Be){return Be&&Be!=="false"},Xe=function(Be,Ne,_e){ne(ae)<=4.2&&(_e=!0);var mt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(mt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ze=document.createElement("div");ze.classList.add("appletParameters","notranslate");var Bt=Ne.width,de=Ne.height;if(Ne.disableAutoScale=Ne.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ne.disableAutoScale,Ne.width!==void 0)if(ne(ae)<=4.4)ue(Ne.showToolBar)&&(Ne.height-=7),ue(Ne.showAlgebraInput)&&(Ne.height-=37),Ne.width<605&&ue(Ne.showToolBar)&&(Ne.width=605,Bt=605);else{var nt=100;(ue(Ne.showToolBar)||ue(Ne.showMenuBar))&&(Ne.hasOwnProperty("customToolBar")&&(Ne.customToolbar=Ne.customToolBar),nt=ue(Ne.showMenuBar)?245:155),Bt=5?(Ne.appletOnLoad=function(Ge){var qe=Be.querySelector(".ggb_preview");qe&&qe.parentNode.removeChild(qe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Ge)},hn||Me.appendChild(Fn)):ze.appendChild(Fn),Me.appendChild(ze),hn||Be.appendChild(Me),setTimeout(function(){ve.resize()},1)}else{var Zt=document.createElement("div");Zt.className="applet_scaler",Zt.style.position="relative",Zt.style.display="block",Zt.appendChild(ze),Be.appendChild(Zt),Ne.appletOnLoad=function(Ge){ve.resize(),jt(Ge)}}function Rt(Ge,qe){qe&&typeof qe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ge,qe.appletOnLoad):renderGGBElement(Ge),bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",qe)}function xt(Ge,qe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ge,params:qe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ct){Rt(Ct.article,Ct.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Ge.className+=" geogebraweb")):Rt(Ge,qe)}if(mt){scriptLoadStarted=!0;for(var Ie=0;Ie0?(Nt.remove(),Me.attr("id","fullscreencontent").show(),jQuery(jt).append(Me),window.dispatchEvent(new Event("resize"))):Xe(Nt,Ne,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else je=mt,Xe(Be,Ne,!1);if(!window.GGBT_wsf_view)for(de=0;deBe/4*3&&(Nt=Be/4*3),jt=Nt/5.8,nt.setAttribute("src",y),nt.setAttribute("width",Nt),nt.setAttribute("height",jt);var Me=(Be-Nt)/2,hn=(Ne-jt)/2;nt.style.left=Me+"px",nt.style.top=hn+"px",ze.appendChild(nt)}}return ze.appendChild(de),ze},wt=function(Be){return Be=Be.toLowerCase(),Be==="html5"||Be==="screenshot"?Be:"html5"},kt=["web","webSimple","web3d","tablet","tablet3d","phone"],Wt=function(Be,Ne){if(ae=Be,Ne){tn(ae,!0);return}var _e=!Fe;if(_e){var mt=ne(ae);!isNaN(mt)&&mt<4.4&&(_e=!1)}var ze,Bt;window.location.protocol.substr(0,4)==="http"?ze=window.location.protocol:ze="http:";var de=ae.indexOf("//");de>0?Bt=ae:de===0?Bt=ze+ae:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var nt in kt)if(ae.slice(kt[nt].length*-1)===kt[nt]||ae.slice((kt[nt].length+1)*-1)===kt[nt]+"/"){tn(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_e&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!ue(ge.showToolBar)&&!ue(ge.showMenuBar)&&!ue(ge.showAlgebraInput)&&!ue(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",tn(Bt,!1)},tn=function(Be,Ne){if(Be.requirejs){We=Be;return}Be.slice(-1)!=="/"&&(Be+="/"),We=Be,Ne===null&&(Ne=Be.indexOf("http")===-1),De=Ne,a="web.nocache.js",E=!1;var _e=We.split("/");_e.length>1&&(!Ne&&_e[_e.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):kt.indexOf(_e[_e.length-2])>=0&&(a=_e[_e.length-2]+".nocache.js")),_e=Be.split("/"),ae=_e[_e.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var mt=parseFloat(ae);mt!==NaN&&mt<5&&Be.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+mt+" is deprecated. Using version latest instead."),Wt("5.0",Ne))},bt=function(Be,Ne){window.console&&window.console.log&&(!Ne||typeof Ne.showLogging=="undefined"||Ne.showLogging&&Ne.showLogging!=="false")&&console.log(Be)};ge.material_id!==void 0?ie(dn):dn();function dn(){var Be=ot;be!==null?Be=be:parseFloat(Be)<5&&(Be="5.0"),Wt(Be,!1),se!==null&&tn(se,De),ce=!0}return ve},GGBAppletUtils=function(){"use strict";function ve(){return window.GGBT_wsf_edit!==void 0}function ot(ce,be){be!=1?(ce.style.transformOrigin="0% 0% 0px",ce.style.webkitTransformOrigin="0% 0% 0px",ce.style.transform="scale("+be+","+be+")",ce.style.webkitTransform="scale("+be+","+be+")",ce.style.maxWidth="initial",ce.querySelector(".ggb_preview")!==null&&(ce.querySelector(".ggb_preview").style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ce.style.transform="none",ce.style.webkitTransform="none")}function ge(ce,be,se,Te,Ce,we){var We=null;if(we!=null&&we!="")for(var De=ce.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+we+" ")>-1){We=De;break}else De=De.parentNode;var je=0,ae=0,a=0,E=0,b=0,y=0,x=0;if(We)je=We.offsetWidth,ae=Math.max(Te?We.offsetWidth:0,We.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(je=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=je):(je=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),ce){var z=ce.getBoundingClientRect();z.left>0&&z.left<=je&&(Ce===void 0||!Ce)&&(document.dir==="rtl"?(b=je-z.width-z.left,y=a<=480?10:30):(y=z.left,b=a<=480?10:30),E=y+b)}if(ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,x=40)}}return ce&&((se===void 0||!se)&&be>0&&be+E1&&(we=!0)),be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(ce.hasOwnProperty("disableAutoScale")&&ce.disableAutoScale))Ce=te(ce,be,we,se,ce.scaleContainerClass);else return Te;return we&&(!ce.hasOwnProperty("scale")||Te===1)?Ce:Math.min(Te,Ce)}function Oe(ce){var be=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Te=ce.getBoundingClientRect(),Ce=(be-Te.width)/2,we=(se-Te.height)/2;we<0&&(we=0),ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce<40?ce.style.left="40px":ce.style.left=Ce+"px",ce.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?ce.style.top="40px":ce.style.top=we+"px",ce.style.left=Ce+"px")}function Ue(ce,be){var se=ce.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(be.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ce)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Te=Fe(be,ce);ve()&&se.setAttribute("data-param-scale",Te);for(var Ce=null,we=0;we=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(ve){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ve){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ve){var ot=c[ve];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ve(ce){var be=ce.lastIndexOf(rb);be==-1&&(be=ce.length);var se=ce.indexOf(sb);se==-1&&(se=ce.length);var Te=ce.lastIndexOf(tb,Math.min(se,be));return Te>=O?ce.substring(O,Te+P):W}function ot(ce){if(!ce.match(/^\w+:\/\//)){var be=o.createElement(ub);be.src=ce+vb,ce=ve(be.src)}return ce}function ge(){var ce=__gwt_getMetaProperty(wb);return ce!=null?ce:W}function te(){for(var ce=o.getElementsByTagName(_),be=O;beO?ce[ce.length-P].href:W}function Oe(){var ce=o.location;return ce.href==ce.protocol+zb+ce.host+ce.pathname+ce.search+ce.hash}var Ue=ge();return Ue==W&&(Ue=te()),Ue==W&&(Ue=Fe()),Ue==W&&Oe()&&(Ue=ve(o.location.href)),Ue=ot(Ue),Ue}function C(ve){return ve.match(/^\//)||ve.match(/^[a-zA-Z]+:\/\//)?ve:webModule.__moduleBase+ve}function D(){var ve=[],ot=O,ge=[],te=[];function Fe(ce){var be=te[ce](),se=ge[ce];if(be in se)return be;var Te=[];for(var Ce in se)Te[se[Ce]]=Ce;throw r&&r(ce,Te,be),null}if(__gwt_isKnownPropertyValue=function(ce,be){return be in ge[ce]},webModule.__getPropMap=function(){var ce={};for(var be in ge)ge.hasOwnProperty(be)&&(ce[be]=Fe(be));return ce},webModule.__computePropValue=Fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ue=Oe.indexOf(Db);Ue!=-1&&(ot=parseInt(Oe.substring(Ue+P),$),Oe=Oe.substring(O,Ue))}catch(ce){}return webModule.__softPermutationId=ot,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ve,ot,ge){"use strict";ge.d(ot,{Ax:function(){return Ue},Ds:function(){return ce},KI:function(){return se},SI:function(){return Oe},f1:function(){return Fe}});var te=ge(3294);function Fe(Te){let Ce=!0;if(Te.length>0){for(let we=0;wehe in ye?le(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,at=(ye,he)=>{for(var Le in he||(he={}))Ee.call(he,Le)&&Xe(ye,Le,he[Le]);if(Ae)for(var Le of Ae(he))ue.call(he,Le)&&Xe(ye,Le,he[Le]);return ye},Ve=(ye,he)=>{var Le={};for(var ut in ye)Ee.call(ye,ut)&&he.indexOf(ut)<0&&(Le[ut]=ye[ut]);if(ye!=null&&Ae)for(var ut of Ae(ye))he.indexOf(ut)<0&&ue.call(ye,ut)&&(Le[ut]=ye[ut]);return Le},Ft=({onFinish:ye,value:he,streamingStatus:Le,cancelIndex:ut,loadImage:ft})=>{const[yt,Gt]=(0,te.useState)(""),[xe,st]=(0,te.useState)(0),[Ht,Bn]=(0,te.useState)(!1),Ye=Mt=>Mt.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),He=()=>{Bn(!0),ye==null||ye()};return(0,te.useEffect)(()=>{const Mt=ft?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${he}`:he,zt=Ye(Mt);if(!Ht)if(ft||!Le||ut>0){Gt(zt),st(zt.length),(!Le||ut>0)&&!ft&&He();return}else if(xe{Gt(zt.slice(0,xe+2)),st(Xt=>Xt+2)},gn>10?Math.max(500/(gn/2),20):50);return()=>clearInterval(on)}else Le||He()},[he,Le,ut,ft,xe]),(0,te.useMemo)(()=>ie.createElement("div",{className:`${z.answer} fadeIn animated`},ie.createElement(a.UG,{remarkPlugins:[oe.Z],rehypePlugins:[ne.Z,b.Z],components:{code(Mt){var zt=Mt,{node:gn,inline:on,className:Xt,children:ct}=zt,It=Ve(zt,["node","inline","className","children"]);const $t=/language-(\w+)/.exec(Xt||"");return on||!$t?ie.createElement("code",at({className:Xt},It),ct):ie.createElement("div",{className:z.codeCopy},ie.createElement(x.CopyToClipboard,{text:String(ct).trim(),onCopy:()=>Fe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ie.createElement("button",null,"\u590D\u5236")),ie.createElement(E.Z,at({style:y.Z,language:$t[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},It),String(ct).trim()))},img({node:Mt}){var zt;return ie.createElement(ee.Z,{src:(zt=Mt.properties)==null?void 0:zt.src,width:320,onLoad:()=>ft&&setTimeout(()=>He(),500)})}}},Le&&xenew Promise((ut,ft)=>{var yt=st=>{try{xe(Le.next(st))}catch(Ht){ft(Ht)}},Gt=st=>{try{xe(Le.throw(st))}catch(Ht){ft(Ht)}},xe=st=>st.done?ut(st.value):Promise.resolve(st.value).then(yt,Gt);xe((Le=Le.apply(ye,he)).next())}),tn=({value:ye="",streamingStatus:he,onFinish:Le,cancelIndex:ut,time:ft,loading:yt,loadAll:Gt})=>{const[xe,st]=(0,te.useState)(""),[Ht,Bn]=(0,te.useState)(!0),Ye=(0,te.useRef)(ye),He=(0,te.useRef)(he),Qt=(0,te.useRef)(0),Mt=(0,te.useRef)(null),[zt,gn]=(0,te.useState)(!1),on=70;(0,te.useEffect)(()=>{He.current=he},[he]),(0,te.useEffect)(()=>{Ye.current=ye},[ye]),(0,te.useEffect)(()=>{if(!he){st(Ye.current);return}return gn(!0),Mt.current=setInterval(Xt,on),()=>{clearInterval(Mt.current)}},[]),(0,te.useEffect)(()=>{zt&&(st(Ye.current),clearInterval(Mt.current),gn(!1),Le())},[ut]);const Xt=()=>kt(void 0,null,function*(){const ct=Ye.current[Qt.current];ct!==void 0?(st(It=>It+ct),Qt.current++,clearInterval(Mt.current),Mt.current=setInterval(Xt,280/(Ye.current.length-Qt.current))):He.current===!1&&(st(Ye.current),clearInterval(Mt.current),gn(!1),Le())});return wt.createElement("div",{className:`${pt.reasoning} fadeIn animated`},wt.createElement("div",{className:pt.btn,onClick:()=>Bn(!Ht)},wt.createElement("i",{className:"iconfont icon-shendusikao"}),ft?wt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",ft," \u79D2\uFF09"):wt.createElement("span",null,"\u601D\u8003\u4E2D..."),Ht?wt.createElement("b",{className:"iconfont icon-shouqi6"}):wt.createElement("b",{className:"iconfont icon-zhankai6"})),yt&&wt.createElement(Te.Z,{spinning:!0,className:"mt20"}),Ht&&!yt&&wt.createElement("div",{className:pt.content},xe,zt?wt.createElement("span",{className:"aiBlink"},"__"):""))},bt={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},dn=ge(81327),Be=Object.defineProperty,Ne=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,ze=(ye,he,Le)=>he in ye?Be(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,Bt=(ye,he)=>{for(var Le in he||(he={}))_e.call(he,Le)&&ze(ye,Le,he[Le]);if(Ne)for(var Le of Ne(he))mt.call(he,Le)&&ze(ye,Le,he[Le]);return ye};const de=ye=>React.createElement("svg",Bt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},ye),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 nt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Nt=Object.defineProperty,jt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Fn=(ye,he,Le)=>he in ye?Nt(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,Zt=(ye,he)=>{for(var Le in he||(he={}))Me.call(he,Le)&&Fn(ye,Le,he[Le]);if(jt)for(var Le of jt(he))hn.call(he,Le)&&Fn(ye,Le,he[Le]);return ye};const Rt=ye=>React.createElement("svg",Zt({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},ye),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 xt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44Nj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YwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ie=ge(59301),Je=({value:ye,onChange:he})=>{const[Le,ut]=(0,te.useState)(!1),ft=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:nt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:xt}],yt=ft.find(Gt=>Gt.key===ye);return Ie.createElement("div",{className:bt.select},Ie.createElement(dn.Z,{size:10},Ie.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ie.createElement("div",{className:bt.box,onMouseLeave:()=>ut(!1)},Ie.createElement("div",{className:bt.text,onClick:()=>ut(!0)},Ie.createElement("img",{src:yt.img,width:20}),Ie.createElement("span",null,yt.name),Ie.createElement("b",{className:"iconfont icon-zhankai6"})),Le&&Ie.createElement("div",{className:bt.itemWrap},Ie.createElement("aside",null,ft.map(Gt=>Ie.createElement("div",{key:Gt.key,className:`${bt.item} ${Gt.key===ye?bt.active:""}`,onClick:xe=>{xe.stopPropagation(),he(Gt.key),ut(!1)}},Ie.createElement("img",{src:Gt.img,width:20}),Ie.createElement("span",null,Gt.name))))))))},fe={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},Ze=ge(99064),Ge=ge(955),qe={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},Qe=({src:ye,onClick:he,topPercentage:Le=.62,draggableExtraNode:ut})=>{const ft=(0,te.useRef)(null),yt=(0,te.useRef)(!1),Gt=(0,te.useRef)(!1),[xe,st]=(0,te.useState)(window.innerHeight*Le),[Ht,Bn]=(0,te.useState)(!1),Ye=10;return(0,te.useEffect)(()=>{if(ft.current){let He=function(on){var Xt;yt.current=!0,gn=on.pageY,zt=on.pageY-(((Xt=ft.current)==null?void 0:Xt.getBoundingClientRect().top)||0),(0,Ge.kk)("none"),document.onselectstart=function(){return!1}},Qt=function(){yt.current&&!Gt.current&&he&&he(),yt.current=!1,Gt.current=!1,(0,Ge.kk)("auto"),document.onselectstart=null},Mt=function(on){var Xt;if(yt.current){const It=on.pageY-zt,$t=window.innerHeight-(((Xt=ft.current)==null?void 0:Xt.offsetHeight)||0)-50,Re=50;if(!Gt.current&&Math.abs(gn-on.pageY)>Ye&&(Gt.current=!0),Gt.current){let bn=Math.max(Re,Math.min(It,$t));st(bn)}}},zt=0,gn=0;return ft.current.addEventListener("mousedown",He),document.addEventListener("mousemove",Mt),document.addEventListener("mouseup",Qt),()=>{var on,Xt;(Xt=(on=ft==null?void 0:ft.current)==null?void 0:on.removeEventListener)==null||Xt.call(on,"mousedown",He),document.removeEventListener("mousemove",Mt),document.removeEventListener("mouseup",Qt)}}},[he]),(0,te.useEffect)(()=>{const He=()=>{st(window.innerHeight*Le)};return window.addEventListener("resize",He),()=>{window.removeEventListener("resize",He)}},[Le]),te.createElement("div",{className:qe.draggableImage,style:{top:`${xe}px`,display:Ht?"none":"block",cursor:yt.current?"grabbing":"grab"},ref:ft},ut,te.createElement("img",{className:qe.img,src:ye,width:60,draggable:"false"}),te.createElement("i",{className:`iconfont icon-tupianguanbi ${qe.close}`,onMouseUp:He=>{He.stopPropagation(),Bn(!0)}}))},Ke="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/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uT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T7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Jt=ge(3294),nn=ge(86204),Dt=ge(85149),Yt=Object.defineProperty,Lt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,sn=(ye,he,Le)=>he in ye?Yt(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,mn=(ye,he)=>{for(var Le in he||(he={}))En.call(he,Le)&&sn(ye,Le,he[Le]);if(Nn)for(var Le of Nn(he))xn.call(he,Le)&&sn(ye,Le,he[Le]);return ye},_t=(ye,he)=>Lt(ye,Tt(he)),fn=(ye,he,Le)=>sn(ye,typeof he!="symbol"?he+"":he,Le),Gn=(ye,he,Le)=>new Promise((ut,ft)=>{var yt=st=>{try{xe(Le.next(st))}catch(Ht){ft(Ht)}},Gt=st=>{try{xe(Le.throw(st))}catch(Ht){ft(Ht)}},xe=st=>st.done?ut(st.value):Promise.resolve(st.value).then(yt,Gt);xe((Le=Le.apply(ye,he)).next())});class wn extends nn.EventEmitter{constructor(he,Le){super(),fn(this,"url"),fn(this,"body"),fn(this,"fullContent",""),fn(this,"controller",null),this.url=he,this.body=Le}startStream(){return Gn(this,null,function*(){this.controller=new AbortController;const{signal:he}=this.controller;try{const Le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:he});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const ut=Le.headers.get("content-type");if(!ut||!ut.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ft=Le.body.getReader(),yt=new TextDecoder("utf-8");for(;;){const{done:Gt,value:xe}=yield ft.read();if(Gt)break;const Ht=yt.decode(xe,{stream:!0}).split(` `);for(const Bn of Ht)if(Bn.startsWith("data:")){let Ye=(0,Dt.z)(Bn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(Ye==="[DONE]")break;try{const He=JSON.parse(Ye);He.data&&this.handleData(_t(mn({},He.data),{content:He.data.content.replace(/\\\\/g,"\\")}))}catch(He){console.error("\u89E3\u6790 JSON \u5931\u8D25:",He)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(he){he.content&&(this.fullContent+=he.content,this.emit("data",{chunk:he,full:this.fullContent}))}cancelRequest(){var he;(he=this.controller)==null||he.abort()}}var vt=wn,gt=ge(58617),an=ge(32050),pn=Object.defineProperty,Pn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptors,Jn=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,ln=(ye,he,Le)=>he in ye?pn(ye,he,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ye[he]=Le,Hn=(ye,he)=>{for(var Le in he||(he={}))ea.call(he,Le)&&ln(ye,Le,he[Le]);if(Jn)for(var Le of Jn(he))oa.call(he,Le)&&ln(ye,Le,he[Le]);return ye},me=(ye,he)=>Pn(ye,Rn(he)),Se=(ye,he,Le)=>new Promise((ut,ft)=>{var yt=st=>{try{xe(Le.next(st))}catch(Ht){ft(Ht)}},Gt=st=>{try{xe(Le.throw(st))}catch(Ht){ft(Ht)}},xe=st=>st.done?ut(st.value):Promise.resolve(st.value).then(yt,Gt);xe((Le=Le.apply(ye,he)).next())}),tt=({title:ye="\u5934\u6B4CAI",placeholder:he,hideUpload:Le,hideInputBox:ut,aiIcon:ft=Ke,userIcon:yt=$e,dragIcon:Gt=Vt,children:xe,fetchUrl:st,fetchData:Ht={},extraAnswerAction:Bn,showDefaultTips:Ye=!0,onOpen:He,onClose:Qt,loadingOption:Mt,showPreference:zt=!1,initMessage:gn,customRequest:on,visible:Xt,width:ct=1200,isCheckRestrictNumber:It=!1,headNode:$t,headFunctionNode:Re,showRedraw:bn,showEdit:Dn,promptPropName:qt="prompt",topPercentage:Ut,showSwitchingModel:ke=!1,showImageGenerator:rt=!1,showLookHistory:Et=!1,fetchListObject:it,customPreference:rn,customDataNode:vn,showAddSession:kn,historyId:On,draggableExtraNode:Wn,drawerExtraNode:ba,menuExtraFunctionNode:ga,showSceneAwareness:xa=!1})=>{var Ea;const[ta,fa]=(0,te.useState)(!1),[Yn,pa]=(0,te.useState)("qwen-max"),[Kn,Aa]=(0,te.useState)([]),[da,qn]=(0,te.useState)(!1),[Da,Vn]=(0,te.useState)(!1),[Ua,$n]=(0,te.useState)(!1),[Cn,zn]=(0,te.useState)([]),[na,Xa]=(0,te.useState)(""),[Ka,to]=(0,te.useState)(0),[Ba,Ma]=(0,te.useState)(!1),[Ca,Pt]=(0,te.useState)(null),[dt,St]=(0,te.useState)(""),At=(0,te.useRef)(),en=(0,te.useRef)(null),un=(0,te.useRef)(null),[Ln,In]=(0,te.useState)(!1),[Qn,Mn]=(0,te.useState)(!1),[Un,Tn]=(0,te.useState)(!1),[ra,sa]=(0,te.useState)(!1),[ma,Ia]=(0,te.useState)(0),Zn=(0,te.useRef)(null),la=(0,te.useRef)(!1),yn=(0,te.useRef)(null),[ia,Na]=(0,te.useState)(void 0),[Ra,Wa]=(0,te.useState)(!0),[wa,_n]=(0,te.useState)(ct-28),[ua,ka]=(0,te.useState)(!1),[ja,no]=(0,te.useState)(!0),[Va,fo]=(0,te.useState)([]),La=(0,te.useRef)([]),Za=(0,te.useRef)(!1),za=wa-22,Pa=na==null?void 0:na.split(` diff --git a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.2a5ad62b.async.js b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.66ad5454.async.js similarity index 99% rename from p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.2a5ad62b.async.js rename to p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.66ad5454.async.js index 9fa84ca4e9..02cbd8ef89 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.2a5ad62b.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.66ad5454.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[4498],{88010:function(ye,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function ye(ae,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(ye.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ye.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ye.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ye.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var y=go.Shape._FigureParameters[ae];return y?y[a]:null},go.Shape.setFigureParameter=function(ae,a,y){if(!(y instanceof ye))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 b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[a]=y};var dt=[];function ge(ae,a){var y=dt.pop();return y===void 0?new go.Point(ae,a):(y.x=ae,y.y=a,y)}function te(){var ae=dt.pop();return ae===void 0?new go.Point:ae}function be(ae){dt.push(ae)}function Oe(ae,a,y,b,E,x,z,ee,ne){ne||(ne=new go.Point);var oe=ae-y,re=E-z,ie=NaN,se=NaN;if(oe===0)if(re===0)ae===y&&(ie=ae,se=a);else{var le=(x-ee)/re,ve=x-le*E;ie=ae,se=le*ie+ve}else if(re===0){var xe=(a-b)/oe,rt=a-xe*ae;ie=E,se=xe*ie+rt}else{var xe=(a-b)/oe,le=(x-ee)/re,rt=a-xe*ae,ve=x-le*E;ie=(ve-rt)/(xe-le),se=xe*ie+rt}return ne.x=ie,ne.y=se,ne}function Ne(ae,a,y,b,E,x,z,ee,ne,oe,re,ie,se,le){var ve=1-ne,xe=ne,rt=ae*ve+y*xe,Et=a*ve+b*xe,ft=y*ve+E*xe,At=b*ve+x*xe,Ot=E*ve+z*xe,Nt=x*ve+ee*xe,Ft=rt*ve+ft*xe,De=Et*ve+At*xe,et=ft*ve+Ot*xe,Lt=At*ve+Nt*xe,qe=Ft*ve+et*xe,mt=De*ve+Lt*xe;oe.x=rt,oe.y=Et,re.x=Ft,re.y=De,ie.x=qe,ie.y=mt,se.x=et,se.y=Lt,le.x=Ot,le.y=Nt}var he=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ye("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ue,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*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(ae,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=he,E.spot2=ze,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ue*a,0,a,(1-ue)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ue*y,(1-ue)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ue*y,ue*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ue)*a,0,0,(1-ue)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,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(ae,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(ae,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(ae,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 ye("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ee,ee).close())),x.spot1=he,x.spot2=ze,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ae,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(ae,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new ye("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ye("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,y){var b=ae?ae.parameter1:NaN,E=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,y){var b=ue/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ye("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ye("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ye("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,y){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,z=y/2,ee=Math.atan2(y,a),ne=b-Math.min(Math.cos(ee)*b/2,x),oe=b-Math.min(Math.sin(ee)*b/2,z),E=new go.Geometry,re=new go.PathFigure(ne,0,!0);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,ne,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ye("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ye("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ye("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ue*a,0,a,(.5-ue/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ue/2)*y,ue*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,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(ae,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(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,z=.3,ee=0,ne=x*ue;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-ne+ee)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z+.05)*a,(.5-ne+ee-.02)*y)),x=.2,z=0,ee=-.3,ne=x*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-ne+ee)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),x=.2,z=-.3,ee=0,ne=x*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z-.05)*a,(.5-ne+ee-.02)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,E=new go.PathFigure((z+x)*a,ee*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure(z*a,(ee-x)*y);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),x=.4,E=ue*.4;var oe=te(),re=te(),ie=te(),se=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.42,oe,re,ie,se,se);var le=te(),ve=te(),xe=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.58,se,se,xe,le,ve);var rt=te(),Et=te(),ft=te();Ne(z,ee+x,z-E,ee+x,z-x,ee+E,z-x,ee,.42,rt,Et,ft,se,se);var At=te(),Ot=te(),Nt=te();return Ne(z,ee+x,z-E,ee+x,z-x,ee+E,z-x,ee,.58,se,se,Nt,At,Ot),ne.add(new go.PathSegment(go.PathSegment.Move,Nt.x*a,Nt.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,At.x*a,At.y*y,Ot.x*a,Ot.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),ne.add(new go.PathSegment(go.PathSegment.Line,Nt.x*a,Nt.y*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,ft.x*a,ft.y*y)),ne.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,le.x*a,le.y*y,ve.x*a,ve.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ft.x*a,ft.y*y,rt.x*a,rt.y*y,Et.x*a,Et.y*y).close()),be(oe),be(re),be(ie),be(se),be(le),be(ve),be(xe),be(rt),be(Et),be(ft),be(At),be(Ot),be(Nt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,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 ye("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.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,E,.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(ae,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(ae,a,y){var b=new go.Geometry,E=ue*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te(),se=new go.PathFigure((z-x)*a,ee*y,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.44,re,ie,oe,ne,ne),se.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y));var le=ge(oe.x,oe.y);Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.56,ne,ne,oe,re,ie);var ve=ge(oe.x,oe.y);se.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.95*.9)*a,le.y*.1*y)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,le.y*.1*y)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*y)),se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*y)),se.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),x=.35,E=ue*.35;var xe=new go.PathFigure(z*a,(ee-x)*y,!1);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y));var rt=new go.PathFigure((z-x)*a,ee*y,!1);return b.add(rt),be(ne),be(oe),be(re),be(ie),be(le),be(ve),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,a,y){var b=new go.Geometry,E=.375,x=0,z=-.125,ee=E*ue,ne=new go.PathFigure((.525+x)*a,(.5+E+z)*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5+E+z)*y,(.5+E+x)*a,(.5+ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+z)*y,(1-.5+E+x)*a,(.5-ee+z)*y,(.5+ee+x)*a,(.5-E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+z)*y,(.5-E+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,(.5+E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,z=-.125,ee=E*ue;var ne=new go.PathFigure((1-.5+E+x)*a,(.5+z)*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+z)*y,(.5+E+x)*a,(.5+ee+z)*y,(.5+ee+x)*a,(.5+E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5+E+z)*y,(.5-E+x)*a,(.5+ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y,(.5-ee+x)*a,(.5-E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5-E+z)*y,(1-.5+E+x)*a,(.5-ee+z)*y));var ne=new go.PathFigure((.525+x)*a,(.5+E+z)*y,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,a,y){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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(ae,a,y){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,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(ae,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(ae,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(ae,a,y){var b=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 b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ye("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ye("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,z=(.5-E/2)*y,ee=(.5+E/2)*y,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/y);var re=Oe(0,ee/y,1,ee/y,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),be(re),ne}),go.Shape.setFigureParameter("Arrow2",0,new ye("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ye("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,z=(y-E)/2,ee=z+E,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/y);var re=Oe(0,ee/y,1,ee/y,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),be(re),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ye("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Oe(0,.5,.3,0,0,E/y,.1,E/y,te());return z.spot1=new go.Spot(ne.x,ne.y),ne=Oe(.7,1,1,.5,0,x/y,1,x/y,ne),z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ye("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ye("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,z=x+b,ee=(y-E)/2,ne=ee+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,z=x+b,ee=0,ne=y):(x=0,z=y,ee=0,ne=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=Oe(0,.5,.3,ee/y,0,x/y,1,x/y,te());return oe.spot1=new go.Spot(ie.x,ie.y),ie=Oe(.7,ne/y,1,.5,0,z/y,1,z/y,ie),oe.spot2=new go.Spot(ie.x,ie.y),be(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new ye("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*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,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,E/y);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ye("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ye("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,z=x+b,ee=(y-E)/2,ne=ee+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,z=x+b,ee=0,ne=y):(x=0,z=y,ee=0,ne=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,x/y);var ie=Oe(.7,ne/y,1,.5,0,z/y,1,z/y,te());return oe.spot2=new go.Spot(ie.x,ie.y),be(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new ye("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=Oe(.2,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(z.x,z.y),be(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ye("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var z=Oe(0,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(z.x,z.y),be(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ye("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ye("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,E/y);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ye("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(0,.9*y,!0);return b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ue*b,(.5+x)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ee=new go.PathFigure(a,b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ue*b,(.5+x)*a,2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ue*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(0,y-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ue*b,(.5+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ue*b));var ee=new go.PathFigure(0,y-b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ue*b,(.5-x)*a,y-2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ue*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*b,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ue*b,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*b,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ue*b,0));var ee=new go.PathFigure(b,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ue*b,0,2*b,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ue*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(a-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*b,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ue*b,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*b,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ue*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ee=new go.PathFigure(a-b,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ue*b,0,a-2*b,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ue*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,a,y){var b=new go.Geometry,E=.2,x=.1,z=ue*E,ee=ue*x,ne=.5,oe=.1,re=new go.PathFigure(ne*a,(oe+x)*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*a,oe*y,(ne-z)*a,(oe+x)*y,(ne-E)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-x)*y,(ne-E)*a,(oe-ee)*y,(ne-z)*a,(oe-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*a,oe*y,(ne+z)*a,(oe-x)*y,(ne+E)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+x)*y,(ne+E)*a,(oe+ee)*y,(ne+z)*a,(oe+x)*y));var ie=.05,se=ue*ie;ne=.05,oe=.25;var le=new go.PathFigure(.5*a,.2*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ne=.95,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,oe*y,(ne+se)*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ie=.025,se=ue*ie,ne=.825,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ie=.05,se=ue*ie,ne=.5,oe=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ie=.025,se=ue*ie,ne=.175,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ie=.05,se=ue*ie,ne=.05,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y,(ne-se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new ye("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,E*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(a,.1*y,!0);b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*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-x)*y,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(a,.1*y,!0);b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*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-x)*y,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ue*.2,z=new go.PathFigure(0,.2*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*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+x)*a,0,a,(.2-x)*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+x)*y,(.8+x)*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-x)*a,y,0,(.8+x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,E*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.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 ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=ue*.5,ee=.5,ne=new go.PathFigure(a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var oe=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),oe.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(.5*a,y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*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)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.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 ee=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(a,x*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-E)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(a,x*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ee=new go.PathFigure(a,x*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var ne=new go.PathFigure(.8*a,.75*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,y){var b=new go.Geometry,E=ue*.1,x=.1,z=.9,ee=.5,ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var oe=new go.PathFigure((z+x)*a,ee*y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee-x)*y,(z+x)*a,(ee-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.4,z=ue*.1,ee=.1,ne=.9,oe=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var ie=new go.PathFigure((ne+ee)*a,oe*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*y,(ne-z)*a,(oe+ee)*y,(ne-ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*y,(ne+z)*a,(oe-ee)*y,(ne+ee)*a,(oe-z)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=0,ee=.5,ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-E)*y,.7*a,(ee-x)*y)),E=.1,x=ue*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-E)*a,ee*y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=0,ee=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x+x)*a,(ee-E)*y,.8*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+x)*y,(z+x+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-E)*y,.7*a,(ee-x)*y)),E=.1,x=ue*.1,z=.9,ee=.5;var re=new go.PathFigure((z-E)*a,ee*y,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.2*a,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x)*a,(ee-E)*y,.9*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,y){var b=new go.Geometry,E=ue*.1,x=.1,z=.1,ee=.5,ne=new go.PathFigure((z-E*.5)*a,y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*a,y,(z+x)*a,0,(z+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure((z-x)*a,ee*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee-x)*y,(z+x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*y,z*a,(ee-x)*y,z*a,(ee+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var z=ue*.8,ee=.8,ne=0,oe=.5,re=(E-a)/2,ie=(x-y)/2,se=new go.PathFigure(ne*a+re,(oe+ee)*y+ie,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*y+ie,ne*a+re,(oe-ee)*y+ie,(ne-ee+z*.5)*a+re,(oe-z)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne-ee+z*.5)*a+re,(oe+z)*y+ie,ne*a+re,(oe+ee)*y+ie).close()),z=ue*.4,ee=.4,ne=.2,oe=.5;var le=new go.PathFigure(ne*a+re,(oe+ee)*y+ie,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*y+ie,ne*a+re,(oe-ee)*y+ie,(ne-ee+z*.5)*a+re,(oe-z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne-ee+z*.5)*a+re,(oe+z)*y+ie,ne*a+re,(oe+ee)*y+ie).close()),z=ue*.2,ee=.2,ne=.5,oe=.5;var ve=new go.PathFigure((ne-ee)*a+re,oe*y+ie,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),z=ue*.4,ee=.4,ne=.8,oe=.5;var xe=new go.PathFigure(ne*a+re,(oe-ee)*y+ie,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*y+ie,ne*a+re,(oe+ee)*y+ie,(ne+ee-z*.5)*a+re,(oe+z)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne+ee-z*.5)*a+re,(oe-z)*y+ie,ne*a+re,(oe-ee)*y+ie).close()),z=ue*.8,ee=.8,ne=1,oe=.5;var rt=new go.PathFigure(ne*a+re,(oe-ee)*y+ie,!0);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*y+ie,ne*a+re,(oe+ee)*y+ie,(ne+ee-z*.5)*a+re,(oe+z)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne+ee-z*.5)*a+re,(oe-z)*y+ie,ne*a+re,(oe-ee)*y+ie).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);b.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 ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(ae,a,y){var b=new go.Geometry,E=ue*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.5,ne,ne,oe,re,ie);var se=ge(oe.x,oe.y),le=new go.PathFigure(oe.x*a,oe.y*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),Ne(z-x,ee,z-x,ee-E,z-E,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),E=ue*.3,x=.3,Ne(z-x,ee,z-x,ee-E,z-E,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,ie.x*a,ie.y*y,re.x*a,re.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.5,ne,ne,oe,re,ie),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,ie.x*a,ie.y*y,re.x*a,re.y*y).close());var le=new go.PathFigure(.45*a,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),be(ne),be(oe),be(re),be(ie),be(se),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(z,ee,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+ne)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,y){var b=new go.Geometry,E=.5,x=0,z=0,ee=E*ue,ne=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,se=.5,le=0,ve=new go.PathFigure(ne*a,(1-oe)*y,!1);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*y,re*a,.7*y,re*a,ie*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+x)*a,(le+x)*y,(.5+E+x)*a,(.5-ee+x)*y,(.5+ee+x)*a,(.5-E+x)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var z=new go.PathFigure(0,.5*y,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,ne=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,se=z,le=z,ve=re*se,xe=re*le;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-se)*a,ne*y,(ee-(ve+se)/2)*a,(ne+(le+xe)/2)*y,(ee-se)*a,(ne+xe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-le)*y,(ee-se)*a,(ne-xe)*y,(ee-ve)*a,(ne-le)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+se)*a,ne*y,(ee+ve)*a,(ne-le)*y,(ee+se)*a,(ne-xe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+se)*a,(ne+xe)*y,(ee+(ve+se)/2)*a,(ne+(le+xe)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var rt=new go.PathFigure(.2*a,y,!1);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Et=new go.PathFigure(.8*a,y,!1);return b.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var z=new go.PathFigure(.1*a,y,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=new go.PathFigure(a,E*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=ue*.1,ne=.2,oe=.9,re=new go.PathFigure((ne-z)*a,oe*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*y,(ne+ee)*a,(oe-z)*y,(ne+z)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*y,(ne-ee)*a,(oe+z)*y,(ne-z)*a,(oe+ee)*y).close()),z=.1,ee=ue*.1,ne=.8,oe=.9;var ie=new go.PathFigure((ne-z)*a,oe*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*y,(ne+ee)*a,(oe-z)*y,(ne+z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*y,(ne-ee)*a,(oe+z)*y,(ne-z)*a,(oe+ee)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);b.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 ee=new go.PathFigure(.5*a,.7*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ne=.1,oe=ue*.1,re=.1,ie=.9,se=new go.PathFigure((re-ne)*a,ie*y,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*y,(re-ne)*a,(ie-oe)*y,(re-oe)*a,(ie-ne)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*y,(re+oe)*a,(ie-ne)*y,(re+ne)*a,(ie-oe)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*y,(re+ne)*a,(ie+oe)*y,(re+oe)*a,(ie+ne)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*y,(re-oe)*a,(ie+ne)*y,(re-ne)*a,(ie+oe)*y)),ne=.1,oe=ue*.1,re=.4,ie=.9;var le=new go.PathFigure((re-ne)*a,ie*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*y,(re-ne)*a,(ie-oe)*y,(re-oe)*a,(ie-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*y,(re+oe)*a,(ie-ne)*y,(re+ne)*a,(ie-oe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*y,(re+ne)*a,(ie+oe)*y,(re+oe)*a,(ie+ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*y,(re-oe)*a,(ie+ne)*y,(re-ne)*a,(ie+oe)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);b.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 re=.05,ie=ue*.05,se=.175,le=.95,ee=new go.PathFigure((se-re)*a,le*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.375,le=.95,ne=new go.PathFigure((se-re)*a,le*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.625,le=.95,oe=new go.PathFigure((se-re)*a,le*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.825,le=.95,ve=new go.PathFigure((se-re)*a,le*y,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y).close());var xe=new go.PathFigure(0,y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);b.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 ee=.05,ne=ue*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*y,(oe-ee)*a,(re-ne)*y,(oe-ne)*a,(re-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*y,(oe+ne)*a,(re-ee)*y,(oe+ee)*a,(re-ne)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*y,(oe+ee)*a,(re+ne)*y,(oe+ne)*a,(re+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*y,(oe-ne)*a,(re+ee)*y,(oe-ee)*a,(re+ne)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,a,y){var b=new go.Geometry,E=.3,x=ue*.3,z=.5,ee=.7,ne=new go.PathFigure((z-E)*a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y));var oe=new go.PathFigure(0,.7*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=.5,ee=.5,ne=new go.PathFigure((z-E)*a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y));var oe=new go.PathFigure(.15*a,.5*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=.5,ee=.5,ne=new go.PathFigure((z-E)*a,ee*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y).close()),E=.05,x=ue*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-E)*a,ee*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);b.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 ee=new go.PathFigure(.678*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ne=new go.PathFigure(.5*a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);b.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 ee=new go.PathFigure(a*.612,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ne=new go.PathFigure(a*.816,y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);b.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 ee=new go.PathFigure(a*.055,.18*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);b.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 ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,y){var b=new go.Geometry,E=8,x=E*ue,z=new go.PathFigure(E,0,!1);b.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-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ne=new go.PathFigure(a*.83,y*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var oe=new go.PathFigure(a*.78,y*.05,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ue,x=y*.8,z=new go.Geometry,ee=new go.PathFigure(b,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,b,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,y){var b=new go.Geometry,E=15,x=E*ue,z=new go.PathFigure(a*.62,y*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),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()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.4,y*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.5,y*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ye={},dt="5.0",ge={},te=null,be=!1,Oe=!1,Ne=null,he=!1,ze=null,ue=null,Ye=0;Ye4?parseFloat(fe):5};ye.setHTML5Codebase=function(fe,Le){ue=fe,Lt(fe,Le)},ye.setJavaCodebase=ye.setJavaCodebaseVersion=ye.isCompiledInstalled=ye.setPreCompiledScriptPath=ye.setPreCompiledResourcePath=function(){},ye.setHTML5CodebaseVersion=function(fe,Le){var We=parseFloat(fe);if(We!==NaN&&We<5){console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead.");return}ze=fe,et(fe,Le)},ye.getHTML5CodebaseVersion=function(){return ae},ye.getParameters=function(){return ge},ye.setFontsCSSURL=function(fe){z=fe},ye.setGiacJSURL=function(fe){},ye.setJNLPFile=function(fe){Fe=fe},ye.setJNLPBaseDir=function(fe){},ye.inject=function(){function fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Le="auto",We=ge.id,it,je=!1,st=0;st=5)return!0;var fe=ye.getAppletObject();return fe&&typeof fe.recalculateEnvironments=="function"?(fe.recalculateEnvironments(),!0):!1},ye.startAnimation=function(){var fe=ye.getAppletObject();return fe&&typeof fe.startAnimation=="function"?(fe.startAnimation(),!0):!1},ye.stopAnimation=function(){var fe=ye.getAppletObject();return fe&&typeof fe.stopAnimation=="function"?(fe.stopAnimation(),!0):!1},ye.getAppletObject=function(){var fe=ge.id!==void 0?ge.id:"ggbApplet";return window[fe]},ye.resize=function(){};var ve=function(fe,Le,We){var it=document.createElement("param");it.setAttribute("name",Le),it.setAttribute("value",We),fe.appendChild(it)},xe=function(fe){return fe&&fe!=="false"},rt=function(fe,Le,We){ne(ae)<=4.2&&(We=!0);var it=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(it=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var je=document.createElement("div");je.classList.add("appletParameters","notranslate");var st=Le.width,de=Le.height;if(Le.disableAutoScale=Le.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Le.disableAutoScale,Le.width!==void 0)if(ne(ae)<=4.4)xe(Le.showToolBar)&&(Le.height-=7),xe(Le.showAlgebraInput)&&(Le.height-=37),Le.width<605&&xe(Le.showToolBar)&&(Le.width=605,st=605);else{var Ee=100;(xe(Le.showToolBar)||xe(Le.showMenuBar))&&(Le.hasOwnProperty("customToolBar")&&(Le.customToolbar=Le.customToolBar),Ee=xe(Le.showMenuBar)?245:155),st=5?(Le.appletOnLoad=function(Re){var Je=fe.querySelector(".ggb_preview");Je&&Je.parentNode.removeChild(Je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(at),window.GGBT_wsf_view&&$(window).trigger("resize"),Ke(Re)},Dt||at.appendChild(kt)):je.appendChild(kt),at.appendChild(je),Dt||fe.appendChild(at),setTimeout(function(){ye.resize()},1)}else{var Ct=document.createElement("div");Ct.className="applet_scaler",Ct.style.position="relative",Ct.style.display="block",Ct.appendChild(je),fe.appendChild(Ct),Le.appletOnLoad=function(Re){ye.resize(),Ke(Re)}}function Ht(Re,Je){Je&&typeof Je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Re,Je.appletOnLoad):renderGGBElement(Re),qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Je)}function Yt(Re,Je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Re,params:Je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Xe){Ht(Xe.article,Xe.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Re.className+=" geogebraweb")):Ht(Re,Je)}if(it){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Qe.remove(),at.attr("id","fullscreencontent").show(),jQuery(Ke).append(at),window.dispatchEvent(new Event("resize"))):rt(Qe,Le,!1),window.GGBT_wsf_view.launchFullScreen(Ke)}else He=it,rt(fe,Le,!1);if(!window.GGBT_wsf_view)for(de=0;defe/4*3&&(Qe=fe/4*3),Ke=Qe/5.8,Ee.setAttribute("src",E),Ee.setAttribute("width",Qe),Ee.setAttribute("height",Ke);var at=(fe-Qe)/2,Dt=(Le-Ke)/2;Ee.style.left=at+"px",Ee.style.top=Dt+"px",je.appendChild(Ee)}}return je.appendChild(de),je},Ft=function(fe){return fe=fe.toLowerCase(),fe==="html5"||fe==="screenshot"?fe:"html5"},De=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(fe,Le){if(ae=fe,Le){Lt(ae,!0);return}var We=!be;if(We){var it=ne(ae);!isNaN(it)&&it<4.4&&(We=!1)}var je,st;window.location.protocol.substr(0,4)==="http"?je=window.location.protocol:je="http:";var de=ae.indexOf("//");de>0?st=ae:de===0?st=je+ae:st="https://www.geogebra.org/apps/5.2.814.0/";for(var Ee in De)if(ae.slice(De[Ee].length*-1)===De[Ee]||ae.slice((De[Ee].length+1)*-1)===De[Ee]+"/"){Lt(st,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&We&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!xe(ge.showToolBar)&&!xe(ge.showMenuBar)&&!xe(ge.showAlgebraInput)&&!xe(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?st+="webSimple/":st+="web3d/",Lt(st,!1)},Lt=function(fe,Le){if(fe.requirejs){nt=fe;return}fe.slice(-1)!=="/"&&(fe+="/"),nt=fe,Le===null&&(Le=fe.indexOf("http")===-1),ke=Le,a="web.nocache.js",y=!1;var We=nt.split("/");We.length>1&&(!Le&&We[We.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):De.indexOf(We[We.length-2])>=0&&(a=We[We.length-2]+".nocache.js")),We=fe.split("/"),ae=We[We.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var it=parseFloat(ae);it!==NaN&&it<5&&fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead."),et("5.0",Le))},qe=function(fe,Le){window.console&&window.console.log&&(!Le||typeof Le.showLogging=="undefined"||Le.showLogging&&Le.showLogging!=="false")&&console.log(fe)};ge.material_id!==void 0?ie(mt):mt();function mt(){var fe=dt;ze!==null?fe=ze:parseFloat(fe)<5&&(fe="5.0"),et(fe,!1),ue!==null&&Lt(ue,ke),he=!0}return ye},GGBAppletUtils=function(){"use strict";function ye(){return window.GGBT_wsf_edit!==void 0}function dt(he,ze){ze!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ze+","+ze+")",he.style.webkitTransform="scale("+ze+","+ze+")",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 ge(he,ze,ue,Ye,Me,Fe){var nt=null;if(Fe!=null&&Fe!="")for(var ke=he.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+Fe+" ")>-1){nt=ke;break}else ke=ke.parentNode;var He=0,ae=0,a=0,y=0,b=0,E=0,x=0;if(nt)He=nt.offsetWidth,ae=Math.max(Ye?nt.offsetWidth:0,nt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(He=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=He):(He=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=He&&(Me===void 0||!Me)&&(document.dir==="rtl"?(b=He-z.width-z.left,E=a<=480?10:30):(E=z.left,b=a<=480?10:30),y=E+b)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return he&&((ue===void 0||!ue)&&ze>0&&ze+y1&&(Fe=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Fe=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))Me=te(he,ze,Fe,ue,he.scaleContainerClass);else return Ye;return Fe&&(!he.hasOwnProperty("scale")||Ye===1)?Me:Math.min(Ye,Me)}function Oe(he){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=he.getBoundingClientRect(),Me=(ze-Ye.width)/2,Fe=(ue-Ye.height)/2;Fe<0&&(Fe=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?he.style.left="40px":he.style.left=Me+"px",he.style.top=Fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Fe<40?he.style.top="40px":he.style.top=Fe+"px",he.style.left=Me+"px")}function Ne(he,ze){var ue=he.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Ye=be(ze,he);ye()&&ue.setAttribute("data-param-scale",Ye);for(var Me=null,Fe=0;Fe=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(ye){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ye){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ye){var dt=c[ye];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function ye(he){var ze=he.lastIndexOf(rb);ze==-1&&(ze=he.length);var ue=he.indexOf(sb);ue==-1&&(ue=he.length);var Ye=he.lastIndexOf(tb,Math.min(ue,ze));return Ye>=O?he.substring(O,Ye+P):W}function dt(he){if(!he.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=he+vb,he=ye(ze.src)}return he}function ge(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function te(){for(var he=o.getElementsByTagName(_),ze=O;zeO?he[he.length-P].href:W}function Oe(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Ne=ge();return Ne==W&&(Ne=te()),Ne==W&&(Ne=be()),Ne==W&&Oe()&&(Ne=ye(o.location.href)),Ne=dt(Ne),Ne}function C(ye){return ye.match(/^\//)||ye.match(/^[a-zA-Z]+:\/\//)?ye:webModule.__moduleBase+ye}function D(){var ye=[],dt=O,ge=[],te=[];function be(he){var ze=te[he](),ue=ge[he];if(ze in ue)return ze;var Ye=[];for(var Me in ue)Ye[ue[Me]]=Me;throw r&&r(he,Ye,ze),null}if(__gwt_isKnownPropertyValue=function(he,ze){return ze in ge[he]},webModule.__getPropMap=function(){var he={};for(var ze in ge)ge.hasOwnProperty(ze)&&(he[ze]=be(ze));return he},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ne=Oe.indexOf(Db);Ne!=-1&&(dt=parseInt(Oe.substring(Ne+P),$),Oe=Oe.substring(O,Ne))}catch(he){}return webModule.__softPermutationId=dt,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ye,dt,ge){"use strict";ge.d(dt,{Ax:function(){return Ne},Ds:function(){return he},KI:function(){return ue},SI:function(){return Oe},f1:function(){return be}});var te=ge(3294);function be(Ye){let Me=!0;if(Ye.length>0){for(let Fe=0;Fepe in Ce?se(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,Et=(Ce,pe)=>{for(var Be in pe||(pe={}))ve.call(pe,Be)&&rt(Ce,Be,pe[Be]);if(le)for(var Be of le(pe))xe.call(pe,Be)&&rt(Ce,Be,pe[Be]);return Ce},ft=(Ce,pe)=>{var Be={};for(var St in Ce)ve.call(Ce,St)&&pe.indexOf(St)<0&&(Be[St]=Ce[St]);if(Ce!=null&&le)for(var St of le(Ce))pe.indexOf(St)<0&&xe.call(Ce,St)&&(Be[St]=Ce[St]);return Be},Ot=({onFinish:Ce,value:pe,streamingStatus:Be,cancelIndex:St,loadImage:pt})=>{const[Mt,Qt]=(0,te.useState)(""),[Ie,Pt]=(0,te.useState)(0),[Ut,Pn]=(0,te.useState)(!1),_e=It=>It.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Ze=()=>{Pn(!0),Ce==null||Ce()};return(0,te.useEffect)(()=>{const It=pt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[4498],{88010:function(ye,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function ye(ae,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=ae,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(ye.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ye.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ye.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ye.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var y=go.Shape._FigureParameters[ae];return y?y[a]:null},go.Shape.setFigureParameter=function(ae,a,y){if(!(y instanceof ye))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 b=go.Shape._FigureParameters[ae];b||(b=[],go.Shape._FigureParameters[ae]=b),b[a]=y};var dt=[];function ge(ae,a){var y=dt.pop();return y===void 0?new go.Point(ae,a):(y.x=ae,y.y=a,y)}function te(){var ae=dt.pop();return ae===void 0?new go.Point:ae}function be(ae){dt.push(ae)}function Oe(ae,a,y,b,E,x,z,ee,ne){ne||(ne=new go.Point);var oe=ae-y,re=E-z,ie=NaN,se=NaN;if(oe===0)if(re===0)ae===y&&(ie=ae,se=a);else{var le=(x-ee)/re,ve=x-le*E;ie=ae,se=le*ie+ve}else if(re===0){var xe=(a-b)/oe,rt=a-xe*ae;ie=E,se=xe*ie+rt}else{var xe=(a-b)/oe,le=(x-ee)/re,rt=a-xe*ae,ve=x-le*E;ie=(ve-rt)/(xe-le),se=xe*ie+rt}return ne.x=ie,ne.y=se,ne}function Ne(ae,a,y,b,E,x,z,ee,ne,oe,re,ie,se,le){var ve=1-ne,xe=ne,rt=ae*ve+y*xe,Et=a*ve+b*xe,ft=y*ve+E*xe,At=b*ve+x*xe,Ot=E*ve+z*xe,Nt=x*ve+ee*xe,Ft=rt*ve+ft*xe,De=Et*ve+At*xe,et=ft*ve+Ot*xe,Lt=At*ve+Nt*xe,qe=Ft*ve+et*xe,mt=De*ve+Lt*xe;oe.x=rt,oe.y=Et,re.x=Ft,re.y=De,ie.x=qe,ie.y=mt,se.x=et,se.y=Lt,le.x=Ot,le.y=Nt}var he=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ye("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ue,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*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(ae,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=he,E.spot2=ze,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(ae,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ue*a,0,a,(1-ue)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ue*y,(1-ue)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ue*y,ue*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ue)*a,0,0,(1-ue)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,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(ae,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(ae,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(ae,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 ye("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ee,ee).close())),x.spot1=he,x.spot2=ze,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ae,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(ae,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new ye("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ye("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,y){var b=ae?ae.parameter1:NaN,E=ae?ae.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,y){var b=ue/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ye("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ye("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z-E)).add(new go.PathSegment(go.PathSegment.Line,a,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ye("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,y){var b=ae?ae.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,z=y/2,ee=Math.atan2(y,a),ne=b-Math.min(Math.cos(ee)*b/2,x),oe=b-Math.min(Math.sin(ee)*b/2,z),E=new go.Geometry,re=new go.PathFigure(ne,0,!0);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,oe)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,a-ne,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,ne,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y-oe)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ye("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ye("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ye("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ue*a,0,a,(.5-ue/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ue/2)*y,ue*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,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(ae,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(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,z=.3,ee=0,ne=x*ue;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-ne+ee)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z+.05)*a,(.5-ne+ee-.02)*y)),x=.2,z=0,ee=-.3,ne=x*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-ne+ee)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),x=.2,z=-.3,ee=0,ne=x*ue,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z-.05)*a,(.5-ne+ee-.02)*y,(.5+ne+z)*a,(.5-x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-ne+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-ne+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+ne+ee)*y,(.5-ne+z)*a,(.5+x+ee)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ne+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+ne+ee)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,E=new go.PathFigure((z+x)*a,ee*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ae,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure(z*a,(ee-x)*y);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),x=.4,E=ue*.4;var oe=te(),re=te(),ie=te(),se=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.42,oe,re,ie,se,se);var le=te(),ve=te(),xe=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.58,se,se,xe,le,ve);var rt=te(),Et=te(),ft=te();Ne(z,ee+x,z-E,ee+x,z-x,ee+E,z-x,ee,.42,rt,Et,ft,se,se);var At=te(),Ot=te(),Nt=te();return Ne(z,ee+x,z-E,ee+x,z-x,ee+E,z-x,ee,.58,se,se,Nt,At,Ot),ne.add(new go.PathSegment(go.PathSegment.Move,Nt.x*a,Nt.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,At.x*a,At.y*y,Ot.x*a,Ot.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),ne.add(new go.PathSegment(go.PathSegment.Line,Nt.x*a,Nt.y*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,ft.x*a,ft.y*y)),ne.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,le.x*a,le.y*y,ve.x*a,ve.y*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ft.x*a,ft.y*y,rt.x*a,rt.y*y,Et.x*a,Et.y*y).close()),be(oe),be(re),be(ie),be(se),be(le),be(ve),be(xe),be(rt),be(Et),be(ft),be(At),be(Ot),be(Nt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ae,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 ye("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.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,E,.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(ae,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(ae,a,y){var b=new go.Geometry,E=ue*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te(),se=new go.PathFigure((z-x)*a,ee*y,!1);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.44,re,ie,oe,ne,ne),se.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y));var le=ge(oe.x,oe.y);Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.56,ne,ne,oe,re,ie);var ve=ge(oe.x,oe.y);se.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.95*.9)*a,le.y*.1*y)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,le.y*.1*y)),se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,0)),se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*y)),se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*y)),se.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),x=.35,E=ue*.35;var xe=new go.PathFigure(z*a,(ee-x)*y,!1);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y));var rt=new go.PathFigure((z-x)*a,ee*y,!1);return b.add(rt),be(ne),be(oe),be(re),be(ie),be(le),be(ve),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ae,a,y){var b=new go.Geometry,E=.375,x=0,z=-.125,ee=E*ue,ne=new go.PathFigure((.525+x)*a,(.5+E+z)*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5+E+z)*y,(.5+E+x)*a,(.5+ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+z)*y,(1-.5+E+x)*a,(.5-ee+z)*y,(.5+ee+x)*a,(.5-E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+z)*y,(.5-E+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,(.5+E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,z=-.125,ee=E*ue;var ne=new go.PathFigure((1-.5+E+x)*a,(.5+z)*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+z)*y,(.5+E+x)*a,(.5+ee+z)*y,(.5+ee+x)*a,(.5+E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5+E+z)*y,(.5-E+x)*a,(.5+ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y,(.5-ee+x)*a,(.5-E+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5-E+z)*y,(1-.5+E+x)*a,(.5-ee+z)*y));var ne=new go.PathFigure((.525+x)*a,(.5+E+z)*y,!1);return b.add(ne),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ae,a,y){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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(ae,a,y){var b=ae?ae.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,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(ae,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(ae,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(ae,a,y){var b=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 b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,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(ae,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(ae,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(ae,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(ae,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(ae,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ye("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ye("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,z=(.5-E/2)*y,ee=(.5+E/2)*y,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/y);var re=Oe(0,ee/y,1,ee/y,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),be(re),ne}),go.Shape.setFigureParameter("Arrow2",0,new ye("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ye("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,z=(y-E)/2,ee=z+E,ne=new go.Geometry,oe=new go.PathFigure(0,z,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/y);var re=Oe(0,ee/y,1,ee/y,x/a,1,1,.5,te());return ne.spot2=new go.Spot(re.x,re.y),be(re),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ye("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=Oe(0,.5,.3,0,0,E/y,.1,E/y,te());return z.spot1=new go.Spot(ne.x,ne.y),ne=Oe(.7,1,1,.5,0,x/y,1,x/y,ne),z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ye("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ye("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,z=x+b,ee=(y-E)/2,ne=ee+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,z=x+b,ee=0,ne=y):(x=0,z=y,ee=0,ne=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ie=Oe(0,.5,.3,ee/y,0,x/y,1,x/y,te());return oe.spot1=new go.Spot(ie.x,ie.y),ie=Oe(.7,ne/y,1,.5,0,z/y,1,z/y,ie),oe.spot2=new go.Spot(ie.x,ie.y),be(ie),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new ye("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*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,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,E/y);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ye("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ye("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=40);var E=ae?ae.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,z=x+b,ee=(y-E)/2,ne=ee+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,z=x+b,ee=0,ne=y):(x=0,z=y,ee=0,ne=y));var oe=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);oe.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ne)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,x/y);var ie=Oe(.7,ne/y,1,.5,0,z/y,1,z/y,te());return oe.spot2=new go.Spot(ie.x,ie.y),be(ie),oe}),go.Shape.setFigureParameter("Pointer",0,new ye("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=Oe(.2,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(z.x,z.y),be(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ye("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var z=Oe(0,.65,1,.65,0,1,1,.5,te());return E.spot2=new go.Spot(z.x,z.y),be(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ye("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ye("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,E/y);var ne=Oe(.7,1,1,.5,0,x/y,1,x/y,te());return z.spot2=new go.Spot(ne.x,ne.y),be(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ye("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(0,.9*y,!0);return b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ue*b,(.5+x)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ee=new go.PathFigure(a,b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ue*b,(.5+x)*a,2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ue*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(0,y-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ue*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ue*b,(.5+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ue*b));var ee=new go.PathFigure(0,y-b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ue*b,(.5-x)*a,y-2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ue*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*b,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ue*b,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*b,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ue*b,0));var ee=new go.PathFigure(b,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ue*b,0,2*b,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ue*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ue*.5,z=new go.PathFigure(a-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ue*b,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ue*b,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ue*b,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ue*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ee=new go.PathFigure(a-b,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ue*b,0,a-2*b,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ue*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ae,a,y){var b=new go.Geometry,E=.2,x=.1,z=ue*E,ee=ue*x,ne=.5,oe=.1,re=new go.PathFigure(ne*a,(oe+x)*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*a,oe*y,(ne-z)*a,(oe+x)*y,(ne-E)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-x)*y,(ne-E)*a,(oe-ee)*y,(ne-z)*a,(oe-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*a,oe*y,(ne+z)*a,(oe-x)*y,(ne+E)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+x)*y,(ne+E)*a,(oe+ee)*y,(ne+z)*a,(oe+x)*y));var ie=.05,se=ue*ie;ne=.05,oe=.25;var le=new go.PathFigure(.5*a,.2*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ne=.95,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,oe*y,(ne+se)*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ie=.025,se=ue*ie,ne=.825,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ie=.05,se=ue*ie,ne=.5,oe=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ie=.025,se=ue*ie,ne=.175,oe=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne+ie)*a,(oe-se)*y,(ne+se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,oe*y,(ne-se)*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ie=.05,se=ue*ie,ne=.05,oe=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ie)*y,(ne-ie)*a,(oe-se)*y,(ne-se)*a,(oe-ie)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new ye("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,y){var b=ae?ae.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,E*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(a,.1*y,!0);b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*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-x)*y,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.1,z=new go.PathFigure(a,.1*y,!0);b.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+x)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*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-x)*y,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ue*.2,z=new go.PathFigure(0,.2*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*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+x)*a,0,a,(.2-x)*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+x)*y,(.8+x)*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-x)*a,y,0,(.8+x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,E*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.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 ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(ae,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=ue*.5,ee=.5,ne=new go.PathFigure(a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var oe=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),oe.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(.5*a,y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*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)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.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 ee=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(a,x*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN,x=ae?ae.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-E)*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(E*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,y){var b=new go.Geometry,E=ae?ae.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=new go.PathFigure(a,x*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ee=new go.PathFigure(a,x*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var ne=new go.PathFigure(.8*a,.75*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,y){var b=new go.Geometry,E=ue*.1,x=.1,z=.9,ee=.5,ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var oe=new go.PathFigure((z+x)*a,ee*y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee-x)*y,(z+x)*a,(ee-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=ue*.4,z=ue*.1,ee=.1,ne=.9,oe=.5,re=new go.PathFigure(.8*a,.5*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var ie=new go.PathFigure((ne+ee)*a,oe*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a,oe*y,(ne-z)*a,(oe+ee)*y,(ne-ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a,oe*y,(ne+z)*a,(oe-ee)*y,(ne+ee)*a,(oe-z)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=0,ee=.5,ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-E)*y,.7*a,(ee-x)*y)),E=.1,x=ue*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-E)*a,ee*y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=0,ee=.5,ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x+x)*a,(ee-E)*y,.8*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+x)*y,(z+x+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-E)*y,.7*a,(ee-x)*y)),E=.1,x=ue*.1,z=.9,ee=.5;var re=new go.PathFigure((z-E)*a,ee*y,!0);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*E,z=.2,ee=.5,ne=new go.PathFigure(.1*a,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var oe=new go.PathFigure(.2*a,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x)*a,(ee-E)*y,.9*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,y){var b=new go.Geometry,E=ue*.1,x=.1,z=.1,ee=.5,ne=new go.PathFigure((z-E*.5)*a,y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+E)*a,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-E)*a,y,(z-x)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*a,y,(z+x)*a,0,(z+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,y){var b=new go.Geometry,E=ue*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure((z-x)*a,ee*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-E)*y,(z-E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee-x)*y,(z+x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*y,z*a,(ee-x)*y,z*a,(ee+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var z=ue*.8,ee=.8,ne=0,oe=.5,re=(E-a)/2,ie=(x-y)/2,se=new go.PathFigure(ne*a+re,(oe+ee)*y+ie,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*y+ie,ne*a+re,(oe-ee)*y+ie,(ne-ee+z*.5)*a+re,(oe-z)*y+ie)),se.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne-ee+z*.5)*a+re,(oe+z)*y+ie,ne*a+re,(oe+ee)*y+ie).close()),z=ue*.4,ee=.4,ne=.2,oe=.5;var le=new go.PathFigure(ne*a+re,(oe+ee)*y+ie,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*a+re,oe*y+ie,ne*a+re,(oe-ee)*y+ie,(ne-ee+z*.5)*a+re,(oe-z)*y+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne-ee+z*.5)*a+re,(oe+z)*y+ie,ne*a+re,(oe+ee)*y+ie).close()),z=ue*.2,ee=.2,ne=.5,oe=.5;var ve=new go.PathFigure((ne-ee)*a+re,oe*y+ie,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne-ee)*a+re,(oe-z)*y+ie,(ne-z)*a+re,(oe-ee)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*a+re,oe*y+ie,(ne-z)*a+re,(oe+ee)*y+ie,(ne-ee)*a+re,(oe+z)*y+ie)),z=ue*.4,ee=.4,ne=.8,oe=.5;var xe=new go.PathFigure(ne*a+re,(oe-ee)*y+ie,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*y+ie,ne*a+re,(oe+ee)*y+ie,(ne+ee-z*.5)*a+re,(oe+z)*y+ie)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne+ee-z*.5)*a+re,(oe-z)*y+ie,ne*a+re,(oe-ee)*y+ie).close()),z=ue*.8,ee=.8,ne=1,oe=.5;var rt=new go.PathFigure(ne*a+re,(oe-ee)*y+ie,!0);return b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*a+re,oe*y+ie,(ne+z)*a+re,(oe-ee)*y+ie,(ne+ee)*a+re,(oe-z)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe+ee)*y+ie,(ne+ee)*a+re,(oe+z)*y+ie,(ne+z)*a+re,(oe+ee)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*a+re,oe*y+ie,ne*a+re,(oe+ee)*y+ie,(ne+ee-z*.5)*a+re,(oe+z)*y+ie)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+re,(oe-ee)*y+ie,(ne+ee-z*.5)*a+re,(oe-z)*y+ie,ne*a+re,(oe-ee)*y+ie).close()),b}),go.Shape.defineFigureGenerator("Email",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);b.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 ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(ae,a,y){var b=new go.Geometry,E=ue*.4,x=.4,z=.5,ee=.5,ne=te(),oe=te(),re=te(),ie=te();Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.5,ne,ne,oe,re,ie);var se=ge(oe.x,oe.y),le=new go.PathFigure(oe.x*a,oe.y*y,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+E)*y,(z+E)*a,(ee+x)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-E)*a,(ee+x)*y,(z-x)*a,(ee+E)*y)),Ne(z-x,ee,z-x,ee-E,z-E,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,re.x*a,re.y*y,ie.x*a,ie.y*y)),E=ue*.3,x=.3,Ne(z-x,ee,z-x,ee-E,z-E,ee-x,z,ee-x,.5,re,ie,oe,ne,ne),le.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,ie.x*a,ie.y*y,re.x*a,re.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),Ne(z,ee-x,z+E,ee-x,z+x,ee-E,z+x,ee,.5,ne,ne,oe,re,ie),le.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*y,ie.x*a,ie.y*y,re.x*a,re.y*y).close());var le=new go.PathFigure(.45*a,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),be(ne),be(oe),be(re),be(ie),be(se),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(z,ee,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+ne)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+ne)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,y){var b=new go.Geometry,E=.5,x=0,z=0,ee=E*ue,ne=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,re=1,ie=.5,se=.5,le=0,ve=new go.PathFigure(ne*a,(1-oe)*y,!1);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,re*a,ie*y,re*a,.7*y,re*a,ie*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+x)*a,(le+x)*y,(.5+E+x)*a,(.5-ee+x)*y,(.5+ee+x)*a,(.5-E+x)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-E+z)*y,(.5-E+x)*a,(.5-ee+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var z=new go.PathFigure(0,.5*y,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,ne=z,oe=Math.PI/4,re=4*(1-Math.cos(oe))/(3*Math.sin(oe)),ie=re*.5,se=z,le=z,ve=re*se,xe=re*le;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-se)*a,ne*y,(ee-(ve+se)/2)*a,(ne+(le+xe)/2)*y,(ee-se)*a,(ne+xe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-le)*y,(ee-se)*a,(ne-xe)*y,(ee-ve)*a,(ne-le)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+se)*a,ne*y,(ee+ve)*a,(ne-le)*y,(ee+se)*a,(ne-xe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+se)*a,(ne+xe)*y,(ee+(ve+se)/2)*a,(ne+(le+xe)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var rt=new go.PathFigure(.2*a,y,!1);b.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Et=new go.PathFigure(.8*a,y,!1);return b.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var z=new go.PathFigure(.1*a,y,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Caution",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=new go.PathFigure(a,E*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=ue*.1,ne=.2,oe=.9,re=new go.PathFigure((ne-z)*a,oe*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*y,(ne+ee)*a,(oe-z)*y,(ne+z)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*y,(ne-ee)*a,(oe+z)*y,(ne-z)*a,(oe+ee)*y).close()),z=.1,ee=ue*.1,ne=.8,oe=.9;var ie=new go.PathFigure((ne-z)*a,oe*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-z)*y,(ne-z)*a,(oe-ee)*y,(ne-ee)*a,(oe-z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,oe*y,(ne+ee)*a,(oe-z)*y,(ne+z)*a,(oe-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe+z)*y,(ne+z)*a,(oe+ee)*y,(ne+ee)*a,(oe+z)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,oe*y,(ne-ee)*a,(oe+z)*y,(ne-z)*a,(oe+ee)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);b.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 ee=new go.PathFigure(.5*a,.7*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ne=.1,oe=ue*.1,re=.1,ie=.9,se=new go.PathFigure((re-ne)*a,ie*y,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*y,(re-ne)*a,(ie-oe)*y,(re-oe)*a,(ie-ne)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*y,(re+oe)*a,(ie-ne)*y,(re+ne)*a,(ie-oe)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*y,(re+ne)*a,(ie+oe)*y,(re+oe)*a,(ie+ne)*y)),se.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*y,(re-oe)*a,(ie+ne)*y,(re-ne)*a,(ie+oe)*y)),ne=.1,oe=ue*.1,re=.4,ie=.9;var le=new go.PathFigure((re-ne)*a,ie*y,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie-ne)*y,(re-ne)*a,(ie-oe)*y,(re-oe)*a,(ie-ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re+ne)*a,ie*y,(re+oe)*a,(ie-ne)*y,(re+ne)*a,(ie-oe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ie+ne)*y,(re+ne)*a,(ie+oe)*y,(re+oe)*a,(ie+ne)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(re-ne)*a,ie*y,(re-oe)*a,(ie+ne)*y,(re-ne)*a,(ie+oe)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);b.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 re=.05,ie=ue*.05,se=.175,le=.95,ee=new go.PathFigure((se-re)*a,le*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.375,le=.95,ne=new go.PathFigure((se-re)*a,le*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.625,le=.95,oe=new go.PathFigure((se-re)*a,le*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y));var re=.05,ie=ue*.05,se=.825,le=.95,ve=new go.PathFigure((se-re)*a,le*y,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le-re)*y,(se-re)*a,(le-ie)*y,(se-ie)*a,(le-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*a,le*y,(se+ie)*a,(le-re)*y,(se+re)*a,(le-ie)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*a,(le+re)*y,(se+re)*a,(le+ie)*y,(se+ie)*a,(le+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*a,le*y,(se-ie)*a,(le+re)*y,(se-re)*a,(le+ie)*y).close());var xe=new go.PathFigure(0,y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);b.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 ee=.05,ne=ue*.05,oe=.35,re=.775,ie=new go.PathFigure((oe-ee)*a,re*y,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-ee)*y,(oe-ee)*a,(re-ne)*y,(oe-ne)*a,(re-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,re*y,(oe+ne)*a,(re-ee)*y,(oe+ee)*a,(re-ne)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+ee)*y,(oe+ee)*a,(re+ne)*y,(oe+ne)*a,(re+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,re*y,(oe-ne)*a,(re+ee)*y,(oe-ee)*a,(re+ne)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(ae,a,y){var b=new go.Geometry,E=.3,x=ue*.3,z=.5,ee=.7,ne=new go.PathFigure((z-E)*a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y));var oe=new go.PathFigure(0,.7*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=.5,ee=.5,ne=new go.PathFigure((z-E)*a,ee*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y));var oe=new go.PathFigure(.15*a,.5*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(ae,a,y){var b=new go.Geometry,E=.5,x=ue*.5,z=.5,ee=.5,ne=new go.PathFigure((z-E)*a,ee*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y).close()),E=.05,x=ue*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-E)*a,ee*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-x)*y,(z-x)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+x)*a,(ee-E)*y,(z+E)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+x)*y,(z+x)*a,(ee+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-x)*a,(ee+E)*y,(z-E)*a,(ee+x)*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);b.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 ee=new go.PathFigure(.678*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ne=new go.PathFigure(.5*a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);b.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 ee=new go.PathFigure(a*.612,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ne=new go.PathFigure(a*.816,y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);b.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 ee=new go.PathFigure(a*.055,.18*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ne=new go.PathFigure(a*1,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);b.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 ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,y){var b=new go.Geometry,E=8,x=E*ue,z=new go.PathFigure(E,0,!1);b.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-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ne=new go.PathFigure(a*.83,y*1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var oe=new go.PathFigure(a*.78,y*.05,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,y){var b=ae?ae.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ue,x=y*.8,z=new go.Geometry,ee=new go.PathFigure(b,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,b,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ae,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(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,y){var b=new go.Geometry,E=15,x=E*ue,z=new go.PathFigure(a*.62,y*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),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()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.4,y*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Bin",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.5,y*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ye={},dt="5.0",ge={},te=null,be=!1,Oe=!1,Ne=null,he=!1,ze=null,ue=null,Ye=0;Ye4?parseFloat(fe):5};ye.setHTML5Codebase=function(fe,Le){ue=fe,Lt(fe,Le)},ye.setJavaCodebase=ye.setJavaCodebaseVersion=ye.isCompiledInstalled=ye.setPreCompiledScriptPath=ye.setPreCompiledResourcePath=function(){},ye.setHTML5CodebaseVersion=function(fe,Le){var We=parseFloat(fe);if(We!==NaN&&We<5){console.log("The GeoGebra HTML5 codebase version "+We+" is deprecated. Using version latest instead.");return}ze=fe,et(fe,Le)},ye.getHTML5CodebaseVersion=function(){return ae},ye.getParameters=function(){return ge},ye.setFontsCSSURL=function(fe){z=fe},ye.setGiacJSURL=function(fe){},ye.setJNLPFile=function(fe){Fe=fe},ye.setJNLPBaseDir=function(fe){},ye.inject=function(){function fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Le="auto",We=ge.id,it,je=!1,st=0;st=5)return!0;var fe=ye.getAppletObject();return fe&&typeof fe.recalculateEnvironments=="function"?(fe.recalculateEnvironments(),!0):!1},ye.startAnimation=function(){var fe=ye.getAppletObject();return fe&&typeof fe.startAnimation=="function"?(fe.startAnimation(),!0):!1},ye.stopAnimation=function(){var fe=ye.getAppletObject();return fe&&typeof fe.stopAnimation=="function"?(fe.stopAnimation(),!0):!1},ye.getAppletObject=function(){var fe=ge.id!==void 0?ge.id:"ggbApplet";return window[fe]},ye.resize=function(){};var ve=function(fe,Le,We){var it=document.createElement("param");it.setAttribute("name",Le),it.setAttribute("value",We),fe.appendChild(it)},xe=function(fe){return fe&&fe!=="false"},rt=function(fe,Le,We){ne(ae)<=4.2&&(We=!0);var it=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(it=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var je=document.createElement("div");je.classList.add("appletParameters","notranslate");var st=Le.width,de=Le.height;if(Le.disableAutoScale=Le.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Le.disableAutoScale,Le.width!==void 0)if(ne(ae)<=4.4)xe(Le.showToolBar)&&(Le.height-=7),xe(Le.showAlgebraInput)&&(Le.height-=37),Le.width<605&&xe(Le.showToolBar)&&(Le.width=605,st=605);else{var Ee=100;(xe(Le.showToolBar)||xe(Le.showMenuBar))&&(Le.hasOwnProperty("customToolBar")&&(Le.customToolbar=Le.customToolBar),Ee=xe(Le.showMenuBar)?245:155),st=5?(Le.appletOnLoad=function(Re){var Je=fe.querySelector(".ggb_preview");Je&&Je.parentNode.removeChild(Je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(at),window.GGBT_wsf_view&&$(window).trigger("resize"),Ke(Re)},Dt||at.appendChild(kt)):je.appendChild(kt),at.appendChild(je),Dt||fe.appendChild(at),setTimeout(function(){ye.resize()},1)}else{var Ct=document.createElement("div");Ct.className="applet_scaler",Ct.style.position="relative",Ct.style.display="block",Ct.appendChild(je),fe.appendChild(Ct),Le.appletOnLoad=function(Re){ye.resize(),Ke(Re)}}function Ht(Re,Je){Je&&typeof Je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Re,Je.appletOnLoad):renderGGBElement(Re),qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Je)}function Yt(Re,Je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Re,params:Je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Xe){Ht(Xe.article,Xe.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Re.className+=" geogebraweb")):Ht(Re,Je)}if(it){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Qe.remove(),at.attr("id","fullscreencontent").show(),jQuery(Ke).append(at),window.dispatchEvent(new Event("resize"))):rt(Qe,Le,!1),window.GGBT_wsf_view.launchFullScreen(Ke)}else He=it,rt(fe,Le,!1);if(!window.GGBT_wsf_view)for(de=0;defe/4*3&&(Qe=fe/4*3),Ke=Qe/5.8,Ee.setAttribute("src",E),Ee.setAttribute("width",Qe),Ee.setAttribute("height",Ke);var at=(fe-Qe)/2,Dt=(Le-Ke)/2;Ee.style.left=at+"px",Ee.style.top=Dt+"px",je.appendChild(Ee)}}return je.appendChild(de),je},Ft=function(fe){return fe=fe.toLowerCase(),fe==="html5"||fe==="screenshot"?fe:"html5"},De=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(fe,Le){if(ae=fe,Le){Lt(ae,!0);return}var We=!be;if(We){var it=ne(ae);!isNaN(it)&&it<4.4&&(We=!1)}var je,st;window.location.protocol.substr(0,4)==="http"?je=window.location.protocol:je="http:";var de=ae.indexOf("//");de>0?st=ae:de===0?st=je+ae:st="https://www.geogebra.org/apps/5.2.814.0/";for(var Ee in De)if(ae.slice(De[Ee].length*-1)===De[Ee]||ae.slice((De[Ee].length+1)*-1)===De[Ee]+"/"){Lt(st,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&We&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!xe(ge.showToolBar)&&!xe(ge.showMenuBar)&&!xe(ge.showAlgebraInput)&&!xe(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?st+="webSimple/":st+="web3d/",Lt(st,!1)},Lt=function(fe,Le){if(fe.requirejs){nt=fe;return}fe.slice(-1)!=="/"&&(fe+="/"),nt=fe,Le===null&&(Le=fe.indexOf("http")===-1),ke=Le,a="web.nocache.js",y=!1;var We=nt.split("/");We.length>1&&(!Le&&We[We.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):De.indexOf(We[We.length-2])>=0&&(a=We[We.length-2]+".nocache.js")),We=fe.split("/"),ae=We[We.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var it=parseFloat(ae);it!==NaN&&it<5&&fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead."),et("5.0",Le))},qe=function(fe,Le){window.console&&window.console.log&&(!Le||typeof Le.showLogging=="undefined"||Le.showLogging&&Le.showLogging!=="false")&&console.log(fe)};ge.material_id!==void 0?ie(mt):mt();function mt(){var fe=dt;ze!==null?fe=ze:parseFloat(fe)<5&&(fe="5.0"),et(fe,!1),ue!==null&&Lt(ue,ke),he=!0}return ye},GGBAppletUtils=function(){"use strict";function ye(){return window.GGBT_wsf_edit!==void 0}function dt(he,ze){ze!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ze+","+ze+")",he.style.webkitTransform="scale("+ze+","+ze+")",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 ge(he,ze,ue,Ye,Me,Fe){var nt=null;if(Fe!=null&&Fe!="")for(var ke=he.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+Fe+" ")>-1){nt=ke;break}else ke=ke.parentNode;var He=0,ae=0,a=0,y=0,b=0,E=0,x=0;if(nt)He=nt.offsetWidth,ae=Math.max(Ye?nt.offsetWidth:0,nt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(He=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=He):(He=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=He&&(Me===void 0||!Me)&&(document.dir==="rtl"?(b=He-z.width-z.left,E=a<=480?10:30):(E=z.left,b=a<=480?10:30),y=E+b)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return he&&((ue===void 0||!ue)&&ze>0&&ze+y1&&(Fe=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Fe=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))Me=te(he,ze,Fe,ue,he.scaleContainerClass);else return Ye;return Fe&&(!he.hasOwnProperty("scale")||Ye===1)?Me:Math.min(Ye,Me)}function Oe(he){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=he.getBoundingClientRect(),Me=(ze-Ye.width)/2,Fe=(ue-Ye.height)/2;Fe<0&&(Fe=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?he.style.left="40px":he.style.left=Me+"px",he.style.top=Fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Fe<40?he.style.top="40px":he.style.top=Fe+"px",he.style.left=Me+"px")}function Ne(he,ze){var ue=he.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Ye=be(ze,he);ye()&&ue.setAttribute("data-param-scale",Ye);for(var Me=null,Fe=0;Fe=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(ye){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ye){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ye){var dt=c[ye];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function ye(he){var ze=he.lastIndexOf(rb);ze==-1&&(ze=he.length);var ue=he.indexOf(sb);ue==-1&&(ue=he.length);var Ye=he.lastIndexOf(tb,Math.min(ue,ze));return Ye>=O?he.substring(O,Ye+P):W}function dt(he){if(!he.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=he+vb,he=ye(ze.src)}return he}function ge(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function te(){for(var he=o.getElementsByTagName(_),ze=O;zeO?he[he.length-P].href:W}function Oe(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Ne=ge();return Ne==W&&(Ne=te()),Ne==W&&(Ne=be()),Ne==W&&Oe()&&(Ne=ye(o.location.href)),Ne=dt(Ne),Ne}function C(ye){return ye.match(/^\//)||ye.match(/^[a-zA-Z]+:\/\//)?ye:webModule.__moduleBase+ye}function D(){var ye=[],dt=O,ge=[],te=[];function be(he){var ze=te[he](),ue=ge[he];if(ze in ue)return ze;var Ye=[];for(var Me in ue)Ye[ue[Me]]=Me;throw r&&r(he,Ye,ze),null}if(__gwt_isKnownPropertyValue=function(he,ze){return ze in ge[he]},webModule.__getPropMap=function(){var he={};for(var ze in ge)ge.hasOwnProperty(ze)&&(he[ze]=be(ze));return he},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ne=Oe.indexOf(Db);Ne!=-1&&(dt=parseInt(Oe.substring(Ne+P),$),Oe=Oe.substring(O,Ne))}catch(he){}return webModule.__softPermutationId=dt,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(ye,dt,ge){"use strict";ge.d(dt,{Ax:function(){return Ne},Ds:function(){return he},KI:function(){return ue},SI:function(){return Oe},f1:function(){return be}});var te=ge(3294);function be(Ye){let Me=!0;if(Ye.length>0){for(let Fe=0;Fepe in Ce?se(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,Et=(Ce,pe)=>{for(var Be in pe||(pe={}))ve.call(pe,Be)&&rt(Ce,Be,pe[Be]);if(le)for(var Be of le(pe))xe.call(pe,Be)&&rt(Ce,Be,pe[Be]);return Ce},ft=(Ce,pe)=>{var Be={};for(var St in Ce)ve.call(Ce,St)&&pe.indexOf(St)<0&&(Be[St]=Ce[St]);if(Ce!=null&&le)for(var St of le(Ce))pe.indexOf(St)<0&&xe.call(Ce,St)&&(Be[St]=Ce[St]);return Be},Ot=({onFinish:Ce,value:pe,streamingStatus:Be,cancelIndex:St,loadImage:pt})=>{const[Mt,Qt]=(0,te.useState)(""),[Ie,Pt]=(0,te.useState)(0),[Ut,Pn]=(0,te.useState)(!1),_e=It=>It.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),Ze=()=>{Pn(!0),Ce==null||Ce()};return(0,te.useEffect)(()=>{const It=pt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${pe}`:pe,Gt=_e(It);if(!Ut)if(pt||!Be||St>0){Qt(Gt),Pt(Gt.length),(!Be||St>0)&&!pt&&Ze();return}else if(Ie{Qt(Gt.slice(0,Ie+2)),Pt(Zt=>Zt+2)},$t>10?Math.max(500/($t/2),20):50);return()=>clearInterval(qt)}else Be||Ze()},[pe,Be,St,pt,Ie]),(0,te.useMemo)(()=>ie.createElement("div",{className:`${z.answer} fadeIn animated`},ie.createElement(a.UG,{remarkPlugins:[oe.Z],rehypePlugins:[ne.Z,b.Z],components:{code(It){var Gt=It,{node:$t,inline:qt,className:Zt,children:en}=Gt,an=ft(Gt,["node","inline","className","children"]);const vn=/language-(\w+)/.exec(Zt||"");return qt||!vn?ie.createElement("code",Et({className:Zt},an),en):ie.createElement("div",{className:z.codeCopy},ie.createElement(x.CopyToClipboard,{text:String(en).trim(),onCopy:()=>be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ie.createElement("button",null,"\u590D\u5236")),ie.createElement(y.Z,Et({style:E.Z,language:vn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},an),String(en).trim()))},img({node:It}){var Gt;return ie.createElement(ee.Z,{src:(Gt=It.properties)==null?void 0:Gt.src,width:320,onLoad:()=>pt&&setTimeout(()=>Ze(),500)})}}},Be&&Ienew Promise((St,pt)=>{var Mt=Pt=>{try{Ie(Be.next(Pt))}catch(Ut){pt(Ut)}},Qt=Pt=>{try{Ie(Be.throw(Pt))}catch(Ut){pt(Ut)}},Ie=Pt=>Pt.done?St(Pt.value):Promise.resolve(Pt.value).then(Mt,Qt);Ie((Be=Be.apply(Ce,pe)).next())}),Lt=({value:Ce="",streamingStatus:pe,onFinish:Be,cancelIndex:St,time:pt,loading:Mt,loadAll:Qt})=>{const[Ie,Pt]=(0,te.useState)(""),[Ut,Pn]=(0,te.useState)(!0),_e=(0,te.useRef)(Ce),Ze=(0,te.useRef)(pe),xt=(0,te.useRef)(0),It=(0,te.useRef)(null),[Gt,$t]=(0,te.useState)(!1),qt=70;(0,te.useEffect)(()=>{Ze.current=pe},[pe]),(0,te.useEffect)(()=>{_e.current=Ce},[Ce]),(0,te.useEffect)(()=>{if(!pe){Pt(_e.current);return}return $t(!0),It.current=setInterval(Zt,qt),()=>{clearInterval(It.current)}},[]),(0,te.useEffect)(()=>{Gt&&(Pt(_e.current),clearInterval(It.current),$t(!1),Be())},[St]);const Zt=()=>De(void 0,null,function*(){const en=_e.current[xt.current];en!==void 0?(Pt(an=>an+en),xt.current++,clearInterval(It.current),It.current=setInterval(Zt,280/(_e.current.length-xt.current))):Ze.current===!1&&(Pt(_e.current),clearInterval(It.current),$t(!1),Be())});return Ft.createElement("div",{className:`${Nt.reasoning} fadeIn animated`},Ft.createElement("div",{className:Nt.btn,onClick:()=>Pn(!Ut)},Ft.createElement("i",{className:"iconfont icon-shendusikao"}),pt?Ft.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",pt," \u79D2\uFF09"):Ft.createElement("span",null,"\u601D\u8003\u4E2D..."),Ut?Ft.createElement("b",{className:"iconfont icon-shouqi6"}):Ft.createElement("b",{className:"iconfont icon-zhankai6"})),Mt&&Ft.createElement(Ye.Z,{spinning:!0,className:"mt20"}),Ut&&!Mt&&Ft.createElement("div",{className:Nt.content},Ie,Gt?Ft.createElement("span",{className:"aiBlink"},"__"):""))},qe={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},mt=ge(81327),fe=Object.defineProperty,Le=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,je=(Ce,pe,Be)=>pe in Ce?fe(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,st=(Ce,pe)=>{for(var Be in pe||(pe={}))We.call(pe,Be)&&je(Ce,Be,pe[Be]);if(Le)for(var Be of Le(pe))it.call(pe,Be)&&je(Ce,Be,pe[Be]);return Ce};const de=Ce=>React.createElement("svg",st({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ce),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 Ee="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Qe=Object.defineProperty,Ke=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,kt=(Ce,pe,Be)=>pe in Ce?Qe(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,Ct=(Ce,pe)=>{for(var Be in pe||(pe={}))at.call(pe,Be)&&kt(Ce,Be,pe[Be]);if(Ke)for(var Be of Ke(pe))Dt.call(pe,Be)&&kt(Ce,Be,pe[Be]);return Ce};const Ht=Ce=>React.createElement("svg",Ct({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ce),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 Yt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcu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Ljg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ae=ge(59301),Ue=({value:Ce,onChange:pe})=>{const[Be,St]=(0,te.useState)(!1),pt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ee},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Yt}],Mt=pt.find(Qt=>Qt.key===Ce);return Ae.createElement("div",{className:qe.select},Ae.createElement(mt.Z,{size:10},Ae.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ae.createElement("div",{className:qe.box,onMouseLeave:()=>St(!1)},Ae.createElement("div",{className:qe.text,onClick:()=>St(!0)},Ae.createElement("img",{src:Mt.img,width:20}),Ae.createElement("span",null,Mt.name),Ae.createElement("b",{className:"iconfont icon-zhankai6"})),Be&&Ae.createElement("div",{className:qe.itemWrap},Ae.createElement("aside",null,pt.map(Qt=>Ae.createElement("div",{key:Qt.key,className:`${qe.item} ${Qt.key===Ce?qe.active:""}`,onClick:Ie=>{Ie.stopPropagation(),pe(Qt.key),St(!1)}},Ae.createElement("img",{src:Qt.img,width:20}),Ae.createElement("span",null,Qt.name))))))))},ce={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},$e=ge(99064),Re=ge(955),Je={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},ct=({src:Ce,onClick:pe,topPercentage:Be=.62,draggableExtraNode:St})=>{const pt=(0,te.useRef)(null),Mt=(0,te.useRef)(!1),Qt=(0,te.useRef)(!1),[Ie,Pt]=(0,te.useState)(window.innerHeight*Be),[Ut,Pn]=(0,te.useState)(!1),_e=10;return(0,te.useEffect)(()=>{if(pt.current){let Ze=function(qt){var Zt;Mt.current=!0,$t=qt.pageY,Gt=qt.pageY-(((Zt=pt.current)==null?void 0:Zt.getBoundingClientRect().top)||0),(0,Re.kk)("none"),document.onselectstart=function(){return!1}},xt=function(){Mt.current&&!Qt.current&&pe&&pe(),Mt.current=!1,Qt.current=!1,(0,Re.kk)("auto"),document.onselectstart=null},It=function(qt){var Zt;if(Mt.current){const an=qt.pageY-Gt,vn=window.innerHeight-(((Zt=pt.current)==null?void 0:Zt.offsetHeight)||0)-50,Ge=50;if(!Qt.current&&Math.abs($t-qt.pageY)>_e&&(Qt.current=!0),Qt.current){let On=Math.max(Ge,Math.min(an,vn));Pt(On)}}},Gt=0,$t=0;return pt.current.addEventListener("mousedown",Ze),document.addEventListener("mousemove",It),document.addEventListener("mouseup",xt),()=>{var qt,Zt;(Zt=(qt=pt==null?void 0:pt.current)==null?void 0:qt.removeEventListener)==null||Zt.call(qt,"mousedown",Ze),document.removeEventListener("mousemove",It),document.removeEventListener("mouseup",xt)}}},[pe]),(0,te.useEffect)(()=>{const Ze=()=>{Pt(window.innerHeight*Be)};return window.addEventListener("resize",Ze),()=>{window.removeEventListener("resize",Ze)}},[Be]),te.createElement("div",{className:Je.draggableImage,style:{top:`${Ie}px`,display:Ut?"none":"block",cursor:Mt.current?"grabbing":"grab"},ref:pt},St,te.createElement("img",{className:Je.img,src:Ce,width:60,draggable:"false"}),te.createElement("i",{className:`iconfont icon-tupianguanbi ${Je.close}`,onMouseUp:Ze=>{Ze.stopPropagation(),Pn(!0)}}))},ht="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+V1AsS0s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vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",bn=ge(3294),jn=ge(86204),gn=ge(85149),dn=Object.defineProperty,tn=Object.defineProperties,wn=Object.getOwnPropertyDescriptors,Yn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Bn=(Ce,pe,Be)=>pe in Ce?dn(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,$n=(Ce,pe)=>{for(var Be in pe||(pe={}))En.call(pe,Be)&&Bn(Ce,Be,pe[Be]);if(Yn)for(var Be of Yn(pe))Gn.call(pe,Be)&&Bn(Ce,Be,pe[Be]);return Ce},Ln=(Ce,pe)=>tn(Ce,wn(pe)),Qn=(Ce,pe,Be)=>Bn(Ce,typeof pe!="symbol"?pe+"":pe,Be),ea=(Ce,pe,Be)=>new Promise((St,pt)=>{var Mt=Pt=>{try{Ie(Be.next(Pt))}catch(Ut){pt(Ut)}},Qt=Pt=>{try{Ie(Be.throw(Pt))}catch(Ut){pt(Ut)}},Ie=Pt=>Pt.done?St(Pt.value):Promise.resolve(Pt.value).then(Mt,Qt);Ie((Be=Be.apply(Ce,pe)).next())});class ta extends jn.EventEmitter{constructor(pe,Be){super(),Qn(this,"url"),Qn(this,"body"),Qn(this,"fullContent",""),Qn(this,"controller",null),this.url=pe,this.body=Be}startStream(){return ea(this,null,function*(){this.controller=new AbortController;const{signal:pe}=this.controller;try{const Be=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:pe});if(!Be.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Be.status}`);const St=Be.headers.get("content-type");if(!St||!St.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const pt=Be.body.getReader(),Mt=new TextDecoder("utf-8");for(;;){const{done:Qt,value:Ie}=yield pt.read();if(Qt)break;const Ut=Mt.decode(Ie,{stream:!0}).split(` `);for(const Pn of Ut)if(Pn.startsWith("data:")){let _e=(0,gn.z)(Pn.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(_e==="[DONE]")break;try{const Ze=JSON.parse(_e);Ze.data&&this.handleData(Ln($n({},Ze.data),{content:Ze.data.content.replace(/\\\\/g,"\\")}))}catch(Ze){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ze)}}}this.emit("done",this.fullContent)}catch(Be){Be.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Be.message)}})}handleData(pe){pe.content&&(this.fullContent+=pe.content,this.emit("data",{chunk:pe,full:this.fullContent}))}cancelRequest(){var pe;(pe=this.controller)==null||pe.abort()}}var Mn=ta,Tt=ge(58617),Wn=ge(32050),Kn=Object.defineProperty,bt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,Xt=(Ce,pe,Be)=>pe in Ce?Kn(Ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ce[pe]=Be,pn=(Ce,pe)=>{for(var Be in pe||(pe={}))Cn.call(pe,Be)&&Xt(Ce,Be,pe[Be]);if(ln)for(var Be of ln(pe))In.call(pe,Be)&&Xt(Ce,Be,pe[Be]);return Ce},me=(Ce,pe)=>bt(Ce,jt(pe)),Se=(Ce,pe,Be)=>new Promise((St,pt)=>{var Mt=Pt=>{try{Ie(Be.next(Pt))}catch(Ut){pt(Ut)}},Qt=Pt=>{try{Ie(Be.throw(Pt))}catch(Ut){pt(Ut)}},Ie=Pt=>Pt.done?St(Pt.value):Promise.resolve(Pt.value).then(Mt,Qt);Ie((Be=Be.apply(Ce,pe)).next())}),tt=({title:Ce="\u5934\u6B4CAI",placeholder:pe,hideUpload:Be,hideInputBox:St,aiIcon:pt=ht,userIcon:Mt=fn,dragIcon:Qt=yn,children:Ie,fetchUrl:Pt,fetchData:Ut={},extraAnswerAction:Pn,showDefaultTips:_e=!0,onOpen:Ze,onClose:xt,loadingOption:It,showPreference:Gt=!1,initMessage:$t,customRequest:qt,visible:Zt,width:en=1200,isCheckRestrictNumber:an=!1,headNode:vn,headFunctionNode:Ge,showRedraw:On,showEdit:Vn,promptPropName:Vt="prompt",topPercentage:Wt,showSwitchingModel:Te=!1,showImageGenerator:lt=!1,showLookHistory:Bt=!1,fetchListObject:ut,customPreference:on,customDataNode:mn,showAddSession:Fn,historyId:Nn,draggableExtraNode:Un,drawerExtraNode:Ma,menuExtraFunctionNode:ra,showSceneAwareness:Ia=!1})=>{var ya;const[na,Pa]=(0,te.useState)(!1),[Jn,wa]=(0,te.useState)("qwen-max"),[Rn,da]=(0,te.useState)([]),[la,Xn]=(0,te.useState)(!1),[Da,Hn]=(0,te.useState)(!1),[Ha,_n]=(0,te.useState)(!1),[sn,Dn]=(0,te.useState)([]),[aa,Za]=(0,te.useState)(""),[Ya,to]=(0,te.useState)(0),[Ea,Na]=(0,te.useState)(!1),[La,vt]=(0,te.useState)(null),[gt,yt]=(0,te.useState)(""),ot=(0,te.useRef)(),Kt=(0,te.useRef)(null),_t=(0,te.useRef)(null),[cn,un]=(0,te.useState)(!1),[hn,An]=(0,te.useState)(!1),[zn,kn]=(0,te.useState)(!1),[ga,ma]=(0,te.useState)(!1),[ca,Aa]=(0,te.useState)(0),Zn=(0,te.useRef)(null),sa=(0,te.useRef)(!1),Sn=(0,te.useRef)(null),[ia,ka]=(0,te.useState)(void 0),[za,Wa]=(0,te.useState)(!0),[ba,qn]=(0,te.useState)(en-28),[ua,Ta]=(0,te.useState)(!1),[Ga,no]=(0,te.useState)(!0),[Ka,Po]=(0,te.useState)([]),Ba=(0,te.useRef)([]),Va=(0,te.useRef)(!1),Oa=ba-22,ha=aa==null?void 0:aa.split(` diff --git a/p__tasks__index.57727962.async.js b/p__tasks__index.cbc78810.async.js similarity index 99% rename from p__tasks__index.57727962.async.js rename to p__tasks__index.cbc78810.async.js index 1d9bcd4509..eee24321a3 100644 --- a/p__tasks__index.57727962.async.js +++ b/p__tasks__index.cbc78810.async.js @@ -1,4 +1,4 @@ -!(function(){var gm=Object.defineProperty,mm=Object.defineProperties;var pm=Object.getOwnPropertyDescriptors;var rf=Object.getOwnPropertySymbols;var ph=Object.prototype.hasOwnProperty,Ah=Object.prototype.propertyIsEnumerable;var mh=(ln,rt,ve)=>rt in ln?gm(ln,rt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ln[rt]=ve,ac=(ln,rt)=>{for(var ve in rt||(rt={}))ph.call(rt,ve)&&mh(ln,ve,rt[ve]);if(rf)for(var ve of rf(rt))Ah.call(rt,ve)&&mh(ln,ve,rt[ve]);return ln},Lf=(ln,rt)=>mm(ln,pm(rt));var vh=(ln,rt)=>{var ve={};for(var z in ln)ph.call(ln,z)&&rt.indexOf(z)<0&&(ve[z]=ln[z]);if(ln!=null&&rf)for(var z of rf(ln))rt.indexOf(z)<0&&Ah.call(ln,z)&&(ve[z]=ln[z]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[3665],{87169:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={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"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},61481:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},76618:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},83471:function(){"use strict"},88010:function(ln,rt){"use strict";rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},76895:function(ln,rt){"use strict";rt.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},38476:function(){"use strict"},38674:function(){"use strict"},64790:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},ie),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));rt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},70145:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#D55",cx:18,cy:18,r:18}),React.createElement("path",{d:"M18 6a2.818 2.818 0 0 1 2.813 2.994l-.688 11.01a2.129 2.129 0 0 1-4.25 0l-.688-11.01A2.818 2.818 0 0 1 18 6Z",fill:"#172740"}),React.createElement("circle",{fill:"#172740",cx:18,cy:26.5,r:2.5})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNENTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0xOCA2YTIuODE4IDIuODE4IDAgMCAxIDIuODEzIDIuOTk0bC0uNjg4IDExLjAxYTIuMTI5IDIuMTI5IDAgMCAxLTQuMjUgMGwtLjY4OC0xMS4wMUEyLjgxOCAyLjgxOCAwIDAgMSAxOCA2WiIgZmlsbD0iIzE3Mjc0MCIvPjxjaXJjbGUgZmlsbD0iIzE3Mjc0MCIgY3g9IjE4IiBjeT0iMjYuNSIgcj0iMi41Ii8+PC9nPjwvc3ZnPg=="},80692:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:31,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4 7"),React.createElement("g",{transform:"translate(2 1)",fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#D55",strokeWidth:2,cx:14,cy:14,r:14}),React.createElement("path",{d:"M14 5a2 2 0 0 1 2 2v8a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2Z",fill:"#D55"}),React.createElement("circle",{fill:"#D55",cx:14,cy:21,r:2})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iI0Q1NSIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMTQiIGN5PSIxNCIgcj0iMTQiLz48cGF0aCBkPSJNMTQgNWEyIDIgMCAwIDEgMiAydjhhMiAyIDAgMSAxLTQgMFY3YTIgMiAwIDAgMSAyLTJaIiBmaWxsPSIjRDU1Ii8+PGNpcmNsZSBmaWxsPSIjRDU1IiBjeD0iMTQiIGN5PSIyMSIgcj0iMiIvPjwvZz48L3N2Zz4="},73420:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#19CB70",cx:18,cy:18,r:18}),React.createElement("path",{stroke:"#172740",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 18.85 15.274 24 26 14"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMxOUNCNzAiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIHN0cm9rZT0iIzE3Mjc0MCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik0xMCAxOC44NSAxNS4yNzQgMjQgMjYgMTQiLz48L2c+PC9zdmc+"},74413:function(){"use strict";function ln(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ln.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(ln.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(ln.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(ln.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof ln))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[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var rt=[];function ve(ee,a){var y=rt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function z(){var ee=rt.pop();return ee===void 0?new go.Point:ee}function Ie(ee){rt.push(ee)}function b(ee,a,y,x,E,te,re,fe,me){me||(me=new go.Point);var ge=ee-y,Ae=E-re,pe=NaN,ye=NaN;if(ge===0)if(Ae===0)ee===y&&(pe=ee,ye=a);else{var Ee=(te-fe)/Ae,Ce=te-Ee*E;pe=ee,ye=Ee*pe+Ce}else if(Ae===0){var xe=(a-x)/ge,ke=a-xe*ee;pe=E,ye=xe*pe+ke}else{var xe=(a-x)/ge,Ee=(te-fe)/Ae,ke=a-xe*ee,Ce=te-Ee*E;pe=(Ce-ke)/(xe-Ee),ye=xe*pe+ke}return me.x=pe,me.y=ye,me}function he(ee,a,y,x,E,te,re,fe,me,ge,Ae,pe,ye,Ee){var Ce=1-me,xe=me,ke=ee*Ce+y*xe,Me=a*Ce+x*xe,Oe=y*Ce+E*xe,Se=x*Ce+te*xe,ze=E*Ce+re*xe,Te=te*Ce+fe*xe,tt=ke*Ce+Oe*xe,Qe=Me*Ce+Se*xe,et=Oe*Ce+ze*xe,ot=Se*Ce+Te*xe,At=tt*Ce+et*xe,St=Qe*Ce+ot*xe;ge.x=ke,ge.y=Me,Ae.x=tt,Ae.y=Qe,pe.x=At,pe.y=St,ye.x=et,ye.y=ot,Ee.x=ze,Ee.y=Te}var de=new go.Spot(.156,.156),ae=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ln("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,te=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,a,y){var x=a/2,E=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 E.spot1=de,E.spot2=ae,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ee,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(ee,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(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,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(ee,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(ee,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(ee,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 ln("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(x=.5);var E=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(re.add(new go.PathSegment(go.PathSegment.Move,a/2+fe,a/2)),re.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,fe,fe).close())),te.spot1=de,te.spot2=ae,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ee,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(ee,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 ln("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ln("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,E=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var te=x%360;te<0&&(te+=360);var re=E%360,fe=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(fe,fe).add(new go.PathSegment(go.PathSegment.Arc,te,re,fe,fe,fe,fe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=le/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,te*y,a,(1-x)*y,(E+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ln("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,a)/2,te=a/2,re=y/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,re-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ln("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,a)/2,te=a/2,re=y/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,re-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ln("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var te=a/2,re=y/2,fe=Math.atan2(y,a),me=x-Math.min(Math.cos(fe)*x/2,te),ge=x-Math.min(Math.sin(fe)*x/2,re),E=new go.Geometry,Ae=new go.PathFigure(me,0,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a-me,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,a-me,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,me,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ln("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ln("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ln("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var te=.2,re=.3,fe=0,me=te*le;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+re)*a,(.5+fe)*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re)*a,(.5-me+fe)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re+.05)*a,(.5-me+fe-.02)*y)),te=.2,re=0,fe=-.3,me=te*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+re)*a,(.5+fe)*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re)*a,(.5-me+fe)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+re)*a,(.5+fe)*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re)*a,(.5-me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),te=.2,re=-.3,fe=0,me=te*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re-.05)*a,(.5-me+fe-.02)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+re)*a,(.5+fe)*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re)*a,(.5-me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var te=.1,re=.5,fe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(re+te)*a,fe*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*re,y*fe,te*a,te*a).close()),E=new go.PathFigure(a*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),fe=.75,E=new go.PathFigure((re+te)*a,fe*y,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*re,y*fe,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,E=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=.5,fe=.5,me=new go.PathFigure(re*a,(fe-te)*y);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),te=.4,E=le*.4;var ge=z(),Ae=z(),pe=z(),ye=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.42,ge,Ae,pe,ye,ye);var Ee=z(),Ce=z(),xe=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.58,ye,ye,xe,Ee,Ce);var ke=z(),Me=z(),Oe=z();he(re,fe+te,re-E,fe+te,re-te,fe+E,re-te,fe,.42,ke,Me,Oe,ye,ye);var Se=z(),ze=z(),Te=z();return he(re,fe+te,re-E,fe+te,re-te,fe+E,re-te,fe,.58,ye,ye,Te,Se,ze),me.add(new go.PathSegment(go.PathSegment.Move,Te.x*a,Te.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,Se.x*a,Se.y*y,ze.x*a,ze.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Te.x*a,Te.y*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ee.x*a,Ee.y*y,Ce.x*a,Ce.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*a,Oe.y*y,ke.x*a,ke.y*y,Me.x*a,Me.y*y).close()),Ie(ge),Ie(Ae),Ie(pe),Ie(ye),Ie(Ee),Ie(Ce),Ie(xe),Ie(ke),Ie(Me),Ie(Oe),Ie(Se),Ie(ze),Ie(Te),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,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 ln("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var E=(a-x)/2,te=E+x;return new go.Geometry().add(new go.PathFigure(te,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.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(ee,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(ee,a,y){var x=new go.Geometry,E=le*.4,te=.4,re=.5,fe=.5,me=z(),ge=z(),Ae=z(),pe=z(),ye=new go.PathFigure((re-te)*a,fe*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.44,Ae,pe,ge,me,me),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y));var Ee=ve(ge.x,ge.y);he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.56,me,me,ge,Ae,pe);var Ce=ve(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.95*.9)*a,Ee.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ee.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,(Ce.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),te=.35,E=le*.35;var xe=new go.PathFigure(re*a,(fe-te)*y,!1);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y));var ke=new go.PathFigure((re-te)*a,fe*y,!1);return x.add(ke),Ie(me),Ie(ge),Ie(Ae),Ie(pe),Ie(Ee),Ie(Ce),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(ee,a,y){var x=new go.Geometry,E=.375,te=0,re=-.125,fe=E*le,me=new go.PathFigure((.525+te)*a,(.5+E+re)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*a,(.5+re)*y,(.5+fe+te)*a,(.5+E+re)*y,(.5+E+te)*a,(.5+fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-E+re)*y,(1-.5+E+te)*a,(.5-fe+re)*y,(.5+fe+te)*a,(.5-E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+E+re)*y,(.5-E+te)*a,(.5+fe+re)*y,(.5-fe+te)*a,(.5+E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,te=0,re=-.125,fe=E*le;var me=new go.PathFigure((1-.5+E+te)*a,(.5+re)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+E+re)*y,(.5+E+te)*a,(.5+fe+re)*y,(.5+fe+te)*a,(.5+E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5+E+re)*y,(.5-E+te)*a,(.5+fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y,(.5-fe+te)*a,(.5-E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*a,(.5+re)*y,(.5+fe+te)*a,(.5-E+re)*y,(1-.5+E+te)*a,(.5-fe+re)*y));var me=new go.PathFigure((.525+te)*a,(.5+E+re)*y,!1);return x.add(me),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(ee,a,y){var x=ee?ee.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(ee,a,y){var x=ee?ee.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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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 ln("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ln("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-x)*a,re=(.5-E/2)*y,fe=(.5+E/2)*y,me=new go.Geometry,ge=new go.PathFigure(0,re,!0);me.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,re)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,fe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),me.spot1=new go.Spot(0,re/y);var Ae=b(0,fe/y,1,fe/y,te/a,1,1,.5,z());return me.spot2=new go.Spot(Ae.x,Ae.y),Ie(Ae),me}),go.Shape.setFigureParameter("Arrow2",0,new ln("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ln("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var te=a-x,re=(y-E)/2,fe=re+E,me=new go.Geometry,ge=new go.PathFigure(0,re,!0);me.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,re)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,fe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),me.spot1=new go.Spot(0,re/y);var Ae=b(0,fe/y,1,fe/y,te/a,1,1,.5,z());return me.spot2=new go.Spot(Ae.x,Ae.y),Ie(Ae),me}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ln("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var me=b(0,.5,.3,0,0,E/y,.1,E/y,z());return re.spot1=new go.Spot(me.x,me.y),me=b(.7,1,1,.5,0,te/y,1,te/y,me),re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ln("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ln("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var te=(y-x)/2,re=te+x,fe=(y-E)/2,me=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,te=(y-x)/2,re=te+x,fe=0,me=y):(te=0,re=y,fe=0,me=y));var ge=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);ge.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close());var pe=b(0,.5,.3,fe/y,0,te/y,1,te/y,z());return ge.spot1=new go.Spot(pe.x,pe.y),pe=b(.7,me/y,1,.5,0,re/y,1,re/y,pe),ge.spot2=new go.Spot(pe.x,pe.y),Ie(pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ln("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*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,.2*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(0,E/y);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("IBeamArrow2",0,new ln("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ln("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var te=(y-x)/2,re=te+x,fe=(y-E)/2,me=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,te=(y-x)/2,re=te+x,fe=0,me=y):(te=0,re=y,fe=0,me=y));var ge=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);ge.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close()),ge.spot1=new go.Spot(0,te/y);var pe=b(.7,me/y,1,.5,0,re/y,1,re/y,z());return ge.spot2=new go.Spot(pe.x,pe.y),Ie(pe),ge}),go.Shape.setFigureParameter("Pointer",0,new ln("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var re=b(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(re.x,re.y),Ie(re),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ln("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E.spot1=new go.Spot(x,.35);var re=b(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(re.x,re.y),Ie(re),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ln("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(.2,.3);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ln("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var E=(y-x)/2,te=E+x;x>y&&(E=0,te=y);var re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(.2,E/y);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("SquareArrow",0,new ln("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(0,.9*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(0,x,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),re.add(new go.PathSegment(go.PathSegment.Line,0,x));var fe=new go.PathFigure(a,x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+te)*a,2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(0,y-x,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*x));var fe=new go.PathFigure(0,y-x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-te)*a,y-2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(x,0,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0));var fe=new go.PathFigure(x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*x,y)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(a-x,0,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var fe=new go.PathFigure(a-x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*x,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,E=.2,te=.1,re=le*E,fe=le*te,me=.5,ge=.1,Ae=new go.PathFigure(me*a,(ge+te)*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me-E)*a,ge*y,(me-re)*a,(ge+te)*y,(me-E)*a,(ge+fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-te)*y,(me-E)*a,(ge-fe)*y,(me-re)*a,(ge-te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me+E)*a,ge*y,(me+re)*a,(ge-te)*y,(me+E)*a,(ge-fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+te)*y,(me+E)*a,(ge+fe)*y,(me+re)*a,(ge+te)*y));var pe=.05,ye=le*pe;me=.05,ge=.25;var Ee=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),me=.95,ge=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me+pe)*a,ge*y,(me+ye)*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ye=le*pe,me=.825,ge=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ye=le*pe,me=.5,ge=.7,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ye=le*pe,me=.175,ge=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ye=le*pe,me=.05,ge=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y,(me-ye)*a,(ge-pe)*y)),Ee.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 ln("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,te=new go.PathFigure(a,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(0,E*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(a,.1*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-te)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+E)*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(a,.1*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-te)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=le*.2,re=new go.PathFigure(0,.2*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var fe=new go.PathFigure(0,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(0,E*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var re=new go.PathFigure(0,0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,re=le*.5,fe=.5,me=new go.PathFigure(a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,y,a,(fe+re)*y,(fe+re)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,fe*y,(fe-re)*a,y,0,(fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,0,0,(fe-re)*y,(fe-re)*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,a,fe*y,(fe+re)*a,0,a,(fe-re)*y));var ge=new go.PathFigure((te+E)*a,(te+E)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),ge.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(te+E)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(.5*a,y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+E)*y,(te+E)*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.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(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,re=new go.PathFigure(0,0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var fe=new go.PathFigure(.5*E*a,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(a,te*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+E)*y,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y));var fe=new go.PathFigure(a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var re=new go.PathFigure(0,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var re=new go.PathFigure(0,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure((1-E)*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(a,te*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+E)*y,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y));var fe=new go.PathFigure(a,te*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,te*y));var me=new go.PathFigure(.8*a,.75*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,E=le*.1,te=.1,re=.9,fe=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((re+te)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe-te)*y,(re+te)*a,(fe-E)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.4,re=le*.1,fe=.1,me=.9,ge=.5,Ae=new go.PathFigure(.8*a,.5*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+E)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((me+fe)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y,(me+re)*a,(ge+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,ge*y,(me-re)*a,(ge+fe)*y,(me-fe)*a,(ge+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y,(me-re)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,ge*y,(me+re)*a,(ge-fe)*y,(me+fe)*a,(ge-re)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=0,fe=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(re+te)*a,(fe-E)*y,.7*a,(fe-te)*y)),E=.1,te=le*.1,re=.9,fe=.5;var ge=new go.PathFigure((re-E)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=0,fe=.5,me=new go.PathFigure(0,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(re+te+te)*a,(fe-E)*y,.8*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(fe+te)*y,(re+te+te)*a,(fe+E)*y)),me.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(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=.2,fe=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.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,(fe+te)*y,(re+te)*a,(fe+E)*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,(re+te)*a,(fe-E)*y,.7*a,(fe-te)*y)),E=.1,te=le*.1,re=.9,fe=.5;var Ae=new go.PathFigure((re-E)*a,fe*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=.2,fe=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.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,(re+te)*a,(fe-E)*y,.9*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(fe+te)*y,(re+te)*a,(fe+E)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,E=le*.1,te=.1,re=.1,fe=.5,me=new go.PathFigure((re-E*.5)*a,y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.3,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.5,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.9,me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E*.5)*a,y,(re+te)*a,0,(re+E)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=.5,fe=.5,me=new go.PathFigure((re-te)*a,fe*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe-te)*y,(re+te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Move,(re-te+.1)*a,fe*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te-.1)*a,fe*y,re*a,(fe-te)*y,re*a,(fe+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=a,te=y;a=a*.38,y=y*.6;var re=le*.8,fe=.8,me=0,ge=.5,Ae=(E-a)/2,pe=(te-y)/2,ye=new go.PathFigure(me*a+Ae,(ge+fe)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe+re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge-fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge-re)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge+re)*y+pe,me*a+Ae,(ge+fe)*y+pe).close()),re=le*.4,fe=.4,me=.2,ge=.5;var Ee=new go.PathFigure(me*a+Ae,(ge+fe)*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe+re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge-fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge-re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge+re)*y+pe,me*a+Ae,(ge+fe)*y+pe).close()),re=le*.2,fe=.2,me=.5,ge=.5;var Ce=new go.PathFigure((me-fe)*a+Ae,ge*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),re=le*.4,fe=.4,me=.8,ge=.5;var xe=new go.PathFigure(me*a+Ae,(ge-fe)*y+pe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe-re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge+fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge+re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge-re)*y+pe,me*a+Ae,(ge-fe)*y+pe).close()),re=le*.8,fe=.8,me=1,ge=.5;var ke=new go.PathFigure(me*a+Ae,(ge-fe)*y+pe,!0);return x.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe-re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge+fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge+re)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge-re)*y+pe,me*a+Ae,(ge-fe)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var re=new go.PathFigure(.6*a,y,!0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var fe=new go.PathFigure(0,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,E=le*.4,te=.4,re=.5,fe=.5,me=z(),ge=z(),Ae=z(),pe=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.5,me,me,ge,Ae,pe);var ye=ve(ge.x,ge.y),Ee=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),he(re-te,fe,re-te,fe-E,re-E,fe-te,re,fe-te,.5,Ae,pe,ge,me,me),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),E=le*.3,te=.3,he(re-te,fe,re-te,fe-E,re-E,fe-te,re,fe-te,.5,Ae,pe,ge,me,me),Ee.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,pe.x*a,pe.y*y,Ae.x*a,Ae.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.5,me,me,ge,Ae,pe),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,Ae.x*a,Ae.y*y).close());var Ee=new go.PathFigure(.45*a,0,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ie(me),Ie(ge),Ie(Ae),Ie(pe),Ie(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function te(re,fe,me){re.add(new go.PathSegment(go.PathSegment.Move,(.3+fe)*a,(.8+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.5+fe)*a,(.5+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.1+fe)*a,(.5+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.3+fe)*a,(.8+me)*y).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.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(ee,a,y){var x=new go.Geometry,E=.5,te=0,re=0,fe=E*le,me=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,Ae=1,pe=.5,ye=.5,Ee=0,Ce=new go.PathFigure(me*a,(1-ge)*y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,pe*y,Ae*a,.7*y,Ae*a,pe*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+te)*a,(Ee+te)*y,(.5+E+te)*a,(.5-fe+te)*y,(.5+fe+te)*a,(.5-E+te)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-E+te)*a,(.5+fe+re)*y,(.5-fe+te)*a,.9*y)),Ce.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(a,y,!1);x.add(te);var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var re=.5-.285,fe=.5,me=re,ge=Math.PI/4,Ae=4*(1-Math.cos(ge))/(3*Math.sin(ge)),pe=Ae*.5,ye=re,Ee=re,Ce=Ae*ye,xe=Ae*Ee;te.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ye)*a,me*y,(fe-(Ce+ye)/2)*a,(me+(Ee+xe)/2)*y,(fe-ye)*a,(me+xe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-Ee)*y,(fe-ye)*a,(me-xe)*y,(fe-Ce)*a,(me-Ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ye)*a,me*y,(fe+Ce)*a,(me-Ee)*y,(fe+ye)*a,(me-xe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(fe+ye)*a,(me+xe)*y,(fe+(Ce+ye)/2)*a,(me+(Ee+xe)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var ke=new go.PathFigure(.2*a,y,!1);x.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Me=new go.PathFigure(.8*a,y,!1);return x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(a,y,!1);x.add(te);var re=new go.PathFigure(.1*a,y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var re=new go.PathFigure(.675*a,.575*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),re.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=new go.PathFigure(a,E*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+te)*y,(E+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-te)*a,y,0,(E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-te)*y,(E-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+te)*a,0,a,(E-te)*y));var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var re=new go.PathFigure(0,.6*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var re=.1,fe=le*.1,me=.2,ge=.9,Ae=new go.PathFigure((me-re)*a,ge*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-re)*y,(me-re)*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,ge*y,(me+fe)*a,(ge-re)*y,(me+re)*a,(ge-fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+re)*y,(me+re)*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,ge*y,(me-fe)*a,(ge+re)*y,(me-re)*a,(ge+fe)*y).close()),re=.1,fe=le*.1,me=.8,ge=.9;var pe=new go.PathFigure((me-re)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-re)*y,(me-re)*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,ge*y,(me+fe)*a,(ge-re)*y,(me+re)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+re)*y,(me+re)*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,ge*y,(me-fe)*a,(ge+re)*y,(me-re)*a,(ge+fe)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var re=new go.PathFigure(.5*a,.8*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var fe=new go.PathFigure(.5*a,.7*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var me=.1,ge=le*.1,Ae=.1,pe=.9,ye=new go.PathFigure((Ae-me)*a,pe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe-me)*y,(Ae-me)*a,(pe-ge)*y,(Ae-ge)*a,(pe-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+me)*a,pe*y,(Ae+ge)*a,(pe-me)*y,(Ae+me)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe+me)*y,(Ae+me)*a,(pe+ge)*y,(Ae+ge)*a,(pe+me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-me)*a,pe*y,(Ae-ge)*a,(pe+me)*y,(Ae-me)*a,(pe+ge)*y)),me=.1,ge=le*.1,Ae=.4,pe=.9;var Ee=new go.PathFigure((Ae-me)*a,pe*y,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe-me)*y,(Ae-me)*a,(pe-ge)*y,(Ae-ge)*a,(pe-me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+me)*a,pe*y,(Ae+ge)*a,(pe-me)*y,(Ae+me)*a,(pe-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe+me)*y,(Ae+me)*a,(pe+ge)*y,(Ae+ge)*a,(pe+me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-me)*a,pe*y,(Ae-ge)*a,(pe+me)*y,(Ae-me)*a,(pe+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var re=new go.PathFigure(.55*a,.4*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var Ae=.05,pe=le*.05,ye=.175,Ee=.95,fe=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.375,Ee=.95,me=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.625,Ee=.95,ge=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.825,Ee=.95,Ce=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y).close());var xe=new go.PathFigure(0,y,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var re=new go.PathFigure(.15*a,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var fe=.05,me=le*.05,ge=.35,Ae=.775,pe=new go.PathFigure((ge-fe)*a,Ae*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(Ae-fe)*y,(ge-fe)*a,(Ae-me)*y,(ge-me)*a,(Ae-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+fe)*a,Ae*y,(ge+me)*a,(Ae-fe)*y,(ge+fe)*a,(Ae-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(Ae+fe)*y,(ge+fe)*a,(Ae+me)*y,(ge+me)*a,(Ae+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-fe)*a,Ae*y,(ge-me)*a,(Ae+fe)*y,(ge-fe)*a,(Ae+me)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,E=.3,te=le*.3,re=.5,fe=.7,me=new go.PathFigure((re-E)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=.5,fe=.5,me=new go.PathFigure((re-E)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.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(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=.5,fe=.5,me=new go.PathFigure((re-E)*a,fe*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y).close()),E=.05,te=le*.05,re=.5,fe=.8;var ge=new go.PathFigure((re-E)*a,fe*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var re=new go.PathFigure(.402*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var fe=new go.PathFigure(.678*a,.85*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var me=new go.PathFigure(.5*a,.1*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var re=new go.PathFigure(a*.408,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),re.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var fe=new go.PathFigure(a*.612,y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var me=new go.PathFigure(a*.816,y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var re=new go.PathFigure(a*.055,.13*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var fe=new go.PathFigure(a*.055,.18*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var me=new go.PathFigure(a*1,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var re=new go.PathFigure(a*.11,y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var me=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,E=8,te=E*le,re=new go.PathFigure(E,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-te,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,te,y,0,y-te)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var fe=new go.PathFigure(a*.83,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var me=new go.PathFigure(a*.83,y*1,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),me.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(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,te=y*.8,re=new go.Geometry,fe=new go.PathFigure(x,0,!0);return re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-E,a-E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),fe.add(new go.PathSegment(go.PathSegment.Line,x,te)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,E,te,0,te-E)),fe.add(new go.PathSegment(go.PathSegment.Line,0,x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(re.spot1=new go.Spot(0,0,E,E),re.spot2=new go.Spot(1,.8,-E,-E)):(re.spot1=go.Spot.TopLeft,re.spot2=new go.Spot(1,.8)),re}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var re=new go.PathFigure(a*.28,y*.37,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),re.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),re.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,E=15,te=E*le,re=new go.PathFigure(a*.62,y*.475,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-te,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,te,y,0,y-te)),re.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),re.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),re.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var re=new go.PathFigure(a*.4,y*0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),re.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var re=new go.PathFigure(a*.5,y*0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ln={},rt="5.0",ve={},z=null,Ie=!1,b=!1,he=null,de=!1,ae=null,le=null,oe=0;oe4?parseFloat(ft):5};ln.setHTML5Codebase=function(ft,it){le=ft,ot(ft,it)},ln.setJavaCodebase=ln.setJavaCodebaseVersion=ln.isCompiledInstalled=ln.setPreCompiledScriptPath=ln.setPreCompiledResourcePath=function(){},ln.setHTML5CodebaseVersion=function(ft,it){var ut=parseFloat(ft);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ae=ft,et(ft,it)},ln.getHTML5CodebaseVersion=function(){return ee},ln.getParameters=function(){return ve},ln.setFontsCSSURL=function(ft){re=ft},ln.setGiacJSURL=function(ft){},ln.setJNLPFile=function(ft){ce=ft},ln.setJNLPBaseDir=function(ft){},ln.inject=function(){function ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var it="auto",ut=ve.id,Pt,Lt=!1,Qt=0;Qt=5)return!0;var ft=ln.getAppletObject();return ft&&typeof ft.recalculateEnvironments=="function"?(ft.recalculateEnvironments(),!0):!1},ln.startAnimation=function(){var ft=ln.getAppletObject();return ft&&typeof ft.startAnimation=="function"?(ft.startAnimation(),!0):!1},ln.stopAnimation=function(){var ft=ln.getAppletObject();return ft&&typeof ft.stopAnimation=="function"?(ft.stopAnimation(),!0):!1},ln.getAppletObject=function(){var ft=ve.id!==void 0?ve.id:"ggbApplet";return window[ft]},ln.resize=function(){};var Ce=function(ft,it,ut){var Pt=document.createElement("param");Pt.setAttribute("name",it),Pt.setAttribute("value",ut),ft.appendChild(Pt)},xe=function(ft){return ft&&ft!=="false"},ke=function(ft,it,ut){me(ee)<=4.2&&(ut=!0);var Pt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Pt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Lt=document.createElement("div");Lt.classList.add("appletParameters","notranslate");var Qt=it.width,lt=it.height;if(it.disableAutoScale=it.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():it.disableAutoScale,it.width!==void 0)if(me(ee)<=4.4)xe(it.showToolBar)&&(it.height-=7),xe(it.showAlgebraInput)&&(it.height-=37),it.width<605&&xe(it.showToolBar)&&(it.width=605,Qt=605);else{var nt=100;(xe(it.showToolBar)||xe(it.showMenuBar))&&(it.hasOwnProperty("customToolBar")&&(it.customToolbar=it.customToolBar),nt=xe(it.showMenuBar)?245:155),Qt=5?(it.appletOnLoad=function(gt){var Xe=ft.querySelector(".ggb_preview");Xe&&Xe.parentNode.removeChild(Xe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ke),window.GGBT_wsf_view&&$(window).trigger("resize"),kt(gt)},_e||Ke.appendChild(Ue)):Lt.appendChild(Ue),Ke.appendChild(Lt),_e||ft.appendChild(Ke),setTimeout(function(){ln.resize()},1)}else{var Ne=document.createElement("div");Ne.className="applet_scaler",Ne.style.position="relative",Ne.style.display="block",Ne.appendChild(Lt),ft.appendChild(Ne),it.appletOnLoad=function(gt){ln.resize(),kt(gt)}}function He(gt,Xe){Xe&&typeof Xe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(gt,Xe.appletOnLoad):renderGGBElement(gt),At("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Xe)}function Pe(gt,Xe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:gt,params:Xe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Nt){He(Nt.article,Nt.params)}),html5AppletsToProcess=null)},me(ee)<5&&(gt.className+=" geogebraweb")):He(gt,Xe)}if(Pt){scriptLoadStarted=!0;for(var Fe=0;Fe0?(Ye.remove(),Ke.attr("id","fullscreencontent").show(),jQuery(kt).append(Ke),window.dispatchEvent(new Event("resize"))):ke(Ye,it,!1),window.GGBT_wsf_view.launchFullScreen(kt)}else ne=Pt,ke(ft,it,!1);if(!window.GGBT_wsf_view)for(lt=0;ltft/4*3&&(Ye=ft/4*3),kt=Ye/5.8,nt.setAttribute("src",E),nt.setAttribute("width",Ye),nt.setAttribute("height",kt);var Ke=(ft-Ye)/2,_e=(it-kt)/2;nt.style.left=Ke+"px",nt.style.top=_e+"px",Lt.appendChild(nt)}}return Lt.appendChild(lt),Lt},tt=function(ft){return ft=ft.toLowerCase(),ft==="html5"||ft==="screenshot"?ft:"html5"},Qe=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(ft,it){if(ee=ft,it){ot(ee,!0);return}var ut=!Ie;if(ut){var Pt=me(ee);!isNaN(Pt)&&Pt<4.4&&(ut=!1)}var Lt,Qt;window.location.protocol.substr(0,4)==="http"?Lt=window.location.protocol:Lt="http:";var lt=ee.indexOf("//");lt>0?Qt=ee:lt===0?Qt=Lt+ee:Qt="https://www.geogebra.org/apps/5.2.814.0/";for(var nt in Qe)if(ee.slice(Qe[nt].length*-1)===Qe[nt]||ee.slice((Qe[nt].length+1)*-1)===Qe[nt]+"/"){ot(Qt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!xe(ve.showToolBar)&&!xe(ve.showMenuBar)&&!xe(ve.showAlgebraInput)&&!xe(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Qt+="webSimple/":Qt+="web3d/",ot(Qt,!1)},ot=function(ft,it){if(ft.requirejs){se=ft;return}ft.slice(-1)!=="/"&&(ft+="/"),se=ft,it===null&&(it=ft.indexOf("http")===-1),ue=it,a="web.nocache.js",y=!1;var ut=se.split("/");ut.length>1&&(!it&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Qe.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=ft.split("/"),ee=ut[ut.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var Pt=parseFloat(ee);Pt!==NaN&&Pt<5&&ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead."),et("5.0",it))},At=function(ft,it){window.console&&window.console.log&&(!it||typeof it.showLogging=="undefined"||it.showLogging&&it.showLogging!=="false")&&console.log(ft)};ve.material_id!==void 0?pe(St):St();function St(){var ft=rt;ae!==null?ft=ae:parseFloat(ft)<5&&(ft="5.0"),et(ft,!1),le!==null&&ot(le,ue),de=!0}return ln},GGBAppletUtils=function(){"use strict";function ln(){return window.GGBT_wsf_edit!==void 0}function rt(de,ae){ae!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+ae+","+ae+")",de.style.webkitTransform="scale("+ae+","+ae+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ve(de,ae,le,oe,ie,ce){var se=null;if(ce!=null&&ce!="")for(var ue=de.parentNode;ue!=null;)if((" "+ue.className+" ").indexOf(" "+ce+" ")>-1){se=ue;break}else ue=ue.parentNode;var ne=0,ee=0,a=0,y=0,x=0,E=0,te=0;if(se)ne=se.offsetWidth,ee=Math.max(oe?se.offsetWidth:0,se.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),de){var re=de.getBoundingClientRect();re.left>0&&re.left<=ne&&(ie===void 0||!ie)&&(document.dir==="rtl"?(x=ne-re.width-re.left,E=a<=480?10:30):(E=re.left,x=a<=480?10:30),y=E+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var fe=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return de&&((le===void 0||!le)&&ae>0&&ae+y1&&(ce=!0)),ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))ie=z(de,ae,ce,le,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?ie:Math.min(oe,ie)}function b(de){var ae=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),ie=(ae-oe.width)/2,ce=(le-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ie<40?de.style.left="40px":de.style.left=ie+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=ie+"px")}function he(de,ae){var le=de.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ae.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var oe=Ie(ae,de);ln()&&le.setAttribute("data-param-scale",oe);for(var ie=null,ce=0;ce=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(ln){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ln){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ln){var rt=c[ln];return rt==null?null:rt},r=d,webModule.__errFn=e}function B(){function ln(de){var ae=de.lastIndexOf(rb);ae==-1&&(ae=de.length);var le=de.indexOf(sb);le==-1&&(le=de.length);var oe=de.lastIndexOf(tb,Math.min(le,ae));return oe>=O?de.substring(O,oe+P):W}function rt(de){if(!de.match(/^\w+:\/\//)){var ae=o.createElement(ub);ae.src=de+vb,de=ln(ae.src)}return de}function ve(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function z(){for(var de=o.getElementsByTagName(_),ae=O;aeO?de[de.length-P].href:W}function b(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var he=ve();return he==W&&(he=z()),he==W&&(he=Ie()),he==W&&b()&&(he=ln(o.location.href)),he=rt(he),he}function C(ln){return ln.match(/^\//)||ln.match(/^[a-zA-Z]+:\/\//)?ln:webModule.__moduleBase+ln}function D(){var ln=[],rt=O,ve=[],z=[];function Ie(de){var ae=z[de](),le=ve[de];if(ae in le)return ae;var oe=[];for(var ie in le)oe[le[ie]]=ie;throw r&&r(de,oe,ae),null}if(__gwt_isKnownPropertyValue=function(de,ae){return ae in ve[de]},webModule.__getPropMap=function(){var de={};for(var ae in ve)ve.hasOwnProperty(ae)&&(de[ae]=Ie(ae));return de},webModule.__computePropValue=Ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var b;try{b=Cb;var he=b.indexOf(Db);he!=-1&&(rt=parseInt(b.substring(he+P),$),b=b.substring(O,he))}catch(de){}return webModule.__softPermutationId=rt,C(b+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})()},64881:function(ln,rt,ve){"use strict";ve.d(rt,{$Y:function(){return Qt},A0:function(){return it},EP:function(){return de},F_:function(){return oe},Fk:function(){return He},G9:function(){return le},GB:function(){return ot},GR:function(){return E},GW:function(){return Pt},Hh:function(){return Pe},Hp:function(){return ne},Ir:function(){return Ie},N$:function(){return At},NZ:function(){return Oe},Nv:function(){return Ne},OA:function(){return Ke},OJ:function(){return Te},QF:function(){return Xe},RS:function(){return ge},RY:function(){return ht},Rj:function(){return Se},SX:function(){return ye},Tp:function(){return lt},Ui:function(){return ft},V1:function(){return Qe},Vn:function(){return pe},dL:function(){return Ue},fo:function(){return Ce},gG:function(){return xe},gK:function(){return x},hK:function(){return ee},i3:function(){return ce},ib:function(){return a},lS:function(){return y},m5:function(){return ae},n4:function(){return z},n_:function(){return se},oP:function(){return nt},p2:function(){return ut},pl:function(){return Me},rM:function(){return fe},sM:function(){return ue},t2:function(){return Ae},tD:function(){return te},u8:function(){return re},um:function(){return gt},vm:function(){return _e},wQ:function(){return ie},wj:function(){return tt},wt:function(){return ke},yS:function(){return me},yi:function(){return b},ym:function(){return ze},z2:function(){return he}});const z="FETCH_TASK_START",Ie="FETCH_TASK_FAILURE",b="FETCH_TASK_SUCCESS",he="UPDATE_TASK_DATA",de="HIDE_EVALUATE_RESULT",ae="SHOW_EVALUATE_RESULT",le="UPDATE_TIMESTRAP",oe="MOVE_X",ie="MOVE_Y",ce="TRIGGER_RIGHT_PANEL_MASK ",se="SET_ACTIVE_INDEX",ue="GET_TASK_LIST",ne="SHOW_TASK_LIST",ee="HIDE_TASK_LIST",a="SET_TASK_STAR",y="TRIGGER_ENLARGE_UNITY3D ",x="TRIGGER_TAB_FIXED ",E="GET_DISCUSSES",te="SHOW_DISCUSSES_LOADING",re="TOP_OR_DOWN_DISCUSS",fe="PLUS_DISCUSS",me="SET_ACTION_TYPE",ge="SHOW_REWARD_DIALOG",Ae="CANCEL_REWARD_DIALOG",pe="SET_REWARD",ye="ACTIVE_DISCUSS_INDEX",Ee="CREATE_DISCUSS",Ce="DISABLE_DISCUSS",xe="CHANGE_PAGE",ke="SHOW_ANSWER_LOADING",Me="FETCH_ANSWER_INFO",Oe="HIGH_TIP_MODAL",Se="SHOW_TIP_MODAL",ze="SELECT_UNLOCK_ANSWER",Te="SET_CHOOSE_ANSWERS",tt="EVAL_CHOOSE_START",Qe="EVAL_CHOOSE_END",et="SHOW_REP_loading",ot="FETCH_REP_CONTENT",At="EDIT_REP_CONTENT",St="SET_REP_PATH",ft="SHOW_EVALUATE_LOADING",it="HIDE_EVALUATE_LOADING",ut="SET_EVALUATE_MESSAGE",Pt="SET_SHOW_DIR",Lt="SET_EDITOR_SETTING",Qt="SET_EDITOR_THEME",lt="SET_EDITOR_FONTSIZE",nt="SET_REPOS",Ye="SHOW_PATH_LIST",kt="HIDE_PATH_LIST",Ke="HIDE_PICTURE_VIEW",_e="SHOW_PICTURE_VIEW",Ue="SHOW_NOTICE",Ne="HIDE_NOTICE",He="SHOW_CASE_NOTICE",Pe="HIDE_CASE_NOTICE",Fe="SET_TAB_INDEX",Le="SET_SSH_TABS",Ve="SET_SSH_CONFIGDATA",$e="SET_SSH_CONFIGDATAARR",ht="SET_VNC_LOADING ",gt="ON_TAB_TO_SPACE ",Xe="ON_AUTO_FORMAT "},86955:function(ln,rt,ve){"use strict";ve.d(rt,{KQ:function(){return ue},KY:function(){return oe},OY:function(){return ae},S8:function(){return le},U_:function(){return se},_Z:function(){return he},ae:function(){return de},o7:function(){return Ie},rd:function(){return ce},wJ:function(){return b},wg:function(){return ie}});var z=ve(99064);function Ie(ne,ee=1){return(0,z.U2)("/discusses.json",{container_type:"Shixun",container_identifier:ne,page:ee-1})}function b(ne,ee){return(0,z.v_)(`/discusses/${ne}/top_or_down_discuss.json`,{top:ee})}function he(ne,ee){return(0,z.v_)(`/discusses/${ne}/disable_or_open_discuss.json`,{is_disable:!!ee})}function de(ne,ee){return(0,z.v_)(`/discusses/${ne}/plus.json`,{container_type:"Discuss",type:ee?1:0})}function ae(ne,ee){return(0,z.v_)(`/discusses/${ne}/hidden.json`,ee)}function le(ne,ee){return(0,z.v_)(`/discusses/${ne}/reward_code.json`,ee)}function oe(ne){return(0,z.ZP)(`/api/discusses/${ne}.json`,{method:"delete"})}function ie(ne,ee){return(0,z.v_)(`/discusses/${ne}/reply.json`,{container_type:"Shixun",content:ee})}function ce(ne){return(0,z.v_)("/discusses.json",ne)}function se(ne){return(0,z.v_)("/discusses/ai_reply.json",ne)}function ue(ne,ee){return(0,z.v_)(`/discusses/${ne}/turing.json`,ee)}},36045:function(ln,rt,ve){"use strict";ve.d(rt,{G0:function(){return Ne},JW:function(){return St},Jd:function(){return Te},Kl:function(){return ft},L5:function(){return a},MH:function(){return ot},MI:function(){return nt},Qo:function(){return ge},SO:function(){return ee},Tf:function(){return te},VT:function(){return Me},XO:function(){return ue},Xy:function(){return fe},Y0:function(){return Ce},Ye:function(){return _e},Yv:function(){return lt},ZH:function(){return Pt},am:function(){return ze},bD:function(){return Ye},eA:function(){return me},fA:function(){return ut},fY:function(){return pe},g6:function(){return ne},g7:function(){return kt},gT:function(){return ye},gn:function(){return Lt},h$:function(){return Qt},hG:function(){return re},i8:function(){return it},j3:function(){return At},lH:function(){return Qe},li:function(){return y},n4:function(){return x},pU:function(){return xe},qK:function(){return E},sA:function(){return ke},sP:function(){return et},t$:function(){return tt},wj:function(){return Ue},zl:function(){return Ae}});var z=ve(99064),Ie=ve(955),b=Object.defineProperty,he=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(He,Pe,Fe)=>Pe in He?b(He,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):He[Pe]=Fe,oe=(He,Pe)=>{for(var Fe in Pe||(Pe={}))de.call(Pe,Fe)&&le(He,Fe,Pe[Fe]);if(he)for(var Fe of he(Pe))ae.call(Pe,Fe)&&le(He,Fe,Pe[Fe]);return He},ie=(He,Pe,Fe)=>new Promise((Le,Ve)=>{var $e=Xe=>{try{gt(Fe.next(Xe))}catch(Nt){Ve(Nt)}},ht=Xe=>{try{gt(Fe.throw(Xe))}catch(Nt){Ve(Nt)}},gt=Xe=>Xe.done?Le(Xe.value):Promise.resolve(Xe.value).then($e,ht);gt((Fe=Fe.apply(He,Pe)).next())});const ce=(0,Ie.oP)(),se={};ce!=null&&ce.homework_common_id&&(se.homework_common_id=ce==null?void 0:ce.homework_common_id),ce!=null&&ce.exercisesId&&(se.exercise_id=ce==null?void 0:ce.exercisesId),console.log(ce,se,"urlParamsAll");function ue(He,Pe){return(0,z.U2)(`tasks/${He}.json`,oe(oe({},Pe),se))}function ne(He,Pe={}){return(0,z.U2)(`myshixuns/${He}/challenges.json`,oe({},Pe))}function ee(He,Pe){return(0,z.U2)(`myshixuns/${He}/subject_challenges.json`,Pe)}function a(He,Pe,Fe){return(0,z.U2)(`tasks/${He}/star.json`,{shixun_id:Pe,star:Fe})}function y(He,Pe){return Pe.path&&(Pe.path=encodeURIComponent(Pe.path)),(0,z.U2)(`tasks/${He}/rep_content.json`,oe(oe({},Pe),se))}function x(He,Pe){return(0,z.v_)(`myshixuns/${He}/update_file.json`,oe(oe({},Pe),se))}function E(He,Pe){return(0,z.U2)(`tasks/${He}/reset_original_code.json`,oe(oe({},Pe),se))}function te(He,Pe){return(0,z.v_)(`myshixuns/${He}/reset_repository.json`,Pe)}function re(He,Pe){return(0,z.U2)(`tasks/${He}/reset_passed_code.json`,oe(oe({},Pe),se))}function fe(He,Pe){return(0,z.v_)(`tasks/${He}/game_build.json`,oe(oe({},Pe),se))}function me(He){return(0,z.ZP)("http://localhost:49352/api/game_build",{method:"post",body:He})}function ge(He,Pe){return(0,z.U2)(`tasks/${He}/game_status.json`,oe(oe({},Pe),se))}function Ae(He,Pe){return(0,z.v_)(`tasks/${He}/choose_build.json`,oe(oe({},Pe),se))}function pe(He){return(0,z.U2)(`myshixuns/${He}/get_remaining_time.json`)}function ye(He){return(0,z.U2)(`tasks/${He}/picture_display.json`,se)}function Ee(He,Pe){return get(`courses/${He}/inform_detail.json`,Pe)}function Ce(He){return(0,z.v_)(`tasks/${He}/plus_or_cancel_praise.json`)}function xe(He,Pe={}){return(0,z.v_)(`myshixuns/${He}/repository.json`,Pe)}function ke(He,Pe={}){return(0,z.U2)(`myshixuns/${He}/start.json`,Pe)}function Me(He,Pe={}){return(0,z.v_)(`myshixuns/${He}/force_delete_pod.json`,Pe)}function Oe(He,Pe={}){return get(`myshixuns/${He}/set_tpisession.json`,Pe)}function Se(He){return get(`myshixuns/${He}/reset_pod.json`)}function ze(He,Pe){return(0,z.U2)(`myshixuns/${He}/reset_pod.json`,Pe)}function Te(He,Pe){return(0,z.ZP)(`/api/tasks/${He}/reboot_esc.json`,{method:"post",body:Pe})}function tt(He){return(0,z.U2)(`tasks/${He}/check_test_sets.json`)}function Qe(He){return(0,z.U2)(`tasks/${He}/get_answer_info.json`)}function et(He){return(0,z.U2)(`tasks/${He}/get_choose_answer.json`)}function ot(He){return(0,z.U2)(`tasks/${He}/unlock_choose_answer.json`)}function At(He,Pe){return(0,z.U2)(`tasks/${He}/unlock_answer.json`,{answer_id:Pe})}function St(He,Pe,Fe,Le){return(0,z.v_)(`tasks/${He}/set_games_status.json`,oe({result:Pe,data:Fe},Le||{}))}function ft(He,Pe){return(0,z.U2)(`myshixuns/${He}/active_pod.json`,Pe)}function it(He,Pe){return(0,z.U2)(`tasks/${He}/rank_list.json`,Pe)}function ut(He,Pe){return(0,z.v_)(`tasks/${He}/close_windows_vnc.json`,{tpi_id:Pe})}function Pt(He,Pe){return(0,z.U2)(`tasks/${He}/commit_files.json`,Pe)}function Lt(He,Pe){return(0,z.U2)(`tasks/${He}/pull_files.json`,Pe)}function Qt(He,Pe){return(0,z.v_)(`tasks/${He}/log_output`,Pe)}function lt(He,Pe){return(0,z.U2)(`tasks/${He}/stop_log_output.json`,Pe)}function nt(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/add_file.json`,{method:"post",body:He})})}function Ye(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/delete_git_file.json`,{method:"Delete",body:He})})}function kt(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/mv_file.json`,{method:"post",body:He})})}function Ke(He){return ie(this,null,function*(){return He.path&&(He.path=encodeURIComponent(He.path)),Fetch(`/api/tasks/${He.id}/rep_content.json`,{method:"get",params:He})})}function _e(He,Pe){return(0,z.ZP)(`/api/shixuns/${He}/set_start_permanent.json`,{method:"put",body:Pe})}function Ue(He){return ie(this,null,function*(){return(0,z.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:He})})}function Ne(He){return ie(this,null,function*(){return(0,z.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:He})})}},77903:function(ln,rt,ve){"use strict";ve.d(rt,{Ax:function(){return he},Ds:function(){return de},KI:function(){return le},SI:function(){return b},f1:function(){return Ie}});var z=ve(3294);function Ie(oe){let ie=!0;if(oe.length>0){for(let ce=0;cenew Promise((te,re)=>{var fe=Ae=>{try{ge(E.next(Ae))}catch(pe){re(pe)}},me=Ae=>{try{ge(E.throw(Ae))}catch(pe){re(pe)}},ge=Ae=>Ae.done?te(Ae.value):Promise.resolve(Ae.value).then(fe,me);ge((E=E.apply(y,x)).next())});const ne=function(x,E){const te=x.split(","),re=te[0].match(/:(.*?);/)[1],fe=atob(te[1]);let me=fe.length;const ge=new Uint8Array(me);for(;me--;)ge[me]=fe.charCodeAt(me);return new Blob([ge],{type:re})};var a=(0,z.forwardRef)(({time:y,number:x,supportCamera:E,take_photo:te,isExercise:re=!0,update:fe,onUserMediaLoaded:me},ge)=>{const Ae=(0,z.useRef)(),pe=(0,z.useRef)(),ye=(0,Ie.useParams)();let[Ee,Ce]=(0,z.useState)([]),[xe,ke]=(0,z.useState)(0);const[Me,Oe]=(0,z.useState)("");let[Se,ze]=(0,z.useState)();const[Te,tt]=(0,z.useState)(0),Qe=(Qt,lt)=>ue(void 0,null,function*(){return(0,he.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:Qt,file:lt}})}),et=Qt=>ue(void 0,null,function*(){const lt=new Date().valueOf();if(Qt){const nt=yield Qe(`\u7167\u7247${lt}`,Qt);nt.status||(yield(0,ce.Ju)({container_id:ye.categoryId,container_type:"Exercise",attachment_id:nt==null?void 0:nt.id}))}});(0,z.useEffect)(()=>(St(),()=>{Pt(),ot()}),[]),(0,z.useEffect)(()=>{xe===2&&y&&x>0&&(At(),tt(1))},[y]),(0,z.useEffect)(()=>{if(Te!==0){if(Te===2)clearInterval(Se);else{let Qt=0,lt=setInterval(()=>{Ee.includes(Qt)&&ft(),Qt++},1e3);ze(lt)}return()=>clearInterval(Se)}},[Te]),(0,z.useImperativeHandle)(ge,()=>({handlePhoto:ft,handleTakePhoto:it}));const ot=()=>{tt(2)},At=()=>{const Qt=y/x,lt=[];function nt(Ye,kt){return parseInt(Math.floor(Math.random()*(kt-Ye+1))+Ye)}new Array(x).fill(0).map((Ye,kt)=>{te?lt.push(nt(Qt*kt,Qt*(kt+1))):kt==0?lt.push(0):lt.push(nt(Qt*kt,Qt*(kt+1)))}),Ee=lt,Ce([...lt]),console.log(lt)},St=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(Qt){const lt=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return lt?new Promise(function(nt,Ye){lt.call(navigator,Qt,nt,Ye)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(Qt){ut.current=Qt,E&&E(2),ke(2),"srcObject"in Ae.current?Ae.current.srcObject=Qt:Ae.current.src=window.URL.createObjectURL(Qt),Ae.current.onloadedmetadata=function(lt){Ae.current.play(),me&&me()},Ae.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),ot(),re&&b.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(Qt){ke(1),E&&E(1),Qt.message==="Permission denied"||Qt.name==="NotAllowedError"?b.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):b.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+Qt.name),console.log("err: "+Qt.message)})},ft=()=>{try{pe.current.width=Ae.current.videoWidth,pe.current.height=Ae.current.videoHeight,pe.current.getContext("2d").drawImage(Ae.current,0,0,pe.current.width,pe.current.height),Oe(pe.current.toDataURL("image/png")),et(pe.current.toDataURL("image/png")),Lt(pe.current.toDataURL("image/png"))}catch(Qt){}},it=()=>{try{return pe.current.width=Ae.current.videoWidth,pe.current.height=Ae.current.videoHeight,pe.current.getContext("2d").drawImage(Ae.current,0,0,pe.current.width,pe.current.height),pe.current.toDataURL("image/png")}catch(Qt){}},ut=(0,z.useRef)(),Pt=()=>{try{ut.current.getTracks().forEach(function(nt){nt.stop()}),Ae.current.srcObject=null}catch(Qt){}},Lt=Qt=>ue(void 0,null,function*(){var lt,nt,Ye,kt,Ke,_e,Ue;const Ne=yield(0,he.ZP)("/api/buckets/get_upload_token.json",{method:"get"});Ne.data=JSON.parse((0,ae.pe)(Ne.data));const He=(0,de.Z)(),Pe=new(oe())({endpoint:(lt=Ne==null?void 0:Ne.data)==null?void 0:lt.end_point,region:(nt=Ne==null?void 0:Ne.data)==null?void 0:nt.region,accessKeyId:(Ye=Ne==null?void 0:Ne.data)==null?void 0:Ye.access_key_id,accessKeySecret:(kt=Ne==null?void 0:Ne.data)==null?void 0:kt.access_key_secret,bucket:(Ke=Ne==null?void 0:Ne.data)==null?void 0:Ke.bucket,stsToken:(_e=Ne==null?void 0:Ne.data)==null?void 0:_e.security_token}),Fe=ne(Qt,He);Pe.multipartUpload(`${He}.png`,Fe,{timeout:10*1e3,partSize:10485760,callback:{url:(Ue=Ne==null?void 0:Ne.data)==null?void 0:Ue.callback_url,host:Ne==null?void 0:Ne.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login="+ye.login+"&container_id="+ye.categoryId+"&container_type=Exercise"}}).then(function(Le){console.log("result:",Le)}).catch(function(Le){console.log("err:",Le)})});return se.createElement(se.Fragment,null,xe!==3&&se.createElement("aside",{className:ie.video,id:"screenshot"},xe===0&&se.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),xe===1&&se.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),xe===2&&se.createElement("div",null,se.createElement("video",{width:"288",ref:Ae,autoPlay:!0}),se.createElement("canvas",{style:{display:"none"},ref:pe}))))})},31707:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return x}});var z=ve(59301),Ie=ve(44068),b={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},he=ve(8591),de=ve(95237),ae=Object.defineProperty,le=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ue=(E,te,re)=>te in E?ae(E,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):E[te]=re,ne=(E,te)=>{for(var re in te||(te={}))ce.call(te,re)&&ue(E,re,te[re]);if(ie)for(var re of ie(te))se.call(te,re)&&ue(E,re,te[re]);return E},ee=(E,te)=>le(E,oe(te)),a=(E,te,re)=>new Promise((fe,me)=>{var ge=ye=>{try{pe(re.next(ye))}catch(Ee){me(Ee)}},Ae=ye=>{try{pe(re.throw(ye))}catch(Ee){me(Ee)}},pe=ye=>ye.done?fe(ye.value):Promise.resolve(ye.value).then(ge,Ae);pe((re=re.apply(E,te)).next())}),x=({description:E,code:te,showData:re={},sendParams:fe={},allShow:me=!1})=>{const ge=[{img:ve(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:E,show:re==null?void 0:re.ai_exam_question,type:1},{img:ve(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:te,show:re==null?void 0:re.ai_syntax_check,type:5},{img:ve(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:E,query:te,show:re==null?void 0:re.ai_code_diagnosis,type:2},{img:ve(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:E,query:te,show:re==null?void 0:re.ai_guidance,type:3}],Ae=pe=>{const{setChatData:ye,setLoading:Ee,getData:Ce,clearStatus:xe,typing:ke,setImageGenerator:Me,renderChatItems:Oe,setSceneAwareness:Se}=pe;let ze=ge;return me||(ze=ge.filter(Te=>Te.show)),z.createElement("div",{className:`${b.bigTips} mt10`},ze.map((Te,tt)=>z.createElement("div",{onClick:()=>a(void 0,null,function*(){if(ke){he.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Se(!1),Me(!1),Ee(!0),xe();const Qe=Oe(Te.query);Qe[0].show=!1,Qe[1].imageGenerator=!1,ye(Qe),Ce("",ne({type:Te.type,description:Te.description,query:Te.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},fe))}),key:tt,className:b.item},z.createElement(de.Z,{align:"middle"},z.createElement("img",{className:"mr10",src:Te.img}),z.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Te.name)),z.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Te.des))))};return z.createElement(Ie.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:me?!1:!(re!=null&&re.ai_q_and_a),headFunctionNode:Ae,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:ee(ne({},fe),{is_chat:!0}),topPercentage:(fe==null?void 0:fe.source)==="hack"?.52:void 0,headNode:z.createElement(z.Fragment,null,z.createElement("div",{className:"c-grey-333 font22"},z.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"),z.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"),z.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return Rt}});var z=ve(59301),Ie=ve(8591),b=ve(54580),he=ve(43418),de=ve(6848),ae=ve(92832),le=ve(3113),oe=ve(71418),ie=ve(64165),ce=ve(14478),se=ve(43428),ue=ve(38854),ne=ve(92310),ee=ve.n(ne),a=ve(46739),y=ve(77596),x=ve(93772),E=ve(14179),te=ve(56102),re={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},fe=ve(11611),me=ve(35328),ge=ve(30084),Ae=ve(50304),pe=ve(59301),ye=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ke=(It,Zt,an)=>Zt in It?ye(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Me=(It,Zt)=>{for(var an in Zt||(Zt={}))Ce.call(Zt,an)&&ke(It,an,Zt[an]);if(Ee)for(var an of Ee(Zt))xe.call(Zt,an)&&ke(It,an,Zt[an]);return It},Oe=(It,Zt)=>{var an={};for(var Jn in It)Ce.call(It,Jn)&&Zt.indexOf(Jn)<0&&(an[Jn]=It[Jn]);if(It!=null&&Ee)for(var Jn of Ee(It))Zt.indexOf(Jn)<0&&xe.call(It,Jn)&&(an[Jn]=It[Jn]);return an},ze=({onFinish:It,value:Zt,streamingStatus:an,cancelIndex:Jn,loadImage:Kn})=>{const[nr,zr]=(0,z.useState)(""),[Nn,or]=(0,z.useState)(0),[dr,Rr]=(0,z.useState)(!1),ar=_r=>_r.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),sr=()=>{Rr(!0),It==null||It()};return(0,z.useEffect)(()=>{const _r=Kn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +!(function(){var gm=Object.defineProperty,mm=Object.defineProperties;var pm=Object.getOwnPropertyDescriptors;var rf=Object.getOwnPropertySymbols;var ph=Object.prototype.hasOwnProperty,Ah=Object.prototype.propertyIsEnumerable;var mh=(ln,rt,ve)=>rt in ln?gm(ln,rt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ln[rt]=ve,ac=(ln,rt)=>{for(var ve in rt||(rt={}))ph.call(rt,ve)&&mh(ln,ve,rt[ve]);if(rf)for(var ve of rf(rt))Ah.call(rt,ve)&&mh(ln,ve,rt[ve]);return ln},Lf=(ln,rt)=>mm(ln,pm(rt));var vh=(ln,rt)=>{var ve={};for(var z in ln)ph.call(ln,z)&&rt.indexOf(z)<0&&(ve[z]=ln[z]);if(ln!=null&&rf)for(var z of rf(ln))rt.indexOf(z)<0&&Ah.call(ln,z)&&(ve[z]=ln[z]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[3665],{87169:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={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"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},61481:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},76618:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return oe}});var z=ve(92413),Ie=ve(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},he=b,de=ve(7657),ae=function(ce,se){return Ie.createElement(de.Z,(0,z.Z)({},ce,{ref:se,icon:he}))},le=Ie.forwardRef(ae),oe=le},83471:function(){"use strict"},88010:function(ln,rt){"use strict";rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},76895:function(ln,rt){"use strict";rt.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},38476:function(){"use strict"},38674:function(){"use strict"},64790:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},ie),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));rt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},70145:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#D55",cx:18,cy:18,r:18}),React.createElement("path",{d:"M18 6a2.818 2.818 0 0 1 2.813 2.994l-.688 11.01a2.129 2.129 0 0 1-4.25 0l-.688-11.01A2.818 2.818 0 0 1 18 6Z",fill:"#172740"}),React.createElement("circle",{fill:"#172740",cx:18,cy:26.5,r:2.5})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNENTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0xOCA2YTIuODE4IDIuODE4IDAgMCAxIDIuODEzIDIuOTk0bC0uNjg4IDExLjAxYTIuMTI5IDIuMTI5IDAgMCAxLTQuMjUgMGwtLjY4OC0xMS4wMUEyLjgxOCAyLjgxOCAwIDAgMSAxOCA2WiIgZmlsbD0iIzE3Mjc0MCIvPjxjaXJjbGUgZmlsbD0iIzE3Mjc0MCIgY3g9IjE4IiBjeT0iMjYuNSIgcj0iMi41Ii8+PC9nPjwvc3ZnPg=="},80692:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:31,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4 7"),React.createElement("g",{transform:"translate(2 1)",fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#D55",strokeWidth:2,cx:14,cy:14,r:14}),React.createElement("path",{d:"M14 5a2 2 0 0 1 2 2v8a2 2 0 1 1-4 0V7a2 2 0 0 1 2-2Z",fill:"#D55"}),React.createElement("circle",{fill:"#D55",cx:14,cy:21,r:2})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iI0Q1NSIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMTQiIGN5PSIxNCIgcj0iMTQiLz48cGF0aCBkPSJNMTQgNWEyIDIgMCAwIDEgMiAydjhhMiAyIDAgMSAxLTQgMFY3YTIgMiAwIDAgMSAyLTJaIiBmaWxsPSIjRDU1Ii8+PGNpcmNsZSBmaWxsPSIjRDU1IiBjeD0iMTQiIGN5PSIyMSIgcj0iMiIvPjwvZz48L3N2Zz4="},73420:function(ln,rt,ve){"use strict";var z=ve(59301),Ie=Object.defineProperty,b=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ae=(ie,ce,se)=>ce in ie?Ie(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ce]=se,le=(ie,ce)=>{for(var se in ce||(ce={}))he.call(ce,se)&&ae(ie,se,ce[se]);if(b)for(var se of b(ce))de.call(ce,se)&&ae(ie,se,ce[se]);return ie};const oe=ie=>React.createElement("svg",le({width:36,height:36,xmlns:"http://www.w3.org/2000/svg"},ie),React.createElement("title",null,"\u7F16\u7EC4"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#19CB70",cx:18,cy:18,r:18}),React.createElement("path",{stroke:"#172740",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 18.85 15.274 24 26 14"})));rt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMxOUNCNzAiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIHN0cm9rZT0iIzE3Mjc0MCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik0xMCAxOC44NSAxNS4yNzQgMjQgMjYgMTQiLz48L2c+PC9zdmc+"},74413:function(){"use strict";function ln(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ln.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(ln.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(ln.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(ln.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof ln))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[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var rt=[];function ve(ee,a){var y=rt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function z(){var ee=rt.pop();return ee===void 0?new go.Point:ee}function Ie(ee){rt.push(ee)}function b(ee,a,y,x,E,te,re,fe,me){me||(me=new go.Point);var ge=ee-y,Ae=E-re,pe=NaN,ye=NaN;if(ge===0)if(Ae===0)ee===y&&(pe=ee,ye=a);else{var Ee=(te-fe)/Ae,Ce=te-Ee*E;pe=ee,ye=Ee*pe+Ce}else if(Ae===0){var xe=(a-x)/ge,ke=a-xe*ee;pe=E,ye=xe*pe+ke}else{var xe=(a-x)/ge,Ee=(te-fe)/Ae,ke=a-xe*ee,Ce=te-Ee*E;pe=(Ce-ke)/(xe-Ee),ye=xe*pe+ke}return me.x=pe,me.y=ye,me}function he(ee,a,y,x,E,te,re,fe,me,ge,Ae,pe,ye,Ee){var Ce=1-me,xe=me,ke=ee*Ce+y*xe,Me=a*Ce+x*xe,Oe=y*Ce+E*xe,Se=x*Ce+te*xe,ze=E*Ce+re*xe,Te=te*Ce+fe*xe,tt=ke*Ce+Oe*xe,Qe=Me*Ce+Se*xe,et=Oe*Ce+ze*xe,ot=Se*Ce+Te*xe,At=tt*Ce+et*xe,St=Qe*Ce+ot*xe;ge.x=ke,ge.y=Me,Ae.x=tt,Ae.y=Qe,pe.x=At,pe.y=St,ye.x=et,ye.y=ot,Ee.x=ze,Ee.y=Te}var de=new go.Spot(.156,.156),ae=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ln("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,te=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,a,y){var x=a/2,E=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 E.spot1=de,E.spot2=ae,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ee,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(ee,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(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,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(ee,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(ee,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(ee,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 ln("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(x=.5);var E=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(re.add(new go.PathSegment(go.PathSegment.Move,a/2+fe,a/2)),re.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,fe,fe).close())),te.spot1=de,te.spot2=ae,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ee,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(ee,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 ln("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ln("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,E=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var te=x%360;te<0&&(te+=360);var re=E%360,fe=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(fe,fe).add(new go.PathSegment(go.PathSegment.Arc,te,re,fe,fe,fe,fe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=le/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,te*y,a,(1-x)*y,(E+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ln("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,a)/2,te=a/2,re=y/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,re-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ln("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,a)/2,te=a/2,re=y/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re-E)).add(new go.PathSegment(go.PathSegment.Line,a,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,re+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,y)).add(new go.PathSegment(go.PathSegment.Line,te-E,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re+E)).add(new go.PathSegment(go.PathSegment.Line,0,re-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,re-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new ln("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var te=a/2,re=y/2,fe=Math.atan2(y,a),me=x-Math.min(Math.cos(fe)*x/2,te),ge=x-Math.min(Math.sin(fe)*x/2,re),E=new go.Geometry,Ae=new go.PathFigure(me,0,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a-me,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,a-me,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,me,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new ln("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new ln("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new ln("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var te=.2,re=.3,fe=0,me=te*le;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+re)*a,(.5+fe)*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re)*a,(.5-me+fe)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re+.05)*a,(.5-me+fe-.02)*y)),te=.2,re=0,fe=-.3,me=te*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+re)*a,(.5+fe)*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re)*a,(.5-me+fe)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+re)*a,(.5+fe)*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re)*a,(.5-me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),te=.2,re=-.3,fe=0,me=te*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5-te+fe)*y,(1-.5+te+re-.05)*a,(.5-me+fe-.02)*y,(.5+me+re)*a,(.5-te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+re)*a,(.5+fe)*y,(.5-me+re)*a,(.5-te+fe)*y,(.5-te+re)*a,(.5-me+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+re)*a,(.5+te+fe)*y,(.5-te+re)*a,(.5+me+fe)*y,(.5-me+re)*a,(.5+te+fe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+me+re)*a,(.5+te+fe)*y,(.5+te+re)*a,(.5+me+fe)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var te=.1,re=.5,fe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(re+te)*a,fe*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*re,y*fe,te*a,te*a).close()),E=new go.PathFigure(a*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),fe=.75,E=new go.PathFigure((re+te)*a,fe*y,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*re,y*fe,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,E=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=.5,fe=.5,me=new go.PathFigure(re*a,(fe-te)*y);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),te=.4,E=le*.4;var ge=z(),Ae=z(),pe=z(),ye=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.42,ge,Ae,pe,ye,ye);var Ee=z(),Ce=z(),xe=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.58,ye,ye,xe,Ee,Ce);var ke=z(),Me=z(),Oe=z();he(re,fe+te,re-E,fe+te,re-te,fe+E,re-te,fe,.42,ke,Me,Oe,ye,ye);var Se=z(),ze=z(),Te=z();return he(re,fe+te,re-E,fe+te,re-te,fe+E,re-te,fe,.58,ye,ye,Te,Se,ze),me.add(new go.PathSegment(go.PathSegment.Move,Te.x*a,Te.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,Se.x*a,Se.y*y,ze.x*a,ze.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Te.x*a,Te.y*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ee.x*a,Ee.y*y,Ce.x*a,Ce.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*a,Oe.y*y,ke.x*a,ke.y*y,Me.x*a,Me.y*y).close()),Ie(ge),Ie(Ae),Ie(pe),Ie(ye),Ie(Ee),Ie(Ce),Ie(xe),Ie(ke),Ie(Me),Ie(Oe),Ie(Se),Ie(ze),Ie(Te),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,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 ln("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var E=(a-x)/2,te=E+x;return new go.Geometry().add(new go.PathFigure(te,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.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(ee,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(ee,a,y){var x=new go.Geometry,E=le*.4,te=.4,re=.5,fe=.5,me=z(),ge=z(),Ae=z(),pe=z(),ye=new go.PathFigure((re-te)*a,fe*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.44,Ae,pe,ge,me,me),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y));var Ee=ve(ge.x,ge.y);he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.56,me,me,ge,Ae,pe);var Ce=ve(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.95*.9)*a,Ee.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ee.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*a,(Ce.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),te=.35,E=le*.35;var xe=new go.PathFigure(re*a,(fe-te)*y,!1);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y));var ke=new go.PathFigure((re-te)*a,fe*y,!1);return x.add(ke),Ie(me),Ie(ge),Ie(Ae),Ie(pe),Ie(Ee),Ie(Ce),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(ee,a,y){var x=new go.Geometry,E=.375,te=0,re=-.125,fe=E*le,me=new go.PathFigure((.525+te)*a,(.5+E+re)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*a,(.5+re)*y,(.5+fe+te)*a,(.5+E+re)*y,(.5+E+te)*a,(.5+fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-E+re)*y,(1-.5+E+te)*a,(.5-fe+re)*y,(.5+fe+te)*a,(.5-E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+E+re)*y,(.5-E+te)*a,(.5+fe+re)*y,(.5-fe+te)*a,(.5+E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,te=0,re=-.125,fe=E*le;var me=new go.PathFigure((1-.5+E+te)*a,(.5+re)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+E+re)*y,(.5+E+te)*a,(.5+fe+re)*y,(.5+fe+te)*a,(.5+E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5+E+re)*y,(.5-E+te)*a,(.5+fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y,(.5-fe+te)*a,(.5-E+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*a,(.5+re)*y,(.5+fe+te)*a,(.5-E+re)*y,(1-.5+E+te)*a,(.5-fe+re)*y));var me=new go.PathFigure((.525+te)*a,(.5+E+re)*y,!1);return x.add(me),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(ee,a,y){var x=ee?ee.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(ee,a,y){var x=ee?ee.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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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 ln("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ln("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-x)*a,re=(.5-E/2)*y,fe=(.5+E/2)*y,me=new go.Geometry,ge=new go.PathFigure(0,re,!0);me.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,re)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,fe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),me.spot1=new go.Spot(0,re/y);var Ae=b(0,fe/y,1,fe/y,te/a,1,1,.5,z());return me.spot2=new go.Spot(Ae.x,Ae.y),Ie(Ae),me}),go.Shape.setFigureParameter("Arrow2",0,new ln("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ln("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var te=a-x,re=(y-E)/2,fe=re+E,me=new go.Geometry,ge=new go.PathFigure(0,re,!0);me.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,re)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,y)),ge.add(new go.PathSegment(go.PathSegment.Line,te,fe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,fe).close()),me.spot1=new go.Spot(0,re/y);var Ae=b(0,fe/y,1,fe/y,te/a,1,1,.5,z());return me.spot2=new go.Spot(Ae.x,Ae.y),Ie(Ae),me}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ln("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var me=b(0,.5,.3,0,0,E/y,.1,E/y,z());return re.spot1=new go.Spot(me.x,me.y),me=b(.7,1,1,.5,0,te/y,1,te/y,me),re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ln("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ln("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var te=(y-x)/2,re=te+x,fe=(y-E)/2,me=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,te=(y-x)/2,re=te+x,fe=0,me=y):(te=0,re=y,fe=0,me=y));var ge=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);ge.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close());var pe=b(0,.5,.3,fe/y,0,te/y,1,te/y,z());return ge.spot1=new go.Spot(pe.x,pe.y),pe=b(.7,me/y,1,.5,0,re/y,1,re/y,pe),ge.spot2=new go.Spot(pe.x,pe.y),Ie(pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ln("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*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,.2*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(0,E/y);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("IBeamArrow2",0,new ln("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ln("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var te=(y-x)/2,re=te+x,fe=(y-E)/2,me=fe+E;(x>y||E>y)&&(E>x?(x=x*y/E,te=(y-x)/2,re=te+x,fe=0,me=y):(te=0,re=y,fe=0,me=y));var ge=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);ge.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe).close()),ge.spot1=new go.Spot(0,te/y);var pe=b(.7,me/y,1,.5,0,re/y,1,re/y,z());return ge.spot2=new go.Spot(pe.x,pe.y),Ie(pe),ge}),go.Shape.setFigureParameter("Pointer",0,new ln("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var re=b(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(re.x,re.y),Ie(re),E}),go.Shape.setFigureParameter("RoundedPointer",0,new ln("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E.spot1=new go.Spot(x,.35);var re=b(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(re.x,re.y),Ie(re),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new ln("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*y,te=(.5+x/2)*y,re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(.2,.3);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ln("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var E=(y-x)/2,te=E+x;x>y&&(E=0,te=y);var re=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),re.spot1=new go.Spot(.2,E/y);var me=b(.7,1,1,.5,0,te/y,1,te/y,z());return re.spot2=new go.Spot(me.x,me.y),Ie(me),re}),go.Shape.setFigureParameter("SquareArrow",0,new ln("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(0,.9*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(0,x,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),re.add(new go.PathSegment(go.PathSegment.Line,0,x));var fe=new go.PathFigure(a,x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+te)*a,2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(0,y-x,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*x));var fe=new go.PathFigure(0,y-x,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-te)*a,y-2*x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(x,0,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0));var fe=new go.PathFigure(x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*x,y)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,te=le*.5,re=new go.PathFigure(a-x,0,!0);E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),re.add(new go.PathSegment(go.PathSegment.Line,x,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var fe=new go.PathFigure(a-x,0,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*x,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,E=.2,te=.1,re=le*E,fe=le*te,me=.5,ge=.1,Ae=new go.PathFigure(me*a,(ge+te)*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me-E)*a,ge*y,(me-re)*a,(ge+te)*y,(me-E)*a,(ge+fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-te)*y,(me-E)*a,(ge-fe)*y,(me-re)*a,(ge-te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me+E)*a,ge*y,(me+re)*a,(ge-te)*y,(me+E)*a,(ge-fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+te)*y,(me+E)*a,(ge+fe)*y,(me+re)*a,(ge+te)*y));var pe=.05,ye=le*pe;me=.05,ge=.25;var Ee=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),me=.95,ge=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me+pe)*a,ge*y,(me+ye)*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ye=le*pe,me=.825,ge=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ye=le*pe,me=.5,ge=.7,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ye=le*pe,me=.175,ge=.35,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me+pe)*a,(ge-ye)*y,(me+ye)*a,(ge-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ge*y,(me-ye)*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ye=le*pe,me=.05,ge=.25,Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-pe)*y,(me-pe)*a,(ge-ye)*y,(me-ye)*a,(ge-pe)*y)),Ee.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 ln("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,te=new go.PathFigure(a,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(0,E*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(a,.1*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-te)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+E)*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.1,re=new go.PathFigure(a,.1*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-te)*y));var fe=new go.PathFigure(a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+E)*a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+E)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=le*.2,re=new go.PathFigure(0,.2*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var fe=new go.PathFigure(0,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(0,E*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var re=new go.PathFigure(0,0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,re=le*.5,fe=.5,me=new go.PathFigure(a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,y,a,(fe+re)*y,(fe+re)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,fe*y,(fe-re)*a,y,0,(fe+re)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,0,0,(fe-re)*y,(fe-re)*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,a,fe*y,(fe+re)*a,0,a,(fe-re)*y));var ge=new go.PathFigure((te+E)*a,(te+E)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),ge.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(te+E)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(.5*a,y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+E)*y,(te+E)*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.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(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,re=new go.PathFigure(0,0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var fe=new go.PathFigure(.5*E*a,E*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(a,te*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+E)*y,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y));var fe=new go.PathFigure(a,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var re=new go.PathFigure(0,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,0)),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var re=new go.PathFigure(0,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure((1-E)*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var re=new go.PathFigure(E*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=new go.PathFigure(a,te*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+E)*y,(te+E)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-E)*a,y,0,(te+E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-E)*y,(te-E)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+E)*a,0,a,(te-E)*y));var fe=new go.PathFigure(a,te*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,te*y));var me=new go.PathFigure(.8*a,.75*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,E=le*.1,te=.1,re=.9,fe=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((re+te)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe-te)*y,(re+te)*a,(fe-E)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=le*.4,re=le*.1,fe=.1,me=.9,ge=.5,Ae=new go.PathFigure(.8*a,.5*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+E)*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((me+fe)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y,(me+re)*a,(ge+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,ge*y,(me-re)*a,(ge+fe)*y,(me-fe)*a,(ge+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y,(me-re)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,ge*y,(me+re)*a,(ge-fe)*y,(me+fe)*a,(ge-re)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=0,fe=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(re+te)*a,(fe-E)*y,.7*a,(fe-te)*y)),E=.1,te=le*.1,re=.9,fe=.5;var ge=new go.PathFigure((re-E)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=0,fe=.5,me=new go.PathFigure(0,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(re+te+te)*a,(fe-E)*y,.8*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(fe+te)*y,(re+te+te)*a,(fe+E)*y)),me.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(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=.2,fe=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.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,(fe+te)*y,(re+te)*a,(fe+E)*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,(re+te)*a,(fe-E)*y,.7*a,(fe-te)*y)),E=.1,te=le*.1,re=.9,fe=.5;var Ae=new go.PathFigure((re-E)*a,fe*y,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*E,re=.2,fe=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.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,(re+te)*a,(fe-E)*y,.9*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(fe+te)*y,(re+te)*a,(fe+E)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,E=le*.1,te=.1,re=.1,fe=.5,me=new go.PathFigure((re-E*.5)*a,y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.3,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.5,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,(re+te)*a,0,(re+E)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,0,(re-E)*a,y,(re-te)*a,0)),re=.9,me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E*.5)*a,y,(re+te)*a,0,(re+E)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,E=le*.5,te=.5,re=.5,fe=.5,me=new go.PathFigure((re-te)*a,fe*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-te)*y,(re-te)*a,(fe-E)*y,(re-E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe-te)*y,(re+te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Move,(re-te+.1)*a,fe*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+te-.1)*a,fe*y,re*a,(fe-te)*y,re*a,(fe+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=a,te=y;a=a*.38,y=y*.6;var re=le*.8,fe=.8,me=0,ge=.5,Ae=(E-a)/2,pe=(te-y)/2,ye=new go.PathFigure(me*a+Ae,(ge+fe)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe+re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge-fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge-re)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge+re)*y+pe,me*a+Ae,(ge+fe)*y+pe).close()),re=le*.4,fe=.4,me=.2,ge=.5;var Ee=new go.PathFigure(me*a+Ae,(ge+fe)*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe+re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge-fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge-re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me-fe+re*.5)*a+Ae,(ge+re)*y+pe,me*a+Ae,(ge+fe)*y+pe).close()),re=le*.2,fe=.2,me=.5,ge=.5;var Ce=new go.PathFigure((me-fe)*a+Ae,ge*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me-fe)*a+Ae,(ge-re)*y+pe,(me-re)*a+Ae,(ge-fe)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a+Ae,ge*y+pe,(me-re)*a+Ae,(ge+fe)*y+pe,(me-fe)*a+Ae,(ge+re)*y+pe)),re=le*.4,fe=.4,me=.8,ge=.5;var xe=new go.PathFigure(me*a+Ae,(ge-fe)*y+pe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe-re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge+fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge+re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge-re)*y+pe,me*a+Ae,(ge-fe)*y+pe).close()),re=le*.8,fe=.8,me=1,ge=.5;var ke=new go.PathFigure(me*a+Ae,(ge-fe)*y+pe,!0);return x.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a+Ae,ge*y+pe,(me+re)*a+Ae,(ge-fe)*y+pe,(me+fe)*a+Ae,(ge-re)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge+fe)*y+pe,(me+fe)*a+Ae,(ge+re)*y+pe,(me+re)*a+Ae,(ge+fe)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe-re*.5)*a+Ae,ge*y+pe,me*a+Ae,(ge+fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge+re)*y+pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,me*a+Ae,(ge-fe)*y+pe,(me+fe-re*.5)*a+Ae,(ge-re)*y+pe,me*a+Ae,(ge-fe)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var re=new go.PathFigure(.6*a,y,!0,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var fe=new go.PathFigure(0,.5*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,E=le*.4,te=.4,re=.5,fe=.5,me=z(),ge=z(),Ae=z(),pe=z();he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.5,me,me,ge,Ae,pe);var ye=ve(ge.x,ge.y),Ee=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re+te)*a,(fe+E)*y,(re+E)*a,(fe+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,(re-E)*a,(fe+te)*y,(re-te)*a,(fe+E)*y)),he(re-te,fe,re-te,fe-E,re-E,fe-te,re,fe-te,.5,Ae,pe,ge,me,me),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,Ae.x*a,Ae.y*y,pe.x*a,pe.y*y)),E=le*.3,te=.3,he(re-te,fe,re-te,fe-E,re-E,fe-te,re,fe-te,.5,Ae,pe,ge,me,me),Ee.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,fe*y,pe.x*a,pe.y*y,Ae.x*a,Ae.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+te)*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,fe*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),he(re,fe-te,re+E,fe-te,re+te,fe-E,re+te,fe,.5,me,me,ge,Ae,pe),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,Ae.x*a,Ae.y*y).close());var Ee=new go.PathFigure(.45*a,0,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ie(me),Ie(ge),Ie(Ae),Ie(pe),Ie(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function te(re,fe,me){re.add(new go.PathSegment(go.PathSegment.Move,(.3+fe)*a,(.8+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.5+fe)*a,(.5+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.1+fe)*a,(.5+me)*y)),re.add(new go.PathSegment(go.PathSegment.Line,(.3+fe)*a,(.8+me)*y).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.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(ee,a,y){var x=new go.Geometry,E=.5,te=0,re=0,fe=E*le,me=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,Ae=1,pe=.5,ye=.5,Ee=0,Ce=new go.PathFigure(me*a,(1-ge)*y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,pe*y,Ae*a,.7*y,Ae*a,pe*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+te)*a,(Ee+te)*y,(.5+E+te)*a,(.5-fe+te)*y,(.5+fe+te)*a,(.5-E+te)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*a,(.5+re)*y,(.5-fe+te)*a,(.5-E+re)*y,(.5-E+te)*a,(.5-fe+re)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-E+te)*a,(.5+fe+re)*y,(.5-fe+te)*a,.9*y)),Ce.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(a,y,!1);x.add(te);var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var re=.5-.285,fe=.5,me=re,ge=Math.PI/4,Ae=4*(1-Math.cos(ge))/(3*Math.sin(ge)),pe=Ae*.5,ye=re,Ee=re,Ce=Ae*ye,xe=Ae*Ee;te.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ye)*a,me*y,(fe-(Ce+ye)/2)*a,(me+(Ee+xe)/2)*y,(fe-ye)*a,(me+xe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-Ee)*y,(fe-ye)*a,(me-xe)*y,(fe-Ce)*a,(me-Ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ye)*a,me*y,(fe+Ce)*a,(me-Ee)*y,(fe+ye)*a,(me-xe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(fe+ye)*a,(me+xe)*y,(fe+(Ce+ye)/2)*a,(me+(Ee+xe)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var ke=new go.PathFigure(.2*a,y,!1);x.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Me=new go.PathFigure(.8*a,y,!1);return x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var te=new go.PathFigure(a,y,!1);x.add(te);var re=new go.PathFigure(.1*a,y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var re=new go.PathFigure(.675*a,.575*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),re.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),re.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),re.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=new go.PathFigure(a,E*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+te)*y,(E+te)*a,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-te)*a,y,0,(E+te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-te)*y,(E-te)*a,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+te)*a,0,a,(E-te)*y));var fe=new go.PathFigure(E*a,0,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),fe.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var re=new go.PathFigure(0,.6*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var re=.1,fe=le*.1,me=.2,ge=.9,Ae=new go.PathFigure((me-re)*a,ge*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-re)*y,(me-re)*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,ge*y,(me+fe)*a,(ge-re)*y,(me+re)*a,(ge-fe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+re)*y,(me+re)*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,ge*y,(me-fe)*a,(ge+re)*y,(me-re)*a,(ge+fe)*y).close()),re=.1,fe=le*.1,me=.8,ge=.9;var pe=new go.PathFigure((me-re)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-re)*y,(me-re)*a,(ge-fe)*y,(me-fe)*a,(ge-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,ge*y,(me+fe)*a,(ge-re)*y,(me+re)*a,(ge-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+re)*y,(me+re)*a,(ge+fe)*y,(me+fe)*a,(ge+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,ge*y,(me-fe)*a,(ge+re)*y,(me-re)*a,(ge+fe)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var re=new go.PathFigure(.5*a,.8*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var fe=new go.PathFigure(.5*a,.7*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var me=.1,ge=le*.1,Ae=.1,pe=.9,ye=new go.PathFigure((Ae-me)*a,pe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe-me)*y,(Ae-me)*a,(pe-ge)*y,(Ae-ge)*a,(pe-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+me)*a,pe*y,(Ae+ge)*a,(pe-me)*y,(Ae+me)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe+me)*y,(Ae+me)*a,(pe+ge)*y,(Ae+ge)*a,(pe+me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-me)*a,pe*y,(Ae-ge)*a,(pe+me)*y,(Ae-me)*a,(pe+ge)*y)),me=.1,ge=le*.1,Ae=.4,pe=.9;var Ee=new go.PathFigure((Ae-me)*a,pe*y,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe-me)*y,(Ae-me)*a,(pe-ge)*y,(Ae-ge)*a,(pe-me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+me)*a,pe*y,(Ae+ge)*a,(pe-me)*y,(Ae+me)*a,(pe-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(pe+me)*y,(Ae+me)*a,(pe+ge)*y,(Ae+ge)*a,(pe+me)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-me)*a,pe*y,(Ae-ge)*a,(pe+me)*y,(Ae-me)*a,(pe+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var re=new go.PathFigure(.55*a,.4*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),re.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var Ae=.05,pe=le*.05,ye=.175,Ee=.95,fe=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.375,Ee=.95,me=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.625,Ee=.95,ge=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y));var Ae=.05,pe=le*.05,ye=.825,Ee=.95,Ce=new go.PathFigure((ye-Ae)*a,Ee*y,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee-Ae)*y,(ye-Ae)*a,(Ee-pe)*y,(ye-pe)*a,(Ee-Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+Ae)*a,Ee*y,(ye+pe)*a,(Ee-Ae)*y,(ye+Ae)*a,(Ee-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ee+Ae)*y,(ye+Ae)*a,(Ee+pe)*y,(ye+pe)*a,(Ee+Ae)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-Ae)*a,Ee*y,(ye-pe)*a,(Ee+Ae)*y,(ye-Ae)*a,(Ee+pe)*y).close());var xe=new go.PathFigure(0,y,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var re=new go.PathFigure(.15*a,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var fe=.05,me=le*.05,ge=.35,Ae=.775,pe=new go.PathFigure((ge-fe)*a,Ae*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(Ae-fe)*y,(ge-fe)*a,(Ae-me)*y,(ge-me)*a,(Ae-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+fe)*a,Ae*y,(ge+me)*a,(Ae-fe)*y,(ge+fe)*a,(Ae-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(Ae+fe)*y,(ge+fe)*a,(Ae+me)*y,(ge+me)*a,(Ae+fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-fe)*a,Ae*y,(ge-me)*a,(Ae+fe)*y,(ge-fe)*a,(Ae+me)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,E=.3,te=le*.3,re=.5,fe=.7,me=new go.PathFigure((re-E)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=.5,fe=.5,me=new go.PathFigure((re-E)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.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(ee,a,y){var x=new go.Geometry,E=.5,te=le*.5,re=.5,fe=.5,me=new go.PathFigure((re-E)*a,fe*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*y).close()),E=.05,te=le*.05,re=.5,fe=.8;var ge=new go.PathFigure((re-E)*a,fe*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe-E)*y,(re-E)*a,(fe-te)*y,(re-te)*a,(fe-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re+E)*a,fe*y,(re+te)*a,(fe-E)*y,(re+E)*a,(fe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(fe+E)*y,(re+E)*a,(fe+te)*y,(re+te)*a,(fe+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(re-E)*a,fe*y,(re-te)*a,(fe+E)*y,(re-E)*a,(fe+te)*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(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var re=new go.PathFigure(.402*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var fe=new go.PathFigure(.678*a,.85*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var me=new go.PathFigure(.5*a,.1*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var re=new go.PathFigure(a*.408,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),re.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var fe=new go.PathFigure(a*.612,y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var me=new go.PathFigure(a*.816,y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var re=new go.PathFigure(a*.055,.13*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var fe=new go.PathFigure(a*.055,.18*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var me=new go.PathFigure(a*1,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var re=new go.PathFigure(a*.11,y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var me=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,E=8,te=E*le,re=new go.PathFigure(E,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),re.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),re.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-te,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,te,y,0,y-te)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var fe=new go.PathFigure(a*.83,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var me=new go.PathFigure(a*.83,y*1,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),me.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(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,te=y*.8,re=new go.Geometry,fe=new go.PathFigure(x,0,!0);return re.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-E,a-E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),fe.add(new go.PathSegment(go.PathSegment.Line,x,te)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,E,te,0,te-E)),fe.add(new go.PathSegment(go.PathSegment.Line,0,x)),fe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(re.spot1=new go.Spot(0,0,E,E),re.spot2=new go.Spot(1,.8,-E,-E)):(re.spot1=go.Spot.TopLeft,re.spot2=new go.Spot(1,.8)),re}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,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(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var re=new go.PathFigure(a*.28,y*.37,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),re.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),re.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,E=15,te=E*le,re=new go.PathFigure(a*.62,y*.475,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-te,a-te,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,te,y,0,y-te)),re.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),re.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),re.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),re.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var re=new go.PathFigure(a*.4,y*0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),re.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-te)).close());var re=new go.PathFigure(a*.5,y*0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),re.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ln={},rt="5.0",ve={},z=null,Ie=!1,b=!1,he=null,de=!1,ae=null,le=null,oe=0;oe4?parseFloat(ft):5};ln.setHTML5Codebase=function(ft,it){le=ft,ot(ft,it)},ln.setJavaCodebase=ln.setJavaCodebaseVersion=ln.isCompiledInstalled=ln.setPreCompiledScriptPath=ln.setPreCompiledResourcePath=function(){},ln.setHTML5CodebaseVersion=function(ft,it){var ut=parseFloat(ft);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ae=ft,et(ft,it)},ln.getHTML5CodebaseVersion=function(){return ee},ln.getParameters=function(){return ve},ln.setFontsCSSURL=function(ft){re=ft},ln.setGiacJSURL=function(ft){},ln.setJNLPFile=function(ft){ce=ft},ln.setJNLPBaseDir=function(ft){},ln.inject=function(){function ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var it="auto",ut=ve.id,Pt,Lt=!1,Qt=0;Qt=5)return!0;var ft=ln.getAppletObject();return ft&&typeof ft.recalculateEnvironments=="function"?(ft.recalculateEnvironments(),!0):!1},ln.startAnimation=function(){var ft=ln.getAppletObject();return ft&&typeof ft.startAnimation=="function"?(ft.startAnimation(),!0):!1},ln.stopAnimation=function(){var ft=ln.getAppletObject();return ft&&typeof ft.stopAnimation=="function"?(ft.stopAnimation(),!0):!1},ln.getAppletObject=function(){var ft=ve.id!==void 0?ve.id:"ggbApplet";return window[ft]},ln.resize=function(){};var Ce=function(ft,it,ut){var Pt=document.createElement("param");Pt.setAttribute("name",it),Pt.setAttribute("value",ut),ft.appendChild(Pt)},xe=function(ft){return ft&&ft!=="false"},ke=function(ft,it,ut){me(ee)<=4.2&&(ut=!0);var Pt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Pt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Lt=document.createElement("div");Lt.classList.add("appletParameters","notranslate");var Qt=it.width,lt=it.height;if(it.disableAutoScale=it.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():it.disableAutoScale,it.width!==void 0)if(me(ee)<=4.4)xe(it.showToolBar)&&(it.height-=7),xe(it.showAlgebraInput)&&(it.height-=37),it.width<605&&xe(it.showToolBar)&&(it.width=605,Qt=605);else{var nt=100;(xe(it.showToolBar)||xe(it.showMenuBar))&&(it.hasOwnProperty("customToolBar")&&(it.customToolbar=it.customToolBar),nt=xe(it.showMenuBar)?245:155),Qt=5?(it.appletOnLoad=function(gt){var Xe=ft.querySelector(".ggb_preview");Xe&&Xe.parentNode.removeChild(Xe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ke),window.GGBT_wsf_view&&$(window).trigger("resize"),kt(gt)},_e||Ke.appendChild(Ue)):Lt.appendChild(Ue),Ke.appendChild(Lt),_e||ft.appendChild(Ke),setTimeout(function(){ln.resize()},1)}else{var Ne=document.createElement("div");Ne.className="applet_scaler",Ne.style.position="relative",Ne.style.display="block",Ne.appendChild(Lt),ft.appendChild(Ne),it.appletOnLoad=function(gt){ln.resize(),kt(gt)}}function He(gt,Xe){Xe&&typeof Xe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(gt,Xe.appletOnLoad):renderGGBElement(gt),At("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Xe)}function Pe(gt,Xe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:gt,params:Xe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Nt){He(Nt.article,Nt.params)}),html5AppletsToProcess=null)},me(ee)<5&&(gt.className+=" geogebraweb")):He(gt,Xe)}if(Pt){scriptLoadStarted=!0;for(var Fe=0;Fe0?(Ye.remove(),Ke.attr("id","fullscreencontent").show(),jQuery(kt).append(Ke),window.dispatchEvent(new Event("resize"))):ke(Ye,it,!1),window.GGBT_wsf_view.launchFullScreen(kt)}else ne=Pt,ke(ft,it,!1);if(!window.GGBT_wsf_view)for(lt=0;ltft/4*3&&(Ye=ft/4*3),kt=Ye/5.8,nt.setAttribute("src",E),nt.setAttribute("width",Ye),nt.setAttribute("height",kt);var Ke=(ft-Ye)/2,_e=(it-kt)/2;nt.style.left=Ke+"px",nt.style.top=_e+"px",Lt.appendChild(nt)}}return Lt.appendChild(lt),Lt},tt=function(ft){return ft=ft.toLowerCase(),ft==="html5"||ft==="screenshot"?ft:"html5"},Qe=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(ft,it){if(ee=ft,it){ot(ee,!0);return}var ut=!Ie;if(ut){var Pt=me(ee);!isNaN(Pt)&&Pt<4.4&&(ut=!1)}var Lt,Qt;window.location.protocol.substr(0,4)==="http"?Lt=window.location.protocol:Lt="http:";var lt=ee.indexOf("//");lt>0?Qt=ee:lt===0?Qt=Lt+ee:Qt="https://www.geogebra.org/apps/5.2.814.0/";for(var nt in Qe)if(ee.slice(Qe[nt].length*-1)===Qe[nt]||ee.slice((Qe[nt].length+1)*-1)===Qe[nt]+"/"){ot(Qt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!xe(ve.showToolBar)&&!xe(ve.showMenuBar)&&!xe(ve.showAlgebraInput)&&!xe(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Qt+="webSimple/":Qt+="web3d/",ot(Qt,!1)},ot=function(ft,it){if(ft.requirejs){se=ft;return}ft.slice(-1)!=="/"&&(ft+="/"),se=ft,it===null&&(it=ft.indexOf("http")===-1),ue=it,a="web.nocache.js",y=!1;var ut=se.split("/");ut.length>1&&(!it&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Qe.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=ft.split("/"),ee=ut[ut.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var Pt=parseFloat(ee);Pt!==NaN&&Pt<5&&ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead."),et("5.0",it))},At=function(ft,it){window.console&&window.console.log&&(!it||typeof it.showLogging=="undefined"||it.showLogging&&it.showLogging!=="false")&&console.log(ft)};ve.material_id!==void 0?pe(St):St();function St(){var ft=rt;ae!==null?ft=ae:parseFloat(ft)<5&&(ft="5.0"),et(ft,!1),le!==null&&ot(le,ue),de=!0}return ln},GGBAppletUtils=function(){"use strict";function ln(){return window.GGBT_wsf_edit!==void 0}function rt(de,ae){ae!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+ae+","+ae+")",de.style.webkitTransform="scale("+ae+","+ae+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ve(de,ae,le,oe,ie,ce){var se=null;if(ce!=null&&ce!="")for(var ue=de.parentNode;ue!=null;)if((" "+ue.className+" ").indexOf(" "+ce+" ")>-1){se=ue;break}else ue=ue.parentNode;var ne=0,ee=0,a=0,y=0,x=0,E=0,te=0;if(se)ne=se.offsetWidth,ee=Math.max(oe?se.offsetWidth:0,se.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),de){var re=de.getBoundingClientRect();re.left>0&&re.left<=ne&&(ie===void 0||!ie)&&(document.dir==="rtl"?(x=ne-re.width-re.left,E=a<=480?10:30):(E=re.left,x=a<=480?10:30),y=E+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var fe=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return de&&((le===void 0||!le)&&ae>0&&ae+y1&&(ce=!0)),ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))ie=z(de,ae,ce,le,de.scaleContainerClass);else return oe;return ce&&(!de.hasOwnProperty("scale")||oe===1)?ie:Math.min(oe,ie)}function b(de){var ae=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),ie=(ae-oe.width)/2,ce=(le-oe.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ie<40?de.style.left="40px":de.style.left=ie+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=ie+"px")}function he(de,ae){var le=de.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ae.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var oe=Ie(ae,de);ln()&&le.setAttribute("data-param-scale",oe);for(var ie=null,ce=0;ce=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(ln){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ln){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ln){var rt=c[ln];return rt==null?null:rt},r=d,webModule.__errFn=e}function B(){function ln(de){var ae=de.lastIndexOf(rb);ae==-1&&(ae=de.length);var le=de.indexOf(sb);le==-1&&(le=de.length);var oe=de.lastIndexOf(tb,Math.min(le,ae));return oe>=O?de.substring(O,oe+P):W}function rt(de){if(!de.match(/^\w+:\/\//)){var ae=o.createElement(ub);ae.src=de+vb,de=ln(ae.src)}return de}function ve(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function z(){for(var de=o.getElementsByTagName(_),ae=O;aeO?de[de.length-P].href:W}function b(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var he=ve();return he==W&&(he=z()),he==W&&(he=Ie()),he==W&&b()&&(he=ln(o.location.href)),he=rt(he),he}function C(ln){return ln.match(/^\//)||ln.match(/^[a-zA-Z]+:\/\//)?ln:webModule.__moduleBase+ln}function D(){var ln=[],rt=O,ve=[],z=[];function Ie(de){var ae=z[de](),le=ve[de];if(ae in le)return ae;var oe=[];for(var ie in le)oe[le[ie]]=ie;throw r&&r(de,oe,ae),null}if(__gwt_isKnownPropertyValue=function(de,ae){return ae in ve[de]},webModule.__getPropMap=function(){var de={};for(var ae in ve)ve.hasOwnProperty(ae)&&(de[ae]=Ie(ae));return de},webModule.__computePropValue=Ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var b;try{b=Cb;var he=b.indexOf(Db);he!=-1&&(rt=parseInt(b.substring(he+P),$),b=b.substring(O,he))}catch(de){}return webModule.__softPermutationId=rt,C(b+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})()},64881:function(ln,rt,ve){"use strict";ve.d(rt,{$Y:function(){return Qt},A0:function(){return it},EP:function(){return de},F_:function(){return oe},Fk:function(){return He},G9:function(){return le},GB:function(){return ot},GR:function(){return E},GW:function(){return Pt},Hh:function(){return Pe},Hp:function(){return ne},Ir:function(){return Ie},N$:function(){return At},NZ:function(){return Oe},Nv:function(){return Ne},OA:function(){return Ke},OJ:function(){return Te},QF:function(){return Xe},RS:function(){return ge},RY:function(){return ht},Rj:function(){return Se},SX:function(){return ye},Tp:function(){return lt},Ui:function(){return ft},V1:function(){return Qe},Vn:function(){return pe},dL:function(){return Ue},fo:function(){return Ce},gG:function(){return xe},gK:function(){return x},hK:function(){return ee},i3:function(){return ce},ib:function(){return a},lS:function(){return y},m5:function(){return ae},n4:function(){return z},n_:function(){return se},oP:function(){return nt},p2:function(){return ut},pl:function(){return Me},rM:function(){return fe},sM:function(){return ue},t2:function(){return Ae},tD:function(){return te},u8:function(){return re},um:function(){return gt},vm:function(){return _e},wQ:function(){return ie},wj:function(){return tt},wt:function(){return ke},yS:function(){return me},yi:function(){return b},ym:function(){return ze},z2:function(){return he}});const z="FETCH_TASK_START",Ie="FETCH_TASK_FAILURE",b="FETCH_TASK_SUCCESS",he="UPDATE_TASK_DATA",de="HIDE_EVALUATE_RESULT",ae="SHOW_EVALUATE_RESULT",le="UPDATE_TIMESTRAP",oe="MOVE_X",ie="MOVE_Y",ce="TRIGGER_RIGHT_PANEL_MASK ",se="SET_ACTIVE_INDEX",ue="GET_TASK_LIST",ne="SHOW_TASK_LIST",ee="HIDE_TASK_LIST",a="SET_TASK_STAR",y="TRIGGER_ENLARGE_UNITY3D ",x="TRIGGER_TAB_FIXED ",E="GET_DISCUSSES",te="SHOW_DISCUSSES_LOADING",re="TOP_OR_DOWN_DISCUSS",fe="PLUS_DISCUSS",me="SET_ACTION_TYPE",ge="SHOW_REWARD_DIALOG",Ae="CANCEL_REWARD_DIALOG",pe="SET_REWARD",ye="ACTIVE_DISCUSS_INDEX",Ee="CREATE_DISCUSS",Ce="DISABLE_DISCUSS",xe="CHANGE_PAGE",ke="SHOW_ANSWER_LOADING",Me="FETCH_ANSWER_INFO",Oe="HIGH_TIP_MODAL",Se="SHOW_TIP_MODAL",ze="SELECT_UNLOCK_ANSWER",Te="SET_CHOOSE_ANSWERS",tt="EVAL_CHOOSE_START",Qe="EVAL_CHOOSE_END",et="SHOW_REP_loading",ot="FETCH_REP_CONTENT",At="EDIT_REP_CONTENT",St="SET_REP_PATH",ft="SHOW_EVALUATE_LOADING",it="HIDE_EVALUATE_LOADING",ut="SET_EVALUATE_MESSAGE",Pt="SET_SHOW_DIR",Lt="SET_EDITOR_SETTING",Qt="SET_EDITOR_THEME",lt="SET_EDITOR_FONTSIZE",nt="SET_REPOS",Ye="SHOW_PATH_LIST",kt="HIDE_PATH_LIST",Ke="HIDE_PICTURE_VIEW",_e="SHOW_PICTURE_VIEW",Ue="SHOW_NOTICE",Ne="HIDE_NOTICE",He="SHOW_CASE_NOTICE",Pe="HIDE_CASE_NOTICE",Fe="SET_TAB_INDEX",Le="SET_SSH_TABS",Ve="SET_SSH_CONFIGDATA",$e="SET_SSH_CONFIGDATAARR",ht="SET_VNC_LOADING ",gt="ON_TAB_TO_SPACE ",Xe="ON_AUTO_FORMAT "},86955:function(ln,rt,ve){"use strict";ve.d(rt,{KQ:function(){return ue},KY:function(){return oe},OY:function(){return ae},S8:function(){return le},U_:function(){return se},_Z:function(){return he},ae:function(){return de},o7:function(){return Ie},rd:function(){return ce},wJ:function(){return b},wg:function(){return ie}});var z=ve(99064);function Ie(ne,ee=1){return(0,z.U2)("/discusses.json",{container_type:"Shixun",container_identifier:ne,page:ee-1})}function b(ne,ee){return(0,z.v_)(`/discusses/${ne}/top_or_down_discuss.json`,{top:ee})}function he(ne,ee){return(0,z.v_)(`/discusses/${ne}/disable_or_open_discuss.json`,{is_disable:!!ee})}function de(ne,ee){return(0,z.v_)(`/discusses/${ne}/plus.json`,{container_type:"Discuss",type:ee?1:0})}function ae(ne,ee){return(0,z.v_)(`/discusses/${ne}/hidden.json`,ee)}function le(ne,ee){return(0,z.v_)(`/discusses/${ne}/reward_code.json`,ee)}function oe(ne){return(0,z.ZP)(`/api/discusses/${ne}.json`,{method:"delete"})}function ie(ne,ee){return(0,z.v_)(`/discusses/${ne}/reply.json`,{container_type:"Shixun",content:ee})}function ce(ne){return(0,z.v_)("/discusses.json",ne)}function se(ne){return(0,z.v_)("/discusses/ai_reply.json",ne)}function ue(ne,ee){return(0,z.v_)(`/discusses/${ne}/turing.json`,ee)}},36045:function(ln,rt,ve){"use strict";ve.d(rt,{G0:function(){return Ne},JW:function(){return St},Jd:function(){return Te},Kl:function(){return ft},L5:function(){return a},MH:function(){return ot},MI:function(){return nt},Qo:function(){return ge},SO:function(){return ee},Tf:function(){return te},VT:function(){return Me},XO:function(){return ue},Xy:function(){return fe},Y0:function(){return Ce},Ye:function(){return _e},Yv:function(){return lt},ZH:function(){return Pt},am:function(){return ze},bD:function(){return Ye},eA:function(){return me},fA:function(){return ut},fY:function(){return pe},g6:function(){return ne},g7:function(){return kt},gT:function(){return ye},gn:function(){return Lt},h$:function(){return Qt},hG:function(){return re},i8:function(){return it},j3:function(){return At},lH:function(){return Qe},li:function(){return y},n4:function(){return x},pU:function(){return xe},qK:function(){return E},sA:function(){return ke},sP:function(){return et},t$:function(){return tt},wj:function(){return Ue},zl:function(){return Ae}});var z=ve(99064),Ie=ve(955),b=Object.defineProperty,he=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(He,Pe,Fe)=>Pe in He?b(He,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):He[Pe]=Fe,oe=(He,Pe)=>{for(var Fe in Pe||(Pe={}))de.call(Pe,Fe)&&le(He,Fe,Pe[Fe]);if(he)for(var Fe of he(Pe))ae.call(Pe,Fe)&&le(He,Fe,Pe[Fe]);return He},ie=(He,Pe,Fe)=>new Promise((Le,Ve)=>{var $e=Xe=>{try{gt(Fe.next(Xe))}catch(Nt){Ve(Nt)}},ht=Xe=>{try{gt(Fe.throw(Xe))}catch(Nt){Ve(Nt)}},gt=Xe=>Xe.done?Le(Xe.value):Promise.resolve(Xe.value).then($e,ht);gt((Fe=Fe.apply(He,Pe)).next())});const ce=(0,Ie.oP)(),se={};ce!=null&&ce.homework_common_id&&(se.homework_common_id=ce==null?void 0:ce.homework_common_id),ce!=null&&ce.exercisesId&&(se.exercise_id=ce==null?void 0:ce.exercisesId),console.log(ce,se,"urlParamsAll");function ue(He,Pe){return(0,z.U2)(`tasks/${He}.json`,oe(oe({},Pe),se))}function ne(He,Pe={}){return(0,z.U2)(`myshixuns/${He}/challenges.json`,oe({},Pe))}function ee(He,Pe){return(0,z.U2)(`myshixuns/${He}/subject_challenges.json`,Pe)}function a(He,Pe,Fe){return(0,z.U2)(`tasks/${He}/star.json`,{shixun_id:Pe,star:Fe})}function y(He,Pe){return Pe.path&&(Pe.path=encodeURIComponent(Pe.path)),(0,z.U2)(`tasks/${He}/rep_content.json`,oe(oe({},Pe),se))}function x(He,Pe){return(0,z.v_)(`myshixuns/${He}/update_file.json`,oe(oe({},Pe),se))}function E(He,Pe){return(0,z.U2)(`tasks/${He}/reset_original_code.json`,oe(oe({},Pe),se))}function te(He,Pe){return(0,z.v_)(`myshixuns/${He}/reset_repository.json`,Pe)}function re(He,Pe){return(0,z.U2)(`tasks/${He}/reset_passed_code.json`,oe(oe({},Pe),se))}function fe(He,Pe){return(0,z.v_)(`tasks/${He}/game_build.json`,oe(oe({},Pe),se))}function me(He){return(0,z.ZP)("http://localhost:49352/api/game_build",{method:"post",body:He})}function ge(He,Pe){return(0,z.U2)(`tasks/${He}/game_status.json`,oe(oe({},Pe),se))}function Ae(He,Pe){return(0,z.v_)(`tasks/${He}/choose_build.json`,oe(oe({},Pe),se))}function pe(He){return(0,z.U2)(`myshixuns/${He}/get_remaining_time.json`)}function ye(He){return(0,z.U2)(`tasks/${He}/picture_display.json`,se)}function Ee(He,Pe){return get(`courses/${He}/inform_detail.json`,Pe)}function Ce(He){return(0,z.v_)(`tasks/${He}/plus_or_cancel_praise.json`)}function xe(He,Pe={}){return(0,z.v_)(`myshixuns/${He}/repository.json`,Pe)}function ke(He,Pe={}){return(0,z.U2)(`myshixuns/${He}/start.json`,Pe)}function Me(He,Pe={}){return(0,z.v_)(`myshixuns/${He}/force_delete_pod.json`,Pe)}function Oe(He,Pe={}){return get(`myshixuns/${He}/set_tpisession.json`,Pe)}function Se(He){return get(`myshixuns/${He}/reset_pod.json`)}function ze(He,Pe){return(0,z.U2)(`myshixuns/${He}/reset_pod.json`,Pe)}function Te(He,Pe){return(0,z.ZP)(`/api/tasks/${He}/reboot_esc.json`,{method:"post",body:Pe})}function tt(He){return(0,z.U2)(`tasks/${He}/check_test_sets.json`)}function Qe(He){return(0,z.U2)(`tasks/${He}/get_answer_info.json`)}function et(He){return(0,z.U2)(`tasks/${He}/get_choose_answer.json`)}function ot(He){return(0,z.U2)(`tasks/${He}/unlock_choose_answer.json`)}function At(He,Pe){return(0,z.U2)(`tasks/${He}/unlock_answer.json`,{answer_id:Pe})}function St(He,Pe,Fe,Le){return(0,z.v_)(`tasks/${He}/set_games_status.json`,oe({result:Pe,data:Fe},Le||{}))}function ft(He,Pe){return(0,z.U2)(`myshixuns/${He}/active_pod.json`,Pe)}function it(He,Pe){return(0,z.U2)(`tasks/${He}/rank_list.json`,Pe)}function ut(He,Pe){return(0,z.v_)(`tasks/${He}/close_windows_vnc.json`,{tpi_id:Pe})}function Pt(He,Pe){return(0,z.U2)(`tasks/${He}/commit_files.json`,Pe)}function Lt(He,Pe){return(0,z.U2)(`tasks/${He}/pull_files.json`,Pe)}function Qt(He,Pe){return(0,z.v_)(`tasks/${He}/log_output`,Pe)}function lt(He,Pe){return(0,z.U2)(`tasks/${He}/stop_log_output.json`,Pe)}function nt(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/add_file.json`,{method:"post",body:He})})}function Ye(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/delete_git_file.json`,{method:"Delete",body:He})})}function kt(He){return ie(this,null,function*(){return(0,z.ZP)(`/api/myshixuns/${He.id}/mv_file.json`,{method:"post",body:He})})}function Ke(He){return ie(this,null,function*(){return He.path&&(He.path=encodeURIComponent(He.path)),Fetch(`/api/tasks/${He.id}/rep_content.json`,{method:"get",params:He})})}function _e(He,Pe){return(0,z.ZP)(`/api/shixuns/${He}/set_start_permanent.json`,{method:"put",body:Pe})}function Ue(He){return ie(this,null,function*(){return(0,z.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:He})})}function Ne(He){return ie(this,null,function*(){return(0,z.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:He})})}},77903:function(ln,rt,ve){"use strict";ve.d(rt,{Ax:function(){return he},Ds:function(){return de},KI:function(){return le},SI:function(){return b},f1:function(){return Ie}});var z=ve(3294);function Ie(oe){let ie=!0;if(oe.length>0){for(let ce=0;cenew Promise((te,re)=>{var fe=Ae=>{try{ge(E.next(Ae))}catch(pe){re(pe)}},me=Ae=>{try{ge(E.throw(Ae))}catch(pe){re(pe)}},ge=Ae=>Ae.done?te(Ae.value):Promise.resolve(Ae.value).then(fe,me);ge((E=E.apply(y,x)).next())});const ne=function(x,E){const te=x.split(","),re=te[0].match(/:(.*?);/)[1],fe=atob(te[1]);let me=fe.length;const ge=new Uint8Array(me);for(;me--;)ge[me]=fe.charCodeAt(me);return new Blob([ge],{type:re})};var a=(0,z.forwardRef)(({time:y,number:x,supportCamera:E,take_photo:te,isExercise:re=!0,update:fe,onUserMediaLoaded:me},ge)=>{const Ae=(0,z.useRef)(),pe=(0,z.useRef)(),ye=(0,Ie.useParams)();let[Ee,Ce]=(0,z.useState)([]),[xe,ke]=(0,z.useState)(0);const[Me,Oe]=(0,z.useState)("");let[Se,ze]=(0,z.useState)();const[Te,tt]=(0,z.useState)(0),Qe=(Qt,lt)=>ue(void 0,null,function*(){return(0,he.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:Qt,file:lt}})}),et=Qt=>ue(void 0,null,function*(){const lt=new Date().valueOf();if(Qt){const nt=yield Qe(`\u7167\u7247${lt}`,Qt);nt.status||(yield(0,ce.Ju)({container_id:ye.categoryId,container_type:"Exercise",attachment_id:nt==null?void 0:nt.id}))}});(0,z.useEffect)(()=>(St(),()=>{Pt(),ot()}),[]),(0,z.useEffect)(()=>{xe===2&&y&&x>0&&(At(),tt(1))},[y]),(0,z.useEffect)(()=>{if(Te!==0){if(Te===2)clearInterval(Se);else{let Qt=0,lt=setInterval(()=>{Ee.includes(Qt)&&ft(),Qt++},1e3);ze(lt)}return()=>clearInterval(Se)}},[Te]),(0,z.useImperativeHandle)(ge,()=>({handlePhoto:ft,handleTakePhoto:it}));const ot=()=>{tt(2)},At=()=>{const Qt=y/x,lt=[];function nt(Ye,kt){return parseInt(Math.floor(Math.random()*(kt-Ye+1))+Ye)}new Array(x).fill(0).map((Ye,kt)=>{te?lt.push(nt(Qt*kt,Qt*(kt+1))):kt==0?lt.push(0):lt.push(nt(Qt*kt,Qt*(kt+1)))}),Ee=lt,Ce([...lt]),console.log(lt)},St=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(Qt){const lt=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return lt?new Promise(function(nt,Ye){lt.call(navigator,Qt,nt,Ye)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(Qt){ut.current=Qt,E&&E(2),ke(2),"srcObject"in Ae.current?Ae.current.srcObject=Qt:Ae.current.src=window.URL.createObjectURL(Qt),Ae.current.onloadedmetadata=function(lt){Ae.current.play(),me&&me()},Ae.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),ot(),re&&b.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(Qt){ke(1),E&&E(1),Qt.message==="Permission denied"||Qt.name==="NotAllowedError"?b.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):b.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+Qt.name),console.log("err: "+Qt.message)})},ft=()=>{try{pe.current.width=Ae.current.videoWidth,pe.current.height=Ae.current.videoHeight,pe.current.getContext("2d").drawImage(Ae.current,0,0,pe.current.width,pe.current.height),Oe(pe.current.toDataURL("image/png")),et(pe.current.toDataURL("image/png")),Lt(pe.current.toDataURL("image/png"))}catch(Qt){}},it=()=>{try{return pe.current.width=Ae.current.videoWidth,pe.current.height=Ae.current.videoHeight,pe.current.getContext("2d").drawImage(Ae.current,0,0,pe.current.width,pe.current.height),pe.current.toDataURL("image/png")}catch(Qt){}},ut=(0,z.useRef)(),Pt=()=>{try{ut.current.getTracks().forEach(function(nt){nt.stop()}),Ae.current.srcObject=null}catch(Qt){}},Lt=Qt=>ue(void 0,null,function*(){var lt,nt,Ye,kt,Ke,_e,Ue;const Ne=yield(0,he.ZP)("/api/buckets/get_upload_token.json",{method:"get"});Ne.data=JSON.parse((0,ae.pe)(Ne.data));const He=(0,de.Z)(),Pe=new(oe())({endpoint:(lt=Ne==null?void 0:Ne.data)==null?void 0:lt.end_point,region:(nt=Ne==null?void 0:Ne.data)==null?void 0:nt.region,accessKeyId:(Ye=Ne==null?void 0:Ne.data)==null?void 0:Ye.access_key_id,accessKeySecret:(kt=Ne==null?void 0:Ne.data)==null?void 0:kt.access_key_secret,bucket:(Ke=Ne==null?void 0:Ne.data)==null?void 0:Ke.bucket,stsToken:(_e=Ne==null?void 0:Ne.data)==null?void 0:_e.security_token}),Fe=ne(Qt,He);Pe.multipartUpload(`${He}.png`,Fe,{timeout:10*1e3,partSize:10485760,callback:{url:(Ue=Ne==null?void 0:Ne.data)==null?void 0:Ue.callback_url,host:Ne==null?void 0:Ne.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login="+ye.login+"&container_id="+ye.categoryId+"&container_type=Exercise"}}).then(function(Le){console.log("result:",Le)}).catch(function(Le){console.log("err:",Le)})});return se.createElement(se.Fragment,null,xe!==3&&se.createElement("aside",{className:ie.video,id:"screenshot"},xe===0&&se.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),xe===1&&se.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),xe===2&&se.createElement("div",null,se.createElement("video",{width:"288",ref:Ae,autoPlay:!0}),se.createElement("canvas",{style:{display:"none"},ref:pe}))))})},31707:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return x}});var z=ve(59301),Ie=ve(44068),b={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},he=ve(8591),de=ve(95237),ae=Object.defineProperty,le=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ue=(E,te,re)=>te in E?ae(E,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):E[te]=re,ne=(E,te)=>{for(var re in te||(te={}))ce.call(te,re)&&ue(E,re,te[re]);if(ie)for(var re of ie(te))se.call(te,re)&&ue(E,re,te[re]);return E},ee=(E,te)=>le(E,oe(te)),a=(E,te,re)=>new Promise((fe,me)=>{var ge=ye=>{try{pe(re.next(ye))}catch(Ee){me(Ee)}},Ae=ye=>{try{pe(re.throw(ye))}catch(Ee){me(Ee)}},pe=ye=>ye.done?fe(ye.value):Promise.resolve(ye.value).then(ge,Ae);pe((re=re.apply(E,te)).next())}),x=({description:E,code:te,showData:re={},sendParams:fe={},allShow:me=!1})=>{const ge=[{img:ve(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:E,show:re==null?void 0:re.ai_exam_question,type:1},{img:ve(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:te,show:re==null?void 0:re.ai_syntax_check,type:5},{img:ve(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:E,query:te,show:re==null?void 0:re.ai_code_diagnosis,type:2},{img:ve(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:E,query:te,show:re==null?void 0:re.ai_guidance,type:3}],Ae=pe=>{const{setChatData:ye,setLoading:Ee,getData:Ce,clearStatus:xe,typing:ke,setImageGenerator:Me,renderChatItems:Oe,setSceneAwareness:Se}=pe;let ze=ge;return me||(ze=ge.filter(Te=>Te.show)),z.createElement("div",{className:`${b.bigTips} mt10`},ze.map((Te,tt)=>z.createElement("div",{onClick:()=>a(void 0,null,function*(){if(ke){he.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Se(!1),Me(!1),Ee(!0),xe();const Qe=Oe(Te.query);Qe[0].show=!1,Qe[1].imageGenerator=!1,ye(Qe),Ce("",ne({type:Te.type,description:Te.description,query:Te.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},fe))}),key:tt,className:b.item},z.createElement(de.Z,{align:"middle"},z.createElement("img",{className:"mr10",src:Te.img}),z.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Te.name)),z.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Te.des))))};return z.createElement(Ie.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:me?!1:!(re!=null&&re.ai_q_and_a),headFunctionNode:Ae,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:ee(ne({},fe),{is_chat:!0}),topPercentage:(fe==null?void 0:fe.source)==="hack"?.52:void 0,headNode:z.createElement(z.Fragment,null,z.createElement("div",{className:"c-grey-333 font22"},z.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"),z.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"),z.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},44068:function(ln,rt,ve){"use strict";ve.d(rt,{Z:function(){return Rt}});var z=ve(59301),Ie=ve(8591),b=ve(54580),he=ve(43418),de=ve(6848),ae=ve(92832),le=ve(3113),oe=ve(71418),ie=ve(64165),ce=ve(14478),se=ve(43428),ue=ve(38854),ne=ve(92310),ee=ve.n(ne),a=ve(93628),y=ve(77596),x=ve(93772),E=ve(14179),te=ve(56102),re={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},fe=ve(11611),me=ve(35328),ge=ve(30084),Ae=ve(50304),pe=ve(59301),ye=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ke=(It,Zt,an)=>Zt in It?ye(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Me=(It,Zt)=>{for(var an in Zt||(Zt={}))Ce.call(Zt,an)&&ke(It,an,Zt[an]);if(Ee)for(var an of Ee(Zt))xe.call(Zt,an)&&ke(It,an,Zt[an]);return It},Oe=(It,Zt)=>{var an={};for(var Jn in It)Ce.call(It,Jn)&&Zt.indexOf(Jn)<0&&(an[Jn]=It[Jn]);if(It!=null&&Ee)for(var Jn of Ee(It))Zt.indexOf(Jn)<0&&xe.call(It,Jn)&&(an[Jn]=It[Jn]);return an},ze=({onFinish:It,value:Zt,streamingStatus:an,cancelIndex:Jn,loadImage:Kn})=>{const[nr,zr]=(0,z.useState)(""),[Nn,or]=(0,z.useState)(0),[dr,Rr]=(0,z.useState)(!1),ar=_r=>_r.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$1"),sr=()=>{Rr(!0),It==null||It()};return(0,z.useEffect)(()=>{const _r=Kn?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${Zt}`:Zt,fi=ar(_r);if(!dr)if(Kn||!an||Jn>0){zr(fi),or(fi.length),(!an||Jn>0)&&!Kn&&sr();return}else if(Nn{zr(fi.slice(0,Nn+2)),or(Xr=>Xr+2)},Yi>10?Math.max(500/(Yi/2),20):50);return()=>clearInterval(oi)}else an||sr()},[Zt,an,Jn,Kn,Nn]),(0,z.useMemo)(()=>pe.createElement("div",{className:`${re.answer} fadeIn animated`},pe.createElement(a.UG,{remarkPlugins:[ge.Z],rehypePlugins:[me.Z,x.Z],components:{code(_r){var fi=_r,{node:Yi,inline:oi,className:Xr,children:pi}=fi,Mi=Oe(fi,["node","inline","className","children"]);const Xi=/language-(\w+)/.exec(Xr||"");return oi||!Xi?pe.createElement("code",Me({className:Xr},Mi),pi):pe.createElement("div",{className:re.codeCopy},pe.createElement(te.CopyToClipboard,{text:String(pi).trim(),onCopy:()=>Ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},pe.createElement("button",null,"\u590D\u5236")),pe.createElement(y.Z,Me({style:E.Z,language:Xi[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Mi),String(pi).trim()))},img({node:_r}){var fi;return pe.createElement(fe.Z,{src:(fi=_r.properties)==null?void 0:fi.src,width:320,onLoad:()=>Kn&&setTimeout(()=>sr(),500)})}}},an&&Nnnew Promise((Jn,Kn)=>{var nr=or=>{try{Nn(an.next(or))}catch(dr){Kn(dr)}},zr=or=>{try{Nn(an.throw(or))}catch(dr){Kn(dr)}},Nn=or=>or.done?Jn(or.value):Promise.resolve(or.value).then(nr,zr);Nn((an=an.apply(It,Zt)).next())}),ot=({value:It="",streamingStatus:Zt,onFinish:an,cancelIndex:Jn,time:Kn,loading:nr,loadAll:zr})=>{const[Nn,or]=(0,z.useState)(""),[dr,Rr]=(0,z.useState)(!0),ar=(0,z.useRef)(It),sr=(0,z.useRef)(Zt),Yr=(0,z.useRef)(0),_r=(0,z.useRef)(null),[fi,Yi]=(0,z.useState)(!1),oi=70;(0,z.useEffect)(()=>{sr.current=Zt},[Zt]),(0,z.useEffect)(()=>{ar.current=It},[It]),(0,z.useEffect)(()=>{if(!Zt){or(ar.current);return}return Yi(!0),_r.current=setInterval(Xr,oi),()=>{clearInterval(_r.current)}},[]),(0,z.useEffect)(()=>{fi&&(or(ar.current),clearInterval(_r.current),Yi(!1),an())},[Jn]);const Xr=()=>Qe(void 0,null,function*(){const pi=ar.current[Yr.current];pi!==void 0?(or(Mi=>Mi+pi),Yr.current++,clearInterval(_r.current),_r.current=setInterval(Xr,280/(ar.current.length-Yr.current))):sr.current===!1&&(or(ar.current),clearInterval(_r.current),Yi(!1),an())});return tt.createElement("div",{className:`${Te.reasoning} fadeIn animated`},tt.createElement("div",{className:Te.btn,onClick:()=>Rr(!dr)},tt.createElement("i",{className:"iconfont icon-shendusikao"}),Kn?tt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Kn," \u79D2\uFF09"):tt.createElement("span",null,"\u601D\u8003\u4E2D..."),dr?tt.createElement("b",{className:"iconfont icon-shouqi6"}):tt.createElement("b",{className:"iconfont icon-zhankai6"})),nr&&tt.createElement(oe.Z,{spinning:!0,className:"mt20"}),dr&&!nr&&tt.createElement("div",{className:Te.content},Nn,fi?tt.createElement("span",{className:"aiBlink"},"__"):""))},At={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},St=ve(81327),ft=Object.defineProperty,it=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Lt=(It,Zt,an)=>Zt in It?ft(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Qt=(It,Zt)=>{for(var an in Zt||(Zt={}))ut.call(Zt,an)&&Lt(It,an,Zt[an]);if(it)for(var an of it(Zt))Pt.call(Zt,an)&&Lt(It,an,Zt[an]);return It};const lt=It=>React.createElement("svg",Qt({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},It),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 nt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ye=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(It,Zt,an)=>Zt in It?Ye(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Ne=(It,Zt)=>{for(var an in Zt||(Zt={}))Ke.call(Zt,an)&&Ue(It,an,Zt[an]);if(kt)for(var an of kt(Zt))_e.call(Zt,an)&&Ue(It,an,Zt[an]);return It};const He=It=>React.createElement("svg",Ne({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},It),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 Pe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yM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g5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Fe=ve(59301),Ve=({value:It,onChange:Zt})=>{const[an,Jn]=(0,z.useState)(!1),Kn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:nt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Pe}],nr=Kn.find(zr=>zr.key===It);return Fe.createElement("div",{className:At.select},Fe.createElement(St.Z,{size:10},Fe.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Fe.createElement("div",{className:At.box,onMouseLeave:()=>Jn(!1)},Fe.createElement("div",{className:At.text,onClick:()=>Jn(!0)},Fe.createElement("img",{src:nr.img,width:20}),Fe.createElement("span",null,nr.name),Fe.createElement("b",{className:"iconfont icon-zhankai6"})),an&&Fe.createElement("div",{className:At.itemWrap},Fe.createElement("aside",null,Kn.map(zr=>Fe.createElement("div",{key:zr.key,className:`${At.item} ${zr.key===It?At.active:""}`,onClick:Nn=>{Nn.stopPropagation(),Zt(zr.key),Jn(!1)}},Fe.createElement("img",{src:zr.img,width:20}),Fe.createElement("span",null,zr.name))))))))},$e={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},ht=ve(99064),gt=ve(955),Xe={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},dt=({src:It,onClick:Zt,topPercentage:an=.62,draggableExtraNode:Jn})=>{const Kn=(0,z.useRef)(null),nr=(0,z.useRef)(!1),zr=(0,z.useRef)(!1),[Nn,or]=(0,z.useState)(window.innerHeight*an),[dr,Rr]=(0,z.useState)(!1),ar=10;return(0,z.useEffect)(()=>{if(Kn.current){let sr=function(oi){var Xr;nr.current=!0,Yi=oi.pageY,fi=oi.pageY-(((Xr=Kn.current)==null?void 0:Xr.getBoundingClientRect().top)||0),(0,gt.kk)("none"),document.onselectstart=function(){return!1}},Yr=function(){nr.current&&!zr.current&&Zt&&Zt(),nr.current=!1,zr.current=!1,(0,gt.kk)("auto"),document.onselectstart=null},_r=function(oi){var Xr;if(nr.current){const Mi=oi.pageY-fi,Xi=window.innerHeight-(((Xr=Kn.current)==null?void 0:Xr.offsetHeight)||0)-50,Br=50;if(!zr.current&&Math.abs(Yi-oi.pageY)>ar&&(zr.current=!0),zr.current){let ha=Math.max(Br,Math.min(Mi,Xi));or(ha)}}},fi=0,Yi=0;return Kn.current.addEventListener("mousedown",sr),document.addEventListener("mousemove",_r),document.addEventListener("mouseup",Yr),()=>{var oi,Xr;(Xr=(oi=Kn==null?void 0:Kn.current)==null?void 0:oi.removeEventListener)==null||Xr.call(oi,"mousedown",sr),document.removeEventListener("mousemove",_r),document.removeEventListener("mouseup",Yr)}}},[Zt]),(0,z.useEffect)(()=>{const sr=()=>{or(window.innerHeight*an)};return window.addEventListener("resize",sr),()=>{window.removeEventListener("resize",sr)}},[an]),z.createElement("div",{className:Xe.draggableImage,style:{top:`${Nn}px`,display:dr?"none":"block",cursor:nr.current?"grabbing":"grab"},ref:Kn},Jn,z.createElement("img",{className:Xe.img,src:It,width:60,draggable:"false"}),z.createElement("i",{className:`iconfont icon-tupianguanbi ${Xe.close}`,onMouseUp:sr=>{sr.stopPropagation(),Rr(!0)}}))},Xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h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IRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",xn=ve(3294),Mt=ve(86204),En=ve(85149),on=Object.defineProperty,Rn=Object.defineProperties,zn=Object.getOwnPropertyDescriptors,tr=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,en=(It,Zt,an)=>Zt in It?on(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Er=(It,Zt)=>{for(var an in Zt||(Zt={}))An.call(Zt,an)&&en(It,an,Zt[an]);if(tr)for(var an of tr(Zt))wn.call(Zt,an)&&en(It,an,Zt[an]);return It},kr=(It,Zt)=>Rn(It,zn(Zt)),vt=(It,Zt,an)=>en(It,typeof Zt!="symbol"?Zt+"":Zt,an),Gn=(It,Zt,an)=>new Promise((Jn,Kn)=>{var nr=or=>{try{Nn(an.next(or))}catch(dr){Kn(dr)}},zr=or=>{try{Nn(an.throw(or))}catch(dr){Kn(dr)}},Nn=or=>or.done?Jn(or.value):Promise.resolve(or.value).then(nr,zr);Nn((an=an.apply(It,Zt)).next())});class In extends Mt.EventEmitter{constructor(Zt,an){super(),vt(this,"url"),vt(this,"body"),vt(this,"fullContent",""),vt(this,"controller",null),this.url=Zt,this.body=an}startStream(){return Gn(this,null,function*(){this.controller=new AbortController;const{signal:Zt}=this.controller;try{const an=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Zt});if(!an.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${an.status}`);const Jn=an.headers.get("content-type");if(!Jn||!Jn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Kn=an.body.getReader(),nr=new TextDecoder("utf-8");for(;;){const{done:zr,value:Nn}=yield Kn.read();if(zr)break;const dr=nr.decode(Nn,{stream:!0}).split(` `);for(const Rr of dr)if(Rr.startsWith("data:")){let ar=(0,En.z)(Rr.slice(5).trim().replace(/\\(?![tnrbfi"])/g,"\\\\"));if(ar==="[DONE]")break;try{const sr=JSON.parse(ar);sr.data&&this.handleData(kr(Er({},sr.data),{content:sr.data.content.replace(/\\\\/g,"\\")}))}catch(sr){console.error("\u89E3\u6790 JSON \u5931\u8D25:",sr)}}}this.emit("done",this.fullContent)}catch(an){an.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",an.message)}})}handleData(Zt){Zt.content&&(this.fullContent+=Zt.content,this.emit("data",{chunk:Zt,full:this.fullContent}))}cancelRequest(){var Zt;(Zt=this.controller)==null||Zt.abort()}}var $t=In,Sn=ve(58617),Tn=ve(32050),hr=Object.defineProperty,Wn=Object.defineProperties,ur=Object.getOwnPropertyDescriptors,ti=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,ir=(It,Zt,an)=>Zt in It?hr(It,Zt,{enumerable:!0,configurable:!0,writable:!0,value:an}):It[Zt]=an,Ln=(It,Zt)=>{for(var an in Zt||(Zt={}))mi.call(Zt,an)&&ir(It,an,Zt[an]);if(ti)for(var an of ti(Zt))Cr.call(Zt,an)&&ir(It,an,Zt[an]);return It},De=(It,Zt)=>Wn(It,ur(Zt)),je=(It,Zt,an)=>new Promise((Jn,Kn)=>{var nr=or=>{try{Nn(an.next(or))}catch(dr){Kn(dr)}},zr=or=>{try{Nn(an.throw(or))}catch(dr){Kn(dr)}},Nn=or=>or.done?Jn(or.value):Promise.resolve(or.value).then(nr,zr);Nn((an=an.apply(It,Zt)).next())}),Rt=({title:It="\u5934\u6B4CAI",placeholder:Zt,hideUpload:an,hideInputBox:Jn,aiIcon:Kn=Xt,userIcon:nr=rn,dragIcon:zr=Cn,children:Nn,fetchUrl:or,fetchData:dr={},extraAnswerAction:Rr,showDefaultTips:ar=!0,onOpen:sr,onClose:Yr,loadingOption:_r,showPreference:fi=!1,initMessage:Yi,customRequest:oi,visible:Xr,width:pi=1200,isCheckRestrictNumber:Mi=!1,headNode:Xi,headFunctionNode:Br,showRedraw:ha,showEdit:Ka,promptPropName:Qi="prompt",topPercentage:Ri,showSwitchingModel:Or=!1,showImageGenerator:ci=!1,showLookHistory:Ii=!1,fetchListObject:ii,customPreference:_i,customDataNode:yi,showAddSession:Xa,historyId:Ma,draggableExtraNode:Gi,drawerExtraNode:Oa,menuExtraFunctionNode:sa,showSceneAwareness:Wi=!1})=>{var bo;const[yo,gs]=(0,z.useState)(!1),[Vs,Ku]=(0,z.useState)("qwen-max"),[Ds,Os]=(0,z.useState)([]),[vu,js]=(0,z.useState)(!1),[jl,Ns]=(0,z.useState)(!1),[Dc,lu]=(0,z.useState)(!1),[So,Wo]=(0,z.useState)([]),[yu,Cl]=(0,z.useState)(""),[Bc,a0]=(0,z.useState)(0),[Nl,sl]=(0,z.useState)(!1),[bl,ki]=(0,z.useState)(null),[Ei,Oi]=(0,z.useState)(""),Ci=(0,z.useRef)(),La=(0,z.useRef)(null),Ua=(0,z.useRef)(null),[Po,wo]=(0,z.useState)(!1),[$a,fo]=(0,z.useState)(!1),[Ss,Ko]=(0,z.useState)(!1),[cu,ul]=(0,z.useState)(!1),[ll,Ai]=(0,z.useState)(0),Qs=(0,z.useRef)(null),Eu=(0,z.useRef)(!1),Do=(0,z.useRef)(null),[Lu,Ql]=(0,z.useState)(void 0),[Sl,Hs]=(0,z.useState)(!0),[Hl,Zs]=(0,z.useState)(pi-28),[ku,Xu]=(0,z.useState)(!1),[xc,Pc]=(0,z.useState)(!0),[Ys,oc]=(0,z.useState)([]),Yl=(0,z.useRef)([]),Ic=(0,z.useRef)(!1),wl=Hl-22,Dl=yu==null?void 0:yu.split(` diff --git a/umi.ecd40efa.js b/umi.587c7dba.js similarity index 99% rename from umi.ecd40efa.js rename to umi.587c7dba.js index 812e09aa06..6f4235472e 100644 --- a/umi.ecd40efa.js +++ b/umi.587c7dba.js @@ -95,7 +95,7 @@ Try polyfilling it using "@formatjs/intl-displaynames" \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q - `),mt=!1),Sa||ye(ke()),Sa.formatMessage(ie,ve)),se=()=>Object.keys(Ln)},16209:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(43418),r=e(95237),n=e(43604),o=e(58539),s=e(59301);const u=c=>new Promise((a,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let g=new RTCPeerConnection,p=[];g.createDataChannel(""),g.createOffer().then(b=>g.setLocalDescription(b)).catch(b=>f(b)),g.onicecandidate=b=>{console.log("event:",b);const h=[];if(!b||!b.candidate){if(console.log("ips",p),p.length==0||!(0,o.t)(p[0])){const R=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>R.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const L=p.filter(R=>(0,o.t)(R));return!L||!L.length?f("IP\u83B7\u53D6\u5931\u8D25"):a(L.join(""))}let E=b.candidate.candidate.split(" "),[P,A,I,C,O,T,,D,...k]=E,$=["rtp","rtpc"];if(console.log("event:",b),p.some(L=>L==O)||p.push(O),console.log(" candidate: "+P.split(":")[1]),console.log(" component: "+$[A-1]),console.log(" protocol: "+I),console.log(" priority: "+C),console.log(" ip: "+O),console.log(" port: "+T),console.log(" type: "+D),k.length){console.log("attributes: ");for(let L=0;L "+k[L]+": "+k[L+1])}}})},52743:function(i,d,e){"use strict";e.d(d,{k:function(){return E}});var t=e(38650),r=e(8591),n=e(99309),o=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(A,I,C)=>I in A?o(A,I,{enumerable:!0,configurable:!0,writable:!0,value:C}):A[I]=C,p=(A,I)=>{for(var C in I||(I={}))a.call(I,C)&&g(A,C,I[C]);if(c)for(var C of c(I))f.call(I,C)&&g(A,C,I[C]);return A},b=(A,I)=>s(A,u(I)),h=(A,I)=>{var C={};for(var O in A)a.call(A,O)&&I.indexOf(O)<0&&(C[O]=A[O]);if(A!=null&&c)for(var O of c(A))I.indexOf(O)<0&&f.call(A,O)&&(C[O]=A[O]);return C};const E=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],P={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[E[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${E[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[E[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${E[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:A},{call:I,put:C}){yield C({type:"save",payload:{actionTabs:p({},A)}})},*getMajorList({payload:A},{call:I,put:C,select:O}){const{userInfo:T}=yield O(D=>D.user);if(T!=null&&T.school_id){const D=yield I(t.BA,T.school_id);if(D&&D.data){const k=n.U.getItem(T==null?void 0:T.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[0],value:D.data.map($=>({label:$.name,value:$.ec_major_school_id})),active:D.data.length>0?k[0]||D.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:A},{call:I,put:C,select:O}){const T=yield I(t.Nx,A.id),{userInfo:D}=yield O(k=>k.user);if(T&&T.data){const k=n.U.getItem(D==null?void 0:D.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[1],value:T.data.map($=>({label:$.year,value:$.ec_year_id})),active:T.data.length>0?A.firstEnter?k[1]:T.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:A={}},{call:I,put:C,select:O}){const{calc:T,page:D,per_page:k}=A,{headerData:$,tabListData:L}=yield O(N=>N.engineeringEvaluteList),{userInfo:R}=yield O(N=>N.user);let U=$.active[E[1]];if(U){let N={id:U,page:D||1,per_page:k||L.pageSize};T&&(N=b(p({},N),{page:L.pageNo}));const V=yield I(t._y,N),j=[$.active[E[0]],$.active[E[1]]];n.U.setItem(R==null?void 0:R.login,j),V&&V.ec_courses&&(yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:N.page,total:V.count,pageSize:N.per_page||L.pageSize,dataSource:V.ec_courses.map((Y,G)=>b(p({},Y),{key:N.page>1?(N.page-1)*N.per_page+G+1:G+1}))})}))}else yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:A},{call:I,select:C}){const{headerData:O}=yield C(T=>T.engineeringEvaluteList);O.active[E[1]]&&(yield I(t.F,O.active[E[1]]))},*compute({payload:A},{call:I,put:C}){const O=A,{all:T}=O,D=h(O,["all"]),k=yield I(T?t.At:t.PX,D);k&&k.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(k.message)}},reducers:{save(A,I){return p(p({},A),I.payload)},setMajorOrYearDataSource(A,{payload:I}){let C=A.headerData.active;return I.active&&(C=b(p({},C),{[I.key]:I.active})),b(p({},A),{headerData:b(p({},A.headerData),{dataSource:b(p({},A.headerData.dataSource),{[I.key]:b(p({},A.headerData.dataSource[I.key]),{dataList:I.value})}),active:C})})},setMajorOrYearActive(A,{payload:I}){return b(p({},A),{headerData:b(p({},A.headerData),{active:b(p({},A.headerData.active),{[I.key]:I.value})})})},setCourseResults(A,{payload:I}){return b(p({},A),{tabListData:p(p({},A.tabListData),I)})}},subscriptions:{setup({dispatch:A,history:I}){return I.listen(({pathname:C})=>{C==="/"&&A({type:"query"})})}}};d.Z=P},26422:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(g,p,b)=>p in g?t(g,p,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[p]=b,u=(g,p)=>{for(var b in p||(p={}))n.call(p,b)&&s(g,b,p[b]);if(r)for(var b of r(p))o.call(p,b)&&s(g,b,p[b]);return g};const c=g=>g==null?void 0:g.map(p=>{const b=(p.sub_disciplines||[]).map(h=>({value:h.id,label:h.name}));return{value:p.id,label:p.name,children:b}}),a={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=g=>{if(!g)return;const{all_questions_count:p,all_score:b,single_questions:h,multiple_questions:E,judgement_questions:P,program_questions:A,completion_questions:I,subjective_questions:C,practical_questions:O,combination_questions:T}=g||{},k=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},h),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},E),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},P),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},A),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},T)].filter($=>$.questions_count>0).map(($,L)=>u(u({},$),{number:a[L+1]}));return{all_questions_count:p,all_score:b,questionList:k}}},99309:function(i,d,e){"use strict";e.d(d,{U:function(){return o},t:function(){return n}});var t=e(43418),r=e(24065);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},o={setItem:(s,u)=>{var c;const a=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(a,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),a=localStorage.getItem(c);return a!==null&&a!=="[object Object]"?JSON.parse(a):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},35390:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return E},GY:function(){return u},I8:function(){return A},Ow:function(){return b},P:function(){return g},Ql:function(){return c},RA:function(){return O},Zm:function(){return a},bz:function(){return s},eF:function(){return P},gQ:function(){return I},ht:function(){return h},kN:function(){return T},n1:function(){return n},nI:function(){return D},o9:function(){return o},sG:function(){return f},wi:function(){return C}});var t=e(99064),r=(k,$,L)=>new Promise((R,U)=>{var N=Y=>{try{j(L.next(Y))}catch(G){U(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){U(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function n(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/avatar.json`,{method:"put",body:k})})}function o(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}.json`,{method:"get"})})}function s(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:k})})}function u(k){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:k})})}function c(k){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${k.id}/departments/for_option.json`,{method:"get",params:k})})}function a(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:k})})}function f(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}.json`,{method:"put",body:k})})}function g(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/authentication_apply.json`,{method:"delete"})})}function p(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/professional_auth_apply.json`,{method:"delete"})})}function b(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/professional_auth_apply.json`,{method:"post",body:k})})}function h(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/authentication_apply.json`,{method:"post",body:k})})}function E(k){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:k})})}function P(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/phone_bind.json`,{method:"post",body:k})})}function A(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/email_bind.json`,{method:"post",body:k})})}function I(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/password.json`,{method:"put",body:k})})}function C(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.basicInfoId}/open_users/${k.id}.json`,{method:"delete"})})}function O(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_authentication.json`,{method:"post",body:k})})}function T(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_professional_certification.json`,{method:"post",body:k})})}function D(k,$){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/videos/${k.id}/create_subject_video.json`,{method:"post",body:$})})}},13112:function(i,d,e){"use strict";e.d(d,{An:function(){return b},TO:function(){return f},my:function(){return p},nZ:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(h,E,P)=>E in h?r(h,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):h[E]=P,c=(h,E)=>{for(var P in E||(E={}))o.call(E,P)&&u(h,P,E[P]);if(n)for(var P of n(E))s.call(E,P)&&u(h,P,E[P]);return h},a=(h,E,P)=>new Promise((A,I)=>{var C=D=>{try{T(P.next(D))}catch(k){I(k)}},O=D=>{try{T(P.throw(D))}catch(k){I(k)}},T=D=>D.done?A(D.value):Promise.resolve(D.value).then(C,O);T((P=P.apply(h,E)).next())});function f(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_up.json`,{method:"post",body:c({},h)})})}function g(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_down.json`,{method:"post",body:c({},h)})})}function p(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/update_informs.json`,{method:"post",body:c({},h)})})}function b(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/new_informs.json`,{method:"post",body:c({},h)})})}},19381:function(i,d,e){"use strict";e.d(d,{$n:function(){return P},H:function(){return E},Nm:function(){return b},Ot:function(){return h},SV:function(){return f},fc:function(){return I},mn:function(){return A},tO:function(){return p},zI:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=U=>{try{R(T.next(U))}catch(N){k(N)}},L=U=>{try{R(T.throw(U))}catch(N){k(N)}},R=U=>U.done?D(U.value):Promise.resolve(U.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},C)})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}.json`,{method:"get",params:c({},C)})})}function h(C){return a(this,null,function*(){const{id:O}=C;return delete C.id,(0,t.ZP)(`/api/files/${O}.json`,{method:"put",body:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function P(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:c({},C)})})}},10813:function(i,d,e){"use strict";e.d(d,{CJ:function(){return b},Mf:function(){return I},NA:function(){return P},PC:function(){return h},PP:function(){return E},YQ:function(){return A},cc:function(){return p},dI:function(){return g},yq:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=U=>{try{R(T.next(U))}catch(N){k(N)}},L=U=>{try{R(T.throw(U))}catch(N){k(N)}},R=U=>U.done?D(U.value):Promise.resolve(U.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function h(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:c({},C)})})}function P(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},C)})})}},92365:function(i,d,e){"use strict";e.d(d,{$T:function(){return gt},A:function(){return Ht},Ab:function(){return un},Al:function(){return Y},BQ:function(){return Be},BR:function(){return j},Bn:function(){return je},Cq:function(){return Pr},DJ:function(){return ee},Dd:function(){return h},Ds:function(){return et},EO:function(){return he},Ed:function(){return ae},FU:function(){return Re},Fg:function(){return E},GV:function(){return ze},Gk:function(){return R},Gm:function(){return xt},Gz:function(){return P},Hl:function(){return A},Hn:function(){return T},ID:function(){return Qr},IU:function(){return Xe},J2:function(){return _e},K$:function(){return kt},KP:function(){return ce},KT:function(){return B},L$:function(){return tt},Lk:function(){return ba},Ls:function(){return Z},MA:function(){return Ke},Mc:function(){return ea},N7:function(){return V},Nd:function(){return L},Nl:function(){return st},Ns:function(){return Jr},O3:function(){return H},Pj:function(){return it},QX:function(){return lt},QZ:function(){return M},R2:function(){return N},Rk:function(){return Ar},S9:function(){return qe},U8:function(){return tr},UD:function(){return hr},U_:function(){return k},Uy:function(){return Nr},V8:function(){return O},Vw:function(){return Q},W0:function(){return ge},W7:function(){return Je},WK:function(){return Gt},Wr:function(){return ar},YR:function(){return Pt},Z0:function(){return at},ZL:function(){return Ct},ZT:function(){return nn},ZX:function(){return we},_9:function(){return Et},_B:function(){return Gn},aP:function(){return _t},aQ:function(){return me},aZ:function(){return Ve},al:function(){return Ft},bm:function(){return mr},bz:function(){return xe},c_:function(){return Cr},ds:function(){return lr},fN:function(){return Bt},fr:function(){return Ae},g4:function(){return He},gq:function(){return I},hf:function(){return J},i:function(){return ir},i6:function(){return Ue},i7:function(){return Wr},iE:function(){return f},ih:function(){return nr},kW:function(){return fe},km:function(){return ur},nP:function(){return p},nQ:function(){return Pe},nX:function(){return Rt},oM:function(){return St},oR:function(){return Rn},o_:function(){return rt},pf:function(){return Te},pr:function(){return dn},pv:function(){return Ze},qB:function(){return G},rS:function(){return C},s:function(){return Mr},sb:function(){return Ne},sm:function(){return b},t1:function(){return nt},tB:function(){return _n},tI:function(){return Oa},td:function(){return ht},uh:function(){return De},up:function(){return Vt},v2:function(){return g},vV:function(){return Mt},w9:function(){return $},wR:function(){return Me},yS:function(){return ct},yV:function(){return U},yd:function(){return Ie},zC:function(){return la},zg:function(){return K}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=($e,Vn,on)=>Vn in $e?r($e,Vn,{enumerable:!0,configurable:!0,writable:!0,value:on}):$e[Vn]=on,c=($e,Vn)=>{for(var on in Vn||(Vn={}))o.call(Vn,on)&&u($e,on,Vn[on]);if(n)for(var on of n(Vn))s.call(Vn,on)&&u($e,on,Vn[on]);return $e},a=($e,Vn,on)=>new Promise((Fa,Ua)=>{var Sa=Mn=>{try{Xa(on.next(Mn))}catch(Ia){Ua(Ia)}},qa=Mn=>{try{Xa(on.throw(Mn))}catch(Ia){Ua(Ia)}},Xa=Mn=>Mn.done?Fa(Mn.value):Promise.resolve(Mn.value).then(Sa,qa);Xa((on=on.apply($e,Vn)).next())});const f=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/course_videos/configs.json`,{method:"put",body:$e})}),g=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/course_videos/list_for_config.json`,{method:"Get",params:$e})}),p=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:$e})}),b=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/batch_late_setting`,{method:"post",body:$e})}),h=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:$e})}),E=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:$e})}),P=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:$e})}),A=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:$e})});function I($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},$e.permissions)})})}function C($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/assistant_permissions.json`,{method:"Get",params:c({},$e)})})}function O($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},$e)})})}function T($e){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},$e)})})}function D($e){return a(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},$e)})})}function k($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/top_banner.json`,{method:"get",params:c({},$e)})})}function $($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id||$e.coursesId}/left_banner.json`,{method:"get",params:c({},$e)})})}function L($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons.json`,{method:"get",params:c({},$e)})})}function R($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons/list.json`,{method:"get",params:c({},$e)})})}function U($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/graduation_topics.json`,{method:"get",params:c({},$e)})})}function N($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/graduation_tasks.json`,{method:"get",params:c({},$e)})})}function V($e){return a(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${$e.id}/exercises.json`,{method:"get",params:c({},$e)})})}function j($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/polls.json`,{method:"get",params:c({},$e)})})}function Y($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons.json`,{method:"get",params:c({},$e)})})}function G($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_groups.json`,{method:"get",params:c({},$e)})})}function J($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/all_course_groups.json`,{method:"get",params:c({},$e)})})}function Q($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/attendances.json`,{method:"get",params:c({},$e)})})}function Z($e){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${$e.coursesId}/attendances.json`,{method:"get",params:c({},$e)})})}function K($e){return a(this,null,function*(){return(0,t.ZP)(`/api/attendances/${$e.id}/edit.json`,{method:"get",params:c({},$e)})})}function M($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/informs.json`,{method:"get",params:c({},$e)})})}function B($e){return a(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},$e)})})}function H($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_videos.json`,{method:"get",params:c({},$e)})})}function ee($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/live_links.json`,{method:"get",params:c({},$e)})})}function ae($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},$e)})})}function ce($e){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${$e.categoryId}/messages.json`,{method:"get",params:c({},$e)})})}function fe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_groups.json`,{method:"get",params:c({},$e)})})}function _e($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/students.json`,{method:"get",params:c({},$e)})})}function He($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/statistics.json`,{method:"get",params:c({},$e)})})}function ze($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/work_score.json`,{method:"get",params:c({},$e)})})}function nt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/act_score.json`,{method:"get",params:c({},$e)})})}function it($e){return a(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},$e)})})}function xt($e){return a(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},$e)})})}function Et($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},$e)})})}function me($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},$e)})})}function Be($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},$e)})})}function Je($e){return a(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},$e)})})}function et($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},$e)})})}function kt($e){return a(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:$e})})}function St($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:$e})})}function je($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:$e})})}function xe($e){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:$e})})}function Pe($e){return a(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:$e})})}function Re($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:$e})})}function De($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/add_teacher.json`,{method:"post",body:$e})})}function Ve($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/add_students_by_search.json`,{method:"post",body:$e})})}function Ne($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/set_public_or_private.json`,{method:"post",body:$e})})}function tt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/set_invite_code_halt.json`,{method:"post",body:$e})})}function qe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/duplicate_course.json`,{method:"post",body:$e})})}function Ft($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/update_end_date.json`,{method:"put",body:$e})})}function Ht($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}.json`,{method:"delete",body:$e})})}function he($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/settings.json`,{method:"get",params:c({},$e)})})}function Ae($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}.json`,{method:"put",body:$e})})}function Pt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ct($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},$e)})})}function lt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},$e)})})}function st($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},$e)})})}function Xe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},$e)})})}function ht($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},$e)})})}function ge($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},$e)})})}function _t($e){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},$e)})})}function rt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},$e)})})}function Ct($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},$e)})})}function Mt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},$e)})})}function vr($e){return a(this,null,function*(){return Fetch(`/api/homework_commons/${$e.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},$e)})})}function at($e){return a(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${$e.id}.json`,{method:"delete",params:{export:!0}})})}function ir($e){return a(this,null,function*(){return(0,t.ZP)(`/api//boards/${$e.id}.json`,{method:"delete",params:{export:!0}})})}function Ie($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${$e.id}/sticky_module.json`,{method:"get"})})}function Rt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${$e.id}/hidden_module.json`,{method:"get"})})}function Te($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:$e})})}function lr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${$e.id}.json`,{method:"get",params:$e})})}function mr($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:$e})})}function hr($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:$e})})}function _r($e){return a(this,null,function*(){return Fetch(`/api/polls/${$e.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},$e)})})}function Nr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},$e)})})}function Wr($e){return(0,t.ZP)(`/api/polls/${$e.categoryId}/start_answer.json`,{method:"get",params:c({},$e)})}function Qr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${$e.questionId}/poll_votes.json`,{method:"post",body:$e})})}function Jr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${$e.categoryId}/commit_poll.json`,{method:"post",body:$e})})}function ur($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.courseId}/tasks_list.json`,{method:"get",params:$e})})}function tr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.courseId}/update_task_position.json`,{method:"post",body:$e})})}function Vt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:$e})})}function Cr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/all_course_groups.json`,{method:"get",params:$e})})}function Pr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/polls/all_course_groups.json`,{method:"get",params:$e})})}function Ar($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/students.json`,{method:"get",params:$e})})}function gt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${$e.categoryId}/rename_group.json`,{method:"POST",body:$e})})}function Ze($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${$e.categoryId}.json`,{method:"delete",body:$e})})}function Ue($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/join_course_group.json`,{method:"POST",body:$e})})}function Me($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/transfer_to_course_group.json`,{method:"post",body:$e})})}function Ke($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/delete_from_course.json`,{method:"post",body:$e})})}function Gt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/join_course_group.json`,{method:"post",body:$e})})}function Bt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/exit_course.json`,{method:"post"})})}function we($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},$e)})})}function nr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users/${$e.user_id}/edit.json`,{method:"get",params:$e})})}function Mr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users.json`,{method:"post",body:$e})})}function _n($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users/${$e.user_id}.json`,{method:"put",body:$e})})}function ar($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${$e.id}/move_category.json`,{method:"post",body:$e})})}function un($e){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${$e.id}/move_category.json`,{method:"post",body:$e})})}function nn($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/courseware.json`,{method:"get",params:$e})})}function dn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e}/mark_wrong_topic.json`,{method:"get",params:Vn})})}function Gn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e}/cancel_wrong_topic.json`,{method:"get",params:Vn})})}function Rn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e}/allow_end_group.json`,{method:"get",params:Vn})})}function ea($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Vn})})}function ba($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/tasks/${$e}/get_content_for_commit_id.json`,{method:"get",params:Vn})})}function Oa($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/course_ai_info.json`,{method:"Get",params:c({},$e)})})}function la($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/set_open_ai.json`,{method:"post",body:$e})})}},52721:function(i,d,e){"use strict";e.d(d,{$M:function(){return xt},$P:function(){return Ft},Ax:function(){return g},Dh:function(){return A},FU:function(){return R},GQ:function(){return Q},IN:function(){return xe},JM:function(){return Ve},Ju:function(){return it},Mn:function(){return je},Ni:function(){return H},Pg:function(){return I},Pt:function(){return P},Qp:function(){return G},R9:function(){return U},Ux:function(){return J},Vy:function(){return fe},XJ:function(){return B},XR:function(){return ze},Ze:function(){return D},aq:function(){return T},bQ:function(){return h},bu:function(){return p},cC:function(){return f},jS:function(){return V},lm:function(){return Pe},ml:function(){return K},o3:function(){return me},pA:function(){return Je},pS:function(){return De},pU:function(){return M},ps:function(){return L},q0:function(){return kt},qN:function(){return St},qS:function(){return E},qj:function(){return He},qt:function(){return tt},rV:function(){return C},rZ:function(){return Ne},rk:function(){return ae},rm:function(){return Y},sK:function(){return j},sL:function(){return et},su:function(){return Re},tC:function(){return ce},tO:function(){return _e},u9:function(){return Z},uZ:function(){return ee},vV:function(){return $},xx:function(){return Ht},y8:function(){return nt},yS:function(){return k},zF:function(){return b},zc:function(){return N},zj:function(){return O},zz:function(){return qe}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(he,Ae,Pt)=>Ae in he?r(he,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):he[Ae]=Pt,c=(he,Ae)=>{for(var Pt in Ae||(Ae={}))o.call(Ae,Pt)&&u(he,Pt,Ae[Pt]);if(n)for(var Pt of n(Ae))s.call(Ae,Pt)&&u(he,Pt,Ae[Pt]);return he},a=(he,Ae,Pt)=>new Promise((ct,lt)=>{var st=ge=>{try{ht(Pt.next(ge))}catch(_t){lt(_t)}},Xe=ge=>{try{ht(Pt.throw(ge))}catch(_t){lt(_t)}},ht=ge=>ge.done?ct(ge.value):Promise.resolve(ge.value).then(st,Xe);ht((Pt=Pt.apply(he,Ae)).next())});const f=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/create_guide.json`,{method:"post",body:he}),g=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/guides.json`,{method:"get",params:he}),p=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.competition_team_id}/edit_info.json`,{method:"put",body:he});function b(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/update_result.json`,{method:"post",body:he})})}function h(he){return a(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},he)})})}function E(he){return a(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:he})})}function P(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"post"})})}function A(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_staff.json`,{method:"get"})})}function I(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/common_header.json`,{method:"get"})})}function C(he){return a(this,null,function*(){return(0,t.ZP)(`/api/${he.url}`,{method:"get",params:c({},he)})})}function O(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/update_md_content.json`,{method:"post",body:he})})}function T(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"get",params:he})})}function D(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.Teannameid}/edit.json`,{method:"get",params:he})})}function k(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.Teannameid}.json`,{method:"put",body:he})})}function $(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.id}/leave.json`,{method:"post",body:he})})}function L(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.id}.json`,{method:"delete"})})}function R(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"post",body:he})})}function U(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/add_managers.json`,{method:"post",body:he})})}function N(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/join.json`,{method:"post",body:he})})}function V(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/teachers.json`,{method:"get",params:he})})}function j(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/students.json`,{method:"get",params:he})})}function Y(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/crud_team_members.json`,{method:"post",body:he})})}function G(he){return a(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:he})})}function J(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/chart_rules.json`,{method:"get"})})}function Q(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/charts.json`,{method:"get",params:he})})}function Z(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/results.json`,{method:"get",params:he})})}function K(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/md_tab_rules.json`,{method:"get",params:he})})}function M(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/prize.json`,{method:"get",params:he})})}function B(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.id}.json`,{method:"get",params:he})})}function H(he){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:he})})}function ee(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/phone_bind.json`,{method:"post",body:he})})}function ae(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/email_bind.json`,{method:"post",body:he})})}function ce(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/professional_auth_apply.json`,{method:"delete"})})}function fe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/authentication_apply.json`,{method:"delete"})})}function _e(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/prize_leader_account.json`,{method:"put",body:he})})}function He(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/shixun_detail.json`,{method:"get"})})}function ze(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/course_detail.json`,{method:"get"})})}function nt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/attachments/${he.id}.json`,{method:"delete"})})}function it(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/get_certificate_info.json`,{method:"get",params:he})})}function xt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/basic_setting.json`,{method:"post",body:he})})}function Et(){return a(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function me(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/common_header.json`,{method:"get"})})}function Be(he){return a(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:he})})}function Je(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/search_managers.json`,{method:"get",params:he})})}function et(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_managers.json`,{method:"get"})})}function kt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/add_managers.json`,{method:"post",body:he})})}function St(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/delete_managers.json`,{method:"delete",body:he})})}function je(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_picture.json`,{method:"get"})})}function xe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/identifier_exist.json`,{method:"post",body:he})})}function Pe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_shixun_settings.json`,{method:"get"})})}function Re(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_add.json`,{method:"post",body:he})})}function De(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_delete.json`,{method:"delete",body:he})})}function Ve(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_select.json`,{method:"post",body:he})})}function Ne(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/info_finish.json`,{method:"get"})})}function tt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/competition_review.json`,{method:"post",body:c({},he)})})}function qe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"get",params:he})})}function Ft(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/all_team_members.json`,{method:"get",params:he})})}function Ht(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_commit_records/member_works.json`,{method:"get",params:he})})}},38650:function(i,d,e){"use strict";e.d(d,{F:function(){return E},OE:function(){return O},ff:function(){return P},p1:function(){return A},_y:function(){return h},mK:function(){return $},gq:function(){return R},eM:function(){return k},BA:function(){return V},bA:function(){return Y},Nx:function(){return j},Qx:function(){return T},At:function(){return I},PX:function(){return C},Xl:function(){return D},y9:function(){return L},No:function(){return U},ay:function(){return G}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(J,Q,Z)=>Q in J?r(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:Z}):J[Q]=Z,f=(J,Q)=>{for(var Z in Q||(Q={}))u.call(Q,Z)&&a(J,Z,Q[Z]);if(s)for(var Z of s(Q))c.call(Q,Z)&&a(J,Z,Q[Z]);return J},g=(J,Q)=>n(J,o(Q)),p=(J,Q)=>{var Z={};for(var K in J)u.call(J,K)&&Q.indexOf(K)<0&&(Z[K]=J[K]);if(J!=null&&s)for(var K of s(J))Q.indexOf(K)<0&&c.call(J,K)&&(Z[K]=J[K]);return Z},b=(J,Q,Z)=>new Promise((K,M)=>{var B=ae=>{try{ee(Z.next(ae))}catch(ce){M(ce)}},H=ae=>{try{ee(Z.throw(ae))}catch(ce){M(ce)}},ee=ae=>ae.done?K(ae.value):Promise.resolve(ae.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const h=J=>b(void 0,null,function*(){var Q=J,{id:Z}=Q,K=p(Q,["id"]);return(0,t.ZP)(`/api/ec_years/${Z}/course_results.json`,{method:"get",params:K})}),E=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/course_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},P=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/get_class.json`,{method:"get"}),A=({ec_year_id:J,id:Q,class_name:Z=null})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/${Q}.json`,{method:"get",params:{class_name:Z}}),I=({ec_year_id:J})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:J}}),C=({ec_course_id:J})=>(0,t.ZP)(`/api/ec_courses/${J}/evaluations/evaluation_data`,{method:"POST"}),O=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/ec_graduation_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},T=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_all`,{method:"post"}),D=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_single?id=${Q}`,{method:"POST"}),k=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results.json`,{method:"get"}),$=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/get_formulas.json`,{method:"get"}),L=({ec_year_id:J,formula_one:Q,formula_two:Z,formula_three:K})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:Q,formula_two_id:Z,formula_three_id:K}}),R=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/${Q}.json`,{method:"get"}),U=J=>{var Q=J,{ec_year_id:Z,type:K,goal_value:M}=Q,B=p(Q,["ec_year_id","type","goal_value"]);let H=`?type=${K}`,ee={method:"PUT"};return K==="all"&&(H+=`&goal_value=${M}`),K==="each"&&(ee=g(f({},ee),{body:B})),(0,t.ZP)(`/api/ec_years/${Z}/ec_graduation_results/set_goal_value${H}`,ee)};var N=(J,Q,Z)=>new Promise((K,M)=>{var B=ae=>{try{ee(Z.next(ae))}catch(ce){M(ce)}},H=ae=>{try{ee(Z.throw(ae))}catch(ce){M(ce)}},ee=ae=>ae.done?K(ae.value):Promise.resolve(ae.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const V=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${J}/ec_majors/get_major_list.json`,{method:"get"})}),j=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${J}/ec_years/get_year_list.json`,{method:"get"})}),Y=({ec_year_id:J,school_id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/top_pages.json`,{method:"get",params:{school_id:Q}}),G=({id:J,name:Q})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${J}?name=${Q}`,{method:"PUT"})},94941:function(i,d,e){"use strict";e.d(d,{$Q:function(){return O},$l:function(){return Bt},BJ:function(){return St},CD:function(){return Ae},Cd:function(){return tt},Cl:function(){return _r},Di:function(){return Et},Fl:function(){return Je},G$:function(){return K},GK:function(){return Be},Ip:function(){return Pe},J:function(){return M},KE:function(){return et},L8:function(){return ht},LP:function(){return Re},MK:function(){return me},Mb:function(){return ur},N0:function(){return L},N3:function(){return _e},OO:function(){return I},P8:function(){return Ar},PJ:function(){return H},PT:function(){return Vt},Qc:function(){return U},RK:function(){return Z},Ty:function(){return lr},UH:function(){return vr},UK:function(){return He},Uj:function(){return Ht},Ul:function(){return Ne},VL:function(){return lt},Vj:function(){return _t},W4:function(){return Ft},WL:function(){return rt},Wj:function(){return Q},X4:function(){return xe},Xn:function(){return Qr},Xo:function(){return V},YY:function(){return xt},Ym:function(){return k},Yu:function(){return gt},ZD:function(){return Pr},Zg:function(){return Nr},_B:function(){return he},_F:function(){return tr},_U:function(){return Y},_u:function(){return ee},aU:function(){return $},ab:function(){return hr},cC:function(){return Te},cV:function(){return G},ck:function(){return Cr},dp:function(){return R},eA:function(){return Ke},fG:function(){return P},gA:function(){return J},gG:function(){return Jr},gJ:function(){return Ze},hk:function(){return b},hv:function(){return h},iB:function(){return E},iU:function(){return A},iw:function(){return Rt},kp:function(){return st},lL:function(){return C},lf:function(){return fe},n$:function(){return ce},n7:function(){return j},nF:function(){return ge},o3:function(){return Ue},oS:function(){return De},oX:function(){return ct},oy:function(){return mr},p7:function(){return D},pL:function(){return Pt},pu:function(){return je},q6:function(){return Xe},qf:function(){return it},qz:function(){return Ve},s:function(){return ir},sA:function(){return Ct},sS:function(){return Me},tX:function(){return at},uR:function(){return ze},ux:function(){return kt},wy:function(){return nt},xA:function(){return Ie},yE:function(){return N},yu:function(){return Mt},zP:function(){return T},zR:function(){return Gt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(we,nr,Mr)=>nr in we?r(we,nr,{enumerable:!0,configurable:!0,writable:!0,value:Mr}):we[nr]=Mr,f=(we,nr)=>{for(var Mr in nr||(nr={}))u.call(nr,Mr)&&a(we,Mr,nr[Mr]);if(s)for(var Mr of s(nr))c.call(nr,Mr)&&a(we,Mr,nr[Mr]);return we},g=(we,nr)=>n(we,o(nr)),p=(we,nr,Mr)=>new Promise((_n,ar)=>{var un=Gn=>{try{dn(Mr.next(Gn))}catch(Rn){ar(Rn)}},nn=Gn=>{try{dn(Mr.throw(Gn))}catch(Rn){ar(Rn)}},dn=Gn=>Gn.done?_n(Gn.value):Promise.resolve(Gn.value).then(un,nn);dn((Mr=Mr.apply(we,nr)).next())});const b=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:we}),h=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:we}),E=we=>(0,t.ZP)(`/api/exercises/${we.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:we}),P=we=>(0,t.ZP)(`/api/exercises/${we.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:we}),A=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:we}),I=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score.json`,{method:"get",params:we}),C=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:we}),O=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/score_ranges.json`,{method:"get",params:we}),T=we=>(0,t.ZP)(`/api/exercises/${we.id}/sava_exam_summary.json`,{method:"post",body:we}),D=we=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:we}),k=we=>(0,t.ZP)(`/api/exercises/${we.id}/generate_exam_summary.json`,{method:"post",body:we}),$=we=>(0,t.ZP)(`/api/exercises/${we.id}/exam_summary_settings.json`,{method:"post",body:we}),L=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/review_exercise_user.json`,{method:"post",body:we})}),R=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/code_check.json`,{method:"get",params:we}),U=we=>(0,t.ZP)(`/api/exercises/${we.id}/reset_pwd.json`,{method:"post",body:we}),N=we=>(0,t.ZP)(`/api/exercises/${we.id}/encrypt_or_decrypt.json`,{method:"post",body:we}),V=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/delayed_time_or_force.json`,{method:"post",body:we})}),j=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/exercise_time.json`,{method:"Get",params:we})}),Y=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/exercise_question_result.json`,{method:"get",params:we}),G=we=>(0,t.ZP)(`/api/exercises/${we.id}/get_question_type_alias.json`,{method:"get",params:we});function J(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/teacher_update.json`,{method:"post",body:f({},we)})})}function Q(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/adjust_comment.json`,{method:"post",body:f({},we)})})}function Z(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/edit_question_type_alias.json`,{method:"POST",body:we})})}function K(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_lists.json`,{method:"get",params:f({},we)})})}function M(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},we)})})}function B(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/video_push_url.json`,{method:"get",params:f({},we)})})}function H(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},we)})})}function ee(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_result.json`,{method:"get",params:f({},we)})})}function ae(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},we)})})}function ce(we){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},we)})})}function fe(we){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},we)})})}function _e(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},we)})})}function He(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/common_header.json`,{method:"get",params:f({},we)})})}function ze(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises.json`,{method:"post",body:f({},we)})})}function nt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}.json`,{method:"put",body:f({},we)})})}function it(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}.json`,{method:"get",params:f({},we)})})}function xt(we){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},we)})})}function Et(we){return p(this,null,function*(){const{id:nr}=we;return delete we.id,(0,t.ZP)(`/api/exercise_questions/${nr}.json`,{method:"put",body:f({},we)})})}function me(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_questions.json`,{method:"post",body:f({},we)})})}function Be(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/up_down.json`,{method:"post",body:f({},we)})})}function Je(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}.json`,{method:"delete"})})}function et(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},we)})})}function kt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/publish_groups.json`,{method:"get",params:f({},we)})})}function St(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},we)})})}function je(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/consult_exercise.json`,{method:"post",body:f({},we)})})}function xe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},we)})})}function Pe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/adjust_score.json`,{method:"post",body:f({},we)})})}function Re(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/batch_adjust_score.json`,{method:"post",body:f({},we)})})}function De(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/adjust_score.json`,{method:"post",body:f({},we)})})}function Ve(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/delayed_time.json`,{method:"post",body:f({},we)})})}function Ne(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_setting.json`,{method:"get",params:f({},we)})})}function tt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${we.categoryId}/exercise_setting.json`,{method:"get",params:f({},we)})})}function qe(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/commit_setting.json`,{method:"post",body:f({},we)})})}function Ft(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},we)})})}function Ht(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_lists.xlsx`,{method:"get",params:g(f({},we),{export:!0})})})}function he(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/user_exercise_detail.json`,{method:"get",params:g(f({},we),{login:null})})}function Ae(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/start.json`,{method:"get",params:f({},we)})}function Pt(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/start_unlock.json`,{method:"post",body:f({},we)})}function ct(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.questionId}/exercise_answers.json`,{method:"post",body:we})})}function lt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/commit_exercise.json`,{method:"post",body:we})})}function st(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/simulate_commit_exercise.json`,{method:"post",body:we})})}function Xe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/redo_exercise.json`,{method:"post",body:we})})}function ht(we){return(0,t.ZP)(`/api/${we.url}`,{method:"get",params:f({},we)})}function ge(we){return(0,t.ZP)(`/api/problems/${we.id}/start.json`,{method:"get",params:f({},we)})}function _t(we){return(0,t.ZP)(`/api/exercises/${we.id}/begin_commit.json`,{method:"get",params:f({},we)})}function rt(we){return(0,t.ZP)(`/api/exercises/${we.id}/simulate_begin_commit.json`,{method:"get",params:f({},we)})}function Ct(we){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},we)})}function Mt(we){return console.log("params:",we),(0,t.ZP)(`/api/exercises/${we.categoryId}/edit.json`,{method:"get",params:f({},we)})}function vr(we){return(0,t.ZP)(`/api/exercises/${we.id}/get_objective_scores.json`,{method:"get",params:f({},we)})}function at(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/redo_modal.json`,{method:"get",params:f({},we)})}function ir(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/student_redo_lists.json`,{method:"get",params:f({},we)})}function Ie(we){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:we})}function Rt(we){return(0,t.ZP)(`/api/exercises/${we.id}/exercise_header.json`,{method:"get",params:f({},we)})}function Te(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/allow_close_camera.json`,{method:"post",body:f({},we)})}function lr(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},we)})}function mr(we){return(0,t.ZP)(`/api/exercises/${we.id}/record_screen`,{method:"post",params:f({},we)})}function hr(we){return(0,t.ZP)(`/api/exercises/${we.id}/unbind_ip.json`,{method:"post",body:f({},we)})}function _r(we){return(0,t.ZP)(`/api/exercises/${we.id}/check_ip.json`,{method:"get",params:f({},we)})}function Nr(we){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/check_user_exercise.json`,{method:"get",params:f({},we)})}function Wr(we){return Fetch(`/api/exercises/${we.id}/make_up_students.json`,{method:"get",params:f({},we)})}function Qr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},we)})})}function Jr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.question_id}/adjust_score.json`,{method:"post",body:f({},we)})})}function ur(we){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${we.categoryId}/simulate_exercise.json`,{method:"post",body:f({},we)})})}function tr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},we)})})}function Vt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_time.json`,{method:"get",params:f({},we)})})}function Cr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/commit_screen_at.json`,{method:"post",body:f({},we)})})}function Pr(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/unlock_user`,{method:"post",body:nr})})}function Ar(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/save_screen_record.json`,{method:"post",body:nr})})}function gt(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/screen_record_list.json`,{method:"get",params:nr})})}function Ze(we){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},we)})})}function Ue(we){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:we})})}function Me(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/mark.json`,{method:"post",body:nr})})}function Ke(we){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${we}/exit_delete_pod.json`,{method:"post",body:we})})}function Gt(we){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:we})})}function Bt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/send_to_item_bank.json`,{method:"post",body:f({},we)})})}},67508:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return O},YP:function(){return C},b4:function(){return A},bc:function(){return f},dX:function(){return P},eh:function(){return T},iI:function(){return h},kd:function(){return g},qR:function(){return E},sW:function(){return b},ts:function(){return k},vL:function(){return D},z5:function(){return $}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(L,R,U)=>R in L?r(L,R,{enumerable:!0,configurable:!0,writable:!0,value:U}):L[R]=U,c=(L,R)=>{for(var U in R||(R={}))o.call(R,U)&&u(L,U,R[U]);if(n)for(var U of n(R))s.call(R,U)&&u(L,U,R[U]);return L},a=(L,R,U)=>new Promise((N,V)=>{var j=J=>{try{G(U.next(J))}catch(Q){V(Q)}},Y=J=>{try{G(U.throw(J))}catch(Q){V(Q)}},G=J=>J.done?N(J.value):Promise.resolve(J.value).then(j,Y);G((U=U.apply(L,R)).next())});function f(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:L})})}function g(L){return a(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:L})})}function p(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/sticky_or_cancel.json`,{method:"post",body:L})})}function b(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"delete",body:L})})}function h(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:L})})}function E(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/edit.json`,{method:"get",params:L})})}function P(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},L)})})}function A(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"put",body:c({},L)})})}function I(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"get",params:L})})}function C(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"post",body:L})})}function O(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"delete",body:c({},L)})})}function T(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/reward_code.json`,{method:"post",body:L})})}function D(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/plus.json`,{method:"post",body:L})})}function k(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:L})})}function $(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/more_reply.json`,{method:"get",params:L})})}},30534:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return o},tk:function(){return s}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function o(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},89887:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return k},Mf:function(){return O},NA:function(){return I},PC:function(){return P},PP:function(){return A},QA:function(){return g},RP:function(){return R},Sv:function(){return L},YQ:function(){return C},_n:function(){return U},hL:function(){return D},je:function(){return E},mM:function(){return h},wA:function(){return $},x_:function(){return b},y0:function(){return T},y3:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(N,V,j)=>V in N?r(N,V,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[V]=j,c=(N,V)=>{for(var j in V||(V={}))o.call(V,j)&&u(N,j,V[j]);if(n)for(var j of n(V))s.call(V,j)&&u(N,j,V[j]);return N},a=(N,V,j)=>new Promise((Y,G)=>{var J=K=>{try{Z(j.next(K))}catch(M){G(M)}},Q=K=>{try{Z(j.throw(K))}catch(M){G(M)}},Z=K=>K.done?Y(K.value):Promise.resolve(K.value).then(J,Q);Z((j=j.apply(N,V)).next())});function f(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function g(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/tasks_list.json`,{method:"get",params:c({},N)})})}function p(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/show_detail.json`,{method:"get",params:c({},N)})})}function b(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function h(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},N)})})}function E(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/accept_student_topic.json`,{method:"post",body:c({},N)})})}function P(N){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${N.categoryId}/show_comment.json`,{method:"get",params:c({},N)})})}function A(N){return a(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},N)})})}function I(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},N)})})}function C(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},N)})})}function O(N){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},N)})})}function T(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},N)})})}function D(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}function k(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics`,{method:"post",body:c({},N)})})}function $(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}`,{method:"put",body:c({},N)})})}function L(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_tasks`,{method:"post",body:c({},N)})})}function R(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"put",body:c({},N)})})}function U(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}},2742:function(i,d,e){"use strict";e.d(d,{AA:function(){return $},Db:function(){return g},Dd:function(){return E},F7:function(){return j},Fi:function(){return K},H3:function(){return h},HF:function(){return A},HH:function(){return b},Ib:function(){return J},J3:function(){return u},NT:function(){return n},NX:function(){return C},Ot:function(){return I},Ou:function(){return Y},Ps:function(){return o},Rk:function(){return V},Tz:function(){return f},V1:function(){return Q},Wz:function(){return s},Xh:function(){return p},Xw:function(){return N},YS:function(){return R},Zd:function(){return Z},bS:function(){return O},ck:function(){return P},eh:function(){return k},il:function(){return c},j7:function(){return a},jW:function(){return L},km:function(){return U},l5:function(){return D},rU:function(){return M},xF:function(){return T},zC:function(){return G},zT:function(){return B}});var t=e(99064),r=(H,ee,ae)=>new Promise((ce,fe)=>{var _e=nt=>{try{ze(ae.next(nt))}catch(it){fe(it)}},He=nt=>{try{ze(ae.throw(nt))}catch(it){fe(it)}},ze=nt=>nt.done?ce(nt.value):Promise.resolve(nt.value).then(_e,He);ze((ae=ae.apply(H,ee)).next())});function n(H){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})}function o(H){return(0,t.ZP)(`/api/schools/${H.id}/departments/for_option.json`,{method:"get",params:H})}function s(H){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:H})}function u(H){return(0,t.ZP)("/api/graduations.json",{method:"get",params:H})}function c(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/authorized_redelivery.json`,{method:"POST",body:H})})}function a(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/submit.json`,{method:"POST",body:H})})}function f(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_status.json`,{method:"get",params:H})})}function g(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_all_attachments.json`,{method:"get",params:H})})}function p(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.id}.json`,{method:"get",params:H})})}function b(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/set_final_score.json`,{method:"POST",body:H})})}function h(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/final_score.json`,{method:"get",params:H})})}function E(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/set_novice_guide.json`,{method:"POST",body:H})})}function P(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices/${H.doid}/set_do.json`,{method:"POST",body:H})})}function A(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"POST",body:H})})}function I(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_students/${H.id}/update_major.json`,{method:"PUT",body:H})})}function C(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"POST",body:H})})}function O(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers/search.json`,{method:"get",params:H})})}function T(H){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})})}function D(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students/search.json`,{method:"get",params:H})})}function k(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"get",params:H})})}function $(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"get",params:H})})}function L(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks.json`,{method:"POST",body:H})})}function R(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks/${H.id}.json`,{method:"PUT",body:H})})}function U(H){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks/${(ee=H.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:H.ids}})})}function N(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks.json`,{method:"get",params:H})})}function V(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices.json`,{method:"get",params:H})})}function j(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}.json`,{method:"get"})})}function Y(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H==null?void 0:H.id}/common_header.json`,{method:"get"})})}function G(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/preview.json`,{method:"get"})})}function J(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function Q(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function Z(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function K(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/pass.json`,{method:"post",body:ee})})}function M(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function B(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},1:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return o},vm:function(){return s}});var t=e(99064),r=(a,f,g)=>new Promise((p,b)=>{var h=A=>{try{P(g.next(A))}catch(I){b(I)}},E=A=>{try{P(g.throw(A))}catch(I){b(I)}},P=A=>A.done?p(A.value):Promise.resolve(A.value).then(h,E);P((g=g.apply(a,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function o(a){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:a})})}function s(a){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:a})})}function u(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:a})})}},10656:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return g},Ko:function(){return h},QJ:function(){return E},Ub:function(){return P},V8:function(){return p},dl:function(){return A},w0:function(){return b}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,C,O)=>C in I?r(I,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):I[C]=O,c=(I,C)=>{for(var O in C||(C={}))o.call(C,O)&&u(I,O,C[O]);if(n)for(var O of n(C))s.call(C,O)&&u(I,O,C[O]);return I},a=(I,C,O)=>new Promise((T,D)=>{var k=R=>{try{L(O.next(R))}catch(U){D(U)}},$=R=>{try{L(O.throw(R))}catch(U){D(U)}},L=R=>R.done?T(R.value):Promise.resolve(R.value).then(k,$);L((O=O.apply(I,C)).next())});function f(I){return a(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function g(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function b(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function h(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function E(I){return a(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function P(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function A(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},34640:function(i,d,e){"use strict";e.d(d,{A2:function(){return E},CI:function(){return p},Ep:function(){return h},Ex:function(){return T},R7:function(){return f},WW:function(){return D},_V:function(){return O},ms:function(){return I},s0:function(){return P},vf:function(){return b},xn:function(){return g},yy:function(){return C}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(k,$,L)=>$ in k?r(k,$,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[$]=L,c=(k,$)=>{for(var L in $||($={}))o.call($,L)&&u(k,L,$[L]);if(n)for(var L of n($))s.call($,L)&&u(k,L,$[L]);return k},a=(k,$,L)=>new Promise((R,U)=>{var N=Y=>{try{j(L.next(Y))}catch(G){U(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){U(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function f(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/online_learning.json`,{method:"get"})})}function g(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"put",body:k})})}function p(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/course_stages.json`,{method:"post",body:k})})}function b(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_shixun_to_stage.json`,{method:"post",body:k})})}function h(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/select_shixun_to_stage.json`,{method:"post",body:k})})}function E(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_video_to_stage.json`,{method:"post",body:k})})}function P(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_attachment_to_stage.json`,{method:"post",body:k})})}function A(k){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:k})})}function I(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/up_position.json`,{method:"post"})})}function C(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/down_position.json`,{method:"post"})})}function O(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"delete"})})}function T(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/move_position.json`,{method:"post",body:c({},k)})})}function D(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/${k.id}`,{method:"delete"})})}},80401:function(i,d,e){"use strict";e.d(d,{DF:function(){return E},Di:function(){return Q},Dm:function(){return V},Dq:function(){return ae},Gd:function(){return h},Hb:function(){return ce},Hm:function(){return R},ID:function(){return a},JP:function(){return ee},NC:function(){return $},Pl:function(){return P},Qc:function(){return o},Qp:function(){return j},RK:function(){return g},YP:function(){return L},a2:function(){return u},ar:function(){return b},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return A},iT:function(){return T},jK:function(){return N},kF:function(){return fe},kp:function(){return O},lc:function(){return C},oF:function(){return K},q$:function(){return c},qN:function(){return U},tS:function(){return I},ts:function(){return D},un:function(){return G},w0:function(){return J},wX:function(){return Y},yE:function(){return s}});var t=e(99064),r=(_e,He,ze)=>new Promise((nt,it)=>{var xt=Be=>{try{me(ze.next(Be))}catch(Je){it(Je)}},Et=Be=>{try{me(ze.throw(Be))}catch(Je){it(Je)}},me=Be=>Be.done?nt(Be.value):Promise.resolve(Be.value).then(xt,Et);me((ze=ze.apply(_e,He)).next())});const n=_e=>(0,t.ZP)(`/api/examination_banks/${_e==null?void 0:_e.id}/code_check.json`,{method:"get",params:_e}),o=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/reset_pwd.json`,{method:"post",body:_e}),s=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/encrypt_or_decrypt.json`,{method:"post",body:_e}),u=_e=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:_e}),c=_e=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:_e}),a=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/copy.json`,{method:"post",body:_e}),f=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/get_question_type_alias.json`,{method:"get",params:_e});function g(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/edit_question_type_alias.json`,{method:"POST",body:_e})})}function p(_e){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:_e})})}function b(_e){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:_e})})}function h(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:_e})})}function E(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/set_public.json`,{method:"post"})})}function P(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/set_private.json`,{method:"post"})})}function A(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"delete"})})}function I(_e){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:_e})})}const C=_e=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:_e});function O(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/send_to_course.json`,{method:"post",body:_e})})}function T(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"get",params:_e})})}function D(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/set_score`,{method:"post",body:_e})})}function k(_e){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/set_shixun_score.json`,{method:"post",body:_e})})}function $(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}.json`,{method:"delete"})})}function L(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:_e})})}function R(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:_e})})}function U(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/adjust_position.json`,{method:"post",body:_e})})}function N(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"put",body:_e})})}function V(_e){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:_e})})}function j(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:_e})})}function Y(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e==null?void 0:_e.id}/set_public.json`,{method:"post",body:_e})})}function G(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:_e})})}function J(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/update_exam.json`,{method:"put",body:_e})})}function Q(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/edit_exam.json`,{method:"get"})})}function Z(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/examination_banks_item_banks.json`,{method:"post",body:He})})}function K(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:_e})})}function M(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/sort_question_type.json`,{method:"post",body:He})})}function B(_e){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e.exam_id}/examination_banks_item_banks/${_e.question_id}.json`,{method:"delete"})})}function H(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/batch_set_score.json`,{method:"post",body:He})})}function ee(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e}/simulate_exercise.json`,{method:"post"})})}function ae(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e}/exercise_header.json`,{method:"get"})})}function ce(_e,He,ze){return r(this,null,function*(){const nt=new FormData;return nt.append("file",He),nt.append("sub_discipline_id",ze),(0,t.ZP)(`/api/examination_banks/${_e}/import_item_banks.json`,{method:"post",body:nt},!0)})}function fe(_e){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:_e})})}},86248:function(i,d,e){"use strict";e.d(d,{$D:function(){return j},A2:function(){return Pe},A7:function(){return at},AQ:function(){return k},Ax:function(){return he},Bn:function(){return Rt},CI:function(){return Ne},DQ:function(){return rt},DU:function(){return Je},EP:function(){return V},Ep:function(){return xe},Er:function(){return H},Ex:function(){return ct},FD:function(){return Ct},F_:function(){return Be},Fg:function(){return g},GY:function(){return ht},Go:function(){return K},Gz:function(){return p},Hl:function(){return b},JS:function(){return ze},KM:function(){return J},M2:function(){return De},Mt:function(){return Ve},Mu:function(){return Ae},NV:function(){return Ie},Q:function(){return ae},Sp:function(){return D},VO:function(){return Mt},WD:function(){return Xe},WO:function(){return B},WW:function(){return lt},_C:function(){return ir},_V:function(){return Ht},bw:function(){return N},bz:function(){return _t},c3:function(){return He},cn:function(){return P},eJ:function(){return Z},ef:function(){return me},fh:function(){return A},fj:function(){return M},hS:function(){return h},jT:function(){return vr},ke:function(){return st},lk:function(){return T},mQ:function(){return O},ms:function(){return qe},mx:function(){return fe},nq:function(){return f},ol:function(){return ge},p:function(){return L},p4:function(){return ce},pU:function(){return C},rS:function(){return nt},rs:function(){return Q},s0:function(){return Re},sm:function(){return _e},tS:function(){return E},tu:function(){return I},ue:function(){return $},vf:function(){return St},w4:function(){return R},xG:function(){return je},xn:function(){return kt},yN:function(){return U},yy:function(){return Ft}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Te,lr,mr)=>lr in Te?r(Te,lr,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Te[lr]=mr,c=(Te,lr)=>{for(var mr in lr||(lr={}))o.call(lr,mr)&&u(Te,mr,lr[mr]);if(n)for(var mr of n(lr))s.call(lr,mr)&&u(Te,mr,lr[mr]);return Te},a=(Te,lr,mr)=>new Promise((hr,_r)=>{var Nr=Jr=>{try{Qr(mr.next(Jr))}catch(ur){_r(ur)}},Wr=Jr=>{try{Qr(mr.throw(Jr))}catch(ur){_r(ur)}},Qr=Jr=>Jr.done?hr(Jr.value):Promise.resolve(Jr.value).then(Nr,Wr);Qr((mr=mr.apply(Te,lr)).next())});const f=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Te})}),g=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Te})}),p=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Te})}),b=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Te})}),h=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Te})});function E(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},Te)})})}function P(Te){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},Te)})})}function A(Te){return a(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},Te)})})}function I(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"PUT",body:Te})})}function C(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:Te})})}function O(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/edit.json`,{method:"get"})})}function T(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"get",params:c({identifier:Te.id},Te)})})}function D(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}.json`,{method:"get",params:c({identifier:Te.id},Te)})})}function k(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/right_banner.json`,{method:"get",params:Te})})}function $(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses.json`,{method:"get",params:Te})})}const L=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:Te})}),R=Te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${Te.id}/children.json`,{method:"Get",params:Te})});function U(Te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Te})})}function N(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/update_team_title.json`,{method:"post",body:Te})})}function V(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/delete_member.json`,{method:"Delete",body:Te})})}function j(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses/${Te==null?void 0:Te.courseid}.json`,{method:"Delete"})})}function Y(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/up_member_position.json`,{method:"post",body:Te})})}function G(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/down_member_position.json`,{method:"post",body:Te})})}function J(Te){return a(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:Te})})}function Q(Te){return a(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:Te})})}function Z(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"Delete",body:Te})})}function K(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/publish.json`,{method:"post",body:Te})})}function M(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/cancel_publish.json`,{method:"post",body:Te})})}function B(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/apply_public.json`,{method:"post",body:Te})})}function H(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/cancel_public.json`,{method:"post",body:Te})})}function ee(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/choose_course.json`,{method:"get",params:Te})})}function ae(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/send_to_course.json`,{method:"post",body:Te})})}function ce(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Te.id}/send_to_course.json`,{method:"post",body:Te})})}function fe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/add_subject_members.json`,{method:"post",body:Te})})}function _e(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses.json`,{method:"post",body:Te})})}function He(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/appointment.json`,{method:"post",body:Te})})}function ze(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}/join_excellent_course.json`,{method:"post",body:Te})})}function nt(Te){return a(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Te})})}function it(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/statistics_info.json`,{method:"get",params:Te})})}function xt(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/shixun_analyze.json`,{method:"get",params:Te})})}function Et(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/learning_analyze.json`,{method:"get",params:Te})})}function me(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/learning_statistics.json`,{method:"get",params:Te})})}function Be(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/shixun_statistics.json`,{method:"get",params:Te})})}function Je(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/study_analyze/${Te.type}.json`,{method:"get",params:Te})})}function et(Te){return a(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Te})})}function kt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}.json`,{method:"put",body:Te})})}function St(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_shixun_to_stage.json`,{method:"post",body:Te})})}const je=Te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Te})});function xe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/select_shixun_to_stage.json`,{method:"post",body:Te})})}function Pe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_video_to_stage.json`,{method:"post",body:Te})})}function Re(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_attachment_to_stage.json`,{method:"post",body:Te})})}function De(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te.id}.json`,{method:"put",body:Te})})}function Ve(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_blank_to_stage.json`,{method:"post",body:Te})})}function Ne(Te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:Te})})}function tt(Te){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Te})})}function qe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/up_position.json`,{method:"get"})})}function Ft(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/down_position.json`,{method:"get"})})}function Ht(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}.json`,{method:"delete"})})}function he(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.pathId}/discusses.json`,{method:"get",params:c({},Te)})})}function Ae(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/excellent_discusses.json`,{method:"get",params:c({},Te)})})}function Pt(Te){return a(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},Te)})})}function ct(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.stage_id}/items/move_position`,{method:"post",body:c({},Te)})})}function lt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.stage_id}/items/${Te.id}`,{method:"delete"})})}function st(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}/excellent_discuss`,{method:"post",body:c({},Te)})})}function Xe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/post_discuss`,{method:"post",body:c({},Te)})})}function ht(Te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:Te})})}function ge(Te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:Te})})}function _t(Te){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Te})})}function rt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.id}/add_homework_to_stage.json`,{method:"post",body:Te})})}function Ct(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te==null?void 0:Te.id}/edit.json`,{method:"get",params:Te})})}function Mt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te==null?void 0:Te.id}.json`,{method:"put",body:Te})})}function vr(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_id}/subjects/subject_homework.json`,{method:"get",params:Te})})}function at(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_id}/courses/course_homework.json`,{method:"get",params:Te})})}function ir(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.id}/batch_add_homework_to_stage.json`,{method:"post",body:Te})})}function Ie(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Te})})}function Rt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_login}/subjects/cancel.json`,{method:"get",params:Te})})}},31417:function(i,d,e){"use strict";e.d(d,{Fd:function(){return J},Hi:function(){return b},IU:function(){return $},KE:function(){return E},Kc:function(){return Z},MK:function(){return L},Q9:function(){return O},Qg:function(){return k},Qn:function(){return A},UK:function(){return p},W:function(){return M},Ye:function(){return D},_c:function(){return f},hO:function(){return V},iV:function(){return K},jy:function(){return R},kp:function(){return N},lf:function(){return C},m7:function(){return h},n$:function(){return I},rJ:function(){return T},s3:function(){return g},ux:function(){return P},vf:function(){return G},wh:function(){return U},wo:function(){return Q},x$:function(){return Y}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,H,ee)=>H in B?r(B,H,{enumerable:!0,configurable:!0,writable:!0,value:ee}):B[H]=ee,c=(B,H)=>{for(var ee in H||(H={}))o.call(H,ee)&&u(B,ee,H[ee]);if(n)for(var ee of n(H))s.call(H,ee)&&u(B,ee,H[ee]);return B},a=(B,H,ee)=>new Promise((ae,ce)=>{var fe=ze=>{try{He(ee.next(ze))}catch(nt){ce(nt)}},_e=ze=>{try{He(ee.throw(ze))}catch(nt){ce(nt)}},He=ze=>ze.done?ae(ze.value):Promise.resolve(ze.value).then(fe,_e);He((ee=ee.apply(B,H)).next())});const f=B=>a(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B==null?void 0:B.id}/commit_word_cloud.json`,{method:"Get",params:B})});function g(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_lists.json`,{method:"get",params:c({},B)})})}function p(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/common_header.json`,{method:"get"})})}function b(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_setting.json`,{method:"get"})})}function h(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_setting.json`,{method:"post",body:c({},B)})})}function E(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},B)})})}function P(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/publish_groups.json`,{method:"get",params:c({},B)})})}function A(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_result.json`,{method:"get",params:c({},B)})})}function I(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},B)})})}function C(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},B)})})}function O(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},B)})})}function T(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls.json`,{method:"POST",body:c({},B)})})}function D(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/edit.json`,{method:"get"})})}function k(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function $(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function L(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}/poll_questions.json`,{method:"post",body:c({},B)})})}function R(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function U(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function N(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"get"})})}function V(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function j(B){return a(this,null,function*(){return Fetch(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function Y(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function G(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function J(B){return a(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},B)})})}function Q(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function Z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.id}.json`,{method:"put",body:c({},B)})})}function K(B){return a(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},B)})})}function M(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.exerciseId}/up_down.json`,{method:"post",body:c({},B)})})}},16149:function(i,d,e){"use strict";e.d(d,{$c:function(){return tt},A1:function(){return Ve},Bd:function(){return O},Bo:function(){return j},Cc:function(){return J},Cn:function(){return K},DF:function(){return I},Dm:function(){return me},FG:function(){return V},GW:function(){return Be},HF:function(){return L},Hm:function(){return B},IJ:function(){return De},L5:function(){return Et},LS:function(){return et},MZ:function(){return Pe},Mr:function(){return N},NZ:function(){return He},Of:function(){return P},Pl:function(){return A},Qj:function(){return h},Qp:function(){return St},RT:function(){return he},Rp:function(){return kt},U6:function(){return R},Vl:function(){return Q},Wk:function(){return U},YP:function(){return M},Ys:function(){return D},al:function(){return T},bF:function(){return qe},d1:function(){return b},dt:function(){return Ft},et:function(){return ee},ex:function(){return E},fY:function(){return ae},fn:function(){return C},hI:function(){return ze},hg:function(){return xe},iT:function(){return Y},lS:function(){return _e},nD:function(){return Je},qN:function(){return H},rV:function(){return k},s:function(){return fe},sD:function(){return Re},sS:function(){return xt},ts:function(){return G},vi:function(){return Ne},wX:function(){return je},x5:function(){return $},zh:function(){return ce}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ae,Pt,ct)=>Pt in Ae?r(Ae,Pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ae[Pt]=ct,f=(Ae,Pt)=>{for(var ct in Pt||(Pt={}))u.call(Pt,ct)&&a(Ae,ct,Pt[ct]);if(s)for(var ct of s(Pt))c.call(Pt,ct)&&a(Ae,ct,Pt[ct]);return Ae},g=(Ae,Pt)=>n(Ae,o(Pt)),p=(Ae,Pt,ct)=>new Promise((lt,st)=>{var Xe=_t=>{try{ge(ct.next(_t))}catch(rt){st(rt)}},ht=_t=>{try{ge(ct.throw(_t))}catch(rt){st(rt)}},ge=_t=>_t.done?lt(_t.value):Promise.resolve(_t.value).then(Xe,ht);ge((ct=ct.apply(Ae,Pt)).next())});function b(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:g(f({},Ae),{clazz:"ItemBanksGroup"})})})}function h(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Ae})})}function E(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ae})})}function P(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:Ae})})}function A(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/set_private.json`,{method:"post"})})}function I(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/set_public.json`,{method:"post"})})}function C(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}.json`,{method:"delete"})})}function O(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Ae.id}/start.json`,{method:"get"})})}function T(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}.json`,{method:"delete",body:f({},Ae)})})}function D(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:Ae})})}function k(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Ae})})}function $(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Ae.type}})})}function L(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Ae})})}function R(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:Ae})})}function U(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}.json`,{method:"put",body:Ae})})}function N(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:Ae})})}function V(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/edit.json`,{method:"get"})})}function j(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Ae.id}/edit.json`,{method:"get"})})}function Y(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:Ae})})}function G(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/set_score.json`,{method:"post",body:Ae})})}function J(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/set_challenge_score.json`,{method:"post",body:Ae})})}function Q(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/combination_set_score.json`,{method:"post",body:Ae})})}function Z(Ae){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Ae.exerid}/examination_banks_item_banks/${Ae.id}/combination_set_score.json`,{method:"post",body:Ae})})}function K(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}.json`,{method:"delete"})})}function M(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Ae})})}function B(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Ae})})}function H(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/adjust_position.json`,{method:"post",body:Ae})})}function ee(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:Ae})})}function ae(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ae.id}/revoke_item.json`,{method:"delete",body:Ae})})}function ce(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ae.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Ae})})}function fe(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/join_to_collection.json`,{method:"post",params:Ae})})}function _e(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/cancel_collection.json`,{method:"post",params:Ae})})}function He(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:Ae})})}function ze(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Ae})})}function nt(Ae){return p(this,null,function*(){return Fetch(`/api/item_banks/${Ae.id}/join_to_group.json`,{method:"post",body:Ae})})}function it(Ae){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Ae.id}.json`,{method:"put",body:Ae})})}function xt(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:Ae})})}function Et(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/feedback.json`,{method:"post",body:Ae})})}function me(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:Ae})})}function Be(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:Ae})})}function Je(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Ae})})}function et(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Ae})})}function kt(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Ae})})}function St(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Ae})})}function je(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae==null?void 0:Ae.id}/set_public.json`,{method:"post",body:Ae})})}function xe(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Ae})})}function Pe(Ae){return(0,t.ZP)(`/api/problems/${Ae.identifier}/publish.json`,{method:"post",body:Ae})}function Re(Ae){return(0,t.ZP)(`/api/problems/${Ae.identifier}/cancel_publish.json`,{method:"post",body:Ae})}function De(Ae){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Ae.id]}})}function Ve(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Ae.id}/up_position.json`,{method:"get",params:Ae})})}function Ne(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Ae.id}/down_position.json`,{method:"get",params:Ae})})}function tt(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.id}/edit_hack.json`,{method:"get",params:Ae})})}function qe(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Ae})})}function Ft(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:Ae})})}function Ht(Ae){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Ae})})}function he(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return o}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function o(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},36708:function(i,d,e){"use strict";e.d(d,{Am:function(){return h},Ar:function(){return me},BD:function(){return Ne},Be:function(){return je},Dx:function(){return Q},Fr:function(){return rt},G$:function(){return A},GS:function(){return R},Gw:function(){return P},H:function(){return xt},H1:function(){return Et},Hj:function(){return qe},JA:function(){return Ht},JG:function(){return J},KE:function(){return M},Lz:function(){return De},Mf:function(){return it},NA:function(){return ze},PC:function(){return _e},PP:function(){return He},PW:function(){return et},Q3:function(){return Z},QC:function(){return he},Qt:function(){return Ve},Qz:function(){return O},R$:function(){return ge},RP:function(){return V},Ti:function(){return ir},Uc:function(){return lt},Ul:function(){return Y},VB:function(){return vr},Vs:function(){return st},Wr:function(){return I},Xn:function(){return j},YQ:function(){return nt},Yn:function(){return E},Z8:function(){return $},ak:function(){return Je},cN:function(){return D},co:function(){return xe},cz:function(){return ce},fK:function(){return L},gG:function(){return fe},gZ:function(){return ct},h$:function(){return k},ku:function(){return Re},lf:function(){return H},m7:function(){return G},mQ:function(){return T},mz:function(){return St},n$:function(){return B},oK:function(){return b},oN:function(){return at},pH:function(){return tt},pb:function(){return Mt},qP:function(){return Ae},ql:function(){return Pt},rN:function(){return Pe},sw:function(){return ee},t1:function(){return ae},to:function(){return N},ub:function(){return Ft},ux:function(){return K},wS:function(){return Ct},wT:function(){return C},yT:function(){return Be},yy:function(){return Xe},z2:function(){return kt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ie,Rt,Te)=>Rt in Ie?r(Ie,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ie[Rt]=Te,f=(Ie,Rt)=>{for(var Te in Rt||(Rt={}))u.call(Rt,Te)&&a(Ie,Te,Rt[Te]);if(s)for(var Te of s(Rt))c.call(Rt,Te)&&a(Ie,Te,Rt[Te]);return Ie},g=(Ie,Rt)=>n(Ie,o(Rt)),p=(Ie,Rt,Te)=>new Promise((lr,mr)=>{var hr=Wr=>{try{Nr(Te.next(Wr))}catch(Qr){mr(Qr)}},_r=Wr=>{try{Nr(Te.throw(Wr))}catch(Qr){mr(Qr)}},Nr=Wr=>Wr.done?lr(Wr.value):Promise.resolve(Wr.value).then(hr,_r);Nr((Te=Te.apply(Ie,Rt)).next())});const b=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),h=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),E=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),P=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),I=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),C=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),O=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),T=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),D=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function k(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:f({},Ie)})})}function $(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:f({},Ie)})})}function L(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:f({},Ie)})})}function R(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function U(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function N(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function V(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:f({},Ie)})})}function j(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:f({},Ie)})})}function Y(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:f({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:f({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:f({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:f({},Ie)})})}function Z(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:f({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:f({},Ie)})})}function M(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:f({},Ie)})})}function B(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function ae(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function ce(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:g(f({},Ie),{id:Ie.categoryId})})})}function fe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Ie)})})}function _e(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:f({},Ie)})})}function He(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Ie)})})}function ze(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Ie)})})}function nt(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Ie)})})}function it(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Ie)})})}function xt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:f({},Ie)})})}function Et(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:f({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:f({},Ie)})})}function Be(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:f({},Ie)})})}function Je(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Ie)})})}function et(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:f({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:f({},Ie)})})}function St(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Ie)})})}function je(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Ie)})})}function xe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Ie)})})}function Pe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Re(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Ie)})})}function De(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Ie)})})}function Ve(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:f({},Ie)})})}function tt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:f({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:f({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:f({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:f({},Ie)})})}function he(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:f({},Ie)})})}function Ae(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:f({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:f({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Ie)})})}function lt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:f({},Ie)})})}function st(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:f({},Ie)})})}function Xe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:f({},Ie)})})}function ht(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:f({},Ie)})})}function ge(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Ie)})})}function _t(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:f({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:f({},Ie)})})}function Ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:f({},Ie)})})}function Mt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:f({},Ie)})})}function vr(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Ie)})})}function at(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Ie)})})}function ir(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Ie)})})}},49692:function(i,d,e){"use strict";e.d(d,{$Q:function(){return ar},AE:function(){return hr},AQ:function(){return M},Ag:function(){return gt},Ar:function(){return Be},At:function(){return ea},BK:function(){return ee},Bj:function(){return Ae},Cf:function(){return A},DC:function(){return Ht},Dz:function(){return ba},E4:function(){return b},EH:function(){return kt},Ee:function(){return Ua},Er:function(){return Et},Ez:function(){return C},FB:function(){return H},Fg:function(){return G},Ft:function(){return U},GI:function(){return xe},Gr:function(){return lt},Gu:function(){return je},Gz:function(){return Y},HS:function(){return Ut},Hl:function(){return V},IF:function(){return $},IT:function(){return Pr},I_:function(){return Z},Ij:function(){return L},Ir:function(){return ae},Je:function(){return Gt},K:function(){return la},K0:function(){return Fa},KM:function(){return ze},K_:function(){return nn},LK:function(){return Bt},LP:function(){return Pe},Ne:function(){return xt},OL:function(){return I},OQ:function(){return h},OV:function(){return De},OW:function(){return et},Op:function(){return _n},P2:function(){return Ne},P4:function(){return R},Po:function(){return K},Ps:function(){return st},Q:function(){return it},Q1:function(){return $e},QA:function(){return ye},Ql:function(){return ht},Rs:function(){return Ie},SG:function(){return mt},Tn:function(){return Nr},Tr:function(){return ke},U0:function(){return Ct},U9:function(){return Xe},UQ:function(){return tr},Ui:function(){return un},Vx:function(){return on},WO:function(){return me},WT:function(){return Se},Wi:function(){return Pt},Wl:function(){return Ze},X$:function(){return tt},Yn:function(){return Qr},Z2:function(){return he},ZO:function(){return ct},Zt:function(){return Oa},_7:function(){return nt},_9:function(){return Jr},aH:function(){return ge},al:function(){return at},b8:function(){return Je},bV:function(){return k},bk:function(){return P},bq:function(){return Wr},dK:function(){return ce},e:function(){return J},eX:function(){return St},eb:function(){return Rt},fH:function(){return O},fL:function(){return Ke},h4:function(){return Vn},hS:function(){return j},h_:function(){return Ft},he:function(){return Q},hn:function(){return _e},hy:function(){return T},ii:function(){return ir},im:function(){return ur},j8:function(){return Re},jq:function(){return Mr},kF:function(){return nr},km:function(){return vr},l3:function(){return Ve},m7:function(){return rt},mI:function(){return Oe},n5:function(){return B},np:function(){return D},nu:function(){return we},p0:function(){return Cr},q0:function(){return mr},q9:function(){return Rn},qA:function(){return Gn},rO:function(){return lr},rs:function(){return He},sr:function(){return Vt},t2:function(){return Ar},tX:function(){return Sa},uo:function(){return Mt},v3:function(){return Me},w:function(){return Ue},wX:function(){return N},xK:function(){return _r},xM:function(){return E},xg:function(){return Te},xk:function(){return qe},yE:function(){return _t},yx:function(){return ft},zD:function(){return fe},zH:function(){return dn}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(se,ie,ve)=>ie in se?r(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):se[ie]=ve,f=(se,ie)=>{for(var ve in ie||(ie={}))u.call(ie,ve)&&a(se,ve,ie[ve]);if(s)for(var ve of s(ie))c.call(ie,ve)&&a(se,ve,ie[ve]);return se},g=(se,ie)=>n(se,o(ie)),p=(se,ie,ve)=>new Promise((X,Ye)=>{var Ot=Lt=>{try{Nt(ve.next(Lt))}catch(Kt){Ye(Kt)}},Qt=Lt=>{try{Nt(ve.throw(Lt))}catch(Kt){Ye(Kt)}},Nt=Lt=>Lt.done?X(Lt.value):Promise.resolve(Lt.value).then(Ot,Qt);Nt((ve=ve.apply(se,ie)).next())});const b=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:se})}),h=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:se})}),E=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:se})}),P=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:se})}),A=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:se})}),I=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.questionId}/poll_votes.json`,{method:"post",body:se})}),C=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:se})}),O=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}/up_down.json`,{method:"post",body:se})}),T=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:se})}),D=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}.json`,{method:"put",body:se})}),k=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:se})}),$=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}.json`,{method:"delete"})}),L=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:se})}),R=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:se})}),U=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:se})}),N=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:se})}),V=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:se})}),j=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:se})}),Y=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:se})}),G=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:se})}),J=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:se})});function Q(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},se)})})}function Z(se){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},se||{})})})}function K(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}.json`,{method:"Get",params:se})})}function M(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/show_right.json`,{method:"Get"})})}function B(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges.json`,{method:"Get"})})}function H(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:se.save_type}})})}function ee(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/jupyter_exec.json${se.reset?`?reset=${se.reset}`:""}`,{method:"Get",params:se})})}function ae(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_exec.json${se.reset?`?reset=${se.reset}`:""}`,{method:"Get",params:se})})}function ce(se){return p(this,null,function*(){return(0,t.ZP)(se.url,{method:"Get"})})}function fe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.shixun_identifier}/challenges/${se.challenge_id}/index_up.json`,{method:"Get"})})}function _e(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.shixun_identifier}/challenges/${se.challenge_id}/index_down.json`,{method:"Get"})})}function He(se){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:se.container_id,container_type:se.container_type}})})}function ze(se){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:se.container_id,container_type:se.container_type}})})}function nt(se){return p(this,null,function*(){const{id:ie}=se||{};return(0,t.ZP)(`/api/shixuns/${ie}/search_user_courses.json`,{method:"Get",params:se})})}function it(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se==null?void 0:se.id}/send_to_course.json`,{method:"Post",body:f({},se)})})}function xt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/cancel_publish.json`,{method:"Get"})})}function Et(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/cancel_apply_public.json`,{method:"Get"})})}function me(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/apply_public.json`,{method:"post",body:f({},se)})})}function Be(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/publish.json`,{method:"Get"})})}function Je(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function et(se){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${se.id}.json`,{method:"delete"})})}function kt(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:se})})}function St(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:se})})}function je(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:se})})}function xe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/review_newest_record.json`,{method:"Get"})})}function Pe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/review_shixun.json`,{method:"post",body:se})})}function Re(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/collaborators.json`,{method:"Get",params:se})})}function De(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_members_added.json`,{method:"post",body:se})})}function Ve(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/add_members_group.json`,{method:"post",body:se})})}function Ne(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/change_manager.json`,{method:"Get",params:se})})}function tt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/change_manager.json`,{method:"post",body:se})})}function qe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/collaborators_delete.json`,{method:"delete",body:{user_id:se.userId}})})}function Ft(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/ranking_list.json`,{method:"Get"})})}function Ht(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/settings.json`,{method:"Get"})})}function he(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:se.mirror_id}})})}function Ae(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_script_contents.json`,{method:"Get",params:se})})}function Pt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_custom_script.json`,{method:"Get",params:se})})}function ct(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_for_jupyter.json`,{method:"put",body:se})})}function lt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_quotes.json`,{method:"Get"})})}function st(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}.json`,{method:"delete"})})}function Xe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/close.json`,{method:"post",body:se})})}function ht(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:se})})}function ge(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_permission_setting.json`,{method:"post",body:se})})}function _t(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_learn_setting.json`,{method:"post",body:se})})}function rt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_setting`,{method:"post",body:se})})}function Ct(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_data_sets.json`,{method:"Get",params:se})})}function Mt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/destroy_data_sets.json`,{method:"Delete",body:{id:se.deleteId}})})}function vr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/new.json`,{method:"get"})})}function at(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/challenges.json`,{method:"post",body:f({},se)})})}function ir(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/edit.json`,{method:"get",params:{tab:se.tab}})})}function Ie(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}.json`,{method:"put",body:f({},se)})})}function Rt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_questions.json`,{method:"get"})})}function Te(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/move_position.json`,{method:"post",body:f({},se)})})}function lr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}.json`,{method:"delete",body:f({},se)})})}function mr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/edit.json`,{method:"get",params:f({},se)})})}function hr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/answer.json`,{method:"get",params:f({},se)})})}function _r(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/crud_answer.json`,{method:"post",body:f({},se)})})}function Nr(se){return p(this,null,function*(){if(se.type===1)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_choose_question.json`,{method:"post",body:f({},se)});if(se.type===2)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_blank_question.json`,{method:"post",body:f({},se)});if(se.type===3)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_judge_question.json`,{method:"post",body:f({},se)})})}function Wr(se){return p(this,null,function*(){if(se.type===1)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_choose_question.json`,{method:"post",body:g(f({},se),{choose_id:se.questionId})});if(se.type===2)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_blank_question.json`,{method:"put",body:g(f({},se),{choose_id:se.questionId})});if(se.type===3)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_judge_question.json`,{method:"put",body:g(f({},se),{choose_id:se.questionId})})})}function Qr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:se.questionId}})})}function Jr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:se.questionId}})})}function ur(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:se.questionId}})})}function tr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/edit_choose_question.json`,{method:"get",params:g(f({},se),{choose_id:se.questionId})})})}function Vt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/delete_git_file.json`,{method:"Delete",body:se})})}function Cr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/delete_git_file.json`,{method:"Delete",body:se})})}function Pr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/mv_file.json`,{method:"post",body:se})})}function Ar(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/mv_file.json`,{method:"post",body:se})})}function gt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/repository.json`,{method:"post",body:se})})}function Ze(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/repository.json`,{method:"post",body:se})})}function Ue(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/secret_repository.json`,{method:"post",body:se})})}function Me(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/add_file.json`,{method:"post",body:se})})}function Ke(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/add_file.json`,{method:"post",body:se})})}function Gt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/commits.json`,{method:"post",body:se})})}function Bt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/file_content.json`,{method:"post",body:se})})}function we(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/file_content.json`,{method:"post",body:se})})}function nr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_file.json`,{method:"post",body:se})})}function Mr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/update_file.json`,{method:"post",body:se})})}function _n(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/upload_git_folder.json`,{method:"post",body:{path:se.path,secret_repository:se.secret_repository}})})}function ar(se){return p(this,null,function*(){return(0,t.ZP)(`/api/${se.url}`,{method:"Get"})})}function un(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:se})})}function nn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:se})})}function dn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:se})})}function Gn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:se})})}function Rn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:se})})}function ea(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/fork_list.json`,{method:"Get",params:se})})}function ba(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/change_editable.json`,{method:"put",body:f({},se)})})}function Oa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/set_secret_dir.json`,{method:"post",body:f({},se)})})}function la(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:se})})}function $e(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:se})})}function Vn(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/init_repository.json`,{method:"post",body:f({},se)})})}function on(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/init_repository.json`,{method:"post",body:f({},se)})})}function Fa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_secret_repository.json`,{method:"post",body:f({},se)})})}function Ua(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/exist_exercise.json`,{method:"get",params:f({},se)})})}function Sa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${se.id}.json`,{method:"get",params:f({},se)})})}function qa(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/publish.json`,{method:"post",body:f({},se)})})}function Xa(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/open_vnc.json`,{method:"post",params:f({},se)})})}function Mn(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/open_webssh.json`,{method:"post",params:f({},se)})})}function Ia(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/save_image.json`,{method:"post",body:f({},se)})})}function Ln(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/delete_image.json`,{method:"post",body:f({},se)})})}function Cn(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/extend_vnc.json`,{method:"post",body:f({},se)})})}function On(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/reset_vnc_link.json`,{method:"post",body:f({},se)})})}function ft(se){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},se)})})}function Oe(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},se)})})}function ye(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},se)})})}function ke(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:se})})}function Se(se){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${se}`,{method:"get",params:{is_initiative_study:1}})})}function pt(se){return p(this,null,function*(){return Fetch(`/api/shixuns/${se.id}/update_shixun_study_num.json`,{method:"post",body:f({},se)})})}function mt(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:se})})}function Ut(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se}/recommend_config.json`,{method:"get"})})}},43859:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return T},eJ:function(){return E},eZ:function(){return P},fd:function(){return L},gp:function(){return f},iU:function(){return k},l3:function(){return I},mw:function(){return C},oZ:function(){return h},rM:function(){return O},r_:function(){return $},s:function(){return g},ur:function(){return D},xV:function(){return b},yb:function(){return A}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(R,U,N)=>U in R?r(R,U,{enumerable:!0,configurable:!0,writable:!0,value:N}):R[U]=N,c=(R,U)=>{for(var N in U||(U={}))o.call(U,N)&&u(R,N,U[N]);if(n)for(var N of n(U))s.call(U,N)&&u(R,N,U[N]);return R},a=(R,U,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,U)).next())});function f(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teachers.json`,{method:"get",params:c({},R)})})}function g(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/apply_teachers.json`,{method:"get",params:c({},R)})})}function p(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/graduation_group_list.json`,{method:"get",params:c({},R)})})}function b(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/all_course_groups.json`,{method:"get",params:c({},R)})})}function h(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/set_course_group.json`,{method:"post",body:c({},R)})})}function E(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/join_graduation_group.json`,{method:"post",body:c({},R)})})}function P(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/create_graduation_group.json`,{method:"post",body:c({},R)})})}function A(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},R)})})}function I(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_from_course.json`,{method:"post",body:c({},R)})})}function C(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_member_role.json`,{method:"post",body:c({},R)})})}function O(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_course_admin.json`,{method:"post",body:c({},R)})})}function T(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teacher_application_review.json`,{method:"post",body:c({},R)})})}function D(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/students.json`,{method:"get",params:c({},R)})})}function k(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/apply_students.json`,{method:"get",params:U})})}function $(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/join_student_checkout.json`,{method:"get",params:U})})}function L(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/student_application_review.json`,{method:"post",body:U})})}},24780:function(i,d,e){"use strict";e.d(d,{B$:function(){return b},Cx:function(){return Y},Cy:function(){return ae},DA:function(){return O},DH:function(){return p},Ef:function(){return Q},Es:function(){return E},Ex:function(){return it},FM:function(){return N},Fn:function(){return Z},Gq:function(){return Et},Ho:function(){return D},IU:function(){return ee},JJ:function(){return K},Ol:function(){return _e},Qx:function(){return U},Tv:function(){return M},V8:function(){return g},WS:function(){return G},WY:function(){return R},ai:function(){return j},bG:function(){return A},bJ:function(){return f},c0:function(){return xt},dE:function(){return H},dt:function(){return B},gI:function(){return J},lO:function(){return V},mW:function(){return L},n0:function(){return C},nV:function(){return fe},o1:function(){return He},qE:function(){return h},qN:function(){return T},rV:function(){return k},sh:function(){return ce},vR:function(){return P},w3:function(){return $},x4:function(){return I},z2:function(){return ze}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(me,Be,Je)=>Be in me?r(me,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):me[Be]=Je,c=(me,Be)=>{for(var Je in Be||(Be={}))o.call(Be,Je)&&u(me,Je,Be[Je]);if(n)for(var Je of n(Be))s.call(Be,Je)&&u(me,Je,Be[Je]);return me},a=(me,Be,Je)=>new Promise((et,kt)=>{var St=Pe=>{try{xe(Je.next(Pe))}catch(Re){kt(Re)}},je=Pe=>{try{xe(Je.throw(Pe))}catch(Re){kt(Re)}},xe=Pe=>Pe.done?et(Pe.value):Promise.resolve(Pe.value).then(St,je);xe((Je=Je.apply(me,Be)).next())});const f=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}/move.json`,{method:"post",body:me})}),g=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"delete",body:me})}),p=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"put",body:me})}),b=me=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:me})}),h=me=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:me})});function E(me){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},me)})})}function P(me){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function A(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},me)})})}function I(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},me)})})}function C(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function O(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/homepage_info.json`,{method:"get"})})}function T(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function D(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/courses.json`,{method:"get",params:me})})}function k(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/shixuns.json`,{method:"get",params:me})})}function $(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/subjects.json`,{method:"get",params:me})})}function L(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/projects.json`,{method:"get",params:me})})}function R(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos.json`,{method:"get",params:me})})}function U(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/review.json`,{method:"get",params:me})})}function N(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.id}.json`,{method:"delete"})})}function V(me){return a(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:me})})}function j(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:me})})}function Y(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:me})})}function G(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:me})})}function J(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:me})})}function Q(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:me})})}function Z(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.object_id}/create_course_video.json`,{method:"post",body:me})})}function K(me){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${me.topicId}.json`,{method:"get",params:me})})}function M(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},me)})})}function B(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/batch_publish.json`,{method:"post",body:me})})}function H(me){return a(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${me.identifier}/cancel.json`,{method:"delete",body:c({},me)})})}function ee(){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function ae(me){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},me)})})}function ce(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function fe(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function _e(me){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:me})}function He(me){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:me})}function ze(me){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},me)})}function nt(me){return Fetch("/api/weapps/register.json",{method:"post",body:c({},me)})}function it(me){return(0,t.ZP)(`/api/users/accounts/${me.login}/password.json`,{method:"put",body:c({},me)})}function xt(me){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},me)})}function Et(me){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},me)})}},75730:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return D},Db:function(){return V},Ju:function(){return N},Mz:function(){return L},O2:function(){return h},TJ:function(){return A},Vg:function(){return b},ZY:function(){return g},Zx:function(){return $},cU:function(){return p},fn:function(){return U},jK:function(){return I},yN:function(){return R}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,Y,G)=>Y in j?r(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:G}):j[Y]=G,c=(j,Y)=>{for(var G in Y||(Y={}))o.call(Y,G)&&u(j,G,Y[G]);if(n)for(var G of n(Y))s.call(Y,G)&&u(j,G,Y[G]);return j},a=(j,Y,G)=>new Promise((J,Q)=>{var Z=B=>{try{M(G.next(B))}catch(H){Q(H)}},K=B=>{try{M(G.throw(B))}catch(H){Q(H)}},M=B=>B.done?J(B.value):Promise.resolve(B.value).then(Z,K);M((G=G.apply(j,Y)).next())});function f(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},j)})})}function g(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_statics.json`,{method:"Get",params:c({},j)})})}function p(j){return a(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${j.videoId}/watch_histories.json`,{method:"Get",params:c({},j)})})}function b(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},j)})})}function h(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}.json`,{method:"Get",params:c({},j)})})}function E(j){return a(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:j})})}function P(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function A(j){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function I(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/star.json`,{method:"post",body:j})})}function C(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}.json`,{method:"put",body:j})})}function O(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/send_to_course.json`,{method:"post",body:j})})}function T(j){return a(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},j)})})}function D(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/view_video.json`,{method:"post",body:j})})}function k(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/add_school.json`,{method:"post",body:j})})}function $(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_people_statics.json`,{method:"get",params:j})})}function L(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_duration_statics.json`,{method:"get",params:j})})}function R(j){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:j})})}function U(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j==null?void 0:j.id}/course_videos_tree.json`,{method:"get",params:j})})}function N(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:j})})}function V(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:j})})}},62406:function(i,d,e){"use strict";e.d(d,{A:function(){return L},CH:function(){return o},EA:function(){return c},FU:function(){return g},G_:function(){return h},LY:function(){return T},Ll:function(){return u},MM:function(){return I},Ps:function(){return D},Sl:function(){return P},To:function(){return p},Vf:function(){return b},XQ:function(){return s},b:function(){return f},bq:function(){return $},cZ:function(){return a},rV:function(){return O},sT:function(){return E},tS:function(){return k},xt:function(){return C},y2:function(){return n}});var t=e(99064),r=(R,U,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,U)).next())});const n=R=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:R})});function o(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"put",body:R})})}function s(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"get",params:R})})}function u(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"post",body:R})})}function c(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"get",params:R})})}function a(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/add_resources.json`,{method:"post",body:R})})}function f(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/lesson_resources_list.json`,{method:"get",params:R})})}function g(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"get",params:R})})}function p(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"put",body:R})})}function b(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"post",body:R})})}function h(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"get",params:R})})}function E(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}.json`,{method:"get"})})}function P(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}/modules.json`,{method:"get"})})}function A(R){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${R.id}/videos/batch_publish.json`,{method:"post",body:R})})}function I(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members.json`,{method:"post",body:R})})}function C(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members/${R.id}/change_creator.json`,{method:"post",body:R})})}function O(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns.json`,{method:"get",params:U})})}function T(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns`,{method:"post",body:U})})}function D(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/shixuns/${R.shixun_id}.json`,{method:"delete"})})}function k(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"get",params:U})})}function $(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"post",body:U})})}function L(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/subjects/${R.subject_id}.json`,{method:"delete"})})}},24065:function(i,d,e){"use strict";e.d(d,{$O:function(){return Y},G5:function(){return $},GD:function(){return r},GJ:function(){return g},Gg:function(){return p},I2:function(){return s},IR:function(){return R},JA:function(){return Ne},JL:function(){return C},Jd:function(){return j},Ny:function(){return A},RV:function(){return N},Rb:function(){return k},Rm:function(){return L},V9:function(){return B},Yh:function(){return Z},aN:function(){return E},aQ:function(){return a},ag:function(){return Ve},bg:function(){return Ft},d8:function(){return D},dE:function(){return U},eB:function(){return V},eY:function(){return Ht},fn:function(){return De},h:function(){return st},j5:function(){return h},m$:function(){return he},oF:function(){return b},qz:function(){return c},t_:function(){return P},tu:function(){return Pt},y8:function(){return qe}});var t=e(89070),r=(Xe=>(Xe[Xe.SuperAdmin=1]="SuperAdmin",Xe[Xe.Operation=2]="Operation",Xe[Xe.CertifiedTeacher=5]="CertifiedTeacher",Xe[Xe.TrainingProduction=8]="TrainingProduction",Xe[Xe.UncertifiedTeacher=12]="UncertifiedTeacher",Xe[Xe.Student=15]="Student",Xe))(r||{}),n=(Xe=>(Xe[Xe.SuperAdmin=1]="SuperAdmin",Xe[Xe.Operation=2]="Operation",Xe[Xe.Admin=5]="Admin",Xe[Xe.Teacher=8]="Teacher",Xe[Xe.Assistant=12]="Assistant",Xe[Xe.Student=15]="Student",Xe))(n||{}),o=(Xe=>(Xe[Xe.SuperAdmin=0]="SuperAdmin",Xe[Xe.Teacher=1]="Teacher",Xe[Xe.Student=2]="Student",Xe))(o||{});const s=Xe=>{const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return Xe.some(_t=>_t==(ge==null?void 0:ge.role))},u=Xe=>{const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return ge!=null&&ge.own?!0:Xe.some(_t=>{var rt;return _t==((rt=ge==null?void 0:ge.course)==null?void 0:rt.course_role)})},c=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Xe;return ht.main_site},a=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return(Xe=ge==null?void 0:ge.course)==null?void 0:Xe.course_is_end},f=()=>{const{user:Xe}=getDvaApp()._store.getState(),{userInfo:ht}=Xe;return ht.authentication},g=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),b=()=>u([1,8,5]),h=()=>u([1]),E=()=>u([1,2,5]),P=()=>u([1,2]),A=()=>s([1,2]),I=()=>s([1]),C=()=>s([1,2,5]),O=()=>u([1,5]),T=()=>u([5,8]),D=()=>u([5]),k=()=>u([1,5,2]),$=()=>u([1,2,5,8]),L=()=>u([12]),R=()=>u([8]),U=()=>u([15]),N=()=>u([1,2,5,8,12,15]),V=()=>u([1,2,5,8,12]),j=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return((Xe=ge==null?void 0:ge.course)==null?void 0:Xe.course_role)===null},Y=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Xe;return ht==null?void 0:ht.has_big_model_permission},G=(Xe=!0,ht=!1)=>s([1,2,5,8,12,15]),J=(Xe=!0,ht=!1)=>ht||!ht&&s([1]),Q=(Xe=!0,ht=!1)=>ht||!ht&&s([1,2]),Z=()=>s([15]),K=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),M=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),B=(Xe=!0,ht=!1)=>{const{user:ge}=(0,t.getDvaApp)()._store.getState(),{userInfo:_t}=ge;return _t!=null&&_t.is_shixun_marker?!0:s([1,2,5,8])},H=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),ee=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),ae=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),ce=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),fe=(Xe=!0,ht=!1)=>Xe?s([1,2,5]):ht||!ht&&s([1,2]),_e=(Xe=!0,ht=!1)=>Xe?s([1]):!1,He=(Xe=!0,ht=!1)=>s([1,2,5,8,12,15]),ze=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),nt=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),it=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),xt=(Xe=!0,ht=!1)=>Xe?!1:ht||!ht&&s([1,2]),Et=(Xe=!0,ht=!1)=>Xe?ht||!ht&&s([1,2]):!1,me=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):!1,Be=(Xe=!0,ht=!1)=>Xe?!ht&&s([1,2,5,8,12]):!1,Je=(Xe=!0,ht=!1)=>Xe?s([1,2,5]):ht||!ht&&s([1,2]),et=(Xe=!0,ht=!1)=>s([1,2,5,8,12]),kt=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),St=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),je=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),xe=(Xe=!0,ht=!1)=>Xe?ht||!ht&&s([1,2]):!1,Pe=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),Re=(Xe=!0,ht=!1)=>u([8]),De=()=>s([1]),Ve=()=>s([1,2]),Ne=()=>s([15]),tt=()=>s([1,2,5]),qe=()=>s([1,2,5,12]),Ft=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState();return!!((Xe=ht.userInfo)!=null&&Xe.login)},Ht=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState();return Xe.userInfo},he=()=>{var Xe,ht;const{user:ge}=(0,t.getDvaApp)()._store.getState();return!!((ht=(Xe=ge.userInfo)==null?void 0:Xe.path)!=null&&ht.own)},Ae=Xe=>{const{graduations:ht}=(0,t.getDvaApp)()._store.getState(),{details:ge}=ht;return Xe.some(_t=>_t===(ge==null?void 0:ge.user_identity))},Pt=()=>Ae([0,1]),ct=()=>Ae([0]),lt=()=>Ae([1]),st=()=>Ae([2])},14165:function(i,d,e){"use strict";e.d(d,{a2:function(){return o},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(n||{}),o=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(o||{}),s=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(s||{})},33466:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});const t={PROXY_SERVER:"https://pre-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var r=null,o={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://test-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://pre-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(i,d,e){"use strict";e.d(d,{IV:function(){return K},U2:function(){return G},ZP:function(){return N},d4:function(){return J},gz:function(){return Z},rz:function(){return U},v_:function(){return Q}});var t=e(3294),r=e(28909),n=e(43418),o=e(8591),s=e(85582),u=e.n(s),c=e(59301),a=e(89070),f=e(955),g=Object.defineProperty,p=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(M,B,H)=>B in M?g(M,B,{enumerable:!0,configurable:!0,writable:!0,value:H}):M[B]=H,I=(M,B)=>{for(var H in B||(B={}))E.call(B,H)&&A(M,H,B[H]);if(h)for(var H of h(B))P.call(B,H)&&A(M,H,B[H]);return M},C=(M,B)=>p(M,b(B)),O=(M,B,H)=>new Promise((ee,ae)=>{var ce=He=>{try{_e(H.next(He))}catch(ze){ae(ze)}},fe=He=>{try{_e(H.throw(He))}catch(ze){ae(ze)}},_e=He=>He.done?ee(He.value):Promise.resolve(He.value).then(ce,fe);_e((H=H.apply(M,B)).next())});let T;const D={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},k=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const B=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,H=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ae=/\/api\/attachments\/(\d+)/g,ce=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(ae,(_e,He,ze,nt)=>{const it=He||ze||nt;return"/api/attachments/"+(0,f.Jn)(it)}).replace(ce,(_e,He,ze)=>{const nt=He||ze;return"/attachments/download/"+(0,f.Jn)(nt)}).replace(B,(_e,He,ze,nt)=>{const it=He||ze||nt;return"(/api/attachments/"+(0,f.Jn)(it)}).replace(H,(_e,He,ze)=>{const nt=He||ze;return'"/api/attachments/'+(0,f.Jn)(nt)}).replace(ee,(_e,He,ze)=>{const nt=He||ze;return"(/files/uploads/"+(0,f.Jn)(nt)}).replace(/\r\n/g,` + `),mt=!1),Sa||ye(ke()),Sa.formatMessage(ie,ve)),se=()=>Object.keys(Ln)},16209:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(43418),r=e(95237),n=e(43604),o=e(58539),s=e(59301);const u=c=>new Promise((a,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let g=new RTCPeerConnection,p=[];g.createDataChannel(""),g.createOffer().then(b=>g.setLocalDescription(b)).catch(b=>f(b)),g.onicecandidate=b=>{console.log("event:",b);const h=[];if(!b||!b.candidate){if(console.log("ips",p),p.length==0||!(0,o.t)(p[0])){const R=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>R.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const L=p.filter(R=>(0,o.t)(R));return!L||!L.length?f("IP\u83B7\u53D6\u5931\u8D25"):a(L.join(""))}let E=b.candidate.candidate.split(" "),[P,A,I,C,O,T,,D,...k]=E,$=["rtp","rtpc"];if(console.log("event:",b),p.some(L=>L==O)||p.push(O),console.log(" candidate: "+P.split(":")[1]),console.log(" component: "+$[A-1]),console.log(" protocol: "+I),console.log(" priority: "+C),console.log(" ip: "+O),console.log(" port: "+T),console.log(" type: "+D),k.length){console.log("attributes: ");for(let L=0;L "+k[L]+": "+k[L+1])}}})},52743:function(i,d,e){"use strict";e.d(d,{k:function(){return E}});var t=e(38650),r=e(8591),n=e(99309),o=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(A,I,C)=>I in A?o(A,I,{enumerable:!0,configurable:!0,writable:!0,value:C}):A[I]=C,p=(A,I)=>{for(var C in I||(I={}))a.call(I,C)&&g(A,C,I[C]);if(c)for(var C of c(I))f.call(I,C)&&g(A,C,I[C]);return A},b=(A,I)=>s(A,u(I)),h=(A,I)=>{var C={};for(var O in A)a.call(A,O)&&I.indexOf(O)<0&&(C[O]=A[O]);if(A!=null&&c)for(var O of c(A))I.indexOf(O)<0&&f.call(A,O)&&(C[O]=A[O]);return C};const E=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],P={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[E[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${E[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[E[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${E[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:A},{call:I,put:C}){yield C({type:"save",payload:{actionTabs:p({},A)}})},*getMajorList({payload:A},{call:I,put:C,select:O}){const{userInfo:T}=yield O(D=>D.user);if(T!=null&&T.school_id){const D=yield I(t.BA,T.school_id);if(D&&D.data){const k=n.U.getItem(T==null?void 0:T.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[0],value:D.data.map($=>({label:$.name,value:$.ec_major_school_id})),active:D.data.length>0?k[0]||D.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:A},{call:I,put:C,select:O}){const T=yield I(t.Nx,A.id),{userInfo:D}=yield O(k=>k.user);if(T&&T.data){const k=n.U.getItem(D==null?void 0:D.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[1],value:T.data.map($=>({label:$.year,value:$.ec_year_id})),active:T.data.length>0?A.firstEnter?k[1]:T.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:A={}},{call:I,put:C,select:O}){const{calc:T,page:D,per_page:k}=A,{headerData:$,tabListData:L}=yield O(N=>N.engineeringEvaluteList),{userInfo:R}=yield O(N=>N.user);let U=$.active[E[1]];if(U){let N={id:U,page:D||1,per_page:k||L.pageSize};T&&(N=b(p({},N),{page:L.pageNo}));const V=yield I(t._y,N),j=[$.active[E[0]],$.active[E[1]]];n.U.setItem(R==null?void 0:R.login,j),V&&V.ec_courses&&(yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:N.page,total:V.count,pageSize:N.per_page||L.pageSize,dataSource:V.ec_courses.map((Y,G)=>b(p({},Y),{key:N.page>1?(N.page-1)*N.per_page+G+1:G+1}))})}))}else yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:A},{call:I,select:C}){const{headerData:O}=yield C(T=>T.engineeringEvaluteList);O.active[E[1]]&&(yield I(t.F,O.active[E[1]]))},*compute({payload:A},{call:I,put:C}){const O=A,{all:T}=O,D=h(O,["all"]),k=yield I(T?t.At:t.PX,D);k&&k.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(k.message)}},reducers:{save(A,I){return p(p({},A),I.payload)},setMajorOrYearDataSource(A,{payload:I}){let C=A.headerData.active;return I.active&&(C=b(p({},C),{[I.key]:I.active})),b(p({},A),{headerData:b(p({},A.headerData),{dataSource:b(p({},A.headerData.dataSource),{[I.key]:b(p({},A.headerData.dataSource[I.key]),{dataList:I.value})}),active:C})})},setMajorOrYearActive(A,{payload:I}){return b(p({},A),{headerData:b(p({},A.headerData),{active:b(p({},A.headerData.active),{[I.key]:I.value})})})},setCourseResults(A,{payload:I}){return b(p({},A),{tabListData:p(p({},A.tabListData),I)})}},subscriptions:{setup({dispatch:A,history:I}){return I.listen(({pathname:C})=>{C==="/"&&A({type:"query"})})}}};d.Z=P},26422:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(g,p,b)=>p in g?t(g,p,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[p]=b,u=(g,p)=>{for(var b in p||(p={}))n.call(p,b)&&s(g,b,p[b]);if(r)for(var b of r(p))o.call(p,b)&&s(g,b,p[b]);return g};const c=g=>g==null?void 0:g.map(p=>{const b=(p.sub_disciplines||[]).map(h=>({value:h.id,label:h.name}));return{value:p.id,label:p.name,children:b}}),a={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=g=>{if(!g)return;const{all_questions_count:p,all_score:b,single_questions:h,multiple_questions:E,judgement_questions:P,program_questions:A,completion_questions:I,subjective_questions:C,practical_questions:O,combination_questions:T}=g||{},k=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},h),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},E),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},P),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},A),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},T)].filter($=>$.questions_count>0).map(($,L)=>u(u({},$),{number:a[L+1]}));return{all_questions_count:p,all_score:b,questionList:k}}},99309:function(i,d,e){"use strict";e.d(d,{U:function(){return o},t:function(){return n}});var t=e(43418),r=e(24065);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},o={setItem:(s,u)=>{var c;const a=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(a,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),a=localStorage.getItem(c);return a!==null&&a!=="[object Object]"?JSON.parse(a):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},35390:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return E},GY:function(){return u},I8:function(){return A},Ow:function(){return b},P:function(){return g},Ql:function(){return c},RA:function(){return O},Zm:function(){return a},bz:function(){return s},eF:function(){return P},gQ:function(){return I},ht:function(){return h},kN:function(){return T},n1:function(){return n},nI:function(){return D},o9:function(){return o},sG:function(){return f},wi:function(){return C}});var t=e(99064),r=(k,$,L)=>new Promise((R,U)=>{var N=Y=>{try{j(L.next(Y))}catch(G){U(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){U(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function n(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/avatar.json`,{method:"put",body:k})})}function o(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}.json`,{method:"get"})})}function s(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:k})})}function u(k){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:k})})}function c(k){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${k.id}/departments/for_option.json`,{method:"get",params:k})})}function a(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:k})})}function f(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}.json`,{method:"put",body:k})})}function g(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/authentication_apply.json`,{method:"delete"})})}function p(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/professional_auth_apply.json`,{method:"delete"})})}function b(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/professional_auth_apply.json`,{method:"post",body:k})})}function h(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/authentication_apply.json`,{method:"post",body:k})})}function E(k){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:k})})}function P(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/phone_bind.json`,{method:"post",body:k})})}function A(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/email_bind.json`,{method:"post",body:k})})}function I(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/password.json`,{method:"put",body:k})})}function C(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.basicInfoId}/open_users/${k.id}.json`,{method:"delete"})})}function O(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_authentication.json`,{method:"post",body:k})})}function T(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_professional_certification.json`,{method:"post",body:k})})}function D(k,$){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/videos/${k.id}/create_subject_video.json`,{method:"post",body:$})})}},13112:function(i,d,e){"use strict";e.d(d,{An:function(){return b},TO:function(){return f},my:function(){return p},nZ:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(h,E,P)=>E in h?r(h,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):h[E]=P,c=(h,E)=>{for(var P in E||(E={}))o.call(E,P)&&u(h,P,E[P]);if(n)for(var P of n(E))s.call(E,P)&&u(h,P,E[P]);return h},a=(h,E,P)=>new Promise((A,I)=>{var C=D=>{try{T(P.next(D))}catch(k){I(k)}},O=D=>{try{T(P.throw(D))}catch(k){I(k)}},T=D=>D.done?A(D.value):Promise.resolve(D.value).then(C,O);T((P=P.apply(h,E)).next())});function f(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_up.json`,{method:"post",body:c({},h)})})}function g(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_down.json`,{method:"post",body:c({},h)})})}function p(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/update_informs.json`,{method:"post",body:c({},h)})})}function b(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/new_informs.json`,{method:"post",body:c({},h)})})}},19381:function(i,d,e){"use strict";e.d(d,{$n:function(){return P},H:function(){return E},Nm:function(){return b},Ot:function(){return h},SV:function(){return f},fc:function(){return I},mn:function(){return A},tO:function(){return p},zI:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=U=>{try{R(T.next(U))}catch(N){k(N)}},L=U=>{try{R(T.throw(U))}catch(N){k(N)}},R=U=>U.done?D(U.value):Promise.resolve(U.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},C)})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}.json`,{method:"get",params:c({},C)})})}function h(C){return a(this,null,function*(){const{id:O}=C;return delete C.id,(0,t.ZP)(`/api/files/${O}.json`,{method:"put",body:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function P(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:c({},C)})})}},10813:function(i,d,e){"use strict";e.d(d,{CJ:function(){return b},Mf:function(){return I},NA:function(){return P},PC:function(){return h},PP:function(){return E},YQ:function(){return A},cc:function(){return p},dI:function(){return g},yq:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=U=>{try{R(T.next(U))}catch(N){k(N)}},L=U=>{try{R(T.throw(U))}catch(N){k(N)}},R=U=>U.done?D(U.value):Promise.resolve(U.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function h(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:c({},C)})})}function P(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},C)})})}},92365:function(i,d,e){"use strict";e.d(d,{$T:function(){return gt},A:function(){return Ht},Ab:function(){return un},Al:function(){return Y},BQ:function(){return Be},BR:function(){return j},Bn:function(){return je},Cq:function(){return Pr},DJ:function(){return ee},Dd:function(){return h},Ds:function(){return et},EO:function(){return he},Ed:function(){return ae},FU:function(){return Re},Fg:function(){return E},GV:function(){return ze},Gk:function(){return R},Gm:function(){return xt},Gz:function(){return P},Hl:function(){return A},Hn:function(){return T},ID:function(){return Qr},IU:function(){return Xe},J2:function(){return _e},K$:function(){return kt},KP:function(){return ce},KT:function(){return B},L$:function(){return tt},Lk:function(){return ba},Ls:function(){return Z},MA:function(){return Ke},Mc:function(){return ea},N7:function(){return V},Nd:function(){return L},Nl:function(){return st},Ns:function(){return Jr},O3:function(){return H},Pj:function(){return it},QX:function(){return lt},QZ:function(){return M},R2:function(){return N},Rk:function(){return Ar},S9:function(){return qe},U8:function(){return tr},UD:function(){return hr},U_:function(){return k},Uy:function(){return Nr},V8:function(){return O},Vw:function(){return Q},W0:function(){return ge},W7:function(){return Je},WK:function(){return Gt},Wr:function(){return ar},YR:function(){return Pt},Z0:function(){return at},ZL:function(){return Ct},ZT:function(){return nn},ZX:function(){return we},_9:function(){return Et},_B:function(){return Gn},aP:function(){return _t},aQ:function(){return me},aZ:function(){return Ve},al:function(){return Ft},bm:function(){return mr},bz:function(){return xe},c_:function(){return Cr},ds:function(){return lr},fN:function(){return Bt},fr:function(){return Ae},g4:function(){return He},gq:function(){return I},hf:function(){return J},i:function(){return ir},i6:function(){return Ue},i7:function(){return Wr},iE:function(){return f},ih:function(){return nr},kW:function(){return fe},km:function(){return ur},nP:function(){return p},nQ:function(){return Pe},nX:function(){return Rt},oM:function(){return St},oR:function(){return Rn},o_:function(){return rt},pf:function(){return Te},pr:function(){return dn},pv:function(){return Ze},qB:function(){return G},rS:function(){return C},s:function(){return Mr},sb:function(){return Ne},sm:function(){return b},t1:function(){return nt},tB:function(){return _n},tI:function(){return Oa},td:function(){return ht},uh:function(){return De},up:function(){return Vt},v2:function(){return g},vV:function(){return Mt},w9:function(){return $},wR:function(){return Me},yS:function(){return ct},yV:function(){return U},yd:function(){return Ie},zC:function(){return la},zg:function(){return K}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=($e,Vn,on)=>Vn in $e?r($e,Vn,{enumerable:!0,configurable:!0,writable:!0,value:on}):$e[Vn]=on,c=($e,Vn)=>{for(var on in Vn||(Vn={}))o.call(Vn,on)&&u($e,on,Vn[on]);if(n)for(var on of n(Vn))s.call(Vn,on)&&u($e,on,Vn[on]);return $e},a=($e,Vn,on)=>new Promise((Fa,Ua)=>{var Sa=Mn=>{try{Xa(on.next(Mn))}catch(Ia){Ua(Ia)}},qa=Mn=>{try{Xa(on.throw(Mn))}catch(Ia){Ua(Ia)}},Xa=Mn=>Mn.done?Fa(Mn.value):Promise.resolve(Mn.value).then(Sa,qa);Xa((on=on.apply($e,Vn)).next())});const f=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/course_videos/configs.json`,{method:"put",body:$e})}),g=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/course_videos/list_for_config.json`,{method:"Get",params:$e})}),p=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:$e})}),b=$e=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/batch_late_setting`,{method:"post",body:$e})}),h=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:$e})}),E=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:$e})}),P=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:$e})}),A=$e=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:$e})});function I($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},$e.permissions)})})}function C($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/assistant_permissions.json`,{method:"Get",params:c({},$e)})})}function O($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},$e)})})}function T($e){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},$e)})})}function D($e){return a(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},$e)})})}function k($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/top_banner.json`,{method:"get",params:c({},$e)})})}function $($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id||$e.coursesId}/left_banner.json`,{method:"get",params:c({},$e)})})}function L($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons.json`,{method:"get",params:c({},$e)})})}function R($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons/list.json`,{method:"get",params:c({},$e)})})}function U($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/graduation_topics.json`,{method:"get",params:c({},$e)})})}function N($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/graduation_tasks.json`,{method:"get",params:c({},$e)})})}function V($e){return a(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${$e.id}/exercises.json`,{method:"get",params:c({},$e)})})}function j($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/polls.json`,{method:"get",params:c({},$e)})})}function Y($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/homework_commons.json`,{method:"get",params:c({},$e)})})}function G($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_groups.json`,{method:"get",params:c({},$e)})})}function J($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/all_course_groups.json`,{method:"get",params:c({},$e)})})}function Q($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/attendances.json`,{method:"get",params:c({},$e)})})}function Z($e){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${$e.coursesId}/attendances.json`,{method:"get",params:c({},$e)})})}function K($e){return a(this,null,function*(){return(0,t.ZP)(`/api/attendances/${$e.id}/edit.json`,{method:"get",params:c({},$e)})})}function M($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/informs.json`,{method:"get",params:c({},$e)})})}function B($e){return a(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},$e)})})}function H($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_videos.json`,{method:"get",params:c({},$e)})})}function ee($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/live_links.json`,{method:"get",params:c({},$e)})})}function ae($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},$e)})})}function ce($e){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${$e.categoryId}/messages.json`,{method:"get",params:c({},$e)})})}function fe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/course_groups.json`,{method:"get",params:c({},$e)})})}function _e($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/students.json`,{method:"get",params:c({},$e)})})}function He($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/statistics.json`,{method:"get",params:c({},$e)})})}function ze($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/work_score.json`,{method:"get",params:c({},$e)})})}function nt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/act_score.json`,{method:"get",params:c({},$e)})})}function it($e){return a(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},$e)})})}function xt($e){return a(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},$e)})})}function Et($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},$e)})})}function me($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},$e)})})}function Be($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e==null?void 0:$e.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},$e)})})}function Je($e){return a(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},$e)})})}function et($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},$e)})})}function kt($e){return a(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:$e})})}function St($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:$e})})}function je($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:$e})})}function xe($e){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:$e})})}function Pe($e){return a(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:$e})})}function Re($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:$e})})}function De($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/add_teacher.json`,{method:"post",body:$e})})}function Ve($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/add_students_by_search.json`,{method:"post",body:$e})})}function Ne($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/set_public_or_private.json`,{method:"post",body:$e})})}function tt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/set_invite_code_halt.json`,{method:"post",body:$e})})}function qe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/duplicate_course.json`,{method:"post",body:$e})})}function Ft($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/update_end_date.json`,{method:"put",body:$e})})}function Ht($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}.json`,{method:"delete",body:$e})})}function he($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/settings.json`,{method:"get",params:c({},$e)})})}function Ae($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}.json`,{method:"put",body:$e})})}function Pt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ct($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},$e)})})}function lt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},$e)})})}function st($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},$e)})})}function Xe($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},$e)})})}function ht($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},$e)})})}function ge($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},$e)})})}function _t($e){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},$e)})})}function rt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},$e)})})}function Ct($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},$e)})})}function Mt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},$e)})})}function vr($e){return a(this,null,function*(){return Fetch(`/api/homework_commons/${$e.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},$e)})})}function at($e){return a(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${$e.id}.json`,{method:"delete",params:{export:!0}})})}function ir($e){return a(this,null,function*(){return(0,t.ZP)(`/api//boards/${$e.id}.json`,{method:"delete",params:{export:!0}})})}function Ie($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${$e.id}/sticky_module.json`,{method:"get"})})}function Rt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${$e.id}/hidden_module.json`,{method:"get"})})}function Te($e){return a(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:$e})})}function lr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${$e.id}.json`,{method:"get",params:$e})})}function mr($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:$e})})}function hr($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:$e})})}function _r($e){return a(this,null,function*(){return Fetch(`/api/polls/${$e.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},$e)})})}function Nr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},$e)})})}function Wr($e){return(0,t.ZP)(`/api/polls/${$e.categoryId}/start_answer.json`,{method:"get",params:c({},$e)})}function Qr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${$e.questionId}/poll_votes.json`,{method:"post",body:$e})})}function Jr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${$e.categoryId}/commit_poll.json`,{method:"post",body:$e})})}function ur($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.courseId}/tasks_list.json`,{method:"get",params:$e})})}function tr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.courseId}/update_task_position.json`,{method:"post",body:$e})})}function Vt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:$e})})}function Cr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/all_course_groups.json`,{method:"get",params:$e})})}function Pr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/polls/all_course_groups.json`,{method:"get",params:$e})})}function Ar($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/students.json`,{method:"get",params:$e})})}function gt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${$e.categoryId}/rename_group.json`,{method:"POST",body:$e})})}function Ze($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${$e.categoryId}.json`,{method:"delete",body:$e})})}function Ue($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/join_course_group.json`,{method:"POST",body:$e})})}function Me($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/transfer_to_course_group.json`,{method:"post",body:$e})})}function Ke($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/delete_from_course.json`,{method:"post",body:$e})})}function Gt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/join_course_group.json`,{method:"post",body:$e})})}function Bt($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/exit_course.json`,{method:"post"})})}function we($e){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},$e)})})}function nr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users/${$e.user_id}/edit.json`,{method:"get",params:$e})})}function Mr($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users.json`,{method:"post",body:$e})})}function _n($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.coursesId}/mooc_users/${$e.user_id}.json`,{method:"put",body:$e})})}function ar($e){return a(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${$e.id}/move_category.json`,{method:"post",body:$e})})}function un($e){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${$e.id}/move_category.json`,{method:"post",body:$e})})}function nn($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.id}/courseware.json`,{method:"get",params:$e})})}function dn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e}/mark_wrong_topic.json`,{method:"get",params:Vn})})}function Gn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${$e}/cancel_wrong_topic.json`,{method:"get",params:Vn})})}function Rn($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${$e}/allow_end_group.json`,{method:"get",params:Vn})})}function ea($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Vn})})}function ba($e,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/tasks/${$e}/get_content_for_commit_id.json`,{method:"get",params:Vn})})}function Oa($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/course_ai_info.json`,{method:"Get",params:c({},$e)})})}function la($e){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${$e.course_id}/set_open_ai.json`,{method:"post",body:$e})})}},52721:function(i,d,e){"use strict";e.d(d,{$M:function(){return xt},$P:function(){return Ft},Ax:function(){return g},Dh:function(){return A},FU:function(){return R},GQ:function(){return Q},IN:function(){return xe},JM:function(){return Ve},Ju:function(){return it},Mn:function(){return je},Ni:function(){return H},Pg:function(){return I},Pt:function(){return P},Qp:function(){return G},R9:function(){return U},Ux:function(){return J},Vy:function(){return fe},XJ:function(){return B},XR:function(){return ze},Ze:function(){return D},aq:function(){return T},bQ:function(){return h},bu:function(){return p},cC:function(){return f},jS:function(){return V},lm:function(){return Pe},ml:function(){return K},o3:function(){return me},pA:function(){return Je},pS:function(){return De},pU:function(){return M},ps:function(){return L},q0:function(){return kt},qN:function(){return St},qS:function(){return E},qj:function(){return He},qt:function(){return tt},rV:function(){return C},rZ:function(){return Ne},rk:function(){return ae},rm:function(){return Y},sK:function(){return j},sL:function(){return et},su:function(){return Re},tC:function(){return ce},tO:function(){return _e},u9:function(){return Z},uZ:function(){return ee},vV:function(){return $},xx:function(){return Ht},y8:function(){return nt},yS:function(){return k},zF:function(){return b},zc:function(){return N},zj:function(){return O},zz:function(){return qe}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(he,Ae,Pt)=>Ae in he?r(he,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):he[Ae]=Pt,c=(he,Ae)=>{for(var Pt in Ae||(Ae={}))o.call(Ae,Pt)&&u(he,Pt,Ae[Pt]);if(n)for(var Pt of n(Ae))s.call(Ae,Pt)&&u(he,Pt,Ae[Pt]);return he},a=(he,Ae,Pt)=>new Promise((ct,lt)=>{var st=ge=>{try{ht(Pt.next(ge))}catch(_t){lt(_t)}},Xe=ge=>{try{ht(Pt.throw(ge))}catch(_t){lt(_t)}},ht=ge=>ge.done?ct(ge.value):Promise.resolve(ge.value).then(st,Xe);ht((Pt=Pt.apply(he,Ae)).next())});const f=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/create_guide.json`,{method:"post",body:he}),g=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/guides.json`,{method:"get",params:he}),p=he=>(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.competition_team_id}/edit_info.json`,{method:"put",body:he});function b(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/update_result.json`,{method:"post",body:he})})}function h(he){return a(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},he)})})}function E(he){return a(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:he})})}function P(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"post"})})}function A(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_staff.json`,{method:"get"})})}function I(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/common_header.json`,{method:"get"})})}function C(he){return a(this,null,function*(){return(0,t.ZP)(`/api/${he.url}`,{method:"get",params:c({},he)})})}function O(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/update_md_content.json`,{method:"post",body:he})})}function T(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"get",params:he})})}function D(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.Teannameid}/edit.json`,{method:"get",params:he})})}function k(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.Teannameid}.json`,{method:"put",body:he})})}function $(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.id}/leave.json`,{method:"post",body:he})})}function L(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.id}.json`,{method:"delete"})})}function R(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"post",body:he})})}function U(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/add_managers.json`,{method:"post",body:he})})}function N(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/join.json`,{method:"post",body:he})})}function V(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/teachers.json`,{method:"get",params:he})})}function j(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/students.json`,{method:"get",params:he})})}function Y(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/crud_team_members.json`,{method:"post",body:he})})}function G(he){return a(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:he})})}function J(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/chart_rules.json`,{method:"get"})})}function Q(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/charts.json`,{method:"get",params:he})})}function Z(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/results.json`,{method:"get",params:he})})}function K(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/md_tab_rules.json`,{method:"get",params:he})})}function M(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/prize.json`,{method:"get",params:he})})}function B(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.id}.json`,{method:"get",params:he})})}function H(he){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:he})})}function ee(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/phone_bind.json`,{method:"post",body:he})})}function ae(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/email_bind.json`,{method:"post",body:he})})}function ce(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/professional_auth_apply.json`,{method:"delete"})})}function fe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${he.userid}/authentication_apply.json`,{method:"delete"})})}function _e(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/prize_leader_account.json`,{method:"put",body:he})})}function He(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/shixun_detail.json`,{method:"get"})})}function ze(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams/${he.teamid}/course_detail.json`,{method:"get"})})}function nt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/attachments/${he.id}.json`,{method:"delete"})})}function it(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/get_certificate_info.json`,{method:"get",params:he})})}function xt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.id}/basic_setting.json`,{method:"post",body:he})})}function Et(){return a(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function me(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/common_header.json`,{method:"get"})})}function Be(he){return a(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:he})})}function Je(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/search_managers.json`,{method:"get",params:he})})}function et(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_managers.json`,{method:"get"})})}function kt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/add_managers.json`,{method:"post",body:he})})}function St(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/delete_managers.json`,{method:"delete",body:he})})}function je(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_picture.json`,{method:"get"})})}function xe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/identifier_exist.json`,{method:"post",body:he})})}function Pe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/get_shixun_settings.json`,{method:"get"})})}function Re(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_add.json`,{method:"post",body:he})})}function De(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_delete.json`,{method:"delete",body:he})})}function Ve(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/shixun_select.json`,{method:"post",body:he})})}function Ne(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he}/info_finish.json`,{method:"get"})})}function tt(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he==null?void 0:he.id}/competition_review.json`,{method:"post",body:c({},he)})})}function qe(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_teams.json`,{method:"get",params:he})})}function Ft(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/all_team_members.json`,{method:"get",params:he})})}function Ht(he){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${he.identifier}/competition_commit_records/member_works.json`,{method:"get",params:he})})}},38650:function(i,d,e){"use strict";e.d(d,{F:function(){return E},OE:function(){return O},ff:function(){return P},p1:function(){return A},_y:function(){return h},mK:function(){return $},gq:function(){return R},eM:function(){return k},BA:function(){return V},bA:function(){return Y},Nx:function(){return j},Qx:function(){return T},At:function(){return I},PX:function(){return C},Xl:function(){return D},y9:function(){return L},No:function(){return U},ay:function(){return G}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(J,Q,Z)=>Q in J?r(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:Z}):J[Q]=Z,f=(J,Q)=>{for(var Z in Q||(Q={}))u.call(Q,Z)&&a(J,Z,Q[Z]);if(s)for(var Z of s(Q))c.call(Q,Z)&&a(J,Z,Q[Z]);return J},g=(J,Q)=>n(J,o(Q)),p=(J,Q)=>{var Z={};for(var K in J)u.call(J,K)&&Q.indexOf(K)<0&&(Z[K]=J[K]);if(J!=null&&s)for(var K of s(J))Q.indexOf(K)<0&&c.call(J,K)&&(Z[K]=J[K]);return Z},b=(J,Q,Z)=>new Promise((K,M)=>{var B=ae=>{try{ee(Z.next(ae))}catch(ce){M(ce)}},H=ae=>{try{ee(Z.throw(ae))}catch(ce){M(ce)}},ee=ae=>ae.done?K(ae.value):Promise.resolve(ae.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const h=J=>b(void 0,null,function*(){var Q=J,{id:Z}=Q,K=p(Q,["id"]);return(0,t.ZP)(`/api/ec_years/${Z}/course_results.json`,{method:"get",params:K})}),E=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/course_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},P=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/get_class.json`,{method:"get"}),A=({ec_year_id:J,id:Q,class_name:Z=null})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/${Q}.json`,{method:"get",params:{class_name:Z}}),I=({ec_year_id:J})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:J}}),C=({ec_course_id:J})=>(0,t.ZP)(`/api/ec_courses/${J}/evaluations/evaluation_data`,{method:"POST"}),O=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/ec_graduation_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},T=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_all`,{method:"post"}),D=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_single?id=${Q}`,{method:"POST"}),k=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results.json`,{method:"get"}),$=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/get_formulas.json`,{method:"get"}),L=({ec_year_id:J,formula_one:Q,formula_two:Z,formula_three:K})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:Q,formula_two_id:Z,formula_three_id:K}}),R=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/${Q}.json`,{method:"get"}),U=J=>{var Q=J,{ec_year_id:Z,type:K,goal_value:M}=Q,B=p(Q,["ec_year_id","type","goal_value"]);let H=`?type=${K}`,ee={method:"PUT"};return K==="all"&&(H+=`&goal_value=${M}`),K==="each"&&(ee=g(f({},ee),{body:B})),(0,t.ZP)(`/api/ec_years/${Z}/ec_graduation_results/set_goal_value${H}`,ee)};var N=(J,Q,Z)=>new Promise((K,M)=>{var B=ae=>{try{ee(Z.next(ae))}catch(ce){M(ce)}},H=ae=>{try{ee(Z.throw(ae))}catch(ce){M(ce)}},ee=ae=>ae.done?K(ae.value):Promise.resolve(ae.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const V=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${J}/ec_majors/get_major_list.json`,{method:"get"})}),j=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${J}/ec_years/get_year_list.json`,{method:"get"})}),Y=({ec_year_id:J,school_id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/top_pages.json`,{method:"get",params:{school_id:Q}}),G=({id:J,name:Q})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${J}?name=${Q}`,{method:"PUT"})},94941:function(i,d,e){"use strict";e.d(d,{$Q:function(){return O},$l:function(){return Bt},BJ:function(){return St},CD:function(){return Ae},Cd:function(){return tt},Cl:function(){return _r},Di:function(){return Et},Fl:function(){return Je},G$:function(){return K},GK:function(){return Be},Ip:function(){return Pe},J:function(){return M},KE:function(){return et},L8:function(){return ht},LP:function(){return Re},MK:function(){return me},Mb:function(){return ur},N0:function(){return L},N3:function(){return _e},OO:function(){return I},P8:function(){return Ar},PJ:function(){return H},PT:function(){return Vt},Qc:function(){return U},RK:function(){return Z},Ty:function(){return lr},UH:function(){return vr},UK:function(){return He},Uj:function(){return Ht},Ul:function(){return Ne},VL:function(){return lt},Vj:function(){return _t},W4:function(){return Ft},WL:function(){return rt},Wj:function(){return Q},X4:function(){return xe},Xn:function(){return Qr},Xo:function(){return V},YY:function(){return xt},Ym:function(){return k},Yu:function(){return gt},ZD:function(){return Pr},Zg:function(){return Nr},_B:function(){return he},_F:function(){return tr},_U:function(){return Y},_u:function(){return ee},aU:function(){return $},ab:function(){return hr},cC:function(){return Te},cV:function(){return G},ck:function(){return Cr},dp:function(){return R},eA:function(){return Ke},fG:function(){return P},gA:function(){return J},gG:function(){return Jr},gJ:function(){return Ze},hk:function(){return b},hv:function(){return h},iB:function(){return E},iU:function(){return A},iw:function(){return Rt},kp:function(){return st},lL:function(){return C},lf:function(){return fe},n$:function(){return ce},n7:function(){return j},nF:function(){return ge},o3:function(){return Ue},oS:function(){return De},oX:function(){return ct},oy:function(){return mr},p7:function(){return D},pL:function(){return Pt},pu:function(){return je},q6:function(){return Xe},qf:function(){return it},qz:function(){return Ve},s:function(){return ir},sA:function(){return Ct},sS:function(){return Me},tX:function(){return at},uR:function(){return ze},ux:function(){return kt},wy:function(){return nt},xA:function(){return Ie},yE:function(){return N},yu:function(){return Mt},zP:function(){return T},zR:function(){return Gt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(we,nr,Mr)=>nr in we?r(we,nr,{enumerable:!0,configurable:!0,writable:!0,value:Mr}):we[nr]=Mr,f=(we,nr)=>{for(var Mr in nr||(nr={}))u.call(nr,Mr)&&a(we,Mr,nr[Mr]);if(s)for(var Mr of s(nr))c.call(nr,Mr)&&a(we,Mr,nr[Mr]);return we},g=(we,nr)=>n(we,o(nr)),p=(we,nr,Mr)=>new Promise((_n,ar)=>{var un=Gn=>{try{dn(Mr.next(Gn))}catch(Rn){ar(Rn)}},nn=Gn=>{try{dn(Mr.throw(Gn))}catch(Rn){ar(Rn)}},dn=Gn=>Gn.done?_n(Gn.value):Promise.resolve(Gn.value).then(un,nn);dn((Mr=Mr.apply(we,nr)).next())});const b=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:we}),h=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:we}),E=we=>(0,t.ZP)(`/api/exercises/${we.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:we}),P=we=>(0,t.ZP)(`/api/exercises/${we.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:we}),A=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:we}),I=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/list_student_score.json`,{method:"get",params:we}),C=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:we}),O=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/statistics/score_ranges.json`,{method:"get",params:we}),T=we=>(0,t.ZP)(`/api/exercises/${we.id}/sava_exam_summary.json`,{method:"post",body:we}),D=we=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:we}),k=we=>(0,t.ZP)(`/api/exercises/${we.id}/generate_exam_summary.json`,{method:"post",body:we}),$=we=>(0,t.ZP)(`/api/exercises/${we.id}/exam_summary_settings.json`,{method:"post",body:we}),L=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.exercise_id}/review_exercise_user.json`,{method:"post",body:we})}),R=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/code_check.json`,{method:"get",params:we}),U=we=>(0,t.ZP)(`/api/exercises/${we.id}/reset_pwd.json`,{method:"post",body:we}),N=we=>(0,t.ZP)(`/api/exercises/${we.id}/encrypt_or_decrypt.json`,{method:"post",body:we}),V=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/delayed_time_or_force.json`,{method:"post",body:we})}),j=we=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/exercise_time.json`,{method:"Get",params:we})}),Y=we=>(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/exercise_question_result.json`,{method:"get",params:we}),G=we=>(0,t.ZP)(`/api/exercises/${we.id}/get_question_type_alias.json`,{method:"get",params:we});function J(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/teacher_update.json`,{method:"post",body:f({},we)})})}function Q(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/adjust_comment.json`,{method:"post",body:f({},we)})})}function Z(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/edit_question_type_alias.json`,{method:"POST",body:we})})}function K(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_lists.json`,{method:"get",params:f({},we)})})}function M(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},we)})})}function B(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/video_push_url.json`,{method:"get",params:f({},we)})})}function H(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},we)})})}function ee(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_result.json`,{method:"get",params:f({},we)})})}function ae(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},we)})})}function ce(we){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},we)})})}function fe(we){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},we)})})}function _e(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},we)})})}function He(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/common_header.json`,{method:"get",params:f({},we)})})}function ze(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises.json`,{method:"post",body:f({},we)})})}function nt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}.json`,{method:"put",body:f({},we)})})}function it(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}.json`,{method:"get",params:f({},we)})})}function xt(we){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},we)})})}function Et(we){return p(this,null,function*(){const{id:nr}=we;return delete we.id,(0,t.ZP)(`/api/exercise_questions/${nr}.json`,{method:"put",body:f({},we)})})}function me(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_questions.json`,{method:"post",body:f({},we)})})}function Be(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/up_down.json`,{method:"post",body:f({},we)})})}function Je(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}.json`,{method:"delete"})})}function et(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},we)})})}function kt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/publish_groups.json`,{method:"get",params:f({},we)})})}function St(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},we)})})}function je(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/consult_exercise.json`,{method:"post",body:f({},we)})})}function xe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},we)})})}function Pe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/adjust_score.json`,{method:"post",body:f({},we)})})}function Re(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.id}/batch_adjust_score.json`,{method:"post",body:f({},we)})})}function De(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/adjust_score.json`,{method:"post",body:f({},we)})})}function Ve(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.id}/delayed_time.json`,{method:"post",body:f({},we)})})}function Ne(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_setting.json`,{method:"get",params:f({},we)})})}function tt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${we.categoryId}/exercise_setting.json`,{method:"get",params:f({},we)})})}function qe(we){return p(this,null,function*(){return Fetch(`/api/exercises/${we.categoryId}/commit_setting.json`,{method:"post",body:f({},we)})})}function Ft(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},we)})})}function Ht(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_lists.xlsx`,{method:"get",params:g(f({},we),{export:!0})})})}function he(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/user_exercise_detail.json`,{method:"get",params:g(f({},we),{login:null})})}function Ae(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/start.json`,{method:"get",params:f({},we)})}function Pt(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/start_unlock.json`,{method:"post",body:f({},we)})}function ct(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.questionId}/exercise_answers.json`,{method:"post",body:we})})}function lt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/commit_exercise.json`,{method:"post",body:we})})}function st(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/simulate_commit_exercise.json`,{method:"post",body:we})})}function Xe(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/redo_exercise.json`,{method:"post",body:we})})}function ht(we){return(0,t.ZP)(`/api/${we.url}`,{method:"get",params:f({},we)})}function ge(we){return(0,t.ZP)(`/api/problems/${we.id}/start.json`,{method:"get",params:f({},we)})}function _t(we){return(0,t.ZP)(`/api/exercises/${we.id}/begin_commit.json`,{method:"get",params:f({},we)})}function rt(we){return(0,t.ZP)(`/api/exercises/${we.id}/simulate_begin_commit.json`,{method:"get",params:f({},we)})}function Ct(we){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},we)})}function Mt(we){return console.log("params:",we),(0,t.ZP)(`/api/exercises/${we.categoryId}/edit.json`,{method:"get",params:f({},we)})}function vr(we){return(0,t.ZP)(`/api/exercises/${we.id}/get_objective_scores.json`,{method:"get",params:f({},we)})}function at(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/redo_modal.json`,{method:"get",params:f({},we)})}function ir(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/student_redo_lists.json`,{method:"get",params:f({},we)})}function Ie(we){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:we})}function Rt(we){return(0,t.ZP)(`/api/exercises/${we.id}/exercise_header.json`,{method:"get",params:f({},we)})}function Te(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/allow_close_camera.json`,{method:"post",body:f({},we)})}function lr(we){return(0,t.ZP)(`/api/exercises/${we.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},we)})}function mr(we){return(0,t.ZP)(`/api/exercises/${we.id}/record_screen`,{method:"post",params:f({},we)})}function hr(we){return(0,t.ZP)(`/api/exercises/${we.id}/unbind_ip.json`,{method:"post",body:f({},we)})}function _r(we){return(0,t.ZP)(`/api/exercises/${we.id}/check_ip.json`,{method:"get",params:f({},we)})}function Nr(we){return(0,t.ZP)(`/api/exercises/${we==null?void 0:we.id}/check_user_exercise.json`,{method:"get",params:f({},we)})}function Wr(we){return Fetch(`/api/exercises/${we.id}/make_up_students.json`,{method:"get",params:f({},we)})}function Qr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${we.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},we)})})}function Jr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we.question_id}/adjust_score.json`,{method:"post",body:f({},we)})})}function ur(we){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${we.categoryId}/simulate_exercise.json`,{method:"post",body:f({},we)})})}function tr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},we)})})}function Vt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/exercise_time.json`,{method:"get",params:f({},we)})})}function Cr(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we.categoryId}/commit_screen_at.json`,{method:"post",body:f({},we)})})}function Pr(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/unlock_user`,{method:"post",body:nr})})}function Ar(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/save_screen_record.json`,{method:"post",body:nr})})}function gt(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/screen_record_list.json`,{method:"get",params:nr})})}function Ze(we){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},we)})})}function Ue(we){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:we})})}function Me(we,nr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${we}/mark.json`,{method:"post",body:nr})})}function Ke(we){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${we}/exit_delete_pod.json`,{method:"post",body:we})})}function Gt(we){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:we})})}function Bt(we){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${we==null?void 0:we.id}/send_to_item_bank.json`,{method:"post",body:f({},we)})})}},67508:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return O},YP:function(){return C},b4:function(){return A},bc:function(){return f},dX:function(){return P},eh:function(){return T},iI:function(){return h},kd:function(){return g},qR:function(){return E},sW:function(){return b},ts:function(){return k},vL:function(){return D},z5:function(){return $}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(L,R,U)=>R in L?r(L,R,{enumerable:!0,configurable:!0,writable:!0,value:U}):L[R]=U,c=(L,R)=>{for(var U in R||(R={}))o.call(R,U)&&u(L,U,R[U]);if(n)for(var U of n(R))s.call(R,U)&&u(L,U,R[U]);return L},a=(L,R,U)=>new Promise((N,V)=>{var j=J=>{try{G(U.next(J))}catch(Q){V(Q)}},Y=J=>{try{G(U.throw(J))}catch(Q){V(Q)}},G=J=>J.done?N(J.value):Promise.resolve(J.value).then(j,Y);G((U=U.apply(L,R)).next())});function f(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:L})})}function g(L){return a(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:L})})}function p(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/sticky_or_cancel.json`,{method:"post",body:L})})}function b(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"delete",body:L})})}function h(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:L})})}function E(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/edit.json`,{method:"get",params:L})})}function P(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},L)})})}function A(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"put",body:c({},L)})})}function I(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"get",params:L})})}function C(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"post",body:L})})}function O(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"delete",body:c({},L)})})}function T(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/reward_code.json`,{method:"post",body:L})})}function D(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/plus.json`,{method:"post",body:L})})}function k(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:L})})}function $(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/more_reply.json`,{method:"get",params:L})})}},30534:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return o},tk:function(){return s}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function o(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},89887:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return k},Mf:function(){return O},NA:function(){return I},PC:function(){return P},PP:function(){return A},QA:function(){return g},RP:function(){return R},Sv:function(){return L},YQ:function(){return C},_n:function(){return U},hL:function(){return D},je:function(){return E},mM:function(){return h},wA:function(){return $},x_:function(){return b},y0:function(){return T},y3:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(N,V,j)=>V in N?r(N,V,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[V]=j,c=(N,V)=>{for(var j in V||(V={}))o.call(V,j)&&u(N,j,V[j]);if(n)for(var j of n(V))s.call(V,j)&&u(N,j,V[j]);return N},a=(N,V,j)=>new Promise((Y,G)=>{var J=K=>{try{Z(j.next(K))}catch(M){G(M)}},Q=K=>{try{Z(j.throw(K))}catch(M){G(M)}},Z=K=>K.done?Y(K.value):Promise.resolve(K.value).then(J,Q);Z((j=j.apply(N,V)).next())});function f(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function g(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/tasks_list.json`,{method:"get",params:c({},N)})})}function p(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/show_detail.json`,{method:"get",params:c({},N)})})}function b(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function h(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},N)})})}function E(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/accept_student_topic.json`,{method:"post",body:c({},N)})})}function P(N){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${N.categoryId}/show_comment.json`,{method:"get",params:c({},N)})})}function A(N){return a(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},N)})})}function I(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},N)})})}function C(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},N)})})}function O(N){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},N)})})}function T(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},N)})})}function D(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}function k(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics`,{method:"post",body:c({},N)})})}function $(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}`,{method:"put",body:c({},N)})})}function L(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_tasks`,{method:"post",body:c({},N)})})}function R(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"put",body:c({},N)})})}function U(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}},2742:function(i,d,e){"use strict";e.d(d,{AA:function(){return $},Db:function(){return g},Dd:function(){return E},F7:function(){return j},Fi:function(){return K},H3:function(){return h},HF:function(){return A},HH:function(){return b},Ib:function(){return J},J3:function(){return u},NT:function(){return n},NX:function(){return C},Ot:function(){return I},Ou:function(){return Y},Ps:function(){return o},Rk:function(){return V},Tz:function(){return f},V1:function(){return Q},Wz:function(){return s},Xh:function(){return p},Xw:function(){return N},YS:function(){return R},Zd:function(){return Z},bS:function(){return O},ck:function(){return P},eh:function(){return k},il:function(){return c},j7:function(){return a},jW:function(){return L},km:function(){return U},l5:function(){return D},rU:function(){return M},xF:function(){return T},zC:function(){return G},zT:function(){return B}});var t=e(99064),r=(H,ee,ae)=>new Promise((ce,fe)=>{var _e=nt=>{try{ze(ae.next(nt))}catch(it){fe(it)}},He=nt=>{try{ze(ae.throw(nt))}catch(it){fe(it)}},ze=nt=>nt.done?ce(nt.value):Promise.resolve(nt.value).then(_e,He);ze((ae=ae.apply(H,ee)).next())});function n(H){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})}function o(H){return(0,t.ZP)(`/api/schools/${H.id}/departments/for_option.json`,{method:"get",params:H})}function s(H){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:H})}function u(H){return(0,t.ZP)("/api/graduations.json",{method:"get",params:H})}function c(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/authorized_redelivery.json`,{method:"POST",body:H})})}function a(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/submit.json`,{method:"POST",body:H})})}function f(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_status.json`,{method:"get",params:H})})}function g(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_all_attachments.json`,{method:"get",params:H})})}function p(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.id}.json`,{method:"get",params:H})})}function b(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/set_final_score.json`,{method:"POST",body:H})})}function h(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/final_score.json`,{method:"get",params:H})})}function E(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/set_novice_guide.json`,{method:"POST",body:H})})}function P(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices/${H.doid}/set_do.json`,{method:"POST",body:H})})}function A(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"POST",body:H})})}function I(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_students/${H.id}/update_major.json`,{method:"PUT",body:H})})}function C(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"POST",body:H})})}function O(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers/search.json`,{method:"get",params:H})})}function T(H){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})})}function D(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students/search.json`,{method:"get",params:H})})}function k(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"get",params:H})})}function $(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"get",params:H})})}function L(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks.json`,{method:"POST",body:H})})}function R(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks/${H.id}.json`,{method:"PUT",body:H})})}function U(H){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks/${(ee=H.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:H.ids}})})}function N(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks.json`,{method:"get",params:H})})}function V(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices.json`,{method:"get",params:H})})}function j(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}.json`,{method:"get"})})}function Y(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H==null?void 0:H.id}/common_header.json`,{method:"get"})})}function G(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/preview.json`,{method:"get"})})}function J(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function Q(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function Z(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function K(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/pass.json`,{method:"post",body:ee})})}function M(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function B(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},1:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return o},vm:function(){return s}});var t=e(99064),r=(a,f,g)=>new Promise((p,b)=>{var h=A=>{try{P(g.next(A))}catch(I){b(I)}},E=A=>{try{P(g.throw(A))}catch(I){b(I)}},P=A=>A.done?p(A.value):Promise.resolve(A.value).then(h,E);P((g=g.apply(a,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function o(a){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:a})})}function s(a){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:a})})}function u(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:a})})}},10656:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return g},Ko:function(){return h},QJ:function(){return E},Ub:function(){return P},V8:function(){return p},dl:function(){return A},w0:function(){return b}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,C,O)=>C in I?r(I,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):I[C]=O,c=(I,C)=>{for(var O in C||(C={}))o.call(C,O)&&u(I,O,C[O]);if(n)for(var O of n(C))s.call(C,O)&&u(I,O,C[O]);return I},a=(I,C,O)=>new Promise((T,D)=>{var k=R=>{try{L(O.next(R))}catch(U){D(U)}},$=R=>{try{L(O.throw(R))}catch(U){D(U)}},L=R=>R.done?T(R.value):Promise.resolve(R.value).then(k,$);L((O=O.apply(I,C)).next())});function f(I){return a(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function g(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function b(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function h(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function E(I){return a(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function P(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function A(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},34640:function(i,d,e){"use strict";e.d(d,{A2:function(){return E},CI:function(){return p},Ep:function(){return h},Ex:function(){return T},R7:function(){return f},WW:function(){return D},_V:function(){return O},ms:function(){return I},s0:function(){return P},vf:function(){return b},xn:function(){return g},yy:function(){return C}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(k,$,L)=>$ in k?r(k,$,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[$]=L,c=(k,$)=>{for(var L in $||($={}))o.call($,L)&&u(k,L,$[L]);if(n)for(var L of n($))s.call($,L)&&u(k,L,$[L]);return k},a=(k,$,L)=>new Promise((R,U)=>{var N=Y=>{try{j(L.next(Y))}catch(G){U(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){U(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function f(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/online_learning.json`,{method:"get"})})}function g(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"put",body:k})})}function p(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/course_stages.json`,{method:"post",body:k})})}function b(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_shixun_to_stage.json`,{method:"post",body:k})})}function h(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/select_shixun_to_stage.json`,{method:"post",body:k})})}function E(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_video_to_stage.json`,{method:"post",body:k})})}function P(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_attachment_to_stage.json`,{method:"post",body:k})})}function A(k){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:k})})}function I(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/up_position.json`,{method:"post"})})}function C(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/down_position.json`,{method:"post"})})}function O(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"delete"})})}function T(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/move_position.json`,{method:"post",body:c({},k)})})}function D(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/${k.id}`,{method:"delete"})})}},80401:function(i,d,e){"use strict";e.d(d,{DF:function(){return E},Di:function(){return Q},Dm:function(){return V},Dq:function(){return ae},Gd:function(){return h},Hb:function(){return ce},Hm:function(){return R},ID:function(){return a},JP:function(){return ee},NC:function(){return $},Pl:function(){return P},Qc:function(){return o},Qp:function(){return j},RK:function(){return g},YP:function(){return L},a2:function(){return u},ar:function(){return b},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return A},iT:function(){return T},jK:function(){return N},kF:function(){return fe},kp:function(){return O},lc:function(){return C},oF:function(){return K},q$:function(){return c},qN:function(){return U},tS:function(){return I},ts:function(){return D},un:function(){return G},w0:function(){return J},wX:function(){return Y},yE:function(){return s}});var t=e(99064),r=(_e,He,ze)=>new Promise((nt,it)=>{var xt=Be=>{try{me(ze.next(Be))}catch(Je){it(Je)}},Et=Be=>{try{me(ze.throw(Be))}catch(Je){it(Je)}},me=Be=>Be.done?nt(Be.value):Promise.resolve(Be.value).then(xt,Et);me((ze=ze.apply(_e,He)).next())});const n=_e=>(0,t.ZP)(`/api/examination_banks/${_e==null?void 0:_e.id}/code_check.json`,{method:"get",params:_e}),o=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/reset_pwd.json`,{method:"post",body:_e}),s=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/encrypt_or_decrypt.json`,{method:"post",body:_e}),u=_e=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:_e}),c=_e=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:_e}),a=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/copy.json`,{method:"post",body:_e}),f=_e=>(0,t.ZP)(`/api/examination_banks/${_e.id}/get_question_type_alias.json`,{method:"get",params:_e});function g(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/edit_question_type_alias.json`,{method:"POST",body:_e})})}function p(_e){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:_e})})}function b(_e){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:_e})})}function h(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:_e})})}function E(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/set_public.json`,{method:"post"})})}function P(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/set_private.json`,{method:"post"})})}function A(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"delete"})})}function I(_e){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:_e})})}const C=_e=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:_e});function O(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/send_to_course.json`,{method:"post",body:_e})})}function T(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"get",params:_e})})}function D(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/set_score`,{method:"post",body:_e})})}function k(_e){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/set_shixun_score.json`,{method:"post",body:_e})})}function $(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}.json`,{method:"delete"})})}function L(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:_e})})}function R(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:_e})})}function U(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/${_e.itemId}/adjust_position.json`,{method:"post",body:_e})})}function N(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}.json`,{method:"put",body:_e})})}function V(_e){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:_e})})}function j(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:_e})})}function Y(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e==null?void 0:_e.id}/set_public.json`,{method:"post",body:_e})})}function G(_e){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:_e})})}function J(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/update_exam.json`,{method:"put",body:_e})})}function Q(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/edit_exam.json`,{method:"get"})})}function Z(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/examination_banks_item_banks.json`,{method:"post",body:He})})}function K(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:_e})})}function M(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/sort_question_type.json`,{method:"post",body:He})})}function B(_e){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e.exam_id}/examination_banks_item_banks/${_e.question_id}.json`,{method:"delete"})})}function H(_e,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${_e}/batch_set_score.json`,{method:"post",body:He})})}function ee(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e}/simulate_exercise.json`,{method:"post"})})}function ae(_e){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${_e}/exercise_header.json`,{method:"get"})})}function ce(_e,He,ze){return r(this,null,function*(){const nt=new FormData;return nt.append("file",He),nt.append("sub_discipline_id",ze),(0,t.ZP)(`/api/examination_banks/${_e}/import_item_banks.json`,{method:"post",body:nt},!0)})}function fe(_e){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:_e})})}},86248:function(i,d,e){"use strict";e.d(d,{$D:function(){return j},A2:function(){return Pe},A7:function(){return at},AQ:function(){return k},Ax:function(){return he},Bn:function(){return Rt},CI:function(){return Ne},DQ:function(){return rt},DU:function(){return Je},EP:function(){return V},Ep:function(){return xe},Er:function(){return H},Ex:function(){return ct},FD:function(){return Ct},F_:function(){return Be},Fg:function(){return g},GY:function(){return ht},Go:function(){return K},Gz:function(){return p},Hl:function(){return b},JS:function(){return ze},KM:function(){return J},M2:function(){return De},Mt:function(){return Ve},Mu:function(){return Ae},NV:function(){return Ie},Q:function(){return ae},Sp:function(){return D},VO:function(){return Mt},WD:function(){return Xe},WO:function(){return B},WW:function(){return lt},_C:function(){return ir},_V:function(){return Ht},bw:function(){return N},bz:function(){return _t},c3:function(){return He},cn:function(){return P},eJ:function(){return Z},ef:function(){return me},fh:function(){return A},fj:function(){return M},hS:function(){return h},jT:function(){return vr},ke:function(){return st},lk:function(){return T},mQ:function(){return O},ms:function(){return qe},mx:function(){return fe},nq:function(){return f},ol:function(){return ge},p:function(){return L},p4:function(){return ce},pU:function(){return C},rS:function(){return nt},rs:function(){return Q},s0:function(){return Re},sm:function(){return _e},tS:function(){return E},tu:function(){return I},ue:function(){return $},vf:function(){return St},w4:function(){return R},xG:function(){return je},xn:function(){return kt},yN:function(){return U},yy:function(){return Ft}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Te,lr,mr)=>lr in Te?r(Te,lr,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Te[lr]=mr,c=(Te,lr)=>{for(var mr in lr||(lr={}))o.call(lr,mr)&&u(Te,mr,lr[mr]);if(n)for(var mr of n(lr))s.call(lr,mr)&&u(Te,mr,lr[mr]);return Te},a=(Te,lr,mr)=>new Promise((hr,_r)=>{var Nr=Jr=>{try{Qr(mr.next(Jr))}catch(ur){_r(ur)}},Wr=Jr=>{try{Qr(mr.throw(Jr))}catch(ur){_r(ur)}},Qr=Jr=>Jr.done?hr(Jr.value):Promise.resolve(Jr.value).then(Nr,Wr);Qr((mr=mr.apply(Te,lr)).next())});const f=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Te})}),g=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Te})}),p=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Te})}),b=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Te})}),h=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Te})});function E(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},Te)})})}function P(Te){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},Te)})})}function A(Te){return a(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},Te)})})}function I(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"PUT",body:Te})})}function C(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:Te})})}function O(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/edit.json`,{method:"get"})})}function T(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"get",params:c({identifier:Te.id},Te)})})}function D(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}.json`,{method:"get",params:c({identifier:Te.id},Te)})})}function k(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/right_banner.json`,{method:"get",params:Te})})}function $(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses.json`,{method:"get",params:Te})})}const L=Te=>a(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:Te})}),R=Te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${Te.id}/children.json`,{method:"Get",params:Te})});function U(Te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Te})})}function N(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/update_team_title.json`,{method:"post",body:Te})})}function V(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/delete_member.json`,{method:"Delete",body:Te})})}function j(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses/${Te==null?void 0:Te.courseid}.json`,{method:"Delete"})})}function Y(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/up_member_position.json`,{method:"post",body:Te})})}function G(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/down_member_position.json`,{method:"post",body:Te})})}function J(Te){return a(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:Te})})}function Q(Te){return a(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:Te})})}function Z(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}.json`,{method:"Delete",body:Te})})}function K(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/publish.json`,{method:"post",body:Te})})}function M(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/cancel_publish.json`,{method:"post",body:Te})})}function B(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/apply_public.json`,{method:"post",body:Te})})}function H(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/cancel_public.json`,{method:"post",body:Te})})}function ee(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/choose_course.json`,{method:"get",params:Te})})}function ae(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/send_to_course.json`,{method:"post",body:Te})})}function ce(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Te.id}/send_to_course.json`,{method:"post",body:Te})})}function fe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/add_subject_members.json`,{method:"post",body:Te})})}function _e(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/spoc_courses.json`,{method:"post",body:Te})})}function He(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/appointment.json`,{method:"post",body:Te})})}function ze(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}/join_excellent_course.json`,{method:"post",body:Te})})}function nt(Te){return a(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Te})})}function it(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/statistics_info.json`,{method:"get",params:Te})})}function xt(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/shixun_analyze.json`,{method:"get",params:Te})})}function Et(Te){return a(this,null,function*(){return Fetch(`/api/paths/${Te.id}/learning_analyze.json`,{method:"get",params:Te})})}function me(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/learning_statistics.json`,{method:"get",params:Te})})}function Be(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/shixun_statistics.json`,{method:"get",params:Te})})}function Je(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/study_analyze/${Te.type}.json`,{method:"get",params:Te})})}function et(Te){return a(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Te})})}function kt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}.json`,{method:"put",body:Te})})}function St(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_shixun_to_stage.json`,{method:"post",body:Te})})}const je=Te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Te})});function xe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/select_shixun_to_stage.json`,{method:"post",body:Te})})}function Pe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_video_to_stage.json`,{method:"post",body:Te})})}function Re(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_attachment_to_stage.json`,{method:"post",body:Te})})}function De(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te.id}.json`,{method:"put",body:Te})})}function Ve(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/add_blank_to_stage.json`,{method:"post",body:Te})})}function Ne(Te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:Te})})}function tt(Te){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Te})})}function qe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/up_position.json`,{method:"get"})})}function Ft(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}/down_position.json`,{method:"get"})})}function Ht(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.id}.json`,{method:"delete"})})}function he(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.pathId}/discusses.json`,{method:"get",params:c({},Te)})})}function Ae(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/excellent_discusses.json`,{method:"get",params:c({},Te)})})}function Pt(Te){return a(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},Te)})})}function ct(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.stage_id}/items/move_position`,{method:"post",body:c({},Te)})})}function lt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te.stage_id}/items/${Te.id}`,{method:"delete"})})}function st(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.id}/excellent_discuss`,{method:"post",body:c({},Te)})})}function Xe(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${Te.id}/post_discuss`,{method:"post",body:c({},Te)})})}function ht(Te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:Te})})}function ge(Te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:Te})})}function _t(Te){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Te})})}function rt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.id}/add_homework_to_stage.json`,{method:"post",body:Te})})}function Ct(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te==null?void 0:Te.id}/edit.json`,{method:"get",params:Te})})}function Mt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Te==null?void 0:Te.id}.json`,{method:"put",body:Te})})}function vr(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_id}/subjects/subject_homework.json`,{method:"get",params:Te})})}function at(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_id}/courses/course_homework.json`,{method:"get",params:Te})})}function ir(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${Te==null?void 0:Te.id}/batch_add_homework_to_stage.json`,{method:"post",body:Te})})}function Ie(Te){return a(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Te})})}function Rt(Te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Te==null?void 0:Te.user_login}/subjects/cancel.json`,{method:"get",params:Te})})}},31417:function(i,d,e){"use strict";e.d(d,{Fd:function(){return J},Hi:function(){return b},IU:function(){return $},KE:function(){return E},Kc:function(){return Z},MK:function(){return L},Q9:function(){return O},Qg:function(){return k},Qn:function(){return A},UK:function(){return p},W:function(){return M},Ye:function(){return D},_c:function(){return f},hO:function(){return V},iV:function(){return K},jy:function(){return R},kp:function(){return N},lf:function(){return C},m7:function(){return h},n$:function(){return I},rJ:function(){return T},s3:function(){return g},ux:function(){return P},vf:function(){return G},wh:function(){return U},wo:function(){return Q},x$:function(){return Y}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,H,ee)=>H in B?r(B,H,{enumerable:!0,configurable:!0,writable:!0,value:ee}):B[H]=ee,c=(B,H)=>{for(var ee in H||(H={}))o.call(H,ee)&&u(B,ee,H[ee]);if(n)for(var ee of n(H))s.call(H,ee)&&u(B,ee,H[ee]);return B},a=(B,H,ee)=>new Promise((ae,ce)=>{var fe=ze=>{try{He(ee.next(ze))}catch(nt){ce(nt)}},_e=ze=>{try{He(ee.throw(ze))}catch(nt){ce(nt)}},He=ze=>ze.done?ae(ze.value):Promise.resolve(ze.value).then(fe,_e);He((ee=ee.apply(B,H)).next())});const f=B=>a(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B==null?void 0:B.id}/commit_word_cloud.json`,{method:"Get",params:B})});function g(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_lists.json`,{method:"get",params:c({},B)})})}function p(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/common_header.json`,{method:"get"})})}function b(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_setting.json`,{method:"get"})})}function h(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_setting.json`,{method:"post",body:c({},B)})})}function E(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},B)})})}function P(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/publish_groups.json`,{method:"get",params:c({},B)})})}function A(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_result.json`,{method:"get",params:c({},B)})})}function I(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},B)})})}function C(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},B)})})}function O(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},B)})})}function T(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls.json`,{method:"POST",body:c({},B)})})}function D(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/edit.json`,{method:"get"})})}function k(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function $(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function L(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}/poll_questions.json`,{method:"post",body:c({},B)})})}function R(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function U(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function N(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"get"})})}function V(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function j(B){return a(this,null,function*(){return Fetch(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function Y(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function G(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function J(B){return a(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},B)})})}function Q(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function Z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.id}.json`,{method:"put",body:c({},B)})})}function K(B){return a(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},B)})})}function M(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.exerciseId}/up_down.json`,{method:"post",body:c({},B)})})}},16149:function(i,d,e){"use strict";e.d(d,{$c:function(){return tt},A1:function(){return Ve},Bd:function(){return O},Bo:function(){return j},Cc:function(){return J},Cn:function(){return K},DF:function(){return I},Dm:function(){return me},FG:function(){return V},GW:function(){return Be},HF:function(){return L},Hm:function(){return B},IJ:function(){return De},L5:function(){return Et},LS:function(){return et},MZ:function(){return Pe},Mr:function(){return N},NZ:function(){return He},Of:function(){return P},Pl:function(){return A},Qj:function(){return h},Qp:function(){return St},RT:function(){return he},Rp:function(){return kt},U6:function(){return R},Vl:function(){return Q},Wk:function(){return U},YP:function(){return M},Ys:function(){return D},al:function(){return T},bF:function(){return qe},d1:function(){return b},dt:function(){return Ft},et:function(){return ee},ex:function(){return E},fY:function(){return ae},fn:function(){return C},hI:function(){return ze},hg:function(){return xe},iT:function(){return Y},lS:function(){return _e},nD:function(){return Je},qN:function(){return H},rV:function(){return k},s:function(){return fe},sD:function(){return Re},sS:function(){return xt},ts:function(){return G},vi:function(){return Ne},wX:function(){return je},x5:function(){return $},zh:function(){return ce}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ae,Pt,ct)=>Pt in Ae?r(Ae,Pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ae[Pt]=ct,f=(Ae,Pt)=>{for(var ct in Pt||(Pt={}))u.call(Pt,ct)&&a(Ae,ct,Pt[ct]);if(s)for(var ct of s(Pt))c.call(Pt,ct)&&a(Ae,ct,Pt[ct]);return Ae},g=(Ae,Pt)=>n(Ae,o(Pt)),p=(Ae,Pt,ct)=>new Promise((lt,st)=>{var Xe=_t=>{try{ge(ct.next(_t))}catch(rt){st(rt)}},ht=_t=>{try{ge(ct.throw(_t))}catch(rt){st(rt)}},ge=_t=>_t.done?lt(_t.value):Promise.resolve(_t.value).then(Xe,ht);ge((ct=ct.apply(Ae,Pt)).next())});function b(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:g(f({},Ae),{clazz:"ItemBanksGroup"})})})}function h(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Ae})})}function E(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ae})})}function P(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:Ae})})}function A(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/set_private.json`,{method:"post"})})}function I(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/set_public.json`,{method:"post"})})}function C(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}.json`,{method:"delete"})})}function O(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Ae.id}/start.json`,{method:"get"})})}function T(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}.json`,{method:"delete",body:f({},Ae)})})}function D(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:Ae})})}function k(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Ae})})}function $(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Ae.type}})})}function L(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Ae})})}function R(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:Ae})})}function U(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}.json`,{method:"put",body:Ae})})}function N(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:Ae})})}function V(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/edit.json`,{method:"get"})})}function j(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${Ae.id}/edit.json`,{method:"get"})})}function Y(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:Ae})})}function G(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/set_score.json`,{method:"post",body:Ae})})}function J(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/set_challenge_score.json`,{method:"post",body:Ae})})}function Q(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/combination_set_score.json`,{method:"post",body:Ae})})}function Z(Ae){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Ae.exerid}/examination_banks_item_banks/${Ae.id}/combination_set_score.json`,{method:"post",body:Ae})})}function K(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}.json`,{method:"delete"})})}function M(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Ae})})}function B(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Ae})})}function H(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Ae.id}/adjust_position.json`,{method:"post",body:Ae})})}function ee(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:Ae})})}function ae(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ae.id}/revoke_item.json`,{method:"delete",body:Ae})})}function ce(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ae.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Ae})})}function fe(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/join_to_collection.json`,{method:"post",params:Ae})})}function _e(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/cancel_collection.json`,{method:"post",params:Ae})})}function He(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:Ae})})}function ze(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Ae})})}function nt(Ae){return p(this,null,function*(){return Fetch(`/api/item_banks/${Ae.id}/join_to_group.json`,{method:"post",body:Ae})})}function it(Ae){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Ae.id}.json`,{method:"put",body:Ae})})}function xt(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:Ae})})}function Et(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae.id}/feedback.json`,{method:"post",body:Ae})})}function me(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:Ae})})}function Be(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:Ae})})}function Je(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Ae})})}function et(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Ae})})}function kt(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Ae})})}function St(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Ae})})}function je(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Ae==null?void 0:Ae.id}/set_public.json`,{method:"post",body:Ae})})}function xe(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Ae})})}function Pe(Ae){return(0,t.ZP)(`/api/problems/${Ae.identifier}/publish.json`,{method:"post",body:Ae})}function Re(Ae){return(0,t.ZP)(`/api/problems/${Ae.identifier}/cancel_publish.json`,{method:"post",body:Ae})}function De(Ae){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Ae.id]}})}function Ve(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Ae.id}/up_position.json`,{method:"get",params:Ae})})}function Ne(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Ae.id}/down_position.json`,{method:"get",params:Ae})})}function tt(Ae){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.id}/edit_hack.json`,{method:"get",params:Ae})})}function qe(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Ae})})}function Ft(Ae){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:Ae})})}function Ht(Ae){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Ae})})}function he(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return o}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function o(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},36708:function(i,d,e){"use strict";e.d(d,{Am:function(){return h},Ar:function(){return me},BD:function(){return Ne},Be:function(){return je},Dx:function(){return Q},Fr:function(){return rt},G$:function(){return A},GS:function(){return R},Gw:function(){return P},H:function(){return xt},H1:function(){return Et},Hj:function(){return qe},JA:function(){return Ht},JG:function(){return J},KE:function(){return M},Lz:function(){return De},Mf:function(){return it},NA:function(){return ze},PC:function(){return _e},PP:function(){return He},PW:function(){return et},Q3:function(){return Z},QC:function(){return he},Qt:function(){return Ve},Qz:function(){return O},R$:function(){return ge},RP:function(){return V},Ti:function(){return ir},Uc:function(){return lt},Ul:function(){return Y},VB:function(){return vr},Vs:function(){return st},Wr:function(){return I},Xn:function(){return j},YQ:function(){return nt},Yn:function(){return E},Z8:function(){return $},ak:function(){return Je},cN:function(){return D},co:function(){return xe},cz:function(){return ce},fK:function(){return L},gG:function(){return fe},gZ:function(){return ct},h$:function(){return k},ku:function(){return Re},lf:function(){return H},m7:function(){return G},mQ:function(){return T},mz:function(){return St},n$:function(){return B},oK:function(){return b},oN:function(){return at},pH:function(){return tt},pb:function(){return Mt},qP:function(){return Ae},ql:function(){return Pt},rN:function(){return Pe},sw:function(){return ee},t1:function(){return ae},to:function(){return N},ub:function(){return Ft},ux:function(){return K},wS:function(){return Ct},wT:function(){return C},yT:function(){return Be},yy:function(){return Xe},z2:function(){return kt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ie,Rt,Te)=>Rt in Ie?r(Ie,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ie[Rt]=Te,f=(Ie,Rt)=>{for(var Te in Rt||(Rt={}))u.call(Rt,Te)&&a(Ie,Te,Rt[Te]);if(s)for(var Te of s(Rt))c.call(Rt,Te)&&a(Ie,Te,Rt[Te]);return Ie},g=(Ie,Rt)=>n(Ie,o(Rt)),p=(Ie,Rt,Te)=>new Promise((lr,mr)=>{var hr=Wr=>{try{Nr(Te.next(Wr))}catch(Qr){mr(Qr)}},_r=Wr=>{try{Nr(Te.throw(Wr))}catch(Qr){mr(Qr)}},Nr=Wr=>Wr.done?lr(Wr.value):Promise.resolve(Wr.value).then(hr,_r);Nr((Te=Te.apply(Ie,Rt)).next())});const b=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),h=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),E=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),P=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),I=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),C=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),O=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),T=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),D=Ie=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function k(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:f({},Ie)})})}function $(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:f({},Ie)})})}function L(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:f({},Ie)})})}function R(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function U(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function N(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function V(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:f({},Ie)})})}function j(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:f({},Ie)})})}function Y(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:f({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:f({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:f({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:f({},Ie)})})}function Z(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:f({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:f({},Ie)})})}function M(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:f({},Ie)})})}function B(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function ae(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function ce(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:g(f({},Ie),{id:Ie.categoryId})})})}function fe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Ie)})})}function _e(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:f({},Ie)})})}function He(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Ie)})})}function ze(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Ie)})})}function nt(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Ie)})})}function it(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Ie)})})}function xt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:f({},Ie)})})}function Et(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:f({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:f({},Ie)})})}function Be(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:f({},Ie)})})}function Je(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Ie)})})}function et(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:f({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:f({},Ie)})})}function St(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Ie)})})}function je(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Ie)})})}function xe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Ie)})})}function Pe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Re(Ie){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Ie)})})}function De(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Ie)})})}function Ve(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:f({},Ie)})})}function tt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:f({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:f({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:f({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:f({},Ie)})})}function he(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:f({},Ie)})})}function Ae(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:f({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:f({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Ie)})})}function lt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:f({},Ie)})})}function st(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:f({},Ie)})})}function Xe(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:f({},Ie)})})}function ht(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:f({},Ie)})})}function ge(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Ie)})})}function _t(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:f({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:f({},Ie)})})}function Ct(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:f({},Ie)})})}function Mt(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:f({},Ie)})})}function vr(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Ie)})})}function at(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Ie)})})}function ir(Ie){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Ie)})})}},49692:function(i,d,e){"use strict";e.d(d,{$Q:function(){return ar},AE:function(){return hr},AQ:function(){return M},Ag:function(){return gt},Ar:function(){return Be},At:function(){return ea},BK:function(){return ee},Bj:function(){return Ae},Cf:function(){return A},DC:function(){return Ht},Dz:function(){return ba},E4:function(){return b},EH:function(){return kt},Ee:function(){return Ua},Er:function(){return Et},Ez:function(){return C},FB:function(){return H},Fg:function(){return G},Ft:function(){return U},GI:function(){return xe},Gr:function(){return lt},Gu:function(){return je},Gz:function(){return Y},HS:function(){return Ut},Hl:function(){return V},IF:function(){return $},IT:function(){return Pr},I_:function(){return Z},Ij:function(){return L},Ir:function(){return ae},Je:function(){return Gt},K:function(){return la},K0:function(){return Fa},KM:function(){return ze},K_:function(){return nn},LK:function(){return Bt},LP:function(){return Pe},Ne:function(){return xt},OL:function(){return I},OQ:function(){return h},OV:function(){return De},OW:function(){return et},Op:function(){return _n},P2:function(){return Ne},P4:function(){return R},Po:function(){return K},Ps:function(){return st},Q:function(){return it},Q1:function(){return $e},QA:function(){return ye},Ql:function(){return ht},Rs:function(){return Ie},SG:function(){return mt},Tn:function(){return Nr},Tr:function(){return ke},U0:function(){return Ct},U9:function(){return Xe},UQ:function(){return tr},Ui:function(){return un},Vx:function(){return on},WO:function(){return me},WT:function(){return Se},Wi:function(){return Pt},Wl:function(){return Ze},X$:function(){return tt},Yn:function(){return Qr},Z2:function(){return he},ZO:function(){return ct},Zt:function(){return Oa},_7:function(){return nt},_9:function(){return Jr},aH:function(){return ge},al:function(){return at},b8:function(){return Je},bV:function(){return k},bk:function(){return P},bq:function(){return Wr},dK:function(){return ce},e:function(){return J},eX:function(){return St},eb:function(){return Rt},fH:function(){return O},fL:function(){return Ke},h4:function(){return Vn},hS:function(){return j},h_:function(){return Ft},he:function(){return Q},hn:function(){return _e},hy:function(){return T},ii:function(){return ir},im:function(){return ur},j8:function(){return Re},jq:function(){return Mr},kF:function(){return nr},km:function(){return vr},l3:function(){return Ve},m7:function(){return rt},mI:function(){return Oe},n5:function(){return B},np:function(){return D},nu:function(){return we},p0:function(){return Cr},q0:function(){return mr},q9:function(){return Rn},qA:function(){return Gn},rO:function(){return lr},rs:function(){return He},sr:function(){return Vt},t2:function(){return Ar},tX:function(){return Sa},uo:function(){return Mt},v3:function(){return Me},w:function(){return Ue},wX:function(){return N},xK:function(){return _r},xM:function(){return E},xg:function(){return Te},xk:function(){return qe},yE:function(){return _t},yx:function(){return ft},zD:function(){return fe},zH:function(){return dn}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(se,ie,ve)=>ie in se?r(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):se[ie]=ve,f=(se,ie)=>{for(var ve in ie||(ie={}))u.call(ie,ve)&&a(se,ve,ie[ve]);if(s)for(var ve of s(ie))c.call(ie,ve)&&a(se,ve,ie[ve]);return se},g=(se,ie)=>n(se,o(ie)),p=(se,ie,ve)=>new Promise((X,Ye)=>{var Ot=Lt=>{try{Nt(ve.next(Lt))}catch(Kt){Ye(Kt)}},Qt=Lt=>{try{Nt(ve.throw(Lt))}catch(Kt){Ye(Kt)}},Nt=Lt=>Lt.done?X(Lt.value):Promise.resolve(Lt.value).then(Ot,Qt);Nt((ve=ve.apply(se,ie)).next())});const b=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:se})}),h=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:se})}),E=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:se})}),P=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:se})}),A=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:se})}),I=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.questionId}/poll_votes.json`,{method:"post",body:se})}),C=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:se})}),O=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}/up_down.json`,{method:"post",body:se})}),T=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:se})}),D=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}.json`,{method:"put",body:se})}),k=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:se})}),$=se=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${se==null?void 0:se.poll_question_id}.json`,{method:"delete"})}),L=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:se})}),R=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:se})}),U=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:se})}),N=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:se})}),V=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:se})}),j=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:se})}),Y=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:se})}),G=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:se})}),J=se=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:se})});function Q(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},se)})})}function Z(se){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},se||{})})})}function K(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}.json`,{method:"Get",params:se})})}function M(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/show_right.json`,{method:"Get"})})}function B(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges.json`,{method:"Get"})})}function H(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:se.save_type}})})}function ee(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/jupyter_exec.json${se.reset?`?reset=${se.reset}`:""}`,{method:"Get",params:se})})}function ae(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_exec.json${se.reset?`?reset=${se.reset}`:""}`,{method:"Get",params:se})})}function ce(se){return p(this,null,function*(){return(0,t.ZP)(se.url,{method:"Get"})})}function fe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.shixun_identifier}/challenges/${se.challenge_id}/index_up.json`,{method:"Get"})})}function _e(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.shixun_identifier}/challenges/${se.challenge_id}/index_down.json`,{method:"Get"})})}function He(se){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:se.container_id,container_type:se.container_type}})})}function ze(se){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:se.container_id,container_type:se.container_type}})})}function nt(se){return p(this,null,function*(){const{id:ie}=se||{};return(0,t.ZP)(`/api/shixuns/${ie}/search_user_courses.json`,{method:"Get",params:se})})}function it(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se==null?void 0:se.id}/send_to_course.json`,{method:"Post",body:f({},se)})})}function xt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/cancel_publish.json`,{method:"Get"})})}function Et(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/cancel_apply_public.json`,{method:"Get"})})}function me(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/apply_public.json`,{method:"post",body:f({},se)})})}function Be(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/publish.json`,{method:"Get"})})}function Je(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function et(se){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${se.id}.json`,{method:"delete"})})}function kt(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:se})})}function St(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:se})})}function je(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:se})})}function xe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/review_newest_record.json`,{method:"Get"})})}function Pe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/review_shixun.json`,{method:"post",body:se})})}function Re(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/collaborators.json`,{method:"Get",params:se})})}function De(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_members_added.json`,{method:"post",body:se})})}function Ve(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/add_members_group.json`,{method:"post",body:se})})}function Ne(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/change_manager.json`,{method:"Get",params:se})})}function tt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/change_manager.json`,{method:"post",body:se})})}function qe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/collaborators_delete.json`,{method:"delete",body:{user_id:se.userId}})})}function Ft(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/ranking_list.json`,{method:"Get"})})}function Ht(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/settings.json`,{method:"Get"})})}function he(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:se.mirror_id}})})}function Ae(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_script_contents.json`,{method:"Get",params:se})})}function Pt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_custom_script.json`,{method:"Get",params:se})})}function ct(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_for_jupyter.json`,{method:"put",body:se})})}function lt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/shixun_quotes.json`,{method:"Get"})})}function st(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}.json`,{method:"delete"})})}function Xe(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/close.json`,{method:"post",body:se})})}function ht(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:se})})}function ge(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_permission_setting.json`,{method:"post",body:se})})}function _t(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_learn_setting.json`,{method:"post",body:se})})}function rt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_setting`,{method:"post",body:se})})}function Ct(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/get_data_sets.json`,{method:"Get",params:se})})}function Mt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/destroy_data_sets.json`,{method:"Delete",body:{id:se.deleteId}})})}function vr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/new.json`,{method:"get"})})}function at(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/challenges.json`,{method:"post",body:f({},se)})})}function ir(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/edit.json`,{method:"get",params:{tab:se.tab}})})}function Ie(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}.json`,{method:"put",body:f({},se)})})}function Rt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_questions.json`,{method:"get"})})}function Te(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/move_position.json`,{method:"post",body:f({},se)})})}function lr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}.json`,{method:"delete",body:f({},se)})})}function mr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/edit.json`,{method:"get",params:f({},se)})})}function hr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/answer.json`,{method:"get",params:f({},se)})})}function _r(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengeId}/crud_answer.json`,{method:"post",body:f({},se)})})}function Nr(se){return p(this,null,function*(){if(se.type===1)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_choose_question.json`,{method:"post",body:f({},se)});if(se.type===2)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_blank_question.json`,{method:"post",body:f({},se)});if(se.type===3)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/create_judge_question.json`,{method:"post",body:f({},se)})})}function Wr(se){return p(this,null,function*(){if(se.type===1)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_choose_question.json`,{method:"post",body:g(f({},se),{choose_id:se.questionId})});if(se.type===2)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_blank_question.json`,{method:"put",body:g(f({},se),{choose_id:se.questionId})});if(se.type===3)return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/update_judge_question.json`,{method:"put",body:g(f({},se),{choose_id:se.questionId})})})}function Qr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:se.questionId}})})}function Jr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:se.questionId}})})}function ur(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:se.questionId}})})}function tr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/challenges/${se.challengesId}/edit_choose_question.json`,{method:"get",params:g(f({},se),{choose_id:se.questionId})})})}function Vt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/delete_git_file.json`,{method:"Delete",body:se})})}function Cr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/delete_git_file.json`,{method:"Delete",body:se})})}function Pr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/mv_file.json`,{method:"post",body:se})})}function Ar(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/mv_file.json`,{method:"post",body:se})})}function gt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/repository.json`,{method:"post",body:se})})}function Ze(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/repository.json`,{method:"post",body:se})})}function Ue(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/secret_repository.json`,{method:"post",body:se})})}function Me(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/add_file.json`,{method:"post",body:se})})}function Ke(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/add_file.json`,{method:"post",body:se})})}function Gt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/commits.json`,{method:"post",body:se})})}function Bt(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/file_content.json`,{method:"post",body:se})})}function we(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/file_content.json`,{method:"post",body:se})})}function nr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_file.json`,{method:"post",body:se})})}function Mr(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/update_file.json`,{method:"post",body:se})})}function _n(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/upload_git_folder.json`,{method:"post",body:{path:se.path,secret_repository:se.secret_repository}})})}function ar(se){return p(this,null,function*(){return(0,t.ZP)(`/api/${se.url}`,{method:"Get"})})}function un(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:se})})}function nn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:se})})}function dn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:se})})}function Gn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:se})})}function Rn(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:se})})}function ea(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/fork_list.json`,{method:"Get",params:se})})}function ba(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.identifier}/change_editable.json`,{method:"put",body:f({},se)})})}function Oa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/set_secret_dir.json`,{method:"post",body:f({},se)})})}function la(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:se})})}function $e(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:se})})}function Vn(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/init_repository.json`,{method:"post",body:f({},se)})})}function on(se){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${se.id}/init_repository.json`,{method:"post",body:f({},se)})})}function Fa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_secret_repository.json`,{method:"post",body:f({},se)})})}function Ua(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/exist_exercise.json`,{method:"get",params:f({},se)})})}function Sa(se){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${se.id}.json`,{method:"get",params:f({},se)})})}function qa(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/publish.json`,{method:"post",body:f({},se)})})}function Xa(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/open_vnc.json`,{method:"post",params:f({},se)})})}function Mn(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/open_webssh.json`,{method:"post",params:f({},se)})})}function Ia(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/save_image.json`,{method:"post",body:f({},se)})})}function Ln(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/delete_image.json`,{method:"post",body:f({},se)})})}function Cn(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/extend_vnc.json`,{method:"post",body:f({},se)})})}function On(se){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${se.id}/reset_vnc_link.json`,{method:"post",body:f({},se)})})}function ft(se){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},se)})})}function Oe(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},se)})})}function ye(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},se)})})}function ke(se){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:se})})}function Se(se){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${se}`,{method:"get",params:{is_initiative_study:1}})})}function pt(se){return p(this,null,function*(){return Fetch(`/api/shixuns/${se.id}/update_shixun_study_num.json`,{method:"post",body:f({},se)})})}function mt(se){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:se})})}function Ut(se){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${se}/recommend_config.json`,{method:"get"})})}},43859:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return T},eJ:function(){return E},eZ:function(){return P},fd:function(){return L},gp:function(){return f},iU:function(){return k},l3:function(){return I},mw:function(){return C},oZ:function(){return h},rM:function(){return O},r_:function(){return $},s:function(){return g},ur:function(){return D},xV:function(){return b},yb:function(){return A}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(R,U,N)=>U in R?r(R,U,{enumerable:!0,configurable:!0,writable:!0,value:N}):R[U]=N,c=(R,U)=>{for(var N in U||(U={}))o.call(U,N)&&u(R,N,U[N]);if(n)for(var N of n(U))s.call(U,N)&&u(R,N,U[N]);return R},a=(R,U,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,U)).next())});function f(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teachers.json`,{method:"get",params:c({},R)})})}function g(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/apply_teachers.json`,{method:"get",params:c({},R)})})}function p(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/graduation_group_list.json`,{method:"get",params:c({},R)})})}function b(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/all_course_groups.json`,{method:"get",params:c({},R)})})}function h(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/set_course_group.json`,{method:"post",body:c({},R)})})}function E(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/join_graduation_group.json`,{method:"post",body:c({},R)})})}function P(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/create_graduation_group.json`,{method:"post",body:c({},R)})})}function A(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},R)})})}function I(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_from_course.json`,{method:"post",body:c({},R)})})}function C(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_member_role.json`,{method:"post",body:c({},R)})})}function O(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_course_admin.json`,{method:"post",body:c({},R)})})}function T(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teacher_application_review.json`,{method:"post",body:c({},R)})})}function D(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/students.json`,{method:"get",params:c({},R)})})}function k(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/apply_students.json`,{method:"get",params:U})})}function $(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/join_student_checkout.json`,{method:"get",params:U})})}function L(R,U){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/student_application_review.json`,{method:"post",body:U})})}},24780:function(i,d,e){"use strict";e.d(d,{B$:function(){return b},Cx:function(){return Y},Cy:function(){return ae},DA:function(){return O},DH:function(){return p},Ef:function(){return Q},Es:function(){return E},Ex:function(){return it},FM:function(){return N},Fn:function(){return Z},Gq:function(){return Et},Ho:function(){return D},IU:function(){return ee},JJ:function(){return K},Ol:function(){return _e},Qx:function(){return U},Tv:function(){return M},V8:function(){return g},WS:function(){return G},WY:function(){return R},ai:function(){return j},bG:function(){return A},bJ:function(){return f},c0:function(){return xt},dE:function(){return H},dt:function(){return B},gI:function(){return J},lO:function(){return V},mW:function(){return L},n0:function(){return C},nV:function(){return fe},o1:function(){return He},qE:function(){return h},qN:function(){return T},rV:function(){return k},sh:function(){return ce},vR:function(){return P},w3:function(){return $},x4:function(){return I},z2:function(){return ze}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(me,Be,Je)=>Be in me?r(me,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):me[Be]=Je,c=(me,Be)=>{for(var Je in Be||(Be={}))o.call(Be,Je)&&u(me,Je,Be[Je]);if(n)for(var Je of n(Be))s.call(Be,Je)&&u(me,Je,Be[Je]);return me},a=(me,Be,Je)=>new Promise((et,kt)=>{var St=Pe=>{try{xe(Je.next(Pe))}catch(Re){kt(Re)}},je=Pe=>{try{xe(Je.throw(Pe))}catch(Re){kt(Re)}},xe=Pe=>Pe.done?et(Pe.value):Promise.resolve(Pe.value).then(St,je);xe((Je=Je.apply(me,Be)).next())});const f=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}/move.json`,{method:"post",body:me})}),g=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"delete",body:me})}),p=me=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"put",body:me})}),b=me=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:me})}),h=me=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:me})});function E(me){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},me)})})}function P(me){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function A(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},me)})})}function I(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},me)})})}function C(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function O(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/homepage_info.json`,{method:"get"})})}function T(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function D(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/courses.json`,{method:"get",params:me})})}function k(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/shixuns.json`,{method:"get",params:me})})}function $(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/subjects.json`,{method:"get",params:me})})}function L(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/projects.json`,{method:"get",params:me})})}function R(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos.json`,{method:"get",params:me})})}function U(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/review.json`,{method:"get",params:me})})}function N(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.id}.json`,{method:"delete"})})}function V(me){return a(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:me})})}function j(me){return a(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:me})})}function Y(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:me})})}function G(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:me})})}function J(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:me})})}function Q(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:me})})}function Z(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.object_id}/create_course_video.json`,{method:"post",body:me})})}function K(me){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${me.topicId}.json`,{method:"get",params:me})})}function M(me){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},me)})})}function B(me){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/batch_publish.json`,{method:"post",body:me})})}function H(me){return a(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${me.identifier}/cancel.json`,{method:"delete",body:c({},me)})})}function ee(){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function ae(me){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},me)})})}function ce(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function fe(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function _e(me){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:me})}function He(me){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:me})}function ze(me){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},me)})}function nt(me){return Fetch("/api/weapps/register.json",{method:"post",body:c({},me)})}function it(me){return(0,t.ZP)(`/api/users/accounts/${me.login}/password.json`,{method:"put",body:c({},me)})}function xt(me){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},me)})}function Et(me){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},me)})}},75730:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return D},Db:function(){return V},Ju:function(){return N},Mz:function(){return L},O2:function(){return h},TJ:function(){return A},Vg:function(){return b},ZY:function(){return g},Zx:function(){return $},cU:function(){return p},fn:function(){return U},jK:function(){return I},yN:function(){return R}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,Y,G)=>Y in j?r(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:G}):j[Y]=G,c=(j,Y)=>{for(var G in Y||(Y={}))o.call(Y,G)&&u(j,G,Y[G]);if(n)for(var G of n(Y))s.call(Y,G)&&u(j,G,Y[G]);return j},a=(j,Y,G)=>new Promise((J,Q)=>{var Z=B=>{try{M(G.next(B))}catch(H){Q(H)}},K=B=>{try{M(G.throw(B))}catch(H){Q(H)}},M=B=>B.done?J(B.value):Promise.resolve(B.value).then(Z,K);M((G=G.apply(j,Y)).next())});function f(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},j)})})}function g(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_statics.json`,{method:"Get",params:c({},j)})})}function p(j){return a(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${j.videoId}/watch_histories.json`,{method:"Get",params:c({},j)})})}function b(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},j)})})}function h(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}.json`,{method:"Get",params:c({},j)})})}function E(j){return a(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:j})})}function P(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function A(j){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function I(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/star.json`,{method:"post",body:j})})}function C(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}.json`,{method:"put",body:j})})}function O(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/send_to_course.json`,{method:"post",body:j})})}function T(j){return a(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},j)})})}function D(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/view_video.json`,{method:"post",body:j})})}function k(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/add_school.json`,{method:"post",body:j})})}function $(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_people_statics.json`,{method:"get",params:j})})}function L(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_duration_statics.json`,{method:"get",params:j})})}function R(j){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:j})})}function U(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j==null?void 0:j.id}/course_videos_tree.json`,{method:"get",params:j})})}function N(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:j})})}function V(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:j})})}},62406:function(i,d,e){"use strict";e.d(d,{A:function(){return L},CH:function(){return o},EA:function(){return c},FU:function(){return g},G_:function(){return h},LY:function(){return T},Ll:function(){return u},MM:function(){return I},Ps:function(){return D},Sl:function(){return P},To:function(){return p},Vf:function(){return b},XQ:function(){return s},b:function(){return f},bq:function(){return $},cZ:function(){return a},rV:function(){return O},sT:function(){return E},tS:function(){return k},xt:function(){return C},y2:function(){return n}});var t=e(99064),r=(R,U,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,U)).next())});const n=R=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:R})});function o(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"put",body:R})})}function s(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"get",params:R})})}function u(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"post",body:R})})}function c(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"get",params:R})})}function a(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/add_resources.json`,{method:"post",body:R})})}function f(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/lesson_resources_list.json`,{method:"get",params:R})})}function g(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"get",params:R})})}function p(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"put",body:R})})}function b(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"post",body:R})})}function h(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"get",params:R})})}function E(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}.json`,{method:"get"})})}function P(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}/modules.json`,{method:"get"})})}function A(R){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${R.id}/videos/batch_publish.json`,{method:"post",body:R})})}function I(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members.json`,{method:"post",body:R})})}function C(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members/${R.id}/change_creator.json`,{method:"post",body:R})})}function O(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns.json`,{method:"get",params:U})})}function T(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns`,{method:"post",body:U})})}function D(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/shixuns/${R.shixun_id}.json`,{method:"delete"})})}function k(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"get",params:U})})}function $(R,U){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"post",body:U})})}function L(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/subjects/${R.subject_id}.json`,{method:"delete"})})}},24065:function(i,d,e){"use strict";e.d(d,{$O:function(){return Y},G5:function(){return $},GD:function(){return r},GJ:function(){return g},Gg:function(){return p},I2:function(){return s},IR:function(){return R},JA:function(){return Ne},JL:function(){return C},Jd:function(){return j},Ny:function(){return A},RV:function(){return N},Rb:function(){return k},Rm:function(){return L},V9:function(){return B},Yh:function(){return Z},aN:function(){return E},aQ:function(){return a},ag:function(){return Ve},bg:function(){return Ft},d8:function(){return D},dE:function(){return U},eB:function(){return V},eY:function(){return Ht},fn:function(){return De},h:function(){return st},j5:function(){return h},m$:function(){return he},oF:function(){return b},qz:function(){return c},t_:function(){return P},tu:function(){return Pt},y8:function(){return qe}});var t=e(89070),r=(Xe=>(Xe[Xe.SuperAdmin=1]="SuperAdmin",Xe[Xe.Operation=2]="Operation",Xe[Xe.CertifiedTeacher=5]="CertifiedTeacher",Xe[Xe.TrainingProduction=8]="TrainingProduction",Xe[Xe.UncertifiedTeacher=12]="UncertifiedTeacher",Xe[Xe.Student=15]="Student",Xe))(r||{}),n=(Xe=>(Xe[Xe.SuperAdmin=1]="SuperAdmin",Xe[Xe.Operation=2]="Operation",Xe[Xe.Admin=5]="Admin",Xe[Xe.Teacher=8]="Teacher",Xe[Xe.Assistant=12]="Assistant",Xe[Xe.Student=15]="Student",Xe))(n||{}),o=(Xe=>(Xe[Xe.SuperAdmin=0]="SuperAdmin",Xe[Xe.Teacher=1]="Teacher",Xe[Xe.Student=2]="Student",Xe))(o||{});const s=Xe=>{const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return Xe.some(_t=>_t==(ge==null?void 0:ge.role))},u=Xe=>{const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return ge!=null&&ge.own?!0:Xe.some(_t=>{var rt;return _t==((rt=ge==null?void 0:ge.course)==null?void 0:rt.course_role)})},c=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Xe;return ht.main_site},a=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return(Xe=ge==null?void 0:ge.course)==null?void 0:Xe.course_is_end},f=()=>{const{user:Xe}=getDvaApp()._store.getState(),{userInfo:ht}=Xe;return ht.authentication},g=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),b=()=>u([1,8,5]),h=()=>u([1]),E=()=>u([1,2,5]),P=()=>u([1,2]),A=()=>s([1,2]),I=()=>s([1]),C=()=>s([1,2,5]),O=()=>u([1,5]),T=()=>u([5,8]),D=()=>u([5]),k=()=>u([1,5,2]),$=()=>u([1,2,5,8]),L=()=>u([12]),R=()=>u([8]),U=()=>u([15]),N=()=>u([1,2,5,8,12,15]),V=()=>u([1,2,5,8,12]),j=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState(),{userInfo:ge}=ht;return((Xe=ge==null?void 0:ge.course)==null?void 0:Xe.course_role)===null},Y=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Xe;return ht==null?void 0:ht.has_big_model_permission},G=(Xe=!0,ht=!1)=>s([1,2,5,8,12,15]),J=(Xe=!0,ht=!1)=>ht||!ht&&s([1]),Q=(Xe=!0,ht=!1)=>ht||!ht&&s([1,2]),Z=()=>s([15]),K=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),M=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),B=(Xe=!0,ht=!1)=>{const{user:ge}=(0,t.getDvaApp)()._store.getState(),{userInfo:_t}=ge;return _t!=null&&_t.is_shixun_marker?!0:s([1,2,5,8])},H=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),ee=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),ae=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),ce=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),fe=(Xe=!0,ht=!1)=>Xe?s([1,2,5]):ht||!ht&&s([1,2]),_e=(Xe=!0,ht=!1)=>Xe?s([1]):!1,He=(Xe=!0,ht=!1)=>s([1,2,5,8,12,15]),ze=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),nt=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),it=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12,15]):ht||!ht&&s([1,2]),xt=(Xe=!0,ht=!1)=>Xe?!1:ht||!ht&&s([1,2]),Et=(Xe=!0,ht=!1)=>Xe?ht||!ht&&s([1,2]):!1,me=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):!1,Be=(Xe=!0,ht=!1)=>Xe?!ht&&s([1,2,5,8,12]):!1,Je=(Xe=!0,ht=!1)=>Xe?s([1,2,5]):ht||!ht&&s([1,2]),et=(Xe=!0,ht=!1)=>s([1,2,5,8,12]),kt=(Xe=!0,ht=!1)=>Xe?s([1]):ht||!ht&&s([1]),St=(Xe=!0,ht=!1)=>Xe?s([1,2]):ht||!ht&&s([1,2]),je=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),xe=(Xe=!0,ht=!1)=>Xe?ht||!ht&&s([1,2]):!1,Pe=(Xe=!0,ht=!1)=>Xe?s([1,2,5,8,12]):ht||!ht&&s([1,2]),Re=(Xe=!0,ht=!1)=>u([8]),De=()=>s([1]),Ve=()=>s([1,2]),Ne=()=>s([15]),tt=()=>s([1,2,5]),qe=()=>s([1,2,5,12]),Ft=()=>{var Xe;const{user:ht}=(0,t.getDvaApp)()._store.getState();return!!((Xe=ht.userInfo)!=null&&Xe.login)},Ht=()=>{const{user:Xe}=(0,t.getDvaApp)()._store.getState();return Xe.userInfo},he=()=>{var Xe,ht;const{user:ge}=(0,t.getDvaApp)()._store.getState();return!!((ht=(Xe=ge.userInfo)==null?void 0:Xe.path)!=null&&ht.own)},Ae=Xe=>{const{graduations:ht}=(0,t.getDvaApp)()._store.getState(),{details:ge}=ht;return Xe.some(_t=>_t===(ge==null?void 0:ge.user_identity))},Pt=()=>Ae([0,1]),ct=()=>Ae([0]),lt=()=>Ae([1]),st=()=>Ae([2])},14165:function(i,d,e){"use strict";e.d(d,{a2:function(){return o},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(n||{}),o=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(o||{}),s=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(s||{})},33466:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});const t={PROXY_SERVER:"https://test-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var r=null,o={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://test-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://pre-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(i,d,e){"use strict";e.d(d,{IV:function(){return K},U2:function(){return G},ZP:function(){return N},d4:function(){return J},gz:function(){return Z},rz:function(){return U},v_:function(){return Q}});var t=e(3294),r=e(28909),n=e(43418),o=e(8591),s=e(85582),u=e.n(s),c=e(59301),a=e(89070),f=e(955),g=Object.defineProperty,p=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(M,B,H)=>B in M?g(M,B,{enumerable:!0,configurable:!0,writable:!0,value:H}):M[B]=H,I=(M,B)=>{for(var H in B||(B={}))E.call(B,H)&&A(M,H,B[H]);if(h)for(var H of h(B))P.call(B,H)&&A(M,H,B[H]);return M},C=(M,B)=>p(M,b(B)),O=(M,B,H)=>new Promise((ee,ae)=>{var ce=He=>{try{_e(H.next(He))}catch(ze){ae(ze)}},fe=He=>{try{_e(H.throw(He))}catch(ze){ae(ze)}},_e=He=>He.done?ee(He.value):Promise.resolve(He.value).then(ce,fe);_e((H=H.apply(M,B)).next())});let T;const D={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},k=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const B=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,H=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ae=/\/api\/attachments\/(\d+)/g,ce=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(ae,(_e,He,ze,nt)=>{const it=He||ze||nt;return"/api/attachments/"+(0,f.Jn)(it)}).replace(ce,(_e,He,ze)=>{const nt=He||ze;return"/attachments/download/"+(0,f.Jn)(nt)}).replace(B,(_e,He,ze,nt)=>{const it=He||ze||nt;return"(/api/attachments/"+(0,f.Jn)(it)}).replace(H,(_e,He,ze)=>{const nt=He||ze;return'"/api/attachments/'+(0,f.Jn)(nt)}).replace(ee,(_e,He,ze)=>{const nt=He||ze;return"(/files/uploads/"+(0,f.Jn)(nt)}).replace(/\r\n/g,` `)}catch(B){return null}},$=(M,B)=>O(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const H=D[M.status]||M.statusText;let ee;var ae=M.json();yield ae.then((fe,_e)=>{setTimeout(()=>{let He=(0,a.getDvaApp)()},400),ee=fe.message,window.showNetworkErrorTip(fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),r.Z.error({style:{wordBreak:"break-all"},message:fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:fe.message?"":H})});const ce=new Error(H);throw ce.name=M.status,ce.response=M,{data:M,code:M.status,message:ee||H}}),L=(M,B)=>{const H=M.headers.get("Content-Type");return H&&H.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function R(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(B){return!1}}const U=M=>{M=M||{};let B="";for(let H in M)typeof M[H]=="object"?Array.isArray(M[H])&&M[H].forEach((ee,ae)=>{B+="&"+H+"[]="+ee}):M[H]!==void 0&&(B+="&"+H+"="+(R(M[H])?M[H]:encodeURIComponent(M[H])));return B.substr(1)};function N(M,B,H,ee){B.method||(B.method="get"),B.method=B.method.toUpperCase(),B.mode="cors";const ae=I({},B),{user:ce}=(0,a.getDvaApp)()._store.getState(),{userInfo:fe}=ce,_e=M+(ae.body?JSON.stringify(ae.body):""),He=u().sha256().update(_e).digest("hex"),ze={credentials:"include",withCredentials:!0},nt={};fe!=null&&fe.login&&(nt.zzud=fe==null?void 0:fe.login,fe!=null&&fe.school_id&&(nt.zzsud=fe==null?void 0:fe.school_id),ae.params=I(I({},ae.params||{}),nt));let it=I(I({},ze),JSON.parse(JSON.stringify(ae)));(it.method==="POST"||it.method==="PUT"||it.method==="PATCH"||it.method==="DELETE")&&(H?(it.headers=C(I({},it.headers),{"Pc-Authorization":(0,f.ej)("_educoder_session")}),it.body=ae.body):(it.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session")},it.headers),it.body=JSON.stringify(ae.body))),it.method=="GET"?(it.headers=C(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},it.headers),{"Pc-Authorization":(0,f.ej)("_educoder_session")}),ae.params&&U(ae.params)&&(M+="?"+U(ae.params))):nt.zzud&&(M+="?"+U(I({},nt)));const xt=ae.expirys&&60;let Et;(et=>{et.json="application/json;charset=UTF-8",et.form="application/x-www-form-urlencoded; charset=UTF-8"})(Et||(Et={}));let me;(et=>{et.get="GET",et.post="POST"})(me||(me={}));const Be=et=>O(this,null,function*(){const kt=yield et.arrayBuffer();let St;const je=new Blob([kt]);try{St=et.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(De){St="userfiles.zip"}const xe=document.createElement("a"),Pe=window.URL.createObjectURL(je),Re=St;return xe.href=Pe,xe.download=Re,xe.click(),window.URL.revokeObjectURL(Pe),kt});let Je=t.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(Je=""),it.method=="GET"&&it.params&&Object.keys(it.params).map(et=>{if(it.params[et]&&!Array.isArray(it.params[et]))try{it.params[et]=encodeURIComponent(decodeURIComponent(it.params[et]))}catch(kt){it.params[et]=encodeURIComponent(it.params[et])}}),(0,f.Ec)(it,M),ee&&(Je=""),fetch(Je+M,it).then(et=>$(et,I({url:t.Z.API_SERVER+M},it))).then(et=>L(et,He)).then(et=>O(this,null,function*(){var kt,St,je,xe;try{const Re=et.headers.get("cs");Re&&(0,f.d8)("_educoder_session",Re,1)}catch(Re){}if(et.status===204)return et.text();let Pe;if(et.headers.get("content-type").indexOf("application/json")>-1){Pe=yield et.json();try{Pe=JSON.parse(k(Pe))}catch(Re){}}else it.headers["Content-Type"]==="application/xml"?Pe=yield et.text():(kt=ae.body)!=null&&kt.autoDownload||(St=ae.params)!=null&&St.autoDownload?Pe=yield Be(et):Pe=yield et.arrayBuffer();try{Pe.status===401&&(!((je=it.params)!=null&&je.hidePopLogin)||!((xe=it.body)!=null&&xe.hidePopLogin))&&(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Pe.status===402&&(localStorage.getItem("addinfo")==="2"?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(T=T||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),T.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{a.history.push("/account/profile/edit")}})))}catch(Re){console.log("fetcherr",Re)}return Y(Pe,M),Pe})).catch(et=>{try{const kt=et.code;if(et instanceof TypeError&&window.showNetworkErrorTip(`${M}${et.message}`),kt){if(kt===401){(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(et,M)}else M.includes("/file/filePatchMerge")?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:it.body}}):et.message!=="403"&&window.showNetworkErrorTip(`${M}${et.message}`);return et}catch(kt){}})}let V=!1,j=!1;const Y=(M,B)=>{var H,ee,ae;if(M.status==-6&&!j){j=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>j=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){j=!0,setTimeout(()=>j=!1,500);let fe="";(H=M==null?void 0:M.data)!=null&&H.exercise_list&&((ae=(ee=M==null?void 0:M.data)==null?void 0:ee.exercise_list)==null||ae.map(_e=>{fe+=`\u300A${_e.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${fe} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!j){j=!0,setTimeout(()=>j=!1,500),o.ZP.warning({content:M.message,key:"message-key"});return}const ce={403:"/403",404:"/404",500:"/500"};if(ce[M.status]&&!V){const{user:fe}=(0,a.getDvaApp)()._store.getState(),{userInfo:_e}=fe;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(V=!0),setTimeout(()=>V=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(ce).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(ce[M.status]),new Error("403")}};function G(M,B){return N(`/api/${M}`,{method:"Get",params:B||{}})}function J(M,B){return N(`/${M}`,{method:"Get",params:B})}function Q(M,B){return N(`/api/${M}`,{method:"Post",body:I({},B)})}function Z(M,B){return N(`/api/${M}`,{method:"Put",body:I({},B)})}function K(M,B){return N(`/api/${M}`,{method:"delete",body:I({},B||{})})}},64892:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},955:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24065),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16209),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(94941),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(33466),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(89070),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3294),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(34604),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(64892),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},o=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,o);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i){var d=["Bytes","KB","MB","GB","TB"];if(i==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,e)).toFixed(1)+" "+d[e]}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const a=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),o=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(o,s){const u=[];for(let c=o;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,o),disabledMinutes:()=>e<=o?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),o=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*o)+Math.round(d*o))/o;case"-":return(Math.round(i*o)-Math.round(d*o))/o;case"*":return Math.round(i*o)*Math.round(d*o)/(o*o);case"/":return Math.round(i*o)/Math.round(d*o);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["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"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r `).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",d,JSON.stringify(i)),d},StatusTags=i=>{const d={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return i.data&&i.data.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:t,className:d[e]&&d[e].class},e)})},formatHomeWorkStatusToName=i=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[i]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},StatusGraduationProjectTags=i=>{const{status:d}=i,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[d].class},e[d].name)}catch(t){console.log("utils.StatusGraduationProjectTags",i.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=i=>{let d={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};i.temporary&&(d=__spreadValues(__spreadValues({},d),e));const t=[];i.is_random&&t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{i.status&&i.status.map((r,n)=>{t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(i==null?void 0:i.style)||[],key:n,className:d[r]&&d[r].class},r))})}catch(r){console.log("utils.status.tag:",r,i.status)}return t},exerciseTips=(i,d)=>{if(i===5||d)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(i===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(i===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(i===3)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(i===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t[i.status])==null?void 0:d.class},(e=t[i.status])==null?void 0:e.name)},CommonWorkStatus=i=>{var d,e;const t={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${i!=null&&i.lineBreak?` `:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${i!=null&&i.lineBreak?` @@ -230,6 +230,6 @@ Add a component higher in the tree to provide a loading \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(i,d,e){"use strict";var t=e(65911),r=e(32621),n=e(68151),o=e(16332),s=e(58218),u=e(24538),c=e(44166),a=e(25576),f=e(7825),g=e(73068),p=e(61888),b=e(35454),h=e(16697);i.exports=function(E,P,A,I){var C="stackTraceLimit",O=I?2:1,T=E.split("."),D=T[T.length-1],k=t.apply(null,T);if(k){var $=k.prototype;if(!h&&r($,"cause")&&delete $.cause,!A)return k;var L=t("Error"),R=P(function(U,N){var V=f(I?N:U,void 0),j=I?new k(U):new k;return V!==void 0&&n(j,"message",V),p(j,R,j.stack,2),this&&o($,this)&&a(j,this,R),arguments.length>O&&g(j,arguments[O]),j});if(R.prototype=$,D!=="Error"?s?s(R,L):u(R,L,{name:!0}):b&&C in k&&(c(R,k,C),c(R,k,"prepareStackTrace")),u(R,k),!h)try{$.name!==D&&n($,"name",D),$.constructor=R}catch(U){}return R}}},93074:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(3338),s=e(78540),u="AggregateError",c=r(u),a=!o(function(){return c([1]).errors[0]!==1})&&o(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:a},{AggregateError:s(u,function(f){return function(p,b){return n(f,this,arguments)}},a,!0)})},6555:function(i,d,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),o=e(58218),s=e(24538),u=e(20132),c=e(68151),a=e(35012),f=e(73068),g=e(61888),p=e(62003),b=e(7825),h=e(59893),E=h("toStringTag"),P=Error,A=[].push,I=function(T,D){var k=r(C,this),$;o?$=o(new P,k?n(this):C):($=k?this:u(C),c($,E,"Error")),D!==void 0&&c($,"message",b(D)),g($,I,$.stack,1),arguments.length>2&&f($,arguments[2]);var L=[];return p(T,A,{that:L}),c($,"errors",L),$};o?o(I,P):s(I,P,{name:!0});var C=I.prototype=u(P.prototype,{constructor:a(1,I),message:a(1,""),name:a(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,d,e){"use strict";e(6555)},89170:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),o=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),o(s)},71012:function(i,d,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),o=e(91669),s=e(80449),u=e(51981),c=e(61578),a=e(60473),f=o.ArrayBuffer,g=o.DataView,p=g.prototype,b=r(f.prototype.slice),h=r(p.getUint8),E=r(p.setUint8),P=n(function(){return!new f(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:P},{slice:function(I,C){if(b&&C===void 0)return b(s(this),I);for(var O=s(this).byteLength,T=u(I,O),D=u(C===void 0?O:C,O),k=new(a(this,f))(c(D-T)),$=new g(this),L=new g(k),R=0;T=0?g:f+g;return p<0||p>=f?void 0:a[p]}}),s("at")},2924:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),o=e(31946),s=e(94029),u=e(82762),c=e(66434),a=e(69392),f=e(81427),g=e(17480),p=e(59893),b=e(46573),h=p("isConcatSpreadable"),E=b>=51||!r(function(){var I=[];return I[h]=!1,I.concat()[0]!==I}),P=function(I){if(!o(I))return!1;var C=I[h];return C!==void 0?!!C:n(I)},A=!E||!g("concat");t({target:"Array",proto:!0,arity:1,forced:A},{concat:function(C){var O=s(this),T=f(O,0),D=0,k,$,L,R,U;for(k=-1,L=arguments.length;k1?arguments[1]:void 0)}})},16137:function(i,d,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),o=n("filter");t({target:"Array",proto:!0,forced:!o},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,d,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},17482:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,d,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},65033:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),o=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(a){var f=o(this),g=s(f),p;return n(a),p=u(f,0),p.length=r(p,f,f,g,0,1,a,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),o=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var a=arguments.length?arguments[0]:void 0,f=n(this),g=o(f),p=u(f,0);return p.length=r(p,f,f,g,0,a===void 0?1:s(a)),p}})},52732:function(i,d,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,d,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),o=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:o},{from:r})},88437:function(i,d,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),o=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),o("includes")},68440:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,o=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!o("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(f){var g=arguments.length>1?arguments[1]:void 0;return u?s(this,f,g)||0:n(this,f,g)}})},13412:function(i,d,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,d,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),o=e(94844),s=e(37691).f,u=e(24019),c=e(25587),a=e(16697),f=e(35454),g="Array Iterator",p=o.set,b=o.getterFor(g);i.exports=u(Array,"Array",function(E,P){p(this,{type:g,target:t(E),index:0,kind:P})},function(){var E=b(this),P=E.target,A=E.index++;if(!P||A>=P.length)return E.target=void 0,c(void 0,!0);switch(E.kind){case"keys":return c(A,!1);case"values":return c(P[A],!1)}return c([A,P[A]],!1)},"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&f&&h.name!=="values")try{s(h,"name",{value:"values"})}catch(E){}},70348:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),o=e(80524),s=e(45601),u=r([].join),c=n!==Object,a=c||!s("join",",");t({target:"Array",proto:!0,forced:a},{join:function(g){return u(o(this),g===void 0?",":g)}})},19801:function(i,d,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,d,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),o=n("map");t({target:"Array",proto:!0,forced:!o},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),o=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var a=0,f=arguments.length,g=new(n(this)?this:s)(f);f>a;)o(g,a,arguments[a++]);return g.length=f,g}})},7154:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),o=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},f=c||!a();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(p){var b=r(this),h=n(b),E=arguments.length;s(h+E);for(var P=0;P79&&o<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,d,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),o=e(46573),s=e(90946),u=!s&&o>79&&o<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(f){var g=arguments.length;return r(this,f,g,g>1?arguments[1]:void 0)}})},9402:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),o=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),o(this)}})},62489:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),o=e(31946),s=e(51981),u=e(82762),c=e(80524),a=e(69392),f=e(59893),g=e(17480),p=e(30867),b=g("slice"),h=f("species"),E=Array,P=Math.max;t({target:"Array",proto:!0,forced:!b},{slice:function(I,C){var O=c(this),T=u(O),D=s(I,T),k=s(C===void 0?T:C,T),$,L,R;if(r(O)&&($=O.constructor,n($)&&($===E||r($.prototype))?$=void 0:o($)&&($=$[h],$===null&&($=void 0)),$===E||$===void 0))return p(O,D,k);for(L=new($===void 0?E:$)(P(k-D,0)),R=0;D1?arguments[1]:void 0)}})},62837:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),o=e(94029),s=e(82762),u=e(84233),c=e(69905),a=e(3338),f=e(63668),g=e(45601),p=e(78177),b=e(17687),h=e(46573),E=e(19684),P=[],A=r(P.sort),I=r(P.push),C=a(function(){P.sort(void 0)}),O=a(function(){P.sort(null)}),T=g("sort"),D=!a(function(){if(h)return h<70;if(!(p&&p>3)){if(b)return!0;if(E)return E<603;var L="",R,U,N,V;for(R=65;R<76;R++){switch(U=String.fromCharCode(R),R){case 66:case 69:case 70:case 72:N=3;break;case 68:case 71:N=4;break;default:N=2}for(V=0;V<47;V++)P.push({k:U+V,v:N})}for(P.sort(function(j,Y){return Y.v-j.v}),V=0;Vc(U)?1:-1}};t({target:"Array",proto:!0,forced:k},{sort:function(R){R!==void 0&&n(R);var U=o(this);if(D)return R===void 0?A(U):A(U,R);var N=[],V=s(U),j,Y;for(Y=0;YO-$+k;R--)g(C,R-1)}else if(k>$)for(R=O-$;R>T;R--)U=R+$-1,N=R+k-1,U in C?C[N]=C[U]:g(C,N);for(R=0;R=0&&f<=99?f+1900:f;return u(this,g)}})},71390:function(i,d,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,d,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var a=n(this),f=o(a,"number");return typeof f=="number"&&!isFinite(f)?null:a.toISOString()}})},69762:function(i,d,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),o=e(59893),s=o("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,d,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,o="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==o&&r(n,s,function(){var f=c(this);return f===f?u(this):o})},31808:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),o=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,a=function(g,p){var b={};b[g]=o(g,p,c),t({global:!0,constructor:!0,arity:1,forced:c},b)},f=function(g,p){if(u&&u[g]){var b={};b[g]=o(s+"."+g,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},b)}};a("Error",function(g){return function(b){return n(g,this,arguments)}}),a("EvalError",function(g){return function(b){return n(g,this,arguments)}}),a("RangeError",function(g){return function(b){return n(g,this,arguments)}}),a("ReferenceError",function(g){return function(b){return n(g,this,arguments)}}),a("SyntaxError",function(g){return function(b){return n(g,this,arguments)}}),a("TypeError",function(g){return function(b){return n(g,this,arguments)}}),a("URIError",function(g){return function(b){return n(g,this,arguments)}}),f("CompileError",function(g){return function(b){return n(g,this,arguments)}}),f("LinkError",function(g){return function(b){return n(g,this,arguments)}}),f("RuntimeError",function(g){return function(b){return n(g,this,arguments)}})},99953:function(i,d,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),a=r("".toUpperCase),f=/[\w*+\-./@]/,g=function(p,b){for(var h=c(p,16);h.length9490626562425156e-8?o(g)+u:r(g-1+s(g-1)*s(g+1))}})},85660:function(i,d,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,o=Math.sqrt;function s(c){var a=+c;return!isFinite(a)||a===0?a:a<0?-s(-a):n(a+o(a*a+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,d,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,o=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:o},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,d,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,o=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*o(n(c),.3333333333333333)}})},83579:function(i,d,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,o=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*o):32}})},74307:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,o=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(a){var f=r(o(a)-1)+1;return(f+1/(f*s*s))*(s/2)}})},97423:function(i,d,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,d,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,d,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,o=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,a){for(var f=0,g=0,p=arguments.length,b=0,h,E;g0?(E=h/b,f+=E*E):f+=h;return b===1/0?1/0:b*o(f)}})},61425:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,o=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:o},{imul:function(u,c){var a=65535,f=+u,g=+c,p=a&f,b=a&g;return 0|p*b+((a&f>>>16)*b+p*(a&g>>>16)<<16>>>0)}})},61873:function(i,d,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,d,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,d,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,d,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),o=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(f){var g=+f;return o(g)<1?(n(g)-n(-g))/2:(s(g-1)-s(-g-1))*(u/2)}})},62455:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),a=r(-u);return c===1/0?1:a===1/0?-1:(c-a)/(n(u)+n(-u))}})},79965:function(i,d,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,d,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),o=e(92916),s=e(9699),u=e(94237),c=e(20865),a=e(32621),f=e(25576),g=e(16332),p=e(18446),b=e(97954),h=e(3338),E=e(80689).f,P=e(71256).f,A=e(37691).f,I=e(49228),C=e(52971).trim,O="Number",T=o[O],D=s[O],k=T.prototype,$=o.TypeError,L=u("".slice),R=u("".charCodeAt),U=function(J){var Q=b(J,"number");return typeof Q=="bigint"?Q:N(Q)},N=function(J){var Q=b(J,"number"),Z,K,M,B,H,ee,ae,ce;if(p(Q))throw new $("Cannot convert a Symbol value to a number");if(typeof Q=="string"&&Q.length>2){if(Q=C(Q),Z=R(Q,0),Z===43||Z===45){if(K=R(Q,2),K===88||K===120)return NaN}else if(Z===48){switch(R(Q,1)){case 66:case 98:M=2,B=49;break;case 79:case 111:M=8,B=55;break;default:return+Q}for(H=L(Q,2),ee=H.length,ae=0;aeB)return NaN;return parseInt(H,M)}}return+Q},V=c(O,!T(" 0o1")||!T("0b1")||T("+0x1")),j=function(J){return g(k,J)&&h(function(){I(J)})},Y=function(Q){var Z=arguments.length<1?0:T(U(Q));return j(this)?f(Object(Z),this,Y):Z};Y.prototype=k,V&&!r&&(k.constructor=Y),t({global:!0,constructor:!0,wrap:!0,forced:V},{Number:Y});var G=function(J,Q){for(var Z=n?E(Q):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),K=0,M;Z.length>K;K++)a(Q,M=Z[K])&&!a(J,M)&&A(J,M,P(Q,M))};r&&D&&G(s[O],D),(V||r)&&G(s[O],T)},31919:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,d,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,d,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,d,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(53309),c=e(3338),a=RangeError,f=String,g=isFinite,p=Math.abs,b=Math.floor,h=Math.pow,E=Math.round,P=r(1 .toExponential),A=r(s),I=r("".slice),C=P(-69e-12,4)==="-6.9000e-11"&&P(1.255,2)==="1.25e+0"&&P(12345,3)==="1.235e+4"&&P(25,0)==="3e+1",O=function(){return c(function(){P(1,1/0)})&&c(function(){P(1,-1/0)})},T=function(){return!c(function(){P(1/0,1/0),P(NaN,1/0)})},D=!C||!O()||!T();t({target:"Number",proto:!0,forced:D},{toExponential:function($){var L=o(this);if($===void 0)return P(L);var R=n($);if(!g(L))return String(L);if(R<0||R>20)throw new a("Incorrect fraction digits");if(C)return P(L,R);var U="",N="",V=0,j="",Y="";if(L<0&&(U="-",L=-L),L===0)V=0,N=A("0",R+1);else{var G=u(L);V=b(G);var J=0,Q=h(10,V-R);J=E(L/Q),2*L>=(2*J+1)*Q&&(J+=1),J>=h(10,R+1)&&(J/=10,V+=1),N=f(J)}return R!==0&&(N=I(N,0,1)+"."+I(N,1)),V===0?(j="+",Y="0"):(j=V>0?"+":"-",Y=f(p(V))),N+="e"+j+Y,U+N}})},58055:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(3338),c=RangeError,a=String,f=Math.floor,g=r(s),p=r("".slice),b=r(1 .toFixed),h=function(O,T,D){return T===0?D:T%2===1?h(O,T-1,D*O):h(O*O,T/2,D)},E=function(O){for(var T=0,D=O;D>=4096;)T+=12,D/=4096;for(;D>=2;)T+=1,D/=2;return T},P=function(O,T,D){for(var k=-1,$=D;++k<6;)$+=T*O[k],O[k]=$%1e7,$=f($/1e7)},A=function(O,T){for(var D=6,k=0;--D>=0;)k+=O[D],O[D]=f(k/T),k=k%T*1e7},I=function(O){for(var T=6,D="";--T>=0;)if(D!==""||T===0||O[T]!==0){var k=a(O[T]);D=D===""?k:D+g("0",7-k.length)+k}return D},C=u(function(){return b(8e-5,3)!=="0.000"||b(.9,0)!=="1"||b(1.255,2)!=="1.25"||b(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){b({})});t({target:"Number",proto:!0,forced:C},{toFixed:function(T){var D=o(this),k=n(T),$=[0,0,0,0,0,0],L="",R="0",U,N,V,j;if(k<0||k>20)throw new c("Incorrect fraction digits");if(D!==D)return"NaN";if(D<=-1e21||D>=1e21)return a(D);if(D<0&&(L="-",D=-D),D>1e-21)if(U=E(D*h(2,69,1))-69,N=U<0?D*h(2,-U,1):D/h(2,U,1),N*=4503599627370496,U=52-U,U>0){for(P($,0,N),V=k;V>=7;)P($,1e7,0),V-=7;for(P($,h(10,V,1),0),V=U-1;V>=23;)A($,8388608),V-=23;A($,1<0?(j=R.length,R=L+(j<=k?"0."+g("0",k-j)+R:p(R,0,j-k)+"."+p(R,j-k))):R=L+R,R}})},93547:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),o=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(a){return a===void 0?s(o(this)):s(o(this),a)}})},31237:function(i,d,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(a,f){u.f(s(this),a,{get:o(f),enumerable:!0,configurable:!0})}})},47146:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(a,f){u.f(s(this),a,{set:o(f),enumerable:!0,configurable:!0})}})},72820:function(i,d,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(o){return r(o)}})},86070:function(i,d,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),o=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(f){return u&&o(f)?u(s(f)):f}})},23569:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,a){n(u,c,a)},{AS_ENTRIES:!0}),u}})},55639:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),o=e(71256).f,s=e(35454),u=!s||r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(a,f){return o(n(a),f)}})},63046:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),o=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(a){for(var f=o(a),g=s.f,p=n(f),b={},h=0,E,P;p.length>h;)P=g(f,E=p[h++]),P!==void 0&&u(b,E,P);return b}})},464:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,o=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:n})},67936:function(i,d,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),o=e(92635),s=e(94029),u=!r||n(function(){o.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(a){var f=o.f;return f?f(s(a)):[]}})},51082:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(53456),s=e(4870),u=r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(a){return o(n(a))}})},83850:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),o=e(63335),s=e(95955),u=e(17818),c=e(62003),a=r("Object","create"),f=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,b){s(p),o(b);var h=a(null),E=0;return c(p,function(P){var A=u(b(P,E++));A in h?f(h[A],P):h[A]=[P]}),h}})},41990:function(i,d,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,d,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},78143:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},15787:function(i,d,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),o=e(3338),s=o(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.get;while(g=u(g))}})},14645:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.set;while(g=u(g))}})},71122:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{preventExtensions:function(f){return u&&r(f)?u(n(f)):f}})},42084:function(i,d,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),o=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,a=Object.prototype,f="__proto__";if(t&&u&&c&&!(f in a))try{r(a,f,{configurable:!0,get:function(){return u(o(this))},set:function(p){var b=s(this);!n(p)&&p!==null||!n(b)||c(b,p)}})}catch(g){}},25070:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{seal:function(f){return u&&r(f)?u(n(f)):f}})},77140:function(i,d,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,d,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,d,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(o){return r(o)}})},49988:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]={status:"fulfilled",value:k},--C||b(A))},function(k){D||(D=!0,A[T]={status:"rejected",reason:k},--C||b(A))})}),--C||b(A)});return E.error&&h(E.value),p.promise}})},12785:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]=k,--C||b(A))},h)}),--C||b(A)});return E.error&&h(E.value),p.promise}})},50747:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(65911),s=e(73446),u=e(80734),c=e(62003),a=e(22093),f="No one promise resolved";t({target:"Promise",stat:!0,forced:a},{any:function(p){var b=this,h=o("AggregateError"),E=s.f(b),P=E.resolve,A=E.reject,I=u(function(){var C=n(b.resolve),O=[],T=0,D=1,k=!1;c(p,function($){var L=T++,R=!1;D++,r(C,b,$).then(function(U){R||k||(k=!0,P(U))},function(U){R||k||(R=!0,O[L]=U,--D||A(new h(O,f)))})}),--D||A(new h(O,f))});return I.error&&A(I.value),E.promise}})},41902:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,o=e(2451),s=e(65911),u=e(55327),c=e(2291),a=o&&o.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(g){return this.then(void 0,g)}}),!r&&u(o)){var f=s("Promise").prototype.catch;a.catch!==f&&c(a,"catch",f,{unsafe:!0})}},90366:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),o=e(92916),s=e(89945),u=e(2291),c=e(58218),a=e(94573),f=e(51996),g=e(63335),p=e(55327),b=e(31946),h=e(56472),E=e(60473),P=e(28887).set,A=e(72933),I=e(61810),C=e(80734),O=e(66790),T=e(94844),D=e(2451),k=e(82830),$=e(73446),L="Promise",R=k.CONSTRUCTOR,U=k.REJECTION_EVENT,N=k.SUBCLASSING,V=T.getterFor(L),j=T.set,Y=D&&D.prototype,G=D,J=Y,Q=o.TypeError,Z=o.document,K=o.process,M=$.f,B=M,H=!!(Z&&Z.createEvent&&o.dispatchEvent),ee="unhandledrejection",ae="rejectionhandled",ce=0,fe=1,_e=2,He=1,ze=2,nt,it,xt,Et,me=function(De){var Ve;return b(De)&&p(Ve=De.then)?Ve:!1},Be=function(De,Ve){var Ne=Ve.value,tt=Ve.state===fe,qe=tt?De.ok:De.fail,Ft=De.resolve,Ht=De.reject,he=De.domain,Ae,Pt,ct;try{qe?(tt||(Ve.rejection===ze&&je(Ve),Ve.rejection=He),qe===!0?Ae=Ne:(he&&he.enter(),Ae=qe(Ne),he&&(he.exit(),ct=!0)),Ae===De.promise?Ht(new Q("Promise-chain cycle")):(Pt=me(Ae))?s(Pt,Ae,Ft,Ht):Ft(Ae)):Ht(Ne)}catch(lt){he&&!ct&&he.exit(),Ht(lt)}},Je=function(De,Ve){De.notified||(De.notified=!0,A(function(){for(var Ne=De.reactions,tt;tt=Ne.get();)Be(tt,De);De.notified=!1,Ve&&!De.rejection&&kt(De)}))},et=function(De,Ve,Ne){var tt,qe;H?(tt=Z.createEvent("Event"),tt.promise=Ve,tt.reason=Ne,tt.initEvent(De,!1,!0),o.dispatchEvent(tt)):tt={promise:Ve,reason:Ne},!U&&(qe=o["on"+De])?qe(tt):De===ee&&I("Unhandled promise rejection",Ne)},kt=function(De){s(P,o,function(){var Ve=De.facade,Ne=De.value,tt=St(De),qe;if(tt&&(qe=C(function(){n?K.emit("unhandledRejection",Ne,Ve):et(ee,Ve,Ne)}),De.rejection=n||St(De)?ze:He,qe.error))throw qe.value})},St=function(De){return De.rejection!==He&&!De.parent},je=function(De){s(P,o,function(){var Ve=De.facade;n?K.emit("rejectionHandled",Ve):et(ae,Ve,De.value)})},xe=function(De,Ve,Ne){return function(tt){De(Ve,tt,Ne)}},Pe=function(De,Ve,Ne){De.done||(De.done=!0,Ne&&(De=Ne),De.value=Ve,De.state=_e,Je(De,!0))},Re=function(De,Ve,Ne){if(!De.done){De.done=!0,Ne&&(De=Ne);try{if(De.facade===Ve)throw new Q("Promise can't be resolved itself");var tt=me(Ve);tt?A(function(){var qe={done:!1};try{s(tt,Ve,xe(Re,qe,De),xe(Pe,qe,De))}catch(Ft){Pe(qe,Ft,De)}}):(De.value=Ve,De.state=fe,Je(De,!1))}catch(qe){Pe({done:!1},qe,De)}}};if(R&&(G=function(Ve){h(this,J),g(Ve),s(nt,this);var Ne=V(this);try{Ve(xe(Re,Ne),xe(Pe,Ne))}catch(tt){Pe(Ne,tt)}},J=G.prototype,nt=function(Ve){j(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:ce,value:void 0})},nt.prototype=u(J,"then",function(Ve,Ne){var tt=V(this),qe=M(E(this,G));return tt.parent=!0,qe.ok=p(Ve)?Ve:!0,qe.fail=p(Ne)&&Ne,qe.domain=n?K.domain:void 0,tt.state===ce?tt.reactions.add(qe):A(function(){Be(qe,tt)}),qe.promise}),it=function(){var De=new nt,Ve=V(De);this.promise=De,this.resolve=xe(Re,Ve),this.reject=xe(Pe,Ve)},$.f=M=function(De){return De===G||De===xt?new it(De):B(De)},!r&&p(D)&&Y!==Object.prototype)){Et=Y.then,N||u(Y,"then",function(Ve,Ne){var tt=this;return new G(function(qe,Ft){s(Et,tt,qe,Ft)}).then(Ve,Ne)},{unsafe:!0});try{delete Y.constructor}catch(De){}c&&c(Y,J)}t({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:G}),a(G,L,!1,!0),f(L)},43595:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),o=e(3338),s=e(65911),u=e(55327),c=e(60473),a=e(15597),f=e(2291),g=n&&n.prototype,p=!!n&&o(function(){g.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(h){var E=c(this,s("Promise")),P=u(h);return this.then(P?function(A){return a(E,h()).then(function(){return A})}:h,P?function(A){return a(E,h()).then(function(){throw A})}:h)}}),!r&&u(n)){var b=s("Promise").prototype.finally;g.finally!==b&&f(g,"finally",b,{unsafe:!0})}},24627:function(i,d,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(f){var g=this,p=o.f(g),b=p.reject,h=s(function(){var E=n(g.resolve);u(f,function(P){r(E,g,P).then(p.resolve,b)})});return h.error&&b(h.value),p.promise}})},95693:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),o=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:o},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),o=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),a=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(g){return u(a&&this===c?o:this,g)}})},92324:function(i,d,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var o=r.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})},23551:function(i,d,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),o=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(a,f,g){return r(n(a),f,o(g))}})},74521:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(4645),s=e(6086),u=e(80449),c=e(31946),a=e(20132),f=e(3338),g=r("Reflect","construct"),p=Object.prototype,b=[].push,h=f(function(){function A(){}return!(g(function(){},[],A)instanceof A)}),E=!f(function(){g(function(){})}),P=h||E;t({target:"Reflect",stat:!0,forced:P,sham:P},{construct:function(I,C){s(I),u(C);var O=arguments.length<3?I:s(arguments[2]);if(E&&!h)return g(I,C,O);if(I===O){switch(C.length){case 0:return new I;case 1:return new I(C[0]);case 2:return new I(C[0],C[1]);case 3:return new I(C[0],C[1],C[2]);case 4:return new I(C[0],C[1],C[2],C[3])}var T=[null];return n(b,T,C),new(n(o,I,T))}var D=O.prototype,k=a(c(D)?D:p),$=n(I,k,C);return c($)?$:k}})},57891:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(f,g,p){n(f);var b=o(g);n(p);try{return s.f(f,b,p),!0}catch(h){return!1}}})},84138:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return o.f(n(u),c)}})},6474:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),o=e(4870);t({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),o=e(80449),s=e(60516),u=e(71256),c=e(53456);function a(f,g){var p=arguments.length<3?f:arguments[2],b,h;if(o(f)===p)return f[g];if(b=u.f(f,g),b)return s(b)?b.value:b.get===void 0?void 0:r(b.get,p);if(n(h=c(f)))return a(h,g,p)}t({target:"Reflect",stat:!0},{get:a})},40135:function(i,d,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,o){return o in n}})},7982:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,d,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),o=e(13247);t({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(a){return!1}}})},42844:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(557),o=e(58218);o&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return o(u,c),!0}catch(a){return!1}}})},92130:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(31946),s=e(60516),u=e(3338),c=e(37691),a=e(71256),f=e(53456),g=e(35012);function p(h,E,P){var A=arguments.length<4?h:arguments[3],I=a.f(n(h),E),C,O,T;if(!I){if(o(O=f(h)))return p(O,E,P,A);I=g(0)}if(s(I)){if(I.writable===!1||!o(A))return!1;if(C=a.f(A,E)){if(C.get||C.set||C.writable===!1)return!1;C.value=P,c.f(A,E,C)}else c.f(A,E,g(0,P))}else{if(T=I.set,T===void 0)return!1;r(T,A,P)}return!0}var b=u(function(){var h=function(){},E=c.f(new h,"a",{configurable:!0});return Reflect.set(h.prototype,"a",1,E)!==!1});t({target:"Reflect",stat:!0,forced:b},{set:p})},6536:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,d,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),o=e(20865),s=e(25576),u=e(68151),c=e(20132),a=e(80689).f,f=e(16332),g=e(44639),p=e(69905),b=e(81644),h=e(19286),E=e(44166),P=e(2291),A=e(3338),I=e(32621),C=e(94844).enforce,O=e(51996),T=e(59893),D=e(6041),k=e(51224),$=T("match"),L=r.RegExp,R=L.prototype,U=r.SyntaxError,N=n(R.exec),V=n("".charAt),j=n("".replace),Y=n("".indexOf),G=n("".slice),J=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Q=/a/g,Z=/a/g,K=new L(Q)!==Q,M=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,H=t&&(!K||M||D||k||A(function(){return Z[$]=!1,L(Q)!==Q||L(Z)===Z||String(L(Q,"i"))!=="/a/i"})),ee=function(He){for(var ze=He.length,nt=0,it="",xt=!1,Et;nt<=ze;nt++){if(Et=V(He,nt),Et==="\\"){it+=Et+V(He,++nt);continue}!xt&&Et==="."?it+="[\\s\\S]":(Et==="["?xt=!0:Et==="]"&&(xt=!1),it+=Et)}return it},ae=function(He){for(var ze=He.length,nt=0,it="",xt=[],Et=c(null),me=!1,Be=!1,Je=0,et="",kt;nt<=ze;nt++){if(kt=V(He,nt),kt==="\\")kt+=V(He,++nt);else if(kt==="]")me=!1;else if(!me)switch(!0){case kt==="[":me=!0;break;case kt==="(":N(J,G(He,nt+1))&&(nt+=2,Be=!0),it+=kt,Je++;continue;case(kt===">"&&Be):if(et===""||I(Et,et))throw new U("Invalid capture group name");Et[et]=!0,xt[xt.length]=[et,Je],Be=!1,et="";continue}Be?et+=kt:it+=kt}return[it,xt]};if(o("RegExp",H)){for(var ce=function(ze,nt){var it=f(R,this),xt=g(ze),Et=nt===void 0,me=[],Be=ze,Je,et,kt,St,je,xe;if(!it&&xt&&Et&&ze.constructor===ce)return ze;if((xt||f(R,ze))&&(ze=ze.source,Et&&(nt=b(Be))),ze=ze===void 0?"":p(ze),nt=nt===void 0?"":p(nt),Be=ze,D&&"dotAll"in Q&&(et=!!nt&&Y(nt,"s")>-1,et&&(nt=j(nt,/s/g,""))),Je=nt,M&&"sticky"in Q&&(kt=!!nt&&Y(nt,"y")>-1,kt&&B&&(nt=j(nt,/y/g,""))),k&&(St=ae(ze),ze=St[0],me=St[1]),je=s(L(ze,nt),it?this:R,ce),(et||kt||me.length)&&(xe=C(je),et&&(xe.dotAll=!0,xe.raw=ce(ee(ze),Je)),kt&&(xe.sticky=!0),me.length&&(xe.groups=me)),ze!==Be)try{u(je,"source",Be===""?"(?:)":Be)}catch(Pe){}return je},fe=a(L),_e=0;fe.length>_e;)E(ce,L,fe[_e++]);R.constructor=ce,ce.prototype=R,P(r,"RegExp",ce,{constructor:!0})}O("RegExp")},62921:function(i,d,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,d,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,d,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),o=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,a=r&&s(function(){var f=!0;try{u(".","d")}catch(I){f=!1}var g={},p="",b=f?"dgimsy":"gimsy",h=function(I,C){Object.defineProperty(g,I,{get:function(){return p+=C,!0}})},E={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(E.hasIndices="d");for(var P in E)h(P,E[P]);var A=Object.getOwnPropertyDescriptor(c,"flags").get.call(g);return A!==b||p!==b});a&&n(c,"flags",{configurable:!0,get:o})},54744:function(i,d,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,d,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),o=e(80449),s=e(69905),u=function(){var a=!1,f=/[ac]/;return f.exec=function(){return a=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&a}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(a){var f=o(this),g=s(a),p=f.exec;if(!n(p))return r(c,f,g);var b=r(p,f,g);return b===null?!1:(o(b),!0)}})},12756:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),o=e(69905),s=e(3338),u=e(81644),c="toString",a=RegExp.prototype,f=a[c],g=s(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&f.name!==c;(g||p)&&r(RegExp.prototype,c,function(){var h=n(this),E=o(h.source),P=o(u(h));return"/"+E+"/"+P},{unsafe:!0})},69772:function(i,d,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,d,e){"use strict";e(69772)},34932:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=e(3338),c=r("".charAt),a=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:a},{at:function(g){var p=s(n(this)),b=p.length,h=o(g),E=h>=0?h:b+h;return E<0||E>=b?void 0:c(p,E)}})},81046:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,d,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(o){return r(this,o)}})},37343:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,o=e(61578),s=e(69905),u=e(41696),c=e(95955),a=e(86266),f=e(16697),g=r("".endsWith),p=r("".slice),b=Math.min,h=a("endsWith"),E=!f&&!h&&!!function(){var P=n(String.prototype,"endsWith");return P&&!P.writable}();t({target:"String",proto:!0,forced:!E&&!h},{endsWith:function(A){var I=s(c(this));u(A);var C=arguments.length>1?arguments[1]:void 0,O=I.length,T=C===void 0?O:b(o(C),O),D=s(A);return g?g(I,D,T):p(I,T-D.length,T)===D}})},56338:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),a=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:a},{fromCodePoint:function(g){for(var p=[],b=arguments.length,h=0,E;b>h;){if(E=+arguments[h++],n(E,1114111)!==E)throw new o(E+" is not a valid code point");p[h]=E<65536?s(E):s(((E-=65536)>>10)+55296,E%1024+56320)}return c(p,"")}})},75551:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),o=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~c(s(o(this)),s(n(f)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=o(n(this)),a=c.length,f=0;f=56320||++f>=a||(s(c,f)&64512)!==56320))return!1}return!0}})},4939:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,d,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),o=e(24019),s=e(25587),u="String Iterator",c=n.set,a=n.getterFor(u);o(String,"String",function(f){c(this,{type:u,string:r(f),index:0})},function(){var g=a(this),p=g.string,b=g.index,h;return b>=p.length?s(void 0,!0):(h=t(p,b),g.index+=h.length,s(h,!1))})},81927:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),o=e(83126),s=e(25587),u=e(95955),c=e(61578),a=e(69905),f=e(80449),g=e(4112),p=e(29076),b=e(44639),h=e(81644),E=e(53776),P=e(2291),A=e(3338),I=e(59893),C=e(60473),O=e(52216),T=e(94338),D=e(94844),k=e(16697),$=I("matchAll"),L="RegExp String",R=L+" Iterator",U=D.set,N=D.getterFor(R),V=RegExp.prototype,j=TypeError,Y=n("".indexOf),G=n("".matchAll),J=!!G&&!A(function(){G("a",/./)}),Q=o(function(M,B,H,ee){U(this,{type:R,regexp:M,string:B,global:H,unicode:ee,done:!1})},L,function(){var M=N(this);if(M.done)return s(void 0,!0);var B=M.regexp,H=M.string,ee=T(B,H);return ee===null?(M.done=!0,s(void 0,!0)):M.global?(a(ee[0])===""&&(B.lastIndex=O(H,c(B.lastIndex),M.unicode)),s(ee,!1)):(M.done=!0,s(ee,!1))}),Z=function(K){var M=f(this),B=a(K),H=C(M,RegExp),ee=a(h(M)),ae,ce,fe;return ae=new H(H===RegExp?M.source:M,ee),ce=!!~Y(ee,"g"),fe=!!~Y(ee,"u"),ae.lastIndex=c(M.lastIndex),new Q(ae,B,ce,fe)};t({target:"String",proto:!0,forced:J},{matchAll:function(M){var B=u(this),H,ee,ae,ce;if(g(M)){if(J)return G(B,M)}else{if(b(M)&&(H=a(u(h(M))),!~Y(H,"g")))throw new j("`.matchAll` does not allow non-global regexes");if(J)return G(B,M);if(ae=E(M,$),ae===void 0&&k&&p(M)==="RegExp"&&(ae=Z),ae)return r(ae,M,B)}return ee=a(B),ce=new RegExp(M,"g"),k?r(Z,ce,ee):ce[$](ee)}}),k||$ in V||P(V,$,Z)},46302:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(61578),u=e(69905),c=e(95955),a=e(53776),f=e(52216),g=e(94338);r("match",function(p,b,h){return[function(P){var A=c(this),I=o(P)?void 0:a(P,p);return I?t(I,P,A):new RegExp(P)[p](u(A))},function(E){var P=n(this),A=u(E),I=h(b,P,A);if(I.done)return I.value;if(!P.global)return g(P,A);var C=P.unicode;P.lastIndex=0;for(var O=[],T=0,D;(D=g(P,A))!==null;){var k=u(D[0]);O[T]=k,k===""&&(P.lastIndex=f(A,s(P.lastIndex),C)),T++}return T===0?null:O}]})},76718:function(i,d,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,d,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),o=e(94029),s=e(69905),u=e(82762),c=r([].push),a=r([].join);t({target:"String",stat:!0},{raw:function(g){var p=n(o(g).raw),b=u(p);if(!b)return"";for(var h=arguments.length,E=[],P=0;;){if(c(E,s(p[P++])),P===b)return a(E,"");PD.length?-1:k===""?$:A(D,k,$)};t({target:"String",proto:!0},{replaceAll:function(k,$){var L=o(this),R,U,N,V,j,Y,G,J,Q,Z=0,K=0,M="";if(!u(k)){if(R=c(k),R&&(U=a(o(g(k))),!~A(U,"g")))throw new P("`.replaceAll` does not allow non-global regexes");if(N=f(k,E),N)return r(N,k,L,$);if(h&&R)return I(a(L),k,$)}for(V=a(L),j=a(k),Y=s($),Y||($=a($)),G=j.length,J=O(1,G),Z=T(V,j,0);Z!==-1;)Q=Y?a($(j,Z,V)):p(j,V,Z,[],void 0,$),M+=C(V,K,Z)+Q,K=Z+G,Z=T(V,j,Z+J);return K")!=="7"});o("replace",function(j,Y,G){var J=N?"$":"$0";return[function(Z,K){var M=b(this),B=a(Z)?void 0:E(Z,C);return B?r(B,Z,M,K):r(Y,p(M),Z,K)},function(Q,Z){var K=u(this),M=p(Q);if(typeof Z=="string"&&$(Z,J)===-1&&$(Z,"$<")===-1){var B=G(Y,K,M,Z);if(B.done)return B.value}var H=c(Z);H||(Z=p(Z));var ee=K.global,ae;ee&&(ae=K.unicode,K.lastIndex=0);for(var ce=[],fe;fe=A(K,M),!(fe===null||(k(ce,fe),!ee));){var _e=p(fe[0]);_e===""&&(K.lastIndex=h(M,g(K.lastIndex),ae))}for(var He="",ze=0,nt=0;nt=ze&&(He+=L(M,ze,xt)+me,ze=xt+it.length)}return He+L(M,ze)}]},!V||!U||N)},62925:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(95955),u=e(5370),c=e(69905),a=e(53776),f=e(94338);r("search",function(g,p,b){return[function(E){var P=s(this),A=o(E)?void 0:a(E,g);return A?t(A,E,P):new RegExp(E)[g](c(P))},function(h){var E=n(this),P=c(h),A=b(p,E,P);if(A.done)return A.value;var I=E.lastIndex;u(I,0)||(E.lastIndex=0);var C=f(E,P);return u(E.lastIndex,I)||(E.lastIndex=I),C===null?-1:C.index}]})},60462:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,d,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),o=e(8662),s=e(80449),u=e(4112),c=e(44639),a=e(95955),f=e(60473),g=e(52216),p=e(61578),b=e(69905),h=e(53776),E=e(71698),P=e(94338),A=e(88736),I=e(19286),C=e(3338),O=I.UNSUPPORTED_Y,T=4294967295,D=Math.min,k=[].push,$=n(/./.exec),L=n(k),R=n("".slice),U=!C(function(){var N=/(?:)/,V=N.exec;N.exec=function(){return V.apply(this,arguments)};var j="ab".split(N);return j.length!==2||j[0]!=="a"||j[1]!=="b"});o("split",function(N,V,j){var Y;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?Y=function(G,J){var Q=b(a(this)),Z=J===void 0?T:J>>>0;if(Z===0)return[];if(G===void 0)return[Q];if(!c(G))return r(V,Q,G,Z);for(var K=[],M=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(G.sticky?"y":""),B=0,H=new RegExp(G.source,M+"g"),ee,ae,ce;(ee=r(A,H,Q))&&(ae=H.lastIndex,!(ae>B&&(L(K,R(Q,B,ee.index)),ee.length>1&&ee.index=Z)));)H.lastIndex===ee.index&&H.lastIndex++;return B===Q.length?(ce||!$(H,""))&&L(K,""):L(K,R(Q,B)),K.length>Z?E(K,0,Z):K}:"0".split(void 0,0).length?Y=function(G,J){return G===void 0&&J===0?[]:r(V,this,G,J)}:Y=V,[function(J,Q){var Z=a(this),K=u(J)?void 0:h(J,N);return K?r(K,J,Z,Q):r(Y,b(Z),J,Q)},function(G,J){var Q=s(this),Z=b(G),K=j(Y,Q,Z,J,Y!==V);if(K.done)return K.value;var M=f(Q,RegExp),B=Q.unicode,H=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"g":"y"),ee=new M(O?"^(?:"+Q.source+")":Q,H),ae=J===void 0?T:J>>>0;if(ae===0)return[];if(Z.length===0)return P(ee,Z)===null?[Z]:[];for(var ce=0,fe=0,_e=[];fe1?arguments[1]:void 0,I.length)),O=s(A);return g?g(I,O,C):p(I,C,C+O.length)===O}})},72571:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=r("".slice),c=Math.max,a=Math.min,f=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:f},{substr:function(p,b){var h=s(n(this)),E=h.length,P=o(p),A,I;return P===1/0&&(P=0),P<0&&(P=c(E+P,0)),A=b===void 0?E:o(b),A<=0||A===1/0?"":(I=a(P+A,E),P>=I?"":u(h,P,I))}})},85767:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),o=e(95955),s=e(69905),u=e(3338),c=Array,a=n("".charAt),f=n("".charCodeAt),g=n([].join),p="".toWellFormed,b="\uFFFD",h=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:h},{toWellFormed:function(){var P=s(o(this));if(h)return r(p,P);for(var A=P.length,I=c(A),C=0;C=56320||C+1>=A||(f(P,C+1)&64512)!==56320?I[C]=b:(I[C]=a(P,C),I[++C]=a(P,C))}return g(I,"")}})},49257:function(i,d,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,d,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,d,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,d,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,d,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,d,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(16697),u=e(35454),c=e(42820),a=e(3338),f=e(32621),g=e(16332),p=e(80449),b=e(80524),h=e(17818),E=e(69905),P=e(35012),A=e(20132),I=e(7733),C=e(80689),O=e(53393),T=e(92635),D=e(71256),k=e(37691),$=e(55666),L=e(27597),R=e(2291),U=e(64110),N=e(77898),V=e(11898),j=e(54406),Y=e(6145),G=e(59893),J=e(38282),Q=e(94674),Z=e(14311),K=e(94573),M=e(94844),B=e(90560).forEach,H=V("hidden"),ee="Symbol",ae="prototype",ce=M.set,fe=M.getterFor(ee),_e=Object[ae],He=r.Symbol,ze=He&&He[ae],nt=r.RangeError,it=r.TypeError,xt=r.QObject,Et=D.f,me=k.f,Be=O.f,Je=L.f,et=o([].push),kt=N("symbols"),St=N("op-symbols"),je=N("wks"),xe=!xt||!xt[ae]||!xt[ae].findChild,Pe=function(Ae,Pt,ct){var lt=Et(_e,Pt);lt&&delete _e[Pt],me(Ae,Pt,ct),lt&&Ae!==_e&&me(_e,Pt,lt)},Re=u&&a(function(){return A(me({},"a",{get:function(){return me(this,"a",{value:7}).a}})).a!==7})?Pe:me,De=function(Ae,Pt){var ct=kt[Ae]=A(ze);return ce(ct,{type:ee,tag:Ae,description:Pt}),u||(ct.description=Pt),ct},Ve=function(Pt,ct,lt){Pt===_e&&Ve(St,ct,lt),p(Pt);var st=h(ct);return p(lt),f(kt,st)?(lt.enumerable?(f(Pt,H)&&Pt[H][st]&&(Pt[H][st]=!1),lt=A(lt,{enumerable:P(0,!1)})):(f(Pt,H)||me(Pt,H,P(1,{})),Pt[H][st]=!0),Re(Pt,st,lt)):me(Pt,st,lt)},Ne=function(Pt,ct){p(Pt);var lt=b(ct),st=I(lt).concat(he(lt));return B(st,function(Xe){(!u||n(qe,lt,Xe))&&Ve(Pt,Xe,lt[Xe])}),Pt},tt=function(Pt,ct){return ct===void 0?A(Pt):Ne(A(Pt),ct)},qe=function(Pt){var ct=h(Pt),lt=n(Je,this,ct);return this===_e&&f(kt,ct)&&!f(St,ct)?!1:lt||!f(this,ct)||!f(kt,ct)||f(this,H)&&this[H][ct]?lt:!0},Ft=function(Pt,ct){var lt=b(Pt),st=h(ct);if(!(lt===_e&&f(kt,st)&&!f(St,st))){var Xe=Et(lt,st);return Xe&&f(kt,st)&&!(f(lt,H)&<[H][st])&&(Xe.enumerable=!0),Xe}},Ht=function(Pt){var ct=Be(b(Pt)),lt=[];return B(ct,function(st){!f(kt,st)&&!f(j,st)&&et(lt,st)}),lt},he=function(Ae){var Pt=Ae===_e,ct=Be(Pt?St:b(Ae)),lt=[];return B(ct,function(st){f(kt,st)&&(!Pt||f(_e,st))&&et(lt,kt[st])}),lt};c||(He=function(){if(g(ze,this))throw new it("Symbol is not a constructor");var Pt=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),ct=Y(Pt),lt=function(st){var Xe=this===void 0?r:this;Xe===_e&&n(lt,St,st),f(Xe,H)&&f(Xe[H],ct)&&(Xe[H][ct]=!1);var ht=P(1,st);try{Re(Xe,ct,ht)}catch(ge){if(!(ge instanceof nt))throw ge;Pe(Xe,ct,ht)}};return u&&xe&&Re(_e,ct,{configurable:!0,set:lt}),De(ct,Pt)},ze=He[ae],R(ze,"toString",function(){return fe(this).tag}),R(He,"withoutSetter",function(Ae){return De(Y(Ae),Ae)}),L.f=qe,k.f=Ve,$.f=Ne,D.f=Ft,C.f=O.f=Ht,T.f=he,J.f=function(Ae){return De(G(Ae),Ae)},u&&(U(ze,"description",{configurable:!0,get:function(){return fe(this).description}}),s||R(_e,"propertyIsEnumerable",qe,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:He}),B(I(je),function(Ae){Q(Ae)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:tt,defineProperty:Ve,defineProperties:Ne,getOwnPropertyDescriptor:Ft}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Ht}),Z(),K(He,ee),j[H]=!0},44852:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(94237),s=e(32621),u=e(55327),c=e(16332),a=e(69905),f=e(64110),g=e(24538),p=n.Symbol,b=p&&p.prototype;if(r&&u(p)&&(!("description"in b)||p().description!==void 0)){var h={},E=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:a(arguments[0]),$=c(b,this)?new p(k):k===void 0?p():p(k);return k===""&&(h[$]=!0),$};g(E,p),E.prototype=b,b.constructor=E;var P=String(p("description detection"))==="Symbol(description detection)",A=o(b.valueOf),I=o(b.toString),C=/^Symbol\((.*)\)[^)]+$/,O=o("".replace),T=o("".slice);f(b,"description",{configurable:!0,get:function(){var k=A(this);if(s(h,k))return"";var $=I(k),L=P?T($,7,-1):O($,C,"$1");return L===""?void 0:L}}),t({global:!0,constructor:!0,forced:!0},{Symbol:E})}},54524:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),o=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),a=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(f){var g=o(f);if(n(c,g))return c[g];var p=r("Symbol")(g);return c[g]=p,a[p]=g,p}})},17898:function(i,d,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,d,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,d,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,d,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,d,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),o=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!n(f))throw new TypeError(o(f)+" is not a symbol");if(r(c,f))return c[f]}})},69811:function(i,d,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,d,e){"use strict";var t=e(94674);t("match")},18114:function(i,d,e){"use strict";var t=e(94674);t("replace")},23844:function(i,d,e){"use strict";var t=e(94674);t("search")},39581:function(i,d,e){"use strict";var t=e(94674);t("species")},40632:function(i,d,e){"use strict";var t=e(94674);t("split")},22690:function(i,d,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,d,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,d,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var a=o(this),f=r(a),g=n(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:a[p]})},83470:function(i,d,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),o=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(a,f){return o(s(this),a,f,arguments.length>2?arguments[2]:void 0)})},79641:function(i,d,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,d,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),o=e(97607),s=e(89945),u=e(94237),c=e(3338),a=t.aTypedArray,f=t.exportTypedArrayMethod,g=u("".slice),p=c(function(){var b=0;return new Int8Array(2).fill({valueOf:function(){return b++}}),b!==1});f("fill",function(h){var E=arguments.length;a(this);var P=g(o(this),0,3)==="Big"?n(h):+h;return s(r,this,P,E>1?arguments[1]:void 0,E>2?arguments[2]:void 0)},p)},24860:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)})},56233:function(i,d,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,d,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,d,e){"use strict";var t=e(69733);t("Float32",function(r){return function(o,s,u){return r(this,o,s,u)}})},59022:function(i,d,e){"use strict";var t=e(69733);t("Float64",function(r){return function(o,s,u){return r(this,o,s,u)}})},5316:function(i,d,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,d,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,d,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,d,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,d,e){"use strict";var t=e(69733);t("Int16",function(r){return function(o,s,u){return r(this,o,s,u)}})},60330:function(i,d,e){"use strict";var t=e(69733);t("Int32",function(r){return function(o,s,u){return r(this,o,s,u)}})},19363:function(i,d,e){"use strict";var t=e(69733);t("Int8",function(r){return function(o,s,u){return r(this,o,s,u)}})},91927:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),o=e(58261),s=e(11005),u=e(59893),c=u("iterator"),a=t.Uint8Array,f=n(s.values),g=n(s.keys),p=n(s.entries),b=o.aTypedArray,h=o.exportTypedArrayMethod,E=a&&a.prototype,P=!r(function(){E[c].call([1])}),A=!!E&&E.values&&E[c]===E.values&&E.values.name==="values",I=function(){return f(b(this))};h("entries",function(){return p(b(this))},P),h("keys",function(){return g(b(this))},P),h("values",I,P||!A,{name:"values"}),h(c,I,P||!A,{name:"values"})},27730:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,o=t.exportTypedArrayMethod,s=r([].join);o("join",function(c){return s(n(this),c)})},58707:function(i,d,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var a=arguments.length;return r(n,o(this),a>1?[c,arguments[1]]:[c])})},41356:function(i,d,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0,function(a,f){return new(n(a))(f)})})},51606:function(i,d,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,o=t.exportTypedArrayStaticMethod;o("of",function(){for(var u=0,c=arguments.length,a=new(n(this))(c);c>u;)a[u]=arguments[u++];return a},r)},38458:function(i,d,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,d,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,d,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,o=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,a=o(c/2),f=0,g;f1?arguments[1]:void 0,1),O=u(I);if(E)return r(p,this,O,C);var T=this.length,D=o(O),k=0;if(D+C>T)throw new a("Wrong length");for(;kh;)P[h]=p[h++];return P},c)},96519:function(i,d,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,d,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),o=e(63335),s=e(63668),u=e(58261),c=e(78177),a=e(17687),f=e(46573),g=e(19684),p=u.aTypedArray,b=u.exportTypedArrayMethod,h=t.Uint16Array,E=h&&r(h.prototype.sort),P=!!E&&!(n(function(){E(new h(2),null)})&&n(function(){E(new h(2),{})})),A=!!E&&!n(function(){if(f)return f<74;if(c)return c<67;if(a)return!0;if(g)return g<602;var C=new h(516),O=Array(516),T,D;for(T=0;T<516;T++)D=T%4,C[T]=515-T,O[T]=T-2*D+3;for(E(C,function(k,$){return(k/4|0)-($/4|0)}),T=0;T<516;T++)if(C[T]!==O[T])return!0}),I=function(C){return function(O,T){return C!==void 0?+C(O,T)||0:T!==T?-1:O!==O?1:O===0&&T===0?1/O>0&&1/T<0?1:-1:O>T}};b("sort",function(O){return O!==void 0&&o(O),A?E(this,O):s(p(this),I(O))},!A||P)},63079:function(i,d,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),o=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(a,f){var g=s(this),p=g.length,b=n(a,p),h=o(g);return new h(g.buffer,g.byteOffset+b*g.BYTES_PER_ELEMENT,r((f===void 0?p:n(f,p))-b))})},8995:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),o=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,a=n.exportTypedArrayMethod,f=[].toLocaleString,g=!!u&&o(function(){f.call(new u(1))}),p=o(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!o(function(){u.prototype.toLocaleString.call([1,2])});a("toLocaleString",function(){return r(f,g?s(c(this)):c(this),s(arguments))},p)},23080:function(i,d,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,o=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;o("toReversed",function(){return t(n(this),s(this))})},74701:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),o=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,a=r(t.TypedArrayPrototype.sort);c("toSorted",function(g){g!==void 0&&n(g);var p=s(this),b=o(u(p),p);return a(b,g)})},91809:function(i,d,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),o=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,a=o([].join);r(function(){c.call({})})&&(c=function(){return a(this)});var f=u.toString!==c;t("toString",c,f)},64336:function(i,d,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(o,s,u){return r(this,o,s,u)}})},63914:function(i,d,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(o,s,u){return r(this,o,s,u)}})},55234:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}})},88104:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}},!0)},77517:function(i,d,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),o=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,a=r.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(g){return g===8}}();a("with",function(g,p){var b=u(this),h=o(g),E=n(b)?s(p):+p;return t(b,c(b),h,E)},!f)},30149:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),a=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var b=n(p),h="",E=b.length,P=0,A,I;P1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,d,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,d,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),o=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:o}),n("groupByToMap")},8604:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),o=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),o("groupBy")},25178:function(i,d,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),o=e(16697);t({target:"Array",proto:!0,forced:o},{groupToMap:n}),r("groupToMap")},39034:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,o=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,a=s.length,f;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,a=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(g,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var b=o(g),h=s(u(p),10,2);return a(this,b,h[1]<<8|h[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,g){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=o(f);return c(this,p,s(g))}})},2278:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),o=e(63335),s=e(56472),u=e(2291),c=e(66477),a=e(64110),f=e(59893),g=e(94844),p=e(5978),b=n("SuppressedError"),h=ReferenceError,E=f("dispose"),P=f("toStringTag"),A="DisposableStack",I=g.set,C=g.getterFor(A),O="sync-dispose",T="disposed",D="pending",k=function(R){var U=C(R);if(U.state===T)throw new h(A+" already disposed");return U},$=function(){I(s(this,L),{type:A,state:D,stack:[]}),r||(this.disposed=!1)},L=$.prototype;c(L,{dispose:function(){var U=C(this);if(U.state!==T){U.state=T,r||(this.disposed=!0);for(var N=U.stack,V=N.length,j=!1,Y;V;){var G=N[--V];N[V]=null;try{G()}catch(J){j?Y=new b(J,Y):(j=!0,Y=J)}}if(U.stack=null,j)throw Y}},use:function(U){return p(k(this),U,O),U},adopt:function(U,N){var V=k(this);return o(N),p(V,void 0,O,function(){N(U)}),U},defer:function(U){var N=k(this);o(U),p(N,void 0,O,U)},move:function(){var U=k(this),N=new $;return C(N).stack=U.stack,U.stack=[],U.state=T,r||(this.disposed=!0),N}}),r&&a(L,"disposed",{configurable:!0,get:function(){return C(this).state===T}}),u(L,E,L.dispose,{name:"dispose"}),u(L,P,A,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:$})},36955:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),o=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,a=/^\s*class\b/,f=r(a.exec),g=function(p){try{if(!u||!f(a,o(p)))return!1}catch(h){}var b=c(p,"prototype");return!!b&&s(b,"writable")&&!b.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(b){return n(b)&&!g(b)}})},53571:function(i,d,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,d,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),o=Function.prototype;o[n]===void 0&&r(o,n,{value:null})},31050:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),o=e(80449),s=e(55327),u=e(53456),c=e(64110),a=e(69392),f=e(3338),g=e(32621),p=e(59893),b=e(46571).IteratorPrototype,h=e(35454),E=e(16697),P="constructor",A="Iterator",I=p("toStringTag"),C=TypeError,O=r[A],T=E||!s(O)||O.prototype!==b||!f(function(){O({})}),D=function(){if(n(this,b),u(this)===b)throw new C("Abstract class Iterator not directly constructable")},k=function($,L){h?c(b,$,{configurable:!0,get:function(){return L},set:function(R){if(o(this),this===b)throw new C("You can't redefine this property");g(this,$)?this[$]=R:a(this,$,R)}}):b[$]=L};g(b,I)||k(I,A),(T||!g(b,P)||b[P]===Object)&&k(P,D),D.prototype=b,t({global:!0,constructor:!0,forced:T},{Iterator:D})},46304:function(i,d,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),o=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");o(u,c)||r(u,c,function(){var a=n(this,"return");a&&t(a,this)})},55163:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(16697),f=c(function(){for(var g=this.iterator,p=this.next,b,h;this.remaining;)if(this.remaining--,b=n(r(p,g)),h=this.done=!!b.done,h)return;if(b=n(r(p,g)),h=this.done=!!b.done,!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:a},{drop:function(p){n(this);var b=u(s(+p));return new f(o(this),{remaining:b})}})},78722:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){o(this),n(c);var a=s(this),f=0;return!r(a,function(g,p){if(!c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(20547),c=e(46319),a=e(16697),f=u(function(){for(var g=this.iterator,p=this.predicate,b=this.next,h,E,P;;){if(h=o(r(b,g)),E=this.done=!!h.done,E)return;if(P=h.value,c(g,p,[P,this.counter++],!0))return P}});t({target:"Iterator",proto:!0,real:!0,forced:a},{filter:function(p){return o(this),n(p),new f(s(this),{predicate:p})}})},81848:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(7157),c=e(20547),a=e(67996),f=e(16697),g=c(function(){for(var p=this.iterator,b=this.mapper,h,E;;){if(E=this.inner)try{if(h=o(r(E.next,E.iterator)),!h.done)return h.value;this.inner=null}catch(P){a(p,"throw",P)}if(h=o(r(this.next,p)),this.done=!!h.done)return;try{this.inner=u(b(h.value,this.counter++),!1)}catch(P){a(p,"throw",P)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(b){return o(this),n(b),new g(s(this),{mapper:b,inner:null})}})},72211:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){o(this),n(c);var a=s(this),f=0;r(a,function(g){c(g,f++)},{IS_RECORD:!0})}})},84862:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),o=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),a=e(16697),f=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:a},{from:function(p){var b=c(typeof p=="string"?n(p):p,!0);return o(s,b.iterator)?b.iterator:new f(b)}})},92381:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,d,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,d,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(a){o(this),n(a);var f=s(this),g=arguments.length<2,p=g?void 0:arguments[1],b=0;if(r(f,function(h){g?(g=!1,p=h):p=a(p,h,b),b++},{IS_RECORD:!0}),g)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(67996),f=e(16697),g=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,a(p,"normal",void 0);var b=n(r(this.next,p)),h=this.done=!!b.done;if(!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(b){n(this);var h=u(s(+b));return new g(o(this),{remaining:h})}})},28566:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),o=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(o(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),o=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new o(s(new n(s(r(this)))))}})},61872:function(i,d,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(65911),s=e(94237),u=e(89945),c=e(55327),a=e(31946),f=e(18589),g=e(32621),p=e(69905),b=e(82762),h=e(69392),E=e(3338),P=e(70913),A=e(42820),I=n.JSON,C=n.Number,O=n.SyntaxError,T=I&&I.parse,D=o("Object","keys"),k=Object.getOwnPropertyDescriptor,$=s("".charAt),L=s("".slice),R=s(/./.exec),U=s([].push),N=/^\d$/,V=/^[1-9]$/,j=/^(?:-|\d)$/,Y=/^[\t\n\r ]$/,G=0,J=1,Q=function(ae,ce){ae=p(ae);var fe=new B(ae,0,""),_e=fe.parse(),He=_e.value,ze=fe.skip(Y,_e.end);if(ze1?arguments[1]:void 0);return o(c,function(f,g){if(!a(f,g,c))return!1},!0)!==!1}})},28220:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){p(h,E,g)&&c(b,E,h)}),b}})},49350:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{key:p}},!0);return f&&f.key}})},62060:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{value:g}},!0);return f&&f.value}})},20126:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,d,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return o(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),o=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(a,f){var g=o(this)?this:u,p=new g;s(f);var b=s(p.set);return n(a,function(h){r(b,p,f(h),h)}),p}})},17822:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,a){if(c===s)return{key:a}},!0);return u&&u.key}})},83543:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,p(h,E,g),h)}),b}})},13853:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,E,p(h,E,g))}),b}})},25188:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),o=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),a=arguments.length,f=0;f1?arguments[1]:void 0);return o(c,function(f,g){if(a(f,g,c))return!0},!0)===!0}})},8774:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),o=e(2786),s=TypeError,u=o.get,c=o.has,a=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,p){var b=n(this),h=arguments.length;r(p);var E=c(b,g);if(!E&&h<3)throw new s("Updating absent value");var P=E?u(b,g):r(h>2?arguments[2]:void 0)(g,b);return a(b,g,p(P,g,b)),b}})},94065:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,d,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,d,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(o){return o*r}})},43710:function(i,d,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,d,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,a,f){return n(r(s,u,c,a,f))}})},92762:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a+(u>>>0)+((c&f|(c|f)&~(c+f>>>0))>>>31)|0}})},24467:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>16,p=c>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>16)+((a*p>>>0)+(b&s)>>16)}})},68465:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a-(u>>>0)-((~c&f|~(c^f)&c-f>>>0)>>>31)|0}})},77004:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,d,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(o){return o*r}})},51117:function(i,d,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),o=e(83126),s=e(25587),u=e(94844),c="Seeded Random",a=c+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=u.set,p=u.getterFor(a),b=TypeError,h=o(function(P){g(this,{type:a,seed:P%2147483647})},c,function(){var P=p(this),A=P.seed=(P.seed*1103515245+12345)%2147483647;return s((A&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(P){var A=r(P).seed;if(!n(A))throw new b(f);return new h(A)}})},83733:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var o=+n;return o===o&&o===0?1/o===-1/0:o<0}})},92044:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>>16,p=c>>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>>16)+((a*p>>>0)+(b&s)>>>16)}})},29190:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,a=TypeError,f=parseInt,g=Math.pow,p=/^[\d.a-z]+$/,b=r("".charAt),h=r(p.exec),E=r(1 .toString),P=r("".slice),A=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(C,O){var T=1;if(typeof C!="string")throw new a(o);if(!C.length)throw new c(o);if(b(C,0)==="-"&&(T=-1,C=P(C,1),!C.length))throw new c(o);var D=O===void 0?10:n(O);if(D<2||D>36)throw new u(s);if(!h(p,C))throw new c(o);var k=A(C,"."),$=f(k[0],D);if(k.length>1&&($+=f(k[1],D)/g(D,k[1].length)),D===10&&E($,D)!==C)throw new c(o);return T*$}})},10775:function(i,d,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(o,s,u){return new r(o,s,u,"number",0,1)}})},19593:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(o){return new r(o,"entries")}})},26502:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(o){return new r(o,"keys")}})},10174:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(o){return new r(o,"values")}})},76867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),o=e(51996),s=e(63335),u=e(80449),c=e(56472),a=e(55327),f=e(4112),g=e(31946),p=e(53776),b=e(2291),h=e(66477),E=e(64110),P=e(61810),A=e(59893),I=e(94844),C=A("observable"),O="Observable",T="Subscription",D="SubscriptionObserver",k=I.getterFor,$=I.set,L=k(O),R=k(T),U=k(D),N=function(J){this.observer=u(J),this.cleanup=void 0,this.subscriptionObserver=void 0};N.prototype={type:T,clean:function(){var J=this.cleanup;if(J){this.cleanup=void 0;try{J()}catch(Q){P(Q)}}},close:function(){if(!n){var J=this.facade,Q=this.subscriptionObserver;J.closed=!0,Q&&(Q.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var V=function(J,Q){var Z=$(this,new N(J)),K;n||(this.closed=!1);try{(K=p(J,"start"))&&r(K,J,this)}catch(ee){P(ee)}if(!Z.isClosed()){var M=Z.subscriptionObserver=new j(Z);try{var B=Q(M),H=B;f(B)||(Z.cleanup=a(B.unsubscribe)?function(){H.unsubscribe()}:s(B))}catch(ee){M.error(ee);return}Z.isClosed()&&Z.clean()}};V.prototype=h({},{unsubscribe:function(){var Q=R(this);Q.isClosed()||(Q.close(),Q.clean())}}),n&&E(V.prototype,"closed",{configurable:!0,get:function(){return R(this).isClosed()}});var j=function(J){$(this,{type:D,subscriptionState:J}),n||(this.closed=!1)};j.prototype=h({},{next:function(Q){var Z=U(this).subscriptionState;if(!Z.isClosed()){var K=Z.observer;try{var M=p(K,"next");M&&r(M,K,Q)}catch(B){P(B)}}},error:function(Q){var Z=U(this).subscriptionState;if(!Z.isClosed()){var K=Z.observer;Z.close();try{var M=p(K,"error");M?r(M,K,Q):P(Q)}catch(B){P(B)}Z.clean()}},complete:function(){var Q=U(this).subscriptionState;if(!Q.isClosed()){var Z=Q.observer;Q.close();try{var K=p(Z,"complete");K&&r(K,Z)}catch(M){P(M)}Q.clean()}}}),n&&E(j.prototype,"closed",{configurable:!0,get:function(){return U(this).subscriptionState.isClosed()}});var Y=function(Q){c(this,G),$(this,{type:O,subscriber:s(Q)})},G=Y.prototype;h(G,{subscribe:function(Q){var Z=arguments.length;return new V(a(Q)?{next:Q,error:Z>1?arguments[1]:void 0,complete:Z>2?arguments[2]:void 0}:g(Q)?Q:{},L(this).subscriber)}}),b(G,C,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:Y}),o(O)},14548:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),o=e(80449),s=e(39812),u=e(85428),c=e(53776),a=e(62003),f=e(59893),g=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(b){var h=s(this)?this:r("Observable"),E=c(o(b),g);if(E){var P=o(n(E,b));return P.constructor===h?P:new h(function(I){return P.subscribe(I)})}var A=u(b);return new h(function(I){a(A,function(C,O){if(I.next(C),I.closed)return O()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,d,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),o=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,a=o(c),f=0;f?@[\\\\\\]^`{|}~"+o+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var g=n(f),p=s(g,0);return(p>47&&p<58?"\\x3":"")+u(g,c,"\\$&")}})},1220:function(i,d,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return o(c,function(f){if(!a(f,f,c))return!1},!0)!==!1}})},38487:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){p(h,h,g)&&c(b,h)}),b}})},29916:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g){if(a(g,g,c))return{value:g}},!0);return f&&f.value}})},25541:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(o,this,n(u))}})},45612:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),o=e(22627),s=!o("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(o,this,n(u))}})},98080:function(i,d,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(o,this,n(u))}})},96351:function(i,d,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(o,this,n(u))}})},60244:function(i,d,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),o=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var g=n(this),p=f===void 0?",":s(f),b=[];return o(g,function(h){c(b,h)}),u(b,p)}})},42947:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){c(b,p(h,h,g))}),b}})},71568:function(i,d,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),o=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var a=n(this),f=arguments.length<2,g=f?void 0:arguments[1];if(r(c),o(a,function(p){f?(f=!1,g=p):g=c(g,p,p,a)}),f)throw new s("Reduce of empty set with no initial value");return g}})},30556:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0);return o(c,function(f){if(a(f,f,c))return!0},!0)===!0}})},93102:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(o,this,n(u))}})},32100:function(i,d,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(o,this,n(u))}})},1821:function(i,d,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,d,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),o=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var a=s(n(this)),f=a.length,g=o(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:r(a,p)}})},62882:function(i,d,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),o=e(95955),s=e(69905),u=e(94844),c=e(13764),a=c.codeAt,f=c.charAt,g="String Iterator",p=u.set,b=u.getterFor(g),h=r(function(P){p(this,{type:g,string:P,index:0})},"String",function(){var P=b(this),A=P.string,I=P.index,C;return I>=A.length?n(void 0,!0):(C=f(A,I),P.index+=C.length,n({codePoint:a(C,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new h(s(o(this)))}})},59348:function(i,d,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,d,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),o=e(94237),s=e(13743),u=e(80449),c=e(94029),a=e(55327),f=e(82762),g=e(37691).f,p=e(71698),b=e(42530),h=e(67410),E=e(79204),P=e(19268),A=new b.WeakMap,I=b.get,C=b.has,O=b.set,T=Array,D=TypeError,k=Object.freeze||Object,$=Object.isFrozen,L=Math.min,R=o("".charAt),U=o("".slice),N=o("".split),V=o(/./.exec),j=/([\n\u2028\u2029]|\r\n?)/g,Y=RegExp("^["+P+"]*"),G=RegExp("[^"+P+"]"),J="Invalid tag",Q="Invalid opening line",Z="Invalid closing line",K=function(ce){var fe=ce.raw;if(t&&!$(fe))throw new D("Raw template should be frozen");if(C(A,fe))return I(A,fe);var _e=M(fe),He=H(_e);return g(He,"raw",{value:k(_e)}),k(He),O(A,fe,He),He},M=function(ce){var fe=c(ce),_e=f(fe),He=T(_e),ze=T(_e),nt=0,it,xt,Et,me;if(!_e)throw new D(J);for(;nt<_e;nt++){var Be=fe[nt];if(typeof Be=="string")He[nt]=N(Be,j);else throw new D(J)}for(nt=0;nt<_e;nt++){var Je=nt+1===_e;if(it=He[nt],nt===0){if(it.length===1||it[0].length>0)throw new D(Q);it[1]=""}if(Je){if(it.length===1||V(G,it[it.length-1]))throw new D(Z);it[it.length-2]="",it[it.length-1]=""}for(var et=2;et1?arguments[1]:void 0);return n(this,a)},!0)},16315:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)},!0)},56966:function(i,d,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),o=e(58261),s=e(69478),u=o.aTypedArrayConstructor,c=o.exportTypedArrayStaticMethod;c("fromAsync",function(f){var g=this,p=arguments.length,b=p>1?arguments[1]:void 0,h=p>2?arguments[2]:void 0;return new(t("Promise"))(function(E){r(g),E(n(f,b,h))}).then(function(E){return s(u(g),E)})},!0)},60239:function(i,d,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var a=arguments.length>1?arguments[1]:void 0;return r(o(this),c,a,n)},!0)},49381:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),o=e(51981),s=e(93303),u=e(56902),c=e(3338),a=t.aTypedArray,f=t.getTypedArrayConstructor,g=t.exportTypedArrayMethod,p=Math.max,b=Math.min,h=!c(function(){var E=new Int8Array([1]),P=E.toSpliced(1,0,{valueOf:function(){return E[0]=2,3}});return P[0]!==2||P[1]!==3});g("toSpliced",function(P,A){var I=a(this),C=f(I),O=r(I),T=o(P,O),D=arguments.length,k=0,$,L,R,U,N,V,j;if(D===0)$=L=0;else if(D===1)$=0,L=O-T;else if(L=b(p(u(A),0),O-T),$=D-2,$){U=new C($),R=n(U);for(var Y=2;Y1?o(arguments[1]):void 0,$=f(k)==="base64"?g:p,L=k?!!k.strict:!1,R=L?D:P(D,C,"");if(R.length%4===0)A(R,-2)==="=="?R=A(R,0,-2):A(R,-1)==="="&&(R=A(R,0,-1));else if(L)throw new h("Input is not correctly padded");var U=R.length%4;switch(U){case 1:throw new h("Bad input length");case 2:R+="AA";break;case 3:R+="A"}for(var N=[],V=0,j=R.length,Y=function(Q){var Z=E(R,V+Q);if(!u($,Z))throw new h('Bad char in input: "'+Z+'"');return $[Z]<<18-6*Q};V>16&255,G>>8&255,G&255)}var J=N.length;if(U===2){if(L&&N[J-2]!==0)throw new h(O);J-=2}else if(U===3){if(L&&N[J-1]!==0)throw new h(O);J--}return c(b,N,J)}})},57151:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),o=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,a=/[^\da-f]/i,f=n(a.exec),g=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(b){o(b);var h=b.length;if(h%2)throw new u("String should have an even number of characters");if(f(a,b))throw new u("String should only contain hex characters");for(var E=new s(h/2),P=0;P>6*D&63)};I+2>(-2*j&6)));return N}})},55182:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(94237),s=e(89945),u=e(3338),c=e(69905),a=e(57106),f=e(66244).i2c,g=n("btoa"),p=o("".charAt),b=o("".charCodeAt),h=!!g&&!u(function(){return g("hi")!=="aGk="}),E=h&&!u(function(){g()}),P=h&&u(function(){return g(null)!=="bnVsbA=="}),A=h&&g.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!h||E||P||A},{btoa:function(C){if(a(arguments.length,1),h)return s(g,r,c(C));for(var O=c(C),T="",D=0,k=f,$,L;p(O,D)||(k="=",D%1);){if(L=b(O,D+=.75),L>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");$=$<<8|L,T+=p(k,63&$>>8-D%1*8)}return T}})},91472:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(59594),s=e(68151),u=function(a){if(a&&a.forEach!==o)try{s(a,"forEach",o)}catch(f){a.forEach=o}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(11005),s=e(68151),u=e(94573),c=e(59893),a=c("iterator"),f=o.values,g=function(b,h){if(b){if(b[a]!==f)try{s(b,a,f)}catch(P){b[a]=f}if(u(b,h,!0),r[h]){for(var E in o)if(b[E]!==o[E])try{s(b,E,o[E])}catch(P){b[E]=o[E]}}}};for(var p in r)g(t[p]&&t[p].prototype,p);g(n,"DOMTokenList")},64522:function(i,d,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),o=e(3338),s=e(20132),u=e(35012),c=e(37691).f,a=e(2291),f=e(64110),g=e(32621),p=e(56472),b=e(80449),h=e(13367),E=e(7825),P=e(52109),A=e(80739),I=e(94844),C=e(35454),O=e(16697),T="DOMException",D="DATA_CLONE_ERR",k=n("Error"),$=n(T)||function(){try{var ze=n("MessageChannel")||r("worker_threads").MessageChannel;new ze().port1.postMessage(new WeakMap)}catch(nt){if(nt.name===D&&nt.code===25)return nt.constructor}}(),L=$&&$.prototype,R=k.prototype,U=I.set,N=I.getterFor(T),V="stack"in new k(T),j=function(ze){return g(P,ze)&&P[ze].m?P[ze].c:0},Y=function(){p(this,G);var nt=arguments.length,it=E(nt<1?void 0:arguments[0]),xt=E(nt<2?void 0:arguments[1],"Error"),Et=j(xt);if(U(this,{type:T,name:xt,message:it,code:Et}),C||(this.name=xt,this.message=it,this.code=Et),V){var me=new k(it);me.name=T,c(this,"stack",u(1,A(me.stack,1)))}},G=Y.prototype=s(R),J=function(ze){return{enumerable:!0,configurable:!0,get:ze}},Q=function(ze){return J(function(){return N(this)[ze]})};C&&(f(G,"code",Q("code")),f(G,"message",Q("message")),f(G,"name",Q("name"))),c(G,"constructor",u(1,Y));var Z=o(function(){return!(new $ instanceof k)}),K=Z||o(function(){return R.toString!==h||String(new $(1,2))!=="2: 1"}),M=Z||o(function(){return new $(1,"DataCloneError").code!==25}),B=Z||$[D]!==25||L[D]!==25,H=O?K||M||B:Z;t({global:!0,constructor:!0,forced:H},{DOMException:H?Y:$});var ee=n(T),ae=ee.prototype;K&&(O||$===ee)&&a(ae,"toString",h),M&&C&&$===ee&&f(ae,"code",J(function(){return j(b(this).name)}));for(var ce in P)if(g(P,ce)){var fe=P[ce],_e=fe.s,He=u(6,fe.c);g(ee,_e)||c(ee,_e,He),g(ae,_e)||c(ae,_e,He)}},41599:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(35012),s=e(37691).f,u=e(32621),c=e(56472),a=e(25576),f=e(7825),g=e(52109),p=e(80739),b=e(35454),h=e(16697),E="DOMException",P=n("Error"),A=n(E),I=function(){c(this,C);var Y=arguments.length,G=f(Y<1?void 0:arguments[0]),J=f(Y<2?void 0:arguments[1],"Error"),Q=new A(G,J),Z=new P(G);return Z.name=E,s(Q,"stack",o(1,p(Z.stack,1))),a(Q,this,I),Q},C=I.prototype=A.prototype,O="stack"in new P(E),T="stack"in new A(1,2),D=A&&b&&Object.getOwnPropertyDescriptor(r,E),k=!!D&&!(D.writable&&D.configurable),$=O&&!k&&!T;t({global:!0,constructor:!0,forced:h||$},{DOMException:$?I:A});var L=n(E),R=L.prototype;if(R.constructor!==L){h||s(R,"constructor",o(1,L));for(var U in g)if(u(g,U)){var N=g[U],V=N.s;u(L,V)||s(L,V,o(6,N.c))}}},86465:function(i,d,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,d,e){"use strict";e(91472),e(91700)},73624:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),o=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(f){s(arguments.length,1),o(f);var g=u&&c.domain;n(g?g.bind(f):f)}})},62059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),o=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(o){var a=Object.getOwnPropertyDescriptor(r,"self");(c||!a||!a.get||!a.enumerable)&&n(r,"self",{get:function(){return r},set:function(g){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:g,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(f){}},91700:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,o=e(93222),s=r.setImmediate?o(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==o},{setInterval:o})},91572:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==o},{setTimeout:o})},10305:function(i,d,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),o=e(65911),s=e(94237),u=e(3338),c=e(6145),a=e(55327),f=e(39812),g=e(4112),p=e(31946),b=e(18446),h=e(62003),E=e(80449),P=e(97607),A=e(32621),I=e(69392),C=e(68151),O=e(82762),T=e(57106),D=e(81644),k=e(2786),$=e(19691),L=e(57002),R=e(39311),U=e(25406),N=e(80426),V=n.Object,j=n.Array,Y=n.Date,G=n.Error,J=n.TypeError,Q=n.PerformanceMark,Z=o("DOMException"),K=k.Map,M=k.has,B=k.get,H=k.set,ee=$.Set,ae=$.add,ce=$.has,fe=o("Object","keys"),_e=s([].push),He=s((!0).valueOf),ze=s(1 .valueOf),nt=s("".valueOf),it=s(Y.prototype.getTime),xt=c("structuredClone"),Et="DataCloneError",me="Transferring",Be=function(he){return!u(function(){var Ae=new n.Set([7]),Pt=he(Ae),ct=he(V(7));return Pt===Ae||!Pt.has(7)||!p(ct)||+ct!=7})&&he},Je=function(he,Ae){return!u(function(){var Pt=new Ae,ct=he({a:Pt,b:Pt});return!(ct&&ct.a===ct.b&&ct.a instanceof Ae&&ct.a.stack===Pt.stack)})},et=function(he){return!u(function(){var Ae=he(new n.AggregateError([1],xt,{cause:3}));return Ae.name!=="AggregateError"||Ae.errors[0]!==1||Ae.message!==xt||Ae.cause!==3})},kt=n.structuredClone,St=t||!Je(kt,G)||!Je(kt,Z)||!et(kt),je=!kt&&Be(function(he){return new Q(xt,{detail:he}).detail}),xe=Be(kt)||je,Pe=function(he){throw new Z("Uncloneable type: "+he,Et)},Re=function(he,Ae){throw new Z((Ae||"Cloning")+" of "+he+" cannot be properly polyfilled in this engine",Et)},De=function(he,Ae){return xe||Re(Ae),xe(he)},Ve=function(){var he;try{he=new n.DataTransfer}catch(Ae){try{he=new n.ClipboardEvent("").clipboardData}catch(Pt){}}return he&&he.items&&he.files?he:null},Ne=function(he,Ae,Pt){if(M(Ae,he))return B(Ae,he);var ct=Pt||P(he),lt,st,Xe,ht,ge,_t;if(ct==="SharedArrayBuffer")xe?lt=xe(he):lt=he;else{var rt=n.DataView;!rt&&!a(he.slice)&&Re("ArrayBuffer");try{if(a(he.slice)&&!he.resizable)lt=he.slice(0);else for(st=he.byteLength,Xe=("maxByteLength"in he)?{maxByteLength:he.maxByteLength}:void 0,lt=new ArrayBuffer(st,Xe),ht=new rt(he),ge=new rt(lt),_t=0;_t1&&!g(arguments[1])?E(arguments[1]):void 0,ct=Pt?Pt.transfer:void 0,lt,st;ct!==void 0&&(lt=new K,st=Ft(ct,lt));var Xe=qe(Ae,lt);return st&&Ht(st),Xe}})},41208:function(i,d,e){"use strict";e(88469),e(91572)},91340:function(i,d,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(35454),u=e(3299),c=e(2291),a=e(64110),f=e(66477),g=e(94573),p=e(83126),b=e(94844),h=e(56472),E=e(55327),P=e(32621),A=e(80666),I=e(97607),C=e(80449),O=e(31946),T=e(69905),D=e(20132),k=e(35012),$=e(85428),L=e(26006),R=e(25587),U=e(57106),N=e(59893),V=e(63668),j=N("iterator"),Y="URLSearchParams",G=Y+"Iterator",J=b.set,Q=b.getterFor(Y),Z=b.getterFor(G),K=Object.getOwnPropertyDescriptor,M=function(lt){if(!s)return r[lt];var st=K(r,lt);return st&&st.value},B=M("fetch"),H=M("Request"),ee=M("Headers"),ae=H&&H.prototype,ce=ee&&ee.prototype,fe=r.RegExp,_e=r.TypeError,He=r.decodeURIComponent,ze=r.encodeURIComponent,nt=o("".charAt),it=o([].join),xt=o([].push),Et=o("".replace),me=o([].shift),Be=o([].splice),Je=o("".split),et=o("".slice),kt=/\+/g,St=Array(4),je=function(lt){return St[lt-1]||(St[lt-1]=fe("((?:%[\\da-f]{2}){"+lt+"})","gi"))},xe=function(lt){try{return He(lt)}catch(st){return lt}},Pe=function(lt){var st=Et(lt,kt," "),Xe=4;try{return He(st)}catch(ht){for(;Xe;)st=Et(st,je(Xe--),xe);return st}},Re=/[!'()~]|%20/g,De={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ve=function(lt){return De[lt]},Ne=function(lt){return Et(ze(lt),Re,Ve)},tt=p(function(st,Xe){J(this,{type:G,target:Q(st).entries,index:0,kind:Xe})},Y,function(){var st=Z(this),Xe=st.target,ht=st.index++;if(!Xe||ht>=Xe.length)return st.target=void 0,R(void 0,!0);var ge=Xe[ht];switch(st.kind){case"keys":return R(ge.key,!1);case"values":return R(ge.value,!1)}return R([ge.key,ge.value],!1)},!0),qe=function(lt){this.entries=[],this.url=null,lt!==void 0&&(O(lt)?this.parseObject(lt):this.parseQuery(typeof lt=="string"?nt(lt,0)==="?"?et(lt,1):lt:T(lt)))};qe.prototype={type:Y,bindURL:function(lt){this.url=lt,this.update()},parseObject:function(lt){var st=this.entries,Xe=L(lt),ht,ge,_t,rt,Ct,Mt,vr;if(Xe)for(ht=$(lt,Xe),ge=ht.next;!(_t=n(ge,ht)).done;){if(rt=$(C(_t.value)),Ct=rt.next,(Mt=n(Ct,rt)).done||(vr=n(Ct,rt)).done||!n(Ct,rt).done)throw new _e("Expected sequence with length 2");xt(st,{key:T(Mt.value),value:T(vr.value)})}else for(var at in lt)P(lt,at)&&xt(st,{key:at,value:T(lt[at])})},parseQuery:function(lt){if(lt)for(var st=this.entries,Xe=Je(lt,"&"),ht=0,ge,_t;ht0?arguments[0]:void 0,Xe=J(this,new qe(st));s||(this.size=Xe.entries.length)},Ht=Ft.prototype;if(f(Ht,{append:function(st,Xe){var ht=Q(this);U(arguments.length,2),xt(ht.entries,{key:T(st),value:T(Xe)}),s||this.length++,ht.updateURL()},delete:function(lt){for(var st=Q(this),Xe=U(arguments.length,1),ht=st.entries,ge=T(lt),_t=Xe<2?void 0:arguments[1],rt=_t===void 0?_t:T(_t),Ct=0;Ctht.key?1:-1}),st.updateURL()},forEach:function(st){for(var Xe=Q(this).entries,ht=A(st,arguments.length>1?arguments[1]:void 0),ge=0,_t;ge1?Pt(arguments[1]):{})}}),E(H)){var ct=function(st){return h(this,ae),new H(st,arguments.length>1?Pt(arguments[1]):{})};ae.constructor=ct,ct.prototype=ae,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ct})}}i.exports={URLSearchParams:Ft,getState:Q}},4890:function(i,d,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),o=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),a=r(u.delete),f=r(u.forEach),g=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(b){var h=arguments.length,E=h<2?void 0:arguments[1];if(h&&E===void 0)return a(this,b);var P=[];f(this,function($,L){g(P,{key:L,value:$})}),o(h,1);for(var A=n(b),I=n(E),C=0,O=0,T=!1,D=P.length,k;C?@[\\\]^|]/,kt=/[\0\t\n\r #/:<>?@[\\\]^|]/,St=/^[\u0000-\u0020]+/,je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,xe=/[\t\n\r]/g,Pe,Re=function(gt){var Ze=H(gt,"."),Ue,Me,Ke,Gt,Bt,we,nr;if(Ze.length&&Ze[Ze.length-1]===""&&Ze.length--,Ue=Ze.length,Ue>4)return gt;for(Me=[],Ke=0;Ke1&&Y(Gt,0)==="0"&&(Bt=G(Et,Gt)?16:8,Gt=ee(Gt,Bt===8?1:2)),Gt==="")we=0;else{if(!G(Bt===10?Be:Bt===8?me:Je,Gt))return gt;we=N(Gt,Bt)}K(Me,we)}for(Ke=0;Ke=j(256,5-Ue))return null}else if(we>255)return null;for(nr=Z(Me),Ke=0;Ke6))return;for(we=0;un();){if(nr=null,we>0)if(un()==="."&&we<4)Ke++;else return;if(!G(xt,un()))return;for(;G(xt,un());){if(Mr=N(un(),10),nr===null)nr=Mr;else{if(nr===0)return;nr=nr*10+Mr}if(nr>255)return;Ke++}Ze[Ue]=Ze[Ue]*256+nr,we++,(we===2||we===4)&&Ue++}if(we!==4)return;break}else if(un()===":"){if(Ke++,!un())return}else if(un())return;Ze[Ue++]=Gt}if(Me!==null)for(_n=Ue-Me,Ue=7;Ue!==0&&_n>0;)ar=Ze[Ue],Ze[Ue--]=Ze[Me+_n-1],Ze[Me+--_n]=ar;else if(Ue!==8)return;return Ze},Ve=function(gt){for(var Ze=null,Ue=1,Me=null,Ke=0,Gt=0;Gt<8;Gt++)gt[Gt]!==0?(Ke>Ue&&(Ze=Me,Ue=Ke),Me=null,Ke=0):(Me===null&&(Me=Gt),++Ke);return Ke>Ue&&(Ze=Me,Ue=Ke),Ze},Ne=function(gt){var Ze,Ue,Me,Ke;if(typeof gt=="number"){for(Ze=[],Ue=0;Ue<4;Ue++)ce(Ze,gt%256),gt=V(gt/256);return J(Ze,".")}else if(typeof gt=="object"){for(Ze="",Me=Ve(gt),Ue=0;Ue<8;Ue++)Ke&>[Ue]===0||(Ke&&(Ke=!1),Me===Ue?(Ze+=Ue?":":"::",Ke=!0):(Ze+=Q(gt[Ue],16),Ue<7&&(Ze+=":")));return"["+Ze+"]"}return gt},tt={},qe=p({},tt,{" ":1,'"':1,"<":1,">":1,"`":1}),Ft=p({},qe,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Ft,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),he=function(gt,Ze){var Ue=E(gt,0);return Ue>32&&Ue<127&&!g(Ze,gt)?gt:encodeURIComponent(gt)},Ae={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Pt=function(gt,Ze){var Ue;return gt.length===2&&G(nt,Y(gt,0))&&((Ue=Y(gt,1))===":"||!Ze&&Ue==="|")},ct=function(gt){var Ze;return gt.length>1&&Pt(ee(gt,0,2))&&(gt.length===2||(Ze=Y(gt,2))==="/"||Ze==="\\"||Ze==="?"||Ze==="#")},lt=function(gt){return gt==="."||ae(gt)==="%2e"},st=function(gt){return gt=ae(gt),gt===".."||gt==="%2e."||gt===".%2e"||gt==="%2e%2e"},Xe={},ht={},ge={},_t={},rt={},Ct={},Mt={},vr={},at={},ir={},Ie={},Rt={},Te={},lr={},mr={},hr={},_r={},Nr={},Wr={},Qr={},Jr={},ur=function(gt,Ze,Ue){var Me=A(gt),Ke,Gt,Bt;if(Ze){if(Gt=this.parse(Me),Gt)throw new U(Gt);this.searchParams=null}else{if(Ue!==void 0&&(Ke=new ur(Ue,!0)),Gt=this.parse(Me,null,Ke),Gt)throw new U(Gt);Bt=L(new $),Bt.bindURL(this),this.searchParams=Bt}};ur.prototype={type:"URL",parse:function(gt,Ze,Ue){var Me=this,Ke=Ze||Xe,Gt=0,Bt="",we=!1,nr=!1,Mr=!1,_n,ar,un,nn;for(gt=A(gt),Ze||(Me.scheme="",Me.username="",Me.password="",Me.host=null,Me.port=null,Me.path=[],Me.query=null,Me.fragment=null,Me.cannotBeABaseURL=!1,gt=M(gt,St,""),gt=M(gt,je,"$1")),gt=M(gt,xe,""),_n=b(gt);Gt<=_n.length;){switch(ar=_n[Gt],Ke){case Xe:if(ar&&G(nt,ar))Bt+=ae(ar),Ke=ht;else{if(Ze)return _e;Ke=ge;continue}break;case ht:if(ar&&(G(it,ar)||ar==="+"||ar==="-"||ar==="."))Bt+=ae(ar);else if(ar===":"){if(Ze&&(Me.isSpecial()!==g(Ae,Bt)||Bt==="file"&&(Me.includesCredentials()||Me.port!==null)||Me.scheme==="file"&&!Me.host))return;if(Me.scheme=Bt,Ze){Me.isSpecial()&&Ae[Me.scheme]===Me.port&&(Me.port=null);return}Bt="",Me.scheme==="file"?Ke=lr:Me.isSpecial()&&Ue&&Ue.scheme===Me.scheme?Ke=_t:Me.isSpecial()?Ke=vr:_n[Gt+1]==="/"?(Ke=rt,Gt++):(Me.cannotBeABaseURL=!0,K(Me.path,""),Ke=Wr)}else{if(Ze)return _e;Bt="",Ke=ge,Gt=0;continue}break;case ge:if(!Ue||Ue.cannotBeABaseURL&&ar!=="#")return _e;if(Ue.cannotBeABaseURL&&ar==="#"){Me.scheme=Ue.scheme,Me.path=h(Ue.path),Me.query=Ue.query,Me.fragment="",Me.cannotBeABaseURL=!0,Ke=Jr;break}Ke=Ue.scheme==="file"?lr:Ct;continue;case _t:if(ar==="/"&&_n[Gt+1]==="/")Ke=at,Gt++;else{Ke=Ct;continue}break;case rt:if(ar==="/"){Ke=ir;break}else{Ke=Nr;continue}case Ct:if(Me.scheme=Ue.scheme,ar===Pe)Me.username=Ue.username,Me.password=Ue.password,Me.host=Ue.host,Me.port=Ue.port,Me.path=h(Ue.path),Me.query=Ue.query;else if(ar==="/"||ar==="\\"&&Me.isSpecial())Ke=Mt;else if(ar==="?")Me.username=Ue.username,Me.password=Ue.password,Me.host=Ue.host,Me.port=Ue.port,Me.path=h(Ue.path),Me.query="",Ke=Qr;else if(ar==="#")Me.username=Ue.username,Me.password=Ue.password,Me.host=Ue.host,Me.port=Ue.port,Me.path=h(Ue.path),Me.query=Ue.query,Me.fragment="",Ke=Jr;else{Me.username=Ue.username,Me.password=Ue.password,Me.host=Ue.host,Me.port=Ue.port,Me.path=h(Ue.path),Me.path.length--,Ke=Nr;continue}break;case Mt:if(Me.isSpecial()&&(ar==="/"||ar==="\\"))Ke=at;else if(ar==="/")Ke=ir;else{Me.username=Ue.username,Me.password=Ue.password,Me.host=Ue.host,Me.port=Ue.port,Ke=Nr;continue}break;case vr:if(Ke=at,ar!=="/"||Y(Bt,Gt+1)!=="/")continue;Gt++;break;case at:if(ar!=="/"&&ar!=="\\"){Ke=ir;continue}break;case ir:if(ar==="@"){we&&(Bt="%40"+Bt),we=!0,un=b(Bt);for(var dn=0;dn65535)return ze;Me.port=Me.isSpecial()&&ea===Ae[Me.scheme]?null:ea,Bt=""}if(Ze)return;Ke=_r;continue}else return ze;break;case lr:if(Me.scheme="file",ar==="/"||ar==="\\")Ke=mr;else if(Ue&&Ue.scheme==="file")switch(ar){case Pe:Me.host=Ue.host,Me.path=h(Ue.path),Me.query=Ue.query;break;case"?":Me.host=Ue.host,Me.path=h(Ue.path),Me.query="",Ke=Qr;break;case"#":Me.host=Ue.host,Me.path=h(Ue.path),Me.query=Ue.query,Me.fragment="",Ke=Jr;break;default:ct(J(h(_n,Gt),""))||(Me.host=Ue.host,Me.path=h(Ue.path),Me.shortenPath()),Ke=Nr;continue}else{Ke=Nr;continue}break;case mr:if(ar==="/"||ar==="\\"){Ke=hr;break}Ue&&Ue.scheme==="file"&&!ct(J(h(_n,Gt),""))&&(Pt(Ue.path[0],!0)?K(Me.path,Ue.path[0]):Me.host=Ue.host),Ke=Nr;continue;case hr:if(ar===Pe||ar==="/"||ar==="\\"||ar==="?"||ar==="#"){if(!Ze&&Pt(Bt))Ke=Nr;else if(Bt===""){if(Me.host="",Ze)return;Ke=_r}else{if(nn=Me.parseHost(Bt),nn)return nn;if(Me.host==="localhost"&&(Me.host=""),Ze)return;Bt="",Ke=_r}continue}else Bt+=ar;break;case _r:if(Me.isSpecial()){if(Ke=Nr,ar!=="/"&&ar!=="\\")continue}else if(!Ze&&ar==="?")Me.query="",Ke=Qr;else if(!Ze&&ar==="#")Me.fragment="",Ke=Jr;else if(ar!==Pe&&(Ke=Nr,ar!=="/"))continue;break;case Nr:if(ar===Pe||ar==="/"||ar==="\\"&&Me.isSpecial()||!Ze&&(ar==="?"||ar==="#")){if(st(Bt)?(Me.shortenPath(),ar!=="/"&&!(ar==="\\"&&Me.isSpecial())&&K(Me.path,"")):lt(Bt)?ar!=="/"&&!(ar==="\\"&&Me.isSpecial())&&K(Me.path,""):(Me.scheme==="file"&&!Me.path.length&&Pt(Bt)&&(Me.host&&(Me.host=""),Bt=Y(Bt,0)+":"),K(Me.path,Bt)),Bt="",Me.scheme==="file"&&(ar===Pe||ar==="?"||ar==="#"))for(;Me.path.length>1&&Me.path[0]==="";)B(Me.path);ar==="?"?(Me.query="",Ke=Qr):ar==="#"&&(Me.fragment="",Ke=Jr)}else Bt+=he(ar,Ft);break;case Wr:ar==="?"?(Me.query="",Ke=Qr):ar==="#"?(Me.fragment="",Ke=Jr):ar!==Pe&&(Me.path[0]+=he(ar,tt));break;case Qr:!Ze&&ar==="#"?(Me.fragment="",Ke=Jr):ar!==Pe&&(ar==="'"&&Me.isSpecial()?Me.query+="%27":ar==="#"?Me.query+="%23":Me.query+=he(ar,tt));break;case Jr:ar!==Pe&&(Me.fragment+=he(ar,qe));break}Gt++}},parseHost:function(gt){var Ze,Ue,Me;if(Y(gt,0)==="["){if(Y(gt,gt.length-1)!=="]"||(Ze=De(ee(gt,1,-1)),!Ze))return He;this.host=Ze}else if(this.isSpecial()){if(gt=P(gt),G(et,gt)||(Ze=Re(gt),Ze===null))return He;this.host=Ze}else{if(G(kt,gt))return He;for(Ze="",Ue=b(gt),Me=0;Me1?arguments[1]:void 0,Ke=D(Ue,new ur(Ze,!1,Me));r||(Ue.href=Ke.serialize(),Ue.origin=Ke.getOrigin(),Ue.protocol=Ke.getProtocol(),Ue.username=Ke.getUsername(),Ue.password=Ke.getPassword(),Ue.host=Ke.getHost(),Ue.hostname=Ke.getHostname(),Ue.port=Ke.getPort(),Ue.pathname=Ke.getPathname(),Ue.search=Ke.getSearch(),Ue.searchParams=Ke.getSearchParams(),Ue.hash=Ke.getHash())},Vt=tr.prototype,Cr=function(gt,Ze){return{get:function(){return k(this)[gt]()},set:Ze&&function(Ue){return k(this)[Ze](Ue)},configurable:!0,enumerable:!0}};if(r&&(a(Vt,"href",Cr("serialize","setHref")),a(Vt,"origin",Cr("getOrigin")),a(Vt,"protocol",Cr("getProtocol","setProtocol")),a(Vt,"username",Cr("getUsername","setUsername")),a(Vt,"password",Cr("getPassword","setPassword")),a(Vt,"host",Cr("getHost","setHost")),a(Vt,"hostname",Cr("getHostname","setHostname")),a(Vt,"port",Cr("getPort","setPort")),a(Vt,"pathname",Cr("getPathname","setPathname")),a(Vt,"search",Cr("getSearch","setSearch")),a(Vt,"searchParams",Cr("getSearchParams")),a(Vt,"hash",Cr("getHash","setHash"))),c(Vt,"toJSON",function(){return k(this).serialize()},{enumerable:!0}),c(Vt,"toString",function(){return k(this).serialize()},{enumerable:!0}),R){var Pr=R.createObjectURL,Ar=R.revokeObjectURL;Pr&&c(tr,"createObjectURL",s(Pr,R)),Ar&&c(tr,"revokeObjectURL",s(Ar,R))}I(tr,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:tr})},25204:function(i,d,e){"use strict";e(13588)},47803:function(i,d,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89878);function r(n,o,s){return o=(0,t.Z)(o),o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n}},38329:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(s[c]=n[c]);return s}function r(n,o){if(n==null)return{};var s=t(n,o),u,c;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(s[u]=n[u])}return s}},87296:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(73825);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(99227),o=e(66160);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},89878:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(8616);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},8616:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},99227:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});function t(n,o){(o==null||o>n.length)&&(o=n.length);for(var s=0,u=new Array(o);sr.length)&&(n=r.length);for(var o=0,s=Array(n);o=0;--ee){var ae=this.tryEntries[ee],ce=ae.completion;if(ae.tryLoc==="root")return H("end");if(ae.tryLoc<=this.prev){var fe=u.call(ae,"catchLoc"),_e=u.call(ae,"finallyLoc");if(fe&&_e){if(this.prev=0;--H){var ee=this.tryEntries[H];if(ee.tryLoc<=this.prev&&u.call(ee,"finallyLoc")&&this.prev=0;--B){var H=this.tryEntries[B];if(H.finallyLoc===M)return this.complete(H.completion,H.afterLoc),J(H),O}},catch:function(M){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.tryLoc===M){var ee=H.completion;if(ee.type==="throw"){var ae=ee.arg;J(H)}return ae}}throw Error("illegal catch attempt")},delegateYield:function(M,B,H){return this.delegate={iterator:Z(M),resultName:B,nextLoc:H},this.method==="next"&&(this.arg=n),O}},o}},2505:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},t(r,n)}},33606:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(72491);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(44464),o=e(9801);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},34589:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(72491),r=e(69070),n=e(44464),o=e(9801);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,o.Z)()}},26407:function(i,d,e){"use strict";e.d(d,{Z:function(){return u}});var t=e(59180);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(69070),o=e(44464);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(c){return r(c)||(0,n.Z)(c)||(0,o.Z)(c)||s()}},60655:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(39559);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},39559:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},44464:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(59180);function r(n,o){if(n){if(typeof n=="string")return(0,t.Z)(n,o);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,o):void 0}}},53280:function(i,d,e){"use strict";e.d(d,{D:function(){return r}});function t(n,o,s){var u=s||{},c=u.noTrailing,a=c===void 0?!1:c,f=u.noLeading,g=f===void 0?!1:f,p=u.debounceMode,b=p===void 0?void 0:p,h,E=!1,P=0;function A(){h&&clearTimeout(h)}function I(O){var T=O||{},D=T.upcomingOnly,k=D===void 0?!1:D;A(),E=!k}function C(){for(var O=arguments.length,T=new Array(O),D=0;Dn?g?(P=Date.now(),a||(h=setTimeout(b?R:L,n))):L():a!==!0&&(h=setTimeout(b?R:L,b===void 0?n-$:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"6cc58adc",67:"0d9023f3",109:"ea8e25d0",195:"1b2a021a",264:"3af2cf29",265:"7f874d28",278:"5fbd35ca",292:"4217c609",310:"87524a60",316:"1f60ada6",337:"6c7d4462",342:"1b93d3a9",354:"d4d139cf",479:"1c259a26",485:"0d85d9bf",508:"0f0d2329",532:"095ad274",533:"3dcdd092",547:"3b89fa9b",556:"30dc3532",559:"c931fa8f",576:"b970906c",629:"44a1d9a5",643:"cd23a0d4",671:"4a609b8d",680:"4ead1f94",700:"5c56e5a8",737:"7d2dda71",741:"ac5fd360",799:"5e59a02a",869:"13458103",895:"d57ece91",921:"64570a63",928:"8397db77",981:"24da50c7",1006:"d215a379",1043:"10352b34",1045:"c7c5f914",1048:"22e6e2db",1070:"37042f85",1144:"c90eccaf",1148:"dd5c099f",1154:"8cb80842",1211:"28b3b369",1253:"85e184b2",1257:"e030b5a1",1265:"08ee1444",1274:"5f6ea65a",1276:"1232c571",1343:"8bffdaf7",1416:"a8931766",1423:"c6ff925e",1427:"a402e47a",1450:"98d69940",1461:"fe8e3576",1462:"fcf08abc",1470:"a774c84b",1475:"02250dd6",1482:"22ffa6b0",1512:"ff540768",1520:"ae153e17",1545:"30002540",1578:"3c64560b",1581:"83885c6e",1582:"68b3f277",1646:"e6e27b60",1657:"fb82204c",1660:"773a476b",1674:"040ff4e3",1702:"34836213",1713:"ef1ff089",1717:"adc8f19d",1727:"02f23af7",1783:"5a8a3de0",1799:"3b6ed23c",1831:"9b13f02e",1836:"063f3647",1855:"50688dd4",1880:"e5343403",1939:"8db58818",1953:"8f5b3116",1962:"fb22d69d",2011:"59d51f98",2045:"1a0e686c",2076:"c4319462",2102:"e52c3130",2141:"00bb1332",2216:"8f0138af",2240:"236a09a0",2249:"f4830452",2254:"635861c1",2262:"e7c8ec50",2300:"e1bf89cf",2303:"2ed7049c",2307:"3db6eca1",2338:"563f3b65",2339:"aea2e9e8",2386:"192e235c",2396:"9421fcd2",2404:"63c7669e",2412:"3e08871d",2413:"0bec2b7c",2425:"22abd4da",2443:"4a41c468",2476:"d5cdd040",2494:"68080a87",2501:"651291fe",2529:"94495e0c",2538:"de4a3723",2539:"2f01b125",2548:"a8fbf09d",2570:"dc3e6db7",2594:"e87d3761",2603:"649ffeb2",2659:"2bec3ca5",2707:"411ba992",2806:"3dc2a316",2819:"527d244e",2823:"419a419a",2826:"c9b34f1d",2829:"b0bc1086",2837:"54a82605",2865:"c152c0ba",2875:"47592904",2884:"93fa773d",2967:"d1a0713b",2969:"ab3357d7",2983:"dcb13cdb",3006:"ab1315fc",3133:"9bf3f89c",3141:"906ade44",3157:"0c9ce40d",3183:"5c411838",3198:"8e655451",3212:"b2ee86e9",3220:"7f1ad4cf",3247:"1d09d934",3260:"23f9b1e9",3267:"7bab569a",3282:"a558d037",3317:"2f2b4241",3332:"7a7acc68",3339:"259e8484",3355:"3f0038f8",3356:"10c68a4f",3391:"58c9617d",3433:"e207b591",3442:"102f70b3",3447:"fba71bdd",3451:"047ad8fc",3496:"205ed647",3509:"9ea2fd14",3550:"3dc83156",3581:"52068ad7",3585:"8ce783d8",3665:"57727962",3668:"7c734c3f",3697:"481a10d9",3747:"eaacc56f",3777:"d5b0f2f1",3784:"3b82425b",3805:"9dbcb95e",3862:"8806fb69",3873:"d57d9c2d",3885:"f87f7f15",3910:"badbd452",3935:"1aa3818b",3951:"d140127a",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"e09a4d82",4056:"2628fbe1",4058:"4b8bcbfb",4078:"5b676bfb",4088:"236723f3",4093:"c1d37e60",4105:"4b27ea61",4144:"e1b365d4",4164:"48e656dd",4184:"ff08337d",4216:"dc618301",4217:"001a27cb",4227:"328ecab8",4259:"69ea90fe",4264:"a9c5b50c",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f76270a2",4492:"43d7cb25",4496:"5d07b305",4498:"2a5ad62b",4504:"a0319940",4514:"7ad6b850",4520:"a0def5b8",4546:"356df7d0",4565:"34ca03e6",4572:"828f8fd0",4599:"fd409bcc",4601:"4b2c0c90",4610:"faac6186",4621:"a4b86334",4628:"ece2c60c",4662:"f9e5dcc0",4685:"c33f1528",4715:"f5b2b1e8",4736:"0a709a74",4741:"79098b75",4757:"c3132b04",4766:"d267690e",4770:"3e7f5ee8",4790:"619413e4",4795:"dc199de8",4797:"a24e92db",4800:"f097867c",4849:"eb246e7e",4850:"1edda4b7",4862:"1452fb28",4884:"611cb085",4889:"1d0db735",4928:"e1925d92",4973:"89d0ca3d",4994:"768b6edf",5022:"1a75168f",5043:"2ddf9f4f",5048:"dd9c474b",5060:"85dafcc6",5096:"1314111c",5111:"18003c34",5125:"3f151d5f",5148:"01e6fb96",5176:"296b224b",5179:"e0a77dc7",5186:"781d61dd",5191:"a9972ba1",5199:"ef9fa77f",5238:"4b3b18eb",5290:"5dabcdc2",5297:"3e35d572",5319:"fdb3d77d",5321:"1163c84e",5335:"c5a2ba41",5354:"7ae70604",5357:"5b555af0",5359:"14ca44e9",5382:"428ae92b",5402:"5945dc08",5416:"454536b7",5434:"38b302a6",5470:"6bb7cfea",5494:"d89549c4",5518:"fdd8d1a0",5545:"9a8c001e",5549:"ce9fbe5c",5572:"13bf540a",5573:"a280b95e",5599:"1b9aa35d",5624:"4b356af1",5631:"e00d3d36",5650:"9149442a",5679:"4a090bef",5705:"41d2c5f1",5729:"dda70bf5",5764:"e0d7e586",5775:"274c7e21",5786:"4d74f162",5798:"110a8ea9",5816:"d11af8f4",5825:"7e09aad6",5876:"5eded409",5886:"490e40cd",5888:"6f8aad02",5891:"c2ed494d",5895:"8b3e71af",5902:"833facea",5915:"6dbcc187",5992:"b7410efa",6029:"f70938dc",6034:"c5d0b3e0",6045:"d268f87f",6047:"3ce45acd",6052:"e2d7bd57",6063:"83dcb480",6069:"14745f86",6126:"99519171",6127:"8701216c",6170:"07f25c2b",6265:"87ca446a",6270:"5b4f2702",6277:"ad8efa00",6309:"b1735466",6328:"fb5d5f0c",6366:"747445a7",6378:"7f3a946a",6411:"7d1994e3",6434:"7b0e7704",6444:"9a802a98",6452:"0bf0ffd3",6531:"eac0ffe2",6541:"6fc9fd61",6583:"356c333b",6587:"45e399b9",6634:"f3560729",6651:"04412026",6685:"65a42068",6729:"c8e98de9",6741:"10787323",6758:"78f87158",6774:"59d4d618",6784:"9fdb5834",6788:"09df7d2c",6796:"dbaeea33",6805:"cdb001be",6820:"5446068e",6845:"49816484",6882:"c08797a9",6883:"37e9b331",6904:"f9a15864",6913:"03edeca8",6949:"b3a692b0",6963:"623dc1a3",6982:"8fc76fd8",7008:"ff77e4be",7043:"bf5260a8",7045:"12b3561a",7046:"4226a373",7058:"0fcd6efe",7062:"50314851",7084:"46ccce72",7156:"e7466006",7178:"30042cc5",7182:"b2bb4aa9",7242:"50df2668",7260:"fa2512e6",7331:"2e27a23b",7333:"3834b9dc",7365:"1005464f",7395:"1ecefc2d",7460:"c45c093e",7473:"e15c45d5",7477:"0d5d940f",7482:"70e36181",7511:"4bd96733",7527:"758f2e9a",7545:"987e7646",7560:"6ee24518",7589:"7286c628",7591:"c8233ce9",7614:"8887cf52",7622:"0151e77d",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"ea2014e3",7852:"3e33c5ae",7855:"fa0f2ac1",7857:"ba7a22a8",7878:"215fa5f9",7884:"cd311284",7922:"ea49eceb",7935:"e0011e01",7964:"29aed9a1",8014:"a21f753f",8062:"3cbe6f04",8072:"a54c3cc4",8077:"6bb76769",8085:"add323d1",8089:"d536b13a",8143:"bddee574",8155:"589fb702",8161:"83c5fa9a",8237:"6bb382f5",8241:"149dd01e",8302:"24d77d68",8307:"6f961dac",8340:"47b8eb29",8350:"07df8a75",8385:"2058a8b6",8398:"e3e326e4",8431:"1a8ab531",8435:"da8811c9",8447:"e480ad32",8517:"eca9d405",8561:"333e8ec9",8563:"07cd9cd1",8634:"6f9a687f",8639:"68809bd0",8665:"e38ac11d",8688:"c6690396",8689:"938272c0",8723:"39f22ac4",8737:"ce7dad23",8776:"0ad26240",8782:"1aeae489",8787:"d1ebd50b",8797:"a0fc38cd",8823:"5e187d66",8827:"ab0fc5bf",8842:"9f25a3e2",8866:"e2863970",8882:"69096039",8885:"d17460b7",8898:"d002bcd8",8909:"d55f7b2f",8920:"7f82440c",8963:"790aecdd",8982:"0462ec4c",8999:"96f6fa31",9076:"e0aaaea3",9104:"bbcb2345",9133:"b9aeb334",9205:"ec3de13f",9215:"4063ba71",9252:"0d791a59",9260:"cf5f8140",9332:"0a8d3038",9360:"8a233117",9366:"5bd0871f",9391:"2ecc051c",9404:"9fcc3d3e",9408:"8fafb220",9416:"8e77a08e",9472:"4d3b5fee",9487:"bbefb860",9489:"e81e0aed",9507:"c9bc9d2a",9554:"ed358e7b",9559:"f794af19",9590:"602248a0",9647:"e1f1097c",9649:"9feae7d2",9674:"b455b81a",9677:"54119efb",9695:"45bcde98",9715:"c3bb52e6",9716:"87b14c58",9785:"75259a9c",9788:"7c2400c8",9890:"f3d859d7",9891:"88aecf4e",9895:"b8e31ff2",9921:"0f8d70d5",9922:"763b1085",9928:"5989f5e0",9944:"daa0cc6d",9950:"74f6dfb2",9968:"17466785",9974:"b42e89e4"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"1ee18004",67:"ccd1c6f7",109:"b9c23c40",195:"2dcefbf3",264:"5fd9b3fc",265:"d92c6f86",292:"ce68ca0f",310:"2f98c38f",337:"e638312f",342:"f062b6f7",479:"e5a81cdc",485:"d63578fe",508:"02e2dd82",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"5fec937c",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"4d1ca88e",1006:"b9d07e6a",1043:"e8c0878b",1045:"3da16fbb",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"9ccf398f",1253:"46aca33c",1257:"7b8c452c",1265:"a9f5202f",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"993f5467",1427:"f91322f7",1450:"b73d7f06",1461:"ff358fae",1470:"afcb0f79",1475:"d22fbaa0",1482:"657c00e9",1512:"f3653a35",1520:"f7300d0e",1545:"7a7ec3bb",1578:"820fe2dc",1581:"13815a71",1582:"fb7b144c",1657:"5ec7b8df",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"7fe99454",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"b2f3c4a0",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"7744d0bf",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ddc40407",2303:"eb945f5f",2307:"b2c54321",2338:"f4fc2eec",2339:"6a610b14",2396:"8d2f98b7",2404:"916ef4f4",2412:"b297b168",2425:"46a8704b",2443:"24b2287c",2476:"cf85a190",2501:"2441982c",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"f6513a72",2603:"4d1ca88e",2659:"f6071a36",2707:"cabcb16e",2806:"590e64b4",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"2f2c99c6",2884:"461ee81b",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"7e88c583",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"f42a5661",3267:"03cdfb68",3282:"26197f40",3317:"ecdd2e90",3332:"24a307de",3355:"8663e882",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"f095e85e",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"9cb96c7b",3585:"5f288e7b",3665:"b415154c",3668:"dc35c9cd",3747:"00e34b96",3784:"c81d4a51",3873:"2e78bfad",3910:"658d457f",3935:"f2d191e1",3951:"a387551f",4030:"2f2adf9b",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"907b8a33",4144:"f10aa199",4164:"bada72fc",4216:"4d1ca88e",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"846f9104",4449:"e68d8d58",4492:"491cc2b0",4496:"9414c41b",4498:"28d34375",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"fd918ef8",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"ad391b9b",4715:"96e408ef",4736:"2968553b",4741:"8ff5d393",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"4524cc35",4800:"f50302a4",4849:"a4979c8d",4862:"e8eacc3e",4884:"bd293d3b",4889:"fde32bfe",4928:"3ec9e47f",4973:"129c56e8",4994:"adfdd70f",5022:"81b1b86b",5043:"be412368",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"0c715988",5335:"fec6fd9f",5357:"1fbb7d24",5359:"6de40be0",5382:"2eb59e84",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"3e17982a",5650:"f8f63f4b",5705:"df6bf207",5729:"68124912",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"688c2901",5825:"683b5f25",5888:"daf7ea78",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"835b4273",6127:"f31505a8",6265:"0f8610d3",6270:"ef86c185",6277:"3ae6fcf0",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"4f0a154f",6741:"b838eb14",6758:"46bc8ade",6784:"1affe817",6788:"c479e870",6796:"14d05697",6805:"5b253c81",6820:"ddaf44de",6845:"b6bc9748",6882:"c2d2eada",6883:"7740a702",6904:"7c56ea76",6913:"9caafaf2",6963:"84e145fa",6982:"3043a9c3",7008:"2e87dbcd",7043:"ffb7ec9c",7045:"9f7f62c6",7046:"c7301ded",7058:"e5da97d0",7062:"6ec5f76b",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"b134dd67",7477:"66ecedaa",7482:"3a11c394",7527:"85cec39d",7545:"36997c19",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"2b7c8080",7806:"bd9accb9",7852:"80211a09",7855:"6f036cf6",7857:"430b47e3",7878:"2b521fde",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"5eb333e3",8077:"0b2c51d9",8085:"5cc4989b",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"3fe898e2",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"7882364e",8447:"3759f6ff",8517:"123ba102",8563:"dcd7d9b0",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"78257f83",8782:"918afc23",8787:"121de108",8797:"ac10b585",8823:"97790464",8827:"47f77bab",8866:"da63c71f",8882:"f443b9cb",8885:"de905169",8982:"9bfc6af0",8999:"e9df0bc5",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"3d30bf20",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"7cbe9370",9472:"d257b6b1",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"3a255d7a",9695:"517be471",9715:"bcd10839",9716:"d7a969b5",9785:"db4eb949",9788:"4459d92d",9890:"6bea74d0",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;un?g?(P=Date.now(),a||(h=setTimeout(b?R:L,n))):L():a!==!0&&(h=setTimeout(b?R:L,b===void 0?n-$:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"6cc58adc",67:"0d9023f3",109:"ea8e25d0",195:"d4d1256a",264:"3af2cf29",265:"7f874d28",278:"5fbd35ca",292:"4217c609",310:"87524a60",316:"1f60ada6",337:"6c7d4462",342:"1b93d3a9",354:"d4d139cf",479:"1c259a26",485:"0d85d9bf",508:"0f0d2329",532:"095ad274",533:"3dcdd092",547:"3b89fa9b",556:"30dc3532",559:"c931fa8f",576:"b970906c",629:"44a1d9a5",643:"cd23a0d4",671:"4a609b8d",680:"4ead1f94",700:"5c56e5a8",737:"7d2dda71",741:"ac5fd360",799:"5e59a02a",869:"13458103",895:"d57ece91",921:"64570a63",928:"8397db77",981:"24da50c7",1006:"d215a379",1043:"10352b34",1045:"c7c5f914",1048:"22e6e2db",1070:"37042f85",1144:"c90eccaf",1148:"dd5c099f",1154:"8cb80842",1211:"28b3b369",1253:"85e184b2",1257:"e030b5a1",1265:"08ee1444",1274:"5f6ea65a",1276:"1232c571",1343:"8bffdaf7",1416:"a8931766",1423:"c6ff925e",1427:"a402e47a",1450:"98d69940",1461:"fe8e3576",1462:"fcf08abc",1470:"a774c84b",1475:"02250dd6",1482:"22ffa6b0",1512:"ff540768",1520:"ae153e17",1545:"30002540",1578:"3c64560b",1581:"83885c6e",1582:"68b3f277",1646:"e6e27b60",1657:"e8e9c8e9",1660:"773a476b",1674:"040ff4e3",1702:"34836213",1713:"ef1ff089",1717:"adc8f19d",1727:"02f23af7",1783:"5a8a3de0",1799:"3b6ed23c",1831:"9b13f02e",1836:"063f3647",1855:"50688dd4",1880:"e5343403",1939:"8db58818",1953:"8f5b3116",1962:"fb22d69d",2011:"59d51f98",2045:"1a0e686c",2076:"c4319462",2102:"e52c3130",2141:"00bb1332",2216:"8f0138af",2240:"236a09a0",2249:"f4830452",2254:"635861c1",2262:"e7c8ec50",2300:"e1bf89cf",2303:"2ed7049c",2307:"3db6eca1",2338:"324b03b2",2339:"aea2e9e8",2386:"192e235c",2396:"9421fcd2",2404:"63c7669e",2412:"3e08871d",2413:"0bec2b7c",2425:"22abd4da",2443:"4a41c468",2476:"d5cdd040",2494:"68080a87",2501:"651291fe",2529:"94495e0c",2538:"de4a3723",2539:"2f01b125",2548:"a8fbf09d",2570:"dc3e6db7",2594:"e87d3761",2603:"649ffeb2",2659:"2bec3ca5",2707:"411ba992",2806:"3dc2a316",2819:"527d244e",2823:"419a419a",2826:"c9b34f1d",2829:"b0bc1086",2837:"54a82605",2865:"c152c0ba",2875:"47592904",2884:"67cd1ece",2967:"d1a0713b",2969:"ab3357d7",2983:"dcb13cdb",3006:"ab1315fc",3133:"9bf3f89c",3141:"906ade44",3157:"0c9ce40d",3183:"5c411838",3198:"8e655451",3212:"b2ee86e9",3220:"7f1ad4cf",3247:"1d09d934",3260:"23f9b1e9",3267:"7bab569a",3282:"a558d037",3317:"2f2b4241",3332:"7a7acc68",3339:"259e8484",3355:"3f0038f8",3356:"10c68a4f",3391:"58c9617d",3433:"e207b591",3442:"102f70b3",3447:"fba71bdd",3451:"047ad8fc",3496:"205ed647",3509:"9ea2fd14",3550:"3dc83156",3581:"52068ad7",3585:"8ce783d8",3665:"cbc78810",3668:"0a81ac9d",3697:"481a10d9",3747:"eaacc56f",3777:"d5b0f2f1",3784:"3b82425b",3805:"9dbcb95e",3862:"8806fb69",3873:"d57d9c2d",3885:"f87f7f15",3910:"badbd452",3935:"1aa3818b",3951:"d140127a",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"e09a4d82",4056:"2628fbe1",4058:"4b8bcbfb",4078:"5b676bfb",4088:"236723f3",4093:"c1d37e60",4105:"94d70b30",4144:"e1b365d4",4164:"48e656dd",4184:"ff08337d",4216:"dc618301",4217:"001a27cb",4227:"328ecab8",4259:"69ea90fe",4264:"a9c5b50c",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f76270a2",4492:"43d7cb25",4496:"5d07b305",4498:"66ad5454",4504:"a0319940",4514:"7ad6b850",4520:"a0def5b8",4546:"356df7d0",4565:"34ca03e6",4572:"828f8fd0",4599:"fd409bcc",4601:"4b2c0c90",4610:"faac6186",4621:"a4b86334",4628:"ece2c60c",4662:"f9e5dcc0",4685:"c33f1528",4715:"f5b2b1e8",4736:"0a709a74",4741:"79098b75",4757:"c3132b04",4766:"d267690e",4770:"3e7f5ee8",4790:"619413e4",4795:"dc199de8",4797:"a24e92db",4800:"f097867c",4849:"eb246e7e",4850:"1edda4b7",4862:"1452fb28",4884:"611cb085",4889:"1d0db735",4928:"e1925d92",4973:"89d0ca3d",4994:"768b6edf",5022:"1a75168f",5043:"2ddf9f4f",5048:"dd9c474b",5060:"85dafcc6",5096:"1314111c",5111:"18003c34",5125:"3f151d5f",5148:"01e6fb96",5176:"296b224b",5179:"e0a77dc7",5186:"781d61dd",5191:"a9972ba1",5199:"ef9fa77f",5238:"4b3b18eb",5290:"5dabcdc2",5297:"3e35d572",5319:"fdb3d77d",5321:"1163c84e",5335:"c5a2ba41",5354:"7ae70604",5357:"5b555af0",5359:"14ca44e9",5382:"428ae92b",5402:"5945dc08",5416:"454536b7",5434:"38b302a6",5470:"6bb7cfea",5494:"d89549c4",5518:"fdd8d1a0",5545:"9a8c001e",5549:"ce9fbe5c",5572:"13bf540a",5573:"a280b95e",5599:"1b9aa35d",5624:"4b356af1",5631:"e00d3d36",5650:"9149442a",5679:"4a090bef",5705:"41d2c5f1",5729:"dda70bf5",5764:"e0d7e586",5775:"274c7e21",5786:"4d74f162",5798:"110a8ea9",5816:"d11af8f4",5825:"7e09aad6",5876:"5eded409",5886:"490e40cd",5888:"6f8aad02",5891:"c2ed494d",5895:"8b3e71af",5902:"833facea",5915:"6dbcc187",5992:"b7410efa",6029:"f70938dc",6034:"c5d0b3e0",6045:"d268f87f",6047:"3ce45acd",6052:"e2d7bd57",6063:"83dcb480",6069:"14745f86",6126:"99519171",6127:"8701216c",6170:"07f25c2b",6265:"87ca446a",6270:"ab2d4815",6277:"ad8efa00",6309:"b1735466",6328:"fb5d5f0c",6366:"747445a7",6378:"7f3a946a",6411:"7d1994e3",6434:"7b0e7704",6444:"9a802a98",6452:"0bf0ffd3",6531:"eac0ffe2",6541:"6fc9fd61",6583:"356c333b",6587:"45e399b9",6634:"f3560729",6651:"04412026",6685:"65a42068",6729:"c8e98de9",6741:"10787323",6758:"78f87158",6774:"59d4d618",6784:"9fdb5834",6788:"09df7d2c",6796:"dbaeea33",6805:"cdb001be",6820:"5446068e",6845:"49816484",6882:"c08797a9",6883:"37e9b331",6904:"f9a15864",6913:"03edeca8",6949:"b3a692b0",6963:"623dc1a3",6982:"8fc76fd8",7008:"ff77e4be",7043:"bf5260a8",7045:"12b3561a",7046:"4226a373",7058:"0fcd6efe",7062:"19139b04",7084:"46ccce72",7156:"e7466006",7178:"30042cc5",7182:"b2bb4aa9",7242:"50df2668",7260:"fa2512e6",7331:"2e27a23b",7333:"3834b9dc",7365:"1005464f",7395:"1ecefc2d",7460:"c45c093e",7473:"49678fb1",7477:"0d5d940f",7482:"70e36181",7511:"4bd96733",7527:"36d40251",7545:"987e7646",7560:"6ee24518",7589:"7286c628",7591:"c8233ce9",7614:"8887cf52",7622:"0151e77d",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"ea2014e3",7852:"3e33c5ae",7855:"fa0f2ac1",7857:"ba7a22a8",7878:"215fa5f9",7884:"cd311284",7922:"ea49eceb",7964:"29aed9a1",8014:"a21f753f",8062:"3cbe6f04",8072:"a54c3cc4",8077:"6bb76769",8085:"dc4f3684",8089:"d536b13a",8143:"bddee574",8155:"589fb702",8161:"83c5fa9a",8237:"6bb382f5",8241:"149dd01e",8302:"eea65b43",8307:"6f961dac",8340:"47b8eb29",8350:"07df8a75",8385:"2058a8b6",8398:"e3e326e4",8431:"1a8ab531",8435:"da8811c9",8447:"e480ad32",8517:"eca9d405",8561:"333e8ec9",8563:"07cd9cd1",8634:"6f9a687f",8639:"68809bd0",8665:"e38ac11d",8688:"c6690396",8689:"938272c0",8723:"39f22ac4",8737:"ce7dad23",8776:"0ad26240",8782:"1aeae489",8787:"d1ebd50b",8797:"a0fc38cd",8823:"5e187d66",8827:"ab0fc5bf",8842:"9f25a3e2",8866:"e2863970",8882:"69096039",8885:"d17460b7",8898:"d002bcd8",8909:"d55f7b2f",8920:"7f82440c",8963:"790aecdd",8982:"0462ec4c",8999:"96f6fa31",9076:"e0aaaea3",9104:"bbcb2345",9133:"b9aeb334",9205:"ec3de13f",9215:"4063ba71",9252:"0d791a59",9260:"cf5f8140",9332:"0a8d3038",9360:"8a233117",9366:"5bd0871f",9381:"642ff118",9391:"2ecc051c",9404:"9fcc3d3e",9408:"8fafb220",9416:"8e77a08e",9472:"4d3b5fee",9487:"bbefb860",9489:"e81e0aed",9507:"c9bc9d2a",9554:"ed358e7b",9559:"f794af19",9590:"602248a0",9647:"e1f1097c",9649:"9feae7d2",9674:"b455b81a",9677:"54119efb",9695:"45bcde98",9715:"c3bb52e6",9716:"87b14c58",9785:"75259a9c",9788:"7c2400c8",9890:"f3d859d7",9891:"88aecf4e",9895:"b8e31ff2",9921:"0f8d70d5",9922:"763b1085",9928:"5989f5e0",9944:"daa0cc6d",9950:"74f6dfb2",9968:"17466785",9974:"b42e89e4"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"1ee18004",67:"ccd1c6f7",109:"b9c23c40",195:"2dcefbf3",264:"5fd9b3fc",265:"d92c6f86",292:"ce68ca0f",310:"2f98c38f",337:"e638312f",342:"f062b6f7",479:"e5a81cdc",485:"d63578fe",508:"02e2dd82",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"5fec937c",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"4d1ca88e",1006:"b9d07e6a",1043:"e8c0878b",1045:"3da16fbb",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"9ccf398f",1253:"46aca33c",1257:"7b8c452c",1265:"a9f5202f",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"993f5467",1427:"f91322f7",1450:"b73d7f06",1461:"ff358fae",1470:"afcb0f79",1475:"d22fbaa0",1482:"657c00e9",1512:"f3653a35",1520:"f7300d0e",1545:"7a7ec3bb",1578:"820fe2dc",1581:"13815a71",1582:"fb7b144c",1657:"5ec7b8df",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"7fe99454",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"b2f3c4a0",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"7744d0bf",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ddc40407",2303:"eb945f5f",2307:"b2c54321",2338:"f4fc2eec",2339:"6a610b14",2396:"8d2f98b7",2404:"916ef4f4",2412:"b297b168",2425:"46a8704b",2443:"24b2287c",2476:"cf85a190",2501:"2441982c",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"f6513a72",2603:"4d1ca88e",2659:"f6071a36",2707:"cabcb16e",2806:"590e64b4",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"2f2c99c6",2884:"461ee81b",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"7e88c583",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"f42a5661",3267:"03cdfb68",3282:"26197f40",3317:"ecdd2e90",3332:"24a307de",3355:"8663e882",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"f095e85e",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"9cb96c7b",3585:"5f288e7b",3665:"b415154c",3668:"dc35c9cd",3747:"00e34b96",3784:"c81d4a51",3873:"2e78bfad",3910:"658d457f",3935:"f2d191e1",3951:"a387551f",4030:"2f2adf9b",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"907b8a33",4144:"f10aa199",4164:"bada72fc",4216:"4d1ca88e",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"846f9104",4449:"e68d8d58",4492:"491cc2b0",4496:"9414c41b",4498:"28d34375",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"fd918ef8",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"ad391b9b",4715:"96e408ef",4736:"2968553b",4741:"8ff5d393",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"4524cc35",4800:"f50302a4",4849:"a4979c8d",4862:"e8eacc3e",4884:"bd293d3b",4889:"fde32bfe",4928:"3ec9e47f",4973:"129c56e8",4994:"adfdd70f",5022:"81b1b86b",5043:"be412368",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"0c715988",5335:"fec6fd9f",5357:"1fbb7d24",5359:"6de40be0",5382:"2eb59e84",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"3e17982a",5650:"f8f63f4b",5705:"df6bf207",5729:"68124912",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"688c2901",5825:"683b5f25",5888:"daf7ea78",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"835b4273",6127:"f31505a8",6265:"0f8610d3",6270:"ef86c185",6277:"3ae6fcf0",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"4f0a154f",6741:"b838eb14",6758:"46bc8ade",6784:"1affe817",6788:"c479e870",6796:"14d05697",6805:"5b253c81",6820:"ddaf44de",6845:"b6bc9748",6882:"c2d2eada",6883:"7740a702",6904:"7c56ea76",6913:"9caafaf2",6963:"84e145fa",6982:"3043a9c3",7008:"2e87dbcd",7043:"ffb7ec9c",7045:"9f7f62c6",7046:"c7301ded",7058:"e5da97d0",7062:"6ec5f76b",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"b134dd67",7477:"66ecedaa",7482:"3a11c394",7527:"85cec39d",7545:"36997c19",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"2b7c8080",7806:"bd9accb9",7852:"80211a09",7855:"6f036cf6",7857:"430b47e3",7878:"2b521fde",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"5eb333e3",8077:"0b2c51d9",8085:"5cc4989b",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"3fe898e2",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"7882364e",8447:"3759f6ff",8517:"123ba102",8563:"dcd7d9b0",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"78257f83",8782:"918afc23",8787:"121de108",8797:"ac10b585",8823:"97790464",8827:"47f77bab",8866:"da63c71f",8882:"f443b9cb",8885:"de905169",8982:"9bfc6af0",8999:"e9df0bc5",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"3d30bf20",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"7cbe9370",9472:"d257b6b1",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"3a255d7a",9695:"517be471",9715:"bcd10839",9716:"d7a969b5",9785:"db4eb949",9788:"4459d92d",9890:"6bea74d0",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return kr.endsWith("/")?kr:"".concat(kr,"/")}var tc=__webpack_require__(38127),Su=__webpack_require__(38329),ru=__webpack_require__(8616),nu=["content"],zi=["content"],ki=/^(http:|https:)?\/\//;function rc(kr){return ki.test(kr)||kr.startsWith("/")&&!kr.startsWith("/*")||kr.startsWith("./")||kr.startsWith("../")}var Bu=function(){return ue.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},au=function(Xr){var Dn,da=Xr.loaderData,Bn=Xr.htmlPageOpts,Yn=Xr.manifest,qn=(Yn==null||(Dn=Yn.assets)===null||Dn===void 0?void 0:Dn["umi.css"])||"";return ue.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(da||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Bn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(qn,"'")}})};function as(kr){var Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof kr=="string")return rc(kr)?(0,Vo.Z)({src:kr},Xr):{content:kr};if((0,ru.Z)(kr)==="object")return(0,Vo.Z)((0,Vo.Z)({},kr),Xr);throw new Error("Invalid script type: ".concat((0,ru.Z)(kr)))}function wi(kr){return rc(kr)?{type:"link",href:kr}:{type:"style",content:kr}}var al=function(Xr){var Dn,da,Bn,Yn,qn,Ka,Nn=Xr.htmlPageOpts;return ue.createElement(ue.Fragment,null,(Nn==null?void 0:Nn.title)&&ue.createElement("title",null,Nn.title),Nn==null||(Dn=Nn.favicons)===null||Dn===void 0?void 0:Dn.map(function(Ya,_s){return ue.createElement("link",{key:_s,rel:"shortcut icon",href:Ya})}),(Nn==null?void 0:Nn.description)&&ue.createElement("meta",{name:"description",content:Nn.description}),(Nn==null||(da=Nn.keywords)===null||da===void 0?void 0:da.length)&&ue.createElement("meta",{name:"keywords",content:Nn.keywords.join(",")}),Nn==null||(Bn=Nn.metas)===null||Bn===void 0?void 0:Bn.map(function(Ya){return ue.createElement("meta",{key:Ya.name,name:Ya.name,content:Ya.content})}),Nn==null||(Yn=Nn.links)===null||Yn===void 0?void 0:Yn.map(function(Ya,_s){return ue.createElement("link",(0,Su.Z)({key:_s},Ya))}),Nn==null||(qn=Nn.styles)===null||qn===void 0?void 0:qn.map(function(Ya,_s){var vs=wi(Ya),$s=vs.type,js=vs.href,cu=vs.content;if($s==="link")return ue.createElement("link",{key:_s,rel:"stylesheet",href:js});if($s==="style")return ue.createElement("style",{key:_s},cu)}),Nn==null||(Ka=Nn.headScripts)===null||Ka===void 0?void 0:Ka.map(function(Ya,_s){var vs=as(Ya),$s=vs.content,js=(0,tc.Z)(vs,nu);return ue.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))}))};function Nu(kr){var Xr,Dn=kr.children,da=kr.loaderData,Bn=kr.manifest,Yn=kr.htmlPageOpts,qn=kr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka=kr.mountElementId;if(qn!=null&&qn.pureHtml)return ue.createElement("html",null,ue.createElement("head",null),ue.createElement("body",null,ue.createElement(Bu,null),ue.createElement("div",{id:Ka},Dn),ue.createElement(au,{manifest:Bn,loaderData:da,htmlPageOpts:Yn})));if(qn!=null&&qn.pureApp)return ue.createElement(ue.Fragment,null,Dn);var Nn=typeof window=="undefined"?Bn==null?void 0:Bn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ue.createElement("html",{suppressHydrationWarning:!0,lang:(Yn==null?void 0:Yn.lang)||"en"},ue.createElement("head",null,ue.createElement("meta",{charSet:"utf-8"}),ue.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Nn&&ue.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Nn}),ue.createElement(al,{htmlPageOpts:Yn})),ue.createElement("body",null,ue.createElement(Bu,null),ue.createElement("div",{id:Ka},Dn),ue.createElement(au,{manifest:Bn,loaderData:da,htmlPageOpts:Yn}),Yn==null||(Xr=Yn.scripts)===null||Xr===void 0?void 0:Xr.map(function(Ya,_s){var vs=as(Ya),$s=vs.content,js=(0,tc.Z)(vs,zi);return ue.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))})))}var ou=ue.createContext(void 0);function ol(){return ue.useContext(ou)}var Pu=["redirect"];function Ds(kr){var Xr=kr.routesById,Dn=kr.parentId,da=kr.routeComponents,Bn=kr.useStream,Yn=Bn===void 0?!0:Bn;return Object.keys(Xr).filter(function(qn){return Xr[qn].parentId===Dn}).map(function(qn){var Ka=il((0,Vo.Z)((0,Vo.Z)({route:Xr[qn],routeComponent:da[qn],loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat},kr.reactRouter5Compat&&{hasChildren:Object.keys(Xr).filter(function(Ya){return Xr[Ya].parentId===qn}).length>0}),{},{useStream:Yn})),Nn=Ds({routesById:Xr,routeComponents:da,parentId:Ka.id,loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat,useStream:Yn});return Nn.length>0&&(Ka.children=Nn,Ka.routes=Nn),Ka})}function Cc(kr){var Xr=(0,mi.UO)(),Dn=(0,mi.Gn)(kr.to,Xr),da=(0,Eu.T$)(),Bn=(0,mi.TH)();if(da!=null&&da.keepQuery){var Yn=Bn.search+Bn.hash;Dn+=Yn}var qn=(0,Vo.Z)((0,Vo.Z)({},kr),{},{to:Dn});return ue.createElement(mi.Fg,(0,Su.Z)({replace:!0},qn))}function il(kr){var Xr=kr.route,Dn=kr.useStream,da=Dn===void 0?!0:Dn,Bn=Xr.redirect,Yn=(0,tc.Z)(Xr,Pu),qn=kr.reactRouter5Compat?ac:oc;return(0,Vo.Z)({element:Bn?ue.createElement(Cc,{to:Bn}):ue.createElement(ou.Provider,{value:{route:kr.route}},ue.createElement(qn,{loader:ue.memo(kr.routeComponent),loadingComponent:kr.loadingComponent||nc,hasChildren:kr.hasChildren,useStream:da}))},Yn)}function nc(){return ue.createElement("div",null)}function ac(kr){var Xr=ol(),Dn=Xr.route,da=(0,Eu.Ov)(),Bn=da.history,Yn=da.clientRoutes,qn=(0,mi.UO)(),Ka={params:qn,isExact:!0,path:Dn.path,url:Bn.location.pathname},Nn=kr.loader,Ya={location:Bn.location,match:Ka,history:Bn,params:qn,route:Dn,routes:Yn};return kr.useStream?ue.createElement(ue.Suspense,{fallback:ue.createElement(kr.loadingComponent,null)},ue.createElement(Nn,Ya,kr.hasChildren&&ue.createElement(mi.j3,null))):ue.createElement(Nn,Ya,kr.hasChildren&&ue.createElement(mi.j3,null))}function oc(kr){var Xr=kr.loader;return kr.useStream?ue.createElement(ue.Suspense,{fallback:ue.createElement(kr.loadingComponent,null)},ue.createElement(Xr,null)):ue.createElement(Xr,null)}var Cu=null;function Al(){return Cu}function ic(kr){var Xr=kr.history,Dn=ue.useState({action:Xr.action,location:Xr.location}),da=(0,Zi.Z)(Dn,2),Bn=da[0],Yn=da[1];return(0,ue.useLayoutEffect)(function(){return Xr.listen(Yn)},[Xr]),(0,ue.useLayoutEffect)(function(){function qn(Ka){kr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:kr.routes,clientRoutes:kr.clientRoutes,location:Ka.location,action:Ka.action,basename:kr.basename,isFirst:!!Ka.isFirst}})}return qn({location:Bn.location,action:Bn.action,isFirst:!0}),Xr.listen(qn)},[Xr,kr.routes,kr.clientRoutes]),ue.createElement(mi.F0,{navigator:Xr,location:Bn.location,basename:kr.basename},kr.children)}function Wi(){var kr=(0,Eu.Ov)(),Xr=kr.clientRoutes;return(0,mi.V$)(Xr)}var Zu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],sc=function(Xr,Dn){var da=Xr.basename||"/",Bn=Ds({routesById:Xr.routes,routeComponents:Xr.routeComponents,loadingComponent:Xr.loadingComponent,reactRouter5Compat:Xr.reactRouter5Compat,useStream:Xr.useStream});Xr.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Bn}});for(var Yn=ue.createElement(ic,{basename:da,pluginManager:Xr.pluginManager,routes:Xr.routes,clientRoutes:Bn,history:Xr.history},Dn),qn=0,Ka=Zu;qnnew Promise((da,Bn)=>{var Yn=Nn=>{try{Ka(Dn.next(Nn))}catch(Ya){Bn(Ya)}},qn=Nn=>{try{Ka(Dn.throw(Nn))}catch(Ya){Bn(Ya)}},Ka=Nn=>Nn.done?da(Nn.value):Promise.resolve(Nn.value).then(Yn,qn);Ka((Dn=Dn.apply(kr,Xr)).next())});function y(){return m(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId/template",parentId:"100",id:"156"},157:{path:"/competitions",parentId:"1",id:"157"},158:{path:"/competitions/index",parentId:"157",id:"158"},159:{path:"/competitions/:identifier/list",parentId:"157",id:"159"},160:{path:"/competitions/exports",parentId:"157",id:"160"},161:{path:"/competitions",parentId:"157",id:"161"},162:{path:"/competitions/:identifier",parentId:"157",id:"162"},163:{path:"/competitions/index/:identifier",parentId:"157",id:"163"},164:{path:"/competitions/:identifier/detail/enroll",parentId:"157",id:"164"},165:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"157",id:"165"},166:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"157",id:"166"},167:{path:"/competitions/detail/:identifier",parentId:"157",id:"167"},168:{path:"/forums",parentId:"1",id:"168"},169:{path:"/forums",parentId:"168",id:"169"},170:{path:"/forums/categories/:memoType",parentId:"168",id:"170"},171:{path:"/forums/new",parentId:"168",id:"171"},172:{path:"/forums/:memoId/edit",parentId:"168",id:"172"},173:{path:"/forums/:memoId",parentId:"168",id:"173"},174:{path:"/problemset",parentId:"1",id:"174"},175:{path:"/problemset",parentId:"174",id:"175"},176:{path:"/problemset/newitem",parentId:"174",id:"176"},177:{path:"/problemset/:type/:id",parentId:"174",id:"177"},178:{path:"/problemset/preview",parentId:"174",id:"178"},179:{path:"/problemset/preview_new",parentId:"174",id:"179"},180:{path:"/problemset/preview_select",parentId:"174",id:"180"},181:{path:"/shixuns",parentId:"1",id:"181"},182:{path:"/shixuns",parentId:"181",id:"182"},183:{path:"/shixuns/exports",parentId:"181",id:"183"},184:{path:"/shixuns/new",parentId:"181",id:"184"},185:{path:"/shixuns/new/CreateImg",parentId:"181",id:"185"},186:{path:"/shixuns/new/:id/imagepreview",parentId:"181",id:"186"},187:{path:"/shixuns/:id/Merge",parentId:"181",id:"187"},188:{path:"/shixuns/:id/Split",parentId:"181",id:"188"},189:{path:"/shixuns/:id/edit",parentId:"181",id:"189"},190:{path:"shixuns/:id/edit/warehouse",parentId:"189",id:"190"},191:{path:"/shixuns/:id/edit/newquestion",parentId:"189",id:"191"},192:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"189",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"189",id:"193"},194:{path:"/shixuns/:id/edit/new",parentId:"189",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"189",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"189",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"189",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"189",id:"198"},199:{path:"/shixuns/:id",parentId:"181",id:"199"},200:{path:"/shixuns/:id/poll",parentId:"199",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"199",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"199",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"199",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"199",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"199",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"199",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"199",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"199",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"199",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"199",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"199",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"199",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"199",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"199",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"199",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"199",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"199",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/paths",parentId:"234",id:"251"},252:{path:"/users/:username/projects",parentId:"234",id:"252"},253:{path:"/users/:username/videos",parentId:"234",id:"253"},254:{path:"/users/:username/videos/upload",parentId:"234",id:"254"},255:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"255"},256:{path:"/users/:username/vspaces",parentId:"234",id:"256"},257:{path:"/users/:username/resourcesCenter",parentId:"234",id:"257"},258:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"258"},259:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"259"},260:{path:"/users/:username/resourceAllocation",parentId:"234",id:"260"},261:{parentId:"1",id:"261"},262:{path:"/problems",parentId:"261",id:"262"},263:{path:"/problems",parentId:"262",id:"263"},264:{path:"/problems/batchAdd",parentId:"262",id:"264"},265:{path:"/problems/newcreate",parentId:"261",id:"265"},266:{path:"/problems/newedit/:id",exact:!0,parentId:"261",id:"266"},267:{path:"/problems/:id/edit",exact:!0,parentId:"261",id:"267"},268:{path:"/problems/new",exact:!0,parentId:"261",id:"268"},269:{path:"/problems/:id/oj/:save_identifier",parentId:"261",id:"269"},270:{path:"/problems/:id/record-detail/:submitId",parentId:"261",id:"270"},271:{path:"/problems/add",parentId:"261",id:"271"},272:{path:"/problems/:id/ojedit",parentId:"261",id:"272"},273:{path:"/engineering",parentId:"1",id:"273"},274:{path:"/engineering",parentId:"273",id:"274"},275:{path:"/engineering/teacherList",parentId:"274",id:"275"},276:{path:"/engineering/studentList",parentId:"274",id:"276"},277:{path:"/engineering/training/program",parentId:"274",id:"277"},278:{path:"/engineering/training/program/add",parentId:"274",id:"278"},279:{path:"/engineering/training/program/edit",parentId:"274",id:"279"},280:{path:"/engineering/training/objectives",parentId:"274",id:"280"},281:{path:"/engineering/graduated/index",parentId:"274",id:"281"},282:{path:"/engineering/graduated/matrix",parentId:"274",id:"282"},283:{path:"/engineering/course/list",parentId:"274",id:"283"},284:{path:"/engineering/course/setting",parentId:"274",id:"284"},285:{path:"/engineering/course/matrix",parentId:"274",id:"285"},286:{path:"/engineering/navigation",parentId:"274",id:"286"},287:{path:"/engineering/evaluate/course",parentId:"274",id:"287"},288:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"274",id:"288"},289:{path:"/engineering/evaluate/norm",parentId:"274",id:"289"},290:{path:"/engineering/evaluate/document",parentId:"274",id:"290"},291:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"274",id:"291"},292:{path:"/engineering/*",redirect:"/404",parentId:"274",id:"292"},293:{path:"/innovation",parentId:"1",id:"293"},294:{path:"/innovation/tasks/:taskId",parentId:"293",id:"294"},295:{path:"/innovation",parentId:"293",id:"295"},296:{path:"/innovation/project",parentId:"295",id:"296"},297:{path:"/innovation/dataset",parentId:"295",id:"297"},298:{path:"/innovation/mirror",parentId:"295",id:"298"},299:{path:"/innovation/my-project",parentId:"295",id:"299"},300:{path:"/innovation/my-dataset",parentId:"295",id:"300"},301:{path:"/innovation/my-mirror",parentId:"295",id:"301"},302:{path:"/innovation/project/create",parentId:"295",id:"302"},303:{path:"/innovation/project/edit/:id",parentId:"295",id:"303"},304:{path:"/innovation/project/detail/:taskId",parentId:"295",id:"304"},305:{path:"/tasks",parentId:"1",id:"305"},306:{path:"/tasks/:taskId",exact:!0,parentId:"305",id:"306"},307:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"305",id:"307"},308:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"305",id:"308"},309:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"305",id:"309"},310:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"305",id:"310"},311:{path:"/myproblems",parentId:"1",id:"311"},312:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"311",id:"312"},313:{path:"/myproblems/:id",exact:!0,parentId:"311",id:"313"},314:{path:"/account",parentId:"1",id:"314"},315:{path:"/account",parentId:"314",id:"315"},316:{path:"/account/profile",parentId:"315",id:"316"},317:{path:"/account/profile/edit",parentId:"315",id:"317"},318:{path:"/account/certification",parentId:"315",id:"318"},319:{path:"/account/secure",parentId:"315",id:"319"},320:{path:"/account/binding",parentId:"315",id:"320"},321:{path:"/account/Results",parentId:"315",id:"321"},322:{path:"/ch",parentId:"1",id:"322"},323:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"322",id:"323"},324:{path:"/ch/rest/",exact:!0,parentId:"322",id:"324"},325:{path:"/ch/rest/:id",exact:!0,parentId:"322",id:"325"},326:{path:"/order",parentId:"1",id:"326"},327:{path:"/order",parentId:"326",id:"327"},328:{path:"/order/invoice",parentId:"326",id:"328"},329:{path:"/order/records",parentId:"326",id:"329"},330:{path:"/order/apply",parentId:"326",id:"330"},331:{path:"/order/view",parentId:"326",id:"331"},332:{path:"/order/:courseId/information",parentId:"326",id:"332"},333:{path:"/order/:courseId/pay",parentId:"326",id:"333"},334:{path:"/order/:orderNum/result",parentId:"326",id:"334"},335:{path:"/messages",parentId:"1",id:"335"},336:{path:"/messages/:userId/user_tidings",parentId:"335",id:"336"},337:{path:"/messages/:userId/private_messages",parentId:"335",id:"337"},338:{path:"/messages/:userId/message_detail",parentId:"335",id:"338"},339:{path:"/vtrs",parentId:"1",id:"339"},340:{path:"/vtrs/:virtual_spacesId",parentId:"339",id:"340"},341:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"340",id:"341"},342:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"340",id:"342"},343:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"340",id:"343"},344:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"340",id:"344"},345:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"340",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"340",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"340",id:"347"},348:{path:"/vtrs/:virtual_spacesId/survey",parentId:"340",id:"348"},349:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"340",id:"349"},350:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"340",id:"350"},351:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"340",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"340",id:"352"},353:{path:"/vtrs/:virtual_spacesId/material",parentId:"340",id:"353"},354:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"340",id:"354"},355:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"340",id:"355"},356:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"340",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"340",id:"357"},358:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"340",id:"358"},359:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"340",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"340",id:"360"},361:{path:"/vtrs/:virtual_spacesId/settings",parentId:"340",id:"361"},362:{path:"/vtrs/:virtual_spacesId/resources",parentId:"340",id:"362"},363:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"340",id:"363"},364:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"340",id:"364"},365:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"340",id:"365"},366:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"340",id:"366"},367:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"340",id:"367"},368:{path:"/vtrs/:virtual_spacesId/*",parentId:"340",id:"368"},369:{path:"/101",parentId:"1",id:"369"},370:{path:"/101/:virtual_spacesId",parentId:"369",id:"370"},371:{path:"/101/:virtual_spacesId",exact:!0,parentId:"370",id:"371"},372:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"370",id:"372"},373:{path:"/101/:virtual_spacesId/experiment",parentId:"370",id:"373"},374:{path:"/101/:virtual_spacesId/announcement",parentId:"370",id:"374"},375:{path:"/101/:virtual_spacesId/announcement/add",parentId:"370",id:"375"},376:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"370",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"370",id:"377"},378:{path:"/101/:virtual_spacesId/survey",parentId:"370",id:"378"},379:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"370",id:"379"},380:{path:"/101/:virtual_spacesId/knowledge",parentId:"370",id:"380"},381:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"370",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"370",id:"382"},383:{path:"/101/:virtual_spacesId/material",parentId:"370",id:"383"},384:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"370",id:"384"},385:{path:"/101/:virtual_spacesId/lesson",parentId:"370",id:"385"},386:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"370",id:"386"},387:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"370",id:"387"},388:{path:"/101/:virtual_spacesId/discussion",parentId:"370",id:"388"},389:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"370",id:"389"},390:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"370",id:"390"},391:{path:"/101/:virtual_spacesId/settings",parentId:"370",id:"391"},392:{path:"/101/:virtual_spacesId/resources",parentId:"370",id:"392"},393:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"370",id:"393"},394:{path:"/101/:virtual_spacesId/Plan",parentId:"370",id:"394"},395:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"370",id:"395"},396:{path:"/101/:virtual_spacesId/digtal",parentId:"370",id:"396"},397:{path:"/101/:virtual_spacesId/homepage",parentId:"370",id:"397"},398:{path:"/101/:virtual_spacesId/*",parentId:"370",id:"398"},399:{path:"/administration",parentId:"1",id:"399"},400:{path:"/administration",parentId:"399",id:"400"},401:{path:"/administration/college",parentId:"400",id:"401"},402:{path:"/administration/student",parentId:"400",id:"402"},403:{path:"/administration/student/:studentId/edit",parentId:"400",id:"403"},404:{path:"/administration/profession",parentId:"400",id:"404"},405:{path:"/graduations",parentId:"1",id:"405"},406:{path:"/graduations",exact:!0,parentId:"405",id:"406"},407:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"405",id:"407"},408:{path:"/graduations/:id",parentId:"405",id:"408"},409:{path:"/graduations/:id/index",parentId:"408",id:"409"},410:{path:"/graduations/:id/topics",parentId:"408",id:"410"},411:{path:"/graduations/:id/student_selection",parentId:"408",id:"411"},412:{path:"/graduations/:id/tasks",parentId:"408",id:"412"},413:{path:"/graduations/:id/opening_report",parentId:"408",id:"413"},414:{path:"/graduations/:id/midterm_report",parentId:"408",id:"414"},415:{path:"/graduations/:id/thesis",parentId:"408",id:"415"},416:{path:"/graduations/:id/final_defense",parentId:"408",id:"416"},417:{path:"/graduations/:id/final_thesis",parentId:"408",id:"417"},418:{path:"/graduations/:id/settings",parentId:"408",id:"418"},419:{path:"/graduations/:id/teachers",parentId:"408",id:"419"},420:{path:"/graduations/:id/students",parentId:"408",id:"420"},421:{path:"/graduations/:id/archives",parentId:"408",id:"421"},422:{path:"/graduations/:id/grading_summary",parentId:"408",id:"422"},423:{path:"/dataset",parentId:"1",id:"423"},424:{path:"/dataset",exact:!0,parentId:"423",id:"424"},425:{path:"/dataset/:id/detail",exact:!0,parentId:"423",id:"425"},426:{path:"/knowledgegraph",parentId:"1",id:"426"},427:{path:"/knowledgegraph/:pathId",parentId:"426",id:"427"},428:{path:"/knowledgegraph/:pathId/statistics",parentId:"426",id:"428"},429:{path:"/educoder-demo",exact:!0,parentId:"1",id:"429"},430:{path:"/training",parentId:"1",id:"430"},431:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"430",id:"431"},432:{path:"/largeScreen",exact:!0,parentId:"1",id:"432"},433:{path:"/quality",parentId:"1",id:"433"},434:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"433",id:"434"},435:{path:"/otherlogin",exact:!0,parentId:"1",id:"435"},436:{path:"/otherloginqq",exact:!0,parentId:"1",id:"436"},437:{path:"/otherloginstart",exact:!0,parentId:"1",id:"437"},438:{path:"/pathsoverview",exact:!0,parentId:"1",id:"438"},439:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"439"},440:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"440"},441:{path:"/login",parentId:"1",id:"441"},442:{path:"/login",parentId:"441",id:"442"},443:{path:"/user",parentId:"1",id:"443"},444:{path:"/user/login",parentId:"443",id:"444"},445:{path:"/user/register",parentId:"443",id:"445"},446:{path:"/user/reset-password",parentId:"443",id:"446"},447:{path:"/colleges",parentId:"1",id:"447"},448:{path:"/colleges/:id/statistics",parentId:"447",id:"448"},449:{path:"/help",parentId:"1",id:"449"},450:{path:"/help/:id",parentId:"449",id:"450"},451:{path:"/video",parentId:"1",id:"451"},452:{path:"/video/:videoId",parentId:"451",id:"452"},453:{path:"/terminal",parentId:"1",id:"453"},454:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"454"},455:{path:"/",parentId:"1",id:"455"},456:{path:"/",exact:!0,parentId:"455",id:"456"},457:{path:"/api/*",exact:!0,parentId:"455",id:"457"},458:{path:"/search",exact:!0,parentId:"455",id:"458"},459:{path:"/moop_cases",exact:!0,parentId:"455",id:"459"},460:{path:"/moop_cases/new",exact:!0,parentId:"455",id:"460"},461:{path:"/moop_cases/:caseId",exact:!0,parentId:"455",id:"461"},462:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"455",id:"462"},463:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"455",id:"463"},464:{path:"/randompaper",exact:!0,parentId:"455",id:"464"},465:{path:"/randompaper/edit/:id",exact:!0,parentId:"455",id:"465"},466:{path:"/randompaper/detail/:id",exact:!0,parentId:"455",id:"466"},467:{path:"/403",parentId:"455",id:"467"},468:{path:"/500",parentId:"455",id:"468"},469:{path:"/404",parentId:"455",id:"469"},470:{path:"/download",parentId:"455",id:"470"},471:{path:"/iwce",parentId:"455",id:"471"},472:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"455",id:"472"},473:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"455",id:"473"},474:{path:"/Activities",parentId:"455",id:"474"},475:{path:"/iwce/:itemname",parentId:"455",id:"475"},476:{path:"/hpc-course",parentId:"455",id:"476"},477:{path:"/user_agents",parentId:"455",id:"477"},478:{path:"/three",parentId:"455",id:"478"},479:{path:"/introduction",parentId:"455",id:"479"},480:{path:"/chatgpt",parentId:"455",id:"480"},481:{path:"/*",parentId:"455",id:"481"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),3:ue.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,66415))),7:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),10:ue.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16888))),11:ue.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2967),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),20:ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:ue.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:ue.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:ue.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:ue.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:ue.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,37462))),32:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:ue.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:ue.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,64680))),43:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:ue.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:ue.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(7935),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),53:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(7935),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),54:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,69884))),55:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:ue.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:ue.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:ue.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:ue.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:ue.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:ue.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:ue.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:ue.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:ue.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:ue.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:ue.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:ue.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:ue.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:ue.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:ue.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:ue.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:ue.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:ue.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:ue.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:ue.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:ue.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:ue.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:ue.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,30618))),135:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:ue.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),141:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),142:ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:ue.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:ue.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),152:ue.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),153:ue.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),154:ue.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),155:ue.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),156:ue.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),157:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),158:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),159:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:ue.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),161:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),162:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),163:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:ue.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),165:ue.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),166:ue.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),167:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),168:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),169:ue.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),170:ue.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),171:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),172:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),174:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),175:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),176:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),177:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,71806))),179:ue.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),180:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),181:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),182:ue.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),183:ue.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),184:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),185:ue.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),186:ue.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),187:ue.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),188:ue.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),189:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),190:ue.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),191:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),192:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),193:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),195:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:ue.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),197:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),198:ue.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),199:ue.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),200:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,55314))),201:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:ue.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:ue.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),221:ue.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:ue.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:ue.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:ue.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,85597))),232:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,8735))),233:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:ue.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:ue.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:ue.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:ue.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:ue.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,79514))),240:ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:ue.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:ue.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:ue.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:ue.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:ue.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:ue.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:ue.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:ue.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),252:ue.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),253:ue.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),254:ue.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,69158))),255:ue.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),256:ue.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),257:ue.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),258:ue.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),259:ue.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),260:ue.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),261:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),262:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),263:ue.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),264:ue.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),265:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),266:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),267:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),268:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),269:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),270:ue.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),271:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),272:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),273:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),274:ue.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),275:ue.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),276:ue.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),277:ue.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),278:ue.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),279:ue.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),280:ue.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),281:ue.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),282:ue.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),283:ue.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),284:ue.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),285:ue.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),286:ue.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),287:ue.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),288:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),289:ue.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),290:ue.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),291:ue.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),292:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),293:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),294:ue.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),295:ue.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),296:ue.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),297:ue.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),298:ue.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),299:ue.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),300:ue.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),301:ue.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),302:ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),303:ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),304:ue.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),305:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),306:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(7935),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),307:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),308:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(7935),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),309:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(7935),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),311:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),312:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),313:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),314:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),315:ue.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),316:ue.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),317:ue.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),318:ue.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),319:ue.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),320:ue.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),321:ue.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),322:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),323:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),324:ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),325:ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),326:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),327:ue.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),328:ue.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),329:ue.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),330:ue.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),331:ue.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),332:ue.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),333:ue.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),334:ue.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),335:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),336:ue.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,5233))),337:ue.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),338:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),339:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),340:ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),341:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),342:ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),343:ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),344:ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),345:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),346:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),347:ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),348:ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),349:ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),350:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),351:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),352:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),353:ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),354:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),355:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),356:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),357:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),358:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),359:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),360:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),361:ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),362:ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),363:ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),364:ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),365:ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),366:ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),367:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),368:ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),369:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),370:ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),371:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),372:ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),373:ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),374:ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),375:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),376:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),377:ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),378:ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),379:ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),380:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),381:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),382:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),383:ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),384:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),385:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),386:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),387:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),388:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),389:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),390:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),391:ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),392:ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),393:ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),394:ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),395:ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),396:ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),397:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),398:ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),399:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),400:ue.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),401:ue.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),402:ue.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),403:ue.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),404:ue.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),405:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),406:ue.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),407:ue.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),408:ue.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),409:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),410:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),411:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),412:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),413:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),414:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),415:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:ue.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),419:ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),420:ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),421:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),422:ue.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),423:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),424:ue.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),425:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),426:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),427:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,35151))),428:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),429:ue.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),430:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),431:ue.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),432:ue.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),433:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),434:ue.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),435:ue.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),436:ue.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),437:ue.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),438:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),439:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),440:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),441:ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),442:ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),443:ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),444:ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),445:ue.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,22138))),446:ue.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,71228))),447:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),448:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),449:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),450:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),451:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),452:ue.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,64930))),453:ue.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),454:ue.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),455:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7935),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),456:ue.lazy(()=>__webpack_require__.e(8866).then(__webpack_require__.bind(__webpack_require__,48236))),457:ue.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),458:ue.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),459:ue.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),460:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),461:ue.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),462:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),463:ue.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),464:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),465:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),466:ue.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),467:ue.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),468:ue.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),469:ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),470:ue.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),471:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),472:ue.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),473:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),474:ue.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),475:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),476:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),477:ue.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),478:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),479:ue.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),480:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),481:ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":ue.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,59125)))}}})}var x=__webpack_require__(5085),z=__webpack_require__(37989),oe=__webpack_require__(71418),pr=__webpack_require__(26278),yr=()=>ue.createElement(oe.Z,{size:"middle",className:pr.Z.loading}),hn=__webpack_require__(89070),ln=__webpack_require__(61186),jr=__webpack_require__.n(ln),ro=__webpack_require__(91392),Lo=__webpack_require__.n(ro),Jn=__webpack_require__(34749),Uo=__webpack_require__.n(Jn),ri=__webpack_require__(19277),Ou=__webpack_require__.n(ri),xo=__webpack_require__(10238),Oc=__webpack_require__.n(xo),Ic=__webpack_require__(33656),uc=__webpack_require__.n(Ic),Ac=__webpack_require__(90111),Rs=__webpack_require__.n(Ac),yn=__webpack_require__(74959),Tc=__webpack_require__.n(yn),kc=__webpack_require__(23250),sa=__webpack_require__.n(kc),ao=__webpack_require__(58862),Ms=__webpack_require__.n(ao),Iu=__webpack_require__(58319),Dc=__webpack_require__.n(Iu),Tl=__webpack_require__(62053),iu=__webpack_require__.n(Tl),su=__webpack_require__(47477),ul=__webpack_require__.n(su),Rc=__webpack_require__(59717),uu=__webpack_require__.n(Rc);jr().extend(Uo()),jr().extend(Ou()),jr().extend(Oc()),jr().extend(uc()),jr().extend(Rs()),jr().extend(Tc()),jr().extend(sa()),jr().extend(Ms()),jr().extend(Dc()),jr().extend(iu()),jr().extend(ul()),jr().extend(uu()),jr().extend(Lo());var cl=Object.defineProperty,cc=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ls=(kr,Xr,Dn)=>Xr in kr?cl(kr,Xr,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):kr[Xr]=Dn,Au=(kr,Xr)=>{for(var Dn in Xr||(Xr={}))ll.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);if(cc)for(var Dn of cc(Xr))Di.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);return kr},lc=(kr,Xr,Dn)=>new Promise((da,Bn)=>{var Yn=Nn=>{try{Ka(Dn.next(Nn))}catch(Ya){Bn(Ya)}},qn=Nn=>{try{Ka(Dn.throw(Nn))}catch(Ya){Bn(Ya)}},Ka=Nn=>Nn.done?da(Nn.value):Promise.resolve(Nn.value).then(Yn,qn);Ka((Dn=Dn.apply(kr,Xr)).next())});const Hi="https://www-cdn.educoder.net/",dc=!1;function Tu(){return lc(this,null,function*(){const kr=(0,x.gD)(),{routes:Xr,routeComponents:Dn}=yield y(kr);yield kr.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:Xr,routeComponents:Dn}});const da=kr.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),Bn=da.basename||"/",Yn=da.historyType||"browser",qn=(0,z.fi)(Au({type:Yn,basename:Bn},da.historyOpts));return kr.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Ka={useStream:!0,routes:Xr,routeComponents:Dn,pluginManager:kr,mountElementId:"root",rootElement:da.rootElement||document.getElementById("root"),loadingComponent:yr,publicPath:Hi,runtimePublicPath:dc,history:qn,historyType:Yn,basename:Bn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:da.callback},Nn=kr.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Ka});return sl(Nn)}})()})}Tu(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})(); +(`+f+": "+g+")",u.name="ChunkLoadError",u.type=f,u.request=g,n[1](u)}};__webpack_require__.l(s,c,"chunk-"+t,t)}else i[t]=0};var d=function(t,r){var n=r[0],o=r[1],s=r[2],u,c,a=0;if(n.some(function(g){return i[g]!==0})){for(u in o)__webpack_require__.o(o,u)&&(__webpack_require__.m[u]=o[u]);if(s)var f=s(__webpack_require__)}for(t&&t(r);a0&&arguments[0]!==void 0?arguments[0]:"";return kr.endsWith("/")?kr:"".concat(kr,"/")}var tc=__webpack_require__(38127),Su=__webpack_require__(38329),ru=__webpack_require__(8616),nu=["content"],zi=["content"],ki=/^(http:|https:)?\/\//;function rc(kr){return ki.test(kr)||kr.startsWith("/")&&!kr.startsWith("/*")||kr.startsWith("./")||kr.startsWith("../")}var Bu=function(){return ue.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},au=function(Xr){var Dn,da=Xr.loaderData,Bn=Xr.htmlPageOpts,Yn=Xr.manifest,qn=(Yn==null||(Dn=Yn.assets)===null||Dn===void 0?void 0:Dn["umi.css"])||"";return ue.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(da||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Bn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(qn,"'")}})};function as(kr){var Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof kr=="string")return rc(kr)?(0,Vo.Z)({src:kr},Xr):{content:kr};if((0,ru.Z)(kr)==="object")return(0,Vo.Z)((0,Vo.Z)({},kr),Xr);throw new Error("Invalid script type: ".concat((0,ru.Z)(kr)))}function wi(kr){return rc(kr)?{type:"link",href:kr}:{type:"style",content:kr}}var al=function(Xr){var Dn,da,Bn,Yn,qn,Ka,Nn=Xr.htmlPageOpts;return ue.createElement(ue.Fragment,null,(Nn==null?void 0:Nn.title)&&ue.createElement("title",null,Nn.title),Nn==null||(Dn=Nn.favicons)===null||Dn===void 0?void 0:Dn.map(function(Ya,_s){return ue.createElement("link",{key:_s,rel:"shortcut icon",href:Ya})}),(Nn==null?void 0:Nn.description)&&ue.createElement("meta",{name:"description",content:Nn.description}),(Nn==null||(da=Nn.keywords)===null||da===void 0?void 0:da.length)&&ue.createElement("meta",{name:"keywords",content:Nn.keywords.join(",")}),Nn==null||(Bn=Nn.metas)===null||Bn===void 0?void 0:Bn.map(function(Ya){return ue.createElement("meta",{key:Ya.name,name:Ya.name,content:Ya.content})}),Nn==null||(Yn=Nn.links)===null||Yn===void 0?void 0:Yn.map(function(Ya,_s){return ue.createElement("link",(0,Su.Z)({key:_s},Ya))}),Nn==null||(qn=Nn.styles)===null||qn===void 0?void 0:qn.map(function(Ya,_s){var vs=wi(Ya),$s=vs.type,js=vs.href,cu=vs.content;if($s==="link")return ue.createElement("link",{key:_s,rel:"stylesheet",href:js});if($s==="style")return ue.createElement("style",{key:_s},cu)}),Nn==null||(Ka=Nn.headScripts)===null||Ka===void 0?void 0:Ka.map(function(Ya,_s){var vs=as(Ya),$s=vs.content,js=(0,tc.Z)(vs,nu);return ue.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))}))};function Nu(kr){var Xr,Dn=kr.children,da=kr.loaderData,Bn=kr.manifest,Yn=kr.htmlPageOpts,qn=kr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka=kr.mountElementId;if(qn!=null&&qn.pureHtml)return ue.createElement("html",null,ue.createElement("head",null),ue.createElement("body",null,ue.createElement(Bu,null),ue.createElement("div",{id:Ka},Dn),ue.createElement(au,{manifest:Bn,loaderData:da,htmlPageOpts:Yn})));if(qn!=null&&qn.pureApp)return ue.createElement(ue.Fragment,null,Dn);var Nn=typeof window=="undefined"?Bn==null?void 0:Bn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ue.createElement("html",{suppressHydrationWarning:!0,lang:(Yn==null?void 0:Yn.lang)||"en"},ue.createElement("head",null,ue.createElement("meta",{charSet:"utf-8"}),ue.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Nn&&ue.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Nn}),ue.createElement(al,{htmlPageOpts:Yn})),ue.createElement("body",null,ue.createElement(Bu,null),ue.createElement("div",{id:Ka},Dn),ue.createElement(au,{manifest:Bn,loaderData:da,htmlPageOpts:Yn}),Yn==null||(Xr=Yn.scripts)===null||Xr===void 0?void 0:Xr.map(function(Ya,_s){var vs=as(Ya),$s=vs.content,js=(0,tc.Z)(vs,zi);return ue.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))})))}var ou=ue.createContext(void 0);function ol(){return ue.useContext(ou)}var Pu=["redirect"];function Ds(kr){var Xr=kr.routesById,Dn=kr.parentId,da=kr.routeComponents,Bn=kr.useStream,Yn=Bn===void 0?!0:Bn;return Object.keys(Xr).filter(function(qn){return Xr[qn].parentId===Dn}).map(function(qn){var Ka=il((0,Vo.Z)((0,Vo.Z)({route:Xr[qn],routeComponent:da[qn],loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat},kr.reactRouter5Compat&&{hasChildren:Object.keys(Xr).filter(function(Ya){return Xr[Ya].parentId===qn}).length>0}),{},{useStream:Yn})),Nn=Ds({routesById:Xr,routeComponents:da,parentId:Ka.id,loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat,useStream:Yn});return Nn.length>0&&(Ka.children=Nn,Ka.routes=Nn),Ka})}function Cc(kr){var Xr=(0,mi.UO)(),Dn=(0,mi.Gn)(kr.to,Xr),da=(0,Eu.T$)(),Bn=(0,mi.TH)();if(da!=null&&da.keepQuery){var Yn=Bn.search+Bn.hash;Dn+=Yn}var qn=(0,Vo.Z)((0,Vo.Z)({},kr),{},{to:Dn});return ue.createElement(mi.Fg,(0,Su.Z)({replace:!0},qn))}function il(kr){var Xr=kr.route,Dn=kr.useStream,da=Dn===void 0?!0:Dn,Bn=Xr.redirect,Yn=(0,tc.Z)(Xr,Pu),qn=kr.reactRouter5Compat?ac:oc;return(0,Vo.Z)({element:Bn?ue.createElement(Cc,{to:Bn}):ue.createElement(ou.Provider,{value:{route:kr.route}},ue.createElement(qn,{loader:ue.memo(kr.routeComponent),loadingComponent:kr.loadingComponent||nc,hasChildren:kr.hasChildren,useStream:da}))},Yn)}function nc(){return ue.createElement("div",null)}function ac(kr){var Xr=ol(),Dn=Xr.route,da=(0,Eu.Ov)(),Bn=da.history,Yn=da.clientRoutes,qn=(0,mi.UO)(),Ka={params:qn,isExact:!0,path:Dn.path,url:Bn.location.pathname},Nn=kr.loader,Ya={location:Bn.location,match:Ka,history:Bn,params:qn,route:Dn,routes:Yn};return kr.useStream?ue.createElement(ue.Suspense,{fallback:ue.createElement(kr.loadingComponent,null)},ue.createElement(Nn,Ya,kr.hasChildren&&ue.createElement(mi.j3,null))):ue.createElement(Nn,Ya,kr.hasChildren&&ue.createElement(mi.j3,null))}function oc(kr){var Xr=kr.loader;return kr.useStream?ue.createElement(ue.Suspense,{fallback:ue.createElement(kr.loadingComponent,null)},ue.createElement(Xr,null)):ue.createElement(Xr,null)}var Cu=null;function Al(){return Cu}function ic(kr){var Xr=kr.history,Dn=ue.useState({action:Xr.action,location:Xr.location}),da=(0,Zi.Z)(Dn,2),Bn=da[0],Yn=da[1];return(0,ue.useLayoutEffect)(function(){return Xr.listen(Yn)},[Xr]),(0,ue.useLayoutEffect)(function(){function qn(Ka){kr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:kr.routes,clientRoutes:kr.clientRoutes,location:Ka.location,action:Ka.action,basename:kr.basename,isFirst:!!Ka.isFirst}})}return qn({location:Bn.location,action:Bn.action,isFirst:!0}),Xr.listen(qn)},[Xr,kr.routes,kr.clientRoutes]),ue.createElement(mi.F0,{navigator:Xr,location:Bn.location,basename:kr.basename},kr.children)}function Wi(){var kr=(0,Eu.Ov)(),Xr=kr.clientRoutes;return(0,mi.V$)(Xr)}var Zu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],sc=function(Xr,Dn){var da=Xr.basename||"/",Bn=Ds({routesById:Xr.routes,routeComponents:Xr.routeComponents,loadingComponent:Xr.loadingComponent,reactRouter5Compat:Xr.reactRouter5Compat,useStream:Xr.useStream});Xr.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Bn}});for(var Yn=ue.createElement(ic,{basename:da,pluginManager:Xr.pluginManager,routes:Xr.routes,clientRoutes:Bn,history:Xr.history},Dn),qn=0,Ka=Zu;qnnew Promise((da,Bn)=>{var Yn=Nn=>{try{Ka(Dn.next(Nn))}catch(Ya){Bn(Ya)}},qn=Nn=>{try{Ka(Dn.throw(Nn))}catch(Ya){Bn(Ya)}},Ka=Nn=>Nn.done?da(Nn.value):Promise.resolve(Nn.value).then(Yn,qn);Ka((Dn=Dn.apply(kr,Xr)).next())});function y(){return m(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId/template",parentId:"100",id:"156"},157:{path:"/competitions",parentId:"1",id:"157"},158:{path:"/competitions/index",parentId:"157",id:"158"},159:{path:"/competitions/:identifier/list",parentId:"157",id:"159"},160:{path:"/competitions/exports",parentId:"157",id:"160"},161:{path:"/competitions",parentId:"157",id:"161"},162:{path:"/competitions/:identifier",parentId:"157",id:"162"},163:{path:"/competitions/index/:identifier",parentId:"157",id:"163"},164:{path:"/competitions/:identifier/detail/enroll",parentId:"157",id:"164"},165:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"157",id:"165"},166:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"157",id:"166"},167:{path:"/competitions/detail/:identifier",parentId:"157",id:"167"},168:{path:"/forums",parentId:"1",id:"168"},169:{path:"/forums",parentId:"168",id:"169"},170:{path:"/forums/categories/:memoType",parentId:"168",id:"170"},171:{path:"/forums/new",parentId:"168",id:"171"},172:{path:"/forums/:memoId/edit",parentId:"168",id:"172"},173:{path:"/forums/:memoId",parentId:"168",id:"173"},174:{path:"/problemset",parentId:"1",id:"174"},175:{path:"/problemset",parentId:"174",id:"175"},176:{path:"/problemset/newitem",parentId:"174",id:"176"},177:{path:"/problemset/:type/:id",parentId:"174",id:"177"},178:{path:"/problemset/preview",parentId:"174",id:"178"},179:{path:"/problemset/preview_new",parentId:"174",id:"179"},180:{path:"/problemset/preview_select",parentId:"174",id:"180"},181:{path:"/shixuns",parentId:"1",id:"181"},182:{path:"/shixuns",parentId:"181",id:"182"},183:{path:"/shixuns/exports",parentId:"181",id:"183"},184:{path:"/shixuns/new",parentId:"181",id:"184"},185:{path:"/shixuns/new/CreateImg",parentId:"181",id:"185"},186:{path:"/shixuns/new/:id/imagepreview",parentId:"181",id:"186"},187:{path:"/shixuns/:id/Merge",parentId:"181",id:"187"},188:{path:"/shixuns/:id/Split",parentId:"181",id:"188"},189:{path:"/shixuns/:id/edit",parentId:"181",id:"189"},190:{path:"shixuns/:id/edit/warehouse",parentId:"189",id:"190"},191:{path:"/shixuns/:id/edit/newquestion",parentId:"189",id:"191"},192:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"189",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"189",id:"193"},194:{path:"/shixuns/:id/edit/new",parentId:"189",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"189",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"189",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"189",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"189",id:"198"},199:{path:"/shixuns/:id",parentId:"181",id:"199"},200:{path:"/shixuns/:id/poll",parentId:"199",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"199",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"199",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"199",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"199",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"199",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"199",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"199",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"199",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"199",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"199",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"199",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"199",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"199",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"199",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"199",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"199",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"199",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/paths",parentId:"234",id:"251"},252:{path:"/users/:username/projects",parentId:"234",id:"252"},253:{path:"/users/:username/videos",parentId:"234",id:"253"},254:{path:"/users/:username/videos/upload",parentId:"234",id:"254"},255:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"255"},256:{path:"/users/:username/vspaces",parentId:"234",id:"256"},257:{path:"/users/:username/resourcesCenter",parentId:"234",id:"257"},258:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"258"},259:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"259"},260:{path:"/users/:username/resourceAllocation",parentId:"234",id:"260"},261:{parentId:"1",id:"261"},262:{path:"/problems",parentId:"261",id:"262"},263:{path:"/problems",parentId:"262",id:"263"},264:{path:"/problems/batchAdd",parentId:"262",id:"264"},265:{path:"/problems/newcreate",parentId:"261",id:"265"},266:{path:"/problems/newedit/:id",exact:!0,parentId:"261",id:"266"},267:{path:"/problems/:id/edit",exact:!0,parentId:"261",id:"267"},268:{path:"/problems/new",exact:!0,parentId:"261",id:"268"},269:{path:"/problems/:id/oj/:save_identifier",parentId:"261",id:"269"},270:{path:"/problems/:id/record-detail/:submitId",parentId:"261",id:"270"},271:{path:"/problems/add",parentId:"261",id:"271"},272:{path:"/problems/:id/ojedit",parentId:"261",id:"272"},273:{path:"/engineering",parentId:"1",id:"273"},274:{path:"/engineering",parentId:"273",id:"274"},275:{path:"/engineering/teacherList",parentId:"274",id:"275"},276:{path:"/engineering/studentList",parentId:"274",id:"276"},277:{path:"/engineering/training/program",parentId:"274",id:"277"},278:{path:"/engineering/training/program/add",parentId:"274",id:"278"},279:{path:"/engineering/training/program/edit",parentId:"274",id:"279"},280:{path:"/engineering/training/objectives",parentId:"274",id:"280"},281:{path:"/engineering/graduated/index",parentId:"274",id:"281"},282:{path:"/engineering/graduated/matrix",parentId:"274",id:"282"},283:{path:"/engineering/course/list",parentId:"274",id:"283"},284:{path:"/engineering/course/setting",parentId:"274",id:"284"},285:{path:"/engineering/course/matrix",parentId:"274",id:"285"},286:{path:"/engineering/navigation",parentId:"274",id:"286"},287:{path:"/engineering/evaluate/course",parentId:"274",id:"287"},288:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"274",id:"288"},289:{path:"/engineering/evaluate/norm",parentId:"274",id:"289"},290:{path:"/engineering/evaluate/document",parentId:"274",id:"290"},291:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"274",id:"291"},292:{path:"/engineering/*",redirect:"/404",parentId:"274",id:"292"},293:{path:"/innovation",parentId:"1",id:"293"},294:{path:"/innovation/tasks/:taskId",parentId:"293",id:"294"},295:{path:"/innovation",parentId:"293",id:"295"},296:{path:"/innovation/project",parentId:"295",id:"296"},297:{path:"/innovation/dataset",parentId:"295",id:"297"},298:{path:"/innovation/mirror",parentId:"295",id:"298"},299:{path:"/innovation/my-project",parentId:"295",id:"299"},300:{path:"/innovation/my-dataset",parentId:"295",id:"300"},301:{path:"/innovation/my-mirror",parentId:"295",id:"301"},302:{path:"/innovation/project/create",parentId:"295",id:"302"},303:{path:"/innovation/project/edit/:id",parentId:"295",id:"303"},304:{path:"/innovation/project/detail/:taskId",parentId:"295",id:"304"},305:{path:"/tasks",parentId:"1",id:"305"},306:{path:"/tasks/:taskId",exact:!0,parentId:"305",id:"306"},307:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"305",id:"307"},308:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"305",id:"308"},309:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"305",id:"309"},310:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"305",id:"310"},311:{path:"/myproblems",parentId:"1",id:"311"},312:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"311",id:"312"},313:{path:"/myproblems/:id",exact:!0,parentId:"311",id:"313"},314:{path:"/account",parentId:"1",id:"314"},315:{path:"/account",parentId:"314",id:"315"},316:{path:"/account/profile",parentId:"315",id:"316"},317:{path:"/account/profile/edit",parentId:"315",id:"317"},318:{path:"/account/certification",parentId:"315",id:"318"},319:{path:"/account/secure",parentId:"315",id:"319"},320:{path:"/account/binding",parentId:"315",id:"320"},321:{path:"/account/Results",parentId:"315",id:"321"},322:{path:"/ch",parentId:"1",id:"322"},323:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"322",id:"323"},324:{path:"/ch/rest/",exact:!0,parentId:"322",id:"324"},325:{path:"/ch/rest/:id",exact:!0,parentId:"322",id:"325"},326:{path:"/order",parentId:"1",id:"326"},327:{path:"/order",parentId:"326",id:"327"},328:{path:"/order/invoice",parentId:"326",id:"328"},329:{path:"/order/records",parentId:"326",id:"329"},330:{path:"/order/apply",parentId:"326",id:"330"},331:{path:"/order/view",parentId:"326",id:"331"},332:{path:"/order/:courseId/information",parentId:"326",id:"332"},333:{path:"/order/:courseId/pay",parentId:"326",id:"333"},334:{path:"/order/:orderNum/result",parentId:"326",id:"334"},335:{path:"/messages",parentId:"1",id:"335"},336:{path:"/messages/:userId/user_tidings",parentId:"335",id:"336"},337:{path:"/messages/:userId/private_messages",parentId:"335",id:"337"},338:{path:"/messages/:userId/message_detail",parentId:"335",id:"338"},339:{path:"/vtrs",parentId:"1",id:"339"},340:{path:"/vtrs/:virtual_spacesId",parentId:"339",id:"340"},341:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"340",id:"341"},342:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"340",id:"342"},343:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"340",id:"343"},344:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"340",id:"344"},345:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"340",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"340",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"340",id:"347"},348:{path:"/vtrs/:virtual_spacesId/survey",parentId:"340",id:"348"},349:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"340",id:"349"},350:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"340",id:"350"},351:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"340",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"340",id:"352"},353:{path:"/vtrs/:virtual_spacesId/material",parentId:"340",id:"353"},354:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"340",id:"354"},355:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"340",id:"355"},356:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"340",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"340",id:"357"},358:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"340",id:"358"},359:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"340",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"340",id:"360"},361:{path:"/vtrs/:virtual_spacesId/settings",parentId:"340",id:"361"},362:{path:"/vtrs/:virtual_spacesId/resources",parentId:"340",id:"362"},363:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"340",id:"363"},364:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"340",id:"364"},365:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"340",id:"365"},366:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"340",id:"366"},367:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"340",id:"367"},368:{path:"/vtrs/:virtual_spacesId/*",parentId:"340",id:"368"},369:{path:"/101",parentId:"1",id:"369"},370:{path:"/101/:virtual_spacesId",parentId:"369",id:"370"},371:{path:"/101/:virtual_spacesId",exact:!0,parentId:"370",id:"371"},372:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"370",id:"372"},373:{path:"/101/:virtual_spacesId/experiment",parentId:"370",id:"373"},374:{path:"/101/:virtual_spacesId/announcement",parentId:"370",id:"374"},375:{path:"/101/:virtual_spacesId/announcement/add",parentId:"370",id:"375"},376:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"370",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"370",id:"377"},378:{path:"/101/:virtual_spacesId/survey",parentId:"370",id:"378"},379:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"370",id:"379"},380:{path:"/101/:virtual_spacesId/knowledge",parentId:"370",id:"380"},381:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"370",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"370",id:"382"},383:{path:"/101/:virtual_spacesId/material",parentId:"370",id:"383"},384:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"370",id:"384"},385:{path:"/101/:virtual_spacesId/lesson",parentId:"370",id:"385"},386:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"370",id:"386"},387:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"370",id:"387"},388:{path:"/101/:virtual_spacesId/discussion",parentId:"370",id:"388"},389:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"370",id:"389"},390:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"370",id:"390"},391:{path:"/101/:virtual_spacesId/settings",parentId:"370",id:"391"},392:{path:"/101/:virtual_spacesId/resources",parentId:"370",id:"392"},393:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"370",id:"393"},394:{path:"/101/:virtual_spacesId/Plan",parentId:"370",id:"394"},395:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"370",id:"395"},396:{path:"/101/:virtual_spacesId/digtal",parentId:"370",id:"396"},397:{path:"/101/:virtual_spacesId/homepage",parentId:"370",id:"397"},398:{path:"/101/:virtual_spacesId/*",parentId:"370",id:"398"},399:{path:"/administration",parentId:"1",id:"399"},400:{path:"/administration",parentId:"399",id:"400"},401:{path:"/administration/college",parentId:"400",id:"401"},402:{path:"/administration/student",parentId:"400",id:"402"},403:{path:"/administration/student/:studentId/edit",parentId:"400",id:"403"},404:{path:"/administration/profession",parentId:"400",id:"404"},405:{path:"/graduations",parentId:"1",id:"405"},406:{path:"/graduations",exact:!0,parentId:"405",id:"406"},407:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"405",id:"407"},408:{path:"/graduations/:id",parentId:"405",id:"408"},409:{path:"/graduations/:id/index",parentId:"408",id:"409"},410:{path:"/graduations/:id/topics",parentId:"408",id:"410"},411:{path:"/graduations/:id/student_selection",parentId:"408",id:"411"},412:{path:"/graduations/:id/tasks",parentId:"408",id:"412"},413:{path:"/graduations/:id/opening_report",parentId:"408",id:"413"},414:{path:"/graduations/:id/midterm_report",parentId:"408",id:"414"},415:{path:"/graduations/:id/thesis",parentId:"408",id:"415"},416:{path:"/graduations/:id/final_defense",parentId:"408",id:"416"},417:{path:"/graduations/:id/final_thesis",parentId:"408",id:"417"},418:{path:"/graduations/:id/settings",parentId:"408",id:"418"},419:{path:"/graduations/:id/teachers",parentId:"408",id:"419"},420:{path:"/graduations/:id/students",parentId:"408",id:"420"},421:{path:"/graduations/:id/archives",parentId:"408",id:"421"},422:{path:"/graduations/:id/grading_summary",parentId:"408",id:"422"},423:{path:"/dataset",parentId:"1",id:"423"},424:{path:"/dataset",exact:!0,parentId:"423",id:"424"},425:{path:"/dataset/:id/detail",exact:!0,parentId:"423",id:"425"},426:{path:"/knowledgegraph",parentId:"1",id:"426"},427:{path:"/knowledgegraph/:pathId",parentId:"426",id:"427"},428:{path:"/knowledgegraph/:pathId/statistics",parentId:"426",id:"428"},429:{path:"/educoder-demo",exact:!0,parentId:"1",id:"429"},430:{path:"/training",parentId:"1",id:"430"},431:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"430",id:"431"},432:{path:"/largeScreen",exact:!0,parentId:"1",id:"432"},433:{path:"/quality",parentId:"1",id:"433"},434:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"433",id:"434"},435:{path:"/otherlogin",exact:!0,parentId:"1",id:"435"},436:{path:"/otherloginqq",exact:!0,parentId:"1",id:"436"},437:{path:"/otherloginstart",exact:!0,parentId:"1",id:"437"},438:{path:"/pathsoverview",exact:!0,parentId:"1",id:"438"},439:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"439"},440:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"440"},441:{path:"/login",parentId:"1",id:"441"},442:{path:"/login",parentId:"441",id:"442"},443:{path:"/user",parentId:"1",id:"443"},444:{path:"/user/login",parentId:"443",id:"444"},445:{path:"/user/register",parentId:"443",id:"445"},446:{path:"/user/reset-password",parentId:"443",id:"446"},447:{path:"/colleges",parentId:"1",id:"447"},448:{path:"/colleges/:id/statistics",parentId:"447",id:"448"},449:{path:"/help",parentId:"1",id:"449"},450:{path:"/help/:id",parentId:"449",id:"450"},451:{path:"/video",parentId:"1",id:"451"},452:{path:"/video/:videoId",parentId:"451",id:"452"},453:{path:"/terminal",parentId:"1",id:"453"},454:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"454"},455:{path:"/",parentId:"1",id:"455"},456:{path:"/",exact:!0,parentId:"455",id:"456"},457:{path:"/api/*",exact:!0,parentId:"455",id:"457"},458:{path:"/search",exact:!0,parentId:"455",id:"458"},459:{path:"/moop_cases",exact:!0,parentId:"455",id:"459"},460:{path:"/moop_cases/new",exact:!0,parentId:"455",id:"460"},461:{path:"/moop_cases/:caseId",exact:!0,parentId:"455",id:"461"},462:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"455",id:"462"},463:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"455",id:"463"},464:{path:"/randompaper",exact:!0,parentId:"455",id:"464"},465:{path:"/randompaper/edit/:id",exact:!0,parentId:"455",id:"465"},466:{path:"/randompaper/detail/:id",exact:!0,parentId:"455",id:"466"},467:{path:"/403",parentId:"455",id:"467"},468:{path:"/500",parentId:"455",id:"468"},469:{path:"/404",parentId:"455",id:"469"},470:{path:"/download",parentId:"455",id:"470"},471:{path:"/iwce",parentId:"455",id:"471"},472:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"455",id:"472"},473:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"455",id:"473"},474:{path:"/Activities",parentId:"455",id:"474"},475:{path:"/iwce/:itemname",parentId:"455",id:"475"},476:{path:"/hpc-course",parentId:"455",id:"476"},477:{path:"/user_agents",parentId:"455",id:"477"},478:{path:"/three",parentId:"455",id:"478"},479:{path:"/introduction",parentId:"455",id:"479"},480:{path:"/chatgpt",parentId:"455",id:"480"},481:{path:"/*",parentId:"455",id:"481"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),3:ue.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,66415))),7:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),10:ue.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16888))),11:ue.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2967),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),20:ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:ue.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:ue.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:ue.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:ue.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:ue.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,37462))),32:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:ue.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:ue.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,64680))),43:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:ue.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5199),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:ue.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9381),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),53:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9381),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),54:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,69884))),55:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:ue.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:ue.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:ue.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:ue.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:ue.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:ue.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:ue.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:ue.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:ue.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:ue.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:ue.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:ue.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:ue.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:ue.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:ue.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:ue.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:ue.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:ue.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:ue.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:ue.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:ue.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:ue.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:ue.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,30618))),135:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:ue.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),141:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),142:ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:ue.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:ue.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),152:ue.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),153:ue.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),154:ue.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),155:ue.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),156:ue.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),157:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),158:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),159:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:ue.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),161:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),162:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),163:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:ue.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),165:ue.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),166:ue.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),167:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),168:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),169:ue.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),170:ue.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),171:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),172:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),174:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),175:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),176:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),177:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,71806))),179:ue.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),180:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7473),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),181:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),182:ue.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),183:ue.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),184:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),185:ue.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),186:ue.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),187:ue.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),188:ue.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),189:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),190:ue.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),191:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),192:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),193:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),195:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:ue.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),197:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),198:ue.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),199:ue.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),200:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,55314))),201:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:ue.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:ue.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),221:ue.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:ue.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:ue.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:ue.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,85597))),232:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,8735))),233:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:ue.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:ue.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:ue.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:ue.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:ue.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,79514))),240:ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:ue.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:ue.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:ue.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:ue.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:ue.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:ue.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:ue.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:ue.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),252:ue.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),253:ue.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),254:ue.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,69158))),255:ue.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),256:ue.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),257:ue.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),258:ue.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),259:ue.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),260:ue.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),261:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),262:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),263:ue.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),264:ue.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),265:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),266:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),267:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),268:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8385),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),269:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),270:ue.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),271:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),272:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),273:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),274:ue.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),275:ue.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),276:ue.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),277:ue.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),278:ue.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),279:ue.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),280:ue.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),281:ue.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),282:ue.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),283:ue.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),284:ue.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),285:ue.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),286:ue.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),287:ue.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),288:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),289:ue.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),290:ue.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),291:ue.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),292:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),293:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),294:ue.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),295:ue.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),296:ue.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),297:ue.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),298:ue.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),299:ue.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),300:ue.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),301:ue.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),302:ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),303:ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),304:ue.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),305:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),306:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9381),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),307:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),308:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9381),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),309:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9381),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),311:ue.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),312:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),313:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),314:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),315:ue.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),316:ue.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),317:ue.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),318:ue.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),319:ue.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),320:ue.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),321:ue.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),322:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),323:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),324:ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),325:ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),326:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),327:ue.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),328:ue.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),329:ue.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),330:ue.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),331:ue.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),332:ue.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),333:ue.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),334:ue.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),335:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),336:ue.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,5233))),337:ue.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),338:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),339:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),340:ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),341:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),342:ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),343:ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),344:ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),345:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),346:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),347:ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),348:ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),349:ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),350:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),351:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),352:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),353:ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),354:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),355:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),356:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),357:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),358:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),359:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),360:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),361:ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),362:ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),363:ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),364:ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),365:ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),366:ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),367:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),368:ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),369:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),370:ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),371:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),372:ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),373:ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),374:ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),375:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),376:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),377:ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),378:ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),379:ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),380:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),381:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),382:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),383:ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),384:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),385:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),386:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),387:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),388:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),389:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),390:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),391:ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),392:ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),393:ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),394:ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),395:ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),396:ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),397:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),398:ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),399:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),400:ue.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),401:ue.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),402:ue.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),403:ue.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),404:ue.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),405:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),406:ue.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),407:ue.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),408:ue.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),409:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),410:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),411:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),412:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),413:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),414:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),415:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:ue.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),419:ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),420:ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),421:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),422:ue.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),423:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),424:ue.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),425:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),426:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),427:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,35151))),428:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),429:ue.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),430:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),431:ue.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),432:ue.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),433:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),434:ue.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),435:ue.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),436:ue.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),437:ue.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),438:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),439:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),440:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),441:ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),442:ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),443:ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),444:ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),445:ue.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,22138))),446:ue.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,71228))),447:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),448:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),449:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),450:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),451:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),452:ue.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,64930))),453:ue.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),454:ue.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),455:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9381),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,95371))),456:ue.lazy(()=>__webpack_require__.e(8866).then(__webpack_require__.bind(__webpack_require__,48236))),457:ue.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),458:ue.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),459:ue.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),460:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),461:ue.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),462:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),463:ue.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),464:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),465:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),466:ue.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),467:ue.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),468:ue.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),469:ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),470:ue.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),471:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),472:ue.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),473:ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),474:ue.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),475:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),476:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),477:ue.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),478:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),479:ue.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),480:ue.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),481:ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":ue.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,59125)))}}})}var x=__webpack_require__(5085),z=__webpack_require__(37989),oe=__webpack_require__(71418),pr=__webpack_require__(26278),yr=()=>ue.createElement(oe.Z,{size:"middle",className:pr.Z.loading}),hn=__webpack_require__(89070),ln=__webpack_require__(61186),jr=__webpack_require__.n(ln),ro=__webpack_require__(91392),Lo=__webpack_require__.n(ro),Jn=__webpack_require__(34749),Uo=__webpack_require__.n(Jn),ri=__webpack_require__(19277),Ou=__webpack_require__.n(ri),xo=__webpack_require__(10238),Oc=__webpack_require__.n(xo),Ic=__webpack_require__(33656),uc=__webpack_require__.n(Ic),Ac=__webpack_require__(90111),Rs=__webpack_require__.n(Ac),yn=__webpack_require__(74959),Tc=__webpack_require__.n(yn),kc=__webpack_require__(23250),sa=__webpack_require__.n(kc),ao=__webpack_require__(58862),Ms=__webpack_require__.n(ao),Iu=__webpack_require__(58319),Dc=__webpack_require__.n(Iu),Tl=__webpack_require__(62053),iu=__webpack_require__.n(Tl),su=__webpack_require__(47477),ul=__webpack_require__.n(su),Rc=__webpack_require__(59717),uu=__webpack_require__.n(Rc);jr().extend(Uo()),jr().extend(Ou()),jr().extend(Oc()),jr().extend(uc()),jr().extend(Rs()),jr().extend(Tc()),jr().extend(sa()),jr().extend(Ms()),jr().extend(Dc()),jr().extend(iu()),jr().extend(ul()),jr().extend(uu()),jr().extend(Lo());var cl=Object.defineProperty,cc=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ls=(kr,Xr,Dn)=>Xr in kr?cl(kr,Xr,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):kr[Xr]=Dn,Au=(kr,Xr)=>{for(var Dn in Xr||(Xr={}))ll.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);if(cc)for(var Dn of cc(Xr))Di.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);return kr},lc=(kr,Xr,Dn)=>new Promise((da,Bn)=>{var Yn=Nn=>{try{Ka(Dn.next(Nn))}catch(Ya){Bn(Ya)}},qn=Nn=>{try{Ka(Dn.throw(Nn))}catch(Ya){Bn(Ya)}},Ka=Nn=>Nn.done?da(Nn.value):Promise.resolve(Nn.value).then(Yn,qn);Ka((Dn=Dn.apply(kr,Xr)).next())});const Hi="https://www-cdn.educoder.net/",dc=!1;function Tu(){return lc(this,null,function*(){const kr=(0,x.gD)(),{routes:Xr,routeComponents:Dn}=yield y(kr);yield kr.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:Xr,routeComponents:Dn}});const da=kr.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),Bn=da.basename||"/",Yn=da.historyType||"browser",qn=(0,z.fi)(Au({type:Yn,basename:Bn},da.historyOpts));return kr.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Ka={useStream:!0,routes:Xr,routeComponents:Dn,pluginManager:kr,mountElementId:"root",rootElement:da.rootElement||document.getElementById("root"),loadingComponent:yr,publicPath:Hi,runtimePublicPath:dc,history:qn,historyType:Yn,basename:Bn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:da.callback},Nn=kr.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Ka});return sl(Nn)}})()})}Tu(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();